{"id":"compute.parity--BuildIntParityMismatchReport","name":"BuildIntParityMismatchReport","owner":"yeho","package":"compute.parity","kind":"function","signature":"external BuildIntParityMismatchReport(text label, list of int expected, list of int actual, int tolerance) returns list of parityMismatch","description":"Build int parity mismatch report.","context":"Compare numerical results with explicit tolerances and CPU-reference evidence.","parameters":[{"name":"label","type":"text","description":"Supply label as text."},{"name":"expected","type":"list of int","description":"Supply expected as list of int."},{"name":"actual","type":"list of int","description":"Supply actual as list of int."},{"name":"tolerance","type":"int","description":"Supply tolerance as int."}],"returns":"list of parityMismatch","members":[],"tags":["compute","compute.parity","cpu","function","parity","source-example","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/parity/workflows.yh","line":306,"sha256":"8852b29f3194986ee4600d8797d40c71d81df18abb3b14702d20e580306b4b91"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use BuildIntParityMismatchReport","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using compute.parity\n\n// Compare numerical results with explicit tolerances and CPU-reference evidence.\ntext label = \"Player health\"\nlist of int expected = []\nlist of int actual = []\nint tolerance = 1\nlist of parityMismatch result = BuildIntParityMismatchReport(label, expected, actual, tolerance)\nConsole.Log(Text.From(result.count))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_parity__buildintparitymismatchreport\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.parity\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/parity\"\n\n[[dependencies]]\npackage = \"compute.profiling\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/profiling\"\n\n[[dependencies]]\npackage = \"compute.simd\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/simd\"\n\n[[dependencies]]\npackage = \"compute.tensor\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/tensor\"\n\n[[dependencies]]\npackage = \"console\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/console\"\n\n[[dependencies]]\npackage = \"diagnostics\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/diagnostics\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"24058b878db45f036fde9557a294aeb02ecd4338e339cc96c69d893a2523cd54","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=compute.parity--BuildIntParityMismatchReport","json":"https://demonhunterlabs.com/reference/items/compute.parity--BuildIntParityMismatchReport.json","markdown":"https://demonhunterlabs.com/reference/text/compute.parity--BuildIntParityMismatchReport.md"}
