{"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":"7a3ecd5a-b0a0-5fae-b750-5bfeffce9040","task_key":"default--v0~2e1~2e0~5fhf--7a3ecd5a-b0a0-5fae-b750-5bfeffce9040","task_revision_id":"1","upstream_id":"","short_description":"BigCodeBench v0.1.0_hf 7a3ecd5a-b0a0-5fae-b750-5bfeffce9040","config":"default","split":"v0.1.0_hf","body":"{\"code_prompt\":\"import pandas as pd\\nimport re\\n# Constants\\nSTOPWORDS = set([\\n    \\\"i\\\", \\\"me\\\", \\\"my\\\", \\\"myself\\\", \\\"we\\\", \\\"our\\\", \\\"ours\\\", \\\"ourselves\\\", \\\"you\\\", \\\"your\\\", \\\"yours\\\", \\\"yourself\\\",\\n    \\\"yourselves\\\", \\\"he\\\", \\\"him\\\", \\\"his\\\", \\\"himself\\\", \\\"she\\\", \\\"her\\\", \\\"hers\\\", \\\"herself\\\", \\\"it\\\", \\\"its\\\", \\\"itself\\\",\\n    \\\"they\\\", \\\"them\\\", \\\"their\\\", \\\"theirs\\\", \\\"themselves\\\", \\\"what\\\", \\\"which\\\", \\\"who\\\", \\\"whom\\\", \\\"this\\\", \\\"that\\\",\\n    \\\"these\\\", \\\"those\\\", \\\"am\\\", \\\"is\\\", \\\"are\\\", \\\"was\\\", \\\"were\\\", \\\"be\\\", \\\"been\\\", \\\"being\\\", \\\"have\\\", \\\"has\\\", \\\"had\\\",\\n    \\\"having\\\", \\\"do\\\", \\\"does\\\", \\\"did\\\", \\\"doing\\\", \\\"a\\\", \\\"an\\\", \\\"the\\\", \\\"and\\\", \\\"but\\\", \\\"if\\\", \\\"or\\\", \\\"because\\\",\\n    \\\"as\\\", \\\"until\\\", \\\"while\\\", \\\"of\\\", \\\"at\\\", \\\"by\\\", \\\"for\\\", \\\"with\\\", \\\"about\\\", \\\"against\\\", \\\"between\\\", \\\"into\\\",\\n    \\\"through\\\", \\\"during\\\", \\\"before\\\", \\\"after\\\", \\\"above\\\", \\\"below\\\", \\\"to\\\", \\\"from\\\", \\\"up\\\", \\\"down\\\", \\\"in\\\", \\\"out\\\",\\n    \\\"on\\\", \\\"off\\\", \\\"over\\\", \\\"under\\\", \\\"again\\\", \\\"further\\\", \\\"then\\\", \\\"once\\\", \\\"here\\\", \\\"there\\\", \\\"when\\\", \\\"where\\\",\\n    \\\"why\\\", \\\"how\\\", \\\"all\\\", \\\"any\\\", \\\"both\\\", \\\"each\\\", \\\"few\\\", \\\"more\\\", \\\"most\\\", \\\"other\\\", \\\"some\\\", \\\"such\\\", \\\"no\\\",\\n    \\\"nor\\\", \\\"not\\\", \\\"only\\\", \\\"own\\\", \\\"same\\\", \\\"so\\\", \\\"than\\\", \\\"too\\\", \\\"very\\\", \\\"s\\\", \\\"t\\\", \\\"can\\\", \\\"will\\\", \\\"just\\\",\\n    \\\"don\\\", \\\"should\\\", \\\"now\\\"\\n])\\ndef task_func(data, column):\\n\",\"complete_prompt\":\"import pandas as pd\\nimport re\\n\\n# Constants\\nSTOPWORDS = set([\\n    \\\"i\\\", \\\"me\\\", \\\"my\\\", \\\"myself\\\", \\\"we\\\", \\\"our\\\", \\\"ours\\\", \\\"ourselves\\\", \\\"you\\\", \\\"your\\\", \\\"yours\\\", \\\"yourself\\\",\\n    \\\"yourselves\\\", \\\"he\\\", \\\"him\\\", \\\"his\\\", \\\"himself\\\", \\\"she\\\", \\\"her\\\", \\\"hers\\\", \\\"herself\\\", \\\"it\\\", \\\"its\\\", \\\"itself\\\",\\n    \\\"they\\\", \\\"them\\\", \\\"their\\\", \\\"theirs\\\", \\\"themselves\\\", \\\"what\\\", \\\"which\\\", \\\"who\\\", \\\"whom\\\", \\\"this\\\", \\\"that\\\",\\n    \\\"these\\\", \\\"those\\\", \\\"am\\\", \\\"is\\\", \\\"are\\\", \\\"was\\\", \\\"were\\\", \\\"be\\\", \\\"been\\\", \\\"being\\\", \\\"have\\\", \\\"has\\\", \\\"had\\\",\\n    \\\"having\\\", \\\"do\\\", \\\"does\\\", \\\"did\\\", \\\"doing\\\", \\\"a\\\", \\\"an\\\", \\\"the\\\", \\\"and\\\", \\\"but\\\", \\\"if\\\", \\\"or\\\", \\\"because\\\",\\n    \\\"as\\\", \\\"until\\\", \\\"while\\\", \\\"of\\\", \\\"at\\\", \\\"by\\\", \\\"for\\\", \\\"with\\\", \\\"about\\\", \\\"against\\\", \\\"between\\\", \\\"into\\\",\\n    \\\"through\\\", \\\"during\\\", \\\"before\\\", \\\"after\\\", \\\"above\\\", \\\"below\\\", \\\"to\\\", \\\"from\\\", \\\"up\\\", \\\"down\\\", \\\"in\\\", \\\"out\\\",\\n    \\\"on\\\", \\\"off\\\", \\\"over\\\", \\\"under\\\", \\\"again\\\", \\\"further\\\", \\\"then\\\", \\\"once\\\", \\\"here\\\", \\\"there\\\", \\\"when\\\", \\\"where\\\",\\n    \\\"why\\\", \\\"how\\\", \\\"all\\\", \\\"any\\\", \\\"both\\\", \\\"each\\\", \\\"few\\\", \\\"more\\\", \\\"most\\\", \\\"other\\\", \\\"some\\\", \\\"such\\\", \\\"no\\\",\\n    \\\"nor\\\", \\\"not\\\", \\\"only\\\", \\\"own\\\", \\\"same\\\", \\\"so\\\", \\\"than\\\", \\\"too\\\", \\\"very\\\", \\\"s\\\", \\\"t\\\", \\\"can\\\", \\\"will\\\", \\\"just\\\",\\n    \\\"don\\\", \\\"should\\\", \\\"now\\\"\\n])\\n\\ndef task_func(data, column):\\n    \\\"\\\"\\\"\\n    Removes English stopwords from a text column in a DataFrame and returns the modified DataFrame.\\n    \\n    Parameters:\\n    df (pandas.DataFrame): The DataFrame containing the text column to be processed.\\n    column (str): The name of the text column from which stopwords should be removed.\\n    \\n    Returns:\\n    pandas.DataFrame: A DataFrame with the stopwords removed from the specified column.\\n    \\n    Requirements:\\n    - pandas\\n    - re\\n    \\n    Constants:\\n    - STOPWORDS: A set containing common English stopwords.\\n    \\n    Example:\\n    >>> data = {'text': ['This is a sample sentence.', 'Another example here.']}\\n    >>> print(task_func(data, 'text'))\\n                  text\\n    0  sample sentence\\n    1  Another example\\n    \\\"\\\"\\\"\\n\",\"entry_point\":\"task_func\",\"instruct_prompt\":\"Removes English stopwords from a text column in a DataFrame and returns the modified DataFrame. Constants: - STOPWORDS: A set containing common English stopwords.\\nThe function should output with:\\n    pandas.DataFrame: A DataFrame with the stopwords removed from the specified column.\\nYou should write self-contained code starting with:\\n```\\nimport pandas as pd\\nimport re\\n# Constants\\nSTOPWORDS = set([\\n    \\\"i\\\", \\\"me\\\", \\\"my\\\", \\\"myself\\\", \\\"we\\\", \\\"our\\\", \\\"ours\\\", \\\"ourselves\\\", \\\"you\\\", \\\"your\\\", \\\"yours\\\", \\\"yourself\\\",\\n    \\\"yourselves\\\", \\\"he\\\", \\\"him\\\", \\\"his\\\", \\\"himself\\\", \\\"she\\\", \\\"her\\\", \\\"hers\\\", \\\"herself\\\", \\\"it\\\", \\\"its\\\", \\\"itself\\\",\\n    \\\"they\\\", \\\"them\\\", \\\"their\\\", \\\"theirs\\\", \\\"themselves\\\", \\\"what\\\", \\\"which\\\", \\\"who\\\", \\\"whom\\\", \\\"this\\\", \\\"that\\\",\\n    \\\"these\\\", \\\"those\\\", \\\"am\\\", \\\"is\\\", \\\"are\\\", \\\"was\\\", \\\"were\\\", \\\"be\\\", \\\"been\\\", \\\"being\\\", \\\"have\\\", \\\"has\\\", \\\"had\\\",\\n    \\\"having\\\", \\\"do\\\", \\\"does\\\", \\\"did\\\", \\\"doing\\\", \\\"a\\\", \\\"an\\\", \\\"the\\\", \\\"and\\\", \\\"but\\\", \\\"if\\\", \\\"or\\\", \\\"because\\\",\\n    \\\"as\\\", \\\"until\\\", \\\"while\\\", \\\"of\\\", \\\"at\\\", \\\"by\\\", \\\"for\\\", \\\"with\\\", \\\"about\\\", \\\"against\\\", \\\"between\\\", \\\"into\\\",\\n    \\\"through\\\", \\\"during\\\", \\\"before\\\", \\\"after\\\", \\\"above\\\", \\\"below\\\", \\\"to\\\", \\\"from\\\", \\\"up\\\", \\\"down\\\", \\\"in\\\", \\\"out\\\",\\n    \\\"on\\\", \\\"off\\\", \\\"over\\\", \\\"under\\\", \\\"again\\\", \\\"further\\\", \\\"then\\\", \\\"once\\\", \\\"here\\\", \\\"there\\\", \\\"when\\\", \\\"where\\\",\\n    \\\"why\\\", \\\"how\\\", \\\"all\\\", \\\"any\\\", \\\"both\\\", \\\"each\\\", \\\"few\\\", \\\"more\\\", \\\"most\\\", \\\"other\\\", \\\"some\\\", \\\"such\\\", \\\"no\\\",\\n    \\\"nor\\\", \\\"not\\\", \\\"only\\\", \\\"own\\\", \\\"same\\\", \\\"so\\\", \\\"than\\\", \\\"too\\\", \\\"very\\\", \\\"s\\\", \\\"t\\\", \\\"can\\\", \\\"will\\\", \\\"just\\\",\\n    \\\"don\\\", \\\"should\\\", \\\"now\\\"\\n])\\ndef task_func(data, column):\\n```\",\"libs\":\"['pandas', 're']\"}","display_format":"code","language":"","answer_status":"published","assets":[],"source_url":"https://bigcode-bench.github.io/","history":"initial import","indexing_mode":"index","subproblems":[],"grids":[]}