Rename three sum (#354)

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
This commit is contained in:
merwanehamadi 2023-09-04 19:50:27 -07:00 committed by GitHub
parent 2dc1a0a9cd
commit 0bb45be584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
43 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@
}
},
"info": {
"difficulty": "advanced",
"difficulty": "basic",
"description": "Tests ability for the agent to create the three_sum function.",
"side_effects": []
}

View File

@ -1,5 +1,5 @@
import re
import json
import re
def is_action_auto_gpt(log):

View File

@ -630,10 +630,10 @@
"evalue": "loads() missing 1 required positional argument: 's'",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mTypeError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[1;32mIn[61], line 43\u001b[0m\n\u001b[0;32m 40\u001b[0m total_rows \u001b[39m=\u001b[39m \u001b[39mlen\u001b[39m(group)\n\u001b[0;32m 42\u001b[0m \u001b[39mfor\u001b[39;00m i, (_, row) \u001b[39min\u001b[39;00m \u001b[39menumerate\u001b[39m(group\u001b[39m.\u001b[39miterrows()):\n\u001b[1;32m---> 43\u001b[0m response \u001b[39m=\u001b[39m json\u001b[39m.\u001b[39;49mloads()\n\u001b[0;32m 44\u001b[0m response_nested \u001b[39m=\u001b[39m nested_json(row[request_type])\n\u001b[0;32m 46\u001b[0m response_dict[\u001b[39mstr\u001b[39m(total_rows\u001b[39m-\u001b[39mi)] \u001b[39m=\u001b[39m response \u001b[39m# Starting from 1 as you mentioned\u001b[39;00m\n",
"\u001b[1;31mTypeError\u001b[0m: loads() missing 1 required positional argument: 's'"
"\u001B[1;31m---------------------------------------------------------------------------\u001B[0m",
"\u001B[1;31mTypeError\u001B[0m Traceback (most recent call last)",
"Cell \u001B[1;32mIn[61], line 43\u001B[0m\n\u001B[0;32m 40\u001B[0m total_rows \u001B[39m=\u001B[39m \u001B[39mlen\u001B[39m(group)\n\u001B[0;32m 42\u001B[0m \u001B[39mfor\u001B[39;00m i, (_, row) \u001B[39min\u001B[39;00m \u001B[39menumerate\u001B[39m(group\u001B[39m.\u001B[39miterrows()):\n\u001B[1;32m---> 43\u001B[0m response \u001B[39m=\u001B[39m json\u001B[39m.\u001B[39;49mloads()\n\u001B[0;32m 44\u001B[0m response_nested \u001B[39m=\u001B[39m nested_json(row[request_type])\n\u001B[0;32m 46\u001B[0m response_dict[\u001B[39mstr\u001B[39m(total_rows\u001B[39m-\u001B[39mi)] \u001B[39m=\u001B[39m response \u001B[39m# Starting from 1 as you mentioned\u001B[39;00m\n",
"\u001B[1;31mTypeError\u001B[0m: loads() missing 1 required positional argument: 's'"
]
}
],