Description
Sum quantities on IDs included in reworkRoutes and divide by positive total, otherwise return zero and defined false.
Production yields distinguish first-pass output, accepted rework, and final good units. Expected fractions, observed counts, and reporting bases should remain explicit.
Sum quantities on IDs included in reworkRoutes and divide by positive total, otherwise return zero and defined false.
When to use this tool
Use Process Rework Route Share when you need one supplied yield, rework, or effectiveness component.
How to use the tool and how it works
- Enter routeIds, quantities, reworkRoutes. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read totalQuantity, reworkQuantity, share, defined. Inspect defined before interpreting the associated values.
Require aligned nonnegative quantities and route IDs. Sum quantities on IDs included in reworkRoutes and divide by positive total, otherwise return zero and defined false.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| routeIds | Route Ids | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| quantities | Quantities | Required. Array of finite number; minimum 0; maximum items 256. |
| reworkRoutes | Rework Routes | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| totalQuantity | Total Quantity | Required. Finite number. |
| reworkQuantity | Rework Quantity | Required. Finite number. |
| share | Dimensionless fraction under the stated denominator policy. | Required. Finite number. |
| defined | Whether the accompanying fraction has an available nonzero denominator. | Required. Boolean. |
{
"input": {
"routeIds": [
"A",
"R",
"B"
],
"quantities": [
10,
5,
5
],
"reworkRoutes": [
"R"
]
},
"output": {
"totalQuantity": 20,
"reworkQuantity": 5,
"share": 0.25,
"defined": true
}
} Limitations and assumptions
- Route labels are exact and supplied; repeated route records contribute separately and no units are deduplicated or quality is judged.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Review process records and the relevant quality and time-accounting definitions before comparing production performance.
References
Similar or alternative tools
- Production Yield Rework One Step Term
Apply firstPassYield to inputUnits, send a reworkFraction of failures to rework, and apply reworkSuccess once.
- Machine Yield Rework Base Gap
Add reworkedGood to firstPassGood only when countRework is true.