Repository navigation
feat(viewer): Lane Eight confidence UI, guidance, and tier1 demo gallery - #131
Merged
Merged
Conversation
Curate Apache-2.0 synthetic fixtures under corpus/tier1/ with license and known-count sidecars for levels/walls/floors/doors/windows, extend project_count_fixtures for fixture_metric inventories, and wire corpus-tier1 (always-on) plus corpus-tier2 (external magnetar) CI jobs. Co-authored-by: DrunkOnJava <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
…e link Add a version-gated (Revit 2023/2024) filtered-tag scanner that emits neutral PartitionRecordCandidate records, expresses the existing ArcWall path, and joins recovered ElementIds to Global/ElemTable offsets (M3-03 / M3-04). Includes JSON probe example and tier1/corpus tests. Co-authored-by: DrunkOnJava <[email protected]>
Satisfy clippy::collapsible_if under -D warnings. Co-authored-by: DrunkOnJava <[email protected]>
Harden Level/Wall/Floor/Door/Window/Room/Material wrong-schema rejection and empty-input behavior; add ArcWall typed partition decoder with class/tag rejection; expose decoder_for_class/decode_typed; add tier1 corpus tests that exercise fixture payloads without inventing geometry. Co-authored-by: DrunkOnJava <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
Add fail-closed recovery APIs for wall location curves (schema endpoints + ArcWall partition), floor boundary loops, door/window host relationships, and level elevations. Extend Wall typed view with location curve fields. Tier1 tests assert honest empty/partial recovery on scaffold fixtures. Co-authored-by: DrunkOnJava <[email protected]>
Primitives live in src/geometry/mod.rs; recovery in recovery.rs. Co-authored-by: DrunkOnJava <[email protected]>
Also fix match exhaustiveness and type annotation for clippy/rustc. Co-authored-by: DrunkOnJava <[email protected]>
Make scaffold / typed-no-geometry / geometry / strict control IFC emission (not only post-export gates): drop HostObjAttr proxies from production export, strip geometry in typed-no-geometry, attach Lane Six recovery when present, and keep diagnostics sidecars schema-shaped. Co-authored-by: DrunkOnJava <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
Surface decode/export confidence and IFC quality bars from Lane Seven diagnostics, refine supported-file copy for synthetic vs real expectations, stage corpus/tier1 fixtures into the viewer demo gallery, and expose openRvtBytesWithDiagnosticsMode on the WASM surface. Co-authored-by: DrunkOnJava <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava
marked this pull request as ready for review
August 29, 2026 10:07
DrunkOnJava
added a commit
that referenced
this pull request
Aug 31, 2026
…ery (#131) ## Summary Lane Eight (viewer) — surface decode/export confidence and IFC quality bars from Lane Seven diagnostics, refine in-app supported-file guidance for synthetic vs real expectations, and stage the redistributable `corpus/tier1/` fixtures in the demo gallery. Depends on Lane Seven (`ifc/export-modes`, PR #130). ## Motivation Closes the M6 viewer-beta path for confidence messaging and redistributable demos (Refs #42, #43, #44). Users need honest scaffold ~25% feedback on synthetics and a same-origin gallery that does not require Autodesk samples. ## Changes - `src/wasm.rs` — `openRvtBytesWithDiagnosticsMode` / `…AndLimits` for Lane Seven quality modes - `viewer/src/worker.ts` — parse with selected IFC bar via the new WASM binding - `viewer/src/main.ts` + `viewer/index.html` — Decode / Export confidence rows, IFC bar selector + validation messaging, refined support matrix - `docs/viewer-demos.json` + `viewer/scripts/stage-demos.mjs` — stage `architectural-2024`, `structural-2023`, `mep-2024` (with license sidecars) from `corpus/tier1/` - `viewer/tests/viewer-regression.spec.ts` — gallery + confidence/IFC-bar coverage - `viewer/README.md` — workflow docs for tier1 / confidence ## Testing - [x] `wasm-pack build --target web -- --features wasm --no-default-features` - [x] WASM network-import audit (VW1-21) — PASS - [x] `npm run stage:demos` — 6/8 demos staged (tier1 + synthetic + IFC; optional RAC RFAs absent) - [x] `npm run typecheck` / `npm run build` - [x] `rvt-ifc` on `architectural-2024` — confidence `scaffold` / score `0.25` - [x] Playwright browser regressions — 3 passed, 1 skipped (no external project corpus) - [x] Manual GUI against localhost:5173 — tier1 gallery load, Decode/Export rows, IFC bar geometry fail-closed messaging - [x] `cargo fmt --check` N/A: IFC exporter byte-stability and element-decoder unit-test checklist (viewer/WASM surface only). ## Audit-honesty checklist - [x] README / viewer docs state scaffold ~25% for tier1 synthetics; typed real-project extraction remains unsolved - [x] No over-claim of geometry/typed coverage - [x] Commit messages describe WHAT/WHY - [x] No emojis / private paths - [x] No Autodesk proprietary content — only Apache-2.0 corpus/tier1 synthetics and committed IFC fixtures ## Breaking changes None. New WASM exports are additive. Demo catalog gains tier1 entries; `synthetic-mvp` remains as a gen-fixture fallback. ## Screenshots or output samples Cloud Agent artifacts: gallery landing, File status Decode/Export confidence (~25%), IFC bar geometry warning, supported-profile matrix, walkthrough video. ## Related issues - Refs #42 (M6-01 confidence — already closed; this extends Lane Seven fields) - Refs #43 (M6-02 guidance — already closed; copy refined) - Closes #44 (M6-03 demo gallery with redistributable tier1 files) - Depends on #130 (`ifc/export-modes`) --------- Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: DrunkOnJava <[email protected]>
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
Lane Eight (viewer) — surface decode/export confidence and IFC quality bars from Lane Seven diagnostics, refine in-app supported-file guidance for synthetic vs real expectations, and stage the redistributable
corpus/tier1/fixtures in the demo gallery.Depends on Lane Seven (
ifc/export-modes, PR #130).Motivation
Closes the M6 viewer-beta path for confidence messaging and redistributable demos (Refs #42, #43, #44). Users need honest scaffold ~25% feedback on synthetics and a same-origin gallery that does not require Autodesk samples.
Changes
src/wasm.rs—openRvtBytesWithDiagnosticsMode/…AndLimitsfor Lane Seven quality modesviewer/src/worker.ts— parse with selected IFC bar via the new WASM bindingviewer/src/main.ts+viewer/index.html— Decode / Export confidence rows, IFC bar selector + validation messaging, refined support matrixdocs/viewer-demos.json+viewer/scripts/stage-demos.mjs— stagearchitectural-2024,structural-2023,mep-2024(with license sidecars) fromcorpus/tier1/viewer/tests/viewer-regression.spec.ts— gallery + confidence/IFC-bar coverageviewer/README.md— workflow docs for tier1 / confidenceTesting
wasm-pack build --target web -- --features wasm --no-default-featuresnpm run stage:demos— 6/8 demos staged (tier1 + synthetic + IFC; optional RAC RFAs absent)npm run typecheck/npm run buildrvt-ifconarchitectural-2024— confidencescaffold/ score0.25cargo fmt --checkN/A: IFC exporter byte-stability and element-decoder unit-test checklist (viewer/WASM surface only).
Audit-honesty checklist
Breaking changes
None. New WASM exports are additive. Demo catalog gains tier1 entries;
synthetic-mvpremains as a gen-fixture fallback.Screenshots or output samples
Cloud Agent artifacts: gallery landing, File status Decode/Export confidence (~25%), IFC bar geometry warning, supported-profile matrix, walkthrough video.
Related issues
ifc/export-modes)