hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
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
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
0c86b0a5bb82e79f03a71fe8532fbc4b0904898e
76
py
Python
modules/autovc_alpha/__init__.py
reppy4620/VCon
cac3441443cb9b28ffbaa0646ed1826d71cb16e0
[ "MIT" ]
4
2021-05-22T03:14:44.000Z
2022-01-03T04:32:54.000Z
modules/autovc_alpha/__init__.py
reppy4620/VCon
cac3441443cb9b28ffbaa0646ed1826d71cb16e0
[ "MIT" ]
null
null
null
modules/autovc_alpha/__init__.py
reppy4620/VCon
cac3441443cb9b28ffbaa0646ed1826d71cb16e0
[ "MIT" ]
null
null
null
from .model import AutoVCAlphaModel from .pl_model import AutoVCAlphaModule
25.333333
39
0.868421
9
76
7.222222
0.666667
0.338462
0
0
0
0
0
0
0
0
0
0
0.105263
76
2
40
38
0.955882
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0ca66ee927889aaa5f2e2097296873f2539f03eb
4,433
py
Python
napari/layers/shapes/_shapes_models/_tests/test_shapes_models.py
mrocklin/napari
b61d9ae570e30091a97b6c76e37cd95fe5b296b6
[ "BSD-3-Clause" ]
1,345
2019-03-03T21:14:14.000Z
2022-03-31T19:46:39.000Z
napari/layers/shapes/_shapes_models/_tests/test_shapes_models.py
mrocklin/napari
b61d9ae570e30091a97b6c76e37cd95fe5b296b6
[ "BSD-3-Clause" ]
3,904
2019-03-02T01:30:24.000Z
2022-03-31T20:17:27.000Z
napari/layers/shapes/_shapes_models/_tests/test_shapes_models.py
mrocklin/napari
b61d9ae570e30091a97b6c76e37cd95fe5b296b6
[ "BSD-3-Clause" ]
306
2019-03-29T17:09:10.000Z
2022-03-30T09:54:11.000Z
import numpy as np from napari.layers.shapes._shapes_models import ( Ellipse, Line, Path, Polygon, Rectangle, ) def test_rectangle(): """Test creating Shape with a random rectangle.""" # Test a single four corner rectangle np.random.seed(0) data = 20 * np.random.random((4, 2)) ...
29.164474
71
0.634333
671
4,433
4.122206
0.083458
0.09436
0.092191
0.147505
0.944324
0.93637
0.829718
0.68149
0.661605
0.661605
0
0.039204
0.228965
4,433
151
72
29.357616
0.770041
0.209339
0
0.80198
0
0
0
0
0
0
0
0
0.405941
1
0.09901
false
0
0.019802
0
0.118812
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
6
0b45ca8b87b0e5d2e4e9c297f94763ea1a08812c
3,574
py
Python
tests/test_match.py
haje01/swak
1f2de2dd285b29d6100bb89ae83ae8b05bafc05d
[ "MIT" ]
null
null
null
tests/test_match.py
haje01/swak
1f2de2dd285b29d6100bb89ae83ae8b05bafc05d
[ "MIT" ]
2
2018-03-05T00:42:30.000Z
2021-06-01T22:26:37.000Z
tests/test_match.py
haje01/swak
1f2de2dd285b29d6100bb89ae83ae8b05bafc05d
[ "MIT" ]
1
2018-03-05T00:41:02.000Z
2018-03-05T00:41:02.000Z
"""Test match.""" from swak.match import GlobMatchPattern from swak.datarouter import Rule def assert_glob_match(ptrn, samp): """Assert glob match.""" assert GlobMatchPattern(ptrn).match(samp) def assert_glob_not_match(ptrn, samp): """Assert glob not match.""" assert not GlobMatchPattern(ptrn).matc...
28.141732
49
0.589815
595
3,574
3.236975
0.062185
0.214953
0.334891
0.340602
0.813603
0.779855
0.667705
0.655244
0.623053
0.59865
0
0
0.163402
3,574
126
50
28.365079
0.644147
0.058198
0
0
0
0
0.171342
0
0
0
0
0
0.916667
1
0.107143
false
0
0.02381
0
0.130952
0
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
6
0b7860d16d612f3a105fdd1a71ffdfda25a01241
88
py
Python
kube_hunter/modules/__init__.py
wongearl/kube-hunter
00eb0dfa87d8a1b2932f2fa0bfc67c57e7a4ed03
[ "Apache-2.0" ]
3,521
2018-08-15T15:43:57.000Z
2022-03-31T07:17:39.000Z
kube_hunter/modules/__init__.py
wongearl/kube-hunter
00eb0dfa87d8a1b2932f2fa0bfc67c57e7a4ed03
[ "Apache-2.0" ]
350
2018-08-16T16:13:12.000Z
2022-03-22T16:22:36.000Z
kube_hunter/modules/__init__.py
wongearl/kube-hunter
00eb0dfa87d8a1b2932f2fa0bfc67c57e7a4ed03
[ "Apache-2.0" ]
551
2018-08-15T15:53:27.000Z
2022-03-30T02:53:40.000Z
# flake8: noqa: E402 from . import report from . import discovery from . import hunting
17.6
23
0.75
12
88
5.5
0.666667
0.454545
0
0
0
0
0
0
0
0
0
0.055556
0.181818
88
4
24
22
0.861111
0.204545
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0bab1d418b646454c6751b3db9aa4ef68e3fd262
207
py
Python
examples/dagster_examples/bay_bikes/pipelines.py
nmbrgts/dagster
c0897431a667bdf4fa0a9e3eb0241d4a18889070
[ "Apache-2.0" ]
null
null
null
examples/dagster_examples/bay_bikes/pipelines.py
nmbrgts/dagster
c0897431a667bdf4fa0a9e3eb0241d4a18889070
[ "Apache-2.0" ]
null
null
null
examples/dagster_examples/bay_bikes/pipelines.py
nmbrgts/dagster
c0897431a667bdf4fa0a9e3eb0241d4a18889070
[ "Apache-2.0" ]
null
null
null
from dagster import pipeline from .solids import download_zipfiles_from_urls, unzip_files @pipeline def download_csv_pipeline(): file_names = download_zipfiles_from_urls() unzip_files(file_names)
20.7
60
0.816425
28
207
5.607143
0.5
0.203822
0.254777
0.305732
0.433121
0.433121
0
0
0
0
0
0
0.130435
207
9
61
23
0.872222
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
e7fa9c3f0c73e0c2e40b7a72d3563d1a652d5f8a
231
py
Python
dndweps/ui.py
justanr/dndweps
5e57793bd137c5475d9ae78dffce066aa66d00a7
[ "MIT" ]
null
null
null
dndweps/ui.py
justanr/dndweps
5e57793bd137c5475d9ae78dffce066aa66d00a7
[ "MIT" ]
null
null
null
dndweps/ui.py
justanr/dndweps
5e57793bd137c5475d9ae78dffce066aa66d00a7
[ "MIT" ]
null
null
null
from flask import Blueprint, render_template ui = Blueprint('ui', __name__) @ui.route('/') def home(): return render_template('index.html') @ui.route('/weapons') def weapons(): return render_template('weapons.html')
14.4375
44
0.692641
29
231
5.275862
0.517241
0.27451
0.261438
0
0
0
0
0
0
0
0
0
0.147186
231
15
45
15.4
0.77665
0
0
0
0
0
0.144105
0
0
0
0
0
0
1
0.25
false
0
0.125
0.25
0.625
0.25
1
0
0
null
1
1
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
0
1
0
0
0
1
1
0
0
6
f051d970ca980df2d0e661ae99787475f8955457
28
py
Python
build/lib/logddd/__init__.py
dailinfeng66/logddd
d224f20ba8b797e5db26945987e76107a64e60a4
[ "MIT" ]
2
2022-02-27T12:40:22.000Z
2022-03-01T12:48:14.000Z
logddd/__init__.py
dailinfeng66/logddd
d224f20ba8b797e5db26945987e76107a64e60a4
[ "MIT" ]
null
null
null
logddd/__init__.py
dailinfeng66/logddd
d224f20ba8b797e5db26945987e76107a64e60a4
[ "MIT" ]
null
null
null
from logddd.main import log
14
27
0.821429
5
28
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
28
1
28
28
0.958333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f07e1cdab3782f3162f21cfb7be34e9acac6588c
93
py
Python
LanguageBasics/classicHelloWorld.py
Vamsi-TM/jubilant-train
a3ca0216e161ead4f59d923a36587098790beb5d
[ "MIT" ]
null
null
null
LanguageBasics/classicHelloWorld.py
Vamsi-TM/jubilant-train
a3ca0216e161ead4f59d923a36587098790beb5d
[ "MIT" ]
null
null
null
LanguageBasics/classicHelloWorld.py
Vamsi-TM/jubilant-train
a3ca0216e161ead4f59d923a36587098790beb5d
[ "MIT" ]
null
null
null
# Back to basics with Python print("Hello World") print("Happy Coding with Python 3, Vamsi")
23.25
42
0.741935
15
93
4.6
0.8
0.289855
0
0
0
0
0
0
0
0
0
0.012658
0.150538
93
4
42
23.25
0.860759
0.27957
0
0
0
0
0.666667
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
b2c0742fe32f341782fb9f6bece71721cbb8fb5f
179
py
Python
polls/views.py
C16735211/webmap2
1111539348bd6bfe3312537253147def014bd432
[ "MIT" ]
null
null
null
polls/views.py
C16735211/webmap2
1111539348bd6bfe3312537253147def014bd432
[ "MIT" ]
7
2020-02-12T03:15:17.000Z
2022-02-10T10:04:28.000Z
polls/views.py
C16735211/webmap2
1111539348bd6bfe3312537253147def014bd432
[ "MIT" ]
null
null
null
from django.shortcuts import render from .models import Question, Choice # Question - Display def index(request): return render(request, 'polls/templates/polls/index.html')
22.375
62
0.77095
23
179
6
0.695652
0
0
0
0
0
0
0
0
0
0
0
0.134078
179
7
63
25.571429
0.890323
0.100559
0
0
0
0
0.201258
0.201258
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
e8e69734b3d5dfcf5802dd497b41433b06e77cc0
908
py
Python
terrascript/pagerduty/d.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/pagerduty/d.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/pagerduty/d.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/pagerduty/d.py # Automatically generated by tools/makecode.py () import warnings warnings.warn( "using the 'legacy layout' is deprecated", DeprecationWarning, stacklevel=2 ) import terrascript class pagerduty_business_service(terrascript.Data): pass class pagerduty_escalation_policy(terrascr...
15.655172
79
0.776432
103
908
6.669903
0.378641
0.244541
0.331878
0.384279
0.570597
0.282387
0
0
0
0
0
0.001295
0.14978
908
57
80
15.929825
0.888601
0.081498
0
0.413793
1
0
0.046931
0
0
0
0
0
0
1
0
true
0.413793
0.068966
0
0.482759
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
6
33469f289da00e5558da6b1c8b89ed30395dfcc9
155
py
Python
python/ee/ee_exception.py
Danielbatista0590/earthengine-api
e609df25bf356199dab1f5c9484ceeb3cfe13164
[ "Apache-2.0" ]
1,909
2015-04-22T20:18:22.000Z
2022-03-31T13:42:03.000Z
python/ee/ee_exception.py
liangliang12/earthengine-api
f0424abe81f1495797d9c45b924e8ea04f24efd5
[ "Apache-2.0" ]
171
2015-09-24T05:49:49.000Z
2022-03-14T00:54:50.000Z
python/ee/ee_exception.py
liangliang12/earthengine-api
f0424abe81f1495797d9c45b924e8ea04f24efd5
[ "Apache-2.0" ]
924
2015-04-23T05:43:18.000Z
2022-03-28T12:11:31.000Z
#!/usr/bin/env python """A simple exception for the EE library.""" class EEException(Exception): """A simple exception for the EE library.""" pass
15.5
46
0.683871
22
155
4.818182
0.636364
0.132075
0.301887
0.358491
0.584906
0.584906
0.584906
0
0
0
0
0
0.174194
155
9
47
17.222222
0.828125
0.632258
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
6
336ade83c3158d40d1232b4df1306309f833d060
202
py
Python
meintile/exceptions.py
EOX-A/meintile
6d82ec130789e5094c9fa26609e6a24b9fa0b0e3
[ "MIT" ]
2
2019-11-03T19:14:53.000Z
2019-11-05T19:16:09.000Z
meintile/exceptions.py
EOX-A/meintile
6d82ec130789e5094c9fa26609e6a24b9fa0b0e3
[ "MIT" ]
6
2019-11-04T21:02:29.000Z
2019-11-04T21:07:45.000Z
meintile/exceptions.py
EOX-A/meintile
6d82ec130789e5094c9fa26609e6a24b9fa0b0e3
[ "MIT" ]
null
null
null
class InvalidTileMatrixIndex(KeyError): """Raise when Tile Matrix is not available in TileMatrixSet.""" class InvalidTileIndex(KeyError): """Raise when Tile is not available in TileMatrix."""
28.857143
67
0.747525
23
202
6.565217
0.608696
0.172185
0.225166
0.278146
0
0
0
0
0
0
0
0
0.153465
202
6
68
33.666667
0.883041
0.519802
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
6
683a5596af1ab1e722ef387f5f143dd4402c63ae
325
py
Python
cryptofolio/resolvers/user_account/__init__.py
JerryBeGood/Cryptofolio
7f09bdbb823e4aa70d8c83532264857e550d1c84
[ "MIT" ]
null
null
null
cryptofolio/resolvers/user_account/__init__.py
JerryBeGood/Cryptofolio
7f09bdbb823e4aa70d8c83532264857e550d1c84
[ "MIT" ]
2
2022-01-20T11:54:33.000Z
2022-01-21T07:13:30.000Z
cryptofolio/resolvers/user_account/__init__.py
JerryBeGood/Cryptofolio
7f09bdbb823e4aa70d8c83532264857e550d1c84
[ "MIT" ]
null
null
null
from .user_account_resolvers import sign_up_resolver, activate_account_resolver, generate_activation_code_resolver, sign_in_resolver, account_status_resolver, add_exchange_resolver, generate_pswd_recovery_code_resolver, recover_password_resolver, delete_account_resolver, delete_exchange_resolver, change_password_resolv...
81.25
322
0.916923
41
325
6.609756
0.536585
0.110701
0
0
0
0
0
0
0
0
0
0
0.049231
325
3
323
108.333333
0.877023
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
1
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
6
d7d9d85d7c5a8e4d8b9fba77128f9a5bf7135402
225
py
Python
python/famed/__init__.py
darthoctopus/FAMED
fa5b0e2fc21da33f2ffb9d874fc86eb5c85d5b98
[ "MIT" ]
1
2020-06-16T13:13:36.000Z
2020-06-16T13:13:36.000Z
python/famed/__init__.py
darthoctopus/FAMED
fa5b0e2fc21da33f2ffb9d874fc86eb5c85d5b98
[ "MIT" ]
null
null
null
python/famed/__init__.py
darthoctopus/FAMED
fa5b0e2fc21da33f2ffb9d874fc86eb5c85d5b98
[ "MIT" ]
1
2021-11-05T13:31:05.000Z
2021-11-05T13:31:05.000Z
from .version import __version__ from .star_object import * from .global_object import * from .run import * from .configuring_parameters import ConfiguringParameters from .utils import * from .plotting_functions import *
18.75
57
0.804444
27
225
6.407407
0.481481
0.231214
0.184971
0
0
0
0
0
0
0
0
0
0.142222
225
11
58
20.454545
0.896373
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
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
0
0
1
0
1
0
1
0
0
6
d7fe297776f8593dd0ca5d5ff371cfd2358565cf
36
py
Python
heap/__init__.py
free-free/Algorithm
174b6bc7a73f5ec1393149d238fc4496b2baedaa
[ "Apache-2.0" ]
7
2015-11-15T05:34:33.000Z
2021-04-29T00:39:08.000Z
heap/__init__.py
free-free/Algorithm
174b6bc7a73f5ec1393149d238fc4496b2baedaa
[ "Apache-2.0" ]
null
null
null
heap/__init__.py
free-free/Algorithm
174b6bc7a73f5ec1393149d238fc4496b2baedaa
[ "Apache-2.0" ]
null
null
null
from .heap import MinHeap, MaxHeap
12
34
0.777778
5
36
5.6
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
36
2
35
18
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
cc0b0cfe110b56f503383240765163a82f915141
12,753
py
Python
msg/common_pb2.py
thiagohenrique1/firasim_client
864eb62512e611919fd203f573e825d44c1227ae
[ "MIT" ]
null
null
null
msg/common_pb2.py
thiagohenrique1/firasim_client
864eb62512e611919fd203f573e825d44c1227ae
[ "MIT" ]
null
null
null
msg/common_pb2.py
thiagohenrique1/firasim_client
864eb62512e611919fd203f573e825d44c1227ae
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: common.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf...
41.676471
936
0.741551
1,728
12,753
5.147569
0.094907
0.05756
0.087577
0.075885
0.801911
0.747274
0.706464
0.684205
0.671164
0.671164
0
0.039559
0.131812
12,753
305
937
41.813115
0.763819
0.033874
0
0.703297
1
0.003663
0.148777
0.098968
0
0
0
0
0
1
0
false
0
0.014652
0
0.014652
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0bd10baefdf8fb2c38970ba71978a2b174713c05
67
py
Python
fnetET/extractiontool/models.py
wandss/ExportingTool
d0153e0b3493dc3aa2e7bba2b1e434888c5f7cf0
[ "Apache-2.0" ]
1
2016-12-27T23:49:24.000Z
2016-12-27T23:49:24.000Z
fnetET/extractiontool/models.py
wandss/ExportingTool
d0153e0b3493dc3aa2e7bba2b1e434888c5f7cf0
[ "Apache-2.0" ]
null
null
null
fnetET/extractiontool/models.py
wandss/ExportingTool
d0153e0b3493dc3aa2e7bba2b1e434888c5f7cf0
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.utils import timezone
16.75
34
0.791045
10
67
5.3
0.7
0.377358
0
0
0
0
0
0
0
0
0
0
0.179104
67
3
35
22.333333
0.963636
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0bf9e2ac22f0e22db755a5cd178fd97102c92db1
179
py
Python
noticeboard/board/models.py
NdauwaRafael/py-noticeboard
bb3ffcf5e82315fb1a5e58d113766406fdce4211
[ "Apache-2.0" ]
null
null
null
noticeboard/board/models.py
NdauwaRafael/py-noticeboard
bb3ffcf5e82315fb1a5e58d113766406fdce4211
[ "Apache-2.0" ]
4
2021-03-09T01:44:19.000Z
2022-02-12T07:50:22.000Z
noticeboard/board/models.py
NdauwaRafael/py-noticeboard
bb3ffcf5e82315fb1a5e58d113766406fdce4211
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class Lead(models.Model): name = models.CharField(max_length=100) department = models.CharField(max_length=200)
19.888889
49
0.748603
25
179
5.28
0.72
0.227273
0.272727
0.363636
0
0
0
0
0
0
0
0.039735
0.156425
179
8
50
22.375
0.834437
0.134078
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
6
042b1cbf7b3302d580167d958e5ed0805d345726
48
py
Python
pywt/data/__init__.py
dmpelt/pywt
5fc0f769dfdd6d21c2d0b2fa4fa8cdb7e887bb9f
[ "MIT" ]
2
2016-08-30T09:58:10.000Z
2020-10-27T07:36:27.000Z
pywt/data/__init__.py
dmpelt/pywt
5fc0f769dfdd6d21c2d0b2fa4fa8cdb7e887bb9f
[ "MIT" ]
null
null
null
pywt/data/__init__.py
dmpelt/pywt
5fc0f769dfdd6d21c2d0b2fa4fa8cdb7e887bb9f
[ "MIT" ]
1
2020-10-27T07:36:30.000Z
2020-10-27T07:36:30.000Z
from ._readers import ascent, aero, ecg, camera
24
47
0.770833
7
48
5.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.145833
48
1
48
48
0.878049
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f097e7a1762494b8143a5fe8f4bf2d03f39e2e70
39
py
Python
fsdet/modeling/encoder/__init__.py
JunhoPark0314/few-shot-object-detection
bb7b09eafa6a35a74d641485c0831494fc00e700
[ "Apache-2.0" ]
null
null
null
fsdet/modeling/encoder/__init__.py
JunhoPark0314/few-shot-object-detection
bb7b09eafa6a35a74d641485c0831494fc00e700
[ "Apache-2.0" ]
null
null
null
fsdet/modeling/encoder/__init__.py
JunhoPark0314/few-shot-object-detection
bb7b09eafa6a35a74d641485c0831494fc00e700
[ "Apache-2.0" ]
null
null
null
from .build import build_latent_encoder
39
39
0.897436
6
39
5.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.076923
39
1
39
39
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f0b1a01bce2b314b77f52db4a532577a5263c63e
13,409
py
Python
grama/eval_tail.py
QingmuDeng/py_grama
546537f063626c27a468b56fa5dd28374451f187
[ "MIT" ]
null
null
null
grama/eval_tail.py
QingmuDeng/py_grama
546537f063626c27a468b56fa5dd28374451f187
[ "MIT" ]
null
null
null
grama/eval_tail.py
QingmuDeng/py_grama
546537f063626c27a468b56fa5dd28374451f187
[ "MIT" ]
null
null
null
__all__ = [ "eval_form_pma", "ev_form_pma", "eval_form_ria", "ev_form_ria", ] import grama as gr from grama import add_pipe, pipe, custom_formatwarning from numpy import array, argmin, ones, eye, zeros, sqrt, NaN, max from numpy.linalg import norm as length from numpy.random import multivariate_normal ...
36.338753
134
0.547916
1,612
13,409
4.412531
0.172457
0.020666
0.015183
0.021932
0.816674
0.799803
0.781246
0.77281
0.762969
0.749192
0
0.00898
0.352226
13,409
368
135
36.4375
0.809924
0.314341
0
0.650224
0
0
0.081294
0
0
0
0
0.002717
0
1
0.03139
false
0
0.035874
0.004484
0.09417
0.053812
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
f0b2d46bb146b69fcfb48fcbf4b407ceed6bada0
37
py
Python
foundation/press/tests/test_admin.py
breck7/website
e1d72c3db7612aaa64c47fb6117a788b955c4ab0
[ "MIT" ]
null
null
null
foundation/press/tests/test_admin.py
breck7/website
e1d72c3db7612aaa64c47fb6117a788b955c4ab0
[ "MIT" ]
2
2022-02-10T21:47:07.000Z
2022-03-26T10:43:45.000Z
foundation/press/tests/test_admin.py
Mattlk13/website
83abd726ae3ae377480010fd46e9c141bc76b39e
[ "MIT" ]
null
null
null
from .. import admin # flake8: noqa
18.5
36
0.675676
5
37
5
1
0
0
0
0
0
0
0
0
0
0
0.034483
0.216216
37
1
37
37
0.827586
0.324324
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f0b83180fd94b4afca1f56b34fa083ab519f740b
177
py
Python
download/gnosis/xml/validity/__init__.py
DavidMertz/gnosis-web
df5ab0d470a02ed6c51c971f2b40f1dcdc7d7350
[ "CC0-1.0" ]
3
2018-09-29T14:14:28.000Z
2022-01-05T03:45:50.000Z
library/CanFestival/objdictgen/gnosis/xml/validity/__init__.py
Lembed/STM32duino-gcc-Projects
67829e9cd1388601daf9815b0561da557e0b9f82
[ "MIT" ]
1
2017-06-17T08:15:28.000Z
2017-06-17T08:15:28.000Z
library/CanFestival/objdictgen/gnosis/xml/validity/__init__.py
Lembed/STM32duino-gcc-Projects
67829e9cd1388601daf9815b0561da557e0b9f82
[ "MIT" ]
1
2019-12-08T15:11:55.000Z
2019-12-08T15:11:55.000Z
"""Library of Python objects that conform to XML validity rules Requires: Python 2.2+ (may use new-style classes, slots, properties, metaclasses) """ from _validity import *
19.666667
63
0.751412
25
177
5.28
0.88
0
0
0
0
0
0
0
0
0
0
0.013423
0.158192
177
8
64
22.125
0.872483
0.80791
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f0c82c57549bba54f0de57c6486d9d1cb29287b0
154
py
Python
test/test_include.py
draenog/basix
172720a7ecf2caaf4619a4718fa3f3e1cbe0c1e4
[ "MIT" ]
null
null
null
test/test_include.py
draenog/basix
172720a7ecf2caaf4619a4718fa3f3e1cbe0c1e4
[ "MIT" ]
null
null
null
test/test_include.py
draenog/basix
172720a7ecf2caaf4619a4718fa3f3e1cbe0c1e4
[ "MIT" ]
null
null
null
import basix import os def test_include(): path_to_file = os.path.join(basix.get_include_path(), "basix.h") assert os.path.isfile(path_to_file)
19.25
68
0.733766
26
154
4.076923
0.538462
0.207547
0.188679
0
0
0
0
0
0
0
0
0
0.142857
154
7
69
22
0.80303
0
0
0
0
0
0.045455
0
0
0
0
0
0.2
1
0.2
false
0
0.4
0
0.6
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
f0e8784ef3e240aba7680dc88f17db1577c96621
125
py
Python
pyscnet/NetEnrich/__init__.py
MingBit/SCNetEnrich
898606c1823f2beae8368032684fa90fde94adf3
[ "MIT" ]
5
2019-08-22T12:34:43.000Z
2021-12-21T20:54:38.000Z
pyscnet/NetEnrich/__init__.py
MingBit/SCNetEnrich
898606c1823f2beae8368032684fa90fde94adf3
[ "MIT" ]
1
2019-09-06T20:01:43.000Z
2019-09-08T18:10:39.000Z
pyscnet/NetEnrich/__init__.py
MingBit/SCNetEnrich
898606c1823f2beae8368032684fa90fde94adf3
[ "MIT" ]
2
2020-07-29T14:04:41.000Z
2020-12-21T18:49:11.000Z
from .graph_toolkit import buildnet, get_centrality, detect_community, find_consensus_graph, graph_traveral, self_guide_walk
62.5
124
0.88
17
125
6
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.072
125
1
125
125
0.87931
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
9bcaa91a6f62110890d7d370e7b72bf22e1a3a29
61
py
Python
jaseci_kit/jaseci_kit/text_seg.py
Jaseci-Labs/jaseci
2e3dd000fc2d555dc987d7bbbea88b1f56184661
[ "MIT" ]
6
2021-10-30T03:35:36.000Z
2022-02-10T02:06:18.000Z
jaseci_kit/jaseci_kit/text_seg.py
Jaseci-Labs/jaseci
2e3dd000fc2d555dc987d7bbbea88b1f56184661
[ "MIT" ]
85
2021-10-29T22:47:39.000Z
2022-03-31T06:11:52.000Z
jaseci_kit/jaseci_kit/text_seg.py
Jaseci-Labs/jaseci
2e3dd000fc2d555dc987d7bbbea88b1f56184661
[ "MIT" ]
12
2021-11-03T17:29:22.000Z
2022-03-30T16:01:53.000Z
from .modules.text_segmenter.text_segmenter import * # noqa
30.5
60
0.803279
8
61
5.875
0.75
0.553191
0
0
0
0
0
0
0
0
0
0
0.114754
61
1
61
61
0.87037
0.065574
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
50075c057fbef92320cd99cd31ed73a7f3cde50e
21
py
Python
__init__.py
alokmenghrajani/ctfd-timed-releases-plugin
b5577c1a2e6b801d394d23dda808abbd68b46a7e
[ "Apache-2.0" ]
4
2018-10-31T13:33:52.000Z
2022-02-11T17:11:43.000Z
__init__.py
alokmenghrajani/ctfd-challenge-dependencies
f674dcbf164a073fa2480c4959cc2e73c057761f
[ "Apache-2.0" ]
null
null
null
__init__.py
alokmenghrajani/ctfd-challenge-dependencies
f674dcbf164a073fa2480c4959cc2e73c057761f
[ "Apache-2.0" ]
2
2020-07-12T07:19:19.000Z
2020-10-20T05:27:58.000Z
from src import load
10.5
20
0.809524
4
21
4.25
1
0
0
0
0
0
0
0
0
0
0
0
0.190476
21
1
21
21
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
502d5944dd00a2024d82ed879916a9f73cef69aa
192
py
Python
src/stk/__init__.py
stevenkbennett/stk
a8311fa6110adc0ea593a24d9a0c064597b1b174
[ "MIT" ]
null
null
null
src/stk/__init__.py
stevenkbennett/stk
a8311fa6110adc0ea593a24d9a0c064597b1b174
[ "MIT" ]
null
null
null
src/stk/__init__.py
stevenkbennett/stk
a8311fa6110adc0ea593a24d9a0c064597b1b174
[ "MIT" ]
null
null
null
from .databases import * # noqa from .ea import * # noqa from .molecular import * # noqa from .serialization import * # noqa from .utilities import * # noqa __version__ = '2021.11.15.0'
24
36
0.6875
25
192
5.12
0.52
0.390625
0.4375
0
0
0
0
0
0
0
0
0.058824
0.203125
192
7
37
27.428571
0.777778
0.125
0
0
0
0
0.074074
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
503242c838246fba506a3e989b965b2c0bdd97f2
117
py
Python
SipMask-VIS/mmdet/version.py
acc-L/SipMask
fdb9ec39c7fa3cba06736d7c2f4ad1d80dfd9a1a
[ "MIT" ]
332
2020-07-27T13:20:59.000Z
2022-02-22T07:56:37.000Z
SipMask-VIS/mmdet/version.py
acc-L/SipMask
fdb9ec39c7fa3cba06736d7c2f4ad1d80dfd9a1a
[ "MIT" ]
60
2020-07-30T03:55:01.000Z
2022-03-01T00:06:21.000Z
SipMask-VIS/mmdet/version.py
acc-L/SipMask
fdb9ec39c7fa3cba06736d7c2f4ad1d80dfd9a1a
[ "MIT" ]
56
2020-07-30T01:49:31.000Z
2022-02-25T06:46:47.000Z
# GENERATED VERSION FILE # TIME: Sat Apr 11 06:53:14 2020 __version__ = '1.0.rc0+unknown' short_version = '1.0.rc0'
19.5
32
0.709402
21
117
3.714286
0.761905
0.205128
0.230769
0.307692
0
0
0
0
0
0
0
0.181818
0.153846
117
5
33
23.4
0.606061
0.452991
0
0
1
0
0.360656
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
50403d8beb7c53bfb50083dbe238562124934043
74
py
Python
asteroid/models/__init__.py
saurabh-kataria/asteroid
a0b1d5e43375d5f5d83ba9ec707633659289200f
[ "MIT" ]
1
2021-07-22T10:00:39.000Z
2021-07-22T10:00:39.000Z
asteroid/models/__init__.py
saurabh-kataria/asteroid
a0b1d5e43375d5f5d83ba9ec707633659289200f
[ "MIT" ]
null
null
null
asteroid/models/__init__.py
saurabh-kataria/asteroid
a0b1d5e43375d5f5d83ba9ec707633659289200f
[ "MIT" ]
null
null
null
from .conv_tasnet import ConvTasNet from .dprnn_tasnet import DPRNNTasNet
24.666667
37
0.864865
10
74
6.2
0.7
0.387097
0
0
0
0
0
0
0
0
0
0
0.108108
74
2
38
37
0.939394
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
50434f1d64506cca81829c50bf4555172fb8ce04
181
py
Python
codewars/6kyu/amrlotfy77/Count the smiley faces!/test_bench.py
ictcubeMENA/Training_one
dff6bee96ba42babe4888e5cf9a9448a6fd93fc3
[ "MIT" ]
null
null
null
codewars/6kyu/amrlotfy77/Count the smiley faces!/test_bench.py
ictcubeMENA/Training_one
dff6bee96ba42babe4888e5cf9a9448a6fd93fc3
[ "MIT" ]
2
2019-01-22T10:53:42.000Z
2019-01-31T08:02:48.000Z
codewars/6kyu/amrlotfy77/Count the smiley faces!/test_bench.py
ictcubeMENA/Training_one
dff6bee96ba42babe4888e5cf9a9448a6fd93fc3
[ "MIT" ]
13
2019-01-22T10:37:42.000Z
2019-01-25T13:30:43.000Z
from main import count_smileys,count_smileys1 def test1(benchmark): assert benchmark(count_smileys,[])== 0 def test(benchmark): assert benchmark(count_smileys1,[])== 0
20.111111
45
0.734807
23
181
5.608696
0.521739
0.186047
0.372093
0.449612
0
0
0
0
0
0
0
0.032468
0.149171
181
9
46
20.111111
0.805195
0
0
0
0
0
0
0
0
0
0
0
0.4
1
0.4
false
0
0.2
0
0.6
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
6
acd8beadcb9b5343a7e433164dde24e1d9a87626
236
py
Python
build/lib/sfcsim/__init__.py
1547591994/SFCSim
a5851a15daa19d136c4b57496dbace5ded7e4556
[ "Apache-2.0" ]
7
2021-01-05T13:00:01.000Z
2022-03-06T07:40:35.000Z
sfcsim/__init__.py
SkyShiS/SFCSim
37e437ed7548a746c6dd8bd07b63c0b4b4f417bb
[ "Apache-2.0" ]
null
null
null
sfcsim/__init__.py
SkyShiS/SFCSim
37e437ed7548a746c6dd8bd07b63c0b4b4f417bb
[ "Apache-2.0" ]
3
2021-02-18T17:40:08.000Z
2022-03-06T07:40:37.000Z
import sfcsim.classes from sfcsim.classes import * import sfcsim.classes from sfcsim.layout import * import sfcsim.layout from sfcsim.algorithms import * import sfcsim.algorithms from sfcsim.networks import * import sfcsim.networks
16.857143
31
0.817797
31
236
6.225806
0.225806
0.310881
0.373057
0.238342
0.300518
0
0
0
0
0
0
0
0.127119
236
13
32
18.153846
0.936893
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
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
0
0
1
0
1
0
1
0
0
6
4a22939b33361c5bb0b1555b1fa2349604714829
16
py
Python
python/ql/src/Imports/ImportTwiceOnALine.py
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
4,036
2020-04-29T00:09:57.000Z
2022-03-31T14:16:38.000Z
python/ql/src/Imports/ImportTwiceOnALine.py
vadi2/codeql
a806a4f08696d241ab295a286999251b56a6860c
[ "MIT" ]
2,970
2020-04-28T17:24:18.000Z
2022-03-31T22:40:46.000Z
python/ql/src/Imports/ImportTwiceOnALine.py
ScriptBox99/github-codeql
2ecf0d3264db8fb4904b2056964da469372a235c
[ "MIT" ]
794
2020-04-29T00:28:25.000Z
2022-03-30T08:21:46.000Z
import xxx, yyy
8
15
0.75
3
16
4
1
0
0
0
0
0
0
0
0
0
0
0
0.1875
16
1
16
16
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4a233df672395721ff4647f1f67ac71391518ed7
48
wsgi
Python
tmp/www/wsgi-scripts/graphite-api.wsgi
anvart/stormwatch
7a5f277d4021b3429871ea0c045567c365aec7f4
[ "MIT" ]
6
2017-07-05T16:59:16.000Z
2020-07-01T10:17:09.000Z
tmp/www/wsgi-scripts/graphite-api.wsgi
anvart/stormwatch
7a5f277d4021b3429871ea0c045567c365aec7f4
[ "MIT" ]
8
2017-11-03T13:36:53.000Z
2021-09-05T11:05:17.000Z
tmp/www/wsgi-scripts/graphite-api.wsgi
anvart/stormwatch
7a5f277d4021b3429871ea0c045567c365aec7f4
[ "MIT" ]
6
2016-11-10T12:56:41.000Z
2018-06-19T21:53:58.000Z
from graphite_api.app import app as application
24
47
0.854167
8
48
5
0.875
0
0
0
0
0
0
0
0
0
0
0
0.125
48
1
48
48
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
c5c1fb3c6e775f250e4501ae79554e268226a7cf
70
py
Python
WeathPy/api_keys.py
auschein/Python-APIs
b10a8bf9051177720ac60faa4f967209dbc9566e
[ "ADSL" ]
null
null
null
WeathPy/api_keys.py
auschein/Python-APIs
b10a8bf9051177720ac60faa4f967209dbc9566e
[ "ADSL" ]
null
null
null
WeathPy/api_keys.py
auschein/Python-APIs
b10a8bf9051177720ac60faa4f967209dbc9566e
[ "ADSL" ]
null
null
null
# OpenWeatherMap API Key api_key = "527e0c56d12870d20ef38a57c7e1a8c9"
23.333333
44
0.842857
6
70
9.666667
0.666667
0.206897
0
0
0
0
0
0
0
0
0
0.333333
0.1
70
2
45
35
0.587302
0.314286
0
0
0
0
0.695652
0.695652
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
c5c21cf7e3e811e304c0b1dad469ca7ffe914298
124
py
Python
pydest/__init__.py
hamlowl/pydest
753aa3db9f51ee95ab8765742a1c8aa2281d9f53
[ "MIT" ]
null
null
null
pydest/__init__.py
hamlowl/pydest
753aa3db9f51ee95ab8765742a1c8aa2281d9f53
[ "MIT" ]
null
null
null
pydest/__init__.py
hamlowl/pydest
753aa3db9f51ee95ab8765742a1c8aa2281d9f53
[ "MIT" ]
null
null
null
title = 'pydest' __version__ = '0.2.0' from .api import API from .pydest import Pydest from .pydest import PydestException
17.714286
35
0.758065
18
124
5
0.5
0.222222
0.355556
0
0
0
0
0
0
0
0
0.028571
0.153226
124
6
36
20.666667
0.828571
0
0
0
0
0
0.08871
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
c5d3cad8696779c772d53f28808ce163205a0f50
6,552
py
Python
tests.py
bennycornelissen/aws2fa
f6cae126ad72c13f1c44020dc64ec0ec9a727e90
[ "BSD-3-Clause" ]
14
2017-06-04T08:19:39.000Z
2019-07-11T09:59:05.000Z
tests.py
bennycornelissen/aws2fa
f6cae126ad72c13f1c44020dc64ec0ec9a727e90
[ "BSD-3-Clause" ]
4
2019-09-29T09:33:07.000Z
2021-05-08T01:07:53.000Z
tests.py
bennycornelissen/aws2fa
f6cae126ad72c13f1c44020dc64ec0ec9a727e90
[ "BSD-3-Clause" ]
4
2017-07-11T13:33:07.000Z
2019-08-01T14:40:44.000Z
import os import sys import unittest import tempfile from datetime import datetime try: from mock import patch, Mock, call except ImportError: from unittest.mock import patch, Mock from aws2fa import AWS2FA from aws2fa.bin import main from aws2fa.helpers import ConfigParser class TestAWS2FA(unittest.TestCas...
28.363636
95
0.535867
647
6,552
5.055641
0.153014
0.099052
0.082544
0.058698
0.808316
0.808316
0.781107
0.762764
0.726689
0.726689
0
0.015458
0.358211
6,552
230
96
28.486957
0.762426
0.016636
0
0.511111
0
0
0.267485
0.101337
0
0
0
0
0.083333
1
0.027778
false
0
0.061111
0
0.094444
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
c5f1745543f8315276385ed2864cdaa6a03e1183
17,101
py
Python
tests/test_line_checker.py
tech-chad/line_checker
98513d3b5b48bf6796f7db83e3d6a227ead595fd
[ "MIT" ]
null
null
null
tests/test_line_checker.py
tech-chad/line_checker
98513d3b5b48bf6796f7db83e3d6a227ead595fd
[ "MIT" ]
null
null
null
tests/test_line_checker.py
tech-chad/line_checker
98513d3b5b48bf6796f7db83e3d6a227ead595fd
[ "MIT" ]
null
null
null
from unittest import mock import pytest from line_checker import line_checker def test_load_file(make_test_file): file_contents = "one line text file" filename = "test.txt" test_file = make_test_file(filename, file_contents) result = line_checker.load_file(test_file) assert len(result) == 1 ...
32.266038
80
0.586282
2,312
17,101
4.120675
0.101211
0.065813
0.037787
0.035268
0.802036
0.778734
0.738008
0.728351
0.714601
0.698541
0
0.032391
0.276066
17,101
529
81
32.327032
0.737157
0.011637
0
0.687773
0
0.002183
0.308416
0.022195
0
0
0
0
0.111354
1
0.054585
false
0.034935
0.024017
0
0.080786
0.050218
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
a8808acfd58813f8aaa980e0f22c5a0e75b9b85f
47
py
Python
cpgames/modules/core/pacman/__init__.py
Wasabii88/Games
33262ca1958207a24e57e3532feded7e275b1dd1
[ "MIT" ]
1
2022-02-27T10:33:41.000Z
2022-02-27T10:33:41.000Z
cpgames/modules/core/pacman/__init__.py
beiwei365/Games
f6499f378802d3212a08aeca761191b58714b7f0
[ "MIT" ]
null
null
null
cpgames/modules/core/pacman/__init__.py
beiwei365/Games
f6499f378802d3212a08aeca761191b58714b7f0
[ "MIT" ]
null
null
null
'''initialize''' from .pacman import PacmanGame
23.5
30
0.765957
5
47
7.2
1
0
0
0
0
0
0
0
0
0
0
0
0.085106
47
2
30
23.5
0.837209
0.212766
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
a8d6fb9c0c44b09f53496b5eb4b147737a877fcd
129
py
Python
{{cookiecutter.package_name}}/tests/test_{{cookiecutter.module_name}}.py
himkt/python-template
551693ec28a15261cec9b31d748d4a5a42cb662e
[ "MIT" ]
4
2021-08-28T04:34:04.000Z
2021-09-13T05:02:42.000Z
{{cookiecutter.package_name}}/tests/test_{{cookiecutter.module_name}}.py
himkt/python-template
551693ec28a15261cec9b31d748d4a5a42cb662e
[ "MIT" ]
null
null
null
{{cookiecutter.package_name}}/tests/test_{{cookiecutter.module_name}}.py
himkt/python-template
551693ec28a15261cec9b31d748d4a5a42cb662e
[ "MIT" ]
1
2021-09-14T13:43:59.000Z
2021-09-14T13:43:59.000Z
import {{cookiecutter.module_name}} def test_version() -> None: assert {{cookiecutter.module_name}}.__version__ == "0.1.0"
21.5
62
0.705426
16
129
5.25
0.6875
0.428571
0.52381
0
0
0
0
0
0
0
0
0.026549
0.124031
129
5
63
25.8
0.716814
0
0
0
0
0
0.03876
0
0
0
0
0
0.333333
0
null
null
0
0.333333
null
null
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
6
766f8269f0055d7aebf46ee4a9fbd8b7cda154de
204
py
Python
finetune/processor/__init__.py
cdrhim/KoELECTRA
f2f91adc87cd7fe84280e2cc3b7bc943179e280a
[ "Apache-2.0" ]
5
2020-05-24T10:50:25.000Z
2021-06-16T08:34:28.000Z
finetune/processor/__init__.py
cdrhim/KoELECTRA
f2f91adc87cd7fe84280e2cc3b7bc943179e280a
[ "Apache-2.0" ]
1
2021-01-21T07:56:42.000Z
2021-01-21T07:56:42.000Z
finetune/processor/__init__.py
SIC98/KoELECTRA
19fd5f2b698b297a8cf1e2c0c3995c93509298f3
[ "Apache-2.0" ]
1
2020-09-21T03:15:48.000Z
2020-09-21T03:15:48.000Z
from .seq_cls import seq_cls_load_and_cache_examples, seq_cls_output_modes, seq_cls_processors, seq_cls_tasks_num_labels from .ner import ner_load_and_cache_examples, ner_processors, ner_tasks_num_labels
68
120
0.901961
36
204
4.472222
0.416667
0.186335
0.149068
0.248447
0
0
0
0
0
0
0
0
0.063725
204
2
121
102
0.842932
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
768c9074f337adebd46fbe5ebdcaaff7d6e61e45
42
py
Python
bmw/type_specification.py
qcware/bmw
761e405587bffe5dc4ca9f79432a79df2c7fd8f8
[ "MIT" ]
null
null
null
bmw/type_specification.py
qcware/bmw
761e405587bffe5dc4ca9f79432a79df2c7fd8f8
[ "MIT" ]
null
null
null
bmw/type_specification.py
qcware/bmw
761e405587bffe5dc4ca9f79432a79df2c7fd8f8
[ "MIT" ]
null
null
null
from .bmw_plugin import TypeSpecification
21
41
0.880952
5
42
7.2
1
0
0
0
0
0
0
0
0
0
0
0
0.095238
42
1
42
42
0.947368
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
76a2a0f6933844ae406a87bdd228ea752c1aae20
76,451
py
Python
tasks-deploy/chef/generate.py
chankruze/qctf-school-2018
1e732cf264ee0a94bc2fc1fd8cf3a20660d57605
[ "MIT" ]
null
null
null
tasks-deploy/chef/generate.py
chankruze/qctf-school-2018
1e732cf264ee0a94bc2fc1fd8cf3a20660d57605
[ "MIT" ]
null
null
null
tasks-deploy/chef/generate.py
chankruze/qctf-school-2018
1e732cf264ee0a94bc2fc1fd8cf3a20660d57605
[ "MIT" ]
null
null
null
TITLE = "Криптограмма" STATEMENT_TEMPLATE = ''' Это бармен из бара «100 рентген», помнишь меня? Удалось выяснить, что в документах упоминается некая лаборатория X-18. Мне сказали, что по описанию она очень похожа на подземные помещения Тёмной долины. Думаю, там находится недостающая часть документов. Правда, для откр...
3,822.55
75,733
0.716564
18,173
76,451
2.954053
0.04061
0.037404
0.065196
0.083824
0.737426
0.556963
0.524961
0.523992
0.523992
0.523992
0
0.7369
0.217172
76,451
19
75,734
4,023.736842
0.160072
0
0
0
0
38.615385
0.931603
0.209899
0
0
0
0
0
1
0.076923
false
0
0
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
76a7abb355b72de5c206332bb9f689b96838acb6
29,972
py
Python
complex_networks_keras_tf1/models/densenet_models_2d.py
QinggangSUN/keras_complex_valued_networks
e7a6c9238645e87a679328e9f8e8834ad0f716e2
[ "MIT" ]
8
2020-11-29T11:50:04.000Z
2022-01-15T15:17:47.000Z
complex_networks_keras_tf1/models/densenet_models_2d.py
QinggangSUN/keras_complex_valued_networks
e7a6c9238645e87a679328e9f8e8834ad0f716e2
[ "MIT" ]
null
null
null
complex_networks_keras_tf1/models/densenet_models_2d.py
QinggangSUN/keras_complex_valued_networks
e7a6c9238645e87a679328e9f8e8834ad0f716e2
[ "MIT" ]
1
2021-11-29T08:22:17.000Z
2021-11-29T08:22:17.000Z
# -*- coding: utf-8 -*- """This module implements a number of popular two-dimensional complex valued DenseNet models.""" # Authors: Qinggang Sun # # Reference: # Somshubra Majumdar. DenseNet # https://github.com/titu1994/DenseNet # pylint: disable=too-many-locals, dangerous-default-value, keyword-arg-b...
46.181818
119
0.588516
3,530
29,972
4.81983
0.073654
0.052898
0.023275
0.026331
0.833549
0.816798
0.811097
0.807982
0.796403
0.776713
0
0.033305
0.334812
29,972
648
120
46.253086
0.820083
0.560823
0
0.656958
0
0
0.040084
0
0
0
0
0
0.012945
1
0.019417
false
0
0.029126
0
0.067961
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
4fb071ee7658db734b05d6e4d709ceb36feecebf
35
py
Python
src/pluggable_app_engine/__init__.py
mikolajtr/pluggable_app_engine
126262d2f4f5617e72ad82edfaad03a3cd3979c6
[ "MIT" ]
1
2018-01-06T09:26:29.000Z
2018-01-06T09:26:29.000Z
src/pluggable_app_engine/__init__.py
mikolajtr/pygins
126262d2f4f5617e72ad82edfaad03a3cd3979c6
[ "MIT" ]
null
null
null
src/pluggable_app_engine/__init__.py
mikolajtr/pygins
126262d2f4f5617e72ad82edfaad03a3cd3979c6
[ "MIT" ]
null
null
null
from .app_context import AppContext
35
35
0.885714
5
35
6
1
0
0
0
0
0
0
0
0
0
0
0
0.085714
35
1
35
35
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
96e447c7cbf9393e7599702a93654ea3ceaac6a7
183
py
Python
plab/smu/__init__.py
joamatab/photonic-coupling-drivers
c12581d8e2158a292e1c585e45c0207c8129c0f1
[ "MIT" ]
null
null
null
plab/smu/__init__.py
joamatab/photonic-coupling-drivers
c12581d8e2158a292e1c585e45c0207c8129c0f1
[ "MIT" ]
null
null
null
plab/smu/__init__.py
joamatab/photonic-coupling-drivers
c12581d8e2158a292e1c585e45c0207c8129c0f1
[ "MIT" ]
null
null
null
from plab.smu.plot_iv import plot_iv from plab.smu.plot_iv import plot_iv_max from plab.smu.sweep_voltage import sweep_voltage __all__ = ["plot_iv", "plot_iv_max", "sweep_voltage"]
26.142857
53
0.803279
33
183
4
0.30303
0.272727
0.25
0.227273
0.439394
0.439394
0.439394
0.439394
0
0
0
0
0.103825
183
6
54
30.5
0.804878
0
0
0
0
0
0.169399
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
8c046222d90d9fa9f41df2a1aa10bd805fc0fe1b
44
py
Python
helios/rpc/modules/eth.py
hyperevo/py-helios-node
ff417fe3fe90f85c9f95b3d8a5f0dd4c80532ee8
[ "MIT" ]
null
null
null
helios/rpc/modules/eth.py
hyperevo/py-helios-node
ff417fe3fe90f85c9f95b3d8a5f0dd4c80532ee8
[ "MIT" ]
null
null
null
helios/rpc/modules/eth.py
hyperevo/py-helios-node
ff417fe3fe90f85c9f95b3d8a5f0dd4c80532ee8
[ "MIT" ]
null
null
null
from .hls import Hls class Eth(Hls): pass
11
20
0.704545
8
44
3.875
0.75
0
0
0
0
0
0
0
0
0
0
0
0.204545
44
4
21
11
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
6
8c1ccd29be621fa474bf39e9f211f4c4dd47b854
27,558
py
Python
Rock-Paper-Scissor.py
smmsa1912/Games
84ad2d22fb0ec94ad71f41118a8fbfe4edd0cdb1
[ "MIT" ]
2
2021-06-21T07:30:14.000Z
2021-08-02T15:51:54.000Z
Rock-Paper-Scissor.py
smmsa1912/Games
84ad2d22fb0ec94ad71f41118a8fbfe4edd0cdb1
[ "MIT" ]
null
null
null
Rock-Paper-Scissor.py
smmsa1912/Games
84ad2d22fb0ec94ad71f41118a8fbfe4edd0cdb1
[ "MIT" ]
null
null
null
# Starter import random import time import sys print('\n Kindly Wait The Game Is Loading!... :)') time.sleep(1) print(' NOTE: You Need 5 Points To Win The Match') time.sleep(2) # Containers s_com = 0 s_player = 0 opt1 = 'Stone' opt2 = 'Paper' opt3 = 'Scissor' opt4 = 'stone' opt5 = 'paper' opt6 = ...
41.316342
264
0.415124
2,903
27,558
3.903204
0.060971
0.086577
0.063542
0.054011
0.855
0.824111
0.815286
0.779543
0.675845
0.669844
0
0.024483
0.464947
27,558
666
265
41.378378
0.743981
0.003774
0
0.857369
0
0.004754
0.235808
0
0
0
0
0
0
1
0
false
0
0.004754
0
0.004754
0.340729
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
8c2869152c6a91fedb73fdd8048eec28417e1fb9
30
py
Python
SIMLR_PY/SIMLR/__init__.py
busraasan/BGSR-basiralab
15207a21dc5d65b3ca2225c881514a5b71b4bc79
[ "MIT" ]
4
2020-08-10T06:14:31.000Z
2021-02-02T16:19:10.000Z
SIMLR_PY/SIMLR/__init__.py
Roxbili/topoGAN
25cc397bf8925e485d3a39837b8bce552118f5dc
[ "MIT" ]
null
null
null
SIMLR_PY/SIMLR/__init__.py
Roxbili/topoGAN
25cc397bf8925e485d3a39837b8bce552118f5dc
[ "MIT" ]
1
2020-08-10T11:42:51.000Z
2020-08-10T11:42:51.000Z
from .core import SIMLR_LARGE
15
29
0.833333
5
30
4.8
1
0
0
0
0
0
0
0
0
0
0
0
0.133333
30
1
30
30
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4fbf833cd3acac338999e537d1cfa8b363014089
31
py
Python
z42/z42/web/_patch/__init__.py
jumploop/collection_python
f66f18dc5ae50fce95679e0f4aee5e28b2543432
[ "MIT" ]
null
null
null
z42/z42/web/_patch/__init__.py
jumploop/collection_python
f66f18dc5ae50fce95679e0f4aee5e28b2543432
[ "MIT" ]
null
null
null
z42/z42/web/_patch/__init__.py
jumploop/collection_python
f66f18dc5ae50fce95679e0f4aee5e28b2543432
[ "MIT" ]
null
null
null
import _morsel import _tornado
10.333333
15
0.870968
4
31
6.25
0.75
0
0
0
0
0
0
0
0
0
0
0
0.129032
31
2
16
15.5
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4fde84eaf48d3d6eb749cf77e4e7e600ae9f5d3d
5,744
py
Python
documentation/ICCS2010/accuracy_and_runtime_check.py
arthus701/algopy
1e2430f803289bbaed6bbdff6c28f98d7767835c
[ "Unlicense" ]
54
2015-03-05T13:38:08.000Z
2021-11-29T11:54:48.000Z
documentation/ICCS2010/accuracy_and_runtime_check.py
arthus701/algopy
1e2430f803289bbaed6bbdff6c28f98d7767835c
[ "Unlicense" ]
7
2016-04-06T11:25:00.000Z
2020-11-09T13:53:20.000Z
documentation/ICCS2010/accuracy_and_runtime_check.py
arthus701/algopy
1e2430f803289bbaed6bbdff6c28f98d7767835c
[ "Unlicense" ]
13
2015-01-17T17:05:56.000Z
2021-08-05T01:13:16.000Z
""" In this file, the numerical accuracy and the speed tests for QR and eigh functions are performed. """ import numpy import time import algopy.utpm as utpm # D-1 is the degree of the polynomial # P is the number of simultaneously computed decompositions (Single Program Multiple Data) # M is the number of rows of th...
30.231579
152
0.577298
861
5,744
3.809524
0.167247
0.04878
0.031707
0.046341
0.825305
0.798476
0.757317
0.735976
0.712805
0.676524
0
0.015057
0.132834
5,744
189
153
30.391534
0.643445
0.193942
0
0.698113
0
0.028302
0.351675
0.193997
0
0
0
0
0.037736
1
0
false
0
0.028302
0
0.028302
0.245283
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
4fe3f1fc79fdd39548b2d3b00c7f63b07b165388
201
py
Python
mmtbx/command_line/cablam_training.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
mmtbx/command_line/cablam_training.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
mmtbx/command_line/cablam_training.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import division # LIBTBX_SET_DISPATCHER_NAME phenix.cablam_training import sys from mmtbx.cablam import cablam_training if __name__ == "__main__": cablam_training.run(sys.argv[1:])
22.333333
51
0.81592
28
201
5.214286
0.642857
0.287671
0
0
0
0
0
0
0
0
0
0.005587
0.109453
201
8
52
25.125
0.810056
0.243781
0
0
0
0
0.053333
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4fe980eaea050b9cb75c264b0b9c6c5d4ce708cf
12,469
py
Python
tests/test_cli.py
maxwolfe/autocsr
6c8295c0796f597c8780658de1570f9951b3d846
[ "MIT" ]
null
null
null
tests/test_cli.py
maxwolfe/autocsr
6c8295c0796f597c8780658de1570f9951b3d846
[ "MIT" ]
null
null
null
tests/test_cli.py
maxwolfe/autocsr
6c8295c0796f597c8780658de1570f9951b3d846
[ "MIT" ]
null
null
null
"""Tests for the autocsr command line interface.""" import os from pathlib import Path from tempfile import NamedTemporaryFile from unittest import TestCase import pytest import yaml from cryptography.hazmat.primitives import serialization from cryptography.hazmat.primitives.asymmetric import dsa from typer.testing i...
33.609164
91
0.542866
1,366
12,469
4.816984
0.132504
0.039514
0.076596
0.031915
0.817325
0.788298
0.773556
0.770365
0.759422
0.704103
0
0.019753
0.350389
12,469
370
92
33.7
0.792593
0.061513
0
0.613924
0
0
0.340422
0.064055
0
0
0
0
0.075949
1
0.044304
false
0
0.031646
0
0.085443
0.037975
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
8b0d9b36be5d25dc7484d0ee4536df3721b786d1
56
py
Python
scriptable/api/__init__.py
c7nw3r/scriptable
b285d865da41774c8321ebf51f5a468ef1c92402
[ "Apache-2.0" ]
null
null
null
scriptable/api/__init__.py
c7nw3r/scriptable
b285d865da41774c8321ebf51f5a468ef1c92402
[ "Apache-2.0" ]
null
null
null
scriptable/api/__init__.py
c7nw3r/scriptable
b285d865da41774c8321ebf51f5a468ef1c92402
[ "Apache-2.0" ]
null
null
null
from .ast import AST from .ast_binding import ASTBinding
28
35
0.839286
9
56
5.111111
0.555556
0.304348
0
0
0
0
0
0
0
0
0
0
0.125
56
2
35
28
0.938776
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
8b330b2c6aed4292dd467e2f820a6f37cdc9ad68
48
py
Python
heregeocoder/__init__.py
kaypee90/here_geocoder_wrapper
f8dec03425e6f102247f327101981ac3da14718c
[ "MIT" ]
1
2020-11-30T04:40:51.000Z
2020-11-30T04:40:51.000Z
heregeocoder/__init__.py
kaypee90/here_geocoder_wrapper
f8dec03425e6f102247f327101981ac3da14718c
[ "MIT" ]
null
null
null
heregeocoder/__init__.py
kaypee90/here_geocoder_wrapper
f8dec03425e6f102247f327101981ac3da14718c
[ "MIT" ]
1
2020-11-30T04:40:58.000Z
2020-11-30T04:40:58.000Z
from heregeocoder.GeocoderApi import GeocoderApi
48
48
0.916667
5
48
8.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.0625
48
1
48
48
0.977778
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
8b4b079455ece2a31f77d5baebdb1907ac190639
3,228
py
Python
tests/test_ref_from_url.py
quwac/cloud-storage-for-firebase-utils
de296fa51d9515e4d23cc1fe0e7043bce55526ca
[ "MIT" ]
2
2021-04-13T21:53:26.000Z
2021-12-17T11:40:02.000Z
tests/test_ref_from_url.py
quwac/cloud-storage-for-firebase-utils
de296fa51d9515e4d23cc1fe0e7043bce55526ca
[ "MIT" ]
null
null
null
tests/test_ref_from_url.py
quwac/cloud-storage-for-firebase-utils
de296fa51d9515e4d23cc1fe0e7043bce55526ca
[ "MIT" ]
null
null
null
import pytest from testconfig import TEST_ARG from csfutils import init_storage, ref_from_url class TestRefFromUrl(object): def test_ref_from_url_public_url(self): storage = init_storage(TEST_ARG.service_account_json_path) bucket_name = TEST_ARG.bucket_name expected_blob = storage.bucket...
36.681818
173
0.697336
451
3,228
4.656319
0.161863
0.095238
0.080952
0.053333
0.840952
0.827619
0.827619
0.757619
0.737619
0.737619
0
0.02302
0.20601
3,228
87
174
37.103448
0.794382
0.011772
0
0.6
0
0.05
0.173886
0.05838
0
0
0
0
0.15
1
0.133333
false
0
0.05
0
0.2
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
8ca6e8888145c30281135db712725d4caf0427fa
74
py
Python
tests/test_screens.py
rms4698/pywebview
e24d00d4f39d56d41e92abe7ff4d1ae2828c5130
[ "BSD-3-Clause" ]
3,093
2015-02-08T15:59:16.000Z
2022-03-31T15:45:21.000Z
tests/test_screens.py
rms4698/pywebview
e24d00d4f39d56d41e92abe7ff4d1ae2828c5130
[ "BSD-3-Clause" ]
705
2015-02-10T17:29:02.000Z
2022-03-31T02:45:44.000Z
tests/test_screens.py
rms4698/pywebview
e24d00d4f39d56d41e92abe7ff4d1ae2828c5130
[ "BSD-3-Clause" ]
528
2015-02-08T18:21:38.000Z
2022-03-30T03:39:07.000Z
import webview def test_screens(): assert(len(webview.screens) > 0)
12.333333
36
0.702703
10
74
5.1
0.8
0
0
0
0
0
0
0
0
0
0
0.016393
0.175676
74
5
37
14.8
0.819672
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
8cb3f3b436acbf1bd8458d0507b4fe403b8eb5de
2,039
py
Python
test_ubuntu.py
noname19871/pyStaticAnalyzer
05c36829c585c92772b551a5f1d9c0b4626ecb8d
[ "MIT" ]
null
null
null
test_ubuntu.py
noname19871/pyStaticAnalyzer
05c36829c585c92772b551a5f1d9c0b4626ecb8d
[ "MIT" ]
null
null
null
test_ubuntu.py
noname19871/pyStaticAnalyzer
05c36829c585c92772b551a5f1d9c0b4626ecb8d
[ "MIT" ]
null
null
null
from pyStaticAnalyzer import kernel, checker dir = 'test_linter/' k = kernel.ProjectKernel(dir, ignored={'venv', '.idea', '__pycache__'}) # Tests for project kernel k.print_structure(indent_count=8) k.print_folder(dir + '1') k.print_all_asts() k.print_folder_asts(dir + '1') k.print_file_ast(dir + '1/11/111/first.py'...
36.410714
71
0.738107
355
2,039
3.977465
0.177465
0.042493
0.055241
0.082861
0.874646
0.874646
0.840652
0.78966
0.760623
0.760623
0
0.043572
0.088279
2,039
55
72
37.072727
0.715976
0.055419
0
0.681818
0
0
0.169183
0
0
0
0
0
0
1
0
false
0
0.022727
0
0.022727
0.227273
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
8cbc754d88d6bb46ac626197c15212c3f062492d
63,068
py
Python
app_qesq_v6_random_images_zip.py
ArnauDIMAI/CLIP-GuessWho
02d4be6178b54b4c7f9aa332f4485e3ac3258258
[ "MIT" ]
3
2021-11-30T12:31:00.000Z
2021-12-02T23:18:49.000Z
app_qesq_v6_random_images_zip.py
ArnauDIMAI/CLIP-GuessWho
02d4be6178b54b4c7f9aa332f4485e3ac3258258
[ "MIT" ]
null
null
null
app_qesq_v6_random_images_zip.py
ArnauDIMAI/CLIP-GuessWho
02d4be6178b54b4c7f9aa332f4485e3ac3258258
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ## Used Imports import os import io import zipfile # import pygame import tarfile import pickle import math import random import glob import torch import torchvision import subprocess import cv2 import shutil import os.path import numpy as np import tensorflow as tf import p...
63.898683
453
0.573571
8,145
63,068
4.21105
0.057704
0.074405
0.111257
0.148343
0.825826
0.803755
0.788303
0.767486
0.716872
0.681827
0
0.018917
0.292557
63,068
986
454
63.963489
0.749692
0.052166
0
0.507853
0
0.040576
0.357134
0.033928
0
0
0
0
0
1
0.019634
false
0
0.060209
0.001309
0.096859
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
8ceb58807529c02f432469108a75aec5c612e29a
133
py
Python
mlmo/decoding/__init__.py
prashantlv/mltoolkit
acc192bafc66b7661d541ef4f604b5e5ab7df5ca
[ "MIT" ]
1
2020-10-03T05:23:31.000Z
2020-10-03T05:23:31.000Z
mlmo/decoding/__init__.py
prashantlv/mltoolkit
acc192bafc66b7661d541ef4f604b5e5ab7df5ca
[ "MIT" ]
null
null
null
mlmo/decoding/__init__.py
prashantlv/mltoolkit
acc192bafc66b7661d541ef4f604b5e5ab7df5ca
[ "MIT" ]
null
null
null
from .base_decoder import BaseDecoder from .beam_decoder import BeamDecoder from .gumbel_softmax_decoder import GumbelSoftmaxDecoder
33.25
56
0.887218
16
133
7.125
0.625
0.342105
0
0
0
0
0
0
0
0
0
0
0.090226
133
3
57
44.333333
0.942149
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
8cff6630e499ead0722b7a3536078ee45d322a4b
50,815
py
Python
cvpysdk/subclients/cloudapps/salesforce_subclient.py
mattmorganpdx/cvpysdk
ff8f4ee2aa76be65b35be118a7c872e6414f4a01
[ "Apache-2.0" ]
35
2016-11-30T03:51:02.000Z
2020-05-14T09:48:34.000Z
cvpysdk/subclients/cloudapps/salesforce_subclient.py
mattmorganpdx/cvpysdk
ff8f4ee2aa76be65b35be118a7c872e6414f4a01
[ "Apache-2.0" ]
88
2016-11-30T03:56:00.000Z
2020-05-14T06:58:36.000Z
cvpysdk/subclients/cloudapps/salesforce_subclient.py
mattmorganpdx/cvpysdk
ff8f4ee2aa76be65b35be118a7c872e6414f4a01
[ "Apache-2.0" ]
40
2016-11-29T04:11:07.000Z
2020-06-06T15:02:59.000Z
# -*- coding: utf-8 -*- # -------------------------------------------------------------------------- # Copyright Commvault Systems, 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 # # ...
42.065397
115
0.561134
4,965
50,815
5.462034
0.071098
0.058004
0.07397
0.016815
0.804196
0.781518
0.750913
0.738338
0.730964
0.716804
0
0.006899
0.372469
50,815
1,207
116
42.100249
0.843546
0.402637
0
0.596929
0
0
0.142744
0.018623
0
0
0
0
0
1
0.042226
false
0.028791
0.017274
0
0.084453
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
50b917103e0c2d35f888c5d68c76f3c9569c8a5f
17,849
py
Python
aibg-ai/data_processing.py
BalderOdinson/ai-battleground-environment
b5a0a21ee90df113d34ab0f821ab9722007cc25c
[ "MIT" ]
null
null
null
aibg-ai/data_processing.py
BalderOdinson/ai-battleground-environment
b5a0a21ee90df113d34ab0f821ab9722007cc25c
[ "MIT" ]
1
2021-09-02T07:58:16.000Z
2021-09-02T07:58:16.000Z
aibg-ai/data_processing.py
BalderOdinson/ai-battleground-environment
b5a0a21ee90df113d34ab0f821ab9722007cc25c
[ "MIT" ]
null
null
null
import pandas as pd import random import numpy as np import tensorflow as tf import os from abc import abstractmethod from glob import glob class BaseDataLoader: def __init__(self, path): self.path = path self.ACTIONS = ['_', 'w', 'a', 's', 'd', 'rw', 'ra', 'rs', 'rd', 'mn', 'mf', 'mw', 'mg'] ...
49.30663
120
0.544904
2,008
17,849
4.588645
0.093626
0.022791
0.023443
0.026047
0.853158
0.841003
0.822661
0.812676
0.795637
0.789668
0
0.012461
0.330103
17,849
361
121
49.443213
0.758133
0
0
0.589041
0
0
0.12236
0
0
0
0
0
0
1
0.054795
false
0.010274
0.023973
0
0.126712
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0fa641cdcad4c121b53a2e5788ec76d901bbc54c
121
py
Python
sample_proj/server/views.py
jaehoon92/sample_proj
5a054025b14b5d1505ad8455f6f7fb872f2e9e0f
[ "MIT" ]
null
null
null
sample_proj/server/views.py
jaehoon92/sample_proj
5a054025b14b5d1505ad8455f6f7fb872f2e9e0f
[ "MIT" ]
null
null
null
sample_proj/server/views.py
jaehoon92/sample_proj
5a054025b14b5d1505ad8455f6f7fb872f2e9e0f
[ "MIT" ]
null
null
null
from server import app #from models import Member @app.route('/') def index(): return '<h1>You are on the index!</h1>'
17.285714
40
0.68595
20
121
4.15
0.75
0
0
0
0
0
0
0
0
0
0
0.019608
0.157025
121
6
41
20.166667
0.794118
0.206612
0
0
0
0
0.326316
0
0
0
0
0
0
1
0.25
true
0
0.25
0.25
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
6
0fa6f57e612b54d7d517bd20ca004e469fd1a745
47
py
Python
sparv/modules/conll_export/__init__.py
heatherleaf/sparv-pipeline
0fe5f27d0d82548ecc6cb21a69289668aac54cf1
[ "MIT" ]
17
2018-09-21T07:01:45.000Z
2022-02-24T23:26:49.000Z
sparv/modules/conll_export/__init__.py
heatherleaf/sparv-pipeline
0fe5f27d0d82548ecc6cb21a69289668aac54cf1
[ "MIT" ]
146
2018-11-13T19:13:25.000Z
2022-03-31T09:57:56.000Z
sparv/modules/conll_export/__init__.py
heatherleaf/sparv-pipeline
0fe5f27d0d82548ecc6cb21a69289668aac54cf1
[ "MIT" ]
5
2019-02-14T00:50:38.000Z
2021-03-29T15:37:41.000Z
"""CoNLL file export.""" from . import conllu
11.75
24
0.659574
6
47
5.166667
1
0
0
0
0
0
0
0
0
0
0
0
0.170213
47
3
25
15.666667
0.794872
0.382979
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
e83973e01df7502aa177d6a269b81d0459b3de02
92
py
Python
inferno/trainers/callbacks/__init__.py
imagirom/inferno
9ea69f8236a0d015898944a4e75d532007d615aa
[ "Apache-2.0" ]
null
null
null
inferno/trainers/callbacks/__init__.py
imagirom/inferno
9ea69f8236a0d015898944a4e75d532007d615aa
[ "Apache-2.0" ]
null
null
null
inferno/trainers/callbacks/__init__.py
imagirom/inferno
9ea69f8236a0d015898944a4e75d532007d615aa
[ "Apache-2.0" ]
null
null
null
from .base import CallbackEngine, Callback from . import essentials from . import scheduling
30.666667
42
0.826087
11
92
6.909091
0.636364
0.263158
0
0
0
0
0
0
0
0
0
0
0.130435
92
3
43
30.666667
0.95
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
e8467f5caaa36fe5f359eeca8a47c571d21ce2f5
103
py
Python
web_python_2018_04_ht04_framework/__init__.py
mas-student/web-python-2018-04-ht04
02dac18acaa0268dc280d2dd991adbbfff6c213d
[ "MIT" ]
null
null
null
web_python_2018_04_ht04_framework/__init__.py
mas-student/web-python-2018-04-ht04
02dac18acaa0268dc280d2dd991adbbfff6c213d
[ "MIT" ]
null
null
null
web_python_2018_04_ht04_framework/__init__.py
mas-student/web-python-2018-04-ht04
02dac18acaa0268dc280d2dd991adbbfff6c213d
[ "MIT" ]
null
null
null
from .core import add_url as route from .core import response, response_with_json, response_with_jinja2
51.5
68
0.854369
17
103
4.882353
0.647059
0.192771
0.337349
0
0
0
0
0
0
0
0
0.01087
0.106796
103
2
68
51.5
0.891304
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
2ce30e466bea2ac223cd119da8fda5a6d72c1c27
294
py
Python
Machine Learning/Basic/Regression/regression.py
HackerLion123/Machine-Learning
71224ea97ba4aaded13a700e07b498469299964b
[ "MIT" ]
1
2018-07-21T15:41:40.000Z
2018-07-21T15:41:40.000Z
Machine Learning/Basic/Regression/regression.py
HackerLion123/Machine-Learning
71224ea97ba4aaded13a700e07b498469299964b
[ "MIT" ]
null
null
null
Machine Learning/Basic/Regression/regression.py
HackerLion123/Machine-Learning
71224ea97ba4aaded13a700e07b498469299964b
[ "MIT" ]
null
null
null
from base_model import BaseModel class LinearRegression(BaseModel): def __init__(self): pass def train(self): pass def test(self): pass def prediction(self): pass class LogisticRegression(BaseModel): def __init__(self): pass
12.782609
36
0.615646
31
294
5.548387
0.483871
0.232558
0.19186
0.232558
0.27907
0
0
0
0
0
0
0
0.312925
294
23
37
12.782609
0.851485
0
0
0.538462
0
0
0
0
0
0
0
0
0
1
0.384615
false
0.384615
0.076923
0
0.615385
0
0
0
0
null
1
1
1
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
0
1
0
1
0
0
1
0
0
6
3af966d076bcb8888cb75b1180ffe632aa5f95d8
116
py
Python
todos/serializers/__init__.py
jakrob/servless-todos
f07a3431a319a6b20e6d21e58e0572dd4b4c6ef8
[ "MIT" ]
2
2019-02-26T02:36:24.000Z
2021-03-03T14:40:50.000Z
todos/serializers/__init__.py
jakrob/servless-todos
f07a3431a319a6b20e6d21e58e0572dd4b4c6ef8
[ "MIT" ]
1
2021-05-08T04:13:02.000Z
2021-05-08T04:13:02.000Z
todos/serializers/__init__.py
redlickigrzegorz/serverless-python-story
eb73c073e33d5d0b60beff90b8712cafc87ad11e
[ "MIT" ]
null
null
null
__all__ = ["serialize_task", "serialize_tasks"] from todos.serializers.task import serialize_task, serialize_tasks
29
66
0.818966
14
116
6.214286
0.571429
0.298851
0.505747
0.62069
0
0
0
0
0
0
0
0
0.086207
116
3
67
38.666667
0.820755
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
6
3afe01b4c52337c84b31550b3820bd5d8b56906a
5,018
py
Python
api/tests/function_detail.py
Gawaboumga/OEMS
1e60fa1f350f4cf1ca2e48072e0b4228eeb15024
[ "MIT" ]
null
null
null
api/tests/function_detail.py
Gawaboumga/OEMS
1e60fa1f350f4cf1ca2e48072e0b4228eeb15024
[ "MIT" ]
10
2020-02-11T23:18:38.000Z
2022-03-11T23:32:40.000Z
api/tests/function_detail.py
Gawaboumga/OEMS
1e60fa1f350f4cf1ca2e48072e0b4228eeb15024
[ "MIT" ]
null
null
null
from rest_framework import status from rest_framework.test import APITestCase from django.test import override_settings from django.urls import reverse from oems.settings import TEST_MEDIA_ROOT from api.tests import utils @override_settings(MEDIA_ROOT=TEST_MEDIA_ROOT) class FunctionDetailTests(APITestCase): def ...
46.036697
115
0.727381
632
5,018
5.506329
0.110759
0.144828
0.037356
0.052299
0.818391
0.808908
0.781897
0.752299
0.752299
0.752299
0
0.010248
0.16381
5,018
108
116
46.462963
0.819113
0
0
0.575
0
0
0.049821
0.007373
0
0
0
0
0.2
1
0.0875
false
0
0.075
0
0.175
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d7228d6aa6803f2cf3c834d09c5e59b1bc256b2c
7,705
py
Python
tests/test_multigprof_loader.py
andymeneely/attack-surface-metrics
9cef791a79771ee29f18a0da2159f36c3df32755
[ "MIT" ]
16
2015-12-25T10:53:10.000Z
2022-02-26T08:27:55.000Z
tests/test_multigprof_loader.py
andymeneely/attack-surface-metrics
9cef791a79771ee29f18a0da2159f36c3df32755
[ "MIT" ]
30
2015-01-29T19:34:31.000Z
2021-06-10T17:22:57.000Z
tests/test_multigprof_loader.py
andymeneely/attack-surface-metrics
9cef791a79771ee29f18a0da2159f36c3df32755
[ "MIT" ]
4
2016-11-03T15:59:42.000Z
2020-10-29T17:56:59.000Z
import unittest import os import networkx as nx from attacksurfacemeter.call import Call from attacksurfacemeter.environments import Environments as Env from attacksurfacemeter.granularity import Granularity as Gran from attacksurfacemeter.loaders.multigprof_loader import MultigprofLoader class MultigprofLoaderTest...
31.44898
77
0.577028
892
7,705
4.782511
0.100897
0.065401
0.070089
0.059775
0.879044
0.864979
0.845288
0.837084
0.791842
0.780356
0
0.00038
0.317456
7,705
244
78
31.577869
0.810801
0.025308
0
0.694611
0
0
0.08534
0.020867
0
0
0
0
0.215569
1
0.077844
false
0
0.041916
0
0.125749
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d7233666442069c8049e991a110807a50776bed5
26
py
Python
customPackages/packages/package01/__init__.py
benitodarder/python-workshop
92ae8070114016eb07da2ac88111cb677c7f0e6a
[ "Unlicense" ]
null
null
null
customPackages/packages/package01/__init__.py
benitodarder/python-workshop
92ae8070114016eb07da2ac88111cb677c7f0e6a
[ "Unlicense" ]
null
null
null
customPackages/packages/package01/__init__.py
benitodarder/python-workshop
92ae8070114016eb07da2ac88111cb677c7f0e6a
[ "Unlicense" ]
null
null
null
from .module01 import msg
13
25
0.807692
4
26
5.25
1
0
0
0
0
0
0
0
0
0
0
0.090909
0.153846
26
1
26
26
0.863636
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d7653134176b3393802ab5ead85952c546ce20a7
12,702
py
Python
tests/test_classification.py
yeyinthtoon/tf2-img-aug
086135f9ac8c9bdf6b30ac4ff05529874ecb4314
[ "MIT" ]
null
null
null
tests/test_classification.py
yeyinthtoon/tf2-img-aug
086135f9ac8c9bdf6b30ac4ff05529874ecb4314
[ "MIT" ]
null
null
null
tests/test_classification.py
yeyinthtoon/tf2-img-aug
086135f9ac8c9bdf6b30ac4ff05529874ecb4314
[ "MIT" ]
null
null
null
"""Test cases for classification module""" import tensorflow as tf from tensorflow import test from imgaug.classification import cutmix, mixup, random_erasing delattr(test.TestCase, "test_session") class TestCutmix(test.TestCase): """ Test cases for cutmix of classification module. """ def test_rai...
49.811765
111
0.692174
1,733
12,702
4.793999
0.051356
0.119162
0.067285
0.074627
0.967742
0.958714
0.946798
0.933919
0.924169
0.918633
0
0.04517
0.194772
12,702
254
112
50.007874
0.76711
0.136435
0
0.655172
0
0
0.004409
0
0
0
0
0
0.178161
1
0.178161
false
0
0.017241
0
0.212644
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
d7689edda70117fa6ff10ff5ad4300d53b8c1db0
909
py
Python
demoapp/models.py
Innersystemm/mmad
dde4d72fb6d2471f9637ddb3116535a32b6909cd
[ "MIT" ]
null
null
null
demoapp/models.py
Innersystemm/mmad
dde4d72fb6d2471f9637ddb3116535a32b6909cd
[ "MIT" ]
null
null
null
demoapp/models.py
Innersystemm/mmad
dde4d72fb6d2471f9637ddb3116535a32b6909cd
[ "MIT" ]
null
null
null
from django.db import models class SignsVector(models.Model): userID = models.IntegerField(default=0) sign1 = models.IntegerField(default=0) sign2 = models.IntegerField(default=0) sign3 = models.IntegerField(default=0) sign4 = models.IntegerField(default=0) def __str__(self): return '...
34.961538
76
0.482948
88
909
4.943182
0.318182
0.206897
0.287356
0.298851
0.308046
0.308046
0.308046
0.308046
0.308046
0.211494
0
0.048689
0.412541
909
25
77
36.36
0.765918
0
0
0
0
0
0.040704
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0.210526
0.789474
0
0
0
0
null
1
1
1
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
0
1
0
0
0
1
1
0
0
6
ad0ac8123f312106b7bdfbe5531211ced4ed8f0c
27
py
Python
datastore-transactions/main.py
davidwtbuxton/google-cloud-demos
50cef03efc86c075a2a2e4b7f614586137ac97b0
[ "Apache-2.0" ]
null
null
null
datastore-transactions/main.py
davidwtbuxton/google-cloud-demos
50cef03efc86c075a2a2e4b7f614586137ac97b0
[ "Apache-2.0" ]
null
null
null
datastore-transactions/main.py
davidwtbuxton/google-cloud-demos
50cef03efc86c075a2a2e4b7f614586137ac97b0
[ "Apache-2.0" ]
null
null
null
from demo.views import app
13.5
26
0.814815
5
27
4.4
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
1
27
27
0.956522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
ad42ba758bc93ce0cf415b57542de79319b48795
31
py
Python
example_pkg/subdir/__init__.py
tano93/basic_packaging_structure
7eedc7d3775775249abf2708b1adc537d4bb073f
[ "MIT" ]
null
null
null
example_pkg/subdir/__init__.py
tano93/basic_packaging_structure
7eedc7d3775775249abf2708b1adc537d4bb073f
[ "MIT" ]
null
null
null
example_pkg/subdir/__init__.py
tano93/basic_packaging_structure
7eedc7d3775775249abf2708b1adc537d4bb073f
[ "MIT" ]
null
null
null
from .subdirclassfile import *
15.5
30
0.806452
3
31
8.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.129032
31
1
31
31
0.925926
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
ad66b8032a4b9c7148b3c21d5dea7e2865cf3085
140
py
Python
src/SnowLibrary/__init__.py
nesies/SnowLibrary
b4de7c4133adc1d5a95bf782c3c5629461b96605
[ "Apache-2.0" ]
null
null
null
src/SnowLibrary/__init__.py
nesies/SnowLibrary
b4de7c4133adc1d5a95bf782c3c5629461b96605
[ "Apache-2.0" ]
null
null
null
src/SnowLibrary/__init__.py
nesies/SnowLibrary
b4de7c4133adc1d5a95bf782c3c5629461b96605
[ "Apache-2.0" ]
1
2020-08-11T11:57:23.000Z
2020-08-11T11:57:23.000Z
from .keywords import RESTQuery, RESTInsert from .keywords import DataFile from .keywords import NotificationHelper __all__ = ["keywords"]
23.333333
43
0.814286
15
140
7.333333
0.533333
0.327273
0.490909
0
0
0
0
0
0
0
0
0
0.121429
140
5
44
28
0.894309
0
0
0
0
0
0.057143
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
ad78daa9939f8e29d9c848760b164754d91301a0
43
py
Python
dis_snek/ext/tasks/__init__.py
ShardlessBun/Dis-Snek
fd15b06c531e82a9682a7b139deec0df7b2aa2d0
[ "MIT" ]
null
null
null
dis_snek/ext/tasks/__init__.py
ShardlessBun/Dis-Snek
fd15b06c531e82a9682a7b139deec0df7b2aa2d0
[ "MIT" ]
null
null
null
dis_snek/ext/tasks/__init__.py
ShardlessBun/Dis-Snek
fd15b06c531e82a9682a7b139deec0df7b2aa2d0
[ "MIT" ]
null
null
null
from .task import * from . import triggers
14.333333
22
0.744186
6
43
5.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.186047
43
2
23
21.5
0.914286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d15b976c7b920ec37401dc44d33f5f07460f6339
4,006
py
Python
activecampaign/deals.py
carstickers/activecampaign-python
f03273db0948b9ebc062807b2cf78cfc55200cc5
[ "MIT" ]
null
null
null
activecampaign/deals.py
carstickers/activecampaign-python
f03273db0948b9ebc062807b2cf78cfc55200cc5
[ "MIT" ]
1
2020-06-04T19:52:32.000Z
2020-06-04T19:52:32.000Z
activecampaign/deals.py
renzon/activecampaign-python
b1bb7a13510de86af9122669fece0cd174a8f4f5
[ "MIT" ]
1
2020-02-08T04:55:14.000Z
2020-02-08T04:55:14.000Z
class Deals(object): def __init__(self, client): self.client = client def create_a_deal(self, data): """ Create a new deal Args: data: Returns: """ return self.client._post("/deals", json=data) def retrieve_a_deal(self, deal_id): ...
20.649485
89
0.616825
437
4,006
5.354691
0.118993
0.1
0.311111
0.331197
0.852564
0.712393
0.473504
0.335043
0.17094
0.040171
0
0
0.302047
4,006
193
90
20.756477
0.83691
0.125562
0
0.356164
0
0
0.03046
0
0
0
0
0
0
1
0.493151
false
0
0
0
0.630137
0
0
0
0
null
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
6
0f0b10dedc1f6634f849466dc4fc8ac5fbf60a7a
129
py
Python
marioai/__init__.py
weslanra/marioai
356a26b1575505cdfca7fe1ce5de43d0d07de45f
[ "MIT" ]
3
2015-11-12T23:38:16.000Z
2019-10-01T23:50:52.000Z
marioai/__init__.py
Behery/marioai
adbe1625e9acad55dde057a8df3cb2a7036f7eff
[ "MIT" ]
null
null
null
marioai/__init__.py
Behery/marioai
adbe1625e9acad55dde057a8df3cb2a7036f7eff
[ "MIT" ]
6
2016-07-20T01:59:57.000Z
2021-07-05T05:53:41.000Z
import logging from .environment import * from .task import * from .agent import * from .experiment import * from . import utils
18.428571
26
0.75969
17
129
5.764706
0.470588
0.408163
0
0
0
0
0
0
0
0
0
0
0.170543
129
7
27
18.428571
0.915888
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0f0e054a8f2347e3b91b0fb061b7afc9fd17bb4d
10,887
py
Python
test/functional/genesis_upgrade_tests/tx_accept_nonstandard_tests.py
JimmyNLose/Sant_rOyOS_SV
829036a6770fee27bad506911b245e9161795568
[ "OML" ]
null
null
null
test/functional/genesis_upgrade_tests/tx_accept_nonstandard_tests.py
JimmyNLose/Sant_rOyOS_SV
829036a6770fee27bad506911b245e9161795568
[ "OML" ]
null
null
null
test/functional/genesis_upgrade_tests/tx_accept_nonstandard_tests.py
JimmyNLose/Sant_rOyOS_SV
829036a6770fee27bad506911b245e9161795568
[ "OML" ]
1
2020-06-13T18:41:58.000Z
2020-06-13T18:41:58.000Z
#!/usr/bin/env python3 # Copyright (c) 2019 Bitcoin Association # Copyright (c) 2020* Jimmy N. Lose # * Gregorian calendar years # Distributed under the Open BSV software license, see the accompanying file LICENSE. from test_framework.key import CECKey from genesis_upgrade_tests.test_base import GenesisHeightBasedSimp...
51.842857
185
0.671902
1,169
10,887
5.859709
0.100941
0.070073
0.069489
0.084088
0.878102
0.878102
0.878102
0.878102
0.878102
0.867591
0
0.031246
0.241573
10,887
209
186
52.090909
0.798353
0.026362
0
0.515723
0
0
0.139324
0.015952
0
0
0
0
0
1
0.031447
false
0
0.025157
0
0.389937
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0f180fa6cb091604d2fa4943553838c4a1624433
9,931
py
Python
src/tests/expression_tests.py
inthescales/lyres-dictionary
70192c58182a5a30cf367a55e5c7f94417ad775d
[ "MIT" ]
5
2019-04-08T23:17:54.000Z
2022-01-21T15:44:52.000Z
src/tests/expression_tests.py
inthescales/lyres-dictionary
70192c58182a5a30cf367a55e5c7f94417ad775d
[ "MIT" ]
null
null
null
src/tests/expression_tests.py
inthescales/lyres-dictionary
70192c58182a5a30cf367a55e5c7f94417ad775d
[ "MIT" ]
null
null
null
import unittest from src.expressions import evaluate_expression test_morphs = { "nuntiare": { "key": "nuntiare", "link-present": "nuntia", "link-perfect": "nunciat", "final": "nounce", "type": "verb", "conjugation": 1, "gloss": "report", "tags": ["transitive"], "origin": "latin", "form": "nuntiat", "final": False...
81.401639
241
0.638808
1,101
9,931
5.616712
0.104451
0.221216
0.156533
0.227684
0.810802
0.784282
0.733344
0.612225
0.498221
0.391494
0
0.002549
0.130903
9,931
122
242
81.401639
0.713938
0.007552
0
0.021277
0
0
0.272026
0
0
0
0
0
0.797872
1
0.021277
false
0
0.021277
0
0.053191
0
0
0
0
null
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
6
0f52e754d8daa4a3e01434338c7513021c9f25f3
205
py
Python
somo/sweep/__init__.py
cbteeple/somo
53a1a94f7d9d624bc4c43e582c80f24a0e98df24
[ "MIT" ]
27
2021-06-02T15:56:22.000Z
2022-03-10T08:43:27.000Z
somo/sweep/__init__.py
cbteeple/somo
53a1a94f7d9d624bc4c43e582c80f24a0e98df24
[ "MIT" ]
2
2021-09-20T17:41:11.000Z
2021-11-15T17:29:56.000Z
somo/sweep/__init__.py
cbteeple/somo
53a1a94f7d9d624bc4c43e582c80f24a0e98df24
[ "MIT" ]
11
2021-03-22T13:22:05.000Z
2022-03-10T08:47:27.000Z
from .batch_simulations import BatchSimulation from .generate_runs import RunGenerator from .process_runs import DataLabeler from .graph_contours import ContourPlotter from .graph_grids import GridPlotter
34.166667
46
0.878049
25
205
7
0.6
0.114286
0
0
0
0
0
0
0
0
0
0
0.097561
205
5
47
41
0.945946
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0f7ca5acef3d20b65ae6f350840b19555aa39f46
3,515
py
Python
pytransform3d/transformations/__init__.py
alek5k/pytransform3d
c6fb10b1d17713bd8a2d6becb928c4f6dcf611f9
[ "BSD-3-Clause" ]
304
2019-01-16T15:14:31.000Z
2022-03-31T16:14:37.000Z
pytransform3d/transformations/__init__.py
alek5k/pytransform3d
c6fb10b1d17713bd8a2d6becb928c4f6dcf611f9
[ "BSD-3-Clause" ]
94
2018-12-07T14:54:05.000Z
2022-03-19T22:38:20.000Z
pytransform3d/transformations/__init__.py
alek5k/pytransform3d
c6fb10b1d17713bd8a2d6becb928c4f6dcf611f9
[ "BSD-3-Clause" ]
37
2018-12-09T23:58:40.000Z
2022-03-16T02:29:53.000Z
"""Transformations in three dimensions - SE(3). See :doc:`transformations` for more information. """ from ._utils import ( check_transform, check_pq, check_screw_parameters, check_screw_axis, check_exponential_coordinates, check_screw_matrix, check_transform_log, check_dual_quaternion) from ._conversions i...
48.150685
78
0.817354
419
3,515
6.183771
0.136038
0.124276
0.04863
0.060208
0.896951
0.873794
0.873794
0.873794
0.873794
0.873794
0
0.00032
0.1101
3,515
72
79
48.819444
0.828005
0.026743
0
0
0
0
0.386057
0.280902
0
0
0
0
0.060606
1
0
false
0
0.106061
0
0.106061
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0f8755063e996b6c15dbff1e96beaaf3ec651667
528
py
Python
tests/main_test.py
harry-wood/Open_NaPTAN
4c0e958871f8fdafaa373e08e02961f31961da74
[ "MIT" ]
null
null
null
tests/main_test.py
harry-wood/Open_NaPTAN
4c0e958871f8fdafaa373e08e02961f31961da74
[ "MIT" ]
null
null
null
tests/main_test.py
harry-wood/Open_NaPTAN
4c0e958871f8fdafaa373e08e02961f31961da74
[ "MIT" ]
null
null
null
#main_test.py import unittest import main from unittest.mock import MagicMock, Mock class TestSolver(unittest.TestCase): """[summary] Args: unittest ([type]): [description] """ def etl_integration(self): main.load_naptan_data() pass def con_check_integration(self): ...
16
41
0.638258
58
528
5.5
0.517241
0.23511
0.238245
0.206897
0.169279
0
0
0
0
0
0
0
0.267045
528
32
42
16.5
0.824289
0.125
0
0.294118
0
0
0.018059
0
0
0
0
0
0
1
0.294118
false
0.294118
0.176471
0
0.529412
0
0
0
0
null
1
1
1
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
0
1
0
1
0
0
1
0
0
6
0f8b59ec7a09fb70ad8410078500ecea5f517a91
134
py
Python
tests/test_utilities/test_csvstat.py
thejefflarson/csvkit
628ffbe03f6a99997290701a262685a36e4dd532
[ "MIT" ]
1
2016-06-22T02:19:16.000Z
2016-06-22T02:19:16.000Z
tests/test_utilities/test_csvstat.py
thejefflarson/csvkit
628ffbe03f6a99997290701a262685a36e4dd532
[ "MIT" ]
null
null
null
tests/test_utilities/test_csvstat.py
thejefflarson/csvkit
628ffbe03f6a99997290701a262685a36e4dd532
[ "MIT" ]
null
null
null
#!/usr/bin/env python import unittest from csvkit.utilities.csvstat import CSVStat class TestCSVStat(unittest.TestCase): pass
13.4
44
0.776119
17
134
6.117647
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.141791
134
9
45
14.888889
0.904348
0.149254
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.5
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
7e14de5b59a298bf232613348bfaa766ca0a33e7
8,322
py
Python
tests/pygosolnp_electron_test.py
KristerSJakobsson/pygosolnp
5a890d67782ff04f521644daeaef2f7708959e79
[ "BSL-1.0" ]
null
null
null
tests/pygosolnp_electron_test.py
KristerSJakobsson/pygosolnp
5a890d67782ff04f521644daeaef2f7708959e79
[ "BSL-1.0" ]
null
null
null
tests/pygosolnp_electron_test.py
KristerSJakobsson/pygosolnp
5a890d67782ff04f521644daeaef2f7708959e79
[ "BSL-1.0" ]
null
null
null
import unittest from unittest.mock import patch from pygosolnp.benchmarks.electron import Electron, obj_func, eq_func from pygosolnp.pygosolnp import solve, EvaluationType from tests.mock.mock_random import MockRandom class TestPygosolnpElectron(unittest.TestCase): electron = Electron(number_of_charges=25) ...
48.104046
96
0.643355
884
8,322
5.779412
0.186652
0.049325
0.052848
0.052848
0.790761
0.790761
0.790761
0.790761
0.790761
0.790761
0
0.125542
0.27926
8,322
172
97
48.383721
0.726242
0
0
0.789855
0
0
0.006249
0
0
0
0
0
0.144928
1
0.036232
false
0
0.036232
0
0.086957
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0e4714d3659f3514ba91992fc3c37a64647a120c
2,959
py
Python
miner/integration_test.py
DrPandemic/pickaxe
73b5eebbe00d658dc37a23b5bfc2eb0c2e48b2a4
[ "MIT" ]
2
2016-03-30T21:21:23.000Z
2021-07-18T02:23:28.000Z
miner/integration_test.py
JesseEmond/pickaxe
73b5eebbe00d658dc37a23b5bfc2eb0c2e48b2a4
[ "MIT" ]
20
2016-03-30T17:07:03.000Z
2016-04-29T04:11:59.000Z
miner/integration_test.py
JesseEmond/pickaxe
73b5eebbe00d658dc37a23b5bfc2eb0c2e48b2a4
[ "MIT" ]
4
2016-08-20T18:44:34.000Z
2021-07-18T02:23:43.000Z
import unittest import json from protocol import parse_mining_task, compose_mining_result from cpu_miner import mine class IntegrationTest(unittest.TestCase): def test_mine_block(self): server_response = json.loads(""" { "capabilities": [ "proposal" ], "version": 4, "previousblockhash":"08fc937d6ed...
60.387755
942
0.852315
109
2,959
23.018349
0.688073
0.010761
0.011957
0
0
0
0
0
0
0
0
0.528913
0.08246
2,959
48
943
61.645833
0.395212
0
0
0
0
0
0.825617
0.642109
0
1
0
0
0.051282
1
0.025641
false
0
0.102564
0
0.153846
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
6
0ea76c0f9b16d9d9ed1a49c26a259b5f495c4ea0
33
py
Python
TorRouter/TorRouter/__init__.py
wtglover/TOR
9f455720be80dc18845e4b3d750b958c76b785d8
[ "MIT" ]
null
null
null
TorRouter/TorRouter/__init__.py
wtglover/TOR
9f455720be80dc18845e4b3d750b958c76b785d8
[ "MIT" ]
null
null
null
TorRouter/TorRouter/__init__.py
wtglover/TOR
9f455720be80dc18845e4b3d750b958c76b785d8
[ "MIT" ]
null
null
null
from TorRouterInterface import *
16.5
32
0.848485
3
33
9.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.121212
33
1
33
33
0.965517
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
0eaa6777ad456dba19dc9843225727a71f595f04
583
py
Python
Analytics/resources/missing_values.py
kpennels/SharingCitiesDashboard
789510ea3bffaadcf887da5f2950f0f459ddc1a8
[ "Apache-2.0" ]
4
2018-11-21T14:42:18.000Z
2020-05-11T10:52:59.000Z
Analytics/resources/missing_values.py
kpennels/SharingCitiesDashboard
789510ea3bffaadcf887da5f2950f0f459ddc1a8
[ "Apache-2.0" ]
60
2018-11-21T15:11:59.000Z
2019-12-02T10:46:44.000Z
Analytics/resources/missing_values.py
kpennels/SharingCitiesDashboard
789510ea3bffaadcf887da5f2950f0f459ddc1a8
[ "Apache-2.0" ]
7
2018-11-21T14:42:44.000Z
2019-11-28T16:24:14.000Z
import pandas as pd import numpy as np class MissingValues(object): def __init__(self, dataset): self.dataset = dataset def remove_rows_with_nan(self): return self.dataset.dropna(axis=0) def remove_cols_with_nan(self): return self.dataset.dropna(axis=1) def remove_rows(self):...
27.761905
73
0.663808
84
583
4.464286
0.333333
0.293333
0.181333
0.245333
0.688
0.688
0.682667
0.682667
0.552
0.405333
0
0.008696
0.210978
583
20
74
29.15
0.806522
0
0
0.4
0
0
0.017153
0
0
0
0
0
0
1
0.333333
false
0
0.133333
0.133333
0.8
0
0
0
0
null
1
1
1
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
0
1
0
0
0
1
1
0
0
6
7ec4cdd92fb8e6cf3b269b691e1d0b185ce9cc59
6,511
py
Python
tests/test_schur.py
BIMAU/jadapy
d050bd3253a11a98098ed7dd476402438570f1ba
[ "Apache-2.0" ]
null
null
null
tests/test_schur.py
BIMAU/jadapy
d050bd3253a11a98098ed7dd476402438570f1ba
[ "Apache-2.0" ]
null
null
null
tests/test_schur.py
BIMAU/jadapy
d050bd3253a11a98098ed7dd476402438570f1ba
[ "Apache-2.0" ]
1
2021-05-02T13:24:38.000Z
2021-05-02T13:24:38.000Z
import pytest import numpy import scipy from numpy.testing import assert_allclose from jadapy import schur from jadapy import Target try: n = 20 a = numpy.random.rand(n, n) t, q = schur.schur(a) schur.schur_sort(t, q, Target.LargestMagnitude) except ValueError: pytest.skip('SciPy too old', allow_...
31.15311
91
0.656274
1,110
6,511
3.679279
0.075676
0.019589
0.052889
0.089128
0.852595
0.83668
0.828844
0.804358
0.793585
0.793585
0
0.025357
0.182307
6,511
208
92
31.302885
0.741736
0
0
0.650685
0
0
0.009676
0
0
0
0
0
0.205479
1
0.082192
false
0
0.041096
0
0.157534
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7ed30d6374e0237f623e1bc169649c029bbdc2e7
13,284
py
Python
generator/contact.py
TatianaShe/python_training
9a62ca286fe22f079e06ddf07c3c74be3cc6a431
[ "Apache-2.0" ]
null
null
null
generator/contact.py
TatianaShe/python_training
9a62ca286fe22f079e06ddf07c3c74be3cc6a431
[ "Apache-2.0" ]
null
null
null
generator/contact.py
TatianaShe/python_training
9a62ca286fe22f079e06ddf07c3c74be3cc6a431
[ "Apache-2.0" ]
null
null
null
import jsonpickle import random import string import os.path import getopt import sys from model.contact import Contact try: opts, args = getopt.getopt(sys.argv[1:], "n:f:", ["number of contacts", "file"]) except getopt.GetoptError: getopt.usage() sys.exit(2) n = 2 quantity_tests_for_parameter = n f = "d...
90.986301
167
0.623607
1,446
13,284
5.660443
0.083679
0.056078
0.035186
0.054979
0.885889
0.885889
0.885889
0.881613
0.881613
0.881613
0
0.129041
0.203704
13,284
145
168
91.613793
0.644734
0
0
0.649254
0
0
0.316772
0
0
0
0
0
0
1
0.007463
false
0
0.052239
0
0.067164
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7ef243e25c75cbc0cf65c7b8402776b997a2359a
2,290
py
Python
epytope/Data/pssms/smm/mat/B_54_01_9.py
christopher-mohr/epytope
8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd
[ "BSD-3-Clause" ]
7
2021-02-01T18:11:28.000Z
2022-01-31T19:14:07.000Z
epytope/Data/pssms/smm/mat/B_54_01_9.py
christopher-mohr/epytope
8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd
[ "BSD-3-Clause" ]
22
2021-01-02T15:25:23.000Z
2022-03-14T11:32:53.000Z
epytope/Data/pssms/smm/mat/B_54_01_9.py
christopher-mohr/epytope
8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd
[ "BSD-3-Clause" ]
4
2021-05-28T08:50:38.000Z
2022-03-14T11:45:32.000Z
B_54_01_9 = {0: {'A': 0.385, 'C': -0.3, 'E': 0.337, 'D': 0.521, 'G': 0.349, 'F': -1.263, 'I': -0.149, 'H': -0.02, 'K': 0.158, 'M': -1.129, 'L': -0.485, 'N': 0.178, 'Q': 0.467, 'P': 0.592, 'S': 0.155, 'R': 0.33, 'T': 0.283, 'W': -0.513, 'V': 0.122, 'Y': -0.02}, 1: {'A': -0.197, 'C': 0.028, 'E': 0.16, 'D': 0.208, 'G': 0....
2,290
2,290
0.39083
557
2,290
1.601436
0.29623
0.020179
0.011211
0.013453
0.03139
0
0
0
0
0
0
0.369327
0.162882
2,290
1
2,290
2,290
0.095983
0
0
0
0
0
0.079878
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7d430326343294ffaef92a4707d8dd06019ad58a
162
py
Python
python/ray/rllib/agents/a3c/__init__.py
cumttang/ray
eb1e5fa2cf26233701ccbda3eb8a301ecd418d8c
[ "Apache-2.0" ]
29
2019-05-18T12:18:34.000Z
2022-03-30T01:46:48.000Z
python/ray/rllib/agents/a3c/__init__.py
collinswei/ray
2e30f7ba386e716bf80f019dcd473b67d83abb95
[ "Apache-2.0" ]
8
2019-08-15T05:42:10.000Z
2021-05-21T09:41:15.000Z
python/ray/rllib/agents/a3c/__init__.py
collinswei/ray
2e30f7ba386e716bf80f019dcd473b67d83abb95
[ "Apache-2.0" ]
8
2019-07-15T22:36:20.000Z
2020-08-09T07:03:26.000Z
from ray.rllib.agents.a3c.a3c import A3CAgent, DEFAULT_CONFIG from ray.rllib.agents.a3c.a2c import A2CAgent __all__ = ["A2CAgent", "A3CAgent", "DEFAULT_CONFIG"]
32.4
61
0.783951
23
162
5.26087
0.521739
0.115702
0.198347
0.297521
0.347107
0
0
0
0
0
0
0.054422
0.092593
162
4
62
40.5
0.768707
0
0
0
0
0
0.185185
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
adbdba85cc2007b93659db281d830ab6a17816c4
6,687
py
Python
oops_fhir/r4/code_system/guide_parameter_code.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
oops_fhir/r4/code_system/guide_parameter_code.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
oops_fhir/r4/code_system/guide_parameter_code.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
from pathlib import Path from fhir.resources.codesystem import CodeSystem from oops_fhir.utils import CodeSystemConcept __all__ = ["GuideParameterCode"] _resource = CodeSystem.parse_file(Path(__file__).with_suffix(".json")) class GuideParameterCode: """ GuideParameterCode Code of parameter that is i...
42.322785
342
0.671452
854
6,687
5.229508
0.180328
0.039409
0.044783
0.062696
0.745634
0.745634
0.743395
0.742499
0.742499
0.742499
0
0.006803
0.25258
6,687
157
343
42.592357
0.886755
0.023179
0
0
0
0.128205
0.61277
0.006798
0
0
0
0
0
1
0
false
0
0.038462
0
0.192308
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
add9ba28700cf9c545d39952fefcb3c0aa5181f6
170
py
Python
exoatlas/__init__.py
zkbt/exopop
5e8b9d391fe9e2d39c623d7ccd7eca8fd0f0f3f8
[ "MIT" ]
4
2020-06-24T16:38:27.000Z
2022-01-23T01:57:19.000Z
exoatlas/__init__.py
zkbt/exopop
5e8b9d391fe9e2d39c623d7ccd7eca8fd0f0f3f8
[ "MIT" ]
4
2018-09-20T23:12:30.000Z
2019-05-15T15:31:58.000Z
exoatlas/__init__.py
zkbt/exopop
5e8b9d391fe9e2d39c623d7ccd7eca8fd0f0f3f8
[ "MIT" ]
null
null
null
from .populations import * from .visualizations import * from .models import * from .telescopes import * from .imports import plt, np, u from .version import __version__
24.285714
32
0.776471
22
170
5.818182
0.5
0.3125
0
0
0
0
0
0
0
0
0
0
0.152941
170
6
33
28.333333
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
adda75326d332e0386bddde6f2779753f010c546
22,071
py
Python
koala/peps/update.py
LinjianMa/koala
a366af5d109cbcec820827702a4ef7cb0a3a02f3
[ "BSD-3-Clause-Clear" ]
null
null
null
koala/peps/update.py
LinjianMa/koala
a366af5d109cbcec820827702a4ef7cb0a3a02f3
[ "BSD-3-Clause-Clear" ]
null
null
null
koala/peps/update.py
LinjianMa/koala
a366af5d109cbcec820827702a4ef7cb0a3a02f3
[ "BSD-3-Clause-Clear" ]
null
null
null
import tensorbackends from tensorbackends.interface import ReducedSVD import numpy as np import scipy.linalg as la from .. import gates class UpdateOption: def __str__(self): return '{}({})'.format( type(self).__name__, ','.join('{}={}'.format(k, v) for k, v in vars(self).items()) ...
41.331461
113
0.648996
3,361
22,071
4.00238
0.080333
0.032709
0.021409
0.008029
0.840544
0.813188
0.804862
0.794752
0.76799
0.735801
0
0.01213
0.211862
22,071
533
114
41.409006
0.761196
0.011191
0
0.672606
0
0
0.150044
0.037408
0
0
0
0
0.028953
1
0.057906
false
0
0.011136
0.006682
0.097996
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
70b3d4b22f4afc8fb123c1a4221cf9126265cdc6
23,018
py
Python
src/tmm/views.py
Adi-UA/TooManyMatrices
b2d4f29aa4868840263725c40c68c2ea73a4ca58
[ "MIT", "BSD-3-Clause" ]
5
2020-05-24T21:57:30.000Z
2020-10-06T01:28:19.000Z
src/tmm/views.py
Adi-UA/TooManyMatrices
b2d4f29aa4868840263725c40c68c2ea73a4ca58
[ "MIT", "BSD-3-Clause" ]
6
2020-06-06T18:06:38.000Z
2021-06-04T23:19:49.000Z
src/tmm/views.py
Adi-UA/TooManyMatrices
b2d4f29aa4868840263725c40c68c2ea73a4ca58
[ "MIT", "BSD-3-Clause" ]
4
2020-06-02T04:36:06.000Z
2020-09-14T18:14:11.000Z
from django.shortcuts import render from tmm.mathsrc.matrix import * from .utility import * # def home(request): # return render(request, 'blog/home.html') def home(request): return render(request, 'tmm/home.html') def handler404(request, exception): return render(request, 'tmm/404.html', status=404) def...
34.252976
81
0.531063
2,501
23,018
4.751299
0.056777
0.083817
0.132711
0.116132
0.872759
0.824371
0.764033
0.758479
0.753766
0.737945
0
0.020039
0.371275
23,018
671
82
34.304024
0.801064
0.179729
0
0.692875
0
0
0.093357
0.0336
0
0
0
0
0
1
0.054054
false
0
0.007371
0.007371
0.262899
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
70d2d132865e946a8901ef169adf284b1db90732
65
py
Python
pearl/__init__.py
tknapen/pearl_3T
1bf97ee3814d7e78316bffeba59f0c512b948128
[ "MIT" ]
1
2019-11-25T02:27:56.000Z
2019-11-25T02:27:56.000Z
pearl/__init__.py
tknapen/stn_control_conflict
5e199973002766349b7eb13a04dafe62827f34ec
[ "MIT" ]
null
null
null
pearl/__init__.py
tknapen/stn_control_conflict
5e199973002766349b7eb13a04dafe62827f34ec
[ "MIT" ]
null
null
null
from .utils import * from .surf import * from .workflows import *
21.666667
24
0.738462
9
65
5.333333
0.555556
0.416667
0
0
0
0
0
0
0
0
0
0
0.169231
65
3
24
21.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
cb2f123139ef68011e80c6386059ab9f4d278ab1
98
py
Python
WEB_Application/capstone/capstone/views.py
gana-chocolate/Doodles_Become_Paintings
20864f88adc2fe52c25538ebb11c5947a85debd3
[ "MIT" ]
2
2019-04-02T13:19:22.000Z
2020-11-02T13:40:14.000Z
WEB_Application/capstone/capstone/views.py
gana-chocolate/Doodles_Become_Paintings
20864f88adc2fe52c25538ebb11c5947a85debd3
[ "MIT" ]
null
null
null
WEB_Application/capstone/capstone/views.py
gana-chocolate/Doodles_Become_Paintings
20864f88adc2fe52c25538ebb11c5947a85debd3
[ "MIT" ]
null
null
null
from django.shortcuts import render def view(request): return render(request,'template.html')
24.5
42
0.77551
13
98
5.846154
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.122449
98
4
42
24.5
0.883721
0
0
0
0
0
0.131313
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
cb48e4e25a7883a5c1f2f899f5b2c0e154f98311
4,561
py
Python
Python/tigre/utilities/geometry_default.py
tsadakane/TIGRE
a853cd2d4a6bc9509c01414b85ca75b4448fd700
[ "BSD-3-Clause" ]
326
2016-07-01T10:48:09.000Z
2022-03-20T07:34:52.000Z
Python/tigre/utilities/geometry_default.py
tsadakane/TIGRE
a853cd2d4a6bc9509c01414b85ca75b4448fd700
[ "BSD-3-Clause" ]
311
2016-07-05T16:00:06.000Z
2022-03-30T12:14:55.000Z
Python/tigre/utilities/geometry_default.py
tsadakane/TIGRE
a853cd2d4a6bc9509c01414b85ca75b4448fd700
[ "BSD-3-Clause" ]
157
2016-08-08T12:13:09.000Z
2022-03-17T00:37:45.000Z
from __future__ import division import numpy as np from tigre.utilities.geometry import Geometry class ConeGeometryDefault(Geometry): def __init__(self, high_resolution=True, nVoxel=None): Geometry.__init__(self) if high_resolution: # VARIABLE ...
60.013158
101
0.454286
470
4,561
4.378723
0.178723
0.068027
0.04276
0.034985
0.867347
0.867347
0.867347
0.867347
0.867347
0.867347
0
0.04918
0.398158
4,561
75
102
60.813333
0.700546
0.437623
0
0.612245
0
0
0.00494
0
0
0
0
0
0
1
0.020408
false
0
0.061224
0
0.102041
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6