Built this Monte Carlo simulation suite that clones the spreadsheet's formula graph (using fast-formula-parser) and runs statistical analysis in sidebar V8. No server round trip or data leaks.
What's interesting: uses Vite to bundle the Svelte UI and math into a 1.5Mb Index.html that Sheets sidebar renders. `bun ship` -> refresh sidebar.
Also mulberry32 for reproducible sim runs to "work on my machine."
The math is open source: https://www.npmjs.com/package/@veenie/risk
Try out the addon in GSheets https://workspace.google.com/u/0/marketplace/app/montesheet/...
Would love some feedback from the finance heads among you. Load examples and break 'em apart!