query_name
stringlengths
13
55
code_file_path
stringlengths
14
194
context_blocks
list
answer_spans
list
supporting_fact_spans
list
example_type
int8
0
1
single_hop
bool
2 classes
subtokenized_input_sequence
list
label_sequence
list
Unused local variable
brack3t/Djrill/djrill/tests/test_mandrill_webhook.py
[ { "content": " def test_post_request_invalid_json(self):\n response = self.client.post('/webhook/?secret=abc123')\n self.assertEqual(response.status_code, 400)", "metadata": "root.DjrillWebhookViewTests.test_post_request_invalid_json", "header": "['class', 'DjrillWebhookViewTests', '(',...
[]
[]
0
true
[ "[CLS]_", "Un", "used_", "local_", "variable_", "[SEP]_", "class_", "Dj", "rill", "Web", "hook", "View", "Tests_", "(_", "Test", "Case_", ")_", ":_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "\\u\\u\\uDEDENT\\u\\u\\u_", "def_", "test\\u", "post", "\\u", "r...
[ 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
First parameter of a method is not named 'self'
kvh/ramp/ramp/selectors.py
[ { "content": " def sets_cv(self, x, y):\n totals = [0]*len(x.columns)\n if self.min:\n totals = [1000] * len(x.columns)\n i = 0\n for train, test in cross_validation.KFold(n=len(y), k=4):\n i += 1\n logging.info(\"RF selector computing importances ...
[]
[]
0
true
[ "[CLS]_", "First_", "parameter_", "of_", "a_", "method_", "is_", "not_", "named_", "'", "self", "'_", "[SEP]_", "class_", "Random", "Fore", "st", "Selector_", "(_", "Selector_", ")_", ":_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "\\u\\u\\uDEDENT\\u\\u\\u_"...
[ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Unused local variable
pantsbuild/pex/tests/test_pex_binary.py
[ { "content": "def test_clp_no_pypi_option():\n with parser_pair() as (builder, parser):\n configure_clp_pex_resolution(parser, builder)\n assert len(builder._fetchers) == 1\n options, _ = parser.parse_args(args=['--no-pypi'])\n assert len(builder._fetchers) == 0, '--no-pypi should remove fetchers.'...
[]
[]
0
true
[ "[CLS]_", "Un", "used_", "local_", "variable_", "[SEP]_", "module_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "\\u\\u\\uDEDENT\\u\\u\\u_", "def_", "test\\u", "cl", "p", "\\u", "no", "\\u", "pypi", "\\u", "option_", "(_", ")_", ":_", "\\u\\u\\uNEWLINE\\u\\u\\u_...
[ 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Comparison of constants
GoogleCloudPlatform/gcloud-python/scripts/run_pylint.py
[ { "content": "def is_production_filename(filename):\n \"\"\"Checks if the file contains production code.\n\n :rtype: bool\n :returns: Boolean indicating production status.\n \"\"\"\n return 'test' not in filename and 'docs' not in filename", "metadata": "root.is_production_filename", "hea...
[]
[]
0
true
[ "[CLS]_", "Compari", "son_", "of_", "constants_", "[SEP]_", "module_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "\\u\\u\\uDEDENT\\u\\u\\u_", "def_", "is", "\\u", "producti", "on", "\\u", "filename_", "(_", "filename_", ")_", ":_", "\\u\\u\\uNEWLINE\\u\\u\\u_", "...
[ 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Unused local variable
home-assistant/home-assistant/homeassistant/components/sensor/temper.py
[ { "content": " @property\n def state(self):\n \"\"\"Return the state of the entity.\"\"\"\n return self.current_value", "metadata": "root.TemperSensor.state", "header": "['class', 'TemperSensor', '(', 'Entity', ')', ':', '___EOS___']", "index": 45 } ]
[]
[]
0
true
[ "[CLS]_", "Un", "used_", "local_", "variable_", "[SEP]_", "class_", "Tempe", "r", "Sensor_", "(_", "Entity_", ")_", ":_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "\\u\\u\\uDEDENT\\u\\u\\u_", "@_", "property_", "\\u\\u\\uNEWLINE\\u\\u\\u_", "def_", "state_", "(_...
[ 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 ]
Unused import
openstack/cloudbase-init/cloudbaseinit/tests/osutils/test_windows.py
[ { "content": "# Copyright 2013 Cloudbase Solutions Srl\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n# not use this file except in compliance with the License. You may obtain\n# a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# ...
[]
[]
0
false
[ "[CLS]_", "Un", "used_", "import_", "[SEP]_", "module_", "\\u\\u\\uEOS\\u\\u\\u_", "#", " ", "Copy", "right", " ", "2013", " ", "Cloud", "base", " ", "Solut", "ion", "s", " ", "Sr", "l_", "\\u\\u\\uNL\\u\\u\\u_", "#", "_", "\\u\\u\\uNL\\u\\u\\u_", "#", " ", ...
[ 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Comparison of identical values
ggventurini/python-deltasigma/deltasigma/_logsmooth.py
[ { "content": "def logsmooth(X, inBin, nbin=8, n=3):\n \"\"\"Smooth the FFT and convert it to dB.\n\n **Parameters:**\n\n X : (N,) ndarray\n The FFT data.\n\n inBin : int\n The bin index of the input sine wave (if any).\n\n nbin : int, optional\n The number of bins on which th...
[]
[]
0
true
[ "[CLS]_", "Compari", "son_", "of_", "identical_", "values_", "[SEP]_", "module_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "def_", "logs", "moo", "th_", "(_", "X_", ",_", "in", "Bin_", ",_", "nbin", "_", "=_", "8_", ",_", "n_", "=_", "3_", ")_", ":...
[ 4, 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Unused local variable
ofa/connect/open_connect/accounts/forms.py
[ { "content": "class UserImageForm(forms.ModelForm):\n \"\"\"Form for GroupImage model.\"\"\"\n image = forms.ImageField(required=False)\n\n class Meta(object):\n \"\"\"Meta options.\"\"\"\n model = Image\n fields = ['image']", "metadata": "root.UserImageForm", "header": "['...
[]
[]
0
true
[ "[CLS]_", "Un", "used_", "local_", "variable_", "[SEP]_", "module_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "class_", "User", "Image", "Form_", "(_", "forms_", "._", "Model", "Form_", ")_", ":_", "\\u\\u\\uNEWLINE\\u\\u\\u_", "\\u\\u\\uINDENT\\u\\u\\u ", " _...
[ 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Unused local variable
agiliq/django-socialnews/socialnews/news/accounts.py
[ { "content": " def get(self, request, username):\n user = User.objects.get(username=username)\n try:\n key = PasswordResetKey.objects.get(user = user)\n except PasswordResetKey.DoesNotExist:\n return HttpResponseForbidden('The key you provided was wrong. Your passwo...
[]
[]
0
true
[ "[CLS]_", "Un", "used_", "local_", "variable_", "[SEP]_", "class_", "Reset", "Passw", "ord", "Done_", "(_", "View_", ")_", ":_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "def_", "get_", "(_", "self_", ",_", "request_", ",_", "username_", ")_", ":_", "\...
[ 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Unused import
batiste/django-page-cms/pages/tests/test_selenium.py
[ { "content": "# -*- coding: utf-8 -*-\n\"\"\"Django page CMS selemium test module\"\"\"\nfrom pages.models import Page\nfrom pages.tests.testcase import TestCase\nfrom pages import settings\nfrom django.core.urlresolvers import reverse\nfrom django.test import LiveServerTestCase\nfrom django.contrib import auth...
[]
[]
0
false
[ "[CLS]_", "Un", "used_", "import_", "[SEP]_", "module_", "\\u\\u\\uEOS\\u\\u\\u_", "#", " ", "-*-", " ", "codi", "ng", ":", " ", "utf", "-", "8", " ", "-*-", "_", "\\u\\u\\uNL\\u\\u\\u_", "\"\"\"", "Dj", "ang", "o", " ", "page", " ", "CMS", " ", "sele", ...
[ 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Except block handles 'BaseException'
lisa-lab/pylearn2/pylearn2/models/kmeans.py
[ { "content": "\"\"\"K-means as a postprocessing Block subclass.\"\"\"\n\nimport logging\nimport numpy\nfrom theano.compat.six.moves import xrange\nfrom pylearn2.blocks import Block\nfrom pylearn2.models.model import Model\nfrom pylearn2.space import VectorSpace\nfrom pylearn2.utils import sharedX\nfrom pylearn2...
[]
[]
0
true
[ "[CLS]_", "Except", "_", "block_", "handles_", "'", "Base", "Except", "ion", "'_", "[SEP]_", "module_", "\\u\\u\\uEOS\\u\\u\\u_", "\"\"\"", "K", "-", "means", " ", "as", " ", "a", " ", "postprocess", "ing", " ", "Block", " ", "subclass", ".\"\"\"_", "\\u\\u\...
[ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Unused local variable
twitter/pycascading/python/pycascading/cogroup.py
[ { "content": " def __create_args(self,\n group_name=None,\n pipes=None, group_fields=None, declared_fields=None,\n result_group_fields=None, joiner=None,\n pipe=None, num_self_joins=None,\n lhs=None, lhs_...
[]
[]
0
true
[ "[CLS]_", "Un", "used_", "local_", "variable_", "[SEP]_", "class_", "Co", "Group_", "(_", "Operation_", ")_", ":_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "\\u\\u\\uDEDENT\\u\\u\\u_", "def_", "\\u\\u", "create", "\\u", "args_", "(_", "self_", ",_", "\\u\\u...
[ 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Unused local variable
awslabs/lambda-apigateway-twilio-tutorial/twilio/rest/resources/recordings.py
[ { "content": "class Recordings(ListResource):\n\n name = \"Recordings\"\n instance = Recording\n\n", "metadata": "root.Recordings", "header": "['module', '___EOS___']", "index": 24 } ]
[]
[]
0
true
[ "[CLS]_", "Un", "used_", "local_", "variable_", "[SEP]_", "module_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "\\u\\u\\uDEDENT\\u\\u\\u_", "\\u\\u\\uDEDENT\\u\\u\\u_", "class_", "Record", "ings_", "(_", "List", "Resource_", ")_", ":_", "\\u\\u\\uNEWLINE\\u\\u\\u_", ...
[ 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 ]
Unused import
aparo/pyes/tests/test_percolator.py
[ { "content": "# -*- coding: utf-8 -*-\nfrom __future__ import absolute_import\nimport unittest\nfrom pyes.tests import ESTestCase\nfrom pyes.query import *\nimport unittest\n\n\n\nif __name__ == \"__main__\":\n unittest.main()\n", "metadata": "root", "header": "['module', '___EOS___']", "index": ...
[]
[]
0
false
[ "[CLS]_", "Un", "used_", "import_", "[SEP]_", "module_", "\\u\\u\\uEOS\\u\\u\\u_", "#", " ", "-*-", " ", "codi", "ng", ":", " ", "utf", "-", "8", " ", "-*-", "_", "\\u\\u\\uNL\\u\\u\\u_", "from_", "\\u\\u", "future\\u\\u_", "import_", "abs", "olute", "\\u", ...
[ 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Unused import
adblockplus/gyp/test/gyp-defines/gyptest-multiple-values.py
[ { "content": "#!/usr/bin/env python\n\n# Copyright (c) 2012 Google Inc. All rights reserved.\n# Use of this source code is governed by a BSD-style license that can be\n# found in the LICENSE file.\n\n\"\"\"\nVerifies that when multiple values are supplied for a gyp define, the last one\nis used.\n\"\"\"\n\nimpo...
[]
[]
0
false
[ "[CLS]_", "Un", "used_", "import_", "[SEP]_", "module_", "\\u\\u\\uEOS\\u\\u\\u_", "#!", "/", "usr", "/", "bin", "/", "env", " ", "python_", "\\u\\u\\uNL\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "#", " ", "Copy", "right", " ", "(", "c", ")", " ", "2012", " ", "G...
[ 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Signature mismatch in overriding method
RoseOu/flasky/venv/lib/python2.7/site-packages/gunicorn/app/pasterapp.py
[ { "content": "class PasterBaseApplication(Application):\n gcfg = None\n\n", "metadata": "root.PasterBaseApplication", "header": "['module', '___EOS___']", "index": 70 }, { "content": " def app_config(self):\n return paste_config(self.cfg, self.cfgurl, self.relpath,\n ...
[]
[]
0
false
[ "[CLS]_", "Signature_", "mismatch_", "in_", "overrid", "ing_", "method_", "[SEP]_", "module_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "\\u\\u\\uDEDENT\\u\\u\\u_", "class_", "Past", "er", "Base", "Application_", "(_", "Application_", ")_", ":_", "\\u\\u\\uNEWLINE...
[ 4, 4, 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Wrong number of arguments in a call
gregmuellegger/django-autofixture/autofixture/base.py
[ { "content": " def process_field(self, instance, field):\n value = self.get_value(field)\n if value is self.IGNORE_FIELD:\n return\n setattr(instance, field.name, value)", "metadata": "root.AutoFixtureBase.process_field", "header": "['class', 'AutoFixtureBase', '(', 'o...
[]
[]
0
false
[ "[CLS]_", "Wro", "ng_", "number_", "of_", "arguments_", "in_", "a_", "call_", "[SEP]_", "class_", "Auto", "Fix", "ture", "Base_", "(_", "object_", ")_", ":_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "\\u\\u\\uDEDENT\\u\\u\\u_", "def_", "process", "\\u", "...
[ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Comparison of constants
cloudera/hue/apps/oozie/src/oozie/utils.py
[ { "content": "def smart_path(path, mapping, is_coordinator=False):\n # Try to prepend home_dir and FS scheme if needed.\n # If path starts by a parameter try to get its value from the list of parameters submitted by the user or the coordinator.\n # This dynamic checking enable the use of <prepares> statement...
[]
[]
0
true
[ "[CLS]_", "Compari", "son_", "of_", "constants_", "[SEP]_", "module_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "\\u\\u\\uDEDENT\\u\\u\\u_", "def_", "smart", "\\u", "path_", "(_", "path_", ",_", "mapping_", ",_", "is", "\\u", "coordinator", "_", "=_", "False...
[ 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Use of the return value of a procedure
gdanezis/petlib/examples/tormedian.py
[ { "content": " def dump(self):\n from cStringIO import StringIO\n from struct import pack\n\n dst = StringIO()\n dst.write(pack(\"II\", self.d, self.w))\n\n for di in range(self.d):\n for wi in range(self.w):\n ba = self.store[di][wi].a.export()\n ...
[]
[]
0
false
[ "[CLS]_", "Use_", "of_", "the_", "return_", "value_", "of_", "a_", "procedure_", "[SEP]_", "class_", "Count", "Sketch", "Ct", "_", "(_", "object_", ")_", ":_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "\\u\\u\\uDEDENT\\u\\u\\u_", "def_", "dump_", "(_", "se...
[ 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Unused import
natano/python-git-orm/git_orm/__init__.py
[ { "content": "__version__ = '0.4'\n__author__ = 'Martin Natano <natano@natano.net>'\n\n\n_repository = None\n_branch = 'git-orm'\n_remote = 'origin'\n\n\n\n\n\n\n\n\n\n\n", "metadata": "root", "header": "['module', '___EOS___']", "index": 0 }, { "content": "class GitError(Exception): pass", ...
[]
[]
0
false
[ "[CLS]_", "Un", "used_", "import_", "[SEP]_", "module_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u", "version\\u\\u_", "=_", "'", "0.", "4", "'_", "\\u\\u\\uNEWLINE\\u\\u\\u_", "\\u\\u", "author\\u\\u_", "=_", "'", "Mart", "in", " ", "Nat", "ano", " ", "<", "nat", "ano"...
[ 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...
Unused local variable
AppScale/appscale/AppServer/lib/django-1.5/django/utils/regex_helper.py
[ { "content": "def flatten_result(source):\n \"\"\"\n Turns the given source sequence into a list of reg-exp possibilities and\n their arguments. Returns a list of strings and a list of argument lists.\n Each of the two lists will be of the same length.\n \"\"\"\n if source is None:\n re...
[]
[]
0
true
[ "[CLS]_", "Un", "used_", "local_", "variable_", "[SEP]_", "module_", "\\u\\u\\uEOS\\u\\u\\u_", "\\u\\u\\uNL\\u\\u\\u_", "\\u\\u\\uDEDENT\\u\\u\\u_", "def_", "flat", "ten", "\\u", "result_", "(_", "source_", ")_", ":_", "\\u\\u\\uNEWLINE\\u\\u\\u_", "\\u\\u\\uINDENT\\u\\u\\u "...
[ 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2...