Repository navigation
test: vendor the parser test-image corpus with citations - #534
Merged
awatson1978 merged 2 commits intoSep 29, 2026
Merged
Conversation
…lared binary data) Co-Authored-By: Claude Fable 5 <[email protected]>
Co-Authored-By: Claude Fable 5 <[email protected]>
|
🎉 This PR is included in version 1.0.0-beta.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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.
No engine code in this one — it vendors the 23 binary test images (plus their provenance READMEs) that the streaming reader's test suites walk as their corpus. The files land under
packages/fixtures/testImages/:dcmconv, as the directory README records,image_dfl,report_dfl,wave_dfl, extension-less files in the deflated transfer syntax,Provenance and licensing come first. Every file family has a row in DATACITATION.md stating its origin, license, and patient-data status. The corpus is vendored from the dicomParser project's MIT-licensed test set (cornerstonejs/dicomParser), and the deflate files come from David Clunie's published deflate test set. All of them are published test corpora, believed de-identified. The DATACITATION.md format follows OHIF's example, and it sets the rule going forward: no DICOM file merges without a citation row in the same pull request.
On repository weight: the binaries are declared data in their own commit, and the identical blobs already exist in this repository's history on another branch — so the push uploads nothing new.
Here's how the reader suites consume the corpus. They discover the whole tree and gate every file against the existing parser; condensed from
test/eventStream/fromPart10.test.js:Because discovery is recursive, dropping a new image anywhere in the tree adds it to the gate automatically — and DATACITATION.md makes sure it can't arrive without its citation.
🤖 Generated with Claude Code