mofilo_nutrient_verifier 1.0.2 copy "mofilo_nutrient_verifier: ^1.0.2" to clipboard
mofilo_nutrient_verifier: ^1.0.2 copied to clipboard

Nutrition data validator for user-submitted food data. Validates using physics-based limits, energy conservation, and toxicity thresholds. Binary pass/fail with trust scoring.

1.0.2 #

  • Added safety checks for potassium (>6,000mg), iron (>60mg), and vitamin D (>250mcg)
  • Added cholesterol concentration check (>1,500mg per 100g)
  • Added servingCount validation (must be > 0)
  • Added negative value checks for all nutrient fields (sodium, potassium, vitamins, minerals, alcohol, etc.)
  • Fixed trust score contradiction where passing volume foods received a score of 0
  • Updated README with honest validation coverage table and known limitations

1.0.1 #

  • Updated language to be more factually accurate (removed guarantee/safety claims)
  • Changed "Production-grade" to neutral descriptive language
  • Changed "Acute Toxicity Protection" to "Acute Toxicity Detection"

1.0.0 #

  • Initial release
  • 5-layer validation pipeline: Input → Volume → Physics → Energy → Safety
  • Physics-based validation for matter density and energy conservation
  • Volume unit validation for liquids (ml, cups, fl oz) with concentration limits
  • Acute toxicity detection (sodium, caffeine, vitamin A)
  • Trust scoring (0-100) for data quality filtering
  • Binary pass/fail with detailed rejection reasons
  • Universal language support (name-independent validation)
0
likes
150
points
117
downloads

Documentation

API reference

Publisher

verified publishermofilo.app

Weekly Downloads

Nutrition data validator for user-submitted food data. Validates using physics-based limits, energy conservation, and toxicity thresholds. Binary pass/fail with trust scoring.

Homepage
Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on mofilo_nutrient_verifier