STET

task_detail

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

17128 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-1262",
    "trial_name": "flux-pr-1262.1-of-1.2026-03-05__17-48-26__gpt-5-1-codex-mini"
  },
  "decision": {
    "status": "pass",
    "primary_signal": "tests",
    "matrix_status": "pass_with_warn",
    "reason_codes": [
      "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": false,
      "exclusion_reasons": [
        "zero_token_agent_timeout"
      ],
      "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-1262.1-of-1.validate-gold-1772903787111274000",
        "gold_failure_mode": "unset",
        "agent_outcome": "pass",
        "agent_tb_trial_name": "flux-pr-1262.1-of-1.validate-override-1772903849401464000",
        "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-1262.1-of-1.2026-03-05__17-48-26__gpt-5-1-codex-mini",
      "is_resolved": true,
      "failure_mode": "agent_timeout",
      "duration_sec": 127.208677542,
      "time_budget_sec": 600
    },
    "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.95,
      "issue_type": "behavioral"
    },
    "code_review": {
      "status": "used",
      "signal": "fail",
      "evaluator_model": "gpt-5.3-codex",
      "confidence": 0.84,
      "issue_type": "unclear",
      "source_field": "code_review",
      "dimension_scores": {
        "correctness": {
          "score_0_4": 1,
          "confidence_0_1": 0.86,
          "rationale": "The patch updates entity RPC config shape, but the federation planning flow still appears to produce a single shared call path and config resolution anchored to the first entity fragment, which does not match the intended multi-entity parallel lookup behavior."
        },
        "edge_case_handling": {
          "score_0_4": 1,
          "confidence_0_1": 0.84,
          "rationale": "Key directive parsing is tokenized with `strings.Fields`, which cannot correctly represent structured federation key selections (nested/object keys), and config fallback silently picks the first RPC when no key match is found."
        },
        "introduced_bug_risk": {
          "score_0_4": 1,
          "confidence_0_1": 0.8,
          "rationale": "State is now shared across inline fragments (`scaffolded`, `keyMessage`, single `entityInfo`), while fragment exit is a no-op, increasing risk of cross-fragment leakage and incorrect mixed plans."
        },
        "maintainability_idioms": {
          "score_0_4": 1,
          "confidence_0_1": 0.78,
          "rationale": "Instead of separating federation planning concerns, the patch adds more mutable flags and branching inside the existing visitor, making behavior harder to reason about and diverging from the cleaner refactor direction."
        }
      },
      "findings": [
        {
          "id": "f1",
          "dimension": "correctness",
          "severity": "major",
          "title": "Multiple entity fragments are still planned through a single call context",
          "detail": "The visitor scaffolds once and does not create distinct calls per inline fragment/entity type. `resolveEntityInformation` only fully configures call metadata on first entity (`configureCall := entityInfo.name == \"\"`), so later entity fragments are not independently planned as required.",
          "confidence_0_1": 0.9,
          "citations": [
            {
              "path": "v2/pkg/engine/datasource/grpc_datasource/execution_plan_visitor.go",
              "side": "new",
              "start_line": 270,
              "end_line": 281,
              "anchor_kind": "diff",
              "head_sha": "b454dd17f2558259db9b68c191ec7559b7bfabca"
            },
            {
              "path": "v2/pkg/engine/datasource/grpc_datasource/execution_plan_visitor.go",
              "side": "new",
              "start_line": 635,
              "end_line": 707,
              "anchor_kind": "diff",
              "head_sha": "b454dd17f2558259db9b68c191ec7559b7bfabca"
            }
          ]
        },
        {
          "id": "f2",
          "dimension": "correctness",
          "severity": "major",
          "title": "RPC selection can silently use wrong key mapping",
          "detail": "If no exact key match is found, the implementation falls back to the first entity RPC config (`selectedConfig = &configs[0]`). This can route lookups to the wrong RPC for multi-key entities.",
          "confidence_0_1": 0.88,
          "citations": [
            {
              "path": "v2/pkg/engine/datasource/grpc_datasource/execution_plan_visitor.go",
              "side": "new",
              "start_line": 680,
              "end_line": 700,
              "anchor_kind": "diff",
              "head_sha": "b454dd17f2558259db9b68c191ec7559b7bfabca"
            }
          ]
        },
        {
          "id": "f3",
          "dimension": "edge_case_handling",
          "severity": "major",
          "title": "Federation key parsing is not robust for structured keys",
          "detail": "Key fields are parsed using `strings.Fields(fieldsStr)`, which does not preserve nested/key selection semantics used by federation keys. This risks incorrect key field extraction and request shaping.",
          "confidence_0_1": 0.85,
          "citations": [
            {
              "path": "v2/pkg/engine/datasource/grpc_datasource/execution_plan_visitor.go",
              "side": "new",
              "start_line": 661,
              "end_line": 678,
              "anchor_kind": "diff",
              "head_sha": "b454dd17f2558259db9b68c191ec7559b7bfabca"
            }
          ]
        },
        {
          "id": "f4",
          "dimension": "introduced_bug_risk",
          "severity": "major",
          "title": "Inline fragment lifecycle cleanup removed",
          "detail": "`LeaveInlineFragment` became a no-op while shared entity state remains mutable. This raises risk that later fragments or fields observe stale entity planning state.",
          "confidence_0_1": 0.8,
          "citations": [
            {
              "path": "v2/pkg/engine/datasource/grpc_datasource/execution_plan_visitor.go",
              "side": "new",
              "start_line": 284,
              "end_line": 287,
              "anchor_kind": "diff",
              "head_sha": "b454dd17f2558259db9b68c191ec7559b7bfabca"
            },
            {
              "path": "v2/pkg/engine/datasource/grpc_datasource/execution_plan_visitor.go",
              "side": "new",
              "start_line": 17,
              "end_line": 64,
              "anchor_kind": "diff",
              "head_sha": "b454dd17f2558259db9b68c191ec7559b7bfabca"
            }
          ]
        }
      ],
      "overall": {
        "overall_score_0_100": 25,
        "signal": "fail",
        "confidence_overall": 0.84,
        "summary": "The patch likely does not satisfy the intended refactor. It changes config types and tests, but core federation planning still appears single-context and lacks robust key handling and safe per-fragment call construction needed for correct multi-entity/parallel behavior."
      }
    },
    "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.14254262836816045,
      "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": "pass_with_warn",
      "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": "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": false,
      "tests_only_outcome": 1,
      "rescue_aware_outcome": 1,
      "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.14254262836816045,
      "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-1262/task_detail.v1.json",
      "exists": true
    },
    "trajectory": {
      "path": "validation/gpt-5-1-codex-mini/flux-pr-1262/trajectory.v1.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 15393
    },
    "validation": {
      "path": "validation/gpt-5-1-codex-mini/flux-pr-1262/validation.json",
      "exists": true,
      "non_empty": true,
      "size_bytes": 188211
    },
    "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-1262/flux-pr-1262.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": 19565
    },
    "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": 104291,
        "sha256": "8524d81eb9baa86368b75cbbf9b51df6ada9d51b00148fb1daa19332914d6c78",
        "required_for_rescue": true
      },
      "repo_tarball": {
        "exists": true,
        "non_empty": true,
        "size_bytes": 4369729,
        "sha256": "18a37f26d248fd784ce80442afe1aa8107efe9a5c23cb6c819b716082625e6aa",
        "required_for_rescue": true
      },
      "agent_patch": {
        "path": "runs/2026-02-21__03-36-16__gpt-5-1-codex-mini/flux-pr-1262/flux-pr-1262.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": 19565,
        "sha256": "022a3f32a8d52c4fe61ad7943e02e85bcae9031b68f5e629bba27199db03836e",
        "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
      }
    ]
  }
}