Repository navigation
Commit 84ce54b
Require missed count increase for coverage regression detection
The coverage gate previously flagged any percentage drop > 0.05% as a
regression. This caused false positives when well-covered code was
extracted/moved out of a class — the percentage drops due to a ratio
shift even though no test coverage was actually lost.
Now a regression requires BOTH a percentage drop AND an increase in the
absolute number of missed items. This correctly distinguishes real
regressions (new uncovered code) from cosmetic ratio changes caused by
refactoring.
https://claude.ai/code/session_01XVBWUo2VM4B82ssZm1f2mu1 parent 2c207e6 commit 84ce54b
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
155 | 159 | | |
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
160 | 164 | | |
161 | | - | |
162 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
163 | 169 | | |
164 | 170 | | |
165 | 171 | | |
| |||
0 commit comments