Repository navigation
feat(objects): decode IMAGEDEF_REACTOR and RASTERVARIABLES (§20.4.82, §20.4.91, #150) - #305
Merged
Merged
Conversation
… §20.4.91, #150) Both objects are the common object data and a class version, RASTERVARIABLES with three BS after it. The dispatcher had no class-name arm for either, so the 14 records of the corpus's seven IMAGE-bearing drawings (R14 to R2018) were skipped; each closes on its data-stream boundary. Against AutoCAD's DXF export (R2000 to R2018) all 30 values equal the groups that carry them; R14 has no twin.
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. |
…y in the list sits apart from its siblings' (rustfmt sorts the list)
…ares, so the copies merge in any order
# Conflicts: # ARCHITECTURE.md # docs/spec-coverage.md # tools/corpus/baseline.tsv
DrunkOnJava
enabled auto-merge (squash)
October 26, 2026 20:33
3 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Oct 27, 2026
…acle (#350) 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
60 tasks
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
Decode IMAGEDEF_REACTOR (§20.4.82) and RASTERVARIABLES (§20.4.91): the common object data and a
BLclass version, RASTERVARIABLES with threeBSafter it. The dispatcher had no class-name arm for either, so they were skipped on every release. The DXF class name of the first isIMAGEDEF_REACTOR; the spec spells itIMAGEDEFREACTOR, and both route.Spec reference
§20.4.82 IMAGEDEFREACTOR and §20.4.91 RASTERVARIABLES (tracking #150). The spec's field lists close as printed; nothing departs from them.
Test plan
cargo fmt --all -- --checkandcargo clippy --all-targets --all-features -- -D warningspass on this branch.cargo test,cargo docand the 1.85 MSRV check run once on a merge of this lane's open branches instead of per branch (the machine is at memory pressure red); the result goes in a comment.Shown on real files, no new unit tests:
cargo run --release --example probe_imagedef_reactor -- <corpus>andcargo run --release --example probe_rastervariables -- <corpus>over the 52 pinned drawings. Each closes on its boundary and compares every decoded value with AutoCAD's DXF export by handle.Corpus baseline regenerated: decoded +14, skipped -14, errored unchanged (7 rows, one drawing per release holds both).
Tests touched: none. The probes and their shared harness
examples/support/twin.rsare new examples, not tests.The DXF oracle does not score these two types yet.
Source-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:
973628f3…f504b) is explicitly allowed (seeCLEANROOM.md).My contribution is based on:
Developer Certificate of Origin
By submitting this PR, I certify that the contribution complies with the Developer Certificate of Origin 1.1.