{
  "assertions": [
    "motion(idle)",
    "uses(webgl)"
  ],
  "attempts": 3,
  "attribution": "\u201cthe line between night and day sweeping across a planet of city lights\u201d \u2014 sketchgen entry 1512, prompted by profcarroll, written by qwen3-coder:30b-a3b-q4_K_M under the treatment rules file. https://profcarroll.github.io/sketchgen-gallery/e/1512/ Licensed CC BY 4.0.",
  "brief": "The canvas presents a sweeping, curved view resembling a planet illuminated by vast constellations of glowing city lights. These lights form intricate, densely packed networks across the dark surface. The primary focus is a distinct, dynamic gradient\u2014a line of color and increasing brightness\u2014that constantly sweeps across this planet, visually representing the shift from deep night to full daylight. The whole scene should maintain a smooth, ambient motion as the light progresses across the illuminated cityscape.",
  "completion_tokens": 2594,
  "created_utc": "2026-09-23T17:51:13Z",
  "entry_id": 1512,
  "executor": "qwen3-coder:30b-a3b-q4_K_M",
  "executor_prompt_version": "executor-v3",
  "gate": [
    {
      "assertions": {},
      "attempt": 1,
      "checks": {
        "audio_context_running": null,
        "console_clean": true,
        "frame_advancing": null,
        "frame_budget": false,
        "is_looping": null,
        "sound_lib_ok": null
      },
      "completion_tokens": 892,
      "evidence": "Names this sketch shadows (checked before the gate ran):\npreflight: `sphere()` is called inside a loop inside `draw()`, so this sketch builds one lit mesh per item per frame; draw the items as one `beginShape(POINTS)` or build the mesh once in `setup()` with `buildGeometry()` (sketch.js line 47)\npreflight: `sphere()` is called inside a loop inside `draw()`, so this sketch builds one lit mesh per item per frame; draw the items as one `beginShape(POINTS)` or build the mesh once in `setup()` with `buildGeometry()` (sketch.js line 88)\n\ngate exit 1: checks failed: frame_budget\n\nFixed checks that failed:\n- frame_budget = false\n    frame_budget: 764.2 ms per frame over the first 42 frames of the 120-frame idle window, budget 100 ms \u2014 batch points and lines into one shape, no sphere() per particle, no all-pairs loop\n    frame_budget: the run stopped at 42 of the 120 idle frames and did not finish the probes or the assertions\n",
      "exit": 1,
      "ghost": null,
      "given": null,
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 764.2,
      "num_ctx": 16384,
      "preload_s": 0.048,
      "prompt_tokens": 2394,
      "resources_loaded": [],
      "rules_file": "treatment",
      "source": "attempt-1",
      "total_s": 46.823,
      "wall_s": 58.325
    },
    {
      "assertions": {},
      "attempt": 2,
      "checks": {
        "audio_context_running": null,
        "console_clean": true,
        "frame_advancing": null,
        "frame_budget": false,
        "is_looping": null,
        "sound_lib_ok": null
      },
      "completion_tokens": 850,
      "evidence": "Names this sketch shadows (checked before the gate ran):\npreflight: `sphere()` is called inside a loop inside `draw()`, so this sketch builds one lit mesh per item per frame; draw the items as one `beginShape(POINTS)` or build the mesh once in `setup()` with `buildGeometry()` (sketch.js line 47)\n\ngate exit 1: checks failed: frame_budget\n\nFixed checks that failed:\n- frame_budget = false\n    frame_budget: 225 ms per frame over the first 42 frames of the 120-frame idle window, budget 100 ms \u2014 batch points and lines into one shape, no sphere() per particle, no all-pairs loop\n    frame_budget: the run stopped at 42 of the 120 idle frames and did not finish the probes or the assertions\n",
      "exit": 1,
      "ghost": null,
      "given": {
        "kind": "previous",
        "lines": 95,
        "sha256": "039d1a14d77ba260eb4d653aa098f2c9ccb90541678b8b4ca8221d93ec5f30de",
        "shown": true
      },
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 225.0,
      "num_ctx": 16384,
      "preload_s": 0.047,
      "prompt_tokens": 3440,
      "resources_loaded": [],
      "rules_file": "treatment",
      "source": "attempt-2",
      "total_s": 14.589,
      "wall_s": 77.373
    },
    {
      "assertions": {},
      "attempt": 3,
      "checks": {
        "audio_context_running": null,
        "console_clean": true,
        "frame_advancing": null,
        "frame_budget": false,
        "is_looping": null,
        "sound_lib_ok": null
      },
      "completion_tokens": 852,
      "evidence": "Names this sketch shadows (checked before the gate ran):\npreflight: `sphere()` is called inside a loop inside `draw()`, so this sketch builds one lit mesh per item per frame; draw the items as one `beginShape(POINTS)` or build the mesh once in `setup()` with `buildGeometry()` (sketch.js line 47)\n\ngate exit 1: checks failed: frame_budget\n\nFixed checks that failed:\n- frame_budget = false\n    frame_budget: 217.4 ms per frame over the first 42 frames of the 120-frame idle window, budget 100 ms \u2014 batch points and lines into one shape, no sphere() per particle, no all-pairs loop\n    frame_budget: the run stopped at 42 of the 120 idle frames and did not finish the probes or the assertions\n",
      "exit": 1,
      "ghost": null,
      "given": {
        "kind": "previous",
        "lines": 91,
        "sha256": "1061dcb97c04ab3dd906113bd9e56bccc0941b8e1fb4f5f1551e2d32c550b7f2",
        "shown": true
      },
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 217.4,
      "num_ctx": 16384,
      "preload_s": 0.048,
      "prompt_tokens": 3367,
      "resources_loaded": [],
      "rules_file": "treatment",
      "source": "attempt-3",
      "total_s": 14.306,
      "wall_s": 70.383
    }
  ],
  "ghost": {
    "by": "default",
    "events": 40,
    "script": "wander"
  },
  "job_id": 1523,
  "last_error": "gate exit 1: checks failed: frame_budget",
  "licence": "CC BY 4.0",
  "lineage": {
    "children": [],
    "critique": null,
    "critique_by": null,
    "generation": 1,
    "inherits_source": false,
    "parent_entry_id": null,
    "root_entry_id": 1512
  },
  "loads": [],
  "note": null,
  "off_node": [],
  "planner": "gemma4:e4b",
  "planner_prompt_version": "planner-v2",
  "process": null,
  "prompt": "the line between night and day sweeping across a planet of city lights",
  "prompt_tokens": 9201,
  "publish_commit": "179d716aff979d3f888c25ac53369293abc90088",
  "published_utc": "2026-09-27T20:43:06Z",
  "rules_file": "treatment",
  "seed": 1,
  "shape": "VM.Standard.A1.Flex 16/96",
  "source": {
    "attempts": [
      "attempt-1",
      "attempt-2",
      "attempt-3"
    ],
    "entry": "https://profcarroll.github.io/sketchgen-gallery/e/1512/",
    "index_html": "sketch/index.html",
    "repository": "https://github.com/profcarroll/sketchgen-gallery/tree/main/e/1512",
    "sketch_js": "sketch/sketch.js"
  },
  "state": "failed-kept",
  "statement": "This sketch portrays a distant planet illuminated by a network of glowing city lights that form intricate patterns across its surface. A sweeping gradient sweeps across the planet's surface, representing the transition from night to day, with dynamic lighting that shifts and moves over time. The visual effect is created using a large number of points mapped onto a spherical surface, each point colorized according to its position relative to the moving light source. The scene rotates slowly to provide a sense of depth and planetary motion, while thousands of stars fill the background space.",
  "submitted_by": "profcarroll",
  "wall_s": 206.081
}
