Skip to content

research(elements): RE-132 STE1200's element_header vectors reproduce on Core Interior 4 of 4 and Einhoven 2 of 4 (#152) (#421) - #524

Merged
DrunkOnJava merged 3 commits into
mainfrom
re/re132-slik-vectors
Sep 30, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
re/re132-slik-vectors

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

Checks Steffen's (STE1200) eight element_header vectors for Einhoven and Core Interior (Discussion #112) against what rvt-rs reads, with a probe and a report. 6 of 8 agree on every field, at the same offset; the other 2 are ElementIds Global/ElemTable does not declare. Research only: no change to rvt-rs output.

Motivation

The vectors came with the promise, made in Discussion #112, that we would check them on the runners and post the counts. They are the second independent reading of these records (Steffen's own reader), and the first cross-check of the 2023 envelope.

Changes

  • examples/probe_re132_slik_vectors.rs: his eight vectors (credited) and a lookup of each in what rvt-rs reads from the file with his SHA-256, printing per vector which of stream, offset, BuiltInCategory, class, flags word (+0x46, RE-128) and box agree. For a record rvt-rs does not return it says whether the id is declared in Global/ElemTable and what a 2023 record's decode asks of the bytes at his offset.
  • reports/element-framing/RE-132-slik-magnetar-vectors.md and a CHANGELOG entry.

Testing

Measure run 36725925873 on GitHub's runners (gh workflow run measure.yml --ref <branch> -f base=none -f probe=probe_re132_slik_vectors): Core Interior 4 of 4 and Einhoven 2 of 4 vectors agree on every field, every offset exactly his (delta 0), on the 2024 and the 2023 envelope. Einhoven's walls 2921 and 3637 are not returned: neither id is declared in Global/ElemTable, and the bytes at their category position are not a BuiltInCategory. The IFC of every model is unchanged (no code outside examples/ changes).

  • Required checks, MSRV 1.85 and the rest pass on GitHub's runners
  • Verified on real Revit files (MIT-licensed Core Interior and Einhoven) against an independent reader's values; the probe reproduces it

Audit-honesty checklist

  • What is not established is stated: what Einhoven's two undeclared records are, and whether Revit exports them (the corpus holds no Revit export of Einhoven)
  • His earlier 30-vector pack is on files outside the CI corpus and is not measured
  • No emojis, private paths or PII

Legal and contribution hygiene

  • Apache-2.0
  • Clean-room: public byte observations of the named MIT files; the expected values are Steffen's, given for use in the repository with credit
  • No new fixtures

Breaking changes

None.

Related issues

Refs #152, #421.


Note

Low Risk
Documentation and a new examples/ probe only; no library, IFC, or export behavior changes.

Overview
Adds RE-132 research that cross-checks STE1200’s eight independent element_header vectors (Einhoven 2023, Core Interior 2024) against what rvt-rs reads—research only, no decoder or export changes.

examples/probe_re132_slik_vectors.rs embeds Steffen’s expected offsets, ElementIds, class, BuiltInCategory, flags at +0x46 (RE-128), and box dimensions; it hashes the input .rvt, scans records the library already returns, and prints JSON per vector (field agreement, offset_delta, Global/ElemTable declaration, and 2023 byte diagnosis when nothing is returned). reports/element-framing/RE-132-slik-magnetar-vectors.md records CI results: 6 of 8 match on every field at delta 0; Einhoven walls 2921 and 3637 are absent from Global/ElemTable, so rvt-rs does not emit them (fail-closed). CHANGELOG gets a Research entry under Unreleased.

Reviewed by Cursor Bugbot for commit 8ac04e9. Configure here.

@cursor

cursor Bot commented Sep 30, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot 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_ba37d088-bedf-4302-8dac-a55beb175a2a)

@DrunkOnJava
DrunkOnJava merged commit 591413f into main Sep 30, 2026
19 checks passed
@DrunkOnJava
DrunkOnJava deleted the re/re132-slik-vectors branch September 30, 2026 14:13
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