{
  "capability_id": "electrical.swg_to_mm",
  "tool_id": "swg-to-mm",
  "engine": "swg",
  "calculation_version": "1.3.1",
  "generated_at": "2026-11-10T05:18:41.709Z",
  "engine_build": "2026-09-10",
  "test_count": 76,
  "passed": 76,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 63,
      "total": 63
    },
    "boundary": {
      "passed": 8,
      "total": 8
    },
    "property": {
      "passed": 5,
      "total": 5
    }
  },
  "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/wire/swg-to-mm",
  "api": "https://www.calculatorx.com/api/v1/calc/swg-to-mm",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.swg_to_mm.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.swg_to_mm.output.json",
  "assumptions": [
    "Canonical size is the Imperial SWG inch table (7/0–50). millimetre = inch × 25.4 (exact).",
    "Area uses that millimetre, not a rounded display value.",
    "Area assumes a solid circular cross-section of that diameter.",
    "For tube/sheet use-cases, interpret d as wall/sheet thickness.",
    "SWG 0 and 1/0 share the tabulated 0.324 in size used here; some catalogues list 1/0 separately."
  ],
  "limitations": [
    "Lookup table only for integer SWG 7/0 (−6) through 50",
    "Out-of-range → SWG_OUT_OF_RANGE (not 0 mm)",
    "Non-integer → SWG_NOT_INTEGER (not Math.round)",
    "Canonical diameter is inch; mm = inch × 25.4 (exact); area uses that mm",
    "SWG ≠ AWG; same number different diameter"
  ],
  "boundary_conditions": [
    "Missing/empty swg → MISSING_REQUIRED_INPUT (not 0 mm)",
    "Unparseable swg → INVALID_NUMBER",
    "Non-integer SWG → SWG_NOT_INTEGER (not Math.round)",
    "SWG outside 7/0 (−6)…50 → SWG_OUT_OF_RANGE (not 0 mm)",
    "field not mm|mm2 → INVALID_MODE",
    "Lower SWG number → thicker diameter (within table)",
    "field=mm → diameter; field=mm2 → πd²/4 from exact mm",
    "UI/share mode=swg-mm|swg-mm2 maps to field; query a aliases swg"
  ],
  "sources": [
    {
      "title": "British Standards Institution — BS 3737:1964",
      "section": "Guide to series of basic sizes for metal sheet, strip and wire — Status: Withdrawn. Public catalogue confirms identity/status. Exact PDF table/clause/page is not asserted. The 57-row inch dataset was independently checked 2026-09-10 against Wikipedia, Engineering Toolbox, and Trojan SF (57/57 inch identity); 0.324 in is canonical SWG 0, with 1/0 as alias.",
      "url": "https://knowledge.bsigroup.com/products/guide-to-series-of-basic-sizes-for-metal-sheet-strip-and-wire",
      "supports": "Historical definition/reference for Imperial SWG diameter series (inch). Used as historical identity, not a current BSI product standard, and not a row-by-row BSI PDF transcription.",
      "kind": "standard"
    },
    {
      "title": "NIST Guide to the SI (SP 811)",
      "section": "Millimetre as the SI unit for length; 1 in = 25.4 mm exactly",
      "url": "https://www.nist.gov/pml/special-publication-811",
      "supports": "d_mm = d_in × 25.4; diameter output in mm and area in mm²",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:6681584e7bcf14adc599b12fb4de1ab3655d15c60d532bfe5b5a75e7060b4209",
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 76,
      "total": 76,
      "golden": 63,
      "boundary": 8,
      "property": 5
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-09-10T22:48:17.762Z",
  "rendered_at": "2026-11-10T05:18:41.709Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.3.1",
    "artifacts": {
      "engine": "1.3.1",
      "page": "1.3.1",
      "capability": "1.3.1",
      "evidence": "1.3.1",
      "input_schema": "1.3.1",
      "output_schema": "1.3.1",
      "mcp_contract": "1.3.1"
    },
    "digests": {
      "input_schema_sha256": "86262535bd5cf3d7af1106f20ae6d1ee4c4e3e4b01dc827e8f6a5b202b8e5b7c",
      "output_schema_sha256": "e6a848b5ea8b44c3868034828fca95d72270e291ca16e3e92bdfb8284f7b808a",
      "evidence_sha256": "cdc4fc9604a4cc13d242a602b85583f643612436a3d04bf3ac3a19469c55edc7",
      "evidence_core_sha256": "cdc4fc9604a4cc13d242a602b85583f643612436a3d04bf3ac3a19469c55edc7",
      "capability_sha256": "0411ff98316a0f671e29dfd4669c5c3713e430ce74abe94a377f9c6d694fe219",
      "engine_sha256": "c6ebd8436f08b413e1ac6317b2d48550f2e6639a90dff254244e3aa562158b8d",
      "mcp_contract_sha256": "eb3e39ad4a95ed263415b4932f185d5edfe00a2403267b7c5ed5f718d1ff6da3"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.3.1"
        },
        {
          "id": "schema-output-required-declared",
          "status": "pass"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        },
        {
          "id": "rest-success-payload-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  },
  "tests": [],
  "disclosure": {
    "policy": "calculatorx-public-evidence-v1",
    "full_validation": "private",
    "representation": "summary"
  }
}
