STET

task_detail

validation/gpt-5-4/flux-pr-1308/task_detail.v1.json

18247 bytes

Back to adjudication
{
  "version": "v1",
  "materialization": {
    "mode": "canonical"
  },
  "identity": {
    "variant_id": "gpt-5.4",
    "requested_model": "gpt-5.4",
    "model_key": "gpt-5-4",
    "run_id": "2026-02-28__13-38-10__gpt-5-4",
    "task_id": "flux-pr-1308",
    "trial_name": "flux-pr-1308.1-of-1.2026-02-28__13-38-10__gpt-5-4"
  },
  "decision": {
    "status": "fail",
    "primary_signal": "tests",
    "matrix_status": "fail_high_conf",
    "reason_codes": [
      "primary_tests",
      "tests_failed",
      "equivalence_non_equivalent"
    ],
    "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": "fail",
    "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-1308.1-of-1.validate-gold-1772830332073965000",
        "gold_failure_mode": "unset",
        "agent_outcome": "fail",
        "agent_tb_trial_name": "flux-pr-1308.1-of-1.validate-override-1772830410852859000",
        "agent_failure_mode": "unset",
        "agent_retried": false
      }
    ],
    "partial_score": {
      "score": 0,
      "denominator": 1,
      "level": "command",
      "provenance": "fallback_command_level",
      "reason": "test_case_detail_unavailable"
    },
    "tb": {
      "trial_name": "flux-pr-1308.1-of-1.2026-02-28__13-38-10__gpt-5-4",
      "is_resolved": false,
      "failure_mode": "unset",
      "duration_sec": 428.010340042,
      "time_budget_sec": 1200
    },
    "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.72,
      "issue_type": "behavioral"
    },
    "code_review": {
      "status": "used",
      "signal": "fail",
      "evaluator_model": "gpt-5.3-codex",
      "confidence": 0.81,
      "issue_type": "unclear",
      "source_field": "code_review",
      "dimension_scores": {
        "correctness": {
          "score_0_4": 1,
          "confidence_0_1": 0.84,
          "rationale": "The patch appears to add scaffolding/tests but not the core oneOf enforcement and variable-undefined behavior required by the task; key files show constants/new messages without corresponding validation flow updates."
        },
        "edge_case_handling": {
          "score_0_4": 1,
          "confidence_0_1": 0.8,
          "rationale": "The required edge cases (exactly one field, non-null field, nullable variable handling, source locations) are represented in tests/messages, but visible validator logic additions are minimal and likely do not cover operation+variable paths."
        },
        "introduced_bug_risk": {
          "score_0_4": 1,
          "confidence_0_1": 0.79,
          "rationale": "API/signature-style changes and new expectations are introduced in tests/errors, but visible implementation deltas are incomplete, creating high risk of runtime/test failures and inconsistent behavior."
        },
        "maintainability_idioms": {
          "score_0_4": 2,
          "confidence_0_1": 0.72,
          "rationale": "Changes are somewhat organized (constants/tests), but introducing behavior via message constants and fixture edits without clear end-to-end logic wiring increases maintenance burden and ambiguity."
        }
      },
      "findings": [
        {
          "id": "f1",
          "dimension": "correctness",
          "severity": "major",
          "title": "Core operation-level oneOf validation appears missing",
          "detail": "In the shown changes, `operation_rule_values.go` only adds a directive-name constant, but the required runtime rule enforcement (exactly one field, non-null, variable nullability checks) is not visible. This likely leaves oneOf operation validation incomplete.",
          "confidence_0_1": 0.86,
          "citations": [
            {
              "path": "v2/pkg/astvalidation/operation_rule_values.go",
              "side": "new",
              "start_line": 11,
              "end_line": 13,
              "anchor_kind": "diff",
              "head_sha": "49b8a69cab1c77b398a71c157a5d051ebd3e2ee8"
            }
          ]
        },
        {
          "id": "f2",
          "dimension": "correctness",
          "severity": "major",
          "title": "Core variables-level oneOf validation appears missing",
          "detail": "The visible diff in `variablesvalidation.go` adds only `oneOfDirectiveName`; enforcement logic for oneOf variable payloads is not shown there, despite new tests expecting such behavior.",
          "confidence_0_1": 0.84,
          "citations": [
            {
              "path": "v2/pkg/variablesvalidation/variablesvalidation.go",
              "side": "new",
              "start_line": 20,
              "end_line": 23,
              "anchor_kind": "diff",
              "head_sha": "49b8a69cab1c77b398a71c157a5d051ebd3e2ee8"
            },
            {
              "path": "v2/pkg/variablesvalidation/variablesvalidation_test.go",
              "side": "new",
              "start_line": 509,
              "end_line": 566,
              "anchor_kind": "diff",
              "head_sha": "49b8a69cab1c77b398a71c157a5d051ebd3e2ee8"
            }
          ]
        },
        {
          "id": "f3",
          "dimension": "correctness",
          "severity": "major",
          "title": "Undefined-variable error path likely not aligned with requested operation-level position reporting",
          "detail": "The patch changes `operation_rule_all_variable_uses_defined.go` to pass a position into `ErrVariableNotDefinedOnArgument`, but the requested change centers on operation value validation paths and `ErrVariableNotDefinedOnOperation` with source location. This suggests behavior mismatch.",
          "confidence_0_1": 0.78,
          "citations": [
            {
              "path": "v2/pkg/astvalidation/operation_rule_all_variable_uses_defined.go",
              "side": "new",
              "start_line": 53,
              "end_line": 53,
              "anchor_kind": "diff",
              "head_sha": "49b8a69cab1c77b398a71c157a5d051ebd3e2ee8"
            },
            {
              "path": "v2/pkg/operationreport/externalerror.go",
              "side": "new",
              "start_line": 8,
              "end_line": 33,
              "anchor_kind": "diff",
              "head_sha": "49b8a69cab1c77b398a71c157a5d051ebd3e2ee8"
            }
          ]
        },
        {
          "id": "f4",
          "dimension": "edge_case_handling",
          "severity": "major",
          "title": "Introspection oneOf support appears partially wired",
          "detail": "The patch adds `IsOneOf` to model types and a constant in generator, but the visible generator logic to set `isOneOf` is absent. Added tests/fixtures imply this field should be populated consistently.",
          "confidence_0_1": 0.76,
          "citations": [
            {
              "path": "v2/pkg/introspection/introspection.go",
              "side": "new",
              "start_line": 70,
              "end_line": 74,
              "anchor_kind": "diff",
              "head_sha": "49b8a69cab1c77b398a71c157a5d051ebd3e2ee8"
            },
            {
              "path": "v2/pkg/introspection/generator.go",
              "side": "new",
              "start_line": 13,
              "end_line": 17,
              "anchor_kind": "diff",
              "head_sha": "49b8a69cab1c77b398a71c157a5d051ebd3e2ee8"
            }
          ]
        },
        {
          "id": "f5",
          "dimension": "maintainability_idioms",
          "severity": "minor",
          "title": "Directive description/messages diverge from expected canonical wording",
          "detail": "The patch uses alternate one-line wording for `@oneOf` description and custom error strings; this can cause fixture drift and inconsistent UX vs the intended text across schema/introspection outputs.",
          "confidence_0_1": 0.73,
          "citations": [
            {
              "path": "v2/pkg/asttransform/baseschema.go",
              "side": "new",
              "start_line": 168,
              "end_line": 172,
              "anchor_kind": "diff",
              "head_sha": "49b8a69cab1c77b398a71c157a5d051ebd3e2ee8"
            },
            {
              "path": "v2/pkg/engine/datasource/introspection_datasource/fixtures/schema_introspection.golden",
              "side": "new",
              "start_line": 350,
              "end_line": 360,
              "anchor_kind": "diff",
              "head_sha": "49b8a69cab1c77b398a71c157a5d051ebd3e2ee8"
            }
          ]
        }
      ],
      "overall": {
        "overall_score_0_100": 30.000000000000004,
        "signal": "fail",
        "confidence_overall": 0.81,
        "summary": "The agent patch likely does not satisfy the intended PR. It adds partial schema/introspection/testing scaffolding, but the critical operation and variable oneOf enforcement and requested undefined-variable position behavior appear incomplete or mismatched."
      }
    },
    "behavioral_robustness": {
      "status": "used",
      "probe_status": "used",
      "gold_pass_candidate_fail_count": 1,
      "agreement_rate": 0,
      "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": "medium",
      "score": 0.33159231072556666,
      "flag": false,
      "severe_flag": false
    },
    "cost": {
      "status": "tokens_only",
      "token_status": "present",
      "cache_token_status": "present",
      "total_input_tokens": 8073032,
      "total_output_tokens": 23551,
      "total_tokens": 8096583,
      "uncached_input_tokens": 141896,
      "cache_read_input_tokens": 7931136,
      "cached_input_tokens": 7931136,
      "total_cost_usd": 4.437768,
      "token_source": "openai_cached_tokens_usage",
      "pricing_model_key": "gpt-5.4",
      "pricing_mode": "cache_aware"
    }
  },
  "summary": {
    "task": {
      "matrix_status": "fail_high_conf",
      "tests_outcome": "fail",
      "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": 0,
      "probe_gold_pass_candidate_pass_count": null,
      "probe_gold_pass_candidate_fail_count": 1,
      "probe_review_required_count": null,
      "flags": [
        "equiv_warn",
        "review_warn"
      ],
      "tb_is_resolved": false,
      "tb_failure_mode": "unset",
      "tb_total_input_tokens": 8073032,
      "tb_total_output_tokens": 23551,
      "tb_total_tokens": 8096583,
      "tb_uncached_input_tokens": 141896,
      "tb_cache_creation_input_tokens": null,
      "tb_cache_read_input_tokens": 7931136,
      "tb_cached_input_tokens": 7931136,
      "token_status": "present",
      "cache_token_status": "present",
      "token_source": "openai_cached_tokens_usage",
      "task_cost": 4.437768,
      "cost_status": "present",
      "cost_pricing_mode": "cache_aware",
      "pricing_model_key": "gpt-5.4",
      "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": 0,
      "rescue_aware_outcome": 0,
      "partial_score": 0,
      "partial_score_numerator": 0,
      "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": "medium",
      "footprint_risk_score": 0.33159231072556666,
      "footprint_risk_flag": false,
      "footprint_risk_severe_flag": false
    },
    "run": {
      "model": "gpt-5.4",
      "requested_model": "gpt-5.4",
      "run_id": "2026-02-28__13-38-10__gpt-5-4",
      "passRate": 0.896551724137931,
      "ciLow": 0.7586206896551724,
      "ciHigh": 1,
      "effectiveN": 29,
      "tier": 1,
      "validation_counts": {
        "fail_guardrail": 1,
        "fail_high_conf": 2,
        "fail_infra": 0,
        "fail_likely_equiv": 1,
        "fail_with_diag": 0,
        "missing": 0,
        "pass": 5,
        "pass_with_warn": 20
      }
    },
    "run_metadata": {
      "agent_name": "codex",
      "model_name": "gpt-5.4",
      "start_time": "2026-03-06T11:06:36.354605+00:00",
      "end_time": "2026-03-06T13:16:38.693205+00:00",
      "commit_hash": "8f1bc9fe2c3cb8a14c254de41e9577a2ce352ac2",
      "accuracy": 0.7586206896551724,
      "reasoning_effort": "medium"
    }
  },
  "evidence": {
    "task_detail": {
      "path": "validation/gpt-5-4/flux-pr-1308/task_detail.v1.json",
      "exists": true
    },
    "trajectory": {
      "path": "validation/gpt-5-4/flux-pr-1308/trajectory.v1.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 15230
    },
    "validation": {
      "path": "validation/gpt-5-4/flux-pr-1308/validation.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 192252
    },
    "results": {
      "path": "runs/2026-02-28__13-38-10__gpt-5-4/results.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 61729
    },
    "run_metadata": {
      "path": "runs/2026-02-28__13-38-10__gpt-5-4/run_metadata.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 1623
    },
    "agent_patch": {
      "path": "runs/2026-02-28__13-38-10__gpt-5-4/flux-pr-1308/flux-pr-1308.1-of-1.2026-02-28__13-38-10__gpt-5-4/agent-logs/agent.patch",
      "exists": true,
      "non_empty": true,
      "size_bytes": 29866
    },
    "summary": {
      "path": "reports/summary.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 269968
    },
    "manifest": {
      "path": "manifest.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 677
    },
    "validation_inputs": {
      "required_for_rescue_ok": true,
      "gold_patch": {
        "exists": true,
        "non_empty": true,
        "size_bytes": 24668,
        "sha256": "84c6d0a576ca7a0db5e3262170eb3c8fe4bb83901a1e00a39caf52b059caa8a7",
        "required_for_rescue": true
      },
      "repo_tarball": {
        "exists": true,
        "non_empty": true,
        "size_bytes": 2055392,
        "sha256": "9abac454baa18318efac0d0c2d411c481be5d4e9ebca3ad04ef3e07b63086960",
        "required_for_rescue": true
      },
      "agent_patch": {
        "path": "runs/2026-02-28__13-38-10__gpt-5-4/flux-pr-1308/flux-pr-1308.1-of-1.2026-02-28__13-38-10__gpt-5-4/agent-logs/agent.patch",
        "exists": true,
        "non_empty": true,
        "size_bytes": 29866,
        "sha256": "cfa2895d2a809768c3c52fea168a68517d72140a1a37a205557097ba547e9eb3",
        "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
      }
    ]
  }
}