Add experiment logs to the monitoring page #48

Merged
0950726 merged 122 commits from feat/experiment-logs into dev 2026-01-28 10:16:00 +00:00
Showing only changes of commit 883f0a95a6 - Show all commits

View File

@@ -85,9 +85,8 @@ const useProgramStore = create<ProgramState>((set, get) => ({
const rootGoals = phase["goals"] as Record<string, unknown>[]; const rootGoals = phase["goals"] as Record<string, unknown>[];
const flatList: GoalWithDepth[] = []; const flatList: GoalWithDepth[] = [];
// Helper: Define this ONCE, outside the loop
const isGoal = (item: Record<string, unknown>) => { const isGoal = (item: Record<string, unknown>) => {
return item["plan"] !== undefined && item["plan"] !== null; return item["plan"] !== undefined;
}; };
// Recursive helper function // Recursive helper function