{"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":"d7457eae-fecb-5bc2-8b2f-cbd4b7335c21","task_key":"default--test--d7457eae-fecb-5bc2-8b2f-cbd4b7335c21","task_revision_id":"2","upstream_id":"","short_description":"def encode_cyclic(s: str):","config":"default","split":"test","body":"{\"entry_point\":\"decode_cyclic\",\"prompt\":\"\\n\\ndef encode_cyclic(s: str):\\n    \\\"\\\"\\\"\\n    returns encoded string by cycling groups of three characters.\\n    \\\"\\\"\\\"\\n    # split string to groups. Each of length 3.\\n    groups = [s[(3 * i):min((3 * i + 3), len(s))] for i in range((len(s) + 2) // 3)]\\n    # cycle elements in each group. Unless group has fewer elements than 3.\\n    groups = [(group[1:] + group[0]) if len(group) == 3 else group for group in groups]\\n    return \\\"\\\".join(groups)\\n\\n\\ndef decode_cyclic(s: str):\\n    \\\"\\\"\\\"\\n    takes as input string encoded with encode_cyclic function. Returns decoded string.\\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":[]}