2 Commits
Author SHA1 Message Date
blumia bd8afeb686 fix: give token bars a height so their fills paint
A Row lays a childless ColoredBox out at zero height (the cross axis is
loose), so the token segments in the model bars, the token-composition bar
and the tool success bars painted nothing, while the single-ColoredBox
steps/cost bars worked. Stretching those rows makes the fills visible; the
stats test now asserts a token segment's height, not only its width.
2026-11-26 20:54:03 +08:00
blumia 2e0308f232 fix: keep a token-model bar visible even at a tiny share
- model bars are 8px tall and a nonzero share paints at least 8px, so a
  model that is a fraction of a percent of the report still reads as a
  sliver on the full-width track instead of an empty bar
- an emulator check of the live report showed the shares were correct
  (the top model is 1.0 and renders full width); the many near-zero rows
  came from the real data, where eight of ten models are under a percent
- widget test covers the tokens bar width and the metric grid
2026-11-26 19:56:31 +08:00