{"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":"625072ff-23a6-5149-9179-f732f75d0ecf","task_key":"default--v0~2e1~2e0~5fhf--625072ff-23a6-5149-9179-f732f75d0ecf","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 625072ff-23a6-5149-9179-f732f75d0ecf","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"from datetime import datetime, timedelta\\nimport pytz\\nimport numpy as np\\nimport matplotlib.pyplot as plt\\ndef task_func(start_time, end_time):\\n\",\"complete_prompt\":\"from datetime import datetime, timedelta\\nimport pytz\\nimport numpy as np\\nimport matplotlib.pyplot as plt\\n\\n\\ndef task_func(start_time, end_time):\\n    \\\"\\\"\\\"\\n    Plots the hourly difference between UTC and specified global time zones across a date range.\\n\\n    This function visualizes the time difference in hours between UTC and predefined time zones for each day\\n    within the specified date range. Predefined time zones include UTC, America/Los_Angeles, Europe/Paris,\\n    Asia/Kolkata, and Australia/Sydney. The differences are plotted on a graph, using a distinct color for\\n    each time zone's time difference curve, selecting from [\\\"b\\\", \\\"g\\\", \\\"r\\\", \\\"c\\\", \\\"m\\\", \\\"y\\\", \\\"k\\\"].\\n\\n    Parameters:\\n    - start_time (str): The start date in the format \\\"yyyy-mm-dd\\\".\\n    - end_time (str): The end date in the format \\\"yyyy-mm-dd\\\".\\n\\n    Returns:\\n    - matplotlib.axes.Axes: The Axes object with the plotted time differences in hours between UTC and \\n                            other time zones.\\n\\n    Requirements:\\n    - datetime.datetime\\n    - datetime.timedelta\\n    - pytz\\n    - numpy\\n    - matplotlib.pyplot\\n\\n    Example:\\n    >>> ax = task_func('2021-01-01', '2021-01-10')\\n    >>> type(ax)\\n    <class 'matplotlib.axes._axes.Axes'>\\n    >>> ax.get_xticklabels()\\n    [Text(18628.0, 0, '2021-01-01'), Text(18629.0, 0, '2021-01-02'), Text(18630.0, 0, '2021-01-03'), Text(18631.0, 0, '2021-01-04'), Text(18632.0, 0, '2021-01-05'), Text(18633.0, 0, '2021-01-06'), Text(18634.0, 0, '2021-01-07'), Text(18635.0, 0, '2021-01-08'), Text(18636.0, 0, '2021-01-09')]\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Plots the hourly difference between UTC and specified global time zones across a date range. This function visualizes the time difference in hours between UTC and predefined time zones for each day within the specified date range. Predefined time zones include UTC, America/Los_Angeles, Europe/Paris, Asia/Kolkata, and Australia/Sydney. The differences are plotted on a graph, using a distinct color for each time zone's time difference curve, selecting from [\\\"b\\\", \\\"g\\\", \\\"r\\\", \\\"c\\\", \\\"m\\\", \\\"y\\\", \\\"k\\\"].\\nThe function should output with:\\n    matplotlib.axes.Axes: The Axes object with the plotted time differences in hours between UTC and\\n    other time zones.\\nYou should write self-contained code starting with:\\n```\\nfrom datetime import datetime, timedelta\\nimport pytz\\nimport numpy as np\\nimport matplotlib.pyplot as plt\\ndef task_func(start_time, end_time):\\n```\",\"libs\":\"['pytz', 'datetime', 'numpy', 'matplotlib']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}