You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Snowdon Towers Architectural: 84 ElemTable first ids that name no record are still declared (RE-41) #760
area:elementsWork in the elements area.area:partitionsWork in the partitions area.priority:P2Important quality, usability, or hardening work.type:researchReverse engineering, discovery, or design investigation.
Found by @pinterbanget while landing #737 (comment), with Autodesk's Snowdon Towers samples in RVT_PROJECT_CORPUS_DIR. Since #737 reads Snowdon's Global/ElemTable in its 40-byte layout again, one corpus target fails on Architectural:
partition_record_chain::every_first_prologue_frame_starts_a_record_of_its_own_id
Snowdon Towers Sample Architectural.rvt: 47149 of 47233 declared ids have a record
What was measured. The 84 ids without a record are exactly the id_primary values of the 84 records whose two ids differ. declared_ids keeps both ids on purpose (RE-41, src/elem_table.rs), so no id declared before is dropped. On Snowdon, none of those 84 first ids is:
an owner in the table: 13 owners (Structural) and 42 (Architectural) are among no first id, while every owner is a second id;
What decides it. Whether anything in the file names one of those first ids: a reference list, a join list, an owner, a connector entry, a parameter. If nothing does on Snowdon Architectural and Structural, option 1 is the fail-closed choice, since an id nothing refers to shouldn't count as declared. If something does, what refers to it says what the first id is. An id the element held before a copy or a re-save is one guess, and it is not measured.
CI can't see this: Snowdon isn't in CI's corpora, which is how #736 got past it. Snowdon Towers is on the same Autodesk host as the sample projects tools/fetch-autodesk-samples.sh pins by sha256, so adding it to research/autodesk-sample-projects.tsv would put it in front of the Measure workflow. That's tracked separately.
area:elementsWork in the elements area.area:partitionsWork in the partitions area.priority:P2Important quality, usability, or hardening work.type:researchReverse engineering, discovery, or design investigation.
Activity
chore(re): the first-id probe sorts first ids by what names them (#760)
chore(re): the first-id probe searches every stream, not only the par…
fix(elem_table): declare each record's current id, not a first id not…
docs(re): RE-189 report on first ids that name no element (#760)
docs(changelog): an ElemTable record's first id is no longer declared…
fix(re): a blank doc line before the probe's conclusion (#760)
fix(elem_table): declare each record's current id, not a first id not…
docs: the README lists what main adds after 0.9.0, and drops the gaps…