Commit Graph
12 Commits
Author SHA1 Message Date
gloamxun 29193c03bc Save and reopen native Beta source snapshots 2026-11-29 13:30:18 +08:00
gloamxun 9841e88900 Provide a runnable local Beta and fix multi-page SVG previews 2026-11-29 13:19:00 +08:00
gloamxun 893b46baae Add the original OUP journal project to the publisher matrix 2026-11-29 09:53:42 +08:00
gloamxun 050ff5bde2 Qualify three original REVTeX journal projects 2026-11-29 09:34:52 +08:00
gloamxun a1585339b9 Honor pdfTeX character program tags and qualify PLOS ONE 2026-11-29 06:26:35 +08:00
gloamxun 3faac740bd Test official ACM journals and proceedings 2026-11-19 18:25:37 +08:00
gloamxun 366c381310 Align publisher job names and extend conference coverage 2026-11-19 15:36:12 +08:00
gloamxun 2741546ca8 Advance native LaTeX execution and preview 2026-11-18 22:17:21 +08:00
gloamxun b7a8637835 Compile a trustworthy TeX reference for fidelity checks
The checked-in template.pdf is stale: its references.bib snapshot does not
match the checked-in .bib, so earlier scores used the wrong oracle. Add a
reproducible pdflatex/bibtex script that copies the fixture, drops the unused
cleveref package (cleveref/hyperref socket mismatch in this TeX Live), defines
languagename for lipsum, and produces a valid 3-page reference. Re-score route-D
against it: 1243 reference words, 1251 candidate words, ratio 0.8605.
2026-10-28 13:35:28 +08:00
gloamxun eb2cb561bd Add a reproducible TeX fidelity benchmark
Add scripts/tex-fidelity.py: page count, normalized word-sequence similarity and
per-page ink bounds from a 72 dpi grayscale render, using only the stdlib and
Poppler. Document the current arXiv score (0.848 word ratio, 3 pages) and its
limits.

Test count stays 1078.
2026-10-28 00:50:37 +08:00
gloamxun d124c646a1 Serialise only changed pages for patch previews
render_json now accepts an optional page whitelist. The new
project_preview_patch_json_with_images path passes changedPages before building
page SVGs, instead of serialising all pages and filtering afterwards in the
server. Cache hits still use the old filter helper.

Add scripts/bench-preview.py: repeated buffer edits against a running server,
reporting HTTP/server latency, bytes and changedPages. Measure release builds:
article-basic 37.5 ms (one page), arXiv late edit p50 199 ms / p95 222 ms with
one changed page at 175 KB, arXiv heading edit ~480 ms. This is a solid
improvement over the debug numbers previously quoted, but the 10-page <100 ms
target remains unmet.

TEXRRA_PROFILE=1 now gates the geometry/paragraph/before-render timings. Test
count is 1073 (67 server).
2026-10-27 21:36:01 +08:00
gloamxun dff0483bca Add a verification script and record live smoke evidence
scripts/verify-route-d.sh runs cargo fmt --check and the full offline workspace
test suite from the repository root. The status document points at the script
and records a live check of the debug server: POST /preview answered 200 with
X-Preview-Engine: route-d, one page and no warnings, and POST /api/route-d/pdf
answered 200 with a PDF body.
2026-10-27 03:58:44 +08:00