Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
Rename three sum (#354)
Browse files Browse the repository at this point in the history
Signed-off-by: Merwane Hamadi <[email protected]>
  • Loading branch information
waynehamadi authored Sep 5, 2023
1 parent 2dc1a0a commit 0bb45be
Show file tree
Hide file tree
Showing 43 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
},
"info": {
"difficulty": "advanced",
"difficulty": "basic",
"description": "Tests ability for the agent to create the three_sum function.",
"side_effects": []
}
Expand Down
2 changes: 1 addition & 1 deletion paper/agent_action_regex.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import re
import json
import re


def is_action_auto_gpt(log):
Expand Down
8 changes: 4 additions & 4 deletions paper/combined_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
]
}
],
Expand Down

0 comments on commit 0bb45be

Please sign in to comment.