Skip to content

Diagnostics: count where 2008 to 2023 element records are dropped (marker, envelope, declared id, instance, volume) #1389

Closed

Description

@DrunkOnJava

From #421 (hemanth1986, 2026-11-04). Four client files saved by Revit 2024 to 2026 that keep a 2022 or 2023 schema export no element. The reader routes them as intended: RevitFile::layout_release (src/reader.rs:1025-1036) gives the schema release, and their ElemTable fits at 28 bytes with +0 as Revit's ElementId. So the records are dropped later, in scan_records (src/research/partition_element_records_2023.rs:202-301) or the instance rule (src/research/partition_schema_mvp/records_2023.rs:314).

The "record rejected" counters return nothing for 2008 to 2023 layouts (src/research/partition_element_records.rs:1512-1552). The diagnostics then show only low_confidence_schema_scan_candidate, and nobody can tell from them which stage lost the elements.

Change: for 2008 to 2023 layouts, count, per partition stream and in total, the markers found, the markers with a declared u32 id at -52 and the ElementHeader tag, those passing the category and box checks, the placed instances, and those with volume. Report the counts in diagnostics and in the decisions log's skipped items.

Done when: on every public 2015 to 2023 sample in Measure the stage counts add up to the exported element count, an all-zero export says at which stage its records stopped, and the default IFC is byte-identical.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:partitionspriority:P1type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions