Repository navigation
research(schema): RE-146 the Q4 word is the grandparent's tag, and ClassEntry::tag is the base's (#154) - #563
Merged
Merged
Conversation
…assEntry::tag is the base's (#154) Measured on 53 files of 2016 to 2027 (Measure run 37116713027): on every class formats::parse_schema tags, ClassEntry::tag is the base class's tag (never the class's own) and ancestor_tag is the grandparent's, as puzzbobb reported; no counterexample. ClassEntry's docs and the Q4 addendum say so; the readers that take ClassEntry::tag as a class's own tag are left for a follow-up (backlog B24).
DrunkOnJava
enabled auto-merge (squash)
October 3, 2026 10:50
6 of 7 tasks
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.
This answers RE-137's open question (#154): what the legacy Q4 word is. puzzbobb's reading reproduces on all 53 files measured, with no counterexample (Measure run 37116713027): the eleven families, Autodesk's 36 sample projects of 2016 to 2027, and the six reference models.
formats::parse_schematags,ClassEntry::tagis the base class's tag, never the class's own. Core Interior, for example, has 400 of 400.ClassEntry::ancestor_tagis the grandparent's tag wherever it is set: 98 of 98 on Core Interior.The Q4 addendum looked a grandparent's tag up among base tags, so each class it named was the one whose base is that grandparent.
Changes:
examples/probe_re146_q4_word.rsand reportreports/element-framing/RE-146-q4-word-is-the-grandparent.md.ClassEntry::tagandClassEntry::ancestor_tagnow say what the words are, and the reconnaissance document's Q4 addendum is marked resolved.Not done here: the schema-directed walker,
SchemaTable::tagged_ancestorandrvt-analyzeuseClassEntry::tagas a class's own tag. That is a follow-up, backlog item B24.The pre-2014 part of the report (no per-class GUID list) is not reproduced, because no such file is in the corpora.
Note
Low Risk
Research and documentation only; runtime schema parsing and walkers are unchanged, though downstream code still interprets
ClassEntry::tagincorrectly until B24.Overview
Documents RE-146 (#154): legacy
formats::parse_schemawords are the base class tag (ClassEntry::tag) and the grandparent tag (ClassEntry::ancestor_tag), validated on 53 Revit files (2016–2027) with no counterexamples—resolving RE-137’s open Q4 reading.Adds
examples/probe_re146_q4_word.rsandreports/element-framing/RE-146-q4-word-is-the-grandparent.md, updates CHANGELOG, and marks the Q4 addendum resolved indocs/rvt-moat-break-reconnaissance.md.ClassEntryfield docs insrc/formats.rsare rewritten to match; no parser or consumer behavior changes in this PR (walker /tagged_ancestor/rvt-analyzemisusingtagas the class’s own ordinal is explicitly deferred to B24).Reviewed by Cursor Bugbot for commit 2b8aea7. Configure here.