MCPcopy Create free account
hub / github.com/Mercury7353/PyBench / test_task_25

Function test_task_25

data/unit_test/tests.py:327–353  ·  view source on GitHub ↗
(trajectory)

Source from the content-addressed store, hash-verified

325 assert ans in final_answer
326
327def test_task_25(trajectory):
328 final_answer=trajectory[-1]['content']
329 answer_list=['Uncharted',
330 'Morbius',
331 'Firestarter',
332 'Orphan: First Kill',
333 'Nope',
334 'Beast',
335 'Barbarian',
336 'Dog',
337 'Hunt',
338 'The Black Phone',
339 'Scream',
340 'Doctor Strange in the Multiverse of Madness',
341 'Bhool Bhulaiyaa 2',
342 'Men',
343 'X',
344 'Memory',
345 'Bodies Bodies Bodies',
346 'The Invitation',
347 'Easter Sunday']
348 flag=False
349 for ans in answer_list:
350 if ans in final_answer:
351 flag=True
352
353 assert flag
354
355def test_task_27(trajectory):
356 final_answer=trajectory[-1]['content']

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected