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
aeadf47f1566dc963f3113497ae37f7465070600
217
py
Python
django_api/cas/admin.py
LonelVino/world-week-test
73d5201564cd1f3d7ece4ccb4aa5ba6baaf03f68
[ "MIT" ]
null
null
null
django_api/cas/admin.py
LonelVino/world-week-test
73d5201564cd1f3d7ece4ccb4aa5ba6baaf03f68
[ "MIT" ]
null
null
null
django_api/cas/admin.py
LonelVino/world-week-test
73d5201564cd1f3d7ece4ccb4aa5ba6baaf03f68
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Cas # 内置的表 class OrderAdmin(admin.ModelAdmin): list_display = ['username','password','role'] list_filter = ['created', 'updated'] admin.site.register(Cas)
24.111111
49
0.728111
27
217
5.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.133641
217
9
50
24.111111
0.829787
0.018433
0
0
0
0
0.160377
0
0
0
0
0
0
1
0
false
0.166667
0.333333
0
0.833333
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
0
1
1
0
1
0
0
5
aeb4ab4320ebaaede9d04d434912f3be7c203fd3
137
py
Python
solutions/Counting_power_sets.py
AlexGameAndWebDev/CodeWars-Python
222b8244e9f248dbb4e5fabd390dd4cce446dc84
[ "MIT" ]
44
2015-05-24T13:46:22.000Z
2022-03-22T10:40:10.000Z
solutions/Counting_power_sets.py
badruu/CodeWars-Python
222b8244e9f248dbb4e5fabd390dd4cce446dc84
[ "MIT" ]
3
2016-09-10T07:14:02.000Z
2021-09-14T12:16:25.000Z
solutions/Counting_power_sets.py
badruu/CodeWars-Python
222b8244e9f248dbb4e5fabd390dd4cce446dc84
[ "MIT" ]
48
2016-04-03T04:48:33.000Z
2022-03-14T23:32:17.000Z
""" Counting power sets http://www.codewars.com/kata/54381f0b6f032f933c000108/train/python """ def powers(lst): return 2 ** len(lst)
19.571429
66
0.722628
18
137
5.5
0.944444
0
0
0
0
0
0
0
0
0
0
0.165289
0.116788
137
7
67
19.571429
0.652893
0.627737
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
0
1
1
0
0
5
aef4739af4fcadb0ff10d29b82fb5552d12d43c0
152
py
Python
tests/test_models.py
bmdefreitas/star-wars-api-python
e118843b7a304433549085f5ee6a08bf455b4d43
[ "Apache-2.0" ]
null
null
null
tests/test_models.py
bmdefreitas/star-wars-api-python
e118843b7a304433549085f5ee6a08bf455b4d43
[ "Apache-2.0" ]
null
null
null
tests/test_models.py
bmdefreitas/star-wars-api-python
e118843b7a304433549085f5ee6a08bf455b4d43
[ "Apache-2.0" ]
null
null
null
def test_a(): x = "this" assert "h" in x def test_b(): x = "hello" assert "h" in x def test_c(): x = "world" assert "w" in x
11.692308
19
0.486842
27
152
2.62963
0.481481
0.295775
0.253521
0.28169
0.478873
0.478873
0
0
0
0
0
0
0.355263
152
13
20
11.692308
0.72449
0
0
0.222222
0
0
0.112583
0
0
0
0
0
0.333333
1
0.333333
false
0
0
0
0.333333
0
1
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
0
0
0
0
5
4e185e78cc9a89f9dbbd8ee82d7119b85128afdc
64
py
Python
pycue/FileSequence/__init__.py
writetoalex/TestOpenCue
e38df23f20b5f5be37b0f2a078e6a8dd2c562fc4
[ "Apache-2.0" ]
2
2019-01-27T10:08:30.000Z
2019-01-27T10:08:32.000Z
pycue/FileSequence/__init__.py
writetoalex/TestOpenCue
e38df23f20b5f5be37b0f2a078e6a8dd2c562fc4
[ "Apache-2.0" ]
null
null
null
pycue/FileSequence/__init__.py
writetoalex/TestOpenCue
e38df23f20b5f5be37b0f2a078e6a8dd2c562fc4
[ "Apache-2.0" ]
1
2019-01-27T12:54:26.000Z
2019-01-27T12:54:26.000Z
from FrameRange import FrameRange from FrameSet import FrameSet
21.333333
33
0.875
8
64
7
0.5
0
0
0
0
0
0
0
0
0
0
0
0.125
64
2
34
32
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
9d7c0d6a36e316354346cd52846f2bbad84f42c5
169
py
Python
tests/observers/observer.py
sando-io/flowmancer
34e6679651b00c1e8c78e211cac493708ce9b1b7
[ "MIT" ]
null
null
null
tests/observers/observer.py
sando-io/flowmancer
34e6679651b00c1e8c78e211cac493708ce9b1b7
[ "MIT" ]
21
2022-01-07T03:14:34.000Z
2022-01-22T22:32:20.000Z
tests/observers/observer.py
natsunlee/flowmancer
34e6679651b00c1e8c78e211cac493708ce9b1b7
[ "MIT" ]
null
null
null
import pytest from flowmancer.observers.observer import Observer def test_abstract_init_error(): with pytest.raises(TypeError): Observer() # type: ignore
21.125
50
0.751479
20
169
6.2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.171598
169
7
51
24.142857
0.885714
0.071006
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0
0.4
0
0.6
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
0
1
0
0
5
9d7df578d88cf538535f7182d5aafbe1b2dc94a7
42
py
Python
codeforces/rounds/#367/fact.py
GinugaSaketh/Codes
e934aa5652dd86231a42e3f7f84b145eb35bf47d
[ "MIT" ]
null
null
null
codeforces/rounds/#367/fact.py
GinugaSaketh/Codes
e934aa5652dd86231a42e3f7f84b145eb35bf47d
[ "MIT" ]
null
null
null
codeforces/rounds/#367/fact.py
GinugaSaketh/Codes
e934aa5652dd86231a42e3f7f84b145eb35bf47d
[ "MIT" ]
null
null
null
a=200 f=1 while a>1: f=f*a a=a-1 print f
7
10
0.595238
15
42
1.666667
0.4
0.16
0
0
0
0
0
0
0
0
0
0.181818
0.214286
42
6
11
7
0.575758
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.166667
1
1
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
1
0
0
0
0
0
0
0
0
5
9dcd475a4c8eb284fdf874e63572ac12951d3b5c
259
py
Python
lib/triplet_loss/triplet_loss_op.py
aditya2592/PoseCNN
a763120ce0ceb55cf3432980287ef463728f8052
[ "MIT" ]
655
2018-03-21T19:55:45.000Z
2022-03-25T20:41:21.000Z
lib/triplet_loss/triplet_loss_op.py
yuxng/FCN
77fbb50b4272514588a10a9f90b7d5f8d46974fb
[ "MIT" ]
122
2018-04-04T13:57:49.000Z
2022-03-18T09:28:44.000Z
lib/triplet_loss/triplet_loss_op.py
yuxng/FCN
77fbb50b4272514588a10a9f90b7d5f8d46974fb
[ "MIT" ]
226
2018-03-22T01:40:04.000Z
2022-03-17T11:56:14.000Z
import tensorflow as tf import os.path as osp filename = osp.join(osp.dirname(__file__), 'triplet_loss.so') _triplet_loss_module = tf.load_op_library(filename) triplet_loss = _triplet_loss_module.triplet triplet_loss_grad = _triplet_loss_module.triplet_grad
32.375
61
0.837838
40
259
4.925
0.475
0.335025
0.258883
0.243655
0
0
0
0
0
0
0
0
0.084942
259
7
62
37
0.831224
0
0
0
0
0
0.057915
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
9dee7613a9af7b5fef52de250c80f8aa9a6432e5
3,370
py
Python
pycrostates/utils/tests/test_utils.py
mscheltienne/pycrostates
be87adf69c94b2b179064f337acd8a49d01c305d
[ "BSD-3-Clause" ]
1
2021-12-14T09:58:57.000Z
2021-12-14T09:58:57.000Z
pycrostates/utils/tests/test_utils.py
mscheltienne/pycrostates
be87adf69c94b2b179064f337acd8a49d01c305d
[ "BSD-3-Clause" ]
null
null
null
pycrostates/utils/tests/test_utils.py
mscheltienne/pycrostates
be87adf69c94b2b179064f337acd8a49d01c305d
[ "BSD-3-Clause" ]
null
null
null
import pytest from mne import create_info from mne.io.constants import FIFF from pycrostates.io import ChInfo from pycrostates.utils import _compare_infos from pycrostates.utils._logs import logger, set_log_level set_log_level("INFO") logger.propagate = True def test_compare_infos(caplog): """Test _compare_info...
38.735632
76
0.695549
474
3,370
4.774262
0.160338
0.090146
0.068051
0.086611
0.745029
0.728237
0.718515
0.718515
0.718515
0.598321
0
0.02029
0.181009
3,370
86
77
39.186047
0.799638
0.064095
0
0.720588
0
0
0.22247
0
0
0
0
0
0.161765
1
0.014706
false
0
0.088235
0
0.102941
0
0
0
0
null
0
0
0
0
1
1
1
1
0
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
5
9dfb4ecbe2d4f443fdf5e8bd6bbaf096dc2de775
39
py
Python
tests/__init__.py
lowcloudnine/runinside
84011e3448dd5f1e4a094307eae0ce0834026b21
[ "MIT" ]
null
null
null
tests/__init__.py
lowcloudnine/runinside
84011e3448dd5f1e4a094307eae0ce0834026b21
[ "MIT" ]
1
2021-01-24T16:20:24.000Z
2021-01-24T16:20:24.000Z
tests/__init__.py
lowcloudnine/runinside
84011e3448dd5f1e4a094307eae0ce0834026b21
[ "MIT" ]
1
2021-01-20T05:45:51.000Z
2021-01-20T05:45:51.000Z
"""Unit test package for runinside."""
19.5
38
0.692308
5
39
5.4
1
0
0
0
0
0
0
0
0
0
0
0
0.128205
39
1
39
39
0.794118
0.820513
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
d181cfd6cf53762c539026d0329128beb2eb9a8e
3,625
py
Python
demo/person/tests/project/resources/person/controllers/test_legal_person_controllers.py
giovannifarlley/ms--fastapi-template
5bbd6903305db07cc18330ec86fb04ca518e9dab
[ "MIT" ]
24
2021-03-07T13:00:35.000Z
2022-02-11T03:41:51.000Z
demo/person/tests/project/resources/person/controllers/test_legal_person_controllers.py
giovannifarlley/ms--fastapi-template
5bbd6903305db07cc18330ec86fb04ca518e9dab
[ "MIT" ]
2
2021-05-15T01:05:17.000Z
2021-08-13T13:53:57.000Z
demo/person/tests/project/resources/person/controllers/test_legal_person_controllers.py
giovannifarlley/ms--fastapi-template
5bbd6903305db07cc18330ec86fb04ca518e9dab
[ "MIT" ]
4
2021-04-27T12:18:33.000Z
2021-10-03T23:43:23.000Z
import pytest from datetime import datetime from http import HTTPStatus as status from httpx import AsyncClient from tests.configurations.constants import API_URL from project.routers import app resource = "/person/legal/" _birthdate = str(datetime.strptime("1985-08-01", "%Y-%m-%d")) base_data = { "status": "act...
34.855769
103
0.722483
507
3,625
4.921105
0.185404
0.028858
0.07495
0.096994
0.786774
0.762725
0.752305
0.738677
0.731463
0.623246
0
0.026636
0.161103
3,625
103
104
35.194175
0.793818
0
0
0.454545
0
0
0.131034
0.053517
0
0
0
0
0.142857
1
0
false
0
0.077922
0
0.077922
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
d182c00902115ead2177e2cca16758c9b29aad22
216
py
Python
conformalmapping/unitdisk.py
TorbenFricke/cmtoolkit
f1bf1ec191fd9b20e6edcd3385c8b9fee1d638ca
[ "BSD-3-Clause" ]
16
2017-10-14T17:13:48.000Z
2022-01-11T22:19:45.000Z
conformalmapping/unitdisk.py
TorbenFricke/cmtoolkit
f1bf1ec191fd9b20e6edcd3385c8b9fee1d638ca
[ "BSD-3-Clause" ]
11
2015-05-11T08:02:42.000Z
2020-05-21T16:13:45.000Z
conformalmapping/unitdisk.py
TorbenFricke/cmtoolkit
f1bf1ec191fd9b20e6edcd3385c8b9fee1d638ca
[ "BSD-3-Clause" ]
3
2019-12-31T23:07:29.000Z
2021-03-08T02:05:38.000Z
from .disk import Disk from .circle import Circle def unitdisk(): """creates a unit disk region. d = unitdisk() Creates the unit disk region by d = disk(0, 1). """ return Disk(Circle(0, 1))
18
54
0.615741
32
216
4.15625
0.5
0.225564
0.210526
0
0
0
0
0
0
0
0
0.025316
0.268519
216
11
55
19.636364
0.816456
0.435185
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.5
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
0
0
0
5
d1c197dc84aee12443207b996d1eb7b7c74cd520
193
py
Python
venv/lib/python2.7/site-packages/requests_toolbelt/exceptions.py
LockScreen/Backend
42485a997f365172c7a63527f0df3b5707fd23f9
[ "MIT" ]
1
2016-04-07T12:16:09.000Z
2016-04-07T12:16:09.000Z
venv/lib/python2.7/site-packages/requests_toolbelt/exceptions.py
LockScreen/Backend
42485a997f365172c7a63527f0df3b5707fd23f9
[ "MIT" ]
null
null
null
venv/lib/python2.7/site-packages/requests_toolbelt/exceptions.py
LockScreen/Backend
42485a997f365172c7a63527f0df3b5707fd23f9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Collection of exceptions raised by requests-toolbelt.""" class StreamingError(Exception): """Used in :mod:`requests_toolbelt.downloadutils.stream`.""" pass
24.125
64
0.689119
21
193
6.285714
0.904762
0.242424
0
0
0
0
0
0
0
0
0
0.006024
0.139896
193
7
65
27.571429
0.789157
0.678756
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
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
0
0
0
0
0
5
d1e7440026064a1ebd84dd6bcd1e8c5b25539028
55
py
Python
python/testData/inspections/PyRedundantParenthesesInspection/YieldFrom.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/inspections/PyRedundantParenthesesInspection/YieldFrom.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/inspections/PyRedundantParenthesesInspection/YieldFrom.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
def method_name(in1): return (yield from func(in1))
27.5
33
0.709091
9
55
4.222222
0.888889
0
0
0
0
0
0
0
0
0
0
0.043478
0.163636
55
2
33
27.5
0.782609
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
0
1
1
0
0
5
06140dd897fec072f78630a9ee309548de2074b3
4,481
py
Python
tests/contracts/interop/test_binary.py
Degget1986/neo-mamba
da7312d5027f3e9b0e5421495d5c00915bdfd786
[ "MIT" ]
null
null
null
tests/contracts/interop/test_binary.py
Degget1986/neo-mamba
da7312d5027f3e9b0e5421495d5c00915bdfd786
[ "MIT" ]
null
null
null
tests/contracts/interop/test_binary.py
Degget1986/neo-mamba
da7312d5027f3e9b0e5421495d5c00915bdfd786
[ "MIT" ]
null
null
null
import unittest from neo3 import vm from tests.contracts.interop.utils import test_engine class BinaryInteropTestCase(unittest.TestCase): def test_serialization(self): engine = test_engine() engine.push(vm.IntegerStackItem(100)) engine.invoke_syscall_by_name("System.Binary.Serialize") ...
39.307018
82
0.667262
519
4,481
5.581888
0.169557
0.075941
0.098378
0.108733
0.808423
0.746634
0.746634
0.731446
0.622023
0.584743
0
0.021783
0.221379
4,481
113
83
39.654867
0.808541
0.023209
0
0.708333
0
0
0.107225
0.050983
0
0
0
0
0.197917
1
0.0625
false
0
0.03125
0
0.104167
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
0
0
0
0
0
0
5
ae182d4feefa4d891f2560e7d044273d7cdd9cfa
30
py
Python
Compiler Design Lab/ChocoPy_LLVM_Compiler/custom_tests/whilestmt.py
Abhishek-Aditya-bs/Lab-Projects-and-Assignments
fd2681a1c7453367a4df1790e58afb312f13998c
[ "MIT" ]
null
null
null
Compiler Design Lab/ChocoPy_LLVM_Compiler/custom_tests/whilestmt.py
Abhishek-Aditya-bs/Lab-Projects-and-Assignments
fd2681a1c7453367a4df1790e58afb312f13998c
[ "MIT" ]
null
null
null
Compiler Design Lab/ChocoPy_LLVM_Compiler/custom_tests/whilestmt.py
Abhishek-Aditya-bs/Lab-Projects-and-Assignments
fd2681a1c7453367a4df1790e58afb312f13998c
[ "MIT" ]
null
null
null
while True: printf("%d",1)
15
18
0.566667
5
30
3.4
1
0
0
0
0
0
0
0
0
0
0
0.041667
0.2
30
2
18
15
0.666667
0
0
0
0
0
0.064516
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
ae3c1457734fabc1f68ffe066404bdc8e7e1d777
131
py
Python
twister/accounts/admin.py
ultr4nerd/twister_project
1627e27ced781f6ea715edd178c82e00dc5e8775
[ "MIT" ]
null
null
null
twister/accounts/admin.py
ultr4nerd/twister_project
1627e27ced781f6ea715edd178c82e00dc5e8775
[ "MIT" ]
5
2021-03-18T22:29:40.000Z
2022-03-11T23:41:52.000Z
twister/accounts/admin.py
ultr4nerd/twister_project
1627e27ced781f6ea715edd178c82e00dc5e8775
[ "MIT" ]
null
null
null
"""Admin config for accounts app""" from django.contrib import admin from .models import Profile admin.site.register(Profile)
14.555556
35
0.763359
18
131
5.555556
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.145038
131
8
36
16.375
0.892857
0.221374
0
0
0
0
0
0
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
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
ae86d0679d61d6125135708ca69ca32e8acb5615
32
py
Python
plugins/uptime_plugin/__init__.py
StarryPy/StarryPy-Historic
b9dbd552b8c4631a5a8e9dda98b7ba447eca59da
[ "WTFPL" ]
38
2015-02-12T11:57:59.000Z
2018-11-15T16:03:45.000Z
plugins/uptime_plugin/__init__.py
StarryPy/StarryPy-Historic
b9dbd552b8c4631a5a8e9dda98b7ba447eca59da
[ "WTFPL" ]
68
2015-02-05T23:29:47.000Z
2017-12-27T08:26:25.000Z
plugins/uptime_plugin/__init__.py
StarryPy/StarryPy-Historic
b9dbd552b8c4631a5a8e9dda98b7ba447eca59da
[ "WTFPL" ]
21
2015-02-06T18:58:21.000Z
2017-12-24T20:08:59.000Z
from uptime import UptimePlugin
16
31
0.875
4
32
7
1
0
0
0
0
0
0
0
0
0
0
0
0.125
32
1
32
32
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
ae9c177d3942674ac9f5e057d337bbc8b66bcb46
46
py
Python
workspace/bat_test/c.py
Anylee2142/News_Rank_System
0185cf5cdbe709e27a8ec270733bef135ce32a89
[ "MIT" ]
null
null
null
workspace/bat_test/c.py
Anylee2142/News_Rank_System
0185cf5cdbe709e27a8ec270733bef135ce32a89
[ "MIT" ]
null
null
null
workspace/bat_test/c.py
Anylee2142/News_Rank_System
0185cf5cdbe709e27a8ec270733bef135ce32a89
[ "MIT" ]
null
null
null
import time print('completed !') time.sleep(1)
15.333333
20
0.73913
7
46
4.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0.02381
0.086957
46
3
21
15.333333
0.785714
0
0
0
0
0
0.234043
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
882d44aaf1ae5054b13e6943021fd581bb5286f8
2,800
py
Python
test/test_rnn/test_learner.py
DwangoMediaVillage/marltas_core
91a5caf75c2350a31d47d1b0408c817644a0d41e
[ "MIT" ]
9
2021-02-15T08:20:31.000Z
2022-01-04T09:29:35.000Z
test/test_rnn/test_learner.py
DwangoMediaVillage/marltas_core
91a5caf75c2350a31d47d1b0408c817644a0d41e
[ "MIT" ]
null
null
null
test/test_rnn/test_learner.py
DwangoMediaVillage/marltas_core
91a5caf75c2350a31d47d1b0408c817644a0d41e
[ "MIT" ]
1
2021-09-21T16:11:17.000Z
2021-09-21T16:11:17.000Z
import tempfile from pathlib import Path from dqn import episodic_curiosity from dqn.learner import LearnerConfig from dqn.rnn.config import IntrinsicRewardConfig, RNNConfigBase from dqn.rnn.datum import Batch, SampleFromBuffer from dqn.rnn.learner import Learner from dqn.rnn.policy import Policy def test_vector_obs...
45.901639
120
0.749643
324
2,800
6.182099
0.194444
0.127309
0.051922
0.047429
0.750874
0.750874
0.713929
0.713929
0.710934
0.678482
0
0.004281
0.165714
2,800
60
121
46.666667
0.853168
0
0
0.425532
0
0
0
0
0
0
0
0
0.12766
1
0.085106
false
0
0.170213
0
0.255319
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
883f862cc0c20708c1aae1c0650d64555ee69dd7
203
py
Python
backend/api/admin/actions/export_label.py
james687/disfactory-backend
9129e40e5a21f1e9e16bfc149b08b3758865be86
[ "MIT" ]
35
2020-01-02T10:52:49.000Z
2022-03-18T06:01:15.000Z
backend/api/admin/actions/export_label.py
james687/disfactory-backend
9129e40e5a21f1e9e16bfc149b08b3758865be86
[ "MIT" ]
348
2019-10-09T12:58:42.000Z
2022-03-30T14:17:51.000Z
backend/api/admin/actions/export_label.py
james687/disfactory-backend
9129e40e5a21f1e9e16bfc149b08b3758865be86
[ "MIT" ]
19
2019-10-09T12:51:11.000Z
2021-12-12T01:02:32.000Z
from api.utils import set_function_attributes class ExportLabelMixin: @set_function_attributes(short_description="下載標籤及交寄執據") def export_labels_as_docx(self, request, queryset): return
25.375
59
0.788177
24
203
6.333333
0.875
0.144737
0.276316
0
0
0
0
0
0
0
0
0
0.147783
203
7
60
29
0.878613
0
0
0
0
0
0.044335
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.8
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
0
0
0
1
1
0
0
5
8850bf212374a055c68a2770a2a9e0dcf5b7d17d
97
py
Python
main/admin.py
NikOneZ1/MarkovChainText
894f3de75c2a5781f95c95557e40fbfbe29ef051
[ "MIT" ]
1
2022-01-20T17:26:29.000Z
2022-01-20T17:26:29.000Z
main/admin.py
NikOneZ1/MarkovChainText
894f3de75c2a5781f95c95557e40fbfbe29ef051
[ "MIT" ]
7
2022-01-11T16:24:12.000Z
2022-01-21T23:05:19.000Z
main/admin.py
NikOneZ1/MarkovChainText
894f3de75c2a5781f95c95557e40fbfbe29ef051
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import PresetText admin.site.register(PresetText)
19.4
32
0.835052
13
97
6.230769
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.103093
97
4
33
24.25
0.931034
0
0
0
0
0
0
0
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
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
8877db3ef29712d02e9772bcf5582727bc389b58
181
py
Python
storm/request/parameters/__init__.py
Rud356/Storm
18f8b7ac89babf9252da28c39c2cc84087f2afaf
[ "Apache-2.0" ]
1
2022-03-18T18:14:34.000Z
2022-03-18T18:14:34.000Z
storm/request/parameters/__init__.py
Rud356/Storm
18f8b7ac89babf9252da28c39c2cc84087f2afaf
[ "Apache-2.0" ]
1
2021-12-23T19:39:27.000Z
2021-12-23T19:39:27.000Z
storm/request/parameters/__init__.py
Rud356/Storm
18f8b7ac89babf9252da28c39c2cc84087f2afaf
[ "Apache-2.0" ]
null
null
null
from .base_request_parameter import BaseRequestParameter from .cookie import CookieParameter from .query import QueryParameter from .url import URLParameter, CompilableUrlParameter
36.2
56
0.878453
19
181
8.263158
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.093923
181
4
57
45.25
0.957317
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
887bb6ae1f2b3650ee4214e41caa5c9edfeee145
119
py
Python
sphinx/__main__.py
daobook/sphinx
ef8daca1f9a82ede9b4b0b5cde93f3414cee3dfe
[ "BSD-2-Clause" ]
null
null
null
sphinx/__main__.py
daobook/sphinx
ef8daca1f9a82ede9b4b0b5cde93f3414cee3dfe
[ "BSD-2-Clause" ]
1,662
2015-01-02T11:45:27.000Z
2015-01-03T12:21:29.000Z
sphinx/__main__.py
daobook/sphinx
ef8daca1f9a82ede9b4b0b5cde93f3414cee3dfe
[ "BSD-2-Clause" ]
null
null
null
"""The Sphinx documentation toolchain.""" import sys from sphinx.cmd.build import main sys.exit(main(sys.argv[1:]))
14.875
41
0.731092
18
119
4.833333
0.722222
0.16092
0
0
0
0
0
0
0
0
0
0.009524
0.117647
119
7
42
17
0.819048
0.294118
0
0
0
0
0
0
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
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
88b6b9d42626b0e473c809b983d97dc73b946078
27
py
Python
model/__init__.py
Impavidity/text-classification-cnn
70e4a22802c568870ecf007eae557c58c9379e03
[ "MIT" ]
null
null
null
model/__init__.py
Impavidity/text-classification-cnn
70e4a22802c568870ecf007eae557c58c9379e03
[ "MIT" ]
null
null
null
model/__init__.py
Impavidity/text-classification-cnn
70e4a22802c568870ecf007eae557c58c9379e03
[ "MIT" ]
null
null
null
from model.cnnText import *
27
27
0.814815
4
27
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
27
1
27
27
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
ee20963803e059cad9c58c94839787ffec56ef90
98
wsgi
Python
app.wsgi
ahmedwaqas92/jwacademicsweb
d8f98e5bc3af7ba15bd285e1e7dab411459586da
[ "MIT" ]
2
2022-03-18T05:31:46.000Z
2022-03-19T11:27:16.000Z
app.wsgi
ahmedwaqas92/jwacademicsweb
d8f98e5bc3af7ba15bd285e1e7dab411459586da
[ "MIT" ]
null
null
null
app.wsgi
ahmedwaqas92/jwacademicsweb
d8f98e5bc3af7ba15bd285e1e7dab411459586da
[ "MIT" ]
1
2022-03-20T16:50:43.000Z
2022-03-20T16:50:43.000Z
import sys sys.path.insert(0, '/var/www/html/jwacademicsweb') from app import app as application
19.6
50
0.77551
16
98
4.75
0.8125
0
0
0
0
0
0
0
0
0
0
0.011494
0.112245
98
4
51
24.5
0.862069
0
0
0
0
0
0.285714
0.285714
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
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
ee24534286c141193db422290085673793296c39
149
py
Python
blog/admin.py
xk-wang/django_blog
fdaf826584e9791df8584801b250e052a993661c
[ "MIT" ]
null
null
null
blog/admin.py
xk-wang/django_blog
fdaf826584e9791df8584801b250e052a993661c
[ "MIT" ]
null
null
null
blog/admin.py
xk-wang/django_blog
fdaf826584e9791df8584801b250e052a993661c
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Post, Column # Register your models here. admin.site.register(Post) admin.site.register(Column)
24.833333
32
0.805369
22
149
5.454545
0.545455
0.15
0.283333
0
0
0
0
0
0
0
0
0
0.107383
149
6
33
24.833333
0.902256
0.174497
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
5
c98c87ca4fbd5cdfada20281315a92b089758dba
129
py
Python
index/admin.py
ISeaTeL/ISeaTeL_Cup_Site
df22d993db2649a3eb118177bdd13358e3036e59
[ "MIT" ]
null
null
null
index/admin.py
ISeaTeL/ISeaTeL_Cup_Site
df22d993db2649a3eb118177bdd13358e3036e59
[ "MIT" ]
null
null
null
index/admin.py
ISeaTeL/ISeaTeL_Cup_Site
df22d993db2649a3eb118177bdd13358e3036e59
[ "MIT" ]
null
null
null
from django.contrib import admin # Register your models here. from index.models import Bulletin admin.site.register(Bulletin)
16.125
33
0.806202
18
129
5.777778
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.131783
129
7
34
18.428571
0.928571
0.20155
0
0
0
0
0
0
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
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
c9de1bf48f37e5cb0fdf36202f56abebf8c78c48
419
py
Python
app/models/models.py
igmalta/ml-classification-api
3fd2ebc7b656ed879b126931d40b015ac8588fb7
[ "MIT" ]
null
null
null
app/models/models.py
igmalta/ml-classification-api
3fd2ebc7b656ed879b126931d40b015ac8588fb7
[ "MIT" ]
null
null
null
app/models/models.py
igmalta/ml-classification-api
3fd2ebc7b656ed879b126931d40b015ac8588fb7
[ "MIT" ]
null
null
null
# app/models/models.py # Document models from mongoengine import Document, StringField class User(Document): """User model""" # User register fields email = StringField(required=True) first_name = StringField(required=True) last_name = StringField(required=True) password = StringField(requir...
24.647059
57
0.711217
48
419
6.145833
0.583333
0.257627
0.311864
0.183051
0
0
0
0
0
0
0
0
0.186158
419
16
58
26.1875
0.865103
0.288783
0
0
0
0
0.041522
0
0
0
0
0
0
1
0
false
0.142857
0.142857
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
5
a013fdfadc6567800c3ef6a253cb95a10354b95b
2,404
py
Python
lib/clckwrkbdgr/test/test_sql.py
umi0451/dotfiles
c618811be788d995fe01f6a16b355828d7efdd36
[ "MIT" ]
2
2017-04-16T14:54:17.000Z
2020-11-12T04:15:00.000Z
lib/clckwrkbdgr/test/test_sql.py
clckwrkbdgr/dotfiles
292dac8c3211248b490ddbae55fe2adfffcfcf58
[ "MIT" ]
null
null
null
lib/clckwrkbdgr/test/test_sql.py
clckwrkbdgr/dotfiles
292dac8c3211248b490ddbae55fe2adfffcfcf58
[ "MIT" ]
null
null
null
import unittest unittest.defaultTestLoader.testMethodPrefix = 'should' from clckwrkbdgr import sql class TestSqlTableRow(unittest.TestCase): def should_representt_row_as_string(self): row = sql.Row([1, 2, 'foo'], ['First', 'Second', 'Third']) self.assertEqual(str(row), "{'First':1, 'Second':2, 'Third':'foo'}") ...
41.448276
81
0.649334
347
2,404
4.391931
0.146974
0.226378
0.212598
0.07874
0.768373
0.714567
0.694226
0.651575
0.633858
0.603675
0
0.025202
0.125208
2,404
57
82
42.175439
0.699477
0
0
0.339286
0
0
0.152246
0
0
0
0
0
0.553571
1
0.160714
false
0
0.035714
0
0.214286
0
0
0
0
null
1
1
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
5
a01f89c5695adffbebf944ced2feef584fdbe75d
194
py
Python
dietr/models/pantry.py
essoplerck/dietr
982636c1fea848cf6b90c036dc6ca8a4f37f68a2
[ "MIT" ]
1
2020-09-25T03:53:46.000Z
2020-09-25T03:53:46.000Z
dietr/models/pantry.py
essoplerck/dietr
982636c1fea848cf6b90c036dc6ca8a4f37f68a2
[ "MIT" ]
null
null
null
dietr/models/pantry.py
essoplerck/dietr
982636c1fea848cf6b90c036dc6ca8a4f37f68a2
[ "MIT" ]
null
null
null
class PantryModel: def get_ingredients(self, user_id): """Get all ingredients from in pantry and return a list of instances of the ingredient class. """ pass
27.714286
76
0.634021
25
194
4.84
0.84
0
0
0
0
0
0
0
0
0
0
0
0.304124
194
6
77
32.333333
0.896296
0.463918
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0
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
0
1
0
0
1
0
0
5
4e645593cf136c6938e2ec797829bceeb1408576
6,441
py
Python
geo_agent/test/class_A.py
kevjp/openstreetmap-carto
be30cfe8d73f78cb4b5ba9acaaf42a942c70270d
[ "CC0-1.0" ]
null
null
null
geo_agent/test/class_A.py
kevjp/openstreetmap-carto
be30cfe8d73f78cb4b5ba9acaaf42a942c70270d
[ "CC0-1.0" ]
null
null
null
geo_agent/test/class_A.py
kevjp/openstreetmap-carto
be30cfe8d73f78cb4b5ba9acaaf42a942c70270d
[ "CC0-1.0" ]
null
null
null
import psycopg2 from shapely import geometry, ops, wkb import time import pyproj import numpy as np def ways_tab(convert_osm_nodes_sql_2_numpy, convert_osm_ways_vertices_sql_2_numpy): # Connect to database print("I was here") conn = psycopg2.connect(dbname = "london_routing", user = "kevinryan", host = "...
36.389831
276
0.613259
932
6,441
3.992489
0.150215
0.034937
0.034937
0.045418
0.819672
0.777748
0.747111
0.737436
0.6767
0.639076
0
0.029256
0.235833
6,441
176
277
36.596591
0.726737
0.557522
0
0.227273
0
0.022727
0.127714
0.009201
0
0
0
0
0
1
0.068182
false
0
0.113636
0
0.25
0.022727
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
4e6dde1c0d1ea674b59e3e19f32ef2791f22bc3b
127
py
Python
library/.config/calibre/conversion/page_setup.py
funkeyfreak/calibre-drm-stripper
90813b644c86543fb423b4fd664685a02b43e525
[ "Apache-2.0" ]
null
null
null
library/.config/calibre/conversion/page_setup.py
funkeyfreak/calibre-drm-stripper
90813b644c86543fb423b4fd664685a02b43e525
[ "Apache-2.0" ]
null
null
null
library/.config/calibre/conversion/page_setup.py
funkeyfreak/calibre-drm-stripper
90813b644c86543fb423b4fd664685a02b43e525
[ "Apache-2.0" ]
1
2022-02-05T00:18:21.000Z
2022-02-05T00:18:21.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:a07475e365d5c7b75a938ac47a51edd365885de6f6a6e33216decf0ec2d247c4 size 43
31.75
75
0.88189
13
127
8.615385
1
0
0
0
0
0
0
0
0
0
0
0.371901
0.047244
127
3
76
42.333333
0.553719
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
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
5
4e70dd3b203202feae01a64d17e89a8cc3a94eba
54
py
Python
load_rmbg_model.py
VincentSchmid/AOE_Shirts-api
a4566809199618a5d40af5182e3009cdf275ebd5
[ "MIT" ]
1
2021-11-24T12:17:25.000Z
2021-11-24T12:17:25.000Z
load_rmbg_model.py
VincentSchmid/AOE_Shirts
a4566809199618a5d40af5182e3009cdf275ebd5
[ "MIT" ]
null
null
null
load_rmbg_model.py
VincentSchmid/AOE_Shirts
a4566809199618a5d40af5182e3009cdf275ebd5
[ "MIT" ]
null
null
null
from rembg.u2net.detect import load_model load_model()
27
41
0.851852
9
54
4.888889
0.777778
0.409091
0
0
0
0
0
0
0
0
0
0.02
0.074074
54
2
42
27
0.86
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
14c8c764ee6bc7c775a2566e7cb3895e27e0a8f7
44
py
Python
ciclo1_python/upb/MisionTIC_UPB_Ciclo1/Python-coding/Ejemplos-Formador/copia_para_VisualStudioCode_mision-tic-2022/07-Python-101-Formato-salida-FelipeEscallon.py
felipeescallon/mision_tic_2022
20496fc40b18d2e98114d6362928f34fde41aaae
[ "CC0-1.0" ]
7
2021-07-05T21:25:50.000Z
2021-11-09T11:09:41.000Z
ciclo1_python/upb/MisionTIC_UPB_Ciclo1/Python-coding/Ejemplos-Formador/copia_para_VisualStudioCode_mision-tic-2022/07-Python-101-Formato-salida-FelipeEscallon.py
felipeescallon/mision_tic_2022
20496fc40b18d2e98114d6362928f34fde41aaae
[ "CC0-1.0" ]
null
null
null
ciclo1_python/upb/MisionTIC_UPB_Ciclo1/Python-coding/Ejemplos-Formador/copia_para_VisualStudioCode_mision-tic-2022/07-Python-101-Formato-salida-FelipeEscallon.py
felipeescallon/mision_tic_2022
20496fc40b18d2e98114d6362928f34fde41aaae
[ "CC0-1.0" ]
null
null
null
#07-Python-101-Formato-salida-FelipeEscallon
44
44
0.863636
6
44
6.333333
1
0
0
0
0
0
0
0
0
0
0
0.113636
0
44
1
44
44
0.75
0.977273
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
14d7577b38f85e4cb2bed56a69c79ece3f99f89f
52
py
Python
tracki/src/infrastructure/exceptions/shift.py
rok-povsic/Tracki
f92fec62fa66e87fa6feb509142f09cd548c570a
[ "MIT" ]
null
null
null
tracki/src/infrastructure/exceptions/shift.py
rok-povsic/Tracki
f92fec62fa66e87fa6feb509142f09cd548c570a
[ "MIT" ]
null
null
null
tracki/src/infrastructure/exceptions/shift.py
rok-povsic/Tracki
f92fec62fa66e87fa6feb509142f09cd548c570a
[ "MIT" ]
null
null
null
class NoShiftsPresentException(Exception): pass
17.333333
42
0.807692
4
52
10.5
1
0
0
0
0
0
0
0
0
0
0
0
0.134615
52
2
43
26
0.933333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
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
1
0
0
0
0
0
5
093a38d3285a9e2e563e6d4d62e7577902afa955
44
py
Python
src/autoinfo/decoders/errors.py
JeyKip/autoinfo-scrapper
ca0cb87b1d9486b71928fb08df734fc1413b7967
[ "MIT" ]
null
null
null
src/autoinfo/decoders/errors.py
JeyKip/autoinfo-scrapper
ca0cb87b1d9486b71928fb08df734fc1413b7967
[ "MIT" ]
null
null
null
src/autoinfo/decoders/errors.py
JeyKip/autoinfo-scrapper
ca0cb87b1d9486b71928fb08df734fc1413b7967
[ "MIT" ]
null
null
null
class HexDecodingError(Exception): pass
14.666667
34
0.772727
4
44
8.5
1
0
0
0
0
0
0
0
0
0
0
0
0.159091
44
2
35
22
0.918919
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
093fd533a0862c09fbc718d58b8c0088239a51ff
431
py
Python
src/pyinterp/tests/test_cf.py
CNES/pangeo-pyinterp
5f75f62a6c681db89c5aa8c74e43fc04a77418c3
[ "BSD-3-Clause" ]
67
2019-07-09T09:10:22.000Z
2022-03-01T09:46:35.000Z
src/pyinterp/tests/test_cf.py
CNES/pangeo-pyinterp
5f75f62a6c681db89c5aa8c74e43fc04a77418c3
[ "BSD-3-Clause" ]
8
2019-07-15T13:54:31.000Z
2021-06-28T05:06:34.000Z
src/pyinterp/tests/test_cf.py
CNES/pangeo-pyinterp
5f75f62a6c681db89c5aa8c74e43fc04a77418c3
[ "BSD-3-Clause" ]
7
2019-07-15T17:28:16.000Z
2022-01-19T19:43:47.000Z
# Copyright (c) 2021 CNES # # All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. import pyinterp.cf def test_longitude(): assert isinstance(pyinterp.cf.AxisLongitudeUnit().units, list) def test_latitude(): assert isinstance(pyinterp.cf.Ax...
23.944444
66
0.74942
60
431
5.333333
0.683333
0.125
0.225
0.24375
0
0
0
0
0
0
0
0.010929
0.150812
431
17
67
25.352941
0.863388
0.329466
0
0
0
0
0
0
0
0
0
0
0.428571
1
0.428571
true
0
0.142857
0
0.571429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
0
0
0
0
5
11a014491a39e043c8dfb48751757a39221dea3c
34
py
Python
project/server/auth/__init__.py
InStateTeam/virtual-identities
91af9f8f9aa709a77360d608e29ae9969fc0e098
[ "MIT" ]
267
2017-01-10T09:01:55.000Z
2022-03-23T02:59:31.000Z
project/server/auth/__init__.py
InStateTeam/virtual-identities
91af9f8f9aa709a77360d608e29ae9969fc0e098
[ "MIT" ]
39
2019-03-13T05:40:40.000Z
2021-06-25T15:17:43.000Z
project/server/auth/__init__.py
InStateTeam/virtual-identities
91af9f8f9aa709a77360d608e29ae9969fc0e098
[ "MIT" ]
199
2016-12-13T20:44:01.000Z
2022-03-30T08:57:15.000Z
# project/server/auth/__init__.py
17
33
0.794118
5
34
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.058824
34
1
34
34
0.71875
0.911765
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
11bd057a9cd7de84419ef0ffaf1ece4a575bf92e
302
py
Python
retriever/pipeline.py
GaiYu0/learning_to_retrieve_reasoning_paths
f83c7a8f707c62d51b749716b7afc01e9cb9d737
[ "MIT" ]
null
null
null
retriever/pipeline.py
GaiYu0/learning_to_retrieve_reasoning_paths
f83c7a8f707c62d51b749716b7afc01e9cb9d737
[ "MIT" ]
null
null
null
retriever/pipeline.py
GaiYu0/learning_to_retrieve_reasoning_paths
f83c7a8f707c62d51b749716b7afc01e9cb9d737
[ "MIT" ]
null
null
null
db = DocDB('models/hotpot_models/wiki_db/wiki_abst_only_hotpotqa_w_original_title.db') ranker = TfidfDocRanker(tfidf_path='models/hotpot_models/tfidf_retriever/wiki_open_full_new_db_intro_only-tfidf-ngram\=2-hash\=16777216-tokenizer\=simple.npz') data = json.load('data/hotpot/hotpot_train_v1.1.json')
75.5
159
0.84106
49
302
4.795918
0.673469
0.102128
0.153191
0
0
0
0
0
0
0
0
0.037543
0.029801
302
3
160
100.666667
0.764505
0
0
0
0
0.333333
0.751656
0.751656
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
11cb204e4b35088a579af7dc279f2120c980082d
119
py
Python
devtask/commands/extend_process.py
vecin2/em_automation
b65bc498cc7c366d06425e51aaf04b970d581050
[ "MIT" ]
null
null
null
devtask/commands/extend_process.py
vecin2/em_automation
b65bc498cc7c366d06425e51aaf04b970d581050
[ "MIT" ]
84
2018-09-15T21:36:23.000Z
2021-12-13T19:49:57.000Z
devtask/commands/extend_process.py
vecin2/em_automation
b65bc498cc7c366d06425e51aaf04b970d581050
[ "MIT" ]
null
null
null
from devtask.extend_process import main class ExtendProcessCommand(object): def run(self): return main()
17
39
0.722689
14
119
6.071429
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.201681
119
6
40
19.833333
0.894737
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
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
11cd27134b52d159bbf74c67f6e908940e49a3d0
140
py
Python
universities_api/admin.py
FahimSifnatul/world_universities
3406a1b701a0db597b5f899da7d6d84ca50d3c93
[ "MIT" ]
null
null
null
universities_api/admin.py
FahimSifnatul/world_universities
3406a1b701a0db597b5f899da7d6d84ca50d3c93
[ "MIT" ]
null
null
null
universities_api/admin.py
FahimSifnatul/world_universities
3406a1b701a0db597b5f899da7d6d84ca50d3c93
[ "MIT" ]
null
null
null
from django.contrib import admin # customs from .models import Universities # Register your models here. admin.site.register(Universities)
20
33
0.814286
18
140
6.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.121429
140
7
33
20
0.926829
0.242857
0
0
0
0
0
0
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
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
11f23e87af3ef69b00b7c5c5aadb48644f51e6eb
93
py
Python
blender_bindings/material_loader/shaders/source2_shaders/complex.py
anderlli0053/SourceIO
3c0c4839939ce698439987ac52154f89ee2f5341
[ "MIT" ]
199
2019-04-02T02:30:58.000Z
2022-03-30T21:29:49.000Z
bpy_utilities/material_loader/shaders/source2_shaders/complex.py
syborg64/SourceIO
e4ba86d801f518e192260af08ef533759c2e1cc3
[ "MIT" ]
113
2019-03-03T19:36:25.000Z
2022-03-31T19:44:05.000Z
bpy_utilities/material_loader/shaders/source2_shaders/complex.py
syborg64/SourceIO
e4ba86d801f518e192260af08ef533759c2e1cc3
[ "MIT" ]
38
2019-05-15T16:49:30.000Z
2022-03-22T03:40:43.000Z
from .vr_complex import VrComplex class Complex(VrComplex): SHADER: str = 'complex.vfx'
18.6
33
0.741935
12
93
5.666667
0.75
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.871795
0
0
0
0
0
0.117021
0
0
0
0
0
0
1
0
true
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
ee9b20b886373a6805e130f92b0bc180058d00c5
227
py
Python
map_matching/map_matcher.py
paperanonymous945/MapRec
5be48b02db855ce648d2674923a15c65afa90146
[ "MIT" ]
34
2019-11-21T12:48:20.000Z
2022-03-06T11:39:08.000Z
map_matching/map_matcher.py
paperanonymous945/MapRec
5be48b02db855ce648d2674923a15c65afa90146
[ "MIT" ]
1
2021-09-08T08:53:58.000Z
2021-09-08T08:53:58.000Z
map_matching/map_matcher.py
paperanonymous945/MapRec
5be48b02db855ce648d2674923a15c65afa90146
[ "MIT" ]
12
2020-06-29T13:43:12.000Z
2022-02-17T10:39:59.000Z
class MapMatcher: def __init__(self, rn, routing_weight='length'): self.rn = rn self.routing_weight = routing_weight def match(self, traj): pass def match_to_path(self, traj): pass
20.636364
52
0.61674
29
227
4.517241
0.482759
0.29771
0.183206
0
0
0
0
0
0
0
0
0
0.290749
227
10
53
22.7
0.813665
0
0
0.25
0
0
0.026432
0
0
0
0
0
0
1
0.375
false
0.25
0
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
5
ee9d78e21914794aaaf691fa3e5abbd2ff7867e8
113
py
Python
19/00/1/sub/Programmer.py
pylangstudy/201706
f1cc6af6b18e5bd393cda27f5166067c4645d4d3
[ "CC0-1.0" ]
null
null
null
19/00/1/sub/Programmer.py
pylangstudy/201706
f1cc6af6b18e5bd393cda27f5166067c4645d4d3
[ "CC0-1.0" ]
70
2017-06-01T11:02:51.000Z
2017-06-30T00:35:32.000Z
19/00/1/sub/Programmer.py
pylangstudy/201706
f1cc6af6b18e5bd393cda27f5166067c4645d4d3
[ "CC0-1.0" ]
null
null
null
import super.Human class Programmer(super.Human.Human): def programming(self): print('programming.')
22.6
36
0.707965
13
113
6.153846
0.692308
0.25
0
0
0
0
0
0
0
0
0
0
0.168142
113
4
37
28.25
0.851064
0
0
0
0
0
0.106195
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0.25
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
0
1
0
0
5
eea00b0f4cdb340f8d3a838428a74222b2499a5e
120
py
Python
batproject/batapp/admin.py
JaL11/BAT
ed4bccef3c70ec01064ebd0c26933853d4f95355
[ "MIT" ]
1
2020-07-16T14:29:55.000Z
2020-07-16T14:29:55.000Z
batproject/batapp/admin.py
JaL11/BAT
ed4bccef3c70ec01064ebd0c26933853d4f95355
[ "MIT" ]
63
2020-06-04T14:41:18.000Z
2020-07-29T18:06:14.000Z
batproject/batapp/admin.py
JaL11/BAT
ed4bccef3c70ec01064ebd0c26933853d4f95355
[ "MIT" ]
6
2020-06-06T13:12:35.000Z
2020-08-28T20:25:51.000Z
from django.contrib import admin # Register your models here. from .models import Picture admin.site.register(Picture)
20
32
0.808333
17
120
5.705882
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.125
120
5
33
24
0.92381
0.216667
0
0
0
0
0
0
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
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
e1141ee496f7d25b97066abe088f08c00bcc1561
69
py
Python
rasa_exp/core/__init__.py
shfshf/rasa_exp
dd6db46c14c36f0ffe9602551836af43cebcfead
[ "Apache-2.0" ]
17
2019-07-02T05:27:33.000Z
2021-11-21T08:03:51.000Z
rasa_contrib/core/__init__.py
howl-anderson/rasa_nlu_addons
fea3b818a343f1458d7cf15a4d9063464a304b19
[ "Apache-2.0" ]
13
2019-12-23T18:15:45.000Z
2022-03-11T23:50:37.000Z
rasa_contrib/core/__init__.py
howl-anderson/rasa_nlu_addons
fea3b818a343f1458d7cf15a4d9063464a304b19
[ "Apache-2.0" ]
3
2019-09-10T08:42:33.000Z
2020-10-19T15:48:52.000Z
from rasa_contrib.core.policies import StackedBilstmTensorFlowPolicy
34.5
68
0.913043
7
69
8.857143
1
0
0
0
0
0
0
0
0
0
0
0
0.057971
69
1
69
69
0.953846
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
e12aff8890b9005c632edc75a06ea457afa8c429
421
py
Python
examples/no_output/just_code.py
andriyor/sphinx-gallery
cc53540162613850c5bb19fa1172a1be960b1484
[ "BSD-3-Clause" ]
309
2015-01-18T23:00:29.000Z
2022-03-24T15:27:51.000Z
examples/no_output/just_code.py
andriyor/sphinx-gallery
cc53540162613850c5bb19fa1172a1be960b1484
[ "BSD-3-Clause" ]
891
2015-01-04T19:45:44.000Z
2022-03-31T02:36:49.000Z
examples/no_output/just_code.py
andriyor/sphinx-gallery
cc53540162613850c5bb19fa1172a1be960b1484
[ "BSD-3-Clause" ]
197
2015-01-27T13:14:14.000Z
2022-03-28T20:16:39.000Z
# -*- coding: utf-8 -*- """ A short Python script ===================== This demonstrates an example ``.py`` file that is not executed when gallery is generated (see :ref:`build_pattern`) but nevertheless gets included as an example. Note that no output is capture as this file is not executed. """ # Code source: Ósca...
28.066667
78
0.698337
64
421
4.5
0.796875
0.0625
0.090278
0
0
0
0
0
0
0
0
0.011331
0.16152
421
14
79
30.071429
0.804533
0.80285
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
5
011580ab06c019bfc68258734a660d65a62f621d
98
py
Python
senko/l10n/__init__.py
thatoneolib/senko
686d768f8bc0c69a874dba180abb85049ff473b9
[ "MIT" ]
null
null
null
senko/l10n/__init__.py
thatoneolib/senko
686d768f8bc0c69a874dba180abb85049ff473b9
[ "MIT" ]
null
null
null
senko/l10n/__init__.py
thatoneolib/senko
686d768f8bc0c69a874dba180abb85049ff473b9
[ "MIT" ]
null
null
null
from .locale import Locale, NullLocale from .locales import Locales from .mixin import LocaleMixin
32.666667
38
0.836735
13
98
6.307692
0.538462
0
0
0
0
0
0
0
0
0
0
0
0.122449
98
3
39
32.666667
0.953488
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
012e87241e7746c6eb99042c67af58d0a59a51e0
30
py
Python
deepvoice3_pytorch/version.py
faixan-khan/accent_control
24dcb1568d74228f8093245bb3268cc572b90b53
[ "MIT" ]
null
null
null
deepvoice3_pytorch/version.py
faixan-khan/accent_control
24dcb1568d74228f8093245bb3268cc572b90b53
[ "MIT" ]
null
null
null
deepvoice3_pytorch/version.py
faixan-khan/accent_control
24dcb1568d74228f8093245bb3268cc572b90b53
[ "MIT" ]
null
null
null
__version__ = '0.1.1+897f31e'
15
29
0.7
5
30
3.4
0.8
0
0
0
0
0
0
0
0
0
0
0.296296
0.1
30
1
30
30
0.333333
0
0
0
0
0
0.433333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
0
0
0
0
0
0
0
0
0
0
0
0
0
5
0141c8d8c09d035f19b7360ad29ac27734cf9513
171
py
Python
bin/iamonds/hexiamonds-4x10-long-hex.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
null
null
null
bin/iamonds/hexiamonds-4x10-long-hex.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
null
null
null
bin/iamonds/hexiamonds-4x10-long-hex.py
tiwo/puzzler
7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e
[ "Intel" ]
1
2022-01-02T16:54:14.000Z
2022-01-02T16:54:14.000Z
#!/usr/bin/env python # $Id$ """856 solutions""" import puzzler from puzzler.puzzles.hexiamonds import Hexiamonds4x10LongHexagon puzzler.run(Hexiamonds4x10LongHexagon)
17.1
64
0.795322
18
171
7.555556
0.777778
0
0
0
0
0
0
0
0
0
0
0.058065
0.093567
171
9
65
19
0.819355
0.22807
0
0
0
0
0
0
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
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
018a475f9604a3598a4c9e551c3d0543cf048471
174
py
Python
tasks/html-decorator/task.py
dzbrozek/interview-tasks
552bf7f0652ec34b57d961cc59d0be14216b18eb
[ "MIT" ]
null
null
null
tasks/html-decorator/task.py
dzbrozek/interview-tasks
552bf7f0652ec34b57d961cc59d0be14216b18eb
[ "MIT" ]
null
null
null
tasks/html-decorator/task.py
dzbrozek/interview-tasks
552bf7f0652ec34b57d961cc59d0be14216b18eb
[ "MIT" ]
null
null
null
def html_tag(): # write body of decorator pass @html_tag('p') def foobar(): return 'foobar' if __name__ == "__main__": assert foobar() == '<p>foobar</p>'
13.384615
38
0.591954
23
174
4.043478
0.652174
0.150538
0
0
0
0
0
0
0
0
0
0
0.235632
174
12
39
14.5
0.699248
0.132184
0
0
0
0
0.187919
0
0
0
0
0
0.142857
1
0.285714
true
0.142857
0
0.142857
0.428571
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
1
0
1
0
0
0
5
6d73e91230e44532ab62b4795b61b091812c9cbc
10,421
py
Python
sdk/python/pulumi_minio/s3_bucket.py
pulumi/pulumi-minio
8c95b8c5680b6e063e3e5b90365ab7a31f4733bd
[ "ECL-2.0", "Apache-2.0" ]
1
2021-08-13T17:29:02.000Z
2021-08-13T17:29:02.000Z
sdk/python/pulumi_minio/s3_bucket.py
pulumi/pulumi-minio
8c95b8c5680b6e063e3e5b90365ab7a31f4733bd
[ "ECL-2.0", "Apache-2.0" ]
26
2021-06-30T22:17:37.000Z
2022-03-31T15:33:28.000Z
sdk/python/pulumi_minio/s3_bucket.py
pulumi/pulumi-minio
8c95b8c5680b6e063e3e5b90365ab7a31f4733bd
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
37.351254
134
0.631513
1,177
10,421
5.282923
0.119796
0.077839
0.122226
0.109682
0.748311
0.723223
0.708106
0.676584
0.649566
0.604214
0
0.004264
0.257269
10,421
278
135
37.485612
0.799096
0.149026
0
0.721053
1
0
0.086839
0.003399
0
0
0
0
0
1
0.157895
false
0.005263
0.026316
0.073684
0.278947
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
6d923e63878cd464cdf6ea1f299ae5e0ad1032f8
206
py
Python
login_rest/api/urls.py
noctilukkas/api-login-token-drf
6f15571da8ecaf4588674b1e59dbe25c7520cc28
[ "MIT" ]
null
null
null
login_rest/api/urls.py
noctilukkas/api-login-token-drf
6f15571da8ecaf4588674b1e59dbe25c7520cc28
[ "MIT" ]
null
null
null
login_rest/api/urls.py
noctilukkas/api-login-token-drf
6f15571da8ecaf4588674b1e59dbe25c7520cc28
[ "MIT" ]
null
null
null
from django.urls import path from .views import PersonaList urlpatterns = [ path('persona/', PersonaList.as_view(), name='persona_list'), path('tuvieja/', PersonaList.as_view(), name='tuvieja'), ]
25.75
65
0.708738
25
206
5.72
0.56
0.181818
0.237762
0.293706
0
0
0
0
0
0
0
0
0.131068
206
7
66
29.428571
0.798883
0
0
0
0
0
0.169903
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
0
5
6da0ef9209e4743e6a0a457e2dbb7c41d6f78bf0
104
py
Python
acmicpc/2935.py
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/2935.py
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/2935.py
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
a = int(input()) t = input() b = int(input()) if t == '*': print(a*b) elif t == '+': print(a+b)
13
16
0.442308
18
104
2.555556
0.444444
0.347826
0.304348
0.347826
0
0
0
0
0
0
0
0
0.259615
104
7
17
14.857143
0.597403
0
0
0
0
0
0.019231
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
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
0
0
5
6df3f1016ae723a7eeb3a51c4f056dbe0bed65d4
29
py
Python
Lib/test/test_import/data/circular_imports/indirect.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
1
2018-06-21T18:21:24.000Z
2018-06-21T18:21:24.000Z
Lib/test/test_import/data/circular_imports/indirect.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
Lib/test/test_import/data/circular_imports/indirect.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
z . zaimportuj basic, basic2
14.5
28
0.758621
4
29
5.5
1
0
0
0
0
0
0
0
0
0
0
0.041667
0.172414
29
1
29
29
0.875
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
1
null
null
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
1
0
0
0
1
0
0
0
0
5
0993c0a1e7d5e798e6b8aa5e8b02a123408ab805
59
py
Python
deep_utils/utils/utils/__init__.py
dornasabet/deep_utils
be61b36ea5b3219831e9f2a364fbd4a63858abed
[ "MIT" ]
null
null
null
deep_utils/utils/utils/__init__.py
dornasabet/deep_utils
be61b36ea5b3219831e9f2a364fbd4a63858abed
[ "MIT" ]
null
null
null
deep_utils/utils/utils/__init__.py
dornasabet/deep_utils
be61b36ea5b3219831e9f2a364fbd4a63858abed
[ "MIT" ]
null
null
null
from .main import shift_lst, dictnamedtuple, easy_argparse
29.5
58
0.847458
8
59
6
1
0
0
0
0
0
0
0
0
0
0
0
0.101695
59
1
59
59
0.90566
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
0997d4db5bfba66e2cc1e01edfe1217ec0276a27
162
py
Python
project/main/tests.py
Dima12101/TestTravis
0bda2a7593a413e03c12343c00e1ceaae0ce3ab9
[ "Apache-2.0" ]
null
null
null
project/main/tests.py
Dima12101/TestTravis
0bda2a7593a413e03c12343c00e1ceaae0ce3ab9
[ "Apache-2.0" ]
5
2021-03-19T02:58:59.000Z
2022-02-10T08:58:41.000Z
project/main/tests.py
Dima12101/TestTravis
0bda2a7593a413e03c12343c00e1ceaae0ce3ab9
[ "Apache-2.0" ]
null
null
null
from django.test import TestCase class Test(TestCase): def setUp(self): self.value = 6 def test(self): self.assertEqual(self.value, 6)
16.2
39
0.635802
22
162
4.681818
0.545455
0.15534
0.194175
0
0
0
0
0
0
0
0
0.016667
0.259259
162
9
40
18
0.841667
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.333333
false
0
0.166667
0
0.666667
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
1
0
0
0
0
1
0
0
5
09ac90f7e9a182461fa4fa7a877be80f0f5cb7ba
283
py
Python
tests/conftest.py
HeadHaus/Skeema
fc0faf13afad2c95b8943eaa3bfc2cc23b7de003
[ "MIT" ]
null
null
null
tests/conftest.py
HeadHaus/Skeema
fc0faf13afad2c95b8943eaa3bfc2cc23b7de003
[ "MIT" ]
null
null
null
tests/conftest.py
HeadHaus/Skeema
fc0faf13afad2c95b8943eaa3bfc2cc23b7de003
[ "MIT" ]
null
null
null
import pytest def uid(v): return f"id{v}" @pytest.fixture def id0(): return uid(0) @pytest.fixture def id1(): return uid(1) @pytest.fixture def id2(): return uid(2) @pytest.fixture def id3(): return uid(3) @pytest.fixture def id4(): return uid(4)
9.129032
19
0.614841
44
283
3.954545
0.431818
0.373563
0.45977
0
0
0
0
0
0
0
0
0.046296
0.236749
283
30
20
9.433333
0.759259
0
0
0.277778
0
0
0.017668
0
0
0
0
0
0
1
0.333333
false
0
0.055556
0.333333
0.722222
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
09ff1d4b73739294f4e39ea21cb52b7a5a441436
64
py
Python
1.py
xingjian2016/demo
923c77fdb0bbe9d449686dd05ffecde0edffff7c
[ "Apache-2.0" ]
null
null
null
1.py
xingjian2016/demo
923c77fdb0bbe9d449686dd05ffecde0edffff7c
[ "Apache-2.0" ]
null
null
null
1.py
xingjian2016/demo
923c77fdb0bbe9d449686dd05ffecde0edffff7c
[ "Apache-2.0" ]
null
null
null
#-*- coding:utf-8 -*- def display(name,age): print (name,age)
12.8
22
0.609375
10
64
3.9
0.8
0.358974
0
0
0
0
0
0
0
0
0
0.018182
0.140625
64
4
23
16
0.690909
0.3125
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
5
61ee190538925b251b5270cd4e5eb672a2c43cfa
62
py
Python
aerokit/aero/nozzle.py
PierreMignerot/aerokit
78717288d840ef5cb3939b44e967cf8f250dc270
[ "MIT" ]
null
null
null
aerokit/aero/nozzle.py
PierreMignerot/aerokit
78717288d840ef5cb3939b44e967cf8f250dc270
[ "MIT" ]
null
null
null
aerokit/aero/nozzle.py
PierreMignerot/aerokit
78717288d840ef5cb3939b44e967cf8f250dc270
[ "MIT" ]
null
null
null
# backward compatibility from aerokit.instance.nozzle import *
31
37
0.83871
7
62
7.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.096774
62
2
37
31
0.928571
0.354839
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
61f6daa72eec769ddae3cc029c89e845fbc42e64
49
py
Python
main/candidate_ranking/__init__.py
wissembrdj/welink
ebc0cd4742578ad22014bd8067796e8cc1869f02
[ "MIT" ]
null
null
null
main/candidate_ranking/__init__.py
wissembrdj/welink
ebc0cd4742578ad22014bd8067796e8cc1869f02
[ "MIT" ]
null
null
null
main/candidate_ranking/__init__.py
wissembrdj/welink
ebc0cd4742578ad22014bd8067796e8cc1869f02
[ "MIT" ]
null
null
null
__all__ = ["candidate_similarities", "coherence"]
49
49
0.77551
4
49
8.25
1
0
0
0
0
0
0
0
0
0
0
0
0.061224
49
1
49
49
0.717391
0
0
0
0
0
0.62
0.44
0
0
0
0
0
1
0
false
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
0
0
0
0
0
0
0
5
11120d6590c58a95c24d151d030ecdce5218d3c3
87
py
Python
neural_pipeline/data_processor/__init__.py
pfriesch/neural-pipeline
2df4f7467a721b1fbd93f4439086c6dcee5dac2c
[ "MIT" ]
null
null
null
neural_pipeline/data_processor/__init__.py
pfriesch/neural-pipeline
2df4f7467a721b1fbd93f4439086c6dcee5dac2c
[ "MIT" ]
null
null
null
neural_pipeline/data_processor/__init__.py
pfriesch/neural-pipeline
2df4f7467a721b1fbd93f4439086c6dcee5dac2c
[ "MIT" ]
null
null
null
from .data_processor import DataProcessor, TrainDataProcessor from .model import Model
29
61
0.862069
10
87
7.4
0.7
0
0
0
0
0
0
0
0
0
0
0
0.103448
87
2
62
43.5
0.948718
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
111c6af163e2efe61fe15b1f50626044653ed560
143
py
Python
PythonClient/carla/driving_benchmark/experiment_suites/__init__.py
felipecode/CAL
bc3556097e61b69735392e310b2b0916ebeebce4
[ "MIT" ]
204
2019-01-28T13:31:53.000Z
2022-03-23T23:57:18.000Z
PythonClient/carla/driving_benchmark/experiment_suites/__init__.py
felipecode/CAL
bc3556097e61b69735392e310b2b0916ebeebce4
[ "MIT" ]
39
2019-02-02T22:14:14.000Z
2022-01-30T08:21:51.000Z
PythonClient/carla/driving_benchmark/experiment_suites/__init__.py
felipecode/CAL
bc3556097e61b69735392e310b2b0916ebeebce4
[ "MIT" ]
64
2019-02-24T10:26:04.000Z
2022-03-04T12:49:59.000Z
from .basic_experiment_suite import BasicExperimentSuite from .corl_2017 import CoRL2017 from .longcontrol_2018 import LongitudinalControl2018
35.75
56
0.895105
16
143
7.75
0.75
0
0
0
0
0
0
0
0
0
0
0.122137
0.083916
143
3
57
47.666667
0.824427
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
116370d280717873265e0aad450b575b75dd9ec7
11,294
py
Python
setup.py
sendx/sendx-api-python
edce9755d3718efb12cb5493da7cbac961cb1d9b
[ "Apache-2.0" ]
null
null
null
setup.py
sendx/sendx-api-python
edce9755d3718efb12cb5493da7cbac961cb1d9b
[ "Apache-2.0" ]
null
null
null
setup.py
sendx/sendx-api-python
edce9755d3718efb12cb5493da7cbac961cb1d9b
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ SendX REST API **NOTE:** All API calls contain 2 parameters - 'api_key' and 'team_id'. These can be inferred from your settings page 'https://app.sendx.io/setting' under the sections 'Api Key' and 'Team Id' respectively. For checking language specific Clients: - [Golang](https://github.c...
205.345455
5,400
0.601381
1,435
11,294
4.720557
0.204181
0.055506
0.026867
0.033658
0.745645
0.706377
0.693239
0.670062
0.63168
0.624889
0
0.025647
0.240482
11,294
54
5,401
209.148148
0.764048
0.462458
0
0
0
0.052632
0.938501
0.167632
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
febfddd7198fc9c25959879a7ec64b57f2ba20f6
32
py
Python
chapter02/code03.py
ggggxiaolong/python
c73ea1ffcc6450ae13bd86b07520eb7b52c9f3c3
[ "MIT" ]
null
null
null
chapter02/code03.py
ggggxiaolong/python
c73ea1ffcc6450ae13bd86b07520eb7b52c9f3c3
[ "MIT" ]
null
null
null
chapter02/code03.py
ggggxiaolong/python
c73ea1ffcc6450ae13bd86b07520eb7b52c9f3c3
[ "MIT" ]
null
null
null
str = raw_input() print int(str)
16
17
0.71875
6
32
3.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.125
32
2
18
16
0.785714
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
5
feeeba75222b3ad1e58902cdd82165421f508fa1
88
py
Python
precession/__init__.py
DariaGangardt/precession
35c9226c78b5b73a06d26cc02e5234a93c12b1c7
[ "MIT" ]
20
2016-03-22T14:51:17.000Z
2022-02-22T14:42:31.000Z
precession/__init__.py
DariaGangardt/precession
35c9226c78b5b73a06d26cc02e5234a93c12b1c7
[ "MIT" ]
1
2017-09-21T15:07:05.000Z
2017-09-21T15:07:05.000Z
precession/__init__.py
DariaGangardt/precession
35c9226c78b5b73a06d26cc02e5234a93c12b1c7
[ "MIT" ]
14
2016-05-05T06:52:04.000Z
2022-02-21T23:42:49.000Z
""" precession - description """ from .__version__ import * from .precession import *
11
26
0.704545
8
88
7.25
0.625
0
0
0
0
0
0
0
0
0
0
0
0.170455
88
7
27
12.571429
0.794521
0.272727
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
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
5
3a20b1ad559e0966e29990d7bc2d26c200800309
138
py
Python
arithmetic/make-arithmetic-data.py
yaopang/TensorFlowNLP
f06301712312493e5fd52ee38b0b918ec60b91e1
[ "MIT" ]
23
2016-10-10T20:27:54.000Z
2021-01-16T05:02:01.000Z
arithmetic/make-arithmetic-data.py
yaopang/TensorFlowNLP
f06301712312493e5fd52ee38b0b918ec60b91e1
[ "MIT" ]
null
null
null
arithmetic/make-arithmetic-data.py
yaopang/TensorFlowNLP
f06301712312493e5fd52ee38b0b918ec60b91e1
[ "MIT" ]
23
2016-10-09T20:17:59.000Z
2019-10-15T12:34:31.000Z
import random for i in range(5000): a = random.randint(0,1000) b = random.randint(0,1000) print("{}+{},{}".format(a, b, a+b))
23
39
0.57971
23
138
3.478261
0.608696
0.325
0.35
0.45
0
0
0
0
0
0
0
0.126126
0.195652
138
6
39
23
0.594595
0
0
0
0
0
0.057554
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
0
0
5
3a38ce7a13d08d1c47500756912ddb735f9b7d52
59
py
Python
astropy/units.py
Ayush2007A/Code-master
fafe4a020adc3f8e78c78f6b8b2b08b5c3005613
[ "Unlicense" ]
1
2021-02-05T10:29:30.000Z
2021-02-05T10:29:30.000Z
astropy/units.py
Ayush2007A/Code-master
fafe4a020adc3f8e78c78f6b8b2b08b5c3005613
[ "Unlicense" ]
null
null
null
astropy/units.py
Ayush2007A/Code-master
fafe4a020adc3f8e78c78f6b8b2b08b5c3005613
[ "Unlicense" ]
null
null
null
from astropy import units as u print(42.0 * u.kilometer)
19.666667
31
0.728814
11
59
3.909091
0.909091
0
0
0
0
0
0
0
0
0
0
0.0625
0.186441
59
2
32
29.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
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
0
1
0
5
3a52cc0d1545ff7743d36eed25bb93de8a44f95d
130
py
Python
__init__.py
audacious-software/Passive-Data-Kit-External-Sensors
c4781c04ce3cb485b0c1e50a9e7c6db0c92a9959
[ "Apache-2.0" ]
null
null
null
__init__.py
audacious-software/Passive-Data-Kit-External-Sensors
c4781c04ce3cb485b0c1e50a9e7c6db0c92a9959
[ "Apache-2.0" ]
null
null
null
__init__.py
audacious-software/Passive-Data-Kit-External-Sensors
c4781c04ce3cb485b0c1e50a9e7c6db0c92a9959
[ "Apache-2.0" ]
null
null
null
# pylint: disable=invalid-name default_app_config = 'passive_data_kit_external_sensors.apps.PassiveDataKitExternalSensorsConfig'
32.5
97
0.876923
14
130
7.714286
1
0
0
0
0
0
0
0
0
0
0
0
0.053846
130
3
98
43.333333
0.878049
0.215385
0
0
0
0
0.74
0.74
0
0
0
0
0
1
0
false
1
0
0
0
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
1
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
5
3a5330f3918a61d0f64326458d7b2dae80e6ff70
291
py
Python
tests/test_cookiecutter_pypackage_instance.py
billsioros/cookiecutter-pypackage-instance
e986b7eb20fdeefdbf229ff5d3b0e74e1f492671
[ "MIT" ]
null
null
null
tests/test_cookiecutter_pypackage_instance.py
billsioros/cookiecutter-pypackage-instance
e986b7eb20fdeefdbf229ff5d3b0e74e1f492671
[ "MIT" ]
13
2021-08-28T10:58:25.000Z
2021-09-12T17:43:34.000Z
tests/test_cookiecutter_pypackage_instance.py
billsioros/cookiecutter-pypackage-instance
e986b7eb20fdeefdbf229ff5d3b0e74e1f492671
[ "MIT" ]
1
2021-09-09T22:03:23.000Z
2021-09-09T22:03:23.000Z
"""Tests concerning the `cookiecutter_pypackage_instance` module.""" from cookiecutter_pypackage_instance.cookiecutter_pypackage_instance import factorial def test_cookiecutter_pypackage_instance(): assert factorial(0) == 1 assert factorial(1) == 1 assert factorial(5) == 120
29.1
85
0.783505
33
291
6.636364
0.515152
0.383562
0.52968
0
0
0
0
0
0
0
0
0.031621
0.130584
291
9
86
32.333333
0.833992
0.213058
0
0
0
0
0
0
0
0
0
0
0.6
1
0.2
true
0
0.2
0
0.4
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
5
e902264ea72bcdfb78dc916dd5606671f37ffe6e
24
py
Python
vedo/version.py
marcomusy/vedo
cbf6639f2eb10491527beaf7cc3656c797f9fb42
[ "CC0-1.0" ]
836
2020-06-14T02:38:12.000Z
2022-03-31T15:39:50.000Z
vedo/version.py
marcomusy/vedo
cbf6639f2eb10491527beaf7cc3656c797f9fb42
[ "CC0-1.0" ]
418
2020-06-14T10:51:32.000Z
2022-03-31T23:23:14.000Z
vedo/version.py
marcomusy/vedo
cbf6639f2eb10491527beaf7cc3656c797f9fb42
[ "CC0-1.0" ]
136
2020-06-14T02:26:41.000Z
2022-03-31T12:47:18.000Z
_version='2021.0.6dev0'
12
23
0.75
4
24
4.25
1
0
0
0
0
0
0
0
0
0
0
0.304348
0.041667
24
1
24
24
0.434783
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
0
0
0
0
0
0
0
0
0
0
0
0
0
5
3a6ef78efbea6148fbc19299de4cbfa3dd781231
36
py
Python
setup.py
foxleoly/tools
f0ad8617808d2bce47bbc2f69a696590d1a606b6
[ "MIT" ]
null
null
null
setup.py
foxleoly/tools
f0ad8617808d2bce47bbc2f69a696590d1a606b6
[ "MIT" ]
null
null
null
setup.py
foxleoly/tools
f0ad8617808d2bce47bbc2f69a696590d1a606b6
[ "MIT" ]
null
null
null
#!/usr/bin/env python # setup new pc
18
21
0.694444
7
36
3.571429
1
0
0
0
0
0
0
0
0
0
0
0
0.138889
36
2
22
18
0.806452
0.916667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
3ac077c97ffb107ef434fb0d9ac356a518f5be18
119
py
Python
generate_voice.py
DanielFlockhart/RNN-language-Model
7e4b060d4bf01560b410f43bf1ac90bb164eae16
[ "MIT" ]
null
null
null
generate_voice.py
DanielFlockhart/RNN-language-Model
7e4b060d4bf01560b410f43bf1ac90bb164eae16
[ "MIT" ]
null
null
null
generate_voice.py
DanielFlockhart/RNN-language-Model
7e4b060d4bf01560b410f43bf1ac90bb164eae16
[ "MIT" ]
null
null
null
from gtts import gTTS import os,time def save_sound(message): speech = gTTS(message) speech.save("audio.mp3")
17
28
0.714286
18
119
4.666667
0.666667
0.238095
0
0
0
0
0
0
0
0
0
0.010204
0.176471
119
6
29
19.833333
0.846939
0
0
0
0
0
0.07563
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
3ac9275b7bfe4e2c5dbe44a10888ba2cd8ef71eb
133
py
Python
league/admin.py
klauck/mettliga
a5fa9f06092274f22a69785ae9a869268c181967
[ "MIT" ]
1
2017-05-12T19:48:15.000Z
2017-05-12T19:48:15.000Z
league/admin.py
klauck/mettliga
a5fa9f06092274f22a69785ae9a869268c181967
[ "MIT" ]
null
null
null
league/admin.py
klauck/mettliga
a5fa9f06092274f22a69785ae9a869268c181967
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import MettEater, Metting admin.site.register(MettEater) admin.site.register(Metting)
22.166667
38
0.827068
18
133
6.111111
0.555556
0.163636
0.309091
0
0
0
0
0
0
0
0
0
0.090226
133
5
39
26.6
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
5
c94dc8382a511fe00771d81b0f4053e12fbd4a76
104
py
Python
cv/educations/admin.py
vignif/django_cv
0426b47da82341e676adcf7b441a7b55a3fa2d78
[ "MIT" ]
null
null
null
cv/educations/admin.py
vignif/django_cv
0426b47da82341e676adcf7b441a7b55a3fa2d78
[ "MIT" ]
null
null
null
cv/educations/admin.py
vignif/django_cv
0426b47da82341e676adcf7b441a7b55a3fa2d78
[ "MIT" ]
null
null
null
from django.contrib import admin from educations.models import Education admin.site.register(Education)
26
39
0.855769
14
104
6.357143
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.086538
104
4
40
26
0.936842
0
0
0
0
0
0
0
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
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
c9575a0147102ced0a480e51e8eed5a5a3495119
110
py
Python
edx_lint/__main__.py
eduNEXT/edx-lint
e129a8b5478469f44737cb7ba1afc93b5a994bba
[ "Apache-2.0" ]
43
2015-05-30T21:35:34.000Z
2021-09-21T07:15:05.000Z
edx_lint/__main__.py
eduNEXT/edx-lint
e129a8b5478469f44737cb7ba1afc93b5a994bba
[ "Apache-2.0" ]
106
2015-02-02T17:43:55.000Z
2021-12-20T03:05:16.000Z
edx_lint/__main__.py
eduNEXT/edx-lint
e129a8b5478469f44737cb7ba1afc93b5a994bba
[ "Apache-2.0" ]
22
2015-08-28T16:19:41.000Z
2021-09-01T10:36:54.000Z
"""edx_lint's module-callable entry point.""" import sys from edx_lint.cmd.main import main sys.exit(main())
18.333333
45
0.745455
19
110
4.210526
0.684211
0.175
0
0
0
0
0
0
0
0
0
0
0.109091
110
5
46
22
0.816327
0.354545
0
0
0
0
0
0
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
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
c95f22dfbea8b2cf6d3c1030255c5ae2a34bb5c6
162
py
Python
SE/metadatos.py
Karimx/SGBDR
e4fa3a2d066d40c4d77b5021e8f2a582c16d03fa
[ "Apache-2.0" ]
1
2016-05-12T06:34:30.000Z
2016-05-12T06:34:30.000Z
SE/metadatos.py
Karimx/SGBDR
e4fa3a2d066d40c4d77b5021e8f2a582c16d03fa
[ "Apache-2.0" ]
null
null
null
SE/metadatos.py
Karimx/SGBDR
e4fa3a2d066d40c4d77b5021e8f2a582c16d03fa
[ "Apache-2.0" ]
null
null
null
class MetaDato: def __init__(self, nombreTabla, campos): pass def calcularRegistros(self): pass def getRegistro(self): pass
16.2
44
0.611111
16
162
5.9375
0.625
0.147368
0
0
0
0
0
0
0
0
0
0
0.314815
162
9
45
18
0.855856
0
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.428571
false
0.428571
0
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
5
c979a57c1534701ef27d687eef4f1d6eacb6e948
14,746
py
Python
day3.py
venomousmoog/adventofcode2021
0111db027954ab38d6c17e0c8048df3449cb90d2
[ "Apache-2.0" ]
null
null
null
day3.py
venomousmoog/adventofcode2021
0111db027954ab38d6c17e0c8048df3449cb90d2
[ "Apache-2.0" ]
null
null
null
day3.py
venomousmoog/adventofcode2021
0111db027954ab38d6c17e0c8048df3449cb90d2
[ "Apache-2.0" ]
null
null
null
# day3 - sonar sweeps # def count_bits(bits, pos): ones = sum([int(b[pos]) for b in bits]) zeros = len(bits) - ones return (ones, zeros) def power(bits): width = len(bits[0]) gamma = [] epsilon = [] for i in range(0, width): (ones, zeros) = count_bits(bits, i) print(f"ones...
13.691736
84
0.880646
1,261
14,746
10.275971
0.839017
0.00463
0.001389
0.002547
0.013351
0.010727
0.008103
0.008103
0.008103
0.008103
0
0.909851
0.099552
14,746
1,077
85
13.691736
0.066049
0.001288
0
0.004726
0
0
0.908313
0.001426
0
1
0
0
0
1
0.002836
false
0
0
0
0.003781
0.009452
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
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
5
a323831709abf3b08a5a3c6cb19c140b718070cd
1,808
py
Python
frappe-bench/env/lib/python2.7/site-packages/gocardless_pro/resources/instalment_schedule.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
30
2015-07-08T21:10:10.000Z
2022-02-17T10:08:55.000Z
frappe-bench/env/lib/python2.7/site-packages/gocardless_pro/resources/instalment_schedule.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
21
2015-12-14T02:24:52.000Z
2022-02-05T15:56:00.000Z
frappe-bench/env/lib/python2.7/site-packages/gocardless_pro/resources/instalment_schedule.py
ibrahmm22/library-management
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
[ "MIT" ]
19
2016-02-10T15:57:42.000Z
2022-02-05T10:21:05.000Z
# WARNING: Do not edit by hand, this file was generated by Crank: # # https://github.com/gocardless/crank # class InstalmentSchedule(object): """A thin wrapper around a instalment_schedule, providing easy access to its attributes. Example: instalment_schedule = client.instalment_schedules.get() ...
17.72549
80
0.605088
190
1,808
5.647368
0.315789
0.20876
0.15657
0.246039
0.276794
0
0
0
0
0
0
0
0.294248
1,808
101
81
17.90099
0.840909
0.180863
0
0.325581
1
0
0.063668
0
0
0
0
0
0
1
0.325581
false
0
0
0.27907
0.651163
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
5
a329455af1a886af67beff6ab805c6887d7e83bf
25,026
py
Python
src/utils.py
HFooladi/lincs_processing
ac21d84bc09565a7c7e9285f6bae5557fa1617de
[ "MIT" ]
null
null
null
src/utils.py
HFooladi/lincs_processing
ac21d84bc09565a7c7e9285f6bae5557fa1617de
[ "MIT" ]
null
null
null
src/utils.py
HFooladi/lincs_processing
ac21d84bc09565a7c7e9285f6bae5557fa1617de
[ "MIT" ]
null
null
null
from __future__ import unicode_literals, print_function, division from typing import List, Union import pickle import pandas as pd from tqdm import tqdm from collections import Counter __author__ = "Hosein Fooladi" __email__ = "fooladi.hosein@gmail.com" def load_pickle(dataset_dir: str) -> List: """Loading (readi...
34.855153
149
0.642532
3,723
25,026
4.255439
0.068225
0.010983
0.015906
0.015969
0.789686
0.776747
0.762545
0.746134
0.726819
0.715774
0
0.018827
0.233797
25,026
717
150
34.903766
0.807405
0.487773
0
0.62807
0
0.003509
0.283355
0.049544
0
0
0
0
0.154386
1
0.042105
false
0
0.024561
0
0.098246
0.175439
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
a3458c0e7ea0e00c34f6e98b7bc483cf91550aaa
62
py
Python
unity/__init__.py
princeton-vl/PackIt
9894d252c5238d582cba7c3d19540f89d47e4166
[ "BSD-3-Clause" ]
49
2020-07-24T18:17:12.000Z
2022-01-04T15:30:52.000Z
unity/__init__.py
princeton-vl/PackIt
9894d252c5238d582cba7c3d19540f89d47e4166
[ "BSD-3-Clause" ]
14
2020-07-21T20:21:08.000Z
2022-03-12T00:42:18.000Z
unity/__init__.py
princeton-vl/PackIt
9894d252c5238d582cba7c3d19540f89d47e4166
[ "BSD-3-Clause" ]
5
2020-07-27T12:35:00.000Z
2021-07-19T03:04:21.000Z
from .communicator_objects import * from .unityagents import *
31
35
0.822581
7
62
7.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.112903
62
2
36
31
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
a35f3f67af4ee424e0d69451927de1102f1f730a
266
py
Python
uimnet/metrics/__init__.py
facebookresearch/uimnet
d7544cf5fb4c65cb262dca203afb0db4ba6c569d
[ "MIT" ]
7
2021-07-28T18:40:20.000Z
2022-01-26T23:50:41.000Z
uimnet/metrics/__init__.py
facebookresearch/uimnet
d7544cf5fb4c65cb262dca203afb0db4ba6c569d
[ "MIT" ]
10
2021-08-31T13:44:56.000Z
2021-08-31T14:10:12.000Z
uimnet/metrics/__init__.py
facebookresearch/uimnet
d7544cf5fb4c65cb262dca203afb0db4ba6c569d
[ "MIT" ]
1
2021-11-06T01:55:58.000Z
2021-11-06T01:55:58.000Z
#!/usr/bin/env python3 # # # Copyright (c) 2021 Facebook, inc. and its affiliates. All Rights Reserved # # from uimnet.metrics.out_domain import * from uimnet.metrics.auc import * from uimnet.metrics.fused_prediction import * from uimnet.metrics.prediction import *
26.6
77
0.770677
37
266
5.486486
0.648649
0.197044
0.334975
0.339901
0
0
0
0
0
0
0
0.021552
0.12782
266
9
78
29.555556
0.853448
0.360902
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
a366c2372505bac0d15d14f504a1723ae0469338
20
py
Python
probnode/interface/ievent.py
medasmarathon/Probnode
7a372a5d515a2e13575690d738404c14df07c784
[ "BSD-3-Clause" ]
3
2022-02-25T17:05:30.000Z
2022-02-28T15:39:58.000Z
probnode/interface/ievent.py
medasmarathon/Probnode
7a372a5d515a2e13575690d738404c14df07c784
[ "BSD-3-Clause" ]
1
2022-02-26T15:12:20.000Z
2022-02-27T08:29:44.000Z
probnode/interface/ievent.py
medasmarathon/Probnode
7a372a5d515a2e13575690d738404c14df07c784
[ "BSD-3-Clause" ]
null
null
null
class IEvent: pass
10
13
0.75
3
20
5
1
0
0
0
0
0
0
0
0
0
0
0
0.2
20
2
14
10
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
6e646ede69755b2cf1217989d36d06fe6e0c7efa
48
py
Python
imagepy/tools/Measure/distance_tol.py
dada1437903138/imagepy
65d9ce088894eef587054e04018f9d34ff65084f
[ "BSD-4-Clause" ]
1,178
2017-05-25T06:59:01.000Z
2022-03-31T11:38:53.000Z
imagepy/tools/Measure/distance_tol.py
TomisTony/imagepy
3c378ebaf72762b94f0826a410897757ebafe689
[ "BSD-4-Clause" ]
76
2017-06-10T17:01:50.000Z
2021-12-23T08:13:29.000Z
imagepy/tools/Measure/distance_tol.py
TomisTony/imagepy
3c378ebaf72762b94f0826a410897757ebafe689
[ "BSD-4-Clause" ]
315
2017-05-25T12:59:53.000Z
2022-03-07T22:52:21.000Z
from sciapp.action import DistanceTool as Plugin
48
48
0.875
7
48
6
1
0
0
0
0
0
0
0
0
0
0
0
0.104167
48
1
48
48
0.976744
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
0
0
0
5
6e7116b66cfd84afbf50b56a5018b4889a9ab791
125
py
Python
game/displays/null_display.py
scooler/tic-tac-toe
8ec14c0c35dd48edc8718b478e5f4c83891a941a
[ "MIT" ]
null
null
null
game/displays/null_display.py
scooler/tic-tac-toe
8ec14c0c35dd48edc8718b478e5f4c83891a941a
[ "MIT" ]
null
null
null
game/displays/null_display.py
scooler/tic-tac-toe
8ec14c0c35dd48edc8718b478e5f4c83891a941a
[ "MIT" ]
null
null
null
class NullDisplay: def __init__(self, board=None): pass def show_results(self): pass def draw(self): pass
13.888889
33
0.656
17
125
4.529412
0.647059
0.181818
0
0
0
0
0
0
0
0
0
0
0.248
125
9
34
13.888889
0.819149
0
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.428571
false
0.428571
0
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
5
6ebf2eefd7fdec944abad2c80323c65d1501cc1b
68
py
Python
01_Python_Basico_Intermediario/Aula053/aula53.py
Joao-Inacio/Curso-de-Python3
179d85f43f77dced640ffb143a87214538254cf3
[ "MIT" ]
1
2021-07-19T12:31:49.000Z
2021-07-19T12:31:49.000Z
01_Python_Basico_Intermediario/Aula053/aula53.py
Joao-Inacio/Curso-de-Python3
179d85f43f77dced640ffb143a87214538254cf3
[ "MIT" ]
null
null
null
01_Python_Basico_Intermediario/Aula053/aula53.py
Joao-Inacio/Curso-de-Python3
179d85f43f77dced640ffb143a87214538254cf3
[ "MIT" ]
null
null
null
""" Módulos padrão do Python """ import sys print(sys.platform)
11.333333
28
0.676471
9
68
5.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.191176
68
5
29
13.6
0.836364
0.352941
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
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
0
1
0
5
288073e893e788262f3d79d2e2e80d8c610800a9
172
py
Python
thecampy/__init__.py
SyphonArch/thecampy
91da9fb3e4cbbcb6304ac7e8f9b52a7fcce26301
[ "MIT" ]
null
null
null
thecampy/__init__.py
SyphonArch/thecampy
91da9fb3e4cbbcb6304ac7e8f9b52a7fcce26301
[ "MIT" ]
null
null
null
thecampy/__init__.py
SyphonArch/thecampy
91da9fb3e4cbbcb6304ac7e8f9b52a7fcce26301
[ "MIT" ]
null
null
null
from . import utils from .client import client from .models import Cookie, Soldier, Message from .exceptions import ThecampyException, ThecampyValueError, ThecampyReqError
34.4
79
0.837209
19
172
7.578947
0.631579
0
0
0
0
0
0
0
0
0
0
0
0.116279
172
4
80
43
0.947368
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
288e5c32aaa6afe34e8c9f99c64bf883be30d12a
170
py
Python
hello/chalan/admin.py
sumanbudhathoki9808/E-Challan
5ce22f8d68bee1dbabc8d3081238fd56c1a325a6
[ "MIT" ]
null
null
null
hello/chalan/admin.py
sumanbudhathoki9808/E-Challan
5ce22f8d68bee1dbabc8d3081238fd56c1a325a6
[ "MIT" ]
18
2021-04-08T08:56:58.000Z
2021-05-19T15:50:30.000Z
hello/chalan/admin.py
sumanbudhathoki9808/E-Challan
5ce22f8d68bee1dbabc8d3081238fd56c1a325a6
[ "MIT" ]
null
null
null
from django.contrib import admin # Register your models here. from .models import challan, dynamicAbout admin.site.register(challan) admin.site.register(dynamicAbout)
18.888889
41
0.811765
22
170
6.272727
0.545455
0.130435
0.246377
0
0
0
0
0
0
0
0
0
0.111765
170
9
42
18.888889
0.913907
0.152941
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
0
0
0
5
955aeeb9745d062eadd3cf6f3b48664ae45981ad
50
py
Python
stdlib_tests/test_math.py
MajkB/voc-1
a79af19c07fa66965522d8fb97ae783541cda110
[ "BSD-3-Clause" ]
null
null
null
stdlib_tests/test_math.py
MajkB/voc-1
a79af19c07fa66965522d8fb97ae783541cda110
[ "BSD-3-Clause" ]
null
null
null
stdlib_tests/test_math.py
MajkB/voc-1
a79af19c07fa66965522d8fb97ae783541cda110
[ "BSD-3-Clause" ]
null
null
null
import math as math print(math.floor(5.2232323))
12.5
28
0.76
9
50
4.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0.181818
0.12
50
3
29
16.666667
0.681818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
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
0
1
0
5
955ff3766b779c1a5c2527c02e0a825da76d092b
14,483
py
Python
machinelearning/test/kerasutilstest.py
hayj/MachineLearning
66a34b6776450f7d597acca05525120fb28c8deb
[ "MIT" ]
null
null
null
machinelearning/test/kerasutilstest.py
hayj/MachineLearning
66a34b6776450f7d597acca05525120fb28c8deb
[ "MIT" ]
null
null
null
machinelearning/test/kerasutilstest.py
hayj/MachineLearning
66a34b6776450f7d597acca05525120fb28c8deb
[ "MIT" ]
null
null
null
# coding: utf-8 import os import sys sys.path.append('../') import unittest import doctest from machinelearning import kerasutils from machinelearning.kerasutils import * # The level allow the unit test execution to choose only the top level test mini = 0 maxi = 9 assert mini <= maxi print("==============\nStarting...
37.040921
118
0.446454
1,634
14,483
3.813341
0.085679
0.042369
0.056813
0.047504
0.839833
0.824266
0.75317
0.723158
0.689295
0.647248
0
0.104955
0.399365
14,483
391
119
37.040921
0.611335
0.010357
0
0.515957
0
0
0.154056
0.076434
0
0
0
0
0.098404
1
0.082447
false
0
0.015957
0
0.109043
0.021277
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
95d511a32b601ff55826a3bf005531ae0702a99f
56
py
Python
katas/kyu_8/multiply_the_number.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
katas/kyu_8/multiply_the_number.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
katas/kyu_8/multiply_the_number.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
def multiply(n): return n * (5 ** len(str(abs(n))))
18.666667
38
0.535714
10
56
3
0.8
0
0
0
0
0
0
0
0
0
0
0.022727
0.214286
56
2
39
28
0.659091
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
0
1
1
0
0
5
2519d4d502acc4da656de340df5dc2a3030f1040
289
py
Python
simplads/simplad_bundle/retu.py
Cogmob/simplads
8731c4a02273109187cfe601058ce797e32ba1ae
[ "MIT" ]
null
null
null
simplads/simplad_bundle/retu.py
Cogmob/simplads
8731c4a02273109187cfe601058ce797e32ba1ae
[ "MIT" ]
null
null
null
simplads/simplad_bundle/retu.py
Cogmob/simplads
8731c4a02273109187cfe601058ce797e32ba1ae
[ "MIT" ]
null
null
null
from simplads.simplad_monad.simplad_monad import SimpladResult from simplads import ErrorDeltaMaker def rn(i): return SimpladResult(val=i, delta_map={}) def error(value, error): print('retu') return SimpladResult(val=value, delta_map={'error': ErrorDeltaMaker.error(error)})
28.9
86
0.764706
37
289
5.864865
0.486486
0.110599
0.202765
0
0
0
0
0
0
0
0
0
0.121107
289
9
87
32.111111
0.854331
0
0
0
0
0
0.031142
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0.142857
0
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
1
0
0
0
1
1
0
0
5
254f6239f94ec7944489d4fd57a90de98abc3e78
141
py
Python
pydistributed/event_source/exceptions.py
jaycosaur/PyDistributed
b10ad07a56b78416d09790f1faf9bc7dfd2b02ba
[ "MIT" ]
null
null
null
pydistributed/event_source/exceptions.py
jaycosaur/PyDistributed
b10ad07a56b78416d09790f1faf9bc7dfd2b02ba
[ "MIT" ]
null
null
null
pydistributed/event_source/exceptions.py
jaycosaur/PyDistributed
b10ad07a56b78416d09790f1faf9bc7dfd2b02ba
[ "MIT" ]
null
null
null
class OffsetMissingInIndex(Exception): pass class CouldNotFindOffset(Exception): pass class LogSizeExceeded(Exception): pass
12.818182
38
0.758865
12
141
8.916667
0.5
0.364486
0.336449
0
0
0
0
0
0
0
0
0
0.177305
141
10
39
14.1
0.922414
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
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
255e7a4cf07bbac4240fac105b2cf34ce4a479af
298
py
Python
ossim/ossim/views.py
devil-r/Os-simulator
afb99d57d16ebb598a66fcd967f1d67247b4efb4
[ "MIT" ]
null
null
null
ossim/ossim/views.py
devil-r/Os-simulator
afb99d57d16ebb598a66fcd967f1d67247b4efb4
[ "MIT" ]
null
null
null
ossim/ossim/views.py
devil-r/Os-simulator
afb99d57d16ebb598a66fcd967f1d67247b4efb4
[ "MIT" ]
null
null
null
from django.shortcuts import get_object_or_404, render from django.http import HttpResponseRedirect,HttpResponse from django.urls import reverse def index(request): return render(request, 'ossim/index2.html') def matindex(request): return render(request, 'mat/mainindex.html')
27.090909
58
0.768456
38
298
5.947368
0.631579
0.132743
0.168142
0.230089
0
0
0
0
0
0
0
0.015748
0.147651
298
10
59
29.8
0.874016
0
0
0
0
0
0.121528
0
0
0
0
0
0
1
0.285714
false
0
0.428571
0.285714
1
0
0
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
0
1
1
1
0
0
5
c2dc8b1dd7b4351785ec73649f13a3b2fc8ab78a
711
py
Python
instagram_scraper/model/__init__.py
luengwaiban/instagram-python-scraper
d3427afba9865d914a9b5daaafde9f2981ebf1c3
[ "MIT" ]
139
2019-06-02T16:19:06.000Z
2021-09-08T08:16:43.000Z
instagram_scraper/model/__init__.py
luengwaiban/instagram-python-scraper
d3427afba9865d914a9b5daaafde9f2981ebf1c3
[ "MIT" ]
4
2019-06-10T02:06:10.000Z
2020-07-07T04:45:59.000Z
instagram_scraper/model/__init__.py
luengwaiban/instagram-python-scraper
d3427afba9865d914a9b5daaafde9f2981ebf1c3
[ "MIT" ]
16
2019-06-07T10:02:49.000Z
2021-06-03T20:41:33.000Z
# # -*- coding:utf-8 -*- from instagram_scraper.model.base_model import BaseModel from instagram_scraper.model.initializer_model import InitializerModel from instagram_scraper.model.media import Media from instagram_scraper.model.account import Account from instagram_scraper.model.carousel_media import CarouselMedia fr...
39.5
134
0.825598
91
711
6.21978
0.263736
0.229682
0.353357
0.441696
0
0
0
0
0
0
0
0.001541
0.087201
711
17
135
41.823529
0.87057
0.028129
0
0
0
0
0.122987
0
0
0
0
0
0
1
0
false
0
0.909091
0
0.909091
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
0
0
1
0
1
0
0
5
6c06f3e0c2b2f146bce3a1a975b695c45c67f2f9
86
py
Python
evaluation/__init__.py
dichotomies/NeuralDiff
0f5f07e20e94368f8637f2fec1ec5a0c914524de
[ "MIT" ]
5
2022-01-28T23:31:42.000Z
2022-03-13T09:21:50.000Z
evaluation/__init__.py
yashbhalgat/NeuralDiff
a480f2103384a4f5d77eb84abd977a200e6e6405
[ "MIT" ]
2
2022-02-03T12:12:48.000Z
2022-02-18T05:07:21.000Z
evaluation/__init__.py
dichotomies/NeuralDiff
0f5f07e20e94368f8637f2fec1ec5a0c914524de
[ "MIT" ]
null
null
null
from . import video, segmentation from .segmentation import evaluate, evaluate_sample
28.666667
51
0.837209
10
86
7.1
0.6
0
0
0
0
0
0
0
0
0
0
0
0.116279
86
2
52
43
0.934211
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6c3096e7054ff51f6b45c39984d2cd3d6e8ae973
64
py
Python
tests/test_pep542.py
nickdrozd/experimental
e4532800939935cb2ebaec12d0e0fcc63cd7ea78
[ "MIT" ]
21
2018-06-19T00:57:38.000Z
2022-02-20T22:52:53.000Z
tests/test_pep542.py
nickdrozd/experimental
e4532800939935cb2ebaec12d0e0fcc63cd7ea78
[ "MIT" ]
3
2018-07-21T14:48:15.000Z
2019-03-06T15:29:20.000Z
tests/test_pep542.py
nickdrozd/experimental
e4532800939935cb2ebaec12d0e0fcc63cd7ea78
[ "MIT" ]
4
2017-08-18T18:08:05.000Z
2018-07-21T14:04:20.000Z
from .common import experimental from .pep542_testfile import *
21.333333
32
0.828125
8
64
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0.053571
0.125
64
2
33
32
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6c30f28509834d8b8fbd8630ffbf7c1fb3fe28a7
87
py
Python
enthought/enable/radio_group.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
3
2016-12-09T06:05:18.000Z
2018-03-01T13:00:29.000Z
enthought/enable/radio_group.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
1
2020-12-02T00:51:32.000Z
2020-12-02T08:48:55.000Z
enthought/enable/radio_group.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
null
null
null
# proxy module from __future__ import absolute_import from enable.radio_group import *
21.75
38
0.83908
12
87
5.583333
0.75
0
0
0
0
0
0
0
0
0
0
0
0.126437
87
3
39
29
0.881579
0.137931
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6688ffb8ced097f42ea26f76345fbfa945049d81
82
py
Python
vpp-api/python/vpp_papi/__init__.py
akshayanadahalli/vpp_ietf97
273c26a531bf031b3426588041bad67fe7f0a246
[ "Apache-2.0" ]
1
2019-06-12T12:13:45.000Z
2019-06-12T12:13:45.000Z
vpp-api/python/vpp_papi/__init__.py
akshayanadahalli/vpp_ietf97
273c26a531bf031b3426588041bad67fe7f0a246
[ "Apache-2.0" ]
null
null
null
vpp-api/python/vpp_papi/__init__.py
akshayanadahalli/vpp_ietf97
273c26a531bf031b3426588041bad67fe7f0a246
[ "Apache-2.0" ]
1
2020-11-09T10:43:08.000Z
2020-11-09T10:43:08.000Z
__import__('pkg_resources').declare_namespace(__name__) from . vpp_papi import *
20.5
55
0.804878
10
82
5.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.085366
82
3
56
27.333333
0.733333
0
0
0
0
0
0.160494
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
66a812a31638f2768f5dc916f2009636693f9cc8
13,701
py
Python
src/sharkradar/Util/sharkradarDbutils.py
bmonikraj/shark-radar
61dc685cd41041fc3b6d92de76c211cb0d23c6cf
[ "BSD-3-Clause" ]
8
2019-08-15T21:43:37.000Z
2022-03-13T06:49:54.000Z
src/sharkradar/Util/sharkradarDbutils.py
bmonikraj/shark-radar
61dc685cd41041fc3b6d92de76c211cb0d23c6cf
[ "BSD-3-Clause" ]
3
2019-08-25T11:33:05.000Z
2022-02-27T15:34:19.000Z
src/sharkradar/Util/sharkradarDbutils.py
bmonikraj/shark-radar
61dc685cd41041fc3b6d92de76c211cb0d23c6cf
[ "BSD-3-Clause" ]
null
null
null
""" DB Utils functions for the project """ import sys from os.path import dirname as opd, realpath as opr import os import time import sqlite3 basedir = opd(opd(opd(opr(__file__)))) sys.path.append(basedir) from sharkradar.Config.Config import Config def createTableIfNotExists(): """ Creates the SERVICE_RD, ...
34.598485
213
0.629808
1,652
13,701
5.050847
0.121065
0.073826
0.03116
0.034636
0.763663
0.755153
0.739214
0.700743
0.695709
0.657958
0
0.002265
0.29122
13,701
395
214
34.686076
0.856966
0.414349
0
0.763158
0
0
0.188511
0
0
0
0
0
0
1
0.061404
false
0
0.026316
0
0.118421
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5