Skip to content

earcut 0.4.12 moves six exports: show the surfaces are the same before taking it #1553

Closed

Description

@DrunkOnJava

What

earcut 0.4.12 ("speed up triangulation with slice inputs and faster hole bridging") changes rvt-rs's exports, so #1547 holds it at 0.4.11. Measure run 42538445237 (cb82d0a8 against 58f6657e, 92 models, no scorers) found 6 exports moved: Autodesk's rac_advanced sample on 2023, 2024, 2025, 2026 and 2027, and Snowdon's architectural sample on 2024. The other 86 are byte-identical, including every model scored against Revit's export in that run.

On the moved exports, diagnostics.json, schema.txt, the stage counts and the wall-rule counts are identical, and the hashes repeat between runs, so the change is the bump's. Whether only the triangle order moved is not established: no scorer reads the bodies of those samples except bodies_across_saves, and run 42539694074, which held only 2023 and 2024, compared less than every save.

rvt-rs calls earcut in src/ifc/export_content.rs and src/research/native_saved_mesh.rs.

Done when

Taking 0.4.12 or later is shown to triangulate the same surface on those exports: bodies_across_saves with every save of rac_advanced (sample_years="2024 2027"), and one unfiltered Measure with samples, holdout, bimcollab and racadv on the head that lands. If a body changes, the bump is refused or the change is explained, here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions