{"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":"a9c6866d-0c46-528c-9409-7fc759be460e","task_key":"default--v0~2e1~2e0~5fhf--a9c6866d-0c46-528c-9409-7fc759be460e","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf a9c6866d-0c46-528c-9409-7fc759be460e","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"from datetime import datetime, timedelta\\nimport pytz\\nimport calendar\\ndef task_func(days_in_past=7):\\n\",\"complete_prompt\":\"from datetime import datetime, timedelta\\nimport pytz\\nimport calendar\\n\\n\\ndef task_func(days_in_past=7):\\n    \\\"\\\"\\\"\\n    Get the weekday of the date 'days_in_past' days ago from today.\\n\\n    This function computes the date that is 'days_in_past' number of days ago from the current\\n    system time's date in UTC. It then determines the weekday of this target date using calendar\\n    and returns its name as a string.\\n\\n    Parameters:\\n    days_in_past (int): The number of days to go back from the current date to find the weekday.\\n                        Defaults to 7 (one week ago). Must be a non-negative integer.\\n\\n    Returns:\\n    weekday (str)     : The name of the weekday (e.g., 'Monday', 'Tuesday') for the computed date.\\n\\n    Raises:\\n    ValueError: If 'days_in_past' is negative.\\n    \\n    Requirements:\\n    - datetime.datetime\\n    - datetime.timedelta\\n    - pytz\\n    - calendar\\n\\n    Example:\\n    >>> task_func()\\n    'Monday'\\n    >>> task_func(3)\\n    'Friday'\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Get the weekday of the date 'days_in_past' days ago from today. This function computes the date that is 'days_in_past' number of days ago from the current system time's date in UTC. It then determines the weekday of this target date using calendar and returns its name as a string.\\nThe function should raise the exception for: ValueError: If 'days_in_past' is negative.\\nThe function should output with:\\n    weekday (str)     : The name of the weekday (e.g., 'Monday', 'Tuesday') for the computed date.\\nYou should write self-contained code starting with:\\n```\\nfrom datetime import datetime, timedelta\\nimport pytz\\nimport calendar\\ndef task_func(days_in_past=7):\\n```\",\"libs\":\"['pytz', 'datetime', 'calendar']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}