Skip to content

GPT-6.1 Sol (effort default (no reasoning-effort override) · thinking off) on Draw a ticking, styled analog clock that shows the current time in one self-contained HTML file

OGPT-6.1 Soldefault · thinking off · Codex CLI 0.163.0 (codex exec --json) · cloud · 2026-10-22 · by @bobsiopener

Trust 80%Fully autonomoussuccess · first try
Estimated cost
$0.03
Wall time
34s
Human step-ins
0
Outcome
Pass

Compare with other models on this task →

Summary

Exact prompt

# Draw a ticking, styled analog clock that shows the current time in one self-contained HTML file Make a small animated scene: a analog clock. Write one file, `out/scene.html`, that works opened straight from disk with no network access. `spec.json` gives the page title, the stage size and the scene parameters. **Looks are not scored**: the page is opened in a headless browser (800x600 window, UTC time zone, network blocked) and checked by objective tests only. ## Scene contract - Draw the scene on one `<canvas>` or `<svg>` stage of `width` x `height` CSS pixels (spec.json), visible on load, with `<title>` containing spec.json `title`. - Animate continuously from load (`requestAnimationFrame` or timers); no click is needed unless stated below. - Expose `window.sceneState()`, returning the scene's current state in stage pixel coordinates (origin top-left of the stage): `{hands: {hour, minute, second}} (degrees clockwise from 12)`. Extra fields are fine. It must describe what is actually drawn. - Read the time from `new Date()` local hours/minutes/seconds every frame. The scorer replaces `Date` with a hidden time; never hard-code a time. Style (face, numerals, colours) is up to you and not scored. - The page must log no errors and throw no exceptions. Keep the file at most 200,000 bytes; no external scripts, fonts, images or URLs (inline everything). ## Checks (partial credit = share passed) 1. `self_contained`: `out/scene.html` exists, is at most 200,000 bytes, references no http(s) or protocol-relative URL, and requests nothing from the network when opened. 2. `has_canvas_or_svg`: a visible `<canvas>` or `<svg>` of at least 300x200 CSS pixels is on the page. 3. `frames_change`: over 3 s, some later screenshot differs from the first in at least 0.1% of pixels, and at least 3 of 30 screenshots differ. 4. `shows_mocked_time`: at two moments 3 s apart, each hand is within 1.5° of the time from `new Date()`: hour = 30 × (hours mod 12) + 0.5 × minutes, minute = 6 × minutes + 0.1 × seconds, second = 6 × whole seconds. 5. `second_hand_ticks`: across 30 samples over 3 s the second hand shows 3 to 5 distinct angles, each a whole multiple of 6° (it ticks, it does not sweep). 6. `no_console_errors`: no uncaught exception, `console.error` or browser error is logged during the run. ## How this run works - Work on your own: nobody will answer questions in this task, and writing to `ask/` counts against the run. - Write only under `out/`. Create `out/` if it is missing. Inputs are synthetic; don't fetch anything from the network. - Scoring is partial credit: each listed check is pass/fail, and the score is the share passed. Numbers are compared to within 0.005 unless the task says otherwise.

Original benchmark task written for usecaserank.com. Headless, offline run on a reproducible fixture. Cost shown is a list-price API-equivalent estimate (run on a ChatGPT subscription, not billed).

Success criteria: self_contained has_canvas_or_svg frames_change shows_mocked_time second_hand_ticks no_console_errors

Setup notes: Use Case Scout batch28 case d06-ticking-analog-clock (offline fixture). Prepared with batch28/prepare.sh on the shared box; only TASK.md + starting files were copied to the agent machine, hidden key/tests stayed on the box. Prompt = TASK.md verbatim on stdin. Flags: --json -s workspace-write --skip-git-repo-check --ephemeral --ignore-user-config --ignore-rules -C <workdir>. Scored on the box with the scout's scorer: `MEDIA_DIR=<dir> python3 score.py WORKDIR KEYDIR`. Single run, no retries. User-level AGENTS.md (846 bytes, sha256 83ec4fe50da8) may have been in context; --ignore-user-config does not document excluding it. Serving model not confirmed: requested via -m; the event log does not echo the serving model id. Price source is secondary (pricing.json verification='secondary', https://www.actuia.com/en/news/ai-api-pricing-in-october-2026-050-to-50-for-output/), not an official OpenAI price page. Score: 6/6. Cost is an ESTIMATE: measured tokens x pricing.json list price (ChatGPT plan, nothing billed); input_tokens include cached reads; output_tokens include reasoning tokens. Tool calls 2 (0 failed, recovered). Single run.

Estimated cost List-price estimate; not actually billed.

Output

Metrics

Estimated cost
$0.03
Wall time
34s
Human step-ins
0
Turns
1
Model usage
ModelInput tokOutput tokCost
OGPT-6.1 Solopenai/gpt-6.1-soleffort default (no reasoning-effort override) · thinking off47,4651,089$0.03

