{
  "recorded_at": "2026-11-24T18:47:18.004157+08:00",
  "scope": "Local validation only; remote CI, registry publication and contest status are recorded separately",
  "platform": "Windows",
  "node": "v24.22.3",
  "toolchain": "moon 0.1.20261021 (a4f8933 2026-10-21) ~\\.moon\\bin\\moon.exe\nmoonc v0.10.17+093cb8f9c (2026-10-21) \\\\?\\C:\\Users\\11619\\.moon\\bin\\moonc.exe\nmoonrun 0.1.20261021 (a4f8933 2026-10-21) \\\\?\\C:\\Users\\11619\\.moon\\bin\\moonrun.exe\n\nFeature flags enabled: rr_moon_mod,rr_moon_pkg",
  "checks": [
    {
      "name": "format",
      "command": [
        "moon",
        "fmt",
        "--check"
      ],
      "exit_code": 0,
      "status": "PASS"
    },
    {
      "name": "compile_all",
      "command": [
        "moon",
        "check",
        "--target",
        "all",
        "--deny-warn"
      ],
      "exit_code": 0,
      "status": "PASS"
    },
    {
      "name": "test_wasm",
      "command": [
        "moon",
        "test",
        "--target",
        "wasm",
        "--deny-warn"
      ],
      "exit_code": 0,
      "status": "PASS",
      "tests": {
        "total": 46,
        "passed": 46,
        "failed": 0
      }
    },
    {
      "name": "test_wasm_gc",
      "command": [
        "moon",
        "test",
        "--target",
        "wasm-gc",
        "--deny-warn"
      ],
      "exit_code": 0,
      "status": "PASS",
      "tests": {
        "total": 46,
        "passed": 46,
        "failed": 0
      }
    },
    {
      "name": "test_js",
      "command": [
        "moon",
        "test",
        "--target",
        "js",
        "--deny-warn"
      ],
      "exit_code": 0,
      "status": "PASS",
      "tests": {
        "total": 46,
        "passed": 46,
        "failed": 0
      }
    },
    {
      "name": "demo",
      "command": [
        "moon",
        "run",
        "cmd/demo",
        "--target",
        "js",
        "--deny-warn"
      ],
      "exit_code": 0,
      "status": "PASS"
    },
    {
      "name": "interfaces",
      "command": [
        "moon",
        "info"
      ],
      "exit_code": 0,
      "status": "PASS"
    },
    {
      "name": "source_scale",
      "command": [
        "C:\\Users\\11619\\AppData\\Local\\Programs\\Python\\Python313\\python.exe",
        "scripts/count_loc.py",
        "--minimum",
        "4000"
      ],
      "exit_code": 0,
      "status": "PASS"
    },
    {
      "name": "independent_interop",
      "command": [
        "C:\\Users\\11619\\AppData\\Local\\Programs\\Python\\Python313\\python.exe",
        "scripts/interop.py"
      ],
      "exit_code": 0,
      "status": "PASS"
    },
    {
      "name": "file_cli",
      "command": [
        "C:\\Users\\11619\\AppData\\Local\\Programs\\Python\\Python313\\python.exe",
        "scripts/test_file_cli.py"
      ],
      "exit_code": 0,
      "status": "PASS"
    },
    {
      "name": "test_native",
      "status": "NOT_RUN",
      "reason": "Windows MSVC C++ compiler/linker and SDK are unavailable in this environment"
    },
    {
      "name": "source_unchanged_during_validation",
      "status": "PASS"
    }
  ],
  "source_scale": {
    "method": "Handwritten .mbt only, comments/blank removed; strict also removes punctuation-only lines",
    "excluded": [
      ".git",
      ".mooncakes",
      "_build",
      "node_modules",
      "target",
      "work"
    ],
    "totals": {
      "core": {
        "physical": 5798,
        "code_nonblank": 5178,
        "effective_strict": 4118
      },
      "tests": {
        "physical": 1510,
        "code_nonblank": 1416,
        "effective_strict": 1093
      },
      "examples_and_tools": {
        "physical": 404,
        "code_nonblank": 371,
        "effective_strict": 287
      }
    },
    "files": {
      "core": [
        {
          "path": "bits.mbt",
          "physical": 305,
          "code_nonblank": 263,
          "effective_strict": 205
        },
        {
          "path": "budgets.mbt",
          "physical": 34,
          "code_nonblank": 31,
          "effective_strict": 24
        },
        {
          "path": "color_transform.mbt",
          "physical": 192,
          "code_nonblank": 172,
          "effective_strict": 137
        },
        {
          "path": "context.mbt",
          "physical": 290,
          "code_nonblank": 241,
          "effective_strict": 190
        },
        {
          "path": "dimensions.mbt",
          "physical": 50,
          "code_nonblank": 45,
          "effective_strict": 39
        },
        {
          "path": "framer.mbt",
          "physical": 217,
          "code_nonblank": 191,
          "effective_strict": 150
        },
        {
          "path": "histogram.mbt",
          "physical": 295,
          "code_nonblank": 259,
          "effective_strict": 205
        },
        {
          "path": "image_json.mbt",
          "physical": 279,
          "code_nonblank": 241,
          "effective_strict": 176
        },
        {
          "path": "image_ops.mbt",
          "physical": 526,
          "code_nonblank": 470,
          "effective_strict": 383
        },
        {
          "path": "info_json.mbt",
          "physical": 69,
          "code_nonblank": 62,
          "effective_strict": 44
        },
        {
          "path": "markers.mbt",
          "physical": 518,
          "code_nonblank": 482,
          "effective_strict": 383
        },
        {
          "path": "metadata.mbt",
          "physical": 307,
          "code_nonblank": 270,
          "effective_strict": 220
        },
        {
          "path": "pam.mbt",
          "physical": 304,
          "code_nonblank": 280,
          "effective_strict": 220
        },
        {
          "path": "parameters.mbt",
          "physical": 162,
          "code_nonblank": 144,
          "effective_strict": 113
        },
        {
          "path": "pnm.mbt",
          "physical": 262,
          "code_nonblank": 237,
          "effective_strict": 185
        },
        {
          "path": "pnm_source.mbt",
          "physical": 390,
          "code_nonblank": 345,
          "effective_strict": 266
        },
        {
          "path": "rate_control.mbt",
          "physical": 161,
          "code_nonblank": 143,
          "effective_strict": 112
        },
        {
          "path": "region.mbt",
          "physical": 178,
          "code_nonblank": 159,
          "effective_strict": 126
        },
        {
          "path": "restart.mbt",
          "physical": 186,
          "code_nonblank": 172,
          "effective_strict": 140
        },
        {
          "path": "row_encoder.mbt",
          "physical": 217,
          "code_nonblank": 191,
          "effective_strict": 152
        },
        {
          "path": "rows.mbt",
          "physical": 104,
          "code_nonblank": 94,
          "effective_strict": 75
        },
        {
          "path": "scan.mbt",
          "physical": 639,
          "code_nonblank": 603,
          "effective_strict": 498
        },
        {
          "path": "types.mbt",
          "physical": 113,
          "code_nonblank": 83,
          "effective_strict": 75
        }
      ],
      "tests": [
        {
          "path": "bits_wbtest.mbt",
          "physical": 81,
          "code_nonblank": 76,
          "effective_strict": 60
        },
        {
          "path": "hardening_wbtest.mbt",
          "physical": 300,
          "code_nonblank": 278,
          "effective_strict": 202
        },
        {
          "path": "image_wbtest.mbt",
          "physical": 332,
          "code_nonblank": 317,
          "effective_strict": 235
        },
        {
          "path": "integration_wbtest.mbt",
          "physical": 484,
          "code_nonblank": 447,
          "effective_strict": 354
        },
        {
          "path": "metadata_bounds_wbtest.mbt",
          "physical": 43,
          "code_nonblank": 40,
          "effective_strict": 35
        },
        {
          "path": "row_reentry_wbtest.mbt",
          "physical": 65,
          "code_nonblank": 62,
          "effective_strict": 49
        },
        {
          "path": "scan_wbtest.mbt",
          "physical": 205,
          "code_nonblank": 196,
          "effective_strict": 158
        }
      ],
      "examples_and_tools": [
        {
          "path": "cmd/demo/main.mbt",
          "physical": 31,
          "code_nonblank": 30,
          "effective_strict": 22
        },
        {
          "path": "cmd/interop/main.mbt",
          "physical": 175,
          "code_nonblank": 160,
          "effective_strict": 118
        },
        {
          "path": "cmd/node/main.mbt",
          "physical": 198,
          "code_nonblank": 181,
          "effective_strict": 147
        }
      ]
    }
  },
  "source_fingerprint": {
    "sha256": "4e58cb0ce08537d0071df88f8926f153e94036c87412d509ade63384c862fcd5",
    "files": {
      ".github/workflows/check.yml": "450c47eefaeedfa96647c38ab35c050dd51f96efd1eba75061b1e3f14a7b530c",
      "bits.mbt": "6b14047ad59deb84d0de3fdd233c5e6da0e3eb4a53ee5932435f930fae6a16b3",
      "bits_wbtest.mbt": "ff0b4da30a9449c4058f46b629730e8cf43c32f8412ebaac1530d01bad559a75",
      "budgets.mbt": "4bf2347eb15182b471c4e69a577a61fa1157a9d2b15eeb93c4a3d378ef48ed7f",
      "cmd/demo/main.mbt": "6a02bc886a295ba302d8f3cfbb445b21a22875308ee3c0439da820fc6c9b14f6",
      "cmd/demo/moon.pkg": "047659f6ed4817ecb27044e43f72efe3f96b9e3761b8c61c4637f6863af5cee8",
      "cmd/interop/main.mbt": "186c10ed12cd7eb1d01724f27ec76797451aac874bf04c4caee6f9dfdfcb3c15",
      "cmd/interop/moon.pkg": "098cc2ccedac974995a03b38b8a5834afd59c9cb94508d206e3c9ea86827c21e",
      "cmd/node/main.mbt": "1bbdccea2da36a307d61da454d5eb23ff51f30a4f38ba057d9351ded8387ae97",
      "cmd/node/moon.pkg": "155706a69428a408f6f64300eff929f4a95113b35e28f0f110f2701d6129a1b8",
      "color_transform.mbt": "23ab8f11291148bad67589c9eaedcb09c3235ee8d5aabf1bf62a440cfeeb1e3c",
      "context.mbt": "bd554087df672cd768583c2a41934292010aa118d5cfa916f176ae7fd412cfb8",
      "dimensions.mbt": "ff3121f0b1a5e0db621ef232d32bdfd42f43b59f0ebdd82ceb48bedb2e60d8e0",
      "fixtures/README.md": "cfcd45ce28dc74d185e5a8d8f6b5ee3f68a25fc028897663ac4419ee7f26f484",
      "fixtures/charls-golden.json": "54e28bb1e8e04a7722073fb7c926a89aeca53b4cfd5c8808cde2677d752c3f05",
      "fixtures/gray8.jls": "975ff8aad354e5e31dad78e4bdafbddadfdb1dfa54e75a10a8c2b62d129c6ce6",
      "framer.mbt": "2b31b18b6bb4c78de91852326968741d4bd78e21b188af44924619d9686ef8b2",
      "hardening_wbtest.mbt": "f18a2e7a46ed4d8871bd8f9ac8c692fba91346d0f2e8e4f115d4327a65230eb0",
      "histogram.mbt": "59802ab3e6eb33dd1844290598e42d25e4a8d50b04a874242939e5d1f6c27901",
      "image_json.mbt": "542a2d4a8e940f252a581c4a5d577f04a1f2961bb8fb022f57e8205068eed25b",
      "image_ops.mbt": "521eca25834e182792526e5980c06d8183e59928ba76beffd0cacbbed1b9c464",
      "image_wbtest.mbt": "24f12db89290000e286da2903cf3c0d32dc55363c9d77f8c9b21a723105bca3b",
      "info_json.mbt": "66013ff2eec2b322695a6da9d21a33f8fea17ecdf8c6884d30c204869b0723b2",
      "integration_wbtest.mbt": "f6a8c23c749a326e0b0f8dd1577c3e907d0cfc019fef8a5c10fbd0afa8969ff3",
      "markers.mbt": "6c01109d880eee590dc33ad258fea00fec77d3f55171ede0a2e89d4283b57200",
      "metadata.mbt": "cf9d2b5f891036c692168b7ce8ab2d1cb7b7024a9afda75be18aa7700106e80b",
      "metadata_bounds_wbtest.mbt": "af9d42e9931a1df1c7539306f82f3804d7ffec99a4edd99dd0a43e4284c352ff",
      "moon.mod": "44eff9fa8c7c74da993845acda77c1d59df18ab2221b7f9bfdb33f0a298b85cf",
      "moon.pkg": "0c821463a2c851988325605fcb25d1601ab896502ce1f646dd4cb2664393d14a",
      "package.json": "bc893019cfc417ddb8797f03f4cb7b8c0478035a4daa094feb92dcef586fc497",
      "pam.mbt": "cbbf916277a763ea214a644e8266ac212aebec47d866732a3956c40ece01ebbe",
      "parameters.mbt": "392d72461990357d75e7944981b658eff23b97ef1ba156b49ba707bca5eb17c4",
      "pnm.mbt": "b43cedc3936547fb534489b29b3ac793fe6210e37b9058a59afc25ba2bc617b3",
      "pnm_source.mbt": "83d48de4d5f668507a4b908a2aaee6f504778cf69b3f2fc0114f51ba494bbe8b",
      "rate_control.mbt": "dcd2e1a65bd6b2074a6bb4bad789195a3f4f4ee59417a51bc880bdd928b19b56",
      "region.mbt": "72840afad51ce2ad5a73a6ab8d9e12bced00529889ab92bbe29a98f90b436799",
      "restart.mbt": "599aebffdec1c82be0e807701faa92e576f6dbd87d06d7a2a024c0748432ef69",
      "row_encoder.mbt": "ec2a68166e02e5e5d1eb9163742c163d59cb285d82910dd7484a3752ded171a7",
      "row_reentry_wbtest.mbt": "05d3cc1ac2555f9927f383c305a815844ef87bec6fde82efd804039e2e84ec33",
      "rows.mbt": "29cbe19512149fef42d975060509b7acfa97b7b6fa0b73cdbf4a83cbef8744df",
      "scan.mbt": "7e27ada0c34d92c597f15ac2e68b7b519f7683f5033f3ec381f525b397314390",
      "scan_wbtest.mbt": "a346cfd8b240ebd1b64c475b4bad2cc25be9d77e1aa8b288517eaf2727639838",
      "scripts/count_loc.py": "9ec90e847f12e17f43090064e5aed513b980f8ac64815f56f8218b4487294dcf",
      "scripts/interop.py": "aa7b2477bcb3e72681cc295a3ac8cba8ad3eb96222ffcccb824a993412f00298",
      "scripts/moonjls.mjs": "95696d4bce342fcc0e1d83e2469c6b79408311bbd4249d41a0c7fb0b92f78112",
      "scripts/requirements-dev.txt": "845cc708c594c6f2887200d0a71eec5ee0671ff99e5e9ef3c080c17a5be00d07",
      "scripts/test_file_cli.py": "c3ae841e2a5a879af0dc3be0bada78dc3fcd488771845b296e7e9b8d4be3c772",
      "scripts/validate.py": "9e9bdacda188f7a45c17b0ff98748476af81f758924523d5f92fef05565fae83",
      "types.mbt": "18678ecc7000e89898c40e7453c87ff51a585228ddf266661380cc26abb30bd0"
    },
    "scope": "Core/tests, compiler configuration, scripts and fixtures; excludes docs, generated interfaces and build output"
  },
  "limitations": [
    "Native execution is not validated on this Windows host without MSVC C++ compiler and SDK",
    "Interleaved two-component scans have local tests only; CharLS reference rejects them",
    "Sample interleave with non-default RESET has local tests only; external sample cases use RESET=64",
    "MAXVAL must equal 2^bits_per_sample - 1; other values fail explicitly",
    "Restart/custom-threshold/push encoder cases use independent CharLS decoding; the wrapper cannot generate those exact combinations",
    "Synthetic vectors are not a complete conformance certification or a real clinical/production corpus",
    "Remote CI execution status is recorded separately in docs/SUBMISSION_STATUS.md"
  ],
  "interop": {
    "oracle": "imagecodecs==2026.11.11",
    "engine": "charls 2.4.5",
    "cases": 282,
    "outgoing_extensions": 80,
    "directions": [
      "CharLS -> MoonJLS",
      "MoonJLS -> CharLS"
    ],
    "checks": [
      "exact reconstructed pixels",
      "maximum absolute error <= NEAR",
      "2/4/8/10/12/16-bit",
      "one/two/three/four channels",
      "all interleave modes",
      "runs/noise/gradients",
      "row boundaries",
      "HP1/2/3 extension",
      "SPIFF",
      "LSE4 extended dimensions",
      "restart intervals (outgoing)",
      "push encoder (outgoing)",
      "explicit full-range MAXVAL/custom T1/T2/T3/RESET (outgoing)"
    ],
    "reference_limits": [
      "imagecodecs encoding rejects two-channel input shapes",
      "CharLS decoding rejects interleaved two-channel scans",
      "sample interleave plus non-default RESET has local tests only; external sample tests use RESET=64",
      "non-full-range MAXVAL is explicitly unsupported by MoonJLS public codec profile"
    ],
    "result": "PASS"
  },
  "file_cli": {
    "result": "PASS",
    "cases": [
      "8位 1通道 n0 none",
      "16位 3通道 n0 line",
      "12位 3通道 n3 sample",
      "8位 4通道 n1 sample",
      "8位 2通道 n0 none",
      "8位 3通道 n0 none",
      "wide PNM/JPEG-LS 65536x1 8-bit exact roundtrip",
      "wide PNM/JPEG-LS 65536x1 16-bit exact roundtrip",
      "ASCII input and explicit PAM export",
      "truncated/invalid inputs, unsupported MAXVAL, option rejection and partial-output cleanup"
    ],
    "independent": "charls 2.4.5",
    "scope": "Real temporary files, Unicode paths, compiled MoonBit codec; Node performs I/O only"
  },
  "result": "PASS_WITH_LIMITATIONS"
}
