Description
Count unequal edition pairs, false ingredient matches, and records satisfying both checks.
Evidence bookkeeping records identifiers, reported methods, source editions, and supplied support flags. A complete-looking citation or matching record is different from evidence of a claim's validity.
Count unequal edition pairs, false ingredient matches, and records satisfying both checks.
When to use this tool
Use Public Product Source Gap when you need a reproducible source or study-record consistency check.
How to use the tool and how it works
- Enter productIds, labelEdition, sourceEdition, ingredientListMatched. 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 editionMismatches, ingredientMismatches, fullyMatchedRecords. Use the output convention below.
Require aligned product, edition, and ingredient-match arrays. Count unequal edition pairs, false ingredient matches, and records satisfying both checks.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| productIds | Product Ids | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| labelEdition | Label Edition | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| sourceEdition | Source Edition | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| ingredientListMatched | Ingredient List Matched | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| editionMismatches | Edition Mismatches | Required. Safe integer. |
| ingredientMismatches | Ingredient Mismatches | Required. Safe integer. |
| fullyMatchedRecords | Fully Matched Records | Required. Safe integer. |
{
"input": {
"productIds": [
"a",
"b"
],
"labelEdition": [
"v1",
"v2"
],
"sourceEdition": [
"v1",
"v1"
],
"ingredientListMatched": [
true,
false
]
},
"output": {
"editionMismatches": 1,
"ingredientMismatches": 1,
"fullyMatchedRecords": 1
}
} Limitations and assumptions
- Counts depend on supplied editions and match flags; no product label or source document is fetched.
- 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.
Alternative or Complementary methods
Read the original report and compare methods, outcomes, provenance, and uncertainty before assessing an evidence claim.
References
Similar or alternative tools
- Public Product Label Basis Factor
Divide reportedAmount by positive sourceBasis and multiply by positive targetBasis.
- Naturopathy Product Claim Citation Locator
Serialize them as a JSON array key and copy suppliedEvidencePresent into linked.