Home Developers Capabilities 1-D Tolerance Analysis Workspace

Verified calculation capability

1-D Tolerance Analysis Workspace Calculation Capability

1-D Tolerance Analysis Workspace — dimensional Monte Carlo with asymmetric ±tol, correlations (normal or NORTA), Spearman/Pearson/Sobol/Shapley sensitivity, σ convergence, LSL/USL yield, simulated capability, fingerprint, and snapshots. · Engineering · Tolerance

Capability ID engineering.tolerance.monte_carlo · version 1.12.0

Model

Stack

Inputs / Outputs

Canonical symbols for this capability. Agent schemas remain the contract.

SymbolQuantityUnitRole
tolerancesCanonical stack components. y = Σ c·(nominal + ε).input / output
NMonte Carlo iterations (default 5000).input / output
seedPRNG seed (mulberry32).input / output
k_sigmaFor normal: half_tolerance = k_sigma · σ (default 3).input / output
LSLLower specification limit (optional).input / output
USLUpper specification limit (optional).input / output
unitOptional display unit (mm, in, …).input / output
correlationsOptional pairwise correlations by dimension name: [{a,b,rho}]. ρ is Pearson (all-normal) or latent normal (NORTA).input / output
sensitivity_methodSensitivity method (default spearman). sobol = exact first-order for independent linear stacks; shapley = variance attribution (supports correlation).input / output
sobol_NOptional Saltelli MC cross-check size when sensitivity_method=sobol.input / output
shapley_NOptional permutation count when sensitivity_method=shapley and d>12 (exact for d≤12).input / output
profileoutput
namount of substanceoutput
toloutput
half_tolerancesoutput
stack_nomΣ cᵢ·nominalᵢoutput
meanoutput
stdoutput
std_analyticoutput
std_rel_erroutput
p025output
p05output
p50output
p95output
p975output
p99output
stack_worstoutput
stack_rssoutput
yieldFraction of samples within spec limitsoutput
reject_rateoutput
ppm_belowoutput
ppm_aboveoutput
ppm_totaloutput
below_countoutput
above_countoutput
in_spec_countoutput
Cploutput
Cpuoutput
Ppkoutput
rngoutput
histogramoutput
correlatedoutput
correlation_modelnull if independent; two_piece_normal for all-normal joint; gaussian_copula_norta for non-normal/mixed marginals.output
stack_shiftoutput
stack_centerstack_nom + stack_shiftoutput
contributorsoutput
Cpoutput
Cpkoutput
stack_dist_meanoutput
convergenceoutput
capability_basisoutput
capability_normal_equivalentoutput
simulated_Cpoutput
simulated_Cpkoutput
sensitivity_metricoutput
yield_samplingoutput
calculation_fingerprintAudit fingerprint: sha256 of canonical normalized inputs + engine/PRNG lock.output
calculation_short_idShort FNV-1a32 id for UI/cache only — not an audit fingerprint.output
soboloutput
shapleyoutput

Assumptions / Validity

Declared scope for this capability. Do not use it outside this domain.

Assumptions

Not supported

Example

One numerical check. The calculator page holds worked steps and FAQ.

A=10 +0.1/−0.05, B=5±0.2, LSL=4.8, USL=5.2

Open this example in the calculator

Trust

CVP VERIFIED · CVP protocol 1.0.0-proposed · Engineering assurance · O2-A analytic σ/moments/Cp* and O2-B seeded mulberry32+Box-Muller replay of mean/std/percentiles/yield + O3 mpmath tabulated analytic σ. NORTA sampling and Sobol/Shapley remain Evidence regression.. Computational verification is defined by CVP. Supplemental domain review (internal) and named expert review are defined by the Review policy and do not by themselves determine CVP conformance.

