Knowledge & Learning / PROJECT NOTES
Bonsai · Incremental Risk Graph
A small risk panel uses prices, exposure, P&L, and a dependency graph to show partial recomputation.
OCamlBonsaiJavaScript
01 / THE INTENT
Make incremental computation visible as state propagates.
02 / THE FLOW
How it works
- 01Change a price
- 02Update derived metrics
- 03Inspect alerts
- 04Follow recomputation
03 / THE WORK
What exists
01
Interactive risk panel and dependency graph
02
Dependency-free browser preview
03
Corresponding OCaml/Bonsai example
04 / CURRENT POSITION
Where the project stands
A browser preview and OCaml example exist. The convenient preview uses JavaScript rather than a compiled Bonsai build.
AI-assisted English translation of the Chinese project record.