feat(typeset): today's typesetting as layFlow and layPage, proven by replay (rebuild stage 2) #606
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.43) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 389 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.357
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #606"
general
weight: 0.35
devin-ai-integration[bot]
Summary
Stage 2 of the rebuild, the typesetter:
packages/typeset, today's typesetting ported rule by rule and proven by replay against a tap of today's reader, composed as two pure functions; and the first step of making it run on the prepare's parts instead of on facts the reader re-derives.Evidence
rulesForequal to today's on all targets. The one round that differs lacks an input the tap does not record.lab/typeset/gate.mjs, 123 reader dumps): 32,035 units, lost 0, gained 0, changed 12 (all from that one input).gate-l1.mjs): 6,499 alike, lost 1,421, gained 414, changed 24,115. Not a fault of the port: a page shares one size and lead, so one unit whose facts differ changes its page (14,176 units change only through their page), and the reading and the tokens still come from the tap. The classes left are listed with counts and causes; closing them is the next pull request.pnpm typecheck,pnpm lint,pnpm test(9,041 tests),pnpm build: all pass.Merge Danger
Door: two-way
Blast Radius: none
The base is the rebuild branch and no host calls
layPageyet. One line of today's engine changes (pipeline/instrument.mjspasses\lineskipfrom the mark probe into the instrument).🤖 Generated with Claude Code
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/srjoeee/readarxiv/pull/606" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->