{
  "schema": "nodus.backward-contract.public-provenance.v1",
  "item_id": "d21a",
  "original_execution_date_UTC": "2026-11-28",
  "original_invocations": 1,
  "scientific_reruns": 0,
  "environment": {
    "implementation": "CPython",
    "python": "3.9.6",
    "system": "Darwin",
    "machine": "arm64"
  },
  "source": {
    "file": "backward_contract_demo.py",
    "sha256": "b9714d127f1411b1f336a714df68ded56d1bed7129dfaedad11445d9de82e04f",
    "bytes": 5912
  },
  "fixture": {
    "file": "fixture.json",
    "sha256": "ecfe5421b54e03216d16e2b84d3484769bcca92522dda649f92d0016be3a771c",
    "bytes": 4733
  },
  "result": {
    "file": "result.json",
    "sha256": "742934663e247d0f38535588ed155507efd457c5dd99ac63ff226cb88b467ed5",
    "bytes": 22719
  },
  "counts": {
    "literal_cases": 12,
    "main_candidate_evaluations": 48,
    "main_forward_passes": 48,
    "backward_passes_by_candidate": {
      "correct": 12,
      "ignore_upstream": 6,
      "flip_sign": 6,
      "zero": 6
    },
    "cubic_diagnostics": 2,
    "relationships": 4,
    "selected_refusals": 8,
    "forward_only_evaluations": 4
  },
  "credit": [
    {
      "label": "PyTorch contributors \u2014 Gradcheck mechanics",
      "url": "https://docs.pytorch.org/docs/2.15/notes/gradcheck.html"
    },
    {
      "label": "PyTorch contributors \u2014 Extending PyTorch",
      "url": "https://docs.pytorch.org/docs/2.15/notes/extending.html"
    },
    {
      "label": "Python Software Foundation and contributors \u2014 fractions",
      "url": "https://docs.python.org/3/library/fractions.html"
    }
  ],
  "claims": "Finite authored real-polynomial example at rational points; forward and required backward separated. Analytic derivative ground truth, numerical diagnostic separately qualified.",
  "limitations": [
    "Original finite, authored scalar mathematical example at rational points; not a sampled defect rate or an existing framework, kernel or grader defect.",
    "Backward is required only under the stated first-order scalar vector-Jacobian-product contract. A forward-only API is not failed for leaving it unevaluated.",
    "Closed-form derivatives supply ground truth. Finite differences are diagnostics; the exact quadratic identity does not generalize to arbitrary functions.",
    "No tensor, automatic-differentiation engine, saved-context, higher-order, complex, stochastic, non-smooth or floating-point behavior is tested.",
    "Twelve pairs and selected refusal controls do not prove universal gradient correctness, secure validation or complete input coverage.",
    "No GPU, training run, measured performance, cost, reward improvement or training uplift."
  ],
  "GPU_model_provider_calls": 0,
  "settled_cost": null,
  "cost_scope": "No paid provider run; all-in local cost not measured.",
  "execution_controls": {
    "wall_timeout_seconds": 20,
    "result_size_check_bytes": 1048576,
    "size_check_timing": "after subprocess completion; not an OS resource cap"
  }
}
