Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 401 Bytes
fb03edc 324d83a fb03edc 324d83a |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from tests.candidate import complete_interview
from tests.grader import grade
def test_complete_interview():
for _ in range(3):
file_path, _ = complete_interview("coding", "test", model="gpt-3.5-turbo")
feedback = grade(file_path, model="gpt-4-turbo")
assert feedback["overall_score"] > 0.5
if feedback["overall_score"] > 0.8:
return
assert False
|