From the delta debugging homepage: “With Delta Debugging, we can find failure-inducing circumstances automatically—circumstances such as the program input, changes to the program code, or program executions.” I tried to apply this technique to LaTeX, and surprisingly it worked. The code and samples of the experiment are uploaded on github.
The tools are:
* diffdelta.py: Finding which diff chunk causes an error.
* latexdd.py: Finding a minimal failing example
* stydd.py: sty-bug hunting