fix: correct shelf lives, prawn data and step texts of the new recipes - #72
Merged
Merged
Conversation
A review of the 29 "Fichas de cocina" recipes found data errors. - Gambas con queso put 250 g of salt per serving on the shopping list. The salt is a cooking crust that is thrown away, so it now stays in the step text only. - The Gambas product is peeled frozen prawns, but the steps said to peel them and keep the heads. The steps now thaw them instead, and gramsPerPiece drops from 20 to 12 (medium peeled prawn). - Jamon cocido kept 5 days after opening; Mercadona says 48 hours. Coco rallado had no opened shelf life; Mercadona says one week. - Chilled and frozen items had no sealed shelf life, so the app never warned that they may expire. The values now follow the older similar ingredients (deli 14-21, cheese 45-90, frozen 365). - Ajo troceado is chopped garlic, but three steps talked about whole or sliced cloves (and one removed them after cooking). - Revuelto de setas said "4 partes del aceite"; it means two thirds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The guide sent readers only to details.storage_instructions. For many products the "once opened" text is only in details.usage_instructions, so the opened shelf life was missed (jamon cocido, coco rallado). The guide also now says to use drained_weight when unit_size is null. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
guplem
enabled auto-merge
September 25, 2026 16:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the data errors that a review found in the 29 recipes from #71. It also fixes the Mercadona guide that caused two of them.
Data fixes (
RecipeBook.tsr)Gambas con queso: the recipe put 250 g of salt per serving on the shopping list. The salt is a cooking crust that you throw away, so it is now only in the step text.
Gambas: the product is peeled frozen prawns, but the steps said to peel them and keep the heads. The steps now thaw them instead.
gramsPerPiecechanges from 20 to 12, the weight of a medium peeled prawn.Jamón cocido: the opened shelf life changes from 5 to 2 days. Mercadona says 48 hours.
Coco rallado: the opened shelf life is now 7 days. Mercadona says one week.
Sealed shelf life (
shelfLifeDaysClosed) was missing for chilled and frozen items, so the app never warned that they may expire. The new values follow the older similar ingredients:Jamón cocido and Chistorra also get
canBeFrozen, like the other deli meats.Garlic text: "Ajo troceado" is chopped garlic. Lentejas, Gambas al ajillo and Dorada al horno described whole or sliced cloves, and Lentejas even took the garlic out after cooking. The texts now match chopped garlic.
Revuelto de setas: "4 partes del aceite" now says "dos tercios del aceite", which is what the booklet means.
Doc fix (
mercadona-api.md)storage_instructionsandusage_instructions. The opened shelf life is often only in the second field.drained_weightwhenunit_sizeis null.Not changed
Some booklet portions are small: 62.5 g of pasta, 1-egg tortillas and 1 salmon piece per serving. Some total times are longer than the booklet. These were left as they are on purpose.
Testing
flutter test test/: all 1053 tests pass.🤖 Generated with Claude Code