Skip to content

research(elements): RE-140 Autodesk's sample projects of 2016 to 2027 and puzzbobb's measurements (#421) - #554

Merged
DrunkOnJava merged 8 commits into
mainfrom
re/re140-sample-projects
Oct 1, 2026
Merged

DrunkOnJava merged 8 commits into
mainfrom
re/re140-sample-projects

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

RE-140 for #421: Autodesk publishes its rac_basic, rst_basic and rac_advanced sample projects for every Revit release from 2016 to 2027 on the host the family corpus comes from (36 files), so the pre-2024 projects RE-136 said the corpus lacked can be measured. This adds them to the Measure workflow and reports what they show.

  • measure.yml has a samples input; tools/fetch-autodesk-samples.sh fetches the files by hash from research/autodesk-sample-projects.tsv (hashes measured on the VPS; the 2017 rac_basic hash equals the one STE1200's file has in docs/reference-models.md). They are fetched for a run and never stored.
  • tools/ci/measure-reference-models.sh reads them with rvt-info, the export's diagnostics and the probe; the RE-135 probe now also prints the trailer flags, the marker checks, the ElemTable's ids from 0x06, a strict chain walk, where each record holds its marker, and, with --records, every chain record's id, class, category and box.
  • reports/element-framing/RE-140-sample-projects-2016-2027.md: every measurement puzzbobb posted on Element records beyond 2024/2025: derive the marker from the schema and measure the older envelope (RE-80 follow-up) #421 that these files can test reproduces (the strict chain covers every table id on 47 files, the 0x01001269 flag is once per structural project of 2016 to 2023, every marker has its header and a well-formed box, 2027's tag and chain), and the same model in 2016 to 2022 agrees with 2024's reading of it on class, category and box (99.9 to 100 per cent on category and 89.6 to 100 on box over the records with a marker). The parse_records first-record finding is fixed in fix(elem_table): the declared ids include the table's first record (#152, #421) #553.
  • No release is admitted: there is no Revit export of any of the files.

Runs: 36899534445, 36900586913, 36901574754, 36903389204, 36904178406.


Note

Low Risk
Changes are CI fetch/measure scripts, research pins, docs, and a diagnostic example probe—not production export or release-gating logic in the library.

Overview
Adds RE-140 measurement of Autodesk’s published rac_basic / rst_basic / rac_advanced sample projects (2016–2027, 36 files) without checking them into the repo.

The Measure workflow gains a samples dispatch input: tools/fetch-autodesk-samples.sh downloads and hash-verifies rows from research/autodesk-sample-projects.tsv, and measure-reference-models.sh runs rvt-info, rvt-ifc diagnostics, and the partition probe on each file under OUT_DIR/sample-* (probe invoked with --records).

The probe_re135_undeclared_records example is extended for RE-140: trailer flag histograms and size-echo checks, 2023 marker/header/box scans, ElemTable ids from stream offset 0x06, a strict chain walk, per-record marker placement, optional --records lines for cross-release comparison, and releases after 2026 are analyzed with the 2024 layout instead of skipping.

Docs and reports/element-framing/RE-140-sample-projects-2016-2027.md document puzzbobb’s #421 checks on 47 files and same-model agreement vs 2024; no Revit export means this does not admit new releases.

Reviewed by Cursor Bugbot for commit f32910c. Configure here.

…f 2019 to 2027, and the probe prints the trailer flags and the marker checks (#421)

A new samples input fetches the 27 sample projects Autodesk publishes (rac_basic, rst_basic and rac_advanced, 2019 to 2027) from its own download host, pinned by hash in research/autodesk-sample-projects.tsv, and runs rvt-info, the export's diagnostics and the probe on each. The RE-135 probe now also prints each group's trailer flag values, how many trailers do not repeat the record's size, and, for a 2023-form file, how many element markers have the 32-bit header 52 bytes before them and a well-formed box after. A release after 2026 is read as 2024 is.
… its first record starts, and lists every chain record (#421)

parse_records reads frames 24 bytes after the first record, so the ids it declares miss the first record's and take one spurious one at the end. The probe now also reads both ids of every ElemTable record from 0x06 and prints how the chain and those ids agree, and with --records prints each chain record's id, class, category and box so the same model can be compared across releases. The measure script passes --records to the probe on the sample projects.
… element marker and reads the chain by the size echo alone (#421)

The category and box the probe reads sit where an element record puts them, and only a record with the element marker has them there, so the comparison of one model across releases is made on those records. The chain is also read as a strict reader would, by the header tag and a trailer that repeats the size, with the flag word returned and not checked, to count the ids the table declares that have no record.
…nned too, and the probe prints where each record holds the element marker (#421)

Autodesk publishes rac_basic, rst_basic and rac_advanced for 2016, 2017 and 2018 under the underscored names, nine more files, one of them the 2017 rac_basic project STE1200 measured (sha256 a1d3d077). The probe counts the offset of the marker in each record, so a release whose records place it elsewhere (2027's) shows where.
… is, 22 bytes further for each parameter entry (#421)

The marker offsets the probe now prints on Revit 2027 are all 80 plus a multiple of 22, so 2027's records carry parameter entries that shift the marker as 2023 and 2024's do; a fixed offset marked only the records with none.
…o 2027 and puzzbobb's measurements (#421)

Every measurement puzzbobb posted that the 36 projects and 11 families can test reproduces: a strict walk of the chain covers every id the table declares, the trailer flag, the markers' headers and boxes, the tags and 2027's chain. The same model in every release agrees with 2024's reading of it on class, category and box. No release is admitted: there is no Revit export of any of them.
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 1, 2026 18:13
@cursor

cursor Bot commented Oct 1, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_2c0542ef-7b50-4bd0-980e-fd8893181490)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant