Repository navigation
perf(scoreboard): ratchet ceilings on the ripr-swarm speed rows (Advances #12947) - #12958
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWvJLNTjPAkUKhsj5V
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 46 minutes. View limit details
|
There was a problem hiding this comment.
Code Review
This pull request introduces runner-independent ratchet ceilings for the ripr-swarm and ripr-swarm-2026-10 benchmarks in the DX scoreboard. These ceilings establish hard bounds on warm check and cold pilot execution times and peak memory usage, ensuring that performance regressions fail the --gate check. The changes include updating the configuration in scoreboards.toml, documenting the new ceilings in README.md, and adding a corresponding changelog entry. There are no review comments, so I have no additional feedback to provide.
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the changelog says the rows fail --gate for regressions, but the README's existing contract qualifies this to a sample above a configured ceiling or a selected ceilinged row missing its metric value.
- Confirm the claim that every regression now fails --gate depends on the runner exporting the exact four ceilinged metric IDs, including the two cold-pilot metrics.
Evidence gaps
- The shared packet reports cargo-test as scheduled-late with receipt absent; scheduling is not proof that the configuration parses and the dx_scoreboard tests pass.
- Model proof intent was rejected by deterministic validation.
- The PR's proof claims are not independently receipted in this packet, and the always-on cargo-test task currently has an absent receipt.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Independent review of exact head f505bd6. Disposition: no blocking defect found. I did not run cargo test -p xtask, because of disk limits; I read the gate code.
Verified
scoreboards.tomlparses (tomllib). All six new ceilings name metrics that areper_repo,lower_is_better,source = "measured"and on the speed board, sovalidate_ceilingsaccepts them. All values are positive and finite.- Gate semantics match the README and changelog.
ceiling_breachesfails for a value above the ceiling, an Incomplete or Failed sample, or a selected row with no sample of the ceilinged metric. It does not depend on the baseline. Both rows areheavy, so they are not breached unless--include-heavyselects them. The CI lanedx-scoreboard.ymlruns--clone --include-heavy --gate, so these ceilings are live there (the lane is described as advisory). cold_pilot_msandcold_pilot_peak_rss_mbare emitted bymeasure_corpus_entryfor every corpus row. A pilot that does not reachcompleteis recorded as Incomplete, which would trip the new ceiling. The default harness timeout is 900 s, so the 300 s ceiling is not truncated by the harness.
Non-blocking
- Headroom is thin for a noisy hosted runner: cold pilot 300 s against 269 s measured (11 percent), small row 10 s against 8.2 s (22 percent), warm 60 s against 49.8 s (20 percent). One slow runner turns the lane red. The PR already says to loosen only with evidence. Consider measuring more than one hosted run before locking the cold row.
- Units: the metrics are declared in
MB, but the README sentence says "MiB" (640, 1,536, 2,048). The existing pandas and django sentence uses MiB too, so there is precedent, but it is inaccurate. Either say MB or confirm the RSS scaling. - "Ceilings only ratchet down / never raise" is policy text only. Nothing enforces it, so this is not a gate guarantee.
- The "goal for the large tier" (10 s / 768 MB warm, 60 s cold) does not match the metric targets declared in the same file (2000 ms / 512 MB warm, 30000 ms / 1024 MB cold). Label it as a tier-specific goal or point at where it comes from, since the README is the public claim.
- Evidence cited in the body (
/mnt/project-files/audit/..., hosted run 41750179854) is not durable repository evidence.
Generated by Claude Code
…in headroom (#12947) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWvJLNTjPAkUKhsj5V
…ffortlessMetrics/ripr-swarm into perf/ripr-swarm-speed-ceilings
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_READY
Head 4a76ffb. Inspected the full diff (3 files, +14/-1): scoreboards.toml parses under tomllib; both ceiling tables reference existing metric ids (speed.warm_check_ms, speed.warm_check_peak_rss_mb, speed.cold_pilot_ms, speed.cold_pilot_peak_rss_mb), all declared lower_is_better and in the per-repository corpus metric list in measure.rs. Units (ms, MB) and the README and changelog claims match the TOML values (ripr-swarm 11 s / 720 MB; 2026-10 row 60 s / 1,536 MB / 300 s / 2,048 MB). Nothing else changed.
Non-blocking: the TOML comment line wrapping is uneven, and README says 'MB' where neighbouring rows say MiB. I did not run cargo (disk constraint); the PR's reported xtask test and fixture-contract passes were not re-run.
Generated by Claude Code
Requested by Steven Zimmerman · project thread
Governing issue or accepted claim: #12947
Acceptance delta (one sentence): The
ripr-swarmandripr-swarm-2026-10scoreboard rows now carry runner-independent ratchet ceilings, so a speed or memory regression on this repository fails--gateinstead of reading as below target.Change
ripr-swarm-2026-10:speed.warm_check_ms60000,speed.warm_check_peak_rss_mb1536,speed.cold_pilot_ms300000,speed.cold_pilot_peak_rss_mb2048 (measured 49.8 s / 1,275 MB warm and 269 s / 1,446 MB cold pilot hosted; 35.5 s warm / 59.6 s cold / 1.3 GB local).ripr-swarm(old ~900-file pin, smaller-size control): warm 11000 ms / 720 MB (measured 8.2 s / 551 MB hosted, about 30% headroom).Not changed: other rows, metrics, baseline. Ceilings are lowered by reviewed PR; nothing enforces that mechanically.
Proof
cargo xtask check-fixture-contracts: passcargo test -p xtask dx_scoreboard: 166 passedEvidence: measurements in #12947.
🤖 Generated with Claude Code
https://claude.ai/code/session_01UNUoLWvJLNTjPAkUKhsj5V