RikaidoDeveloper

REFERENCE

The re-read’s codes

Twenty codes, eight checks. Every code belongs to one check, in the order the validator runs them.

A code names what was checked, not only what went wrong: unknown-ingredient and unenforced-constraint say that a line or a constraint stayed out of reach, so that safe: true is never read as more than it covers.

01Safety

allergen-violationsafety

An ingredient breaks a named allergy. It has to come out, and so does everything made from it — a trace does not pass.

diet-violationsafety

An ingredient does not respect a named diet. It has to be swapped for one that does.

excluded-ingredientsafety

An ingredient is on the list of foods to avoid. It has to come out — not be swapped for a near version of the same food.

unenforced-constraintwarn

A constraint is not one the harness knows how to check. Nothing confirms it was honoured.

unknown-ingredientwarn

An ingredient is not in Rikaido’s food graph, so the allergen and diet checks could read nothing on that line. The verdict covers only the ingredients it could place.

02Dish

unclassified-dishwarn

The dish could not be placed in a category, so none of the category checks ran: no leavening band, no baker’s percentages, no salt band, no oven window.

03Structure

too-few-stepserror

Too few steps. A real recipe goes through preparation and cooking, in order.

too-few-ingredientserror

Fewer than two main ingredients. The list needs filling out.

04Quantities

missing-quantityerror

An ingredient has no usable quantity. It needs a real measurement.

vague-quantityerror

A structural ingredient is given “to taste”. That needs a real number — only salt and pepper get that licence.

zero-quantityerror

An ingredient is listed at zero. Give the amount the dish actually uses, or take it off the list.

05Salt

no-saltwarn

No salt and nothing salty anywhere in the dish. Unseasoned, it tastes flat.

salt-out-of-bandwarn

The salt sits outside the band for this kind of dish, as a percentage of the flour weight.

06Dough

leavening-out-of-banderror

The leavening sits outside the band for this kind of dish, in teaspoons per cup of flour.

missing-leaveningerror

This kind of dish needs a chemical leavener — baking powder or soda — and there is none.

missing-yeasterror

This kind of bread needs yeast or a starter to rise, and there is none.

ratio-out-of-bandwarn

A baker’s ratio — liquid, fat, sugar or egg to flour — sits outside the band for this kind of dish.

07Temperatures

implausible-temperror

A temperature is not plausible for a home kitchen, or sits outside the usual window for this kind of dish.

technique-temp-out-of-bandwarn

A step performs a technique at a temperature the lexicon does not give it. Fix the temperature, or name the technique the step really does.

08Techniques

unknown-techniquewarn

The recipe claims to teach a technique the lexicon does not hold. It is dropped before serving.

Severity

  • error brings ok down. The recipe can be served with its notes; Rikaido sends it back to the model first.
  • warn is a note. ok stays true.
  • safety: true brings safe down. Three codes only, and they are not fixed client-side.

The English sentences above are what the app shows a cook. The answer’s message field is written for a model, with the numbers the check tripped on.