Skip to content

feat: Wilson confidence intervals for behavioral metrics (#115) - #161

Draft
askmy-stack wants to merge 1 commit into
mainfrom
cursor/confidence-intervals-c2a5
Draft

askmy-stack wants to merge 1 commit into
mainfrom
cursor/confidence-intervals-c2a5

Conversation

@askmy-stack

Copy link
Copy Markdown
Owner

Summary

Implements #115: Wilson score confidence intervals for probe accuracy / pass@k-style rates so small overlapping gaps are not treated as regressions.

Changes

  • tool_semantics.intervals — Wilson CI helpers, compare_rates, pass@k-style intervals, Markdown/JSON bundle
  • Stability reports (--trials > 1) include an intervals block; model probe JSON/Markdown include intervals
  • Docs: docs/intervals.md + link from docs/probes.md
  • ROADMAP: mark [P3] Confidence intervals for behavioral metrics #115 complete

Test plan

  • pytest tests/test_intervals.py
  • Full pytest + ruff + mypy on touched modules
  • CI green on this PR
Open in Web Open in Cursor 

Attach optional intervals to stability/model probe reports, warn when
overlapping intervals must not be treated as regressions, and document
scorecard/eval JSON hooks.

Co-authored-by: Abhinaysai Kamineni  <askmy-stack@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants