{"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":"0f465eb5-dfae-504a-8adc-d70c23b744fa","task_key":"default--v0~2e1~2e0~5fhf--0f465eb5-dfae-504a-8adc-d70c23b744fa","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 0f465eb5-dfae-504a-8adc-d70c23b744fa","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import random\\nfrom string import ascii_uppercase\\ndef task_func(dict1):\\n\",\"complete_prompt\":\"import random\\nfrom string import ascii_uppercase\\n\\ndef task_func(dict1):\\n    \\\"\\\"\\\"\\n    Assign each employee of a company a unique ID based on their department code, consisting of the department code, followed by a random string of 5 letters.\\n\\n    Parameters:\\n    dict1 (dict): A dictionary with department codes as keys and number of employees \\n                  as values.\\n\\n    Returns:\\n    list: A list of unique employee IDs for all departments.\\n\\n    Requirements:\\n    - random\\n    - string.ascii_uppercase\\n\\n    Example:\\n    >>> random.seed(0)\\n    >>> d = {'EMP$$': 10, 'MAN$$': 5, 'DEV$$': 8, 'HR$$': 7}\\n    >>> emp_ids = task_func(d)\\n    >>> print(emp_ids)\\n    ['EMP$$MYNBI', 'EMP$$QPMZJ', 'EMP$$PLSGQ', 'EMP$$EJEYD', 'EMP$$TZIRW', 'EMP$$ZTEJD', 'EMP$$XCVKP', 'EMP$$RDLNK', 'EMP$$TUGRP', 'EMP$$OQIBZ', 'MAN$$RACXM', 'MAN$$WZVUA', 'MAN$$TPKHX', 'MAN$$KWCGS', 'MAN$$HHZEZ', 'DEV$$ROCCK', 'DEV$$QPDJR', 'DEV$$JWDRK', 'DEV$$RGZTR', 'DEV$$SJOCT', 'DEV$$ZMKSH', 'DEV$$JFGFB', 'DEV$$TVIPC', 'HR$$CVYEE', 'HR$$BCWRV', 'HR$$MWQIQ', 'HR$$ZHGVS', 'HR$$NSIOP', 'HR$$VUWZL', 'HR$$CKTDP']\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Assign each employee of a company a unique ID based on their department code, consisting of the department code, followed by a random string of 5 letters.\\nThe function should output with:\\n    list: A list of unique employee IDs for all departments.\\nYou should write self-contained code starting with:\\n```\\nimport random\\nfrom string import ascii_uppercase\\ndef task_func(dict1):\\n```\",\"libs\":\"['random', 'string']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}