Repository navigation
feat(dxf): score IMAGEDEF_REACTOR and RASTERVARIABLES in the value oracle - #350
Merged
Merged
Conversation
…acle The decoders of #305 (§20.4.82, §20.4.91) are now compared with AutoCAD's export field by field: IMAGEDEF_REACTOR's class version in group 90 of AcDbRasterImageDefReactor, and RASTERVARIABLES' class version, display frame, display quality and units in groups 90, 70, 71 and 72 of AcDbRasterVariables. The reactor's IMAGE is a handle the decoder does not read and stays not-decoded. The oracle's section map now files the two classes under §20.4.82 and §20.4.91. On the 49 drawing pairs: 6 records of each, R2000 to R2018; all 6 and 24 decoded values equal the export. tools/oracle/baseline.tsv gains the 30 new rows, and the two rows of docs/spec-coverage.md say what the oracle measured. Refs #99, #102, #150
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Summary
The value oracle scores the two decoders of #305 against AutoCAD's DXF export:
The oracle's section map now files the two classes under §20.4.82 and §20.4.91, so their notes land in those rows.
Measured (49 drawing pairs)
tools/oracle/baseline.tsvgains the 30 new rows (ratchet against main's: no count fell). The oracle's other disagreements are unchanged.Test plan
cargo fmt --all -- --check,cargo clippy --all-targets --all-features -- -D warnings,python3 tools/ci/spec_coverage.py --check--baseline tools/oracle/baseline.tsv(main's): exit 0; the regenerated TSV is committedcargo run --release --example spec_examples: OK: 425 checksSource-provenance declaration
By submitting this PR I certify that my contribution does not incorporate executable code from any source whose license is incompatible with Apache-2.0. Specifically:
CLEANROOM.md).Based on the DXF columns of ODA spec v5.4.1 §20.4.82 and §20.4.91 and AutoCAD's DXF exports read as data.
Developer Certificate of Origin
By submitting this PR, I certify that the contribution complies with the Developer Certificate of Origin 1.1.
Refs #99, #102, #150.