test: add comment projection fixtures from LibreOffice and Word - #138
Merged
Git-Uzair merged 1 commit intoSep 9, 2026
Merged
Conversation
Collaborator
|
Merged. Thank you! |
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.
Adds three read-only corpus scenarios requested in #137. They project existing comments, tables and header/footer text from three producers. The inputs are synthetic and copied byte-for-byte from the already-sanitized ooxml-integrity corpus at e07ee5cdb1993786aff293e7799e62d32c2f04bd.
03_libreoffice_review_comments04_word_mac_review_commentscommentsExtended.xml,commentsIds.xml, table cell anchors and header/footer text.05_word_windows_review_commentsEach folder contains only
input.docx, a UTF-8test.jsonwithout a BOM, and the two Markdown goldens generated bypython/scripts/generate_goldens.py. Numbering continues after the existing01and02folders. The previously committedshared/fixtures/base.docxis not added again.The
evidence/docx-betacorpus carries no unaccepted tracked changes; these three fixtures cover comment projection, not revision projection or accept/reject. Revision-bearing fixtures are being prepared from a different part of the same corpus and will follow in a second PR. Two prepared Word Online edit scenarios are held back pending the namespace-comparison issue #139; they are entirely outside this PR branch.Privacy, provenance and licensing
The source corpus was scrubbed of personal metadata before publication. Every selected file was independently audited again; no additional replacements were necessary, so all input and local after files retain their corpus bytes, part order and SHA-256 hashes.
The audit checked every XML and relationship part, including document/revision/comment authors and initials, visible
w:ttext,docProps/core.xml,docProps/app.xml,docProps/custom.xmlwhen present,customXml/,word/comments.xml,word/commentsExtended.xml, andword/commentsIds.xml.word/people.xmlis absent in these files. There are no unreviewed binary members or external relationships in the selected packages. Searches for the contributor's known name variants, email indicators and current Mac identity strings returned no hits. Literal.comhits are documented OOXML namespace, schema, relationship and MIME identifiers. Historical Windows user/host names and an exact tenant-domain value were not available for separate exact-string checks.The retained comment authors are
Evidence Reviewer,Evidence Reviewer 2, andEvidence Reviewer 3, with initialsER,E2, andE3. Core creator/lastModifiedBy values areooxml-integrity evidence builder. Company and Manager values are empty or absent. The broader seven-file audit, including the three inputs in this PR, passedooxml-integrity checkwith zero errors, warnings or informational findings. All seven pages in that audit were rendered and inspected; the three comments in the Word for Mac projection input were also inspected in a LibreOffice render with comments displayed in the margin.I have redistribution rights for these synthetic documents and license them under MIT. They contain no personal data that I do not want public, including author names inside comments or revisions. The fixture documents are byte-reproducible by copying the recorded files from the pinned ooxml-integrity corpus.
Source license: MIT, Copyright (c) 2026 Dmitrii Kovalev.
Local validation
Validated with exactly these three new scenarios present, on macOS with Python 3.12.14 and Node 24.19.0:
No known failing scenarios are included. The macOS run does not cover Windows-only live Word COM tests or every Python/Node version in the CI matrix.