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
8485e5b2da6eb4386bce2a0728a86df99eb9e765
116
py
Python
example/myapp/ajax.py
snogaraleal/adjax
01b1a9ee70589c7f2a5a9be3b6b0ae3d1f85c365
[ "MIT" ]
11
2015-06-02T16:48:37.000Z
2021-07-06T17:58:21.000Z
example/myapp/ajax.py
chr1043086360/adjax
db3b106e201408f4d7746f422c8966152d1e8c5d
[ "MIT" ]
null
null
null
example/myapp/ajax.py
chr1043086360/adjax
db3b106e201408f4d7746f422c8966152d1e8c5d
[ "MIT" ]
3
2016-07-30T18:29:47.000Z
2019-11-20T01:15:39.000Z
import sys if sys.version_info >= (3, 0): from .ajax3 import * # noqa else: from .ajax2 import * # noqa
14.5
32
0.603448
17
116
4.058824
0.705882
0.289855
0
0
0
0
0
0
0
0
0
0.047619
0.275862
116
7
33
16.571429
0.77381
0.077586
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
848fcda0dc21e083917965dc6633b0d2e4509016
6,622
py
Python
MNIST/MNISTReader.py
ShenJinglong/WFL
582b92d818febf363ef0e1fd3c08f6c8b93dc164
[ "Apache-2.0" ]
3
2021-11-10T07:49:05.000Z
2021-11-19T09:26:12.000Z
MNIST/MNISTReader.py
ShenJinglong/WFL
582b92d818febf363ef0e1fd3c08f6c8b93dc164
[ "Apache-2.0" ]
null
null
null
MNIST/MNISTReader.py
ShenJinglong/WFL
582b92d818febf363ef0e1fd3c08f6c8b93dc164
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ author: Jalen Shen """ import numpy as np import imageio class MNISTImageReader(): """ brief: read image data from .idx3-ubyte file as numpy array use cases: # case 1 with MNISTImageReader('t10k-images.idx3-ubyte') as reader: # the reader was designe...
39.416667
135
0.646481
893
6,622
4.43449
0.147816
0.062626
0.09899
0.072727
0.890152
0.796212
0.796212
0.720202
0.662879
0.64899
0
0.016449
0.247206
6,622
167
136
39.652695
0.777934
0.252794
0
0.704545
0
0
0.108477
0.018464
0
0
0
0
0
1
0.181818
false
0
0.022727
0.022727
0.363636
0.045455
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
ca18f0c907f54cbe036d41899a0ddb575e60a81c
37
py
Python
mmdet/changeDetection/model/__init__.py
LokeZhou/mydetection
516cc5d9839ea78bfd859bd0733f61dd586184b8
[ "Apache-2.0" ]
null
null
null
mmdet/changeDetection/model/__init__.py
LokeZhou/mydetection
516cc5d9839ea78bfd859bd0733f61dd586184b8
[ "Apache-2.0" ]
null
null
null
mmdet/changeDetection/model/__init__.py
LokeZhou/mydetection
516cc5d9839ea78bfd859bd0733f61dd586184b8
[ "Apache-2.0" ]
null
null
null
from .cd_mask_rcnn import CDMaskRCNN
18.5
36
0.864865
6
37
5
1
0
0
0
0
0
0
0
0
0
0
0
0.108108
37
1
37
37
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
ca5aad8557b1274a2356a5cdf9f50abbcc7e1040
108
py
Python
yaag_mme/errors.py
Cutewarriorlover/yaag-mme
c2601c0352df120c2252e2f562c40b7f1d244a70
[ "MIT" ]
null
null
null
yaag_mme/errors.py
Cutewarriorlover/yaag-mme
c2601c0352df120c2252e2f562c40b7f1d244a70
[ "MIT" ]
null
null
null
yaag_mme/errors.py
Cutewarriorlover/yaag-mme
c2601c0352df120c2252e2f562c40b7f1d244a70
[ "MIT" ]
null
null
null
class PlayerAlreadyHasItemError(Exception): pass class PlayerNotInitializedError(Exception): pass
15.428571
43
0.796296
8
108
10.75
0.625
0.302326
0
0
0
0
0
0
0
0
0
0
0.148148
108
6
44
18
0.934783
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
1
null
1
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
6
0468deb6d4c0ee8f40565f48e7045caf287460c2
135
py
Python
release/scripts/presets/camera/Sony_A55.py
rbabari/blender
6daa85f14b2974abfc3d0f654c5547f487bb3b74
[ "Naumen", "Condor-1.1", "MS-PL" ]
365
2015-02-10T15:10:55.000Z
2022-03-03T15:50:51.000Z
release/scripts/presets/camera/Sony_A55.py
rbabari/blender
6daa85f14b2974abfc3d0f654c5547f487bb3b74
[ "Naumen", "Condor-1.1", "MS-PL" ]
45
2015-01-09T15:34:20.000Z
2021-10-05T14:44:23.000Z
release/scripts/presets/camera/Sony_A55.py
rbabari/blender
6daa85f14b2974abfc3d0f654c5547f487bb3b74
[ "Naumen", "Condor-1.1", "MS-PL" ]
172
2015-01-25T15:16:53.000Z
2022-01-31T08:25:36.000Z
import bpy bpy.context.camera.sensor_width = 23.4 bpy.context.camera.sensor_height = 15.6 bpy.context.camera.sensor_fit = 'HORIZONTAL'
27
44
0.8
22
135
4.772727
0.590909
0.285714
0.457143
0.628571
0
0
0
0
0
0
0
0.048387
0.081481
135
4
45
33.75
0.798387
0
0
0
0
0
0.074074
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
0470ed48fec70b4562401ab1844230f92ab1fcc3
188
py
Python
commons/utils/Utils.py
GitHubSeyhun/Data-Analytics
28e4630e611df96774db2237677fa11a090dc5ca
[ "Apache-2.0" ]
null
null
null
commons/utils/Utils.py
GitHubSeyhun/Data-Analytics
28e4630e611df96774db2237677fa11a090dc5ca
[ "Apache-2.0" ]
null
null
null
commons/utils/Utils.py
GitHubSeyhun/Data-Analytics
28e4630e611df96774db2237677fa11a090dc5ca
[ "Apache-2.0" ]
null
null
null
import re class Utils(): def __init__(self, COMMA_DELIMITER): COMMA_DELIMITER = re.compile(''',(?=(?:[^"]*"[^"]*")*[^"]*$)''') self.COMMA_DELIMITER = COMMA_DELIMITER
23.5
72
0.56383
18
188
5.444444
0.555556
0.571429
0.367347
0.469388
0.653061
0
0
0
0
0
0
0
0.18617
188
7
73
26.857143
0.640523
0
0
0
0
0
0.148936
0.148936
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
6
04ae4c0f87be140c3d28cbc55039b2a077b12785
3,040
py
Python
test-framework/test-suites/integration/tests/set/test_set_bootaction_args.py
knutsonchris/stacki
33087dd5fa311984a66ccecfeee6f9c2c25f665d
[ "BSD-3-Clause" ]
123
2015-05-12T23:36:45.000Z
2017-07-05T23:26:57.000Z
test-framework/test-suites/integration/tests/set/test_set_bootaction_args.py
knutsonchris/stacki
33087dd5fa311984a66ccecfeee6f9c2c25f665d
[ "BSD-3-Clause" ]
177
2015-06-05T19:17:47.000Z
2017-07-07T17:57:24.000Z
test-framework/test-suites/integration/tests/set/test_set_bootaction_args.py
knutsonchris/stacki
33087dd5fa311984a66ccecfeee6f9c2c25f665d
[ "BSD-3-Clause" ]
32
2015-06-07T02:25:03.000Z
2017-06-23T07:35:35.000Z
import json from textwrap import dedent class TestSetBootactionArgs: def test_no_args(self, host): result = host.run('stack set bootaction args') assert result.rc == 255 assert result.stderr == dedent('''\ error - "action" argument is required {action} {args=string} [os=string] [type=string] ''') def...
28.679245
89
0.658224
422
3,040
4.689573
0.156398
0.109146
0.078828
0.100051
0.820616
0.796362
0.771097
0.734209
0.734209
0.690248
0
0.009852
0.198684
3,040
105
90
28.952381
0.802545
0.067105
0
0.534884
0
0
0.43761
0
0
0
0
0
0.244186
1
0.093023
false
0
0.023256
0
0.127907
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
b6cad54eca2b52e98020381cbaaa966ce552f76c
21,466
py
Python
FSChartParser.py
osteele/pyfsa
58a44106d3e3918a17a5a106584d1a91636f9d52
[ "Artistic-1.0-Perl" ]
7
2015-11-25T10:52:43.000Z
2018-09-11T21:35:25.000Z
FSChartParser.py
osteele/pyfsa
58a44106d3e3918a17a5a106584d1a91636f9d52
[ "Artistic-1.0-Perl" ]
null
null
null
FSChartParser.py
osteele/pyfsa
58a44106d3e3918a17a5a106584d1a91636f9d52
[ "Artistic-1.0-Perl" ]
7
2015-12-23T05:22:20.000Z
2021-07-13T19:17:32.000Z
# Module FSChartParser -- finite-state chart parser and grammar compilation utilities """ChartParser is a chart parser that uses finite-state automata to recognize grammar rules. ChartParser is initialized with a grammar, represented as a list of rules. Each rule is either a categorizing automaton (defined below), or...
21,466
21,466
0.625547
2,320
21,466
5.772414
0.182328
0.005824
0.004704
0.00448
0.173536
0.125821
0.105436
0.091398
0.080197
0.080197
0
0.004265
0.279139
21,466
1
21,466
21,466
0.861187
0.997298
0
0.151235
0
0.012346
0.027234
0.003208
0
0
0
2
0.009259
0
null
null
0.003086
0.027778
null
null
0.018519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
6
b6d67c07daea3c71e549a4a2de8e30ae22e60225
96
py
Python
venv/lib/python3.8/site-packages/numpy/distutils/command/build_py.py
GiulianaPola/select_repeats
17a0d053d4f874e42cf654dd142168c2ec8fbd11
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/numpy/distutils/command/build_py.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/numpy/distutils/command/build_py.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/5e/22/d9/d9dfed98213cb86e55014e4e2b6ce5cd06b205f798e25f0514496d6e28
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.427083
0
96
1
96
96
0.46875
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
b6db7fcd72bac0d5a7b7a48cf8b5e024f0b4080f
315
py
Python
variable-length-arguments/args.py
mantoshkumar1/python3_practice
d10ebf7c632d725408a4ebe761961bc09e86d47c
[ "MIT" ]
1
2020-05-28T19:14:55.000Z
2020-05-28T19:14:55.000Z
variable-length-arguments/args.py
mantoshkumar1/python3_practice
d10ebf7c632d725408a4ebe761961bc09e86d47c
[ "MIT" ]
null
null
null
variable-length-arguments/args.py
mantoshkumar1/python3_practice
d10ebf7c632d725408a4ebe761961bc09e86d47c
[ "MIT" ]
null
null
null
def func(*args): print(args) print(*args) a = [1, 2, 3] # here "a" is passed as tuple of list: ([1, 2, 3],) func(a) # print(args) -> ([1, 2, 3],) # print(*args) -> [1, 2, 3] # here "a" is passed as tuple of integers: (1, 2, 3) func(*a) # print(args) -> (1, 2, 3) # print(*args) -> 1 2 3
18.529412
53
0.485714
57
315
2.684211
0.280702
0.091503
0.137255
0.287582
0.72549
0.72549
0.72549
0.72549
0.72549
0.72549
0
0.092105
0.27619
315
16
54
19.6875
0.578947
0.638095
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.333333
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
8e19363a32af599f7539f4ac6fe45523c33f40d5
145
py
Python
Decryptor.py
XerosLab/Xeransomware
12948ace0562997bf2c6a1978a1cdaccf9d0fd8f
[ "MIT" ]
1
2021-08-20T16:28:55.000Z
2021-08-20T16:28:55.000Z
Decryptor.py
XerosLab/Xeransomware
12948ace0562997bf2c6a1978a1cdaccf9d0fd8f
[ "MIT" ]
null
null
null
Decryptor.py
XerosLab/Xeransomware
12948ace0562997bf2c6a1978a1cdaccf9d0fd8f
[ "MIT" ]
null
null
null
# import pyAesCrypt # pyAesCrypt.decryptFile(os.path.join(baseDir, "data.txt.aes"), os.path.join(baseDir, "data.txt.dec"), password, bufferSize)
72.5
124
0.751724
20
145
5.45
0.65
0.110092
0.183486
0.311927
0.440367
0.440367
0
0
0
0
0
0
0.068966
145
2
124
72.5
0.807407
0.965517
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
8e37066a568e58e2dbd4ec8902db4fb66e3aa9b0
76
py
Python
app/api/base.py
shun99/blog-server-python
b61a6d81bcbe1bdf499cc724012def2954d7f848
[ "Apache-2.0" ]
null
null
null
app/api/base.py
shun99/blog-server-python
b61a6d81bcbe1bdf499cc724012def2954d7f848
[ "Apache-2.0" ]
1
2019-01-14T11:13:40.000Z
2019-01-14T11:13:40.000Z
app/api/base.py
shun99/blog-server-python
b61a6d81bcbe1bdf499cc724012def2954d7f848
[ "Apache-2.0" ]
null
null
null
from flask_restful import Resource class BaseResource(Resource): pass
12.666667
34
0.789474
9
76
6.555556
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.171053
76
5
35
15.2
0.936508
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
8e39b378aa03a8931704ca6ec7c2b5125433bf6c
96
py
Python
venv/lib/python3.8/site-packages/poetry/console/logging/formatters/formatter.py
Retraces/UkraineBot
3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/poetry/console/logging/formatters/formatter.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/poetry/console/logging/formatters/formatter.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/f8/a7/8b/459b7d53107b95fe33194b8b2ac6b687319c24771330a43eaa63b3e2cb
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.4375
0
96
1
96
96
0.458333
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
8e4a676473c1554a45a484948ba97c06de09b12f
13
py
Python
Chapter 01/Chap01_Example1.146.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
Chapter 01/Chap01_Example1.146.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
Chapter 01/Chap01_Example1.146.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
print((r1*2))
13
13
0.615385
3
13
2.666667
1
0
0
0
0
0
0
0
0
0
0
0.153846
0
13
1
13
13
0.461538
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
f3e79d6e05091a32bd78eb822c2157a1764107db
468
py
Python
code/chapter_02/listing_02_05.py
guinslym/python_earth_science_book
f4dd0115dbbce140c6713989f630a71238daa72c
[ "MIT" ]
80
2021-04-19T10:03:57.000Z
2022-03-30T15:34:47.000Z
code/chapter_02/listing_02_05.py
guinslym/python_earth_science_book
f4dd0115dbbce140c6713989f630a71238daa72c
[ "MIT" ]
null
null
null
code/chapter_02/listing_02_05.py
guinslym/python_earth_science_book
f4dd0115dbbce140c6713989f630a71238daa72c
[ "MIT" ]
23
2021-04-25T03:50:07.000Z
2022-03-22T03:06:19.000Z
print('a sequence from 0 to 2') for i in range(3): print(i) print('----------------------') print('a sequence from 2 to 4') for i in range(2, 5): print(i) print('----------------------') print('a sequence from 2 to 8 with a step of 2') for i in range(2, 9, 2): print(i) ''' Output: a seque...
14.625
48
0.478632
86
468
2.604651
0.255814
0.241071
0.348214
0.25
0.861607
0.705357
0.473214
0.473214
0.473214
0.258929
0
0.084034
0.237179
468
32
49
14.625
0.543417
0
0
0.454545
0
0
0.42053
0.145695
0
0
0
0
0
1
0
false
0
0
0
0
0.727273
0
0
0
null
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
6
6d02f09727cb192e1b757e9c5468c3747a68160f
207
py
Python
apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/sale/tests/__init__.py
gtfarng/Odoo_migrade
9cc28fae4c379e407645248a29d22139925eafe7
[ "Apache-2.0" ]
1
2019-12-19T01:53:13.000Z
2019-12-19T01:53:13.000Z
apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/sale/tests/__init__.py
gtfarng/Odoo_migrade
9cc28fae4c379e407645248a29d22139925eafe7
[ "Apache-2.0" ]
null
null
null
apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/sale/tests/__init__.py
gtfarng/Odoo_migrade
9cc28fae4c379e407645248a29d22139925eafe7
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. import test_sale_to_invoice import test_sale_order from . import test_product_id_change import test_sale_ui
29.571429
74
0.801932
34
207
4.588235
0.764706
0.25641
0.269231
0
0
0
0
0
0
0
0
0.005587
0.135266
207
6
75
34.5
0.865922
0.454106
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
6d1ec445d0d152cdcbdf8ebbef8e6370b7a5c9b9
130
py
Python
open_mafia_engine/util/classes.py
open-mafia/open_mafia_engine
19296748757a4a18d395a940d30aa48aaac9dd7a
[ "Apache-2.0" ]
9
2018-08-19T21:47:00.000Z
2021-11-30T20:46:09.000Z
open_mafia_engine/util/classes.py
open-mafia/open_mafia_engine
19296748757a4a18d395a940d30aa48aaac9dd7a
[ "Apache-2.0" ]
2
2021-05-16T00:12:39.000Z
2021-05-16T18:36:47.000Z
open_mafia_engine/util/classes.py
open-mafia/open_mafia_engine
19296748757a4a18d395a940d30aa48aaac9dd7a
[ "Apache-2.0" ]
2
2020-11-28T06:13:10.000Z
2021-05-16T22:23:22.000Z
from typing import Type def class_name(cls: Type[object]) -> str: """Returns the class name.""" return cls.__qualname__
18.571429
41
0.684615
18
130
4.666667
0.777778
0.214286
0
0
0
0
0
0
0
0
0
0
0.192308
130
6
42
21.666667
0.8
0.176923
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
6
6d43c48e0a0e839427af653d80a400f8f8366cf6
92
py
Python
Mock-JOI2018/Q1.py
taiki-okano/Competitive-Programming
7df76273740ae743ff04e9ed1ae8ffd6562d288d
[ "MIT" ]
1
2016-01-23T13:33:05.000Z
2016-01-23T13:33:05.000Z
Mock-JOI2018/Q1.py
taiki-okano/algorithm
7df76273740ae743ff04e9ed1ae8ffd6562d288d
[ "MIT" ]
null
null
null
Mock-JOI2018/Q1.py
taiki-okano/algorithm
7df76273740ae743ff04e9ed1ae8ffd6562d288d
[ "MIT" ]
null
null
null
N = int(input()) print(int((((((N - 10) * 3 + 10) / 2) + 15) * 3 * (2 / 9) - N) * 3 + 47))
23
73
0.358696
17
92
1.941176
0.588235
0
0
0
0
0
0
0
0
0
0
0.215385
0.293478
92
3
74
30.666667
0.292308
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
1
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
1
0
6
ed9cc87d0a4a2b6529ac87dee0fea1d9f571db41
359
py
Python
src/process/models/base/secret/__init__.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
14
2020-12-19T15:06:13.000Z
2022-01-12T19:52:17.000Z
src/process/models/base/secret/__init__.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
43
2021-01-06T22:05:22.000Z
2022-03-10T10:30:30.000Z
src/process/models/base/secret/__init__.py
jedicontributors/pythondataintegrator
3e877b367ab9b20185476128ec053db41087879f
[ "MIT" ]
4
2020-12-18T23:10:09.000Z
2021-04-02T13:03:12.000Z
from models.base.secret.SecretBase import SecretBase from models.base.secret.SecretTypeBase import SecretTypeBase from models.base.secret.SecretSourceBase import SecretSourceBase from models.base.secret.SecretSourceBasicAuthenticationBase import SecretSourceBasicAuthenticationBase from models.base.secret.Authentication...
59.833333
102
0.902507
35
359
9.257143
0.285714
0.154321
0.216049
0.308642
0
0
0
0
0
0
0
0
0.05571
359
5
103
71.8
0.955752
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b64ad9ec8469be0354d3bee9ac76c77903d9d7ee
35
py
Python
backprop/models/hf_seq2seq_tg_model/__init__.py
lucky7323/backprop
4daa756f3a46600d4dfa0631bb3607237df1fed6
[ "Apache-2.0" ]
200
2021-03-22T17:29:46.000Z
2022-03-20T21:58:31.000Z
backprop/models/hf_seq2seq_tg_model/__init__.py
lucky7323/backprop
4daa756f3a46600d4dfa0631bb3607237df1fed6
[ "Apache-2.0" ]
6
2021-04-15T06:48:32.000Z
2021-12-21T08:07:49.000Z
backprop/models/hf_seq2seq_tg_model/__init__.py
lucky7323/backprop
4daa756f3a46600d4dfa0631bb3607237df1fed6
[ "Apache-2.0" ]
15
2021-03-25T05:25:43.000Z
2022-01-04T08:12:29.000Z
from .model import HFSeq2SeqTGModel
35
35
0.885714
4
35
7.75
1
0
0
0
0
0
0
0
0
0
0
0.03125
0.085714
35
1
35
35
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
b663d237b615991d169382ad076d2fe7f1174375
7,653
py
Python
build/build.py
felix3008/PkSploit
8c9ba99abb7018dfde181bdd1257941da2c41cd8
[ "MIT" ]
16
2017-09-28T23:06:04.000Z
2021-07-16T20:23:08.000Z
build/build.py
felix3008/PkSploit
8c9ba99abb7018dfde181bdd1257941da2c41cd8
[ "MIT" ]
4
2018-03-20T22:37:56.000Z
2021-12-26T17:35:07.000Z
build/build.py
felix3008/PkSploit
8c9ba99abb7018dfde181bdd1257941da2c41cd8
[ "MIT" ]
1
2018-02-09T05:39:03.000Z
2018-02-09T05:39:03.000Z
#!python2 import os import sys import shutil import ConfigParser print "PkSploit Build Script - Revision 24-11-17" if not os.path.exists("config.ini"): print "No config.ini file! Rename and edit sample_config.ini in this folder!" sys.exit(1) Config = ConfigParser.ConfigParser() Config.read("config.ini") #Confi...
37.150485
2,040
0.65164
1,217
7,653
4.05341
0.204601
0.420839
0.62761
0.834381
0.484492
0.403406
0.386986
0.337726
0.298804
0.285019
0
0.214497
0.161767
7,653
205
2,041
37.331707
0.554482
0.033974
0
0.223684
0
0
0.230999
0.028587
0
0
0.004335
0
0
0
null
null
0
0.026316
null
null
0.157895
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
6
b6642a202bb13ee1e29ef92339b442dc2b75e2f9
12,159
py
Python
Net640/apps/user_profile/tests/test_forms.py
86Ilya/net640kb
6724f3da3b678b637e0e776ee0d4953753ee2e05
[ "MIT" ]
1
2019-06-18T09:50:29.000Z
2019-06-18T09:50:29.000Z
Net640/apps/user_profile/tests/test_forms.py
86Ilya/net640kb
6724f3da3b678b637e0e776ee0d4953753ee2e05
[ "MIT" ]
10
2019-12-24T07:05:29.000Z
2022-02-10T07:42:44.000Z
Net640/apps/user_profile/tests/test_forms.py
86Ilya/net640kb
6724f3da3b678b637e0e776ee0d4953753ee2e05
[ "MIT" ]
null
null
null
from uuid import uuid1 from django.test import TestCase from django.core.files.uploadedfile import SimpleUploadedFile from django.utils import timezone from Net640.apps.user_profile.models import User from Net640.apps.user_profile.forms import UserForm, UserUpdateForm,\ UserRequestPasswordResetForm, UserPasswordU...
47.311284
104
0.614689
1,309
12,159
5.411765
0.12605
0.046302
0.035714
0.035997
0.804489
0.756917
0.74633
0.733343
0.698899
0.660785
0
0.0157
0.282342
12,159
256
105
47.496094
0.796127
0
0
0.60181
0
0
0.129369
0
0
0
0
0
0.21267
1
0.113122
false
0.316742
0.036199
0
0.167421
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
b695ecf15abe5add173a5043a06f9d1f0fcef128
129
py
Python
challenges/admin.py
SuperLeet-CTF/SuperLeet-CTF
3af085d310a8303ef3aff376ba930649586d5993
[ "MIT" ]
4
2017-10-09T21:53:44.000Z
2020-12-02T19:11:08.000Z
challenges/admin.py
SuperLeet-CTF/SuperLeet-CTF
3af085d310a8303ef3aff376ba930649586d5993
[ "MIT" ]
null
null
null
challenges/admin.py
SuperLeet-CTF/SuperLeet-CTF
3af085d310a8303ef3aff376ba930649586d5993
[ "MIT" ]
1
2020-09-02T06:02:31.000Z
2020-09-02T06:02:31.000Z
from django.contrib import admin from .models import Challenge, ChallengeAdmin admin.site.register(Challenge, ChallengeAdmin)
18.428571
46
0.829457
15
129
7.133333
0.666667
0.429907
0
0
0
0
0
0
0
0
0
0
0.108527
129
6
47
21.5
0.930435
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
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
fcdfbba710783b70611c3dcf3046802aca1143eb
109
py
Python
nri/nri/models/decoders/__init__.py
take-cheeze/models
3ded8fd062c57f20f6154cac2dd0d998181de755
[ "MIT" ]
112
2018-04-18T07:13:03.000Z
2022-03-11T03:36:34.000Z
nri/nri/models/decoders/__init__.py
take-cheeze/models
3ded8fd062c57f20f6154cac2dd0d998181de755
[ "MIT" ]
16
2018-05-11T11:41:08.000Z
2021-04-24T03:50:54.000Z
nri/nri/models/decoders/__init__.py
take-cheeze/models
3ded8fd062c57f20f6154cac2dd0d998181de755
[ "MIT" ]
45
2018-04-18T07:13:06.000Z
2021-12-22T03:46:18.000Z
from nri.models.decoders.mlp_decoder import MLPDecoder from nri.models.decoders.rnn_decoder import RNNDecoder
54.5
54
0.880734
16
109
5.875
0.625
0.148936
0.276596
0.446809
0
0
0
0
0
0
0
0
0.06422
109
2
55
54.5
0.921569
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
1e00f3d6ffc9e102f59668c641f2bbe3d94be3c5
260
py
Python
hwtHls/scheduler/errors.py
Nic30/hwtHls
1fac6ed128318e698d51e15e9871249ddf243e1c
[ "MIT" ]
8
2018-09-25T03:28:11.000Z
2021-12-15T07:44:38.000Z
hwtHls/scheduler/errors.py
Nic30/hwtHls
1fac6ed128318e698d51e15e9871249ddf243e1c
[ "MIT" ]
1
2020-12-21T10:56:44.000Z
2020-12-21T10:56:44.000Z
hwtHls/scheduler/errors.py
Nic30/hwtHls
1fac6ed128318e698d51e15e9871249ddf243e1c
[ "MIT" ]
2
2018-09-25T03:28:18.000Z
2021-12-15T10:28:35.000Z
class UnresolvedChild(Exception): """ Exception raised when children should be lazyloaded first """ pass class TimeConstraintError(Exception): """ Exception raised when it is not possble to satisfy timing constraints """ pass
20
73
0.688462
27
260
6.62963
0.740741
0.201117
0.268156
0.312849
0
0
0
0
0
0
0
0
0.242308
260
12
74
21.666667
0.908629
0.488462
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
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
6
1e016da072aa58cd89dab909bf6e6b57e9af98ca
89
py
Python
gym-matris/Matris/kezmenu/__init__.py
yipsang/tetris-rl
d8d8e13eabee1321c54e941725b788d7b26b04d0
[ "MIT" ]
3
2020-12-15T18:08:22.000Z
2020-12-18T06:09:49.000Z
gym-matris/Matris/kezmenu/__init__.py
yipsang/tetris-rl
d8d8e13eabee1321c54e941725b788d7b26b04d0
[ "MIT" ]
null
null
null
gym-matris/Matris/kezmenu/__init__.py
yipsang/tetris-rl
d8d8e13eabee1321c54e941725b788d7b26b04d0
[ "MIT" ]
null
null
null
from .kezmenu import KezMenu, runTests from .kezmenu import __version__, __description__
29.666667
49
0.842697
10
89
6.7
0.6
0.328358
0.507463
0
0
0
0
0
0
0
0
0
0.11236
89
2
50
44.5
0.848101
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
6
1e0c8fa359dd6bb82555ee018c7ce0d12d41fb97
41
py
Python
Neis_API/service/request/__init__.py
Piop2/Neis-API
517041ab3ba21b3d5d147e2d708cd7ee0dd25fcb
[ "MIT" ]
3
2021-11-06T08:41:03.000Z
2022-01-13T16:02:29.000Z
Neis_API/service/request/__init__.py
Piop2/Neis-API
517041ab3ba21b3d5d147e2d708cd7ee0dd25fcb
[ "MIT" ]
null
null
null
Neis_API/service/request/__init__.py
Piop2/Neis-API
517041ab3ba21b3d5d147e2d708cd7ee0dd25fcb
[ "MIT" ]
1
2022-01-25T14:59:08.000Z
2022-01-25T14:59:08.000Z
import Neis_API.service.request.request
13.666667
39
0.853659
6
41
5.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.073171
41
2
40
20.5
0.894737
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
1e130b6d4b2aa9d208332b7c6e19640612d0470c
61
py
Python
tests/test.py
floodsung/raisimGym
f0162d4f31e653e27f0048448d5745c7d7c12369
[ "MIT" ]
2
2019-08-18T03:18:53.000Z
2021-02-02T08:16:03.000Z
tests/test.py
floodsung/raisimGym
f0162d4f31e653e27f0048448d5745c7d7c12369
[ "MIT" ]
null
null
null
tests/test.py
floodsung/raisimGym
f0162d4f31e653e27f0048448d5745c7d7c12369
[ "MIT" ]
null
null
null
import raisim_gym print(raisim_gym.env.ANYmal.AnymalVecEnv)
15.25
41
0.852459
9
61
5.555556
0.777778
0.36
0
0
0
0
0
0
0
0
0
0
0.065574
61
4
41
15.25
0.877193
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
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
6
1e25887b2bec1ab9f61a4638f513fb25ebaabc2b
150
py
Python
apps/life_sci/python/dgllife/__init__.py
LunaBlack/dgl
bd1e48a51e348b0e8e25622325adeb5ddea1c0ea
[ "Apache-2.0" ]
2
2021-12-09T12:36:13.000Z
2022-03-01T21:22:36.000Z
apps/life_sci/python/dgllife/__init__.py
sherry-1001/dgl
60d2e7d3c928d43bbb18e7ab17c066451c49f649
[ "Apache-2.0" ]
null
null
null
apps/life_sci/python/dgllife/__init__.py
sherry-1001/dgl
60d2e7d3c928d43bbb18e7ab17c066451c49f649
[ "Apache-2.0" ]
2
2020-12-07T09:34:01.000Z
2020-12-13T06:18:58.000Z
"""DGL-based package for applications in life science.""" from . import data from . import model from . import utils from .libinfo import __version__
25
57
0.766667
21
150
5.285714
0.714286
0.27027
0
0
0
0
0
0
0
0
0
0
0.153333
150
5
58
30
0.874016
0.34
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
1e4f75e717744e15d2c98e6269c58182b4d5c92d
5,722
py
Python
tests/test_prandtl_meyer_relations.py
Rigel09/CompAero
79a2902880c5bf6030794d585a48fbbf0c7df344
[ "MIT" ]
1
2022-03-29T23:59:16.000Z
2022-03-29T23:59:16.000Z
tests/test_prandtl_meyer_relations.py
Rigel09/CompAero
79a2902880c5bf6030794d585a48fbbf0c7df344
[ "MIT" ]
7
2022-01-15T15:38:45.000Z
2022-01-22T16:32:16.000Z
tests/test_prandtl_meyer_relations.py
Rigel09/CompAero
79a2902880c5bf6030794d585a48fbbf0c7df344
[ "MIT" ]
null
null
null
import math from numpy import isnat from pytest import approx import pytest from CompAero.PrandtlMeyer import PrandtlMeyer as pm from CompAero.internal import InvalidOptionCombinationError ######################################################################################### # Test the static functions of the clas...
43.679389
102
0.629151
791
5,722
4.436157
0.087231
0.131091
0.046167
0.075235
0.823027
0.801083
0.750356
0.714734
0.698775
0.673696
0
0.078261
0.196085
5,722
130
103
44.015385
0.684565
0.015904
0
0.621359
0
0
0
0
0
0
0
0
0.660194
1
0.126214
false
0
0.058252
0
0.242718
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
6
1e57932b115711c3c675a96f47758d730ff7509d
19,452
py
Python
tests/system/action/mediafile/test_update.py
ostcar/openslides-backend
e6ceac497c37a1e3e7f408c6cfb29cf21d985b4c
[ "MIT" ]
null
null
null
tests/system/action/mediafile/test_update.py
ostcar/openslides-backend
e6ceac497c37a1e3e7f408c6cfb29cf21d985b4c
[ "MIT" ]
19
2021-11-22T16:25:54.000Z
2021-11-25T13:38:13.000Z
tests/system/action/mediafile/test_update.py
ostcar/openslides-backend
e6ceac497c37a1e3e7f408c6cfb29cf21d985b4c
[ "MIT" ]
null
null
null
from openslides_backend.permissions.permissions import Permissions from tests.system.action.base import BaseActionTestCase class MediafileUpdateActionTest(BaseActionTestCase): def setUp(self) -> None: super().setUp() self.permission_test_model = { "group/7": {"name": "group_LxAHErRs", ...
39.138833
87
0.473833
1,868
19,452
4.633833
0.050857
0.088956
0.113216
0.06585
0.932994
0.921557
0.90677
0.893022
0.883087
0.873498
0
0.052478
0.384793
19,452
496
88
39.217742
0.670845
0
0
0.675052
0
0
0.292412
0.054904
0
0
0
0
0.161426
1
0.037736
false
0
0.004193
0
0.044025
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
1e707b6fa9b69855859890bbdf3539cc7ee849ff
228
py
Python
Examples/test.py
juancotrino/Hapi
db65313a333f9b763c1021f84ef656835fb2f855
[ "MIT" ]
null
null
null
Examples/test.py
juancotrino/Hapi
db65313a333f9b763c1021f84ef656835fb2f855
[ "MIT" ]
null
null
null
Examples/test.py
juancotrino/Hapi
db65313a333f9b763c1021f84ef656835fb2f855
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sun Jan 19 16:34:44 2020 @author: mofarrag """ try: import Hapi except ImportError: try: import HAPI except ImportError: import sys sys.path.append(".") import Hapi
14.25
35
0.627193
31
228
4.612903
0.709677
0.20979
0.181818
0.265734
0.41958
0
0
0
0
0
0
0.075145
0.241228
228
15
36
15.2
0.751445
0.337719
0
0.666667
0
0
0.006993
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
1e9c97b363555034dfdfbf385e30547184709b7f
1,317
py
Python
tabs.py
hugo-barros/AI_sudoku_solutions
df537254496c5a843dbfcf2bb737ab4624927877
[ "MIT" ]
null
null
null
tabs.py
hugo-barros/AI_sudoku_solutions
df537254496c5a843dbfcf2bb737ab4624927877
[ "MIT" ]
null
null
null
tabs.py
hugo-barros/AI_sudoku_solutions
df537254496c5a843dbfcf2bb737ab4624927877
[ "MIT" ]
null
null
null
tabuleiro_easy_1 = [ [4, 0, 1, 8, 3, 9, 5, 2, 0], [3, 0, 9, 2, 7, 5, 1, 4, 6], [5, 2, 7, 6, 0, 1, 9, 8, 0], [0, 5, 8, 1, 0, 7, 3, 9, 4], [0, 7, 3, 9, 8, 4, 2, 5, 0], [9, 1, 4, 5, 2, 3, 6, 7, 8], [7, 4, 0, 3, 0, 6, 8, 1, 2], [8, 0, 6, 4, 1, 2, 7, 3, 5], [1, 3, 2, 7, 5, 8, 4, 0, 9...
21.241935
33
0.290812
334
1,317
1.128743
0.041916
0.535809
0.549072
0.498674
0.435013
0.299735
0.228117
0.116711
0.106101
0.106101
0
0.412137
0.399393
1,317
61
34
21.590164
0.064475
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
1ecbca40de2281a37d2ebaca8351cfa08f576597
45
py
Python
src/hani/__init__.py
define16/Bot
30a1e05ce5e53c88a1cad0bac92c359f180287f7
[ "Apache-2.0" ]
null
null
null
src/hani/__init__.py
define16/Bot
30a1e05ce5e53c88a1cad0bac92c359f180287f7
[ "Apache-2.0" ]
null
null
null
src/hani/__init__.py
define16/Bot
30a1e05ce5e53c88a1cad0bac92c359f180287f7
[ "Apache-2.0" ]
null
null
null
# 한겨레 신문 from hani.handler import HaniHandler
22.5
36
0.822222
7
45
5.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.133333
45
2
36
22.5
0.948718
0.133333
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
1ed6089435c6825a5a52fb672a19f1dbc46d0cb0
3,011
py
Python
plugins/active_directory_ldap/unit_test/test_action_query_group_membership.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/active_directory_ldap/unit_test/test_action_query_group_membership.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/active_directory_ldap/unit_test/test_action_query_group_membership.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
from unittest import TestCase, mock from komand.exceptions import PluginException from komand_active_directory_ldap.actions.query_group_membership import QueryGroupMembership from komand_active_directory_ldap.actions.query_group_membership.schema import Input, Output from unit_test.common import MockServer from unit_te...
51.913793
107
0.732647
361
3,011
5.972299
0.224377
0.033395
0.051948
0.089054
0.851577
0.818182
0.806122
0.806122
0.790816
0.738868
0
0.003555
0.159083
3,011
57
108
52.824561
0.847946
0
0
0.5625
0
0
0.20558
0.041182
0
0
0
0
0.208333
1
0.083333
false
0
0.145833
0
0.25
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
94def3975c2f875a310e6842dd894c01c192cdf2
778
py
Python
user_credentials.py
michael-muga/Password_Locker
f4d690574a59581bab748b03782d009e5ccdb0f1
[ "MIT" ]
null
null
null
user_credentials.py
michael-muga/Password_Locker
f4d690574a59581bab748b03782d009e5ccdb0f1
[ "MIT" ]
null
null
null
user_credentials.py
michael-muga/Password_Locker
f4d690574a59581bab748b03782d009e5ccdb0f1
[ "MIT" ]
null
null
null
class Usercredentials: ''' class to generate new instances of usercredentials ''' user_credential_list = [] #empty list for user creddential def __init__(self,site_name,password): ''' method to define properties of the object ''' self.site_name = site_name ...
24.3125
65
0.642674
83
778
5.807229
0.433735
0.145228
0.186722
0.205394
0
0
0
0
0
0
0
0
0.284062
778
32
66
24.3125
0.86535
0.277635
0
0
1
0
0
0
0
0
0
0
0
1
0.333333
false
0.166667
0
0.083333
0.583333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
6
a21c75a71ca19b195335a39f1652f7a4639e174a
43
py
Python
RPi/GPIO/definitions/PWM/__init__.py
Def4l71diot/RPi.GPIO-def
ed5f93bf8aa59e41df59001ba74691b396101983
[ "MIT" ]
8
2018-08-24T03:34:40.000Z
2022-01-05T11:10:34.000Z
RPi/GPIO/definitions/PWM/__init__.py
Def4l71diot/RPi.GPIO-def
ed5f93bf8aa59e41df59001ba74691b396101983
[ "MIT" ]
1
2018-09-14T17:33:55.000Z
2018-09-14T17:33:55.000Z
RPi/GPIO/definitions/PWM/__init__.py
Def4l71diot/RPi.GPIO-def
ed5f93bf8aa59e41df59001ba74691b396101983
[ "MIT" ]
4
2017-02-04T11:29:12.000Z
2020-12-29T20:26:27.000Z
from RPi.GPIO.definitions.PWM.PWM import *
21.5
42
0.790698
7
43
4.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.093023
43
1
43
43
0.871795
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
bf405fc48d000a33552e377fcbf360efe86532ea
130
py
Python
python-sdk/nuscenes/eval/detection/evaluate.py
tanjiangyuan/Classification_nuScence
b94c4b0b6257fc1c048a676e3fd9e71183108d53
[ "Apache-2.0" ]
null
null
null
python-sdk/nuscenes/eval/detection/evaluate.py
tanjiangyuan/Classification_nuScence
b94c4b0b6257fc1c048a676e3fd9e71183108d53
[ "Apache-2.0" ]
null
null
null
python-sdk/nuscenes/eval/detection/evaluate.py
tanjiangyuan/Classification_nuScence
b94c4b0b6257fc1c048a676e3fd9e71183108d53
[ "Apache-2.0" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:7546974e223fcd1a2e44b290634ee472eb29668307530fa1a727f94508188aab size 13639
32.5
75
0.884615
13
130
8.846154
1
0
0
0
0
0
0
0
0
0
0
0.443548
0.046154
130
3
76
43.333333
0.483871
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
bf4b1abbefc34c61d10d3afb8911d9940761dce5
21,951
py
Python
pyannote/algorithms/segmentation/hmm.py
pyannote/pyannote-algorithms
5a646fdaf3250527569e3f9a1c666d6397e53ce4
[ "MIT" ]
5
2015-04-13T19:59:10.000Z
2020-09-13T23:58:22.000Z
pyannote/algorithms/segmentation/hmm.py
pyannote/pyannote-algorithms
5a646fdaf3250527569e3f9a1c666d6397e53ce4
[ "MIT" ]
7
2015-03-12T16:53:31.000Z
2018-09-03T11:36:23.000Z
pyannote/algorithms/segmentation/hmm.py
pyannote/pyannote-algorithms
5a646fdaf3250527569e3f9a1c666d6397e53ce4
[ "MIT" ]
7
2015-03-11T09:40:08.000Z
2021-01-07T10:39:05.000Z
#!/usr/bin/env python # encoding: utf-8 # The MIT License (MIT) # Copyright (c) 2014-2016 CNRS # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limita...
32.71386
79
0.637511
2,642
21,951
5.15405
0.125284
0.024234
0.017478
0.019534
0.79107
0.782625
0.782625
0.776897
0.776897
0.758684
0
0.003802
0.281035
21,951
670
80
32.762687
0.859017
0.409093
0
0.746212
0
0
0.003418
0
0
0
0
0
0
1
0.07197
false
0
0.030303
0
0.181818
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
bf63395bc0d0dcf37fb50e36bab65a356851cf2a
239
py
Python
Services/document_parser.py
dev-11/eigen-technical-task
c0b041fc2bd27d2706ccdab94f6eb618f17098bd
[ "MIT" ]
null
null
null
Services/document_parser.py
dev-11/eigen-technical-task
c0b041fc2bd27d2706ccdab94f6eb618f17098bd
[ "MIT" ]
null
null
null
Services/document_parser.py
dev-11/eigen-technical-task
c0b041fc2bd27d2706ccdab94f6eb618f17098bd
[ "MIT" ]
null
null
null
import re class DocumentParser: @staticmethod def split_to_sentences(text): return re.split(r'(?<!\w\.\w.)(?<![A-Z][a-z]\.)(?<=\.|\?)\s', text) @staticmethod def split_to_words(text): return text.split()
19.916667
75
0.573222
31
239
4.290323
0.548387
0.225564
0.300752
0.330827
0
0
0
0
0
0
0
0
0.209205
239
11
76
21.727273
0.703704
0
0
0.25
0
0
0.171548
0.171548
0
0
0
0
0
1
0.25
false
0
0.125
0.25
0.75
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
bf65f5a442f14c48b06bc08ecd60d0af82e28db7
186
py
Python
tests/test_trades.py
a-re/ledgerx-python
413bf44758b52ab8b650b1aa1155fde67858e72e
[ "BSD-3-Clause" ]
4
2021-02-10T18:25:05.000Z
2022-02-01T14:12:10.000Z
tests/test_trades.py
a-re/ledgerx-python
413bf44758b52ab8b650b1aa1155fde67858e72e
[ "BSD-3-Clause" ]
3
2021-03-09T03:16:31.000Z
2021-05-10T15:59:11.000Z
tests/test_trades.py
a-re/ledgerx-python
413bf44758b52ab8b650b1aa1155fde67858e72e
[ "BSD-3-Clause" ]
3
2021-04-01T07:04:46.000Z
2022-01-19T05:03:55.000Z
import ledgerx def test_methods(): class_methods = dir(ledgerx.Trades) assert "next" in class_methods assert "list" in class_methods assert "list_all" in class_methods
20.666667
39
0.731183
26
186
5
0.5
0.369231
0.323077
0.307692
0.369231
0
0
0
0
0
0
0
0.198925
186
8
40
23.25
0.872483
0
0
0
0
0
0.086022
0
0
0
0
0
0.5
1
0.166667
false
0
0.166667
0
0.333333
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
6
bf919658c32ed25fe8daed5fdcc1918d5dcc7f10
44
py
Python
Space-Combat-Sim/SpaceSim/Simulation/__init__.py
tannervoas742/Simulations
2156c052c70b7ccae3fb37d560a286a4d9b7f31e
[ "MIT" ]
null
null
null
Space-Combat-Sim/SpaceSim/Simulation/__init__.py
tannervoas742/Simulations
2156c052c70b7ccae3fb37d560a286a4d9b7f31e
[ "MIT" ]
null
null
null
Space-Combat-Sim/SpaceSim/Simulation/__init__.py
tannervoas742/Simulations
2156c052c70b7ccae3fb37d560a286a4d9b7f31e
[ "MIT" ]
null
null
null
from SpaceSim.Simulation.Group import Group
22
43
0.863636
6
44
6.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.090909
44
1
44
44
0.95
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
bf9d33ad396fdf7ed1f4a74ae1f0b9f6190590c7
169
py
Python
app/django_social_auth/models.py
elmadah/django_social
5420b851f7904de05f24d4b671f58b467cb26d4c
[ "MIT" ]
null
null
null
app/django_social_auth/models.py
elmadah/django_social
5420b851f7904de05f24d4b671f58b467cb26d4c
[ "MIT" ]
6
2020-06-05T20:35:01.000Z
2021-09-22T18:26:02.000Z
app/django_social_auth/models.py
elmadah/django_social
5420b851f7904de05f24d4b671f58b467cb26d4c
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager # Create your models here. class User(AbstractBaseUser): pass
24.142857
75
0.828402
22
169
6.318182
0.727273
0.143885
0
0
0
0
0
0
0
0
0
0
0.112426
169
7
76
24.142857
0.926667
0.142012
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.5
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
bf9fb886a304cfbc2007778b945b965ea8e80a74
53
py
Python
level0/questioin90.py
kevin00000000/Python-programming-exercises
87546906d817263ae7ddbd0276f0bb36e0d63c41
[ "MIT" ]
null
null
null
level0/questioin90.py
kevin00000000/Python-programming-exercises
87546906d817263ae7ddbd0276f0bb36e0d63c41
[ "MIT" ]
null
null
null
level0/questioin90.py
kevin00000000/Python-programming-exercises
87546906d817263ae7ddbd0276f0bb36e0d63c41
[ "MIT" ]
null
null
null
print([x for x in [12,24,35,24,88,120,155] if x!=24])
53
53
0.622642
15
53
2.2
0.733333
0
0
0
0
0
0
0
0
0
0
0.382979
0.113208
53
1
53
53
0.319149
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
bfb1511cf45e34987b4b0b3d712f3f5dce89f363
165
py
Python
stentor/viewer/views.py
ADWright18/Project-Stentor
29d2ac47d310313545509bfabdcb598db3ab12cf
[ "BSD-2-Clause" ]
null
null
null
stentor/viewer/views.py
ADWright18/Project-Stentor
29d2ac47d310313545509bfabdcb598db3ab12cf
[ "BSD-2-Clause" ]
null
null
null
stentor/viewer/views.py
ADWright18/Project-Stentor
29d2ac47d310313545509bfabdcb598db3ab12cf
[ "BSD-2-Clause" ]
null
null
null
from django.shortcuts import render from .models import Channel # Create your views here. def stream(request): return render(request, 'viewer/stream.html', {})
23.571429
52
0.751515
22
165
5.636364
0.772727
0
0
0
0
0
0
0
0
0
0
0
0.145455
165
6
53
27.5
0.879433
0.139394
0
0
0
0
0.128571
0
0
0
0
0
0
1
0.25
false
0
0.5
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
bfcd5667afb7cb509eb85aff78dc7346d0d8a30b
7,739
py
Python
understandability/test.py
zhangshyue/regex-library
69a26b580bcc94f95dda3536cd790fb59c81a31b
[ "MIT" ]
null
null
null
understandability/test.py
zhangshyue/regex-library
69a26b580bcc94f95dda3536cd790fb59c81a31b
[ "MIT" ]
null
null
null
understandability/test.py
zhangshyue/regex-library
69a26b580bcc94f95dda3536cd790fb59c81a31b
[ "MIT" ]
null
null
null
import root_pb2 import base64 import json from understandability import analyze from google.protobuf.json_format import MessageToJson, MessageToDict test_S1S3L1 = root_pb2.Expression( raw='S{3}S{4,4}S{7,7}A{2,}', tokens=[ root_pb2.Token( token="S", type=root_pb2.TokenType.Character, ...
29.425856
295
0.650213
922
7,739
5.296095
0.111714
0.159123
0.093385
0.132296
0.794184
0.794184
0.767151
0.705304
0.701823
0.650829
0
0.035301
0.172761
7,739
263
296
29.425856
0.727429
0
0
0.74502
0
0.007968
0.143282
0.037985
0
0
0
0
0
1
0.007968
false
0
0.01992
0
0.031873
0.023904
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
44c3d6199b28f8f339f16d1ebeefd400bc60e00e
35
py
Python
src/zhinst/qcodes/control/drivers/base/__init__.py
jenshnielsen/zhinst-qcodes
fdcf8d1d2af99af81913bc00213f4a815b4d8478
[ "MIT" ]
4
2020-09-21T07:09:57.000Z
2022-02-23T08:56:35.000Z
src/zhinst/qcodes/control/drivers/base/__init__.py
jenshnielsen/zhinst-qcodes
fdcf8d1d2af99af81913bc00213f4a815b4d8478
[ "MIT" ]
23
2020-09-30T12:40:05.000Z
2022-03-11T06:34:37.000Z
src/zhinst/qcodes/control/drivers/base/__init__.py
jenshnielsen/zhinst-qcodes
fdcf8d1d2af99af81913bc00213f4a815b4d8478
[ "MIT" ]
9
2020-09-02T07:42:31.000Z
2022-02-22T07:48:04.000Z
from .base import ZIBaseInstrument
17.5
34
0.857143
4
35
7.5
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
0.967742
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
44d5b3f19873d9a5a96a218c4f328f8037021d41
66
py
Python
pyCTT/__init__.py
dpjrodrigues/pyCTT
a0ae4fb311eed31f4e6d60a2e241cc622ae4c13a
[ "MIT" ]
1
2021-01-04T22:26:45.000Z
2021-01-04T22:26:45.000Z
pyCTT/__init__.py
dpjrodrigues/pyCTT
a0ae4fb311eed31f4e6d60a2e241cc622ae4c13a
[ "MIT" ]
null
null
null
pyCTT/__init__.py
dpjrodrigues/pyCTT
a0ae4fb311eed31f4e6d60a2e241cc622ae4c13a
[ "MIT" ]
null
null
null
from .items import * from .scrapper import * from .consts import *
22
23
0.742424
9
66
5.444444
0.555556
0.408163
0
0
0
0
0
0
0
0
0
0
0.166667
66
3
24
22
0.890909
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
787d58d111c37ad3a519a4c283b0177ae67fdbad
34
py
Python
waterwheel/__init__.py
Govind9/waterwheel
056d748cd52213459f77c20fc42656bd273c8069
[ "Apache-2.0" ]
1
2020-03-27T13:39:22.000Z
2020-03-27T13:39:22.000Z
waterwheel/__init__.py
Govind9/waterwheel
056d748cd52213459f77c20fc42656bd273c8069
[ "Apache-2.0" ]
35
2020-02-29T10:02:18.000Z
2020-09-23T17:48:24.000Z
waterwheel/__init__.py
Govind9/waterwheel
056d748cd52213459f77c20fc42656bd273c8069
[ "Apache-2.0" ]
5
2020-02-29T02:30:38.000Z
2020-09-15T19:18:42.000Z
from .waterwheel import WaterWheel
34
34
0.882353
4
34
7.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.088235
34
1
34
34
0.967742
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
78c94061a40b6a1aa31b4abcb90ca57221c12eb0
40
py
Python
core/math/__init__.py
Marxlp/RLFrame
1fcfa4fb26c1f0e407c8ea77c86d9d51af8b579a
[ "MIT" ]
null
null
null
core/math/__init__.py
Marxlp/RLFrame
1fcfa4fb26c1f0e407c8ea77c86d9d51af8b579a
[ "MIT" ]
null
null
null
core/math/__init__.py
Marxlp/RLFrame
1fcfa4fb26c1f0e407c8ea77c86d9d51af8b579a
[ "MIT" ]
null
null
null
from .mmd import mmd from .cg import cg
13.333333
20
0.75
8
40
3.75
0.5
0
0
0
0
0
0
0
0
0
0
0
0.2
40
2
21
20
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
78cfe95943c05b42d98e37fb840fca8dfb7ffe91
261
py
Python
system/Pumba12.py
dambdmitry/Geek-Playgraund
4730600ae40b85d7bc0040910414341b2fa2f060
[ "Apache-2.0" ]
1
2022-03-31T16:20:52.000Z
2022-03-31T16:20:52.000Z
system/Vadim3.py
dambdmitry/Geek-Playgraund
4730600ae40b85d7bc0040910414341b2fa2f060
[ "Apache-2.0" ]
null
null
null
system/Vadim3.py
dambdmitry/Geek-Playgraund
4730600ae40b85d7bc0040910414341b2fa2f060
[ "Apache-2.0" ]
null
null
null
response&nbsp;=&nbsp;51 &lt;br&gt;print(response) &lt;br&gt; &lt;br&gt;while&nbsp;True: &lt;br&gt;&nbsp;&nbsp;&nbsp;&nbsp;answer&nbsp;=&nbsp;int(input()) &lt;br&gt;&nbsp;&nbsp;&nbsp;&nbsp;response&nbsp;+=&nbsp;1 &lt;br&gt;&nbsp;&nbsp;&nbsp;&nbsp;print(response)
261
261
0.689655
50
261
3.6
0.26
0.533333
0.2
0.166667
0.366667
0.366667
0.366667
0
0
0
0
0.011765
0.022989
261
1
261
261
0.694118
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.285714
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
6
153eb90f2e7380448354b38a4fd420c996a24ca7
357
py
Python
lightbus/__init__.py
C0DK/lightbus
be5cc2771b1058f7c927cca870ed75d4cbbe61a3
[ "Apache-2.0" ]
178
2017-07-22T12:35:00.000Z
2022-03-28T07:53:13.000Z
lightbus/__init__.py
adamcharnock/warren
5e7069da06cd37a8131e8c592ee957ccb73603d5
[ "Apache-2.0" ]
26
2017-08-03T12:09:29.000Z
2021-10-19T16:47:18.000Z
lightbus/__init__.py
adamcharnock/warren
5e7069da06cd37a8131e8c592ee957ccb73603d5
[ "Apache-2.0" ]
19
2017-09-15T17:51:24.000Z
2022-02-28T13:00:16.000Z
from lightbus.utilities.logging import configure_logging from lightbus.transports import * from lightbus.client import BusClient from lightbus.path import * from lightbus.message import * from lightbus.api import * from lightbus.schema import * from lightbus.creation import * from lightbus.client.utilities import OnErr...
32.454545
56
0.834734
46
357
6.456522
0.347826
0.40404
0.363636
0.161616
0
0
0
0
0
0
0
0
0.112045
357
10
57
35.7
0.936909
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
1581042f84efbc911f547bceae7719fd9a90e1f8
28
py
Python
tests/agent/test_measurement.py
dioptra-io/iris
1a7dfb8210fdc0f0554b61b81cbfdba7872f9d39
[ "MIT" ]
6
2022-01-13T16:09:57.000Z
2022-03-26T08:39:47.000Z
tests/agent/test_measurement.py
dioptra-io/iris
1a7dfb8210fdc0f0554b61b81cbfdba7872f9d39
[ "MIT" ]
16
2022-02-01T06:09:13.000Z
2022-03-01T06:12:30.000Z
tests/agent/test_measurement.py
dioptra-io/iris
1a7dfb8210fdc0f0554b61b81cbfdba7872f9d39
[ "MIT" ]
null
null
null
# TODO: test_do_measurement
14
27
0.821429
4
28
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.107143
28
1
28
28
0.84
0.892857
0
null
0
null
0
0
null
0
0
1
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
6
159141fb1bd5de12edfe309af3ea5614ba4effaa
331
py
Python
lib/output.py
cjmlgrto/heroku-buildpack-typekit
e1fce9c4b8a39eeb1464e1609df2e19703e77b9f
[ "MIT" ]
5
2017-09-21T09:21:08.000Z
2022-01-03T16:11:34.000Z
lib/output.py
cjmlgrto/heroku-buildpack-typekit
e1fce9c4b8a39eeb1464e1609df2e19703e77b9f
[ "MIT" ]
3
2017-08-16T20:31:21.000Z
2018-05-31T08:18:10.000Z
lib/output.py
cjmlgrto/heroku-buildpack-typekit
e1fce9c4b8a39eeb1464e1609df2e19703e77b9f
[ "MIT" ]
6
2017-12-18T17:36:57.000Z
2018-08-23T18:26:57.000Z
#!/usr/bin/env python ## # Print a heading. # # @var string text # @return string ## def heading(text): return '-----> ' + text; ## # Print a single line. # # @var string text # @return string ## def line(text): return ' ' + text; ## # Print a single new line. # # @return string ## def nl(): return...
11.821429
28
0.558912
42
331
4.404762
0.380952
0.216216
0.243243
0.205405
0.583784
0.583784
0
0
0
0
0
0
0.247734
331
27
29
12.259259
0.742972
0.489426
0
0
0
0
0.096552
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
ecaedd3499bd634c1aa413a6bbbfce32a4b87619
35
py
Python
CodeWars/8 Kyu/Enumerable Magic #25 - Take the First N Elements.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
CodeWars/8 Kyu/Enumerable Magic #25 - Take the First N Elements.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
CodeWars/8 Kyu/Enumerable Magic #25 - Take the First N Elements.py
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
def take(arr,n): return arr[:n]
17.5
18
0.6
7
35
3
0.714286
0.380952
0
0
0
0
0
0
0
0
0
0
0.2
35
2
18
17.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
6
01bf06656835ebbbd3ad9111e57dab6c2eed5cd8
49
py
Python
pydomosed/__init__.py
evtn/pydomosed
bdab19ea9f5e31dd0ce26a97e65accf78e88213c
[ "WTFPL" ]
8
2020-10-26T06:46:14.000Z
2021-09-21T21:32:11.000Z
pydomosed/__init__.py
evtn/pydomosed
bdab19ea9f5e31dd0ce26a97e65accf78e88213c
[ "WTFPL" ]
null
null
null
pydomosed/__init__.py
evtn/pydomosed
bdab19ea9f5e31dd0ce26a97e65accf78e88213c
[ "WTFPL" ]
null
null
null
from .base import Session from .hooks import Hook
24.5
25
0.816327
8
49
5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.142857
49
2
26
24.5
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
01c18a1749dbab06a9fe6b3f6ceeca0631f66094
213
py
Python
app/accounts/models.py
gladunvv/url-shorteners-api
ecb01fc0b825f8972140bc99ac331735432ab966
[ "MIT" ]
null
null
null
app/accounts/models.py
gladunvv/url-shorteners-api
ecb01fc0b825f8972140bc99ac331735432ab966
[ "MIT" ]
1
2020-06-05T20:26:01.000Z
2020-06-05T20:26:01.000Z
app/accounts/models.py
gladunvv/app-quiz-django
ecb01fc0b825f8972140bc99ac331735432ab966
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import AbstractUser class User(AbstractUser): is_student = models.BooleanField(default=False) is_teacher = models.BooleanField(default=False)
26.625
51
0.798122
27
213
6.222222
0.592593
0.119048
0.297619
0.357143
0
0
0
0
0
0
0
0
0.122066
213
7
52
30.428571
0.898396
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
bf190196fa8fb2c01c73a70ccd669832f6cbd8f5
14,587
py
Python
tests/pnr/test_hpwl.py
pretl/ALIGN-public
4b03042d9e96fa669740427842b0bf268b0c9a86
[ "BSD-3-Clause" ]
119
2019-05-14T18:44:34.000Z
2022-03-17T01:01:02.000Z
tests/pnr/test_hpwl.py
pretl/ALIGN-public
4b03042d9e96fa669740427842b0bf268b0c9a86
[ "BSD-3-Clause" ]
717
2019-04-03T15:36:35.000Z
2022-03-31T21:56:47.000Z
tests/pnr/test_hpwl.py
pretl/ALIGN-public
4b03042d9e96fa669740427842b0bf268b0c9a86
[ "BSD-3-Clause" ]
34
2019-04-01T21:21:27.000Z
2022-03-21T09:46:57.000Z
import json import pathlib from align.pnr.hpwl import gen_netlist, calculate_HPWL_from_placement_verilog_d, Interval, SemiPerimeter from align.pnr.render_placement import standalone_overlap_checker def test_interval(): i = Interval() i.add( 7) assert 0 == i.dist() i.add( 3) assert 4 == i.dist()...
27.574669
115
0.434496
1,303
14,587
4.586339
0.10284
0.187416
0.19913
0.096386
0.842035
0.832831
0.824297
0.77326
0.748829
0.574799
0
0.047053
0.405567
14,587
528
116
27.626894
0.64214
0
0
0.529412
0
0
0.50449
0.042092
0
0
0
0
0.052521
1
0.012605
false
0
0.008403
0
0.021008
0.014706
0
0
0
null
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
1713c05bc92b91cd1c6a06f43c0194b7764d5409
4,422
py
Python
level_three.py
KlaudijaMedeksaite/GBUI-voice-project
bd2cd979483e3ac43de5009d148e2e0403f50eda
[ "MIT" ]
null
null
null
level_three.py
KlaudijaMedeksaite/GBUI-voice-project
bd2cd979483e3ac43de5009d148e2e0403f50eda
[ "MIT" ]
null
null
null
level_three.py
KlaudijaMedeksaite/GBUI-voice-project
bd2cd979483e3ac43de5009d148e2e0403f50eda
[ "MIT" ]
null
null
null
import extras import mike from deep_translator import (GoogleTranslator) import main # The three parts of the third level def food(lan): language = extras.get_language_long(lan) print("\n\nFood in " + language) print("---------------------------------------------------------") numEn = ["bread", "chi...
30.081633
87
0.459521
467
4,422
4.284797
0.233405
0.067466
0.023988
0.047976
0.798601
0.798601
0.798601
0.798601
0.798601
0.737131
0
0.009905
0.383537
4,422
146
88
30.287671
0.724138
0.007689
0
0.862903
0
0
0.144779
0.038988
0
0
0
0
0
1
0.024194
false
0
0.032258
0
0.080645
0.120968
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
1723c4928af3a354632243f8b13774335cb42cfa
206
py
Python
xv_leak_tools/test_components/cleanup/cleanup.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
219
2017-12-12T09:42:46.000Z
2022-03-13T08:25:13.000Z
xv_leak_tools/test_components/cleanup/cleanup.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
11
2017-12-14T08:14:51.000Z
2021-08-09T18:37:45.000Z
xv_leak_tools/test_components/cleanup/cleanup.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
45
2017-12-14T07:26:36.000Z
2022-03-11T09:36:56.000Z
from abc import ABCMeta, abstractmethod from xv_leak_tools.test_components.component import Component class Cleanup(Component, metaclass=ABCMeta): @abstractmethod def cleanup(self): pass
20.6
61
0.771845
24
206
6.5
0.708333
0.269231
0
0
0
0
0
0
0
0
0
0
0.169903
206
9
62
22.888889
0.912281
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.333333
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
6
1758cc112b3b494c9fcb1a4f011424e5a917504e
14,446
py
Python
tests/action/test_create_field.py
Mohsen-Khodabakhshi/mongoengine-migrate
1a7a26a47a474f70743c04700ce2a42f1872f166
[ "Apache-2.0" ]
15
2020-08-05T22:25:54.000Z
2022-02-08T20:50:35.000Z
tests/action/test_create_field.py
Mohsen-Khodabakhshi/mongoengine-migrate
1a7a26a47a474f70743c04700ce2a42f1872f166
[ "Apache-2.0" ]
36
2020-10-22T09:05:01.000Z
2022-02-21T14:50:17.000Z
tests/action/test_create_field.py
Mohsen-Khodabakhshi/mongoengine-migrate
1a7a26a47a474f70743c04700ce2a42f1872f166
[ "Apache-2.0" ]
5
2020-10-23T04:06:32.000Z
2022-02-21T14:35:33.000Z
import itertools from copy import deepcopy from unittest.mock import patch import jsonpath_rw import pytest from mongoengine_migrate.actions import CreateField from mongoengine_migrate.exceptions import SchemaError from mongoengine_migrate.graph import MigrationPolicy from mongoengine_migrate.schema import Schema @...
45.285266
99
0.57933
1,423
14,446
5.574139
0.111736
0.015885
0.029501
0.029123
0.826399
0.794377
0.758195
0.746092
0.737015
0.737015
0
0.028677
0.30479
14,446
318
100
45.427673
0.761127
0.004846
0
0.69112
0
0
0.167896
0.002922
0
0
0
0
0.054054
1
0.057915
false
0.003861
0.034749
0.003861
0.104247
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
178ed138638309250e1c33442f34849d1aab1a6d
85
py
Python
solr/__init__.py
rkosenko/solrpy
6ab5b30b927c4047b8cccb30f1f200864fc28b74
[ "Apache-2.0" ]
37
2015-04-01T19:33:50.000Z
2018-06-01T09:17:23.000Z
solr/__init__.py
rkosenko/solrpy
6ab5b30b927c4047b8cccb30f1f200864fc28b74
[ "Apache-2.0" ]
115
2020-09-02T20:01:26.000Z
2022-03-30T11:47:23.000Z
solr/__init__.py
rkosenko/solrpy
6ab5b30b927c4047b8cccb30f1f200864fc28b74
[ "Apache-2.0" ]
25
2015-04-07T04:44:18.000Z
2018-09-17T02:55:56.000Z
from __future__ import absolute_import from .core import * from .paginator import *
17
38
0.8
11
85
5.727273
0.545455
0.31746
0
0
0
0
0
0
0
0
0
0
0.152941
85
4
39
21.25
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
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
da06dcaa9db0fb78df84767956a4ba4547e0a538
202
py
Python
tests/utils.py
PSSF23/graspologic
d5ae48d0481b6a60fa580158c2e9bae9cc506a9d
[ "MIT" ]
148
2020-09-15T21:45:51.000Z
2022-03-24T17:33:01.000Z
tests/utils.py
PSSF23/graspologic
d5ae48d0481b6a60fa580158c2e9bae9cc506a9d
[ "MIT" ]
533
2020-09-15T18:49:00.000Z
2022-03-25T12:16:58.000Z
tests/utils.py
PSSF23/graspologic
d5ae48d0481b6a60fa580158c2e9bae9cc506a9d
[ "MIT" ]
74
2020-09-16T02:24:23.000Z
2022-03-20T20:09:38.000Z
# Copyright (c) Microsoft Corporation and contributors. # Licensed under the MIT License. import os def data_file(filename): return os.path.join(os.path.dirname(__file__), "test_data", filename)
22.444444
73
0.757426
28
202
5.25
0.785714
0.081633
0
0
0
0
0
0
0
0
0
0
0.138614
202
8
74
25.25
0.844828
0.420792
0
0
0
0
0.078947
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
1
0
0
6
da102ce168e5dd3598cf7f024df950cda3f463c9
78
py
Python
test/test_pyls.py
andfoy/python-language-server
91b5e4efe9db0d9d2cb1704c6132cf39cec780cd
[ "MIT" ]
null
null
null
test/test_pyls.py
andfoy/python-language-server
91b5e4efe9db0d9d2cb1704c6132cf39cec780cd
[ "MIT" ]
1
2017-11-02T22:27:03.000Z
2017-11-02T22:27:03.000Z
test/test_pyls.py
andfoy/python-language-server
91b5e4efe9db0d9d2cb1704c6132cf39cec780cd
[ "MIT" ]
null
null
null
# Copyright 2017 Palantir Technologies, Inc. def test_pyls(): return True
19.5
44
0.74359
10
78
5.7
1
0
0
0
0
0
0
0
0
0
0
0.0625
0.179487
78
3
45
26
0.828125
0.538462
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
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
1
0
0
1
1
0
0
6
da3cfc2d4a78f56d92c66f6a43070a0a77e72a32
35,811
py
Python
tests/response_data/responses.py
koordinates/python-client
7e60a183b5d1dbb8d45423040e1bf8c42a5c2d1e
[ "BSD-3-Clause" ]
3
2015-10-26T06:38:02.000Z
2018-08-17T04:41:10.000Z
tests/response_data/responses.py
koordinates/python-client
7e60a183b5d1dbb8d45423040e1bf8c42a5c2d1e
[ "BSD-3-Clause" ]
21
2015-07-10T19:24:24.000Z
2020-09-22T01:44:20.000Z
tests/response_data/responses.py
koordinates/python-client
7e60a183b5d1dbb8d45423040e1bf8c42a5c2d1e
[ "BSD-3-Clause" ]
2
2015-08-24T17:47:20.000Z
2019-01-16T20:55:40.000Z
layers_single_good_simulated_response = """{"id": 1474, "url": "https://koordinates.com/services/api/v1/layers/1474/", "type": "layer", "name": "Wellington City Building Footprints", "first_published_at": "2010-06-21T05:05:05.953", "published_at": "2012-05-09T02:11:27.020Z", "description": "Polygons representing buildi...
4,476.375
22,955
0.693781
5,327
35,811
4.596583
0.167824
0.148983
0.176917
0.23928
0.748999
0.697786
0.632729
0.358858
0.148616
0.14543
0
0.162232
0.063975
35,811
7
22,956
5,115.857143
0.568258
0
0
0
0
0.6
0.995951
0.21795
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e534a23fae22cc4018e6539490da96e041499d36
227
py
Python
plugins/executor_plugin/minerva/const.py
anismiles/querybook
66142ee1fe1198fb0a3de97dab7677daaefd4118
[ "Apache-2.0" ]
null
null
null
plugins/executor_plugin/minerva/const.py
anismiles/querybook
66142ee1fe1198fb0a3de97dab7677daaefd4118
[ "Apache-2.0" ]
null
null
null
plugins/executor_plugin/minerva/const.py
anismiles/querybook
66142ee1fe1198fb0a3de97dab7677daaefd4118
[ "Apache-2.0" ]
null
null
null
# https://easily-champion-frog.dataos.io:7432/depot/collection connection_regex = r"^(http|https):\/\/([\w.-]+(?:\:\d+)?(?:,[\w.-]+(?:\:\d+)?)*)(\/\w+)?(\/\w+)?(\?[\w.-]+=[\w.-]+(?:&[\w.-]+=[\w.-]+)*)?$" apikey_regex = "\\w+"
45.4
140
0.436123
27
227
3.592593
0.592593
0.103093
0.123711
0.123711
0.061856
0
0
0
0
0
0
0.018349
0.039648
227
4
141
56.75
0.426606
0.264317
0
0
0
0.5
0.739394
0.715152
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e581948b51ad831cd2a0986f6336b51585a0ee81
8,235
py
Python
advanced/part10-12_course_records/test/test_course_records.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
advanced/part10-12_course_records/test/test_course_records.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
advanced/part10-12_course_records/test/test_course_records.py
Hannah-Abi/python-pro-21
2ce32c4bf118054329d19afdf83c50561be1ada8
[ "MIT" ]
null
null
null
import unittest from unittest.mock import patch from tmc import points, reflect from tmc.utils import load, load_module, reload_module, get_stdout, check_source from functools import reduce import os import os.path import textwrap from random import choice, randint from datetime import date, datetime, timedelta exerc...
37.775229
162
0.581785
1,077
8,235
4.312906
0.129062
0.097094
0.054252
0.031001
0.80409
0.773089
0.760388
0.738859
0.707212
0.698385
0
0.031017
0.283546
8,235
217
163
37.949309
0.756271
0
0
0.636364
0
0.064171
0.370735
0.105282
0
0
0
0
0.042781
1
0.069519
false
0
0.053476
0.010695
0.139037
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e5f06b599502890a8c339c5afd35bb7a7a48ba43
37
py
Python
utils/__init__.py
nullarmo/Infiniti
67304b78fdcf3e549bb59fb63fa55b2ae44d2ab4
[ "MIT" ]
null
null
null
utils/__init__.py
nullarmo/Infiniti
67304b78fdcf3e549bb59fb63fa55b2ae44d2ab4
[ "MIT" ]
null
null
null
utils/__init__.py
nullarmo/Infiniti
67304b78fdcf3e549bb59fb63fa55b2ae44d2ab4
[ "MIT" ]
null
null
null
from hd_key import HDKey, HD_HARDEN
12.333333
35
0.810811
7
37
4
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.162162
37
2
36
18.5
0.903226
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
e5fa322285b7a2870c65507e9cc7a567fea39998
35
py
Python
mmm/__init__.py
rick446/mmm
34d46f6cbf91a13d3168f160b57b268f0ec56fd9
[ "Apache-2.0" ]
35
2015-01-04T20:10:05.000Z
2021-11-09T10:07:02.000Z
mmm/__init__.py
rick446/mmm
34d46f6cbf91a13d3168f160b57b268f0ec56fd9
[ "Apache-2.0" ]
null
null
null
mmm/__init__.py
rick446/mmm
34d46f6cbf91a13d3168f160b57b268f0ec56fd9
[ "Apache-2.0" ]
14
2015-03-13T15:39:52.000Z
2019-07-28T18:53:12.000Z
from slave import ReplicationSlave
17.5
34
0.885714
4
35
7.75
1
0
0
0
0
0
0
0
0
0
0
0
0.114286
35
1
35
35
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f90cd43482ef00e9b5ab481bc86a562fd78c8476
123
py
Python
tests/testunits/testlexicographers/testnaxxxlexicographer.py
rsnakamura/oldape
b4d1c77e1d611fe2b30768b42bdc7493afb0ea95
[ "Apache-2.0" ]
null
null
null
tests/testunits/testlexicographers/testnaxxxlexicographer.py
rsnakamura/oldape
b4d1c77e1d611fe2b30768b42bdc7493afb0ea95
[ "Apache-2.0" ]
null
null
null
tests/testunits/testlexicographers/testnaxxxlexicographer.py
rsnakamura/oldape
b4d1c77e1d611fe2b30768b42bdc7493afb0ea95
[ "Apache-2.0" ]
null
null
null
from unittest import TestCase from apetools.lexicographers.sublexicographers.naxxxlexicographer import NaxxxLexicographer
30.75
91
0.902439
11
123
10.090909
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.073171
123
3
92
41
0.973684
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f921cfc05c392f7b086ee04b216048c14a736a53
44
py
Python
lang/Python/find-limit-of-recursion-1.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/find-limit-of-recursion-1.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/find-limit-of-recursion-1.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
import sys print((sys.getrecursionlimit()))
14.666667
32
0.772727
5
44
6.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.068182
44
2
33
22
0.829268
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
6
0093517aaf5902ac39126eea0b7bb24a9e615d6d
6,670
py
Python
tests-proxy/server/example_com_http_client_tunnel_or_bump_test.py
plater-inc/proxy
f277fd8b3b5bf19b29c8f07055b65ed34c9a8dda
[ "MIT" ]
null
null
null
tests-proxy/server/example_com_http_client_tunnel_or_bump_test.py
plater-inc/proxy
f277fd8b3b5bf19b29c8f07055b65ed34c9a8dda
[ "MIT" ]
null
null
null
tests-proxy/server/example_com_http_client_tunnel_or_bump_test.py
plater-inc/proxy
f277fd8b3b5bf19b29c8f07055b65ed34c9a8dda
[ "MIT" ]
null
null
null
import test_util.proxy import test_util.runner import ssl import http.client if __name__ == "__main__": for bump in [False, True]: queue, proxy_process = test_util.runner.run( "./tests-proxy/server/tunnel_or_bump_callbacks_proxy", ["bump" if bump else "tunnel"], ) p...
37.47191
151
0.588756
802
6,670
4.549875
0.15586
0.067964
0.1151
0.130447
0.81584
0.81584
0.811729
0.811729
0.811729
0.811729
0
0.02152
0.317241
6,670
177
152
37.683616
0.779754
0.045127
0
0.513333
0
0.013333
0.221506
0.046219
0
0
0
0
0.213333
1
0
false
0
0.026667
0
0.026667
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
00d18a0e6bfca167f2fb6800337a84966739c67c
24,981
py
Python
app/api/v2/position.py
BoostryJP/ibet-Wallet-API
da7323a298bdb746e93da8a9b57a5da1dd6f14ac
[ "Apache-2.0" ]
6
2021-06-16T02:06:21.000Z
2021-09-20T09:50:56.000Z
app/api/v2/position.py
BoostryJP/ibet-Wallet-API
da7323a298bdb746e93da8a9b57a5da1dd6f14ac
[ "Apache-2.0" ]
68
2021-04-06T03:44:54.000Z
2022-03-29T02:00:02.000Z
app/api/v2/position.py
BoostryJP/ibet-Wallet-API
da7323a298bdb746e93da8a9b57a5da1dd6f14ac
[ "Apache-2.0" ]
null
null
null
""" Copyright BOOSTRY Co., Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distr...
40.097913
100
0.506145
1,989
24,981
6.068879
0.11463
0.068428
0.03148
0.044073
0.784608
0.784608
0.768122
0.768122
0.755778
0.751802
0
0.004553
0.428566
24,981
622
101
40.162379
0.841051
0.076938
0
0.715464
0
0
0.066162
0.009874
0
0
0
0
0
1
0.020619
false
0
0.020619
0
0.061856
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
00e12fd9b39128ae52b9693e481fff1c8da419c8
45
py
Python
instaframe/__init__.py
oselin/instaframe
6a1ec6e9e6b5935b082c207182f3f2bc071eb4ec
[ "MIT" ]
null
null
null
instaframe/__init__.py
oselin/instaframe
6a1ec6e9e6b5935b082c207182f3f2bc071eb4ec
[ "MIT" ]
null
null
null
instaframe/__init__.py
oselin/instaframe
6a1ec6e9e6b5935b082c207182f3f2bc071eb4ec
[ "MIT" ]
null
null
null
from instaframe.instaframe2 import Instaframe
45
45
0.911111
5
45
8.2
0.8
0
0
0
0
0
0
0
0
0
0
0.02381
0.066667
45
1
45
45
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
daa32e288164da610bf0df0a384617965413e8d0
15,087
py
Python
features/steps/data-table.py
eaton-lab/toyplot
472f2f2f1bc048e485ade44d75c3ace310be4b41
[ "BSD-3-Clause" ]
438
2015-01-06T20:54:02.000Z
2022-03-15T00:39:33.000Z
features/steps/data-table.py
eaton-lab/toyplot
472f2f2f1bc048e485ade44d75c3ace310be4b41
[ "BSD-3-Clause" ]
184
2015-01-26T17:04:47.000Z
2022-02-19T16:29:00.000Z
features/steps/data-table.py
eaton-lab/toyplot
472f2f2f1bc048e485ade44d75c3ace310be4b41
[ "BSD-3-Clause" ]
45
2015-07-06T18:00:27.000Z
2022-02-14T12:46:17.000Z
# Copyright 2014, Sandia Corporation. Under the terms of Contract # DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain # rights in this software. from behave import * import nose.tools import numpy.testing import collections import io import numpy import os import sys import tempfile impo...
35.498824
154
0.686618
2,346
15,087
4.33035
0.089088
0.107196
0.097451
0.099222
0.84467
0.819963
0.779112
0.77104
0.715622
0.634019
0
0.027278
0.144694
15,087
424
155
35.582547
0.759997
0.011069
0
0.434783
0
0
0.235618
0
0
0
0
0
0.301003
1
0.190635
false
0.003344
0.040134
0
0.237458
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
dab6e7629723f93498360689cb6eae0347f38513
45
py
Python
src/testing_pystan_install/where_is_my_python.py
webclinic017/back-testing-stock-strats
2860fd9ed6ab86424c9a0c766c45d0c09658bd33
[ "MIT" ]
1
2022-03-14T12:59:28.000Z
2022-03-14T12:59:28.000Z
src/testing_pystan_install/where_is_my_python.py
webclinic017/back-testing-stock-strats
2860fd9ed6ab86424c9a0c766c45d0c09658bd33
[ "MIT" ]
null
null
null
src/testing_pystan_install/where_is_my_python.py
webclinic017/back-testing-stock-strats
2860fd9ed6ab86424c9a0c766c45d0c09658bd33
[ "MIT" ]
2
2021-12-02T20:51:30.000Z
2022-03-14T12:59:33.000Z
import distutils print(distutils.__file__)
15
26
0.822222
5
45
6.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.111111
45
2
27
22.5
0.825
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
6
dae4962901ec884fa9f9a97564b67fabf2e275c0
25
py
Python
rlberry/agents/cem/__init__.py
antoine-moulin/rlberry
676af9d1bb9094a6790a9aa3ff7e67b13584a183
[ "MIT" ]
null
null
null
rlberry/agents/cem/__init__.py
antoine-moulin/rlberry
676af9d1bb9094a6790a9aa3ff7e67b13584a183
[ "MIT" ]
null
null
null
rlberry/agents/cem/__init__.py
antoine-moulin/rlberry
676af9d1bb9094a6790a9aa3ff7e67b13584a183
[ "MIT" ]
null
null
null
from .cem import CEMAgent
25
25
0.84
4
25
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
1
25
25
0.954545
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
daed0000c6137c31b6fc25867909c0032976bb4f
48
py
Python
evaluate/__init__.py
YantaoShen/openBCT
69e798c2dd6380572da7a88b68e0e9d31d9b08a4
[ "BSD-2-Clause" ]
64
2020-10-13T06:24:41.000Z
2022-03-08T11:23:22.000Z
evaluate/__init__.py
YantaoShen/openBCT
69e798c2dd6380572da7a88b68e0e9d31d9b08a4
[ "BSD-2-Clause" ]
4
2020-12-29T05:57:34.000Z
2022-01-13T18:07:05.000Z
evaluate/__init__.py
YantaoShen/openBCT
69e798c2dd6380572da7a88b68e0e9d31d9b08a4
[ "BSD-2-Clause" ]
10
2020-10-13T06:25:51.000Z
2022-03-03T00:06:06.000Z
from .evaluators import * from .ranking import *
24
25
0.770833
6
48
6.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.145833
48
2
26
24
0.902439
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
9708f9ea6f363037e41fbb160593d14942c16acc
56
py
Python
emp_wsb/__main__.py
EasyMicroPython/EMP-WSB
77bca344c4844b04dd9436b9bfa50fdaf79178ff
[ "MIT" ]
3
2019-01-14T15:57:48.000Z
2020-01-31T03:43:33.000Z
emp_wsb/__main__.py
EasyMicroPython/EMP-WSB
77bca344c4844b04dd9436b9bfa50fdaf79178ff
[ "MIT" ]
1
2019-03-17T03:49:21.000Z
2019-08-11T06:57:00.000Z
emp_wsb/__main__.py
EasyMicroPython/EMP-WSB
77bca344c4844b04dd9436b9bfa50fdaf79178ff
[ "MIT" ]
1
2020-03-21T15:01:07.000Z
2020-03-21T15:01:07.000Z
from emp_wsb.cli import run import fire fire.Fire(run)
11.2
27
0.785714
11
56
3.909091
0.636364
0.372093
0
0
0
0
0
0
0
0
0
0
0.142857
56
4
28
14
0.895833
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
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
97728d8ed6508f1f6b53a00fdc4e04584be577a4
3,165
py
Python
Linear Models/tests/01_unittest_onehot_input/test.py
AxoyTO/ML-DL-DS-Python-Studies
ffef653190d1106e01244a4ea7f3f953b9d97882
[ "Unlicense" ]
null
null
null
Linear Models/tests/01_unittest_onehot_input/test.py
AxoyTO/ML-DL-DS-Python-Studies
ffef653190d1106e01244a4ea7f3f953b9d97882
[ "Unlicense" ]
null
null
null
Linear Models/tests/01_unittest_onehot_input/test.py
AxoyTO/ML-DL-DS-Python-Studies
ffef653190d1106e01244a4ea7f3f953b9d97882
[ "Unlicense" ]
1
2021-12-08T13:00:41.000Z
2021-12-08T13:00:41.000Z
import numpy as np import pandas as pd from Task import MyOneHotEncoder, SimpleCounterEncoder, FoldCounters, weights def test_imports(): with open('Task.py', 'r') as file: lines = ' '.join(file.readlines()) assert 'import numpy' in lines assert lines.count('import') == 1 assert 's...
42.77027
112
0.371248
598
3,165
1.929766
0.107023
0.259965
0.205373
0.180243
0.629983
0.615251
0.560659
0.542461
0.542461
0.44714
0
0.238838
0.412638
3,165
73
113
43.356164
0.381926
0
0
0.363636
0
0
0.024013
0
0
0
0
0
0.212121
1
0.045455
false
0
0.090909
0
0.136364
0
0
0
1
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
c136833da2e3221acd93170dec9116d1ff938a32
53
py
Python
exp/trying_globals_for_keyword.py
nicolasessisbreton/fython
988f5a94cee8b16b0000501a22239195c73424a1
[ "Apache-2.0" ]
41
2016-01-21T05:14:45.000Z
2021-11-24T20:37:21.000Z
exp/trying_globals_for_keyword.py
nicolasessisbreton/fython
988f5a94cee8b16b0000501a22239195c73424a1
[ "Apache-2.0" ]
5
2016-01-21T05:36:37.000Z
2016-08-22T19:26:51.000Z
exp/trying_globals_for_keyword.py
nicolasessisbreton/fython
988f5a94cee8b16b0000501a22239195c73424a1
[ "Apache-2.0" ]
3
2016-01-23T04:03:44.000Z
2016-08-21T15:58:38.000Z
from . import globals_for_keyword as a print(a.pass)
17.666667
38
0.792453
10
53
4
0.9
0
0
0
0
0
0
0
0
0
0
0
0.132075
53
3
39
17.666667
0.869565
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0.5
0.5
null
null
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
1
0
0
1
1
0
0
1
0
6
c13b445d5df69b68154c8c546efa78050cbf5425
5,966
py
Python
tests/test_control_archive.py
EthanArbuckle/dm.py
d69fd1c7312bfe2c9f10674499b99f4ea1725d78
[ "MIT" ]
2
2021-02-07T12:21:26.000Z
2021-03-10T01:35:24.000Z
tests/test_control_archive.py
EthanArbuckle/dm.py
d69fd1c7312bfe2c9f10674499b99f4ea1725d78
[ "MIT" ]
null
null
null
tests/test_control_archive.py
EthanArbuckle/dm.py
d69fd1c7312bfe2c9f10674499b99f4ea1725d78
[ "MIT" ]
null
null
null
import tarfile import tempfile from pathlib import Path import pytest from dm import Dm class TestControlArchive: def test_build_control_archive(self) -> None: with tempfile.TemporaryDirectory() as tempdir: staging = Path(tempdir) # Given a valid control directory debi...
41.430556
113
0.615488
695
5,966
5.116547
0.17554
0.102362
0.024747
0.033746
0.821991
0.812148
0.798369
0.798369
0.798369
0.786277
0
0.014108
0.310929
5,966
143
114
41.72028
0.850888
0.174154
0
0.666667
0
0
0.151819
0.005108
0
0
0
0
0.154762
1
0.071429
false
0
0.059524
0
0.142857
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
c1685e46a8fff97a1cf0a5a3abed301c31829955
56
py
Python
example/windows/include/code/included_folderA/included_module.py
HussainTaj-W/spark_submit_project
17e32ae208147321d42c732ff2c015fe47271ae8
[ "MIT" ]
3
2020-01-06T16:02:21.000Z
2020-04-04T12:24:07.000Z
example/windows/include/code/included_folderA/included_module.py
HussainTaj-W/spark_submit_project
17e32ae208147321d42c732ff2c015fe47271ae8
[ "MIT" ]
null
null
null
example/windows/include/code/included_folderA/included_module.py
HussainTaj-W/spark_submit_project
17e32ae208147321d42c732ff2c015fe47271ae8
[ "MIT" ]
null
null
null
def the_module_says(): return "This seems to work."
18.666667
32
0.696429
9
56
4.111111
1
0
0
0
0
0
0
0
0
0
0
0
0.196429
56
2
33
28
0.822222
0
0
0
0
0
0.339286
0
0
0
0
0
0
1
0.5
true
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
1
0
0
1
1
0
0
6
c18a3f7ec198c87772aad4aa7e7ea9928733b4dc
180
py
Python
Chapter 1-4/G.py
Null3rror/Engineering-Economics-Cheatsheet
68639482d4db071bf51c44f5d51fc978c7899b90
[ "MIT" ]
null
null
null
Chapter 1-4/G.py
Null3rror/Engineering-Economics-Cheatsheet
68639482d4db071bf51c44f5d51fc978c7899b90
[ "MIT" ]
null
null
null
Chapter 1-4/G.py
Null3rror/Engineering-Economics-Cheatsheet
68639482d4db071bf51c44f5d51fc978c7899b90
[ "MIT" ]
null
null
null
def P_G(G, i, n): t = (1 + i) ** n return (G / i) * (((t - 1) / (i * t)) - (n / t)) def A_G(G, i, n): t = (1 + i) ** n return G * ((1/i) - (n / (t - 1)))
20
53
0.288889
36
180
1.388889
0.25
0.2
0.18
0.24
0.6
0.6
0.6
0.6
0.6
0.6
0
0.04717
0.411111
180
8
54
22.5
0.424528
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
6
c1c0a66b495732fbb82b90375668d220f7004fff
221
py
Python
Python_Project/python_basic/019_object.py
airpoet/bigdata
dc86e9fd63ed59cbd7bf69c1aa37ff6130df3da8
[ "MIT" ]
null
null
null
Python_Project/python_basic/019_object.py
airpoet/bigdata
dc86e9fd63ed59cbd7bf69c1aa37ff6130df3da8
[ "MIT" ]
null
null
null
Python_Project/python_basic/019_object.py
airpoet/bigdata
dc86e9fd63ed59cbd7bf69c1aa37ff6130df3da8
[ "MIT" ]
2
2019-04-20T03:31:31.000Z
2020-03-19T14:15:50.000Z
#!/usr/bin/python3 # -*-coding:utf-8-*- # python面向对象相关 """ 面向对象: https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431864715651c99511036d884cf1b399e65ae0d27f7e000 """
17
135
0.746606
15
221
11
1
0
0
0
0
0
0
0
0
0
0
0.415385
0.117647
221
13
136
17
0.430769
0.864253
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
a9e79f7ad87aabfbfd7cc4595b9c1e7add49b8bf
11,102
py
Python
arhuaco/graphics/results.py
kuronosec/arhuaco
6eec1691dd03b2e3726ae8c2101588b45d58b6d7
[ "Apache-2.0" ]
1
2020-08-08T02:17:34.000Z
2020-08-08T02:17:34.000Z
arhuaco/graphics/results.py
kuronosec/arhuaco
6eec1691dd03b2e3726ae8c2101588b45d58b6d7
[ "Apache-2.0" ]
null
null
null
arhuaco/graphics/results.py
kuronosec/arhuaco
6eec1691dd03b2e3726ae8c2101588b45d58b6d7
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2019 Andres Gomez Ramirez. # All Rights Reserved. from __future__ import print_function import os import sys, getopt import numpy as np import time from arhuaco.graphics.plot import Plot # Collect and plot evaluation results def main(argv): training_vs_validation_cnn() training_vs_validatio...
52.367925
100
0.496217
1,296
11,102
4.057099
0.071759
0.046786
0.101369
0.13256
0.896919
0.882275
0.854127
0.854127
0.847851
0.798022
0
0.01775
0.370744
11,102
211
101
52.616114
0.734898
0.032787
0
0.571429
0
0
0.330567
0.185379
0
0
0
0
0
1
0.021164
false
0
0.031746
0
0.05291
0.005291
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e74b716e9b1f25a4a1435df6e02ddd268ce738b3
7,316
py
Python
tests/test_json_fields.py
trevorbox/prom2teams
512c53aabdea8b7858fbe5899ac96e392be1ea8e
[ "Apache-2.0" ]
180
2017-09-04T21:07:00.000Z
2022-03-10T11:05:02.000Z
tests/test_json_fields.py
trevorbox/prom2teams
512c53aabdea8b7858fbe5899ac96e392be1ea8e
[ "Apache-2.0" ]
162
2017-08-24T08:54:33.000Z
2022-03-26T20:08:04.000Z
tests/test_json_fields.py
trevorbox/prom2teams
512c53aabdea8b7858fbe5899ac96e392be1ea8e
[ "Apache-2.0" ]
75
2017-11-08T11:04:31.000Z
2022-03-04T12:34:37.000Z
import unittest import os import json from prom2teams.teams.alert_mapper import map_prom_alerts_to_teams_alerts from prom2teams.prometheus.message_schema import MessageSchema from prom2teams.app.sender import AlertSender from deepdiff import DeepDiff class TestJSONFields(unittest.TestCase): TEST_CONFIG_FILES_PAT...
51.160839
190
0.674959
919
7,316
5.020675
0.104461
0.041612
0.06502
0.082358
0.82098
0.802991
0.789987
0.768531
0.768531
0.768531
0
0.004414
0.225806
7,316
142
191
51.521127
0.810205
0
0
0.553571
0
0
0.088163
0.059185
0.008929
0
0
0
0.107143
1
0.107143
false
0
0.0625
0
0.1875
0.044643
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
e75ce0bb5d5d5c1a35846cd6584d38765070db04
29
py
Python
py_01.py
fosterlee/robrebase
b05d5c536a88c592f19d358b976ba1a9f5717fc5
[ "MIT" ]
null
null
null
py_01.py
fosterlee/robrebase
b05d5c536a88c592f19d358b976ba1a9f5717fc5
[ "MIT" ]
3
2021-03-13T18:20:43.000Z
2021-03-14T20:17:06.000Z
py_01.py
fosterlee/robrebase
b05d5c536a88c592f19d358b976ba1a9f5717fc5
[ "MIT" ]
null
null
null
print(f"Hi, I'm py_01.py!")
9.666667
27
0.586207
8
29
2
0.875
0
0
0
0
0
0
0
0
0
0
0.08
0.137931
29
2
28
14.5
0.56
0
0
0
0
0
0.607143
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
e785dfc5b3ef5361ff72a11cef56454f3403e3bd
171
py
Python
wonya/admin.py
BuildForSDG/team-271-backend
db2bd8eb5f4d9f46bd6baff05e0e705aba883a83
[ "MIT" ]
1
2020-08-20T01:24:46.000Z
2020-08-20T01:24:46.000Z
wonya/admin.py
BuildForSDG/team-271-backend
db2bd8eb5f4d9f46bd6baff05e0e705aba883a83
[ "MIT" ]
12
2020-05-13T04:40:32.000Z
2022-03-12T00:39:09.000Z
wonya/admin.py
BuildForSDG/team-271-backend
db2bd8eb5f4d9f46bd6baff05e0e705aba883a83
[ "MIT" ]
null
null
null
from django.contrib import admin admin.site.site_header = "Wonya Admin" admin.site.site_title = "Wonya Admin Area" admin.site.index_title = "Welcome to Wonya admin area"
28.5
54
0.783626
27
171
4.851852
0.481481
0.206107
0.21374
0.274809
0
0
0
0
0
0
0
0
0.122807
171
5
55
34.2
0.873333
0
0
0
0
0
0.315789
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
e7990fa9255a40c41070da86bccde11f51478c80
64
py
Python
waveform_analysis/weighting_filters/__init__.py
pirun/waveform_analysis
66809614b1fc985e694af1720341035316a5ac8e
[ "MIT" ]
125
2017-08-27T01:48:02.000Z
2022-01-20T10:47:13.000Z
waveform_analysis/weighting_filters/__init__.py
pirun/waveform_analysis
66809614b1fc985e694af1720341035316a5ac8e
[ "MIT" ]
13
2017-06-25T14:57:43.000Z
2022-03-18T19:54:19.000Z
waveform_analysis/weighting_filters/__init__.py
pirun/waveform_analysis
66809614b1fc985e694af1720341035316a5ac8e
[ "MIT" ]
48
2017-06-25T10:42:10.000Z
2022-03-09T18:13:55.000Z
from .ABC_weighting import * from .ITU_R_468_weighting import *
21.333333
34
0.8125
10
64
4.8
0.7
0.625
0
0
0
0
0
0
0
0
0
0.053571
0.125
64
2
35
32
0.803571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
99c0fe51ba8b84508d7f28745233a4ba8b2f22a2
2,589
py
Python
bdc_collectors/scihub/parser.py
raphaelrpl/bdc-collectors
3eb4f1b8bee26aeca1df6ae20a232d13ece60bb7
[ "MIT" ]
4
2021-01-21T21:40:10.000Z
2022-01-14T18:42:07.000Z
bdc_collectors/scihub/parser.py
raphaelrpl/bdc-collectors
3eb4f1b8bee26aeca1df6ae20a232d13ece60bb7
[ "MIT" ]
14
2021-02-07T01:45:32.000Z
2022-03-25T14:16:41.000Z
bdc_collectors/scihub/parser.py
raphaelrpl/bdc-collectors
3eb4f1b8bee26aeca1df6ae20a232d13ece60bb7
[ "MIT" ]
2
2021-02-07T00:53:14.000Z
2021-02-13T02:54:45.000Z
# # This file is part of BDC-Collectors. # Copyright (C) 2020 INPE. # # BDC-Collectors is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. # """Defines the base structure of SciHub api.""" from datetime import datetime from typing import ...
27.83871
75
0.627655
334
2,589
4.769461
0.290419
0.097928
0.094162
0.07533
0.77715
0.755807
0.710609
0.710609
0.710609
0.710609
0
0.018791
0.239475
2,589
92
76
28.141304
0.790249
0.30282
0
0.682927
0
0
0.076611
0
0
0
0
0
0
1
0.292683
false
0
0.073171
0
0.707317
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
6
99db8f88ea33145ea5fc56366dae8a627c45d429
135
py
Python
scripts/npc/autogen_DestinyWormhole_First.py
hsienjan/SideQuest-Server
3e88debaf45615b759d999255908f99a15283695
[ "MIT" ]
null
null
null
scripts/npc/autogen_DestinyWormhole_First.py
hsienjan/SideQuest-Server
3e88debaf45615b759d999255908f99a15283695
[ "MIT" ]
null
null
null
scripts/npc/autogen_DestinyWormhole_First.py
hsienjan/SideQuest-Server
3e88debaf45615b759d999255908f99a15283695
[ "MIT" ]
null
null
null
# Character field ID when accessed: 820000000 # ObjectID: 1000010 # ParentID: 9201391 # Object Position Y: 48 # Object Position X: 134
22.5
45
0.755556
18
135
5.666667
0.888889
0.27451
0
0
0
0
0
0
0
0
0
0.25
0.17037
135
5
46
27
0.660714
0.918519
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
99f2e33f1c43c678a091d5b01f3e9bf523948ceb
21
py
Python
qmatch/commands/__init__.py
davislf2/qmatch-cli
ba97b3cf2bbc225efe96c8e4687103448e3b2835
[ "MIT" ]
null
null
null
qmatch/commands/__init__.py
davislf2/qmatch-cli
ba97b3cf2bbc225efe96c8e4687103448e3b2835
[ "MIT" ]
null
null
null
qmatch/commands/__init__.py
davislf2/qmatch-cli
ba97b3cf2bbc225efe96c8e4687103448e3b2835
[ "MIT" ]
null
null
null
from .match import *
21
21
0.714286
3
21
5
1
0
0
0
0
0
0
0
0
0
0
0
0.190476
21
1
21
21
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
820c45ca18741ed33628195fcd7cf95b3540b713
196
py
Python
terse/test/test_invoke.py
cjlucas85/terse
f94483c677850d8da6a154079ee6b2feefd3c739
[ "BSD-3-Clause" ]
1
2018-07-23T23:47:25.000Z
2018-07-23T23:47:25.000Z
terse/test/test_invoke.py
cjlucas85/terse
f94483c677850d8da6a154079ee6b2feefd3c739
[ "BSD-3-Clause" ]
null
null
null
terse/test/test_invoke.py
cjlucas85/terse
f94483c677850d8da6a154079ee6b2feefd3c739
[ "BSD-3-Clause" ]
null
null
null
from terse import main from .test_invoke_helper import FILENAME from .test_invoke_helper import main_impl import os def test_helper_did_not_create_file(): assert not os.path.exists(FILENAME)
24.5
41
0.831633
32
196
4.78125
0.5625
0.130719
0.183007
0.261438
0.339869
0
0
0
0
0
0
0
0.122449
196
7
42
28
0.889535
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
true
0
0.666667
0
0.833333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
8240d30fdbec4d38935b4abd617e5ba39fd0f7b1
121
py
Python
project_tools/tests/data_processing/test_pipelines.py
NRCan/Geoscience_Language_Models
a1dcdaae4aac0e8cee9f864e6246ba615b7f68c8
[ "MIT" ]
null
null
null
project_tools/tests/data_processing/test_pipelines.py
NRCan/Geoscience_Language_Models
a1dcdaae4aac0e8cee9f864e6246ba615b7f68c8
[ "MIT" ]
null
null
null
project_tools/tests/data_processing/test_pipelines.py
NRCan/Geoscience_Language_Models
a1dcdaae4aac0e8cee9f864e6246ba615b7f68c8
[ "MIT" ]
null
null
null
# Copyright (C) 2021 ServiceNow, Inc. import nrcan_p2.data_processing.pipelines def test_can_import(): assert(True)
20.166667
41
0.768595
17
121
5.235294
0.941176
0
0
0
0
0
0
0
0
0
0
0.047619
0.132231
121
6
42
20.166667
0.8
0.289256
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
true
0
0.666667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
6
8246fe303f74a61bfc0f7b5dfe898b240aa83b0b
214
py
Python
inversion/__init__.py
yohan-pg/stylegan2-ada-pytorch
e1225b08d55ff5ca38e1646fa430d3c3c3bb3c68
[ "BSD-Source-Code" ]
null
null
null
inversion/__init__.py
yohan-pg/stylegan2-ada-pytorch
e1225b08d55ff5ca38e1646fa430d3c3c3bb3c68
[ "BSD-Source-Code" ]
null
null
null
inversion/__init__.py
yohan-pg/stylegan2-ada-pytorch
e1225b08d55ff5ca38e1646fa430d3c3c3bb3c68
[ "BSD-Source-Code" ]
null
null
null
from .prelude import * from .criterions import * from .variables import * from .jittering import * from .optimizer import * from .io import * from .interpolator import * from .inverter import * from .util import *
21.4
27
0.747664
27
214
5.925926
0.407407
0.5
0
0
0
0
0
0
0
0
0
0
0.168224
214
9
28
23.777778
0.898876
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
413edf4c8be0e5fea1e4a8e313013e016141705e
192
py
Python
src/event_stream/event.py
hvuhsg/yoyocoin
aad0f413479728dc4e0842447cf1910e5dff1418
[ "MIT" ]
11
2021-05-25T07:42:27.000Z
2022-01-03T07:46:38.000Z
src/event_stream/event.py
hvuhsg/yoyocoin
aad0f413479728dc4e0842447cf1910e5dff1418
[ "MIT" ]
18
2021-05-25T17:42:46.000Z
2021-09-13T15:14:38.000Z
src/event_stream/event.py
hvuhsg/yoyocoin
aad0f413479728dc4e0842447cf1910e5dff1418
[ "MIT" ]
5
2021-06-23T17:38:51.000Z
2022-03-03T12:40:53.000Z
class Event: def __init__(self, name, **kwargs): self.name = name self.args = kwargs def __str__(self): return f"Event(name='{self.name}', args={self.args})"
21.333333
61
0.578125
25
192
4.12
0.44
0.23301
0
0
0
0
0
0
0
0
0
0
0.265625
192
8
62
24
0.730496
0
0
0
0
0
0.225131
0.13089
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
4154085cd0ac9a3e05cbf6bb1c722e3d9b649fa8
27
py
Python
webapp/__init__.py
georg3tom/matching-handwritten-document-images
a86d197b0f84bf6c0733bc75d5aff3d1b2263d60
[ "MIT" ]
1
2020-12-24T07:13:39.000Z
2020-12-24T07:13:39.000Z
webapp/__init__.py
georg3tom/matching-handwritten-document-images
a86d197b0f84bf6c0733bc75d5aff3d1b2263d60
[ "MIT" ]
null
null
null
webapp/__init__.py
georg3tom/matching-handwritten-document-images
a86d197b0f84bf6c0733bc75d5aff3d1b2263d60
[ "MIT" ]
null
null
null
from webapp.app import app
13.5
26
0.814815
5
27
4.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
1
27
27
0.956522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
4161a8be5aa5f7dd13c62162e5a69f945d18d565
20,365
py
Python
figure_generation/figure_3.py
calico/stimulated_emission_imaging
dca60d2188cfb79527537496c5473ecf80c4bf22
[ "CC-BY-4.0" ]
1
2020-02-14T13:33:46.000Z
2020-02-14T13:33:46.000Z
figure_generation/figure_3.py
calico/stimulated_emission_imaging
dca60d2188cfb79527537496c5473ecf80c4bf22
[ "CC-BY-4.0" ]
1
2020-02-20T19:16:47.000Z
2020-02-20T19:16:47.000Z
figure_generation/figure_3.py
calico/stimulated_emission_imaging
dca60d2188cfb79527537496c5473ecf80c4bf22
[ "CC-BY-4.0" ]
3
2020-02-13T00:32:42.000Z
2020-02-19T22:16:17.000Z
import os import numpy as np from scipy.ndimage import gaussian_filter import matplotlib.pyplot as plt from mpl_toolkits.axes_grid1 import make_axes_locatable import np_tif from stack_registration import bucket def main(): assert os.path.isdir('./../images') if not os.path.isdir('./../images/figure_3...
44.660088
83
0.654014
3,002
20,365
4.169554
0.110926
0.031637
0.038028
0.024447
0.893185
0.883039
0.872573
0.856515
0.848047
0.821283
0
0.037096
0.226958
20,365
455
84
44.758242
0.757988
0.279205
0
0.589226
0
0
0.079395
0.032213
0
0
0
0
0.003367
1
0.006734
false
0
0.023569
0
0.03367
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
4193dc3831f4a8fea32ce29d1e468b0d9080c6bf
8,779
py
Python
tests/test_operator.py
TierMobility/aws-auth-operator
3841e88b85a04a9dd0fb4ca088d163436442848f
[ "MIT" ]
8
2020-11-17T16:04:13.000Z
2021-10-21T07:50:20.000Z
tests/test_operator.py
TierMobility/aws-auth-operator
3841e88b85a04a9dd0fb4ca088d163436442848f
[ "MIT" ]
6
2021-04-30T21:07:56.000Z
2021-06-14T12:53:38.000Z
tests/test_operator.py
TierMobility/aws-auth-operator
3841e88b85a04a9dd0fb4ca088d163436442848f
[ "MIT" ]
null
null
null
import aws_auth import kubernetes import yaml import copy import logging import pytest import kopf from lib.mappings import UserType DATA_DEFAULT = { "arn": "arn:aws:iam::6666:role/test-role-0", "username": "test-role-0", "usertype": UserType.Role, "groups": ["viewers"], } DATA_CREATE = { "arn": "...
34.837302
88
0.697004
1,183
8,779
4.83601
0.094675
0.096661
0.062926
0.100682
0.821185
0.815766
0.782905
0.746023
0.705296
0.687992
0
0.00724
0.166192
8,779
251
89
34.976096
0.774317
0.003531
0
0.490291
0
0
0.20668
0.12673
0
0
0
0
0.145631
1
0.072816
false
0
0.038835
0
0.126214
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6