{"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":"d2975ce6-3d68-57d0-b9fe-ffdbe028b60e","task_key":"default--v0~2e1~2e0~5fhf--d2975ce6-3d68-57d0-b9fe-ffdbe028b60e","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf d2975ce6-3d68-57d0-b9fe-ffdbe028b60e","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"from functools import reduce\\nimport operator\\nimport string\\ndef task_func(letters):\\n\",\"complete_prompt\":\"from functools import reduce\\nimport operator\\nimport string\\n\\ndef task_func(letters):\\n    \\\"\\\"\\\"\\n    Calculate the product of the corresponding numbers for a list of uppercase letters, \\n    where \\\\\\\"A\\\\\\\" corresponds to 1, \\\\\\\"B\\\\\\\" to 2, etc.\\n    \\n    Parameters:\\n    letters (list of str): A list of uppercase letters.\\n    \\n    Returns:\\n    int: The product of the numbers corresponding to the input letters.\\n    \\n    Requirements:\\n    - functools.reduce\\n    - operator\\n    - string\\n    \\n    Examples:\\n    >>> task_func([\\\\\\\"A\\\\\\\", \\\\\\\"B\\\\\\\", \\\\\\\"C\\\\\\\"])\\n    6\\n    \\n    >>> task_func([\\\\\\\"A\\\\\\\", \\\\\\\"E\\\\\\\", \\\\\\\"I\\\\\\\"])\\n    45\\n    \\n    Note:\\n    The function uses a predefined dictionary to map each uppercase letter to its corresponding number.\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Calculate the product of the corresponding numbers for a list of uppercase letters, where \\\\\\\"A\\\\\\\" corresponds to 1, \\\\\\\"B\\\\\\\" to 2, etc. >>> task_func([\\\\\\\"A\\\\\\\", \\\\\\\"E\\\\\\\", \\\\\\\"I\\\\\\\"]) 45\\nNote that: The function uses a predefined dictionary to map each uppercase letter to its corresponding number.\\nThe function should output with:\\n    int: The product of the numbers corresponding to the input letters.\\nYou should write self-contained code starting with:\\n```\\nfrom functools import reduce\\nimport operator\\nimport string\\ndef task_func(letters):\\n```\",\"libs\":\"['operator', 'string', 'functools']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}