STET

task_detail

validation/gpt-5-1-codex-mini/flux-pr-828/task_detail.v1.json

15720 bytes

Back to adjudication
{
  "version": "v1",
  "materialization": {
    "mode": "canonical"
  },
  "identity": {
    "variant_id": "gpt-5-1-codex-mini",
    "requested_model": "gpt-5-1-codex-mini",
    "model_key": "gpt-5-1-codex-mini",
    "run_id": "2026-02-21__03-36-16__gpt-5-1-codex-mini",
    "task_id": "flux-pr-828",
    "trial_name": "flux-pr-828.1-of-1.2026-03-05__17-48-26__gpt-5-1-codex-mini"
  },
  "decision": {
    "status": "fail",
    "primary_signal": "tests",
    "matrix_status": "fail_guardrail",
    "reason_codes": [
      "guardrail_diff_too_large",
      "primary_tests",
      "tests_passed",
      "equivalence_non_equivalent",
      "decision_conflict",
      "review_fail"
    ],
    "flags": [
      "equiv_warn",
      "review_warn"
    ],
    "lane_report": {
      "lane": "lane_unknown",
      "source": "lane_unknown",
      "reasons": [
        "lane_unknown"
      ]
    },
    "publish": {
      "include_in_leaderboard": true,
      "weak_signal_risk": false
    },
    "rescue": {
      "candidate": false,
      "eligible": false,
      "decision": "not_candidate",
      "required_artifacts_ok": true
    }
  },
  "tests": {
    "outcome": "pass",
    "strength": "strong",
    "commands": [
      "go test -C v2 ./... -count=1 -timeout=300s"
    ],
    "command_results": [
      {
        "command": "go test -C v2 ./... -count=1 -timeout=300s",
        "gold_outcome": "pass",
        "gold_tb_trial_name": "flux-pr-828.1-of-1.validate-gold-1772738843148119000",
        "gold_failure_mode": "unset",
        "agent_outcome": "pass",
        "agent_tb_trial_name": "flux-pr-828.1-of-1.validate-override-1772738880674488000",
        "agent_failure_mode": "unset",
        "agent_retried": false
      }
    ],
    "partial_score": {
      "score": 1,
      "numerator": 1,
      "denominator": 1,
      "level": "command",
      "provenance": "fallback_command_level",
      "reason": "test_case_detail_unavailable"
    },
    "tb": {
      "trial_name": "flux-pr-828.1-of-1.2026-03-05__17-48-26__gpt-5-1-codex-mini",
      "is_resolved": true,
      "failure_mode": "unset",
      "duration_sec": 351.999939666,
      "time_budget_sec": 1800
    },
    "cache": {
      "cache_hit": false,
      "cache_miss_reason": "missing_pinned_dependencies",
      "environment_group_id": "eg_46b6a6c82a4890b6e6e87c39575fd02c"
    }
  },
  "quality": {
    "equivalence": {
      "status": "used",
      "outcome": "non_equivalent",
      "evaluator_model": "gpt-5.3-codex",
      "confidence": 0.91,
      "issue_type": "behavioral"
    },
    "code_review": {
      "status": "used",
      "signal": "fail",
      "evaluator_model": "gpt-5.3-codex",
      "confidence": 0.92,
      "issue_type": "unclear",
      "source_field": "code_review",
      "dimension_scores": {
        "correctness": {
          "score_0_4": 1,
          "confidence_0_1": 0.96,
          "rationale": "The patch does not implement the intended v2 astminify feature shape and scope: it adds new code under legacy `pkg/...` paths and wires planner changes there, while the task/gold change is centered in `v2/pkg/...`; it also only targets inline fragments rather than general duplicate selection sets."
        },
        "edge_case_handling": {
          "score_0_4": 1,
          "confidence_0_1": 0.9,
          "rationale": "Minification grouping is limited to inline fragments and misses repeated selection sets in other contexts (for example nested field selection sets), leaving major duplication patterns unhandled."
        },
        "introduced_bug_risk": {
          "score_0_4": 1,
          "confidence_0_1": 0.89,
          "rationale": "The planner mutates `g.resolveDocument` during minification before deciding whether to use the minified query bytes, which can leak state changes even when the minified output is rejected by size comparison."
        },
        "maintainability_idioms": {
          "score_0_4": 2,
          "confidence_0_1": 0.77,
          "rationale": "The implementation is readable, but it introduces a parallel minifier package and behavior outside the expected v2 location, increasing long-term maintenance divergence from the intended architecture."
        }
      },
      "findings": [
        {
          "id": "f1",
          "dimension": "correctness",
          "severity": "major",
          "title": "Feature implemented in wrong module surface",
          "detail": "The patch adds astminifier and planner wiring under `pkg/...` paths, while the intended change set is for `v2/pkg/...`; this likely leaves the target v2 behavior unimplemented.",
          "confidence_0_1": 0.97,
          "citations": [
            {
              "path": "pkg/astminifier/astminifier.go",
              "side": "new",
              "start_line": 1,
              "end_line": 7,
              "anchor_kind": "diff",
              "head_sha": "1c1c42b5c9c63b2aeae7bd3eecd05ad4525462dc"
            },
            {
              "path": "pkg/execution/datasource/datasource_graphql.go",
              "side": "new",
              "start_line": 13,
              "end_line": 17,
              "anchor_kind": "diff",
              "head_sha": "1c1c42b5c9c63b2aeae7bd3eecd05ad4525462dc"
            }
          ]
        },
        {
          "id": "f2",
          "dimension": "correctness",
          "severity": "major",
          "title": "Minifier only deduplicates inline fragments",
          "detail": "The grouping pass iterates only `document.InlineFragments`, so duplicate selection sets beneath fields or other selection contexts are not extracted into fragments, missing core minification opportunities described by the task.",
          "confidence_0_1": 0.93,
          "citations": [
            {
              "path": "pkg/astminifier/astminifier.go",
              "side": "new",
              "start_line": 18,
              "end_line": 42,
              "anchor_kind": "diff",
              "head_sha": "1c1c42b5c9c63b2aeae7bd3eecd05ad4525462dc"
            }
          ]
        },
        {
          "id": "f3",
          "dimension": "introduced_bug_risk",
          "severity": "major",
          "title": "Planner mutates AST even when minified query is not selected",
          "detail": "`astminifier.Minify(g.resolveDocument)` is called before the size check, so `g.resolveDocument` stays mutated even when `len(minifiedQuery) >= len(query)` and the original query bytes are used.",
          "confidence_0_1": 0.9,
          "citations": [
            {
              "path": "pkg/execution/datasource/datasource_graphql.go",
              "side": "new",
              "start_line": 303,
              "end_line": 319,
              "anchor_kind": "diff",
              "head_sha": "1c1c42b5c9c63b2aeae7bd3eecd05ad4525462dc"
            }
          ]
        }
      ],
      "overall": {
        "overall_score_0_100": 30.000000000000004,
        "signal": "fail",
        "confidence_overall": 0.92,
        "summary": "The patch is unlikely to satisfy the intended change: it targets the wrong module surface, implements only a subset of required deduplication behavior, and introduces a state-mutation risk in planner flow."
      }
    },
    "behavioral_robustness": {
      "status": "used",
      "probe_status": "used",
      "gold_pass_candidate_pass_count": 1,
      "agreement_rate": 1,
      "coverage_delta_status": "unavailable",
      "coverage_delta_reason": "coverage_adapter_unavailable",
      "mutation_lite_status": "unavailable",
      "mutation_lite_reason": "mutation_runner_unavailable",
      "notes": "derived from command-level outcomes; no accepted generated probes"
    },
    "footprint_risk": {
      "status": "used",
      "reason": "none",
      "version": "v1",
      "level": "low",
      "score": 0.09886623382570056,
      "flag": false,
      "severe_flag": false
    },
    "cost": {
      "status": "tokens_only",
      "token_status": "present",
      "cache_token_status": "present",
      "total_input_tokens": 7302669,
      "total_output_tokens": 58388,
      "total_tokens": 7361057,
      "uncached_input_tokens": 762765,
      "cache_read_input_tokens": 6539904,
      "cached_input_tokens": 6539904,
      "total_cost_usd": 2.4754611000000004,
      "token_source": "openai_cached_tokens_usage",
      "pricing_model_key": "gpt-5.1-codex-mini",
      "pricing_mode": "cache_aware"
    }
  },
  "summary": {
    "task": {
      "matrix_status": "fail_guardrail",
      "tests_outcome": "pass",
      "tests_unknown_cause": null,
      "lane_report_lane": "lane_unknown",
      "lane_report_source": "lane_unknown",
      "lane_report_reasons": [
        "lane_unknown"
      ],
      "cache_hit": false,
      "cache_miss_reason": "missing_pinned_dependencies",
      "setup_ms_saved": null,
      "pinned_bytes": null,
      "environment_group_id": "eg_46b6a6c82a4890b6e6e87c39575fd02c",
      "equivalence_status": "used",
      "equivalence_outcome": "non_equivalent",
      "code_review_status": "used",
      "code_review_signal": "fail",
      "behavioral_robustness_status": "used",
      "coverage_delta_status": "unavailable",
      "mutation_lite_status": "unavailable",
      "probe_accepted_candidates": null,
      "probe_accepted_commands": null,
      "probe_agreement_rate": 1,
      "probe_gold_pass_candidate_pass_count": 1,
      "probe_gold_pass_candidate_fail_count": null,
      "probe_review_required_count": null,
      "flags": [
        "equiv_warn",
        "review_warn"
      ],
      "tb_is_resolved": true,
      "tb_failure_mode": "unset",
      "tb_total_input_tokens": 7302669,
      "tb_total_output_tokens": 58388,
      "tb_total_tokens": 7361057,
      "tb_uncached_input_tokens": 762765,
      "tb_cache_creation_input_tokens": null,
      "tb_cache_read_input_tokens": 6539904,
      "tb_cached_input_tokens": 6539904,
      "token_status": "present",
      "cache_token_status": "present",
      "token_source": "openai_cached_tokens_usage",
      "task_cost": 2.4754611000000004,
      "cost_status": "present",
      "cost_pricing_mode": "cache_aware",
      "pricing_model_key": "gpt-5.1-codex-mini",
      "equiv_rescue_policy": "on",
      "rescue_candidate": false,
      "rescue_eligible": false,
      "rescue_decision": "not_candidate",
      "publish_include_in_leaderboard": true,
      "publish_exclusion_reasons": [],
      "publish_weak_signal_risk": false,
      "tests_only_outcome": 1,
      "rescue_aware_outcome": 0,
      "partial_score": 1,
      "partial_score_numerator": 1,
      "partial_score_denominator": 1,
      "partial_score_level": "command",
      "partial_score_provenance": "fallback_command_level",
      "partial_score_reason": "test_case_detail_unavailable",
      "partial_score_unknown_count": 0,
      "footprint_risk_status": "used",
      "footprint_risk_reason": "none",
      "footprint_risk_level": "low",
      "footprint_risk_score": 0.09886623382570056,
      "footprint_risk_flag": false,
      "footprint_risk_severe_flag": false
    },
    "run": {
      "model": "gpt-5-1-codex-mini",
      "requested_model": "gpt-5-1-codex-mini",
      "run_id": "2026-02-21__03-36-16__gpt-5-1-codex-mini",
      "passRate": 0.5714285714285714,
      "ciLow": 0.38095238095238093,
      "ciHigh": 0.8095238095238095,
      "effectiveN": 21,
      "tier": 1,
      "validation_counts": {
        "fail_guardrail": 13,
        "fail_high_conf": 1,
        "fail_infra": 2,
        "fail_likely_equiv": 0,
        "fail_no_patch": 1,
        "fail_with_diag": 0,
        "missing": 0,
        "pass": 2,
        "pass_with_warn": 11
      }
    },
    "run_metadata": {
      "agent_name": "codex",
      "model_name": "gpt-5.1-codex-mini",
      "start_time": "2026-02-21T03:36:19.601271+00:00",
      "end_time": "2026-02-21T06:29:08.047412+00:00",
      "commit_hash": "f09baebe0424b002663dfd81a4ba49701bb870e3",
      "accuracy": 0.5,
      "reasoning_effort": "medium"
    }
  },
  "evidence": {
    "task_detail": {
      "path": "validation/gpt-5-1-codex-mini/flux-pr-828/task_detail.v1.json",
      "exists": true
    },
    "trajectory": {
      "path": "validation/gpt-5-1-codex-mini/flux-pr-828/trajectory.v1.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 15391
    },
    "validation": {
      "path": "validation/gpt-5-1-codex-mini/flux-pr-828/validation.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 198765
    },
    "results": {
      "path": "runs/2026-02-21__03-36-16__gpt-5-1-codex-mini/results.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 59870
    },
    "run_metadata": {
      "path": "runs/2026-02-21__03-36-16__gpt-5-1-codex-mini/run_metadata.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 1662
    },
    "agent_patch": {
      "path": "runs/2026-02-21__03-36-16__gpt-5-1-codex-mini/flux-pr-828/flux-pr-828.1-of-1.2026-03-05__17-48-26__gpt-5-1-codex-mini/agent-logs/agent.patch",
      "exists": true,
      "non_empty": true,
      "size_bytes": 10446
    },
    "summary": {
      "path": "reports/summary.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 96753
    },
    "manifest": {
      "path": "manifest.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 495
    },
    "validation_inputs": {
      "required_for_rescue_ok": true,
      "gold_patch": {
        "exists": true,
        "non_empty": true,
        "size_bytes": 35413,
        "sha256": "5b8feac8bb191509f042ca05741355c8b65942d53a5b13a94861ed74d41c2816",
        "required_for_rescue": true
      },
      "repo_tarball": {
        "exists": true,
        "non_empty": true,
        "size_bytes": 4092497,
        "sha256": "a64c81070c7529d8049cfc5748f529c279ebd6aef27cc23e61a2a711e9df5014",
        "required_for_rescue": true
      },
      "agent_patch": {
        "exists": true,
        "non_empty": true,
        "size_bytes": 10446,
        "sha256": "a09c9463f0944ca5cfbf5bae56b5a8b910e145616f2889bfbc5ee62fd040e54b",
        "required_for_rescue": true
      }
    }
  },
  "provenance": {
    "identity": [
      {
        "source": "manifest",
        "available": true
      },
      {
        "source": "tb_results",
        "available": true
      }
    ],
    "decision": [
      {
        "source": "validation",
        "available": true
      }
    ],
    "tests": [
      {
        "source": "validation",
        "available": true
      },
      {
        "source": "tb_results",
        "available": true
      }
    ],
    "quality": {
      "equivalence": [
        {
          "source": "validation",
          "available": true
        }
      ],
      "code_review": [
        {
          "source": "validation",
          "available": true
        }
      ],
      "behavioral_robustness": [
        {
          "source": "validation",
          "available": true
        }
      ],
      "footprint_risk": [
        {
          "source": "validation",
          "available": true
        }
      ],
      "cost": [
        {
          "source": "validation",
          "available": true
        },
        {
          "source": "summary",
          "available": true
        }
      ]
    },
    "summary": {
      "task": [
        {
          "source": "summary",
          "available": true
        }
      ],
      "run": [
        {
          "source": "summary",
          "available": true
        }
      ],
      "run_metadata": [
        {
          "source": "run_metadata",
          "available": true
        }
      ]
    },
    "evidence": [
      {
        "source": "filesystem",
        "available": true
      }
    ]
  }
}