task_detail
validation/gpt-5-3-codex/flux-pr-1001/task_detail.v1.json
16177 bytes
{
"version": "v1",
"materialization": {
"mode": "canonical"
},
"identity": {
"variant_id": "gpt-5.3-codex",
"requested_model": "gpt-5.3-codex",
"model_key": "gpt-5-3-codex",
"run_id": "2026-02-28__13-38-10__gpt-5-3-codex",
"task_id": "flux-pr-1001",
"trial_name": "flux-pr-1001.1-of-1.2026-02-28__13-38-10__gpt-5-3-codex"
},
"decision": {
"status": "pass",
"primary_signal": "tests",
"matrix_status": "pass_with_warn",
"reason_codes": [
"primary_tests",
"tests_passed",
"equivalence_equivalent",
"review_fail"
],
"flags": [
"equiv_warn",
"review_warn"
],
"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-1001.1-of-1.validate-gold-1772289784691529000",
"gold_failure_mode": "unset",
"agent_outcome": "pass",
"agent_tb_trial_name": "flux-pr-1001.1-of-1.validate-override-1772289835613880000",
"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-1001.1-of-1.2026-02-28__13-38-10__gpt-5-3-codex",
"is_resolved": true,
"failure_mode": "unset",
"duration_sec": 106.179918542,
"time_budget_sec": 1200
},
"cache": {
"cache_hit": false,
"cache_miss_reason": "missing_pinned_dependencies",
"environment_group_id": "eg_46b6a6c82a4890b6e6e87c39575fd02c"
}
},
"quality": {
"equivalence": {
"status": "used",
"outcome": "equivalent",
"confidence": 0.76,
"issue_type": "stylistic",
"notes": "The agent patch updates `OnFinished` to receive enriched HTTP context (`*httpclient.ResponseContext`) containing request/response metadata (method/URL/headers/status), and wires this through loader execution so hook consumers can inspect upstream HTTP interactions. The shape differs from gold (keeps `err` separate, uses trace structs instead of raw `*http.Request/*http.Response`), but it fulfills the core intent of exposing richer HTTP fetch details to hooks."
},
"code_review": {
"status": "used",
"signal": "fail",
"confidence": 0.86,
"issue_type": "unclear",
"source_field": "code_review",
"dimension_scores": {
"correctness": {
"score_0_4": 1,
"confidence_0_1": 0.89,
"rationale": "The patch changes the hook API and payload, but it does not match the intended contract evolution: it passes `*httpclient.ResponseContext` plus separate `err` instead of a unified response-info object, and callback invocation still depends on `loaderHookContext != nil` so some fetches may never trigger `OnFinished`."
},
"edge_case_handling": {
"score_0_4": 1,
"confidence_0_1": 0.86,
"rationale": "The hook callback is still gated on non-nil hook context in several call sites, so edge cases where `OnLoad` does not provide context can skip `OnFinished` entirely."
},
"introduced_bug_risk": {
"score_0_4": 1,
"confidence_0_1": 0.82,
"rationale": "Response context population moved to after body-read paths; if body decoding fails earlier, status/request/response metadata may be lost, increasing behavioral risk for observability hooks."
},
"maintainability_idioms": {
"score_0_4": 2,
"confidence_0_1": 0.73,
"rationale": "The new API leaks transport-specific trace structs through loader hooks instead of a focused response-info abstraction, coupling resolver hooks more tightly to HTTP client internals."
}
},
"findings": [
{
"id": "f1",
"dimension": "correctness",
"severity": "major",
"title": "OnFinished signature deviates from intended enriched response-info contract",
"detail": "The patch changes `OnFinished` to accept `*httpclient.ResponseContext` and separate `err`, which does not provide the intended unified hook payload shape and makes consumers depend on httpclient internals rather than a dedicated response-info object.",
"confidence_0_1": 0.9,
"citations": [
{
"path": "v2/pkg/engine/resolve/loader.go",
"side": "new",
"start_line": 40,
"end_line": 40,
"anchor_kind": "diff",
"head_sha": "fcbfba1"
}
]
},
{
"id": "f2",
"dimension": "edge_case_handling",
"severity": "major",
"title": "OnFinished can still be skipped when loaderHookContext is nil",
"detail": "Multiple call sites still require `loaderHookContext != nil` before invoking `OnFinished`, so hooks may not run for requests where load context was not set.",
"confidence_0_1": 0.88,
"citations": [
{
"path": "v2/pkg/engine/resolve/loader.go",
"side": "new",
"start_line": 127,
"end_line": 127,
"anchor_kind": "diff",
"head_sha": "fcbfba1"
},
{
"path": "v2/pkg/engine/resolve/loader.go",
"side": "new",
"start_line": 166,
"end_line": 166,
"anchor_kind": "diff",
"head_sha": "fcbfba1"
}
]
},
{
"id": "f3",
"dimension": "introduced_bug_risk",
"severity": "major",
"title": "Response metadata is set too late in HTTP flow",
"detail": "Status/request/response context is no longer set immediately after receiving the response; it is set only after body-read paths, so early body-reader failures can leave hook metadata unset.",
"confidence_0_1": 0.81,
"citations": [
{
"path": "v2/pkg/engine/datasource/httpclient/nethttpclient.go",
"side": "new",
"start_line": 204,
"end_line": 204,
"anchor_kind": "diff",
"head_sha": "fcbfba1"
},
{
"path": "v2/pkg/engine/datasource/httpclient/nethttpclient.go",
"side": "new",
"start_line": 215,
"end_line": 225,
"anchor_kind": "diff",
"head_sha": "fcbfba1"
}
]
}
],
"overall": {
"confidence_overall": 0.86,
"summary": "The patch partially enriches HTTP hook data, but it likely does not satisfy the intended change due to API mismatch, missed callback invocation cases, and late response-context population that can drop metadata on error paths."
},
"notes": "The patch partially enriches HTTP hook data, but it likely does not satisfy the intended change due to API mismatch, missed callback invocation cases, and late response-context population that can drop metadata on error paths."
},
"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.2692425139668345,
"flag": false,
"severe_flag": false
},
"cost": {
"status": "tokens_only",
"token_status": "present",
"cache_token_status": "present",
"total_input_tokens": 1050248,
"total_output_tokens": 7013,
"total_tokens": 1057261,
"uncached_input_tokens": 64648,
"cache_read_input_tokens": 985600,
"cached_input_tokens": 985600,
"total_cost_usd": 2.8689,
"token_source": "openai_cached_tokens_usage",
"pricing_model_key": "gpt-5.3-codex",
"pricing_mode": "cache_aware"
}
},
"summary": {
"task": {
"matrix_status": "pass_with_warn",
"tests_outcome": "pass",
"tests_unknown_cause": null,
"lane_report_lane": null,
"lane_report_source": null,
"lane_report_reasons": null,
"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": "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": 1050248,
"tb_total_output_tokens": 7013,
"tb_total_tokens": 1057261,
"tb_uncached_input_tokens": 64648,
"tb_cache_creation_input_tokens": null,
"tb_cache_read_input_tokens": 985600,
"tb_cached_input_tokens": 985600,
"token_status": "present",
"cache_token_status": "present",
"token_source": "openai_cached_tokens_usage",
"task_cost": 2.8689,
"cost_status": "present",
"cost_pricing_mode": "cache_aware",
"pricing_model_key": "gpt-5.3-codex",
"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": 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.2692425139668345,
"footprint_risk_flag": false,
"footprint_risk_severe_flag": false
},
"run": {
"model": "gpt-5.3-codex",
"requested_model": "gpt-5.3-codex",
"run_id": "2026-02-28__13-38-10__gpt-5-3-codex",
"passRate": 0.9310344827586207,
"ciLow": 0.8275862068965517,
"ciHigh": 1,
"effectiveN": 29,
"tier": 1,
"validation_counts": {
"fail_guardrail": 0,
"fail_high_conf": 1,
"fail_infra": 0,
"fail_likely_equiv": 1,
"fail_with_diag": 0,
"missing": 0,
"pass": 6,
"pass_with_warn": 21
}
},
"run_metadata": {
"agent_name": "codex",
"model_name": "gpt-5.3-codex",
"start_time": "2026-02-28T13:38:12.733292+00:00",
"end_time": "2026-02-28T14:43:03.470912+00:00",
"commit_hash": "99ae882e59281de74856a3e7eeb1b7c986b466af",
"accuracy": 0.896551724137931,
"reasoning_effort": "medium"
}
},
"evidence": {
"task_detail": {
"path": "validation/gpt-5-3-codex/flux-pr-1001/task_detail.v1.json",
"exists": true
},
"trajectory": {
"path": "validation/gpt-5-3-codex/flux-pr-1001/trajectory.v1.json",
"exists": true,
"non_empty": true,
"size_bytes": 15193
},
"validation": {
"path": "validation/gpt-5-3-codex/flux-pr-1001/validation.json",
"exists": true,
"non_empty": true,
"size_bytes": 143934
},
"results": {
"path": "runs/2026-02-28__13-38-10__gpt-5-3-codex/results.json",
"exists": true,
"non_empty": true,
"size_bytes": 62248
},
"run_metadata": {
"path": "runs/2026-02-28__13-38-10__gpt-5-3-codex/run_metadata.json",
"exists": true,
"non_empty": true,
"size_bytes": 1634
},
"agent_patch": {
"path": "runs/2026-02-28__13-38-10__gpt-5-3-codex/flux-pr-1001/flux-pr-1001.1-of-1.2026-02-28__13-38-10__gpt-5-3-codex/agent-logs/agent.patch",
"exists": true,
"non_empty": true,
"size_bytes": 11428
},
"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": 9761,
"sha256": "4f4be1e17e703fc3cc540539ce5f871a5426000898c2b32f153bbf088512a89d",
"required_for_rescue": true
},
"repo_tarball": {
"exists": true,
"non_empty": true,
"size_bytes": 4156764,
"sha256": "a84f92df8a1b5a1b8b23f6c61187570bb3fb8efb03eed33d78bffb8c3a3f3872",
"required_for_rescue": true
},
"agent_patch": {
"path": "runs/2026-02-28__13-38-10__gpt-5-3-codex/flux-pr-1001/flux-pr-1001.1-of-1.2026-02-28__13-38-10__gpt-5-3-codex/agent-logs/agent.patch",
"exists": true,
"non_empty": true,
"size_bytes": 11428,
"sha256": "9dc10df0f92af250f2b24c04f75353db304abcb201a05b7c4a7f0b94417116cb",
"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
}
]
}
}