/* fig.01 — the operations console. A site-local figure rather than the design system's generic one: every panel is drawn from a system we actually run, so the hero reads as our portfolio and not as a stock dashboard. Liveness is information only — rows arrive, latency ticks, nothing loops for effect. */ const { TimeSeriesForecast: KTSF } = window.SoftVerxDesignSystem_6fd95b; const KFEED = [ { sys: "mdm", src: "feeder 11 · mtr-441", event: "Interval failed validation — held for the metering desk", conf: 0.96 }, { sys: "vision", src: "line 3 · cam-08", event: "SKU identified, PET clear stream", conf: 0.97 }, { sys: "agri", src: "house 4 · probe-12", event: "Irrigation setpoint applied, within grower bounds", conf: 0.93 }, { sys: "iot", src: "fleet · ac-2210", event: "Compressor alarm acknowledged in 42s", conf: 0.95 }, { sys: "docs", src: "batch 41 · p118", event: "14 fields extracted, one below threshold", conf: 0.98 }, { sys: "agent", src: "ap run 2,318", event: "Three-way match clean, queued for posting", conf: 0.91 }, { sys: "cis", src: "circle 3 · c-88142", event: "Routed to lineman, clock started", conf: 0.89 }, { sys: "ml", src: "demand model", event: "Forecast refreshed, MAPE 4.1% on holdout", conf: 0.94 }, ]; const KSTAGES = [ { l: "sense", v: "41.2k", u: "readings / hr", f: 1 }, { l: "stream", v: "41.2k", u: "messages / hr", f: 1 }, { l: "store", v: "41.2k", u: "rows written", f: 1 }, { l: "model", v: "6.8k", u: "inferences / hr", f: 0.42 }, { l: "act", v: "1.9k", u: "commands + records", f: 0.24 }, { l: "review", v: "212", u: "to a person / day", f: 0.08 }, ]; const KQUEUE = [ { l: "held meter reads", v: "0.9%", f: 0.09, who: "metering desk" }, { l: "fields below threshold", v: "3.1%", f: 0.31, who: "billing clerk" }, { l: "contested items on the line", v: "2.4%", f: 0.24, who: "line operator" }, { l: "invoices short of a match", v: "6.0%", f: 0.6, who: "finance" }, ]; const KTONE = { mdm: "var(--sx-accent)", vision: "var(--sx-signal)", agri: "var(--sx-field)", iot: "var(--sx-accent)", docs: "var(--sx-signal)", agent: "var(--sx-accent)", cis: "var(--text-quiet)", ml: "var(--sx-field)" }; function KPanel({ title, aside, children, style }) { return (

{title}

{aside}
{children}
); } function OperationsConsole({ mobile }) { const [rows, setRows] = React.useState(KFEED.slice(0, 5)); const [latency, setLatency] = React.useState(38); const cursor = React.useRef(5); React.useEffect(() => { if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return; const feed = setInterval(() => setRows((r) => { const next = KFEED[cursor.current % KFEED.length]; cursor.current += 1; return [next, ...r.filter((x) => x.src !== next.src)].slice(0, 5); }), 3200); const tick = setInterval(() => setLatency(34 + Math.round(Math.random() * 9)), 1900); return () => { clearInterval(feed); clearInterval(tick); }; }, []); const kpis = [ { label: "consumers billed", value: "7.5M", delta: mobile ? "lesco" : "lesco meter-to-cash" }, { label: mobile ? "meters managed" : "meters under management", value: "10k+", delta: mobile ? "scales to 10M" : "schema scales to 10M" }, { label: mobile ? "bills / month" : "bills read monthly", value: "100k+", delta: mobile ? "alberta" : "alberta municipal estate" }, { label: "inference p95", value: latency + "ms", delta: mobile ? "edge + cloud" : "edge and cloud combined" }, ]; const line = { border: "1px solid var(--border-default)" }; return (
{[0, 1, 2].map((i) => )} softverx / operations live
{kpis.map((k) => (

{k.label}

{k.value}

{k.delta}

))}
actual forecast · sample
}>

{mobile ? "Band is the 80% interval, scored against what arrived." : "Band is the 80% interval. The forecast is scored against what arrived, and the error report ships with it."}

last {mobile ? 4 : 5} events}>
    {(mobile ? rows.slice(0, 4) : rows).map((d, i) => (
  • {d.sys} {d.src} {d.conf.toFixed(2)}

    {d.event}

  • ))}
{!mobile &&
{mobile ? "magnitudes" : "representative magnitudes"}}>
{KSTAGES.map((s) => (
{s.l} {s.v}{mobile ? "" : " " + s.u}
))}

{mobile ? "Cheap stages answer most of the volume; a person is only asked at the end." : "The narrowing is the design. Cheap stages answer most of the volume; the expensive model is only asked when they cannot, and a person is only asked at the end."}

{mobile && (

what reaches a person

{KQUEUE.map((q) => (
{q.l} {q.who} {q.v}
))}
)}
{!mobile && share of volume}>

Every system here has a stop. Below threshold it hands over with the evidence attached rather than guessing.

}
}

{mobile ? "Representative interface. Magnitudes are ours; no client data is shown." : "Representative interface, drawn from the systems described on this site. Magnitudes are ours; no client data is shown."}

); } Object.assign(window, { OperationsConsole });