All projects 02 of 08
Fine Print
// Rate foods by ingredient rules, with evidence
Shows how a food matches a clean-label ingredient rulebook, the evidence behind each rule, and cleaner swaps.
- Stack
- Next.js 16, React 19, TypeScript
- Pipeline
- Python
fpCLI that builds a SQLite catalog - Data
- USDA FoodData Central and Open Food Facts
- Licences
- Code MIT; catalog ODbL; rulebook text CC BY 4.0

What it does
Fine Print rates foods against my clean-label ingredient rulebook and shows the evidence behind every rule. A shopper can scan two products, see the label words that triggered a rule, read the evidence, and compare the products.
Ratings come from ingredients. A Python engine plus human-reviewed mappings assigns every verdict. Language models may suggest candidate ingredient matches or abstain; they never assign a tier, and the web app never scores a product.
About the verdicts
Verdicts are ratings against my own rulebook, using labels as published. Brand names identify products and imply no affiliation.
Try it live
Fine Print, the live app
Screens



Contains information from Open Food Facts, made available under the Open Database License (ODbL).
When the science disagrees
Every rule carries its evidence card, even when the evidence cuts against the rule. Enriched-flour vitamins are flagged as a marker of refined flour, and the card for niacin says plainly that the vitamins themselves are not the problem.

Contains information from Open Food Facts, made available under the Open Database License (ODbL).
The five tiers
| Tier | What puts a food there |
|---|---|
| Godly | A single whole food with a confirmed processing state. |
| Good | No Bad or Okay ingredients found. |
| Okay | An Okay or unmatched ingredient, or Bad ingredients only in the "2% or less" section or only added sugars. |
| Bad | A confirmed Bad ingredient in the main ingredient list. |
| Unknown | No ingredient list, or too few ingredients identified to judge. |
What a rule looks like
ingredients:
- id: soy_lecithin
name: Soy lecithin
family: emulsifier
aliases: [soy lecithin, soya lecithin, soybean lecithin, lecithin (soy), organic soy lecithin, non-gmo soy lecithin]
off_ids: [en:soya-lecithin, en:gmo-free-soy-lecithin]
e_numbers: [E322]
whole_food: false
definition: Phospholipid emulsifier extracted from soybean oil.The refresh pipeline
- Raw
Pinned USDA FoodData Central files and an Open Food Facts snapshot, with a manifest of source URL, date and checksum.
- Staged
One typed table per source, limited to US products.
- Merged
Products, dated label versions, field provenance, conflicts and a reason-coded quarantine.
- Enriched
Parsed ingredient spans, reviewed mappings, verdicts and swaps. Model suggestions are stored apart from published results.
- Serving
A read-only SQLite file that the Next.js app queries.
On a phone


Contains information from Open Food Facts, made available under the Open Database License (ODbL).
Flow
Licences
| Part | Licence |
|---|---|
| Source code | MIT |
| Fine Print catalog | ODbL 1.0, derived from Open Food Facts |
| Open Food Facts data | ODbL 1.0. Contains information from Open Food Facts, which is made available here under the Open Database License (ODbL). Open Food Facts contributors. |
| Rulebook and evidence card text | CC BY 4.0 |
| USDA FoodData Central | Public domain (CC0 1.0) |
Notes
- The repository is private. The live app runs the latest deployed build, which can differ from these screenshots.
- Screenshots show work in progress.