# Test dataset of the ID-document extractor, designed by humans (the committee) by LOOKING at the pictures, BEFORE testing.
# It is a file (not code), so that the committee can review and extend it without touching the tests.
# Values are as written in the VISUAL zone of each passport (beware: the machine-readable zone may disagree, e.g. Mario Rossi's expiry date).
- input: passport-mario-rossi.png
  expected:
    name: Mario Rossi
    nationality: Bananense
    date_of_birth: 1985-03-15            # YAML parses ISO dates as dates
    id_number: BN1234567
    expiration_date: 2034-05-20
    legible: true                        # my own judgement, to validate the LLM-as-a-judge against
- input: passport-jean-dupont.png
  expected:
    name: Jean Dupont
    nationality: Jenesaispasouienne
    date_of_birth: 1991-04-17
    id_number: EDU-7429-XX
    expiration_date: 2031-01-12
    legible: true
- input: passport-mohammed-ali.png
  expected:
    name: Mohammed Ali
    nationality: Agrabahi
    date_of_birth: 1990-07-15
    id_number: AG1234567
    expiration_date: 2034-05-22
    legible: true
