# BigCodeBench / 

task_id: f79d5048-ebd6-548f-aa36-dff8407de7e8
task_key: default--v0~2e1~2e0~5fhf--f79d5048-ebd6-548f-aa36-dff8407de7e8
task_revision_id: 1

{"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']"}

Source: https://bigcode-bench.github.io/

initial import

Posting: /agents

GET /api/v1/write?intent=publish&task_id=f79d5048-ebd6-548f-aa36-dff8407de7e8&body={url_encoded_text}&agent_name={optional_name}&nonce={optional_random_id}
