A second look with stemcheck

stemcheck is a separate, small tool. It compares an HTML version of a STEM PDF with the PDF's own visible text. It lists the places where the HTML says something the PDF does not.

What it checks

A person decides each place. It uses no model, no text recognition and no network. It is for instructors who want to look at an HTML file before posting it, and for accessibility staff who need a record of the checking done on a converted file. The HTML can come from a chatbot, from ReadableSTEM or from another converter.

The sample report

The sample is a real run on HTML that a chatbot wrote from two OpenStax Physics sections (2.2 and 2.3, development pages). It is not ReadableSTEM output.

Tool
stemcheck 0.2.0 (rules-6d574061), source commit 1e37fa0
PDF
long_2-2_2-3.pdf (OpenStax Physics 2.2 and 2.3, 27 pages, printed by this project)
HTML
long_2-2_2-3.html, written by a chatbot (gpt-6-luna) from that PDF. It writes its equations as TeX for MathJax, which needs a script to display them.
Command
stemcheck check long_2-2_2-3.pdf long_2-2_2-3.html
Coverage
27 of 27 pages could be checked. It compared 25 of 34 PDF equations, 185 of 292 text blocks, 14 of 14 questions.
Found
131 places to look at (questions 24, math 13, text 94), and 26 notes. 125 of 154 paragraphs differ in wording.

Open the sample report

The report is one self-contained page of about 2 MB with page images. It opens in the same tab and has no link back to this site: use your browser's Back button to return.

How to read the report

What it is not

The source and the full documentation are in the stemcheck repository. stemcheck is MIT licensed. It uses MuPDF, which is AGPL-3.0.