lines listlengths 1 444 | raw_lines listlengths 1 444 | label listlengths 1 444 | type listlengths 1 444 |
|---|---|---|---|
[
"def FUNC_2(VAR_1):...\n",
"VAR_3 = []\n",
"for VAR_4 in VAR_1:\n",
"VAR_9 = mock.MagicMock(VAR_8='AndroidDevice', VAR_4=serial, h_port=None)\n",
"return VAR_3\n",
"VAR_3.append(VAR_9)\n"
] | [
"def get_instances(serials):...\n",
"ads = []\n",
"for serial in serials:\n",
"ad = mock.MagicMock(name='AndroidDevice', serial=serial, h_port=None)\n",
"return ads\n",
"ads.append(ad)\n"
] | [
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"For",
"Assign'",
"Return'",
"Expr'"
] |
[
"def FUNC_43(self, VAR_9, VAR_25):...\n",
"return cast_fieldtype(VAR_25.fieldtype, VAR_9)\n"
] | [
"def cast(self, value, df):...\n",
"return cast_fieldtype(df.fieldtype, value)\n"
] | [
0,
0
] | [
"FunctionDef'",
"Return'"
] |
[
"import sqlite3\n",
"from collections import OrderedDict as odict\n",
"import db_handler\n",
"import record_fetcher\n",
"def FUNC_0():...\n",
"VAR_6 = odict({'id': 1, 'url':\n 'https://www.mozilla.org/en-US/firefox/central/', 'title': None,\n 'rev_host': 'gro.allizom.www.', 'visit_count': 0, 'hidden... | [
"import sqlite3\n",
"from collections import OrderedDict as odict\n",
"import db_handler\n",
"import record_fetcher\n",
"def create_test_data():...\n",
"test_record = odict({'id': 1, 'url':\n 'https://www.mozilla.org/en-US/firefox/central/', 'title': None,\n 'rev_host': 'gro.allizom.www.', 'visit_co... | [
0,
0,
0,
0,
0,
0,
0
] | [
"Import'",
"ImportFrom'",
"Import'",
"Import'",
"FunctionDef'",
"Assign'",
"Return'"
] |
[
"def FUNC_3(self):...\n",
"VAR_12 = int(time()) - VAR_5\n",
"VAR_9 = 'DELETE FROM {} WHERE timestamp >= {}'.format(VAR_1, str(VAR_12))\n",
"self.connection.execute(VAR_9)\n",
"self.connection.commit()\n"
] | [
"def delete_old(self):...\n",
"last = int(time()) - one_year\n",
"stmt = 'DELETE FROM {} WHERE timestamp >= {}'.format(tb_name, str(last))\n",
"self.connection.execute(stmt)\n",
"self.connection.commit()\n"
] | [
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Assign'",
"Expr'",
"Expr'"
] |
[
"def FUNC_15(self, **VAR_23):...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_25, VAR_23 = self._prepare_env(VAR_23)\n",
"return subprocess.Popen(self.cmd, VAR_25=env, **kwargs)\n"
] | [
"def run(self, **kwargs):...\n",
"\"\"\"docstring\"\"\"\n",
"env, kwargs = self._prepare_env(kwargs)\n",
"return subprocess.Popen(self.cmd, env=env, **kwargs)\n"
] | [
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Assign'",
"Return'"
] |
[
"def FUNC_1(self):...\n",
"VAR_6 = [self.project_id, self.user_id, self.money, self.time]\n",
"VAR_6 = [repr(x) for x in VAR_6]\n",
"VAR_7 = ['project_id', 'user_id', 'money', 'timestamp']\n",
"return dict(zip(VAR_7, VAR_6))\n"
] | [
"def to_database_query(self):...\n",
"data = [self.project_id, self.user_id, self.money, self.time]\n",
"data = [repr(x) for x in data]\n",
"labels = ['project_id', 'user_id', 'money', 'timestamp']\n",
"return dict(zip(labels, data))\n"
] | [
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Assign'",
"Assign'",
"Return'"
] |
[
"def FUNC_10(self):...\n",
"from invenio.modules.oauthclient.models import RemoteAccount\n",
"RemoteAccount.create(1, 'testid', None)\n",
"self.assert401(self.client.get(url_for('oauthclient_settings.index'),\n follow_redirects=True))\n",
"self.login('admin', '')\n",
"VAR_10 = self.client.get(url_for('... | [
"def test_settings_view(self):...\n",
"from invenio.modules.oauthclient.models import RemoteAccount\n",
"RemoteAccount.create(1, 'testid', None)\n",
"self.assert401(self.client.get(url_for('oauthclient_settings.index'),\n follow_redirects=True))\n",
"self.login('admin', '')\n",
"res = self.client.get(u... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"ImportFrom'",
"Expr'",
"Expr'",
"Expr'",
"Assign'",
"Expr'",
"Assert'",
"Assert'",
"Assert'",
"Assert'"
] |
[
"def FUNC_0(VAR_0):...\n",
"\"\"\"docstring\"\"\"\n",
"if VAR_0.suspected_flake_build_number is None:\n",
"return {}\n",
"VAR_2 = VAR_0.GetDataPointOfSuspectedBuild()\n",
"assert VAR_2\n",
"return {'confidence': VAR_0.confidence_in_suspected_build, 'build_number':\n VAR_0.suspected_flake_build_number... | [
"def _GetSuspectedFlakeInfo(analysis):...\n",
"\"\"\"docstring\"\"\"\n",
"if analysis.suspected_flake_build_number is None:\n",
"return {}\n",
"data_point = analysis.GetDataPointOfSuspectedBuild()\n",
"assert data_point\n",
"return {'confidence': analysis.confidence_in_suspected_build,\n 'build_numbe... | [
0,
0,
5,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Condition",
"Return'",
"Assign'",
"Assert'",
"Return'"
] |
[
"from __future__ import print_function\n",
"import time\n",
"import hashlib\n",
"import mimetypes\n",
"import jinja2\n",
"from .__init__ import *\n",
"from .util import *\n",
"if not PY2:\n",
"VAR_0 = str\n",
"\"\"\"\n Spawned by HttpConn to process one http transaction\n \"\"\"\n",
"def _... | [
"from __future__ import print_function\n",
"import time\n",
"import hashlib\n",
"import mimetypes\n",
"import jinja2\n",
"from .__init__ import *\n",
"from .util import *\n",
"if not PY2:\n",
"unicode = str\n",
"\"\"\"\n Spawned by HttpConn to process one http transaction\n \"\"\"\n",
"def... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
1,
1,
0,
1,
1,
1
] | [
"ImportFrom'",
"Import'",
"Import'",
"Import'",
"Import'",
"ImportFrom'",
"ImportFrom'",
"Condition",
"Assign'",
"Expr'",
"FunctionDef'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"FunctionDef'",
"Expr'",... |
[
"def FUNC_7(self, VAR_11=VAR_2):...\n",
"self.fs_db = VAR_11\n",
"for VAR_18 in self.fs_db.execute(\n",
"VAR_0, VAR_23, VAR_24, VAR_36, VAR_37, VAR_38 = VAR_18\n",
"for VAR_0 in self.fs_uuid_idx:\n",
"VAR_45 = set()\n",
"VAR_18 = self.fs_uuid_idx[VAR_0]\n",
"def FUNC_24(VAR_40):...\n",
"for fil_idx ... | [
"def load_sqlfs(self, db=Database):...\n",
"self.fs_db = db\n",
"for item in self.fs_db.execute(\n",
"uuid_, file_name, owner, upload_time, sub_folders, sub_files = item\n",
"for uuid_ in self.fs_uuid_idx:\n",
"n_sub_files = set()\n",
"item = self.fs_uuid_idx[uuid_]\n",
"def iterate_fsnode(node):...\n... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"For",
"Assign'",
"For",
"Assign'",
"Assign'",
"FunctionDef'",
"For",
"Condition",
"For",
"Assign'",
"Assign'",
"For",
"Condition",
"Return'",
"Assign'",
"For",
"Expr'",
"For",
"Assign'",
"Assign'",
"Expr'",
"Assign'",
"Assign'",
"Assign'"... |
[
"def FUNC_26(self):...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_11 = self._saml_auth()\n",
"logging.debug('Processing SAML response')\n",
"VAR_41 = VAR_15['saml_authn_request_id']\n",
"logging.warning('No saml_authn_request_id in session')\n",
"VAR_11.process_response(VAR_41=request_id)\n",
"VAR_2 = jsonif... | [
"def consume_saml_assertion(self):...\n",
"\"\"\"docstring\"\"\"\n",
"auth = self._saml_auth()\n",
"logging.debug('Processing SAML response')\n",
"request_id = session['saml_authn_request_id']\n",
"logging.warning('No saml_authn_request_id in session')\n",
"auth.process_response(request_id=request_id)\n... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Assign'",
"Expr'",
"Assign'",
"Expr'",
"Expr'",
"Assign'",
"Condition",
"Assign'",
"Return'",
"Expr'",
"Return'",
"Condition",
"Expr'",
"Assign'",
"Assign'",
"Expr'",
"Assign'",
"Assign'",
"Return'",
"Expr'",
"For",
"Condition",
"Assign'"... |
[
"@classmethod...\n",
"\"\"\"docstring\"\"\"\n",
"return CLASS_0.select(lambda g: g.metadata_type == REGULAR_TORRENT and g.\n status != LEGACY_ENTRY).random(VAR_19)\n"
] | [
"@classmethod...\n",
"\"\"\"docstring\"\"\"\n",
"return TorrentMetadata.select(lambda g: g.metadata_type == REGULAR_TORRENT and\n g.status != LEGACY_ENTRY).random(limit)\n"
] | [
0,
0,
0
] | [
"Condition",
"Docstring",
"Return'"
] |
[
"@require_http_methods(['POST'])...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_17 = BadRequestRateLimiter()\n",
"if VAR_17.is_rate_limit_exceeded(VAR_3):\n",
"VAR_0.warning('Password reset rate limit exceeded')\n",
"VAR_12 = VAR_3.user\n",
"return HttpResponseForbidden()\n",
"VAR_18 = VAR_12.email if VAR_12.... | [
"@require_http_methods(['POST'])...\n",
"\"\"\"docstring\"\"\"\n",
"limiter = BadRequestRateLimiter()\n",
"if limiter.is_rate_limit_exceeded(request):\n",
"AUDIT_LOG.warning('Password reset rate limit exceeded')\n",
"user = request.user\n",
"return HttpResponseForbidden()\n",
"email = user.email if us... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"Condition",
"Docstring",
"Assign'",
"Condition",
"Expr'",
"Assign'",
"Return'",
"Assign'",
"Condition",
"Return'",
"Expr'",
"Expr'",
"Return'",
"Assign'",
"Expr'",
"Expr'"
] |
[
"def FUNC_7(VAR_2):...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_2 = bleach.clean(VAR_2)\n",
"FUNC_1('insert into Player(name) values(%s)', (VAR_2,))\n"
] | [
"def registerPlayer(name):...\n",
"\"\"\"docstring\"\"\"\n",
"name = bleach.clean(name)\n",
"execute('insert into Player(name) values(%s)', (name,))\n"
] | [
0,
0,
4,
0
] | [
"FunctionDef'",
"Docstring",
"Assign'",
"Expr'"
] |
[
"@classmethod...\n",
"\"\"\"docstring\"\"\"\n",
"return VAR_18._check_executable_command(VAR_0=cls.executable, VAR_19=cls.\n prerequisite_command, VAR_20=cls.prerequisite_fail_msg)\n"
] | [
"@classmethod...\n",
"\"\"\"docstring\"\"\"\n",
"return cls._check_executable_command(executable=cls.executable, command=cls\n .prerequisite_command, fail_msg=cls.prerequisite_fail_msg)\n"
] | [
0,
0,
0
] | [
"Condition",
"Docstring",
"Return'"
] |
[
"def FUNC_1(VAR_1):...\n",
"for VAR_5 in VAR_1.traverse():\n",
"if VAR_5.path.startswith('LICENSES'):\n",
"if VAR_5.path.find('license-rules.rst') >= 0:\n",
"if not os.path.isfile(VAR_5.path):\n",
"VAR_22.parse_lines(VAR_15, VAR_19.maxlines, VAR_5.path)\n"
] | [
"def scan_git_tree(tree):...\n",
"for el in tree.traverse():\n",
"if el.path.startswith('LICENSES'):\n",
"if el.path.find('license-rules.rst') >= 0:\n",
"if not os.path.isfile(el.path):\n",
"parser.parse_lines(fd, args.maxlines, el.path)\n"
] | [
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"For",
"Condition",
"Condition",
"Condition",
"Expr'"
] |
[
"def __init__(self, VAR_1, VAR_5, VAR_6, VAR_4=None):...\n",
"GenericRequest.__init__(self, VAR_1, VAR_4)\n",
"self.url = '%stasks/%s/statements/%s' % (self.base_url, VAR_5, VAR_6)\n",
"self.task_id = VAR_5\n"
] | [
"def __init__(self, browser, task_id, language_code, base_url=None):...\n",
"GenericRequest.__init__(self, browser, base_url)\n",
"self.url = '%stasks/%s/statements/%s' % (self.base_url, task_id, language_code)\n",
"self.task_id = task_id\n"
] | [
0,
0,
5,
0
] | [
"FunctionDef'",
"Expr'",
"Assign'",
"Assign'"
] |
[
"def FUNC_29(self, VAR_77):...\n",
"def FUNC_39(VAR_101):...\n",
"VAR_101.priority = VAR_77\n",
"return VAR_101\n"
] | [
"def priority(self, priority):...\n",
"def decorate(ruleinfo):...\n",
"ruleinfo.priority = priority\n",
"return ruleinfo\n"
] | [
0,
0,
0,
0
] | [
"FunctionDef'",
"FunctionDef'",
"Assign'",
"Return'"
] |
[
"from flask import Flask, render_template, url_for, flash, redirect, request\n",
"from flask_sqlalchemy import SQLAlchemy\n",
"VAR_0 = Flask(__name__, static_folder='static', static_url_path='')\n",
"VAR_0.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///site.sqlite3'\n",
"VAR_0.config['SECRET_KEY'] = 'random... | [
"from flask import Flask, render_template, url_for, flash, redirect, request\n",
"from flask_sqlalchemy import SQLAlchemy\n",
"app = Flask(__name__, static_folder='static', static_url_path='')\n",
"app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///site.sqlite3'\n",
"app.config['SECRET_KEY'] = 'random strin... | [
0,
0,
0,
0,
0,
0,
0,
4,
0,
0,
4,
0,
0,
0
] | [
"ImportFrom'",
"ImportFrom'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"FunctionDef'",
"Assign'",
"Assign'",
"Condition",
"Return'"
] |
[
"def __init__(self, *VAR_2, **VAR_3):...\n",
"super(CLASS_1, self).__init__(*VAR_2, **kwargs)\n",
"self.OIDC_OP_AUTH_ENDPOINT = import_from_settings(\n 'OIDC_OP_AUTHORIZATION_ENDPOINT')\n",
"self.OIDC_RP_CLIENT_ID = import_from_settings('OIDC_RP_CLIENT_ID')\n"
] | [
"def __init__(self, *args, **kwargs):...\n",
"super(OIDCAuthenticationRequestView, self).__init__(*args, **kwargs)\n",
"self.OIDC_OP_AUTH_ENDPOINT = import_from_settings(\n 'OIDC_OP_AUTHORIZATION_ENDPOINT')\n",
"self.OIDC_RP_CLIENT_ID = import_from_settings('OIDC_RP_CLIENT_ID')\n"
] | [
0,
0,
0,
0
] | [
"FunctionDef'",
"Expr'",
"Assign'",
"Assign'"
] |
[
"def FUNC_2(self):...\n",
"VAR_1 = self.client.get(f'/qa/extractionscript/')\n",
"self.assertIn(f\"/qa/extractionscript/15/'> Begin QA\".encode(), VAR_1.content)\n",
"VAR_2 = 15\n",
"VAR_1 = self.client.get(f'/qa/extractionscript/{VAR_2}/')\n",
"VAR_3 = ExtractedText.objects.filter(extraction_script=pk).f... | [
"def test_new_qa_group_urls(self):...\n",
"response = self.client.get(f'/qa/extractionscript/')\n",
"self.assertIn(f\"/qa/extractionscript/15/'> Begin QA\".encode(), response.content\n )\n",
"pk = 15\n",
"response = self.client.get(f'/qa/extractionscript/{pk}/')\n",
"et = ExtractedText.objects.filter(e... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Expr'",
"Assign'",
"Assign'",
"Assign'",
"Expr'",
"Assign'",
"Expr'",
"Expr'",
"Assign'",
"Assign'",
"Expr'",
"Assign'",
"Expr'"
] |
[
"def FUNC_28(self, VAR_21):...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_65 = [x[VAR_1] for x in self.get_path(VAR_21)]\n",
"return VAR_65\n"
] | [
"def listdir(self, path):...\n",
"\"\"\"docstring\"\"\"\n",
"names = [x[A_NAME] for x in self.get_path(path)]\n",
"return names\n"
] | [
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Assign'",
"Return'"
] |
[
"def FUNC_7(self, VAR_46):...\n",
"VAR_70 = []\n",
"for join_table, parent_table in VAR_46:\n",
"VAR_70.append(\n 'LEFT JOIN {join_tbl} ON {join_tbl}.{join_fld} = {parent_tbl}.{parent_fld}'\n .format(VAR_87=join_table, VAR_86=parent_table, join_fld=self.\n path_mapping[join_table][parent_table][self.... | [
"def generate_left_join(self, join_path):...\n",
"join_phrases = []\n",
"for join_table, parent_table in join_path:\n",
"join_phrases.append(\n 'LEFT JOIN {join_tbl} ON {join_tbl}.{join_fld} = {parent_tbl}.{parent_fld}'\n .format(join_tbl=join_table, parent_tbl=parent_table, join_fld=self.\n path_map... | [
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"For",
"Expr'",
"Return'"
] |
[
"def FUNC_14(self):...\n",
"self.run_test_case(self.scenario.create_instances())\n"
] | [
"def test_b_create_instances(self):...\n",
"self.run_test_case(self.scenario.create_instances())\n"
] | [
0,
0
] | [
"FunctionDef'",
"Expr'"
] |
[
"def FUNC_5(self):...\n",
"VAR_14 = self.objects.p\n",
"VAR_15 = self.objects.puc\n",
"VAR_16 = self.objects.pt\n",
"PUCToTag.objects.create(content_object=puc, VAR_16=tag)\n",
"ProductToPUC.objects.create(product=p, VAR_15=puc)\n",
"VAR_17 = self.live_server_url + f'/product/{VAR_14.pk}/'\n",
"self.b... | [
"def test_product(self):...\n",
"p = self.objects.p\n",
"puc = self.objects.puc\n",
"tag = self.objects.pt\n",
"PUCToTag.objects.create(content_object=puc, tag=tag)\n",
"ProductToPUC.objects.create(product=p, puc=puc)\n",
"url = self.live_server_url + f'/product/{p.pk}/'\n",
"self.browser.get(url)\n",... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Assign'",
"Assign'",
"Expr'",
"Expr'",
"Assign'",
"Expr'",
"Assign'",
"Expr'",
"Assign'",
"Expr'",
"Expr'"
] |
[
"def FUNC_1(self):...\n",
""
] | [
"def _set_remote_data(self):...\n",
""
] | [
0,
0
] | [
"FunctionDef'",
"Condition"
] |
[
"def FUNC_5(self, VAR_12):...\n",
"VAR_14 = 'string'.format(VAR_12)\n",
"self.cur.execute(VAR_14)\n",
"return self.cur.fetchall()\n"
] | [
"def get_event(self, event_id):...\n",
"sql = (\n \"\"\"SELECT title, description, start_time, time_zone, (\n SELECT GROUP_CONCAT(DISTINCT username)\n FROM user_event\n WHERE event_id = {0}\n AND user_event.attending = 1)\n ... | [
0,
4,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Expr'",
"Return'"
] |
[
"def FUNC_9(VAR_4, VAR_5, VAR_6):...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_18 = VAR_5['author']\n",
"VAR_22 = ''\n",
"if VAR_4.json['action'] == 'opened':\n",
"if VAR_6['message']['opened']['header'] == '':\n",
"if VAR_4.json['action'] in ['synchronize', 'reopened']:\n",
"VAR_22 = 'Hello @' + VAR_18 + '... | [
"def prepare_comment(request, data, config):...\n",
"\"\"\"docstring\"\"\"\n",
"author = data['author']\n",
"comment_header = ''\n",
"if request.json['action'] == 'opened':\n",
"if config['message']['opened']['header'] == '':\n",
"if request.json['action'] in ['synchronize', 'reopened']:\n",
"comment_... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Assign'",
"Assign'",
"Condition",
"Condition",
"Condition",
"Assign'",
"Assign'",
"Condition",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"For",
"Condition",
"Condition",
"Condition",
"Assign'",
"Expr'",
"Assign'",
"Expr'",
"Expr'",
"Expr'... |
[
"def FUNC_9(self):...\n",
"\"\"\"docstring\"\"\"\n",
"self.do_step(HomepageRequest(self.browser, self.username, loggedin=False,\n VAR_10=self.base_url))\n",
"self.do_step(LoginRequest(self.browser, self.username, self.password,\n VAR_10=self.base_url))\n",
"self.do_step(HomepageRequest(self.browser, s... | [
"def login(self):...\n",
"\"\"\"docstring\"\"\"\n",
"self.do_step(HomepageRequest(self.browser, self.username, loggedin=False,\n base_url=self.base_url))\n",
"self.do_step(LoginRequest(self.browser, self.username, self.password,\n base_url=self.base_url))\n",
"self.do_step(HomepageRequest(self.browser... | [
0,
0,
5,
5,
0
] | [
"FunctionDef'",
"Docstring",
"Expr'",
"Expr'",
"Expr'"
] |
[
"def FUNC_15(self):...\n",
"\"\"\"docstring\"\"\"\n",
"if not self.opt:\n",
"self.parse_args(VAR_16=False)\n",
"VAR_35 = {}\n",
"for VAR_39, VAR_0 in self.opt.items():\n",
"VAR_35[VAR_38(VAR_39)] = VAR_38(VAR_0)\n",
"for group in self._action_groups:\n",
"VAR_40 = {a.dest: getattr(self.args, a.dest,... | [
"def print_args(self):...\n",
"\"\"\"docstring\"\"\"\n",
"if not self.opt:\n",
"self.parse_args(print_args=False)\n",
"values = {}\n",
"for key, value in self.opt.items():\n",
"values[str(key)] = str(value)\n",
"for group in self._action_groups:\n",
"group_dict = {a.dest: getattr(self.args, a.dest, ... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Condition",
"Expr'",
"Assign'",
"For",
"Assign'",
"For",
"Assign'",
"Assign'",
"Assign'",
"For",
"Condition",
"Condition",
"Expr'",
"AugAssign'",
"Expr'"
] |
[
"def FUNC_10(VAR_13):...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_43 = []\n",
"if isinstance(VAR_13, six.string_types):\n",
"VAR_43.append(VAR_13.lstrip('-'))\n",
"if isinstance(VAR_13, (list, tuple)) and len(VAR_13) >= 2 and isinstance(VAR_13\n",
"return VAR_43\n",
"for func_arg in VAR_13[1]:\n",
"VAR_4... | [
"def columns_in_expr(expr):...\n",
"\"\"\"docstring\"\"\"\n",
"cols = []\n",
"if isinstance(expr, six.string_types):\n",
"cols.append(expr.lstrip('-'))\n",
"if isinstance(expr, (list, tuple)) and len(expr) >= 2 and isinstance(expr[1\n",
"return cols\n",
"for func_arg in expr[1]:\n",
"cols.extend(col... | [
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Assign'",
"Condition",
"Expr'",
"Condition",
"Return'",
"For",
"Expr'"
] |
[
"def FUNC_41(self):...\n",
"for VAR_40 in self._names:\n",
"yield VAR_40, getattr(self, VAR_40)\n"
] | [
"def items(self):...\n",
"for name in self._names:\n",
"yield name, getattr(self, name)\n"
] | [
0,
0,
0
] | [
"FunctionDef'",
"For",
"Expr'"
] |
[
"def FUNC_0(*VAR_6):...\n",
"logging.error(*VAR_6)\n",
"sys.exit(1)\n"
] | [
"def fatal(*args):...\n",
"logging.error(*args)\n",
"sys.exit(1)\n"
] | [
0,
0,
0
] | [
"FunctionDef'",
"Expr'",
"Expr'"
] |
[
"@mock.patch.object(users, 'is_current_user_admin', return_value=True)...\n",
"VAR_2 = MasterFlakeAnalysis.Create('m', 'b', 123, 's', 't')\n",
"VAR_2.put()\n",
"self.mock_current_user(user_email='test@google.com')\n",
"VAR_3 = self.test_app.get('/waterfall/analyze_regression_range', params={\n 'lower_bou... | [
"@mock.patch.object(users, 'is_current_user_admin', return_value=True)...\n",
"analysis = MasterFlakeAnalysis.Create('m', 'b', 123, 's', 't')\n",
"analysis.put()\n",
"self.mock_current_user(user_email='test@google.com')\n",
"response = self.test_app.get('/waterfall/analyze_regression_range', params=\n {'... | [
5,
0,
0,
5,
5,
0
] | [
"Condition",
"Assign'",
"Expr'",
"Expr'",
"Assign'",
"Expr'"
] |
[
"def FUNC_0(self):...\n",
"self.loader = RegressionCheckLoader([\n 'unittests/resources/checks_unlisted/dependencies/normal.py'])\n",
"rt.runtime().resources.prefix = tempfile.mkdtemp(dir='unittests')\n"
] | [
"def setUp(self):...\n",
"self.loader = RegressionCheckLoader([\n 'unittests/resources/checks_unlisted/dependencies/normal.py'])\n",
"rt.runtime().resources.prefix = tempfile.mkdtemp(dir='unittests')\n"
] | [
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Assign'"
] |
[
"from pytest_bdd import scenario, then\n",
"@scenario('../features/log_accessible.feature', 'get logs')...\n",
"@then('the pods logs should not be empty')...\n",
"VAR_1 = 'string'\n",
"VAR_2 = VAR_0.check_output(VAR_1)\n",
"for pod_id in VAR_2.split('\\n'):\n",
"VAR_3 = (\n 'kubectl --kubeconfig=/etc... | [
"from pytest_bdd import scenario, then\n",
"@scenario('../features/log_accessible.feature', 'get logs')...\n",
"@then('the pods logs should not be empty')...\n",
"cmd = (\n 'kubectl --kubeconfig=/etc/kubernetes/admin.conf get pods -n kube-system --no-headers -o custom-columns=\":metadata.name\"'\n )\n",... | [
0,
0,
0,
2,
2,
0,
2,
2,
0,
2
] | [
"ImportFrom'",
"Condition",
"Condition",
"Assign'",
"Assign'",
"For",
"Assign'",
"Assign'",
"Condition",
"Assert'"
] |
[
"def FUNC_3(self, VAR_8):...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_19 = self._cliq_get_cluster_info(VAR_8)\n",
"VAR_20 = []\n",
"for vip in VAR_19.findall('response/cluster/vip'):\n",
"VAR_20.append(vip.attrib.get('ipAddress'))\n",
"if len(VAR_20) == 1:\n",
"return VAR_20[0]\n",
"VAR_21 = etree.tostri... | [
"def _cliq_get_cluster_vip(self, cluster_name):...\n",
"\"\"\"docstring\"\"\"\n",
"cluster_xml = self._cliq_get_cluster_info(cluster_name)\n",
"vips = []\n",
"for vip in cluster_xml.findall('response/cluster/vip'):\n",
"vips.append(vip.attrib.get('ipAddress'))\n",
"if len(vips) == 1:\n",
"return vips[... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Assign'",
"Assign'",
"For",
"Expr'",
"Condition",
"Return'",
"Assign'",
"Assign'"
] |
[
"def FUNC_11(self):...\n",
"return ', '.join(column.for_schema() for column in self.columns)\n"
] | [
"def for_schema(self):...\n",
"return ', '.join(column.for_schema() for column in self.columns)\n"
] | [
0,
0
] | [
"FunctionDef'",
"Return'"
] |
[
"def FUNC_8(self):...\n",
"\"\"\"docstring\"\"\"\n",
"self.assertTrue(self.client.login(username='autotest2', password='password'))\n",
"VAR_4 = 'autotest'\n",
"VAR_2 = '/api/apps'\n",
"VAR_5 = {'id': VAR_4}\n",
"VAR_3 = self.client.post(VAR_2, json.dumps(VAR_5), content_type=\n 'application/json')\n... | [
"def test_admin_can_manage_other_apps(self):...\n",
"\"\"\"docstring\"\"\"\n",
"self.assertTrue(self.client.login(username='autotest2', password='password'))\n",
"app_id = 'autotest'\n",
"url = '/api/apps'\n",
"body = {'id': app_id}\n",
"response = self.client.post(url, json.dumps(body), content_type=\n... | [
0,
0,
5,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Expr'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Expr'",
"Assign'",
"Assign'",
"Expr'",
"Assign'",
"Assign'",
"Expr'",
"Expr'",
"Assign'",
"Assign'",
"Assign'",
"Expr'",
"Expr'",
"Assign'",
"Assign'",
"Expr'"
] |
[
"@handler('registered', VAR_0='*')...\n",
"if isinstance(VAR_5, BaseController) and VAR_5.channel not in self.paths:\n",
"self.paths[VAR_5.channel] = VAR_5\n"
] | [
"@handler('registered', channel='*')...\n",
"if isinstance(component, BaseController\n",
"self.paths[component.channel] = component\n"
] | [
0,
0,
0
] | [
"Condition",
"Condition",
"Assign'"
] |
[
"def FUNC_1(self):...\n",
"\"\"\"docstring\"\"\"\n",
"return bool(self.wildcard_names)\n"
] | [
"def has_wildcards(self):...\n",
"\"\"\"docstring\"\"\"\n",
"return bool(self.wildcard_names)\n"
] | [
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Return'"
] |
[
"def FUNC_10(VAR_17):...\n",
"VAR_35 = os.path.dirname(VAR_17)\n",
"if not os.path.exists(VAR_35):\n",
"os.makedirs(VAR_35)\n"
] | [
"def ensure_dir(file_path):...\n",
"directory = os.path.dirname(file_path)\n",
"if not os.path.exists(directory):\n",
"os.makedirs(directory)\n"
] | [
0,
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Condition",
"Expr'"
] |
[
"def FUNC_6(VAR_7):...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_21 = c_onboarding_status().find_one({onboarding.USER_ID: VAR_7}, {'_id':\n 0, 'user_id': 0}) or {}\n",
"VAR_22 = {}\n",
"for VAR_8 in FUNC_2():\n",
"VAR_22[VAR_8] = {'done': VAR_21.get(VAR_8, False)}\n",
"return VAR_22\n"
] | [
"def get_onboarding_status_with_settings(user_id):...\n",
"\"\"\"docstring\"\"\"\n",
"onboarding_status = c_onboarding_status().find_one({onboarding.USER_ID:\n user_id}, {'_id': 0, 'user_id': 0}) or {}\n",
"data = {}\n",
"for step in get_onboarding_steps():\n",
"data[step] = {'done': onboarding_status.... | [
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Assign'",
"Assign'",
"For",
"Assign'",
"Return'"
] |
[
"def FUNC_21(self, VAR_15):...\n",
"\"\"\"docstring\"\"\"\n",
"for key, value in self.iscsi_ips.items():\n",
"if value['nsp'] == VAR_15:\n",
"return key\n"
] | [
"def _get_ip_using_nsp(self, nsp):...\n",
"\"\"\"docstring\"\"\"\n",
"for key, value in self.iscsi_ips.items():\n",
"if value['nsp'] == nsp:\n",
"return key\n"
] | [
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"For",
"Condition",
"Return'"
] |
[
"def FUNC_5(self, VAR_10, VAR_9):...\n",
"\"\"\"docstring\"\"\"\n",
"return self\n"
] | [
"def getChild(self, name, request):...\n",
"\"\"\"docstring\"\"\"\n",
"return self\n"
] | [
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Return'"
] |
[
"def FUNC_3(VAR_1):...\n",
"return Dependencies(VAR_1)\n"
] | [
"def setup_dependency_injection(config):...\n",
"return Dependencies(config)\n"
] | [
0,
0
] | [
"FunctionDef'",
"Return'"
] |
[
"def FUNC_6(self, VAR_23):...\n",
"if VAR_23:\n",
"return self.error()\n",
"return Account._by_name(VAR_23)\n"
] | [
"def run(self, name):...\n",
"if name:\n",
"return self.error()\n",
"return Account._by_name(name)\n"
] | [
0,
0,
0,
0
] | [
"FunctionDef'",
"Condition",
"Return'",
"Return'"
] |
[
"def FUNC_22(self, VAR_21, VAR_40):...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_57 = self.getfile(VAR_21)\n",
"if VAR_57 == False:\n",
"VAR_57[VAR_6] = FUNC_30.S_IFMT(VAR_57[VAR_6]) | VAR_40\n"
] | [
"def chmod(self, path, perm):...\n",
"\"\"\"docstring\"\"\"\n",
"p = self.getfile(path)\n",
"if p == False:\n",
"p[A_MODE] = stat.S_IFMT(p[A_MODE]) | perm\n"
] | [
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Assign'",
"Condition",
"Assign'"
] |
[
"def FUNC_29(VAR_10, VAR_11='suggestall'):...\n",
"VAR_32 = [{'text': 'FAST results', 'children': [{'id': '', 'text':\n 'Error retrieving FAST results.'}]}]\n",
"VAR_29 = FUNC_27(VAR_10, VAR_11)\n",
"VAR_45 = requests.get(VAR_29, timeout=2)\n",
"VAR_1.error('fast lookup timed out')\n",
"VAR_27 = FUNC_2... | [
"def _get_fast_results(term, index='suggestall'):...\n",
"error_response = [{'text': 'FAST results', 'children': [{'id': '', 'text':\n 'Error retrieving FAST results.'}]}]\n",
"url = _build_fast_url(term, index)\n",
"r = requests.get(url, timeout=2)\n",
"logger.error('fast lookup timed out')\n",
"selec... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Assign'",
"Assign'",
"Expr'",
"Assign'",
"Expr'",
"Return'",
"Condition",
"Expr'",
"Return'",
"Return'",
"Return'"
] |
[
"def FUNC_25(self):...\n",
"VAR_13 = webapp2.Request({'HTTP_X_APPENGINE_INBOUND_APPID': 'some-app'})\n",
"self.assertEqual(model.Identity(model.IDENTITY_SERVICE, 'some-app'),\n handler.service_to_service_authentication(VAR_13))\n"
] | [
"def test_applicable(self):...\n",
"request = webapp2.Request({'HTTP_X_APPENGINE_INBOUND_APPID': 'some-app'})\n",
"self.assertEqual(model.Identity(model.IDENTITY_SERVICE, 'some-app'),\n handler.service_to_service_authentication(request))\n"
] | [
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Expr'"
] |
[
"def __new__(VAR_22, VAR_3):...\n",
"VAR_48 = str.__new__(VAR_22, VAR_3)\n",
"VAR_48._is_function = type(VAR_3).__name__ == 'function'\n",
"VAR_48._file = VAR_3\n",
"VAR_48.rule = None\n",
"VAR_48._regex = None\n",
"return VAR_48\n"
] | [
"def __new__(cls, file):...\n",
"obj = str.__new__(cls, file)\n",
"obj._is_function = type(file).__name__ == 'function'\n",
"obj._file = file\n",
"obj.rule = None\n",
"obj._regex = None\n",
"return obj\n"
] | [
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Return'"
] |
[
"def FUNC_1(VAR_1):...\n",
"VAR_1.execute('string')\n",
"VAR_8 = VAR_1.fetchall()\n",
"return VAR_8\n"
] | [
"def retrieve_videos(db):...\n",
"db.execute(\n 'SELECT id, playlist_id, title, thumbnail, position from video ORDER BY playlist_id ASC, position ASC;'\n )\n",
"rows = db.fetchall()\n",
"return rows\n"
] | [
0,
0,
0,
0
] | [
"FunctionDef'",
"Expr'",
"Assign'",
"Return'"
] |
[
"def FUNC_4(self):...\n",
"VAR_5 = [{'targetSize': 2, 'capacity': {'min': 2, 'max': 2, 'desired': 2},\n 'replicaPoolName': self.__server_group_name, 'numReplicas': 2, 'region':\n self.TEST_REGION, 'zone': self.TEST_ZONE, 'asgName': self.\n __server_group_name, 'type': 'resizeServerGroup', 'regions': [sel... | [
"def resize_server_group(self):...\n",
"job = [{'targetSize': 2, 'capacity': {'min': 2, 'max': 2, 'desired': 2},\n 'replicaPoolName': self.__server_group_name, 'numReplicas': 2, 'region':\n self.TEST_REGION, 'zone': self.TEST_ZONE, 'asgName': self.\n __server_group_name, 'type': 'resizeServerGroup', 'reg... | [
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Assign'",
"Expr'",
"Assign'",
"Return'"
] |
[
"def __init__(self, VAR_34, VAR_35, VAR_36):...\n",
"\"\"\"docstring\"\"\"\n",
"self.base_table = ''\n",
"self.field_mapping = self._parse_field_mapping(VAR_34)\n",
"self.path_mapping = self._parse_multi_path_mapping(VAR_35)\n",
"self.custom_methods = self._parse_custom_methods(VAR_36)\n",
"self.WHERE_C... | [
"def __init__(self, field_mapping, paths, custom_methods):...\n",
"\"\"\"docstring\"\"\"\n",
"self.base_table = ''\n",
"self.field_mapping = self._parse_field_mapping(field_mapping)\n",
"self.path_mapping = self._parse_multi_path_mapping(paths)\n",
"self.custom_methods = self._parse_custom_methods(custom_... | [
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'"
] |
[
"def FUNC_13(self, VAR_14):...\n",
""
] | [
"def is_float(self, col_name):...\n",
""
] | [
0,
0
] | [
"FunctionDef'",
"Condition"
] |
[
"def FUNC_5(self):...\n",
"sievelib.commands.add_commands(CLASS_0)\n",
"sievelib.commands.get_command_instance('mytest')\n",
"self.assertRaises(sievelib.commands.UnknownCommand, sievelib.commands.\n get_command_instance, 'unknowncommand')\n",
"self.compilation_ok(\n \"\"\"\n mytest :testtag 10 ... | [
"def test_add_command(self):...\n",
"sievelib.commands.add_commands(MytestCommand)\n",
"sievelib.commands.get_command_instance('mytest')\n",
"self.assertRaises(sievelib.commands.UnknownCommand, sievelib.commands.\n get_command_instance, 'unknowncommand')\n",
"self.compilation_ok(\n \"\"\"\n myt... | [
0,
0,
0,
2,
0
] | [
"FunctionDef'",
"Expr'",
"Expr'",
"Expr'",
"Expr'"
] |
[
"def FUNC_2(VAR_1):...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_17 = {VAR_24: VAR_25 for line in infFileLines for VAR_24, VAR_25 in (\n line.strip().split('='),)}\n",
"VAR_16 = [open(picture, 'rb').read() for picture in VAR_17['imageCsv'].\n split(',')]\n",
"return [VAR_17, VAR_16]\n"
] | [
"def get_inf_details(inf_file):...\n",
"\"\"\"docstring\"\"\"\n",
"data = {key: val for line in infFileLines for key, val in (line.strip().\n split('='),)}\n",
"files = [open(picture, 'rb').read() for picture in data['imageCsv'].split(',')]\n",
"return [data, files]\n"
] | [
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Assign'",
"Assign'",
"Return'"
] |
[
"@staticmethod...\n",
"return openid.create_logout_url(VAR_3, VAR_23)\n"
] | [
"@staticmethod...\n",
"return openid.create_logout_url(request, dest_url)\n"
] | [
0,
0
] | [
"Condition",
"Return'"
] |
[
"def FUNC_40(self, VAR_16):...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_11 = getattr(self, 'parent_doc', self)\n",
"if hasattr(VAR_11, 'format_data_map'):\n",
"return VAR_16 in VAR_11.format_data_map\n",
"return True\n"
] | [
"def in_format_data(self, fieldname):...\n",
"\"\"\"docstring\"\"\"\n",
"doc = getattr(self, 'parent_doc', self)\n",
"if hasattr(doc, 'format_data_map'):\n",
"return fieldname in doc.format_data_map\n",
"return True\n"
] | [
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Assign'",
"For",
"Return'",
"Return'"
] |
[
"def FUNC_6(self, VAR_9):...\n",
"return self._tool_classpath('scalac', VAR_9)\n"
] | [
"def compiler_classpath(self, products):...\n",
"return self._tool_classpath('scalac', products)\n"
] | [
0,
0
] | [
"FunctionDef'",
"Return'"
] |
[
"def FUNC_10(self):...\n",
"from invenio.modules.oauthclient.models import RemoteAccount\n",
"RemoteAccount.create(1, 'testid', None)\n",
"self.assert401(self.client.get(url_for('oauthclient_settings.index'),\n follow_redirects=True))\n",
"self.login('admin', '')\n",
"VAR_10 = self.client.get(url_for('... | [
"def test_settings_view(self):...\n",
"from invenio.modules.oauthclient.models import RemoteAccount\n",
"RemoteAccount.create(1, 'testid', None)\n",
"self.assert401(self.client.get(url_for('oauthclient_settings.index'),\n follow_redirects=True))\n",
"self.login('admin', '')\n",
"res = self.client.get(u... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"ImportFrom'",
"Expr'",
"Expr'",
"Expr'",
"Assign'",
"Expr'",
"Assert'",
"Assert'",
"Assert'",
"Assert'"
] |
[
"def FUNC_13(self, *VAR_16, **VAR_10):...\n",
"if not self.current_user or not self.current_user.admin:\n",
"return VAR_7(self, *VAR_16, **kwargs)\n"
] | [
"def wrapper(self, *args, **kwargs):...\n",
"if not self.current_user or not self.current_user.admin:\n",
"return method(self, *args, **kwargs)\n"
] | [
0,
0,
0
] | [
"FunctionDef'",
"Condition",
"Return'"
] |
[
"def FUNC_2(VAR_4):...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_14 = 2.55 + 1\n",
"VAR_15 = float(len(VAR_4)) / VAR_14\n",
"VAR_16 = [word for word in re.split('\\\\W', VAR_4) if word.isalpha()]\n",
"VAR_17 = len(VAR_16)\n",
"return VAR_17 > VAR_15\n"
] | [
"def _is_english_text(text):...\n",
"\"\"\"docstring\"\"\"\n",
"avg_word_length = 2.55 + 1\n",
"expected_word_number = float(len(text)) / avg_word_length\n",
"words = [word for word in re.split('\\\\W', text) if word.isalpha()]\n",
"word_number = len(words)\n",
"return word_number > expected_word_number... | [
0,
0,
7,
7,
7,
7,
7
] | [
"FunctionDef'",
"Docstring",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Return'"
] |
[
"def FUNC_9(self):...\n",
"for resource in set(resource for VAR_13 in self.rules for resource in\n",
"if resource not in '_cores _nodes'.split():\n",
"logger.info(resource)\n"
] | [
"def list_resources(self):...\n",
"for resource in set(resource for rule in self.rules for resource in rule.\n",
"if resource not in '_cores _nodes'.split():\n",
"logger.info(resource)\n"
] | [
0,
0,
0,
0
] | [
"FunctionDef'",
"For",
"Condition",
"Expr'"
] |
[
"def __init__(self, *VAR_17):...\n",
"if len(VAR_17) == 0:\n",
"self._java_dist_dirs = VAR_17\n"
] | [
"def __init__(self, *java_dist_dirs):...\n",
"if len(java_dist_dirs) == 0:\n",
"self._java_dist_dirs = java_dist_dirs\n"
] | [
0,
0,
0
] | [
"FunctionDef'",
"Condition",
"Assign'"
] |
[
"def FUNC_2(self, VAR_1):...\n",
"self.__checkCompilation(VAR_1, True)\n"
] | [
"def compilation_ok(self, script):...\n",
"self.__checkCompilation(script, True)\n"
] | [
0,
0
] | [
"FunctionDef'",
"Expr'"
] |
[
"def FUNC_9(self):...\n",
"VAR_13 = self.cnxn.getinfo(pyodbc.SQL_ACCESSIBLE_TABLES)\n",
"self.assertTrue(isinstance(VAR_13, bool))\n"
] | [
"def test_getinfo_bool(self):...\n",
"value = self.cnxn.getinfo(pyodbc.SQL_ACCESSIBLE_TABLES)\n",
"self.assertTrue(isinstance(value, bool))\n"
] | [
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Expr'"
] |
[
"def FUNC_0(VAR_2, VAR_3):...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_5 = 1 / pd.concat([(1 / VAR_2[target_type]) for target_type in VAR_3],\n axis=1).sum(axis=1)\n",
"VAR_5.name = '+'.join(VAR_3)\n",
"return pd.concat([VAR_2, VAR_5], axis=1)\n"
] | [
"def combine_odds(odds, target_types):...\n",
"\"\"\"docstring\"\"\"\n",
"combined_odds = 1 / pd.concat([(1 / odds[target_type]) for target_type in\n target_types], axis=1).sum(axis=1)\n",
"combined_odds.name = '+'.join(target_types)\n",
"return pd.concat([odds, combined_odds], axis=1)\n"
] | [
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Assign'",
"Assign'",
"Return'"
] |
[
"def FUNC_14(self):...\n",
"\"\"\"docstring\"\"\"\n",
"return self._get_users_api().get_current_user(self.request)\n"
] | [
"def get_current_user(self):...\n",
"\"\"\"docstring\"\"\"\n",
"return self._get_users_api().get_current_user(self.request)\n"
] | [
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Return'"
] |
[
"def FUNC_40(VAR_87):...\n",
"return filterfalse(self.is_rule, VAR_87)\n"
] | [
"def files(items):...\n",
"return filterfalse(self.is_rule, items)\n"
] | [
0,
0
] | [
"FunctionDef'",
"Return'"
] |
[
"def FUNC_6():...\n",
"VAR_10 = kube_utils.get_pods(VAR_0, VAR_4, VAR_2='kube-system',\n status_phase='Running')\n",
"assert len(VAR_10) >= VAR_5\n"
] | [
"def _check_pods_count():...\n",
"pods = kube_utils.get_pods(host, label, namespace='kube-system',\n status_phase='Running')\n",
"assert len(pods) >= min_pods_count\n"
] | [
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Assert'"
] |
[
"@property...\n",
"VAR_4 = self.request.session.get('oidc_login_next', None)\n",
"return VAR_4 or import_from_settings('LOGIN_REDIRECT_URL', '/')\n"
] | [
"@property...\n",
"next_url = self.request.session.get('oidc_login_next', None)\n",
"return next_url or import_from_settings('LOGIN_REDIRECT_URL', '/')\n"
] | [
0,
0,
0
] | [
"Condition",
"Assign'",
"Return'"
] |
[
"def __init__(self, VAR_14, VAR_6=None, VAR_15=None, VAR_16=None, VAR_17=...\n",
"self.object_list = VAR_14\n",
"self.model = VAR_14.model\n",
"self.query_params = VAR_6 or {}\n",
"self.list_display = VAR_15 or []\n",
"self.list_filter = VAR_16 or []\n",
"self.list_search = VAR_17 or []\n",
"self.sear... | [
"def __init__(self, object_list, query_params=None, list_display=None,...\n",
"self.object_list = object_list\n",
"self.model = object_list.model\n",
"self.query_params = query_params or {}\n",
"self.list_display = list_display or []\n",
"self.list_filter = list_filter or []\n",
"self.list_search = list... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"Condition",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'"
] |
[
"def FUNC_19(self, VAR_16, VAR_20, VAR_21=False, **VAR_5):...\n",
"\"\"\"docstring\"\"\"\n",
"self._eql_execute('volume', 'select', VAR_16['name'], 'access', 'delete', '1')\n",
"VAR_0.error(_('Failed to terminate connection to volume %s'), VAR_16['name'])\n"
] | [
"def terminate_connection(self, volume, connector, force=False, **kwargs):...\n",
"\"\"\"docstring\"\"\"\n",
"self._eql_execute('volume', 'select', volume['name'], 'access', 'delete', '1')\n",
"LOG.error(_('Failed to terminate connection to volume %s'), volume['name'])\n"
] | [
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Expr'",
"Expr'"
] |
[
"def FUNC_13(self, VAR_16):...\n",
"return True\n"
] | [
"def does_intersect_rule(self, rulectx):...\n",
"return True\n"
] | [
0,
0
] | [
"FunctionDef'",
"Return'"
] |
[
"def FUNC_36(VAR_11):...\n",
"for VAR_51, VAR_58 in VAR_11.items():\n",
"if isinstance(VAR_58, str) or not isinstance(VAR_58, Iterable):\n",
"VAR_58 = [VAR_58]\n",
"yield [(VAR_51, VAR_16) for VAR_16 in VAR_58]\n"
] | [
"def flatten(wildcards):...\n",
"for wildcard, values in wildcards.items():\n",
"if isinstance(values, str) or not isinstance(values, Iterable):\n",
"values = [values]\n",
"yield [(wildcard, value) for value in values]\n"
] | [
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"For",
"Condition",
"Assign'",
"Expr'"
] |
[
"import MySQLdb\n",
"import subprocess\n",
"import os.path\n",
"import sys\n",
"VAR_0 = sys.argv[1]\n",
"VAR_1 = subprocess.check_output(['find', '/var/spool/asterisk/monitor/',\n '-type', 'f', '-name', '*.wav']).decode()\n",
"for wav_file in VAR_1.splitlines():\n",
"VAR_3, VAR_4 = os.path.splitext... | [
"import MySQLdb\n",
"import subprocess\n",
"import os.path\n",
"import sys\n",
"file_format = sys.argv[1]\n",
"record_files = subprocess.check_output(['find',\n '/var/spool/asterisk/monitor/', '-type', 'f', '-name', '*.wav']).decode()\n",
"for wav_file in record_files.splitlines():\n",
"name, ext =... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
4,
0
] | [
"Import'",
"Import'",
"Import'",
"Import'",
"Assign'",
"Assign'",
"For",
"Assign'",
"Assign'",
"Assign'",
"Expr'",
"Assign'",
"Assign'",
"Assign'",
"Expr'",
"For",
"Expr'",
"Assign'",
"Condition",
"Expr'",
"Expr'",
"Expr'"
] |
[
"def __bool__(self):...\n",
"return False\n"
] | [
"def __bool__(self):...\n",
"return False\n"
] | [
0,
0
] | [
"FunctionDef'",
"Return'"
] |
[
"def FUNC_37(self, VAR_40):...\n",
"\"\"\"docstring\"\"\"\n",
"self.set_name(VAR_40, len(self) - 1)\n"
] | [
"def add_name(self, name):...\n",
"\"\"\"docstring\"\"\"\n",
"self.set_name(name, len(self) - 1)\n"
] | [
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Expr'"
] |
[
"@VAR_0.route('/peti/a/<form_id>/')...\n",
"if VAR_7 == '':\n",
"return 404\n",
"VAR_9 = ''\n",
"print(VAR_7)\n",
"VAR_2.execute('select * from PETITION_DATA_TB where form_id = {}'.format(VAR_7)\n )\n",
"return 404\n",
"VAR_12 = VAR_11[0][1]\n",
"VAR_11 = VAR_2.fetchall()\n",
"VAR_13 = VAR_11[0... | [
"@app.route('/peti/a/<form_id>/')...\n",
"if form_id == '':\n",
"return 404\n",
"BODY_CONTENT = ''\n",
"print(form_id)\n",
"curs.execute('select * from PETITION_DATA_TB where form_id = {}'.format(\n form_id))\n",
"return 404\n",
"form_display_name = result[0][1]\n",
"result = curs.fetchall()\n",
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"For",
"Condition",
"Return'",
"Assign'",
"Expr'",
"Expr'",
"Return'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"AugAssign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Return'"
] |
[
"import sqlobject\n",
"import vdm.sqlobject.base as vdmbase\n",
"import vdm.base as vdmbase\n",
"VAR_16 = 'name'\n",
"from vdm.sqlobject.base import State\n",
"from vdm.base import State\n",
"VAR_0 = sqlobject.UnicodeCol(alternateID=True)\n",
"VAR_1 = sqlobject.MultipleJoin('Package')\n",
"VAR_2 = s... | [
"import sqlobject\n",
"import vdm.sqlobject.base as vdmbase\n",
"import vdm.base as vdmbase\n",
"_defaultOrder = 'name'\n",
"from vdm.sqlobject.base import State\n",
"from vdm.base import State\n",
"name = sqlobject.UnicodeCol(alternateID=True)\n",
"packages = sqlobject.MultipleJoin('Package')\n",
"... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
4,
4,
4
] | [
"Import'",
"Import'",
"Import'",
"Assign'",
"ImportFrom'",
"ImportFrom'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"FunctionDef'",
"Assign'",
"Assign'",
"Exp... |
[
"def FUNC_5(self, VAR_8, VAR_4):...\n",
"VAR_14 = self.__cache_map[VAR_8]\n",
"VAR_14.remove(VAR_4)\n"
] | [
"def remove(self, entity_class, entity):...\n",
"cache = self.__cache_map[entity_class]\n",
"cache.remove(entity)\n"
] | [
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Expr'"
] |
[
"def FUNC_32(*VAR_26):...\n",
""
] | [
"def mocked_check(*_args):...\n",
""
] | [
0,
0
] | [
"FunctionDef'",
"Condition"
] |
[
"@abstractproperty...\n",
"\"\"\"docstring\"\"\"\n"
] | [
"@abstractproperty...\n",
"\"\"\"docstring\"\"\"\n"
] | [
0,
0
] | [
"Condition",
"Docstring"
] |
[
"def FUNC_6(self):...\n",
"return self.title\n"
] | [
"def get_feed(self):...\n",
"return self.title\n"
] | [
0,
0
] | [
"FunctionDef'",
"Return'"
] |
[
"def FUNC_7(self, VAR_10):...\n",
"\"\"\"docstring\"\"\"\n",
"if not self._rules:\n",
"if not VAR_10 in self._rules:\n",
"return self._rules[VAR_10]\n"
] | [
"def get_rule(self, name):...\n",
"\"\"\"docstring\"\"\"\n",
"if not self._rules:\n",
"if not name in self._rules:\n",
"return self._rules[name]\n"
] | [
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Condition",
"Condition",
"Return'"
] |
[
"def FUNC_19(self, VAR_11):...\n",
"\"\"\"docstring\"\"\"\n",
"if len(self.iscsi_ips) == 1:\n",
"return self.iscsi_ips.keys()[0]\n",
"VAR_15 = self._get_active_nsp(VAR_11)\n",
"if VAR_15 is None:\n",
"VAR_15 = self._get_least_used_nsp(self._get_iscsi_nsps())\n",
"return self._get_ip_using_nsp(VAR_15)\... | [
"def _get_iscsi_ip(self, hostname):...\n",
"\"\"\"docstring\"\"\"\n",
"if len(self.iscsi_ips) == 1:\n",
"return self.iscsi_ips.keys()[0]\n",
"nsp = self._get_active_nsp(hostname)\n",
"if nsp is None:\n",
"nsp = self._get_least_used_nsp(self._get_iscsi_nsps())\n",
"return self._get_ip_using_nsp(nsp)\n"... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"Condition",
"Return'",
"Assign'",
"Condition",
"Assign'",
"Return'",
"Condition",
"Assign'",
"Expr'",
"Return'"
] |
[
"def FUNC_31(self, *VAR_79, **VAR_80):...\n",
"def FUNC_39(VAR_101):...\n",
"VAR_101.log = VAR_79, VAR_80\n",
"return VAR_101\n"
] | [
"def log(self, *logs, **kwlogs):...\n",
"def decorate(ruleinfo):...\n",
"ruleinfo.log = logs, kwlogs\n",
"return ruleinfo\n"
] | [
0,
0,
0,
0
] | [
"FunctionDef'",
"FunctionDef'",
"Assign'",
"Return'"
] |
[
"@login_required...\n",
"VAR_27 = {'title': VAR_19}\n",
"VAR_8 = None\n",
"if VAR_3 is not None:\n",
"VAR_8 = get_object_or_404(VAR_5, **{group_slug_field: group_slug})\n",
"VAR_46 = True\n",
"VAR_27.update({'content_type': get_ct(VAR_8), 'object_id': VAR_8.id})\n",
"if not VAR_46:\n",
"VAR_46 = FUN... | [
"@login_required...\n",
"article_args = {'title': title}\n",
"group = None\n",
"if group_slug is not None:\n",
"group = get_object_or_404(group_qs, **{group_slug_field: group_slug})\n",
"allow_read = True\n",
"article_args.update({'content_type': get_ct(group), 'object_id': group.id})\n",
"if not allo... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"Condition",
"Assign'",
"Assign'",
"Condition",
"Assign'",
"Assign'",
"Expr'",
"Condition",
"Assign'",
"Return'",
"Assign'",
"Condition",
"Expr'",
"Return'"
] |
[
"@FUNC_1.command(aliases=['sta'])...\n",
"\"\"\"docstring\"\"\"\n",
"VAR_6 = asyncio.get_event_loop()\n",
"VAR_7 = await VAR_6.run_in_executor(None, self.station_search, VAR_2)\n",
"await VAR_1.send(VAR_7)\n"
] | [
"@eddb.command(aliases=['sta'])...\n",
"\"\"\"docstring\"\"\"\n",
"loop = asyncio.get_event_loop()\n",
"result = await loop.run_in_executor(None, self.station_search, inp)\n",
"await ctx.send(result)\n"
] | [
0,
0,
0,
0,
0
] | [
"Condition",
"Docstring",
"Assign'",
"Assign'",
"Expr'"
] |
[
"def __next__(self):...\n",
""
] | [
"def __next__(self):...\n",
""
] | [
0,
0
] | [
"FunctionDef'",
"Condition"
] |
[
"def FUNC_3(self, VAR_8):...\n",
"self.cursor.execute(\n \"SELECT upc, name, weight, description FROM product WHERE description ILIKE '%%%s%%';\"\n , (VAR_8,))\n",
"return self.cursor.fetchall()\n"
] | [
"def find_products_by_desc(self, product_desc):...\n",
"self.cursor.execute(\n \"SELECT upc, name, weight, description FROM product WHERE description ILIKE '%%%s%%';\"\n , (product_desc,))\n",
"return self.cursor.fetchall()\n"
] | [
0,
4,
0
] | [
"FunctionDef'",
"Expr'",
"Return'"
] |
[
"from collections import defaultdict\n",
"import functools\n",
"import json\n",
"import logging\n",
"import re\n",
"import subprocess\n",
"import threading\n",
"import time\n",
"def __init__(self):...\n",
"self._job_status = defaultdict(functools.partial(defaultdict, str))\n",
"self._job_text = ... | [
"from collections import defaultdict\n",
"import functools\n",
"import json\n",
"import logging\n",
"import re\n",
"import subprocess\n",
"import threading\n",
"import time\n",
"def __init__(self):...\n",
"self._job_status = defaultdict(functools.partial(defaultdict, str))\n",
"self._job_text = ... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2,
2,
0,
0,
0,
0,
0,
2,
0,
0,
0,
0,
0,
2,
0,
0,
0,
2,
0,
0,
2,
0,
0,
0,
2,
2,
0,
2,
0,
0,
0,
0,
2,
0
] | [
"ImportFrom'",
"Import'",
"Import'",
"Import'",
"Import'",
"Import'",
"Import'",
"Import'",
"FunctionDef'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"FunctionDef'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"FunctionDef'",
"Return'",
... |
[
"def FUNC_11(self):...\n",
"return self.datadocument_set.filter(matched=True).count()\n"
] | [
"def matched_docs(self):...\n",
"return self.datadocument_set.filter(matched=True).count()\n"
] | [
0,
0
] | [
"FunctionDef'",
"Return'"
] |
[
"@VAR_0.route('/crawling/end')...\n",
"VAR_14 = VAR_10.get('crawl_process_id', None)\n",
"os.kill(VAR_14, signal.SIGTERM)\n",
"VAR_10['crawl_process_id'] = -1\n",
"VAR_15 = VAR_10.get('crawl_start_time', None)\n",
"VAR_10['crawl_total_time'] = time.time() - VAR_15\n",
"flash('You successfully interrupte... | [
"@app.route('/crawling/end')...\n",
"p_id = session.get('crawl_process_id', None)\n",
"os.kill(p_id, signal.SIGTERM)\n",
"session['crawl_process_id'] = -1\n",
"crawl_start_time = session.get('crawl_start_time', None)\n",
"session['crawl_total_time'] = time.time() - crawl_start_time\n",
"flash('You succe... | [
0,
0,
0,
0,
0,
0,
0,
0
] | [
"Condition",
"Assign'",
"Expr'",
"Assign'",
"Assign'",
"Assign'",
"Expr'",
"Return'"
] |
[
"def FUNC_10(self):...\n",
"frappe.set_user('test1@example.com')\n",
"self.assertRaises(frappe.PermissionError, get_filters_cond, 'DocType', dict\n (istable=1), [])\n",
"self.assertTrue(get_filters_cond('DocType', dict(istable=1), [],\n ignore_permissions=True))\n",
"frappe.set_user('Administrator')\n... | [
"def test_ignore_permissions_for_get_filters_cond(self):...\n",
"frappe.set_user('test1@example.com')\n",
"self.assertRaises(frappe.PermissionError, get_filters_cond, 'DocType', dict\n (istable=1), [])\n",
"self.assertTrue(get_filters_cond('DocType', dict(istable=1), [],\n ignore_permissions=True))\n",
... | [
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Expr'",
"Expr'",
"Expr'",
"Expr'"
] |
[
"def FUNC_5(VAR_3):...\n",
"VAR_0, VAR_10 = FUNC_0()\n",
"VAR_19 = FUNC_13(VAR_10, VAR_3)\n",
"VAR_0.close()\n",
"return VAR_19\n"
] | [
"def tokenNeededExternal(poll_name):...\n",
"conn, c = connectDB()\n",
"tmp = checkTokenNeeded(c, poll_name)\n",
"conn.close()\n",
"return tmp\n"
] | [
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Assign'",
"Expr'",
"Return'"
] |
[
"def FUNC_20(VAR_28, VAR_29, VAR_30, VAR_31=None):...\n",
"\"\"\"docstring\"\"\"\n",
"from datadog import DogStatsd\n",
"VAR_60 = VAR_30.split('.', 2)\n",
"assert len(VAR_60) >= 2 and VAR_60[0\n ] == 'snuba', 'prefix must be like `snuba.<category>`'\n",
"return DogStatsd(VAR_28=host, VAR_29=port, names... | [
"def create_metrics(host, port, prefix, tags=None):...\n",
"\"\"\"docstring\"\"\"\n",
"from datadog import DogStatsd\n",
"bits = prefix.split('.', 2)\n",
"assert len(bits) >= 2 and bits[0\n ] == 'snuba', 'prefix must be like `snuba.<category>`'\n",
"return DogStatsd(host=host, port=port, namespace=pref... | [
0,
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Docstring",
"ImportFrom'",
"Assign'",
"Assert'",
"Return'"
] |
[
"def FUNC_1(VAR_3):...\n",
"VAR_3 = VAR_3.lower()\n",
"if VAR_3 == 'guiness':\n",
"VAR_3 = 'guinness'\n",
"return VAR_3\n"
] | [
"def fixTypingErrors(name):...\n",
"name = name.lower()\n",
"if name == 'guiness':\n",
"name = 'guinness'\n",
"return name\n"
] | [
0,
0,
0,
0,
0
] | [
"FunctionDef'",
"Assign'",
"Condition",
"Assign'",
"Return'"
] |
[
"@rt.switch_runtime(fixtures.TEST_SITE_CONFIG, 'sys0')...\n",
"VAR_29 = CLASS_3.Node\n",
"VAR_30 = CLASS_3.has_edge\n",
"VAR_31 = CLASS_3.num_deps\n",
"VAR_32 = CLASS_3.find_check\n",
"VAR_25 = CLASS_3.find_case\n",
"VAR_0 = self.loader.load_all()\n",
"VAR_14 = executors.generate_testcases(VAR_0)\n",
... | [
"@rt.switch_runtime(fixtures.TEST_SITE_CONFIG, 'sys0')...\n",
"Node = TestDependencies.Node\n",
"has_edge = TestDependencies.has_edge\n",
"num_deps = TestDependencies.num_deps\n",
"find_check = TestDependencies.find_check\n",
"find_case = TestDependencies.find_case\n",
"checks = self.loader.load_all()\n... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
"Condition",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Assign'",
"Expr'",
"Assign'",
"Expr'",
"Assert'",
"For",
"For",
"Assert'",
"For",
"Assert'",
"Assert'",
"For",
"For",
"Assert'",
"Assert'",
"For",
"Assert'",
"Assert'",
"Ass... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.