STET

task_detail

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

16878 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-1034",
    "trial_name": "flux-pr-1034.1-of-1.2026-03-05__17-48-26__gpt-5-1-codex-mini"
  },
  "decision": {
    "status": "fail",
    "primary_signal": "equivalence",
    "matrix_status": "fail_guardrail",
    "reason_codes": [
      "guardrail_preflight_failed",
      "primary_equivalence",
      "tests_unknown",
      "equivalence_non_equivalent",
      "needs_generated_tests",
      "weak_signal_risk",
      "tests_all_commands_ignored",
      "tests_unknown_no_gold_pass_commands"
    ],
    "flags": [
      "equiv_warn",
      "review_warn"
    ],
    "lane_report": {
      "lane": "lane_unknown",
      "source": "lane_unknown",
      "reasons": [
        "lane_unknown"
      ]
    },
    "publish": {
      "include_in_leaderboard": false,
      "exclusion_reasons": [
        "zero_token_agent_timeout"
      ],
      "weak_signal_risk": true
    },
    "rescue": {
      "candidate": false,
      "eligible": false,
      "decision": "not_candidate",
      "required_artifacts_ok": true
    },
    "notes": [
      "gold baseline failed for \"go test -C v2 ./... -count=1 -timeout=300s\": apply test.patch to gold baseline repo: extract repo tarball: invalid tar symlink target: ../README.md",
      "repo context unavailable: extract repo tarball: invalid tar symlink target: ../README.md"
    ]
  },
  "tests": {
    "outcome": "unknown",
    "unknown_cause": "no_gold_pass_commands",
    "strength": "missing",
    "command_results": [
      {
        "command": "go test -C v2 ./... -count=1 -timeout=300s",
        "gold_outcome": "unknown",
        "agent_retried": false
      }
    ],
    "partial_score": {
      "level": "command",
      "provenance": "fallback_command_level",
      "reason": "no_gold_pass_commands"
    },
    "tb": {
      "trial_name": "flux-pr-1034.1-of-1.2026-03-05__17-48-26__gpt-5-1-codex-mini",
      "is_resolved": true,
      "failure_mode": "agent_timeout",
      "duration_sec": 211.5893595,
      "time_budget_sec": 1800
    },
    "cache": {}
  },
  "quality": {
    "equivalence": {
      "status": "used",
      "outcome": "non_equivalent",
      "evaluator_model": "gpt-5.3-codex",
      "confidence": 0.98,
      "issue_type": "behavioral"
    },
    "code_review": {
      "status": "used",
      "signal": "fail",
      "evaluator_model": "gpt-5.3-codex",
      "confidence": 0.88,
      "issue_type": "unclear",
      "source_field": "code_review",
      "dimension_scores": {
        "correctness": {
          "score_0_4": 1,
          "confidence_0_1": 0.91,
          "rationale": "The patch adds canonicalization, but core semantics appear incorrect: variable definitions are not explicitly renamed/sorted, mapping is only stored on request objects, and named-operation normalization behavior regresses."
        },
        "edge_case_handling": {
          "score_0_4": 1,
          "confidence_0_1": 0.82,
          "rationale": "Edge handling for repeated variable names and operation-selection-specific behavior is weak: dedupe is by value ref, and named operation handling no longer preserves prior option behavior."
        },
        "introduced_bug_risk": {
          "score_0_4": 1,
          "confidence_0_1": 0.84,
          "rationale": "The mapper rewrites variable usage nodes and JSON payload directly with a custom traversal and encoding path, increasing risk of semantic drift and invalid AST/query combinations."
        },
        "maintainability_idioms": {
          "score_0_4": 2,
          "confidence_0_1": 0.73,
          "rationale": "The solution introduces substantial bespoke mapping/JSON rewriting logic and exposes mapping accessors, but does not clearly integrate mapping through execution/validation paths, making maintenance and reasoning harder."
        }
      },
      "findings": [
        {
          "id": "f1",
          "dimension": "correctness",
          "severity": "major",
          "title": "Variable remap updates usages but not variable definitions/order",
          "detail": "The mapper renames variable value refs during argument traversal, but there is no corresponding explicit update/sort of operation variable definitions. This can leave definition names inconsistent with remapped usages and undermines deterministic normalization.",
          "confidence_0_1": 0.9,
          "citations": [
            {
              "path": "app/pkg/astnormalization/variable_mapper.go",
              "side": "new",
              "start_line": 95,
              "end_line": 106,
              "anchor_kind": "diff",
              "head_sha": "93dcbff9a9eb294de12c18d5ad541150ce64f210"
            },
            {
              "path": "app/pkg/astnormalization/variable_mapper.go",
              "side": "new",
              "start_line": 47,
              "end_line": 59,
              "anchor_kind": "diff",
              "head_sha": "93dcbff9a9eb294de12c18d5ad541150ce64f210"
            }
          ]
        },
        {
          "id": "f2",
          "dimension": "correctness",
          "severity": "major",
          "title": "Repeated same variable name can be assigned multiple canonical names",
          "detail": "Deduplication is keyed by variable value ref (`seen map[int]struct{}`) rather than by original variable name, so the same logical variable used in multiple places may be remapped multiple times (`v0`, `v1`, ...), changing query semantics.",
          "confidence_0_1": 0.94,
          "citations": [
            {
              "path": "app/pkg/astnormalization/variable_mapper.go",
              "side": "new",
              "start_line": 27,
              "end_line": 33,
              "anchor_kind": "diff",
              "head_sha": "93dcbff9a9eb294de12c18d5ad541150ce64f210"
            },
            {
              "path": "app/pkg/astnormalization/variable_mapper.go",
              "side": "new",
              "start_line": 95,
              "end_line": 103,
              "anchor_kind": "diff",
              "head_sha": "93dcbff9a9eb294de12c18d5ad541150ce64f210"
            }
          ]
        },
        {
          "id": "f3",
          "dimension": "correctness",
          "severity": "major",
          "title": "Variable mapping is captured but not propagated through validation/render pipeline",
          "detail": "The patch stores `variableNameMapping` on request and exposes accessors, but there are no corresponding changes here to variable validation or subgraph input rendering to consume that mapping, which is a stated requirement.",
          "confidence_0_1": 0.86,
          "citations": [
            {
              "path": "app/pkg/graphql/normalization.go",
              "side": "new",
              "start_line": 41,
              "end_line": 43,
              "anchor_kind": "diff",
              "head_sha": "93dcbff9a9eb294de12c18d5ad541150ce64f210"
            },
            {
              "path": "app/pkg/graphql/request.go",
              "side": "new",
              "start_line": 42,
              "end_line": 114,
              "anchor_kind": "diff",
              "head_sha": "93dcbff9a9eb294de12c18d5ad541150ce64f210"
            }
          ]
        },
        {
          "id": "f4",
          "dimension": "edge_case_handling",
          "severity": "major",
          "title": "Named operation normalization dropped prior option behavior",
          "detail": "In named-operation paths, the previous `WithRemoveNotMatchingOperationDefinitions()` append is no longer present, which can alter behavior when documents contain multiple operations.",
          "confidence_0_1": 0.81,
          "citations": [
            {
              "path": "app/execution/graphql/normalization.go",
              "side": "new",
              "start_line": 36,
              "end_line": 45,
              "anchor_kind": "diff",
              "head_sha": "93dcbff9a9eb294de12c18d5ad541150ce64f210"
            }
          ]
        }
      ],
      "overall": {
        "overall_score_0_100": 30.000000000000004,
        "signal": "fail",
        "confidence_overall": 0.88,
        "summary": "The patch likely does not satisfy the intended change end-to-end. It introduces canonical variable renaming, but key correctness gaps remain in remapping semantics and execution-pipeline integration, with additional regression risk in named-operation normalization behavior."
      }
    },
    "behavioral_robustness": {
      "status": "skipped",
      "probe_status": "skipped",
      "coverage_delta_status": "unavailable",
      "coverage_delta_reason": "coverage_adapter_unavailable",
      "mutation_lite_status": "unavailable",
      "mutation_lite_reason": "mutation_runner_unavailable",
      "notes": "no accepted probe tests"
    },
    "footprint_risk": {
      "status": "used",
      "reason": "none",
      "version": "v1",
      "level": "low",
      "score": 0.3000124593227613,
      "flag": false,
      "severe_flag": false
    },
    "cost": {
      "status": "tokens_only",
      "token_status": "present",
      "cache_token_status": "missing",
      "total_input_tokens": 0,
      "total_output_tokens": 0,
      "total_tokens": 0,
      "uncached_input_tokens": 0,
      "total_cost_usd": 0,
      "pricing_model_key": "gpt-5.1-codex-mini",
      "pricing_mode": "legacy_input_output"
    }
  },
  "summary": {
    "task": {
      "matrix_status": "fail_guardrail",
      "tests_outcome": "unknown",
      "tests_unknown_cause": "no_gold_pass_commands",
      "lane_report_lane": "lane_unknown",
      "lane_report_source": "lane_unknown",
      "lane_report_reasons": [
        "lane_unknown"
      ],
      "cache_hit": null,
      "cache_miss_reason": null,
      "setup_ms_saved": null,
      "pinned_bytes": null,
      "environment_group_id": null,
      "equivalence_status": "used",
      "equivalence_outcome": "non_equivalent",
      "code_review_status": "used",
      "code_review_signal": "fail",
      "behavioral_robustness_status": "skipped",
      "coverage_delta_status": "unavailable",
      "mutation_lite_status": "unavailable",
      "probe_accepted_candidates": null,
      "probe_accepted_commands": null,
      "probe_agreement_rate": null,
      "probe_gold_pass_candidate_pass_count": null,
      "probe_gold_pass_candidate_fail_count": null,
      "probe_review_required_count": null,
      "flags": [
        "equiv_warn",
        "review_warn"
      ],
      "tb_is_resolved": true,
      "tb_failure_mode": "agent_timeout",
      "tb_total_input_tokens": 0,
      "tb_total_output_tokens": 0,
      "tb_total_tokens": 0,
      "tb_uncached_input_tokens": 0,
      "tb_cache_creation_input_tokens": null,
      "tb_cache_read_input_tokens": null,
      "tb_cached_input_tokens": null,
      "token_status": "present",
      "cache_token_status": "missing",
      "token_source": null,
      "task_cost": 0,
      "cost_status": "present",
      "cost_pricing_mode": "legacy_input_output",
      "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": false,
      "publish_exclusion_reasons": [
        "zero_token_agent_timeout"
      ],
      "publish_weak_signal_risk": true,
      "tests_only_outcome": 0,
      "rescue_aware_outcome": 0,
      "partial_score": null,
      "partial_score_numerator": 0,
      "partial_score_denominator": 0,
      "partial_score_level": "command",
      "partial_score_provenance": "fallback_command_level",
      "partial_score_reason": "no_gold_pass_commands",
      "partial_score_unknown_count": 0,
      "footprint_risk_status": "used",
      "footprint_risk_reason": "none",
      "footprint_risk_level": "low",
      "footprint_risk_score": 0.3000124593227613,
      "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-1034/task_detail.v1.json",
      "exists": true
    },
    "trajectory": {
      "path": "validation/gpt-5-1-codex-mini/flux-pr-1034/trajectory.v1.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 15378
    },
    "validation": {
      "path": "validation/gpt-5-1-codex-mini/flux-pr-1034/validation.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 137303
    },
    "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-1034/flux-pr-1034.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": 15239
    },
    "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": 11956,
        "sha256": "5b21daceee9a4c4f67498bc2777798430c0ccea25a935b867d1463ecfd3ebfcd",
        "required_for_rescue": true
      },
      "repo_tarball": {
        "exists": true,
        "non_empty": true,
        "size_bytes": 4155946,
        "sha256": "1000f8cb511b58a0eb9145c57c2ee81c89e2bb324ec28a30226ee1749d334bb6",
        "required_for_rescue": true
      },
      "agent_patch": {
        "exists": true,
        "non_empty": true,
        "size_bytes": 15239,
        "sha256": "f6af89a173b4bb3636f2a572dcd2ccb6967491d3976b1f1fd293d6dc9f0c24f3",
        "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
      }
    ]
  }
}