# tolerance-stack-up

analyse a linear tolerance stack with worst-case and RSS methods and check it against a gap requirement

- **Space:** engineering-public (https://github.com/Tech-Realm/space-engineering-public/tree/main/tolerance-stack-up)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3
- **Routes:** python-stdlib; checks: 1
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use engineering-public/tolerance-stack-up` or MCP `get_pack engineering-public/tolerance-stack-up`
- **Files:** CHANGELOG.md, code/stack.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/s.csv, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

Analyse a linear tolerance stack with worst-case and RSS methods and check it against a gap requirement.

## Steps

1. Draw the loop: each dimension with direction (+ adds to the gap, - reduces).
2. Run stack.py.
3. If worst case fails but RSS passes, decide based on volume and process capability.

## Edge cases

- RSS assumes independent, centred, normal distributions.
- Geometric tolerances (flatness, position) need converting to linear contributions.

## Don'ts

- Don't use RSS for safety-critical fits.

## Routes (free first)

1. `python-stdlib`: `code/stack.py` (no install).



---

Canonical URL: https://logicpacks.io/packs/engineering-public/tolerance-stack-up

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
