Skip to content

LAYOUT, MULTILEADER, LWPOLYLINE and HATCH are skipped on R14 to R2007: their decoders are not routed there #229

Closed

Description

@DrunkOnJava

Finding

Decoders that close on R2004 and later never see these records on older releases, because the objects there carry a custom-class type code (or LAYOUT's fixed code 0x52 on R2007) that dispatch does not route. They are counted as skipped, not errored, so nothing flags them:

Type R14 R2000 R2004 R2007 Decoder
LAYOUT (custom class) 7 files × 3, sample_AC1014 4 7 files × 3, sample_AC1015 4 objects/acad_layout.rs closes on R2004+
LAYOUT (0x0052) 7 files × 3, sample_AC1021 4 same
MULTILEADER (custom class) 15 15 15 15 entities/mleader.rs closes on R2010+
LWPOLYLINE (custom class) 24 (sample_AC1014 23, polyline2d_line_R14 1) entities/lwpolyline.rs
HATCH (custom class) 8 entities/hatch.rs

LWPOLYLINE and HATCH were introduced in R14 as classes and later got fixed type codes, so on R14 their type code is a class number from AcDb:Classes. MULTILEADER on R2004 and R2007 is the same object the R2010 decoder reads.

Routing them may turn skips into errors, which is the point: then the boundary check measures them. docs/spec-coverage.md currently says these sections close "on every corpus record of the type", which is not true of these records.

Evidence: Measure run 40297255178 on #225 ("Skipped (no decoder) records by type and release").

Families: #142, #146, #147.

Activity

  1. added
    type:bug
    area:classes
    area:objects
    area:entities
    area:corpus
    release:R14
    release:R2000
    release:R2004
    release:R2007
    priority:P1
    on Oct 26, 2026
  2. DrunkOnJava commented on Oct 26, 2026

    @DrunkOnJava
    OwnerAuthor

    One more of the same kind: GEODATA (§20.4.78). src/entities/geodata.rs is dispatched on a fixed code (OBJECT_TYPE_GEODATA = 0x4FB in entities/dispatch.rs), but geoloc.dwg (R2018, AutoCAD 2023, pinned by #225) writes its one GEODATA record with the class number AcDb:Classes gives it, so it is counted as skipped and the decoder has never run on a real record. docs/spec-coverage.md moves the row from decoder to partial for this reason.

  3. DrunkOnJava commented on Oct 26, 2026

    @DrunkOnJava
    OwnerAuthor

    Progress, 2026-10-26:

  4. DrunkOnJava commented on Oct 27, 2026

    @DrunkOnJava
    OwnerAuthor

    Closed by the routing fixes that landed: #264 routes the R14 LWPOLYLINE and HATCH classes, #270 decodes LAYOUT on R14, R2000 and R2007 (custom class and 0x0052), and #278 decodes MULTILEADER on R14 to R2007 with §20.4.48's version branches (#295 settled GEODATA the same way). Measured on main: the Corpus job's coverage logs for run 40471959010 list 547 skipped records in 30 types, and LAYOUT, MULTILEADER, LWPOLYLINE and HATCH are not among them. Every record of the four types now reaches its decoder and closes on its boundary (0 errored in the baseline).

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:corpusarea:entitiesarea:objectspriority:P1release:R14release:R2000release:R2004release:R2007type:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions