realism-bench
v1.1.0
Published
Realism-Bench v1.0 — Zero-Asset Procedural Reality Benchmark CLI, Anti-Cheat Gate, and Blind Reality Test Arena.
Maintainers
Readme
Realism-Bench v1.0
Zero-Asset Procedural Reality Benchmark for AI Coding Agents.
Live Arena & Leaderboard: https://realism.automagik.si · Repository: https://github.com/automagik-si/realism-bench
Can an AI coding agent (harness + model + effort) write pure procedural WebGL2/WebGPU graphics code (pinned [email protected] + custom GLSL/WGSL) that a human cannot distinguish from real camera footage — with zero generative images, zero external textures, zero downloaded 3D meshes, zero fonts, and verified causal physics?
Real camera takes compete in the same blind arena, encoded through the exact same BT.709 H.264 pipeline.
Quick Start
# Zero-install via npm (prebuilt native Go binary for Linux & macOS)
npx realism-bench
# Run all 5 v1.0 scenes in 5 parallel isolated panes (GPU eval serialized via eval.lock + auto-submit)
npx realism-bench run --all --harness claude --headlessOr build from source:
cd web && npm install && npm run build && cd ..
go build -o bin/realism-bench ./cmd/realism-bench
./bin/realism-benchv1.0 Scene Ladder (Immutable Suite 1.0)
| Tier | Scene ID | Duration / FPS | Focus |
|---|---|---|---|
| Tier R · Reality-Anchored | r-rain-window | 10s @ 30fps | Gravity-driven raindrops, red OPEN 'E' reflection, optical rack focus |
| Tier R · Reality-Anchored | r-glass-counter | 10s @ 30fps | Macro brushed steel, double-refraction whiskey + melting ice, steam, wicking napkin |
| Tier R · Reality-Anchored | r-wet-lot | 10s @ 30fps | Midnight rain lot, thin-film oil puddles, volumetric headlights, exhaust |
| Tier C · Cinema | dusk-regatta | 16s @ 24fps | Chase-boat telephoto sloop crossing an arriving golden-dusk squall line |
| Tier C · Cinema (Boss) | last-call | 45s @ 24fps | Unbroken 3-act diner-to-lot oner ending on rusted bicycle + drenched pelican |
CLI Commands
# Interactive wizard (pick v1.0 scene -> detected harness -> model/effort -> run live)
realism-bench
# Authoring tools for coding agents inside any scene workspace
realism-bench shot --t 5.0 --offrail left # render single PNG + console/shader telemetry
realism-bench check # run full Zero-Asset + tile determinism + counterfactual gate
# Run non-interactively (stages pinned [email protected] starter + rail.json in ~/.realism-bench/runs/)
realism-bench run r-rain-window --harness agy --model gemini-3-pro --effort high --yolo
realism-bench run last-call --harness custom --cmd 'my-agent --prompt {prompt}'
# Local model with live GPU power integration (Wh / W) and vLLM /metrics token tracking
realism-bench run all --sequential --headless --harness omp --profile qwen4 --model local/Qwen4-35B-A3B --local --power-cmd "nvidia-smi --query-gpu=power.draw --format=csv,noheader,nounits"
# Re-evaluate, capture deterministic frame-by-frame BT.709 showcase.mp4 + segments + separate FPS pass
realism-bench eval <run-id>
# Launch local Leaderboard & Analytics (/), Blind A/B Compare (/arena), Human Eval 1–5 (/eval), Protocol (/methodology)
realism-bench view
# Submit evaluated run + media to Realism-Bench server
realism-bench login --user <handle> --cloud https://realism.automagik.si
realism-bench submit <run-id>
# Host the public/private Realism-Bench server (exact same binary & embedded React UI)
realism-bench serve --addr 0.0.0.0:8080 --token "$REALISM_BENCH_SUBMIT_TOKEN"Core Protocol Guarantees
- Zero-Asset Allowlist: Only
[email protected]at runtime; asset-embedding addons (SMAAPass,SMAANode,Bayer,loaders/,objects/) are explicitly banned; strict literal budgets on opaque strings & numeric arrays; runtime JS & CDP network hooks fail on any image/font/media decode or non-loopback network fetch. - Locked Camera Rail + 4-Probe Tile Determinism: Every scene ships a dense 1-key-per-frame
rail.jsonverified against40×40tile MAE across forward/reverse seek order, fresh reload, hidden eval seed sensitivity, and live-vs-seek parity. - Counterfactual Causality & 4-Angle Off-Rail Proof: Scenes must respond causally to
openSignEinterventions (1 → 0) and pass mandatorysetCamera()captures fromleft,right,high, andreverseat every checkpoint. - Hardware-Fair Capture vs Real-Time Badge:
showcase.mp4and Arena segments are captured frame-by-frame via deterministicseek(i / fps)into identical BT.709 H.264 (crf 16, muted) so slow GPUs or offline path-tracers can compete fairly on visual realism. Uncapped wall-clock FPS is measured in a separate pass on verified hardware GPU (voided on SwiftShader/llvmpipe) and shown as an independentReal-Time ✓vsOfflinebadge. - Immutable Suite Versioning: Every run, vote, and leaderboard row is stamped with
(suite_version, task_version, protocol_version)so futurev2.0+scenes never mutatev1.0results.
