Dataset Viewer
Auto-converted to Parquet Duplicate
hexsha
stringlengths
40
40
size
int64
109
1.04M
ext
stringclasses
10 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
227
max_stars_repo_name
stringlengths
4
125
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
82.5k
max_stars_repo_stars_event_min_datetime
stringdate
2015-01-01 00:04:51
2022-03-31 21:53:07
max_stars_repo_stars_event_max_datetime
stringdate
2015-01-01 06:08:26
2022-03-31 23:57:44
max_issues_repo_path
stringlengths
3
225
max_issues_repo_name
stringlengths
4
125
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
116k
max_issues_repo_issues_event_min_datetime
stringdate
2015-01-01 00:00:47
2022-03-31 22:44:55
max_issues_repo_issues_event_max_datetime
stringdate
2015-01-01 16:29:55
2022-03-31 23:59:47
max_forks_repo_path
stringlengths
3
225
max_forks_repo_name
stringlengths
4
125
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
54.3k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
109
1.04M
avg_line_length
float64
5.17
98.7
max_line_length
int64
9
999
alphanum_fraction
float64
0.28
0.91
qsc_code_num_words_quality_signal
int64
30
182k
qsc_code_num_chars_quality_signal
float64
109
1.04M
qsc_code_mean_word_length_quality_signal
float64
2
9.97
qsc_code_frac_words_unique_quality_signal
float64
0.01
1
qsc_code_frac_chars_top_2grams_quality_signal
float64
0
0.2
qsc_code_frac_chars_top_3grams_quality_signal
float64
0
0.18
qsc_code_frac_chars_top_4grams_quality_signal
float64
0
0.16
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
0
0.8
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
0
0.7
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
0
0.7
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
0
0.7
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
0
0.69
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
0
0.6
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
0
0.01
qsc_code_frac_chars_digital_quality_signal
float64
0
0.2
qsc_code_frac_chars_whitespace_quality_signal
float64
0.01
0.5
qsc_code_size_file_byte_quality_signal
float64
109
1.04M
qsc_code_num_lines_quality_signal
float64
10
25.7k
qsc_code_num_chars_line_max_quality_signal
float64
10
1k
qsc_code_num_chars_line_mean_quality_signal
float64
5.19
98.7
qsc_code_frac_chars_alphabet_quality_signal
float64
0.5
1
qsc_code_frac_chars_comments_quality_signal
float64
0
0.8
qsc_code_cate_xml_start_quality_signal
float64
0
0
qsc_code_frac_lines_dupe_lines_quality_signal
float64
0
0.7
qsc_code_cate_autogen_quality_signal
float64
0
0
qsc_code_frac_lines_long_string_quality_signal
float64
0
0.2
qsc_code_frac_chars_string_length_quality_signal
float64
0
0.6
qsc_code_frac_chars_long_word_length_quality_signal
float64
0
0.4
qsc_code_frac_lines_string_concat_quality_signal
float64
0
0.42
qsc_code_cate_encoded_data_quality_signal
float64
0
0
qsc_code_frac_chars_hex_words_quality_signal
float64
0
0.33
qsc_code_frac_lines_prompt_comments_quality_signal
float64
0
0.01
qsc_code_frac_lines_assert_quality_signal
float64
0
0.4
qsc_codepython_cate_ast_quality_signal
float64
0
0
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
0 classes
qsc_codepython_frac_lines_pass_quality_signal
float64
0
0.05
qsc_codepython_frac_lines_import_quality_signal
float64
0
0.3
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
0
0.4
qsc_code_num_words
int64
0
0
qsc_code_num_chars
int64
0
0
qsc_code_mean_word_length
int64
0
0
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
0
0
qsc_code_frac_chars_top_3grams
int64
0
0
qsc_code_frac_chars_top_4grams
int64
0
0
qsc_code_frac_chars_dupe_5grams
int64
0
0
qsc_code_frac_chars_dupe_6grams
int64
0
0
qsc_code_frac_chars_dupe_7grams
int64
0
0
qsc_code_frac_chars_dupe_8grams
int64
0
0
qsc_code_frac_chars_dupe_9grams
int64
0
0
qsc_code_frac_chars_dupe_10grams
int64
0
0
qsc_code_frac_chars_replacement_symbols
int64
0
0
qsc_code_frac_chars_digital
int64
0
0
qsc_code_frac_chars_whitespace
int64
0
0
qsc_code_size_file_byte
int64
0
0
qsc_code_num_lines
int64
0
0
qsc_code_num_chars_line_max
int64
0
0
qsc_code_num_chars_line_mean
int64
0
0
qsc_code_frac_chars_alphabet
int64
0
0
qsc_code_frac_chars_comments
int64
0
0
qsc_code_cate_xml_start
int64
0
0
qsc_code_frac_lines_dupe_lines
int64
0
0
qsc_code_cate_autogen
int64
0
0
qsc_code_frac_lines_long_string
int64
0
0
qsc_code_frac_chars_string_length
int64
0
0
qsc_code_frac_chars_long_word_length
int64
0
0
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
0
0
qsc_code_frac_chars_hex_words
int64
0
0
qsc_code_frac_lines_prompt_comments
int64
0
0
qsc_code_frac_lines_assert
int64
0
0
qsc_codepython_cate_ast
int64
1
1
qsc_codepython_frac_lines_func_ratio
int64
0
0
qsc_codepython_cate_var_zero
int64
0
0
qsc_codepython_frac_lines_pass
int64
0
0
qsc_codepython_frac_lines_import
int64
0
0
qsc_codepython_frac_lines_simplefunc
int64
0
0
qsc_codepython_score_lines_no_logic
int64
0
0
qsc_codepython_frac_lines_print
int64
0
0
effective
stringclasses
1 value
hits
int64
1
1
d9c3b05c7fcf1f87eb65a4b552deef9342032f24
6,520
py
Python
src/Components/missions/GEMS/mcd43c.py
GEOS-ESM/AeroApps
874dad6f34420c014d98eccbe81a061bdc0110cf
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
2
2020-12-02T14:23:30.000Z
2021-12-31T15:39:30.000Z
src/Components/missions/GEMS/mcd43c.py
GEOS-ESM/AeroApps
874dad6f34420c014d98eccbe81a061bdc0110cf
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
9
2020-04-15T16:22:14.000Z
2022-03-24T13:59:25.000Z
src/Components/missions/SENTINEL-4/mcd43c.py
GEOS-ESM/AeroApps
874dad6f34420c014d98eccbe81a061bdc0110cf
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
null
null
null
""" Reads climate modeling grid 0.05 degree MCD43 BRDF files. """ import os import sys from numpy import loadtxt, array, tile, where, concatenate, flipud from numpy import ones from datetime import date, datetime, timedelta from glob import glob from pyhdf.SD import SD, HDF4Error MISSING = 32.767 SDS = dict...
36.222222
103
0.533282
747
6,520
4.373494
0.273092
0.137741
0.085706
0.018365
0.039792
0.012244
0
0
0
0
0
0.067998
0.316564
6,520
179
104
36.424581
0.665171
0.100767
0
0.056604
0
0
0.209649
0.133752
0
0
0
0
0
0
null
null
0
0.066038
null
null
0.04717
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8a13a931088f76e07468fa49084284d44b5cf0eb
936
py
Python
autolatex-master/exemplos_codigo/certificados/certificados.py
luizgui05/autolatex.
366eb3d88b7e60c119737f958e35cce99e8775e9
[ "MIT" ]
null
null
null
autolatex-master/exemplos_codigo/certificados/certificados.py
luizgui05/autolatex.
366eb3d88b7e60c119737f958e35cce99e8775e9
[ "MIT" ]
null
null
null
autolatex-master/exemplos_codigo/certificados/certificados.py
luizgui05/autolatex.
366eb3d88b7e60c119737f958e35cce99e8775e9
[ "MIT" ]
null
null
null
import os import sys import sqlite3 con = None filename = 'certificado' # Abrir banco de dados para ler nomes. try: con = sqlite3.connect('math.db') cur = con.cursor() cur.execute('select * from math') data = cur.fetchall() except sqlite3.Error, e: print "Error %s:" % e.args[0] sys.exit(...
20.8
85
0.569444
128
936
4.148438
0.5625
0.045198
0
0
0
0
0
0
0
0
0
0.018545
0.251068
936
44
86
21.272727
0.738944
0.145299
0
0.0625
0
0
0.148428
0
0
0
0
0
0
0
null
null
0
0.09375
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8a328b7be397a48ed8f6202385b17e0dbf81357c
12,156
py
Python
networks/larflow/models/larflow_uresnet.py
LArbys/ublarcvserver
02381c937f49a2eab2f754017ab431c3f6fa70d7
[ "Apache-2.0" ]
2
2020-07-09T19:34:03.000Z
2021-06-21T23:09:23.000Z
networks/larflow/models/larflow_uresnet.py
LArbys/ublarcvserver
02381c937f49a2eab2f754017ab431c3f6fa70d7
[ "Apache-2.0" ]
null
null
null
networks/larflow/models/larflow_uresnet.py
LArbys/ublarcvserver
02381c937f49a2eab2f754017ab431c3f6fa70d7
[ "Apache-2.0" ]
null
null
null
import torch.nn as nn import torch as torch import math import torch.utils.model_zoo as model_zoo ########################################################### # # U-ResNet # U-net witih ResNet modules # # Semantic segmentation network used by MicroBooNE # to label track/shower pixels # # resnet implementation from pyto...
36.286567
152
0.599786
1,583
12,156
4.43904
0.131396
0.107585
0.043546
0.037
0.562971
0.525829
0.444002
0.410132
0.362317
0.346236
0
0.044164
0.27542
12,156
334
153
36.39521
0.753633
0.069842
0
0.362791
0
0
0.023833
0
0
0
0
0
0
0
null
null
0.04186
0.018605
null
null
0.093023
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8a4c6c7b420769dc35e8f30f400909774d7d25e6
22,154
py
Python
gfirefly/dbentrust/dbutils.py
handsome3163/H2Dgame-Firefly
2d213928977dc490909f456327e5cae80998e60d
[ "MIT" ]
675
2015-01-01T05:18:30.000Z
2022-03-18T08:27:06.000Z
gfirefly/dbentrust/dbutils.py
liuis/Firefly
fd2795b8c26de6ab63bbec23d11f18c3dfb39a50
[ "MIT" ]
3
2015-01-29T02:36:14.000Z
2022-01-21T09:19:21.000Z
gfirefly/dbentrust/dbutils.py
liuis/Firefly
fd2795b8c26de6ab63bbec23d11f18c3dfb39a50
[ "MIT" ]
248
2015-01-04T08:24:31.000Z
2022-02-18T07:14:02.000Z
#coding:utf8 ''' Created on 2013-8-21 @author: lan (www.9miao.com) ''' import itertools import datetime def safeunicode(obj, encoding='utf-8'): r""" Converts any given object to unicode string. >>> safeunicode('hello') u'hello' >>> safeunicode(2) u'2' >>> safeunic...
31.693848
115
0.510743
2,510
22,154
4.4251
0.147809
0.015846
0.012605
0.017106
0.231476
0.174124
0.124066
0.094715
0.08121
0.073467
0
0.009403
0.35673
22,154
699
116
31.693848
0.769981
0.021802
0
0.235135
0
0
0.033266
0.004527
0
0
0
0
0
0
null
null
0.008108
0.008108
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8a59e89d09e32fec1b404a96ad1edf1ccd223adb
8,871
py
Python
tests/test_preempt_return.py
vpv11110000/pyss
bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b
[ "MIT" ]
null
null
null
tests/test_preempt_return.py
vpv11110000/pyss
bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b
[ "MIT" ]
2
2017-09-05T11:12:05.000Z
2017-09-07T19:23:15.000Z
tests/test_preempt_return.py
vpv11110000/pyss
bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b
[ "MIT" ]
null
null
null
# #!/usr/bin/python # -*- coding: utf-8 -*- # test_preempt_return.py # pylint: disable=line-too-long,missing-docstring,bad-whitespace, unused-argument, too-many-locals import sys import os import random import unittest DIRNAME_MODULE = os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(sys.argv[0]))))...
35.342629
106
0.578289
1,021
8,871
4.89618
0.199804
0.009202
0.064013
0.041808
0.602721
0.556511
0.524505
0.458092
0.434687
0.417083
0
0.016611
0.294217
8,871
250
107
35.484
0.781824
0.153872
0
0.356643
0
0
0.048515
0.01676
0
0
0
0
0.132867
0
null
null
0.013986
0.167832
null
null
0.06993
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8a75b4a74e6ecd635d9404db9ea5df06d5114069
10,282
py
Python
bufr_extract_unique_stations.py
glamod/glamod-misc
4c8743dd3aa436377017c49bec990b11fe1c6f7d
[ "BSD-3-Clause" ]
null
null
null
bufr_extract_unique_stations.py
glamod/glamod-misc
4c8743dd3aa436377017c49bec990b11fe1c6f7d
[ "BSD-3-Clause" ]
16
2018-10-23T08:06:18.000Z
2018-10-30T10:20:01.000Z
bufr_extract_unique_stations.py
glamod/glamod-misc
4c8743dd3aa436377017c49bec990b11fe1c6f7d
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python2.7 """ Extract unique set of station locations (and names) along with number of obs RJHD - Exeter - October 2017 """ # ECMWF import defaults import traceback import sys from eccodes import * # RJHD imports import cartopy import numpy as np import matplotlib as mpl mpl.use('Agg') import matplotli...
33.167742
184
0.540751
1,142
10,282
4.74606
0.283713
0.042066
0.012177
0.017712
0.240959
0.228967
0.192066
0.1869
0.1869
0.1869
0
0.025263
0.326298
10,282
309
185
33.275081
0.757182
0.15814
0
0.181287
0
0
0.080679
0.028656
0
0
0
0
0
0
null
null
0.005848
0.052632
null
null
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8a7a7334b3428135d28ee8a3da56e39eed250254
1,564
py
Python
day16/solve16.py
jmacarthur/aoc2017
2a3096aabf464ef52c05f9437498035cfb5ca1a6
[ "MIT" ]
null
null
null
day16/solve16.py
jmacarthur/aoc2017
2a3096aabf464ef52c05f9437498035cfb5ca1a6
[ "MIT" ]
null
null
null
day16/solve16.py
jmacarthur/aoc2017
2a3096aabf464ef52c05f9437498035cfb5ca1a6
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys import copy stage_length = 16 stage = map(chr, range(ord('a'),ord('a')+stage_length)) def spin(amount): """To save time, this function isn't used except at the end. Normally, a counter marks the start of the stage and this changes instead. """ global stage stage = stag...
30.076923
101
0.621483
229
1,564
4.170306
0.375546
0.06911
0.058639
0.027225
0.05445
0
0
0
0
0
0
0.029826
0.228261
1,564
51
102
30.666667
0.761392
0.039003
0
0.052632
0
0
0.045052
0
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8a82d93e4ba8abbe55f44853090dbccbc8c6e819
48,277
py
Python
edexOsgi/com.raytheon.edex.plugin.gfe/utility/common_static/base/gfe/textproducts/templates/product/GenericHazards.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
edexOsgi/com.raytheon.edex.plugin.gfe/utility/common_static/base/gfe/textproducts/templates/product/GenericHazards.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
edexOsgi/com.raytheon.edex.plugin.gfe/utility/common_static/base/gfe/textproducts/templates/product/GenericHazards.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
1
2021-10-30T00:03:05.000Z
2021-10-30T00:03:05.000Z
## # This software was developed and / or modified by Raytheon Company, # pursuant to Contract DG133W-05-CQ-1067 with the US Government. # # U.S. EXPORT CONTROLLED TECHNICAL DATA # This software product contains export-restricted data whose # export/transfer/disclosure is restricted by U.S. law. Dissemination # to non...
41.29769
151
0.53106
4,665
48,277
5.465166
0.18821
0.003138
0.008237
0.007688
0.223416
0.196038
0.167327
0.150971
0.134262
0.120455
0
0.009976
0.358432
48,277
1,168
152
41.333048
0.81316
0.306378
0
0.274096
0
0
0.101009
0.012153
0
0
0
0
0
0
null
null
0.003012
0.009036
null
null
0.02259
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8a8bd51e1880ca1483e91fca0ab41237e4c4f869
4,896
py
Python
Lib/hTools2/dialogs/glyphs/slide.py
gferreira/hTools2
a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c
[ "BSD-3-Clause" ]
11
2015-01-06T15:43:56.000Z
2019-07-27T00:35:20.000Z
Lib/hTools2/dialogs/glyphs/slide.py
gferreira/hTools2
a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c
[ "BSD-3-Clause" ]
2
2017-05-17T10:11:46.000Z
2018-11-21T21:43:43.000Z
Lib/hTools2/dialogs/glyphs/slide.py
gferreira/hTools2
a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c
[ "BSD-3-Clause" ]
4
2015-01-10T13:58:50.000Z
2019-12-18T15:40:14.000Z
# [h] slide selected glyphs from mojo.roboFont import CurrentFont, CurrentGlyph, version from vanilla import * from hTools2 import hDialog from hTools2.modules.fontutils import get_full_name, get_glyphs from hTools2.modules.messages import no_font_open, no_glyph_selected class slideGlyphsDialog(hDialog): '''A di...
31.184713
89
0.55576
611
4,896
4.217676
0.175123
0.069849
0.065192
0.046566
0.397749
0.35196
0.32402
0.313931
0.313931
0.282499
0
0.019565
0.34232
4,896
156
90
31.384615
0.780745
0.020221
0
0.291667
0
0
0.009854
0
0
0
0
0
0
0
null
null
0
0.041667
null
null
0.016667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8a92dd9cacd718af3ee73590efc1c1d73a3833aa
12,093
py
Python
beansdbadmin/core/client.py
ariesdevil/beansdbadmin
3165087ef57b7511ab84fbc50cf16eb8f54d83cd
[ "BSD-3-Clause" ]
11
2018-08-28T09:16:02.000Z
2021-11-08T09:39:15.000Z
beansdbadmin/core/client.py
ariesdevil/beansdbadmin
3165087ef57b7511ab84fbc50cf16eb8f54d83cd
[ "BSD-3-Clause" ]
2
2019-08-29T03:27:24.000Z
2020-07-24T02:45:39.000Z
beansdbadmin/core/client.py
ariesdevil/beansdbadmin
3165087ef57b7511ab84fbc50cf16eb8f54d83cd
[ "BSD-3-Clause" ]
4
2019-05-10T12:10:31.000Z
2020-07-17T03:22:02.000Z
#!/usr/bin/python # encoding: utf-8 '''a rich client 1. for one server (instead of multi like in libmc.Client) 2. encapsulate @, ?, gc ... use is instead of libmc.Client ''' import telnetlib import logging import libmc import string import urllib import itertools import warnings from collections import defaul...
30.308271
103
0.561399
1,649
12,093
3.936325
0.164342
0.019411
0.009706
0.011092
0.173779
0.099676
0.060545
0.037899
0.02126
0.0114
0
0.018807
0.309683
12,093
398
104
30.384422
0.758745
0.00645
0
0.133117
0
0
0.063222
0.001881
0
0
0.000537
0.002513
0.00974
0
null
null
0.003247
0.035714
null
null
0.051948
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
7