@dreamforgestudiollc/emet 0.2.4 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/.env.example +53 -0
  2. package/CHANGELOG.md +67 -3
  3. package/CHARTER.md +19 -7
  4. package/README.md +106 -21
  5. package/docs/AUTHORSHIP.md +3 -3
  6. package/docs/BOTS.md +4 -0
  7. package/docs/COVERAGE.md +2 -2
  8. package/docs/DEPLOY.md +9 -4
  9. package/docs/GUARDRAILS-AND-MONORAILS.md +2 -1
  10. package/docs/GUIDED-SETUP.md +8 -3
  11. package/docs/PERMISSIONS.md +6 -3
  12. package/docs/ROADMAP.md +25 -22
  13. package/docs/SETUP.md +8 -2
  14. package/docs/SUBKEYS.md +59 -0
  15. package/gems/artifact-index.json +12 -0
  16. package/gems/bot-team-backup/floor.json +15 -0
  17. package/gems/bot-team-backup/gem.json +43 -0
  18. package/gems/bot-team-backup/guides/BOT_TEAM_BACKUP.md +27 -0
  19. package/gems/bot-team-backup/guides/BOT_TEAM_RECOVERY.md +23 -0
  20. package/gems/fieldnote/floor.json +14 -0
  21. package/gems/fieldnote/gem.json +70 -0
  22. package/gems/fieldnote/runes/fieldnote.js +4 -0
  23. package/gems/lean-six-sigma/CHANGELOG.md +10 -0
  24. package/gems/lean-six-sigma/README.md +92 -0
  25. package/gems/lean-six-sigma/floor.json +31 -0
  26. package/gems/lean-six-sigma/gem.json +1296 -0
  27. package/gems/lean-six-sigma/guides/ASSUMPTIONS.md +45 -0
  28. package/gems/lean-six-sigma/guides/BELTS.md +52 -0
  29. package/gems/lean-six-sigma/guides/DMADV.md +56 -0
  30. package/gems/lean-six-sigma/guides/DMAIC.md +127 -0
  31. package/gems/lean-six-sigma/guides/FORMULAS.md +330 -0
  32. package/gems/lean-six-sigma/guides/LEAN.md +97 -0
  33. package/gems/lean-six-sigma/guides/TEMPLATES.md +279 -0
  34. package/gems/lean-six-sigma/runes/lss_capability.js +132 -0
  35. package/gems/lean-six-sigma/runes/lss_control_limits.js +240 -0
  36. package/gems/lean-six-sigma/runes/lss_dpmo_sigma.js +81 -0
  37. package/gems/lean-six-sigma/runes/lss_hypothesis.js +298 -0
  38. package/gems/lean-six-sigma/runes/lss_sample_size.js +81 -0
  39. package/gems/neurendipity/floor.json +65 -0
  40. package/gems/neurendipity/gem.json +42 -0
  41. package/gems/neurendipity/guides/AUTISTIC_BURNOUT.md +81 -0
  42. package/{guides → gems/neurendipity/guides}/NEURODIVERGENT_SUPPORT.md +17 -8
  43. package/guides/README.md +3 -0
  44. package/package.json +11 -5
  45. package/server.json +44 -4
  46. package/src/aleph.js +4 -4
  47. package/src/annotations.js +38 -3
  48. package/src/atlas-role.js +1 -1
  49. package/src/attribution.js +555 -0
  50. package/src/conformance.js +2 -2
  51. package/src/database.js +6 -5
  52. package/src/dispatch.js +116 -13
  53. package/src/env.js +54 -9
  54. package/src/floor.js +82 -41
  55. package/src/gaps.js +39 -6
  56. package/src/gem-check.js +1359 -0
  57. package/src/guides.js +31 -4
  58. package/src/host-reach.js +23 -0
  59. package/src/http-remote.js +46 -2
  60. package/src/index.js +9 -2
  61. package/src/layers.js +1 -1
  62. package/src/lessons-to-checks.js +3 -3
  63. package/src/logger.js +2 -1
  64. package/src/mongo-connect.js +45 -2
  65. package/src/oauth-provider.js +2 -2
  66. package/src/owner-approvals.js +281 -0
  67. package/src/persons.js +20 -0
  68. package/src/redact.js +10 -4
  69. package/src/request-log.js +1 -1
  70. package/src/rune-dispatch.js +360 -0
  71. package/src/rune-registry.js +71 -0
  72. package/src/rune-scope.js +42 -0
  73. package/src/scopes.js +3 -0
  74. package/src/session-graph.js +25 -23
  75. package/src/session.js +9 -9
  76. package/src/setup.js +297 -30
  77. package/src/socket.js +545 -0
  78. package/src/startup-pages.js +23 -6
  79. package/src/startup-payload.js +9 -6
  80. package/src/subkey-store.js +357 -0
  81. package/src/subkeys.js +947 -0
  82. package/src/tools.js +299 -62
  83. package/src/transcript-session.js +1 -1
  84. package/src/validation.js +26 -2
  85. package/src/version.js +1 -1
  86. package/templates/BOARD.md +2 -2
  87. package/templates/BOTHANDOFF.md +2 -2
  88. package/templates/CHARACTER.md +1 -1
  89. package/templates/HANDOFF.md +1 -1
  90. package/templates/IDENTITY.md +1 -1
  91. package/templates/INDEX.md +19 -19
  92. package/templates/INSTALL.md +1 -1
  93. package/templates/PROCEDURE.md +1 -1
  94. package/templates/ROSTER.md +2 -2
  95. package/templates/SEED.md +2 -2
  96. package/templates/STAGING.md +2 -2
  97. package/templates/STANDARD.md +5 -5
  98. package/templates/THREAD.md +1 -1
  99. package/templates/USER.md +4 -1
  100. package/verification/load-gate/corpus.json +1765 -0
  101. package/verification/load-gate/load-gate.mjs +1246 -0
