You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 791d5b1
Browse filesBrowse the repository at this point in the historyBrowse files
fix(pr-review): proportionate risk + count example/bench callers as coverage
Two calibration fixes to codegraph_pr_context:
- Risk was `total_direct > 20 || untested > 5 → high`, so any sizeable PR
tripped "high" purely on caller count — even when every change was
body-only and broke nothing. Base risk instead on `breaking_callers`
(callers of signature-changed functions) and the untested *ratio*
(untested / functions_touched). Surface `breaking_callers` in JSON, the
message, and the blast-radius line.
- Callers under `examples/` and `benches/` exercise a function at runtime
but were counted as breakable production callers, inflating blast radius
and leaving example-driven code flagged as untested. Count them as
coverage instead.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments