code stringlengths 1 1.49M | file_id stringlengths 42 46 | node_count int64 0 7.38k | total_lines int64 1 20.9k | vector_dim int64 15 15 | vector_labels stringclasses 1
value | nodes stringlengths 2 3.75M | connections stringlengths 2 964k |
|---|---|---|---|---|---|---|---|
#!/usr/bin/env python
array = [
{
'abbr': 'AL',
'name': 'Alabama',
'parties': {
'dem': { 'date': '02-05' },
'gop': { 'date': '02-05' }
}
},
{
'abbr': 'AK',
'name': 'Alaska',
'parties': {
'dem': { 'date': '02-05', 'type': 'caucus' },
'gop': { 'date': '02-05', 'type': 'caucus' }
}
},
{
... | ajibawa-2023/Python-Code-Large/train/row_96585 | 7 | 435 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96585:Assign_L3_C0", "label": "array =", "type": "assigned_variable", "loc": [3, 427], "level": 0, "parent": null, "vector": [14, 0, 0.4943, 0.977, 0, 0.66, 0.0, 80, 0, 0, 0, 0, 0, 5, 0], "semantic": {"name": "array", "arg_names": [], "import_names": [], "rhs_call_name"... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96585:For_L430_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96585:Assign_L431_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96585:For_L434_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96585:Assign_L435_C1"}] |
#!/usr/bin/env python
# shpUtils.py
# Original version by Zachary Forest Johnson
# http://indiemaps.com/blog/index.php/code/pyShapefile.txt
# This version modified by Michael Geary
from struct import unpack
import dbfUtils
XY_POINT_RECORD_LENGTH = 16
db = []
def loadShapefile( filename ):
# open dbf file and get fe... | ajibawa-2023/Python-Code-Large/train/row_96586 | 140 | 190 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96586:ImportFrom_L8_C0", "label": "from struct import unpack", "type": "import", "loc": [8, 8], "level": 0, "parent": null, "vector": [1, 0, 0.0421, 0.0053, 0, 0.66, 0.0, 399, 0, 1, 0, 0, 399, 0, 0], "semantic": {"name": "struct", "arg_names": [], "import_names": ["unpa... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96586:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96586:Assign_L16_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96586:FunctionDef_L13_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96586:Assign_L17_C1"}, {"f": "ajibawa-2023/Python-Co... |
#!/usr/bin/env python
# makepolys.py
import codecs
import json
import math
import os
import random
import re
import shutil
import stat
import sys
import time
from geo import Geo
import shpUtils
import states
#states = json.load( open('states.json') )
jsonpath = 'json'
shapespath = 'shapefiles'
geo = Geo()
keysep ... | ajibawa-2023/Python-Code-Large/train/row_96587 | 116 | 249 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96587:Import_L5_C0", "label": "codecs import codecs", "type": "import", "loc": [5, 5], "level": 0, "parent": null, "vector": [1, 0, 0.0201, 0.004, 0, 0.66, 0.0, 220, 0, 1, 0, 0, 220, 0, 0], "semantic": {"name": "codecs", "arg_names": [], "import_names": ["codecs"], "rhs... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96587:FunctionDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96587:Expr_L48_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96587:FunctionDef_L47_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96587:Assign_L49_C1"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
# dbfUtils.py
# By Raymond Hettinger
# http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362715
import struct, datetime, decimal, itertools
def dbfreader(f):
"""Returns an iterator over records in a Xbase DBF file.
The first row returned contains the field names.
The second row contai... | ajibawa-2023/Python-Code-Large/train/row_96588 | 64 | 119 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96588:Import_L7_C0", "label": "struct import struct, datetime, decimal\u2026", "type": "import", "loc": [7, 7], "level": 0, "parent": null, "vector": [1, 0, 0.0588, 0.0084, 0, 0.66, 0.0, 399, 0, 4, 0, 0, 399, 0, 0], "semantic": {"name": "struct", "arg_names": [], "impor... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96588:FunctionDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96588:Expr_L10_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96588:FunctionDef_L9_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96588:Assign_L23_C1"}, {"f": "ajibawa-2023/Python-Code-L... |
#!/usr/bin/env python
# get-strings.py
# By Michael Geary - http://mg.to/
# See UNLICENSE or http://unlicense.org/ for public domain notice.
# Reads the JSON feed for a Google Docs spreadsheet containing the
# localized strings for the Google Election Center gadget, then writes
# the strings for each language into a ... | ajibawa-2023/Python-Code-Large/train/row_96589 | 18 | 41 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96589:Import_L20_C0", "label": "json import json, re, urllib2", "type": "import", "loc": [20, 20], "level": 0, "parent": null, "vector": [1, 0, 0.4878, 0.0244, 0, 0.66, 0.0, 463, 0, 3, 0, 0, 463, 0, 0], "semantic": {"name": "json", "arg_names": [], "import_names": ["jso... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96589:For_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96589:Assign_L29_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96589:For_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96589:For_L30_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_... |
#!/usr/bin/env python
# coding: utf-8
# make-hi.py - special HI processing for 2010
# Copyright (c) 2010 Michael Geary - http://mg.to/
# Use under either the MIT or GPL license
# http://www.opensource.org/licenses/mit-license.php
# http://www.opensource.org/licenses/gpl-2.0.php
import re
def convert( input, output )... | ajibawa-2023/Python-Code-Large/train/row_96590 | 22 | 34 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96590:Import_L10_C0", "label": "re import re", "type": "import", "loc": [10, 10], "level": 0, "parent": null, "vector": [1, 0, 0.2941, 0.0294, 0, 0.66, 0.0, 540, 0, 1, 0, 0, 540, 0, 0], "semantic": {"name": "re", "arg_names": [], "import_names": ["re"], "rhs_call_name":... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96590:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96590:Expr_L13_C1"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96590:FunctionDef_L12_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96590:Assign_L14_C1"}, {"f": "ajibawa-2023/Python-Code... |
# Orthanc - A Lightweight, RESTful DICOM Store
# Copyright (C) 2012-2015 Sebastien Jodogne, Medical Physics
# Department, University Hospital of Liege, Belgium
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU Affero General Public License
# as published by the Fre... | ajibawa-2023/Python-Code-Large/train/row_96591 | 133 | 391 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96591:Import_L19_C0", "label": "sys import sys", "type": "import", "loc": [19, 19], "level": 0, "parent": null, "vector": [1, 0, 0.0486, 0.0026, 0, 0.66, 0.0, 509, 0, 1, 0, 0, 509, 0, 0], "semantic": {"name": "sys", "arg_names": [], "import_names": ["sys"], "rhs_call_na... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96591:For_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96591:If_L28_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96591:If_L28_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_96591:Expr_L29_C8"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_9659... |
#!/usr/bin/env python
#
# Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96592 | 315 | 731 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96592:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0233, 0.0014, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96592:ClassDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96592:Expr_L47_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96592:ClassDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96592:FunctionDef_L53_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96595 | 14 | 97 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96595:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.1753, 0.0103, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96595:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96595:Expr_L48_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96595:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96595:If_L76_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96596 | 26 | 101 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96596:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 25], "level": 0, "parent": null, "vector": [8, 0, 0.2079, 0.0891, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96596:Try_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96596:ImportFrom_L37_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96596:Try_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96596:Assign_L39_C2"}, {"f": "ajibawa-2023/Python-Code-Large/tra... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96597 | 55 | 185 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96597:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0919, 0.0054, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96597:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96597:Expr_L31_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96597:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96597:FunctionDef_L42_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96599 | 0 | 16 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [] | [] |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96600 | 55 | 185 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96600:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0919, 0.0054, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96600:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96600:Expr_L31_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96600:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96600:FunctionDef_L42_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96601 | 226 | 593 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96601:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0287, 0.0017, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96601:ClassDef_L54_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96601:Expr_L55_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96601:ClassDef_L54_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96601:FunctionDef_L73_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96602 | 324 | 879 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96602:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 22], "level": 0, "parent": null, "vector": [8, 0, 0.0222, 0.0068, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96602:Try_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96602:Import_L40_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96602:Try_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96602:ImportFrom_L42_C2"}, {"f": "ajibawa-2023/Python-Code-Large/tra... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96603 | 14 | 95 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96603:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.1789, 0.0105, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96603:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96603:Expr_L48_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96603:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96603:If_L74_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
#!/usr/bin/env python
#
# Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96605 | 33 | 110 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96605:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.1545, 0.0091, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96605:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96605:Expr_L30_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96605:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96605:Assign_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96607 | 15 | 94 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96607:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.1809, 0.0106, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96607:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96607:Expr_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96607:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96607:FunctionDef_L31_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96608 | 91 | 175 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96608:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 18], "level": 0, "parent": null, "vector": [8, 0, 0.1, 0.0114, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96608:Try_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96608:ImportFrom_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96608:Try_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96608:Assign_L29_C2"}, {"f": "ajibawa-2023/Python-Code-Large/tra... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96610 | 134 | 396 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96610:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0429, 0.0025, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96610:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96610:Expr_L38_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96610:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96610:Assign_L45_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
#
# Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96611 | 33 | 110 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96611:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.1545, 0.0091, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96611:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96611:Expr_L30_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96611:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96611:Assign_L46_C2"}, {"f": "ajibawa-2023/Python-Code-Large... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96612 | 14 | 97 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96612:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.1753, 0.0103, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96612:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96612:Expr_L48_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96612:FunctionDef_L34_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96612:If_L76_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96613 | 0 | 16 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [] | [] |
#!/usr/bin/env python
#
# Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96614 | 315 | 731 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96614:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0233, 0.0014, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96614:ClassDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96614:Expr_L47_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96614:ClassDef_L46_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96614:FunctionDef_L53_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96615 | 15 | 94 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96615:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.1809, 0.0106, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96615:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96615:Expr_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96615:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96615:FunctionDef_L31_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96616 | 93 | 178 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96616:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 18], "level": 0, "parent": null, "vector": [8, 0, 0.0983, 0.0112, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96616:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96616:Import_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96616:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96616:ImportFrom_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/tra... |
#!/usr/bin/env python
#
# Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96617 | 41 | 165 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96617:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.103, 0.0061, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96617:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96617:Expr_L45_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96617:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96617:FunctionDef_L61_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96619 | 324 | 879 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96619:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 22], "level": 0, "parent": null, "vector": [8, 0, 0.0222, 0.0068, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96619:Try_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96619:Import_L40_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96619:Try_L39_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96619:ImportFrom_L42_C2"}, {"f": "ajibawa-2023/Python-Code-Large/tra... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96620 | 63 | 139 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96620:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.1223, 0.0072, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96620:FunctionDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96620:Expr_L32_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96620:FunctionDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96620:Assign_L41_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96621 | 55 | 185 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96621:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0919, 0.0054, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96621:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96621:Expr_L31_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96621:ClassDef_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96621:FunctionDef_L42_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96622 | 226 | 593 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96622:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0287, 0.0017, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96622:ClassDef_L54_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96622:Expr_L55_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96622:ClassDef_L54_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96622:FunctionDef_L73_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96624 | 30 | 109 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96624:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 25], "level": 0, "parent": null, "vector": [8, 0, 0.1927, 0.0826, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96624:Try_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96624:ImportFrom_L37_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96624:Try_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96624:Assign_L39_C2"}, {"f": "ajibawa-2023/Python-Code-Large/tra... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96625 | 123 | 304 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96625:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 22], "level": 0, "parent": null, "vector": [8, 0, 0.0641, 0.0197, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96625:FunctionDef_L49_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96625:Expr_L50_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96625:FunctionDef_L49_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96625:If_L52_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96626 | 127 | 324 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96626:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0525, 0.0031, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96626:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96626:Expr_L41_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96626:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96626:Assign_L66_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
#
# Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96627 | 18 | 62 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96627:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.2742, 0.0161, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96627:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96627:Expr_L33_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96627:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96627:Expr_L37_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t... |
#!/usr/bin/env python
#
# Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96628 | 20 | 84 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96628:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.2024, 0.0119, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96628:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96628:Expr_L29_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96628:ClassDef_L28_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96628:Assign_L45_C2"}, {"f": "ajibawa-2023/Python-Code-Large... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96629 | 134 | 396 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96629:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0429, 0.0025, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96629:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96629:Expr_L38_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96629:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96629:Assign_L45_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96630 | 123 | 304 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96630:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 22], "level": 0, "parent": null, "vector": [8, 0, 0.0641, 0.0197, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96630:FunctionDef_L49_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96630:Expr_L50_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96630:FunctionDef_L49_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96630:If_L52_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96631 | 127 | 324 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96631:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0525, 0.0031, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96631:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96631:Expr_L41_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96631:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96631:Assign_L66_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96632 | 208 | 557 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96632:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0305, 0.0018, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96632:ClassDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96632:Expr_L51_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96632:ClassDef_L50_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96632:FunctionDef_L69_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96633 | 127 | 324 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96633:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0525, 0.0031, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96633:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96633:Expr_L41_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96633:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96633:Assign_L66_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96634 | 12 | 46 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96634:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.3696, 0.0217, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96634:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96634:Expr_L28_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96634:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96634:FunctionDef_L30_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96635 | 5 | 31 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96635:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 22], "level": 0, "parent": null, "vector": [8, 0, 0.629, 0.1935, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot... | [] |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96636 | 19 | 72 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96636:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.2361, 0.0139, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96636:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96636:Expr_L30_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96636:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96636:FunctionDef_L35_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96637 | 5 | 33 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96637:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.5152, 0.0303, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96637:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96637:Expr_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96637:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96637:FunctionDef_L31_C2"}] |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96638 | 12 | 46 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96638:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.3696, 0.0217, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96638:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96638:Expr_L28_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96638:ClassDef_L27_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96638:FunctionDef_L30_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96639 | 19 | 72 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96639:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.2361, 0.0139, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96639:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96639:Expr_L30_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96639:ClassDef_L29_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96639:FunctionDef_L35_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96640 | 5 | 33 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96640:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.5152, 0.0303, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96640:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96640:Expr_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96640:ClassDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96640:FunctionDef_L31_C2"}] |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96641 | 5 | 31 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96641:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 22], "level": 0, "parent": null, "vector": [8, 0, 0.629, 0.1935, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot... | [] |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96642 | 43 | 125 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96642:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 25], "level": 0, "parent": null, "vector": [8, 0, 0.168, 0.072, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96642:Try_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96642:ImportFrom_L37_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96642:Try_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96642:Assign_L39_C2"}, {"f": "ajibawa-2023/Python-Code-Large/tra... |
#!/usr/bin/env python
#
# Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96643 | 18 | 62 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96643:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.2742, 0.0161, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96643:ClassDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96643:Expr_L33_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96643:ClassDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96643:Expr_L37_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t... |
#!/usr/bin/env python
#
# Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96644 | 48 | 194 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96644:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0876, 0.0052, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96644:ClassDef_L38_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96644:Expr_L39_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96644:ClassDef_L38_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96644:FunctionDef_L55_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96645 | 93 | 178 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96645:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 18], "level": 0, "parent": null, "vector": [8, 0, 0.0983, 0.0112, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96645:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96645:Import_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96645:Try_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96645:ImportFrom_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/tra... |
#!/usr/bin/env python
#
# Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96646 | 16 | 56 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96646:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.3036, 0.0179, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96646:ClassDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96646:Expr_L32_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96646:ClassDef_L35_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96646:Expr_L36_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96647 | 0 | 16 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [] | [] |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96648 | 134 | 396 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96648:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0429, 0.0025, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96648:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96648:Expr_L38_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96648:FunctionDef_L36_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96648:Assign_L45_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
#
# Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96649 | 41 | 165 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96649:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.103, 0.0061, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96649:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96649:Expr_L45_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96649:ClassDef_L44_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96649:FunctionDef_L61_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96650 | 123 | 304 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96650:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 22], "level": 0, "parent": null, "vector": [8, 0, 0.0641, 0.0197, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96650:FunctionDef_L49_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96650:Expr_L50_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96650:FunctionDef_L49_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96650:If_L52_C2"}, {"f": "ajibawa-2023/Python-Code-Lar... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96652 | 61 | 135 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96652:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.1259, 0.0074, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96652:FunctionDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96652:Expr_L32_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96652:FunctionDef_L31_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96652:Assign_L41_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
#
# Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96653 | 198 | 444 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96653:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0383, 0.0023, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96653:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96653:Expr_L44_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96653:ClassDef_L43_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96653:FunctionDef_L50_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2007 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96654 | 247 | 690 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96654:Expr_L24_C0", "label": "expression", "type": "expression", "loc": [24, 24], "level": 0, "parent": null, "vector": [8, 0, 0.0348, 0.0014, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96654:Try_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96654:Import_L31_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96654:Try_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96654:Try_L33_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_... |
#!/usr/bin/env python
#
# Copyright 2007 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96655 | 247 | 690 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96655:Expr_L24_C0", "label": "expression", "type": "expression", "loc": [24, 24], "level": 0, "parent": null, "vector": [8, 0, 0.0348, 0.0014, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96655:Try_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96655:Import_L31_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96655:Try_L30_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96655:Try_L33_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96656 | 0 | 15 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [] | [] |
#!/usr/bin/env python
"""Implementation of JSONEncoder
"""
import re
try:
from mapreduce.lib.simplejson._speedups import encode_basestring_ascii as c_encode_basestring_ascii
except ImportError:
c_encode_basestring_ascii = None
try:
from mapreduce.lib.simplejson._speedups import make_encoder as c_make_encod... | ajibawa-2023/Python-Code-Large/train/row_96657 | 229 | 432 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96657:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 3], "level": 0, "parent": null, "vector": [8, 0, 0.0058, 0.0046, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96657:Try_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96657:ImportFrom_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96657:Try_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96657:Assign_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r... |
#!/usr/bin/env python
"""Implementation of JSONEncoder
"""
import re
try:
from mapreduce.lib.simplejson._speedups import encode_basestring_ascii as c_encode_basestring_ascii
except ImportError:
c_encode_basestring_ascii = None
try:
from mapreduce.lib.simplejson._speedups import make_encoder as c_make_encod... | ajibawa-2023/Python-Code-Large/train/row_96658 | 229 | 432 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96658:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 3], "level": 0, "parent": null, "vector": [8, 0, 0.0058, 0.0046, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96658:Try_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96658:ImportFrom_L7_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96658:Try_L6_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96658:Assign_L9_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r... |
#!/usr/bin/env python
r"""A simple, fast, extensible JSON encoder and decoder
JSON (JavaScript Object Notation) <http://json.org> is a subset of
JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data
interchange format.
simplejson exposes an API familiar to uses of the standard library
marshal and pickle... | ajibawa-2023/Python-Code-Large/train/row_96659 | 41 | 314 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96659:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 97], "level": 0, "parent": null, "vector": [8, 0, 0.1576, 0.3057, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96659:FunctionDef_L118_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96659:Expr_L121_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96659:FunctionDef_L118_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96659:If_L162_C4"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
"""JSON token scanner
"""
import re
try:
from mapreduce.lib.simplejson._speedups import make_scanner as c_make_scanner
except ImportError:
c_make_scanner = None
__all__ = ['make_scanner']
NUMBER_RE = re.compile(
r'(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?',
(re.VERBOSE | re.MULTI... | ajibawa-2023/Python-Code-Large/train/row_96661 | 48 | 66 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96661:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 3], "level": 0, "parent": null, "vector": [8, 0, 0.0379, 0.0303, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96661:Try_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96661:ImportFrom_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96661:Try_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96661:Assign_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r... |
#!/usr/bin/env python
r"""A simple, fast, extensible JSON encoder and decoder
JSON (JavaScript Object Notation) <http://json.org> is a subset of
JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data
interchange format.
simplejson exposes an API familiar to uses of the standard library
marshal and pickle... | ajibawa-2023/Python-Code-Large/train/row_96663 | 41 | 314 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96663:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 97], "level": 0, "parent": null, "vector": [8, 0, 0.1576, 0.3057, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96663:FunctionDef_L118_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96663:Expr_L121_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96663:FunctionDef_L118_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96663:If_L162_C4"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
"""JSON token scanner
"""
import re
try:
from mapreduce.lib.simplejson._speedups import make_scanner as c_make_scanner
except ImportError:
c_make_scanner = None
__all__ = ['make_scanner']
NUMBER_RE = re.compile(
r'(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?',
(re.VERBOSE | re.MULTI... | ajibawa-2023/Python-Code-Large/train/row_96664 | 48 | 66 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96664:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 3], "level": 0, "parent": null, "vector": [8, 0, 0.0379, 0.0303, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96664:Try_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96664:ImportFrom_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96664:Try_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96664:Assign_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/r... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96665 | 10 | 38 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96665:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 20], "level": 0, "parent": null, "vector": [8, 0, 0.4868, 0.1053, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96665:FunctionDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96665:Expr_L34_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96665:If_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96665:Expr_L38_C2"}] |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96666 | 89 | 211 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96666:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0806, 0.0047, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96666:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96666:Expr_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96666:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96666:Assign_L53_C2"}, {"f": "ajibawa-2023/Python-Code-Large... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96669 | 10 | 38 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96669:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 20], "level": 0, "parent": null, "vector": [8, 0, 0.4868, 0.1053, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96669:FunctionDef_L33_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96669:Expr_L34_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96669:If_L37_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96669:Expr_L38_C2"}] |
#!/usr/bin/env python
#
# Copyright 2009 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96670 | 39 | 92 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96670:Expr_L18_C0", "label": "expression", "type": "expression", "loc": [18, 18], "level": 0, "parent": null, "vector": [8, 0, 0.1957, 0.0109, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96670:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96670:Expr_L41_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96670:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96670:Assign_L42_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96672 | 23 | 109 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96672:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.156, 0.0092, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96672:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96672:Expr_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96672:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96672:Assign_L49_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96673 | 89 | 211 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96673:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0806, 0.0047, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96673:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96673:Expr_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96673:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96673:Assign_L53_C2"}, {"f": "ajibawa-2023/Python-Code-Large... |
#!/usr/bin/env python
"""Implementation of JSONEncoder
"""
import re
from decimal import Decimal
def _import_speedups():
try:
from mapreduce.lib.simplejson import _speedups
return _speedups.encode_basestring_ascii, _speedups.make_encoder
except ImportError:
return None, None
c_encode_ba... | ajibawa-2023/Python-Code-Large/train/row_96674 | 261 | 501 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96674:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 3], "level": 0, "parent": null, "vector": [8, 0, 0.005, 0.004, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96674:FunctionDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96674:Try_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96674:Try_L8_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_96674:ImportFrom_L9_C8"}, {"f": "ajibawa-2023/Python-Code-Large/tr... |
#!/usr/bin/env python
"""Implementation of JSONEncoder
"""
import re
from decimal import Decimal
def _import_speedups():
try:
from mapreduce.lib.simplejson import _speedups
return _speedups.encode_basestring_ascii, _speedups.make_encoder
except ImportError:
return None, None
c_encode_ba... | ajibawa-2023/Python-Code-Large/train/row_96675 | 261 | 501 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96675:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 3], "level": 0, "parent": null, "vector": [8, 0, 0.005, 0.004, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotatio... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96675:FunctionDef_L7_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96675:Try_L8_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96675:Try_L8_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_96675:ImportFrom_L9_C8"}, {"f": "ajibawa-2023/Python-Code-Large/tr... |
#!/usr/bin/env python
r"""JSON (JavaScript Object Notation) <http://json.org> is a subset of
JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data
interchange format.
:mod:`simplejson` exposes an API familiar to users of the standard library
:mod:`marshal` and :mod:`pickle` modules. It is the externally ... | ajibawa-2023/Python-Code-Large/train/row_96676 | 76 | 438 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96676:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 100], "level": 0, "parent": null, "vector": [8, 0, 0.1164, 0.226, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96676:FunctionDef_L114_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96676:Import_L115_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96676:FunctionDef_L114_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96676:Try_L116_C4"}, {"f": "ajibawa-2023/Python-C... |
#!/usr/bin/env python
"""Drop-in replacement for collections.OrderedDict by Raymond Hettinger
http://code.activestate.com/recipes/576693/
"""
from UserDict import DictMixin
# Modified from original to support Python 2.4, see
# http://code.google.com/p/simplejson/issues/detail?id=53
try:
all
except NameError:
... | ajibawa-2023/Python-Code-Large/train/row_96679 | 85 | 120 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96679:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0333, 0.0417, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96679:Try_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96679:Expr_L12_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96679:Try_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96679:FunctionDef_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/trai... |
#!/usr/bin/env python
"""JSON token scanner
"""
import re
def _import_c_make_scanner():
try:
from mapreduce.lib.simplejson._speedups import make_scanner
return make_scanner
except ImportError:
return None
c_make_scanner = _import_c_make_scanner()
__all__ = ['make_scanner']
NUMBER_RE = ... | ajibawa-2023/Python-Code-Large/train/row_96680 | 57 | 78 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96680:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 3], "level": 0, "parent": null, "vector": [8, 0, 0.0321, 0.0256, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96680:FunctionDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96680:Try_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96680:Try_L6_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_96680:ImportFrom_L7_C8"}, {"f": "ajibawa-2023/Python-Code-Large/tr... |
#!/usr/bin/env python
r"""JSON (JavaScript Object Notation) <http://json.org> is a subset of
JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data
interchange format.
:mod:`simplejson` exposes an API familiar to users of the standard library
:mod:`marshal` and :mod:`pickle` modules. It is the externally ... | ajibawa-2023/Python-Code-Large/train/row_96682 | 76 | 438 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96682:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 100], "level": 0, "parent": null, "vector": [8, 0, 0.1164, 0.226, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annota... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96682:FunctionDef_L114_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96682:Import_L115_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96682:FunctionDef_L114_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96682:Try_L116_C4"}, {"f": "ajibawa-2023/Python-C... |
#!/usr/bin/env python
"""JSON token scanner
"""
import re
def _import_c_make_scanner():
try:
from mapreduce.lib.simplejson._speedups import make_scanner
return make_scanner
except ImportError:
return None
c_make_scanner = _import_c_make_scanner()
__all__ = ['make_scanner']
NUMBER_RE = ... | ajibawa-2023/Python-Code-Large/train/row_96684 | 57 | 78 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96684:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 3], "level": 0, "parent": null, "vector": [8, 0, 0.0321, 0.0256, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96684:FunctionDef_L5_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96684:Try_L6_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96684:Try_L6_C4", "t": "ajibawa-2023/Python-Code-Large/train/row_96684:ImportFrom_L7_C8"}, {"f": "ajibawa-2023/Python-Code-Large/tr... |
#!/usr/bin/env python
"""Drop-in replacement for collections.OrderedDict by Raymond Hettinger
http://code.activestate.com/recipes/576693/
"""
from UserDict import DictMixin
# Modified from original to support Python 2.4, see
# http://code.google.com/p/simplejson/issues/detail?id=53
try:
all
except NameError:
... | ajibawa-2023/Python-Code-Large/train/row_96685 | 85 | 120 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96685:Expr_L2_C0", "label": "expression", "type": "expression", "loc": [2, 6], "level": 0, "parent": null, "vector": [8, 0, 0.0333, 0.0417, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotat... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96685:Try_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96685:Expr_L12_C4"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96685:Try_L11_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96685:FunctionDef_L14_C4"}, {"f": "ajibawa-2023/Python-Code-Large/trai... |
#!/usr/bin/env python
#
# Copyright 2009 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96686 | 39 | 92 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96686:Expr_L18_C0", "label": "expression", "type": "expression", "loc": [18, 18], "level": 0, "parent": null, "vector": [8, 0, 0.1957, 0.0109, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96686:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96686:Expr_L41_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96686:FunctionDef_L40_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96686:Assign_L42_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
#
# Copyright 2010 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | ajibawa-2023/Python-Code-Large/train/row_96687 | 23 | 109 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96687:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.156, 0.0092, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96687:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96687:Expr_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96687:FunctionDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96687:Assign_L49_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | ajibawa-2023/Python-Code-Large/train/row_96691 | 43 | 122 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96691:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.1393, 0.0082, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96691:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96691:Expr_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96691:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96691:Assign_L48_C2"}, {"f": "ajibawa-2023/Python-Code-Large... |
#!/usr/bin/env python
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | ajibawa-2023/Python-Code-Large/train/row_96692 | 72 | 178 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96692:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0955, 0.0056, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96692:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96692:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96692:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96692:FunctionDef_L33_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | ajibawa-2023/Python-Code-Large/train/row_96693 | 77 | 171 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96693:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0994, 0.0058, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96693:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96693:Expr_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96693:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96693:FunctionDef_L32_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
__version__='1.0'
| ajibawa-2023/Python-Code-Large/train/row_96694 | 1 | 2 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96694:Assign_L2_C0", "label": "__version__ =", "type": "assigned_variable", "loc": [2, 2], "level": 0, "parent": null, "vector": [14, 0, 1.0, 0.5, 0, 0.66, 0.0, 162, 1, 0, 0, 0, 0, 3, 0], "semantic": {"name": "__version__", "arg_names": [], "import_names": [], "rhs_call... | [] |
#!/usr/bin/env python
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | ajibawa-2023/Python-Code-Large/train/row_96695 | 99 | 192 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96695:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 30], "level": 0, "parent": null, "vector": [8, 0, 0.1224, 0.0729, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96695:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96695:Expr_L33_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96695:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96695:Assign_L36_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | ajibawa-2023/Python-Code-Large/train/row_96696 | 166 | 412 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96696:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0413, 0.0024, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96696:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96696:Expr_L28_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96696:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96696:Assign_L39_C2"}, {"f": "ajibawa-2023/Python-Code-Large... |
#!/usr/bin/env python
def _IsColor(color):
"""Try to determine if color is a hex color string.
Labels that look like hex colors will match too, unfortunately."""
if not isinstance(color, basestring):
return False
color = color.strip('#')
if len(color) != 3 and len(color) != 6:
return False
hex_let... | ajibawa-2023/Python-Code-Large/train/row_96697 | 12 | 14 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96697:FunctionDef_L2_C0", "label": "_IsColor", "type": "function", "loc": [2, 14], "level": 0, "parent": null, "vector": [2, 0, 0.5714, 0.9286, 0, 0.66, 0.0, 459, 0, 1, 1, 0, 0, 0, 4], "semantic": {"name": "_IsColor", "arg_names": ["color"], "import_names": [], "rhs_cal... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96697:FunctionDef_L2_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96697:Expr_L3_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96697:FunctionDef_L2_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96697:If_L5_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t... |
#!/usr/bin/env python
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | ajibawa-2023/Python-Code-Large/train/row_96698 | 43 | 122 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96698:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.1393, 0.0082, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96698:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96698:Expr_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96698:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96698:Assign_L48_C2"}, {"f": "ajibawa-2023/Python-Code-Large... |
#!/usr/bin/env python
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | ajibawa-2023/Python-Code-Large/train/row_96699 | 99 | 192 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96699:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 30], "level": 0, "parent": null, "vector": [8, 0, 0.1224, 0.0729, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96699:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96699:Expr_L33_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96699:FunctionDef_L32_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96699:Assign_L36_C2"}, {"f": "ajibawa-2023/Python-Code... |
#!/usr/bin/env python
def _IsColor(color):
"""Try to determine if color is a hex color string.
Labels that look like hex colors will match too, unfortunately."""
if not isinstance(color, basestring):
return False
color = color.strip('#')
if len(color) != 3 and len(color) != 6:
return False
hex_let... | ajibawa-2023/Python-Code-Large/train/row_96700 | 12 | 14 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96700:FunctionDef_L2_C0", "label": "_IsColor", "type": "function", "loc": [2, 14], "level": 0, "parent": null, "vector": [2, 0, 0.5714, 0.9286, 0, 0.66, 0.0, 459, 0, 1, 1, 0, 0, 0, 4], "semantic": {"name": "_IsColor", "arg_names": ["color"], "import_names": [], "rhs_cal... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96700:FunctionDef_L2_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96700:Expr_L3_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96700:FunctionDef_L2_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96700:If_L5_C2"}, {"f": "ajibawa-2023/Python-Code-Large/t... |
#!/usr/bin/env python
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | ajibawa-2023/Python-Code-Large/train/row_96701 | 77 | 171 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96701:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0994, 0.0058, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96701:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96701:Expr_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96701:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96701:FunctionDef_L32_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | ajibawa-2023/Python-Code-Large/train/row_96702 | 166 | 412 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96702:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0413, 0.0024, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96702:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96702:Expr_L28_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96702:ClassDef_L26_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96702:Assign_L39_C2"}, {"f": "ajibawa-2023/Python-Code-Large... |
#!/usr/bin/env python
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | ajibawa-2023/Python-Code-Large/train/row_96703 | 72 | 178 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96703:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.0955, 0.0056, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "anno... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96703:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96703:Expr_L26_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96703:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96703:FunctionDef_L33_C2"}, {"f": "ajibawa-2023/Python-Code-... |
#!/usr/bin/env python
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | ajibawa-2023/Python-Code-Large/train/row_96704 | 16 | 50 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96704:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 17], "level": 0, "parent": null, "vector": [8, 0, 0.34, 0.02, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annotati... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96704:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96704:Expr_L25_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96704:FunctionDef_L24_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96704:FunctionDef_L30_C2"}, {"f": "ajibawa-2023/Python... |
#!/usr/bin/env python
#
# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | ajibawa-2023/Python-Code-Large/train/row_96705 | 257 | 430 | 15 | ["cat_id", "level", "center", "span", "parent_depth", "parent_weight", "sibling_index", "name_hash", "rhs_type", "arg_count", "return_type", "is_async", "module_hash", "value_type", "calls_count"] | [{"id": "ajibawa-2023/Python-Code-Large/train/row_96705:Expr_L17_C0", "label": "expression", "type": "expression", "loc": [17, 19], "level": 0, "parent": null, "vector": [8, 0, 0.0419, 0.007, 0, 0.66, 0.0, 0, 1, 0, 0, 0, 0, 0, 0], "semantic": {"name": "", "arg_names": [], "import_names": [], "rhs_call_name": "", "annot... | [{"f": "ajibawa-2023/Python-Code-Large/train/row_96705:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96705:Expr_L27_C2"}, {"f": "ajibawa-2023/Python-Code-Large/train/row_96705:ClassDef_L25_C0", "t": "ajibawa-2023/Python-Code-Large/train/row_96705:FunctionDef_L44_C2"}, {"f": "ajibawa-2023/Python-Code-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.