@@ -0,0 +1,45 @@
1
+ ## Assumption flags
2
+
3
+ Name the assumptions a result needs before the result is used. If an assumption was not checked, say it was not checked. Do not treat an unchecked assumption as if it held. Do not invent a test result to paper over a gap.
4
+
5
+ These are the flags this package uses. Attach the ones that apply. Leave the others off the result.
6
+
7
+ ### Normal model
8
+
9
+ Cp, Cpk, Pp, Ppk, and the z interval use a normal model when you want the handbook meaning of the index. Say whether you checked normality. If you did not, write "normality not checked". NIST/SEMATECH e-Handbook section 6.1.6 states that those capability indexes assume a normal distribution, and that the sample should be large. This package does not run a normality test for you.
10
+
11
+ ### Stable process
12
+
13
+ Capability and control limits describe a process whose mean and spread are steady over the data you used. If the chart is not stable, or you did not look, write "stability not checked". Do not quote a Cpk from a data set you already called unstable.
14
+
15
+ ### Sigma kind
16
+
17
+ Within-subgroup sigma (from a rational subgroup, often R-bar / d2) and overall sigma (the standard deviation of all individuals) are different inputs. Cp and Cpk take the within sigma when that is what you claim. Pp and Ppk take the overall sigma. If the label and the formula disagree, write "sigma label mismatch" and do not relabel the input.
18
+
19
+ ### Independence
20
+
21
+ t, chi-square, ANOVA, and regression treat observations as independent unless you say otherwise. Paired data are not two independent samples. Write "pairing" when the row is a pair, and use a paired method. This version names the paired t and does not work that statistic. See the hypothesis selection guide.
22
+
23
+ ### Equal variance
24
+
25
+ Two-sample t and one-way ANOVA are sensitive to unequal spread. Write "equal variance not checked" unless you checked it. This version works the one-way ANOVA sums of squares and does not test the variances for you.
26
+
27
+ ### Binomial or Poisson
28
+
29
+ A p chart and an np chart use a binomial model: a unit conforms or it does not, trials are independent, and the subgroup size is the n you used. A c chart and a u chart use a Poisson model: counts, and a constant area of opportunity for a c chart. NIST/SEMATECH sections 6.3.3.1 and 6.3.3.2 are the references. If the opportunity changes and you used a c chart, say so and consider a u chart.
30
+
31
+ ### Sample size and the margin of error
32
+
33
+ The sample-size formulas in this package are normal approximations for a margin of error. They are not a power calculation for a hypothesis test. Write "margin of error, not power" on the plan.
34
+
35
+ ### Small n and zero spread
36
+
37
+ Regression with fewer than three points still returns a fit when the x values are not all equal, and you flag small n. If every x is equal, there is no slope. Do not report one.
38
+
39
+ ### Critical values and p-values
40
+
41
+ This version returns a t statistic, a chi-square statistic, ANOVA sums of squares and F, and a regression fit. It does not return a p-value. A critical value is used only when you supply it. The package does not look up a t table for you.
42
+
43
+ ### Illustrations
44
+
45
+ Worked examples and filled template rows are illustrations. They are not your process. Copy the arithmetic shape. Supply your own inputs.
@@ -0,0 +1,52 @@
1
+ # Belt coaching
2
+
3
+ These notes coach the work. They do not certify a Yellow Belt, a Green Belt, or a Black Belt. Ask which belt the user is working as on this project. Offer the matching notes. Store the answer on the project document only when the user asks to save it.
4
+
5
+ ## Yellow Belt
6
+
7
+ This note does not certify a belt. A Yellow Belt on this project can draft and fill:
8
+
9
+ - Project charter
10
+ - SIPOC
11
+ - Voice of the customer and the CTQ tree
12
+ - Data collection plan
13
+ - A 5S sheet for one area
14
+ - A waste walk
15
+
16
+ Coach question to offer: "Do you want a Green Belt or a Black Belt with you before a hypothesis test, a sample-size claim, or a financial result?"
17
+
18
+ Stay with the user while they collect. Do not fill a blank they have not answered. Do not choose their hypothesis test.
19
+
20
+ ## Green Belt
21
+
22
+ This note does not certify a belt. A Green Belt on this project can run Define through Control with the templates, the Lean tools, and the hand formulas in `guides/FORMULAS.md`.
23
+
24
+ That includes the tollgates, the measurement plan, the fishbone and Five Whys, the tests the formula guide works in full, the pilot, the control plan, and the response plan.
25
+
26
+ Coach question to offer: "Do you want a Black Belt with you for a designed experiment, a Gage R&R decision, or a savings number finance has not signed?"
27
+
28
+ A Gage R&R result is recorded only when the user already has one. This version does not calculate percent of tolerance. A designed experiment stays a plan until the user supplies the design and the run order.
29
+
30
+ ## Black Belt
31
+
32
+ This note does not certify a belt. A Black Belt on this project can use the full set: the DMAIC path, the DMADV note, DOE planning, the assumption flags in `guides/ASSUMPTIONS.md`, and the coaching questions above with a Yellow Belt or a Green Belt.
33
+
34
+ Coaching means asking for the data and the assumption, and leaving the other person's blank fields blank. It does not mean completing their charter, picking their cause, or signing their savings.
35
+
36
+ Before a number is used, ask which formula, which inputs, and which assumption was not checked. If they want a p-value, say this version does not return one. They may compare a statistic to a critical value they supply, using the formula guide.
37
+
38
+ ## Coaching
39
+
40
+ This note does not certify a belt. Use these questions in order. Stop when the user stops.
41
+
42
+ 1. Is this an existing process (DMAIC) or a new design (DMADV)?
43
+ 2. Which phase are you in? If you do not know, we start at Define.
44
+ 3. Which belt are you working as on this project: Yellow, Green, or Black?
45
+ 4. What is the CTQ, and what is the unit?
46
+ 5. Which fields are still blank? They stay blank.
47
+ 6. Which formula are you using, and which input is missing?
48
+ 7. Which assumption did you check, and which did you not?
49
+ 8. Who in finance has signed a hard-savings number? If nobody has, the cell stays blank.
50
+ 9. Do you want this filed as a sealed record? File it only if you say yes. A calculator does not write the record.
51
+
52
+ Do not grade the user. Do not say they are ready to sit for a certification.
@@ -0,0 +1,56 @@
1
+ ## DMADV
2
+
3
+ DMADV is the path for a new design (Design for Six Sigma): Define, Measure, Analyze, Design, Verify. DMAIC is the path for an existing process. If the work is a new design, keep the DMADV label. Do not copy DMADV results into a DMAIC phase.
4
+
5
+ The same rules apply. Ask for data. Leave a blank blank. Name assumptions you did not check. Illustrations are not your data. Use `guides/FORMULAS.md` when a formula applies. The five client calculators return numbers and do not write a record. Say when a predicted capability is only as good as the inputs you supplied.
6
+
7
+ A Black Belt coaching a design team asks who the customer is, which CTQ is measurable, and which validation row came from a trial. This package does not certify a belt.
8
+
9
+ ## Define
10
+
11
+ Define the new design in customer and business terms.
12
+
13
+ - Customer: who will use the design, in the words the sponsor uses.
14
+ - Business case: why a new design is required, and what the current process cannot do. Leave cost figures blank until finance or the user supplies them.
15
+ - Charter: problem in design language (the need, not a chosen concept), goal, scope in, scope out, team, champion, start, and target end.
16
+ - The champion's acceptance is a name the user supplies. This package does not sign.
17
+
18
+ Open `guides/TEMPLATES.md#Project charter` and mark the sheet "DMADV" so it is not filed as a DMAIC charter.
19
+
20
+ ## Measure
21
+
22
+ Measure sets the CTQs and the targets before a concept is chosen.
23
+
24
+ - Voice statements in the customer's words.
25
+ - Need, driver, and a CTQ with target, lower spec, upper spec, unit, and measurement method.
26
+ - A Kano label only when the user supplies one.
27
+ - Targets the user sets. A target copied from a similar product is still the user's number, and the source is written on the sheet.
28
+ - If no voice has been collected, write the dated plan and leave the CTQ specs blank.
29
+
30
+ ## Analyze
31
+
32
+ Analyze compares design concepts the user lists. It does not invent a concept.
33
+
34
+ - List the concepts the team is willing to consider. Leave the list empty until they name them.
35
+ - For each concept, record the risks the user names: safety, compliance, capability, cost, and time. An empty risk cell stays empty.
36
+ - Score only ratings the user enters. See the FMEA template if they want RPN.
37
+ - Write the concept they select, and the reason in their words. If they have not selected one, the gate stays open.
38
+
39
+ ## Design
40
+
41
+ Design records the selected design at a level a pilot can build.
42
+
43
+ - The selected concept and the features that meet each CTQ.
44
+ - Predicted capability only from inputs the user supplies (mean, sigma, specs), computed with `guides/FORMULAS.md#Cp` and the Cpk section. Name whether sigma is within-subgroup or overall. If normality was not checked, say so.
45
+ - A pilot plan: units, site, measures, and the decision rule the user states.
46
+ - A DOE plan if they will experiment, or the words "no designed experiment on this project". This version does not build a design matrix.
47
+
48
+ ## Verify
49
+
50
+ Verify uses validation data the user collected, then leaves a control plan for the new process.
51
+
52
+ - Validation rows: what was run, how many, and the results they recorded. Do not fill results from the prediction.
53
+ - Compare results to the CTQ specs. A miss stays a miss.
54
+ - Control plan for the new process: step, CTQ, spec, method, sample, owner. Limits from stable validation data, or "limits not set".
55
+ - Response plan and process owner.
56
+ - Financial worksheet from measured results. Soft savings stay labeled soft.
@@ -0,0 +1,127 @@
1
+ ## DMAIC
2
+
3
+ DMAIC is the path for an existing process: Define, Measure, Analyze, Improve, Control. A new design uses the DMADV note in `guides/DMADV.md` and keeps that label.
4
+
5
+ Work one phase at a time. If you do not know the phase, start at Define and say that is where you started. Copy blanks from `guides/TEMPLATES.md`. Compute from `guides/FORMULAS.md` with your own data. Five client calculators return numbers for capability, DPMO and yield, control limits, sample size, and basic statistics. They do not write a record. File a sealed record only when you ask.
6
+
7
+ An illustration in a template is not your data. Leave a field blank until you supply the fact. A tollgate item with no answer stays open. You may defer an item only by writing the deferral and the date.
8
+
9
+ Project figures stay in this install. Do not send them to another host, an inbox, or a service.
10
+
11
+ ## Define
12
+
13
+ Define names the problem, the goal, and the boundaries. It does not name a cause and it does not name a solution.
14
+
15
+ 1. Write the problem statement: what is wrong, where, when, and how large. Include a baseline, or write "baseline not measured yet". Keep the cause and the remedy out of this sentence. Those belong in Analyze and Improve, after the data.
16
+ 2. Write the goal as baseline, target, and date. Leave the baseline blank until Measure records it.
17
+ 3. Write scope in and scope out. Name the process steps that are inside the project and the sites, products, or shifts that are outside it.
18
+ 4. Name the team, the roles, and the champion. The champion accepts the charter. This package does not sign for them.
19
+ 5. Write the business case in the customer's terms and in the company's terms. Money waits for the financial worksheet and for a person in finance.
20
+ 6. Build a SIPOC: suppliers, inputs, about five to seven process steps, outputs, customers.
21
+ 7. Record the voice of the customer in their words, then a CTQ that can be measured: target, lower spec, upper spec, unit, and method. If you do not have a voice yet, write a dated plan to collect it.
22
+ 8. Open `guides/TEMPLATES.md#Project charter` and fill only the lines you know.
23
+
24
+ Coach note. A Yellow Belt can draft the charter, the SIPOC, and the CTQ tree. Ask whether a Green Belt or a Black Belt should read the problem statement before the champion accepts it.
25
+
26
+ ## Define tollgate
27
+
28
+ Read each line. Leave it open until the user supplies it, or until the user writes a deferral and a date.
29
+
30
+ - Problem statement with what, where, when, and magnitude. No cause. No solution.
31
+ - Baseline number, or the words "baseline not measured yet".
32
+ - Goal with target and date.
33
+ - Scope in and scope out.
34
+ - Team, roles, and champion.
35
+ - Business case.
36
+ - SIPOC.
37
+ - At least one CTQ, or a dated plan to collect the voice of the customer.
38
+ - Charter status: the name of the person the user says has accepted it.
39
+
40
+ Do not close a line because a similar project usually has that answer.
41
+
42
+ ## Measure
43
+
44
+ Measure turns the CTQ into a number you can trust, then records the baseline from data you collected.
45
+
46
+ 1. Write an operational definition for each measure: what is counted, the unit, the inclusion rule, and the exclusion rule. Two people using the definition should reach the same count on the same item.
47
+ 2. Fill the data collection plan: continuous or discrete, source, method, who collects, when, and the stratification factors (shift, line, product, or others you name). Leave sample size blank until you calculate it from `guides/FORMULAS.md#Sample size for a proportion` or `#Sample size for a mean`, or until you supply a size from a standard your sponsor already uses.
48
+ 3. Plan the measurement system before you trust the baseline. Use `guides/TEMPLATES.md#MSA and Gage R&R plan`. This version records the plan and any result you already have. It does not calculate Gage R&R.
49
+ 4. Map the process or the value stream with times the user measured. Lead time and process time stay blank until those times exist. See `guides/LEAN.md#Value stream map`.
50
+ 5. Compute the baseline only from the rows you collected. DPMO, yield, and capability come from `guides/FORMULAS.md` with those inputs. Name the formula. If an input is missing, stop and ask.
51
+ 6. State the assumptions beside any index: stable process, and, for Cp and Cpk, a normal model unless you say you did not check normality.
52
+
53
+ Coach note. Do not quote a sigma level from a training table. The count path is DPMO. Inverse normal is not computed in this version. See `guides/FORMULAS.md#Sigma level`.
54
+
55
+ ## Measure tollgate
56
+
57
+ - Operational definition for each measure.
58
+ - Data collection plan, including who collects and when.
59
+ - MSA plan. A result only if you already have one.
60
+ - Process map or value stream map built from observed steps.
61
+ - Baseline computed from your data, with the formula named.
62
+ - Sample size either calculated from the formula guide or supplied by you, with the source written down.
63
+ - Assumptions named, including any you did not check.
64
+
65
+ ## Analyze
66
+
67
+ Analyze keeps a cause only when the evidence you bring supports it. The package does not pick the cause.
68
+
69
+ 1. Build a cause list with the fishbone. Categories may be people, method, machine, material, measurement, and environment. Drop or add a category. Every cause is in your words.
70
+ 2. Run Five Whys on the causes you choose to push on. Stop at the why you stop at. Leave the countermeasure blank until you write it.
71
+ 3. Choose a test from `guides/TEMPLATES.md#Hypothesis test selection`. You pick. The guide names assumptions. For a test this package works by hand, follow the matching section in `guides/FORMULAS.md`. For a test marked named only, write the name and the assumptions, and compute it with your own textbook. This version does not return a p-value.
72
+ 4. Write the cause you accept for Improve. If you do not accept one yet, the item stays open.
73
+
74
+ Coach note. A Green Belt can run the basic tests in the formula guide. Ask whether a Black Belt should review a designed experiment, a Gage decision, or a savings number finance has not signed.
75
+
76
+ ## Analyze tollgate
77
+
78
+ - Fishbone or an equivalent cause list from you.
79
+ - Five Whys for the causes you selected.
80
+ - The analysis you chose, with assumptions written beside the result.
81
+ - The cause you accept for Improve, in your words.
82
+ - Any test you did not run left as "not run", not as a result.
83
+
84
+ ## Improve
85
+
86
+ Improve changes the process against the accepted cause, on a pilot first.
87
+
88
+ 1. Write countermeasures that name the accepted cause they address. A countermeasure with no cause stays a draft.
89
+ 2. Write the pilot plan: where, how many units or how many days, what you will measure, and what "better" means using the goal from Define.
90
+ 3. If you will run a designed experiment, fill `guides/TEMPLATES.md#DOE planning`. If you will not, write "no designed experiment on this project". This version does not build a design matrix. You supply the run order.
91
+ 4. Score an FMEA for the change with severity, occurrence, and detection you enter from 1 to 10. RPN is the product only when all three numbers are present. See `guides/FORMULAS.md#RPN`.
92
+ 5. Record pilot results from the pilot data only. Update the financial worksheet from those results. Hard savings and soft savings stay in their own rows. Do not annualize unless you supply the number of periods and ask for the product.
93
+ 6. Use Lean tools where they match the cause: 5S, setup reduction, pull, mistake-proofing, or a kaizen cycle. See `guides/LEAN.md`.
94
+
95
+ ## Improve tollgate
96
+
97
+ - Countermeasures tied to accepted causes.
98
+ - Pilot plan.
99
+ - DOE plan, or the words "no designed experiment on this project".
100
+ - FMEA scored only with your ratings.
101
+ - Pilot results from your data.
102
+ - Financial worksheet updated from those results, with soft savings still labeled soft.
103
+ - The name of the person in finance who validated a hard-savings number, or a blank if nobody has.
104
+
105
+ ## Control
106
+
107
+ Control hands a stable method to a process owner, with limits from your data and a response when a point crosses a limit.
108
+
109
+ 1. Write the control plan: step, CTQ, spec, measurement method, sample size and frequency, chart type, and owner.
110
+ 2. Write the response plan: which limit, the immediate action, containment, escalation, and the condition for resuming. A point is out of limits only when you supply the point and the limits, or when you compare a supplied point to limits you just computed from supplied data.
111
+ 3. Set chart limits from a stable set of your data, using `guides/FORMULAS.md`, or write "limits not set".
112
+ 4. Name the process owner and the handoff date.
113
+ 5. Record lessons you actually learned. Do not fill lessons from a template example.
114
+ 6. Leave the benefits in the state the worksheet records.
115
+ 7. Write how often the owner will look at the chart.
116
+
117
+ This version calculates limits. It does not apply Western Electric or Nelson run rules. Add those only when you choose a published rule and apply it to points you supply.
118
+
119
+ ## Control tollgate
120
+
121
+ - Control plan.
122
+ - Response plan.
123
+ - Control limits from your stable data, or the words "limits not set".
124
+ - Process owner and handoff.
125
+ - Lessons you recorded.
126
+ - Benefits in the worksheet's own words.
127
+ - Monitoring frequency.
@@ -0,0 +1,330 @@
1
+ # Formulas
2
+
3
+ Compute these from inputs you supply. A missing input stops the calculation. Five client calculators return numbers for capability, DPMO and yield, control limits, sample size, and the basic statistics in this guide. They do not write a record. Takt time, OEE, Little's Law, rolled throughput yield, first pass yield, and a sigma level stay hand calculations. Illustrations use the test vectors below. They are not your process data.
4
+
5
+ Control-chart factors for subgroup sizes 2 through 10 are the table in NIST/SEMATECH e-Handbook section 6.3.2.1, checked against that page on 2026-10-11. For n = 5 the page prints A2 = 0.577, D3 = 0, D4 = 2.115. Some pocket cards print D4 for n = 5 as 2.114. This package uses 2.115.
6
+
7
+ | n | A2 | D3 | D4 |
8
+ | --- | --- | --- | --- |
9
+ | 2 | 1.880 | 0 | 3.267 |
10
+ | 3 | 1.023 | 0 | 2.575 |
11
+ | 4 | 0.729 | 0 | 2.282 |
12
+ | 5 | 0.577 | 0 | 2.115 |
13
+ | 6 | 0.483 | 0 | 2.004 |
14
+ | 7 | 0.419 | 0.076 | 1.924 |
15
+ | 8 | 0.373 | 0.136 | 1.864 |
16
+ | 9 | 0.337 | 0.184 | 1.816 |
17
+ | 10 | 0.308 | 0.223 | 1.777 |
18
+
19
+ ## DPMO
20
+
21
+ Definition. DPO = defects / (units * opportunities per unit). DPMO = DPO * 1,000,000.
22
+
23
+ Assumptions. You counted defects, units, and opportunities the way the operational definition says. This is not first pass yield of units.
24
+
25
+ Worked example. Test vector: 10 defects, 100 units, 5 opportunities per unit. DPO = 10 / (100 * 5) = 10 / 500 = 0.02. DPMO = 0.02 * 1,000,000 = 20000.
26
+
27
+ Reference. The count definition is the one used with the ASQ Certified Six Sigma Black Belt body of knowledge (DMAIC Measure). Page pin is part of the 2027-10-11 source review. https://www.asq.org/cert/six-sigma-black-belt
28
+
29
+ ## Opportunity yield
30
+
31
+ Definition. Opportunity yield = 1 - DPO. It is the share of opportunities with no defect.
32
+
33
+ Assumptions. Same counts as DPMO. Do not call this first pass yield.
34
+
35
+ Worked example. Test vector: DPO = 0.02. Opportunity yield = 1 - 0.02 = 0.98.
36
+
37
+ Reference. Same count path as DPMO. https://www.asq.org/cert/six-sigma-black-belt
38
+
39
+ ## First pass yield
40
+
41
+ Definition. First pass yield = (units in - units that failed) / units in.
42
+
43
+ Assumptions. You supply units in and units that failed. A unit can fail once in this ratio. It is not DPO.
44
+
45
+ Worked example. Test vector for the definition check: units in = 100, units that failed = 2. First pass yield = (100 - 2) / 100 = 0.98. If you do not have both counts, leave the yield blank. The 0.98 here is from unit counts, not from the DPMO vector.
46
+
47
+ Reference. Standard throughput yield of units, kept separate from opportunity yield so the two 0.98 results are not treated as the same measurement. https://www.asq.org/cert/six-sigma-black-belt
48
+
49
+ ## Rolled throughput yield
50
+
51
+ Definition. RTY is the product of the step yields you list.
52
+
53
+ Assumptions. Each step yield is a yield you already computed or measured. Do not invent a step yield.
54
+
55
+ Worked example. Test vector: 0.9, 0.8, and 0.95. RTY = 0.9 * 0.8 * 0.95 = 0.684.
56
+
57
+ Reference. Product of step yields, as used in the Black Belt process-yield material. https://www.asq.org/cert/six-sigma-black-belt
58
+
59
+ ## Sigma level
60
+
61
+ Definition. Long-term z is the standard-normal quantile whose upper tail equals the defect rate, when you ask for that model. A shifted sigma equals that z plus a shift you choose. This package does not insert 1.5 when you omit the shift.
62
+
63
+ This version does not compute the inverse normal. Leave the sigma fields blank. Report DPMO and opportunity yield from the counts. The phrase "about 3.4 DPMO at six sigma" is the common Motorola table with a 1.5 shift, rounded. It is a label for that convention. It is not a count from your project, and this package does not calculate it.
64
+
65
+ Assumptions. A sigma level needs a named model. If you do not name one, do not state a sigma level.
66
+
67
+ Worked example. Test vector is the hand DPMO path: 10 defects, 100 units, 5 opportunities. DPO = 0.02. DPMO = 20000. Opportunity yield = 0.98. Sigma level: not computed.
68
+
69
+ Reference. Count path as in the DPMO section. Convention label is not a NIST computed vector. https://www.asq.org/cert/six-sigma-black-belt
70
+
71
+ ## Cp
72
+
73
+ Definition. Cp = (USL - LSL) / (6 * sigma).
74
+
75
+ Assumptions. Normal model if you want the handbook meaning. Stable process. Sigma is the within-subgroup sigma when you call the index Cp. NIST/SEMATECH 6.1.6. If normality was not checked, say so. https://www.itl.nist.gov/div898/handbook/pmc/section1/pmc16.htm
76
+
77
+ Worked example. Test vector: USL = 10, LSL = 0, sigma = 1. Cp = (10 - 0) / (6 * 1) = 10/6.
78
+
79
+ ## Cpu
80
+
81
+ Definition. Cpu = (USL - mean) / (3 * sigma).
82
+
83
+ Assumptions. Same normal model and stability notes as Cp. Needs a mean and an upper spec.
84
+
85
+ Worked example. Test vector: USL = 10, mean = 7, sigma = 1. Cpu = (10 - 7) / 3 = 1.
86
+
87
+ Reference. NIST/SEMATECH 6.1.6. https://www.itl.nist.gov/div898/handbook/pmc/section1/pmc16.htm
88
+
89
+ ## Cpl
90
+
91
+ Definition. Cpl = (mean - LSL) / (3 * sigma).
92
+
93
+ Assumptions. Same notes as Cpu, with a lower spec.
94
+
95
+ Worked example. Test vector: mean = 7, LSL = 0, sigma = 1. Cpl = (7 - 0) / 3 = 7/3.
96
+
97
+ Reference. NIST/SEMATECH 6.1.6. https://www.itl.nist.gov/div898/handbook/pmc/section1/pmc16.htm
98
+
99
+ ## Cpk
100
+
101
+ Definition. Cpk = the smaller of Cpu and Cpl.
102
+
103
+ Assumptions. Same normal model and stability notes. Cpk is not larger than Cp when both specs exist and the mean is inside them.
104
+
105
+ Worked example. Test vector: Cpu = 1, Cpl = 7/3. Cpk = 1.
106
+
107
+ Reference. NIST/SEMATECH 6.1.6. https://www.itl.nist.gov/div898/handbook/pmc/section1/pmc16.htm
108
+
109
+ ## Pp
110
+
111
+ Definition. Pp uses the Cp algebra with the overall sigma of the individuals: Pp = (USL - LSL) / (6 * sigma overall).
112
+
113
+ Assumptions. Do not relabel a within sigma as overall. If the label disagrees with the formula, write "sigma label mismatch" and keep the number you actually computed under the name of the sigma you passed.
114
+
115
+ Worked example. Test vector: USL = 10, LSL = 0, overall sigma = 1. Pp = 10/6.
116
+
117
+ Reference. Same algebra as NIST/SEMATECH 6.1.6, with the overall sigma named as such. https://www.itl.nist.gov/div898/handbook/pmc/section1/pmc16.htm
118
+
119
+ ## Ppk
120
+
121
+ Definition. Ppk is the smaller of the one-sided indexes computed with the overall sigma.
122
+
123
+ Assumptions. Same label rule as Pp.
124
+
125
+ Worked example. Test vector: mean = 7, USL = 10, LSL = 0, overall sigma = 1. Upper index = 1. Lower index = 7/3. Ppk = 1.
126
+
127
+ Reference. Same algebra as Cpk in NIST/SEMATECH 6.1.6, using overall sigma. https://www.itl.nist.gov/div898/handbook/pmc/section1/pmc16.htm
128
+
129
+ ## Sigma from range
130
+
131
+ Definition. sigma hat = R-bar / d2. You pass d2. This package does not look up d2 for you except to point at the handbook when you copy a table.
132
+
133
+ Assumptions. Rational subgroups, normal model for the d2 relationship. NIST/SEMATECH 6.3.2.1: the mean of the range is d2 * sigma. https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc321.htm
134
+
135
+ Worked example. Test vector: R-bar = 1.128, d2 = 1.128. sigma hat = 1.128 / 1.128 = 1. The value 1.128 is d2 for a span of 2, stated on NIST/SEMATECH 6.3.2.2. https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc322.htm
136
+
137
+ ## X-bar and R
138
+
139
+ Definition. For subgroup size n, using factors you take from the table above or pass in yourself:
140
+
141
+ - Upper X-bar = X double bar + A2 * R-bar
142
+ - Lower X-bar = X double bar - A2 * R-bar
143
+ - Center X-bar = X double bar
144
+ - Upper R = D4 * R-bar
145
+ - Lower R = D3 * R-bar
146
+ - Center R = R-bar
147
+
148
+ Leave a negative X-bar lower limit as that negative number. Floor a negative R lower limit at 0 and say the formula went below 0. The worked example above stays positive, so it does not show that floor. A negative center stays negative. X double bar = -5, R-bar = 2, n = 5, A2 = 0.577 gives upper X-bar = -3.846 and lower X-bar = -6.154. X double bar = -1 with the same R-bar and A2 gives lower X-bar = -2.154. Do not floor those lower limits.
149
+
150
+ Assumptions. Shewhart three-sigma limits. Normal model for the factor derivation. Rational subgroups. NIST/SEMATECH 6.3.2.1. https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc321.htm
151
+
152
+ Worked example. Test vector: n = 5, A2 = 0.577, D4 = 2.115, D3 = 0, X double bar = 50, R-bar = 4. Upper X-bar = 50 + 0.577 * 4 = 50 + 2.308 = 52.308. Lower X-bar = 50 - 2.308 = 47.692. Upper R = 2.115 * 4 = 8.46. Lower R = 0.
153
+
154
+ ## Individuals and moving range
155
+
156
+ Definition. Moving range is the absolute difference of successive points. d2 for span 2 is 1.128.
157
+
158
+ - Upper individuals = x-bar + 3 * MR-bar / 1.128
159
+ - Lower individuals = x-bar - 3 * MR-bar / 1.128
160
+ - Center = x-bar
161
+ - Upper moving range = D4 * MR-bar with D4 = 3.267 from the n = 2 row
162
+ - Lower moving range = 0
163
+
164
+ Leave a negative individuals lower limit as that negative number. The moving-range lower limit stays 0. x-bar = -1 and MR-bar = 0.5 give lower individuals = -1 - 1.5/1.128, about -2.330. Do not floor it.
165
+
166
+ Assumptions. NIST/SEMATECH 6.3.2.2. The moving range uses successive pairs. https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc322.htm
167
+
168
+ Worked example. Test vector: x-bar = 10, MR-bar = 2. Upper = 10 + 6/1.128. Lower = 10 - 6/1.128. Upper moving range = 3.267 * 2 = 6.534. Lower moving range = 0. In a spreadsheet, 6/1.128 is about 5.319149, so the individuals limits are about 15.319149 and 4.680851. Keep the fraction 6/1.128 as the exact form.
169
+
170
+ ## p chart
171
+
172
+ Definition. For equal subgroup size n:
173
+
174
+ - Upper = p-bar + 3 * square root of (p-bar * (1 - p-bar) / n)
175
+ - Lower = p-bar - 3 * square root of (p-bar * (1 - p-bar) / n), then 0 if that result is negative
176
+ - Center = p-bar
177
+
178
+ Assumptions. Binomial model, independent units, constant n. NIST/SEMATECH 6.3.3.2. https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc332.htm
179
+
180
+ Worked example. Test vector: p-bar = 0.1, n = 100. Square root of (0.1 * 0.9 / 100) = square root of 0.0009 = 0.03. Upper = 0.1 + 0.09 = 0.19. Lower = 0.1 - 0.09 = 0.01.
181
+
182
+ ## np chart
183
+
184
+ Definition. Center = n * p-bar. Upper = center + 3 * square root of (n * p-bar * (1 - p-bar)). Lower = center - that same quantity, then 0 if negative.
185
+
186
+ Assumptions. Same binomial model as the p chart. The mean of the count is n * p and the variance is n * p * (1 - p), as stated in NIST/SEMATECH 6.3.3.2. https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc332.htm
187
+
188
+ Worked example. Test vector: n = 100, p-bar = 0.1. Center = 10. Square root of (100 * 0.1 * 0.9) = square root of 9 = 3. Upper = 10 + 9 = 19. Lower = 10 - 9 = 1.
189
+
190
+ ## c chart
191
+
192
+ Definition. Upper = c-bar + 3 * square root of c-bar. Lower = c-bar - 3 * square root of c-bar, then 0 if negative. Center = c-bar.
193
+
194
+ Assumptions. Poisson counts, equal area of opportunity. The normal approximation is the usual basis for these limits. NIST/SEMATECH 6.3.3.1. The handbook example is this vector. https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc331.htm
195
+
196
+ Worked example. Test vector: c-bar = 16. Square root of 16 = 4. Upper = 16 + 12 = 28. Lower = 16 - 12 = 4. Clamp vector: c-bar = 1. Square root of 1 = 1. Upper = 1 + 3 = 4. The formula lower limit is 1 - 3 = -2, so the reported lower limit is 0.
197
+
198
+ ## u chart
199
+
200
+ Definition. Upper = u-bar + 3 * square root of (u-bar / n). Lower = u-bar - 3 * square root of (u-bar / n), then 0 if negative. Center = u-bar. Here n is the opportunity size for this limit. One n per calculation. A different subgroup size needs another calculation.
201
+
202
+ Assumptions. Poisson counts per unit of opportunity. Same three-sigma Poisson form as NIST/SEMATECH 6.3.3.1, per unit. https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc331.htm
203
+
204
+ Worked example. Test vector: u-bar = 4, n = 4. Square root of (4 / 4) = 1. Upper = 4 + 3 = 7. Lower = 4 - 3 = 1.
205
+
206
+ ## Sample size for a proportion
207
+
208
+ Definition. n = z squared * p * (1 - p) / E squared, then the smallest integer greater than or equal to that value.
209
+
210
+ Assumptions. Normal approximation for a margin of error. Write "margin of error, not power". E must be greater than 0. p is between 0 and 1.
211
+
212
+ Worked example. Test vector: z = 2, p = 0.5, E = 0.1. n = 4 * 0.25 / 0.01 = 1 / 0.01 = 100.
213
+
214
+ Reference. Classical normal-approximation sample size in the ASQ Certified Six Sigma Black Belt body of knowledge. https://www.asq.org/cert/six-sigma-black-belt
215
+
216
+ ## Sample size for a mean
217
+
218
+ Definition. n = (z * sigma / E) squared, then the same ceiling.
219
+
220
+ Assumptions. Sigma treated as known. Margin of error, not a power calculation. E and sigma greater than 0.
221
+
222
+ Worked example. Test vector: z = 2, sigma = 5, E = 1. n = (10 / 1) squared = 100.
223
+
224
+ Reference. Same margin-of-error algebra as the proportion sample size, in the ASQ Certified Six Sigma Black Belt body of knowledge. https://www.asq.org/cert/six-sigma-black-belt
225
+
226
+ ## Known-sigma confidence interval
227
+
228
+ Definition. Interval from x-bar - z * (sigma / square root of n) to x-bar + z * (sigma / square root of n).
229
+
230
+ Assumptions. Sigma known. Normal model, or a large sample if you say that is the basis. You supply z. This package does not choose 1.96 for you.
231
+
232
+ Worked example. Test vector: x-bar = 10, sigma = 2, n = 16, z = 2. Standard error = 2 / 4 = 0.5. Margin = 2 * 0.5 = 1. Interval = 9 to 11.
233
+
234
+ Reference. Known-sigma interval in the ASQ Certified Six Sigma Black Belt body of knowledge. https://www.asq.org/cert/six-sigma-black-belt
235
+
236
+ ## Confidence interval with t
237
+
238
+ Definition. Interval from x-bar - t * (s / square root of n) to x-bar + t * (s / square root of n). t is the critical value you supply.
239
+
240
+ Assumptions. Sigma unknown. You bring t from a table you trust. This package does not look up t.
241
+
242
+ Worked example. Test vector: x-bar = 10, s = 2, n = 16, t = 2. Standard error = 0.5. Margin = 1. Interval = 9 to 11. The 2 is your input, not a table lookup.
243
+
244
+ Reference. Interval with a caller-supplied t, in the ASQ Certified Six Sigma Black Belt body of knowledge. https://www.asq.org/cert/six-sigma-black-belt
245
+
246
+ ## One-sample t
247
+
248
+ Definition. t = (x-bar - mu0) / (s / square root of n). Degrees of freedom = n - 1.
249
+
250
+ Assumptions. Independent observations. Normal model, or you say it was not checked. Sigma estimated from this sample. No p-value in this version. If you also supply a critical value, say whether the absolute statistic exceeds it. Do not look up the critical value here.
251
+
252
+ Worked example. Test vector: x-bar = 10, mu0 = 8, s = 2, n = 16. Denominator = 2 / 4 = 0.5. t = (10 - 8) / 0.5 = 4. Degrees of freedom = 15.
253
+
254
+ Reference. One-sample t in the ASQ Certified Six Sigma Black Belt body of knowledge. https://www.asq.org/cert/six-sigma-black-belt
255
+
256
+ ## Chi-square goodness of fit
257
+
258
+ Definition. Chi-square = the sum of (observed - expected) squared / expected. Degrees of freedom = k - 1 - m, where k is the number of classes and m is the number of parameters you estimated from the data. You pass m. Each expected value must be greater than 0.
259
+
260
+ Assumptions. Independent counts. Expected counts large enough for the approximation you intend. If an expected value is 0, do not report the statistic.
261
+
262
+ Worked example. Test vector: observed 10, 20, 30. Expected 20, 20, 20. m = 0. Terms: (10 - 20) squared / 20 = 5, (20 - 20) squared / 20 = 0, (30 - 20) squared / 20 = 5. Chi-square = 10. Degrees of freedom = 3 - 1 - 0 = 2.
263
+
264
+ Reference. Chi-square goodness of fit in the ASQ Certified Six Sigma Black Belt body of knowledge. https://www.asq.org/cert/six-sigma-black-belt
265
+
266
+ ## One-way ANOVA
267
+
268
+ Definition. Grand mean, group means, between sum of squares (SSB), within sum of squares (SSW), mean squares, and F = MSB / MSW. Degrees of freedom between = groups minus 1. Degrees of freedom within = observations minus groups.
269
+
270
+ Assumptions. Independent groups. Normality not tested by this arithmetic. Equal variance not tested by this arithmetic. No p-value in this version.
271
+
272
+ Worked example. Test vector: groups {1, 2, 3} and {4, 5, 6}. Grand mean = 21 / 6 = 3.5. Group means = 2 and 5. SSB = 3 * (2 - 3.5) squared + 3 * (5 - 3.5) squared = 3 * 2.25 + 3 * 2.25 = 13.5. SSW = (1 - 2) squared + (2 - 2) squared + (3 - 2) squared + (4 - 5) squared + (5 - 5) squared + (6 - 5) squared = 1 + 0 + 1 + 1 + 0 + 1 = 4. MSB = 13.5 / 1 = 13.5. MSW = 4 / 4 = 1. F = 13.5. Degrees of freedom between = 1. Degrees of freedom within = 4.
273
+
274
+ Reference. One-way ANOVA in the ASQ Certified Six Sigma Black Belt body of knowledge. https://www.asq.org/cert/six-sigma-black-belt
275
+
276
+ ## Simple linear regression
277
+
278
+ Definition. Slope = sum of (x - x-bar) * (y - y-bar) / sum of (x - x-bar) squared. Intercept = y-bar - slope * x-bar. R squared = 1 - (residual sum of squares / total sum of squares).
279
+
280
+ Assumptions. A straight line is your choice. If every x is equal, do not report a slope. If n is under 3 and the x values are not all equal, you may still report the fit and you flag small n. No p-value in this version.
281
+
282
+ Worked example. Test vector: (1, 2), (2, 4), (3, 6). x-bar = 2. y-bar = 4. Numerator = (-1) * (-2) + 0 * 0 + 1 * 2 = 4. Denominator = 1 + 0 + 1 = 2. Slope = 2. Intercept = 4 - 2 * 2 = 0. Fitted values match y, so residual sum of squares = 0 and R squared = 1.
283
+
284
+ Reference. Simple linear regression in the ASQ Certified Six Sigma Black Belt body of knowledge. https://www.asq.org/cert/six-sigma-black-belt
285
+
286
+ ## Takt time
287
+
288
+ Definition. Takt = available time / customer demand, for the same period.
289
+
290
+ Assumptions. Both numbers cover one period. Demand is the customer's demand, not the rate you wish you could run.
291
+
292
+ Worked example. Test vector: 480 minutes available, 240 units demanded. Takt = 480 / 240 = 2 minutes per unit.
293
+
294
+ Reference. Takt time in the ASQ Certified Six Sigma Black Belt body of knowledge (Lean). https://www.asq.org/cert/six-sigma-black-belt
295
+
296
+ ## OEE
297
+
298
+ Definition. OEE = availability * performance * quality, each a ratio from 0 to 1.
299
+
300
+ - Availability = run time / planned time
301
+ - Performance = (ideal cycle time * total count) / run time
302
+ - Quality = good count / total count
303
+
304
+ A factor outside 0 to 1 is not clamped. Stop and check the inputs.
305
+
306
+ Assumptions. The three ratios describe the same period.
307
+
308
+ Worked example. Test vector: 0.9, 0.8, and 0.75. OEE = 0.9 * 0.8 * 0.75 = 0.54.
309
+
310
+ Reference. OEE in the ASQ Certified Six Sigma Black Belt body of knowledge (Lean). https://www.asq.org/cert/six-sigma-black-belt
311
+
312
+ ## Little's Law
313
+
314
+ Definition. Average inventory = average throughput * average flow time, in consistent units.
315
+
316
+ Assumptions. The averages describe the same stable period. Units of throughput and flow time must match (per day with days, not per day with hours, unless you convert).
317
+
318
+ Worked example. Test vector: 20 units per day, flow time 2 days. Inventory = 20 * 2 = 40.
319
+
320
+ Reference. Little's Law in the ASQ Certified Six Sigma Black Belt body of knowledge (Lean). https://www.asq.org/cert/six-sigma-black-belt
321
+
322
+ ## RPN
323
+
324
+ Definition. RPN = severity * occurrence * detection, only when all three integers are present. Each score is an integer you enter from 1 to 10.
325
+
326
+ Assumptions. The scale is the one your FMEA sheet uses. A blank score means a blank RPN. Do not average a missing score into a 1 or a 10.
327
+
328
+ Worked example. Test vector: severity 8, occurrence 4, detection 5. RPN = 8 * 4 * 5 = 160.
329
+
330
+ Reference. FMEA RPN in the ASQ Certified Six Sigma Black Belt body of knowledge. https://www.asq.org/cert/six-sigma-black-belt