Spaces:
Sleeping
Sleeping
Commit History
-
Phase 3: eval depth (calibration, cost-aware, credit, contamination)
All additive and report-only; nothing feeds the grader, so golden snapshots are unchanged. - env/eval/calibration.py: pure Brier score + Expected Calibration Error over (confidence, correct) pairs. - benchmark/cost_aware.py: score_per_dollar / score_per_1k_tokens + per-agent cost_efficiency (None when denominator is zero). - benchmark/credit_report.py: aggregate the frozen step_breakdown deltas by action type to show where score is gained/lost. - scripts/contamination_check.py: assert the agent-facing prompt surface never exposes gold answer fields (expected_*/recommended_escalation); exit 1 on leak. - tests/test_eval_depth.py, tests/test_contamination.py: known values + a poisoned-text negative test proving the check fires. 360 tests pass, coverage 81.42%, ruff clean, snapshots unchanged.f477fa6