← All projects
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.

PrototypeFirst located record · 2026-08Archive checked · 2026-10-26
OCamlBonsaiJavaScript
01 / THE INTENT

Make incremental computation visible as state propagates.

02 / THE FLOW

How it works

  1. 01Change a price
  2. 02Update derived metrics
  3. 03Inspect alerts
  4. 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.