Repository navigation
research(elements): RE-135 the records after a project's chain are the loaded families' own documents (#152) (#421) - #547
Merged
Conversation
…ble does not declare (#152) Scans every header record of every partition, declared or not, and prints what Steffen's reading of the undeclared ones predicts (Discussion #112): their classes, the host-stub flag bit, how they interleave with declared records, and the section count of Global/ContentDocuments.
…ding chain, and reads 2023 by its own envelope The first run showed two things: a 2023 scan by bounding-box marker sees 179 of Einhoven's records, and 1,340 declared ids occur in two records on Core Interior, so an id's being declared does not tell a project record from a family document's. Split by the chain instead.
…e loaded families' own documents (#152) (#421) Steffen's reading of Einhoven's walls 2921 and 3637 (Discussion #112) holds on six project files: no record after the leading chain has a declared id, shares one with the chain or repeats. The chain's end, not the declaration, separates the two, and bit 0x10 is not a host-stub marker. Measure run 36865908576.
DrunkOnJava
enabled auto-merge (squash)
October 1, 2026 13:09
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_7c786b96-a8ec-4a5d-805c-8263e63b5c31) |
This was referenced Oct 1, 2026
DrunkOnJava
added a commit
that referenced
this pull request
Oct 1, 2026
…RE-137 the Q4 reading (#152) (#153) (#154) (#548) (#549) Follow-up to RE-135 (#547), with the measurements the open acceptance items of #152, #153 and #154 asked for. Measure runs 36868637766, 36869273382, 36869717207 and 36869947677, on the reference models and the Autodesk family corpus. - **RE-136.** The 2023 record envelope reads every Autodesk family of 2016 to 2023 (one record per declared id, no class unresolved); the ElemTable record is 28 bytes up to 2023 and 40 from 2024, on 17 files; the scan chains 99.46 per cent of candidates on Core Interior and 99.62 per cent on Einhoven; the ids that open two chain records (#548) are copies of one element's record in different partitions, never two in one stream. - **RE-137.** The Q4 addendum's "ancestor class" does not reproduce on 17 files: none of the nine classes has the base it named, and every base reference resolves. The reconnaissance document, the README and the `ancestor_tag` field documentation say so; no behaviour changes. Probes only; the one source change is a doc comment. Refs #152, #153, #154, #421, #548.
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.
Steffen (STE1200) explained RE-132's two unread Einhoven walls (2921 and 3637) in Discussion #112: records whose ids
Global/ElemTabledoes not declare are the inventory of family documents embedded in the project. This measures that reading.On six project files (the four RE1 models, Einhoven, Core Interior) and 187,421 records after their leading chains:
Global/ContentDocumentshas 6 and 46 section headers on Einhoven and Core Interior, his counts.Two corrections, both in the report and the changelog: the chain's end, not the declaration, separates project records from family-document records (737 of Core Interior's chain records have an undeclared id), and bit
0x10of the flag word is not a host-stub marker. RE-35's "their own ElementId space" is amended. 1,444 ids on Core Interior open two chain records; that is recorded as not explained.The probe is an example; Measure run 36865908576 ran it on the reference models and the family corpus. No library code changes.
Refs #152, #421, Discussion #112.
Note
Low Risk
Documentation and a standalone research example only; no production parsing or API behavior changes.
Overview
Documents RE-135 research on partition header records that sit after a project's leading record chain (Discussion #112 / Einhoven walls 2921 and 3637).
Adds
examples/probe_re135_undeclared_records.rs, which scans allPartitions/*streams (2023 and 2024+ layouts), splits records into in-chain vs after-chain, and emits JSON tallies forElemTabledeclaration, classes, flag bit0x10, id collisions, andGlobal/ContentDocumentssection headers, plus neighbour dumps for named target ids.Adds
reports/element-framing/RE-135-embedded-family-records.mdwith measured results across six project models and the family corpus, and updates CHANGELOG and RE-35 to state that after-chain records are embedded families' own documents—while correcting two earlier assumptions: chain end (not undeclared id) separates project vs family inventory, and flag0x10is not a reliable host-stub marker.No changes to the
rvtlibrary; measurement is via the new example (Measure workflow).Reviewed by Cursor Bugbot for commit 776a7b7. Configure here.