Repository navigation
feat(objects): decode ACSH_CYLINDER_CLASS and ACSH_REVOLVE_CLASS to their record boundary (#152) - #425
Merged
Conversation
…heir record boundary, 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: 247df7d663
ℹ️ 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".
DrunkOnJava
enabled auto-merge (squash)
October 28, 2026 09:38
This was referenced Oct 28, 2026
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 ACSH_CYLINDER_CLASS (2 records) and ACSH_REVOLVE_CLASS (1 record), the last two ACSH solid-history classes the corpus still skips, from layouts derived from the records' own bits. State
decoder: the boundary closes, the values are unscored, because the one drawing that holds them (3d.dwgof the pinnedkurema/BookViewerApp3drawings, AC1014) has no DXF export in the corpus.Spec reference
None: ODA spec v5.4.1 prints no layout for either 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 §7bq (provisional letter). Method and the no-twin rule: CLEANROOM.md (2026-10-28).Evidence (data bits read as data from the pinned drawing, with a throwaway reader; the decoder is measured by this PR's Corpus job):
BL,BLand fourBD: 284 bits left after the node on both records, 2 x 10 + 4 x 66, nothing over; the values read 0.4, 0.15, 0.15, 0.15 and 0.1, 0.25, 0.25, 0.25BL,BL, 3BD, 3BD, oneBD(2 pi), six 2-bit zero codes,BL77, then aBLbit count of 1272 that equals the 1272 bits left in the recordExpected corpus baseline change: decoded +3, skipped -3, 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 role of every value, the types of the revolve's six zero slots (the decoder refuses any slot that is not the zero form), and whether the cylinder's three equal values are radii. A DXF export of the drawing would score them and let the state move to
closes.Test plan
cargo fmt --all -- --check,python3 tools/ci/spec_coverage.py --checkandpython3 tools/maintainer/train/arch.py checkpass locallyprobe_sh_cylinderandprobe_sh_revolveare added for a reader to run over the corpus; they were 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 drawing (data file only), by the method recorded in CLEANROOM.md (2026-10-26 and the 2026-10-28 entry for classes with no DXF twin). No third-party DWG or DXF implementation was consulted, ACadSharp's and ezdxf's reading code, comments, tests and derived data included. No vocabulary from the DXF Reference was taken; the field names in the structs are read from the values and are marked unverified.
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.