{"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":"26c35822-94a0-5a87-bf6b-6a5e9a2d44cf","task_key":"default--v0~2e1~2e0~5fhf--26c35822-94a0-5a87-bf6b-6a5e9a2d44cf","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 26c35822-94a0-5a87-bf6b-6a5e9a2d44cf","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import re\\nimport urllib.parse\\nimport ssl\\nimport socket\\ndef task_func(myString):\\n\",\"complete_prompt\":\"import re\\nimport urllib.parse\\nimport ssl\\nimport socket\\n\\ndef task_func(myString):\\n    \\\"\\\"\\\"\\n    Extracts all URLs from a string and retrieves the domain and the expiration date of the SSL certificate \\n    for each HTTPS URL. Only HTTPS URLs are processed; HTTP URLs are ignored. The function handles SSL errors \\n    by ignoring any HTTPS URLs where the SSL certificate cannot be retrieved due to such errors, and these domains \\n    are not included in the returned dictionary.\\n\\n    Parameters:\\n    myString (str): The string from which to extract URLs.\\n    \\n    Returns:\\n    dict: A dictionary with domains as keys and SSL certificate expiry dates in UTC format as values. \\n          The dictionary includes only those HTTPS URLs for which the SSL certificate was successfully retrieved.\\n          Domains with SSL errors are excluded.\\n\\n    Requirements:\\n    - re\\n    - urllib.parse\\n    - ssl\\n    - socket\\n    \\n    Example:\\n    >>> task_func(\\\"Check these links: https://www.google.com, https://www.python.org\\\")\\n    {'www.google.com': '2023-06-15 12:00:00', 'www.python.org': '2023-07-20 12:00:00'}\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Extracts all URLs from a string and retrieves the domain and the expiration date of the SSL certificate for each HTTPS URL. Only HTTPS URLs are processed; HTTP URLs are ignored. The function handles SSL errors by ignoring any HTTPS URLs where the SSL certificate cannot be retrieved due to such errors, and these domains are not included in the returned dictionary.\\nThe function should output with:\\n    dict: A dictionary with domains as keys and SSL certificate expiry dates in UTC format as values.\\n    The dictionary includes only those HTTPS URLs for which the SSL certificate was successfully retrieved.\\n    Domains with SSL errors are excluded.\\nYou should write self-contained code starting with:\\n```\\nimport re\\nimport urllib.parse\\nimport ssl\\nimport socket\\ndef task_func(myString):\\n```\",\"libs\":\"['urllib', 're', 'socket', 'ssl']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}