Commit ad0478e
committed
test: add implementation-independent oracle for --json-input --min-ratio
The min-ratio test previously verified `actual` only against a value
produced by replaying the same culling pipeline as the code under test.
Assert directly that an entry far above the threshold survives and one far
below it is culled, so the test no longer depends solely on that pipeline.
https://claude.ai/code/session_01Nj3xEp1eoDKRp1MUCxNQRQ1 parent d306b48 commit ad0478e
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
257 | 263 | | |
258 | 264 | | |
259 | 265 | | |
| |||
0 commit comments