Reproduce “TeXFix-Bench: An Empirically Grounded Multi-Format Benchmark for LLM-Based Document Source Repair” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Prajwal S. Venkateshmurthy
Researchers developed TeXFix-Bench, an empirically grounded, multi-format benchmark for evaluating large language models in repairing LaTeX, Typst, and Markdown document compilation failures. This work established a fault taxonomy from human errors, built a mutation library, and evaluated seven LLMs using both compile success and content restoration metrics, revealing significant variations in repair quality and the prevalence of content alteration even in compiling fixes.
Key insights
- Faults generated by empirically grounded mutation operators are consistently harder for LLMs to repair than ad-hoc pattern-based mutations, aligning closer to real human errors.
- Evaluating document repair solely on compile success is insufficient, as 13.6-18.5% of compiling repairs introduced material content alterations.
- LLM performance in document repair varies substantially across models and document formats (e.g., Markdown easier, Typst harder), revealing format-specific challenges.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.