{
  "decision_id": "6b7e67d3-f196-40eb-b768-b06f365447e7",
  "verdict": "block",
  "baseline_ref": "main",
  "candidate_ref": "demo/broken-prompt",
  "baseline_run_id": "50bff75e-7a67-47c8-976b-39c631154ad9",
  "candidate_run_id": "6cac1b6b-9323-40dd-b15a-87b3e6b27258",
  "pr_number": null,
  "git_sha": "6db8bc095dbca02ae07c89f4d2aca598d816b690-dirty",
  "created_at": "2026-11-27T17:57:54.068761Z",
  "reasons": [
    "tool_selection_accuracy: −0.18 is worse than −0.05 and the 95% CI [−0.29, −0.09] excludes 0"
  ],
  "report": {
    "decision_id": "6b7e67d3-f196-40eb-b768-b06f365447e7",
    "verdict": {
      "verdict": "block",
      "metrics": [
        {
          "comparison": {
            "metric": "answer_correctness",
            "kind": "absolute",
            "baseline": 0.92,
            "candidate": 0.8973333333333335,
            "delta": -0.022666666666666502,
            "ci_low": -0.07933333333333333,
            "ci_high": 0.02666666666666667,
            "n_cases": 50,
            "note": null
          },
          "verdict": "pass",
          "reason": "within threshold"
        },
        {
          "comparison": {
            "metric": "groundedness",
            "kind": "absolute",
            "baseline": 0.9550264550264551,
            "candidate": 0.9900793650793651,
            "delta": 0.03505291005291,
            "ci_low": 0.009259259259259264,
            "ci_high": 0.06746031746031747,
            "n_cases": 42,
            "note": null
          },
          "verdict": "pass",
          "reason": "within threshold"
        },
        {
          "comparison": {
            "metric": "tool_selection_accuracy",
            "kind": "absolute",
            "baseline": 0.9866666666666666,
            "candidate": 0.8066666666666665,
            "delta": -0.18000000000000005,
            "ci_low": -0.2866666666666666,
            "ci_high": -0.08666666666666668,
            "n_cases": 50,
            "note": null
          },
          "verdict": "block",
          "reason": "−0.18 is worse than −0.05 and the 95% CI [−0.29, −0.09] excludes 0"
        },
        {
          "comparison": {
            "metric": "retrieval_recall_at_5",
            "kind": "absolute",
            "baseline": 0.9801587301587301,
            "candidate": 0.9484126984126985,
            "delta": -0.03174603174603163,
            "ci_low": -0.08333333333333333,
            "ci_high": 0.007936507936507938,
            "n_cases": 42,
            "note": null
          },
          "verdict": "pass",
          "reason": "within threshold"
        },
        {
          "comparison": {
            "metric": "latency_p95",
            "kind": "relative",
            "baseline": 7.803557405999527,
            "candidate": 7.165967996999825,
            "delta": -0.08170496810973804,
            "ci_low": -0.2942722476200975,
            "ci_high": 0.00871918368935476,
            "n_cases": 50,
            "note": null
          },
          "verdict": "pass",
          "reason": "within threshold"
        },
        {
          "comparison": {
            "metric": "cost_per_success",
            "kind": "relative",
            "baseline": 0.002408029787234043,
            "candidate": 0.0020450124087591243,
            "delta": -0.1507528604502416,
            "ci_low": -0.24598625771188057,
            "ci_high": -0.04294160380689534,
            "n_cases": 50,
            "note": null
          },
          "verdict": "pass",
          "reason": "within threshold"
        }
      ],
      "hard_rules": [
        {
          "rule": "comparable",
          "outcome": "ok",
          "reason": "same dataset and judge"
        },
        {
          "rule": "infra_error_rate",
          "outcome": "ok",
          "reason": "infra-error rate within 5%"
        },
        {
          "rule": "judge_error_rate",
          "outcome": "ok",
          "reason": "judge-error rate within 5%"
        },
        {
          "rule": "agent_failure_rate",
          "outcome": "ok",
          "reason": "agent-failure rate within 5%"
        },
        {
          "rule": "critical_security",
          "outcome": "not_run",
          "reason": "security suite not run (Milestone 5)"
        }
      ],
      "flipped": [
        {
          "case_id": "gold-041",
          "baseline_mean": 1.0,
          "candidate_mean": 0.03333333333333333,
          "trace_ids": [
            "d9f48cd8f64882d35bf8cc3cb9900bf0",
            "bf9a0b9d0c39603cd6423a504dcbb8e7",
            "62efc0b41c430d744c21363089b40edd"
          ]
        },
        {
          "case_id": "gold-044",
          "baseline_mean": 1.0,
          "candidate_mean": 0.5,
          "trace_ids": [
            "5a8905b706304d728bbb0ecc0fd29fd8",
            "7d5599c6d7711e4c2ba81468ba3960f8",
            "4040e1e9277e31d1260fb9a630c0d0bf"
          ]
        },
        {
          "case_id": "gold-047",
          "baseline_mean": 0.9,
          "candidate_mean": 0.6666666666666666,
          "trace_ids": [
            "7fb257990ba01f431fe15a5583cc1f23",
            "977e5a14e589c724ff665994fc8cf121",
            "3e7fb2853c774179be74dc34084306fe"
          ]
        }
      ],
      "suggestions": []
    },
    "baseline": {
      "ref": "main",
      "git_sha": "6db8bc095dbca02ae07c89f4d2aca598d816b690",
      "version_id": "c9c8c4b59b125fcf",
      "model": "openai/gpt-5.4-mini",
      "run_id": "50bff75e-7a67-47c8-976b-39c631154ad9",
      "security_run_id": null,
      "cached": true,
      "cost_usd": 0.0,
      "estimate_usd": null
    },
    "candidate": {
      "ref": "demo/broken-prompt",
      "git_sha": "a9753d17c6d3a52f24187869ca7c0521c758b17a",
      "version_id": "b9aff6245a92aa98",
      "model": "openai/gpt-5.4-mini",
      "run_id": "6cac1b6b-9323-40dd-b15a-87b3e6b27258",
      "security_run_id": null,
      "cached": false,
      "cost_usd": 1.6151111499999997,
      "estimate_usd": 1.759724
    },
    "cases": 50,
    "security_cases": null,
    "repeats": 3,
    "dataset_id": "849908c4ca7e19feda8a1d0213762851e73490862b07179289c7c52a8e71f191",
    "judge_fingerprint": "6df7258fc3ff405d",
    "stats": {
      "resamples": 10000,
      "confidence": 0.95,
      "seed": 20261127
    },
    "security": null,
    "created_at": "2026-11-27T17:57:54+00:00"
  }
}
