Derives a non-blocking feedback status from an OCR extraction result.
ingredientQuantities scans are special-cased: an empty payload is empty,
and a non-empty payload whose length differs from the ingredient rows
already on the form is mismatch (the quantities cannot be paired
one-to-one, including when no rows exist yet). Every other field is success
when the payload carries any usable value and empty otherwise.
Derives a non-blocking feedback status from an OCR extraction result.
ingredientQuantitiesscans are special-cased: an empty payload isempty, and a non-empty payload whose length differs from the ingredient rows already on the form ismismatch(the quantities cannot be paired one-to-one, including when no rows exist yet). Every other field issuccesswhen the payload carries any usable value andemptyotherwise.