import "./style.css"; import { startCommandCenter } from "./phaser/startCommandCenter"; document.querySelector("#app")!.innerHTML = `
EV Grid Oracle — Command Center
A/B live: heuristic baseline vs GRPO-trained Oracle (Dream → Act)
Advanced
Oracle Advantage
avg wait
Click Step twice. Watch the “WIN” badge lock in. Then Run 60 for the cinematic proof.
Peak
Stress
Renew
Dream
READY
City Ops Replay
tick: 0
Tip: scrub the timeline to replay the recorded action sequence deterministically.
BASELINE
heuristic
ORACLE
loading…
`; { const lora = document.querySelector("#lora")!; lora.value = "NITISHRG15102007/ev-oracle-lora"; lora.title = "Hugging Face repo id for LoRA (exact spelling). Common typo: NITISHGR… — correct is NITISHRG… (HR)."; } startCommandCenter({ baselineMountId: "gameBaseline", oracleMountId: "gameOracle", btnNew: document.querySelector("#btnNew")!, btnStep: document.querySelector("#btnStep")!, btnRun: document.querySelector("#btnRun")!, btnSpawn: document.querySelector("#btnSpawn")!, btnDemo: document.querySelector("#btnDemo")!, scenarioEl: document.querySelector("#scenario")!, fleetEl: document.querySelector("#fleetMode")!, seedEl: document.querySelector("#seed")!, tickEl: document.querySelector("#tick")!, tickLabelEl: document.querySelector("#tickLabel")!, btnPlay: document.querySelector("#btnPlay")!, followEl: document.querySelector("#follow")!, loraEl: document.querySelector("#lora")!, baselineBadge: document.querySelector("#baselineBadge")!, oracleBadge: document.querySelector("#oracleBadge")!, kpiWait: document.querySelector("#kpiWait")!, kpiPeak: document.querySelector("#kpiPeak")!, kpiStress: document.querySelector("#kpiStress")!, kpiRen: document.querySelector("#kpiRen")!, kpiDream: document.querySelector("#kpiDream")!, dreamEl: document.querySelector("#dream")!, oracleEl: document.querySelector("#oracle")!, diffEl: document.querySelector("#diff")!, eventsEl: document.querySelector("#events")!, negoEl: document.querySelector("#nego")!, btnJudge: document.querySelector("#btnJudge")!, btnExport: document.querySelector("#btnExport")!, });