Skip to content

Commit d3e8127

Browse files
davclaude
authored andcommitted
Fix tracking path: lower bars_elapsed threshold from 12 to 3
The ring buffer only held 24 predictions (~2 hours), so bars_elapsed never reached 12. Lowered threshold to 3 (matching the minimum scoring requirement of 3 realized points). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 12be283 commit d3e8127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/layout/Dashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export function Dashboard() {
9494
if (!hindcast?.length || !prediction) return null;
9595
// Find most recent prediction with scoring and best_paths
9696
const scored = [...hindcast].reverse().find(
97-
(h) => h.scoring?.best_paths?.length && h.bars_elapsed >= 12,
97+
(h) => h.scoring?.best_paths?.length && h.bars_elapsed >= 3,
9898
);
9999
if (!scored?.scoring?.best_paths?.length) return null;
100100

0 commit comments

Comments
 (0)