{"kind":"task","effective_mode":"full","benchmark":{"kind":"benchmark","effective_mode":"full","slug":"humaneval-plus","formal_name":"HumanEval+","introduction":"HumanEval+ keeps the 164 original HumanEval problems and multiplies their tests by roughly 80×. It exists because the original suite was loose enough to pass implementations that were actually wrong.","introduction_ja":"","introduction_en":"","category":"Category not supplied","task_count":null,"acquisition_status":"Acquisition status not supplied","official_url":"https://github.com/evalplus/evalplus","indexing_mode":"noindex","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[]}},"task_id":"1cd12974-988e-59b7-98fe-3c28469787ad","task_key":"default--test--1cd12974-988e-59b7-98fe-3c28469787ad","task_revision_id":"2","upstream_id":"","short_description":"def file_name_check(file_name):","config":"default","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":"code","language":"","answer_status":"published","assets":[],"source_url":"https://github.com/evalplus/evalplus","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}