The toy validate function checks that a prompt has at least three
of the four core knobs before it gets sent to the model. The current
prompt only has two knobs and validate rejects it. Add the two
missing keys (constraints and format) so the script prints exactly
ok.
Expected output:
ok
The break is on lines 9, 10 — but read the whole snippet first.