From 2efd1edad07ed75da8f2653d29ae92ae6c1b5b92 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 9 May 2026 23:46:45 +0000 Subject: [PATCH] whatif: relax MC-paths step from 500 to 100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit step=500 with min=100 made valid values 100, 600, 1100, … so typing a round number like 500 or 1000 tripped browser validation ("Please enter a valid value. The two nearest valid values are 100 and 600."). Found via headless click-through against the deployed instance — the Run-simulation submit was silently rejected. step=100 keeps a sensible up/down increment while accepting any multiple of 100 (100, 200, …, 5000, …, 50000). Co-Authored-By: Claude Opus 4.7 --- frontend/src/pages/WhatIf.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/WhatIf.tsx b/frontend/src/pages/WhatIf.tsx index 376934c..d012383 100644 --- a/frontend/src/pages/WhatIf.tsx +++ b/frontend/src/pages/WhatIf.tsx @@ -165,7 +165,7 @@ export function WhatIf() { onChange={(v) => update('n_paths', v)} min={100} max={50000} - step={500} + step={100} />