diff options
| author | Agando <roduccomm@gmail.com> | 2026-10-23 17:38:10 +0200 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-10-23 17:38:10 +0200 |
| commit | 7f4732e5089b1430e736bc6a8b8578a674f31f36 (patch) | |
| tree | c51e8da70e8468d234a60510d678fcfb4a797eab /downloads/system-info.html | |
| parent | 0c01cf48e83eecca953d0c6cc2dc949aed552f2f (diff) | |
fix(newos4): measure predictor accuracy over paired predictions (v4.6.56)
The accuracy readout was structurally 0%: module-predictor.js:187 incremented the
denominator on every observed run while the numerator only moved when a stored
prediction existed, and predictions were stored only by the manual `predict`
command (the AI tool predict_task computed one and discarded it). Replaying the
AI loop's own call path with 6 tasks printed "Predictions made: 0, Accuracy: 0/6".
- pending predictions with a 15m TTL, consumed by threaded id -> task hash ->
cli-only similarity >= 0.5; unpaired runs never enter the denominator
- duration scored within 30% or 3s (integer predictions vs fractional observations)
- errorPct capped at 500% so one miss cannot poison the mean error
- schema v2: v1 correct/total counters dropped on load, observed runs and the
prediction counter kept; task text stored as an FNV-1a hash only
- tuning (confidence-threshold, min-data-points, pair-ttl) persists
- min-data-points now scales confidence (was declared, printed, settable, unread)
- AI loop registers a prediction per turn and threads its id; predict_task
returns predictionId; durations exclude chat-lock queue wait
- status/dashboard say "n/a" instead of "N/A%", and carry paired count, mean
error, turns error, pending and unpaired counts
- test: modules/test/test-predictor-accuracy.js (26 assertions)
Live on main.html v4.6.56: fresh session -> "Accuracy: n/a (0/0 paired)";
one paired run -> "100% (1/1 paired) - mean error 5% - turns +-0.0".
Diffstat (limited to 'downloads/system-info.html')
| -rw-r--r-- | downloads/system-info.html | 262 |
1 files changed, 262 insertions, 0 deletions
diff --git a/downloads/system-info.html b/downloads/system-info.html new file mode 100644 index 0000000..4991292 --- /dev/null +++ b/downloads/system-info.html @@ -0,0 +1,262 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"> + <meta name="theme-color" content="#0f1420"> + <meta name="color-scheme" content="dark"> + <meta name="description" content="newOS4 v4.6.27 system snapshot — modules, skills, agents, token usage, and health metrics."> + <meta property="og:title" content="newOS4 System Info"> + <meta property="og:description" content="System snapshot — 46 modules, 39 skills, token usage, agents, and health metrics."> + <meta property="og:type" content="website"> + <title>newOS4 System Info</title> + <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ctext y='13' font-size='13'%3E%E2%9A%99%EF%B8%8F%3C/text%3E%3C/svg%3E"> + <style> + * { box-sizing: border-box; margin: 0; padding: 0; } + html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; } + body { + font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; + font-size: 16px; + background: #0f1420; + color: #e4e4e4; + min-height: 100vh; + padding: clamp(0.75rem, 3vw, 2rem); + padding-left: max(clamp(0.75rem, 3vw, 2rem), env(safe-area-inset-left)); + padding-right: max(clamp(0.75rem, 3vw, 2rem), env(safe-area-inset-right)); + padding-bottom: max(clamp(0.75rem, 3vw, 2rem), env(safe-area-inset-bottom)); + overflow-wrap: break-word; + -webkit-tap-highlight-color: transparent; + } + .container { max-width: 1200px; margin: 0 auto; } + h1 { text-align: center; color: #00d9ff; font-size: clamp(1.5rem, 6vw, 2.5rem); margin-bottom: 0.35rem; text-shadow: 0 0 20px rgba(0,217,255,0.5); } + .subtitle { text-align: center; color: #8b93a7; font-size: clamp(0.8rem, 3vw, 0.95rem); margin-bottom: clamp(1rem, 4vw, 2rem); } + .grid { display: grid; grid-template-columns: 1fr; gap: clamp(0.75rem, 3vw, 1.5rem); } + @media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } } + @media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } } + .card { + background: #151b2e; border-radius: 12px; + padding: clamp(0.9rem, 4vw, 1.5rem); + border: 1px solid rgba(255,255,255,0.08); + min-width: 0; + } + .card h2 { color: #00d9ff; font-size: clamp(0.95rem, 4vw, 1.2rem); margin-bottom: 0.85rem; border-bottom: 1px solid rgba(0,217,255,0.3); padding-bottom: 0.5rem; } + dl.stat-list { display: block; } + dl.stat-list > div { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.55rem 0; min-height: 2.4rem; border-bottom: 1px solid rgba(255,255,255,0.05); } + dl.stat-list > div:last-child { border-bottom: none; } + dt.stat-label { color: #a8b0c4; min-width: 0; } + dd.stat-value { font-weight: 600; color: #fff; text-align: right; min-width: 0; } + .stat-value.ok { color: #00ff88; } + .stat-value.warn { color: #ffaa00; } + .stat-value.error { color: #ff4466; } + .note { margin-top: 0.85rem; color: #8b93a7; font-size: 0.8rem; line-height: 1.45; } + .module-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; } + .tag { background: rgba(0,217,255,0.16); padding: 0.3rem 0.6rem; border-radius: 20px; font-size: 0.72rem; line-height: 1.4; color: #00d9ff; } + .tag.core { background: rgba(0,255,136,0.14); color: #00ff88; } + .tag.ext { background: rgba(255,170,0,0.14); color: #ffaa00; } + .tag.modified { background: rgba(255,68,102,0.16); color: #ff4466; border: 1px solid #ff4466; } + .model-item { margin: 0.65rem 0; min-width: 0; } + .model-top { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.78rem; margin-bottom: 0.3rem; } + .model-name { color: #b8c0d4; min-width: 0; overflow-wrap: break-word; } + .model-count { color: #8b93a7; flex-shrink: 0; } + .model-track { background: rgba(255,255,255,0.08); border-radius: 8px; overflow: hidden; } + .model-fill { height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: flex-end; padding: 0 0.6rem; font-size: 0.75rem; font-weight: 600; color: #fff; min-width: 2.6rem; } + .model-fill.c1 { background: #0088cc; } + .model-fill.c2 { background: #7a3db8; } + .model-fill.c3 { background: #009977; } + .model-fill.c4 { background: #cc5500; } + .model-fill.c5 { background: #8a6d1f; } + .model-fill.c6 { background: #a83d6e; } + .agent-row { display: flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0; min-height: 2.4rem; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.05); } + .agent-row:last-child { border-bottom: none; } + .agent-icon { width: 8px; height: 8px; border-radius: 50%; background: #6c7a95; flex-shrink: 0; } + .agent-name { min-width: 0; overflow-wrap: break-word; } + .badge { display: inline-block; padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.68rem; font-weight: 600; flex-shrink: 0; } + .badge-auto { background: rgba(0,217,255,0.16); color: #00d9ff; } + .badge-arch { background: rgba(255,170,0,0.16); color: #ffaa00; } + .badge-search { background: rgba(0,255,136,0.16); color: #00ff88; } + .badge-sleep { background: rgba(120,120,140,0.2); color: #a8b0c4; margin-left: auto; } + .timestamp { text-align: center; color: #8b93a7; font-size: 0.78rem; margin-top: clamp(1rem, 4vw, 2rem); } + @media (prefers-reduced-motion: reduce) { h1 { text-shadow: none; } } + @media (min-width: 1024px) { .card { transition: border-color 0.3s ease; } .card:hover { border-color: rgba(0,217,255,0.35); } } + @media print { + body { background: #fff; color: #111; } + h1 { color: #005f80; text-shadow: none; } + .card { background: #f6f6f6; border: 1px solid #ccc; break-inside: avoid; } + .card h2 { color: #005f80; } + .stat-label, .model-name, .model-count, .note, .timestamp, .subtitle { color: #555; } + .stat-value { color: #000; } + .stat-value.ok { color: #0a7a3d; } + .stat-value.warn { color: #9c6200; } + .stat-value.error { color: #b3001e; } + .model-track { background: #ddd; } + .model-fill { color: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; } + } + </style> +</head> +<body> + <script type="application/json" id="system-data"> +{ + "version": "v4.6.27", + "vfs": { "files": 467, "dirs": 181, "size": "1431.7KB" }, + "memory": { "heap": "16.3MB", "graphNodes": 41, "graphEdges": 49 }, + "modules": { "loaded": 46, "core": 23, "ext": 24, "available": 47, "modified": ["OrchestratorModule"] }, + "skills": 39, + "agents": [ + { "id": "agent-mvdsl9qg-5sq9-auto-learner", "role": "auto-learner", "status": "sleeping", "caps": 4, "badge": "auto" }, + { "id": "agent-mvdsl9r2-bkm1-kernel-architect", "role": "kernel-architect", "status": "sleeping", "caps": 4, "badge": "arch" }, + { "id": "agent-mvdsl9rl-bq7d-searcher", "role": "searcher", "status": "sleeping", "caps": 3, "badge": "search" } + ], + "ollama": { "connected": true, "model": "glm-5.3:cloud" }, + "usage": { + "total": 500, "prompt": 10006288, "completion": 956373, + "avgLatency": 18610, "timeSpanHours": 22.1, "provider": "Ollama", + "byModel": { + "glm-5.3:cloud": { "requests": 203, "tokens": 7696218 }, + "minimax-m2.7:cloud": { "requests": 218, "tokens": 2114960 }, + "kimi-k3:cloud": { "requests": 47, "tokens": 844472 }, + "gemma4:cloud": { "requests": 18, "tokens": 176391 }, + "gpt-oss:120b-cloud": { "requests": 7, "tokens": 72567 }, + "kimi-k2.7-code:cloud": { "requests": 7, "tokens": 58053 } + } + }, + "latency": [ + { "name": "web_fetch", "calls": 4, "errors": 2 }, + { "name": "create_skill", "calls": 2, "errors": 0 }, + { "name": "list_skills", "calls": 2, "errors": 0 }, + { "name": "write_file", "calls": 3, "errors": 0 }, + { "name": "read_file", "calls": 2, "errors": 0 }, + { "name": "world_model_query", "calls": 1, "errors": 0 }, + { "name": "get_status", "calls": 1, "errors": 0 }, + { "name": "get_usage_stats", "calls": 1, "errors": 0 }, + { "name": "get_module_status", "calls": 1, "errors": 0 }, + { "name": "list_agents", "calls": 1, "errors": 0 } + ], + "health": { "online": true, "errors": 7, "predictorAccuracy": "n/a (no paired runs)" }, + "timestamp": 1792327737761 +} + </script> + + <div class="container"> + <h1>⚙️ newOS4 System Info</h1> + <p class="subtitle">v4.6.27 • System Snapshot • Mobile-Optimized</p> + + <div class="grid"> + <!-- System Overview --> + <div class="card"> + <h2>🖥️ System Overview</h2> + <dl class="stat-list"> + <div><dt class="stat-label">Version</dt><dd class="stat-value">v4.6.27</dd></div> + <div><dt class="stat-label">VFS Files</dt><dd class="stat-value ok">467</dd></div> + <div><dt class="stat-label">VFS Dirs / Size</dt><dd class="stat-value">181 · 1.4 MB</dd></div> + <div><dt class="stat-label">Memory Heap</dt><dd class="stat-value ok">16.3 MB</dd></div> + <div><dt class="stat-label">Graph Nodes / Edges</dt><dd class="stat-value">41 / 49</dd></div> + <div><dt class="stat-label">Ollama</dt><dd class="stat-value ok">Connected</dd></div> + <div><dt class="stat-label">Active Model</dt><dd class="stat-value">glm-5.3:cloud</dd></div> + <div><dt class="stat-label">System Errors</dt><dd class="stat-value error">7 ⚠️</dd></div> + </dl> + </div> + + <!-- Modules --> + <div class="card"> + <h2>📦 Modules</h2> + <dl class="stat-list"> + <div><dt class="stat-label">Loaded</dt><dd class="stat-value ok">46</dd></div> + <div><dt class="stat-label">Core</dt><dd class="stat-value">23</dd></div> + <div><dt class="stat-label">Extensions</dt><dd class="stat-value">24 available</dd></div> + <div><dt class="stat-label">Modified</dt><dd class="stat-value warn">1 (Orchestrator)</dd></div> + </dl> + <p class="note">Core: filesystem, AI, agents, memory graph, neural VFS, orchestration. Extensions: editors, shell, WebDAV, cron, mindmaps, Three, Course, Media, JSConsole, and more.</p> + </div> + + <!-- Token Usage --> + <div class="card"> + <h2>📊 Token Usage</h2> + <dl class="stat-list"> + <div><dt class="stat-label">Total Requests</dt><dd class="stat-value">500</dd></div> + <div><dt class="stat-label">Total Tokens</dt><dd class="stat-value ok">10.96M</dd></div> + <div><dt class="stat-label">Prompt / Completion</dt><dd class="stat-value">10.01M / 956K</dd></div> + <div><dt class="stat-label">Time Span</dt><dd class="stat-value">~22 hours</dd></div> + <div><dt class="stat-label">Provider</dt><dd class="stat-value">Ollama (100%)</dd></div> + <div><dt class="stat-label">Avg Latency</dt><dd class="stat-value">18.6s</dd></div> + </dl> + <div class="model-item"> + <div class="model-top"><span class="model-name">glm-5.3:cloud · 203 req</span><span class="model-count">7.70M</span></div> + <div class="model-track" role="img" aria-label="glm-5.3:cloud usage, 70.2% share"><div class="model-fill c1" style="width:100%">70.2%</div></div> + </div> + <div class="model-item"> + <div class="model-top"><span class="model-name">minimax-m2.7:cloud · 218 req</span><span class="model-count">2.11M</span></div> + <div class="model-track" role="img" aria-label="minimax-m2.7:cloud usage, 19.3% share"><div class="model-fill c2" style="width:27.5%">19.3%</div></div> + </div> + <div class="model-item"> + <div class="model-top"><span class="model-name">kimi-k3:cloud · 47 req</span><span class="model-count">844K</span></div> + <div class="model-track" role="img" aria-label="kimi-k3:cloud usage, 7.7% share"><div class="model-fill c3" style="width:10.9%">7.7%</div></div> + </div> + <div class="model-item"> + <div class="model-top"><span class="model-name">gemma4:cloud · 18 req</span><span class="model-count">176K</span></div> + <div class="model-track" role="img" aria-label="gemma4:cloud usage, 1.6% share"><div class="model-fill c4" style="width:2.3%">1.6%</div></div> + </div> + <div class="model-item"> + <div class="model-top"><span class="model-name">gpt-oss:120b-cloud · 7 req</span><span class="model-count">72.6K</span></div> + <div class="model-track" role="img" aria-label="gpt-oss:120b-cloud usage, 0.7% share"><div class="model-fill c5" style="width:0.94%">0.7%</div></div> + </div> + <div class="model-item"> + <div class="model-top"><span class="model-name">kimi-k2.7-code:cloud · 7 req</span><span class="model-count">58.1K</span></div> + <div class="model-track" role="img" aria-label="kimi-k2.7-code:cloud usage, 0.5% share"><div class="model-fill c6" style="width:0.75%">0.5%</div></div> + </div> + </div> + + <!-- Skills --> + <div class="card"> + <h2>🎓 Skills</h2> + <dl class="stat-list"> + <div><dt class="stat-label">Total Skills</dt><dd class="stat-value ok">39</dd></div> + <div><dt class="stat-label">Recently Added</dt><dd class="stat-value">generate-info-page</dd></div> + </dl> + <p class="note">Categories: system, learning, dev, process, business. Includes newOS4 interactive course, memgraph visualization, mobile HTML optimization, and more.</p> + </div> + + <!-- Agents --> + <div class="card"> + <h2>🤖 Agents</h2> + <dl class="stat-list"> + <div><dt class="stat-label">Total Agents</dt><dd class="stat-value">3</dd></div> + <div><dt class="stat-label">Status</dt><dd class="stat-value">All sleeping 💤</dd></div> + </dl> + <div class="agent-row"> + <span class="agent-icon" aria-hidden="true"></span> + <span class="agent-name">auto-learner</span> + <span class="badge badge-auto">AUTO</span> + <span class="badge badge-sleep">sleeping</span> + </div> + <div class="agent-row"> + <span class="agent-icon" aria-hidden="true"></span> + <span class="agent-name">kernel-architect</span> + <span class="badge badge-arch">ARCH</span> + <span class="badge badge-sleep">sleeping</span> + </div> + <div class="agent-row"> + <span class="agent-icon" aria-hidden="true"></span> + <span class="agent-name">searcher</span> + <span class="badge badge-search">SEARCH</span> + <span class="badge badge-sleep">sleeping</span> + </div> + </div> + + <!-- Tool Latency & Health --> + <div class="card"> + <h2>⚡ Tools & Health</h2> + <dl class="stat-list"> + <div><dt class="stat-label">System Online</dt><dd class="stat-value ok">Yes</dd></div> + <div><dt class="stat-label">System Errors</dt><dd class="stat-value error">7 ⚠️</dd></div> + <div><dt class="stat-label">Predictor Accuracy</dt><dd class="stat-value warn">0%</dd></div> + <div><dt class="stat-label">web_fetch Errors</dt><dd class="stat-value warn">2 of 4 calls</dd></div> + <div><dt class="stat-label">Auto-Lessons</dt><dd class="stat-value">3 saved</dd></div> + </dl> + <p class="note">web_fetch shows 2 errors — monitor if it persists. Auto-lessons flag anomalies (high token usage, near turn limits) for self-improvement.</p> + </div> + </div> + + <p class="timestamp">Snapshot: <time datetime="2026-10-18T12:48:57Z">Sat Oct 18 2026, 12:48 UTC</time> · Regenerate via <code>generate-info-page</code> skill</p> + </div> +</body> +</html>
\ No newline at end of file |