janus-lab / index.html
DevodG's picture
janus: deploy static research scoreboard & HF trace viewer (DevodG)
d23d272 verified
Raw History Blame Contribute Delete
10.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Project Janus β€” Honest AGI Sub-Problem Scoreboard</title>
<style>
:root { --bg: #0b1020; --card: #121933; --border: #253059; --text: #e6ebff; --muted: #9aa7d6; --pass: #22c55e; --kill: #ef4444; --info: #60a5fa; }
* { box-sizing: border-box; }
body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
main { max-width: 1080px; margin: 0 auto; padding: 28px 20px 64px; }
h1 { margin: 0 0 6px; font-size: 28px; }
.sub { color: var(--muted); margin-bottom: 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 24px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.k { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.v { font-size: 24px; font-weight: 700; margin-top: 4px; }
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 24px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
th { color: var(--muted); font-weight: 600; background: #0f152c; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pass { background: rgba(34,197,94,.18); color: var(--pass); }
.kill { background: rgba(239,68,68,.18); color: var(--kill); }
.info { background: rgba(96,165,250,.18); color: var(--info); }
pre { background: #090d1a; border: 1px solid var(--border); border-radius: 8px; padding: 12px; overflow: auto; font-size: 12px; max-height: 320px; }
a { color: var(--info); text-decoration: none; }
button { background: var(--info); color: #081024; border: none; padding: 8px 14px; border-radius: 8px; font-weight: 700; cursor: pointer; }
</style>
</head>
<body>
<main>
<h1>Project Janus β€” Honest Research Scoreboard</h1>
<p class="sub">Falsifiable brick-by-brick AGI sub-problem engineering. Every failed hypothesis stays published as <strong>KILLED</strong> alongside verified passes. Powered by local sandboxes, Hugging Face Hub datasets, and Kaggle Dual-T4 GPU.</p>
<div class="grid" id="summary-cards"></div>
<h2>Model Scale Curve (Frozen Multi-Domain Benchmark)</h2>
<table>
<thead><tr><th>Model</th><th>Code Easy (15)</th><th>Code Hard (15)</th><th>Code (30)</th><th>POSIX-10 (B16)</th><th>SQL (10)</th><th>Math (10)</th><th>Dlg (10)</th><th>Ctl (10)*</th></tr></thead>
<tbody id="scale-body"></tbody>
</table>
<p class="sub" style="margin-top:-14px;font-size:12px;">*Control: raw 7B scores 0.100 vs Stage 3 delta planner <strong>10/10 @ 0 calls</strong> (Brick 8); Harvard <code>TheoryCoder</code> scored <strong>8/10</strong> on v1 worlds (Brick 15) vs <strong>1/20</strong> on harder v2 worlds (Brick 20). **Brick 15 Blind <code>Reflexion-4</code> score on <code>code</code>.</p>
<h2>Brick Ledger (Pre-Registered Experiments)</h2>
<table>
<thead><tr><th>Brick</th><th>Hypothesis / Intervention</th><th>Verdict</th><th>Measured Evidence</th></tr></thead>
<tbody id="brick-body"></tbody>
</table>
<h2>Live HF Dataset: <a href="https://huggingface.co/datasets/DevodG/janus-star-traces" target="_blank">DevodG/janus-star-traces</a></h2>
<p class="sub">Disjoint non-held-out verified Python &amp; multi-file POSIX traces (held-out tasks blocked programmatically before upload).</p>
<button onclick="loadTraces()">Fetch Live HF Traces</button>
<pre id="trace-box">Click "Fetch Live HF Traces" to load star_traces.jsonl from Hugging Face Hub...</pre>
</main>
<script>
const SCALES = [
{ model: "Qwen2.5-0.5B-Instruct (Step B)", easy: "0/15", hard: "0/15", code: "0.000", posix: "β€”", sql: "β€”", math: "0.000", dlg: "0.100", ctl: "0.000" },
{ model: "Qwen2.5-Coder-1.5B (Brick 1/12)", easy: "14/15", hard: "1/15", code: "0.500", posix: "β€”", sql: "0.800", math: "0.300", dlg: "0.900", ctl: "0.000" },
{ model: "Qwen2.5-Coder-3B (Brick 13, 2xT4)", easy: "14/15", hard: "0/15", code: "0.467", posix: "β€”", sql: "0.900", math: "0.700", dlg: "0.900", ctl: "0.000" },
{ model: "Qwen2.5-Coder-7B Greedy (Brick 14/15/16)", easy: "15/15", hard: "3/15", code: "0.600", posix: "0.300", sql: "0.800", math: "0.800", dlg: "0.900", ctl: "0.100" },
{ model: "Qwen2.5-Coder-7B + Reflexion-4 (Brick 15**/16)", easy: "15/15", hard: "4/15**", code: "0.633**", posix: "0.800", sql: "β€”", math: "β€”", dlg: "β€”", ctl: "β€”" },
];
const BRICKS = [
["Affect A1 / B1 / FON-G", "Emotion/drive/Fisher replay improves gridworld", "kill", "A1 0.845 < TD 0.876; B1/F1 failed paired CI bar"],
["Brick 1", "Redesign calibrated hard code benchmark (<30% bar)", "pass", "Easy 14/15 (93.3%), Hard 1/15 (6.7%) after prompt-dup fix"],
["Brick 3", "Vector retrieval (SkillLibrary + SemanticMemory)", "kill", "Code regressed 0.500 -> 0.467 -> 0.433 (context pollution)"],
["Brick 5 / 7 / 8", "Stage 3 control delta world model + BFS planner", "pass", "Control 10/10 @ 0 LLM calls vs LLM 0/10 @ 10 calls"],
["Brick 6", "Sampled best-of-4 (T=0.8) on hard code 15", "kill", "2/15 vs greedy 1/15 (below pre-registered +2 bar)"],
["Brick 9", "Verifier-feedback reflexion (n=4) on 1.5B hard code", "kill", "1/15 = greedy (error tracebacks didn't fix wrong algorithms)"],
["Brick 10", "Harden Observation features + CodeAdapter jail", "pass", "No solution leakage; temp cwd + scrubbed env + POSIX rlimits"],
["Brick 11", "Stage 4 SQLAdapter via read-only sqlite3 authorizer", "pass", "Held-out 8/10 (1.5B), 9/10 (3B); blocks DDL/DML/PRAGMA"],
["Brick 12", "Self-sampled STaR + LoRA (1.5B, MLX Metal 63 iters)", "kill", "Code 0.500 -> 0.500 (easy 15/15, hard 0/15); rejected by gate"],
["Brick 13", "3B + LoRA on 1.5B STaR traces (Kaggle Dual-T4)", "kill", "Code 0.467 -> 0.467; math regressed 0.700 -> 0.500 (forgetting)"],
["Brick 14", "7B scale benchmark + 22/24 teacher traces to HF Hub", "info", "Code 0.600 (18/30), math 0.800, sql 0.800; 22 traces synced"],
["Brick 15 (Worlds)", "Harvard TheoryCoder transition synthesis vs Direct LLM", "pass", "Mystery grids 8/10 (80%) via jailed BFS vs Direct 0/10 (0%)"],
["Brick 15 (Search/R1)", "7B BoN4 / Reflexion4 / Dual-Brain R1-7B on blind code", "kill", "BoN4 0.667, Ref4 0.633, Dual-Brain R1 0.600 (45.8k toks); all < gate"],
["Brick 16", "PosixRepoAdapter multi-file diffs: Reflexion-4 vs Greedy", "pass", "PROMOTED: Greedy 0.300 -> Reflexion-4 0.800 (+50 pp @ 5,976 toks); 37 HF traces"],
["Brick 17", "7B Anchored SFT (53 traces) & DAPO/Dr. GRPO (12 active steps)", "kill", "Forgetting CURED (math 0.8->0.9 SFT, 0 drop on sql/dlg), but code 0.600 & posix 0.300 unchanged; rejected"],
["Brick 18 (Memory)", "Bi-Temporal SemanticMemory + RepairLesson lookup", "pass", "12/12 checks pass (point-in-time invalidation + SQLite persistence + repair patterns)"],
["Brick 18 (DGM)", "Bounded DGM scaffolding evolution (2 gens, Kaggle 2xT4)", "kill", "code 0.667->0.700 (+0.033 < 0.139), posix 0.7->0.5 on 1..10 (0.467->0.333 on 15, halt); rejected"],
["Brick 19 (TTT)", "Per-task Test-Time Training (4-bit QLoRA reset/task, 19 misses)", "kill", "code 2/12 (+0.083 < 0.157 vs reflexion 1/12), posix 0/7 (0/4 passes -> no SFT ran); rejected"],
["Brick 20 (Worlds v2)", "TheoryCoder-2 active probes over 20 unseen ice/key-door worlds", "kill", "direct 1/20, passive 0/20 (16 mismatches + 3 fence SyntaxError + 1 NameError), active 1/20; rejected"],
["Brick 21 (AZR)", "AZR self-play proposer curriculum (48 proposed, Phase A)", "kill", "26 disjoint verified: 18 trivial (4/4), 6 broken (0/4), only 2 in band -> Phase B DAPO skipped"],
["Brick 22 (Diag)", "Hardened CodeAdapter diagnostics: stdin jail, reversed-compare guard, 4-bit BnB Kaggle runner", "info", "Script 98225 chars; local verify βœ“; Kaggle kernel janus-coder-lora QUEUED (zero code blockers, Kaggle queue delay)"],
["Brick 23 (Worlds v3)", "TheoryCoder-3 factored induction: parse_factored_world + run_closed_loop_world + 6-arm ablation", "pass", "oracle closed_loop=20/20, open_loop=17/20; active probes + live replanning βœ…"],
["Brick 24 (AZR v2)", "Calibrated AZR v2: 8-family Γ— 64-task pool, Phase A staircase + Phase B balanced DAPO", "pass", "pool=64 verified, tierβ‰₯2 mutants rejected, all solutions pass βœ…"],
];
async function init() {
const sb = document.getElementById("scale-body");
sb.innerHTML = SCALES.map(s => `<tr><td><strong>${s.model}</strong></td><td>${s.easy}</td><td>${s.hard}</td><td>${s.code}</td><td>${s.posix}</td><td>${s.sql}</td><td>${s.math}</td><td>${s.dlg}</td><td>${s.ctl}</td></tr>`).join("");
const bb = document.getElementById("brick-body");
bb.innerHTML = BRICKS.map(([id, hyp, cls, ev]) => `<tr><td><strong>${id}</strong></td><td>${hyp}</td><td><span class="badge ${cls}">${cls.toUpperCase()}</span></td><td>${ev}</td></tr>`).join("");
const cards = [
["Verified Domains", "7 (incl. POSIX &amp; SQL)"],
["Best Repo Held-Out", "80.0% (POSIX-10, B16)"],
["Worlds v1 / v2 / v3", "8/10 v1 | 1/20 v2 | 20/20 v3"],
["HF Verified Traces", "37 (33 code + 4 posix)"],
["AZR v2 Pool", "64 calibrated tasks (8 families Γ— 4 tiers)"],
];
document.getElementById("summary-cards").innerHTML = cards.map(([k, v]) => `<div class="card"><div class="k">${k}</div><div class="v">${v}</div></div>`).join("");
}
async function loadTraces() {
const box = document.getElementById("trace-box");
box.textContent = "Loading from huggingface.co/datasets/DevodG/janus-star-traces ...";
try {
const r = await fetch("https://huggingface.co/datasets/DevodG/janus-star-traces/resolve/main/star_traces.jsonl");
const txt = await r.text();
const rows = txt.trim().split("\n").map(l => JSON.parse(l));
box.textContent = JSON.stringify({ total_traces: rows.length, sample: rows.slice(0, 3) }, null, 2);
} catch (e) {
box.textContent = "Error fetching HF traces: " + e;
}
}
init();
</script>
</body>
</html>