Reproduce this run

  1. Use the use case prompt on the use case page.
  2. Same setup: GPT-6.1 Sol (openai/gpt-6.1-sol, effort default (no reasoning-effort override) · thinking off) via Codex CLI 0.163.0 (codex exec --json), cloud.
  3. It counts as a success only if it meets every success criterion: self_contained has_canvas_or_svg frames_change shows_mocked_time second_hand_ticks no_console_errors
  4. Log model, tokens, wall time, human step-ins and the evidence log, then submit it as a reproduction. A different model? Submit a head-to-head rerun.

How runs are scored: Methodology.

Was this useful?

⇄ Rerun on another model

Automated checks

Trust 80% comes from these checks (how Trust % works).

Evidence log
{"type": "thread.started", "thread_id": "01a16461-0b1d-7270-8171-7511f6beb1c1"}
{"type": "turn.started"}
{"type": "item.completed", "item": {"id": "item_0", "type": "agent_message", "text": "I\u2019ll read `spec.json` and create a self-contained clock with ticking hands.\n"}}
{"type": "item.started", "item": {"id": "item_1", "type": "command_execution", "command": "/bin/bash -lc 'cat spec.json'", "aggregated_output": "", "exit_code": null, "status": "in_progress"}}
{"type": "item.completed", "item": {"id": "item_1", "type": "command_execution", "command": "/bin/bash -lc 'cat spec.json'", "aggregated_output": "{\n \"title\": \"Analog Clock 466\",\n \"width\": 720,\n \"height\": 480,\n \"file\": \"out/scene.html\"\n}", "exit_code": 0, "status": "completed"}}
{"type": "item.started", "item": {"id": "item_2", "type": "command_execution", "command": "/bin/bash -lc \"mkdir -p out\ncat > out/scene.html <<'EOF'\n<\"'!doctype html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<title>Analog Clock 466</title>\n<style>\nhtml,body{margin:0;min-height:100%;background:#101b29}body{display:grid;place-items:center;min-height:100vh}canvas{display:block;width:720px;height:480px}\n</style>\n</head>\n<body>\n<canvas id=\"stage\" width=\"720\" height=\"480\" aria-label=\"Analog clock showing the current local time\"></canvas>\n<script>\n'\"'use strict';\nconst canvas=document.getElementById('stage');\nconst ctx=canvas.getContext('2d');\nlet hands={hour:0,minute:0,second:0};\nwindow.sceneState=()=>({hands:{...hands}});\nfunction hand(angle,length,width,color,tail=0){\n const a=angle*Math.PI/180;\n ctx.beginPath();ctx.moveTo(360-Math.sin(a)*tail,240+Math.cos(a)*tail);\n ctx.lineTo(360+Math.sin(a)*length,240-Math.cos(a)*length);\n ctx.lineWidth=width;ctx.lineCap='round';ctx.strokeStyle=color;ctx.stroke();\n}\nfunction frame(){\n const now=new Date();\n const h=now.getHours(),m=now.getMinutes(),s=now.getSeconds();\n hands={hour:30*(h%12)+0.5*m,minute:6*m+0.1*s,second:6*s};\n ctx.fillStyle='#101b29';ctx.fillRect(0,0,720,480);\n const bg=ctx.createRadialGradient(360,220,80,360,240,300);bg.addColorStop(0,'#263b51');bg.addColorStop(1,'#101b29');ctx.fillStyle=bg;ctx.fillRect(0,0,720,480);\n ctx.shadowColor='#0008';ctx.shadowBlur=22;ctx.shadowOffsetY=10;\n ctx.beginPath();ctx.arc(360,240,202,0,Math.PI*2);ctx.fillStyle='#d9b67b';ctx.fill();\n ctx.shadowBlur=0;ctx.shadowOffsetY=0;\n ctx.beginPath();ctx.arc(360,240,191,0,Math.PI*2);ctx.fillStyle='#f5efdf';ctx.fill();\n for(let i=0;i<60;i++){\n  const a=i*Math.PI/30,outer=181,inner=i%5===0?166:175;\n  ctx.beginPath();ctx.moveTo(360+Math.sin(a)*inner,240-Math.cos(a)*inner);ctx.lineTo(360+Math.sin(a)*outer,240-Math.cos(a)*outer);ctx.strokeStyle='#334251';ctx.lineWidth=i%5===0?3:1;ctx.stroke();\n }\n ctx.font='22px Georgia,serif';ctx.fillStyle='#263849';ctx.textAlign='center';ctx.textBaseline='middle';\n for(let i=1;i<=12;i++){const a=i*Math.PI/6;ctx.fillText(String(i),360+Math.sin(a)*145,240-Math.cos(a)*145);}\n ctx.font='11px sans-serif';ctx.fillStyle='#8e7959';ctx.fillText('LOCAL TIME',360,315);\n hand(hands.hour,100,9,'#263849');hand(hands.minute,139,6,'#263849');hand(hands.second,158,3,'#c34c3f',28);\n ctx.beginPath();ctx.arc(360,240,7,0,Math.PI*2);ctx.fillStyle='#c34c3f';ctx.fill();\n requestAnimationFrame(frame);\n}\nframe();\n</script>\n</body>\n</html>\nEOF\nnode -e \\\"const fs=require('fs'); const s=fs.readFileSync('out/scene.html','utf8'); new Function(s.match(/<script>([\\\\\\\\s\\\\\\\\S]*?)<\\\\\\\\/script>/)[1]); console.log('JavaScript syntax valid; '+Buffer.byteLength(s)+' bytes; external URLs: '+/https?:|\\\\\\\\/\\\\\\\\//.test(s));\\\"\"", "aggregated_output": "", "exit_code": null, "status": "in_progress"}}
{"type": "item.completed", "item": {"id": "item_2", "type": "command_execution", "command": "/bin/bash -lc \"mkdir -p out\ncat > out/scene.html <<'EOF'\n<\"'!doctype html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<title>Analog Clock 466</title>\n<style>\nhtml,body{margin:0;min-height:100%;background:#101b29}body{display:grid;place-items:center;min-height:100vh}canvas{display:block;width:720px;height:480px}\n</style>\n</head>\n<body>\n<canvas id=\"stage\" width=\"720\" height=\"480\" aria-label=\"Analog clock showing the current local time\"></canvas>\n<script>\n'\"'use strict';\nconst canvas=document.getElementById('stage');\nconst ctx=canvas.getContext('2d');\nlet hands={hour:0,minute:0,second:0};\nwindow.sceneState=()=>({hands:{...hands}});\nfunction hand(angle,length,width,color,tail=0){\n const a=angle*Math.PI/180;\n ctx.beginPath();ctx.moveTo(360-Math.sin(a)*tail,240+Math.cos(a)*tail);\n ctx.lineTo(360+Math.sin(a)*length,240-Math.cos(a)*length);\n ctx.lineWidth=width;ctx.lineCap='round';ctx.strokeStyle=color;ctx.stroke();\n}\nfunction frame(){\n const now=new Date();\n const h=now.getHours(),m=now.getMinutes(),s=now.getSeconds();\n hands={hour:30*(h%12)+0.5*m,minute:6*m+0.1*s,second:6*s};\n ctx.fillStyle='#101b29';ctx.fillRect(0,0,720,480);\n const bg=ctx.createRadialGradient(360,220,80,360,240,300);bg.addColorStop(0,'#263b51');bg.addColorStop(1,'#101b29');ctx.fillStyle=bg;ctx.fillRect(0,0,720,480);\n ctx.shadowColor='#0008';ctx.shadowBlur=22;ctx.shadowOffsetY=10;\n ctx.beginPath();ctx.arc(360,240,202,0,Math.PI*2);ctx.fillStyle='#d9b67b';ctx.fill();\n ctx.shadowBlur=0;ctx.shadowOffsetY=0;\n ctx.beginPath();ctx.arc(360,240,191,0,Math.PI*2);ctx.fillStyle='#f5efdf';ctx.fill();\n for(let i=0;i<60;i++){\n  const a=i*Math.PI/30,outer=181,inner=i%5===0?166:175;\n  ctx.beginPath();ctx.moveTo(360+Math.sin(a)*inner,240-Math.cos(a)*inner);ctx.lineTo(360+Math.sin(a)*outer,240-Math.cos(a)*outer);ctx.strokeStyle='#334251';ctx.lineWidth=i%5===0?3:1;ctx.stroke();\n }\n ctx.font='22px Georgia,serif';ctx.fillStyle='#263849';ctx.textAlign='center';ctx.textBaseline='middle';\n for(let i=1;i<=12;i++){const a=i*Math.PI/6;ctx.fillText(String(i),360+Math.sin(a)*145,240-Math.cos(a)*145);}\n ctx.font='11px sans-serif';ctx.fillStyle='#8e7959';ctx.fillText('LOCAL TIME',360,315);\n hand(hands.hour,100,9,'#263849');hand(hands.minute,139,6,'#263849');hand(hands.second,158,3,'#c34c3f',28);\n ctx.beginPath();ctx.arc(360,240,7,0,Math.PI*2);ctx.fillStyle='#c34c3f';ctx.fill();\n requestAnimationFrame(frame);\n}\nframe();\n</script>\n</body>\n</html>\nEOF\nnode -e \\\"const fs=require('fs'); const s=fs.readFileSync('out/scene.html','utf8'); new Function(s.match(/<script>([\\\\\\\\s\\\\\\\\S]*?)<\\\\\\\\/script>/)[1]); console.log('JavaScript syntax valid; '+Buffer.byteLength(s)+' bytes; external URLs: '+/https?:|\\\\\\\\/\\\\\\\\//.test(s));\\\"\"", "aggregated_output": "JavaScript syntax valid; 2429 bytes; external URLs: false\n", "exit_code": 0, "status": "completed"}}
{"type": "item.completed", "item": {"id": "item_3", "type": "agent_message", "text": "Created [out/scene.html](out/scene.html) with a 720\u00d7480 animated clock, ticking second hand, and `window.sceneState()`.\n\nJavaScript syntax validated; no external URLs or dependencies."}}
{"type": "turn.completed", "usage": {"input_tokens": 47465, "cached_input_tokens": 39808, "cache_write_input_tokens": 0, "output_tokens": 1089, "reasoning_output_tokens": 0}}

Get new runs and ranking changes weekly