{
  "assertions": [
    "motion(idle)",
    "responds(click)"
  ],
  "attempts": 3,
  "attribution": "\u201cthe game of life\u201d \u2014 sketchgen entry 1402, prompted by profcarroll, written by qwen3-coder:30b-a3b-q4_K_M under the treatment rules file. https://profcarroll.github.io/sketchgen-gallery/e/1402/ Licensed CC BY 4.0.",
  "brief": "The canvas displays a grid composed of simple, colored squares. These shapes are arranged in a repeating pattern, and over time, they constantly transition between two states: active or dormant. The patterns evolve autonomously, with the state of every square in the grid changing based solely on the configuration of its immediate neighbors. The entire pattern shifts and ripples across the canvas, creating complex, simulated organic life. The viewer can click any location on the grid to set initial conditions or modify the current state, thereby influencing the path of the simulation.",
  "completion_tokens": 3126,
  "created_utc": "2026-09-23T08:02:24Z",
  "entry_id": 1402,
  "executor": "qwen3-coder:30b-a3b-q4_K_M",
  "executor_prompt_version": "executor-v3",
  "gate": [
    {
      "assertions": {
        "motion(idle)": false,
        "responds(click)": true
      },
      "attempt": 1,
      "checks": {
        "audio_context_running": null,
        "console_clean": true,
        "frame_advancing": null,
        "frame_budget": true,
        "is_looping": false,
        "sound_lib_ok": null
      },
      "completion_tokens": 868,
      "evidence": "gate exit 1: assertions failed: motion(idle)\n\nAssertions that failed:\n- motion(idle): idle 0->120 frames: mean abs diff 0.0000/255, 0 of 1152000 pixels changed\n",
      "exit": 1,
      "ghost": {
        "events": 16,
        "ms": 3320,
        "played": 16,
        "script": "click",
        "source": "default"
      },
      "given": null,
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 0.1,
      "num_ctx": 16384,
      "preload_s": 0.027,
      "prompt_tokens": 2407,
      "resources_loaded": [],
      "rules_file": "treatment",
      "source": "attempt-1",
      "total_s": 2.027,
      "wall_s": 57.523
    },
    {
      "assertions": {
        "motion(idle)": false,
        "responds(click)": true
      },
      "attempt": 2,
      "checks": {
        "audio_context_running": null,
        "console_clean": true,
        "frame_advancing": null,
        "frame_budget": true,
        "is_looping": false,
        "sound_lib_ok": null
      },
      "completion_tokens": 1139,
      "evidence": "gate exit 1: assertions failed: motion(idle)\n\nAssertions that failed:\n- motion(idle): idle 0->120 frames: mean abs diff 0.0000/255, 0 of 1152000 pixels changed\n",
      "exit": 1,
      "ghost": {
        "events": 16,
        "ms": 3320,
        "played": 16,
        "script": "click",
        "source": "default"
      },
      "given": {
        "kind": "previous",
        "lines": 120,
        "sha256": "e219769b2f69456a627542ee0241eb8c85c9707d7d6fc8fa34a926087e700c49",
        "shown": true
      },
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 0.1,
      "num_ctx": 16384,
      "preload_s": 0.027,
      "prompt_tokens": 3287,
      "resources_loaded": [],
      "rules_file": "treatment",
      "source": "attempt-2",
      "total_s": 2.059,
      "wall_s": 92.306
    },
    {
      "assertions": {
        "motion(idle)": false,
        "responds(click)": true
      },
      "attempt": 3,
      "checks": {
        "audio_context_running": null,
        "console_clean": true,
        "frame_advancing": null,
        "frame_budget": true,
        "is_looping": false,
        "sound_lib_ok": null
      },
      "completion_tokens": 1119,
      "evidence": "gate exit 1: assertions failed: motion(idle)\n\nAssertions that failed:\n- motion(idle): idle 0->120 frames: mean abs diff 0.0000/255, 0 of 1152000 pixels changed\n",
      "exit": 1,
      "ghost": {
        "events": 16,
        "ms": 3320,
        "played": 16,
        "script": "click",
        "source": "default"
      },
      "given": {
        "kind": "previous",
        "lines": 138,
        "sha256": "42b7ab5ad1d9bfeaad75572989141482fdd1a57aeb7767d086ef2be4d6631502",
        "shown": true
      },
      "model": "qwen3-coder:30b-a3b-q4_K_M",
      "ms_per_frame": 0.1,
      "num_ctx": 16384,
      "preload_s": 0.028,
      "prompt_tokens": 3524,
      "resources_loaded": [],
      "rules_file": "treatment",
      "source": "attempt-3",
      "total_s": 2.017,
      "wall_s": 94.965
    }
  ],
  "ghost": {
    "by": "default",
    "events": 16,
    "script": "click"
  },
  "job_id": 1413,
  "last_error": null,
  "licence": "CC BY 4.0",
  "lineage": {
    "children": [
      1558
    ],
    "critique": null,
    "critique_by": null,
    "generation": 1,
    "inherits_source": false,
    "parent_entry_id": null,
    "root_entry_id": 1402
  },
  "loads": [],
  "note": null,
  "off_node": [],
  "planner": "gemma4:e4b",
  "planner_prompt_version": "planner-v2",
  "process": null,
  "prompt": "the game of life",
  "prompt_tokens": 9218,
  "publish_commit": "c645baa5dfb112b64ffdca0fa858604450ef8c00",
  "published_utc": "2026-09-24T01:31:05Z",
  "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/1402/",
    "index_html": "sketch/index.html",
    "repository": "https://github.com/profcarroll/sketchgen-gallery/tree/main/e/1402",
    "sketch_js": "sketch/sketch.js"
  },
  "state": "published",
  "statement": "This sketch implements a cellular automaton simulation on a grid of colored squares, where each cell transitions between dormant, transitioning, and active states based on its neighbors. The system evolves autonomously, creating ripple-like patterns that spread across the canvas. When clicked, users can influence the simulation by setting initial active cells at the click location, which then propagate through the grid according to defined transition rules. The visualization shows a dynamic interplay between order and chaos, mimicking organic life-like behavior.",
  "submitted_by": "profcarroll",
  "wall_s": 244.794
}
