Commit 3e6ac46
fix: explicit unarmed marker for the placeholder latency baseline
The previous fail-on-zero behavior made every trusted run red until a
CI-captured baseline was committed — and this PR cannot ship one, since
it runs from a fork without secrets. Per review, the comparison is now
gated on the baseline file itself:
- baseline.json declares latency_guard: unarmed — the latency test
skips with a loud arming message while the recall guard stays active
(dropping --baseline-file entirely would have disabled recall too)
- committing a CI-captured benchmark-results-<sha> artifact as
baseline.json arms the guard automatically: artifacts carry no
latency_guard flag
- a zero p95 WITHOUT the unarmed marker still fails as a misconfigured
baseline, and a non-zero p95 WITH the marker fails as inconsistent,
so the guard can never be silently inactive by accident
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 85618ba commit 3e6ac46
3 files changed
Lines changed: 36 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
75 | 82 | | |
76 | 83 | | |
77 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
423 | 442 | | |
424 | | - | |
425 | | - | |
426 | | - | |
| 443 | + | |
| 444 | + | |
427 | 445 | | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
433 | 449 | | |
434 | 450 | | |
435 | 451 | | |
| |||
0 commit comments