diff --git a/server/templates/dashboard.html b/server/templates/dashboard.html index ba7fac7..38b9b12 100644 --- a/server/templates/dashboard.html +++ b/server/templates/dashboard.html @@ -775,6 +775,20 @@ return String(value); } + function formatObservedAtLocal(value) { + if (value === null || value === undefined || value === "") return "-"; + const raw = String(value).trim(); + const parsed = new Date(raw); + if (Number.isNaN(parsed.getTime())) { + return safeString(raw).slice(11, 19); + } + return parsed.toLocaleTimeString([], { + hour: "2-digit", + minute: "2-digit", + second: "2-digit", + }); + } + function renderStats(summary) { const finished = summary.finished_games || 0; const wins = summary.wins || 0; @@ -1295,27 +1309,12 @@
Decision Summary
-Move Scores
-| Move | Score |
|---|
Snake State This Turn
Move Scores
+| Move | Score |
|---|
Decision Summary
+Raw Reasoning Payload
${JSON.stringify(reasoning, null, 2)}