From 7736289309f685793b6114014846af4e7ac2eae2 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 27 Jun 2023 07:49:47 -0700 Subject: [PATCH] test error prompt --- benchmark/benchmark.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index 1cd40afe4..53441badc 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -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),