Hussein Mozannar e11d84b996
Adding Benchmarks to agbench (#3803)
* Move from tomllib to tomli

* added example code for magentic-one + code comments

* adding benchmarks temporarily

* add license for datasets

* revert changes to magentic-one

* change license location

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-10-18 06:33:33 +02:00

16 lines
324 B
Python

# Disable ruff linter for template files
# ruff: noqa: F821 E722
import sys
__TEST__
def run_tests(candidate):
try:
check(candidate)
# We can search for this string in the output
print("ALL TESTS PASSED !#!#")
except AssertionError:
sys.exit("SOME TESTS FAILED - TRY AGAIN !#!#")