Repository navigation
Conversation
|
|
✅ Deploy Preview for teaching-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
The CLI also writes <original>-raw.docx: text, tables and 5 cm images without any formatting, styles reset to Word's defaults (#385). Specs are formatted with the repository's Prettier config. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Inserting the tabs is part of the students' task. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bh0fer
force-pushed
the
feature/docx-grader-raw
branch
from
November 18, 2026 21:34
2d189a9 to
4dce83f
Compare
…-raw # Conflicts: # packages/hfr/docx-grader/package.json
…-raw # Conflicts: # packages/hfr/docx-grader/tests/createDocx.ts
This branch has not been deployed
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.
Part 3 of 3 for #385. Stacked on #387, which is stacked on #386: merge in that order.
Behavior
create-specnow also writes<original>-raw.docx, the document students format. It contains:baseline/wordDefaults.ts);blocks: paragraphs and tables) and the image relationship ids, andreadDocxexposes the document relationships..docx, so the original can't be overwritten.yarn format:checkaccepts generated specs.Validation
yarn test --run packages/hfr/docx-grader: 43 tests pass. For each sample, the raw document:Inline-XML tests cover tables with merged cells, nested tables, and adjacent tables, which need a paragraph between them.
python-docx opens all generated raw files (0 tables in the samples, all images 5 cm, "Normal" style only).
No Word or LibreOffice was available here, so a manual open in Word is still pending.
yarn typecheck, prettier andyarn buildpass. Headless Chromium on the demo page: the generated raw file gives 0/19, the original 19/19.Design review with the
design-reviewerskill on this branch; all findings fixed.🤖 Generated with Claude Code