Commit Graph
2 Commits
Author SHA1 Message Date
jared ea6d554e3d fix: don't poison shard cache on failure; require real draws for ready status
Two Important review findings on useDrawDistribution:
- ensureShardRegistered cached the rejected promise on fetch/registration
  failure, permanently stuck for that (model,year,state) key until a full
  page reload. Now deletes the cache entry on failure so the next caller
  retries fresh.
- status could become 'ready' even when the LEAID-bound query returned zero
  usable rows (district not present in the draws shard), silently mislabeling
  a fitSkewedInterval-only render as real posterior draws. Now requires at
  least one group with actual draws before reporting 'ready'.
2026-08-11 09:22:01 -04:00
jared d5bf18482a feat: drive Chart 2's box plot from real posterior draws, with fallback 2026-08-11 09:07:53 -04:00