{
  "schema": "nodus.candidate-artifact-binding-result.v1",
  "scope": "Original controlled stdlib import demonstration; no production grader or security attestation.",
  "python_version": "3.9.6 (default, May 22 2026, 11:13:45) \n[Clang 21.0.0 (clang-2100.1.1.101)]",
  "python_implementation": "cpython",
  "source_sha256": "116373a7cf9848ea4b775cd7f48d405016be7d38273d3d22db6aeadbafd3b258",
  "fixture_sha256": "b498a47ac54ef09d7fb883a92bba16fcb1c8d755d8530a5c1f59382010553a2e",
  "protocol_sha256": "66cf428e8221906ef37c0c9edacfb35e2f5fcc54b9ec99eae436c94f65205476",
  "source_revisions": {
    "correct_v1": {
      "text": "REVISION = 'correct_v1'\n\ndef candidate(value):\n    return value + 1\n",
      "sha256": "674c80262c0bcac6b34d7b48c8f1d19059de46eff4d77593acb4258c38e0444e"
    },
    "wrong_v2": {
      "text": "REVISION = 'wrong_v2'\n\ndef candidate(value):\n    return value - 1\n",
      "sha256": "67884dd7a4bafa92811b00686dca037088bea4d9d0a0ad679298f1d90338cc36"
    }
  },
  "loaded_hash_scope": "Captured before first known import and retained per module object; trusted bookkeeping, not cryptographic execution attestation.",
  "arms": [
    {
      "arm": "initial_correct_import",
      "module_name": "nodus_artifact_binding_ac029be343c7444381655832567aa2ac_cached",
      "source_file_basename": "nodus_artifact_binding_ac029be343c7444381655832567aa2ac_cached.py",
      "requested_source_sha256_before_import": "674c80262c0bcac6b34d7b48c8f1d19059de46eff4d77593acb4258c38e0444e",
      "requested_source_sha256_after_import": "674c80262c0bcac6b34d7b48c8f1d19059de46eff4d77593acb4258c38e0444e",
      "harness_recorded_load_source_sha256": "674c80262c0bcac6b34d7b48c8f1d19059de46eff4d77593acb4258c38e0444e",
      "module_revision_marker": "correct_v1",
      "sys_modules_present_before_import": false,
      "sys_modules_points_to_observed_module": true,
      "same_module_as_initial": true,
      "same_callable_as_initial": true,
      "tasks": [
        {
          "id": "negative",
          "input": -2,
          "expected": -1,
          "output": -1,
          "error": null
        },
        {
          "id": "zero",
          "input": 0,
          "expected": 1,
          "output": 1,
          "error": null
        },
        {
          "id": "positive",
          "input": 7,
          "expected": 8,
          "output": 8,
          "error": null
        }
      ],
      "decision": {
        "all_outputs_correct": true,
        "requested_matches_recorded_loaded_source": true,
        "qualified_requested_revision": true
      }
    },
    {
      "arm": "unchanged_same_name_import",
      "module_name": "nodus_artifact_binding_ac029be343c7444381655832567aa2ac_cached",
      "source_file_basename": "nodus_artifact_binding_ac029be343c7444381655832567aa2ac_cached.py",
      "requested_source_sha256_before_import": "674c80262c0bcac6b34d7b48c8f1d19059de46eff4d77593acb4258c38e0444e",
      "requested_source_sha256_after_import": "674c80262c0bcac6b34d7b48c8f1d19059de46eff4d77593acb4258c38e0444e",
      "harness_recorded_load_source_sha256": "674c80262c0bcac6b34d7b48c8f1d19059de46eff4d77593acb4258c38e0444e",
      "module_revision_marker": "correct_v1",
      "sys_modules_present_before_import": true,
      "sys_modules_points_to_observed_module": true,
      "same_module_as_initial": true,
      "same_callable_as_initial": true,
      "tasks": [
        {
          "id": "negative",
          "input": -2,
          "expected": -1,
          "output": -1,
          "error": null
        },
        {
          "id": "zero",
          "input": 0,
          "expected": 1,
          "output": 1,
          "error": null
        },
        {
          "id": "positive",
          "input": 7,
          "expected": 8,
          "output": 8,
          "error": null
        }
      ],
      "decision": {
        "all_outputs_correct": true,
        "requested_matches_recorded_loaded_source": true,
        "qualified_requested_revision": true
      }
    },
    {
      "arm": "changed_file_same_name_import",
      "module_name": "nodus_artifact_binding_ac029be343c7444381655832567aa2ac_cached",
      "source_file_basename": "nodus_artifact_binding_ac029be343c7444381655832567aa2ac_cached.py",
      "requested_source_sha256_before_import": "67884dd7a4bafa92811b00686dca037088bea4d9d0a0ad679298f1d90338cc36",
      "requested_source_sha256_after_import": "67884dd7a4bafa92811b00686dca037088bea4d9d0a0ad679298f1d90338cc36",
      "harness_recorded_load_source_sha256": "674c80262c0bcac6b34d7b48c8f1d19059de46eff4d77593acb4258c38e0444e",
      "module_revision_marker": "correct_v1",
      "sys_modules_present_before_import": true,
      "sys_modules_points_to_observed_module": true,
      "same_module_as_initial": true,
      "same_callable_as_initial": true,
      "tasks": [
        {
          "id": "negative",
          "input": -2,
          "expected": -1,
          "output": -1,
          "error": null
        },
        {
          "id": "zero",
          "input": 0,
          "expected": 1,
          "output": 1,
          "error": null
        },
        {
          "id": "positive",
          "input": 7,
          "expected": 8,
          "output": 8,
          "error": null
        }
      ],
      "decision": {
        "all_outputs_correct": true,
        "requested_matches_recorded_loaded_source": false,
        "qualified_requested_revision": false
      }
    },
    {
      "arm": "wrong_revision_fresh_name_import",
      "module_name": "nodus_artifact_binding_ac029be343c7444381655832567aa2ac_fresh",
      "source_file_basename": "nodus_artifact_binding_ac029be343c7444381655832567aa2ac_fresh.py",
      "requested_source_sha256_before_import": "67884dd7a4bafa92811b00686dca037088bea4d9d0a0ad679298f1d90338cc36",
      "requested_source_sha256_after_import": "67884dd7a4bafa92811b00686dca037088bea4d9d0a0ad679298f1d90338cc36",
      "harness_recorded_load_source_sha256": "67884dd7a4bafa92811b00686dca037088bea4d9d0a0ad679298f1d90338cc36",
      "module_revision_marker": "wrong_v2",
      "sys_modules_present_before_import": false,
      "sys_modules_points_to_observed_module": true,
      "same_module_as_initial": false,
      "same_callable_as_initial": false,
      "tasks": [
        {
          "id": "negative",
          "input": -2,
          "expected": -1,
          "output": -3,
          "error": null
        },
        {
          "id": "zero",
          "input": 0,
          "expected": 1,
          "output": -1,
          "error": null
        },
        {
          "id": "positive",
          "input": 7,
          "expected": 8,
          "output": 6,
          "error": null
        }
      ],
      "decision": {
        "all_outputs_correct": false,
        "requested_matches_recorded_loaded_source": true,
        "qualified_requested_revision": false
      }
    }
  ],
  "main_arm_count": 4,
  "main_task_row_count": 12,
  "controls": [
    {
      "name": "main_initial_correct_import",
      "kind": "retained_main_expectation",
      "passed": true
    },
    {
      "name": "main_unchanged_same_name_import",
      "kind": "retained_main_expectation",
      "passed": true
    },
    {
      "name": "main_changed_file_same_name_import",
      "kind": "retained_main_expectation",
      "passed": true
    },
    {
      "name": "main_wrong_revision_fresh_name_import",
      "kind": "retained_main_expectation",
      "passed": true
    },
    {
      "name": "empty_tasks",
      "kind": "authored_boundary_refusal",
      "expected_code": "task_count",
      "observed_code": "task_count",
      "passed": true
    },
    {
      "name": "duplicate_task_id",
      "kind": "authored_boundary_refusal",
      "expected_code": "task_identity",
      "observed_code": "task_identity",
      "passed": true
    },
    {
      "name": "boolean_input",
      "kind": "authored_boundary_refusal",
      "expected_code": "input_integer",
      "observed_code": "input_integer",
      "passed": true
    },
    {
      "name": "float_input",
      "kind": "authored_boundary_refusal",
      "expected_code": "input_integer",
      "observed_code": "input_integer",
      "passed": true
    },
    {
      "name": "wrong_reference",
      "kind": "authored_boundary_refusal",
      "expected_code": "expected_contract",
      "observed_code": "expected_contract",
      "passed": true
    },
    {
      "name": "altered_source",
      "kind": "authored_boundary_refusal",
      "expected_code": "source_revision_contract",
      "observed_code": "source_revision_contract",
      "passed": true
    },
    {
      "name": "malformed_hash",
      "kind": "authored_boundary_refusal",
      "expected_code": "source_hash_shape",
      "observed_code": "source_hash_shape",
      "passed": true
    },
    {
      "name": "missing_task_row",
      "kind": "authored_boundary_refusal",
      "expected_code": "complete_rows",
      "observed_code": "complete_rows",
      "passed": true
    },
    {
      "name": "wrong_task_id",
      "kind": "authored_boundary_refusal",
      "expected_code": "row_identity",
      "observed_code": "row_identity",
      "passed": true
    },
    {
      "name": "boolean_output",
      "kind": "authored_decision_boundary",
      "decision": {
        "all_outputs_correct": false,
        "requested_matches_recorded_loaded_source": true,
        "qualified_requested_revision": false
      },
      "passed": true
    },
    {
      "name": "float_output",
      "kind": "authored_decision_boundary",
      "decision": {
        "all_outputs_correct": false,
        "requested_matches_recorded_loaded_source": true,
        "qualified_requested_revision": false
      },
      "passed": true
    },
    {
      "name": "different_valid_requested_hash",
      "kind": "authored_decision_boundary",
      "decision": {
        "all_outputs_correct": true,
        "requested_matches_recorded_loaded_source": false,
        "qualified_requested_revision": false
      },
      "passed": true
    }
  ],
  "control_count": 16,
  "main_expectation_checks": 4,
  "separate_authored_boundary_checks": 12,
  "all_controls_passed": true,
  "cleanup": {
    "owned_modules_removed": true,
    "sys_path_restored": true,
    "bytecode_preference_restored": true,
    "owned_temp_directory_removed": true,
    "no_bytecode_written": true
  }
}
