{"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":"noindex","profile":{"resources":[],"task_format":"","scoring":"","metric":"","size":"","answer_access":"","license":"","citation":"","maintainer":"","released":"","why_hard":"","related":[]}},"task_id":"cbcf512c-148f-57b5-9b5a-a25a2831b421","task_key":"default--v0~2e1~2e0~5fhf--cbcf512c-148f-57b5-9b5a-a25a2831b421","task_revision_id":"2","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf cbcf512c-148f-57b5-9b5a-a25a2831b421","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import csv\\nfrom ipaddress import IPv4Network\\ndef task_func(ip_range, csv_path):\\n\",\"complete_prompt\":\"import csv\\nfrom ipaddress import IPv4Network\\n\\ndef task_func(ip_range, csv_path):\\n    \\\"\\\"\\\"\\n    Generates a CSV file listing all IP addresses in the specified IP range.\\n    Each IP address is written as a row in the CSV file.\\n\\n    Requirements:\\n    - csv\\n    - ipaddress.IPv4Network\\n\\n    Parameters:\\n        ip_range (str): The IP range in CIDR notation (e.g., \\\"192.168.0.0/16\\\").\\n        csv_path (str): The path where the CSV file will be saved.\\n\\n    Returns:\\n        str: The path to the generated CSV file.\\n\\n    Examples:\\n    >>> csv_path = task_func('192.168.0.0/16', 'file.csv')\\n    >>> isinstance(csv_path, str)\\n    True\\n    >>> csv_path.endswith('.csv')\\n    True\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Generates a CSV file listing all IP addresses in the specified IP range. Each IP address is written as a row in the CSV file.\\nThe function should output with:\\n    str: The path to the generated CSV file.\\nYou should write self-contained code starting with:\\n```\\nimport csv\\nfrom ipaddress import IPv4Network\\ndef task_func(ip_range, csv_path):\\n```\",\"libs\":\"['csv', 'ipaddress']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}