Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 1.94 KB

File metadata and controls

80 lines (56 loc) · 1.94 KB

Image Input Grid (imageInputGrid)

Category: AI Model

Intended behavior

Upload an image and pixelate it onto an N×N grid — each cell becomes the average color and luminosity (0–1) of that region, forming the input layer of the network.

Inputs

ID Label Type Unwired default
None

Outputs

ID Label Type Default
values Values any undefined

Configuration defaults

{
  "gridSize": 8,
  "cellValues": [],
  "cellColors": [],
  "imageSrc": "",
  "imageName": ""
}

Observed frontend behavior

This calls the production passive computation with the declared input/config defaults. Cached state, trigger execution and project wiring are separate.

{
  "kind": "passive-default-probe",
  "outputs": {
    "values": []
  }
}

Observed backend behavior

Offline production passive computation with the same declared defaults; no device or model service is invoked.

{
  "kind": "passive-default-probe",
  "outputs": {
    "values": []
  }
}

Current frontend implementation

Extracted production branches; helper calls and project execution context are defined in the referenced modules.

src/lib/execution-helpers.ts:300

case "imageInputGrid":
      outputs.values = Array.isArray(config.cellValues) ? config.cellValues : [];
      break;

Implementation references

Verification limits

  • Default passive probe is an observation, not proof of all configurations, trigger behavior, or correctness. See ../NODE_RUNTIME_AUDIT.md and ../AUDIT_VALIDATION.md for test evidence.

Source fingerprint: 7e9d192bd3a559a7c50253919867601ef02c311d61e859f7afb4cadcfa508430. Rebuild with npm run docs:index.