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
hashc2f2ec90a0437ffe
state73eefbb1131f5eb8
fidelity0.67
source.js
{
  "item": {
    "id": "factory-model-triptych",
    "title": "Factory model triptych",
    "type": "models",
    "family": "factory models",
    "summary": "User, Module, and Project models exposed as buyout-level schema presets for modular applications.",
    "sourcePath": "/rhiz/factory/saas-design-lab/models/User.js",
    "docPath": "/rhiz/factory/saas-design-lab/models/Project.js",
    "actionLabel": "Inspect model preset"
  },
  "seed": "phi-request-ontology-graph",
  "payloadText": "{\n  \"preset\": \"factory-model-triptych\",\n  \"family\": \"factory models\",\n  \"type\": \"models\",\n  \"amplitude\": 5,\n  \"density\": 7,\n  \"directives\": [\n    \"factory models\",\n    \"models\"\n  ]\n}",
  "parsedPayload": {
    "kind": "object",
    "values": [
      22,
      14,
      6,
      5,
      7,
      2
    ],
    "keys": [
      "preset",
      "family",
      "type",
      "amplitude",
      "density",
      "directives"
    ],
    "raw": "{\n  \"preset\": \"factory-model-triptych\",\n  \"family\": \"factory models\",\n  \"type\": \"models\",\n  \"amplitude\": 5,\n  \"density\": 7,\n  \"directives\": [\n    \"factory models\",\n    \"models\"\n  ]\n}"
  },
  "previewMode": "matrix",
  "codeLines": [
    "const mongoose = require('mongoose');",
    "const bcrypt = require('bcryptjs');",
    "const jwt = require('jsonwebtoken');",
    "const UserSchema = new mongoose.Schema({",
    "UserSchema.pre('save', async function(next) {",
    "const salt = await bcrypt.genSalt(10);",
    "UserSchema.methods.comparePassword = async function(candidatePassword) {",
    "module.exports = mongoose.model('User', UserSchema);"
  ],
  "keywords": [
    "this",
    "type",
    "username",
    "password",
    "email",
    "mongoose"
  ],
  "metrics": {
    "representativePath": "/rhiz/factory/saas-design-lab/models/User.js",
    "sampledPaths": [
      "/rhiz/factory/saas-design-lab/models/User.js",
      "/rhiz/factory/saas-design-lab/models/Project.js"
    ],
    "extension": ".js",
    "lines": 140,
    "nonEmptyLines": 132,
    "bytes": 3293,
    "importCount": 0,
    "exportCount": 0,
    "functionCount": 2,
    "classCount": 0,
    "objectKeys": 6,
    "payloadKind": "object"
  },
  "dataset": {
    "series": [
      19,
      9,
      65,
      21,
      70,
      23,
      24,
      78,
      49,
      77,
      97,
      35,
      53,
      65,
      13,
      10,
      56,
      75,
      63,
      20,
      44,
      12,
      16,
      26
    ],
    "matrix": [
      [
        0.19,
        0.09,
        0.65,
        0.21,
        0.7,
        0.23
      ],
      [
        0.24,
        0.78,
        0.49,
        0.77,
        0.97,
        0.35
      ],
      [
        0.53,
        0.65,
        0.13,
        0.1,
        0.56,
        0.75
      ],
      [
        0.63,
        0.2,
        0.44,
        0.12,
        0.16,
        0.26
      ],
      [
        0.19,
        0.09,
        0.65,
        0.21,
        0.7,
        0.23
      ],
      [
        0.24,
        0.78,
        0.49,
        0.77,
        0.97,
        0.35
      ]
    ],
    "nodes": [
      {
        "id": "factory-model-triptych-0",
        "label": "this",
        "weight": 19
      },
      {
        "id": "factory-model-triptych-1",
        "label": "type",
        "weight": 9
      },
      {
        "id": "factory-model-triptych-2",
        "label": "username",
        "weight": 65
      },
      {
        "id": "factory-model-triptych-3",
        "label": "password",
        "weight": 21
      },
      {
        "id": "factory-model-triptych-4",
        "label": "email",
        "weight": 70
      },
      {
        "id": "factory-model-triptych-5",
        "label": "mongoose",
        "weight": 23
      }
    ],
    "edges": [
      {
        "from": "factory-model-triptych-0",
        "to": "factory-model-triptych-1",
        "weight": 28
      },
      {
        "from": "factory-model-triptych-0",
        "to": "factory-model-triptych-2",
        "weight": 65
      },
      {
        "from": "factory-model-triptych-1",
        "to": "factory-model-triptych-2",
        "weight": 74
      },
      {
        "from": "factory-model-triptych-1",
        "to": "factory-model-triptych-3",
        "weight": 21
      },
      {
        "from": "factory-model-triptych-2",
        "to": "factory-model-triptych-3",
        "weight": 86
      },
      {
        "from": "factory-model-triptych-2",
        "to": "factory-model-triptych-4",
        "weight": 70
      },
      {
        "from": "factory-model-triptych-3",
        "to": "factory-model-triptych-4",
        "weight": 91
      },
      {
        "from": "factory-model-triptych-3",
        "to": "factory-model-triptych-5",
        "weight": 23
      },
      {
        "from": "factory-model-triptych-4",
        "to": "factory-model-triptych-5",
        "weight": 93
      },
      {
        "from": "factory-model-triptych-4",
        "to": "factory-model-triptych-0",
        "weight": 70
      },
      {
        "from": "factory-model-triptych-5",
        "to": "factory-model-triptych-0",
        "weight": 42
      },
      {
        "from": "factory-model-triptych-5",
        "to": "factory-model-triptych-1",
        "weight": 23
      }
    ],
    "payloadKeys": [
      "preset",
      "family",
      "type",
      "amplitude",
      "density",
      "directives"
    ],
    "payloadKind": "object"
  },
  "snapshot": {
    "executionHash": "c2f2ec90a0437ffee67dca1acc159b5993943561116947d4c4198dde8dd3cef7",
    "stateHash": "73eefbb1131f5eb89d8b69e6e6c5646864d517bf62438454d52e3321f642406f",
    "fidelity": 0.6699999999999999,
    "phaseVector": [
      19,
      9,
      65,
      21
    ],
    "superpositionBands": [
      0.19,
      0.09,
      0.65,
      0.21,
      0.7,
      0.23
    ]
  }
}