From 11dddad4c1bc924354148769e551fe791ae638a7 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 27 Jun 2023 17:42:52 -0700 Subject: [PATCH] zip the hashes --- benchmark/benchmark.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index 7803be6ac..71597d512 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -348,8 +348,12 @@ Fix the code in {file_list} to resolve the errors. commit_hash=commit_hash, num_error_outputs=io.num_error_outputs, num_user_asks=io.num_user_asks, - chat_completion_call_hashes=coder.chat_completion_call_hashes, - chat_completion_response_hashes=coder.chat_completion_response_hashes, + chat_hashes=list( + zip( + coder.chat_completion_call_hashes, + coder.chat_completion_response_hashes, + ) + ), ) dump(results)