FR Demo

Engine

The checking code that decides whether a value is read, computed, guessed or asked.

Break a receipt

This is the app’s own checking code, running in your browser.

MAGASIN A

UNSALTED BUTTER 250G
WHOLEGRAIN BREAD
SEMI SKIM MILK 1L2 x 1.05
CLEMENTINES0.734 kg x 3.49 €/kg
TOTAL

    Where a value comes from

    • ReadPrinted on the receipt and read as it is.
    • ComputedProven by arithmetic from other values on the receipt.
    • InferredA guess from your history or the bank line. Always shown, never hidden.
    • MissingUnreadable, and nothing on the receipt settles it. You are asked.
    • YoursYou answered, so it is kept as you said.

    The state diagrams →

    Measured on simulated damage

    • All amounts right
    • Asks you
    • Wrong without saying
    Faded 1 photo 35 % 66 % 0 %
    3 photos 50 % 50 % 0 %
    Wrinkled 1 photo 31 % 69 % 0 %
    3 photos 56 % 44 % 0 %
    Erased 1 photo 35 % 65 % 0 %
    3 photos 34 % 67 % 0 %
    200 simulated supermarket receipts per line. Several photos of the same receipt are combined.

    Make a damaged receipt yourself →