Commit 0692b15
test(pr_validate): pin _extract_findings → _split_findings_by_tier pipeline
DeepSeek round 3 surfaced a real integration gap: the tier splitter
and the numbered-list extractor are tested in isolation, but the
contract between them (extractor strips leading "1. ", splitter sees
"[BLOCKING]" at start) was never asserted end-to-end. If someone
later refactors `_extract_findings` to preserve the leading list
number, every finding would default to BLOCKING and tiering would
silently break.
Added a single test that feeds a realistic 4-finding model review
(mixed 2 BLOCKING + 2 NIT) through both helpers and asserts the
split is 2/2, not 4/0. Test fails loudly with a diagnostic if the
contract regresses.
This was DeepSeek's only legitimate concern across both round-3
findings (the other was the same point about test coverage —
addressed by this same test). Convergence achieved.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent fa4f3ce commit 0692b15
1 file changed
Lines changed: 35 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
117 | 120 | | |
118 | 121 | | |
119 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
120 | 154 | | |
121 | 155 | | |
122 | 156 | | |
| |||
0 commit comments