Skip to content

Compliance in the model: drill to one element, with VIM's 3D viewer coloured by compliance - #87

Merged
SamuelAB merged 2 commits into
mainfrom
claude/project-thread-11amcw
Nov 24, 2026
Merged

SamuelAB merged 2 commits into
mainfrom
claude/project-thread-11amcw

Conversation

@SamuelAB

Copy link
Copy Markdown
Owner

Requested by Sam · project thread

What

New page /compliance/model/: where in one model version the plan is not followed.

  • Levels: model, workset, category, family, type, element, single required value. Or storey first. A level with one group is passed through.
  • 3D view: VIM's open web viewer (vim-web, MIT), loaded on demand, each element coloured by its compliance. Drilling hides the rest and frames what is left. Picking an element in 3D opens it in the list.
  • "What is missing here" per check, with the cheapest fix: for a type parameter, how many types to fill and how many elements that fixes.
  • One data file, openbep-compliance-elements 0.1 (described in compliance/FORMAT.md). No project-specific code in the page.
  • Example: real values read once from VIM's public sample model by compliance/model/tools/build_residence.js. The .vim file is not committed; the page loads it from VIM's CDN.
  • Linked from /compliance/.

Tests

node compliance/test/test_model.js (added to CI): two different results files, at 1280 and 390 px, numbers add up, drill reaches one element, link reopens it, broken file refused. The 3D viewer is not loaded in CI; it was checked by hand in a headless browser.


Generated by Claude Code

…oloured by compliance

New page /compliance/model/ reads one results file (openbep-compliance-elements 0.1):
model, workset, category, family, type, element, single required value, or level first.
The 3D view is VIM's open web viewer, loaded on demand. The example holds real values
read once from VIM's public sample model.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PYjDnEAE2YjM6FXu9VUKu8
@SamuelAB SamuelAB self-assigned this Nov 24, 2026
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PYjDnEAE2YjM6FXu9VUKu8
@SamuelAB
SamuelAB merged commit 76a0903 into main Nov 24, 2026
1 check passed
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.

2 participants