{"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":"8b4afc39-00ea-5d95-9377-f11bbc4fa023","task_key":"openai~5fhumaneval--test--8b4afc39-00ea-5d95-9377-f11bbc4fa023","task_revision_id":"1","upstream_id":"","short_description":"def valid_date(date):","config":"openai_humaneval","split":"test","body":"{\"entry_point\":\"valid_date\",\"prompt\":\"\\ndef valid_date(date):\\n    \\\"\\\"\\\"You have to write a function which validates a given date string and\\n    returns True if the date is valid otherwise False.\\n    The date is valid if all of the following rules are satisfied:\\n    1. The date string is not empty.\\n    2. The number of days is not less than 1 or higher than 31 days for months 1,3,5,7,8,10,12. And the number of days is not less than 1 or higher than 30 days for months 4,6,9,11. And, the number of days is not less than 1 or higher than 29 for the month 2.\\n    3. The months should not be less than 1 or higher than 12.\\n    4. The date should be in the format: mm-dd-yyyy\\n\\n    for example: \\n    valid_date('03-11-2000') => True\\n\\n    valid_date('15-01-2012') => False\\n\\n    valid_date('04-0-2040') => False\\n\\n    valid_date('06-04-2020') => True\\n\\n    valid_date('06/04/2020') => False\\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":[]}