From b5ebf6bec26972b74a75cbd2386c4fff8a4338d7 Mon Sep 17 00:00:00 2001 From: Jared Knowles Date: Tue, 11 Aug 2026 10:02:19 -0400 Subject: [PATCH] docs: clarify that synthetic draw generation is the fallback mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AGENTS.md Error Bar Convention section now explicitly states that synthetic draw generation from normal approximation is only used when real draws can't be fetched (network error, unsupported browser, HF outage). Makes clear the fallback is secondary, not primary, to the real-draw mechanism described in the new §5. Co-Authored-By: Claude Sonnet 5 --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index a800afc..5ef935e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -46,7 +46,7 @@ App.jsx (router) ### Error Bar Convention: 90% Intervals -The API returns 95% HPD intervals (`count_lower`, `count_upper`). However, all chart labels and calculations in this app use **90% intervals**. When converting HPD bounds to standard deviations for synthetic draw generation (used in Chart 5's ridgelines), the divisor used is **3.29** (corresponding to z = 1.645 for a two-tailed 90% interval). +The API returns 95% HPD intervals (`count_lower`, `count_upper`). However, all chart labels and calculations in this app use **90% intervals**. When converting HPD bounds to standard deviations for the synthetic draw generation fallback (used in the ridgeline chart if real draws can't be fetched — see "Real posterior draws via duckdb-wasm" above), the divisor used is **3.29** (corresponding to z = 1.645 for a two-tailed 90% interval). If you change this convention, update: - `RateDensityRidgeline.jsx` — SD calculation (`intervalWidth / 3.29`) and label text