Commit 51dc9fa
Chebyshev scalarization + evolution-as-inference explorable (0.3.1) (#21)
Chebyshev (inference/pareto.rs): ChebyshevScalarization - weighted-max norm
over an ideal point, latent or fixed weight. Reaches non-convex Pareto front
interiors where weighted-sum optima provably collapse to endpoints; pinned
at the theorem level on the concave front f1=x, f2=1-x^2 (fixed-w contrast
+ weight sweep + latent-w conditional tracking). Docs now state the
latent-w marginal tilt exp(-s*m(w)) honestly for both scalarizations.
Explorable (crates/fugue-evo-wasm + docs): ExploreSmcInference steps the
real inference layer one tempering rung per call (GaussianPrior program,
twin-peaks factor likelihood, fugue smc_prior_particles/normalize/resample/
rejuvenate_particles/CrossoverKernel), streaming particles, ESS, resampling
events, crossover swaps, and the running log-evidence; density_grid returns
the exact tempered target for the heat overlay. Engine tests: determinism,
ladder shape, analytic posterior mean + evidence vs grid quadrature,
annealing concentration (distance-to-nearest-mode). Widget (viz/inference.js)
follows the site conventions (wasm gate + notice, lazy init, seeded scrub,
controls/canvas/instruction/readouts, reduced-motion batch); mounted on the
"Evolution as Inference" architecture page; wasm crate gains ppl feature +
direct fugue-ppl dep. Verified live in a browser against the built pkg
(autoplay ladder, Replay, Reset, Step, readouts).
Claude-Session: https://claude.ai/code/session_01HmWLBR9Zq6hPG5o7URDuNJ
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 0b052b2 commit 51dc9fa
10 files changed
Lines changed: 1211 additions & 13 deletions
File tree
- crates/fugue-evo-wasm
- src
- docs
- src/architecture
- viz
- src/inference
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 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 | + | |
| 41 | + | |
| 42 | + | |
10 | 43 | | |
11 | 44 | | |
12 | 45 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments