Skip to content

Main content

Public Product Source Gap Tool

Compare explicit public product label provenance without inferring efficacy or safety.

Loading tool…

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

  1. Enter productIds, labelEdition, sourceEdition, ingredientListMatched. Keep parallel arrays aligned. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. 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 fieldMeaning and unitsAccepted input
productIdsProduct IdsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
labelEditionLabel EditionRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
sourceEditionSource EditionRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
ingredientListMatchedIngredient List MatchedRequired. Array of boolean; maximum items 256.
Output fieldInterpretationReturned shape
editionMismatchesEdition MismatchesRequired. Safe integer.
ingredientMismatchesIngredient MismatchesRequired. Safe integer.
fullyMatchedRecordsFully Matched RecordsRequired. Safe integer.
json
{
  "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

  1. Calculation and input contract: naturopathy/public-product-source-gap — tool.io

Similar or alternative tools