{
  "capability_id": "engineering.tolerance.monte_carlo",
  "tool_id": "monte-carlo-tolerance",
  "engine": "monte-carlo-tolerance",
  "calculation_version": "1.12.0",
  "generated_at": "2026-11-10T05:18:41.880Z",
  "engine_build": "2026-09-11",
  "test_count": 71,
  "passed": 71,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 5,
      "total": 5
    },
    "boundary": {
      "passed": 26,
      "total": 26
    },
    "property": {
      "passed": 40,
      "total": 40
    }
  },
  "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-08-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-08-12",
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "kind": "internal"
  },
  "page": "https://www.calculatorx.com/calc/engineering/monte-carlo-tolerance",
  "api": "https://www.calculatorx.com/api/v1/calc/monte-carlo-tolerance",
  "schema_input": "https://www.calculatorx.com/schemas/engineering.tolerance.monte_carlo.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/engineering.tolerance.monte_carlo.output.json",
  "assumptions": [
    "Independent unless correlations provided",
    "Correlated all-normal: joint two-piece normal via Cholesky",
    "Correlated non-normal: Gaussian-copula NORTA; entered ρ is latent Gaussian correlation, not Pearson of the finished marginals",
    "Cp*/Cpk* are design-stage simulated indices"
  ],
  "limitations": [
    "1-D stack; correlations use joint normal (all-normal) or Gaussian-copula NORTA (non-normal marginals)",
    "Asymmetric normal uses two-piece scaling; uniform/triangular use [-tol_minus,+tol_plus]",
    "Cp/Cpk/Ppk are simulated design-stage indices from overall MC mean/σ — not measured in-control SPC",
    "Sobol requires independent inputs; for this linear stack Si=STi=analytic variance shares",
    "Shapley variance attribution supports correlation; exact for d≤12, permutation estimate for d>12",
    "Under NORTA, analytic σ uses Cov≈ρ·σi·σj (latent ρ); prefer Monte Carlo σ",
    "Shared query must encode noms/sense; legacy tol1/tol2 alone is error-only (nominals 0)",
    "Not full GD&T / 3-D geometry",
    "MCP/agent input schema is canonical (no legacy field aliases); REST still accepts aliases",
    "calculation_fingerprint is SHA-256; calculation_short_id is FNV-1a32 for UI only",
    "MCP execute/inspect default detail_level=summary; pass full for histogram/Sobol/Shapley/contributors",
    "Agent correlations use named pairs {a,b,rho} only (no i/j indexes)",
    "Agent tolerances: half_tolerance OR both tol_plus+tol_minus (no single-sided agent form)"
  ],
  "boundary_conditions": [
    "N∉100…1e5 → VALUE_OUT_OF_RANGE",
    "stack center outside LSL/USL → SPEC_CENTER_MISMATCH",
    "observed yield 0 or 1 → YIELD_SAMPLING_EXTREME",
    "sobol + correlations → SOBOL_REQUIRES_INDEPENDENT_INPUTS",
    "non-normal + correlations → Gaussian-copula NORTA (CORRELATED_NORTA)",
    "shapley works with correlations (exact d≤12)"
  ],
  "sources": [
    {
      "title": "NIST IR 6223 — Design for Tolerance of Electro-Mechanical Assemblies",
      "section": "Monte Carlo for assembly tolerance analysis",
      "url": "https://nvlpubs.nist.gov/nistpubs/Legacy/IR/nistir6223.pdf",
      "supports": "Monte Carlo for assembly tolerance and functional requirements",
      "kind": "reference"
    },
    {
      "title": "ASME Y14.5 — Dimensioning and Tolerancing",
      "section": "Dimensional tolerancing semantics",
      "url": "https://www.asme.org/codes-standards/find-codes-standards/y14-5-dimensioning-tolerancing",
      "supports": "± and limit tolerancing language background",
      "kind": "standard"
    },
    {
      "title": "NIST Engineering Statistics Handbook — Process Capability",
      "section": "6.1.6 What is Process Capability?",
      "url": "https://www.itl.nist.gov/div898/handbook/pmc/section1/pmc16.htm",
      "supports": "Distinguishes simulated design indices from measured SPC Cp/Cpk",
      "kind": "reference"
    },
    {
      "title": "Statistical tolerance analysis practice",
      "section": "RSS, correlation, sensitivity, capability",
      "supports": "Stack-up, Spearman ranking, design-stage capability",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:b4326f46a11710b3cbb4d2b124ac12ebc8e637d6d7e6dd9fbbbdcc2fd9c25a43",
  "tier": "internally_reviewed",
  "verification": {
    "tests": {
      "passed": 71,
      "total": 71,
      "golden": 5,
      "boundary": 26,
      "property": 40
    },
    "contract_checks": {
      "passed": 10,
      "total": 10
    }
  },
  "evidence_core_generated_at": "2026-09-11T23:04:52.544Z",
  "rendered_at": "2026-11-10T05:18:41.880Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.12.0",
    "artifacts": {
      "engine": "1.12.0",
      "page": "1.12.0",
      "capability": "1.12.0",
      "evidence": "1.12.0",
      "input_schema": "1.12.0",
      "output_schema": "1.12.0",
      "mcp_contract": "1.12.0"
    },
    "digests": {
      "input_schema_sha256": "55ee91bbeba09c82e0effc6d2c3bf95a9e0d7afe24f8b056bf217788b81992b1",
      "output_schema_sha256": "6bd4d91cb24648c1c65224651fb3153e3b3c7149b5328f5362df59d0ec62744a",
      "evidence_sha256": "95875460cdf06b59d9148e39d6db25707814d82bdb13b1226b5d5fbe4efb8194",
      "evidence_core_sha256": "95875460cdf06b59d9148e39d6db25707814d82bdb13b1226b5d5fbe4efb8194",
      "capability_sha256": "396dd6ff9f32fa630246c302a98c29c5c8fb0a151a475c86d4954d30cc7c86c7",
      "engine_sha256": "c6ebd8436f08b413e1ac6317b2d48550f2e6639a90dff254244e3aa562158b8d",
      "mcp_contract_sha256": "eb3e39ad4a95ed263415b4932f185d5edfe00a2403267b7c5ed5f718d1ff6da3"
    },
    "contract_checks": {
      "total": 10,
      "passed": 10,
      "failed": 0,
      "items": [
        {
          "id": "contract-page-version",
          "status": "pass",
          "detail": "1.12.0"
        },
        {
          "id": "contract-capability-version",
          "status": "pass",
          "detail": "1.12.0"
        },
        {
          "id": "contract-input-schema-version",
          "status": "pass",
          "detail": "1.12.0"
        },
        {
          "id": "contract-output-schema-version",
          "status": "pass",
          "detail": "1.12.0"
        },
        {
          "id": "evidence-version-matches-manifest",
          "status": "pass",
          "detail": "1.12.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"
  }
}
