Skip to content

perf(scoreboard): ratchet ceilings on the ripr-swarm speed rows (Advances #12947) - #12958

Merged
EffortlessSteven merged 4 commits into
mainfrom
perf/ripr-swarm-speed-ceilings
Nov 4, 2026
Merged

EffortlessSteven merged 4 commits into
mainfrom
perf/ripr-swarm-speed-ceilings

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Requested by Steven Zimmerman · project thread

Governing issue or accepted claim: #12947

Acceptance delta (one sentence): The ripr-swarm and ripr-swarm-2026-10 scoreboard rows now carry runner-independent ratchet ceilings, so a speed or memory regression on this repository fails --gate instead of reading as below target.

Change

  • ripr-swarm-2026-10: speed.warm_check_ms 60000, speed.warm_check_peak_rss_mb 1536, speed.cold_pilot_ms 300000, speed.cold_pilot_peak_rss_mb 2048 (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).
  • TOML comment and README call the goals (warm 10 s / 768 MB, cold pilot 60 s) ratchet goals for this repository, not the global metric targets. Units are MB.

Not changed: other rows, metrics, baseline. Ceilings are lowered by reviewed PR; nothing enforces that mechanically.

Proof

  • cargo xtask check-fixture-contracts: pass
  • cargo test -p xtask dx_scoreboard: 166 passed
  • Independent review of f505bd6: no blocking defects; nits addressed in later commits.

Evidence: measurements in #12947.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UNUoLWvJLNTjPAkUKhsj5V

@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 151 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 8cd4a89c-b6c7-412e-bd5c-7ba18be7e9cc
Commits

Reviewing files that changed from the base of the PR and between 075e4e8 and 4a76ffb.

Files selected for processing: 3
  • benchmarks/dx_scoreboard/README.md
  • benchmarks/dx_scoreboard/scoreboards.toml
  • changelog.d/perf-ripr-swarm-speed-ceilings.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@EffortlessSteven EffortlessSteven self-assigned this Nov 4, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.toml parses (tomllib). All six new ceilings name metrics that are per_repo, lower_is_better, source = "measured" and on the speed board, so validate_ceilings accepts them. All values are positive and finite.
  • Gate semantics match the README and changelog. ceiling_breaches fails 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 are heavy, so they are not breached unless --include-heavy selects them. The CI lane dx-scoreboard.yml runs --clone --include-heavy --gate, so these ceilings are live there (the lane is described as advisory).
  • cold_pilot_ms and cold_pilot_peak_rss_mb are emitted by measure_corpus_entry for every corpus row. A pilot that does not reach complete is 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

  1. 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.
  2. 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.
  3. "Ceilings only ratchet down / never raise" is policy text only. Nothing enforces it, so this is not a gate guarantee.
  4. 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.
  5. Evidence cited in the body (/mnt/project-files/audit/..., hosted run 41750179854) is not durable repository evidence.

Generated by Claude Code

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review November 4, 2026 10:58
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@EffortlessSteven
EffortlessSteven merged commit 78f9905 into main Nov 4, 2026
113 of 122 checks passed
@EffortlessSteven
EffortlessSteven deleted the perf/ripr-swarm-speed-ceilings branch November 4, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants