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
5d843b4656360cf7871b59b0507a09c648d26d05
63
py
Python
module/data/cooja4-9nodes/rpl-attacks/core/__init__.py
fedebyes/iot-netprofiler
39449146c7d2a75a8065a89441107d901c18059a
[ "MIT" ]
3
2019-03-22T10:37:34.000Z
2020-04-26T14:08:32.000Z
module/data/cooja4-9nodes/rpl-attacks/core/__init__.py
fedebyes/iot-netprofiler
39449146c7d2a75a8065a89441107d901c18059a
[ "MIT" ]
null
null
null
module/data/cooja4-9nodes/rpl-attacks/core/__init__.py
fedebyes/iot-netprofiler
39449146c7d2a75a8065a89441107d901c18059a
[ "MIT" ]
2
2020-04-17T17:41:24.000Z
2020-04-30T03:34:00.000Z
from .conf import * from .common import * from .utils import *
15.75
21
0.714286
9
63
5
0.555556
0.444444
0
0
0
0
0
0
0
0
0
0
0.190476
63
3
22
21
0.882353
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
5db4e4240855f791e3475832db805139aba909df
152
py
Python
treat/constants/__init__.py
tjlaboss/tasty_treat
5a137b49c6648eda6500025de8bab9c8dcc78d45
[ "MIT" ]
3
2019-03-04T22:52:07.000Z
2022-01-23T12:28:58.000Z
treat/constants/__init__.py
tjlaboss/tasty_treat
5a137b49c6648eda6500025de8bab9c8dcc78d45
[ "MIT" ]
3
2021-07-23T17:30:35.000Z
2021-09-17T16:25:57.000Z
treat/constants/__init__.py
tjlaboss/tasty_treat
5a137b49c6648eda6500025de8bab9c8dcc78d45
[ "MIT" ]
null
null
null
from .openmc_params import * from .common import * from . import crd from . import elements from . import excore from . import m8cal from . import rcca
19
28
0.756579
22
152
5.181818
0.454545
0.438596
0
0
0
0
0
0
0
0
0
0.008065
0.184211
152
7
29
21.714286
0.91129
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
b902db877212eb79e4e5e7e44e2d252cee8ddcd5
18,183
py
Python
test_autolens/unit/pipeline/phase/dataset/test_phase_dataset.py
PyJedi/PyAutoLens
bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7
[ "MIT" ]
null
null
null
test_autolens/unit/pipeline/phase/dataset/test_phase_dataset.py
PyJedi/PyAutoLens
bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7
[ "MIT" ]
null
null
null
test_autolens/unit/pipeline/phase/dataset/test_phase_dataset.py
PyJedi/PyAutoLens
bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7
[ "MIT" ]
null
null
null
from os import path import numpy as np import pytest from astropy import cosmology as cosmo import autolens as al from autolens import exc from test_autolens.mock import mock_pipeline pytestmark = pytest.mark.filterwarnings( "ignore:Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr...
36.366
121
0.634054
2,030
18,183
5.361084
0.104434
0.085454
0.082698
0.040154
0.851787
0.839107
0.807039
0.796104
0.780667
0.768722
0
0.031588
0.282682
18,183
499
122
36.438878
0.802806
0.035858
0
0.653944
0
0.005089
0.025626
0.001256
0
0
0
0
0.076336
1
0.02799
false
0
0.017812
0.002545
0.058524
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
f8d84ff1383925ca14dac3f8b2e0de825aa43601
96
py
Python
venv/lib/python3.8/site-packages/setuptools/command/install_scripts.py
GiulianaPola/select_repeats
17a0d053d4f874e42cf654dd142168c2ec8fbd11
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/setuptools/command/install_scripts.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/setuptools/command/install_scripts.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/a3/48/cd/fdec7bc98624f16e5c97299314e5f090530acd6f6aff377d36971ec7b3
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.40625
0
96
1
96
96
0.489583
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
f8e3315834e1c830013d9203a8b3f4f1518c986b
46
py
Python
test.py
basakanayurt/DetoxAI
7ef10e52630021aee084cf3e8da7abb088fe831c
[ "MIT" ]
null
null
null
test.py
basakanayurt/DetoxAI
7ef10e52630021aee084cf3e8da7abb088fe831c
[ "MIT" ]
null
null
null
test.py
basakanayurt/DetoxAI
7ef10e52630021aee084cf3e8da7abb088fe831c
[ "MIT" ]
null
null
null
import numpy as np import numpy.testing as npt
23
27
0.826087
9
46
4.222222
0.666667
0.578947
0
0
0
0
0
0
0
0
0
0
0.152174
46
2
27
23
0.974359
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
53dc069eb6edb5b66e2e0fea0216e7aca2ac6175
5,693
py
Python
tests/tests/test_rendering.py
dldevinc/paper-forms
6430382a2c369ef346e702d3644f23eba7bd8354
[ "BSD-3-Clause" ]
1
2021-05-12T06:50:44.000Z
2021-05-12T06:50:44.000Z
tests/tests/test_rendering.py
dldevinc/paper-forms
6430382a2c369ef346e702d3644f23eba7bd8354
[ "BSD-3-Clause" ]
null
null
null
tests/tests/test_rendering.py
dldevinc/paper-forms
6430382a2c369ef346e702d3644f23eba7bd8354
[ "BSD-3-Clause" ]
null
null
null
import re import django import pytest from django import forms from django.template import engines class SimpleForm(forms.Form): use_required_attribute = False name = forms.CharField() age = forms.IntegerField( min_value=18 ) birth = forms.DateField() email = forms.EmailField() p...
31.804469
94
0.519937
555
5,693
5.205405
0.154955
0.062305
0.053998
0.077535
0.841122
0.825199
0.825199
0.806854
0.795085
0.795085
0
0.001827
0.327068
5,693
178
95
31.983146
0.752284
0.024065
0
0.651316
0
0.026316
0.342518
0.046461
0
0
0
0
0.039474
1
0.046053
false
0
0.032895
0
0.157895
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
9909f7b012809eebdbc76fc8d987cfb6eb2f0086
1,600
py
Python
wrapperlistener.py
markkudegerholmknowit/reptileframework
925c924fc94dd1df89b2afde511d2bc6a99250d0
[ "Apache-2.0" ]
null
null
null
wrapperlistener.py
markkudegerholmknowit/reptileframework
925c924fc94dd1df89b2afde511d2bc6a99250d0
[ "Apache-2.0" ]
null
null
null
wrapperlistener.py
markkudegerholmknowit/reptileframework
925c924fc94dd1df89b2afde511d2bc6a99250d0
[ "Apache-2.0" ]
null
null
null
# utf-8 def to_obj(attrs): class X: pass x = X() x.__dict__.update(attrs) return x class WrapperListener: def __init__(self, wrapped): self._wrapped = wrapped self._suiteCount = 0 def start_suite(self, name, attrs): self._suiteCount += 1 try: ...
22.857143
54
0.53125
193
1,600
4.19171
0.181347
0.108776
0.086527
0.118665
0.828183
0.828183
0.828183
0.828183
0.828183
0.828183
0
0.004049
0.3825
1,600
69
55
23.188406
0.814777
0.003125
0
0.571429
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.017857
0
0
0.267857
0.107143
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
54cc7e3d3866fca66b32182e68bd3584ae4a08a4
251
py
Python
tests/__init__.py
nxexox/flask-rest-framework
ae95d17c3ce8ac47a875294670221cfaa2dd6e7f
[ "Apache-2.0" ]
4
2019-08-15T14:01:55.000Z
2022-01-26T13:41:02.000Z
tests/__init__.py
nxexox/flask-rest-framework
ae95d17c3ce8ac47a875294670221cfaa2dd6e7f
[ "Apache-2.0" ]
8
2019-07-17T07:50:54.000Z
2020-07-29T08:06:08.000Z
tests/__init__.py
nxexox/flask-rest-framework
ae95d17c3ce8ac47a875294670221cfaa2dd6e7f
[ "Apache-2.0" ]
null
null
null
import unittest from .test_fields import * from .test_serializers import * from .test_validators import * from .test_views import * from .test_views_mixin import * from .test_views_pagination import * if __name__ == '__main__': unittest.main()
19.307692
36
0.768924
33
251
5.363636
0.393939
0.271186
0.39548
0.322034
0
0
0
0
0
0
0
0
0.151394
251
12
37
20.916667
0.830986
0
0
0
0
0
0.031873
0
0
0
0
0
0
1
0
true
0
0.777778
0
0.777778
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
072a13a0b981c7e0b1bae5415b1bc8c4361d8663
102
py
Python
8_kyu/Geometry_Basics_Circle_Area_in_2D.py
UlrichBerntien/Codewars-Katas
bbd025e67aa352d313564d3862db19fffa39f552
[ "MIT" ]
null
null
null
8_kyu/Geometry_Basics_Circle_Area_in_2D.py
UlrichBerntien/Codewars-Katas
bbd025e67aa352d313564d3862db19fffa39f552
[ "MIT" ]
null
null
null
8_kyu/Geometry_Basics_Circle_Area_in_2D.py
UlrichBerntien/Codewars-Katas
bbd025e67aa352d313564d3862db19fffa39f552
[ "MIT" ]
null
null
null
import math def circle_area(circle: Circle) -> float: return math.pi * float(circle.radius) ** 2
20.4
46
0.696078
15
102
4.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.011905
0.176471
102
4
47
25.5
0.821429
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
073419eae889146900315db9eb3c67be1d43e02e
177
py
Python
venv/Lib/site-packages/engineering_notation/__init__.py
Khufos/Rataria-2.0
172539e3e421e14990554f8d1411cc587196f123
[ "MIT" ]
34
2017-06-02T22:54:41.000Z
2022-01-27T21:50:57.000Z
GUI/env/Lib/site-packages/engineering_notation/__init__.py
ExtremelySunnyYK/SOARRoboticsChallengeTeam6
b910d852525ee60afbfba6860e61f93aeab2adec
[ "MIT" ]
14
2017-05-30T17:09:00.000Z
2022-01-04T19:06:53.000Z
GUI/env/Lib/site-packages/engineering_notation/__init__.py
ExtremelySunnyYK/SOARRoboticsChallengeTeam6
b910d852525ee60afbfba6860e61f93aeab2adec
[ "MIT" ]
8
2017-10-28T18:11:19.000Z
2022-01-27T21:50:36.000Z
from engineering_notation.engineering_notation import EngNumber, EngUnit from engineering_notation.version import __version__ __all__ = ['EngNumber', 'EngUnit', '__version__']
35.4
72
0.836158
18
177
7.388889
0.444444
0.428571
0.345865
0
0
0
0
0
0
0
0
0
0.084746
177
4
73
44.25
0.820988
0
0
0
0
0
0.152542
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
075189056df62766383c7f08ec91ced024dcb631
874
py
Python
python/reddit/human_readable_filesize.py
bandarji/lekhan
211127a764f94189f0992fe2634c036258b3dc7b
[ "Apache-2.0" ]
null
null
null
python/reddit/human_readable_filesize.py
bandarji/lekhan
211127a764f94189f0992fe2634c036258b3dc7b
[ "Apache-2.0" ]
null
null
null
python/reddit/human_readable_filesize.py
bandarji/lekhan
211127a764f94189f0992fe2634c036258b3dc7b
[ "Apache-2.0" ]
null
null
null
def formatted_filesize(size): original_size = size units = ['bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB'] highest_unit = units[-1] for i, unit in enumerate(units): if size < 1024: msg = '{} {}'.format(size, unit) break else: if unit == highest_uni...
28.193548
63
0.52746
105
874
4.333333
0.4
0.351648
0.29011
0.246154
0.136264
0.136264
0.136264
0.136264
0.136264
0.136264
0
0.375862
0.336384
874
30
64
29.133333
0.408621
0
0
0.068966
0
0
0.036613
0
0
0
0
0
0
0
null
null
0
0
null
null
0.034483
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
6
db4be31198e3a91c09cbfd302b8460657e66b093
40
py
Python
tests/strategies/__init__.py
lycantropos/ethereum_helpers
8b7375d18398c94f97628903f562d7d6c354c418
[ "MIT" ]
null
null
null
tests/strategies/__init__.py
lycantropos/ethereum_helpers
8b7375d18398c94f97628903f562d7d6c354c418
[ "MIT" ]
null
null
null
tests/strategies/__init__.py
lycantropos/ethereum_helpers
8b7375d18398c94f97628903f562d7d6c354c418
[ "MIT" ]
null
null
null
from .messages import messages_strategy
20
39
0.875
5
40
6.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.1
40
1
40
40
0.944444
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
db91125ce1f2ecda00c357127a89a4106996acf0
220
py
Python
carona.py
doravante/bot-carona-tg
e4c7b003d301b5efff1b99f43be352048c1bbde2
[ "MIT" ]
null
null
null
carona.py
doravante/bot-carona-tg
e4c7b003d301b5efff1b99f43be352048c1bbde2
[ "MIT" ]
null
null
null
carona.py
doravante/bot-carona-tg
e4c7b003d301b5efff1b99f43be352048c1bbde2
[ "MIT" ]
null
null
null
class Carona(object): def __init__(self, pessoa, horario): self.pessoa = pessoa self.horario = horario def __str__(self): return "Carona " + self.pessoa + " as " + str(self.horario)
24.444444
67
0.595455
25
220
4.92
0.44
0.243902
0
0
0
0
0
0
0
0
0
0
0.286364
220
8
68
27.5
0.783439
0
0
0
0
0
0.05
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
91572cbaa12ed8bb670f6dc883a8370032e249a3
27
py
Python
graalpython/com.oracle.graal.python.test/testData/testFiles/BasicTests/moduleDoc03.py
transposit/graalpython
adadf5f211cc67a14bb3aca7c61219513d036b13
[ "UPL-1.0", "Apache-2.0", "OpenSSL" ]
1
2019-05-28T13:04:32.000Z
2019-05-28T13:04:32.000Z
graalpython/com.oracle.graal.python.test/testData/testFiles/BasicTests/moduleDoc03.py
transposit/graalpython
adadf5f211cc67a14bb3aca7c61219513d036b13
[ "UPL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
graalpython/com.oracle.graal.python.test/testData/testFiles/BasicTests/moduleDoc03.py
transposit/graalpython
adadf5f211cc67a14bb3aca7c61219513d036b13
[ "UPL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
"This is module doc"
3.375
20
0.555556
4
27
3.75
1
0
0
0
0
0
0
0
0
0
0
0
0.37037
27
7
21
3.857143
0.882353
0.666667
0
0
0
0
0.857143
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
91865265b70eeee7bab5309e56ac216f21e095bf
3,791
py
Python
tests/sentry/api/serializers/test_pull_request.py
ygnoh/sentry
e34653cac10b63e3c5c732a5c52eaa5bf3484d5b
[ "BSD-3-Clause" ]
null
null
null
tests/sentry/api/serializers/test_pull_request.py
ygnoh/sentry
e34653cac10b63e3c5c732a5c52eaa5bf3484d5b
[ "BSD-3-Clause" ]
null
null
null
tests/sentry/api/serializers/test_pull_request.py
ygnoh/sentry
e34653cac10b63e3c5c732a5c52eaa5bf3484d5b
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import from uuid import uuid4 from sentry.api.serializers import serialize from sentry.integrations.github.repository import GitHubRepositoryProvider from sentry.models import (PullRequest, CommitAuthor, Release, Repository) from sentry.plugins import bindings ...
33.548673
80
0.603007
368
3,791
6.065217
0.201087
0.137993
0.103495
0.162634
0.721774
0.705645
0.705645
0.705645
0.705645
0.705645
0
0.002962
0.287523
3,791
112
81
33.848214
0.823399
0.015299
0
0.645833
0
0
0.112601
0.008311
0
0
0
0
0.104167
1
0.03125
false
0
0.072917
0
0.114583
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
91c571fb1d276f40039cb036d77cef75c881762e
32
py
Python
convokit/questionTypology/__init__.py
lucasvanbramer/Cornell-Conversational-Analysis-Toolkit
e5194f8518bc086ad15048d66f663cc7c1d68dff
[ "MIT" ]
1
2021-12-24T13:56:20.000Z
2021-12-24T13:56:20.000Z
convokit/questionTypology/__init__.py
lucasvanbramer/Cornell-Conversational-Analysis-Toolkit
e5194f8518bc086ad15048d66f663cc7c1d68dff
[ "MIT" ]
null
null
null
convokit/questionTypology/__init__.py
lucasvanbramer/Cornell-Conversational-Analysis-Toolkit
e5194f8518bc086ad15048d66f663cc7c1d68dff
[ "MIT" ]
1
2020-01-17T17:27:16.000Z
2020-01-17T17:27:16.000Z
from .questionTypology import *
16
31
0.8125
3
32
8.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.125
32
1
32
32
0.928571
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
91ce96bca43fc4879003a870f7ec1aa4fbd62db4
11,517
py
Python
rmgpy/qm/mopacTest.py
kblondal/RMG-Py
ee14e35321c1dc3cd1900c6d2ebb27931d1bb542
[ "MIT" ]
1
2020-03-17T13:16:51.000Z
2020-03-17T13:16:51.000Z
rmgpy/qm/mopacTest.py
kblondal/RMG-Py
ee14e35321c1dc3cd1900c6d2ebb27931d1bb542
[ "MIT" ]
null
null
null
rmgpy/qm/mopacTest.py
kblondal/RMG-Py
ee14e35321c1dc3cd1900c6d2ebb27931d1bb542
[ "MIT" ]
1
2018-10-03T19:36:40.000Z
2018-10-03T19:36:40.000Z
#!/usr/bin/env python3 ############################################################################### # # # RMG - Reaction Mechanism Generator # # ...
45.164706
114
0.622037
1,335
11,517
5.286891
0.204494
0.059507
0.040805
0.052706
0.775432
0.766081
0.764664
0.764664
0.764664
0.756163
0
0.037999
0.264218
11,517
254
115
45.34252
0.794902
0.277937
0
0.709924
0
0
0.107337
0
0
0
0
0
0.29771
1
0.068702
false
0
0.068702
0
0.160305
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
91d6e3bd999412202f2517d287e79102d06cfce3
995
py
Python
DLCoursera_part2_assignment1.py
zhouhan921001/DeepLearning-homework
20562dc49ca5898b531a678c0e54c8d985fcc72f
[ "MIT" ]
null
null
null
DLCoursera_part2_assignment1.py
zhouhan921001/DeepLearning-homework
20562dc49ca5898b531a678c0e54c8d985fcc72f
[ "MIT" ]
null
null
null
DLCoursera_part2_assignment1.py
zhouhan921001/DeepLearning-homework
20562dc49ca5898b531a678c0e54c8d985fcc72f
[ "MIT" ]
null
null
null
################################################### # This .py file about the method of initialization # 1) zeros initialization # 2) random initialization # 3) He initialization ################################################### import numpy as np def zeros_initialization(layers_dims): L = len(layers_dims) para...
25.512821
102
0.61608
156
995
3.807692
0.217949
0.26936
0.240741
0.141414
0.720539
0.720539
0.720539
0.720539
0.693603
0.693603
0
0.018476
0.129648
995
38
103
26.184211
0.667436
0.119598
0
0.636364
0
0
0.007802
0
0
0
0
0
0
1
0.136364
false
0
0.045455
0
0.318182
0
0
0
0
null
1
1
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
91ee304905fac2893c4e1343edf9bb5a5f721ec5
116
py
Python
tests/test_main.py
Peilonrayz/skeleton_py
673d3ae7c16dc1ceed11c72ab64dca4105c0f04f
[ "MIT" ]
null
null
null
tests/test_main.py
Peilonrayz/skeleton_py
673d3ae7c16dc1ceed11c72ab64dca4105c0f04f
[ "MIT" ]
null
null
null
tests/test_main.py
Peilonrayz/skeleton_py
673d3ae7c16dc1ceed11c72ab64dca4105c0f04f
[ "MIT" ]
null
null
null
from skeleton_py.__main__ import main def test_main(): # type: () -> None assert main() == "Hello World!"
16.571429
37
0.62931
15
116
4.466667
0.8
0
0
0
0
0
0
0
0
0
0
0
0.224138
116
6
38
19.333333
0.744444
0.137931
0
0
0
0
0.122449
0
0
0
0
0
0.333333
1
0.333333
true
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
535bd09b4fd4fab7347bffec0d1fdbcf88728a20
875
py
Python
django/contrib/auth/tests/__init__.py
egenerat/gae-django
f12379483cf3917ed3cb46ca5ff0b94daf89fc50
[ "MIT" ]
3
2016-07-08T23:49:32.000Z
2018-04-15T22:55:01.000Z
django/contrib/auth/tests/__init__.py
egenerat/gae-django
f12379483cf3917ed3cb46ca5ff0b94daf89fc50
[ "MIT" ]
27
2017-02-05T15:57:04.000Z
2018-04-15T22:57:26.000Z
django/contrib/auth/tests/__init__.py
egenerat/gae-django
f12379483cf3917ed3cb46ca5ff0b94daf89fc50
[ "MIT" ]
null
null
null
from django.contrib.auth.tests.auth_backends import BackendTest, RowlevelBackendTest, AnonymousUserBackendTest, NoAnonymousUserBackendTest from django.contrib.auth.tests.basic import BasicTestCase from django.contrib.auth.tests.decorators import LoginRequiredTestCase from django.contrib.auth.tests.forms import UserC...
67.307692
177
0.844571
88
875
8.375
0.488636
0.108548
0.184532
0.227951
0.282225
0
0
0
0
0
0
0
0.098286
875
12
178
72.916667
0.934094
0.060571
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.8
0
0.8
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
72663dd22a2d44f131dfe8477d16034956397b67
1,169
py
Python
level-3/doomsday-fuel/test_doomsday_fuel.py
mike-stephens/foobar-with-google
4a923186184a0b7b50d8025f420c03d7b8d8eb32
[ "MIT" ]
null
null
null
level-3/doomsday-fuel/test_doomsday_fuel.py
mike-stephens/foobar-with-google
4a923186184a0b7b50d8025f420c03d7b8d8eb32
[ "MIT" ]
null
null
null
level-3/doomsday-fuel/test_doomsday_fuel.py
mike-stephens/foobar-with-google
4a923186184a0b7b50d8025f420c03d7b8d8eb32
[ "MIT" ]
null
null
null
import solution_doomsday_fuel import unittest class TestDoomsdayFuel(unittest.TestCase): def test_1(self): solution_input = [ [0, 1, 0, 0, 0], [0, 0, 0, 3, 4], [0, 1, 0, 0, 0], [0, 1, 0, 0, 0], [0, 0, 0, 0, 0] ] expected = [1, 1]...
27.186047
64
0.444825
161
1,169
3.124224
0.161491
0.238569
0.310139
0.357853
0.751491
0.751491
0.741551
0.741551
0.624254
0.592445
0
0.146132
0.402908
1,169
42
65
27.833333
0.574499
0
0
0.567568
0
0
0
0
0
0
0
0
0.081081
1
0.081081
false
0
0.054054
0
0.162162
0
0
0
0
null
1
1
1
0
1
1
1
0
0
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
726fefec8a168e4d72071423aef937b08cf63423
11,221
py
Python
rss_temple/api/tests/views/test_feed.py
murrple-1/rss_temple
289197923b1e7d1213f1673d164337df17d7269b
[ "MIT" ]
null
null
null
rss_temple/api/tests/views/test_feed.py
murrple-1/rss_temple
289197923b1e7d1213f1673d164337df17d7269b
[ "MIT" ]
8
2019-12-04T21:58:35.000Z
2021-12-15T02:29:49.000Z
rss_temple/api/tests/views/test_feed.py
murrple-1/rss_temple
289197923b1e7d1213f1673d164337df17d7269b
[ "MIT" ]
null
null
null
import datetime import logging import time from multiprocessing import Process from django.test import TestCase, Client import ujson from api import models, fields from api.tests.http_server import http_server_target class FeedTestCase(TestCase): @classmethod def setUpClass(cls): super().setUpClass...
40.655797
128
0.647536
1,333
11,221
5.218305
0.096024
0.062105
0.069005
0.086256
0.826337
0.782634
0.771995
0.73893
0.730592
0.714779
0
0.030987
0.237858
11,221
275
129
40.803636
0.78239
0
0
0.63964
0
0.045045
0.177435
0.004456
0
0
0
0
0.117117
1
0.085586
false
0
0.036036
0
0.126126
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
728cd0f4108c06bab33f817e3195f3593851832c
36
py
Python
server/databbase/__init__.py
grggxxy/my-code
c094996bcbd783679bc4c1e5c2ce72da1f6f2c94
[ "MIT" ]
null
null
null
server/databbase/__init__.py
grggxxy/my-code
c094996bcbd783679bc4c1e5c2ce72da1f6f2c94
[ "MIT" ]
null
null
null
server/databbase/__init__.py
grggxxy/my-code
c094996bcbd783679bc4c1e5c2ce72da1f6f2c94
[ "MIT" ]
null
null
null
from databbase.sqlite import Sqlite
18
35
0.861111
5
36
6.2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.111111
36
1
36
36
0.96875
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
72b7ee56d8172d47be187263c68cc10646476cfa
88
py
Python
tools/manifest/__init__.py
shs96c/web-platform-tests
61acad6dd9bb99d32340eb41f5146de64f542359
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
tools/manifest/__init__.py
shs96c/web-platform-tests
61acad6dd9bb99d32340eb41f5146de64f542359
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
tools/manifest/__init__.py
shs96c/web-platform-tests
61acad6dd9bb99d32340eb41f5146de64f542359
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
from . import item from . import manifest from . import sourcefile from . import update
17.6
24
0.772727
12
88
5.666667
0.5
0.588235
0
0
0
0
0
0
0
0
0
0
0.181818
88
4
25
22
0.944444
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
f420bd3c88542e5b503998b73c57190cf587f978
1,444
py
Python
pandas_alchemy/ops_mixin.py
JunyuanChen/pandas-alchemy
64ecd811a0eaab08d25ca465fb11eeb8d5a60a41
[ "MIT" ]
1
2021-07-07T18:50:44.000Z
2021-07-07T18:50:44.000Z
pandas_alchemy/ops_mixin.py
JunyuanChen/pandas-alchemy
64ecd811a0eaab08d25ca465fb11eeb8d5a60a41
[ "MIT" ]
null
null
null
pandas_alchemy/ops_mixin.py
JunyuanChen/pandas-alchemy
64ecd811a0eaab08d25ca465fb11eeb8d5a60a41
[ "MIT" ]
null
null
null
class OpsMixin: def __add__(self, other): return self.add(other) def __radd__(self, other): return self.radd(other) def __sub__(self, other): return self.sub(other) def __rsub__(self, other): return self.rsub(other) def __mul__(self, other): return self.mu...
20.628571
36
0.610803
180
1,444
4.388889
0.161111
0.250633
0.417722
0.529114
0
0
0
0
0
0
0
0
0.278393
1,444
69
37
20.927536
0.758157
0
0
0
0
0
0.00554
0
0
0
0
0
0
1
0.478261
false
0
0
0.478261
0.978261
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
be3e3354fe9e387b2f4988e1d3bdfd54f8b807cd
33,394
py
Python
mimic/model/rackspace_images.py
derwolfe/mimic
97bbdfbdba1fe79bc153479df648478443509d04
[ "Apache-2.0" ]
null
null
null
mimic/model/rackspace_images.py
derwolfe/mimic
97bbdfbdba1fe79bc153479df648478443509d04
[ "Apache-2.0" ]
null
null
null
mimic/model/rackspace_images.py
derwolfe/mimic
97bbdfbdba1fe79bc153479df648478443509d04
[ "Apache-2.0" ]
null
null
null
""" Model objects for mimic images. """ from __future__ import absolute_import, division, unicode_literals from characteristic import attributes, Attribute import uuid import random def new_random_image_id(): """ Create a unique id for an image """ return str(uuid.uuid4()) def random_image_size():...
38.695249
105
0.507546
3,347
33,394
4.817448
0.082163
0.072315
0.026792
0.040189
0.802592
0.786529
0.767676
0.759613
0.723766
0.685314
0
0.027037
0.364257
33,394
862
106
38.740139
0.732454
0.152093
0
0.676525
0
0
0.294238
0.061419
0
0
0
0.00116
0
1
0.066543
false
0
0.007394
0
0.221811
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
be41dd0c1ffd0982e99f494ae4d3e85aa5443c1d
143
py
Python
tensorkit/examples/utils/__init__.py
haowen-xu/tensork
092ba74ca574382a7eff45787f8eb437efcc6e13
[ "MIT" ]
null
null
null
tensorkit/examples/utils/__init__.py
haowen-xu/tensork
092ba74ca574382a7eff45787f8eb437efcc6e13
[ "MIT" ]
null
null
null
tensorkit/examples/utils/__init__.py
haowen-xu/tensork
092ba74ca574382a7eff45787f8eb437efcc6e13
[ "MIT" ]
2
2020-10-15T06:41:32.000Z
2021-01-27T12:55:11.000Z
from .evaluation import * from .fit_model_ import * from .ops import * from .misc import * from .prepare_data import * from .samplers import *
20.428571
27
0.748252
20
143
5.2
0.5
0.480769
0
0
0
0
0
0
0
0
0
0
0.167832
143
6
28
23.833333
0.87395
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
fe26bd1cae5ec019b431605ef50ac8206824eef0
11,439
py
Python
pysap/extensions/formating.py
SylvainLan/pysap
38c0d43f61adb952c3768d33f1ca41c5769fef2b
[ "CECILL-B" ]
null
null
null
pysap/extensions/formating.py
SylvainLan/pysap
38c0d43f61adb952c3768d33f1ca41c5769fef2b
[ "CECILL-B" ]
null
null
null
pysap/extensions/formating.py
SylvainLan/pysap
38c0d43f61adb952c3768d33f1ca41c5769fef2b
[ "CECILL-B" ]
null
null
null
# -*- coding: utf-8 -*- ########################################################################## # pySAP - Copyright (C) CEA, 2017 - 2018 # Distributed under the terms of the CeCILL-B license, as published by # the CEA-CNRS-INRIA. Refer to the LICENSE file or to # http://www.cecill.info/licences/Licence_CeCILL-B_V1-e...
26.789227
79
0.576799
1,564
11,439
4.078645
0.102941
0.019596
0.037623
0.035115
0.810472
0.7752
0.750745
0.73742
0.73742
0.73742
0
0.011952
0.290497
11,439
426
80
26.852113
0.774027
0.425474
0
0.520231
0
0
0
0
0
0
0
0
0
1
0.150289
false
0
0.00578
0
0.260116
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
fe4f35f178323b5b117814997556410a5ae9c4e1
139
py
Python
shrink_bench.py
kyhoolee/shrinkbench
3226fcb9b992fa90a1af7584bf046051b0cc9664
[ "MIT" ]
null
null
null
shrink_bench.py
kyhoolee/shrinkbench
3226fcb9b992fa90a1af7584bf046051b0cc9664
[ "MIT" ]
null
null
null
shrink_bench.py
kyhoolee/shrinkbench
3226fcb9b992fa90a1af7584bf046051b0cc9664
[ "MIT" ]
null
null
null
import sys sys.path.insert(0, '/home/kylee/work/projects/7_model_compress/2_shrinkbench/') from experiment import prune #PruningExperiment
27.8
79
0.827338
20
139
5.6
0.9
0
0
0
0
0
0
0
0
0
0
0.023077
0.064748
139
5
80
27.8
0.838462
0.122302
0
0
0
0
0.467213
0.467213
0
0
0
0
0
1
0
true
0
0.666667
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
1
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
fe555da06a5c0a4e2b0d070796fb9fdf488eface
21,591
py
Python
cmdb/resources/cmdb.py
zhxiaohe/starwars_api
f1b729e819eb19e5eb59630bed56b13127eb1ef2
[ "MIT" ]
null
null
null
cmdb/resources/cmdb.py
zhxiaohe/starwars_api
f1b729e819eb19e5eb59630bed56b13127eb1ef2
[ "MIT" ]
null
null
null
cmdb/resources/cmdb.py
zhxiaohe/starwars_api
f1b729e819eb19e5eb59630bed56b13127eb1ef2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from flask import jsonify, request, abort from flask.ext.restful import Resource, marshal_with,reqparse,marshal from models import db, IDC, vCenter, Asset, Esxi_Server,Vmware,Esxi_Vmware from common.util import dbadd, my_response, abort_if_id_doesnt_exist, dbupdate, dbdel, check_perms, login_re...
40.892045
123
0.594461
2,475
21,591
4.95596
0.069091
0.0812
0.08438
0.103783
0.850889
0.834502
0.82211
0.810533
0.794554
0.781265
0
0.002517
0.282247
21,591
527
124
40.969639
0.788991
0.045297
0
0.631268
0
0
0.134263
0
0
0
0
0
0
1
0.082596
false
0.00295
0.017699
0
0.224189
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
fe5c58d14bb7c93e39af5a29031ae3648e56cc34
49,489
py
Python
src/common/loaders/images.py
lavoiems/NeuralWassersteinFlow
b120778d75fc7afc9b6a56724768ab39ad7c0b91
[ "MIT" ]
null
null
null
src/common/loaders/images.py
lavoiems/NeuralWassersteinFlow
b120778d75fc7afc9b6a56724768ab39ad7c0b91
[ "MIT" ]
null
null
null
src/common/loaders/images.py
lavoiems/NeuralWassersteinFlow
b120778d75fc7afc9b6a56724768ab39ad7c0b91
[ "MIT" ]
null
null
null
import math import gzip import random import codecs import torch.utils.data as data from PIL import Image import errno import os import os.path import numpy as np from torchvision.datasets.utils import download_url, makedir_exist_ok from torch.utils.model_zoo import tqdm import torch from torchvision import datasets, t...
38.393328
117
0.611146
6,288
49,489
4.642335
0.072678
0.040697
0.03597
0.023432
0.827104
0.810353
0.797643
0.78466
0.764277
0.750711
0
0.02077
0.267433
49,489
1,288
118
38.423137
0.78441
0.128493
0
0.694224
0
0.012458
0.065911
0.006476
0.006795
0
0
0
0.005663
1
0.096263
false
0.001133
0.024915
0.030578
0.245753
0.010193
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
fe90b97c1b19cdf49f402aed941bf64fb8f70084
408
py
Python
tsocgp/validation/__init__.py
Shalmezad/tsocgp
727adc5960dea4e54081f68a03add60f91ab3724
[ "MIT" ]
1
2018-09-03T17:38:42.000Z
2018-09-03T17:38:42.000Z
tsocgp/validation/__init__.py
Shalmezad/tsocgp
727adc5960dea4e54081f68a03add60f91ab3724
[ "MIT" ]
null
null
null
tsocgp/validation/__init__.py
Shalmezad/tsocgp
727adc5960dea4e54081f68a03add60f91ab3724
[ "MIT" ]
null
null
null
from .validator import Validator from .each_train_is_scheduled_validator import EachTrainIsScheduledValidator from .problem_instance_hash_present_validator import ProblemInstanceHashPresentValidator from .time_windows_for_earliest_requirements_validator import TimeWindowsForEarliestRequirementsValidator from .pass_thro...
81.6
105
0.941176
38
408
9.631579
0.631579
0.204918
0.147541
0
0
0
0
0
0
0
0
0
0.046569
408
5
106
81.6
0.940874
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
1
0
1
0
0
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
1
1
0
1
0
0
6
22e70ed88fa16eb401203b48b3f9e17c88b7c6f5
12,047
py
Python
test/test_md032.py
jackdewinter/pymarkdown
7ae408ba0b24506fa07552ffe520750bbff38c53
[ "MIT" ]
20
2021-01-14T17:39:09.000Z
2022-03-14T08:35:22.000Z
test/test_md032.py
jackdewinter/pymarkdown
7ae408ba0b24506fa07552ffe520750bbff38c53
[ "MIT" ]
304
2020-08-15T23:24:00.000Z
2022-03-31T23:34:03.000Z
test/test_md032.py
jackdewinter/pymarkdown
7ae408ba0b24506fa07552ffe520750bbff38c53
[ "MIT" ]
3
2021-08-11T10:26:26.000Z
2021-11-02T20:41:27.000Z
""" Module to provide tests related to the MD032 rule. """ from test.markdown_scanner import MarkdownScanner import pytest @pytest.mark.rules def test_md032_good_list_surrounded(): """ Test to make sure this rule does not trigger with a document that contains lists surrounded by blank lines. """ ...
26.890625
87
0.688885
1,508
12,047
5.222149
0.070292
0.064762
0.068571
0.082286
0.950476
0.948444
0.948444
0.924317
0.89727
0.894476
0
0.02507
0.228522
12,047
447
88
26.950783
0.822251
0.190919
0
0.666667
0
0
0.262178
0.190917
0
0
0
0
0.060976
1
0.060976
false
0
0.00813
0
0.069106
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
22f0be8a020617a92f53178e6cc6198b935c64bb
31
py
Python
lib/FluentDB/core/__init__.py
olavoasantos/FluentDB
ab645d2c4e3c73971ca259e89feaa2b967b22e8e
[ "MIT" ]
2
2016-12-12T21:45:12.000Z
2016-12-19T23:53:43.000Z
lib/FluentDB/core/__init__.py
olavoasantos/FluentDB
ab645d2c4e3c73971ca259e89feaa2b967b22e8e
[ "MIT" ]
null
null
null
lib/FluentDB/core/__init__.py
olavoasantos/FluentDB
ab645d2c4e3c73971ca259e89feaa2b967b22e8e
[ "MIT" ]
null
null
null
from .FluentDB import FluentDB
15.5
30
0.83871
4
31
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.129032
31
1
31
31
0.962963
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
22f3a622c3f832859909be465b083494619297cf
165
py
Python
papagias_pkg_2/papagias_biostatistcs.py
chpalyvos/papagias
cf321482bfa6fa5ae858c4f631e6a803836bb46f
[ "MIT" ]
null
null
null
papagias_pkg_2/papagias_biostatistcs.py
chpalyvos/papagias
cf321482bfa6fa5ae858c4f631e6a803836bb46f
[ "MIT" ]
null
null
null
papagias_pkg_2/papagias_biostatistcs.py
chpalyvos/papagias
cf321482bfa6fa5ae858c4f631e6a803836bb46f
[ "MIT" ]
null
null
null
def print_biostatics_message(): print("My name is Papagias23 and I am a Biostatistics Engineer.") print("Come with us please, and we will have some fun ;)")
41.25
69
0.721212
26
165
4.5
0.884615
0
0
0
0
0
0
0
0
0
0
0.014925
0.187879
165
3
70
55
0.858209
0
0
0
0
0
0.636364
0
0
0
0
0
0
1
0.333333
true
0
0
0
0.333333
1
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
1
0
null
0
0
0
0
0
1
1
0
0
0
0
1
0
6
a3eefc8b631abc0239361376956e747be25b00d7
113
py
Python
pyneat/__init__.py
YuiYukihira/Pyneat
6a1778a66c3dad5041ba5f3903355a6991c34a48
[ "MIT" ]
3
2019-04-21T08:39:59.000Z
2020-12-22T05:59:14.000Z
pyneat/__init__.py
YuiYukihira/Pyneat
6a1778a66c3dad5041ba5f3903355a6991c34a48
[ "MIT" ]
null
null
null
pyneat/__init__.py
YuiYukihira/Pyneat
6a1778a66c3dad5041ba5f3903355a6991c34a48
[ "MIT" ]
1
2020-03-09T12:05:03.000Z
2020-03-09T12:05:03.000Z
from .core import NeatController as Controller from .core import Genotype, ConnGene, NodeGene, Graph, NeatGraph
28.25
64
0.814159
14
113
6.571429
0.785714
0.173913
0.304348
0
0
0
0
0
0
0
0
0
0.132743
113
3
65
37.666667
0.938776
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
430b3d202a793d576cc52c172e435f06325416cd
3,344
py
Python
2020/day19/code.py
Fadi88/AoC
8b24f2f2cc7b4e1c63758e81e63d8670a261cc7c
[ "Unlicense" ]
12
2019-12-15T21:53:19.000Z
2021-12-24T17:03:41.000Z
2020/day19/code.py
Fadi88/adventofcode19
dd2456bdd163beb02dbfe9dcea2b021061c7671e
[ "Unlicense" ]
1
2021-12-15T20:40:51.000Z
2021-12-15T22:19:48.000Z
2020/day19/code.py
Fadi88/adventofcode19
dd2456bdd163beb02dbfe9dcea2b021061c7671e
[ "Unlicense" ]
5
2020-12-11T06:00:24.000Z
2021-12-20T21:37:46.000Z
import time,os import re def profiler(method): def wrapper_method(*arg, **kw): t = time.time() ret = method(*arg, **kw) print('Method ' + method.__name__ +' took : ' + "{:2.5f}".format(time.time()-t) + ' sec') return ret return wrapper_method @profiler def part1(): rules_...
32.784314
103
0.474581
427
3,344
3.550351
0.18267
0.184697
0.188654
0.14248
0.78562
0.761873
0.761873
0.761873
0.761873
0.717018
0
0.017102
0.370514
3,344
101
104
33.108911
0.703088
0
0
0.615385
0
0
0.035586
0
0
0
0
0
0
1
0.051282
false
0
0.025641
0
0.128205
0.051282
0
0
0
null
0
1
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
4329365ff28b0d6f413e39327c040459989f7eab
136
py
Python
3rdparty/pytorch/test/test_module/future_div.py
WoodoLee/TorchCraft
999f68aab9e7d50ed3ae138297226dc95fefc458
[ "MIT" ]
null
null
null
3rdparty/pytorch/test/test_module/future_div.py
WoodoLee/TorchCraft
999f68aab9e7d50ed3ae138297226dc95fefc458
[ "MIT" ]
null
null
null
3rdparty/pytorch/test/test_module/future_div.py
WoodoLee/TorchCraft
999f68aab9e7d50ed3ae138297226dc95fefc458
[ "MIT" ]
null
null
null
from __future__ import division import torch def div_int_future(): return 1 / 2 def div_float_future(): return 3.14 / 0.125
12.363636
31
0.705882
22
136
4
0.727273
0.136364
0
0
0
0
0
0
0
0
0
0.084906
0.220588
136
10
32
13.6
0.745283
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
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
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
6
43370e837f95019550c5edb791bfb6d12063c71f
38
py
Python
python/datagraph/graphviz/bp/__init__.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
python/datagraph/graphviz/bp/__init__.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
python/datagraph/graphviz/bp/__init__.py
jiportilla/ontology
8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40
[ "MIT" ]
null
null
null
from .graphviz_api import GraphvizAPI
19
37
0.868421
5
38
6.4
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
38
1
38
38
0.941176
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
43470c9a765e7f2496c30f81add7a314a6cf0c05
26
py
Python
rlgpu/utils/rl_pytorch/ppo_conv/resmlp/__init__.py
akux2021/Isaac-drlgrasp
89c14e98462fd2ef7cac78be1f0e8e7a74d02417
[ "Apache-2.0" ]
26
2021-12-01T07:15:35.000Z
2022-03-21T00:57:20.000Z
rlgpu/utils/rl_pytorch/ppo_conv/resmlp/__init__.py
akux2021/Isaac-drlgrasp
89c14e98462fd2ef7cac78be1f0e8e7a74d02417
[ "Apache-2.0" ]
null
null
null
rlgpu/utils/rl_pytorch/ppo_conv/resmlp/__init__.py
akux2021/Isaac-drlgrasp
89c14e98462fd2ef7cac78be1f0e8e7a74d02417
[ "Apache-2.0" ]
2
2021-12-02T03:09:04.000Z
2021-12-06T22:58:54.000Z
from .resmlp import ResMLP
26
26
0.846154
4
26
5.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.115385
26
1
26
26
0.956522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4a521f5ce5c0e9d8a8a257169b0b3e5c7f78b7db
22,645
py
Python
tests/ignite/contrib/handlers/test_trains_logger.py
jonrbates/ignite
15eeb8791a2e0c2f55265e1f6b91f91dc35286c5
[ "BSD-3-Clause" ]
null
null
null
tests/ignite/contrib/handlers/test_trains_logger.py
jonrbates/ignite
15eeb8791a2e0c2f55265e1f6b91f91dc35286c5
[ "BSD-3-Clause" ]
null
null
null
tests/ignite/contrib/handlers/test_trains_logger.py
jonrbates/ignite
15eeb8791a2e0c2f55265e1f6b91f91dc35286c5
[ "BSD-3-Clause" ]
null
null
null
import math from unittest.mock import ANY, MagicMock, call import pytest import torch import trains from ignite.contrib.handlers.trains_logger import * from ignite.engine import Engine, Events, State from ignite.handlers import Checkpoint def test_optimizer_params_handler_wrong_setup(): with pytest.raises(Type...
35.549451
119
0.698212
2,837
22,645
5.298202
0.06944
0.073182
0.047901
0.062937
0.872064
0.846251
0.821436
0.789901
0.772271
0.765019
0
0.015562
0.194083
22,645
636
120
35.605346
0.808055
0.010731
0
0.617068
0
0
0.065458
0.000982
0
0
0
0
0.098468
1
0.074398
false
0.004376
0.017505
0.008753
0.100656
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
4a61e4b480f97bf7c1e6d31c2d1769954c843b39
195
py
Python
sd_logging/logging.py
rafacheang/social_dilemmas_regulation
a684e20b62114365d1c5d8fb9c339eb43155aa13
[ "MIT" ]
null
null
null
sd_logging/logging.py
rafacheang/social_dilemmas_regulation
a684e20b62114365d1c5d8fb9c339eb43155aa13
[ "MIT" ]
null
null
null
sd_logging/logging.py
rafacheang/social_dilemmas_regulation
a684e20b62114365d1c5d8fb9c339eb43155aa13
[ "MIT" ]
null
null
null
class Logging: episodes_rewards = [] @classmethod def log_episodes_rewards(cls, episode_number, episode_reward): cls.episodes_rewards.append((episode_number, episode_reward))
32.5
69
0.748718
22
195
6.272727
0.545455
0.326087
0.289855
0.376812
0
0
0
0
0
0
0
0
0.164103
195
6
69
32.5
0.846626
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
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
4a6433635c27bd25f978213fcb88b52ccd585e9c
207
py
Python
loaderio/resources/servers.py
kenyaapps/loaderio
ac0b59d3f8080634c6e69a94fca3767b2a839676
[ "MIT" ]
null
null
null
loaderio/resources/servers.py
kenyaapps/loaderio
ac0b59d3f8080634c6e69a94fca3767b2a839676
[ "MIT" ]
null
null
null
loaderio/resources/servers.py
kenyaapps/loaderio
ac0b59d3f8080634c6e69a94fca3767b2a839676
[ "MIT" ]
null
null
null
from loaderio.resources.client import Client class Servers(Client): """ """ def __init__(self, api_key): Client.__init__(self, api_key) pass def list(self): return self.request('GET', 'servers')
17.25
44
0.705314
28
207
4.857143
0.607143
0.117647
0.161765
0.205882
0
0
0
0
0
0
0
0
0.149758
207
12
45
17.25
0.772727
0
0
0
0
0
0.050251
0
0
0
0
0
0
1
0.285714
false
0.142857
0.142857
0.142857
0.714286
0
1
0
0
null
0
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
0
0
0
1
0
1
0
1
1
0
0
6
4a9e5355c485b4f3e2125f1a7adb3c4cb4a28a8a
8,955
py
Python
sherlock/tests/all.py
shelklas/sherlock
1e20c5dd69dc3612d9f7421f4f273ef366d4457f
[ "MIT" ]
14
2020-11-11T07:28:39.000Z
2022-03-30T09:17:26.000Z
sherlock/tests/all.py
shelklas/sherlock
1e20c5dd69dc3612d9f7421f4f273ef366d4457f
[ "MIT" ]
1
2020-09-23T20:00:56.000Z
2020-09-23T20:00:56.000Z
sherlock/tests/all.py
shelklas/sherlock
1e20c5dd69dc3612d9f7421f4f273ef366d4457f
[ "MIT" ]
3
2021-05-05T09:41:18.000Z
2022-02-16T03:46:54.000Z
"""Sherlock Tests This module contains various tests. """ from tests.base import SherlockBaseTest import unittest class SherlockDetectTests(SherlockBaseTest): def test_detect_true_via_message(self): """Test Username Does Exist (Via Message). This test ensures that the "message" detection mechani...
30.050336
79
0.596315
1,041
8,955
5.002882
0.083573
0.082949
0.049923
0.059908
0.940668
0.935292
0.932988
0.916091
0.900538
0.841014
0
0
0.340704
8,955
297
80
30.151515
0.882114
0.513903
0
0.620253
0
0
0.095377
0
0
0
0
0
0.075949
1
0.164557
false
0
0.025316
0
0.379747
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
434bfedd1e04757a626830cebc5c90641f4803d1
82
py
Python
Python/Courses/Python-Tutorials.Telusko/00.Fundamentals/07.10-Printing-Pattern.py
shihab4t/Books-Code
b637b6b2ad42e11faf87d29047311160fe3b2490
[ "Unlicense" ]
null
null
null
Python/Courses/Python-Tutorials.Telusko/00.Fundamentals/07.10-Printing-Pattern.py
shihab4t/Books-Code
b637b6b2ad42e11faf87d29047311160fe3b2490
[ "Unlicense" ]
null
null
null
Python/Courses/Python-Tutorials.Telusko/00.Fundamentals/07.10-Printing-Pattern.py
shihab4t/Books-Code
b637b6b2ad42e11faf87d29047311160fe3b2490
[ "Unlicense" ]
null
null
null
for _ in range(4): for _ in range(4): print("#", end=" ") print()
16.4
27
0.45122
11
82
3.181818
0.545455
0.285714
0.571429
0.628571
0
0
0
0
0
0
0
0.037037
0.341463
82
4
28
20.5
0.611111
0
0
0.5
0
0
0.02439
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
0
1
0
6
78f7ff8ed743f5e427902620edd5d7d897f71d53
59
py
Python
test2.py
Raymond4578/Atipycal-Invasion
fd1fe9b3ff31d8cfe202acb411c9cb4afd5aa401
[ "MIT" ]
1
2021-02-08T12:50:35.000Z
2021-02-08T12:50:35.000Z
test2.py
Raymond4578/Atipycal-Invasion
fd1fe9b3ff31d8cfe202acb411c9cb4afd5aa401
[ "MIT" ]
null
null
null
test2.py
Raymond4578/Atipycal-Invasion
fd1fe9b3ff31d8cfe202acb411c9cb4afd5aa401
[ "MIT" ]
null
null
null
import data_storage as ds def func(): print(ds.fps)
14.75
26
0.661017
10
59
3.8
0.9
0
0
0
0
0
0
0
0
0
0
0
0.237288
59
4
27
14.75
0.844444
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
78f8f07385f1caa3f2720a920ae7a5b7bebd0527
161
py
Python
app/objects/exceptions.py
fnkr/POSS
792369f95eb46227d5a4a78ac7d952f70c3c0799
[ "MIT" ]
2
2015-03-27T11:52:38.000Z
2017-03-13T01:14:41.000Z
app/objects/exceptions.py
fnkr/poss
792369f95eb46227d5a4a78ac7d952f70c3c0799
[ "MIT" ]
24
2019-09-27T20:44:06.000Z
2021-11-12T04:12:06.000Z
app/objects/exceptions.py
fnkr/POSS
792369f95eb46227d5a4a78ac7d952f70c3c0799
[ "MIT" ]
2
2019-10-22T22:12:39.000Z
2020-07-06T12:18:03.000Z
class UnknownObjectTypeException(Exception): pass class InvalidLinkException(Exception): pass class ObjectIsNotDeletedException(Exception): pass
14.636364
45
0.78882
12
161
10.583333
0.5
0.307087
0.283465
0
0
0
0
0
0
0
0
0
0.15528
161
10
46
16.1
0.933824
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
1
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
0
0
0
6
60015c1714e4e299ad068d5133b829ec76d0832e
39
py
Python
pipelines/pet_clinic_pipeline.py
LorenzoCianciaruso/devops-in-practice-workshop
c0a39fe5e1ad92e803f0c47e520907f0588905a2
[ "Apache-2.0" ]
null
null
null
pipelines/pet_clinic_pipeline.py
LorenzoCianciaruso/devops-in-practice-workshop
c0a39fe5e1ad92e803f0c47e520907f0588905a2
[ "Apache-2.0" ]
null
null
null
pipelines/pet_clinic_pipeline.py
LorenzoCianciaruso/devops-in-practice-workshop
c0a39fe5e1ad92e803f0c47e520907f0588905a2
[ "Apache-2.0" ]
null
null
null
print "Updating PetClinic Pipeline..."
19.5
38
0.769231
4
39
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.102564
39
1
39
39
0.857143
0
0
0
0
0
0.769231
0
0
0
0
0
0
0
null
null
0
0
null
null
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
6
609251600e2767c6353d2e48bfdd6d60b032ac0d
12,359
py
Python
tests/st/ops/cpu/test_maxpool_op.py
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
tests/st/ops/cpu/test_maxpool_op.py
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
tests/st/ops/cpu/test_maxpool_op.py
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
40.388889
99
0.425439
1,455
12,359
3.509966
0.148454
0.100255
0.133934
0.160564
0.747014
0.740356
0.738202
0.738202
0.736636
0.729587
0
0.129005
0.421717
12,359
305
100
40.521311
0.58556
0.114815
0
0.529915
0
0
0.002874
0
0
0
0
0
0.051282
1
0.042735
false
0
0.034188
0.008547
0.094017
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
60b903f1173c397a5b463b105247a698306c7684
114
py
Python
tjax/_src/gradient/__init__.py
NeilGirdhar/tjax
11a3abe3d287ddd4df4e0b3b04b46969b8bdc881
[ "MIT" ]
25
2020-07-14T02:22:05.000Z
2021-11-24T15:27:28.000Z
tjax/_src/gradient/__init__.py
NeilGirdhar/tjax
11a3abe3d287ddd4df4e0b3b04b46969b8bdc881
[ "MIT" ]
2
2021-11-24T13:13:30.000Z
2021-12-22T16:08:47.000Z
tjax/_src/gradient/__init__.py
NeilGirdhar/tjax
11a3abe3d287ddd4df4e0b3b04b46969b8bdc881
[ "MIT" ]
null
null
null
from .aliases import * from .chain import * from .smd import * from .transform import * from .transforms import *
19
25
0.736842
15
114
5.6
0.466667
0.47619
0
0
0
0
0
0
0
0
0
0
0.175439
114
5
26
22.8
0.893617
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
60ff62f278cfb303f9d3b9ce80115197c14de1c1
11,230
py
Python
tests/dict/test_dict_checks.py
IncognitoCoding/fchecker
bbc70685174c70b6c396e1c93864028bffd3e22e
[ "MIT" ]
null
null
null
tests/dict/test_dict_checks.py
IncognitoCoding/fchecker
bbc70685174c70b6c396e1c93864028bffd3e22e
[ "MIT" ]
null
null
null
tests/dict/test_dict_checks.py
IncognitoCoding/fchecker
bbc70685174c70b6c396e1c93864028bffd3e22e
[ "MIT" ]
null
null
null
# Libraries import pytest # Methods from fchecker.dict import KeyCheck __author__ = "IncognitoCoding" __copyright__ = "Copyright 2022, test_dict_checks" __credits__ = ["IncognitoCoding"] __license__ = "MIT" __version__ = "0.0.3" __maintainer__ = "IncognitoCoding" __status__ = "Beta" # #############################...
35.878594
119
0.634105
1,444
11,230
4.756925
0.08518
0.08502
0.062891
0.089096
0.909157
0.89489
0.87975
0.867375
0.821954
0.799534
0
0.01834
0.189136
11,230
312
120
35.99359
0.735998
0.106679
0
0.43949
0
0.019108
0.241165
0
0
0
0
0
0.248408
1
0.178344
false
0
0.012739
0
0.191083
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
880744666820a37da1ef9b8a082dd8bb53dc7e2e
593
py
Python
quart_cdi/interface.py
WatanukiRasadar/quart_cdi
d7ac1ed2314453e0bcfbdb841c755070ed2dcaf6
[ "MIT" ]
null
null
null
quart_cdi/interface.py
WatanukiRasadar/quart_cdi
d7ac1ed2314453e0bcfbdb841c755070ed2dcaf6
[ "MIT" ]
null
null
null
quart_cdi/interface.py
WatanukiRasadar/quart_cdi
d7ac1ed2314453e0bcfbdb841c755070ed2dcaf6
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class ServiceContainerInterface(ABC): parameters: dict services: dict @abstractmethod def has_service(self, service_name: str): raise NotImplementedError('implement it') @abstractmethod def get_service(self, service_name: str): raise NotIm...
24.708333
49
0.716695
60
593
6.95
0.35
0.16307
0.115108
0.297362
0.731415
0.731415
0.731415
0.731415
0.731415
0.369305
0
0
0.205734
593
23
50
25.782609
0.88535
0
0
0.5
0
0
0.080944
0
0
0
0
0
0
1
0.25
false
0
0.0625
0
0.5
0
0
0
0
null
0
0
1
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
6
71a3c29e2d5b116ce62877b0aa458b6b9897a4bc
9,743
py
Python
tests/tests/test_device_config.py
mendersoftware/deviceconf
8f24388cf8e49cadc239a39f261a183b51fa977c
[ "Apache-2.0" ]
2
2021-01-21T19:12:17.000Z
2021-01-29T09:02:47.000Z
tests/tests/test_device_config.py
mendersoftware/deviceconf
8f24388cf8e49cadc239a39f261a183b51fa977c
[ "Apache-2.0" ]
97
2021-01-20T15:08:25.000Z
2022-03-28T05:03:37.000Z
tests/tests/test_device_config.py
mendersoftware/deviceconf
8f24388cf8e49cadc239a39f261a183b51fa977c
[ "Apache-2.0" ]
10
2021-01-21T14:42:05.000Z
2021-06-08T05:51:08.000Z
# Copyright 2021 Northern.tech AS # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
36.490637
84
0.594991
1,051
9,743
5.256898
0.130352
0.07095
0.047059
0.040543
0.803258
0.794751
0.786787
0.780452
0.76
0.76
0
0.009071
0.298471
9,743
266
85
36.62782
0.799268
0.096377
0
0.630332
0
0
0.10557
0
0
0
0
0
0.137441
1
0.047393
false
0
0.028436
0
0.080569
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
71bc5029c387d5d8e334045bb299f5b26dbeb1da
255
py
Python
codetools/knowledge/views.py
LucasTor/codetools
118637192fc3bb08ef77d058a6472a626ec5a7c8
[ "MIT" ]
4
2021-12-30T17:34:50.000Z
2022-03-02T00:17:25.000Z
codetools/knowledge/views.py
LucasTor/codetools
118637192fc3bb08ef77d058a6472a626ec5a7c8
[ "MIT" ]
3
2022-01-08T21:38:45.000Z
2022-03-12T01:06:15.000Z
codetools/knowledge/views.py
LucasTor/codetools
118637192fc3bb08ef77d058a6472a626ec5a7c8
[ "MIT" ]
2
2021-12-31T01:00:58.000Z
2022-01-31T20:10:45.000Z
from django.shortcuts import render def apis(request): return render(request, "apis.html") def open_source_tools(request): return render(request, "open_source_tools.html") def yt_channels(request): return render(request, "yt_channels.html")
25.5
52
0.760784
35
255
5.371429
0.428571
0.207447
0.303191
0.414894
0
0
0
0
0
0
0
0
0.129412
255
10
53
25.5
0.846847
0
0
0
0
0
0.183594
0.085938
0
0
0
0
0
1
0.428571
false
0
0.142857
0.428571
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
1
0
0
0
1
1
0
0
6
71d032a9ebe5b6ecbd769bf974fc0aab061d256c
81
py
Python
ditto/core/__init__.py
priyamroy/Ditto
f9ef788149cb4469a8c6d0ebbaf7acbce616726a
[ "MIT" ]
31
2020-06-26T14:49:16.000Z
2022-01-23T12:22:28.000Z
ditto/core/__init__.py
priyamroy/Ditto
f9ef788149cb4469a8c6d0ebbaf7acbce616726a
[ "MIT" ]
34
2021-09-20T05:13:35.000Z
2022-03-31T05:21:09.000Z
ditto/core/__init__.py
priyamroy/Ditto
f9ef788149cb4469a8c6d0ebbaf7acbce616726a
[ "MIT" ]
6
2020-05-24T06:53:05.000Z
2022-01-24T18:25:29.000Z
from .bot import * from .cog import * from .context import * from .help import *
16.2
22
0.703704
12
81
4.75
0.5
0.526316
0
0
0
0
0
0
0
0
0
0
0.197531
81
4
23
20.25
0.876923
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
e082f1ab1224269bbb455ea4e477c61cc7352365
85
py
Python
__init__.py
bluckau/Python-Soft-Asserts
71962553ff04411aba562d36332770f417be364a
[ "Apache-2.0" ]
null
null
null
__init__.py
bluckau/Python-Soft-Asserts
71962553ff04411aba562d36332770f417be364a
[ "Apache-2.0" ]
null
null
null
__init__.py
bluckau/Python-Soft-Asserts
71962553ff04411aba562d36332770f417be364a
[ "Apache-2.0" ]
null
null
null
from actions import Actions from soft_asserts import SoftAssertsTestCase, SoftAsserts
42.5
57
0.894118
10
85
7.5
0.7
0
0
0
0
0
0
0
0
0
0
0
0.094118
85
2
57
42.5
0.974026
0
0
0
0
0
0
0
0
0
0
0
0.5
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
1
0
1
0
0
6
e0a916abfc759533ec980050c41b63c44861f7bb
5,511
py
Python
modeling-component-layer/anomalydetecton-modeling-component/DeepMCDD-master/dataloader_image.py
nowhyun/METIS
78e99861b076ab7c075858c48509920bb4e97796
[ "MIT" ]
67
2018-11-15T20:01:02.000Z
2021-11-22T01:37:17.000Z
modeling-component-layer/anomalydetecton-modeling-component/DeepMCDD-master/dataloader_image.py
nowhyun/METIS
78e99861b076ab7c075858c48509920bb4e97796
[ "MIT" ]
28
2018-12-05T05:57:52.000Z
2021-04-20T10:18:35.000Z
modeling-component-layer/anomalydetecton-modeling-component/DeepMCDD-master/dataloader_image.py
nowhyun/METIS
78e99861b076ab7c075858c48509920bb4e97796
[ "MIT" ]
55
2018-12-03T07:57:10.000Z
2021-09-30T14:40:57.000Z
# # This file is implemented based on the author code of # Lee et al., "A simple unified framework for detecting out-of-distribution samples and adversarial attacks", in NeurIPS 2018. # import os import torch from torchvision import datasets from torch.utils.data import DataLoader def get_svhn(batch_size, train_TF...
44.443548
142
0.677191
745
5,511
4.755705
0.120805
0.093988
0.063223
0.081287
0.904883
0.895569
0.862546
0.85803
0.85803
0.798194
0
0.014513
0.212303
5,511
123
143
44.804878
0.801659
0.032662
0
0.683168
0
0
0.060293
0.015214
0
0
0
0
0
1
0.049505
false
0
0.039604
0
0.138614
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
e0cf5e47a09154b5d3733b7043ad6679edfdd425
13,893
py
Python
examples/seismic/viscoacoustic/operators.py
speglich/devito
b636f7694eb6a1e19b0f2c48f44ff63613029a7b
[ "MIT" ]
1
2020-01-31T10:35:49.000Z
2020-01-31T10:35:49.000Z
examples/seismic/viscoacoustic/operators.py
speglich/devito
b636f7694eb6a1e19b0f2c48f44ff63613029a7b
[ "MIT" ]
52
2020-10-12T19:29:09.000Z
2022-03-10T14:05:22.000Z
examples/seismic/viscoacoustic/operators.py
alisiahkoohi/devito
f535a44dff12de2837eb6e3217a65ffb2d371cb8
[ "MIT" ]
1
2020-06-02T03:31:11.000Z
2020-06-02T03:31:11.000Z
import sympy as sp import numpy as np from devito import (Eq, Operator, VectorTimeFunction, TimeFunction, NODE, div, grad) from examples.seismic import PointSource, Receiver def src_rec(p, model, geometry, **kwargs): """ Forward case: Source injection and receiver interpolation Adjoin...
28.411043
90
0.591449
1,925
13,893
4.171948
0.112727
0.026896
0.022662
0.041091
0.80513
0.78832
0.770888
0.750342
0.748599
0.732287
0
0.04068
0.279853
13,893
488
91
28.469262
0.762019
0.348665
0
0.59
0
0
0.017033
0
0
0
0
0
0
1
0.06
false
0
0.02
0
0.155
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
e0dbe5961f2863f4ed760b9b2f8f46a7a7c2f840
215
py
Python
manager/models.py
josht27/fomotrial
40d18dd3fe4fc5e1093a6831447ec3f96f2c5a1a
[ "Apache-2.0" ]
null
null
null
manager/models.py
josht27/fomotrial
40d18dd3fe4fc5e1093a6831447ec3f96f2c5a1a
[ "Apache-2.0" ]
null
null
null
manager/models.py
josht27/fomotrial
40d18dd3fe4fc5e1093a6831447ec3f96f2c5a1a
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class Category(models.Model): create_date = models.DateTimeField(auto_now_add=True) last_modified = models.DateTimeField(auto_now=True)
30.714286
62
0.734884
28
215
5.464286
0.678571
0.248366
0.300654
0.339869
0
0
0
0
0
0
0
0
0.186047
215
6
63
35.833333
0.874286
0.111628
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
6
e0f55df85086c43014c423ff0ce8a4f506025f55
24
py
Python
cv_bridge/src/cv_bridge/__init__.py
MRSD2018/reefbot-1
a595ca718d0cda277726894a3105815cef000475
[ "MIT" ]
null
null
null
cv_bridge/src/cv_bridge/__init__.py
MRSD2018/reefbot-1
a595ca718d0cda277726894a3105815cef000475
[ "MIT" ]
null
null
null
cv_bridge/src/cv_bridge/__init__.py
MRSD2018/reefbot-1
a595ca718d0cda277726894a3105815cef000475
[ "MIT" ]
null
null
null
from cv_bridge import *
12
23
0.791667
4
24
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
24
1
24
24
0.9
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
e837a018058ddd96809b159dae45fef3862d5dcf
132
py
Python
dgNN/operators/__init__.py
HenryChang213/dgNN
4c8628fd4b82783b5a5a7f429b17d1704bf183cf
[ "Apache-2.0" ]
9
2021-11-02T07:37:07.000Z
2022-03-19T08:08:39.000Z
dgNN/operators/__init__.py
HenryChang213/dgNN
4c8628fd4b82783b5a5a7f429b17d1704bf183cf
[ "Apache-2.0" ]
null
null
null
dgNN/operators/__init__.py
HenryChang213/dgNN
4c8628fd4b82783b5a5a7f429b17d1704bf183cf
[ "Apache-2.0" ]
2
2021-11-02T07:37:13.000Z
2021-11-05T07:27:24.000Z
# print('op') from .fused_edgeconv import EdgeConvFuse from .fused_gatconv import GATConvFuse from .fused_gmmconv import GmmConvFuse
33
40
0.840909
17
132
6.352941
0.647059
0.25
0
0
0
0
0
0
0
0
0
0
0.098485
132
4
41
33
0.907563
0.083333
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
1c18d02fa99c3caad7ab306619e1ec553adf229e
148
py
Python
src/blogbuilder/rendering/markdown_renderer.py
th3james/BlogBuilder
d2b641a78b016b79dcdcc5acc3b68fcdef202a6f
[ "MIT" ]
null
null
null
src/blogbuilder/rendering/markdown_renderer.py
th3james/BlogBuilder
d2b641a78b016b79dcdcc5acc3b68fcdef202a6f
[ "MIT" ]
null
null
null
src/blogbuilder/rendering/markdown_renderer.py
th3james/BlogBuilder
d2b641a78b016b79dcdcc5acc3b68fcdef202a6f
[ "MIT" ]
null
null
null
from commonmark import commonmark class MarkdownRenderer: def render(self, markdown_str: str) -> str: return commonmark(markdown_str)
21.142857
47
0.743243
17
148
6.352941
0.647059
0.203704
0
0
0
0
0
0
0
0
0
0
0.189189
148
6
48
24.666667
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
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
1
0
0
0
1
1
0
0
6
1c1c87065822519a155d4c9c3b16a3bac61a2a20
98
py
Python
Flattener/__init__.py
CT15/postia
c5679268e9bd4a43dbd4abe6d94d3a716be48bf3
[ "MIT" ]
null
null
null
Flattener/__init__.py
CT15/postia
c5679268e9bd4a43dbd4abe6d94d3a716be48bf3
[ "MIT" ]
1
2020-05-15T09:47:25.000Z
2020-05-15T09:48:19.000Z
Flattener/__init__.py
CT15/postia
c5679268e9bd4a43dbd4abe6d94d3a716be48bf3
[ "MIT" ]
null
null
null
from .CommentFlattener import CommentFlattener from .TimestampFlattener import TimestampFlattener
32.666667
50
0.897959
8
98
11
0.5
0
0
0
0
0
0
0
0
0
0
0
0.081633
98
2
51
49
0.977778
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
98e44a1c650f6a4be2ae90dd875d4b5a8b0e61fd
25
py
Python
hashbrown/__init__.py
iamchoking/hashbrown
a4037bb84e49184006863e50336359d4cda4acfd
[ "MIT" ]
2
2020-10-29T12:38:39.000Z
2021-06-14T02:25:52.000Z
hashbrown/__init__.py
iamchoking/Hashbrown
a4037bb84e49184006863e50336359d4cda4acfd
[ "MIT" ]
1
2020-10-30T01:04:34.000Z
2020-10-30T01:05:27.000Z
hashbrown/__init__.py
iamchoking/Hashbrown
a4037bb84e49184006863e50336359d4cda4acfd
[ "MIT" ]
1
2020-10-19T13:48:59.000Z
2020-10-19T13:48:59.000Z
from ._HashBrown import *
25
25
0.8
3
25
6.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
1
25
25
0.863636
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
c7531ae9b6c608ce91662388f33f44d6e1880450
27
py
Python
backend/src/api/serializers/__init__.py
pygaur/blog
e62388d25b4bc64d5be2ff0c4f261cc3d49fa20e
[ "MIT" ]
null
null
null
backend/src/api/serializers/__init__.py
pygaur/blog
e62388d25b4bc64d5be2ff0c4f261cc3d49fa20e
[ "MIT" ]
null
null
null
backend/src/api/serializers/__init__.py
pygaur/blog
e62388d25b4bc64d5be2ff0c4f261cc3d49fa20e
[ "MIT" ]
null
null
null
""" """ from .blog import *
9
19
0.518519
3
27
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.185185
27
3
19
9
0.636364
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
c78b5f3944cafa72a1ef7d18a79946db767fc930
92
py
Python
bostaSDK/delivery/printAWB/__init__.py
bostaapp/bosta-python
df3f48dafac49b2577669fd4d74a5e5e9d28f2c1
[ "MIT" ]
null
null
null
bostaSDK/delivery/printAWB/__init__.py
bostaapp/bosta-python
df3f48dafac49b2577669fd4d74a5e5e9d28f2c1
[ "MIT" ]
1
2020-11-18T11:01:32.000Z
2020-11-18T11:10:52.000Z
bostaSDK/delivery/printAWB/__init__.py
bostaapp/bosta-python
df3f48dafac49b2577669fd4d74a5e5e9d28f2c1
[ "MIT" ]
null
null
null
from .PrintAWBRequest import PrintAWBRequest from .PrintAWBResponse import PrintAWBResponse
30.666667
46
0.891304
8
92
10.25
0.5
0
0
0
0
0
0
0
0
0
0
0
0.086957
92
2
47
46
0.97619
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
c78d2efa4bcf8deffcd675a8eb968beb6ebff317
4,528
py
Python
tests/test_request_enrollment.py
ooici/ion-ux
7057feb3471c913cf198bf2b1221f327c3274b45
[ "BSD-2-Clause" ]
null
null
null
tests/test_request_enrollment.py
ooici/ion-ux
7057feb3471c913cf198bf2b1221f327c3274b45
[ "BSD-2-Clause" ]
null
null
null
tests/test_request_enrollment.py
ooici/ion-ux
7057feb3471c913cf198bf2b1221f327c3274b45
[ "BSD-2-Clause" ]
null
null
null
__author__ = 'seman' __author__ = 'seman' import sys sys.path.append('.') import unittest import main from service_api import ServiceApi from common import * import flask ServiceApi.print_enabled = False class EnrollmentUnitTest(unittest.TestCase): def setUp(self): self.user = "Owen Ownerrep" s...
42.716981
141
0.670716
507
4,528
5.739645
0.195266
0.072165
0.038488
0.068729
0.803436
0.803436
0.803436
0.803436
0.803436
0.764948
0
0.002334
0.243154
4,528
105
142
43.12381
0.846805
0.039532
0
0.675
0
0
0.163326
0.023036
0
0
0
0.009524
0.15
1
0.05
false
0.0125
0.075
0
0.1375
0.0125
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
c79aab830fad61e5940c9a7b3a5e14d844254640
17,527
py
Python
courses/machine_learning/deepdive2/production_ml/labs/samples/contrib/azure-samples/kfp-azure-databricks/tests/test_job_op.py
Glairly/introduction_to_tensorflow
aa0a44d9c428a6eb86d1f79d73f54c0861b6358d
[ "Apache-2.0" ]
2
2022-01-06T11:52:57.000Z
2022-01-09T01:53:56.000Z
courses/machine_learning/deepdive2/production_ml/labs/samples/contrib/azure-samples/kfp-azure-databricks/tests/test_job_op.py
Glairly/introduction_to_tensorflow
aa0a44d9c428a6eb86d1f79d73f54c0861b6358d
[ "Apache-2.0" ]
null
null
null
courses/machine_learning/deepdive2/production_ml/labs/samples/contrib/azure-samples/kfp-azure-databricks/tests/test_job_op.py
Glairly/introduction_to_tensorflow
aa0a44d9c428a6eb86d1f79d73f54c0861b6358d
[ "Apache-2.0" ]
null
null
null
import unittest from pathlib import Path import kfp from kfp.dsl import PipelineParam from databricks import CreateJobOp, DeleteJobOp class TestCreateJobOp(unittest.TestCase): def test_databricks_create_job_without_k8s_or_job_name(self): def my_pipeline(): CreateJobOp( ...
35.408081
101
0.448337
1,464
17,527
5.021175
0.093579
0.028568
0.056319
0.025439
0.861243
0.804516
0.767379
0.748061
0.74398
0.729697
0
0.022422
0.452901
17,527
494
102
35.479757
0.744186
0
0
0.578829
0
0
0.237656
0.051253
0
0
0
0
0.076577
1
0.051802
false
0
0.011261
0
0.067568
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
c7f4b944ad836f2db840d6cb350f323d3dc0f551
1,963
py
Python
tests/sources/test_sun.py
betodealmeida/senor-octopus
362d4cb8d5ac7fea620c2b4d46e807bb614a59bd
[ "MIT" ]
7
2021-03-24T18:29:21.000Z
2021-11-15T21:13:25.000Z
tests/sources/test_sun.py
betodealmeida/senor-octopus
362d4cb8d5ac7fea620c2b4d46e807bb614a59bd
[ "MIT" ]
null
null
null
tests/sources/test_sun.py
betodealmeida/senor-octopus
362d4cb8d5ac7fea620c2b4d46e807bb614a59bd
[ "MIT" ]
null
null
null
from datetime import datetime from datetime import timezone import aiotools import pytest from freezegun import freeze_time from senor_octopus.sources.sun import sun @freeze_time("2021-01-01T12:00:00-07:00") @pytest.mark.asyncio async def test_sun() -> None: vclock = aiotools.VirtualClock() latitude = 38.3 ...
23.369048
71
0.619969
247
1,963
4.793522
0.246964
0.04223
0.047297
0.054054
0.836149
0.804054
0.804054
0.777027
0.777027
0.777027
0
0.092123
0.236882
1,963
83
72
23.650602
0.698264
0
0
0.629032
0
0
0.115639
0.050942
0
0
0
0
0.064516
1
0
false
0
0.096774
0
0.096774
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
4010dbebc29d137b4fdcb90bd138ce00dcebbe85
103
py
Python
oookbook/forms.py
janpipek/oookbook
69524ca95206080454eae4e97f0830225ac863ae
[ "MIT" ]
1
2020-06-20T13:36:52.000Z
2020-06-20T13:36:52.000Z
oookbook/forms.py
janpipek/oookbook
69524ca95206080454eae4e97f0830225ac863ae
[ "MIT" ]
null
null
null
oookbook/forms.py
janpipek/oookbook
69524ca95206080454eae4e97f0830225ac863ae
[ "MIT" ]
null
null
null
from django.contrib.auth.forms import AuthenticationForm class LoginForm(AuthenticationForm): pass
25.75
56
0.834951
11
103
7.818182
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.106796
103
4
57
25.75
0.934783
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
4035e5e33fa01e0453e8aecf8fd1c0ce499d126d
1,077
py
Python
tests/cli/test_cache.py
TedrosGitHub/TSA-yatsm
8e328f366c8fd94d5cc57cd2cc42080c43d1f391
[ "MIT" ]
59
2015-02-03T19:56:17.000Z
2022-03-17T13:45:23.000Z
tests/cli/test_cache.py
TedrosGitHub/TSA-yatsm
8e328f366c8fd94d5cc57cd2cc42080c43d1f391
[ "MIT" ]
97
2015-02-12T05:18:38.000Z
2020-06-09T16:10:38.000Z
tests/cli/test_cache.py
TedrosGitHub/TSA-yatsm
8e328f366c8fd94d5cc57cd2cc42080c43d1f391
[ "MIT" ]
35
2015-02-27T19:43:23.000Z
2021-06-21T02:29:14.000Z
""" Tests for ``yatsm cache`` """ from click.testing import CliRunner import pytest from yatsm.cli.main import cli def test_cli_cache_pass_1(example_timeseries, example_results, modify_config, tmpdir): """ Run correctly """ mod_cfg = {'dataset': {'cache_line_dir': tmpdir.mkdir('...
29.108108
77
0.583101
121
1,077
4.958678
0.363636
0.113333
0.033333
0.05
0.82
0.756667
0.756667
0.756667
0.67
0.466667
0
0.010349
0.282266
1,077
36
78
29.916667
0.765847
0.070566
0
0.75
0
0
0.094801
0
0
0
0
0
0.083333
1
0.083333
false
0.083333
0.125
0
0.208333
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
403e7f75f8d4f0551400d50a1b9f96d0838d2b37
3,200
py
Python
tests/utils/test_result_utils.py
retr0-13/FuzzingTool
2fe34911abd583838b7859f83201cd474a2beefc
[ "MIT" ]
null
null
null
tests/utils/test_result_utils.py
retr0-13/FuzzingTool
2fe34911abd583838b7859f83201cd474a2beefc
[ "MIT" ]
null
null
null
tests/utils/test_result_utils.py
retr0-13/FuzzingTool
2fe34911abd583838b7859f83201cd474a2beefc
[ "MIT" ]
null
null
null
import unittest from src.fuzzingtool.utils.result_utils import ResultUtils class TestResultUtils(unittest.TestCase): def tearDown(self): ResultUtils.detailed_results = False def test_get_formatted_result_with_only_int(self): test_payload = "test_payload" test_words = 40 test_...
35.164835
95
0.605938
341
3,200
5.363636
0.199413
0.118097
0.059049
0.104975
0.81684
0.81684
0.779114
0.731001
0.731001
0.721706
0
0.034828
0.282188
3,200
90
96
35.555556
0.761428
0
0
0.654321
0
0
0.063125
0
0
0
0
0
0.148148
1
0.08642
false
0
0.024691
0
0.123457
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
404911ce884006bc334ece85781da4a9e0afe457
29
py
Python
ubc_utils/__init__.py
simpeg-research/oldenburg_2018_AEM
b1f3878e08c11dcb66079bf43b4e96c2d2719567
[ "MIT" ]
7
2019-08-27T17:08:38.000Z
2021-11-19T12:13:17.000Z
ubc_utils/__init__.py
simpeg-research/oldenburg_2018_AEM
b1f3878e08c11dcb66079bf43b4e96c2d2719567
[ "MIT" ]
3
2018-12-19T00:34:13.000Z
2018-12-19T00:53:14.000Z
ubc_utils/__init__.py
simpeg-research/oldenburg-2018-AEM
b1f3878e08c11dcb66079bf43b4e96c2d2719567
[ "MIT" ]
null
null
null
from .utils_ubc_tdem import *
29
29
0.827586
5
29
4.4
1
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
1
29
29
0.846154
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
4059cdb819bc9e33f1005b278865763be759dfed
30,546
py
Python
tests/unit/gapic/test_endpoint_service.py
artbees/python-aiplatform
3c713d5cf47bf343bf53583296daed6161d4f4ed
[ "Apache-2.0" ]
1
2020-10-26T22:39:01.000Z
2020-10-26T22:39:01.000Z
tests/unit/gapic/test_endpoint_service.py
artbees/python-aiplatform
3c713d5cf47bf343bf53583296daed6161d4f4ed
[ "Apache-2.0" ]
null
null
null
tests/unit/gapic/test_endpoint_service.py
artbees/python-aiplatform
3c713d5cf47bf343bf53583296daed6161d4f4ed
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
39.567358
109
0.697571
3,500
30,546
5.905429
0.087143
0.034061
0.021385
0.071121
0.819778
0.796362
0.768204
0.744739
0.726837
0.701679
0
0.006297
0.220193
30,546
771
110
39.618677
0.861419
0.241603
0
0.529158
0
0
0.083963
0.026236
0
0
0
0
0.159827
1
0.082073
false
0
0.053996
0
0.136069
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
4072cc6c588a8236e8635dc81b73837feb811906
23,761
py
Python
tests/test_differentialoperators.py
uwe-iben/torchphysics
f0a56539cff331d49caaa90bc2fdd0d238b298f8
[ "Apache-2.0" ]
null
null
null
tests/test_differentialoperators.py
uwe-iben/torchphysics
f0a56539cff331d49caaa90bc2fdd0d238b298f8
[ "Apache-2.0" ]
null
null
null
tests/test_differentialoperators.py
uwe-iben/torchphysics
f0a56539cff331d49caaa90bc2fdd0d238b298f8
[ "Apache-2.0" ]
null
null
null
import pytest import torch import numpy as np from torchphysics.utils.differentialoperators import (laplacian, grad, normal_derivative, div, ...
32.864454
86
0.535752
4,130
23,761
3.001695
0.030508
0.024522
0.095507
0.068162
0.87505
0.828991
0.7743
0.739453
0.714366
0.680165
0
0.075383
0.241278
23,761
723
87
32.864454
0.61227
0.005513
0
0.596346
0
0
0
0
0
0
0
0
0.287375
1
0.134552
false
0
0.006645
0.024917
0.19103
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
40952e4a0eb2400c97ba3fd578accf6d83029d5e
187
py
Python
lib/amqpsfw/exceptions.py
akayunov/amqpsfw
866833a4786f1e4d1ef68650e8c95412de0edc6a
[ "MIT" ]
1
2020-09-25T13:48:46.000Z
2020-09-25T13:48:46.000Z
lib/amqpsfw/exceptions.py
akayunov/amqpsfw
866833a4786f1e4d1ef68650e8c95412de0edc6a
[ "MIT" ]
1
2021-06-01T21:50:14.000Z
2021-06-01T21:50:14.000Z
lib/amqpsfw/exceptions.py
akayunov/amqpsfw
866833a4786f1e4d1ef68650e8c95412de0edc6a
[ "MIT" ]
null
null
null
class SfwException(Exception): def __init__(self, code, msg): self.code = code self.msg = msg def __str__(self): return str(self.code) + ' - ' + self.msg
23.375
48
0.57754
23
187
4.347826
0.434783
0.24
0.22
0
0
0
0
0
0
0
0
0
0.294118
187
7
49
26.714286
0.757576
0
0
0
0
0
0.016043
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.666667
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
1
0
0
0
1
0
0
0
6
409f5cefc82cb527c08eaf8375b93ef2f4338404
558
py
Python
logmine_pkg/variable.py
nr-blablacar/logmine
6ac777a41bbb870707a6f1471b6b78f1af17e127
[ "MIT" ]
null
null
null
logmine_pkg/variable.py
nr-blablacar/logmine
6ac777a41bbb870707a6f1471b6b78f1af17e127
[ "MIT" ]
null
null
null
logmine_pkg/variable.py
nr-blablacar/logmine
6ac777a41bbb870707a6f1471b6b78f1af17e127
[ "MIT" ]
null
null
null
class Variable(): def __init__(self, value, name=None): self.value = value self.name = name or value def __eq__(self, other): if other is None: return False if isinstance(other, str): return self.value == other return self.value == other.value ...
23.25
41
0.573477
68
558
4.352941
0.308824
0.243243
0.202703
0.202703
0.168919
0
0
0
0
0
0
0
0.327957
558
23
42
24.26087
0.789333
0
0
0
0
0
0.007168
0
0
0
0
0
0
1
0.333333
false
0
0
0.222222
0.777778
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
40c91f6fda0627235b5540facb54266d3352e13f
8,517
py
Python
tests/test_types.py
sobolevn/action-hero
75ff10dc8b01ee8d00367c63e8eccbbee9cc7d42
[ "MIT" ]
91
2019-09-26T20:55:55.000Z
2021-10-19T22:27:21.000Z
tests/test_types.py
kadimisetty/action-heroes
f203e2e130dce970db803d6447bf7518c5e54285
[ "MIT" ]
1
2020-02-07T02:51:40.000Z
2020-02-07T02:51:40.000Z
tests/test_types.py
kadimisetty/action-heroes
f203e2e130dce970db803d6447bf7518c5e54285
[ "MIT" ]
5
2020-02-02T03:40:47.000Z
2020-11-05T10:53:11.000Z
from action_hero.utils import ActionHeroTestCase from action_hero import ( IsConvertibleToFloatAction, IsConvertibleToIntAction, IsConvertibleToUUIDAction, IsFalsyAction, IsTruthyAction, ) class TestIsConvertibleToIntAction(ActionHeroTestCase): def test_on_valid_value(self): self.parse...
38.192825
78
0.625455
873
8,517
5.887743
0.119129
0.11284
0.050778
0.095914
0.889105
0.864202
0.864202
0.864202
0.864202
0.856615
0
0.052023
0.228132
8,517
222
79
38.364865
0.729845
0
0
0.680851
0
0
0.146061
0.069038
0
0
0.00634
0
0.085106
1
0.154255
false
0
0.010638
0
0.191489
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
40cf9b9756b703798dabf70438758a9361b6281c
83
py
Python
tests/app/models/__init__.py
dldevinc/paper-uploads
9414b6e6fbaa52eadacd9852ce3c4d84c6c2c939
[ "BSD-3-Clause" ]
3
2020-06-05T10:43:05.000Z
2022-02-22T16:46:16.000Z
tests/app/models/__init__.py
dldevinc/paper-uploads
9414b6e6fbaa52eadacd9852ce3c4d84c6c2c939
[ "BSD-3-Clause" ]
2
2021-04-03T12:25:20.000Z
2022-02-02T06:10:46.000Z
tests/app/models/__init__.py
dldevinc/paper-uploads
9414b6e6fbaa52eadacd9852ce3c4d84c6c2c939
[ "BSD-3-Clause" ]
null
null
null
from .dummy import * from .base import * from .custom import * from .site import *
16.6
21
0.710843
12
83
4.916667
0.5
0.508475
0
0
0
0
0
0
0
0
0
0
0.192771
83
4
22
20.75
0.880597
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
40e7cfa5fd9a553e2b299a2153259f1a4f346bfd
57,408
py
Python
rodan/test/views/test_workflowrun.py
carrieeex/Rodan
458e72990c2571fa727a0d026fb235faf30bffec
[ "MIT" ]
31
2015-01-06T17:23:45.000Z
2022-03-30T02:46:16.000Z
rodan/test/views/test_workflowrun.py
carrieeex/Rodan
458e72990c2571fa727a0d026fb235faf30bffec
[ "MIT" ]
258
2015-01-02T19:34:57.000Z
2022-01-19T16:34:21.000Z
rodan/test/views/test_workflowrun.py
carrieeex/Rodan
458e72990c2571fa727a0d026fb235faf30bffec
[ "MIT" ]
8
2015-08-19T16:09:31.000Z
2021-10-03T23:46:46.000Z
import os import json import six from rest_framework.test import APITestCase from rest_framework import status from rest_framework.reverse import reverse from rodan.models import WorkflowRun, ResourceType from model_mommy import mommy from rodan.test.helpers import RodanTestSetUpMixin, RodanTestTearDownMixin import uu...
43.923489
100
0.627108
6,543
57,408
5.26685
0.061593
0.064072
0.048054
0.04109
0.879226
0.850004
0.811845
0.776675
0.76057
0.721859
0
0.014259
0.260904
57,408
1,306
101
43.957121
0.797926
0.081835
0
0.595568
0
0
0.098659
0.003187
0
0
0
0.000766
0.204986
1
0.036011
false
0
0.01108
0.000923
0.053555
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
40ebe6a0a3236819fbde64f7e4d39f34f32cf6cf
24,922
py
Python
checkerpy/tests/validators/one/test_limited.py
yedivanseven/CheckerPy
04612086d25fecdd0b20ca0a050db8620c437b0e
[ "MIT" ]
1
2018-01-12T19:20:51.000Z
2018-01-12T19:20:51.000Z
checkerpy/tests/validators/one/test_limited.py
yedivanseven/CheckerPy
04612086d25fecdd0b20ca0a050db8620c437b0e
[ "MIT" ]
null
null
null
checkerpy/tests/validators/one/test_limited.py
yedivanseven/CheckerPy
04612086d25fecdd0b20ca0a050db8620c437b0e
[ "MIT" ]
null
null
null
import logging import unittest as ut from collections import defaultdict, deque, OrderedDict from ....validators.one import Limited from ....exceptions import WrongTypeError, LimitError, CallableError from ....types.one import _COMPARABLES from ....types.weak import _LIKE_COMPARABLES from ....functional import Composit...
46.409683
79
0.622502
3,259
24,922
4.588831
0.048174
0.078235
0.041725
0.059111
0.880709
0.852357
0.850084
0.825811
0.816182
0.816182
0
0.014551
0.266512
24,922
536
80
46.496269
0.803556
0
0
0.587607
0
0
0.204077
0
0
0
0
0
0.373932
1
0.126068
false
0.002137
0.017094
0.002137
0.153846
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
dc00a82a96b6dbf9943fbb4415766d165e30b4ac
54,946
py
Python
corepy/arch/x86/isa/x86_insts.py
matthiaskramm/corepy
b2aad4e86adca10420e825fb65dcbd031cf44bb1
[ "BSD-3-Clause" ]
8
2016-02-20T03:52:58.000Z
2022-01-24T15:04:14.000Z
corepy/arch/x86/isa/x86_insts.py
matthiaskramm/corepy
b2aad4e86adca10420e825fb65dcbd031cf44bb1
[ "BSD-3-Clause" ]
null
null
null
corepy/arch/x86/isa/x86_insts.py
matthiaskramm/corepy
b2aad4e86adca10420e825fb65dcbd031cf44bb1
[ "BSD-3-Clause" ]
6
2015-12-11T05:21:15.000Z
2020-12-11T10:59:15.000Z
# Copyright (c) 2006-2009 The Trustees of Indiana University. # All rights reserved. # # Redistribution and use in source and binary forms, with or without ...
29.087348
118
0.655607
6,638
54,946
5.250678
0.057849
0.062661
0.071011
0.108883
0.80536
0.780829
0.735325
0.703592
0.684914
0.650915
0
0.048827
0.193026
54,946
1,888
119
29.102754
0.737235
0.157937
0
0.618884
0
0
0.064759
0
0
0
0.007123
0.00053
0
0
null
null
0
0.002575
null
null
0.003433
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
29186da54c444345d0d887c1233f20e0296767bd
41
py
Python
py/faint/svg/write/__init__.py
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
py/faint/svg/write/__init__.py
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
py/faint/svg/write/__init__.py
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
from . build_state import SvgBuildState
20.5
40
0.829268
5
41
6.6
1
0
0
0
0
0
0
0
0
0
0
0
0.146341
41
1
41
41
0.942857
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
2952158d6e700f29ba547504930d56bcea8f0d7d
3,649
py
Python
hotbox_designer/templates.py
vincentgires/hotbox_designer
ff37b577a2fb27adf9c352c03a084ff58636c7c8
[ "BSD-3-Clause-Clear" ]
78
2018-10-19T12:10:20.000Z
2022-03-18T11:16:59.000Z
hotbox_designer/templates.py
Roumenov/hotbox_designer
7866748fe3a7dd7669780d18e0ff4794d5b1f52a
[ "BSD-3-Clause-Clear" ]
9
2018-11-14T02:58:28.000Z
2021-11-26T13:30:40.000Z
hotbox_designer/templates.py
Roumenov/hotbox_designer
7866748fe3a7dd7669780d18e0ff4794d5b1f52a
[ "BSD-3-Clause-Clear" ]
24
2018-11-17T10:48:50.000Z
2022-03-19T06:50:18.000Z
SQUARE_BUTTON = { 'shape': 'square', # or round 'shape.left': 0.0, 'shape.top': 0.0, 'shape.width': 120.0, 'shape.height': 25.0, 'border': True, 'borderwidth.normal': 1.0, 'borderwidth.hovered': 1.25, 'borderwidth.clicked': 2, 'bordercolor.normal': '#000000', 'bordercolor.ho...
28.069231
54
0.570293
409
3,649
5.085575
0.176039
0.057692
0.020192
0.054808
0.804327
0.783654
0.760577
0.760577
0.713942
0.713942
0
0.054756
0.219238
3,649
129
55
28.286822
0.675325
0.057276
0
0.680328
0
0
0.535359
0.039451
0
0
0
0
0
1
0
false
0
0
0
0
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
29545fb8a95bab96b68fdf74924201d308c0e340
25
py
Python
src/gnnff/model/__init__.py
ken2403/gnnff
13e2428ef2fe6524572356f8df8412e91a3690af
[ "MIT" ]
null
null
null
src/gnnff/model/__init__.py
ken2403/gnnff
13e2428ef2fe6524572356f8df8412e91a3690af
[ "MIT" ]
null
null
null
src/gnnff/model/__init__.py
ken2403/gnnff
13e2428ef2fe6524572356f8df8412e91a3690af
[ "MIT" ]
null
null
null
from .gnnff import GNNFF
12.5
24
0.8
4
25
5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.16
25
1
25
25
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
29569e5e8c3b85dd7ec8514b462ab9a441f7919e
168
py
Python
thx_bot/constants.py
thxprotocol/telegram-bot
d8c77060740f76ed50aab93cb7c6ca83567d1710
[ "Apache-2.0" ]
null
null
null
thx_bot/constants.py
thxprotocol/telegram-bot
d8c77060740f76ed50aab93cb7c6ca83567d1710
[ "Apache-2.0" ]
null
null
null
thx_bot/constants.py
thxprotocol/telegram-bot
d8c77060740f76ed50aab93cb7c6ca83567d1710
[ "Apache-2.0" ]
3
2021-10-31T19:20:39.000Z
2021-12-04T03:35:23.000Z
from telegram.constants import CHATMEMBER_ADMINISTRATOR from telegram.constants import CHATMEMBER_CREATOR ADMIN_ROLES = [CHATMEMBER_CREATOR, CHATMEMBER_ADMINISTRATOR]
33.6
60
0.886905
18
168
8
0.5
0.166667
0.291667
0.375
0.513889
0
0
0
0
0
0
0
0.077381
168
4
61
42
0.929032
0
0
0
0
0
0
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
4625d1f747baebb366dd3dfcf29862a4488492ad
199
py
Python
testapp/tests/__init__.py
nessvm/django-rest-framework-collection-json
7fb04c39e16b5f8674285969646853278138f8e2
[ "MIT" ]
8
2015-01-27T02:10:52.000Z
2016-08-16T16:41:15.000Z
testapp/tests/__init__.py
eabglobal/django-rest-framework-collection-json
7fb04c39e16b5f8674285969646853278138f8e2
[ "MIT" ]
2
2015-02-05T17:18:43.000Z
2016-03-26T23:16:45.000Z
testapp/tests/__init__.py
eabglobal/django-rest-framework-collection-json
7fb04c39e16b5f8674285969646853278138f8e2
[ "MIT" ]
6
2015-02-05T13:53:39.000Z
2018-06-06T22:39:03.000Z
import django from django.utils import unittest if django.VERSION[0] <= 1 and django.VERSION[1] <= 5: def suite(): return unittest.TestLoader().discover("testapp", pattern="test_*.py")
24.875
77
0.688442
27
199
5.037037
0.740741
0.191176
0
0
0
0
0
0
0
0
0
0.024096
0.165829
199
7
78
28.428571
0.795181
0
0
0
0
0
0.080402
0
0
0
0
0
0
1
0.2
true
0
0.4
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
0
1
0
1
1
1
0
0
6
462ae590d93dd28c3c62c6255727725e90282165
1,956
py
Python
tests/test_zip.py
janusko/pycq
d58d5d3b3fe1af93f5922abd237e1cdd00cde4af
[ "MIT" ]
null
null
null
tests/test_zip.py
janusko/pycq
d58d5d3b3fe1af93f5922abd237e1cdd00cde4af
[ "MIT" ]
null
null
null
tests/test_zip.py
janusko/pycq
d58d5d3b3fe1af93f5922abd237e1cdd00cde4af
[ "MIT" ]
null
null
null
import unittest from pycq.q import Q class Zip(unittest.TestCase): def test_zip(self): ret = Q.range(1, 10).zip(Q.range(5, 5)).to_list() self.assertSequenceEqual([(1, 5), (2, 6), (3, 7), (4, 8), (5, 9)], ret) def test_zip_longest_no_fill(self): ret = Q.range(1, 10).zip_longest(Q.ran...
33.152542
113
0.491309
313
1,956
2.932907
0.124601
0.091503
0.076253
0.099129
0.859477
0.837691
0.762527
0.74183
0.74183
0.74183
0
0.120974
0.285787
1,956
58
114
33.724138
0.536149
0
0
0.380952
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.047619
0
0.238095
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
46598b23003f1804c444ed928b88b04ebb4df99d
48
py
Python
just_test.py
sotirioszikas/Image-Classifier
f247bad837024c3d179590cf2a46ddd3c8987f27
[ "MIT" ]
null
null
null
just_test.py
sotirioszikas/Image-Classifier
f247bad837024c3d179590cf2a46ddd3c8987f27
[ "MIT" ]
null
null
null
just_test.py
sotirioszikas/Image-Classifier
f247bad837024c3d179590cf2a46ddd3c8987f27
[ "MIT" ]
null
null
null
classifier('home/workspace/pet_images/','vgg')
16
46
0.75
6
48
5.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.041667
48
2
47
24
0.76087
0
0
0
0
0
0.617021
0.553191
0
0
0
0
0
1
0
true
0
0
0
0
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
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
465b5c74401b92040800bea85c47ce8a9f75a3f1
27
py
Python
python/desc/skycatalogs/__init__.py
JoanneBogart/skyCatalogs
dbfec210dcf926cc85be5ddd6048bbaf1e39cf97
[ "BSD-3-Clause" ]
null
null
null
python/desc/skycatalogs/__init__.py
JoanneBogart/skyCatalogs
dbfec210dcf926cc85be5ddd6048bbaf1e39cf97
[ "BSD-3-Clause" ]
4
2021-06-25T00:45:54.000Z
2021-07-26T21:41:02.000Z
python/desc/skycatalogs/__init__.py
JoanneBogart/skyCatalogs
dbfec210dcf926cc85be5ddd6048bbaf1e39cf97
[ "BSD-3-Clause" ]
1
2021-09-30T21:53:13.000Z
2021-09-30T21:53:13.000Z
from .skyCatalogs import *
13.5
26
0.777778
3
27
7
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
1
27
27
0.913043
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4673d681339baff8523573fba0f34ae012cb4618
129
py
Python
src/models/__init__.py
zsiciarz/jamchemy
2519f43804771e131984e285d1fe5c977d783de1
[ "MIT" ]
1
2022-02-09T17:48:08.000Z
2022-02-09T17:48:08.000Z
src/models/__init__.py
zsiciarz/jamchemy
2519f43804771e131984e285d1fe5c977d783de1
[ "MIT" ]
null
null
null
src/models/__init__.py
zsiciarz/jamchemy
2519f43804771e131984e285d1fe5c977d783de1
[ "MIT" ]
null
null
null
from sqlalchemy.orm import configure_mappers from .idea import Idea # noqa from .user import User # noqa configure_mappers()
18.428571
44
0.782946
18
129
5.5
0.5
0.323232
0
0
0
0
0
0
0
0
0
0
0.162791
129
6
45
21.5
0.916667
0.069767
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
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
0
1
0
1
0
1
0
0
6
46abf9834352e25ec5ba324d3056328a54d68492
63
py
Python
eye_gaze_estimation.py
martinhoang11/OpenSeeFace
c6c9b8c6c00e0e674bce781f2e372fe9109fe44b
[ "BSD-2-Clause" ]
1
2021-03-23T04:58:02.000Z
2021-03-23T04:58:02.000Z
eye_gaze_estimation.py
martinhoang11/OpenSeeFace
c6c9b8c6c00e0e674bce781f2e372fe9109fe44b
[ "BSD-2-Clause" ]
null
null
null
eye_gaze_estimation.py
martinhoang11/OpenSeeFace
c6c9b8c6c00e0e674bce781f2e372fe9109fe44b
[ "BSD-2-Clause" ]
null
null
null
from rt_gene.rt_gene_standalone import estimate_gaze_standalone
63
63
0.936508
10
63
5.4
0.7
0.222222
0
0
0
0
0
0
0
0
0
0
0.047619
63
1
63
63
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
d3f38148f5acaffe51dc578795c4e329956b98a4
136
py
Python
scripts/npc/autogen_Npc_1540207.py
hsienjan/SideQuest-Server
3e88debaf45615b759d999255908f99a15283695
[ "MIT" ]
null
null
null
scripts/npc/autogen_Npc_1540207.py
hsienjan/SideQuest-Server
3e88debaf45615b759d999255908f99a15283695
[ "MIT" ]
null
null
null
scripts/npc/autogen_Npc_1540207.py
hsienjan/SideQuest-Server
3e88debaf45615b759d999255908f99a15283695
[ "MIT" ]
null
null
null
# ObjectID: 1000000 # ParentID: 1540207 # Character field ID when accessed: 340000016 # Object Position Y: -17 # Object Position X: 221
22.666667
45
0.75
18
136
5.666667
0.888889
0.27451
0
0
0
0
0
0
0
0
0
0.247788
0.169118
136
5
46
27.2
0.654867
0.919118
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
0
0
0
0
0
0
0
0
0
1
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
31161f612b715e52f5f5ace5917f533004ef4deb
21,951
py
Python
fsdk/utilities/show_face_model.py
luigivieira/fsdk
3d3b04bcde5f72c95044caa637114368f9818979
[ "MIT" ]
null
null
null
fsdk/utilities/show_face_model.py
luigivieira/fsdk
3d3b04bcde5f72c95044caa637114368f9818979
[ "MIT" ]
null
null
null
fsdk/utilities/show_face_model.py
luigivieira/fsdk
3d3b04bcde5f72c95044caa637114368f9818979
[ "MIT" ]
null
null
null
#!/usr/bin/env python # # This file is part of the Fun SDK (fsdk) project. The complete source code is # available at https://github.com/luigivieira/fsdk. # # Copyright (c) 2016-2017, Luiz Carlos Vieira (http://www.luiz.vieira.nom.br) # # MIT License # # Permission is hereby granted, free of charge, to any person obtai...
238.597826
18,906
0.930709
896
21,951
22.77567
0.773438
0.004312
0.001274
0
0
0
0
0
0
0
0
0.129642
0.028381
21,951
92
18,907
238.597826
0.827176
0.078402
0
0.117647
0
0.029412
0.944935
0.936998
0
1
0
0
0
1
0.029412
false
0
0.205882
0
0.235294
0.029412
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
6
316679e95631b6060219db73ab894b2662423605
297
py
Python
platform/hwconf_data/efm32tg/modules/WDOG/__init__.py
lenloe1/v2.7
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
[ "Zlib" ]
null
null
null
platform/hwconf_data/efm32tg/modules/WDOG/__init__.py
lenloe1/v2.7
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
[ "Zlib" ]
1
2020-08-25T02:36:22.000Z
2020-08-25T02:36:22.000Z
platform/hwconf_data/efm32tg/modules/WDOG/__init__.py
lenloe1/v2.7
9ac9c4a7bb37987af382c80647f42d84db5f2e1d
[ "Zlib" ]
1
2020-08-25T01:56:04.000Z
2020-08-25T01:56:04.000Z
import efm32tg.halconfig.halconfig_types as halconfig_types import efm32tg.halconfig.halconfig_dependency as halconfig_dependency import efm32tg.PythonSnippet.ExporterModel as ExporterModel import efm32tg.PythonSnippet.RuntimeModel as RuntimeModel import efm32tg.PythonSnippet.Metadata as Metadata
59.4
69
0.902357
34
297
7.764706
0.294118
0.246212
0.295455
0.234848
0
0
0
0
0
0
0
0.035971
0.063973
297
5
70
59.4
0.913669
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
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
31dba916d6c695a71359de8ffaf28300fc761ee4
9,577
py
Python
reviewboard/webapi/tests/test_oauth2_auth.py
amalik2/reviewboard
676aa2dce38ce619a74f2d4cb3cfae9bce21416e
[ "MIT" ]
921
2015-01-01T15:26:28.000Z
2022-03-29T11:30:38.000Z
reviewboard/webapi/tests/test_oauth2_auth.py
amalik2/reviewboard
676aa2dce38ce619a74f2d4cb3cfae9bce21416e
[ "MIT" ]
5
2015-03-17T18:57:47.000Z
2020-10-02T13:24:31.000Z
reviewboard/webapi/tests/test_oauth2_auth.py
amalik2/reviewboard
676aa2dce38ce619a74f2d4cb3cfae9bce21416e
[ "MIT" ]
285
2015-01-12T06:24:36.000Z
2022-03-29T11:03:50.000Z
"""Tests for OAuth2 authentication with the web API.""" from __future__ import unicode_literals from datetime import timedelta from django.contrib.auth.models import User from djblets.features.testing import override_feature_check from djblets.testing.decorators import add_fixtures from djblets.webapi.auth.backends ...
41.280172
79
0.632035
1,099
9,577
5.263876
0.118289
0.060674
0.051858
0.053587
0.774417
0.774417
0.763699
0.752809
0.744166
0.729473
0
0.007798
0.276913
9,577
231
80
41.458874
0.827581
0.104939
0
0.720779
0
0
0.046279
0
0
0
0
0
0.149351
1
0.084416
false
0
0.084416
0
0.188312
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
31e7d7d801f0aa58460259f21754b694c1218807
95
py
Python
eval_command.py
bhavyagaur99/routine-calculator
4a30f693781bf9da4f8b7c11b1b859e6e9676580
[ "MIT" ]
null
null
null
eval_command.py
bhavyagaur99/routine-calculator
4a30f693781bf9da4f8b7c11b1b859e6e9676580
[ "MIT" ]
null
null
null
eval_command.py
bhavyagaur99/routine-calculator
4a30f693781bf9da4f8b7c11b1b859e6e9676580
[ "MIT" ]
null
null
null
from simpleeval import simple_eval def evaluate_expression(exp): return simple_eval(exp)
15.833333
34
0.8
13
95
5.615385
0.769231
0.273973
0
0
0
0
0
0
0
0
0
0
0.147368
95
5
35
19
0.901235
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
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
1
1
0
0
0
6
73441a6557ef3134c40ac5870ea3dfc252a6592c
2,169
py
Python
Analysis/tags.py
sambacha/pyblock
f8f207de36a2f91dfe5f61681eba0e371cb0c552
[ "MIT" ]
null
null
null
Analysis/tags.py
sambacha/pyblock
f8f207de36a2f91dfe5f61681eba0e371cb0c552
[ "MIT" ]
null
null
null
Analysis/tags.py
sambacha/pyblock
f8f207de36a2f91dfe5f61681eba0e371cb0c552
[ "MIT" ]
null
null
null
"""Various 'special' addresses that should be tagged.""" from collections import defaultdict # Exchange wallets = 1 # Crowdsale wallets = 2 # Mining pools = 3 tags = defaultdict( int, { "0x32be343b94f860124dc4fee278fdcbd38c102d88": 1, # Polo hot wallet "0xb794f5ea0ba39494ce839613fffba74279579...
52.902439
76
0.73029
117
2,169
13.538462
0.675214
0.006313
0
0
0
0
0
0
0
0
0
0.421804
0.192255
2,169
40
77
54.225
0.482306
0.182112
0
0
0
0
0.67664
0.67664
0
0
0.67664
0
0
1
0
false
0
0.029412
0
0.029412
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
6
7351b4e5544a1b77ef3e7b199492cdcfd49b5930
7,015
py
Python
tests/components/panasonic_viera/test_init.py
tbarbette/core
8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c
[ "Apache-2.0" ]
4
2020-08-10T20:02:24.000Z
2022-01-31T02:14:22.000Z
tests/components/panasonic_viera/test_init.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
78
2020-07-23T07:13:08.000Z
2022-03-31T06:02:04.000Z
tests/components/panasonic_viera/test_init.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
4
2017-01-10T04:17:33.000Z
2021-09-02T16:37:24.000Z
"""Test the Panasonic Viera setup process.""" from unittest.mock import patch from homeassistant.components.panasonic_viera.const import ( ATTR_DEVICE_INFO, ATTR_UDN, DEFAULT_NAME, DOMAIN, ) from homeassistant.config_entries import ENTRY_STATE_NOT_LOADED from homeassistant.const import CONF_HOST, STATE...
30.767544
82
0.733001
959
7,015
4.984359
0.081335
0.060251
0.043515
0.043933
0.838075
0.826778
0.820293
0.809414
0.798536
0.767573
0
0.000874
0.184747
7,015
227
83
30.903084
0.834936
0.00556
0
0.681818
0
0
0.086575
0.085499
0
0
0
0
0.253247
1
0
false
0
0.045455
0
0.045455
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
b40234ebbc17ef1df692e4b8103cf234531c9dfc
128,404
py
Python
startup/98-user_scan.py
dmgav/profile_collection_FXI
3f860b0864363007d02584cd41566cccb7dedf66
[ "BSD-3-Clause" ]
1
2020-07-09T21:44:35.000Z
2020-07-09T21:44:35.000Z
startup/98-user_scan.py
dmgav/profile_collection_FXI
3f860b0864363007d02584cd41566cccb7dedf66
[ "BSD-3-Clause" ]
12
2020-02-11T20:22:53.000Z
2022-03-16T22:21:48.000Z
startup/98-user_scan.py
dmgav/profile_collection_FXI
3f860b0864363007d02584cd41566cccb7dedf66
[ "BSD-3-Clause" ]
3
2019-03-20T12:31:01.000Z
2021-03-15T21:09:16.000Z
''' import datetime from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.base import MIMEBase from email import encoders def send_email(subject, body, hostname, port, user, password, ...
36.655438
290
0.541494
17,891
128,404
3.566877
0.040132
0.056272
0.021155
0.020309
0.842043
0.809763
0.784815
0.765494
0.739904
0.714205
0
0.035848
0.34696
128,404
3,502
291
36.665905
0.725186
0.326594
0
0.632653
0
0.000454
0.084909
0.012482
0
0
0
0
0
1
0.022676
false
0.004989
0.000907
0
0.030385
0.041723
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