Description
Sum total mass and mass with identityReported, amountReported, and sourceVerified all true; divide supported by total mass.
Support indicators describe which recorded observations meet stated completeness or eligibility conditions. Duration-weighted support and distinct-record support use different denominators.
Sum total mass and mass with identityReported, amountReported, and sourceVerified all true; divide supported by total mass.
When to use this tool
Use Study Ingredient Support Share when you need a transparent supported fraction from supplied flags.
How to use the tool and how it works
- Enter ingredientMasses, identityReported, amountReported, sourceVerified. 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 totalMass, supportedMass, share, defined. Inspect defined before interpreting the associated values.
Require aligned nonnegative ingredient masses and three support flags. Sum total mass and mass with identityReported, amountReported, and sourceVerified all true; divide supported by total mass.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| ingredientMasses | Ingredient Masses | Required. Array of finite number; minimum 0; maximum items 256. |
| identityReported | Identity Reported | Required. Array of boolean; maximum items 256. |
| amountReported | Amount Reported | Required. Array of boolean; maximum items 256. |
| sourceVerified | Source Verified | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| totalMass | Total Mass | Required. Finite number. |
| supportedMass | Supported Mass | Required. Finite number. |
| share | Dimensionless fraction under the stated denominator policy. | Required. Finite number. |
| defined | Whether the accompanying numeric result has an available denominator or required inputs. | Required. Boolean. |
{
"input": {
"ingredientMasses": [
2,
3,
5
],
"identityReported": [
true,
true,
true
],
"amountReported": [
true,
true,
false
],
"sourceVerified": [
true,
false,
true
]
},
"output": {
"totalMass": 10,
"supportedMass": 2,
"share": 0.2,
"defined": true
}
} Limitations and assumptions
- Zero total mass produces share zero and defined false; support labels do not establish efficacy, safety, or chemical verification.
- 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
Inspect missing and excluded records separately and verify the evidence behind each support flag.
References
Similar or alternative tools
- Public Product Source Gap
Count unequal edition pairs, false ingredient matches, and records satisfying both checks.
- Public Product Label Basis Factor
Divide reportedAmount by positive sourceBasis and multiply by positive targetBasis.