Repository navigation
research(elements): RE-140 Autodesk's sample projects of 2016 to 2027 and puzzbobb's measurements (#421) - #554
Merged
Merged
Conversation
…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
enabled auto-merge (squash)
October 1, 2026 18:13
Bugbot couldn't run - usage limit reachedBugbot 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) |
This was referenced Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.ymlhas asamplesinput;tools/fetch-autodesk-samples.shfetches the files by hash fromresearch/autodesk-sample-projects.tsv(hashes measured on the VPS; the 2017rac_basichash equals the one STE1200's file has indocs/reference-models.md). They are fetched for a run and never stored.tools/ci/measure-reference-models.shreads 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 from0x06, 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). Theparse_recordsfirst-record finding is fixed in fix(elem_table): the declared ids include the table's first record (#152, #421) #553.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_advancedsample projects (2016–2027, 36 files) without checking them into the repo.The Measure workflow gains a
samplesdispatch input:tools/fetch-autodesk-samples.shdownloads and hash-verifies rows fromresearch/autodesk-sample-projects.tsv, andmeasure-reference-models.shrunsrvt-info,rvt-ifcdiagnostics, and the partition probe on each file underOUT_DIR/sample-*(probe invoked with--records).The
probe_re135_undeclared_recordsexample is extended for RE-140: trailer flag histograms and size-echo checks, 2023 marker/header/box scans, ElemTable ids from stream offset0x06, a strict chain walk, per-record marker placement, optional--recordslines 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.mddocument 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.