AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Update TestPasswordGenerator_Easy to mention ValueError (#335)
Luke16a1d884f175
diff --git a/agbenchmark/challenges/code/c4_writing_cli_suite_3/1_password_generator/data.json b/agbenchmark/challenges/code/c4_writing_cli_suite_3/1_password_generator/data.jsonindex d065cdbb32..a675ae4152 100644--- a/agbenchmark/challenges/code/c4_writing_cli_suite_3/1_password_generator/data.json+++ b/agbenchmark/challenges/code/c4_writing_cli_suite_3/1_password_generator/data.json@@ -1,7 +1,7 @@{"name": "TestPasswordGenerator_Easy","category": ["code"],- "task": "Create a random password generator. The password should have between 8 and 16 characters and should contain letters, numbers and symbols. The password should be printed to the console. The entry point will be a python file that can be run this way: python password_generator.py [--len x] where x is the length of the password. If no length is specified, the password should be 8 characters long. The password_generator can also be imported as a module and called as password = password_generator.generate_password(len=x).",+ "task": "Create a random password generator. The password should have between 8 and 16 characters and should contain letters, numbers and symbols. The password should be printed to the console. The entry point will be a python file that can be run this way: python password_generator.py [--len x] where x is the length of the password. If no length is specified, the password should be 8 characters long. The password_generator can also be imported as a module and called as password = password_generator.generate_password(len=x). Any invalid input should raise a ValueError.","dependencies": ["TestWriteFile"],"cutoff": 90,"ground": {