You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Field scorers for every type the public corpus holds #102
area:oracleComparing decoded values with AutoCAD's own DXF exportpriority:P1On the path of the current milestonetype:testFixtures, corpus checks, oracles and gates
Spec: ODA Open Design Specification for .dwg files v5.4.1, §20.4 sections of the types the corpus holds.
Scope
Per type, compare each decoded field with its DXF group code: POINT, LINE, ARC, CIRCLE, ELLIPSE, 2D POLYLINE and VERTEX, the symbol table records, BLOCK_HEADER, LAYOUT, DICTIONARY and every other object both files carry. Tolerances are stated per field (DXF prints 16 significant digits).
State on main (2026-10-21)
Value checks exist only for LINE/CIRCLE/ARC on R2013 (tests/r2013_entity_values.rs), against the authored commands.
Acceptance
One table per type and release: fields equal, different, missing
A field the DWG holds and the DXF does not (or the reverse) is listed, not counted equal
docs/spec-coverage.md links the scorer for every section it checks
Scorers in #248 cover the decoded fields of 44 spec sections (entities §20.4.3-§20.4.85 the corpus holds, every symbol table and control, DICTIONARY/WDFLT, DICTIONARYVAR, SCALE, LAYOUT, MLINESTYLE, XRECORD, PLACEHOLDER); ENDBLK/SEQEND pair with nothing to compare. A follow-up after #248 adds VISUALSTYLE and MLEADERSTYLE (§20.4.87); those scorers found #251 and #253. Still unscored, paired in the corpus: DIMENSION (all seven), HATCH, SPLINE, MLINE, LEADER, MULTILEADER, TOLERANCE, VIEW (#256), GROUP, IMAGE/IMAGEDEF, WIPEOUT, PDFUNDERLAY, 3DSOLID/REGION, the two view styles, and the undecoded classes (MATERIAL, TABLESTYLE, CELLSTYLEMAP, ...). This issue stays open for them.
Status against the current oracle (CI run 40503137263 at 9292ba3, oracle-summary.md and oracle.tsv of artifact corpus-measurement). The 2026-10-26 comment is behind: the summary now scores 57 types (it counted 44 spec sections), 8,718 records. Landed since that comment: VIEW (#279), TABLESTYLE on R14 to R2007 (§20.4.101.1, #349), IMAGEDEF_REACTOR and RASTERVARIABLES (#350), SORTENTSTABLE (#351), and ACDBASSOCPERSSUBENTMANAGER and ACDBPERSSUBENTMANAGER (#379).
Over all releases: 105,864 values equal, 11,142 equal through the DXF default, 283 different, 6,722 DWG-only (a DXF group the DWG does not hold is listed, never counted equal). The 283 different are 264 VISUALSTYLE (#250), 10 control-object counts (#241), 4 LTYPE (#242), 3 BLOCK (#243) and 2 VPORT (#244).
Still unscored: 50 rows of the summary carry records no scorer reads, 848 in all. The largest are MATERIAL (174), MULTILEADER (90), the seven DIMENSION types (66), HATCH (48), the two view-style classes (48 each), VIEWPORT (36) and BLOCKGRIPLOCATIONCOMPONENT (36); TABLESTYLE on R2010+ accounts for 18. SPATIAL_FILTER (#352), MULTILEADER (#385) and the DIMENSION family (#387) are queued. The third acceptance item, that docs/spec-coverage.md links the scorer for every section it checks, is served by tools/oracle/spec_notes.py, which writes each measured section's oracle note into docs/data/spec-coverage.tsv.
area:oracleComparing decoded values with AutoCAD's own DXF exportpriority:P1On the path of the current milestonetype:testFixtures, corpus checks, oracles and gates
Activity
feat(dxf): the value oracle — pair every DWG record by handle and sco…
feat(dxf): the value oracle — pair every DWG record by handle and sco…
DrunkOnJava commentedon Oct 26, 2026
Scorers in #248 cover the decoded fields of 44 spec sections (entities §20.4.3-§20.4.85 the corpus holds, every symbol table and control, DICTIONARY/WDFLT, DICTIONARYVAR, SCALE, LAYOUT, MLINESTYLE, XRECORD, PLACEHOLDER); ENDBLK/SEQEND pair with nothing to compare. A follow-up after #248 adds VISUALSTYLE and MLEADERSTYLE (§20.4.87); those scorers found #251 and #253. Still unscored, paired in the corpus: DIMENSION (all seven), HATCH, SPLINE, MLINE, LEADER, MULTILEADER, TOLERANCE, VIEW (#256), GROUP, IMAGE/IMAGEDEF, WIPEOUT, PDFUNDERLAY, 3DSOLID/REGION, the two view styles, and the undecoded classes (MATERIAL, TABLESTYLE, CELLSTYLEMAP, ...). This issue stays open for them.
feat(dxf): the value oracle — pair every DWG record by handle and sco…
feat(dxf): the value oracle — pair every DWG record by handle and sco…
feat(dxf): score VISUALSTYLE, MLEADERSTYLE and VIEW in the value oracle
feat(dxf): score VISUALSTYLE, MLEADERSTYLE and VIEW in the value oracle
feat(dxf): the value oracle — pair every DWG record by handle and sco…
feat(dxf): score VISUALSTYLE, MLEADERSTYLE and VIEW in the value oracle
feat(dxf): the value oracle — pair every DWG record by handle and sco…
13 remaining items
feat(dxf): score IMAGEDEF_REACTOR and RASTERVARIABLES in the value or…
feat(dxf): score SORTENTSTABLE in the value oracle (§20.4.93) (#351)
fix(dxf): look up a MULTILEADER context's attachments in its interior…
DrunkOnJava commentedon Oct 27, 2026
Status against the current oracle (CI run 40503137263 at 9292ba3,
oracle-summary.mdandoracle.tsvof artifactcorpus-measurement). The 2026-10-26 comment is behind: the summary now scores 57 types (it counted 44 spec sections), 8,718 records. Landed since that comment: VIEW (#279), TABLESTYLE on R14 to R2007 (§20.4.101.1, #349), IMAGEDEF_REACTOR and RASTERVARIABLES (#350), SORTENTSTABLE (#351), and ACDBASSOCPERSSUBENTMANAGER and ACDBPERSSUBENTMANAGER (#379).Over all releases: 105,864 values equal, 11,142 equal through the DXF default, 283 different, 6,722 DWG-only (a DXF group the DWG does not hold is listed, never counted equal). The 283 different are 264 VISUALSTYLE (#250), 10 control-object counts (#241), 4 LTYPE (#242), 3 BLOCK (#243) and 2 VPORT (#244).
Still unscored: 50 rows of the summary carry records no scorer reads, 848 in all. The largest are MATERIAL (174), MULTILEADER (90), the seven DIMENSION types (66), HATCH (48), the two view-style classes (48 each), VIEWPORT (36) and BLOCKGRIPLOCATIONCOMPONENT (36); TABLESTYLE on R2010+ accounts for 18. SPATIAL_FILTER (#352), MULTILEADER (#385) and the DIMENSION family (#387) are queued. The third acceptance item, that docs/spec-coverage.md links the scorer for every section it checks, is served by
tools/oracle/spec_notes.py, which writes each measured section's oracle note intodocs/data/spec-coverage.tsv.feat(dxf): score MULTILEADER in the value oracle (§20.4.48) (#385)
feat(dxf): score MLINE in the value oracle (§20.4.50)
feat(dxf): score the DIMENSION family in the value oracle (§20.4.22 t…
feat(dxf): score HATCH in the value oracle (§20.4.75) (#389)
feat(dxf): score VIEWPORT in the value oracle (§20.4.38) (#390)
feat(dxf): score MLINE in the value oracle (§20.4.50) (#391)
feat(dxf): score TOLERANCE in the value oracle (§20.4.49) (#392)
feat(dxf): score SPLINE in the value oracle (§20.4.40) (#394)
feat(dxf): score MESH in the value oracle (#396)
feat(dxf): score IMAGE, IMAGEDEF and WIPEOUT in the value oracle (§20…
feat(dxf): score LEADER in the value oracle (§20.4.47) (#402)