{"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":"f79d5048-ebd6-548f-aa36-dff8407de7e8","task_key":"default--v0~2e1~2e0~5fhf--f79d5048-ebd6-548f-aa36-dff8407de7e8","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf f79d5048-ebd6-548f-aa36-dff8407de7e8","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import sys\\nfrom configparser import ConfigParser\\n# Constants\\nPATH_TO_APPEND = '/path/to/whatever'\\nCONFIG_FILE = '/path/to/config.ini'\\ndef task_func(path_to_append=PATH_TO_APPEND, config_file=CONFIG_FILE):\\n\",\"complete_prompt\":\"import sys\\nfrom configparser import ConfigParser\\n\\n# Constants\\nPATH_TO_APPEND = '/path/to/whatever'\\nCONFIG_FILE = '/path/to/config.ini'\\n\\ndef task_func(path_to_append=PATH_TO_APPEND, config_file=CONFIG_FILE):\\n    \\\"\\\"\\\"\\n    Add a specific path to sys.path and update a configuration file with this path.\\n\\n    Parameters:\\n    - path_to_append (str): The path to append to sys.path. Default is '/path/to/whatever'.\\n    - config_file (str): The path to the config file to update. Default is '/path/to/config.ini'.\\n\\n    Returns:\\n    - config (object): The object contains the updated configuration.\\n    - config_file (str): The path to the configuration file that was just modified.\\n\\n    Requirements:\\n    - sys\\n    - configparser.ConfigParser\\n\\n    Example:\\n    >>> config = task_func('/path/to/new_directory', '/path/to/new_config.ini')\\n    >>> 'path_to_append' in config['DEFAULT']\\n    True\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Add a specific path to sys.path and update a configuration file with this path.\\nThe function should output with:\\n    config (object): The object contains the updated configuration.\\n    config_file (str): The path to the configuration file that was just modified.\\nYou should write self-contained code starting with:\\n```\\nimport sys\\nfrom configparser import ConfigParser\\n# Constants\\nPATH_TO_APPEND = '/path/to/whatever'\\nCONFIG_FILE = '/path/to/config.ini'\\ndef task_func(path_to_append=PATH_TO_APPEND, config_file=CONFIG_FILE):\\n```\",\"libs\":\"['configparser', 'sys']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}