Files
floop/code/tests
onibot aabacf8c44 floop: DATE answer type + deterministic year check (his 22/10 run)
His local run: the term-start question answered '15' — not a date —
and the dependent predecessor question became unclear downstream.

- AnswerType.DATE joins the enum; the Subquestion desc the model sees
  now says: DATE for a specific date (day, month and year — '15' alone
  is NOT a date)
- _looks_like_date: deterministic admission bar — a plausible year
  (1500-2999). '2 June 2018'/'June 2018'/'2018' pass; '15', a month
  name alone, garbage: refused
- _append_checked: a DATE answer without a year becomes UNKNOWN, the
  question fails honestly, a note lands in the run log — the wrong
  type never flows silently into dependents

VERIFIED: tests/date_type.py 4/4 (enum+desc in the rendered schema,
deterministic admission, '15' rejected end-to-end, real date accepted);
suite 16/16.
2026-10-22 23:58:19 +02:00
..