test error prompt

This commit is contained in:
Paul Gauthier 2023-06-27 07:49:47 -07:00
parent 39434289f5
commit 7736289309

View file

@ -317,9 +317,14 @@ Only use standard python libraries, don't suggest installing any packages.
errors = errors[:50]
errors = "\n".join(errors)
instructions = errors
instructions += (
f"\n\n####\n\nFix the code in {file_list} to resolve the test failures above."
)
instructions += f"""
####
See the testing errors above.
The tests are correct.
Fix the code in {file_list} to resolve the errors.
"""
results = dict(
testdir=str(testdir),