Evaluator-optimizer — write a draft, let a judge critique it, revise — step 5 of 9
The evaluator-optimizer loop is missing its exit condition. Fill in
the comparison so the function returns the draft as soon as the
judge's status field equals "PASS".
Expected output:
done in 2 iters
⌘↵ runs the editor.read, then continue.
Evaluator-optimizer — write a draft, let a judge critique it, revise — step 5 of 9
The evaluator-optimizer loop is missing its exit condition. Fill in
the comparison so the function returns the draft as soon as the
judge's status field equals "PASS".
Expected output:
done in 2 iters
⌘↵ runs the editor.read, then continue.