Skip to content

Packs / engineering-public

tolerance-stack-up

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

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-engineering-public

Install

logicpacks pack use engineering-public/tolerance-stack-up
get_pack engineering-public/tolerance-stack-up

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: python-stdlib
  • Checks: 1 in outcome/checks.yaml
  • Code: stack.py
  • Tools: python3

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from 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).