Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

web: the unlabelled sparklines were scaled by their own noise

phoenixclyde6a7c6f8275a5
diff --git a/serve/web/app.js b/serve/web/app.js
index 6c821c20b..4460a95a7 100644
--- a/serve/web/app.js
+++ b/serve/web/app.js
@@ -139,7 +139,7 @@ function spark(id, values, max) {
const svg = $(id);
const v = (values || []).map((x) => (x == null ? 0 : x));
if (v.length < 2) { svg.querySelector(".line").setAttribute("d", ""); svg.querySelector(".area").setAttribute("d", ""); return; }
- const top = Math.max(max || 0, ...v, 1e-9);
+ const top = Math.max(max || 0, ...v, 1);
const pts = v.map((x, i) => [(i / (v.length - 1)) * 100, 30 - (x / top) * 26]);
const line = pts.map((p, i) => `${i ? "L" : "M"}${p[0].toFixed(2)},${p[1].toFixed(2)}`).join("");
svg.querySelector(".line").setAttribute("d", line);