{"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":"462082dd-515c-5f08-bc0f-28f1c27f857b","task_key":"default--v0~2e1~2e0~5fhf--462082dd-515c-5f08-bc0f-28f1c27f857b","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 462082dd-515c-5f08-bc0f-28f1c27f857b","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import pandas as pd\\nimport statistics\\nimport random\\ndef task_func(students, subjects, seed=None):\\n\",\"complete_prompt\":\"import pandas as pd\\nimport statistics\\nimport random\\n\\ndef task_func(students, subjects, seed=None):\\n    \\\"\\\"\\\"\\n    Create a grade report for a list of students across various subjects. Each student's grades are randomly generated, \\n    and the report includes the average grade for each student. The randomness is seeded for reproducibility if a seed is provided.\\n\\n    Parameters:\\n    students (list of str): The students for whom the report is being generated.\\n    subjects (list of str): The subjects included in the report.\\n    seed (int, optional): A seed for the random number generator to ensure reproducibility. If None, the randomness is seeded by the system.\\n\\n    Returns:\\n    DataFrame: A pandas DataFrame containing each student's grades across the subjects and their average grade. \\n               Columns are ['Student', 'Subject1', 'Subject2', ..., 'Average Grade'].\\n\\n    Requirements:\\n    - pandas\\n    - statistics\\n    - random\\n\\n    Example:\\n    >>> students = ['Alice', 'Bob', 'Charlie']\\n    >>> subjects = ['Math', 'Physics', 'English']\\n    >>> report = task_func(students, subjects, seed=123)\\n    >>> print(report)\\n       Student  Math  Physics  English  Average Grade\\n    0    Alice     6       34       11      17.000000\\n    1      Bob    98       52       34      61.333333\\n    2  Charlie    13        4       48      21.666667\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Create a grade report for a list of students across various subjects. Each student's grades are randomly generated, and the report includes the average grade for each student. The randomness is seeded for reproducibility if a seed is provided.\\nThe function should output with:\\n    DataFrame: A pandas DataFrame containing each student's grades across the subjects and their average grade.\\n    Columns are ['Student', 'Subject1', 'Subject2', ..., 'Average Grade'].\\nYou should write self-contained code starting with:\\n```\\nimport pandas as pd\\nimport statistics\\nimport random\\ndef task_func(students, subjects, seed=None):\\n```\",\"libs\":\"['statistics', 'pandas', 'random']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}