{
  "capability_id": "physics.em.magnetic_field",
  "tool_id": "magnetic-field",
  "engine": "magnetic-field",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:03:43.766Z",
  "engine_build": "2026-09-10",
  "test_count": 3,
  "passed": 3,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 1,
      "passed": 1
    },
    "boundary": {
      "total": 1,
      "passed": 1
    },
    "property": {
      "total": 1,
      "passed": 1
    }
  },
  "engine_tested": true,
  "expert_reviewed": false,
  "internally_reviewed": false,
  "review_kind": null,
  "source_checked": true,
  "reviewed_by": null,
  "reviewer_role": null,
  "last_reviewed": null,
  "expert_review": {
    "status": "optional_not_performed",
    "reviewer": null,
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "note": "Domain expert review is optional under CVP (CVP-EXP-01). Absence does not block CVP Verified. See Review policy for supplemental domain assurance."
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/physics/magnetic-field",
  "api": "https://www.calculatorx.com/api/v1/calc/magnetic-field",
  "schema_input": "https://www.calculatorx.com/schemas/physics.em.magnetic_field.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.em.magnetic_field.output.json",
  "assumptions": [],
  "limitations": [
    "Ideal infinite wire / long solenoid"
  ],
  "boundary_conditions": [
    "coded hard errors"
  ],
  "sources": [
    {
      "title": "Intro physics / NIST units",
      "section": "standard relations",
      "supports": "engine formulas",
      "kind": "reference"
    },
    {
      "title": "ISO 80000-6 — Electromagnetism",
      "section": "Magnetic field of wire / solenoid",
      "supports": "B = μ0 I/(2πr); B = μ0 n I",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:4b1a3a0a43dd9a67e949410f90a0e3b60516dd8bb5f4d0d5a397f32320824f42",
  "tests": [
    {
      "id": "wire",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "wire",
        "I_A": 10,
        "r_m": 0.05
      },
      "expect": {
        "B_T": 0.00004
      },
      "expectWarning": null,
      "actual": {
        "mode": "wire",
        "I_A": 10,
        "r_m": 0.05,
        "B_T": 0.00004,
        "mu0": 0.0000012566370614359173
      },
      "tol": 1e-12
    },
    {
      "id": "bad",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "wire",
        "I_A": 10,
        "r_m": 0
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "r_m must be greater than zero"
    },
    {
      "id": "property-b-sol",
      "ok": true,
      "kind": "property",
      "detail": "0.005026548245743669",
      "expect": 0.005026548245743669,
      "actual": 0.005026548245743669
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 3,
      "total": 3,
      "golden": 1,
      "boundary": 1,
      "property": 1
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-10T22:48:17.762Z",
  "rendered_at": "2026-09-16T22:03:43.766Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.0.0",
    "artifacts": {
      "engine": "1.0.0",
      "page": "1.0.0",
      "capability": "1.0.0",
      "evidence": "1.0.0",
      "input_schema": "1.0.0",
      "output_schema": "1.0.0",
      "mcp_contract": "1.0.0"
    },
    "digests": {
      "input_schema_sha256": "a93b114f22f2de219c5092ae7dd8682030b66983672c62ca9db1933a19cd5c4a",
      "output_schema_sha256": "9e1dcbd4f23996b3def97e1b1c567ac4e90114b8f91e84b084682fcb876c5d84",
      "evidence_sha256": "c3773f633bd9361bf0433c8d6a765ec3816c48c5c59065875da2e440c80cb698",
      "evidence_core_sha256": "c3773f633bd9361bf0433c8d6a765ec3816c48c5c59065875da2e440c80cb698",
      "capability_sha256": "b825f1b8f1e01be21f6790d8c58c1bace0758273ce738527fe644ab17f92a268",
      "engine_sha256": "c8d4ccdbfeaf61d7b024d4e1babb0c2ba3b324c1b37bd0cb456a526d8d2b1bd1",
      "mcp_contract_sha256": "863098b311a7b17dc4b229a6302b90b3545b175f716e5d84772c7be8e9716b86"
    },
    "contract_checks": {
      "total": 4,
      "passed": 4,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.0"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