CVP
CVP VERIFIED · CVP protocol 1.0.0-proposed · Engineering assurance · O2-A analytic σ/moments/Cp* and O2-B seeded mulberry32+Box-Muller replay of mean/std/percentiles/yield + O3 mpmath tabulated analytic σ. NORTA sampling and Sobol/Shapley remain Evidence regression.· View Manifest · CVP overview · Specification
Verified scope
O2-A analytic σ/moments/Cp* and O2-B seeded mulberry32+Box-Muller replay of mean/std/percentiles/yield + O3 mpmath tabulated analytic σ. NORTA sampling and Sobol/Shapley remain Evidence regression.
Assurance
Engineering
Declared partition coverage
PASS · 13/13 declared partitions (normal-independent, normal-correlated, non-normal, norta-correlated, asymmetric, mean-shift, yield-capability, sensitivity-ranking, sobol, shapley, reproducibility, large-N, invalid-domain)
Deferred
NORTA sampling, Sobol, and Shapley remain Evidence regression. O3 does not cover seeded MC statistics, Gaussian copula, or GD&T/3-D chains.
Calculation version
1.12.0
Verification
71/71 calculation tests · 5/5 legacy golden · 26/26 legacy boundary · 40/40 legacy property
Production surface contract
8/8
Versions
Calculation 1.12.0 · CVP protocol 1.0.0-proposed · Evidence 2026-09-16.o3-analytic
Verification revision
2026-09-16.o3-analytic · 40/40 property · digest 964fa4df8516
Reference
O1 model · O3 expected_values · O3 numerical_behavior · O2 expected_values · O2 numerical_behavior
Numerical scope
O2-A: analytic σ / moments / Cp* Cpk* vs separate-module identities (≤2 ULP). O2-B: seeded mulberry32+Box-Muller replay of mean/std/percentiles/yield (≤2 ULP). Not measured SPC. NORTA Pearson ≠ latent ρ; NORTA sampling remains Evidence regression. ≤2 ULP vs O3 applies only to the published tabulated analytic σ / moments / stack_center vectors (independent normal, correlated normal, gap, uniform, asymmetric uniform, triangular, k=1 3-4-5, single). Seeded MC statistics, NORTA, Sobol, and Shapley are not O3-compared.
Interfaces
PASS · UI (SSR) / REST / MCP
ui-ssr is query-result HTML, not a live browser session.
CVP suite
5/5 golden · 25/25 CVP boundary · 13/13 invalid · 40/40 property · 8/8 O3 · 12/12 cross-interface · 8/8 CVP contract
Supplemental domain review
Internal · Pass · tolerance-engineer
Named expert review
Not performed
Version lock
Supported (409 VERSION_MISMATCH)
Artifact consistency
Build verified · 1.12.0 (workspace artifacts agree)
Review-policy tier
Internally reviewed — catalog token internally_reviewed; supplemental; not CVP status
This calculator CURRENT · Public schema 1.12.0 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓

Call this capability

Human page, REST, and MCP share the same engine and calculation_version. Build verified hashes workspace artifacts only. After deploy, attest:production GETs canonical URLs twice — the public/cached view an Agent actually hits, and origin — including every /capabilities/{id} HTML page. Public Capability HTML version must match catalog before production attestation passes. Live Trust rows above fetch /.well-known/calculatorx-production-attestation.json and the output schema const. Build hashes: release integrity. That proves currently published page / engine / schema / evidence / MCP agree — not that a historical version is independently immutable. Reference Calculation Standard — Production surface contract 8/8.

Tool id
monte-carlo-tolerance
Engine
monte-carlo-tolerance
REST
POST /api/v1/calc/monte-carlo-tolerance
MCP
execute_calculation with capability_id: "engineering.tolerance.monte_carlo"
Agent input schema
Canonical (MCP / Agent)
REST input schema
Compatibility (tol[] / tol1…)
Output schema
JSON Schema (latest)
Versioned input schema
Immutable pin (1.12.0)
Versioned output schema
Immutable pin (1.12.0)

References

Human-readable sources plus CVP reference evidence classes.

Sources

Reference evidence classes: O1 model · O3 expected_values · O3 numerical_behavior · O2 expected_values · O2 numerical_behavior

Try with an agent

Inspect this capability via same-origin MCP, then call execute_calculation.

curl -sS -X POST 'https://www.calculatorx.com/mcp' \
  -H 'Content-Type: application/json' \
  -H 'MCP-Protocol-Version: 2026-07-28' \
  -H 'Mcp-Method: tools/call' \
  -H 'Mcp-Name: inspect_capability' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"inspect_capability","arguments":{"capability_id":"engineering.tolerance.monte_carlo"}}}'

Inspect the trust tier and required assurance level before execution. Pin calculation_version (1.12.0) when reproducibility matters. Full protocol notes: MCP docs.