Skip to content

research(schema): RE-146 the Q4 word is the grandparent's tag, and ClassEntry::tag is the base's (#154) - #563

Merged
DrunkOnJava merged 3 commits into
mainfrom
re/re146-q4-word
Oct 3, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
re/re146-q4-word

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

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.

  • On every class that formats::parse_schema tags, ClassEntry::tag is the base class's tag, never the class's own. Core Interior, for example, has 400 of 400.
  • ClassEntry::ancestor_tag is 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:

  • New probe examples/probe_re146_q4_word.rs and report reports/element-framing/RE-146-q4-word-is-the-grandparent.md.
  • The docs of ClassEntry::tag and ClassEntry::ancestor_tag now say what the words are, and the reconnaissance document's Q4 addendum is marked resolved.

Not done here: the schema-directed walker, SchemaTable::tagged_ancestor and rvt-analyze use ClassEntry::tag as 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::tag incorrectly until B24.

Overview
Documents RE-146 (#154): legacy formats::parse_schema words 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.rs and reports/element-framing/RE-146-q4-word-is-the-grandparent.md, updates CHANGELOG, and marks the Q4 addendum resolved in docs/rvt-moat-break-reconnaissance.md. ClassEntry field docs in src/formats.rs are rewritten to match; no parser or consumer behavior changes in this PR (walker / tagged_ancestor / rvt-analyze misusing tag as the class’s own ordinal is explicitly deferred to B24).

Reviewed by Cursor Bugbot for commit 2b8aea7. Configure here.

…s on each class (#154)

Counts, against formats::schema_classes, how often ClassEntry::tag is the
class's base's tag and ancestor_tag its grandparent's (puzzbobb's claims
on #154), with counterexamples.
…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
DrunkOnJava enabled auto-merge (squash) October 3, 2026 10:50
@DrunkOnJava
DrunkOnJava merged commit 5c66432 into main Oct 3, 2026
23 checks passed
@DrunkOnJava
DrunkOnJava deleted the re/re146-q4-word branch October 3, 2026 11:09
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