{
  "schema": "nodus.public-proof-provenance.v1",
  "item_id": "d17b",
  "title": "Zero tolerance can still accept the wrong integer",
  "original_execution_UTC": "2026-11-24T20:12:52.324749+00:00",
  "source": {
    "file": "integer_coercion_demo.py",
    "sha256": "6cf9aef95cb95a706071f9d55d3d0e61298224573aa9b48fd39b105778e8659b"
  },
  "fixture": {
    "file": "FIXTURE.json",
    "sha256": "a38b2629fc6017758a56c73262ab238057d60ed3f3ea125c5ea99c11c6957fd2"
  },
  "protocol": {
    "file": "PROTOCOL.json",
    "sha256": "c81bb998def8cde1b53ba55d118413e18f76181bd17120c359fef3ced053ad59"
  },
  "saved_result": {
    "file": "result.json",
    "sha256": "a80f25f7f470a94d5add28cdcf4cff4fd2e803cc8671f3283d1113ea73f8175a",
    "bytes": 16716
  },
  "execution": {
    "file": "EXECUTION.json",
    "sha256": "164d41995f8026d253832ba2a7b8f6bfa4b0c495441d9a2961bdef45e44b71d1"
  },
  "environment": {
    "implementation": "CPython",
    "python_version": "3.9.6",
    "operating_system": "Darwin",
    "machine": "arm64",
    "float_info": {
      "radix": 2,
      "mant_dig": 53,
      "min_exp": -1021,
      "max_exp": 1024,
      "rounds": 1
    }
  },
  "summary": {
    "declared_cases": 10,
    "attempted_cases": 10,
    "observed_cases": 10,
    "exact_equal_cases": 2,
    "zero_tolerance_close_cases": 6,
    "accepted_outside_exact_integer_contract": 4,
    "case_checks_passed": 10,
    "selected_validator_controls": 6,
    "selected_validator_controls_passed": 6
  },
  "claim": "Ten authored exact-integer pairs evaluated once with Python integer equality and math.isclose at zero relative/absolute tolerance. Four deliberate unequal pairs collapse to equal floats; this is documented API behavior under a different numerical contract.",
  "original_credit": "Christopher Barker and Python contributors: PEP485. Python Software Foundation and documentation contributors: numeric types, math.isclose and floating-point representations. Nodus authored this fixture, proof program and worksheet.",
  "license": "MIT for this proof package; linked upstream documentation retains its original terms.",
  "scientific_invocations": 1,
  "scientific_reruns": 0,
  "limits": [
    "One finite standard-library Python teaching example with authored integer pairs; not a real kernel, tensor or model benchmark.",
    "Exact equality of original built-in Python int values is the declared task contract. Other numerical contracts can legitimately use float comparison.",
    "math.isclose float coercion is documented API behavior, not a Python defect or evidence of an existing grader defect.",
    "The binary64-compatible environment guard requires radix2,53significand bits,min_exp-1021,max_exp1024 and rounds1. Other environments stop without reinterpretation or retry.",
    "The ten cases and six selected validator controls do not establish universal correctness, coverage, prevalence, security or any error-rate estimate.",
    "No NumPy/PyTorch/CUDA, fixed-width integer-overflow, hardware timing, GPU, economics, reward improvement or training-uplift claim.",
    "Large integer values are retained as exact decimal strings in JSON. Converting values back to int after float coercion cannot establish the original integer value."
  ]
}
