- Home
- Skills
- Data & Databases
- Defect Rate — Paste Counts, Get DPMO and a Sigma Level
Defect Rate — Paste Counts, Get DPMO and a Sigma Level
Paste inspection counts and receive observed defect rate, DPMO, a convention-based sigma estimate, and a ranked table with formulas. The offline tool uses supplied counts and reports incomplete data instead of guessing.
$5
Works with the AI Agents you already use
Defect Rate — Paste Counts, Get DPMO and a Sigma Level
Example session with this skill installed
Calculate the defect metrics for these processes from examples/processes.csv: Assembly A (1200 units, 8 defects, 5 opportunities per unit), Packaging (850 units, 10 defects, 4 per unit), Inspection (500 units, 0 defects, 3 per unit).
- Read your context and instructions
- Compiled the defect rate
Defect Rate Results
| Rank | Process | Units | Defects | Opportunities | Defect rate | DPMO | Sigma estimate |
|---|---|---|---|---|---|---|---|
| 1 | Packaging | 850 | 10 | 3400 | 1.1765% | 2941.18 | 4.254 |
| 2 | Assembly A | 1200 | 8 | 6000 | 0.6667% | 1333.33 | 4.504 |
| 3 | Inspection | 500 | 0 | 1500 | 0.0000% | 0.00 | not estimable |
Displayed rows combined: 18 defects / 2550 units / 10900 opportunities; rate 0.7059%; DPMO 1651.38.
Calculation
- Defect rate = defects / units.
- DPMO = defects / (units × opportunities per unit) × 1,000,000.
- Sigma estimate = inverse standard-normal yield + 1.5; zero defects is shown as not estimable.
- Rows are ranked by observed DPMO, highest first. Only the submitted counts are used.
- Sigma is a conventional approximation, not a process capability conclusion; no confidence interval or external benchmark is added.
Connects securely to your tools. The creator never sees your data.
About this skill
You send a CSV of process names, inspected units, observed defects, and defect opportunities per unit. You get observed defect rate, DPMO, a conventional approximate sigma estimate, a ranked process table, and the formulas used.
This offline Python tool calculates only from the counts you provide. It does not add external benchmarks, infer missing counts, or claim statistical process capability.
Input columns: process, units, defects, opportunities_per_unit. One row is one process or time period. Counts must be non-negative whole numbers; a row with missing counts is rejected as insufficient.
Options: output as markdown, json, csv or text; a declared sigma shift (default 1.5); a row limit; and --output to a new file only (it never overwrites).
Limits: the sigma value is a conventional approximation. The tool does not calculate uncertainty, control limits, capability indices, or a pass/fail judgment. With zero observed defects, a finite sigma value is not estimated.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.
Does not support statistical inference, control charts, or missing data. Zero defects are marked as not estimable. Requires Python 3.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
- Software
python3 (standard library only)