{
  "schema": "nodus.public-proof-provenance.v1",
  "title": "A comparison can broadcast away a missing dimension",
  "authorship": "Original Nodus teaching example; NumPy APIs and documentation credited separately.",
  "license": "MIT for original code, fixture, prose and figure. External NumPy dependency retains its upstream licenses and is not bundled.",
  "kind": "Original authored arrays with actual NumPy CPU API observations",
  "scientific_invocations": 1,
  "reruns": 0,
  "environment": {
    "python": "3.12.14",
    "implementation": "CPython",
    "numpy": "2.5.0",
    "system": "Darwin",
    "machine": "arm64"
  },
  "counts": {
    "main_cases": 8,
    "decisions": 32,
    "excluded_cases": 0,
    "authored_case_checks": 8
  },
  "pins": {
    "shape_broadcast_demo.py": {
      "sha256": "3637ef11ff26eceb3c11c956696654130423351c525b6b30328ec3896ac476aa",
      "bytes": 3937
    },
    "fixture.json": {
      "sha256": "af9cb35a36d87ef3c4f193b92cfac30125bb3c85f6c6cc7567628e5453bef730",
      "bytes": 5814
    },
    "PROTOCOL.json": {
      "sha256": "1079c65610d6551deb84fa458b017e3cf26ba3e25f63a43ab8a5fa8f9c567e4c",
      "bytes": 1969
    },
    "SOURCES.json": {
      "sha256": "958c0011cc0fbb8676f25f3065762dd96f17b4f29edb6b4bc3de8e37eeff6d48",
      "bytes": 766
    },
    "requirements.txt": {
      "sha256": "86c824cc96bdb01802408e4b8452d6fb6b0dda928b7d732c4ab9372d2c55c026",
      "bytes": 13
    },
    "result.json": {
      "sha256": "30902fd25c53f9ac1aceb0c97550c61247e8d6c040d4de805abe83d39bc33e2b",
      "bytes": 18291
    },
    "EXECUTION.json": {
      "sha256": "1896b3cde0894b7ca6c8e3e676702fdfcffffea16844b6d08b8f6b2b21ecc7ed",
      "bytes": 1090
    }
  },
  "primary_sources": [
    {
      "title": "NumPy2.5 allclose documentation",
      "url": "https://numpy.org/doc/2.5/reference/generated/numpy.allclose.html",
      "use": "Documented broadcasting and elementwise comparison contract."
    },
    {
      "title": "NumPy2.5 assert_allclose documentation",
      "url": "https://numpy.org/doc/2.5/reference/generated/numpy.testing.assert_allclose.html",
      "use": "Shape comparison, scalar exception and strict shape/dtype option."
    },
    {
      "title": "NumPy2.5.0 package metadata",
      "url": "https://pypi.org/project/numpy/2.5.0/",
      "use": "Pinned external dependency, Python>=3.12; upstream code not included in original MIT archive."
    }
  ],
  "limits": [
    "Eight designed finite arrays are not a sample of benchmark failures or a prevalence estimate.",
    "Broadcasting is documented NumPy behavior; no NumPy bug, existing kernel/grader defect or vulnerability is claimed.",
    "Exact shape and dtype are declared requirements of this example, not universal requirements for every task.",
    "Zero tolerance and exactly representable small integers isolate shape/dtype rules; this is not a numerical-tolerance recommendation.",
    "No GPU, PyTorch, model training, timing, throughput, economic or provider-comparison experiment.",
    "Strict assert_allclose is not a complete kernel contract: aliasing, layout, mutation, device and additional semantic requirements remain separate."
  ]
}
