Skip to content

Class census: ACDB_TEXTOBJECTCONTEXTDATA_CLASS, GEODATA and AcGeoBackupObject declared but not walked, walk closed #230

Closed

Description

@DrunkOnJava

Finding

Three class-census shortfalls the old corpus did not have, on drawings #225 pins. On each, probe_reference_closure finds the walk closed: zero bytes between records and no unanswered hard reference. That is the same evidence #76 used to conclude the class table over-declares, but each class still needs its owner census to settle it:

File Class Declared Walked
sample_AC1018.dwg (R2004, AutoCAD 2025) ACDB_TEXTOBJECTCONTEXTDATA_CLASS 2 0
sample_AC1021.dwg (R2007, AutoCAD 2025) ACDB_TEXTOBJECTCONTEXTDATA_CLASS 2 0
geoloc.dwg (R2018, AutoCAD 2023) GEODATA 2 1
geoloc.dwg AcGeoBackupObject 1 0

The R2010 to R2018 saves of the same ACadSharp drawing walk 2 ACDB_TEXTOBJECTCONTEXTDATA_CLASS records each (skipped, no decoder), so on R2004 and R2007 either the class table counts objects AutoCAD did not write in the older format, or they sit inside another record. TABLECONTENT and TABLEGEOMETRY, already allowlisted (#56, #82), are short on every ACadSharp save from R2004 on, not just R2018: declared 9 / 8 / 7 / 6 / 5 on R2004 / R2007 / R2010 / R2013 / R2018 against 2 walked.

All of these are pinned in tools/corpus/baseline.tsv, so a change in either direction fails the Corpus job until the baseline moves with it.

Evidence: Measure run 40297255178 on #225 ("Walk checks").

Reproduce: cargo run --release --example probe_class_census -- ../dwg-corpus/acadsharp/sample_AC1018.dwg, and probe_reference_closure on the same file.

Activity

  1. added
    type:bug
    area:classes
    area:corpus
    release:R2004
    release:R2007
    release:R2018
    priority:P2
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:classesarea:corpuspriority:P2release:R2004release:R2007release:R2018type:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions