Skip to content

Validate against TexSoup and add drift checks#7

Merged
alvinwan merged 1 commit intomainfrom
dev/alvin/texsoup-smoke-fixes
Apr 4, 2026
Merged

Validate against TexSoup and add drift checks#7
alvinwan merged 1 commit intomainfrom
dev/alvin/texsoup-smoke-fixes

Conversation

@alvinwan
Copy link
Copy Markdown
Owner

@alvinwan alvinwan commented Apr 4, 2026

What changed

  • hardened preserve-mode minification against the package patterns that surfaced while validating on TexSoup
  • added runtime regressions for the failures found during that validation pass
  • checked in regenerated example outputs plus a scripts/regenerate_examples.py --check drift guard
  • documented a reproducible TexSoup validation flow and byte-size measurements in the README

Why

TexSoup exposed several real correctness bugs in name shortening and preserve-mode handling. This change fixes those regressions and leaves the backed-out size optimizations documented in code so they can be revisited with proper coverage later.

Validation

  • .venv/bin/python -m pytest
  • upstream TexSoup tests against the minified package tree: 78 passed
  • .venv/bin/python scripts/regenerate_examples.py --check

@alvinwan alvinwan merged commit 948f15b into main Apr 4, 2026
10 checks passed
@alvinwan alvinwan deleted the dev/alvin/texsoup-smoke-fixes branch April 4, 2026 11:59
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.

1 participant