Skip to content

Held-out validation: measure on licensed models not used to develop the decoder #408

Open

Description

@DrunkOnJava

Every measured number in the README comes from a model the decoder was developed against. That shows the rules reproduce those files, not that they generalise.

Done when

Measured so far: the Snowdon Towers Plumbing, HVAC and Electrical samples (2024), against a VIM of the 2027 edition rather than Revit's IFC export (first comment below). That does not count toward the bar.

Activity

  1. DrunkOnJava commented on Sep 27, 2026

    @DrunkOnJava
    OwnerAuthor

    First held-out measurement (#432): Autodesk's Snowdon Towers Plumbing, HVAC and Electrical samples (2024), never used in development, exported once from main and compared with the VIM export of the sample. 10,385 exported elements found in the VIM, every one in the expected category; every instance both hold exported (the 30 the VIM adds are not in the 2024 file); 8,766 storeys and 10,385 GlobalIds equal. Limits: the oracle is a VIM of the 2027 edition, not Revit's own IFC export of these files, and all bodies are boxes. The issue stays open for held-out architectural/structural projects with Revit's own IFC export.

  2. DrunkOnJava commented on Sep 28, 2026

    @DrunkOnJava
    OwnerAuthor

    Practical export check, 2026-09-27 (main at aff58dd): the GLB that Rhino, Blender and the browser viewer import, run through the Khronos glTF Validator (gltf-validator 2.x, validateBytes).

    model errors warnings notices
    Snowdon Towers Architectural 2024 (local only) 0 0 199 UNUSED_OBJECT
    Core Interior 2024 0 0 78 UNUSED_OBJECT
    RE1 Architecture 2025 0 0 66 UNUSED_OBJECT

    The notices are model materials no drawn element references; they are harmless. This checks that the file is well-formed for any glTF importer. Shape fidelity is measured separately: most bodies are still record bounding boxes, and the export diagnostics count them (bounding_box_bodies). Not done: opening the files in Rhino itself (no licensed Rhino here); the IFC side is covered by the IfcOpenShell validator jobs.

  3. added
    area:corpus
    priority:P2
    type:test
    on Sep 30, 2026
  4. DrunkOnJava commented on Oct 21, 2026

    @DrunkOnJava
    OwnerAuthor

    Added a passing result (2026-10-21). For every release from 2015 to 2027, two held-out projects with Revit's own IFC export of that release must equal it: elements and classes in every category, storeys, GlobalIds, bodies at their category's tolerance, and properties. This is docs/release-1.0-criteria.md W5 (#875). The Snowdon MEP measurement above scored against a VIM, so it does not count toward the bar.

  5. DrunkOnJava commented on Oct 21, 2026

    @DrunkOnJava
    OwnerAuthor

    The first held-out project with Revit's own export of its release: BIMcollab's Revit 2015 structural example (RE-198, #880), measured once before any fix. Against the bar it fails. 3 elements are written that the export leaves out and 16 footings sit on no storey (#879), and none of Revit's GlobalIds is rebuilt (#878). All 241 of the export's elements are found by ElementId and class, and wall faces and layer sets come out as Revit's. A second 2015 project is needed before a fix made for these can be checked on a file that is still held out.

  6. DrunkOnJava commented on Oct 30, 2026

    @DrunkOnJava
    OwnerAuthor

    A request to the three of you who run the newer Revit releases: @puzzbobb (2025), @jakobhirn-bit (2026) and @hemanth1986 (2024 to 2027).

    The 1.0 bar (docs/release-1.0-criteria.md, W5) needs, for every release from 2015 to 2027, two projects with Revit's own IFC export of that release that rvt-rs was never developed against. For 2025, 2026 and 2027 none exists in public: the searches in #408 and RE-198 found no licensed project/IFC pair. You are the people who can make them.

    What would help, per release you run:

    • A small project you author yourself, so you own it and nothing of a client's is in it. A one- or two-storey building is enough: walls (including a couple of joined corners), floors, a roof, doors and windows, a stair, rooms, and a few loaded families. Different from the models you have already sent; those were used to develop fixes, so they no longer count as held out.
    • Its IFC export from that same Revit release, with one of Revit's built-in IFC4 setups left as it is (for example 'IFC4 Reference View'). Keep 'Export base quantities' on, and say which setup you used.
    • A licence that lets us fetch it on CI: Apache-2.0, MIT or CC BY 4.0, stated in your comment. Attach both files here, or put them in a repository of yours.

    What happens to them: each pair is recorded in research/holdout-models.tsv as held out and measured once, before any fix is made for it, with Revit's export as the reference. The result is published as measured, pass or fail. Measure's output for held-out files keeps counts only, with no names or ids. If a fix is later developed against one, it stops counting as held out and the table says so, so a replacement would then be welcome.

    Even one release from one of you closes part of the gap. Thank you.

  7. 1 remaining item

  8. hemanth1986 commented on Nov 2, 2026

    @hemanth1986

    Held-out models are up at https://github.com/hemanth1986/rvt-holdout-models (CC BY 4.0). There are two self-authored projects per release, for Revit 2022, 2024, 2025, 2026 and 2027 (no 2023 here). One is a two-storey house with a stair and a gable roof; the other is a single-storey L-shaped office with a flat roof. Each has walls with joined corners, floors, a roof, doors, windows, rooms and loaded families. Neither has been used for any rvt-rs work.

    Each .ifc was exported by the same Revit release that saved the .rvt, using the built-in "IFC4 Reference View [Architecture]" setup, unchanged except Export base quantities = on. Exporter builds are 22.6.2.0, 24.3.60.12, 25.5.10.17, 26.5.10.38 and 27.3.0.28. One note: Reference View does not export wall joins (no IfcRelConnectsPathElements). The joins are in the .rvt only. The README lists the contents of each model.

  9. DrunkOnJava commented on Nov 2, 2026

    @DrunkOnJava
    OwnerAuthor

    Hi @hemanth1986, thank you for creating and sharing these model and IFC pairs, and for documenting their provenance and export settings. They’re a helpful addition to our held-out comparisons.

    In our first run, the 2024–2027 examples matched the reference element and space classifications. We found that the roof was missing in both 2022 examples, and some reference quantities are still missing.

    We’ll keep the sample files out of this repository, record summary results, and credit your work when we cite them. Thanks again for the care you put into the models and the notes about Reference View and wall joins!

  10. rvt-rs-review commented on Nov 9, 2026

    @rvt-rs-review

    Leads for Revit 2015 to 2023 same-release pairs, from a search of public archives on 2026-11-08 (GitHub code and repository search, Zenodo, figshare, Harvard Dataverse, 4TU and DepositOnce). Each lead is a .rvt beside an IFC that the same year's Revit exporter wrote, read from the IFC's header alone. None has been opened or measured, so each can still be a first measurement for W5. Whether each .rvt was last saved by that same release is not checked.

    Year Openly licensed No licence stated
    2015 EnEff-BIM/EnEffBIM_UseCases (MIT): 2 air-handling unit models, IFC4 OpeningDesign/Sports_Complex: 1 test file, IFC2X3
    2016 MGVisschers/IFC-to-gbXML-converter (GPL-3.0): 2 pilot projects, IFC2X3 OpeningDesign/FreeMVD_Mirror: 1 test file, IFC2X3
    2017 odys-z/hello (MIT): 1 house, IFC2X3 none
    2018 none zhouyc98/Design-Change-BIM-Models: 1 model in 9 design-change versions, IFC2X3
    2019 andrewisen/AI281X-DegreeProject (GPL-3.0): 1 light fixture test, IFC4 Frederik91/RevitIfcInstancePropertyOverrideExample: 1, IFC2X3
    2020 none renatogcruz/BIM-Modeling and Curiosit/3d-ifc-co2: 1 each, IFC2X3
    2021 none PimAkker/Leveraging-BIM-Models-for-Skill-Specific-Robot-Navigation-and-Localization: 1 room, IFC4
    2022 RevitStandards/NLRS_Onderwijsmodellen (MIT): 1, IFC2X3 none
    2023 Zenodo record 15075710 (CC BY 4.0): 1 wave flume, IFC4 raficfaddoul/Antares (IFC2X3) and AiyuZhu/QiaoSheng (IFC4): 1 each

    Pairs Measure already holds (hemanth1986's, BIM Whale's, 255ribeiro's, BIM-Speed's four and BIMcollab's) are left out. BIM-Speed's fifth demonstration case, Barlad, holds an IFC2X3 export but no .rvt, so it is no pair.

    No year from 2015 to 2023 reaches the three pairs W2 and W5 need (one to develop on, two unseen), most leads are small test models, and an IFC2X3 export never decides a property value. These are the starting points for adding an earlier release once it has its pairs.

  11. DrunkOnJava commented on Nov 9, 2026

    @DrunkOnJava
    OwnerAuthor

    A second request, now that 1.0 covers Revit 2024 to 2027 (#1561): @puzzbobb (2025), @jakobhirn-bit (2026) and @hemanth1986 (2024 to 2027), and anyone else who runs those releases.

    W5 needs two fresh pairs for each of 2024, 2025, 2026 and 2027, eight in all. Every 2024 to 2027 pair Measure holds was measured once before the reference models met the bar, so each is used up as a regression check (eight of hemanth1986's ten among them, the 2024 to 2027 ones, which keep catching regressions; thank you again). A fresh pair now stays sealed until the final 1.0 check, so its first measurement is that check.

    What would help, per release you run:

    • A small project you author yourself, different from any you have sent. A one- or two-storey building is enough: walls with a couple of joined corners, floors, a roof, doors and windows, a stair, rooms, and a few loaded families.
    • Its IFC export from that same Revit release, straight from Revit and not passed through another tool, with one of Revit's built-in IFC4 setups as it is (IFC4 Reference View, for example, or IFC4X3 where your release offers it), except Export base quantities on. W7 measures the quantities, so a pair without them is spent at the final check. Say which setup you used.
    • Plain files at links that will not change: the .rvt and a plain .ifc (not zipped), each at an https link that serves the file itself and names a fixed version: a release asset, a raw link at a commit (the 40-character hash, not a branch name), or a file of a Zenodo record. For Zenodo, use the version's own record number, not the concept record, which always points at the newest version. The final check downloads them again, maybe months from now, and they must still match the hashes taken today, so please keep them in place until then. A share page, or a link to a branch that later changes, would lose the pair.
    • A licence CI may fetch the files under: Apache-2.0, MIT, CC BY 4.0 or CC0, stated in your comment. It covers your own modelling. Families that come with Revit's templates are fine in the project. Nothing from the files is committed here or redistributed, and only counts are published.

    What happens to them: tools/ci/seal-holdout-pair.sh downloads both, checks from their first bytes only that the project is an OLE2 file and the IFC is that release's own IFC4 or IFC4X3 export, hashes them, and lists them in research/sealed-holdout-models.tsv (#1565). It keeps one unopened copy of each file in a private repository, which only the final check will read, so that check can still run if a link goes away, and it deletes its own download. Nobody opens them, and CI fails if any committed workflow or script names that list. They are measured once, at the final 1.0 check, made when W4, W6 and W7 pass on the reference models. The result is published as measured, pass or fail, as counts only, with no names or ids from the files, and you are credited.

    One pair from one release already closes part of the gap. Thank you.

  12. DrunkOnJava commented on Nov 14, 2026

    @DrunkOnJava
    OwnerAuthor

    Two cases a model for this issue should hold, moved here from #1947 when its other items closed. In both, rvt-rs leaves something out because no model it measures holds the case, and Revit's export of a model that does would decide it:

    • A room or an Area with its own "IFC Predefined Type". rvt-rs writes .SPACE. on every room and Area. Revit's export does the same on all 116 rooms of Core Interior and all 30 Areas of the BIM4LCA office, and no measured room carries a value of its own. Reading the value (attach_ifc_export_overrides is not given the rooms) would also let "Export to IFC As" change a room's entity, which nothing measures either.
    • A named parameter in the Phasing, Insulation or Lining group. --revit-property-sets writes a parameter group only where a measured model showed its id (GROUP_LABELS), and no model here holds a named parameter in those three, so they are left out and counted.

    A redistributable model with either, and Revit's IFC4 export of it, would settle that row.

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:corpushelp wantedpriority:P2type:test

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions