{"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":"index","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[],"history":"","construction":"","limitations":"","saturation":"","scores":[]}},"task_id":"c4130e3c-0727-59e8-bace-8c6e5d773516","task_key":"default--v0~2e1~2e0~5fhf--c4130e3c-0727-59e8-bace-8c6e5d773516","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf c4130e3c-0727-59e8-bace-8c6e5d773516","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"from collections import defaultdict\\nfrom random import randint\\ndef task_func(dict1):\\n\",\"complete_prompt\":\"from collections import defaultdict\\nfrom random import randint\\n\\ndef task_func(dict1):\\n    \\\"\\\"\\\"\\n    Create a dictionary of employee data for departments starting with 'EMP$$'. \\n    The keys are department codes and the values are lists of the salaries of employees in that department.\\n    \\n    Parameters:\\n    dict1 (dict): A dictionary with department codes as keys and number of employees as values.\\n    \\n    Returns:\\n    dict: A dictionary with department codes starting with 'EMP$$' as keys and lists of employee salaries as values.\\n    \\n    Requirements:\\n    - collections\\n    - random\\n    \\n    Example:\\n    >>> import random\\n    >>> random.seed(0)\\n    >>> d = {'EMP$$1': 10, 'MAN$$1': 5, 'EMP$$2': 8, 'HR$$1': 7}\\n    >>> emp_data = task_func(d)\\n    >>> print(emp_data.keys())\\n    dict_keys(['EMP$$1', 'EMP$$2'])\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Create a dictionary of employee data for departments starting with 'EMP$$'. The keys are department codes and the values are lists of the salaries of employees in that department.\\nThe function should output with:\\n    dict: A dictionary with department codes starting with 'EMP$$' as keys and lists of employee salaries as values.\\nYou should write self-contained code starting with:\\n```\\nfrom collections import defaultdict\\nfrom random import randint\\ndef task_func(dict1):\\n```\",\"libs\":\"['collections', 'random']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}