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
Three review findings addressed:
1. Off-by-one in percentile index (performance-reviewer-iter1-1):
Replace float-truncation `sorted[n * 0.95]` with ceiling integer
arithmetic `sorted[min((n*95+99)/100, n-1)]` for p95, p99, p999.
Prevents systematic sub-percentile samples on edge-case corpus sizes.
2. Document round-robin merge precondition (test-quality-reviewer-iter1-1,
test-quality-reviewer-iter1-3, performance-reviewer-iter1-2):
Add inline comments explaining: (a) the early-stop skew risk when
per-thread buffers have wildly different sizes, and (b) that the
"first quarter = warmup" is a statistical approximation under concurrent
startup, not a wall-clock guarantee. Notes that the approximation is
conservative (inflated warmup_median makes the gate stricter, not looser).
3. Explicit gate when rounds_ran == 0 (test-quality-reviewer-iter1-4):
Unconditionally assert `LT_CHECK(rounds_ran > 0)` and emit a
[WARNING] log with actionable instructions when the latency gate was
never exercised, replacing the previous silent pass.
All 104 tests pass.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments