{"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":"e54a4410-7050-5d93-a962-f57915279e50","task_key":"default--v0~2e1~2e0~5fhf--e54a4410-7050-5d93-a962-f57915279e50","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf e54a4410-7050-5d93-a962-f57915279e50","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import numpy as np\\nfrom itertools import product\\nimport string\\ndef task_func(length, seed=None, alphabets=list(string.ascii_lowercase)):\\n\",\"complete_prompt\":\"import numpy as np\\nfrom itertools import product\\nimport string\\n\\n\\ndef task_func(length, seed=None, alphabets=list(string.ascii_lowercase)):\\n    \\\"\\\"\\\"\\n    Generate a list of 10 randomly picked strings from all possible strings of a given\\n    length from the provided series of characters, using a specific seed for\\n    reproducibility.\\n\\n    Parameters:\\n    length (int): The length of the strings to generate.\\n    seed (int): The seed for the random number generator. Default is None.\\n    alphabets (list, optional): The series of characters to generate the strings from. \\n                Default is lowercase English alphabets.\\n\\n    Returns:\\n    list: A list of generated strings.\\n\\n    Requirements:\\n    - numpy\\n    - itertools.product\\n    - string\\n\\n    Example:\\n    >>> task_func(2, 123)\\n    ['tq', 'ob', 'os', 'mk', 'du', 'ar', 'wx', 'ec', 'et', 'vx']\\n\\n    >>> task_func(2, 123, alphabets=['x', 'y', 'z'])\\n    ['xz', 'xz', 'zx', 'xy', 'yx', 'zx', 'xy', 'xx', 'xy', 'xx']\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Generate a list of 10 randomly picked strings from all possible strings of a given length from the provided series of characters, using a specific seed for reproducibility. >>> task_func(2, 123, alphabets=['x', 'y', 'z']) ['xz', 'xz', 'zx', 'xy', 'yx', 'zx', 'xy', 'xx', 'xy', 'xx']\\nThe function should output with:\\n    list: A list of generated strings.\\nYou should write self-contained code starting with:\\n```\\nimport numpy as np\\nfrom itertools import product\\nimport string\\ndef task_func(length, seed=None, alphabets=list(string.ascii_lowercase)):\\n```\",\"libs\":\"['numpy', 'itertools', 'string']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}