Exercises / agents
Citation subset check
valid_finish(payload, opened) is True iff citations is a subset of opened and, when cannot_answer, citations is empty.
Live Pythonpython
Output
Run to execute this in your browser. Nothing is sent to a server.