Repository navigation
Harden note structure and evaluation with reviewed fixes - #10
Merged
Merged
Conversation
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.
The P0 structure and evaluation workflow needs to preserve valid lecture documents and report layout problems accurately. This integrates PR #9 with fixes for successful structure repair dropping H1, document framing duplicating suffixed global headings, and Markdown tables being split into multiple tables.
The final workflow preserves the original document title, shares heading matching between framing and validation, ignores fenced code in structure/evaluation/layout scans, and reports malformed table rows at their actual line. Document and section generation prompts now agree with the heading levels supplied by composition; affected prompt cache versions are updated. The existing body, source, image, coverage and truncation guards remain in place.
The branch retains PR #9's original commit and adds one reviewed fix commit. Merge with a merge commit so the original contribution remains in the main branch history.
Validation:
Real lecture LLM before/after comparisons, manual fact/source/figure checks, and actual DOCX/PDF export review remain pending; the synthetic run does not establish those quality claims.