Add route B, a pandoc filter per folder, and compare it with route A - #35
Merged
Merged
Conversation
…s route B on each Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
Every ticket writes its tests before its code, and its pull request reports a run over a target set or a corpus folder with the number of flagged fields. See docs/plan.md.
Today the
convertfunction converts one document through route A, the direct model call.It runs route B, the pandoc filter, only when a filter file is supplied by hand. This ticket
adds the folder case. For a folder, the tool pairs each sheet with its solutions file by
name (for example
Sheet1.texwithSheet1_solutions.tex, orSheet1.pdfwithSheet1_Sol.pdf, ignoring case). The model writes one filter from the first sheet in thefolder, and pandoc runs that filter over every sheet. The model also converts each sheet
directly. For each sheet, the tool compares the two results field by field, sends the
disputed fields to the adjudication call, and writes one line of report: the number of
fields, the number agreed without a call, the number the adjudicator decided, and the number
flagged for a person. The ticket is done when the nine PHYS sheets, with their solutions
files, have run live and the pull request shows the report.
Workbench ticket t37.
Live run over the nine PHYS40002 pairs (manager, 2026-09-23 01:20)