{
  "capability_id": "engineering.tolerance.worst_case",
  "tool_id": "worst-case-analysis",
  "engine": "worst-case-analysis",
  "calculation_version": "1.3.0",
  "generated_at": "2026-11-10T05:18:41.764Z",
  "engine_build": "2026-09-12",
  "test_count": 27,
  "passed": 27,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 7,
      "total": 7
    },
    "boundary": {
      "passed": 7,
      "total": 7
    },
    "property": {
      "passed": 13,
      "total": 13
    }
  },
  "engine_tested": true,
  "expert_reviewed": false,
  "internally_reviewed": true,
  "review_kind": "internal",
  "source_checked": true,
  "reviewed_by": "CalculatorX tolerance / mechanical engineering review",
  "reviewer_role": "tolerance-engineer",
  "last_reviewed": "2026-09-12",
  "expert_review": {
    "status": "not_applicable",
    "reviewer": null,
    "note": "Internal domain review completed; not a named external expert review.",
    "kind": "internal"
  },
  "internal_review": {
    "status": "approved",
    "reviewer": {
      "name": "CalculatorX tolerance / mechanical engineering review",
      "role": "tolerance-engineer"
    },
    "reviewed_at": "2026-09-12",
    "scope": [
      "formula",
      "assumptions",
      "limitations",
      "sources",
      "input semantics",
      "error codes",
      "REST compatibility",
      "unit policy",
      "tests"
    ],
    "layers": [
      {
        "id": "model",
        "label": "Model / formula",
        "reviewed_at": "2026-08-12",
        "status": "current",
        "note": "Formula and engineering assumptions unchanged in v1.3.0.",
        "scope": [
          "formula",
          "assumptions",
          "limitations",
          "sources"
        ]
      },
      {
        "id": "interface",
        "label": "Interface / input semantics",
        "reviewed_at": "2026-09-12",
        "status": "current",
        "note": "Canonical non-negative magnitudes, REST signed compatibility, overflow, and unit label policy.",
        "scope": [
          "input semantics",
          "error codes",
          "REST compatibility",
          "unit policy",
          "tests"
        ]
      }
    ],
    "kind": "internal"
  },
  "page": "https://www.calculatorx.com/calc/engineering/worst-case-analysis",
  "api": "https://www.calculatorx.com/api/v1/calc/worst-case-analysis",
  "schema_input": "https://www.calculatorx.com/schemas/engineering.tolerance.worst_case.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/engineering.tolerance.worst_case.output.json",
  "assumptions": [
    "Linear 1-D magnitude stack only",
    "Unit sensitivity |cᵢ|=1",
    "Worst-case assumes every included contributor can reach its declared limit",
    "RSS comparison assumes consistent statistical basis and independence",
    "Canonical/UI magnitudes are non-negative; REST signed values ignore sign"
  ],
  "limitations": [
    "1-D linear magnitude stack only — not a full nominal min/max dimensional chain",
    "RSS comparison assumes consistent statistical basis and independence",
    "MCP/agent input schema is canonical (tolerances[] ≥ 0); REST still accepts tol[] / tol1…tol8",
    "Canonical/UI magnitudes must be ≥ 0 (NEGATIVE_TOLERANCE_MAGNITUDE). REST signed values ignore sign (SIGN_IGNORED_FOR_TOLERANCE_MAGNITUDE)",
    "Unit is a shared label; all contributors must already use the same unit — no conversion"
  ],
  "boundary_conditions": [
    "No tol → MISSING_REQUIRED_INPUT",
    "Canonical negative → NEGATIVE_TOLERANCE_MAGNITUDE",
    "binary64 overflow → RESULT_OVERFLOW"
  ],
  "sources": [
    {
      "title": "NISTIR 6223 — Design for Tolerance of Electromechanical Assemblies",
      "section": "Worst-case tolerance analysis",
      "url": "https://nvlpubs.nist.gov/nistpubs/Legacy/IR/nistir6223.pdf",
      "supports": "Deterministic analysis using component max/min limits for assembly requirements",
      "kind": "reference"
    },
    {
      "title": "ASME Y14.5 — Dimensioning and Tolerancing",
      "section": "Dimensional tolerancing / GD&T semantics",
      "url": "https://www.asme.org/codes-standards/find-codes-standards/y14-5-dimensioning-tolerancing",
      "supports": "Background language for dimensions and tolerances (not the Σ|t| algorithm itself)",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:385eede741ce878fa115231e8c7a6758469899f23e10067431a6df315b7c33ef",
  "tier": "internally_reviewed",
  "verification": {
    "tests": {
      "passed": 27,
      "total": 27,
      "golden": 7,
      "boundary": 7,
      "property": 13
    },
    "contract_checks": {
      "passed": 10,
      "total": 10
    }
  },
  "evidence_core_generated_at": "2026-09-12T08:46:25.940Z",
  "rendered_at": "2026-11-10T05:18:41.764Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.3.0",
    "artifacts": {
      "engine": "1.3.0",
      "page": "1.3.0",
      "capability": "1.3.0",
      "evidence": "1.3.0",
      "input_schema": "1.3.0",
      "output_schema": "1.3.0",
      "mcp_contract": "1.3.0"
    },
    "digests": {
      "input_schema_sha256": "9aad061f476a351cdcbe3256b8acc8d684a701499f9a3a35e97058aa2e141f80",
      "output_schema_sha256": "abd371ac9a76f0e7e9c13648cb220b15a2e9d154c98dd00d109186bda1f48251",
      "evidence_sha256": "6a904fb277c0b7a4f86ebcde9ae28ab9d5796323bdca2b58c97eb561601330f1",
      "evidence_core_sha256": "6a904fb277c0b7a4f86ebcde9ae28ab9d5796323bdca2b58c97eb561601330f1",
      "capability_sha256": "273b093356020ad29f9d4ad2afa615ef2010732de381707fd9e1f97de52eebb6",
      "engine_sha256": "c6ebd8436f08b413e1ac6317b2d48550f2e6639a90dff254244e3aa562158b8d",
      "mcp_contract_sha256": "eb3e39ad4a95ed263415b4932f185d5edfe00a2403267b7c5ed5f718d1ff6da3"
    },
    "contract_checks": {
      "total": 10,
      "passed": 10,
      "failed": 0,
      "items": [
        {
          "id": "contract-page-version",
          "status": "pass",
          "detail": "1.3.0"
        },
        {
          "id": "contract-capability-version",
          "status": "pass",
          "detail": "1.3.0"
        },
        {
          "id": "contract-input-schema-version",
          "status": "pass",
          "detail": "1.3.0"
        },
        {
          "id": "contract-output-schema-version",
          "status": "pass",
          "detail": "1.3.0"
        },
        {
          "id": "evidence-version-matches-manifest",
          "status": "pass",
          "detail": "1.3.0"
        },
        {
          "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"
  }
}
