Repository navigation
feat(objects): decode RAPIDRTRENDERENVIRONMENT to its record boundary (#152) - #427
Merged
Merged
Conversation
…, with no DXF twin to score the values (#152)
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9611e2ff3f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
This was referenced Oct 28, 2026
# Conflicts: # ARCHITECTURE.md # CLEANROOM.md # tools/corpus/baseline.tsv
DrunkOnJava
enabled auto-merge (squash)
October 28, 2026 11:16
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
Decodes RAPIDRTRENDERENVIRONMENT (8 records, the RapidRT renderer's environment; its C++ class is
AcDbIBLBackground), from a layout derived from the records' own bits. Statedecoder: the boundary closes, the values are unscored, because the two drawings that hold the class (3d.dwgandDraw2.dwgof the pinnedkurema/BookViewerApp3drawings, AC1014) have no DXF export in the corpus.Spec reference
None: ODA spec v5.4.1 prints no layout for the class, so there is no
docs/data/spec-coverage.tsvrow; the class row indocs/spec-coverage.md("Classes the spec does not prescribe") is new, atdecoder. Layout and what the bytes settle: ARCHITECTURE.md §7br (provisional letter). Method and the no-twin rule: CLEANROOM.md (2026-10-28), the same rule #425 applied to ACSH_CYLINDER_CLASS and ACSH_REVOLVE_CLASS.Evidence (data bits read as data from the pinned drawings with a throwaway reader; the decoder is measured by this PR's Corpus job):
3d.dwgDraw2.dwgThe list is
BLversion (2),B,TV(an HDR file path),BD(0.0),B. Every record is 11 bits, the text and 3 bits, and the path is 74 to 93 characters long, so the one thing that varies between the records is the width of the text; the list closes on theRLdata size on all eight. Both flags vary across the records.Expected corpus baseline change: decoded +8, skipped -8, errored 0; the baseline is committed from the Corpus job's artifact.
Not settled by the bytes, and said so in ARCHITECTURE.md and the spec-coverage row: the roles of the version, the two flags and the rotation, and whether the leading
BLis aBS(they read the same). The field names follow the IBL background's groups in Autodesk's public DXF Reference, recalled, for names only.Test plan
cargo fmt --all -- --check,python3 tools/ci/spec_coverage.py --checkandpython3 tools/maintainer/train/arch.py checkpass locallyprobe_render_environmentis added for a reader to run over the corpus; it was not run here, since builds and probes run on CI onlySource-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:
My contribution is based on the data bits of the pinned public corpus drawings (data files only), by the method recorded in CLEANROOM.md (2026-10-26 and the 2026-10-28 entry for classes with no DXF twin). Autodesk's public DXF Reference was recalled for the field names only, disclosed in the CLEANROOM.md entry. No third-party DWG or DXF implementation was consulted, ACadSharp's and ezdxf's reading code, comments, tests and derived data included.
Developer Certificate of Origin
I affirm that the contribution is my own work and can be distributed under the project's Apache-2.0 license.