Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
File size: 21,173 Bytes
9c4df1f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 | <!doctype html>
<html lang="en" data-theme="dark">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="dark light">
<meta name="description" content="NEEDLEPOINT Studio: generate certified visual evaluation tasks. Every answer, proven from the pixels.">
<title>NEEDLEPOINT Studio</title>
<link rel="icon" href="/static/brand/favicon.svg" type="image/svg+xml">
<link rel="preload" href="/static/fonts/np-sans.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/static/fonts/np-sans-bold.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="/static/styles.css">
<script>
/* Apply the saved theme before first paint (no flash). */
try { var t = localStorage.getItem("np-theme"); if (t === "light" || t === "dark") document.documentElement.dataset.theme = t; } catch (e) {}
</script>
<script type="module" src="/static/app.js"></script>
</head>
<body>
<a class="skip-link" href="#main" id="skip-link">Skip to content</a>
<header class="topbar" id="topbar">
<div class="topbar-inner">
<a class="brand" href="#/" aria-label="NEEDLEPOINT Studio, home">
<img class="brand-wordmark brand-on-dark" src="/static/brand/logo-wordmark-dark.svg" alt="" width="118" height="28">
<img class="brand-wordmark brand-on-light" src="/static/brand/logo-wordmark.svg" alt="" width="118" height="28">
<span class="brand-studio">Studio</span>
</a>
<button class="nav-toggle icon-btn" id="nav-toggle" type="button" aria-expanded="false" aria-controls="primary-nav">
<svg aria-hidden="true" viewBox="0 0 24 24" width="20" height="20"><path d="M4 7h16M4 12h16M4 17h16" stroke="currentColor" stroke-width="2" stroke-linecap="round" fill="none"/></svg>
<span>Menu</span>
</button>
<nav class="primary-nav" id="primary-nav" aria-label="Primary">
<ul>
<li><a href="#/factory" data-route="factory">Factory</a></li>
<li><a href="#/lab" data-route="lab">Verifier Lab</a></li>
<li><a href="#/map" data-route="map">Capability Map</a></li>
<li><a href="#/ship" data-route="ship">Ship it</a></li>
<li><a href="#/how" data-route="how">How it works</a></li>
</ul>
</nav>
<button class="theme-toggle icon-btn" id="theme-toggle" type="button" aria-pressed="false">
<svg class="i-sun" aria-hidden="true" viewBox="0 0 24 24" width="18" height="18"><circle cx="12" cy="12" r="4.2" fill="none" stroke="currentColor" stroke-width="2"/><path d="M12 2.5v2.2M12 19.3v2.2M2.5 12h2.2M19.3 12h2.2M5.3 5.3l1.6 1.6M17.1 17.1l1.6 1.6M5.3 18.7l1.6-1.6M17.1 6.9l1.6-1.6" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>
<svg class="i-moon" aria-hidden="true" viewBox="0 0 24 24" width="18" height="18"><path d="M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/></svg>
<span class="theme-toggle-label">Light theme</span>
</button>
</div>
</header>
<main id="main" tabindex="-1">
<!-- ======================================================== HOME -->
<section class="view view-home" id="view-home" data-view="home" aria-labelledby="home-title">
<div class="hero">
<div class="hero-copy">
<p class="eyebrow"><span class="dot-live" aria-hidden="true"></span> Innodata AI Hackathon 2026 · Track 2 · Visual Task Factory</p>
<h1 id="home-title" tabindex="-1" class="hero-title">Certified visual tasks.<br><span class="grad-text">Every answer, proven from the pixels.</span></h1>
<p class="hero-lede">NEEDLEPOINT generates evaluation tasks for multimodal models from industrial control cabinets: analog dials, linear gauges, 7-segment displays, alarm bands and wiring diagrams. Ground truth comes first, and a task only ships if an image-only decoder re-derives the answer from the rendered pixels and every validation gate passes.</p>
<div class="hero-ctas">
<a class="btn btn-primary btn-lg" href="#/factory">Open the factory
<svg aria-hidden="true" viewBox="0 0 24 24" width="18" height="18"><path d="M5 12h13M13 6l6 6-6 6" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg></a>
<a class="btn btn-ghost btn-lg" href="#/map">See what models get wrong</a>
</div>
</div>
<div class="hero-visual" id="hero-visual"><!-- hero gauge SVG is built by app.js --></div>
</div>
<ul class="stats" id="home-stats" aria-label="Headline evidence">
<li class="stat skeleton-stat"><span class="skeleton sk-num"></span><span class="skeleton sk-line"></span></li>
<li class="stat skeleton-stat"><span class="skeleton sk-num"></span><span class="skeleton sk-line"></span></li>
<li class="stat skeleton-stat"><span class="skeleton sk-num"></span><span class="skeleton sk-line"></span></li>
<li class="stat skeleton-stat"><span class="skeleton sk-num"></span><span class="skeleton sk-line"></span></li>
</ul>
<div class="pillars">
<article class="card pillar">
<div class="pillar-icon" aria-hidden="true"><svg viewBox="0 0 24 24" width="22" height="22"><path d="M4 18h16M6 18V9m6 9V5m6 13v-6" stroke="currentColor" stroke-width="2" stroke-linecap="round" fill="none"/></svg></div>
<h2>Ground truth first</h2>
<p>Each task starts as a typed spec with a known answer. The image is rendered from the spec, then a question program turns the spec into a question and an answer key.</p>
</article>
<article class="card pillar">
<div class="pillar-icon" aria-hidden="true"><svg viewBox="0 0 24 24" width="22" height="22"><circle cx="11" cy="11" r="6.5" fill="none" stroke="currentColor" stroke-width="2"/><path d="M16 16l4.5 4.5M8.5 11l1.8 1.8 3.4-3.6" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg></div>
<h2>Proven from the pixels</h2>
<p>An image-only decoder reads every needle, fill level and digit back from the PNG. If it disagrees with the spec, the task is rejected. You can watch the proof draw itself in the Inspector.</p>
</article>
<article class="card pillar">
<div class="pillar-icon" aria-hidden="true"><svg viewBox="0 0 24 24" width="22" height="22"><path d="M12 3l7 3v5c0 4.5-3 8.2-7 10-4-1.8-7-5.5-7-10V6l7-3z" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/><path d="M9 12l2 2 4-4" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg></div>
<h2>Mutation-tested gates</h2>
<p>We planted six kinds of defect (hidden needles, illegible labels, wrong answer keys, leaks) and the gates caught every one. Try it yourself in the Verifier Lab.</p>
</article>
</div>
<aside class="finding card" aria-labelledby="finding-title">
<div>
<p class="eyebrow">Headline finding</p>
<h2 id="finding-title">Frontier models read gauges. Wiring separates them.</h2>
<p>Across 456 certified tasks and 5 models, instrument reading is nearly solved at the frontier, but tracing a wire through crossings is not: Claude Opus falls to 6 of 16 at the hardest wiring level. Cheaper models fail in attributable ways, such as reporting a reading on a gauge whose needle is hidden.</p>
</div>
<a class="btn btn-ghost" href="#/map">Open the Capability Map</a>
</aside>
</section>
<!-- ======================================================== FACTORY -->
<section class="view" id="view-factory" data-view="factory" aria-labelledby="factory-title" hidden>
<header class="view-head">
<p class="eyebrow">01 · Factory</p>
<h1 id="factory-title" tabindex="-1">Generate a certified batch</h1>
<p class="lede">Pick a family and difficulty, choose a seed, and generate. Every task you see has passed every gate. The same seed always produces byte-identical images.</p>
</header>
<form class="card controls" id="gen-form" novalidate>
<fieldset class="ctl">
<legend>Family</legend>
<div class="segmented">
<label><input type="radio" name="family" value="instruments" checked><span>Instruments</span></label>
<label><input type="radio" name="family" value="wiring"><span>Wiring</span></label>
</div>
</fieldset>
<div class="ctl" id="profile-ctl">
<label for="profile" class="ctl-label">Profile</label>
<div class="select-wrap"><select id="profile" name="profile">
<option value="industrial">Industrial</option>
<option value="healthcare">Healthcare</option>
</select></div>
</div>
<fieldset class="ctl ctl-wide">
<legend>Difficulty <span class="hint" id="diff-hint">(select one or more)</span></legend>
<div class="chips" id="diff-chips" aria-describedby="diff-hint"></div>
</fieldset>
<div class="ctl ctl-num">
<label for="count" class="ctl-label" id="count-label">Tasks</label>
<input id="count" name="n" type="number" min="1" max="48" value="8" inputmode="numeric" class="input input-num">
</div>
<div class="ctl ctl-seed">
<label for="seed" class="ctl-label">Seed</label>
<div class="seed-row">
<input id="seed" name="seed" type="number" min="0" max="999999999" placeholder="random" inputmode="numeric" class="input input-num" aria-describedby="seed-hint">
<button type="button" class="icon-btn" id="dice-btn" aria-label="Random seed" title="Random seed">
<svg aria-hidden="true" viewBox="0 0 24 24" width="18" height="18"><rect x="4" y="4" width="16" height="16" rx="3.5" fill="none" stroke="currentColor" stroke-width="2"/><circle cx="9" cy="9" r="1.4" fill="currentColor"/><circle cx="15" cy="15" r="1.4" fill="currentColor"/><circle cx="15" cy="9" r="1.4" fill="currentColor"/><circle cx="9" cy="15" r="1.4" fill="currentColor"/><circle cx="12" cy="12" r="1.4" fill="currentColor"/></svg>
</button>
<button type="button" class="icon-btn" id="seed-copy" aria-label="Copy seed" title="Copy seed">
<svg aria-hidden="true" viewBox="0 0 24 24" width="18" height="18"><rect x="8" y="8" width="12" height="12" rx="2.5" fill="none" stroke="currentColor" stroke-width="2"/><path d="M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2" fill="none" stroke="currentColor" stroke-width="2"/></svg>
</button>
</div>
<p class="hint" id="seed-hint">Same seed, same bytes.</p>
</div>
<div class="ctl ctl-go">
<button type="submit" class="btn btn-primary btn-lg" id="gen-btn">
<svg aria-hidden="true" viewBox="0 0 24 24" width="18" height="18"><path d="M13 3L5 13h6l-1 8 8-10h-6l1-8z" fill="currentColor"/></svg>
Generate
</button>
</div>
</form>
<p class="sr-only" id="gen-status" role="status" aria-live="polite"></p>
<div class="pipeline card" id="pipeline" hidden>
<ol class="pipe-stages" id="pipe-stages" aria-label="Pipeline stages"></ol>
<div class="pipe-gates">
<p class="pipe-gates-title">Validation gates</p>
<ol class="gate-lamps" id="gate-lamps"></ol>
</div>
</div>
<div class="run-bar" id="run-bar">
<div class="run-pick">
<label for="run-select" class="ctl-label">Browsing</label>
<div class="select-wrap"><select id="run-select"></select></div>
</div>
<div class="run-meta" id="run-meta"></div>
</div>
<div class="funnel card" id="funnel" hidden></div>
<div class="error-box" id="factory-error" role="alert" hidden></div>
<ul class="task-grid" id="task-grid" aria-label="Certified tasks"></ul>
</section>
<!-- ======================================================== LAB -->
<section class="view" id="view-lab" data-view="lab" aria-labelledby="lab-title" hidden>
<header class="view-head">
<p class="eyebrow">02 · Verifier Lab</p>
<h1 id="lab-title" tabindex="-1">We mutation-test our own benchmark.</h1>
<p class="lede">A gate that never fails proves nothing. Pick a defect and we plant it into a fresh candidate, then run the full gate battery. Watch which gate catches it.</p>
</header>
<ul class="fault-grid" id="fault-grid" aria-label="Defects to plant"></ul>
<p class="sr-only" id="lab-status" role="status" aria-live="polite"></p>
<div class="error-box" id="lab-error" role="alert" hidden></div>
<div class="lab-stage card" id="lab-stage" hidden></div>
<div class="card recall-card">
<h2>Planted-defect recall, final evaluation</h2>
<p class="muted">Share of planted defects caught by the gate designed for them.</p>
<div id="recall-table"></div>
</div>
</section>
<!-- ======================================================== CAPABILITY MAP -->
<section class="view" id="view-map" data-view="map" aria-labelledby="map-title" hidden>
<header class="view-head">
<p class="eyebrow">03 · Capability Map</p>
<h1 id="map-title" tabindex="-1">What models get right, and how they fail</h1>
<p class="lede">Measured on the frozen final evaluation: 456 certified tasks, 5 models, image mode. Intervals are 95% Wilson confidence intervals.</p>
</header>
<div class="error-box" id="map-error" role="alert" hidden></div>
<div class="map-grid" id="map-grid">
<div class="card chart-card skeleton-card"><span class="skeleton sk-title"></span><span class="skeleton sk-block"></span></div>
<div class="card chart-card skeleton-card"><span class="skeleton sk-title"></span><span class="skeleton sk-block"></span></div>
</div>
</section>
<!-- ======================================================== SHIP IT -->
<section class="view" id="view-ship" data-view="ship" aria-labelledby="ship-title" hidden>
<header class="view-head">
<p class="eyebrow">04 · Ship it</p>
<h1 id="ship-title" tabindex="-1">Export, estimate, integrate</h1>
<p class="lede">Generation is free and local. Evaluating models is what costs money; estimate it before you run.</p>
</header>
<div class="ship-grid">
<form class="card estimator" id="est-form" novalidate aria-labelledby="est-title">
<h2 id="est-title">Evaluation cost estimator</h2>
<div class="est-n">
<label for="est-n-range" class="ctl-label">Tasks to evaluate</label>
<div class="est-n-row">
<input type="range" id="est-n-range" min="0" max="100" step="1" value="50" aria-describedby="est-n-out" aria-valuetext="1,000 tasks">
<input type="number" id="est-n" class="input input-num" min="1" max="10000000" value="1000" aria-label="Number of tasks">
</div>
<output id="est-n-out" class="hint" for="est-n-range est-n"></output>
</div>
<fieldset class="ctl">
<legend>Models</legend>
<div class="check-grid" id="est-models"></div>
</fieldset>
<div class="est-opts">
<fieldset class="ctl">
<legend>Reasoning</legend>
<div class="segmented">
<label><input type="radio" name="reasoning" value="low" checked><span>Low</span></label>
<label><input type="radio" name="reasoning" value="high"><span>High</span></label>
</div>
</fieldset>
<div class="ctl">
<span class="ctl-label" id="batch-label">Batch API</span>
<button type="button" class="switch" id="est-batch" role="switch" aria-checked="false" aria-labelledby="batch-label batch-desc"><span class="switch-track" aria-hidden="true"><span class="switch-thumb"></span></span><span id="batch-desc">50% off</span></button>
</div>
</div>
<div class="est-result" id="est-result" aria-live="polite"></div>
</form>
<div class="ship-side">
<div class="card export-card" aria-labelledby="export-title">
<h2 id="export-title">Export a run</h2>
<p class="muted" id="export-run">Loading runs…</p>
<div class="select-wrap"><select id="export-select" aria-label="Run to export"></select></div>
<div class="export-btns" id="export-btns"></div>
<p class="hint">JSONL includes answers: keep it away from models under test.</p>
</div>
<div class="card code-card" aria-labelledby="code-title">
<div class="code-head">
<h2 id="code-title">Use it from code</h2>
<a class="btn btn-ghost btn-sm" href="/docs" target="_blank" rel="noopener">Interactive API docs</a>
</div>
<div class="code-wrap">
<pre class="code" id="curl-snippet" tabindex="0" aria-label="curl example"></pre>
<button type="button" class="btn btn-sm btn-ghost copy-code" id="copy-curl">Copy</button>
</div>
</div>
</div>
</div>
</section>
<!-- ======================================================== HOW IT WORKS -->
<section class="view" id="view-how" data-view="how" aria-labelledby="how-title" hidden>
<header class="view-head">
<p class="eyebrow">05 · How it works</p>
<h1 id="how-title" tabindex="-1">From a seed to a certificate</h1>
<p class="lede">Every task travels the same audited path. Nothing reaches a model under test until it has been derived twice, once from the spec and once from the pixels.</p>
</header>
<figure class="card diagram-card">
<div id="how-diagram" class="how-diagram"></div>
<figcaption class="sr-only">Pipeline: seed, spec, render, question program, validation gates including the image-only decoder (failures go to the rejection log), answer-flip twin, certificate, export to Harbor or JSONL, evaluation.</figcaption>
</figure>
<div class="how-grid">
<article class="card how-card">
<h2>Validity: derived twice, audited once more</h2>
<p>The answer key comes from the spec. An independent image-only decoder re-derives it from the PNG (needle angle, fill level, segment patterns, OCR of scale labels, wire tracing). A task ships only when both agree within tolerance and a decision margin keeps it away from thresholds. A human audit pilot scored 27 of 30.</p>
</article>
<article class="card how-card">
<h2>Reproducibility</h2>
<p>Rendering is deterministic: the same seed gives a byte-identical image, checked on every task by a re-render gate and verified 696/696 across the evidence sets. Every certificate records the generator version, seed, spec hash and image SHA-256.</p>
</article>
<article class="card how-card">
<h2>Meaningful variation</h2>
<p>Variation is structural, not cosmetic: instrument kind and count, scale family, same-scale distractors, reasoning steps, wire count and crossings. Each task carries a variation signature, and answer-flip twins change one minimal thing so the answer must change.</p>
</article>
<article class="card how-card">
<h2>Honesty notes</h2>
<p>These are synthetic renders, not photographs of real cabinets. The decoder was written by the same developer who wrote the renderer, so it shares their semantics; that is why a human audit is the third check. Red is reserved for alarms, so colour itself never carries a hidden cue.</p>
</article>
</div>
</section>
</main>
<!-- ======================================================== INSPECTOR -->
<div class="drawer-backdrop" id="drawer-backdrop" hidden></div>
<div class="drawer" id="inspector" role="dialog" aria-modal="true" aria-labelledby="insp-title" hidden>
<div class="drawer-head">
<div class="drawer-title-wrap">
<p class="eyebrow" id="insp-eyebrow">Inspector</p>
<h2 id="insp-title" tabindex="-1">Task</h2>
</div>
<div class="drawer-actions">
<span class="kbd-hint" aria-hidden="true"><kbd>←</kbd><kbd>→</kbd> navigate · <kbd>P</kbd> proof · <kbd>Esc</kbd> close</span>
<button type="button" class="icon-btn" id="insp-prev" aria-label="Previous task"><svg aria-hidden="true" viewBox="0 0 24 24" width="18" height="18"><path d="M15 5l-7 7 7 7" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg></button>
<span class="insp-pos" id="insp-pos" aria-live="polite"></span>
<button type="button" class="icon-btn" id="insp-next" aria-label="Next task"><svg aria-hidden="true" viewBox="0 0 24 24" width="18" height="18"><path d="M9 5l7 7-7 7" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg></button>
<button type="button" class="icon-btn" id="insp-close" aria-label="Close inspector"><svg aria-hidden="true" viewBox="0 0 24 24" width="18" height="18"><path d="M6 6l12 12M18 6L6 18" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg></button>
</div>
</div>
<div class="drawer-body" id="insp-body"></div>
</div>
<div class="toast" id="toast" role="status" aria-live="polite"></div>
<footer class="footer">
<div class="footer-inner">
<img class="footer-mark" src="/static/brand/logo-mark.svg" alt="" width="28" height="28">
<p><strong>NEEDLEPOINT Studio</strong> <span id="footer-version">v0.1.0</span></p>
<p class="muted">Runs fully offline · No analytics · MIT licence</p>
<p class="footer-links"><a href="/docs">API docs</a> · <a href="#/how">How it works</a></p>
</div>
</footer>
</body>
</html>
|