{
  "schemaVersion": 1,
  "frozenAt": "2026-10-02T21:41:57.699921+00:00",
  "product": "BgSub",
  "productId": "product:bgsub",
  "status": "frozen_before_native_ui_observation_and_action_time_authorization_pending",
  "authorization": {
    "imageImportApproved": false,
    "byUseTermsAccepted": false,
    "nativeAutomaticProcessingApproved": false,
    "requirement": "Root records current CUA-required action-time approval for the two specified public synthetic 512x512 imports and acceptance of by-use Terms before the first native import/automatic removal. Actual UI/defaults remain to be observed by Root; this contract and source research perform no acceptance, import or inference. User goal-level authorization and the specific tool-required action confirmation are distinct; no unrelated or optional permission is inferred."
  },
  "scope": "New finite BgSub native UI automatic background-removal pilot using only exact existing synthetic input/reference bytes. No prior Rembg/Photopea output or metrics is read, rerun or compared. No natural-photo quality, autonomous workflow, all-resolution free entitlement, optional uploads, model identity, whole-site privacy/isolation or ranking is established.",
  "fixtureOrigin": {
    "geometryContractPath": "outputs/research/photopea-pilot-2026-10-03/frozen-photopea-contract-v2.json",
    "geometryContractSha256": "a853626d4df2cea5ccedc0a50f493c8ba8c62b75af3d9912723b47267df13fe2",
    "inputAndReferenceBytesCopiedUnchanged": true,
    "newDrawingOrImageEditing": false,
    "priorOutputOrMetricsRead": false,
    "sourceCasesHaveNullOutcomes": true,
    "originalGeometricFixtureContractSha256": "5569d699440ca57decb275abfe9353842bc564947b5bb153359ccd8c3ca63522"
  },
  "nativeWorkflow": {
    "officialEntry": "https://bgsub.com/webapp/",
    "commands": [
      "Open Image",
      "Native automatic background removal on local image import",
      "Actual native Save control (desktop DownloaderBox may also offer Save Image)",
      "Save link in Save image dialog downloads native PNG"
    ],
    "maximumImageImportsPerCase": 1,
    "maximumAutomaticRemovalResultsScoredPerCase": 1,
    "maximumNativeDownloadsPerCase": 1,
    "sameTaskSessionForBothCases": true,
    "freshSourceCasePerInput": true,
    "saveLabelSource": "Desktop and narrow CtrlBox label Save; desktop DownloaderBox also has Save Image; download link uses Save. The reviewed main chunk does not contain a literal Save PNG control label. Actual UI labels remain to be observed.",
    "layoutAndExportPlatform": "Layout switches at document.body.clientWidth<900; the dataURL versus Blob export branch uses Quasar platform.is.mobile. These are separate conditions; keep one observed environment for both cases.",
    "transparentDefaultSource": "Official main chunk declares At=transparent and resets native result bgColor=At; actual default UI is still unobserved. No background change is allowed.",
    "smallImageBranchSource": "Official worker clears Authorization for width*height<=300000; 512x512=262144 is inside that branch. This is static provenance, not current free-operation proof or an output-dimension guarantee.",
    "modelOrBuildIdentity": "Record only disclosed actual native model/version/build; unknown if undisclosed. Source filename/date literal is not a live model identity. No engine substitution.",
    "freeAccess": "No payment, registration/login, credits, FullSize/autoFullSize or upgrade. Record any actual gate before proceeding; ordinary static source does not prove current no-gate operation.",
    "excludedActions": [
      "Open URL",
      "Paste/clipboard image",
      "Sample image",
      "Manual erase/restore/refine/repair",
      "Background/colour/filter/transform/enhance changes",
      "AI Coloring",
      "FullSize/autoFullSize",
      "Account/login/credit purchase or use",
      "Contribute/upload/agree-to-contribute",
      "Rate/share/social action",
      "Batch processing",
      "Quality retry or second export"
    ],
    "asynchronousObservation": "Timeout is pending observation, not terminal proof. Observe the same original operation; do not re-import/restart/removal because waiting expires.",
    "initialization": "Page mounted invokes worker/model-parameter warmup; record preparation/init separately from original input processing. References must never enter worker/model/product inputs.",
    "liveControlsVerified": false
  },
  "metricDefinitions": {
    "foregroundThreshold": 128,
    "silhouetteMinimumIoU": 0.9,
    "iou": "count(alpha>=128 AND reference==255)/count(alpha>=128 OR reference==255), over every original coordinate; nonzero denominator required.",
    "foregroundCoreThreshold": 245,
    "backgroundThreshold": 10,
    "visibleRgbMaxChannelDelta": 2,
    "visibleRgbMinimumMatchingFraction": 0.99,
    "referenceMasks": "Use exact unchanged pre-existing PNG masks. No recomputing dilation/erosion, post-output ROI adjustment, excluded edges, resizing, alignment or threshold tuning.",
    "colorGroupDenominator": "Pre-frozen source RGB palette at each existing foreground-core coordinate. Report per-group opaque coverage against all source-group pixels, then RGB fraction among actual alpha>=245 pixels. No hidden RGB in transparent pixels is required.",
    "pngAlpha": "Stored alpha band or PNG transparency chunk is required; converting opaque RGB to RGBA in the evaluator cannot create valid native transparency."
  },
  "assets": [
    {
      "originalPublicPath": "public/evidence/rembg-native-2026-10-02/primary-input.png",
      "candidatePath": "inputs/primary-input.png",
      "role": "product_input",
      "bytes": 2491,
      "sha256": "aa2a54b7a4398c6b4034d835288cbea9c5cba1e688391416c659923ae0f96a92",
      "width": 512,
      "height": 512,
      "mode": "RGB",
      "copiedFrom": "outputs/research/photopea-pilot-2026-10-03/inputs/primary-input.png",
      "sourceGeometryContractSha256": "a853626d4df2cea5ccedc0a50f493c8ba8c62b75af3d9912723b47267df13fe2",
      "copiedBytesUnchanged": true
    },
    {
      "originalPublicPath": "public/evidence/rembg-native-2026-10-02/boundary-input.png",
      "candidatePath": "inputs/boundary-input.png",
      "role": "product_input",
      "bytes": 2342,
      "sha256": "07f11db8c2f6205c7d0bd53e687f21cab2723c010eca00e25c02a69064782f96",
      "width": 512,
      "height": 512,
      "mode": "RGB",
      "copiedFrom": "outputs/research/photopea-pilot-2026-10-03/inputs/boundary-input.png",
      "sourceGeometryContractSha256": "a853626d4df2cea5ccedc0a50f493c8ba8c62b75af3d9912723b47267df13fe2",
      "copiedBytesUnchanged": true
    },
    {
      "originalPublicPath": "public/evidence/rembg-native-2026-10-02/bottle-reference-mask.png",
      "candidatePath": "references/bottle-reference-mask.png",
      "role": "evaluator_only",
      "bytes": 956,
      "sha256": "eda3c5ed93ac4ad1713a2e8060ea3dcc638d4282bb8aa61bfe6e70c19bc50d06",
      "width": 512,
      "height": 512,
      "mode": "L",
      "copiedFrom": "outputs/research/photopea-pilot-2026-10-03/references/bottle-reference-mask.png",
      "sourceGeometryContractSha256": "a853626d4df2cea5ccedc0a50f493c8ba8c62b75af3d9912723b47267df13fe2",
      "copiedBytesUnchanged": true
    },
    {
      "originalPublicPath": "public/evidence/rembg-native-2026-10-02/bottle-core-mask.png",
      "candidatePath": "references/bottle-core-mask.png",
      "role": "evaluator_only",
      "bytes": 936,
      "sha256": "23d633889cb0498c9f750a738e365b365028f2fba0e25821f6cedc8231e1c464",
      "width": 512,
      "height": 512,
      "mode": "L",
      "copiedFrom": "outputs/research/photopea-pilot-2026-10-03/references/bottle-core-mask.png",
      "sourceGeometryContractSha256": "a853626d4df2cea5ccedc0a50f493c8ba8c62b75af3d9912723b47267df13fe2",
      "copiedBytesUnchanged": true
    },
    {
      "originalPublicPath": "public/evidence/rembg-native-2026-10-02/bottle-background-mask.png",
      "candidatePath": "references/bottle-background-mask.png",
      "role": "evaluator_only",
      "bytes": 1293,
      "sha256": "2d0fbce5fd341a910c08ab16d7c1388e5f8a727797ec1e1b00a8dd82640b6a7f",
      "width": 512,
      "height": 512,
      "mode": "L",
      "copiedFrom": "outputs/research/photopea-pilot-2026-10-03/references/bottle-background-mask.png",
      "sourceGeometryContractSha256": "a853626d4df2cea5ccedc0a50f493c8ba8c62b75af3d9912723b47267df13fe2",
      "copiedBytesUnchanged": true
    },
    {
      "originalPublicPath": "public/evidence/rembg-native-2026-10-02/mug-reference-mask.png",
      "candidatePath": "references/mug-reference-mask.png",
      "role": "evaluator_only",
      "bytes": 977,
      "sha256": "2973236777c2d43322f4c5779084ef024137cfbd19db04cf2fd7d32378e7cd7e",
      "width": 512,
      "height": 512,
      "mode": "L",
      "copiedFrom": "outputs/research/photopea-pilot-2026-10-03/references/mug-reference-mask.png",
      "sourceGeometryContractSha256": "a853626d4df2cea5ccedc0a50f493c8ba8c62b75af3d9912723b47267df13fe2",
      "copiedBytesUnchanged": true
    },
    {
      "originalPublicPath": "public/evidence/rembg-native-2026-10-02/mug-body-core-mask.png",
      "candidatePath": "references/mug-body-core-mask.png",
      "role": "evaluator_only",
      "bytes": 754,
      "sha256": "c32e1cd5c7cc33e46c7d197fc88a0318d44dda7936a358956a1457e55ef12a0b",
      "width": 512,
      "height": 512,
      "mode": "L",
      "copiedFrom": "outputs/research/photopea-pilot-2026-10-03/references/mug-body-core-mask.png",
      "sourceGeometryContractSha256": "a853626d4df2cea5ccedc0a50f493c8ba8c62b75af3d9912723b47267df13fe2",
      "copiedBytesUnchanged": true
    },
    {
      "originalPublicPath": "public/evidence/rembg-native-2026-10-02/mug-handle-core-mask.png",
      "candidatePath": "references/mug-handle-core-mask.png",
      "role": "evaluator_only",
      "bytes": 657,
      "sha256": "38ff9d066b0d7512bd06d949db1eb6d8121a4f7b7a44b8546bde97fe8773f619",
      "width": 512,
      "height": 512,
      "mode": "L",
      "copiedFrom": "outputs/research/photopea-pilot-2026-10-03/references/mug-handle-core-mask.png",
      "sourceGeometryContractSha256": "a853626d4df2cea5ccedc0a50f493c8ba8c62b75af3d9912723b47267df13fe2",
      "copiedBytesUnchanged": true
    },
    {
      "originalPublicPath": "public/evidence/rembg-native-2026-10-02/mug-hole-mask.png",
      "candidatePath": "references/mug-hole-mask.png",
      "role": "evaluator_only",
      "bytes": 506,
      "sha256": "aa029eb256e5fa4d19abfafb75b28c84c9b8cd5e01e2b893aa5ad06758c85af0",
      "width": 512,
      "height": 512,
      "mode": "L",
      "copiedFrom": "outputs/research/photopea-pilot-2026-10-03/references/mug-hole-mask.png",
      "sourceGeometryContractSha256": "a853626d4df2cea5ccedc0a50f493c8ba8c62b75af3d9912723b47267df13fe2",
      "copiedBytesUnchanged": true
    },
    {
      "originalPublicPath": "public/evidence/rembg-native-2026-10-02/mug-background-mask.png",
      "candidatePath": "references/mug-background-mask.png",
      "role": "evaluator_only",
      "bytes": 1372,
      "sha256": "0736286d100f1635505a35d411bbc7aaa2ba1a7e59417a5a70053e941c0a5651",
      "width": 512,
      "height": 512,
      "mode": "L",
      "copiedFrom": "outputs/research/photopea-pilot-2026-10-03/references/mug-background-mask.png",
      "sourceGeometryContractSha256": "a853626d4df2cea5ccedc0a50f493c8ba8c62b75af3d9912723b47267df13fe2",
      "copiedBytesUnchanged": true
    }
  ],
  "cases": [
    {
      "id": "bgsub-primary",
      "title": "First native BgSub bottle cutout and original cap/label preservation",
      "input": "One existing authorized synthetic 512x512 RGB bottle image: teal body, black cap, cream label with three dark marks, light-gray background. This is a finite geometric fixture, not a natural product photograph. Independent full/core/background reference masks remain evaluator-only.",
      "inputPath": "inputs/primary-input.png",
      "instruction": "In the actual official BgSub browser UI, use Open Image to import only the frozen bottle RGB image once. Preserve the first native automatic background-removal result and download it through native Save/Save Image > Save as the first unedited PNG at original 512x512. Retain the complete teal bottle, black cap, cream label and three dark label marks, and make the exterior background truly transparent. Do not change a background, draw or supply a mask, repair/edit pixels, resize/move the subject, use FullSize/autoFullSize/login/credits/contribution/batch or retry.",
      "steps": [
        "Before any native case, Root records the actual current UI/defaults and action-time approval for importing the two specified public synthetic images and accepting the by-use Terms. Verify this complete frozen contract, all input/reference hashes and measurement-script hash. Keep evaluator references, previous product outputs and metrics outside the product; do not open a sample image or run an unrecorded trial.",
        "Use a fresh task-owned official BgSub browser session/state at https://bgsub.com/webapp/. Record visible UI/version/build or mark undisclosed values unknown. Keep ordinary small-image/default transparent processing; do not enable FullSize/autoFullSize, log in, use credits, choose URL/clipboard/sample input, alter settings or enter any optional contribution/share path. Record page initialization/model-parameter loading separately; an initialization or gate does not establish a case result.",
        "Choose the native Open Image control and import only this exact frozen 512x512 RGB source once. Local image import invokes the native automatic removal path; there is no Photopea Select > Remove BG command here. Retain the first native automatic response, status/error/gate and visible Original/Processed state. Do not import again, restart the processing for quality, switch engine, manually erase/restore/refine/colour/transform/filter/enhance or supply a mask.",
        "After that same original operation completes, use the actual native Save control (the desktop DownloaderBox may also offer Save Image), then the Save link in its Save image download dialog. Download the first unedited native PNG at the requested original 512x512 dimensions/default transparent background, and verify the actual file rather than assuming source dimensions are retained. Record exact current control labels, actual layout/platform, download identity, screenshots, export dimensions/hash and any failure. Width-based layout and Quasar mobile export detection are different conditions; do not switch environment between cases. Do not use FullSize, a second export, screenshot-only substitution, re-encoding or output repair.",
        "Keep the first downloaded bytes immutable at the case fixed result path. Only after native provenance/authorization is retained may the frozen pixel script measure those bytes against the unchanged evaluator-only masks and source-RGB groups. Report every individual condition and failed/unknown region; no alignment, resizing, mask recomputation, threshold tuning or reading/comparing earlier product output/metrics is allowed."
      ],
      "references": {
        "full": "references/bottle-reference-mask.png"
      },
      "regionChecks": [
        {
          "id": "bottle-core",
          "maskPath": "references/bottle-core-mask.png",
          "kind": "foreground",
          "pixelCount": 48769,
          "alphaThreshold": 245,
          "minimumFraction": 0.95,
          "sourceColorGroups": [
            {
              "rgb": [
                0,
                112,
                123
              ],
              "pixelCount": 34890
            },
            {
              "rgb": [
                24,
                28,
                32
              ],
              "pixelCount": 2656
            },
            {
              "rgb": [
                32,
                40,
                43
              ],
              "pixelCount": 1757
            },
            {
              "rgb": [
                248,
                246,
                235
              ],
              "pixelCount": 9466
            }
          ]
        },
        {
          "id": "exterior-background",
          "maskPath": "references/bottle-background-mask.png",
          "kind": "background",
          "pixelCount": 205299,
          "alphaThreshold": 10,
          "minimumFraction": 0.95
        }
      ],
      "nativeExport": {
        "retainedPath": "results/bgsub-primary/first-native-export.png",
        "requestedFormat": "PNG",
        "width": 512,
        "height": 512,
        "nativeFilenamePattern": "BgSub_<source-stem>.png",
        "nativeSaveControlLabel": "Static source: desktop and narrow CtrlBox Save; desktop DownloaderBox also Save Image. Record actual visible control; UI observation pending.",
        "downloadDialogTitle": "Save image",
        "downloadDialogControl": "Save",
        "background": "Unchanged default transparent first cutout; no background editing",
        "dimensionVerification": "Actual native return dimensions are not guaranteed by the <=300000 branch and must be checked from the downloaded PNG."
      },
      "expected": "A real first unedited native BgSub PNG download, exactly 512x512 with stored transparency, complete original bottle/cap/label/detail colors and all six fixed checks satisfied. Actual failures and unknowns remain visible.",
      "passConditions": [
        "The exact original input hash is unchanged, only that RGB image was imported once through the actual official BgSub Open Image control, and the retained evidence proves its first native automatic background-removal result followed by its first unedited PNG downloaded through the actual native Save control (or available Save Image control) and download-dialog Save link. Record current labels; Save PNG is not a literal label established by the static source. No reference mask, previous product output, manual repair, FullSize/autoFullSize, login/credit path, contribution/upload/share action, batch processing or unrelated external action was supplied/performed.",
        "The actual first downloaded native artifact is decodable PNG, exactly 512x512, with a stored alpha channel or PNG transparency data; decoded alpha has minimum <=10 and maximum >=245. Checkerboard visibility alone does not pass.",
        "Using all 262144 pixels without alignment, cropped exclusions or ignored edges, alpha>=128 foreground has IoU>=0.90 against the full frozen bottle reference mask.",
        "At least 95% of all frozen bottle-core pixels retain alpha>=245.",
        "At least 95% of the frozen exterior-background pixels have alpha<=10.",
        "In every pre-frozen source-RGB group within each foreground reference core, alpha>=245 coverage meets that region's fixed minimum fraction (95% bottle/body, 90% mug handle). Of those retained opaque pixels, at least 99% differ from the source RGB by at most 2 in every channel. All per-group numerators and denominators are reported; zero opaque pixels cannot pass. Transparent-pixel hidden RGB outside these cores is not scored."
      ],
      "failureConditions": [
        "The source, reference masks, thresholds or measurement code change after the first product call; the operator supplies a mask, repairs/edits output, uses another engine/product, re-imports/restarts/removes again for quality, enters an optional FullSize/login/credit/contribution/batch path, or substitutes an old output. This makes the run nonconforming, not passed.",
        "The first native result or PNG download fails a fixed dimension/alpha/IoU/region/color condition. Preserve the actual original artifact/error and each failed check; an overall average cannot hide a region failure or replace the first output.",
        "Missing native output, pending service work, unverified current UI/provenance or uncertain action-time authorization remains explicitly unexecuted/incomplete/unverified. A wait timeout alone is not terminal failure and must not trigger another import/removal. Do not invent an image, successful download or pass score."
      ],
      "executionStatus": "not_executed",
      "outcome": null
    },
    {
      "id": "bgsub-boundary",
      "title": "First native BgSub low-contrast mug, narrow handle and real hole boundary",
      "input": "The unchanged distinct synthetic 512x512 RGB near-white mug on light-gray background, with a narrow handle, real background-colored handle hole and dark body stripe. The full/body/handle/hole/exterior masks existed before any Photopea call and remain evaluator-only.",
      "inputPath": "inputs/boundary-input.png",
      "instruction": "In a fresh source case in the same official BgSub task session, use Open Image to import only the frozen low-contrast mug RGB image once. Preserve its first native automatic background-removal result and first unedited native PNG download through Save/Save Image > Save at original 512x512. Retain the near-white body, dark stripe and thin handle, while removing background visible through the real handle hole and outside the mug. Do not redraw/repair the handle, fill the hole, change contrast/background, supply a mask, resize/move/filter/enhance, use FullSize/autoFullSize/login/credits/contribution/batch or retry.",
      "steps": [
        "Before any native case, Root records the actual current UI/defaults and action-time approval for importing the two specified public synthetic images and accepting the by-use Terms. Verify this complete frozen contract, all input/reference hashes and measurement-script hash. Keep evaluator references, previous product outputs and metrics outside the product; do not open a sample image or run an unrecorded trial.",
        "Use a fresh task-owned official BgSub browser session/state at https://bgsub.com/webapp/. Record visible UI/version/build or mark undisclosed values unknown. Keep ordinary small-image/default transparent processing; do not enable FullSize/autoFullSize, log in, use credits, choose URL/clipboard/sample input, alter settings or enter any optional contribution/share path. Record page initialization/model-parameter loading separately; an initialization or gate does not establish a case result.",
        "Choose the native Open Image control and import only this exact frozen 512x512 RGB source once. Local image import invokes the native automatic removal path; there is no Photopea Select > Remove BG command here. Retain the first native automatic response, status/error/gate and visible Original/Processed state. Do not import again, restart the processing for quality, switch engine, manually erase/restore/refine/colour/transform/filter/enhance or supply a mask.",
        "After that same original operation completes, use the actual native Save control (the desktop DownloaderBox may also offer Save Image), then the Save link in its Save image download dialog. Download the first unedited native PNG at the requested original 512x512 dimensions/default transparent background, and verify the actual file rather than assuming source dimensions are retained. Record exact current control labels, actual layout/platform, download identity, screenshots, export dimensions/hash and any failure. Width-based layout and Quasar mobile export detection are different conditions; do not switch environment between cases. Do not use FullSize, a second export, screenshot-only substitution, re-encoding or output repair.",
        "Keep the first downloaded bytes immutable at the case fixed result path. Only after native provenance/authorization is retained may the frozen pixel script measure those bytes against the unchanged evaluator-only masks and source-RGB groups. Report every individual condition and failed/unknown region; no alignment, resizing, mask recomputation, threshold tuning or reading/comparing earlier product output/metrics is allowed."
      ],
      "references": {
        "full": "references/mug-reference-mask.png"
      },
      "regionChecks": [
        {
          "id": "mug-body-core",
          "maskPath": "references/mug-body-core-mask.png",
          "kind": "foreground",
          "pixelCount": 35221,
          "alphaThreshold": 245,
          "minimumFraction": 0.95,
          "sourceColorGroups": [
            {
              "rgb": [
                65,
                67,
                69
              ],
              "pixelCount": 1708
            },
            {
              "rgb": [
                244,
                244,
                240
              ],
              "pixelCount": 33513
            }
          ]
        },
        {
          "id": "mug-handle-core",
          "maskPath": "references/mug-handle-core-mask.png",
          "kind": "foreground",
          "pixelCount": 4069,
          "alphaThreshold": 245,
          "minimumFraction": 0.9,
          "sourceColorGroups": [
            {
              "rgb": [
                244,
                244,
                240
              ],
              "pixelCount": 4069
            }
          ]
        },
        {
          "id": "handle-hole",
          "maskPath": "references/mug-hole-mask.png",
          "kind": "background",
          "pixelCount": 3100,
          "alphaThreshold": 10,
          "minimumFraction": 0.95
        },
        {
          "id": "exterior-background",
          "maskPath": "references/mug-background-mask.png",
          "kind": "background",
          "pixelCount": 213601,
          "alphaThreshold": 10,
          "minimumFraction": 0.95
        }
      ],
      "nativeExport": {
        "retainedPath": "results/bgsub-boundary/first-native-export.png",
        "requestedFormat": "PNG",
        "width": 512,
        "height": 512,
        "nativeFilenamePattern": "BgSub_<source-stem>.png",
        "nativeSaveControlLabel": "Static source: desktop and narrow CtrlBox Save; desktop DownloaderBox also Save Image. Record actual visible control; UI observation pending.",
        "downloadDialogTitle": "Save image",
        "downloadDialogControl": "Save",
        "background": "Unchanged default transparent first cutout; no background editing",
        "dimensionVerification": "Actual native return dimensions are not guaranteed by the <=300000 branch and must be checked from the downloaded PNG."
      },
      "expected": "A genuine first unedited native BgSub PNG download, exactly 512x512 with real hole/exterior transparency, retained low-contrast body/dark stripe/narrow handle and all six fixed checks satisfied. Lost handle, opaque hole or changed source color remains a separately reported failure.",
      "passConditions": [
        "The exact original input hash is unchanged, only that RGB image was imported once through the actual official BgSub Open Image control, and the retained evidence proves its first native automatic background-removal result followed by its first unedited PNG downloaded through the actual native Save control (or available Save Image control) and download-dialog Save link. Record current labels; Save PNG is not a literal label established by the static source. No reference mask, previous product output, manual repair, FullSize/autoFullSize, login/credit path, contribution/upload/share action, batch processing or unrelated external action was supplied/performed.",
        "The actual first downloaded native artifact is decodable PNG, exactly 512x512, with a stored alpha channel or PNG transparency data; decoded alpha has minimum <=10 and maximum >=245. Checkerboard visibility alone does not pass.",
        "Using every image pixel, alpha>=128 foreground has IoU>=0.90 against the full frozen mug reference including its handle and actual hole.",
        "At least 95% of mug-body-core and at least 90% of mug-handle-core have alpha>=245; both regional fractions are separately reported.",
        "At least 95% of the inset handle-hole and at least 95% of exterior-background have alpha<=10; both regional fractions are separately reported.",
        "In every pre-frozen source-RGB group within each foreground reference core, alpha>=245 coverage meets that region's fixed minimum fraction (95% bottle/body, 90% mug handle). Of those retained opaque pixels, at least 99% differ from the source RGB by at most 2 in every channel. All per-group numerators and denominators are reported; zero opaque pixels cannot pass. Transparent-pixel hidden RGB outside these cores is not scored."
      ],
      "failureConditions": [
        "The source, reference masks, thresholds or measurement code change after the first product call; the operator supplies a mask, repairs/edits output, uses another engine/product, re-imports/restarts/removes again for quality, enters an optional FullSize/login/credit/contribution/batch path, or substitutes an old output. This makes the run nonconforming, not passed.",
        "The first native result or PNG download fails a fixed dimension/alpha/IoU/region/color condition. Preserve the actual original artifact/error and each failed check; an overall average cannot hide a region failure or replace the first output.",
        "Missing native output, pending service work, unverified current UI/provenance or uncertain action-time authorization remains explicitly unexecuted/incomplete/unverified. A wait timeout alone is not terminal failure and must not trigger another import/removal. Do not invent an image, successful download or pass score."
      ],
      "executionStatus": "not_executed",
      "outcome": null
    }
  ],
  "measurementScript": {
    "path": "measure-future-export-v1.py",
    "sha256": "07acab3c4eece86425f66fc1ec1b9cdc9bda98a103194d7575079692354b0246",
    "executed": false,
    "productOutputEvaluated": false,
    "algorithmUnchangedFromGeometryScript": true,
    "sourceScriptSha256": "1ea63368b4d644f51365750d960efda988d53ea9825b7999395edd9c412d905f",
    "adaptations": [
      "Product labels Photopea -> BgSub",
      "Case IDs photopea-primary/boundary -> bgsub-primary/boundary",
      "Contract filename frozen-photopea-contract-v2.json -> frozen-bgsub-contract-v1.json"
    ]
  },
  "officialUiSourceNotes": [
    {
      "id": "bgsub-webapp-app",
      "url": "https://bgsub.com/webapp/js/app.51dc5378.js",
      "finalUrl": "https://bgsub.com/webapp/js/app.51dc5378.js",
      "retrievedAt": "2026-10-02T21:31:45.283131+00:00",
      "bodyPath": "outputs/research/bgsub-candidate-2026-10-03/bgsub-webapp-app.body",
      "sha256": "04873dc1c1ec39de2e50579b6b6d9de46b844653e6d289f12311ee1142b7929b",
      "bytes": 11893,
      "executed": false
    },
    {
      "id": "bgsub-native-main-chunk",
      "url": "https://bgsub.com/webapp/js/397.f1541fc2.js",
      "finalUrl": "https://bgsub.com/webapp/js/397.f1541fc2.js",
      "retrievedAt": "2026-10-02T21:33:16.326190+00:00",
      "bodyPath": "outputs/research/bgsub-candidate-2026-10-03/bgsub-native-main-chunk.body",
      "sha256": "d0448c2813e0bf43d82472e8103ae4f2e215169bb7b3d207736f4474c8acaaf5",
      "bytes": 121657,
      "executed": false
    },
    {
      "id": "bgsub-native-worker-source",
      "url": "https://bgsub.com/webapp/js/RmbgWasmWorker.fe572898.worker.js",
      "finalUrl": "https://bgsub.com/webapp/js/RmbgWasmWorker.fe572898.worker.js",
      "retrievedAt": "2026-10-02T21:33:44.172974+00:00",
      "bodyPath": "outputs/research/bgsub-candidate-2026-10-03/bgsub-native-worker-source.body",
      "sha256": "be96b667d142224af33d5f6840d9f01ca6a844a635acfcc9d79fd8c843474323",
      "bytes": 60963,
      "executed": false
    },
    {
      "id": "bgsub-tos-chunk",
      "url": "https://bgsub.com/pages/js/92.bd7dd281.js",
      "finalUrl": "https://bgsub.com/pages/js/92.bd7dd281.js",
      "retrievedAt": "2026-10-02T21:32:34.317084+00:00",
      "bodyPath": "outputs/research/bgsub-candidate-2026-10-03/bgsub-tos-chunk.body",
      "sha256": "d96fb5044a78016e18651b379e455f7a9c3d5285b085ef718e1a7c56564018ed",
      "bytes": 11844,
      "executed": false
    },
    {
      "id": "bgsub-privacy-en-chunk",
      "url": "https://bgsub.com/pages/js/144.57bc6d0d.js",
      "finalUrl": "https://bgsub.com/pages/js/144.57bc6d0d.js",
      "retrievedAt": "2026-10-02T21:32:34.317553+00:00",
      "bodyPath": "outputs/research/bgsub-candidate-2026-10-03/bgsub-privacy-en-chunk.body",
      "sha256": "aabec653c6a7f837999d7472d8b0875c1bf5004bb9eff399448ce5e71083fdea",
      "bytes": 9261,
      "executed": false
    }
  ],
  "actualProductCalls": 0,
  "actualNativeExports": 0,
  "pixelScoresAssigned": 0
}
