{"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":"071c0e46-0174-55d7-8d4e-d9e2cd41a7db","task_key":"default--v0~2e1~2e0~5fhf--071c0e46-0174-55d7-8d4e-d9e2cd41a7db","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 071c0e46-0174-55d7-8d4e-d9e2cd41a7db","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import math\\nfrom sympy import isprime\\ndef task_func(input_list):\\n\",\"complete_prompt\":\"import math\\nfrom sympy import isprime\\n\\n\\ndef task_func(input_list):\\n    \\\"\\\"\\\"\\n    Filter the prime numbers from the specified list, sort the prime numbers \\n    ascending based on their radian value converted to degrees, and return the sorted list.\\n    \\n    The function uses the isprime function from the sympy library to determine prime numbers \\n    and the degrees function from the math library to sort the numbers based on their degree value.\\n\\n    Parameters:\\n    input_list (list[int]): A list of integers to be filtered and sorted.\\n\\n    Returns:\\n    list[int]: A sorted list of prime numbers based on their degree value.\\n\\n    Requirements:\\n    - math\\n    - sympy\\n\\n    Examples:\\n    >>> task_func([4, 5, 2, 7, 89, 90])\\n    [2, 5, 7, 89]\\n    \\n    >>> task_func([101, 102, 103, 104])\\n    [101, 103]\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Filter the prime numbers from the specified list, sort the prime numbers ascending based on their radian value converted to degrees, and return the sorted list. The function uses the isprime function from the sympy library to determine prime numbers and the degrees function from the math library to sort the numbers based on their degree value. >>> task_func([101, 102, 103, 104]) [101, 103]\\nThe function should output with:\\n    list[int]: A sorted list of prime numbers based on their degree value.\\nYou should write self-contained code starting with:\\n```\\nimport math\\nfrom sympy import isprime\\ndef task_func(input_list):\\n```\",\"libs\":\"['math', 'sympy']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}