{
  "schemaVersion": 1,
  "recordType": "completed-local-browser-before-after-experiment",
  "date": "2026-09-07",
  "timezone": "Asia/Shanghai",
  "environment": "Codex in-app browser on macOS arm64 using the local static preview http://127.0.0.1:4173/animatechange/.",
  "execution": "Each unmodified source was uploaded through the visible tool and downloaded after a result appeared. The first pair used the progress-repaired client with its old input/output layout. After correcting the layout, both original sources were independently uploaded and inferred again. All four PNGs were saved through the public download control and remain unmodified; no crop, resize, recoloring or re-encoding.",
  "runtimeAfterLayoutFix": {
    "mainBundle": {
      "path": "/assets/index-8fb6f7e2.js",
      "bytes": 7078,
      "sha256": "e617c2d18dd0bd9b03fb59dfb5e4ba0e2a4674c5d6e3b27b38b6ca2323b94e83",
      "basis": "Corrected local dist build loaded for the fresh 13:48/13:50 browser runs, as recorded by the browser operator."
    },
    "worker": {
      "path": "/assets/animatechange.worker-5faeab41.js",
      "bytes": 618,
      "sha256": "77a3c78c7fae4d9f6adda92c2928d78da0396efe221442c239eba06564adef54",
      "basis": "Corrected local dist build loaded for the fresh 13:48/13:50 browser runs, as recorded by the browser operator."
    },
    "model": {
      "path": "/animeganv3_hayao_36.onnx",
      "bytes": 4232723,
      "sha256": "95ba7b219073fd5b12f569bc38056ffd3019cf4caf15b1feb9f73d1286c9f69d",
      "basis": "Corrected local dist build loaded for the fresh 13:48/13:50 browser runs, as recorded by the browser operator."
    },
    "settings": {
      "mode": "Default automatic run; HD button not used.",
      "baseLongEdge": 512,
      "defaultMultiplier": 3,
      "processedLongEdge": 1536,
      "dimensionAlignment": 8,
      "inputNormalization": "RGB / 127.5 - 1",
      "externalTensorLayout": "NHWC interleaved RGB on input and output",
      "userPromptOrStyleSelectorUsed": false,
      "backend": "ONNX Runtime Web WASM; worker requests 4 threads, effective threading browser-dependent."
    }
  },
  "changes": {
    "beforeVersion": "Progress UI repair applied, old channel-planar input/output conversion still present. A complete hash of the earlier loaded UI was not captured for these browser runs.",
    "afterVersion": "NHWC input/output correction and current copy changes applied. Model file, worker, default sizing and normalization range retained.",
    "review": "layout-review.json",
    "sourceLevelTests": "layout-test-report.json",
    "sourceLevelChecksPassed": 8,
    "sourceTestBoundary": "The eight checks cover model layout metadata and JavaScript input/output fixtures. They do not execute the model or stand in for the fresh browser results recorded here.",
    "chronologyBoundary": "The source-review record correctly states that its own author had not run browser inference. This run record separately documents subsequent browser validation; old outputs are never relabelled as corrected runs."
  },
  "sourceProvenance": "../../images/sources.json",
  "cases": [
    {
      "id": "coffee",
      "inputFile": "../../images/coffee.png",
      "sourceDimensions": [
        600,
        400
      ],
      "beforeLayoutFix": {
        "file": "coffee-before-layout-fix.png",
        "localTimeApprox": "2026-09-07T13:38:00+08:00",
        "status": "Historical output with old layout handling; not the corrected release result."
      },
      "afterLayoutFix": {
        "file": "coffee-output.png",
        "localTimeApprox": "2026-09-07T13:48:00+08:00",
        "status": "Fresh inference from the unchanged source after the NHWC fix."
      },
      "outputDimensions": [
        1536,
        1016
      ],
      "photographer": "Rachel Michetti",
      "credit": "Coffee photograph courtesy of Pikolo Espresso Bar",
      "license": "CC0, as documented by scikit-image",
      "licenseUrl": "https://scikit-image.org/docs/stable/api/skimage.data.html#skimage.data.coffee",
      "observationBefore": "The cup and saucer remain recognizable, but a fine regular color grid and colored edge fringes cover broad areas. These patterns must not be accepted as evidence of extra recovered detail.",
      "observationAfter": "The prominent regular grid is no longer apparent at ordinary inspection, and porcelain, liquid and tabletop form more continuous stylized regions. Cup, handle, saucer and spoon remain in the same broad composition. Fine wood grain becomes larger ridges and patches; the spoon reflection is reshaped into bright facets, and the liquid surface is simplified.",
      "decision": "Accept as an inspectable creative style-transfer draft when such texture changes suit the brief. Reject as a faithful product photograph, a texture restoration or proof that original colors/materials are unchanged."
    },
    {
      "id": "chelsea",
      "inputFile": "../../images/chelsea.png",
      "sourceDimensions": [
        451,
        300
      ],
      "beforeLayoutFix": {
        "file": "chelsea-before-layout-fix.png",
        "localTimeApprox": "2026-09-07T13:43:00+08:00",
        "status": "Historical output with old layout handling; not the corrected release result."
      },
      "afterLayoutFix": {
        "file": "chelsea-output.png",
        "localTimeApprox": "2026-09-07T13:50:00+08:00",
        "status": "Fresh inference from the unchanged source after the NHWC fix."
      },
      "outputDimensions": [
        1536,
        1016
      ],
      "photographer": "Stefan van der Walt",
      "credit": "Chelsea the cat",
      "license": "CC0, as documented by scikit-image",
      "licenseUrl": "https://scikit-image.org/docs/stable/api/skimage.data.html#skimage.data.chelsea",
      "observationBefore": "The eyes, nose and general face are legible, but repeated fine grid texture and colored fringes are visible across facial and background regions.",
      "observationAfter": "Both dark pupils, eye surrounds, nose and broad stripe pattern remain recognizable. The fur has become larger angular segments and outlined patches; narrow strands merge and the soft background becomes broad color fields. Several long image-left whiskers remain, while short cheek detail is reinterpreted.",
      "decision": "Review as a stylized cat image, checking pupils, nose, stripe placement and whisker connections against the source. It is not a faithful fur reconstruction or a numerical identity guarantee."
    }
  ],
  "timingBoundary": "Times identify approximate browser actions only. Other tasks ran concurrently, so no model inference or download duration is inferred.",
  "review": {
    "method": "All two source photographs and four raw exports were visually inspected; Pillow/NumPy measured their existing files without rewriting images.",
    "metricsBoundary": "Old and new exports share dimensions, so their difference can be counted. That count establishes changed files, not image-quality improvement, source fidelity or a success rate.",
    "notMeasured": [
      "Inference speed and download speed",
      "Production-origin deployment or behavior",
      "Perceptual quality score or accuracy benchmark",
      "Physical color fidelity or recovered fine detail",
      "Identity preservation across portraits",
      "HD-mode behavior"
    ]
  }
}
