Repository navigation
feat(dxf): score TABLESTYLE in the value oracle (§20.4.101.1) - #349
Merged
Merged
Conversation
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: ca234b2e80
ℹ️ 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".
The TABLESTYLE decoder (#303) reads §20.4.101.1's layout on R2000 to R2007; the oracle now compares each field with the group the section's DXF column gives it: 3, 70, 71, 40, 41, 280 and 281, then per row style (data, title, header) 140, 170, 62, 63, 283, on R2007 also 90, 91 and 1, and per border 274-279, 284-289 and 64-69. The text style (7) is a handle the decoder does not read and stays not-decoded; the colours are TC and export as their index. Where an export writes two 280s before the first row style (the R2010+ ones), the suppress-title flag is the second, as the decoder's probe reads it. On the 49 drawing pairs: 24 records, R2000 to R2007, all 1896 decoded values equal AutoCAD's export, the count the decoder's own probe reports. The 18 paired R2010+ records (§20.4.101.2) remain undecoded. tools/oracle/baseline.tsv gains the 237 new rows, and the §20.4.101 row of docs/spec-coverage.md says what the oracle measured. Refs #99, #102, #151
DrunkOnJava
force-pushed
the
feat/dxf-oracle-tablestyle
branch
from
October 26, 2026 22:23
ca234b2 to
07e426b
Compare
DrunkOnJava
enabled auto-merge (squash)
October 26, 2026 23:27
This was referenced Oct 27, 2026
Open
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 TABLESTYLE (§20.4.101.1, decoded by #303) field by field against AutoCAD's DXF export: 3, 70, 71, 40, 41, 280, 281, then per row style (data, title, header) 140, 170, 62, 63, 283, on R2007 also 90, 91 and 1, and per border 274-279, 284-289 and 64-69. The text style (7) is a handle the decoder does not read and stays not-decoded. The colours are TC and export as their index.
Measured (49 drawing pairs)
All 1896 decoded values equal the export, the count #303's own probe reports. The oracle's other disagreements are unchanged.
tools/oracle/baseline.tsvgains the 237 new rows (ratchet against main's: no count fell), and the §20.4.101 row ofdocs/spec-coverage.mdsays what the oracle measured.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 column of ODA spec v5.4.1 §20.4.101.1 and AutoCAD's DXF exports read as data, as CLEANROOM.md's entry for the oracle's scorers records.
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, #151.