diff options
Diffstat (limited to 'benchmark/agbenchmark/challenges/deprecated/code/1_password_generator/data.json')
-rw-r--r-- | benchmark/agbenchmark/challenges/deprecated/code/1_password_generator/data.json | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/benchmark/agbenchmark/challenges/deprecated/code/1_password_generator/data.json b/benchmark/agbenchmark/challenges/deprecated/code/1_password_generator/data.json new file mode 100644 index 000000000..0f30ea872 --- /dev/null +++ b/benchmark/agbenchmark/challenges/deprecated/code/1_password_generator/data.json @@ -0,0 +1,28 @@ +{ + "category": [ + "code" + ], + "cutoff": 90, + "dependencies": [ + "TestWriteFile" + ], + "eval_id": "15686763-9be7-41e0-902a-80a99fd88089", + "ground": { + "answer": "password_generator.py is created and satisfies the requirements.", + "eval": { + "type": "python" + }, + "files": [ + "test.py" + ], + "should_contain": [], + "should_not_contain": [] + }, + "info": { + "description": "Tests ability for the agent to create a random password generator.", + "difficulty": "basic", + "side_effects": [] + }, + "name": "PasswordGenerator", + "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. The password_generator can also be imported as a module and called as password = password_generator.generate_password(len=x). If no length is specified, the password should be 8 characters long. Any invalid input should raise a ValueError." +} |