Commit 5cb35db
committed
Add interactive GP concrete strength explorer (BOxCrete website)
GitHub Pages site at docs/ providing an interactive web UI for exploring
concrete mix compressive-strength predictions from the Gaussian process
model. The page runs the GP entirely in the browser via a WASM build of
the BLAS routines and a small JS port (gp.mjs).
Highlights
- Composition sliders with SI/imperial unit toggle
- Performance-tradeoff scatter (GWP, cost, strength) with axis switches,
filters, and Pareto-optimal labelling
- Predicted strength curve with \u00b12\u03c3 uncertainty band and far-from-data
warning
- Per-mix and per-ingredient insight panels (mix_analyses.json)
- About modal, citation copy buttons (BibTeX/APA), references panel
- Light/dark themes with frosted-glass header and animated gradient
- Mobile-first responsive layout: unified scatter/sliders panel with
tab-style toggle, viewport-fit panels, evenly-spaced header items,
iOS background fixes via fixed bg-layer
- Header restructured into h1 + .header-links (centered nav) +
.header-actions wrapper so right-anchored controls survive when
individual children are hidden on mobile
Supporting infrastructure
- scripts/export_model.py: serializes the trained GP to JSON for the web UI
- docs/model/*.json: exported GP parameters, training data, mix analyses
- docs/blas_f64.{wasm,js}: WASM glue for matrix ops in the browser
- test/test_js_gp.mjs: parity test for the JS GP against the Python model
- .github/workflows/js-sync.yml: CI to keep JS GP in sync1 parent 25c31fd commit 5cb35db
19 files changed
Lines changed: 4778 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
Whitespace-only changes.
Loading
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Loading
Loading
0 commit comments