Repository navigation
Add scripts/check_pages.py: optional consistency checker for README and constant pages - #256
Merged
Merged
Conversation
…nt pages Flags duplicated or dangling README rows, pages without a References heading, README bound values with no matching number on the page, inline math that kramdown will turn into emphasis, and bare "|" in inline math that makes kramdown render a block as a table. Pure Python 3 standard library. Exit status 1 only on errors. Co-Authored-By: Claude Opus 5.5 <[email protected]>
teorth
added a commit
that referenced
this pull request
Oct 26, 2026
…\rvert When I wrote this comment during the #198 merge, a shell heredoc turned the two "\rvert" into carriage returns, which a later write promoted to real line breaks. The table row had been three lines since, so the row rendered as one cell plus two stray paragraphs. Also the reason the arity check missed it: 15 of the repository's rows legitimately omit the trailing pipe, so a count of "rows with the wrong number of pipes" has a standing baseline and a new break hides in it. The checker in #256 compares against the page structure instead, which is one more reason to take it. Co-Authored-By: Claude Opus 5 <[email protected]>
teorth
added a commit
that referenced
this pull request
Oct 26, 2026
The new page landed without its index row, which the checker from #256 flags as I1. Lower bound 44* (Lean proof, asterisked as the page has it), upper bound 615999 from Balister-Bollobas-Morris-Sahasrabudhe-Tiba. Co-Authored-By: Claude Opus 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A small optional checker,
python3 scripts/check_pages.py, for the defects that CONTRIBUTING describes and that have needed manual fixes after merges. Pure Python 3 standard library, no CI added. Contributors can run it before opening a PR, or you can ignore it.What it flags:
How it was checked:
Prepared with Claude Code (Anthropic).
🤖 Generated with Claude Code