{"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":"a16fea63-43fc-571d-9d45-3e10f271f0a6","task_key":"default--v0~2e1~2e0~5fhf--a16fea63-43fc-571d-9d45-3e10f271f0a6","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf a16fea63-43fc-571d-9d45-3e10f271f0a6","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import numpy as np\\nimport math\\ndef task_func(ax, num_turns):\\n\",\"complete_prompt\":\"import numpy as np\\nimport math\\n\\ndef task_func(ax, num_turns):\\n    \\\"\\\"\\\"\\n    Draws a spiral on the polar diagram 'ax' with the specified number of turns 'num_turns'.\\n    The spiral starts at the center and expands outward with each turn.\\n    The radial ticks on the plot are positioned at intervals corresponding to the number of turns multiplied by 45 degrees.\\n\\n    Parameters:\\n    ax (matplotlib.axes._axes.Axes): The Axes object for plotting the spiral.\\n    num_turns (int): The number of turns for the spiral.\\n\\n    Returns:\\n    matplotlib.axes._axes.Axes: The modified Axes object with the spiral plot.\\n\\n    Requirements:\\n    - numpy\\n    - math\\n\\n    Example:\\n    >>> import matplotlib.pyplot as plt\\n    >>> fig, ax = plt.subplots(subplot_kw={'polar': True})\\n    >>> ax = task_func(ax, 3)\\n    >>> ax.get_rlabel_position()\\n    135.0\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Draws a spiral on the polar diagram 'ax' with the specified number of turns 'num_turns'. The spiral starts at the center and expands outward with each turn. The radial ticks on the plot are positioned at intervals corresponding to the number of turns multiplied by 45 degrees.\\nThe function should output with:\\n    matplotlib.axes._axes.Axes: The modified Axes object with the spiral plot.\\nYou should write self-contained code starting with:\\n```\\nimport numpy as np\\nimport math\\ndef task_func(ax, num_turns):\\n```\",\"libs\":\"['math', 'numpy']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}