Skip to content

No canonical fixture (and therefore no coverage gate) for R14 / R2000 / R2007 — assemble_dwg_bytes rejects those versions #21

Open

Description

@DrunkOnJava

assemble_dwg_bytes accepts R2004/2010/2013/2018 only: R14/R2000 use the flat section-locator layout and R2007 the two-layer Sec_Mask layout (spec §5.2), so tests/fixtures/canonical/ (#19) has no fixture for them and cargo test/coverage-smoke cannot regress their readers (which the coverage report already marks "no-handle-map" on the sample set).

Highest-leverage extension: an R14/R2000 write path (flat locator + handle map), then a canonical synthetic_R14.dwg/synthetic_2000.dwg with the same 5 entities, then the R2007 Sec_Mask layer. Each new fixture adds a row to tests/canonical_corpus.rs with pinned counts and field values.

Related: every new ElementEncoder impl should add a fixture entity and bump the pinned counts, so the gate widens instead of ossifying at 5 entities — add that as a CONTRIBUTING checklist item when the first one lands.

Activity

  1. DrunkOnJava commented on Aug 30, 2026

    @DrunkOnJava
    OwnerAuthor

    #72 landed the R2000 half: synthetic_2000.dwg canonical fixture via a flat section-locator assembler (5 files / 25 entities / 100%). Remaining: the R14 half needs ElementEncoder to emit the R13/R14 preamble (the RL object-data-size sits after the EED chain per #72's finding); R2007 writing needs an RS encoder + §5.10 compressor — both read-only today.

  2. added
    type:test
    area:writer
    release:R14
    release:R2000
    release:R2007
    priority:P2
    and removed on Oct 21, 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:writerpriority:P2release:R14release:R2000release:R2007type:test

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions