Skip to content

refactor(nutrition): support new nutrition schema#1838

Merged
raphael0202 merged 14 commits intomainfrom
new-nutrition-schema
Feb 17, 2026
Merged

refactor(nutrition): support new nutrition schema#1838
raphael0202 merged 14 commits intomainfrom
new-nutrition-schema

Conversation

@raphael0202
Copy link
Collaborator

Part of #1836.

This is the second step in the nutrition schema migration.

It introduces the following changes:

  • update NutrientExtractionImporter to support new schema
  • delete scheduler/latent.py: don't write anymore missing fiber facet on Product Opener.
  • updated unit tests

Remaining to be done: adapt category prediction.

@codecov
Copy link

codecov bot commented Feb 9, 2026

Codecov Report

❌ Patch coverage is 78.94737% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.95%. Comparing base (55ffec1) to head (e167e89).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
robotoff/cli/main.py 7.69% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1838      +/-   ##
==========================================
+ Coverage   59.64%   59.95%   +0.30%     
==========================================
  Files          88       87       -1     
  Lines        9417     9402      -15     
==========================================
+ Hits         5617     5637      +20     
+ Misses       3800     3765      -35     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

CI build was failing
@raphael0202 raphael0202 marked this pull request as ready for review February 13, 2026 11:10
@raphael0202 raphael0202 requested a review from a team as a code owner February 13, 2026 11:10
@raphael0202 raphael0202 changed the title refactor(nutrition): support new nutrition schema (WIP) refactor(nutrition): support new nutrition schema Feb 13, 2026
@raphael0202 raphael0202 merged commit 6119b8c into main Feb 17, 2026
8 checks passed
@raphael0202 raphael0202 deleted the new-nutrition-schema branch February 17, 2026 09:09
raphael0202 pushed a commit that referenced this pull request Feb 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.85.3](v1.85.2...v1.85.3)
(2026-02-17)


### Bug Fixes

* upgrade buildx
([bb77914](bb77914))


### Technical

* **deps-dev:** bump cryptography from 45.0.3 to 46.0.5
([#1846](#1846))
([55ffec1](55ffec1))
* **deps:** ugprade triton-client and protobuf
([#1850](#1850))
([265b409](265b409))
* **nutrition:** support new nutrition schema
([#1838](#1838))
([6119b8c](6119b8c))
* switch from poetry to uv
([#1849](#1849))
([e9e56e9](e9e56e9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant