{"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":"5f4c7c36-8744-5bc6-a533-c94e70ffca6c","task_key":"openai~5fhumaneval--test--5f4c7c36-8744-5bc6-a533-c94e70ffca6c","task_revision_id":"1","upstream_id":"","short_description":"def select_words(s, n):","config":"openai_humaneval","split":"test","body":"{\"entry_point\":\"select_words\",\"prompt\":\"\\ndef select_words(s, n):\\n    \\\"\\\"\\\"Given a string s and a natural number n, you have been tasked to implement \\n    a function that returns a list of all words from string s that contain exactly \\n    n consonants, in order these words appear in the string s.\\n    If the string s is empty then the function should return an empty list.\\n    Note: you may assume the input string contains only letters and spaces.\\n    Examples:\\n    select_words(\\\"Mary had a little lamb\\\", 4) ==> [\\\"little\\\"]\\n    select_words(\\\"Mary had a little lamb\\\", 3) ==> [\\\"Mary\\\", \\\"lamb\\\"]\\n    select_words(\\\"simple white space\\\", 2) ==> []\\n    select_words(\\\"Hello world\\\", 4) ==> [\\\"world\\\"]\\n    select_words(\\\"Uncle sam\\\", 3) ==> [\\\"Uncle\\\"]\\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":[]}