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
hashe3b0f349a11f1ce0
statec38e9d23e771bb38
fidelity0.45
source.js
{
  "item": {
    "id": "discrete-formalism-stack",
    "title": "Discrete formalism stack",
    "type": "formalism",
    "family": "algorithms",
    "summary": "Data abstraction, discrete algorithm formalisms, helper functions, and optimization rules as modular products.",
    "sourcePath": "/rhiz/factory/services/semantic-lab",
    "docPath": "/rhiz/factory/services/semantic-lab/server.js",
    "actionLabel": "Inspect formalism stack"
  },
  "seed": "phi-request-ontology-graph",
  "payloadText": "{\n  \"preset\": \"discrete-formalism-stack\",\n  \"family\": \"algorithms\",\n  \"type\": \"formalism\",\n  \"amplitude\": 5,\n  \"density\": 7,\n  \"directives\": [\n    \"algorithms\",\n    \"formalism\"\n  ]\n}",
  "parsedPayload": {
    "kind": "object",
    "values": [
      24,
      10,
      9,
      5,
      7,
      2
    ],
    "keys": [
      "preset",
      "family",
      "type",
      "amplitude",
      "density",
      "directives"
    ],
    "raw": "{\n  \"preset\": \"discrete-formalism-stack\",\n  \"family\": \"algorithms\",\n  \"type\": \"formalism\",\n  \"amplitude\": 5,\n  \"density\": 7,\n  \"directives\": [\n    \"algorithms\",\n    \"formalism\"\n  ]\n}"
  },
  "previewMode": "matrix",
  "codeLines": [
    "const http = require('http');",
    "const PORT = Number(process.env.PORT || 8004);",
    "const name = 'semantic-lab';",
    "const server = http.createServer((req, res) => {"
  ],
  "keywords": [
    "port",
    "name",
    "http",
    "discrete",
    "process",
    "server"
  ],
  "metrics": {
    "representativePath": "/rhiz/factory/services/semantic-lab/server.js",
    "sampledPaths": [
      "/rhiz/factory/services/semantic-lab/server.js",
      "/rhiz/factory/services/semantic-lab/server.js",
      "/rhiz/factory/services/semantic-lab/Dockerfile"
    ],
    "extension": ".js",
    "lines": 15,
    "nonEmptyLines": 13,
    "bytes": 574,
    "importCount": 0,
    "exportCount": 0,
    "functionCount": 2,
    "classCount": 0,
    "objectKeys": 6,
    "payloadKind": "object"
  },
  "dataset": {
    "series": [
      77,
      57,
      61,
      51,
      71,
      51,
      32,
      25,
      24,
      78,
      29,
      92,
      7,
      83,
      63,
      12,
      59,
      51,
      39,
      33,
      56,
      65,
      88,
      74
    ],
    "matrix": [
      [
        0.77,
        0.57,
        0.61,
        0.51,
        0.71,
        0.51
      ],
      [
        0.32,
        0.25,
        0.24,
        0.78,
        0.29,
        0.92
      ],
      [
        0.07,
        0.83,
        0.63,
        0.12,
        0.59,
        0.51
      ],
      [
        0.39,
        0.33,
        0.56,
        0.65,
        0.88,
        0.74
      ],
      [
        0.77,
        0.57,
        0.61,
        0.51,
        0.71,
        0.51
      ],
      [
        0.32,
        0.25,
        0.24,
        0.78,
        0.29,
        0.92
      ]
    ],
    "nodes": [
      {
        "id": "discrete-formalism-stack-0",
        "label": "port",
        "weight": 77
      },
      {
        "id": "discrete-formalism-stack-1",
        "label": "name",
        "weight": 57
      },
      {
        "id": "discrete-formalism-stack-2",
        "label": "http",
        "weight": 61
      },
      {
        "id": "discrete-formalism-stack-3",
        "label": "discrete",
        "weight": 51
      },
      {
        "id": "discrete-formalism-stack-4",
        "label": "process",
        "weight": 71
      },
      {
        "id": "discrete-formalism-stack-5",
        "label": "server",
        "weight": 51
      }
    ],
    "edges": [
      {
        "from": "discrete-formalism-stack-0",
        "to": "discrete-formalism-stack-1",
        "weight": 134
      },
      {
        "from": "discrete-formalism-stack-0",
        "to": "discrete-formalism-stack-2",
        "weight": 77
      },
      {
        "from": "discrete-formalism-stack-1",
        "to": "discrete-formalism-stack-2",
        "weight": 118
      },
      {
        "from": "discrete-formalism-stack-1",
        "to": "discrete-formalism-stack-3",
        "weight": 57
      },
      {
        "from": "discrete-formalism-stack-2",
        "to": "discrete-formalism-stack-3",
        "weight": 112
      },
      {
        "from": "discrete-formalism-stack-2",
        "to": "discrete-formalism-stack-4",
        "weight": 71
      },
      {
        "from": "discrete-formalism-stack-3",
        "to": "discrete-formalism-stack-4",
        "weight": 122
      },
      {
        "from": "discrete-formalism-stack-3",
        "to": "discrete-formalism-stack-5",
        "weight": 51
      },
      {
        "from": "discrete-formalism-stack-4",
        "to": "discrete-formalism-stack-5",
        "weight": 122
      },
      {
        "from": "discrete-formalism-stack-4",
        "to": "discrete-formalism-stack-0",
        "weight": 77
      },
      {
        "from": "discrete-formalism-stack-5",
        "to": "discrete-formalism-stack-0",
        "weight": 128
      },
      {
        "from": "discrete-formalism-stack-5",
        "to": "discrete-formalism-stack-1",
        "weight": 57
      }
    ],
    "payloadKeys": [
      "preset",
      "family",
      "type",
      "amplitude",
      "density",
      "directives"
    ],
    "payloadKind": "object"
  },
  "snapshot": {
    "executionHash": "e3b0f349a11f1ce0c75d2db7b1159b10d0aae1ed47d3d2f5ee0d8be2467e36db",
    "stateHash": "c38e9d23e771bb38237f18c91e398b754e50cc013e252cb9d1c4a47c53681473",
    "fidelity": 0.45,
    "phaseVector": [
      77,
      57,
      61,
      51
    ],
    "superpositionBands": [
      0.77,
      0.57,
      0.61,
      0.51,
      0.71,
      0.51
    ]
  }
}