{"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":"9c6eb126-96d2-5567-abb1-8aa778ea4375","task_key":"default--v0~2e1~2e0~5fhf--9c6eb126-96d2-5567-abb1-8aa778ea4375","task_revision_id":"2","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 9c6eb126-96d2-5567-abb1-8aa778ea4375","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"from geopy.distance import geodesic\\nimport folium\\ndef task_func(dic):\\n\",\"complete_prompt\":\"from geopy.distance import geodesic\\nimport folium\\n\\ndef task_func(dic):\\n    \\\"\\\"\\\"\\n    Generates a Folium map with markers for specified locations and calculates the geodesic\\n    distances between each pair of locations.\\n\\n    Parameters:\\n        dic (dict): A dictionary with location names as keys and their latitudes and longitudes\\n                    as values (e.g., {'Location': {'Lat': latitude, 'Lon': longitude}}).\\n\\n    Returns:\\n        tuple: A tuple containing a Folium map object and a dictionary with pairs of location\\n               names as keys and their distances in kilometers as values.\\n\\n    Raises:\\n        ValueError: If the input dictionary is empty.\\n\\n    Requirements:\\n    - geopy.distance.geodesic\\n    - folium\\n\\n    Examples:\\n    >>> result = task_func({'Place1': {'Lat': 0, 'Lon': 0}, 'Place2': {'Lat': 0, 'Lon': 1}})\\n    >>> isinstance(result, tuple) and len(result) == 2\\n    True\\n    >>> isinstance(result[0], folium.folium.Map) and isinstance(result[1], dict)\\n    True\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Generates a Folium map with markers for specified locations and calculates the geodesic distances between each pair of locations.\\nThe function should raise the exception for: ValueError: If the input dictionary is empty.\\nThe function should output with:\\n    tuple: A tuple containing a Folium map object and a dictionary with pairs of location\\n    names as keys and their distances in kilometers as values.\\nYou should write self-contained code starting with:\\n```\\nfrom geopy.distance import geodesic\\nimport folium\\ndef task_func(dic):\\n```\",\"libs\":\"['geopy', 'folium']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"noindex","subproblems":[],"grids":[]}