{"kind":"task","effective_mode":"full","benchmark":{"kind":"benchmark","effective_mode":"full","slug":"bigcodebench","formal_name":"BigCodeBench","introduction":"BigCodeBench poses 1,140 function-level tasks drawn across 139 libraries. It tests whether a model can compose several real APIs correctly rather than write one self-contained function.","introduction_ja":"","introduction_en":"","category":"Category not supplied","task_count":null,"acquisition_status":"Acquisition status not supplied","official_url":"https://bigcode-bench.github.io/","indexing_mode":"noindex","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[]}},"task_id":"c18e1e08-ebde-5d6b-8565-57d887b9383f","task_key":"default--v0~2e1~2e0~5fhf--c18e1e08-ebde-5d6b-8565-57d887b9383f","task_revision_id":"2","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf c18e1e08-ebde-5d6b-8565-57d887b9383f","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import random\\nimport numpy as np\\ndef task_func(LETTERS):\\n\",\"complete_prompt\":\"import random\\nimport numpy as np\\n\\ndef task_func(LETTERS):\\n    \\\"\\\"\\\"\\n    Create a dictionary where keys are specified letters and values are lists of random integers.\\n    Then calculate the mean of these integers for each key and return a dictionary of these means.\\n\\n    Parameters:\\n        LETTERS (list of str): List of single-character strings to be used as keys in the output dictionary.\\n    \\n    Returns:\\n        dict: A dictionary where each key is a letter from the input list and the value is the mean of \\n              a randomly generated list of integers (with each list having 1 to 10 integers ranging from 0 to 100).\\n    \\n    Requirements:\\n    - random\\n    - np (numpy)\\n    \\n    Example:\\n    >>> LETTERS = ['a', 'b', 'c']\\n    >>> mean_dict = task_func(LETTERS)\\n    >>> isinstance(mean_dict, dict)\\n    True\\n    >>> 'a' in mean_dict.keys() and 'b' in mean_dict.keys() and 'c' in mean_dict.keys()\\n    True\\n    >>> all(isinstance(v, float) for v in mean_dict.values())  # Check if all values are floats\\n    True\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Create a dictionary where keys are specified letters and values are lists of random integers. Then calculate the mean of these integers for each key and return a dictionary of these means.\\nThe function should output with:\\n    dict: A dictionary where each key is a letter from the input list and the value is the mean of\\n    a randomly generated list of integers (with each list having 1 to 10 integers ranging from 0 to 100).\\nYou should write self-contained code starting with:\\n```\\nimport random\\nimport numpy as np\\ndef task_func(LETTERS):\\n```\",\"libs\":\"['numpy', 'random']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}