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
4595574a37bf22b79d633d73b2dc6e0cc7340843
2,824
py
Python
skyportal/tests/api/test_filters.py
bparazin/skyportal
c160610ca0cc28eef9f36c2d11cc15bd9bcbfe56
[ "BSD-3-Clause" ]
52
2018-11-02T00:53:21.000Z
2022-03-08T16:03:52.000Z
skyportal/tests/api/test_filters.py
bparazin/skyportal
c160610ca0cc28eef9f36c2d11cc15bd9bcbfe56
[ "BSD-3-Clause" ]
1,944
2017-04-27T18:51:20.000Z
2022-03-31T20:17:44.000Z
skyportal/tests/api/test_filters.py
bparazin/skyportal
c160610ca0cc28eef9f36c2d11cc15bd9bcbfe56
[ "BSD-3-Clause" ]
63
2017-05-13T01:40:47.000Z
2022-03-12T11:32:11.000Z
import uuid from skyportal.tests import api def test_filter_list(view_only_token, public_filter): status, data = api("GET", "filters", token=view_only_token) assert status == 200 assert data["status"] == "success" assert all(k in data["data"][0] for k in ["name", "group_id", "stream_id"]) def test_t...
28.816327
87
0.625354
363
2,824
4.597796
0.137741
0.065908
0.08568
0.083883
0.802277
0.798682
0.798682
0.798682
0.788496
0.745357
0
0.018064
0.235482
2,824
97
88
29.113402
0.754979
0
0
0.620253
0
0
0.1767
0.046034
0
0
0
0
0.278481
1
0.075949
false
0
0.025316
0
0.101266
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
45bf495823282659543089b0c32eb481ec4769b0
37
py
Python
auto_deprecator_example/core.py
auto-deprecator/auto-deprecator-example
ae4ec930e62b7a6bfe645832b6b83266eb971a76
[ "MIT" ]
1
2020-03-23T00:19:37.000Z
2020-03-23T00:19:37.000Z
auto_deprecator_example/core.py
auto-deprecator/auto-deprecator-example
ae4ec930e62b7a6bfe645832b6b83266eb971a76
[ "MIT" ]
null
null
null
auto_deprecator_example/core.py
auto-deprecator/auto-deprecator-example
ae4ec930e62b7a6bfe645832b6b83266eb971a76
[ "MIT" ]
null
null
null
def core(): print('hello world')
12.333333
24
0.594595
5
37
4.4
1
0
0
0
0
0
0
0
0
0
0
0
0.216216
37
2
25
18.5
0.758621
0
0
0
0
0
0.297297
0
0
0
0
0
0
1
0.5
true
0
0
0
0.5
0.5
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
0
0
0
0
1
0
6
45c625a6c27d2ba7daf3d630ab2dc9a574bf0a30
135
py
Python
src/agents/dqn_agent.py
daniloarcidiacono/cart-pole
f05bbdb65f2793b7b994c0bbff5a26b97b85eedd
[ "MIT" ]
null
null
null
src/agents/dqn_agent.py
daniloarcidiacono/cart-pole
f05bbdb65f2793b7b994c0bbff5a26b97b85eedd
[ "MIT" ]
null
null
null
src/agents/dqn_agent.py
daniloarcidiacono/cart-pole
f05bbdb65f2793b7b994c0bbff5a26b97b85eedd
[ "MIT" ]
null
null
null
# Agent that users Deep Q-Learning class DQNAgent: def __init__(self): pass def getAction(self, env): return 0
19.285714
34
0.62963
18
135
4.5
0.888889
0
0
0
0
0
0
0
0
0
0
0.010526
0.296296
135
7
35
19.285714
0.842105
0.237037
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0.2
0
0.2
0.8
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
1
0
1
1
0
0
6
45ccde3661cbd7c8fa7fe3e3bab9f93a3f9369d9
32
py
Python
docarray/array/queryset/__init__.py
startakovsky/docarray
78dd3199d25b3e533cd09643b97359783c193397
[ "Apache-2.0" ]
591
2022-01-09T14:39:59.000Z
2022-03-31T13:19:39.000Z
docarray/array/queryset/__init__.py
startakovsky/docarray
78dd3199d25b3e533cd09643b97359783c193397
[ "Apache-2.0" ]
210
2022-01-10T07:59:29.000Z
2022-03-31T14:49:18.000Z
docarray/array/queryset/__init__.py
startakovsky/docarray
78dd3199d25b3e533cd09643b97359783c193397
[ "Apache-2.0" ]
40
2022-01-09T14:52:20.000Z
2022-03-31T07:59:45.000Z
from .parser import QueryParser
16
31
0.84375
4
32
6.75
1
0
0
0
0
0
0
0
0
0
0
0
0.125
32
1
32
32
0.964286
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
b307772c9f1bab0965a9e54b92679b0fcf217738
231
py
Python
crawler_manager/setting.py
Varpc/manager-backend
91872f9c63c84e77a83cb4059a1a4d7f616dfcb4
[ "MIT" ]
null
null
null
crawler_manager/setting.py
Varpc/manager-backend
91872f9c63c84e77a83cb4059a1a4d7f616dfcb4
[ "MIT" ]
null
null
null
crawler_manager/setting.py
Varpc/manager-backend
91872f9c63c84e77a83cb4059a1a4d7f616dfcb4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- class Config: JISUANKE_UPDATE_INTERVAL = 3 * 3600 # 间隔三小时 CODEFORCES_UPDATE_INTERVAL = 3 * 3600 VJUDGE_UPDATE_INTERVAL = 24 * 3600 WAIT_TIME = 10 # 请求失败重试等待时间 TRY_TIME = 10 # 请求重试次数
23.1
48
0.65368
29
231
4.931034
0.689655
0.293706
0.20979
0.265734
0
0
0
0
0
0
0
0.122093
0.255411
231
9
49
25.666667
0.709302
0.194805
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
6
b32b60f40b0f02fafaa8591149c8cc739a3372bf
73
py
Python
deeptrack/backend/__init__.py
HarshithBachimanchi/DeepTrack-2.0
5983f5224b75aef4ce3932662bd15723f13841a0
[ "MIT" ]
1
2022-03-18T17:25:18.000Z
2022-03-18T17:25:18.000Z
deeptrack/backend/__init__.py
BenjaminMidtvedt/DeepTrack-2.0
64245f31e63011fb48d38f211134774bbce28cf4
[ "MIT" ]
null
null
null
deeptrack/backend/__init__.py
BenjaminMidtvedt/DeepTrack-2.0
64245f31e63011fb48d38f211134774bbce28cf4
[ "MIT" ]
null
null
null
from .polynomials import * from .mie import * from ._config import config
24.333333
27
0.780822
10
73
5.6
0.5
0.357143
0
0
0
0
0
0
0
0
0
0
0.150685
73
3
27
24.333333
0.903226
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
b338c24b15221f4c371284d995a130e93d24122e
147
py
Python
src/neptuneml_toolkit/dataloading/__init__.py
riaz/neptuneml-toolkit
6c68ba6d02a3d52116e6e8ca23d5f755693ae3d8
[ "Apache-2.0" ]
7
2021-11-11T15:47:39.000Z
2022-03-31T03:44:40.000Z
src/neptuneml_toolkit/dataloading/__init__.py
riaz/neptuneml-toolkit
6c68ba6d02a3d52116e6e8ca23d5f755693ae3d8
[ "Apache-2.0" ]
null
null
null
src/neptuneml_toolkit/dataloading/__init__.py
riaz/neptuneml-toolkit
6c68ba6d02a3d52116e6e8ca23d5f755693ae3d8
[ "Apache-2.0" ]
2
2021-11-23T19:32:25.000Z
2022-02-24T18:42:42.000Z
from .metapath import RandomWalkNeighborSampler, MetapathListSampler from .dataloader import MultiSubgraphNodeDataLoader, MultiSubgraphNodeCollator
73.5
78
0.911565
10
147
13.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.061224
147
2
78
73.5
0.971014
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
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
b37020ee3caf08a553324888c5986def623e527e
136
py
Python
sr_apx/vc/lift/__init__.py
TiP-internal/structural-rounding
5d033c9ce4bcd2aa72bf10976c07f4842dde2b76
[ "BSD-3-Clause" ]
4
2019-10-17T02:29:48.000Z
2022-02-20T17:03:42.000Z
sr_apx/vc/lift/__init__.py
TheoryInPractice/structural-rounding
0aa961b9c8ecd4fd12f65302f6e95145ccb00cb6
[ "BSD-3-Clause" ]
3
2020-02-12T09:06:17.000Z
2020-03-01T04:35:29.000Z
sr_apx/vc/lift/__init__.py
TiP-internal/structural-rounding
5d033c9ce4bcd2aa72bf10976c07f4842dde2b76
[ "BSD-3-Clause" ]
1
2020-01-14T15:51:50.000Z
2020-01-14T15:51:50.000Z
from .lib_vc_lift import naive_lift, greedy_lift, apx_lift, oct_lift, bip_lift, recursive_lift, recursive_oct_lift, recursive_bip_lift
45.333333
134
0.852941
23
136
4.521739
0.478261
0.375
0
0
0
0
0
0
0
0
0
0
0.088235
136
2
135
68
0.83871
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
642773d57b9d3367b5f0f19fa097b45770abfed9
31
py
Python
PwnContext/__init__.py
IMULMUL/welpwn
a6434da5d87af3d998dde0f8d721abef60ca1029
[ "MIT" ]
331
2018-05-21T07:50:04.000Z
2022-03-16T08:57:24.000Z
PwnContext/__init__.py
IMULMUL/welpwn
a6434da5d87af3d998dde0f8d721abef60ca1029
[ "MIT" ]
10
2018-05-21T12:41:54.000Z
2021-05-01T12:20:55.000Z
PwnContext/__init__.py
IMULMUL/welpwn
a6434da5d87af3d998dde0f8d721abef60ca1029
[ "MIT" ]
52
2018-07-09T07:53:23.000Z
2022-02-10T08:13:34.000Z
from PwnContext.core import *
15.5
30
0.774194
4
31
6
1
0
0
0
0
0
0
0
0
0
0
0
0.16129
31
1
31
31
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
ff497bf0ff3ed862260d98c0b7fd69000d0fe12f
7,939
py
Python
pymaster/covariance.py
DanielLenz/NaMaster
fb329b70e7a2f4cea5411abf80122746afed27f2
[ "BSD-3-Clause" ]
null
null
null
pymaster/covariance.py
DanielLenz/NaMaster
fb329b70e7a2f4cea5411abf80122746afed27f2
[ "BSD-3-Clause" ]
null
null
null
pymaster/covariance.py
DanielLenz/NaMaster
fb329b70e7a2f4cea5411abf80122746afed27f2
[ "BSD-3-Clause" ]
null
null
null
from pymaster import nmtlib as lib import numpy as np class NmtCovarianceWorkspace(object): """ NmtCovarianceWorkspace objects are used to compute and store the coupling coefficients needed to calculate the Gaussian covariance matrix under the Efstathiou approximation (astro-ph/0307515). When initialized, thi...
49.930818
744
0.695931
1,125
7,939
4.829333
0.161778
0.036076
0.02945
0.016197
0.829008
0.81189
0.794221
0.771397
0.749862
0.694644
0
0.019202
0.232523
7,939
158
745
50.246835
0.872477
0.515178
0
0.60241
0
0
0.093311
0
0
0
0
0
0
1
0.144578
false
0
0.024096
0
0.216867
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
ff5d878808bcec1a5325210501157cc36b33acd7
42
py
Python
examples/phobos/tests/test_std_process.py
kinke/autowrap
2f042df3f292aa39b1da0b9607fbe3424f56ff4a
[ "BSD-3-Clause" ]
47
2019-07-16T10:38:07.000Z
2022-03-30T16:34:24.000Z
examples/phobos/tests/test_std_process.py
kinke/autowrap
2f042df3f292aa39b1da0b9607fbe3424f56ff4a
[ "BSD-3-Clause" ]
199
2019-06-17T23:24:40.000Z
2021-06-16T16:41:36.000Z
examples/phobos/tests/test_std_process.py
kinke/autowrap
2f042df3f292aa39b1da0b9607fbe3424f56ff4a
[ "BSD-3-Clause" ]
7
2019-09-13T18:03:49.000Z
2022-01-17T03:53:00.000Z
def test_import(): import std_process
14
22
0.738095
6
42
4.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.190476
42
2
23
21
0.852941
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0
1
0
1.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
0
1
0
0
0
0
6
ffaf9cadcb36b0216f1fd9472513515870133234
41
py
Python
tests/conftest.py
pitrho/rancher-gen
5f228632e04d423cfc166ffa0fc3a43705ec1000
[ "MIT" ]
32
2016-09-09T19:51:15.000Z
2018-09-01T08:30:15.000Z
tests/conftest.py
pitrho/rancher-gen
5f228632e04d423cfc166ffa0fc3a43705ec1000
[ "MIT" ]
5
2016-10-07T14:12:07.000Z
2017-11-28T14:52:58.000Z
tests/conftest.py
pitrho/rancher-gen
5f228632e04d423cfc166ffa0fc3a43705ec1000
[ "MIT" ]
6
2016-09-28T18:29:17.000Z
2017-11-09T13:06:57.000Z
from .fixtures.rancher_fixtures import *
20.5
40
0.829268
5
41
6.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.097561
41
1
41
41
0.891892
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
4410ff01a31ebfaa8fcfeaf4f26da53b059ceab7
100
py
Python
demo/tasks.py
tenqaz/django_celery_demo
9f5b5189832ebfa47b3d2875723377b72b9a693f
[ "MIT" ]
null
null
null
demo/tasks.py
tenqaz/django_celery_demo
9f5b5189832ebfa47b3d2875723377b72b9a693f
[ "MIT" ]
1
2020-12-24T08:29:40.000Z
2020-12-24T08:29:40.000Z
demo/tasks.py
tenqaz/django_celery_demo
9f5b5189832ebfa47b3d2875723377b72b9a693f
[ "MIT" ]
null
null
null
from celery import shared_task @shared_task(name="add") def add(a, b): return int(a) + int(b)
14.285714
30
0.67
18
100
3.611111
0.666667
0.307692
0
0
0
0
0
0
0
0
0
0
0.18
100
6
31
16.666667
0.792683
0
0
0
0
0
0.03
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
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
0
0
0
1
1
0
0
6
446eedc73ff6574cccb30d976834b1f1391bec1a
2,471
py
Python
utils/fileIO.py
killa1218/sense2guass
cf81901f1b59e6070b4fcabced7668aa99f7a929
[ "MIT" ]
null
null
null
utils/fileIO.py
killa1218/sense2guass
cf81901f1b59e6070b4fcabced7668aa99f7a929
[ "MIT" ]
null
null
null
utils/fileIO.py
killa1218/sense2guass
cf81901f1b59e6070b4fcabced7668aa99f7a929
[ "MIT" ]
null
null
null
# coding=utf8 import time import sys import os from options import Options as opt from os import path sys.path.append(path.abspath(path.join(path.dirname(path.realpath(__file__)), path.pardir))) def fetchSentences(f, buffer=20000, sentenceLength=1000, verbose=True): tmp = [] # tank = StringIO() EOF = Fa...
26.287234
143
0.520032
287
2,471
4.463415
0.261324
0.023419
0.018735
0.021858
0.794692
0.771272
0.771272
0.771272
0.771272
0.771272
0
0.026942
0.354108
2,471
93
144
26.569892
0.775689
0.110482
0
0.779661
0
0
0.029304
0
0
0
0
0
0
1
0.033898
false
0
0.084746
0
0.118644
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
447557d3e09e3429b03646d62d732cd043e49b88
1,045
py
Python
tests/types.py
NeoLight1010/strawberry-graphql-django
86d0dbb606a1dd0d96bb79a4cdd6902c6a515b2f
[ "MIT" ]
18
2020-11-10T10:12:11.000Z
2021-03-10T18:51:01.000Z
tests/types.py
NeoLight1010/strawberry-graphql-django
86d0dbb606a1dd0d96bb79a4cdd6902c6a515b2f
[ "MIT" ]
8
2020-11-19T18:05:14.000Z
2021-03-10T19:06:33.000Z
tests/types.py
NeoLight1010/strawberry-graphql-django
86d0dbb606a1dd0d96bb79a4cdd6902c6a515b2f
[ "MIT" ]
2
2021-02-20T11:18:03.000Z
2021-03-10T07:14:34.000Z
import strawberry_django from strawberry_django import auto from typing import List from . import models @strawberry_django.type(models.Fruit) class Fruit: id: auto name: auto color: 'Color' types: List['FruitType'] @strawberry_django.type(models.Color) class Color: id: auto name: auto fru...
20.490196
56
0.760766
126
1,045
6.222222
0.246032
0.22449
0.160714
0.206633
0.375
0.308673
0.114796
0.114796
0.114796
0
0
0
0.145455
1,045
50
57
20.9
0.87794
0.017225
0
0.358974
0
0
0.013659
0
0
0
0
0.02
0
1
0
true
0.153846
0.128205
0
0.615385
0
0
0
0
null
1
0
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
1
0
0
0
1
1
0
0
1
0
0
6
927e6ad27e06e26d10af71c151592b23637982e2
38
py
Python
Checkout/test_checkout.py
AnikethSDeshpande/Test-Driven-Development
bcfa74a11bc8d64574aad8727c92123aa03f5c19
[ "MIT" ]
null
null
null
Checkout/test_checkout.py
AnikethSDeshpande/Test-Driven-Development
bcfa74a11bc8d64574aad8727c92123aa03f5c19
[ "MIT" ]
null
null
null
Checkout/test_checkout.py
AnikethSDeshpande/Test-Driven-Development
bcfa74a11bc8d64574aad8727c92123aa03f5c19
[ "MIT" ]
null
null
null
def test_AssertTrue(): assert True
19
22
0.736842
5
38
5.4
1
0
0
0
0
0
0
0
0
0
0
0
0.184211
38
2
23
19
0.870968
0
0
0
0
0
0
0
0
0
0
0
1
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
92a2503595d4a1fd4755b18622f56bce3c72417b
117
py
Python
electrode_tester/devices/__init__.py
mpoziomska/nanogabki
6e585000a3a55b464684619585e61014ae35e0ea
[ "MIT" ]
1
2021-09-28T16:36:18.000Z
2021-09-28T16:36:18.000Z
electrode_tester/devices/__init__.py
mpoziomska/nanogabki
6e585000a3a55b464684619585e61014ae35e0ea
[ "MIT" ]
null
null
null
electrode_tester/devices/__init__.py
mpoziomska/nanogabki
6e585000a3a55b464684619585e61014ae35e0ea
[ "MIT" ]
2
2021-09-28T16:36:23.000Z
2021-11-17T07:37:01.000Z
from ._dummy_device import DummyDevice from ._tiepie_device import TiePieDevice from ._base_device import BaseDevice
29.25
40
0.871795
15
117
6.4
0.6
0.375
0
0
0
0
0
0
0
0
0
0
0.102564
117
3
41
39
0.914286
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
2b7d99ea8fed13b190b46829a21e07e77d400f5e
40
py
Python
tests/direct_expr.py
hydrargyrum/pytat
9a7796177990ae55aa4ea3686bd92d7e91fd3404
[ "WTFPL" ]
null
null
null
tests/direct_expr.py
hydrargyrum/pytat
9a7796177990ae55aa4ea3686bd92d7e91fd3404
[ "WTFPL" ]
null
null
null
tests/direct_expr.py
hydrargyrum/pytat
9a7796177990ae55aa4ea3686bd92d7e91fd3404
[ "WTFPL" ]
null
null
null
# import sys # # print(noop(42)) pass #
6.666667
15
0.6
6
40
4
1
0
0
0
0
0
0
0
0
0
0
0.0625
0.2
40
5
16
8
0.6875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.333333
0.333333
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
6
2b7fafd6cfb02f653a83ee017717b747effb091a
249
py
Python
problems/data-encoding/all_your_base64_are_belong_to_us/challenge.py
syclops/ctflab
02dd9b28a1b918b033ace40a53848951bbf5fdcd
[ "MIT" ]
null
null
null
problems/data-encoding/all_your_base64_are_belong_to_us/challenge.py
syclops/ctflab
02dd9b28a1b918b033ace40a53848951bbf5fdcd
[ "MIT" ]
null
null
null
problems/data-encoding/all_your_base64_are_belong_to_us/challenge.py
syclops/ctflab
02dd9b28a1b918b033ace40a53848951bbf5fdcd
[ "MIT" ]
null
null
null
from hacksport.problem import Challenge, File class Problem(Challenge): def generate_flag(self, _): return "zero_wing_cats" def setup(self): pass def initialize(self): self.files = [File('allyourbase64.png')]
19.153846
48
0.654618
29
249
5.482759
0.724138
0
0
0
0
0
0
0
0
0
0
0.010582
0.240964
249
12
49
20.75
0.830688
0
0
0
1
0
0.124498
0
0
0
0
0
0
1
0.375
false
0.125
0.125
0.125
0.75
0
1
0
0
null
0
0
0
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
1
0
1
0
1
1
0
0
6
2bbb49bdfc15b3ea6316665672879f87f242cd9f
76
py
Python
src/scripts/data/organization.py
a2cps/python-vbr
9d5d4480386d0530450d59157e0da6937320f928
[ "BSD-3-Clause" ]
1
2021-05-26T19:08:29.000Z
2021-05-26T19:08:29.000Z
src/scripts/data/organization.py
a2cps/python-vbr
9d5d4480386d0530450d59157e0da6937320f928
[ "BSD-3-Clause" ]
7
2021-05-04T13:12:39.000Z
2022-03-09T21:04:33.000Z
src/scripts/data/organization.py
a2cps/python-vbr
9d5d4480386d0530450d59157e0da6937320f928
[ "BSD-3-Clause" ]
2
2021-04-20T14:46:52.000Z
2021-06-07T20:28:28.000Z
from .loader import TableData class OrganizationData(TableData): pass
12.666667
34
0.776316
8
76
7.375
0.875
0
0
0
0
0
0
0
0
0
0
0
0.171053
76
5
35
15.2
0.936508
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
2bbee59978cd421d459bbe033c57aaa65adbcad7
491
py
Python
rpxdock/search/__init__.py
willsheffler/tcdock
c7b8614221f4a94750054bfe5dfb12298e8d05b8
[ "Apache-2.0" ]
6
2020-09-08T09:31:52.000Z
2022-03-29T09:53:30.000Z
rpxdock/search/__init__.py
willsheffler/tcdock
c7b8614221f4a94750054bfe5dfb12298e8d05b8
[ "Apache-2.0" ]
9
2020-04-13T21:11:50.000Z
2022-03-09T00:57:37.000Z
rpxdock/search/__init__.py
willsheffler/tcdock
c7b8614221f4a94750054bfe5dfb12298e8d05b8
[ "Apache-2.0" ]
3
2020-04-13T20:04:20.000Z
2021-12-16T22:43:50.000Z
from rpxdock.search.basic import * from rpxdock.search.hierarchical import * from rpxdock.search.result import * from rpxdock.search.dockspec import * from rpxdock.search.cyclic import * from rpxdock.search.gridslide import * from rpxdock.search.multicomp import * from rpxdock.search.onecomp import * from rpxdock.searc...
37.769231
85
0.808554
66
491
6.015152
0.227273
0.332494
0.513854
0.63728
0
0
0
0
0
0
0
0
0.10998
491
12
86
40.916667
0.908467
0
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
2be5c4205af47fd91c721ae9ea2e2e6636a39a3b
227
py
Python
py_tdlib/constructors/update_file_generation_start.py
Mr-TelegramBot/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
24
2018-10-05T13:04:30.000Z
2020-05-12T08:45:34.000Z
py_tdlib/constructors/update_file_generation_start.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
3
2019-06-26T07:20:20.000Z
2021-05-24T13:06:56.000Z
py_tdlib/constructors/update_file_generation_start.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
5
2018-10-05T14:29:28.000Z
2020-08-11T15:04:10.000Z
from ..factory import Type class updateFileGenerationStart(Type): generation_id = None # type: "int64" original_path = None # type: "string" destination_path = None # type: "string" conversion = None # type: "string"
25.222222
42
0.713656
26
227
6.115385
0.576923
0.201258
0.264151
0.226415
0
0
0
0
0
0
0
0.010695
0.176211
227
8
43
28.375
0.839572
0.255507
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
6
ecfa9ab4be269d8830a29a97c6d9b3d3f80b8219
1,626
py
Python
cwlab/database/sqlalchemy/models.py
krini-project/CWLab
7e75cf9c4d00a9defb03802b358d40902f1ffd59
[ "Apache-2.0" ]
null
null
null
cwlab/database/sqlalchemy/models.py
krini-project/CWLab
7e75cf9c4d00a9defb03802b358d40902f1ffd59
[ "Apache-2.0" ]
null
null
null
cwlab/database/sqlalchemy/models.py
krini-project/CWLab
7e75cf9c4d00a9defb03802b358d40902f1ffd59
[ "Apache-2.0" ]
null
null
null
from cwlab.database.connector import db from cwlab.database.models import BaseUser from werkzeug.security import generate_password_hash, check_password_hash class User(BaseUser, db.Model): id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(64), index=True, unique=True) email = db.C...
41.692308
83
0.694957
254
1,626
4.295276
0.295276
0.205316
0.256645
0.234647
0.452796
0.323556
0.253896
0.179652
0.073327
0.073327
0
0.034783
0.151292
1,626
38
84
42.789474
0.755797
0
0
0
1
0
0.005535
0
0
0
0
0
0
1
0.028571
false
0.057143
0.085714
0.028571
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
6
a695dd4a1572d09ba623925b56847c8b0234afd0
23,666
py
Python
tests/components/plugwise/test_config_flow.py
plugwise/plugwise-beta
87f27681251277989e93c23c80f0dd6bf59602be
[ "MIT" ]
26
2020-03-31T07:25:21.000Z
2021-12-09T07:13:44.000Z
tests/components/plugwise/test_config_flow.py
plugwise/plugwise-beta
87f27681251277989e93c23c80f0dd6bf59602be
[ "MIT" ]
134
2020-03-28T10:47:47.000Z
2022-03-31T09:20:58.000Z
tests/components/plugwise/test_config_flow.py
plugwise/plugwise-beta
87f27681251277989e93c23c80f0dd6bf59602be
[ "MIT" ]
6
2020-10-09T19:21:58.000Z
2022-03-06T15:44:51.000Z
"""Test the Plugwise config flow.""" from unittest.mock import AsyncMock, MagicMock, patch import pytest import serial.tools.list_ports from homeassistant import setup from homeassistant.components.plugwise.config_flow import CONF_MANUAL_PATH from homeassistant.components.plugwise.const import ( API, CONF_USB_...
34.002874
85
0.680892
2,871
23,666
5.310693
0.071055
0.038958
0.056077
0.082246
0.831311
0.806782
0.795304
0.78258
0.758379
0.749984
0
0.009583
0.20633
23,666
695
86
34.051799
0.802162
0.006549
0
0.627698
0
0
0.131498
0.077156
0
0
0
0
0.149281
1
0.003597
false
0.030576
0.021583
0
0.026978
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
a6a9832a38311052484bd09de9f2923685a3136c
406
py
Python
computer_science/data_structures/queue/queue.py
seepls/algorithms
6fde481abf32c249c78065e12ec17b0411d3b14b
[ "MIT" ]
1
2021-03-13T02:05:20.000Z
2021-03-13T02:05:20.000Z
computer_science/data_structures/queue/queue.py
seepls/algorithms
6fde481abf32c249c78065e12ec17b0411d3b14b
[ "MIT" ]
null
null
null
computer_science/data_structures/queue/queue.py
seepls/algorithms
6fde481abf32c249c78065e12ec17b0411d3b14b
[ "MIT" ]
1
2022-02-14T03:13:50.000Z
2022-02-14T03:13:50.000Z
class Queue: def __init__(self): self.items = [] def enqueue(self, item): self.items.append(item) def dequeue(self): return self.items.pop(0) def is_empty(self): return self.items == [] def size(self): return len(self.items) def front(self): r...
18.454545
44
0.566502
54
406
4.166667
0.37037
0.32
0.248889
0.337778
0
0
0
0
0
0
0
0.010601
0.302956
406
21
45
19.333333
0.784452
0
0
0
0
0
0
0
0
0
0
0
0
1
0.466667
false
0
0
0.333333
0.866667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
47207d3e0cc0541e561ac4da98cfbdade8e0d50c
34
py
Python
torchtoolbox/io/__init__.py
deeplearningforfun/torch-tools
17aaa513ef72dbac8af88977ff11840aa2d6a2f4
[ "BSD-3-Clause" ]
353
2019-10-05T16:55:51.000Z
2022-03-30T00:03:38.000Z
torchtoolbox/io/__init__.py
KAKAFEIcoffee/torch-toolbox
e3dc040dcfe33aec247a3139e72426bca73cda96
[ "BSD-3-Clause" ]
14
2019-12-12T04:24:47.000Z
2021-10-31T07:02:54.000Z
torchtoolbox/io/__init__.py
KAKAFEIcoffee/torch-toolbox
e3dc040dcfe33aec247a3139e72426bca73cda96
[ "BSD-3-Clause" ]
49
2019-10-05T16:57:24.000Z
2022-01-20T08:08:37.000Z
from .structured_data_io import *
17
33
0.823529
5
34
5.2
1
0
0
0
0
0
0
0
0
0
0
0
0.117647
34
1
34
34
0.866667
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
5b34e04d57359aecd3bd01afc03365b5d0538c2e
183
py
Python
simple_universe/attachments/__init__.py
JASchilz/RoverMUD
b99770a7c55cd6951df872793a54bfa260b145f9
[ "Apache-2.0" ]
4
2016-01-01T12:06:26.000Z
2020-05-04T02:36:57.000Z
simple_universe/attachments/__init__.py
JASchilz/RoverMUD
b99770a7c55cd6951df872793a54bfa260b145f9
[ "Apache-2.0" ]
null
null
null
simple_universe/attachments/__init__.py
JASchilz/RoverMUD
b99770a7c55cd6951df872793a54bfa260b145f9
[ "Apache-2.0" ]
null
null
null
from .ooc_commands import OOCComands from .player_arms import PlayerArms from .player_eyes import PlayerEyes from .player_legs import PlayerLegs from .player_mouth import PlayerMouth
30.5
37
0.863388
25
183
6.12
0.56
0.261438
0
0
0
0
0
0
0
0
0
0
0.10929
183
5
38
36.6
0.93865
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
5b67023745429311538c117df4b080853c90abbb
5,386
py
Python
tests/unit/test_initialization.py
geekstridentllc/dynamicdict
99a20419191d048dc638e578776b5ffc01687299
[ "BSD-3-Clause" ]
1
2021-05-17T18:02:45.000Z
2021-05-17T18:02:45.000Z
tests/unit/test_initialization.py
geekstrident/dynamicdict
58f7b400b6e4d0b1f44d625d01f51929a18ab7ff
[ "BSD-3-Clause" ]
null
null
null
tests/unit/test_initialization.py
geekstrident/dynamicdict
58f7b400b6e4d0b1f44d625d01f51929a18ab7ff
[ "BSD-3-Clause" ]
null
null
null
import pytest from dynamicdict import DynamicDict from dynamicdict.dynamicdict import DynamicDictAttrMultipleValueError class TestDynamicDict: def test_creating_using_keyword_arguments(self): """Test creating a DynamicDict instance by using keyword arguments.""" ddict_obj = DynamicDict(a='Apple', ...
43.788618
78
0.63368
687
5,386
4.732169
0.097525
0.120578
0.146416
0.073208
0.877269
0.842202
0.81175
0.777299
0.70163
0.59797
0
0.014195
0.241367
5,386
122
79
44.147541
0.781449
0.187152
0
0.428571
0
0
0.123906
0
0
0
0
0
0.404762
1
0.142857
false
0
0.035714
0
0.190476
0.035714
0
0
0
null
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
6
5b756cb2639d5f0b7663a72e1be6374560457689
169
py
Python
workspace/Pipeline/songify/etl/batch/main.py
yennanliu/Python_basics
6a597442d39468295946cefbfb11d08f61424dc3
[ "Unlicense" ]
18
2019-08-01T07:45:02.000Z
2022-03-31T18:05:44.000Z
workspace/Pipeline/songify/etl/batch/main.py
yennanliu/Python_basics
6a597442d39468295946cefbfb11d08f61424dc3
[ "Unlicense" ]
null
null
null
workspace/Pipeline/songify/etl/batch/main.py
yennanliu/Python_basics
6a597442d39468295946cefbfb11d08f61424dc3
[ "Unlicense" ]
15
2019-12-29T08:46:20.000Z
2022-03-08T14:14:05.000Z
from etl.create_table import main as create_table_main from etl.etl import main as etl_main if __name__ == "__main__": create_table_main.main() etl_main.main()
24.142857
54
0.763314
28
169
4.071429
0.321429
0.289474
0.210526
0
0
0
0
0
0
0
0
0
0.159763
169
7
55
24.142857
0.802817
0
0
0
0
0
0.047337
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
5ba8d3b985de0c836e009e92966bcd40b4460317
79,433
py
Python
trafpy/generator/src/dists/node_dists.py
cwfparsonson/trafpy
23b27abb2352990522b21dc1b14f0310abf84a17
[ "Apache-2.0" ]
4
2020-08-28T18:24:11.000Z
2020-11-13T07:26:18.000Z
trafpy/generator/src/dists/node_dists.py
cwfparsonson/trafpy
23b27abb2352990522b21dc1b14f0310abf84a17
[ "Apache-2.0" ]
4
2020-09-14T11:31:09.000Z
2020-09-21T16:00:20.000Z
trafpy/generator/src/dists/node_dists.py
cwfparsonson/trafpy
23b27abb2352990522b21dc1b14f0310abf84a17
[ "Apache-2.0" ]
null
null
null
'''Module for generating node distributions.''' from trafpy.generator.src.dists import plot_dists from trafpy.generator.src.dists import val_dists from trafpy.generator.src import tools import sys import numpy as np import time import json import copy def assign_probs_to_matrix(eps, probs, matrix=None): '''As...
45.677401
185
0.593003
10,359
79,433
4.302635
0.045854
0.029975
0.022616
0.012923
0.841668
0.820085
0.800386
0.783895
0.759305
0.745417
0
0.008071
0.330845
79,433
1,738
186
45.703682
0.830471
0.432692
0
0.646825
0
0
0.027068
0.002162
0
0
0
0
0.009259
1
0.02381
false
0.005291
0.010582
0
0.063492
0.093915
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
5bacc3f5a8b5eddd5771cd64f5f92593729ef932
1,071
gyp
Python
binding.gyp
zhs007/libnatasha2
dd18d2314c92a2381e5a1872b008cd5e6084ea60
[ "Apache-2.0" ]
null
null
null
binding.gyp
zhs007/libnatasha2
dd18d2314c92a2381e5a1872b008cd5e6084ea60
[ "Apache-2.0" ]
null
null
null
binding.gyp
zhs007/libnatasha2
dd18d2314c92a2381e5a1872b008cd5e6084ea60
[ "Apache-2.0" ]
null
null
null
{ "targets": [ { "target_name": "natasha2", "sources": [ "src/main.cpp", "src/libnatasha2.cpp", "src/natasha2/libfortuna/blf.c", "src/natasha2/libfortuna/fortuna.c", "src/natasha2/libfortuna/internal.c", "src/natasha2/libfortuna/md5.c", ...
44.625
157
0.551821
114
1,071
5.166667
0.324561
0.354839
0.320883
0.298812
0
0
0
0
0
0
0
0.037323
0.27451
1,071
24
158
44.625
0.720721
0
0
0.1
0
0
0.628731
0.54291
0
0
0
0
0
1
0
true
0
0
0
0
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
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
5bdf3e947db6fc866605ad200cfcaf387e1a96a5
7,032
py
Python
tests/api/api_v1/test_accounts.py
tsatsujnr139/fastapi-role-based-access-control-auth-service
6c6addb04edad80e167424e39574697008eb0e64
[ "MIT" ]
47
2021-03-06T14:49:43.000Z
2022-03-05T12:18:59.000Z
tests/api/api_v1/test_accounts.py
tsatsujnr139/fastapi-role-based-access-control-auth-service
6c6addb04edad80e167424e39574697008eb0e64
[ "MIT" ]
5
2021-09-19T15:16:49.000Z
2022-01-26T15:47:48.000Z
tests/api/api_v1/test_accounts.py
tsatsujnr139/fastapi-role-based-access-control-auth-service
6c6addb04edad80e167424e39574697008eb0e64
[ "MIT" ]
15
2021-03-08T07:54:32.000Z
2022-03-09T13:57:23.000Z
from app import crud, schemas from app.core.config import settings from fastapi.testclient import TestClient from sqlalchemy.orm import Session from tests.utils.user import regular_user_email from tests.utils.utils import random_email, random_lower_string def test_create_account( client: TestClient, superadmin_to...
34.470588
79
0.713453
921
7,032
5.09772
0.089034
0.070288
0.108626
0.117572
0.860064
0.843663
0.799574
0.790202
0.790202
0.769968
0
0.01296
0.187998
7,032
203
80
34.640394
0.809282
0
0
0.646739
0
0
0.058732
0.05219
0
0
0
0
0.081522
1
0.048913
false
0.021739
0.032609
0
0.081522
0.005435
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
5bf7485c4f5219ebbce15a1bf815f375d755a999
198
py
Python
src/utils/date_helper.py
jpchagas/xepa-service
bd4f09f427ede789be5d94fca522b0d50b6f0ef7
[ "Apache-2.0" ]
null
null
null
src/utils/date_helper.py
jpchagas/xepa-service
bd4f09f427ede789be5d94fca522b0d50b6f0ef7
[ "Apache-2.0" ]
null
null
null
src/utils/date_helper.py
jpchagas/xepa-service
bd4f09f427ede789be5d94fca522b0d50b6f0ef7
[ "Apache-2.0" ]
null
null
null
from datetime import datetime import re class DateHelper: def __init__(self): pass def str_to_date(self, str_date): return datetime.strptime(str_date, '%d-%m-%Y').date()
16.5
61
0.661616
28
198
4.392857
0.642857
0.227642
0
0
0
0
0
0
0
0
0
0
0.227273
198
11
62
18
0.803922
0
0
0
0
0
0.040609
0
0
0
0
0
0
1
0.285714
false
0.142857
0.285714
0.142857
0.857143
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
6
5bfdb0895c63923f4bd385f8e42600e9455543fc
94
py
Python
db/sql/dal/__init__.py
Otamio/datamart-api
728d5da0ce470a669be314c12c8226123a689aa0
[ "MIT" ]
null
null
null
db/sql/dal/__init__.py
Otamio/datamart-api
728d5da0ce470a669be314c12c8226123a689aa0
[ "MIT" ]
113
2020-06-22T18:40:53.000Z
2021-07-06T04:18:40.000Z
db/sql/dal/__init__.py
Otamio/datamart-api
728d5da0ce470a669be314c12c8226123a689aa0
[ "MIT" ]
1
2020-10-23T07:37:51.000Z
2020-10-23T07:37:51.000Z
from .general import * from .variables import * from .metadata import * from .regions import *
23.5
24
0.755319
12
94
5.916667
0.5
0.422535
0
0
0
0
0
0
0
0
0
0
0.159574
94
4
25
23.5
0.898734
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
75024fa8cd6e1240145684818eaf51b9422f0111
36,932
py
Python
test_interceptor_program.py
MominaR/decide-project
f447478351cc06cc6487c64ce312cfaa86e5d2ea
[ "Apache-2.0" ]
null
null
null
test_interceptor_program.py
MominaR/decide-project
f447478351cc06cc6487c64ce312cfaa86e5d2ea
[ "Apache-2.0" ]
null
null
null
test_interceptor_program.py
MominaR/decide-project
f447478351cc06cc6487c64ce312cfaa86e5d2ea
[ "Apache-2.0" ]
1
2021-03-22T12:30:48.000Z
2021-03-22T12:30:48.000Z
import pytest import Point2D import launch_interceptor_program as lip import launch_Parameters as Params import Connector as Con import numpy as np # Constants PI = 3.14 # TEST LIC0 @pytest.mark.parametrize("length1,expected", [ (4, 1), (6, 1), (10, 1), (20, 0), ]) # lic0 returns TUE if two consecuti...
69.031776
209
0.660728
6,081
36,932
3.970564
0.035356
0.051936
0.073059
0.091779
0.878111
0.865894
0.840298
0.81491
0.805094
0.769559
0
0.083448
0.175512
36,932
534
210
69.161049
0.709425
0.32901
0
0.474227
0
0
0.023202
0.021214
0
0
0
0
0.068729
1
0.068729
false
0
0.020619
0
0.089347
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
75179d0c78285d6fc806ae380c9f092012c9e526
3,365
py
Python
test/test_optimizer.py
CS207-group2/cs207-FinalProject
16f6cee5b7102bb66ede71805cc87db5f979229d
[ "MIT" ]
null
null
null
test/test_optimizer.py
CS207-group2/cs207-FinalProject
16f6cee5b7102bb66ede71805cc87db5f979229d
[ "MIT" ]
18
2018-11-09T02:53:50.000Z
2018-12-18T00:44:44.000Z
test/test_optimizer.py
CS207-group2/cs207-FinalProject
16f6cee5b7102bb66ede71805cc87db5f979229d
[ "MIT" ]
null
null
null
import pytest from pyautodiff.optimizer import Optimizer import numpy as np def test_get_loss2(): opt1 = Optimizer(loss='mse',optimizer='gd',regularizer='lasso',lam=0.01) with pytest.raises(Exception): opt1._get_loss_fn('yo') def test_get_loss3(): with pytest.raises(Exception): opt2=Optim...
32.047619
81
0.654978
517
3,365
4.152805
0.135397
0.100606
0.047508
0.065207
0.7932
0.768514
0.768514
0.759199
0.752212
0.747089
0
0.070407
0.168499
3,365
105
82
32.047619
0.696926
0.065676
0
0.607595
0
0
0.072635
0
0
0
0
0
0.177215
1
0.21519
false
0
0.037975
0.012658
0.265823
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
1
0
0
0
0
0
0
0
6
f353d9ec12647b29cf5793ca4bd1b4d9c791e48e
3,970
py
Python
test/test_httpstream.py
system-check/httpstream
10ea3238050f4e4f6482b96847a80eea6b6f12ac
[ "MIT" ]
3
2020-06-03T21:01:59.000Z
2022-03-21T20:40:32.000Z
test/test_httpstream.py
system-check/httpstream
10ea3238050f4e4f6482b96847a80eea6b6f12ac
[ "MIT" ]
null
null
null
test/test_httpstream.py
system-check/httpstream
10ea3238050f4e4f6482b96847a80eea6b6f12ac
[ "MIT" ]
null
null
null
from aiohttp import ClientSession, ClientResponse from asynctest import CoroutineMock, patch from httpstream import httpstream REQUEST = 'url' DATA = b'data' RESPONSE_ATTRS = { 'request': REQUEST, 'status': 200, 'reason': 'ok', 'text.return_value': '', 'json.return_value': {} } @patch('aiohttp....
42.234043
104
0.778086
501
3,970
5.834331
0.117764
0.090318
0.085529
0.095792
0.866918
0.85597
0.85597
0.85597
0.85597
0.84947
0
0.005419
0.116877
3,970
93
105
42.688172
0.828294
0
0
0.5
0
0
0.093451
0.062972
0
0
0
0
0.142857
1
0.057143
false
0
0.042857
0
0.1
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
f353e974fc698e808ee1efbbb47d463f6c8f30ae
32
py
Python
NEURON/saveClass.py
OpenSourceBrain/SmithEtAl2013-L23DendriticSpikes
aaf835d6c916bfb5b58a402875c3367b610d7b42
[ "MIT" ]
1
2020-05-22T20:25:45.000Z
2020-05-22T20:25:45.000Z
NEURON/saveClass.py
OpenSourceBrain/SmithEtAl2013-L23DendriticSpikes
aaf835d6c916bfb5b58a402875c3367b610d7b42
[ "MIT" ]
2
2015-11-05T19:14:19.000Z
2017-04-28T14:29:05.000Z
NEURON/saveClass.py
OpenSourceBrain/SmithEtAl2013-L23DendriticSpikes
aaf835d6c916bfb5b58a402875c3367b610d7b42
[ "MIT" ]
1
2017-05-05T13:11:12.000Z
2017-05-05T13:11:12.000Z
class emptyObject(object): pass
16
31
0.8125
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
1
0
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
1
0
0
1
0
0
6
f36f68a7f928acf6a702ff89cdaac835dbef4554
48
py
Python
scanpy/api/export_to.py
mkmkryu/scanpy2
f3db32a142dc31c1b628380db1c969a6d0b9dc3a
[ "BSD-3-Clause" ]
1
2020-01-17T17:52:05.000Z
2020-01-17T17:52:05.000Z
scanpy/api/export_to.py
mkmkryu/scanpy2
f3db32a142dc31c1b628380db1c969a6d0b9dc3a
[ "BSD-3-Clause" ]
1
2019-07-09T04:14:34.000Z
2019-07-09T04:14:34.000Z
scanpy/api/export_to.py
mkmkryu/scanpy2
f3db32a142dc31c1b628380db1c969a6d0b9dc3a
[ "BSD-3-Clause" ]
2
2020-06-16T16:42:40.000Z
2020-08-28T16:59:42.000Z
from ..external.exporting import spring_project
24
47
0.854167
6
48
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.083333
48
1
48
48
0.909091
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
f398ae2c714f0704db3348b797d64bace876c8ec
91
py
Python
DRE/__init__.py
zuxinrui/DeepRecursiveEmbedding
22c515aea1af3692ab004c11e4cda681df1e754a
[ "MIT" ]
1
2022-01-16T10:52:54.000Z
2022-01-16T10:52:54.000Z
DRE/__init__.py
zuxinrui/DeepRecursiveEmbedding
22c515aea1af3692ab004c11e4cda681df1e754a
[ "MIT" ]
null
null
null
DRE/__init__.py
zuxinrui/DeepRecursiveEmbedding
22c515aea1af3692ab004c11e4cda681df1e754a
[ "MIT" ]
null
null
null
from ._dre import DeepRecursiveEmbedding from ._models import * from ._utils_dre import *
18.2
40
0.802198
11
91
6.272727
0.545455
0.26087
0
0
0
0
0
0
0
0
0
0
0.142857
91
4
41
22.75
0.884615
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
f3c09a12a6979fbac5c164df4c7b4cc662c1ad17
63
py
Python
pkgs/conf-pkg/src/genie/libs/conf/mld/__init__.py
miott/genielibs
6464642cdd67aa2367bdbb12561af4bb060e5e62
[ "Apache-2.0" ]
94
2018-04-30T20:29:15.000Z
2022-03-29T13:40:31.000Z
pkgs/conf-pkg/src/genie/libs/conf/mld/__init__.py
miott/genielibs
6464642cdd67aa2367bdbb12561af4bb060e5e62
[ "Apache-2.0" ]
67
2018-12-06T21:08:09.000Z
2022-03-29T18:00:46.000Z
pkgs/conf-pkg/src/genie/libs/conf/mld/__init__.py
miott/genielibs
6464642cdd67aa2367bdbb12561af4bb060e5e62
[ "Apache-2.0" ]
49
2018-06-29T18:59:03.000Z
2022-03-10T02:07:59.000Z
from .mld import * from .mld_group import * from .ssm import *
15.75
24
0.714286
10
63
4.4
0.5
0.318182
0
0
0
0
0
0
0
0
0
0
0.190476
63
3
25
21
0.862745
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
45e8b7ddb9fd247498c49dff136793526bf4c651
65,128
py
Python
S.py
Anonimux-S/MyToolS
f9a61bcfdabfac4c23137308a384c6b5c1d03eb5
[ "Apache-2.0" ]
null
null
null
S.py
Anonimux-S/MyToolS
f9a61bcfdabfac4c23137308a384c6b5c1d03eb5
[ "Apache-2.0" ]
null
null
null
S.py
Anonimux-S/MyToolS
f9a61bcfdabfac4c23137308a384c6b5c1d03eb5
[ "Apache-2.0" ]
null
null
null
# _*_ coding: utf8 _*_ import os, sys, time, datetime, random, hashlib, re, threading, json, getpass, urllib, requests, mechanize from multiprocessing.pool import ThreadPool try: import mechanize except ImportError: os.system('pip2 install mechanize') else: try: import requests except ImportErr...
59.641026
1,333
0.424318
7,764
65,128
3.61695
0.076636
0.128481
0.07852
0.062674
0.764297
0.745068
0.714194
0.688413
0.646678
0.623068
0
0.151012
0.414952
65,128
1,091
1,334
59.695692
0.565756
0
0
0.611497
0
0.03667
0.392551
0.173842
0
0
0
0
0
0
null
null
0.084242
0.007929
null
null
0.260654
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
6
45fc0453e1e4d03c6a7e258fe40710b4acb2cd6f
120
py
Python
batchglm/api/models/tf2/glm_norm.py
le-ander/batchglm
31b905b99b6baa7c94b82550d6a74f00d81966ea
[ "BSD-3-Clause" ]
null
null
null
batchglm/api/models/tf2/glm_norm.py
le-ander/batchglm
31b905b99b6baa7c94b82550d6a74f00d81966ea
[ "BSD-3-Clause" ]
null
null
null
batchglm/api/models/tf2/glm_norm.py
le-ander/batchglm
31b905b99b6baa7c94b82550d6a74f00d81966ea
[ "BSD-3-Clause" ]
null
null
null
#from batchglm.models.glm_norm import InputDataGLM, Model, Simulator #from batchglm.train.tf2.glm_norm import Estimator
40
68
0.841667
17
120
5.823529
0.705882
0.242424
0.262626
0
0
0
0
0
0
0
0
0.009091
0.083333
120
2
69
60
0.890909
0.966667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
341449fab03af0be821c16720b2474f41e3edebc
157
py
Python
api/admin.py
hackoregon/transportation-system-backend
fd171716ca87d8f5ab647341ab982fa200d9398b
[ "MIT" ]
8
2018-01-31T19:42:37.000Z
2019-05-06T10:01:55.000Z
api/admin.py
hackoregon/transportation-system-backend
fd171716ca87d8f5ab647341ab982fa200d9398b
[ "MIT" ]
41
2018-01-31T21:45:47.000Z
2018-05-19T17:02:52.000Z
api/admin.py
hackoregon/transportation-system-backend
fd171716ca87d8f5ab647341ab982fa200d9398b
[ "MIT" ]
2
2018-01-31T21:30:19.000Z
2018-02-24T03:48:06.000Z
from django.contrib import admin from api.models import Crash, Partic, Vhcl admin.site.register(Crash) admin.site.register(Partic) admin.site.register(Vhcl)
26.166667
42
0.815287
24
157
5.333333
0.5
0.210938
0.398438
0
0
0
0
0
0
0
0
0
0.082803
157
6
43
26.166667
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
343d4c175db1a609048f96830a3a79dcb3f4a943
8,834
py
Python
models/vae/large_vae_small_kernel.py
pdeubel/world-models-testing
36f2baf79898452e677fe141f11ba434f92e9218
[ "MIT" ]
null
null
null
models/vae/large_vae_small_kernel.py
pdeubel/world-models-testing
36f2baf79898452e677fe141f11ba434f92e9218
[ "MIT" ]
null
null
null
models/vae/large_vae_small_kernel.py
pdeubel/world-models-testing
36f2baf79898452e677fe141f11ba434f92e9218
[ "MIT" ]
null
null
null
from typing import Tuple import torch from torch import nn from models.vae import BaseVAE class LargeVAESmallKernels(BaseVAE): def __init__(self, model_parameters: dict, use_kld_warmup: bool, kld_weight: float = 1.0): super().__init__(model_parameters, use_kld_warmup, kld_weight) self.conv_1 =...
34.373541
120
0.602332
1,216
8,834
4.154605
0.065789
0.083135
0.077593
0.07403
0.929929
0.919042
0.919042
0.919042
0.919042
0.919042
0
0.066333
0.276432
8,834
256
121
34.507813
0.72403
0
0
0.688442
0
0
0.003736
0
0
0
0
0
0
1
0.035176
false
0
0.025126
0
0.090452
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
3453dab55048628c51d45b3a92ecb7c3937e30a8
247
py
Python
knockknock/__init__.py
sshleifer/knockknock
bf794eacf6a792ac040a0fead38474f7b1d09d93
[ "MIT" ]
5
2019-11-21T06:54:21.000Z
2021-01-07T19:59:07.000Z
knockknock/__init__.py
rish-16/knockknock
c68a1dba451b5b94162789e25c749b872af36667
[ "MIT" ]
null
null
null
knockknock/__init__.py
rish-16/knockknock
c68a1dba451b5b94162789e25c749b872af36667
[ "MIT" ]
6
2019-09-19T13:04:52.000Z
2021-01-07T19:59:25.000Z
from knockknock.email_sender import email_sender from knockknock.slack_sender import slack_sender from knockknock.sms_sender import sms_sender from knockknock.telegram_sender import telegram_sender from knockknock.teams_sender import teams_sender
41.166667
54
0.898785
35
247
6.057143
0.257143
0.330189
0.377358
0
0
0
0
0
0
0
0
0
0.080972
247
5
55
49.4
0.933921
0
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
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
346f4f8ccf7c0c28161096c9d252d1b68cc8982a
7,874
py
Python
tests/test_apigateway/test_apigateway_deployments.py
symroe/moto
4e106995af6f2820273528fca8a4e9ee288690a5
[ "Apache-2.0" ]
null
null
null
tests/test_apigateway/test_apigateway_deployments.py
symroe/moto
4e106995af6f2820273528fca8a4e9ee288690a5
[ "Apache-2.0" ]
1
2022-03-07T07:39:03.000Z
2022-03-07T07:39:03.000Z
tests/test_apigateway/test_apigateway_deployments.py
symroe/moto
4e106995af6f2820273528fca8a4e9ee288690a5
[ "Apache-2.0" ]
null
null
null
import boto3 import sure # noqa # pylint: disable=unused-import from botocore.exceptions import ClientError from moto import mock_apigateway import pytest from .test_apigateway import create_method_integration @mock_apigateway def test_create_deployment_requires_REST_methods(): client = boto3.client("apigatewa...
36.453704
88
0.729616
1,018
7,874
5.415521
0.124754
0.040813
0.068565
0.069654
0.804644
0.791946
0.746236
0.732451
0.702521
0.652095
0
0.006973
0.144018
7,874
215
89
36.623256
0.810979
0.03175
0
0.619355
0
0
0.136232
0
0
0
0
0
0
1
0.064516
false
0
0.03871
0
0.103226
0.006452
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
cad1d5939c078692ef41ec713d67fb1b946c4707
50
py
Python
python/testData/refactoring/move/importAs/before/src/c.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/refactoring/move/importAs/before/src/c.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/refactoring/move/importAs/before/src/c.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
from a import f as g def main(): print(g(42))
12.5
20
0.6
11
50
2.727273
0.909091
0
0
0
0
0
0
0
0
0
0
0.054054
0.26
50
4
21
12.5
0.756757
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
0.666667
0.333333
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
cae157ea2f21f30be65b022127e9de0e480fbbc1
173
py
Python
languages.py
ArtemBernatskyy/TrueModer
b5027e6a413fdce4ef2fba0128e865d4bd8e1bd5
[ "MIT" ]
8
2020-05-31T21:45:56.000Z
2022-03-09T07:02:09.000Z
languages.py
ArtemBernatskyy/TrueModer
b5027e6a413fdce4ef2fba0128e865d4bd8e1bd5
[ "MIT" ]
1
2018-09-14T11:40:41.000Z
2019-07-01T20:40:45.000Z
languages.py
ArtemBernatskyy/TrueModer
b5027e6a413fdce4ef2fba0128e865d4bd8e1bd5
[ "MIT" ]
2
2018-09-12T19:28:41.000Z
2018-09-14T11:44:54.000Z
import logging logger = logging.getLogger(f'TrueModer.{__name__}') def underscore(text: str, **kwargs): return text.format(**kwargs) # todo add multilingual support
17.3
51
0.734104
21
173
5.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.138728
173
9
52
19.222222
0.825503
0.16763
0
0
0
0
0.140845
0
0
0
0
0.111111
0
1
0.25
false
0
0.25
0.25
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
1
0
0
6
1b1afd6f5d07cc9edf1acad420dc8f9a4bb66e22
71
py
Python
test_hello.py
guyb17/class3-8
9b3142e7ab5a45d9d1abbc187422a9c303331eae
[ "Apache-2.0" ]
null
null
null
test_hello.py
guyb17/class3-8
9b3142e7ab5a45d9d1abbc187422a9c303331eae
[ "Apache-2.0" ]
null
null
null
test_hello.py
guyb17/class3-8
9b3142e7ab5a45d9d1abbc187422a9c303331eae
[ "Apache-2.0" ]
null
null
null
import my_func #from my_func import print_hello my_func.print_hello()
14.2
32
0.830986
13
71
4.153846
0.461538
0.333333
0
0
0
0
0
0
0
0
0
0
0.112676
71
4
33
17.75
0.857143
0.43662
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
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
0
1
0
1
0
0
1
0
6
1b4457a3e813574866df883a51d5aa999aa41ebe
133
py
Python
sensor_position_dataset_helper/__init__.py
mad-lab-fau/sensor_position_dataset_helper
67c84c95d2aa4252b1d16227b10d73838f0babca
[ "MIT" ]
null
null
null
sensor_position_dataset_helper/__init__.py
mad-lab-fau/sensor_position_dataset_helper
67c84c95d2aa4252b1d16227b10d73838f0babca
[ "MIT" ]
3
2021-11-23T16:36:05.000Z
2021-12-06T09:22:04.000Z
sensor_position_dataset_helper/__init__.py
mad-lab-fau/sensor_position_dataset_helper
67c84c95d2aa4252b1d16227b10d73838f0babca
[ "MIT" ]
null
null
null
from sensor_position_dataset_helper.consts import Consts from sensor_position_dataset_helper.helper import * __version__ = "1.1.0"
22.166667
56
0.842105
19
133
5.368421
0.526316
0.196078
0.352941
0.490196
0.607843
0
0
0
0
0
0
0.025
0.097744
133
5
57
26.6
0.825
0
0
0
0
0
0.037594
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
1b919cba353d497ef4392e3989f668cac54ef755
105
py
Python
connector/__init__.py
bptlab/goodberry
fae858c986f4e0787efdb24586a5234b3ab963f3
[ "MIT" ]
null
null
null
connector/__init__.py
bptlab/goodberry
fae858c986f4e0787efdb24586a5234b3ab963f3
[ "MIT" ]
8
2018-05-23T07:00:44.000Z
2018-07-07T16:47:09.000Z
connector/__init__.py
bptlab/goodberry
fae858c986f4e0787efdb24586a5234b3ab963f3
[ "MIT" ]
null
null
null
from connector.event_listener import EventListener from connector.event_subscriber import EventSubscriber
52.5
54
0.914286
12
105
7.833333
0.666667
0.276596
0.382979
0
0
0
0
0
0
0
0
0
0.066667
105
2
54
52.5
0.959184
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
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
84d67e3f1f112beb1f2e834298e53aa84abf0371
40
py
Python
hyades/connection/__init__.py
renatoalmeidaoliveira/Hyades
2b6aa6ff609fda3c684c3479919cfd5e497d7ec0
[ "MIT" ]
1
2021-10-17T15:27:26.000Z
2021-10-17T15:27:26.000Z
hyades/connection/__init__.py
renatoalmeidaoliveira/Hyades
2b6aa6ff609fda3c684c3479919cfd5e497d7ec0
[ "MIT" ]
null
null
null
hyades/connection/__init__.py
renatoalmeidaoliveira/Hyades
2b6aa6ff609fda3c684c3479919cfd5e497d7ec0
[ "MIT" ]
null
null
null
from hyades.connection.wrappers import *
40
40
0.85
5
40
6.8
1
0
0
0
0
0
0
0
0
0
0
0
0.075
40
1
40
40
0.918919
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
ca37fb5f108ce9bfeb6393cb2737b33b5f366a7b
2,584
py
Python
vulnserver/gmon2.py
m1kemu/ExploitDev
4a51a6bc83577c619a626fe037a885e007ef3f31
[ "MIT" ]
null
null
null
vulnserver/gmon2.py
m1kemu/ExploitDev
4a51a6bc83577c619a626fe037a885e007ef3f31
[ "MIT" ]
null
null
null
vulnserver/gmon2.py
m1kemu/ExploitDev
4a51a6bc83577c619a626fe037a885e007ef3f31
[ "MIT" ]
null
null
null
import socket import os import sys host = '192.168.102.148' port = 9999 # SEH is at offset 3519 # nSEH is at offset 3515 # Found POP POP RET in nonSEH module at 0x625010B4 junk = '\x90' * (3515 - 2000) junk += 'w00tw00t' #junk += '\xcc' * 1000 buf = "" buf += "\xda\xd0\xd9\x74\x24\xf4\x5b\xb8\xb0\x26\x9d\x16\x29" ...
34
152
0.657508
527
2,584
3.220114
0.497154
0.0165
0.011786
0
0
0
0
0
0
0
0
0.248506
0.093653
2,584
75
153
34.453333
0.476089
0.05418
0
0
0
0.54902
0.685751
0.642918
0.019608
1
0
0
0
1
0
false
0
0.058824
0
0.058824
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
0
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
6
ca549b0bb87f655e44448c5efba0251fc603ba71
170
py
Python
katas/kyu_7/sexy_primes.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
katas/kyu_7/sexy_primes.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
katas/kyu_7/sexy_primes.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
def is_prime(n): return n > 1 and all(n % i for i in xrange(2, int(n ** 0.5) + 1)) def sexy_prime(x, y): return abs(x - y) == 6 and is_prime(x) and is_prime(y)
24.285714
69
0.582353
39
170
2.435897
0.538462
0.221053
0.210526
0
0
0
0
0
0
0
0
0.046875
0.247059
170
6
70
28.333333
0.695313
0
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
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
0482bcd97d0df38b962a5586777d532e873435f6
89
py
Python
dbf_reader/__init__.py
lais-huol/dbf_reader
00943d9ec5e6321dc104445344b482060939572c
[ "MIT" ]
null
null
null
dbf_reader/__init__.py
lais-huol/dbf_reader
00943d9ec5e6321dc104445344b482060939572c
[ "MIT" ]
null
null
null
dbf_reader/__init__.py
lais-huol/dbf_reader
00943d9ec5e6321dc104445344b482060939572c
[ "MIT" ]
1
2021-12-07T22:19:40.000Z
2021-12-07T22:19:40.000Z
# flake8: noqa from .reader import * from .definitions import * from .renderers import *
17.8
26
0.741573
11
89
6
0.636364
0.30303
0
0
0
0
0
0
0
0
0
0.013514
0.168539
89
4
27
22.25
0.878378
0.134831
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
0494a1c9288f22f987ae572e7767817433bbceed
49
py
Python
example_bots/example/__init__.py
budacom/trading-bots
9ac362cc21ce185e7b974bf9bcc7480ff9c6b2aa
[ "MIT" ]
21
2018-08-10T16:45:21.000Z
2022-01-25T13:04:07.000Z
example_bots/example/__init__.py
rob-Hitchens/trading-bots
16d53be0c32b45bee0520d8192629ade09727e24
[ "MIT" ]
6
2018-07-18T15:34:32.000Z
2021-02-02T21:59:04.000Z
example_bots/example/__init__.py
rob-Hitchens/trading-bots
16d53be0c32b45bee0520d8192629ade09727e24
[ "MIT" ]
10
2018-10-24T22:14:10.000Z
2022-02-08T17:21:47.000Z
default_bot = 'example_bots.example.bot.Example'
24.5
48
0.816327
7
49
5.428571
0.571429
0.526316
0
0
0
0
0
0
0
0
0
0
0.061224
49
1
49
49
0.826087
0
0
0
0
0
0.653061
0.653061
0
0
0
0
0
1
0
false
0
0
0
0
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
04c168673ae8dfc87c88f5f24f12c6095e48462f
4,164
py
Python
Gloses/MoodleProject/Logique/Logique.py
Krolov18/Languages
549952886f73f0b8e1b9e6393875f5473b591407
[ "Apache-2.0" ]
1
2019-12-11T14:56:09.000Z
2019-12-11T14:56:09.000Z
Gloses/MoodleProject/Logique/Logique.py
Krolov18/Languages
549952886f73f0b8e1b9e6393875f5473b591407
[ "Apache-2.0" ]
null
null
null
Gloses/MoodleProject/Logique/Logique.py
Krolov18/Languages
549952886f73f0b8e1b9e6393875f5473b591407
[ "Apache-2.0" ]
null
null
null
# coding : utf-8 from Node import * class Logique(Node): def setXML(self): structure = '<{noeud} val="{val}">{var}</{noeud}>' if self.type == "VAR": self.xml = structure.format( noeud=self.type, val=self.value, var=self.leaf) else: self.xml = structure.format( noeud=self.type, val=self...
29.531915
90
0.583573
531
4,164
4.576271
0.090395
0.28642
0.187243
0.112346
0.859671
0.781893
0.723868
0.659671
0.62428
0.601235
0
0.023021
0.238473
4,164
140
91
29.742857
0.743299
0.003362
0
0.614815
0
0
0.043394
0.011572
0
0
0
0
0
1
0.037037
false
0
0.007407
0.014815
0.066667
0
0
0
0
null
1
1
0
1
1
1
0
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
0
0
0
0
0
0
6
04d64497b1faf1f57adb511aa0d4ba2f2462e544
304,763
py
Python
baseline/deep_ed_PyTorch/deep_ed_PyTorch/entities/EX_wiki_words/EX_wiki_words.py
yifding/e2e_EL_evaluate
48e12a93c98daf99bb560efcc267749247f590ba
[ "MIT" ]
5
2021-11-30T02:19:52.000Z
2021-12-10T14:38:17.000Z
baseline/deep_ed_PyTorch/deep_ed_PyTorch/entities/EX_wiki_words/EX_wiki_words.py
yifding/e2e_EL_evaluate
48e12a93c98daf99bb560efcc267749247f590ba
[ "MIT" ]
1
2021-11-15T02:18:41.000Z
2021-12-01T13:36:26.000Z
baseline/deep_ed_PyTorch/deep_ed_PyTorch/entities/EX_wiki_words/EX_wiki_words.py
yifding/e2e_EL_evaluate
48e12a93c98daf99bb560efcc267749247f590ba
[ "MIT" ]
null
null
null
# -- Small dataset. Used for debugging / unit testing from deep_ed_PyTorch.words import StopWords ent_lines_4EX = dict() ent_lines_4EX['Japan national football team'] = '993546\tJapan national football team\tJapan national football team Japan is one of the most successful football teams in Asia having qualified for...
7,619.075
62,687
0.830304
51,480
304,763
4.917191
0.163112
0.009125
0.002963
0.001746
0.046643
0.02456
0.017406
0.010812
0.007818
0.006139
0
0.025748
0.166963
304,763
39
62,688
7,814.435897
0.970734
0.000167
0
0
0
0.333333
0.996826
0.000942
0
0
0
0
0.041667
1
0.041667
false
0.166667
0.333333
0
0.416667
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
6
b6bb54086a6ef8ae80a65d44c2dfc79f0de9b9f1
15,170
py
Python
server/tests/services/wiki/test_mediawiki_service.py
hotosm/oeg-reporter
f0c3da80ba380df907a818db224e9ca2ae0018b3
[ "BSD-2-Clause" ]
1
2021-02-03T13:37:48.000Z
2021-02-03T13:37:48.000Z
server/tests/services/wiki/test_mediawiki_service.py
hotosm/oeg-reporter
f0c3da80ba380df907a818db224e9ca2ae0018b3
[ "BSD-2-Clause" ]
8
2020-07-16T23:17:51.000Z
2020-10-14T20:40:00.000Z
server/tests/services/wiki/test_mediawiki_service.py
hotosm/oeg-reporter
f0c3da80ba380df907a818db224e9ca2ae0018b3
[ "BSD-2-Clause" ]
null
null
null
from unittest.mock import patch from server.tests.base_test_config import BaseTestCase from server.services.wiki.mediawiki_service import ( MediaWikiService, MediaWikiServiceError, ) @patch("server.services.wiki.mediawiki_service.requests.Session") class TestMediaWikiService(BaseTestCase): @patch.dict( ...
36.820388
87
0.616809
1,643
15,170
5.385271
0.069994
0.105674
0.0816
0.103074
0.870705
0.844033
0.827193
0.817247
0.785375
0.757685
0
0.001163
0.262887
15,170
411
88
36.909976
0.790109
0.001582
0
0.632432
0
0
0.23719
0.081352
0
0
0
0
0.094595
1
0.051351
false
0.005405
0.008108
0
0.062162
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
b6d38700c7208646d53815be7524419732be4118
105
py
Python
fbmq/utils.py
antikytheraton/hodorBot
b974b846798a1899e3a539af25e595c021394f69
[ "MIT" ]
204
2016-08-24T02:21:09.000Z
2021-11-16T10:52:09.000Z
fbmq/utils.py
antikytheraton/hodorBot
b974b846798a1899e3a539af25e595c021394f69
[ "MIT" ]
74
2016-08-23T03:45:59.000Z
2021-03-29T08:52:22.000Z
fbmq/utils.py
antikytheraton/hodorBot
b974b846798a1899e3a539af25e595c021394f69
[ "MIT" ]
75
2016-09-01T17:06:28.000Z
2020-07-18T21:26:20.000Z
import json def to_json(obj): return json.dumps(obj, default=lambda o: o.__dict__, sort_keys=True)
17.5
72
0.733333
18
105
3.944444
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.152381
105
5
73
21
0.797753
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
8e2bbcabb7a5306767de96c65f04e9337749fb29
1,217
py
Python
src/2021/june/2/switch_sort.py
xaverrd/braingu-toy-problems
608030ab83d6f3161d70d782157f759677cc9d3e
[ "MIT" ]
null
null
null
src/2021/june/2/switch_sort.py
xaverrd/braingu-toy-problems
608030ab83d6f3161d70d782157f759677cc9d3e
[ "MIT" ]
null
null
null
src/2021/june/2/switch_sort.py
xaverrd/braingu-toy-problems
608030ab83d6f3161d70d782157f759677cc9d3e
[ "MIT" ]
2
2021-05-27T14:23:04.000Z
2021-05-28T14:18:35.000Z
# Have the function SwitchSort(arr) take arr which will be an an array consisting of integers 1...size(arr) and determine what the fewest number of steps is in order to sort the array from least to greatest using the following technique: Each element E in the array can swap places with another element that is arr[E] sp...
152.125
701
0.766639
237
1,217
3.932489
0.396624
0.060086
0.02897
0.027897
0.17382
0.124464
0.079399
0.079399
0.079399
0
0
0.019408
0.195563
1,217
7
702
173.857143
0.932584
0.96138
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
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
8e461be917dd76c209eeb8f9fc7df98b419f2e48
160
py
Python
exams/constants.py
Wassaf-Shahzad/micromasters
b1340a8c233499b1d8d22872a6bc1fe7f49fd323
[ "BSD-3-Clause" ]
32
2016-03-25T01:03:13.000Z
2022-01-15T19:35:42.000Z
exams/constants.py
Wassaf-Shahzad/micromasters
b1340a8c233499b1d8d22872a6bc1fe7f49fd323
[ "BSD-3-Clause" ]
4,858
2016-03-03T13:48:30.000Z
2022-03-29T22:09:51.000Z
exams/constants.py
umarmughal824/micromasters
ea92d3bcea9be4601150fc497302ddacc1161622
[ "BSD-3-Clause" ]
20
2016-08-18T22:07:44.000Z
2021-11-15T13:35:35.000Z
"""Pearson-related constants""" # EXAM constants EXAM_GRADE_PASS = 'pass' EXAM_GRADE_FAIL = 'fail' EXAM_GRADES = ( EXAM_GRADE_PASS, EXAM_GRADE_FAIL, )
16
31
0.71875
21
160
5.047619
0.380952
0.339623
0.245283
0.320755
0
0
0
0
0
0
0
0
0.1625
160
9
32
17.777778
0.791045
0.25625
0
0
0
0
0.070796
0
0
0
0
0
0
1
0
false
0.333333
0
0
0
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
eda7be8c3dbc31290d673c27ed71135a60e87882
161
py
Python
Python/Tutorial - 3/optional.py
JC2295/FCC_Tutorial_Projects
990e1221b2177acb9e4db0264adab518620404a0
[ "MIT" ]
null
null
null
Python/Tutorial - 3/optional.py
JC2295/FCC_Tutorial_Projects
990e1221b2177acb9e4db0264adab518620404a0
[ "MIT" ]
null
null
null
Python/Tutorial - 3/optional.py
JC2295/FCC_Tutorial_Projects
990e1221b2177acb9e4db0264adab518620404a0
[ "MIT" ]
null
null
null
def mult(x, y = 2): # Required parameters must be defined before the optional parameters inside any function. return x*x print(squared()) print(squared(6))
26.833333
109
0.732919
25
161
4.72
0.8
0.20339
0
0
0
0
0
0
0
0
0
0.014925
0.167702
161
6
110
26.833333
0.865672
0.540373
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.25
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
0
0
0
1
0
1
0
6
edb01a18843f70394366903df0a6bc83f563bd92
10,047
py
Python
hazma/rh_neutrino/_rh_neutrino_fsr.py
LoganAMorrison/Hazma
e9612729767ff48d5ce50633393f81ee021242d2
[ "MIT" ]
6
2019-07-30T18:14:43.000Z
2020-10-25T04:58:44.000Z
hazma/rh_neutrino/_rh_neutrino_fsr.py
LoganAMorrison/Hazma
e9612729767ff48d5ce50633393f81ee021242d2
[ "MIT" ]
8
2017-12-19T08:06:59.000Z
2021-04-22T02:15:26.000Z
hazma/rh_neutrino/_rh_neutrino_fsr.py
LoganAMorrison/Hazma
e9612729767ff48d5ce50633393f81ee021242d2
[ "MIT" ]
1
2020-04-01T11:08:49.000Z
2020-04-01T11:08:49.000Z
""" This file contains implemenations of the FSR spectra from RH neutrino decays. """ import numpy as np from hazma.parameters import ( qe, charged_pion_mass as mpi, charged_kaon_mass as mk, electron_mass as me, muon_mass as mmu, ) from hazma.utils import dnde_altarelli_parisi_fermion, dnde_altarel...
28.705714
88
0.404001
1,160
10,047
3.360345
0.100862
0.022576
0.023602
0.023089
0.868907
0.855567
0.832222
0.804259
0.787583
0.774243
0
0.043535
0.467304
10,047
349
89
28.787966
0.684791
0.24266
0
0.550926
0
0
0.006948
0
0
0
0
0
0
1
0.032407
false
0
0.013889
0
0.12963
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
edb6a87eaafabc80743687d13a1fb1bfd473a126
8,081
py
Python
tests/test_models.py
klaasnicolaas/python-omnikinverter
b1dd2c570ebb21f0179e875ab175cd88349e7c22
[ "MIT" ]
5
2021-09-13T11:41:40.000Z
2022-03-18T08:34:58.000Z
tests/test_models.py
klaasnicolaas/python-omnikinverter
b1dd2c570ebb21f0179e875ab175cd88349e7c22
[ "MIT" ]
135
2021-08-17T22:28:25.000Z
2022-03-30T04:27:24.000Z
tests/test_models.py
klaasnicolaas/python-omnikinverter
b1dd2c570ebb21f0179e875ab175cd88349e7c22
[ "MIT" ]
1
2022-02-20T17:31:39.000Z
2022-02-20T17:31:39.000Z
"""Test the models.""" import aiohttp import pytest from omnikinverter import Device, Inverter, OmnikInverter from omnikinverter.exceptions import OmnikInverterWrongValuesError from . import load_fixtures @pytest.mark.asyncio async def test_inverter_js_webdata(aresponses): """Test request from a Inverter - JS W...
32.983673
87
0.62319
868
8,081
5.6947
0.157834
0.101962
0.061501
0.040057
0.85353
0.783128
0.783128
0.72021
0.68946
0.68946
0
0.046402
0.263952
8,081
244
88
33.118852
0.784633
0.004826
0
0.707317
0
0.004878
0.145402
0.029687
0
0
0
0
0.258537
1
0
false
0.009756
0.02439
0
0.02439
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
ede7026829c89fba6dde40023326e38e3bdf723c
2,840
py
Python
Integration.py
MASTERAMARJEET/Numerical_Method
186ae125f2991afec570c86da55640d80d282de5
[ "MIT" ]
null
null
null
Integration.py
MASTERAMARJEET/Numerical_Method
186ae125f2991afec570c86da55640d80d282de5
[ "MIT" ]
null
null
null
Integration.py
MASTERAMARJEET/Numerical_Method
186ae125f2991afec570c86da55640d80d282de5
[ "MIT" ]
null
null
null
from numpy import array as _array def simpson13(f, limits, ns): """This function calculates the area under a given curve between the given list of limit points using Simpson 1/3 method Parameters ---------- f : function function whose area is to be calculated limits : tuple a ...
25.132743
78
0.564789
417
2,840
3.829736
0.158273
0.045085
0.048842
0.086412
0.934252
0.915467
0.892924
0.844083
0.844083
0.844083
0
0.029151
0.323592
2,840
112
79
25.357143
0.802186
0.465493
0
0.540541
0
0
0
0
0
0
0
0
0
1
0.081081
false
0
0.027027
0
0.189189
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
612c4874b7cb9d9b85281cbd04c744d1ac24b8ad
142
py
Python
repostatus/__init__.py
avattathil/repostatus
39e83df970ce90d5ab493af88fea3d0f577252ce
[ "Apache-2.0" ]
null
null
null
repostatus/__init__.py
avattathil/repostatus
39e83df970ce90d5ab493af88fea3d0f577252ce
[ "Apache-2.0" ]
1
2019-05-17T06:30:44.000Z
2019-05-17T06:30:44.000Z
repostatus/__init__.py
avattathil/repostatus
39e83df970ce90d5ab493af88fea3d0f577252ce
[ "Apache-2.0" ]
null
null
null
""" repostatus python module """ from repostatus.main import * from repostatus.commit_mgr import * from repostatus.token_generator import *
17.75
40
0.78169
17
142
6.411765
0.588235
0.385321
0.366972
0
0
0
0
0
0
0
0
0
0.133803
142
7
41
20.285714
0.886179
0.176056
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
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
b61e2ccd41dc04017ccbc699316421097661a071
4,165
py
Python
neuro-sdk/tests/test_storage_filestatus.py
neuro-inc/neuro-cli
72bd2a825cc319bbc79c6df16f33380796fad4f5
[ "Apache-2.0" ]
5
2019-09-24T15:37:47.000Z
2020-08-04T09:25:29.000Z
neuro-sdk/tests/test_storage_filestatus.py
neuromation/platform-client-python
72bd2a825cc319bbc79c6df16f33380796fad4f5
[ "Apache-2.0" ]
748
2019-08-05T14:57:11.000Z
2020-09-28T09:54:41.000Z
neuro-sdk/tests/test_storage_filestatus.py
neuro-inc/neuro-cli
72bd2a825cc319bbc79c6df16f33380796fad4f5
[ "Apache-2.0" ]
3
2019-10-07T19:25:22.000Z
2020-06-29T01:41:26.000Z
from yarl import URL from neuro_sdk import FileStatusType from neuro_sdk._storage import _file_status_from_api_ls, _file_status_from_api_stat def test_from_api() -> None: stat = _file_status_from_api_ls( URL("storage://default/user/foo"), { "path": "name", "type": "FILE", ...
25.552147
83
0.519808
428
4,165
4.834112
0.121495
0.101498
0.081199
0.098598
0.831319
0.78202
0.730304
0.705172
0.705172
0.660222
0
0.035214
0.331813
4,165
162
84
25.709877
0.708229
0
0
0.539007
0
0
0.226891
0.079472
0
0
0
0
0.191489
1
0.070922
false
0
0.021277
0
0.092199
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
b6318677bc944753a43278cb30b692ba006adaf4
54
py
Python
torchslim/__init__.py
Ocean-627/torch-model-compression
e317c10a92503f2793d0c4c06bb91ddeb512f4ac
[ "MIT" ]
86
2021-06-21T11:09:49.000Z
2022-03-21T09:09:26.000Z
torchslim/__init__.py
Ocean-627/torch-model-compression
e317c10a92503f2793d0c4c06bb91ddeb512f4ac
[ "MIT" ]
7
2021-06-26T09:37:37.000Z
2022-03-09T03:49:11.000Z
torchslim/__init__.py
Ocean-627/torch-model-compression
e317c10a92503f2793d0c4c06bb91ddeb512f4ac
[ "MIT" ]
17
2021-08-18T17:06:44.000Z
2022-02-28T09:14:38.000Z
import torchslim.pruning import torchslim.reparameter
18
28
0.888889
6
54
8
0.666667
0.625
0
0
0
0
0
0
0
0
0
0
0.074074
54
2
29
27
0.96
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
b636d9d592b30d57cbcf48601a1a0c30754d3393
396
py
Python
tests/integration/testdata/buildcmd/Python/main.py
michael-k/aws-sam-cli
a8525fc8157d507c4b102477ded4d221deaed145
[ "BSD-2-Clause", "Apache-2.0" ]
2,959
2018-05-08T21:48:56.000Z
2020-08-24T14:35:39.000Z
tests/integration/testdata/buildcmd/Python/main.py
michael-k/aws-sam-cli
a8525fc8157d507c4b102477ded4d221deaed145
[ "BSD-2-Clause", "Apache-2.0" ]
1,469
2018-05-08T22:44:28.000Z
2020-08-24T20:19:24.000Z
tests/integration/testdata/buildcmd/Python/main.py
michael-k/aws-sam-cli
a8525fc8157d507c4b102477ded4d221deaed145
[ "BSD-2-Clause", "Apache-2.0" ]
642
2018-05-08T22:09:19.000Z
2020-08-17T09:04:37.000Z
import numpy # from cryptography.fernet import Fernet def handler(event, context): # Try using some of the modules to make sure they work & don't crash the process # print(Fernet.generate_key()) return {"pi": "{0:.2f}".format(numpy.pi)} def first_function_handler(event, context): return "Hello Wo...
19.8
84
0.709596
56
396
4.928571
0.678571
0.130435
0.206522
0.195652
0.275362
0.275362
0
0
0
0
0
0.006192
0.184343
396
19
85
20.842105
0.848297
0.368687
0
0
1
0
0.121951
0
0
0
0
0
0
1
0.428571
false
0
0.142857
0.428571
1
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
b6964f1672e57dcee9448809ce106b3cc3c91ad0
12,760
py
Python
tests/pipeline/ai/test_face_detect.py
fossabot/ambianic-core
c29b571d707879ff0c9fa119f543f508da066273
[ "Apache-2.0" ]
null
null
null
tests/pipeline/ai/test_face_detect.py
fossabot/ambianic-core
c29b571d707879ff0c9fa119f543f508da066273
[ "Apache-2.0" ]
null
null
null
tests/pipeline/ai/test_face_detect.py
fossabot/ambianic-core
c29b571d707879ff0c9fa119f543f508da066273
[ "Apache-2.0" ]
null
null
null
"""Test face detection pipe element.""" import os from ambianic.pipeline.ai.object_detect import ObjectDetector from ambianic.pipeline.ai.face_detect import FaceDetector from ambianic.pipeline import PipeElement from PIL import Image def _object_detect_config(): dir = os.path.dirname(os.path.abspath(__file__)) ...
34.579946
78
0.706505
1,663
12,760
5.112447
0.107637
0.052223
0.029052
0.04446
0.784286
0.744295
0.735827
0.72383
0.713832
0.713832
0
0.021538
0.203135
12,760
368
79
34.673913
0.814614
0.108386
0
0.701754
0
0
0.053594
0.017746
0
0
0
0
0.210526
1
0.094737
false
0.003509
0.017544
0
0.126316
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
b6b64ff04ead59d6166d2684037bd883938c455c
89
py
Python
qmpy/analysis/thermodynamics/__init__.py
WalterjhShen/qmpy
686e18cecbb82a6bb523249ac1779a99fb865350
[ "MIT" ]
2
2019-04-25T17:49:16.000Z
2019-06-01T01:36:04.000Z
qmpy/analysis/thermodynamics/__init__.py
WalterjhShen/qmpy
686e18cecbb82a6bb523249ac1779a99fb865350
[ "MIT" ]
10
2018-07-05T03:19:58.000Z
2019-03-24T13:05:14.000Z
qmpy/analysis/thermodynamics/__init__.py
WalterjhShen/qmpy
686e18cecbb82a6bb523249ac1779a99fb865350
[ "MIT" ]
1
2020-04-30T14:08:45.000Z
2020-04-30T14:08:45.000Z
from phase import * from space import * from reaction import * from equilibrium import *
17.8
25
0.775281
12
89
5.75
0.5
0.434783
0
0
0
0
0
0
0
0
0
0
0.179775
89
4
26
22.25
0.945205
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
fcd40ec296528de76ee24d2b91f4d49c7153787d
22,438
py
Python
venv/Lib/site-packages/statsmodels/tsa/arima/tests/test_params.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
6,931
2015-01-01T11:41:55.000Z
2022-03-31T17:03:24.000Z
venv/Lib/site-packages/statsmodels/tsa/arima/tests/test_params.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
6,137
2015-01-01T00:33:45.000Z
2022-03-31T22:53:17.000Z
venv/Lib/site-packages/statsmodels/tsa/arima/tests/test_params.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
2,608
2015-01-02T21:32:31.000Z
2022-03-31T07:38:30.000Z
import numpy as np import pandas as pd from numpy.testing import assert_, assert_equal, assert_allclose, assert_raises from statsmodels.tsa.arima import specification, params def test_init(): # Test initialization of the params # Basic test, with 1 of each parameter exog = pd.DataFrame([[0]], columns=[...
39.227273
79
0.607273
3,792
22,438
3.359177
0.053797
0.02418
0.130005
0.017585
0.86081
0.809625
0.770372
0.716596
0.689826
0.674831
0
0.071688
0.227872
22,438
571
80
39.295972
0.66355
0.167305
0
0.521951
0
0
0.068628
0.010595
0
0
0
0
0.509756
1
0.031707
false
0
0.009756
0
0.041463
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
fcda79381d004947c8d0fca00b38bb5b9f4df03c
37
py
Python
segmentation_models_pytorch/utils/__init__.py
PVSemk/segmentation_models.pytorch
8d9b033be918dfc1e6186d9ef404cc7d2c171e8d
[ "MIT" ]
null
null
null
segmentation_models_pytorch/utils/__init__.py
PVSemk/segmentation_models.pytorch
8d9b033be918dfc1e6186d9ef404cc7d2c171e8d
[ "MIT" ]
null
null
null
segmentation_models_pytorch/utils/__init__.py
PVSemk/segmentation_models.pytorch
8d9b033be918dfc1e6186d9ef404cc7d2c171e8d
[ "MIT" ]
null
null
null
from . import train, losses, metrics
18.5
36
0.756757
5
37
5.6
1
0
0
0
0
0
0
0
0
0
0
0
0.162162
37
1
37
37
0.903226
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
94a2de4b62065497dc9e8b08fda04e36c75339f9
23
py
Python
lib/straight/pystraight/__init__.py
qingyundou/tacotron_qdou
aca014e8ea73bbab617029b81368cee235f47ce2
[ "MIT" ]
2
2020-12-16T12:53:52.000Z
2021-09-18T06:52:05.000Z
lib/straight/pystraight/__init__.py
qingyundou/tacotron_qdou
aca014e8ea73bbab617029b81368cee235f47ce2
[ "MIT" ]
null
null
null
lib/straight/pystraight/__init__.py
qingyundou/tacotron_qdou
aca014e8ea73bbab617029b81368cee235f47ce2
[ "MIT" ]
1
2021-03-05T03:44:39.000Z
2021-03-05T03:44:39.000Z
from straight import *
11.5
22
0.782609
3
23
6
1
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
94afef6d4484a4d8802cf6ad007de70eacff0cea
3,988
py
Python
tests/test_VRS_multi_output_oriented_model.py
rbotter/pyDEA
2c8b4a70e8c071d580eff26a040efc22fc264045
[ "MIT" ]
29
2017-10-22T03:03:20.000Z
2022-03-21T09:15:22.000Z
tests/test_VRS_multi_output_oriented_model.py
rbotter/pyDEA
2c8b4a70e8c071d580eff26a040efc22fc264045
[ "MIT" ]
6
2018-07-18T01:40:43.000Z
2021-04-11T00:38:30.000Z
tests/test_VRS_multi_output_oriented_model.py
rbotter/pyDEA
2c8b4a70e8c071d580eff26a040efc22fc264045
[ "MIT" ]
20
2018-01-23T05:50:29.000Z
2022-02-22T05:04:56.000Z
import pytest from pyDEA.core.models.multiplier_model_base import MultiplierModelBase from pyDEA.core.models.multiplier_model import MultiplierOutputOrientedModel from pyDEA.core.models.multiplier_model_decorators import MultiplierModelVRSDecorator from pyDEA.core.models.multiplier_model_decorators import MultiplierMo...
45.83908
97
0.702357
563
3,988
4.628774
0.138544
0.085955
0.139678
0.179586
0.777437
0.777437
0.729087
0.729087
0.690714
0.690714
0
0.05937
0.163741
3,988
86
98
46.372093
0.722039
0
0
0.704225
0
0
0.022818
0
0
0
0
0
0
1
0.042254
false
0
0.140845
0
0.197183
0
0
0
0
null
0
0
1
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
94c95520f01cf912914cdabf4245e201c44f81d5
75
py
Python
featuretools/computational_backends/base_backend.py
thehomebrewnerd/featuretools
c704cea13e7ed5332712b053e80de360d54f1429
[ "BSD-3-Clause" ]
3
2019-02-14T13:58:56.000Z
2021-11-08T09:23:04.000Z
featuretools/computational_backends/base_backend.py
BillyOtieno/featuretools
5a7e09edf02b463ad903c6d8c40daa86f208c0c0
[ "BSD-3-Clause" ]
1
2019-03-22T00:30:54.000Z
2019-03-22T00:30:54.000Z
featuretools/computational_backends/base_backend.py
BillyOtieno/featuretools
5a7e09edf02b463ad903c6d8c40daa86f208c0c0
[ "BSD-3-Clause" ]
1
2020-01-29T05:31:34.000Z
2020-01-29T05:31:34.000Z
from builtins import object class ComputationalBackend(object): pass
12.5
35
0.786667
8
75
7.375
0.875
0
0
0
0
0
0
0
0
0
0
0
0.173333
75
5
36
15
0.951613
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
94d62aba333b4a960fd7a05ce0e2608d548b1ea7
43
py
Python
src/footsteps/__init__.py
HastingsGreer/footsteps
2e5466c83e2b655392b67d48579a1ee66e4d9fa9
[ "MIT" ]
2
2021-05-07T20:42:36.000Z
2021-07-03T16:58:21.000Z
src/footsteps/__init__.py
HastingsGreer/footsteps
2e5466c83e2b655392b67d48579a1ee66e4d9fa9
[ "MIT" ]
8
2021-05-14T18:12:06.000Z
2022-03-16T22:04:20.000Z
src/footsteps/__init__.py
HastingsGreer/footsteps
2e5466c83e2b655392b67d48579a1ee66e4d9fa9
[ "MIT" ]
1
2022-02-15T02:02:51.000Z
2022-02-15T02:02:51.000Z
from footsteps.footsteps import output_dir
21.5
42
0.883721
6
43
6.166667
0.833333
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
94ee5ffbe96f9c29e1fa5905b36e2b3c8f3327e6
19,222
py
Python
tests/test_crypto.py
dacut/cfn-generator
1e8d2d7f94433aa73b1ffb78d586140b3498c6d6
[ "Apache-2.0" ]
1
2017-10-05T22:50:48.000Z
2017-10-05T22:50:48.000Z
tests/test_crypto.py
dacut/cfn-generator
1e8d2d7f94433aa73b1ffb78d586140b3498c6d6
[ "Apache-2.0" ]
1
2021-05-07T16:00:22.000Z
2021-05-11T10:31:40.000Z
tests/test_crypto.py
dacut/cfn-generator
1e8d2d7f94433aa73b1ffb78d586140b3498c6d6
[ "Apache-2.0" ]
1
2020-07-30T14:28:28.000Z
2020-07-30T14:28:28.000Z
#!/usr/bin/env python3.6 """ Test the Lambda handler. """ # pylint: disable=C0103,C0111,R0904 from base64 import b64decode, b64encode import boto3 from .base import CFNToolkitTestBase class TestCrypto(CFNToolkitTestBase): def test_unknown_type(self): result = self.invoke(ResourceType="Custom::Unknown") ...
37.838583
78
0.596764
1,695
19,222
6.680826
0.113864
0.115242
0.161339
0.128576
0.825592
0.80113
0.793712
0.762187
0.693571
0.621777
0
0.016403
0.273697
19,222
507
79
37.913215
0.794714
0.004266
0
0.679458
0
0
0.253149
0.033872
0
0
0
0
0.250564
1
0.074492
false
0.320542
0.006772
0
0.090293
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
0
0
1
0
0
0
0
0
6
bf6859bfa85ffebf445e2c360390b6f166abb941
72
py
Python
issues/67/test_2.py
ceball/nbval
8593e7d9de17d065036ac9a29aaa4a5caac6d5a2
[ "BSD-3-Clause" ]
385
2016-03-20T01:08:51.000Z
2022-03-21T21:48:12.000Z
issues/67/test_2.py
ceball/nbval
8593e7d9de17d065036ac9a29aaa4a5caac6d5a2
[ "BSD-3-Clause" ]
162
2016-03-22T15:56:55.000Z
2022-02-22T23:24:41.000Z
issues/67/test_2.py
ceball/nbval
8593e7d9de17d065036ac9a29aaa4a5caac6d5a2
[ "BSD-3-Clause" ]
59
2016-05-01T13:20:43.000Z
2022-03-14T20:49:54.000Z
def test_b(): raise AssertionError def test_c(): assert 1 == 2
12
24
0.625
11
72
3.909091
0.818182
0.325581
0
0
0
0
0
0
0
0
0
0.037736
0.263889
72
5
25
14.4
0.773585
0
0
0
0
0
0
0
0
0
0
0
0.5
1
0.5
true
0
0
0
0.5
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
1
0
1
1
0
0
0
0
0
0
6
449ecfb33b9dadf708bb9b98846ef636e68670e4
46
py
Python
models/__init__.py
MLI-lab/candidate_training
0493767fd0f2d57398e219f46cd7d141c4e6ff4b
[ "Apache-1.1" ]
2
2019-11-28T10:17:59.000Z
2021-07-09T16:34:09.000Z
models/__init__.py
MLI-lab/candidate_training
0493767fd0f2d57398e219f46cd7d141c4e6ff4b
[ "Apache-1.1" ]
null
null
null
models/__init__.py
MLI-lab/candidate_training
0493767fd0f2d57398e219f46cd7d141c4e6ff4b
[ "Apache-1.1" ]
1
2021-07-09T16:34:10.000Z
2021-07-09T16:34:10.000Z
from . import resnet from . import densenetBC
15.333333
24
0.782609
6
46
6
0.666667
0.555556
0
0
0
0
0
0
0
0
0
0
0.173913
46
2
25
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
781315265ddb685292fe8220ca75b3dd81f374c7
178
py
Python
Codewars/Kebabize.py
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
Codewars/Kebabize.py
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
Codewars/Kebabize.py
SelvorWhim/competitive
b9daaf21920d6f7669dc0c525e903949f4e33b62
[ "Unlicense" ]
null
null
null
def capital_to_kebab(c): return "-" + c.lower() if c.isupper() else c if c.isalpha() else "" def kebabize(s): return "".join(capital_to_kebab(c) for c in s).lstrip("-")
29.666667
71
0.634831
31
178
3.516129
0.548387
0.165138
0.256881
0.275229
0
0
0
0
0
0
0
0
0.174157
178
5
72
35.6
0.741497
0
0
0
0
0
0.011236
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
784c6e850557574bf1ad536addf03bda8c695c36
249
py
Python
lib/OTUSampleMetadataCorrelation/util/error.py
kbaseapps/OTUSampleMetadataCorrelation
3e7a9da025dea1ca10d4cf47ac06caed9d8a7330
[ "MIT" ]
null
null
null
lib/OTUSampleMetadataCorrelation/util/error.py
kbaseapps/OTUSampleMetadataCorrelation
3e7a9da025dea1ca10d4cf47ac06caed9d8a7330
[ "MIT" ]
null
null
null
lib/OTUSampleMetadataCorrelation/util/error.py
kbaseapps/OTUSampleMetadataCorrelation
3e7a9da025dea1ca10d4cf47ac06caed9d8a7330
[ "MIT" ]
null
null
null
class NonZeroReturnException(Exception): pass # for running subprocess class NoTaxonomyException(Exception): pass class NoWorkspaceReferenceException(Exception): pass class ParamsException(Exception): pass class DataException(Exception): pass
20.75
70
0.835341
23
249
9.043478
0.478261
0.3125
0.259615
0
0
0
0
0
0
0
0
0
0.100402
249
11
71
22.636364
0.928571
0.088353
0
0
0
0
0
0
0
0
0
0
0
1
0
true
1
0
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
6
786a2688ac102b6e95240078ea307d05b17850fd
88
py
Python
opres/__init__.py
Nkriskeeic/opres
744b64def64bbc8375ca55483ca55cd46c420365
[ "MIT" ]
null
null
null
opres/__init__.py
Nkriskeeic/opres
744b64def64bbc8375ca55483ca55cd46c420365
[ "MIT" ]
null
null
null
opres/__init__.py
Nkriskeeic/opres
744b64def64bbc8375ca55483ca55cd46c420365
[ "MIT" ]
null
null
null
from opres.option import Option, Some, Nothing from opres.result import Result, Ok, Err
29.333333
46
0.795455
14
88
5
0.642857
0.257143
0
0
0
0
0
0
0
0
0
0
0.136364
88
2
47
44
0.921053
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
152a13dd91b3a891fc50b6fffe7a220c03694599
27
py
Python
lib/api/steam.py
dstodev/Glass
a80e625e6f1451e58443e153fffc133e288c1b99
[ "MIT" ]
null
null
null
lib/api/steam.py
dstodev/Glass
a80e625e6f1451e58443e153fffc133e288c1b99
[ "MIT" ]
null
null
null
lib/api/steam.py
dstodev/Glass
a80e625e6f1451e58443e153fffc133e288c1b99
[ "MIT" ]
null
null
null
# TODO: Wrap Steam Web API
13.5
26
0.703704
5
27
3.8
1
0
0
0
0
0
0
0
0
0
0
0
0.222222
27
1
27
27
0.904762
0.888889
0
null
0
null
0
0
null
0
0
1
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
6
15bd99d00004bc44cd7a6cba8208f3dc70463517
6,050
py
Python
tests/vfs/gpt_file_system.py
dfjxs/dfvfs
a4154b07bb08c3c86afa2847f3224189dd80c138
[ "Apache-2.0" ]
176
2015-01-02T13:55:39.000Z
2022-03-12T11:44:37.000Z
tests/vfs/gpt_file_system.py
dfjxs/dfvfs
a4154b07bb08c3c86afa2847f3224189dd80c138
[ "Apache-2.0" ]
495
2015-01-13T06:47:06.000Z
2022-03-12T11:07:03.000Z
tests/vfs/gpt_file_system.py
dfjxs/dfvfs
a4154b07bb08c3c86afa2847f3224189dd80c138
[ "Apache-2.0" ]
62
2015-02-23T08:19:38.000Z
2022-03-18T06:01:22.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for a file system implementation using pyvsgpt.""" import unittest from dfvfs.lib import definitions from dfvfs.path import factory as path_spec_factory from dfvfs.resolver import context from dfvfs.vfs import gpt_file_system from tests import test_lib as shared...
35.174419
70
0.727603
703
6,050
5.926031
0.184922
0.117139
0.057609
0.076812
0.743399
0.743399
0.743399
0.743399
0.743399
0.729957
0
0.036588
0.182314
6,050
171
71
35.380117
0.805539
0.179008
0
0.754902
0
0
0.008155
0
0
0
0
0
0.205882
1
0.058824
false
0
0.058824
0
0.127451
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
ecaf9c582c1c4bfc91675e12217c5875f2d4f826
105
py
Python
revjo/__init__.py
wtnb75/rjo
02c9bd258dea5f24519e67decd2eb97c3f4bd9aa
[ "MIT" ]
null
null
null
revjo/__init__.py
wtnb75/rjo
02c9bd258dea5f24519e67decd2eb97c3f4bd9aa
[ "MIT" ]
1
2021-03-29T14:22:26.000Z
2021-03-30T12:44:52.000Z
revjo/__init__.py
wtnb75/rjo
02c9bd258dea5f24519e67decd2eb97c3f4bd9aa
[ "MIT" ]
null
null
null
# Code generated by dirimport - DO NOT EDIT. from .revjo import * # noqa from .version import * # noqa
26.25
44
0.695238
15
105
4.866667
0.8
0.273973
0
0
0
0
0
0
0
0
0
0
0.219048
105
3
45
35
0.890244
0.495238
0
0
1
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
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
ecb4ad426a5565e77eba79ed14713ba7f3966417
304
py
Python
whos_there/senders/__init__.py
twsl/whos-there
cd6167c74e5de20fb7fa24776cba3a74af180bb9
[ "MIT" ]
49
2021-11-04T00:26:37.000Z
2022-03-21T18:53:03.000Z
whos_there/senders/__init__.py
twsl/whos-there
cd6167c74e5de20fb7fa24776cba3a74af180bb9
[ "MIT" ]
83
2021-11-08T01:37:55.000Z
2022-03-30T01:33:49.000Z
whos_there/senders/__init__.py
twsl/whos-there
cd6167c74e5de20fb7fa24776cba3a74af180bb9
[ "MIT" ]
4
2021-11-09T21:51:45.000Z
2022-01-01T16:52:41.000Z
from whos_there.senders.debug import DebugSender from whos_there.senders.discord import DiscordSender from whos_there.senders.email import EmailSender from whos_there.senders.slack import SlackSender from whos_there.senders.teams import TeamsSender from whos_there.senders.telegram import TelegramSender
43.428571
54
0.881579
42
304
6.238095
0.404762
0.183206
0.29771
0.458015
0
0
0
0
0
0
0
0
0.078947
304
6
55
50.666667
0.935714
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
ece5dc491b7527255e6780082286cc7c5c996920
65
py
Python
DjangoSSHTunnelDatabaseConnector/__init__.py
Arnie09/DjangoSSHTunnelDatabaseConnector
0170a3e723b2225935da443cbac36fc26b98d13b
[ "MIT" ]
1
2021-09-26T15:57:10.000Z
2021-09-26T15:57:10.000Z
DjangoSSHTunnelDatabaseConnector/__init__.py
Arnie09/DjangoSSHTunnelDatabaseConnector
0170a3e723b2225935da443cbac36fc26b98d13b
[ "MIT" ]
null
null
null
DjangoSSHTunnelDatabaseConnector/__init__.py
Arnie09/DjangoSSHTunnelDatabaseConnector
0170a3e723b2225935da443cbac36fc26b98d13b
[ "MIT" ]
null
null
null
from DjangoSSHTunnelDatabaseConnector.Connector import Connector
32.5
64
0.923077
5
65
12
0.8
0
0
0
0
0
0
0
0
0
0
0
0.061538
65
1
65
65
0.983607
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
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
01ae07d78a431a394324934747e8d5f47e20cd8b
26
py
Python
hasse/__init__.py
mvcisback/hasse
eefd6f4af217a4c44bd2751df6f39bd5b7d37d6c
[ "MIT" ]
null
null
null
hasse/__init__.py
mvcisback/hasse
eefd6f4af217a4c44bd2751df6f39bd5b7d37d6c
[ "MIT" ]
null
null
null
hasse/__init__.py
mvcisback/hasse
eefd6f4af217a4c44bd2751df6f39bd5b7d37d6c
[ "MIT" ]
null
null
null
from hasse.poset import *
13
25
0.769231
4
26
5
1
0
0
0
0
0
0
0
0
0
0
0
0.153846
26
1
26
26
0.909091
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
bf1cf65a9d2b106c302a6a6d2d3e12991a5576b1
48
py
Python
technicals.py
on-victorrijks/ChessAI
06c6d2da2de0872ca77a0d0889025fc8f91a980c
[ "MIT" ]
null
null
null
technicals.py
on-victorrijks/ChessAI
06c6d2da2de0872ca77a0d0889025fc8f91a980c
[ "MIT" ]
null
null
null
technicals.py
on-victorrijks/ChessAI
06c6d2da2de0872ca77a0d0889025fc8f91a980c
[ "MIT" ]
null
null
null
def letterPosToIntPos(l): return ord(l) - 96
24
25
0.6875
7
48
4.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0.051282
0.1875
48
2
26
24
0.794872
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
1
0
0
0
1
1
0
0
6
170efb6a56e413406dba06ca4f9debf9a55cc9e1
58
py
Python
processorfield/__init__.py
syrusakbary/django-processorfield
813bad7ccad54c2d00c09f4cb142b6ce14154770
[ "BSD-3-Clause" ]
1
2017-04-02T23:11:32.000Z
2017-04-02T23:11:32.000Z
processorfield/__init__.py
syrusakbary/django-processorfield
813bad7ccad54c2d00c09f4cb142b6ce14154770
[ "BSD-3-Clause" ]
null
null
null
processorfield/__init__.py
syrusakbary/django-processorfield
813bad7ccad54c2d00c09f4cb142b6ce14154770
[ "BSD-3-Clause" ]
null
null
null
from fields import FileFieldProcessor, FileProcessorField
29
57
0.896552
5
58
10.4
1
0
0
0
0
0
0
0
0
0
0
0
0.086207
58
1
58
58
0.981132
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
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
173e7c8ab3799a26b3c4ceeed041a83da5417f6e
38
py
Python
profpy/web/__init__.py
rowanuniversity/profpy
312b76c0542caaf00d1e4ec53df8ae3ced72fd93
[ "MIT" ]
1
2019-08-02T18:39:08.000Z
2019-08-02T18:39:08.000Z
profpy/web/__init__.py
rowanuniversity/profpy
312b76c0542caaf00d1e4ec53df8ae3ced72fd93
[ "MIT" ]
null
null
null
profpy/web/__init__.py
rowanuniversity/profpy
312b76c0542caaf00d1e4ec53df8ae3ced72fd93
[ "MIT" ]
null
null
null
from .web import SecureFlaskApp
9.5
31
0.710526
4
38
6.75
1
0
0
0
0
0
0
0
0
0
0
0
0.263158
38
3
32
12.666667
0.964286
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
178f3acc4a3eb18f83d109cff53d9d98b3cd5273
6,106
py
Python
model/transforms/autoregressive/ar_splines.py
didriknielsen/argmax_flows
4ffff4bd6f7b25e20292eff6bad2bf5a962e8d39
[ "MIT" ]
34
2021-06-01T11:58:49.000Z
2022-03-15T01:59:23.000Z
model/transforms/autoregressive/ar_splines.py
didriknielsen/argmax_flows
4ffff4bd6f7b25e20292eff6bad2bf5a962e8d39
[ "MIT" ]
1
2022-03-15T01:47:00.000Z
2022-03-15T01:47:00.000Z
model/transforms/autoregressive/ar_splines.py
didriknielsen/argmax_flows
4ffff4bd6f7b25e20292eff6bad2bf5a962e8d39
[ "MIT" ]
2
2021-12-16T15:34:36.000Z
2022-03-10T10:01:57.000Z
import torch from collections.abc import Iterable from survae.utils import sum_except_batch from survae.transforms.bijections.functional import splines from .ar import AutoregressiveBijection class LinearSplineAutoregressiveBijection(AutoregressiveBijection): def __init__(self, ar_net, scheme, num_bins): ...
49.241935
155
0.630855
623
6,106
5.804173
0.093098
0.077434
0.097345
0.04646
0.823839
0.795354
0.769358
0.744469
0.744469
0.742533
0
0.006868
0.284638
6,106
123
156
49.642276
0.820971
0
0
0.666667
0
0
0
0
0
0
0
0
0.080808
1
0.161616
false
0
0.050505
0.040404
0.373737
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
bd66559780b763da2781a471214a1949c136d0a7
16,676
py
Python
components/idf_test/integration_test/TestCaseScript/TCPStress/TCPSoftAPSTASendRecv.py
Mixerito/esp-idf
20a662936483f44ee9c8d16f3251a5a1191ca6e5
[ "Apache-2.0" ]
104
2017-05-04T09:55:08.000Z
2022-03-22T11:29:05.000Z
components/idf_test/integration_test/TestCaseScript/TCPStress/TCPSoftAPSTASendRecv.py
Mixerito/esp-idf
20a662936483f44ee9c8d16f3251a5a1191ca6e5
[ "Apache-2.0" ]
28
2017-08-01T09:19:23.000Z
2017-12-26T13:41:14.000Z
components/idf_test/integration_test/TestCaseScript/TCPStress/TCPSoftAPSTASendRecv.py
Mixerito/esp-idf
20a662936483f44ee9c8d16f3251a5a1191ca6e5
[ "Apache-2.0" ]
59
2016-11-15T06:07:56.000Z
2022-02-05T17:03:32.000Z
from TCAction import TCActionBase from NativeLog import NativeLog import time import random import string TEST_COUNT_ONE_ROUND = 500 class TestCase(TCActionBase.CommonTCActionBase): def __init__(self, test_case, test_env, timeout=45, log_path=TCActionBase.LOG_PATH): TCActionBase.CommonTCActionBase.__init...
49.047059
116
0.595347
2,361
16,676
3.952562
0.082592
0.110051
0.125161
0.108444
0.813652
0.79147
0.746892
0.702958
0.681633
0.663202
0
0.025982
0.300672
16,676
339
117
49.19174
0.774224
0.038558
0
0.514815
0
0.037037
0.222993
0.021368
0
0
0
0
0
0
null
null
0.044444
0.018519
null
null
0.007407
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
1
0
0
0
0
0
0
0
0
6
bd7c18a6e5cb77a842aa2f79c12cc3ffc1c6017f
42
py
Python
model-export-demo/notebooks/test.py
catshark9/databricks-ml-examples
c392a330d19545ce7d461ab34cbceb55d03c39b9
[ "Apache-2.0" ]
null
null
null
model-export-demo/notebooks/test.py
catshark9/databricks-ml-examples
c392a330d19545ce7d461ab34cbceb55d03c39b9
[ "Apache-2.0" ]
null
null
null
model-export-demo/notebooks/test.py
catshark9/databricks-ml-examples
c392a330d19545ce7d461ab34cbceb55d03c39b9
[ "Apache-2.0" ]
null
null
null
# Databricks notebook source import pandas
21
28
0.857143
5
42
7.2
1
0
0
0
0
0
0
0
0
0
0
0
0.119048
42
2
29
21
0.972973
0.619048
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
da2f016e7a5e4cf6f797783c90ea6d7be7b7b577
878
py
Python
test/test_source_dto.py
timelight-ai/python-api-client
7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39
[ "MIT" ]
null
null
null
test/test_source_dto.py
timelight-ai/python-api-client
7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39
[ "MIT" ]
null
null
null
test/test_source_dto.py
timelight-ai/python-api-client
7e14341a89e8b7e1b4b0730416f6ddd3ef66ef39
[ "MIT" ]
null
null
null
# coding: utf-8 """ timelight This is the timelight api. # noqa: E501 OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import timelight_ai_python_api_client from timelight_ai_python_api_clie...
21.414634
92
0.70615
109
878
5.40367
0.550459
0.074703
0.11545
0.135823
0.241087
0.196944
0.139219
0.139219
0
0
0
0.017316
0.210706
878
40
93
21.95
0.832612
0.41344
0
0.214286
1
0
0.016913
0
0
0
0
0.025
0
1
0.214286
false
0.214286
0.357143
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
1
0
1
1
0
1
0
0
6
da2ff79679dff159ae51b75091a89d80f0d4bdef
33,716
py
Python
tnsnames/tnsnamesLexer.py
abone28/tnsmaster
12ab8935842e779d219d55244d91f582e90ee3d9
[ "MIT" ]
19
2015-10-30T07:27:12.000Z
2021-03-04T18:47:00.000Z
tnsnames/tnsnamesLexer.py
abone28/tnsmaster
12ab8935842e779d219d55244d91f582e90ee3d9
[ "MIT" ]
null
null
null
tnsnames/tnsnamesLexer.py
abone28/tnsmaster
12ab8935842e779d219d55244d91f582e90ee3d9
[ "MIT" ]
4
2015-10-30T07:36:41.000Z
2022-01-10T04:48:12.000Z
# Generated from tnsnames.g4 by ANTLR 4.5.1 from io import StringIO from antlr4 import * def serializedATN(): with StringIO() as buf: buf.write("\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2P") buf.write("\u034b\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7") buf.write("\t\7\4\b\...
63.97723
103
0.587851
7,161
33,716
2.751012
0.163804
0.079594
0.054061
0.058883
0.27736
0.189442
0.118629
0.110508
0.108071
0.10269
0
0.352855
0.146666
33,716
526
104
64.098859
0.331862
0.001216
0
0
1
0.707843
0.647106
0.609004
0
0
0
0
0
1
0.003922
false
0
0.003922
0
0.178431
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
da46331eed56f4bd641dc5034d5098ce7dd6d58f
159
py
Python
src/gimelstudio/interface/utils/__init__.py
jmherbst/GimelStudio
c3d6718015a25129d43efdbead1babd9eea9e2ff
[ "Apache-2.0" ]
1
2021-06-15T22:30:39.000Z
2021-06-15T22:30:39.000Z
src/gimelstudio/interface/utils/__init__.py
yasuomaidana/GimelStudio
f6d0a03ae7bf0cb640100dd0f281d6d286e16006
[ "Apache-2.0" ]
null
null
null
src/gimelstudio/interface/utils/__init__.py
yasuomaidana/GimelStudio
f6d0a03ae7bf0cb640100dd0f281d6d286e16006
[ "Apache-2.0" ]
null
null
null
from .z_matrix import ZMatrix from .draw_utils import DrawCheckerBoard from .img_utils import ConvertImageToWx from .ui_utils import ComputeMenuPosAlignedLeft
31.8
47
0.874214
20
159
6.75
0.6
0.244444
0
0
0
0
0
0
0
0
0
0
0.100629
159
4
48
39.75
0.944056
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