Repository navigation
feat(review): routing evidence readout, and retarget the shadow by size - #801
Conversation
Quest-Claim: a3f7af84d2de6e3c
Shadow reviewer pairs settle XS, S, and M (L needs about four more weeks). The writer arms have not reached their sample, so the readout waits for 2026-12-01, deciding the arms on first-round findings since per-PR cost is too heavy-tailed to separate them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Maintainer decision (2026-11-22,
(Written by Claude Opus 5.5) |
Per the maintainer's decision on the 2026-11-22 routing evidence readout: XS runs no shadow, S and M run it one effort above the routed pick to measure whether raising them pays, and L and XL keep the step down until L reaches its sample. The review table stays as it is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 35 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
There was a problem hiding this comment.
ℹ️ No critical issues. One test assertion got weaker; a suggestion is inline.
Approach: sound. A per-size step table that shadowOf reads changes the shadow in one place, and quest review and quest eval both use it. The open-findings fallback still settles an old shadow's findings.
Reviewed changes
All three commits were reviewed: the readout, the change to ## Scheduled, and the shadow retarget.
SHADOW_STEPS/shadowOf(size, routed): the shadow is now one effort above the pick for S and M and one below for L and XL. XS gets no shadow. An effort past either end of the ladder, or off it, returnsnull.seatsForandevalSeats: both now pass the PR's size through. The stale and open-shadow seating is unchanged, so a branch resized to XS still settles the old shadow's findings.- Docs and help: the README, the
quest review --helptext and the doc comments now say "one effort away". - Quest doc: adds the 2026-11-22 tallies and decisions. The
Waitingitem becomes## Scheduled2026-12-01 - …, which matches the formatsrc/core/doc.tsparses. - Tests: expectations are updated for the new efforts. The "no shadow below low" case is now an XS resize case.
claude-opus-5-5 | 𝕏
… goes unread Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
One commit since the prior pullfrog review.
- Test assertion tightened:
test/review.test.tsnow asserts the default size M'sxhighshadow, so a leaked XS size from the stranger's PR would fail the check. This addresses the earlier inline finding.
claude-sonnet-5-5 | 𝕏

The first readout of routing evidence, one week after both experiments went live: the shadow reviewer (moq-dev/quest#676, merged 2026-11-13) and the writer A/B (moq-dev/quest#720, merged 2026-11-14).
## Scheduled2026-12-01, when XS and S reach theirs. M reaches its sample about 2027-01-03.Decided 2026-11-22 (maintainer,
/quest-run, comment), from the readout's tallies below:Applied in
src/cli/review.ts:shadowOf(size, routed)reads a per-size step,SHADOW_STEPS(XS: null, S: +1, M: +1, L: -1, XL: -1), andquest evalseats the same shadow.quest review --helpand the README describe it. A pick with no shadow at its size still seats one at its own effort while an earlier shadow has open findings, as before, so a branch resized to XS settles them. Both decisions are in the quest's Plan.Choice made without asking: XL, which the decision did not name, keeps its step down alongside L.
Charts
From
quest usage --since 2026-11-14 --ssh nixos --ssh fedora --json, run in the moq-dev/moq, moq-dev/moq.pro, and moq-dev/quest clones on the maintainer's desktop (the laptop was offline), 2026-11-14 to 11-21. Mermaid quadrant charts scale both axes to 0-1. Cost is plotted on a log scale, x = (log10 $ + 1) / 2.5, so 0 is $0.10, 0.4 is $1, and 0.8 is $10. Each label ends with its PR count, and "thin" marks too few PRs for the variance estimate.quadrantChart title Local reviewers - cost per PR (log, $0.10 to $31.6) vs first-round findings per PR (0 to 3.5) x-axis Cheaper --> Costlier y-axis Fewer findings --> More findings XS low shadow 73: [0.017, 0.004] XS medium 143: [0.207, 0.022] S low shadow 120: [0.058, 0.038] S medium 285: [0.218, 0.055] M medium shadow 82: [0.152, 0.105] M high 208: [0.338, 0.202] L high shadow thin 25: [0.325, 0.354] L xhigh 61: [0.467, 0.487] XL high shadow thin 1: [0.41, 0.571] XL xhigh thin 6: [0.539, 0.952]For a writer, more first-round findings is worse. Cost here is the median merged PR with any attributed spend, not the mean the model check's procedure names, since one S arm B PR cost $533.
quadrantChart title Writer A/B - median cost per merged PR (log, $0.10 to $31.6) vs first-round findings per PR (0 to 3.5) x-axis Cheaper --> Costlier y-axis Fewer findings --> More findings XS A Sonnet high 22: [0.137, 0.014] XS B Opus medium 17: [0.245, 0.051] S A Opus medium 54: [0.29, 0.08] S B Sonnet high 52: [0.308, 0.109] M A Opus medium 57: [0.436, 0.22] M B Opus high 46: [0.645, 0.154] XL A Opus xhigh thin 1: [0.582, 0.857] XL B Fable medium thin 2: [0.926, 0.714]"Needed" is the number of PRs per arm to detect 0.25 first-round findings per PR (two-sided α 0.05, power 0.8).
Choices made without asking
Implementer:line names an arm but another model are left out. There were 13, mostly quests resized after their arm was drawn, such as moq-dev/quest#777, written as XS arm B (Opus) and now an S PR. I did not change thearmsrollup insrc/cli/usage.ts. An iterate line's own size means the work left, so filing by the line's size would misfile iterates, and the rollup already separates these PRs by model. The 2026-12-01 readout applies the same exclusion.## Scheduleddate, not aWaitingitem. The date clears on its own, and until thenquest unblockedwon't offer the quest. It readsquest/m0/routing-evidence/README.md is blocked.Validation
quest usage --since 2026-11-14 --ssh nixos --ssh fedora --json(this checkout's build) in each repository's clone: 631 moq PRs, 339 moq.pro, 74 quest. The laptop host was offline, so its sessions are missing. That, plus sessions token-max could not price fully, leaves 5 to 27% of each arm's merged PRs with no attributed cost.pullsrows with the rollup's own rules: only the latest PR of each branch counts tallies, and the shadow is kept apart. Each arm's PR, merged, hand-back, and Caused by counts matched thearmsrollup's rows for the same cells. Its first-round findings per PR, counted over merged PRs only, are within 0.05 of the rollup's, which also counts open PRs. The shadow pairs' first-round totals matched thereviewersrollup to within the PRs only one seat reviewed..git/quest/review/. Checked 15 random matches by hand, and all 15 were the same defect. Re-ran the match at 0, 3, 30 lines and anywhere in the file. Routed-only beat shadow-only at S and M at every window (S 20-25 vs 1-6, M 36-42 vs 7-13), and L stayed 17-24 vs 10-17.shadowOfover everyREVIEWERSentry gives none at XS; S Sol medium to high, Opus low to medium; M Sol high to xhigh, Opus medium to high; L Sol xhigh to high, Opus high to medium; XL xhigh to high.quest review --helpprints the new rule. The fake-CLI tests intest/review.test.tsandtest/eval.test.tsrun the real command end to end at each changed size, including a resize to XS that settles the old shadow's open finding.quest eval run: neitherREVIEWERSinsrc/cli/models.tsnor the review prompts changed, only which effort the measurement-only shadow runs at.quest check --base origin/main,just check, andjust test(1570 passed) pass.Public API
quest reviewandquest eval runseat a different shadow: none for XS, one effort above the pick for S and M, one below for L and XL. No flags, output formats, or records change.Follow-ups
None.
Related
/quest-runand review routing. Its high tier's second reviewer is the permanent second review the shadow decision left to it, and both PRs editsrc/cli/review.ts, so whichever lands second merges the other.Models
🤖 Generated with Claude Code
(Written by Claude Opus 5.5)
Review
Rewritten by
quest reviewafter each round.Head: 7a5baad
Base: origin/main at f6f98c2
Risk: medium,
If the shadow reviewer's effort routing is wrong, agents reading `quest review` output get misleading shadow findings, and per-PR review spend shifts (up at S and M, gone at XS), which a revert of this change undoes; the change touches no listed export, record shape, permission, sandbox, or credential, and the shadow already ran automatically, so this is a behavior change rather than a high-tier one.Classified: medium by Claude Code, claude-haiku-5-5, low effort, session
f43fae79-e7e6-4272-bd94-16ba201f2a6bReviewer: Codex, gpt-6.1-sol, xhigh effort
Session:
01a2019b-ab79-7d80-a521-3b08dbb06f5a, round 2Score: 9/10,
The updated assertion correctly verifies the default M-sized review’s xhigh shadow, with no actionable defects found; builds and tests were not run as instructed.Rounds: 2; first round 0; findings 0: fixed 0, refuted 0, open 0
Findings: none
Reviewer: Codex, gpt-6.1-sol, high effort, shadow
Session:
01a2019b-ab78-7200-af63-af098fb4e4b9Rounds: 1; first round 0; findings 0: fixed 0, refuted 0, open 0