{"id":"compute.parity--CompareQuantizedIntListsWithTolerance","name":"CompareQuantizedIntListsWithTolerance","owner":"yeho","package":"compute.parity","kind":"function","signature":"external CompareQuantizedIntListsWithTolerance(text label, list of int expectedCodes, list of int actualCodes, int tolerance) returns paritySummary","description":"Compare quantized int lists with tolerance.","context":"Compare numerical results with explicit tolerances and CPU-reference evidence.","parameters":[{"name":"label","type":"text","description":"Supply label as text."},{"name":"expectedCodes","type":"list of int","description":"Supply expected codes as list of int."},{"name":"actualCodes","type":"list of int","description":"Supply actual codes as list of int."},{"name":"tolerance","type":"int","description":"Supply tolerance as int."}],"returns":"paritySummary","members":[],"tags":["compute","compute.parity","cpu","function","parity","source-example","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/parity/parity_reports.yh","line":171,"sha256":"d3e5e20497f1fa9247dd9faae7257917966e51621273f167165ec16567ef78a4"},"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 CompareQuantizedIntListsWithTolerance","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 expectedCodes = []\nlist of int actualCodes = []\nint tolerance = 1\nparitySummary result = CompareQuantizedIntListsWithTolerance(label, expectedCodes, actualCodes, tolerance)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_parity__comparequantizedintlistswithtolerance\"\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":"b00dfad5ad8c3032610bb22fb0d2b237c899f3f1e3975fda6378637f1772669b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=compute.parity--CompareQuantizedIntListsWithTolerance","json":"https://demonhunterlabs.com/reference/items/compute.parity--CompareQuantizedIntListsWithTolerance.json","markdown":"https://demonhunterlabs.com/reference/text/compute.parity--CompareQuantizedIntListsWithTolerance.md"}
