Preset execution surface

Run the preset against a seed, payload, and render snapshot before buyout.

This surface projects the selected preset into an execution manifest: representative source file, extracted code lines, derived data series, matrix state, graph nodes, and an execution hash that can flow into display, composer, and delivery.

Execution preview
Seeded composer
Open raw preview
Execution manifest
hashf162cf7978077692
state8282485ca2ce4683
fidelity0.65
source.html
{
  "item": {
    "id": "factory-dataviz-stack",
    "title": "Factory data-viz stack",
    "type": "dataviz",
    "family": "factory data-viz",
    "summary": "Animation, mesh, abstract space, and analysis cards from the factory visual stack.",
    "sourcePath": "/rhiz/factory/data-viz",
    "docPath": "/rhiz/factory/data-viz/factory-bundle.md",
    "actionLabel": "Open data-viz stack"
  },
  "seed": "phi-request-ontology-graph",
  "payloadText": "{\n  \"preset\": \"factory-dataviz-stack\",\n  \"family\": \"factory data-viz\",\n  \"type\": \"dataviz\",\n  \"amplitude\": 8,\n  \"density\": 7,\n  \"directives\": [\n    \"factory data-viz\",\n    \"dataviz\"\n  ]\n}",
  "parsedPayload": {
    "kind": "object",
    "values": [
      21,
      16,
      7,
      8,
      7,
      2
    ],
    "keys": [
      "preset",
      "family",
      "type",
      "amplitude",
      "density",
      "directives"
    ],
    "raw": "{\n  \"preset\": \"factory-dataviz-stack\",\n  \"family\": \"factory data-viz\",\n  \"type\": \"dataviz\",\n  \"amplitude\": 8,\n  \"density\": 7,\n  \"directives\": [\n    \"factory data-viz\",\n    \"dataviz\"\n  ]\n}"
  },
  "previewMode": "field",
  "codeLines": [
    "<canvas id=\"riemannCanvas\"></canvas>",
    "function mapRange(value, inMin, inMax, outMin, outMax){",
    "function lerp(a,b,t){ return a + (b-a)*t; }",
    "function fade(t){ return t*t*t*(t*(t*6 -15)+10); }",
    "function noise2D(x,y){",
    "let xi = Math.floor(x), yi= Math.floor(y);",
    "let xf= x-xi,        yf= y-yi;",
    "let r1 = randomCell2D(xi,   yi);"
  ],
  "keywords": [
    "this",
    "real",
    "imag",
    "complex",
    "math",
    "canvas"
  ],
  "metrics": {
    "representativePath": "/rhiz/factory/data-viz/compute/riemann.html",
    "sampledPaths": [
      "/rhiz/factory/data-viz/compute/riemann.html",
      "/rhiz/factory/data-viz/dashboard/index.html",
      "/rhiz/factory/data-viz/abstract/uniphilab.html",
      "/rhiz/factory/data-viz/creative-code/spiky.html",
      "/rhiz/factory/data-viz/animation-flow/afrho.html",
      "/rhiz/factory/data-viz/animation-flow/spiky.html",
      "/rhiz/factory/data-viz/animation-flow/kosmos.html",
      "/rhiz/factory/data-viz/animation-flow/dynamiq.html"
    ],
    "extension": ".html",
    "lines": 247,
    "nonEmptyLines": 227,
    "bytes": 7039,
    "importCount": 0,
    "exportCount": 0,
    "functionCount": 20,
    "classCount": 3,
    "objectKeys": 6,
    "payloadKind": "object"
  },
  "dataset": {
    "series": [
      29,
      3,
      9,
      33,
      22,
      6,
      87,
      49,
      52,
      34,
      4,
      50,
      39,
      76,
      87,
      60,
      99,
      50,
      75,
      76,
      78,
      33,
      92,
      55
    ],
    "matrix": [
      [
        0.29,
        0.03,
        0.09,
        0.33,
        0.22,
        0.06
      ],
      [
        0.87,
        0.49,
        0.52,
        0.34,
        0.04,
        0.5
      ],
      [
        0.39,
        0.76,
        0.87,
        0.6,
        0.99,
        0.5
      ],
      [
        0.75,
        0.76,
        0.78,
        0.33,
        0.92,
        0.55
      ],
      [
        0.29,
        0.03,
        0.09,
        0.33,
        0.22,
        0.06
      ],
      [
        0.87,
        0.49,
        0.52,
        0.34,
        0.04,
        0.5
      ]
    ],
    "nodes": [
      {
        "id": "factory-dataviz-stack-0",
        "label": "this",
        "weight": 29
      },
      {
        "id": "factory-dataviz-stack-1",
        "label": "real",
        "weight": 3
      },
      {
        "id": "factory-dataviz-stack-2",
        "label": "imag",
        "weight": 9
      },
      {
        "id": "factory-dataviz-stack-3",
        "label": "complex",
        "weight": 33
      },
      {
        "id": "factory-dataviz-stack-4",
        "label": "math",
        "weight": 22
      },
      {
        "id": "factory-dataviz-stack-5",
        "label": "canvas",
        "weight": 6
      }
    ],
    "edges": [
      {
        "from": "factory-dataviz-stack-0",
        "to": "factory-dataviz-stack-1",
        "weight": 32
      },
      {
        "from": "factory-dataviz-stack-0",
        "to": "factory-dataviz-stack-2",
        "weight": 29
      },
      {
        "from": "factory-dataviz-stack-1",
        "to": "factory-dataviz-stack-2",
        "weight": 12
      },
      {
        "from": "factory-dataviz-stack-1",
        "to": "factory-dataviz-stack-3",
        "weight": 33
      },
      {
        "from": "factory-dataviz-stack-2",
        "to": "factory-dataviz-stack-3",
        "weight": 42
      },
      {
        "from": "factory-dataviz-stack-2",
        "to": "factory-dataviz-stack-4",
        "weight": 22
      },
      {
        "from": "factory-dataviz-stack-3",
        "to": "factory-dataviz-stack-4",
        "weight": 55
      },
      {
        "from": "factory-dataviz-stack-3",
        "to": "factory-dataviz-stack-5",
        "weight": 33
      },
      {
        "from": "factory-dataviz-stack-4",
        "to": "factory-dataviz-stack-5",
        "weight": 28
      },
      {
        "from": "factory-dataviz-stack-4",
        "to": "factory-dataviz-stack-0",
        "weight": 29
      },
      {
        "from": "factory-dataviz-stack-5",
        "to": "factory-dataviz-stack-0",
        "weight": 35
      },
      {
        "from": "factory-dataviz-stack-5",
        "to": "factory-dataviz-stack-1",
        "weight": 6
      }
    ],
    "payloadKeys": [
      "preset",
      "family",
      "type",
      "amplitude",
      "density",
      "directives"
    ],
    "payloadKind": "object"
  },
  "snapshot": {
    "executionHash": "f162cf79780776920d995a38a113f66c78353fa8823360ddf871c61b393cfc74",
    "stateHash": "8282485ca2ce46836a4ba32a0aa35b96973762104196c9de0cd9fd41667a4c62",
    "fidelity": 0.65,
    "phaseVector": [
      29,
      3,
      9,
      33
    ],
    "superpositionBands": [
      0.29,
      0.03,
      0.09,
      0.33,
      0.22,
      0.06
    ]
  }
}