CIS490/training/dashboard/static
Max Gorog 984300ba21 model bars: derive gradient from name (procedural, not per-name CSS)
The CSS-rule-per-canonical-name approach was wrong: any name the
producer publishes that wasn't in the hardcoded list (mlp_realistic,
cnn_oracle, knn_semi, anything new tomorrow) rendered grey because
no .model-fill.<name> rule matched.

Replace with a deterministic FNV-1a hash of the model string → hue,
applied inline as an OKLCH gradient when the row is created. Every
model string gets a stable, distinct color regardless of suffix or
case. Inline style beats any CSS rule, so this works whatever's in
dashboard.css.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 20:00:42 -05:00
..
dashboard.css model bars: !important on gradients to defeat any override 2026-05-08 17:24:34 -05:00
dashboard.js model bars: derive gradient from name (procedural, not per-name CSS) 2026-05-08 20:00:42 -05:00
index.html model bars: derive gradient from name (procedural, not per-name CSS) 2026-05-08 20:00:42 -05:00