{"kind":"task","effective_mode":"full","benchmark":{"kind":"benchmark","effective_mode":"full","slug":"humaneval","formal_name":"HumanEval","introduction":"HumanEval asks for a Python function body from a docstring and signature, checked by hidden unit tests. It is the original functional-correctness benchmark for code generation.","introduction_ja":"","introduction_en":"","category":"Category not supplied","task_count":null,"acquisition_status":"Acquisition status not supplied","official_url":"https://huggingface.co/datasets/openai/openai_humaneval","indexing_mode":"noindex","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[]}},"task_id":"66516c68-7a4d-5626-95c5-277361fdcbea","task_key":"openai~5fhumaneval--test--66516c68-7a4d-5626-95c5-277361fdcbea","task_revision_id":"1","upstream_id":"","short_description":"def file_name_check(file_name):","config":"openai_humaneval","split":"test","body":"{\"entry_point\":\"file_name_check\",\"prompt\":\"\\ndef file_name_check(file_name):\\n    \\\"\\\"\\\"Create a function which takes a string representing a file's name, and returns\\n    'Yes' if the the file's name is valid, and returns 'No' otherwise.\\n    A file's name is considered to be valid if and only if all the following conditions \\n    are met:\\n    - There should not be more than three digits ('0'-'9') in the file's name.\\n    - The file's name contains exactly one dot '.'\\n    - The substring before the dot should not be empty, and it starts with a letter from \\n    the latin alphapet ('a'-'z' and 'A'-'Z').\\n    - The substring after the dot should be one of these: ['txt', 'exe', 'dll']\\n    Examples:\\n    file_name_check(\\\"example.txt\\\") # => 'Yes'\\n    file_name_check(\\\"1example.dll\\\") # => 'No' (the name should start with a latin alphapet letter)\\n    \\\"\\\"\\\"\\n\"}","display_format":"text","language":"","answer_status":"unknown","assets":[],"source_url":"https://huggingface.co/datasets/openai/openai_humaneval","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}