Skip to content

render-pipeline tests: pin \big…\Bigg heights at 10/11/12pt with and without amsmath — #337 already fixed by #252 - #341

Merged
GoKubar merged 2 commits into
mainfrom
agent/daniel-parent/bigdelim-12pt-gh337
Sep 14, 2026
Merged

GoKubar merged 2 commits into
mainfrom
agent/daniel-parent/bigdelim-12pt-gh337

Conversation

@d-q222

@d-q222 d-q222 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Lane daniel-parent (Max 20x, mac-m5pro-dq222; not daniel-vpclaude), claim GH-337.

Finding: #337 (#258 rank 10) does not reproduce on main

#252 (8c670faa, GoKubar, merged 2026-09-14 ~01:02Z) selects the kernel's fixed \big..\Bigg rule when amsmath is absent, and amsmath's scaled rule when it is loaded. #258's measurement predates it.

Change (test-only, one file)

crates/render-pipeline/tests/big_delimiter_packages.rs asserts \big, \Big, \bigg and \Bigg heights at 10, 11 and 12pt, with and without amsmath, against TeX Live 2026 \showbox measurements. The existing fix can't regress unnoticed.

Gate

  • daniel-parent, own run: --test big_delimiter_packages 4/0.
  • Worker: control 3/0 (before the new 10/11pt cases), after 4/0. git diff --check clean. No vendor, compiler or cm.rs changes.

Provenance

Codex gpt-5.6-luna at max (cx plus), checkpoints 60162678 → 365db7d1. daniel-parent verified that 8c670faa is on main and re-ran the test.

Add a 12pt regression test for the four bracket delimiter sizes with and without amsmath, using the TeX Live 2026 showbox measurements as the oracle. The starting branch already contains the production kernel-sizing fix from 8c670fa, so this checkpoint records green regression coverage rather than inventing a failing result.\n\nRan: CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-bigdelim cargo test --manifest-path crates/render-pipeline/Cargo.toml --test big_delimiter_packages twelve_point_big_delimiter_heights_match_pdflatex -- --nocapture\nResult: test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.18s\n\nNext: extend the oracle checks to 10pt and 11pt, then run the focused suite. Open questions: none.\n\nImplementation-Agent: codex gpt-5.6-luna (max, cx slot plus)\nCommit-Executor: codex\nLane-Owner: daniel-parent (mac-m5pro-dq222)
Extend the pdfLaTeX showbox regression oracle to all requested article sizes, with and without amsmath. The expected values compare painted glyph boxes; the 11pt kernel \big delimiter's enclosing box also includes its invisible vbox. The production rule-selection fix is already present in the starting branch (8c670fa), so no compiler, render-pipeline source, vendor snapshot, or math-layout cm.rs change is needed here.\n\nRan: CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-bigdelim cargo test --manifest-path crates/render-pipeline/Cargo.toml --test big_delimiter_packages -- --nocapture\nResult: test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s\n\nNext: self-review the final diff and report the existing production fix plus the regression coverage. Open questions: none.\n\nImplementation-Agent: codex gpt-5.6-luna (max, cx slot plus)\nCommit-Executor: codex\nLane-Owner: daniel-parent (mac-m5pro-dq222)
@GoKubar
GoKubar merged commit 40a4643 into main Sep 14, 2026
19 of 20 checks passed
@GoKubar
GoKubar deleted the agent/daniel-parent/bigdelim-12pt-gh337 branch September 16, 2026 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants