Repository navigation
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
Conversation
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_ba37d088-bedf-4302-8dac-a55beb175a2a) |
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.
Summary
Checks Steffen's (STE1200) eight
element_headervectors 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 ElementIdsGlobal/ElemTabledoes 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 inGlobal/ElemTableand what a 2023 record's decode asks of the bytes at his offset.reports/element-framing/RE-132-slik-magnetar-vectors.mdand 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 inGlobal/ElemTable, and the bytes at their category position are not aBuiltInCategory. The IFC of every model is unchanged (no code outsideexamples/changes).Audit-honesty checklist
Legal and contribution hygiene
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_headervectors (Einhoven 2023, Core Interior 2024) against what rvt-rs reads—research only, no decoder or export changes.examples/probe_re132_slik_vectors.rsembeds 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/ElemTabledeclaration, and 2023 byte diagnosis when nothing is returned).reports/element-framing/RE-132-slik-magnetar-vectors.mdrecords CI results: 6 of 8 match on every field at delta 0; Einhoven walls 2921 and 3637 are absent fromGlobal/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.