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
39a94b915b1b441195a914ac2fb7a60efde9894a
45
py
Python
gluoncv/utils/nn/__init__.py
xcgoner/gluon-exp
432a1aafc1466720b6169bb41caabb2a217b0797
[ "Apache-2.0" ]
1
2018-08-21T16:49:00.000Z
2018-08-21T16:49:00.000Z
gluoncv/utils/nn/__init__.py
xcgoner/gluon-exp
432a1aafc1466720b6169bb41caabb2a217b0797
[ "Apache-2.0" ]
null
null
null
gluoncv/utils/nn/__init__.py
xcgoner/gluon-exp
432a1aafc1466720b6169bb41caabb2a217b0797
[ "Apache-2.0" ]
null
null
null
"""GluonCV utility neural network layers."""
22.5
44
0.733333
5
45
6.6
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
45
1
45
45
0.825
0.844444
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
f2d532653968ce43a17b647c8a02ff9583ee5bf0
32
py
Python
trac_cms/__init__.py
FelixSchwarz/trac_cms
2d474f25606868e5480fe435fb7f991890af9bb9
[ "MIT" ]
null
null
null
trac_cms/__init__.py
FelixSchwarz/trac_cms
2d474f25606868e5480fe435fb7f991890af9bb9
[ "MIT" ]
null
null
null
trac_cms/__init__.py
FelixSchwarz/trac_cms
2d474f25606868e5480fe435fb7f991890af9bb9
[ "MIT" ]
null
null
null
from trac_cms.web_ui import *
8
29
0.75
6
32
3.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.1875
32
3
30
10.666667
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
840a2fbed0617d4795ba74d865e9609526b3eed0
469
py
Python
C2_Observer_Pattern/v1/subject/Subject.py
sarada92/Design_Pattern
f817206a6f995bc6f534d7cabb3a290955f37d33
[ "MIT" ]
1
2022-02-06T15:42:09.000Z
2022-02-06T15:42:09.000Z
C2_Observer_Pattern/v1/subject/Subject.py
sarada92/Design_Pattern
f817206a6f995bc6f534d7cabb3a290955f37d33
[ "MIT" ]
null
null
null
C2_Observer_Pattern/v1/subject/Subject.py
sarada92/Design_Pattern
f817206a6f995bc6f534d7cabb3a290955f37d33
[ "MIT" ]
null
null
null
from abc import abstractmethod, ABCMeta from C2_Observer_Pattern.v1.observers.Observers import Observers class Subject(metaclass=ABCMeta): @abstractmethod def add_observer(self, observer: Observers): pass @abstractmethod def remove_observer(self, observer: Observers): pass @abs...
19.541667
64
0.707889
49
469
6.653061
0.510204
0.208589
0.193252
0.177914
0.306748
0.306748
0.306748
0
0
0
0
0.00551
0.226013
469
23
65
20.391304
0.892562
0
0
0.533333
0
0
0
0
0
0
0
0
0
1
0.266667
false
0.266667
0.133333
0
0.466667
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
1
0
0
0
0
0
5
844ed2de2d0d42e5534fca7b7f001fbb19914fbb
21,715
py
Python
rest/api/swagger.py
estuaryoss/estuary-agent
b8b4264a616be21c86458da75cf29d13a8fb263d
[ "Apache-2.0" ]
null
null
null
rest/api/swagger.py
estuaryoss/estuary-agent
b8b4264a616be21c86458da75cf29d13a8fb263d
[ "Apache-2.0" ]
null
null
null
rest/api/swagger.py
estuaryoss/estuary-agent
b8b4264a616be21c86458da75cf29d13a8fb263d
[ "Apache-2.0" ]
null
null
null
swagger_file_content = ''' swagger: '2.0' info: description: Estuary agent will run your shell commands via REST API version: 4.4.0 title: estuary-agent contact: name: Catalin Dinuta url: 'https://github.com/dinuta' email: constantin.dinuta@gmail.com license: name: Apache 2.0 url: 'http://...
26.131167
153
0.539765
1,900
21,715
6.165789
0.138421
0.050363
0.058045
0.08997
0.794537
0.740162
0.714981
0.684336
0.679983
0.641229
0
0.024615
0.390099
21,715
830
154
26.162651
0.859937
0
0
0.840964
0
0.003614
0.998618
0.074557
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
ffe928f3ff720d9fc9b1bd5abb1bc15c2a592a46
96
py
Python
venv/lib/python3.8/site-packages/html5lib/treebuilders/etree_lxml.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/html5lib/treebuilders/etree_lxml.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/html5lib/treebuilders/etree_lxml.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/39/ac/c3/1d918efeae059d5b380e1b38873ce7d89c0600eb3eadf57c2c0954196e
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.395833
0
96
1
96
96
0.5
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
5
081296e88e1f3bbc279835f0c7403eaf102f2af4
2,383
py
Python
tests/day_5_test.py
rickdkk/advent-of-code-2021
49eed2d191d7b4a12f10ec8af9dc57408ba1b1fe
[ "MIT" ]
null
null
null
tests/day_5_test.py
rickdkk/advent-of-code-2021
49eed2d191d7b4a12f10ec8af9dc57408ba1b1fe
[ "MIT" ]
null
null
null
tests/day_5_test.py
rickdkk/advent-of-code-2021
49eed2d191d7b4a12f10ec8af9dc57408ba1b1fe
[ "MIT" ]
null
null
null
from pathlib import Path from advent.day_5 import Line, Point, make_grid, read_lines, fill_grid, count_points TEST_GRID = [ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, ...
26.775281
84
0.445237
504
2,383
2.029762
0.085317
0.414467
0.542522
0.637341
0.466276
0.434018
0.416422
0.385142
0.353861
0.352884
0
0.223606
0.292488
2,383
88
85
27.079545
0.383155
0.010491
0
0.314286
0
0
0.030573
0.030573
0
0
0
0
0.1
1
0.085714
false
0
0.028571
0
0.114286
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
4bb19ccab861ee723283989d3a343b7583974161
47
py
Python
neuron/__init__.py
enry12/self_organizing_map
d2e6e1bbce626c21bbe734f20cfb461c6deca1fb
[ "MIT" ]
23
2018-05-30T16:44:19.000Z
2021-10-30T07:26:59.000Z
neuron/__init__.py
enricivi/growing_hierarchical_som
d2e6e1bbce626c21bbe734f20cfb461c6deca1fb
[ "MIT" ]
1
2021-11-23T18:30:58.000Z
2021-11-23T18:30:58.000Z
neuron/__init__.py
enry12/self_organizing_map
d2e6e1bbce626c21bbe734f20cfb461c6deca1fb
[ "MIT" ]
9
2019-07-08T11:23:27.000Z
2021-09-18T06:27:24.000Z
from neuron.neuron_builder import NeuronBuilder
47
47
0.914894
6
47
7
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.06383
47
1
47
47
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
0
0
0
5
29b3d8b22994b272ee60dba6f6150f47067799a4
167
py
Python
state/LifeState.py
ChrisUnsworth/Life
4c013102472773536c03a809f03d650bac0cee80
[ "MIT" ]
null
null
null
state/LifeState.py
ChrisUnsworth/Life
4c013102472773536c03a809f03d650bac0cee80
[ "MIT" ]
null
null
null
state/LifeState.py
ChrisUnsworth/Life
4c013102472773536c03a809f03d650bac0cee80
[ "MIT" ]
null
null
null
class LifeState: def size(self) -> int: pass def value(self, x: int, y: int) -> int: pass def evolve(self) -> 'LifeState': pass
15.181818
43
0.508982
21
167
4.047619
0.52381
0.164706
0.235294
0
0
0
0
0
0
0
0
0
0.359281
167
10
44
16.7
0.794393
0
0
0.428571
0
0
0.053892
0
0
0
0
0
0
1
0.428571
false
0.428571
0
0
0.571429
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
5
29db3cd6576b0258f712894fffc6ea915ed35c65
45
py
Python
src/haddock/modules/topology/__init__.py
sverhoeven/haddock3
d863106f21ebc128f18c6d73a0d15b97824d050c
[ "Apache-2.0" ]
1
2021-12-07T16:17:22.000Z
2021-12-07T16:17:22.000Z
src/haddock/modules/topology/__init__.py
sverhoeven/haddock3
d863106f21ebc128f18c6d73a0d15b97824d050c
[ "Apache-2.0" ]
1
2021-07-24T15:34:58.000Z
2021-07-24T15:34:58.000Z
src/haddock/modules/topology/__init__.py
sverhoeven/haddock3
d863106f21ebc128f18c6d73a0d15b97824d050c
[ "Apache-2.0" ]
null
null
null
"""HADDOCK3 modules to create topologies."""
22.5
44
0.733333
5
45
6.6
1
0
0
0
0
0
0
0
0
0
0
0.025
0.111111
45
1
45
45
0.8
0.844444
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
4b19eb8c6a697b4a702bf0b04330519cababc688
133
py
Python
exercises/01_Primeiros Passos/exe_14.py
MariaTrindade/CursoPython
2c60dd670747db08011d9dd33e3bbfd5795b06e8
[ "Apache-2.0" ]
1
2021-05-11T18:30:17.000Z
2021-05-11T18:30:17.000Z
exercises/01_Primeiros Passos/exe_14.py
MariaTrindade/CursoPython
2c60dd670747db08011d9dd33e3bbfd5795b06e8
[ "Apache-2.0" ]
null
null
null
exercises/01_Primeiros Passos/exe_14.py
MariaTrindade/CursoPython
2c60dd670747db08011d9dd33e3bbfd5795b06e8
[ "Apache-2.0" ]
null
null
null
""" Resolva essa expressão: 100−413 ⋅ (20−5×4) 5 """ resultado = (100 / 5 - 413 / 5) * ((20 - 5 * 4) / 5) print(resultado)
14.777778
52
0.503759
24
133
2.958333
0.541667
0.056338
0
0
0
0
0
0
0
0
0
0.25
0.278195
133
9
53
14.777778
0.447917
0.398496
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
0
0
0
0
0
1
0
5
d99ce487aa917cadbbc14676561928d8b0379dcb
24
py
Python
spikeinterface/version.py
marcbue/spikeinterface
d3462eeabcb9f0b9816004dd47355e40f4de1ac5
[ "MIT" ]
null
null
null
spikeinterface/version.py
marcbue/spikeinterface
d3462eeabcb9f0b9816004dd47355e40f4de1ac5
[ "MIT" ]
null
null
null
spikeinterface/version.py
marcbue/spikeinterface
d3462eeabcb9f0b9816004dd47355e40f4de1ac5
[ "MIT" ]
null
null
null
version = '0.90.1.dev0'
12
23
0.625
5
24
3
1
0
0
0
0
0
0
0
0
0
0
0.238095
0.125
24
1
24
24
0.47619
0
0
0
0
0
0.458333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
d9ab9820dd89804d38ac3ccf7f661226746bdcc9
575
py
Python
chat_service/chat_api_service/chat_api_youtube/config/settings.py
YoungchanChang/ES_BERT_CHAT
5dd919d3ba559ca9171ca73bd9e1052734f3060e
[ "Apache-2.0" ]
1
2022-02-13T03:09:23.000Z
2022-02-13T03:09:23.000Z
chat_service/chat_api_service/chat_api_youtube/config/settings.py
YoungchanChang/ES_BERT_CHAT
5dd919d3ba559ca9171ca73bd9e1052734f3060e
[ "Apache-2.0" ]
null
null
null
chat_service/chat_api_service/chat_api_youtube/config/settings.py
YoungchanChang/ES_BERT_CHAT
5dd919d3ba559ca9171ca73bd9e1052734f3060e
[ "Apache-2.0" ]
1
2022-02-13T03:09:23.000Z
2022-02-13T03:09:23.000Z
from chat_core.settings import * from chat_core.chat_log_config import config_basic config_basic['handlers']['access']['filename'] = str(chat_log_path.joinpath('chat_api_youtube', 'access', 'access.log')) config_basic['handlers']['warning']['filename'] = str(chat_log_path.joinpath('chat_api_youtube', 'warning', 'warni...
71.875
126
0.756522
78
575
5.25641
0.24359
0.085366
0.185366
0.17561
0.429268
0.429268
0.429268
0.429268
0.429268
0
0
0
0.050435
575
7
127
82.142857
0.750916
0
0
0
0
0
0.386087
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
d9b6ad7cf86e6a04fb915cbb9d142835aeae9556
1,721
py
Python
stacks_and_queues/sort_stack/sort_stack_test.py
hanjasn/ctci
69c8c65d71e7f6e88b669dc402e64a0cf6223fbf
[ "MIT" ]
null
null
null
stacks_and_queues/sort_stack/sort_stack_test.py
hanjasn/ctci
69c8c65d71e7f6e88b669dc402e64a0cf6223fbf
[ "MIT" ]
null
null
null
stacks_and_queues/sort_stack/sort_stack_test.py
hanjasn/ctci
69c8c65d71e7f6e88b669dc402e64a0cf6223fbf
[ "MIT" ]
null
null
null
import unittest from sort_stack import * class StackTest(unittest.TestCase): def setUp(self) -> None: self.stack = Stack() def test_1(self) -> None: self.stack.push(5) self.stack.push(4) self.stack.push(3) self.stack.push(2) self.stack.push(1) self.assertEqual("1, 2, 3, 4, 5", self.s...
29.169492
80
0.625799
275
1,721
3.847273
0.098182
0.357278
0.282609
0.226843
0.793951
0.761815
0.722117
0.642722
0.642722
0.597354
0
0.055994
0.190587
1,721
59
81
29.169492
0.703518
0
0
0.634615
0
0
0.069686
0
0
0
0
0
0.230769
1
0.134615
false
0
0.038462
0
0.192308
0.230769
0
0
0
null
1
1
1
0
1
1
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
0
0
5
d9d43ae5afed6ed4993e79ddcaf1c96076b1f7a7
165
py
Python
package/__init__.py
radixzz/cdnjs-transform
fd4f4632bd3381be73eed768a96a9c0740b4759b
[ "MIT" ]
null
null
null
package/__init__.py
radixzz/cdnjs-transform
fd4f4632bd3381be73eed768a96a9c0740b4759b
[ "MIT" ]
null
null
null
package/__init__.py
radixzz/cdnjs-transform
fd4f4632bd3381be73eed768a96a9c0740b4759b
[ "MIT" ]
null
null
null
import sys import os from pathlib import Path sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '.'))) from .transformer import Transformer
27.5
81
0.775758
26
165
4.769231
0.5
0.145161
0
0
0
0
0
0
0
0
0
0.006667
0.090909
165
6
82
27.5
0.82
0
0
0
0
0
0.006024
0
0
0
0
0
0
1
0
true
0
0.8
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
8a163ebfb156943de32bc1c2e2b955d3ec70c756
350
py
Python
py/tests/problems/arr/max_subarray_sum1_test.py
bmoretz/Daily-Coding-Problem
f79e062e9f6e7b18b7e95c071fbe71ad104affcb
[ "MIT" ]
1
2020-06-26T13:28:43.000Z
2020-06-26T13:28:43.000Z
py/tests/problems/arr/max_subarray_sum1_test.py
bmoretz/Daily-Coding-Problem
f79e062e9f6e7b18b7e95c071fbe71ad104affcb
[ "MIT" ]
7
2021-11-18T19:46:08.000Z
2022-03-12T01:03:01.000Z
py/tests/problems/arr/max_subarray_sum1_test.py
bmoretz/Daily-Coding-Problem
f79e062e9f6e7b18b7e95c071fbe71ad104affcb
[ "MIT" ]
null
null
null
import unittest from dcp.problems.arr.sum_contigous_subarray import max_subarray_sum1 class Test_MaxSubarraySum(unittest.TestCase): def setUp(self): pass def test_case1(self): assert max_subarray_sum1( [34, -50, 42, 14, -5, 86]) == 137 def test_case2(self): assert max_subarr...
25
69
0.662857
50
350
4.42
0.66
0.149321
0.20362
0.190045
0.226244
0
0
0
0
0
0
0.087912
0.22
350
14
70
25
0.721612
0
0
0
0
0
0
0
0
0
0
0
0.222222
1
0.333333
false
0.111111
0.222222
0
0.666667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
5
8a3c0588456065c0447a26217b55fbfccbddc850
919
py
Python
compile_TECS_legacy.py
JetStarBlues/Nand-2-Tetris
c27b5c2ac659f1edb63d36d89bf87e226bc5672c
[ "MIT" ]
null
null
null
compile_TECS_legacy.py
JetStarBlues/Nand-2-Tetris
c27b5c2ac659f1edb63d36d89bf87e226bc5672c
[ "MIT" ]
null
null
null
compile_TECS_legacy.py
JetStarBlues/Nand-2-Tetris
c27b5c2ac659f1edb63d36d89bf87e226bc5672c
[ "MIT" ]
null
null
null
'''------------------------------ Imports ------------------------------''' import Assembler.asm2bin_TECS_legacy '''------------------------------- Main -------------------------------''' # inputDirPath = '../N2T_Code/Programs/Assembly/Tests/test1_add' # inputDirPath = '../N2T_Code/Programs/Assembly/Tests/test2_fli...
45.95
75
0.670294
95
919
6.210526
0.336842
0.254237
0.322034
0.457627
0.735593
0.735593
0.464407
0.166102
0
0
0
0.02662
0.059848
919
19
76
48.368421
0.65625
0.714908
0
0
0
0
0.264368
0.264368
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
1
1
0
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
1
0
0
0
0
5
8a8f1d380cde1ebef456a77f3b0039ac60a1020e
24
py
Python
__main__.py
cesardddp/discord-bot
1bc6ae0622360a95562c982d995d58da0296b7fd
[ "BSD-3-Clause" ]
3
2020-10-30T17:50:13.000Z
2021-08-22T01:38:34.000Z
__main__.py
cesardddp/discord-bot
1bc6ae0622360a95562c982d995d58da0296b7fd
[ "BSD-3-Clause" ]
2
2020-10-27T21:49:30.000Z
2020-10-30T17:50:53.000Z
__main__.py
cesardddp/discord-bot
1bc6ae0622360a95562c982d995d58da0296b7fd
[ "BSD-3-Clause" ]
null
null
null
import app import tests
8
12
0.833333
4
24
5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.166667
24
2
13
12
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
8a9b21775f01fb6c572390d18f2e2ed168d2f365
29,488
py
Python
tests/unit/test_dataset_geo.py
nsylv/tamr-client
14bfbbadeebf82fc168dbd9fa6184aef0235a816
[ "Apache-2.0" ]
null
null
null
tests/unit/test_dataset_geo.py
nsylv/tamr-client
14bfbbadeebf82fc168dbd9fa6184aef0235a816
[ "Apache-2.0" ]
null
null
null
tests/unit/test_dataset_geo.py
nsylv/tamr-client
14bfbbadeebf82fc168dbd9fa6184aef0235a816
[ "Apache-2.0" ]
null
null
null
from copy import deepcopy from functools import partial import json from unittest import TestCase import pytest import responses from tamr_unify_client import Client from tamr_unify_client.auth import UsernamePasswordAuth from tamr_unify_client.dataset.resource import Dataset class TestDatasetGeo(TestCase): def...
36.813983
88
0.448962
2,563
29,488
5.005462
0.076863
0.008886
0.060956
0.076857
0.802245
0.768415
0.726557
0.705589
0.669733
0.648765
0
0.029382
0.389447
29,488
800
89
36.86
0.683182
0.018516
0
0.562849
0
0
0.178223
0.012789
0
0
0
0
0.055866
1
0.022346
false
0.002793
0.01257
0.005587
0.053073
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
0
0
0
0
0
0
5
8aabeebb2a75b6ded559cf83a2da1e2408274214
38,256
py
Python
openmdao/solvers/linear/tests/test_direct_solver.py
LeeElvis/OpenMDAO
e9e002054c0ecad7467da2a7bbb8fdf68fccfb8c
[ "Apache-2.0" ]
null
null
null
openmdao/solvers/linear/tests/test_direct_solver.py
LeeElvis/OpenMDAO
e9e002054c0ecad7467da2a7bbb8fdf68fccfb8c
[ "Apache-2.0" ]
1
2015-08-12T17:58:18.000Z
2015-08-12T17:58:18.000Z
openmdao/solvers/linear/tests/test_direct_solver.py
hschilling/OpenMDAO
0ef1f0eeb934d8cd4ef0a02add6ba3c3a13e6150
[ "Apache-2.0" ]
1
2021-01-17T14:03:48.000Z
2021-01-17T14:03:48.000Z
"""Test the DirectSolver linear solver class.""" import unittest import numpy as np import openmdao.api as om from openmdao.core.tests.test_distrib_derivs import DistribExecComp from openmdao.solvers.linear.tests.linear_test_base import LinearSolverTests from openmdao.test_suite.components.double_sellar import Doubl...
37.727811
192
0.586
5,099
38,256
4.250637
0.078055
0.069207
0.058042
0.024915
0.804512
0.769078
0.74218
0.702039
0.665729
0.638553
0
0.036609
0.253137
38,256
1,013
193
37.765054
0.721966
0.019631
0
0.662921
0
0.018258
0.150719
0.008327
0
0
0
0
0.075843
1
0.070225
false
0.002809
0.021067
0
0.116573
0.01264
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
8ab80ff87e81f7a65ba90c9e103255773ee65d70
169
py
Python
test/test_print.py
laashub-sua/demo-print
76665ffa6e3bd675ffa111ff6c3aabed9b5ea6ec
[ "Apache-2.0" ]
null
null
null
test/test_print.py
laashub-sua/demo-print
76665ffa6e3bd675ffa111ff6c3aabed9b5ea6ec
[ "Apache-2.0" ]
null
null
null
test/test_print.py
laashub-sua/demo-print
76665ffa6e3bd675ffa111ff6c3aabed9b5ea6ec
[ "Apache-2.0" ]
null
null
null
import printer if __name__ == '__main__': # file_path = r'files/test_print.jpg' file_path = r'files/test_convert_pdf_2_jpg.jpg' printer.do_print(file_path)
24.142857
51
0.727811
27
169
3.925926
0.592593
0.226415
0.169811
0.264151
0.339623
0
0
0
0
0
0
0.007042
0.159763
169
6
52
28.166667
0.739437
0.207101
0
0
0
0
0.30303
0.242424
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
1
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
5
76d40fda8a40b857ad8b9eebfaa8cf8368f5c080
143
py
Python
DesignPatterns/FlaskMVC/app/__init__.py
TigranGit/CodeBase
d58e30b1d83fab4b388ec2cdcb868fa751c62188
[ "Apache-2.0" ]
1
2020-08-13T19:09:27.000Z
2020-08-13T19:09:27.000Z
DesignPatterns/FlaskMVC/app/__init__.py
TigranGit/CodeBase
d58e30b1d83fab4b388ec2cdcb868fa751c62188
[ "Apache-2.0" ]
null
null
null
DesignPatterns/FlaskMVC/app/__init__.py
TigranGit/CodeBase
d58e30b1d83fab4b388ec2cdcb868fa751c62188
[ "Apache-2.0" ]
null
null
null
from .routes.front import front from .routes.back import back from .app import app app.register_blueprint(front) app.register_blueprint(back)
20.428571
31
0.818182
22
143
5.227273
0.363636
0.173913
0.347826
0
0
0
0
0
0
0
0
0
0.104895
143
6
32
23.833333
0.898438
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0.4
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
76d61c2b8037bbde70d05760647150f4686b0f96
29,695
py
Python
main_graphpmu.py
arminalgln/graphpmu
fd3a8b22d26c1c9e41801c709080e18e399f4759
[ "MIT" ]
null
null
null
main_graphpmu.py
arminalgln/graphpmu
fd3a8b22d26c1c9e41801c709080e18e399f4759
[ "MIT" ]
null
null
null
main_graphpmu.py
arminalgln/graphpmu
fd3a8b22d26c1c9e41801c709080e18e399f4759
[ "MIT" ]
null
null
null
import os import pickle import numpy as np import torch from models.discriminator import Discriminator from models.graph_model import (GraphEncoder, GraphEncoderLocGlob, GraphPMU, GraphPMULocalGlobal) os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE" import copy import dgl import pandas as...
34.171461
133
0.609429
3,861
29,695
4.460502
0.096348
0.027697
0.029962
0.017768
0.778191
0.75659
0.753048
0.736151
0.723029
0.710719
0
0.027641
0.261694
29,695
868
134
34.210829
0.757891
0.235191
0
0.607445
0
0
0.046536
0.014476
0
0
0
0
0
1
0.00846
false
0
0.040609
0
0.055838
0.028765
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
0a2afb7d58e0026165f76d5e2cd83afaa1e878b4
33
py
Python
Python Programs/print_name.py
manvikri22/hacktoberfest-2021
7b169746788835b9dacfdd4e64f3b25f17453178
[ "MIT" ]
21
2021-10-01T01:52:56.000Z
2021-11-08T13:01:26.000Z
Python Programs/print_name.py
manvikri22/hacktoberfest-2021
7b169746788835b9dacfdd4e64f3b25f17453178
[ "MIT" ]
30
2021-09-30T18:28:07.000Z
2021-10-03T05:23:45.000Z
Python Programs/print_name.py
manvikri22/hacktoberfest-2021
7b169746788835b9dacfdd4e64f3b25f17453178
[ "MIT" ]
71
2021-09-30T17:32:43.000Z
2021-10-21T05:26:51.000Z
print(input("Enter your name: "))
33
33
0.69697
5
33
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
33
1
33
33
0.766667
0
0
0
0
0
0.5
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
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
0a63308c2a7012e0969bb0ca4f7c423047461bc5
7,406
py
Python
tests/test_logs/test_logs.py
mangin/moto
86fc340ffd1436e6d793cd4fec4003f4e53869c0
[ "Apache-2.0" ]
null
null
null
tests/test_logs/test_logs.py
mangin/moto
86fc340ffd1436e6d793cd4fec4003f4e53869c0
[ "Apache-2.0" ]
null
null
null
tests/test_logs/test_logs.py
mangin/moto
86fc340ffd1436e6d793cd4fec4003f4e53869c0
[ "Apache-2.0" ]
null
null
null
import boto3 import sure # noqa import six from botocore.exceptions import ClientError from moto import mock_logs, settings from nose.tools import assert_raises _logs_region = 'us-east-1' if settings.TEST_SERVER_MODE else 'us-west-2' @mock_logs def test_log_group_create(): conn = boto3.client('logs', 'us-west-...
32.482456
104
0.684985
860
7,406
5.627907
0.136047
0.087603
0.099174
0.143802
0.796488
0.761364
0.751446
0.751446
0.724793
0.701446
0
0.048246
0.199568
7,406
227
105
32.625551
0.768219
0.013503
0
0.691489
0
0
0.145987
0.031772
0
0
0
0
0.074468
1
0.037234
false
0
0.031915
0
0.069149
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
0a6a3461374a352b1ddbf2d25a6f923ed9eb7efc
8,902
py
Python
magnum/tests/unit/conductor/test_bay_lock.py
mjbrewer/testIndex
420dc071d4240a89b6f266e8d2575cedb39bfea0
[ "Apache-2.0" ]
null
null
null
magnum/tests/unit/conductor/test_bay_lock.py
mjbrewer/testIndex
420dc071d4240a89b6f266e8d2575cedb39bfea0
[ "Apache-2.0" ]
null
null
null
magnum/tests/unit/conductor/test_bay_lock.py
mjbrewer/testIndex
420dc071d4240a89b6f266e8d2575cedb39bfea0
[ "Apache-2.0" ]
null
null
null
# # 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 # ...
47.860215
79
0.657156
1,042
8,902
5.329175
0.140115
0.073294
0.075635
0.076535
0.786422
0.778678
0.777057
0.771655
0.752206
0.742482
0
0.002266
0.256459
8,902
185
80
48.118919
0.836682
0.061335
0
0.690647
0
0
0.099041
0.068585
0
0
0
0
0.194245
1
0.107914
false
0.007194
0.057554
0
0.179856
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
6a739261ccf31e9f18f7a4f4fbcfd3f285e789a6
302
py
Python
smithers/dataset/__init__.py
LauraMeneghetti/Smithers
908fb3201eabfd01fe1712352c605e1f4b15d896
[ "MIT" ]
6
2021-04-09T10:00:12.000Z
2022-02-02T05:13:42.000Z
smithers/dataset/__init__.py
LauraMeneghetti/Smithers
908fb3201eabfd01fe1712352c605e1f4b15d896
[ "MIT" ]
5
2021-05-06T14:43:22.000Z
2021-09-30T15:29:59.000Z
smithers/dataset/__init__.py
LauraMeneghetti/Smithers
908fb3201eabfd01fe1712352c605e1f4b15d896
[ "MIT" ]
6
2021-05-06T12:06:57.000Z
2022-03-29T07:08:46.000Z
from .dataset_collector import DatasetCollector from .datasets.elastic_block import ElasticBlockDataset from .datasets.termal import TermalDataset from .datasets.navier_stokes import NavierStokesDataset from .datasets.graetz import GraetzDataset from .datasets.unsteady_heat import UnsteadyHeatDataset
43.142857
55
0.884106
33
302
7.969697
0.575758
0.228137
0
0
0
0
0
0
0
0
0
0
0.07947
302
6
56
50.333333
0.946043
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
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6a7e25f2f96629f53457555d246a1d2b90e68f94
151
py
Python
deep_learn/device.py
flashlin/pycore
6055821df05f0343fcf8d281fa610d9aea875936
[ "MIT" ]
null
null
null
deep_learn/device.py
flashlin/pycore
6055821df05f0343fcf8d281fa610d9aea875936
[ "MIT" ]
null
null
null
deep_learn/device.py
flashlin/pycore
6055821df05f0343fcf8d281fa610d9aea875936
[ "MIT" ]
null
null
null
import torch def get_torch_device(): device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu') return device
21.571429
88
0.688742
21
151
4.809524
0.571429
0.326733
0
0
0
0
0
0
0
0
0
0
0.192053
151
6
89
25.166667
0.827869
0
0
0
0
0
0.048276
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
5
6a86c38854c723e87d8c92eb286b882f2aa731b7
116
py
Python
dataset/__init__.py
s-mizuki-nlp/semantic_specialization
4d00a461f18828ee8ebaccf7c737a32ccc11809f
[ "Apache-2.0" ]
null
null
null
dataset/__init__.py
s-mizuki-nlp/semantic_specialization
4d00a461f18828ee8ebaccf7c737a32ccc11809f
[ "Apache-2.0" ]
null
null
null
dataset/__init__.py
s-mizuki-nlp/semantic_specialization
4d00a461f18828ee8ebaccf7c737a32ccc11809f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- from ._integrated import WSDTaskDataset, WSDTaskDatasetCollateFunction
29
70
0.767241
12
116
7.333333
1
0
0
0
0
0
0
0
0
0
0
0.009524
0.094828
116
4
70
29
0.828571
0.353448
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6aa5fbbc14e05c49848c4cd12304acb91f258277
22
py
Python
Estudos/Operacoes_Matematicas/soma.py
Sabrinadev/Python
48ae12d4447787e0a5157147d54b3c577775e3b6
[ "MIT" ]
null
null
null
Estudos/Operacoes_Matematicas/soma.py
Sabrinadev/Python
48ae12d4447787e0a5157147d54b3c577775e3b6
[ "MIT" ]
null
null
null
Estudos/Operacoes_Matematicas/soma.py
Sabrinadev/Python
48ae12d4447787e0a5157147d54b3c577775e3b6
[ "MIT" ]
null
null
null
x + y # soma de x e y
11
21
0.5
7
22
1.571429
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.409091
22
1
22
22
0.846154
0.590909
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
0a72e7092461b7eee00b1eee43556237c7f8655f
28
py
Python
hematite/__init__.py
abilian/hematite
1d8c3390f06522cb03b2c6a39b3b8aff87f2ac71
[ "BSD-3-Clause" ]
null
null
null
hematite/__init__.py
abilian/hematite
1d8c3390f06522cb03b2c6a39b3b8aff87f2ac71
[ "BSD-3-Clause" ]
null
null
null
hematite/__init__.py
abilian/hematite
1d8c3390f06522cb03b2c6a39b3b8aff87f2ac71
[ "BSD-3-Clause" ]
null
null
null
# from client import Client
14
27
0.785714
4
28
5.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.178571
28
1
28
28
0.956522
0.892857
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
0aa7bdfd84c1afe214e540f2e7a8a40bbc81581c
211
py
Python
oscar/lib/python2.7/site-packages/traitlets/config/__init__.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
oscar/lib/python2.7/site-packages/traitlets/config/__init__.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
oscar/lib/python2.7/site-packages/traitlets/config/__init__.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
# encoding: utf-8 # Copyright (c) IPython Development Team. # Distributed under the terms of the Modified BSD License. from .application import * from .configurable import * from .loader import Config
23.444444
59
0.739336
27
211
5.777778
0.814815
0.128205
0
0
0
0
0
0
0
0
0
0.005882
0.194313
211
8
60
26.375
0.911765
0.530806
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
0aad0db179d7c8737e69701dd7a630ba13d2af86
226
py
Python
tests/modules/imported/moduleb.py
MoonStarCZW/py2rb
89b247717d33d780fbf143e1583bfe9252984da4
[ "MIT" ]
124
2017-08-19T05:37:16.000Z
2022-03-08T18:24:18.000Z
tests/modules/imported/moduleb.py
MoonStarCZW/py2rb
89b247717d33d780fbf143e1583bfe9252984da4
[ "MIT" ]
15
2017-12-16T05:59:31.000Z
2022-02-08T02:51:17.000Z
tests/modules/imported/moduleb.py
MoonStarCZW/py2rb
89b247717d33d780fbf143e1583bfe9252984da4
[ "MIT" ]
18
2017-09-25T11:57:04.000Z
2022-02-19T17:33:48.000Z
def foo(): print("foo") def moduleb_fn(): print("import_moduleb.moduleb_fn()") class moduleb_class(object): def __init__(self): pass def msg(self,val): return "moduleb_class:"+str(val)
15.066667
40
0.606195
29
226
4.413793
0.517241
0.140625
0
0
0
0
0
0
0
0
0
0
0.247788
226
14
41
16.142857
0.752941
0
0
0
0
0
0.195556
0.12
0
0
0
0
0
1
0.444444
false
0.111111
0.111111
0.111111
0.777778
0.222222
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
5
0aaef02e9f7fec47e99899effe19dbbffd8c4855
1,589
py
Python
users/tests/integration/test_storage.py
heolin123/funcrowd
20167783de208394c09ed0429a5f02ec6dd79c42
[ "MIT" ]
null
null
null
users/tests/integration/test_storage.py
heolin123/funcrowd
20167783de208394c09ed0429a5f02ec6dd79c42
[ "MIT" ]
11
2019-11-12T23:26:45.000Z
2021-06-10T17:37:23.000Z
users/tests/integration/test_storage.py
heolin123/funcrowd
20167783de208394c09ed0429a5f02ec6dd79c42
[ "MIT" ]
null
null
null
import pytest import json from django.test import Client @pytest.mark.django_db def test_storage_view(user1): client = Client() client.force_login(user1) response = client.get('/api/v1/users/storage/test/') assert response.status_code == 200 assert response.data['key'] == 'test' assert respon...
31.156863
80
0.617999
196
1,589
4.918367
0.22449
0.20332
0.205394
0.088174
0.789419
0.775934
0.775934
0.70332
0.53527
0.53527
0
0.0278
0.207678
1,589
50
81
31.78
0.737887
0
0
0.536585
0
0
0.176211
0.078666
0
0
0
0
0.390244
1
0.04878
false
0
0.073171
0
0.121951
0
0
0
0
null
1
1
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
0abbbac7956c706e0de217f98f9f327753b62cf7
654
py
Python
GM/constant.py
HugoAhoy/pymodbus
e6801af003922c452105857b72916c5552ae4a87
[ "BSD-3-Clause" ]
2
2021-12-13T10:30:56.000Z
2021-12-13T16:41:10.000Z
GM/constant.py
HugoAhoy/pymodbus
e6801af003922c452105857b72916c5552ae4a87
[ "BSD-3-Clause" ]
null
null
null
GM/constant.py
HugoAhoy/pymodbus
e6801af003922c452105857b72916c5552ae4a87
[ "BSD-3-Clause" ]
null
null
null
from gmssl import sm2 # private key for server(db) and client(da) da ='7098f9d29c01573aa5ad12717bf998f0b36fe6dc30138feea03e764077a4a34b' db = '7fffe3487d53b50906d4db005e033ed78ac6fc9de93537aae27e30eccdf68f1a' # public key for server(pb) and client(pa) pa = 'd7ba85bbf9748bc1f4c92d1345b7a9f8a5d3a9d1aa155f37115dc960005e...
40.875
135
0.851682
52
654
10.634615
0.557692
0.0217
0.0434
0
0
0
0
0
0
0
0
0.402985
0.077982
654
16
136
40.875
0.514096
0.163609
0
0
0
0
0.705882
0.705882
0
1
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
5
0afd711263ec2e759d7e6556b1f409f69a809a18
11,127
py
Python
sdk/python/pulumi_aws/chime/voice_connector_group.py
rapzo/pulumi-aws
390a098221315d98a54ba97d1559e750dc3053b7
[ "ECL-2.0", "Apache-2.0" ]
260
2018-06-18T14:57:00.000Z
2022-03-29T11:41:03.000Z
sdk/python/pulumi_aws/chime/voice_connector_group.py
rapzo/pulumi-aws
390a098221315d98a54ba97d1559e750dc3053b7
[ "ECL-2.0", "Apache-2.0" ]
1,154
2018-06-19T20:38:20.000Z
2022-03-31T19:48:16.000Z
sdk/python/pulumi_aws/chime/voice_connector_group.py
rapzo/pulumi-aws
390a098221315d98a54ba97d1559e750dc3053b7
[ "ECL-2.0", "Apache-2.0" ]
115
2018-06-28T03:20:27.000Z
2022-03-29T11:41:06.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
41.988679
233
0.653905
1,175
11,127
6.011915
0.153191
0.066959
0.04983
0.043035
0.7391
0.723245
0.713618
0.701302
0.681059
0.681059
0
0.002535
0.255415
11,127
264
234
42.147727
0.850091
0.408736
0
0.623932
1
0
0.124609
0.068822
0
0
0
0
0
1
0.145299
false
0.008547
0.059829
0
0.290598
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
e4072faccc52a97a20e1faa6273aaf3fefc8ce6d
90
py
Python
datastretch/exceptions/AccessException.py
RouladenRobert/DaTaStretch
a3518ba0db529c518b0715caafec667d0266f20d
[ "MIT" ]
null
null
null
datastretch/exceptions/AccessException.py
RouladenRobert/DaTaStretch
a3518ba0db529c518b0715caafec667d0266f20d
[ "MIT" ]
null
null
null
datastretch/exceptions/AccessException.py
RouladenRobert/DaTaStretch
a3518ba0db529c518b0715caafec667d0266f20d
[ "MIT" ]
null
null
null
class AccessException(BaseException): def __init__(self, msg): self.msg = msg
22.5
37
0.677778
10
90
5.7
0.7
0.245614
0
0
0
0
0
0
0
0
0
0
0.222222
90
4
38
22.5
0.814286
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
5
7c10605b69f91182851273ed15f451cb4073b454
85
py
Python
app_prog/wsgi.py
yuretzsex/app-prog
3a6c80e57d58b6680bf8199b63564e0d336ed1be
[ "MIT" ]
null
null
null
app_prog/wsgi.py
yuretzsex/app-prog
3a6c80e57d58b6680bf8199b63564e0d336ed1be
[ "MIT" ]
null
null
null
app_prog/wsgi.py
yuretzsex/app-prog
3a6c80e57d58b6680bf8199b63564e0d336ed1be
[ "MIT" ]
null
null
null
from waitress import server import main serve(main.app, host='0.0.0.0', port=5000)
14.166667
42
0.729412
16
85
3.875
0.6875
0.096774
0.096774
0
0
0
0
0
0
0
0
0.108108
0.129412
85
5
43
17
0.72973
0
0
0
0
0
0.082353
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
7c3ecc8aa69d37f5fc8820e3633f20d9f5ff4af4
89
py
Python
test.py
adityasood/licensemgmt
f60d238190d19e1082b70281a3e11b9b67113a7e
[ "Apache-2.0" ]
null
null
null
test.py
adityasood/licensemgmt
f60d238190d19e1082b70281a3e11b9b67113a7e
[ "Apache-2.0" ]
null
null
null
test.py
adityasood/licensemgmt
f60d238190d19e1082b70281a3e11b9b67113a7e
[ "Apache-2.0" ]
2
2016-08-03T07:10:43.000Z
2019-03-27T07:52:57.000Z
#! /usr/bin/env python3 import os print("Hello World 1") os.system("echo Hello World 2")
17.8
31
0.707865
16
89
3.9375
0.8125
0.31746
0
0
0
0
0
0
0
0
0
0.038961
0.134831
89
4
32
22.25
0.779221
0.247191
0
0
0
0
0.469697
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
7c451badbf03b336e0a011e66f454905140a7514
1,594
py
Python
aerosandbox/aerodynamics/aero_3D/test_aero_3D/test_vortex_lattice_method.py
peterdsharpe/FastFlow3D
d02c8ff97fa84adcd9db988b09157695d9e2b318
[ "MIT" ]
1
2021-11-01T22:48:12.000Z
2021-11-01T22:48:12.000Z
aerosandbox/aerodynamics/aero_3D/test_aero_3D/test_vortex_lattice_method.py
peterdsharpe/FastFlow3D
d02c8ff97fa84adcd9db988b09157695d9e2b318
[ "MIT" ]
null
null
null
aerosandbox/aerodynamics/aero_3D/test_aero_3D/test_vortex_lattice_method.py
peterdsharpe/FastFlow3D
d02c8ff97fa84adcd9db988b09157695d9e2b318
[ "MIT" ]
null
null
null
import aerosandbox as asb import pytest def test_conventional(): from aerosandbox.aerodynamics.aero_3D.test_aero_3D.geometries.conventional import airplane analysis = asb.VortexLatticeMethod( airplane=airplane, op_point=asb.OperatingPoint(alpha=10), ) return analysis.run() def test_v...
28.981818
101
0.720201
179
1,594
6.150838
0.206704
0.054496
0.122616
0.140781
0.773842
0.773842
0.773842
0.773842
0.773842
0.725704
0
0.017015
0.188833
1,594
55
102
28.981818
0.834493
0.062108
0
0.525
0
0
0.005369
0
0
0
0
0
0
1
0.1
false
0
0.175
0
0.375
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
7c8eff22c1749cffcecd201fc5039be6c87881c6
135
py
Python
lino/modlib/weasyprint/models.py
NewRGB/lino
43799e42107169ff173d3b8bc0324d5773471499
[ "BSD-2-Clause" ]
1
2019-11-13T19:38:50.000Z
2019-11-13T19:38:50.000Z
lino/modlib/weasyprint/models.py
NewRGB/lino
43799e42107169ff173d3b8bc0324d5773471499
[ "BSD-2-Clause" ]
null
null
null
lino/modlib/weasyprint/models.py
NewRGB/lino
43799e42107169ff173d3b8bc0324d5773471499
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: UTF-8 -*- # Copyright 2016-2018 Rumma & Ko Ltd # License: BSD (see file COPYING for details) from .choicelists import *
22.5
45
0.681481
19
135
4.842105
1
0
0
0
0
0
0
0
0
0
0
0.081818
0.185185
135
5
46
27
0.754545
0.740741
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
7c9e309201ca3a7a2b54030ce28900b0b53a2828
132
py
Python
thonnycontrib/calliope/api_stubs/audio.py
thonny/thonny-calliope
e3950a63848ca1f950e14547f87ff5dfec7328b2
[ "MIT" ]
1
2020-03-30T20:32:42.000Z
2020-03-30T20:32:42.000Z
thonnycontrib/calliope/api_stubs/audio.py
thonny/thonny-calliope
e3950a63848ca1f950e14547f87ff5dfec7328b2
[ "MIT" ]
null
null
null
thonnycontrib/calliope/api_stubs/audio.py
thonny/thonny-calliope
e3950a63848ca1f950e14547f87ff5dfec7328b2
[ "MIT" ]
null
null
null
class AudioFrame: '' def copyfrom(): pass def is_playing(): pass def play(): pass def stop(): pass
8.25
19
0.522727
15
132
4.533333
0.6
0.308824
0
0
0
0
0
0
0
0
0
0
0.363636
132
15
20
8.8
0.809524
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
true
0.4
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
5
7cb3559173881426448f09c25eb116415d8d826a
13,514
py
Python
test/fedml_user_code/cli/login-test.py
ray-ruisun/FedML
24ff30d636bb70f64e94e9ca205375033597d3dd
[ "Apache-2.0" ]
null
null
null
test/fedml_user_code/cli/login-test.py
ray-ruisun/FedML
24ff30d636bb70f64e94e9ca205375033597d3dd
[ "Apache-2.0" ]
null
null
null
test/fedml_user_code/cli/login-test.py
ray-ruisun/FedML
24ff30d636bb70f64e94e9ca205375033597d3dd
[ "Apache-2.0" ]
null
null
null
import argparse import json import os.path import time import traceback import psutil import requests from fedml.cli.edge_deployment.mqtt_manager import MqttManager from fedml.mlops.mlops_configs import MLOpsConfigs def test_is_ok(test_run_id, test_edge_id, test_function, ok_message): test_ok = False wait_co...
36.230563
179
0.537295
1,356
13,514
4.972714
0.20649
0.021355
0.026694
0.018686
0.769242
0.762569
0.738544
0.727569
0.717781
0.71096
0
0.037989
0.34357
13,514
372
180
36.327957
0.722128
0.007548
0
0.652695
0
0.017964
0.31071
0.078013
0
0
0.002088
0
0
1
0.017964
false
0.005988
0.026946
0
0.050898
0.01497
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
7cc0a1685c87b2006ca6ffcad05a623077f588b1
308
py
Python
monsterplanet/models/inventory.py
orangejacob/games
66e3e5d0b0bbc96f5505de368a4b310097f23452
[ "MIT" ]
null
null
null
monsterplanet/models/inventory.py
orangejacob/games
66e3e5d0b0bbc96f5505de368a4b310097f23452
[ "MIT" ]
5
2019-12-15T19:29:22.000Z
2019-12-18T23:02:35.000Z
monsterplanet/models/inventory.py
orangejacob/games
66e3e5d0b0bbc96f5505de368a4b310097f23452
[ "MIT" ]
null
null
null
class Inventory: def __init__(self): self.stuff = [] def add(self, item): self.stuff.append(item) def drop(self, item): self.stuff.remove(item) return item def has(self, item): return item in self.stuff def all(self): return self.stuff
18.117647
33
0.568182
40
308
4.275
0.375
0.263158
0.140351
0.19883
0
0
0
0
0
0
0
0
0.324675
308
16
34
19.25
0.822115
0
0
0
0
0
0
0
0
0
0
0
0
1
0.416667
false
0
0
0.166667
0.75
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
7ce5df4a0d1c5b73e72c11d9474c818e1550db90
196
py
Python
RL/TicTacToe/agent/Agent.py
tsubame-mz/reinforcement_learning
b69cce573deed11676f60653b41e036d8e79aedc
[ "MIT" ]
null
null
null
RL/TicTacToe/agent/Agent.py
tsubame-mz/reinforcement_learning
b69cce573deed11676f60653b41e036d8e79aedc
[ "MIT" ]
null
null
null
RL/TicTacToe/agent/Agent.py
tsubame-mz/reinforcement_learning
b69cce573deed11676f60653b41e036d8e79aedc
[ "MIT" ]
null
null
null
from typing import Dict from abc import ABC, abstractmethod import gym class Agent(ABC): @abstractmethod def get_action(self, env: gym.Env, obs: Dict): raise NotImplementedError
19.6
50
0.729592
26
196
5.461538
0.653846
0.239437
0
0
0
0
0
0
0
0
0
0
0.204082
196
9
51
21.777778
0.910256
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
7cf357a757a23e1cc885392f5c0b2f0e21ed46fa
107
py
Python
pythonProject1/venv/Lib/site-packages/jsonconf/__init__.py
mjtomlinson/CNE330_Python_1_Final_Project
05020806860937ef37b9a0ad2e27de4897a606de
[ "CC0-1.0" ]
null
null
null
pythonProject1/venv/Lib/site-packages/jsonconf/__init__.py
mjtomlinson/CNE330_Python_1_Final_Project
05020806860937ef37b9a0ad2e27de4897a606de
[ "CC0-1.0" ]
null
null
null
pythonProject1/venv/Lib/site-packages/jsonconf/__init__.py
mjtomlinson/CNE330_Python_1_Final_Project
05020806860937ef37b9a0ad2e27de4897a606de
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 from jsonconf import JSONConf
21.4
53
0.785047
16
107
5.25
0.8125
0
0
0
0
0
0
0
0
0
0
0.031915
0.121495
107
4
54
26.75
0.861702
0.672897
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6b04964b36641dc39cf3b80be2ba160fea940a3a
8,176
py
Python
tests/test_control.py
pretix-translations/pretix-cartshare
0e2f50b86cd7b0605826e1bfc8baac01b74dfe84
[ "Apache-2.0" ]
2
2017-04-30T13:13:18.000Z
2018-11-19T04:06:14.000Z
tests/test_control.py
pretix-translations/pretix-cartshare
0e2f50b86cd7b0605826e1bfc8baac01b74dfe84
[ "Apache-2.0" ]
6
2016-09-25T16:49:32.000Z
2018-08-06T09:41:48.000Z
tests/test_control.py
pretix-translations/pretix-cartshare
0e2f50b86cd7b0605826e1bfc8baac01b74dfe84
[ "Apache-2.0" ]
4
2016-10-03T18:03:27.000Z
2018-11-19T04:06:15.000Z
from datetime import timedelta from decimal import Decimal import pytest from django.utils.timezone import now from django_scopes import scopes_disabled from pretix.base.models import CartPosition, Event, Organizer, Team, User from pretix_cartshare.models import SharedCart from pretix_cartshare.signals import clean_ca...
39.882927
116
0.64567
1,110
8,176
4.64955
0.125225
0.04069
0.04534
0.053478
0.77795
0.767293
0.739585
0.728735
0.687464
0.659368
0
0.017252
0.191781
8,176
204
117
40.078431
0.763771
0
0
0.653631
0
0
0.176125
0.043297
0
0
0
0
0.150838
1
0.061453
false
0.050279
0.044693
0
0.111732
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
5
6b06d889b40e221e8e4a61cbd6f406914661b567
55
py
Python
cpgames/modules/core/catchcoins/__init__.py
Wasabii88/Games
33262ca1958207a24e57e3532feded7e275b1dd1
[ "MIT" ]
1
2022-02-27T10:33:41.000Z
2022-02-27T10:33:41.000Z
cpgames/modules/core/catchcoins/__init__.py
beiwei365/Games
f6499f378802d3212a08aeca761191b58714b7f0
[ "MIT" ]
null
null
null
cpgames/modules/core/catchcoins/__init__.py
beiwei365/Games
f6499f378802d3212a08aeca761191b58714b7f0
[ "MIT" ]
null
null
null
'''initialize''' from .catchcoins import CatchCoinsGame
27.5
38
0.8
5
55
8.8
1
0
0
0
0
0
0
0
0
0
0
0
0.072727
55
2
38
27.5
0.862745
0.181818
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6b25b9bd2ffbf6505341abbd0ba04d6ce1307d2f
2,901
py
Python
tests/e2e/test_step_functions.py
vchapmanse/local_serverless_with_docker_AWS_SAM
e96028300ad5c4b3358ffadd6fad015aa43340b6
[ "MIT" ]
null
null
null
tests/e2e/test_step_functions.py
vchapmanse/local_serverless_with_docker_AWS_SAM
e96028300ad5c4b3358ffadd6fad015aa43340b6
[ "MIT" ]
null
null
null
tests/e2e/test_step_functions.py
vchapmanse/local_serverless_with_docker_AWS_SAM
e96028300ad5c4b3358ffadd6fad015aa43340b6
[ "MIT" ]
null
null
null
import boto3 import json sfn = boto3.client( "stepfunctions", endpoint_url="http://127.0.0.1:8083") DYDB = boto3.resource("dynamodb", endpoint_url="http://localhost:8000") def test_code_of_conduct(s3_cloudwatch_event): event = s3_cloudwatch_event event["detail"]["resources"][0].update({"ARN": "arn:aws...
32.595506
90
0.637366
322
2,901
5.580745
0.245342
0.046745
0.075682
0.097941
0.773511
0.773511
0.773511
0.773511
0.773511
0.773511
0
0.042901
0.220614
2,901
89
91
32.595506
0.75188
0
0
0.519481
0
0
0.272915
0.143349
0
0
0
0
0.051948
1
0.051948
false
0.012987
0.025974
0
0.077922
0.012987
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
6b2d03b335204caf2f90ec59b69a7fd5d86a8f4e
59
py
Python
technology/scn3me_subm/tech/__init__.py
panicmarvin/OpenRAM
abf47bab50adb48337c59b72ccd6023c1999f3fc
[ "BSD-3-Clause" ]
null
null
null
technology/scn3me_subm/tech/__init__.py
panicmarvin/OpenRAM
abf47bab50adb48337c59b72ccd6023c1999f3fc
[ "BSD-3-Clause" ]
null
null
null
technology/scn3me_subm/tech/__init__.py
panicmarvin/OpenRAM
abf47bab50adb48337c59b72ccd6023c1999f3fc
[ "BSD-3-Clause" ]
1
2020-01-23T07:12:52.000Z
2020-01-23T07:12:52.000Z
""" Import tech specific modules. """ from tech import *
8.428571
29
0.661017
7
59
5.571429
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.20339
59
6
30
9.833333
0.829787
0.491525
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6b3d535436cb58ec7d0e6cff4a98bcf39f6ed6fe
186
py
Python
scanpy/external/pp/__init__.py
ChenddatHKU/scanpy
1b290be6fd297023a0bd705e66f69254c1626fc4
[ "BSD-3-Clause" ]
null
null
null
scanpy/external/pp/__init__.py
ChenddatHKU/scanpy
1b290be6fd297023a0bd705e66f69254c1626fc4
[ "BSD-3-Clause" ]
1
2020-06-16T17:14:45.000Z
2020-06-16T17:14:45.000Z
scanpy/external/pp/__init__.py
ChenddatHKU/scanpy
1b290be6fd297023a0bd705e66f69254c1626fc4
[ "BSD-3-Clause" ]
2
2020-06-16T16:42:40.000Z
2020-08-28T16:59:42.000Z
from ._mnn_correct import mnn_correct from ._bbknn import bbknn from ._dca import dca from ._harmony_integrate import harmony_integrate from ._magic import magic from ._scvi import scvi
26.571429
49
0.83871
28
186
5.214286
0.357143
0.136986
0
0
0
0
0
0
0
0
0
0
0.129032
186
6
50
31
0.901235
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
6b447dc7187e3cfb9d6b641a0b859c1d7e433b34
131
py
Python
teste_import.py
luis-ferrarezi/credentials-manager
2e12baa0ad58825ddf2667415331f1ce8ae940f6
[ "MIT" ]
null
null
null
teste_import.py
luis-ferrarezi/credentials-manager
2e12baa0ad58825ddf2667415331f1ce8ae940f6
[ "MIT" ]
null
null
null
teste_import.py
luis-ferrarezi/credentials-manager
2e12baa0ad58825ddf2667415331f1ce8ae940f6
[ "MIT" ]
null
null
null
from read_credentials import ShowCredentials nomeruim = ShowCredentials('Studeos') print(nomeruim.login) print(nomeruim.password)
21.833333
44
0.839695
14
131
7.785714
0.714286
0.238532
0
0
0
0
0
0
0
0
0
0
0.076336
131
5
45
26.2
0.900826
0
0
0
0
0
0.053435
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.25
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
0
1
0
0
0
1
0
5
8628fb1cac7941e6946ac0683946e3618f63f545
6,375
py
Python
tests/flow/test_Richards_empirical.py
Prithwijit-Chak/simpeg
d93145d768b5512621cdd75566b4a8175fee9ed3
[ "MIT" ]
358
2015-03-11T05:48:41.000Z
2022-03-26T02:04:12.000Z
tests/flow/test_Richards_empirical.py
thast/simpeg
8021082b8b53f3c08fa87fc085547bdd56437c6b
[ "MIT" ]
885
2015-01-19T09:23:48.000Z
2022-03-29T12:08:34.000Z
tests/flow/test_Richards_empirical.py
thast/simpeg
8021082b8b53f3c08fa87fc085547bdd56437c6b
[ "MIT" ]
214
2015-03-11T05:48:43.000Z
2022-03-02T01:05:11.000Z
from __future__ import print_function import unittest import numpy as np import discretize from discretize.tests import checkDerivative from SimPEG import maps from SimPEG.flow import richards TOL = 1e-8 np.random.seed(2) class TestModels(unittest.TestCase): def test_haverkamp_theta_u(self): mesh = d...
29.929577
86
0.526431
752
6,375
4.378989
0.135638
0.052839
0.040085
0.053447
0.809292
0.769207
0.707258
0.678712
0.605831
0.603097
0
0.015559
0.334588
6,375
212
87
30.070755
0.760726
0
0
0.51875
0
0
0.053647
0
0
0
0
0
0.05
1
0.075
false
0.1
0.04375
0
0.15
0.04375
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
5
868c0429ea729cbccdce6c9a62b53e3cf75f2157
1,671
py
Python
python/phonenumbers/data/region_GG.py
timgates42/python-phonenumbers
98895826729a234acc1e27ce8e280fe7e54754ab
[ "Apache-2.0" ]
1
2020-04-16T21:40:27.000Z
2020-04-16T21:40:27.000Z
warehouse/python-app-venv/lib/python3.6/site-packages/phonenumbers/data/region_GG.py
perivision/BAPPE
20b01b0aee6977ddc28d09b8fd667d2ec30486b6
[ "MIT" ]
10
2020-03-24T10:47:53.000Z
2021-04-08T19:51:44.000Z
myvenv/lib/python3.6/site-packages/phonenumbers/data/region_GG.py
yog240597/saleor
b75a23827a4ec2ce91637f0afe6808c9d09da00a
[ "CC-BY-4.0" ]
1
2020-06-19T11:49:45.000Z
2020-06-19T11:49:45.000Z
"""Auto-generated file, do not edit by hand. GG metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_GG = PhoneMetadata(id='GG', country_code=44, international_prefix='00', general_desc=PhoneNumberDesc(national_number_pattern='(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\...
98.294118
173
0.725913
243
1,671
4.757202
0.386831
0.133218
0.225779
0.280277
0.143599
0.044983
0
0
0
0
0
0.150702
0.062837
1,671
16
174
104.4375
0.587484
0.031718
0
0
1
0.214286
0.243176
0.1433
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
86a01c904c0571d80fd3159a83e0d290815d64f8
25
py
Python
tests/test_q11.py
rpianna/ImageProcessing100
47299941edc0f6f31a31e6d943b0784f249f076b
[ "MIT" ]
null
null
null
tests/test_q11.py
rpianna/ImageProcessing100
47299941edc0f6f31a31e6d943b0784f249f076b
[ "MIT" ]
null
null
null
tests/test_q11.py
rpianna/ImageProcessing100
47299941edc0f6f31a31e6d943b0784f249f076b
[ "MIT" ]
null
null
null
import source.q11 as q11
12.5
24
0.8
5
25
4
0.8
0
0
0
0
0
0
0
0
0
0
0.190476
0.16
25
1
25
25
0.761905
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
86d3e2aba64bfefa22d9f1a125d67ca348e89183
90
py
Python
tests/PaxHeaders.2308045/test-stream.py
cuijianming/ovs-2.13.6
e7fdf06d6c26d280b25bdf235146ae007cd2208c
[ "Apache-2.0" ]
null
null
null
tests/PaxHeaders.2308045/test-stream.py
cuijianming/ovs-2.13.6
e7fdf06d6c26d280b25bdf235146ae007cd2208c
[ "Apache-2.0" ]
null
null
null
tests/PaxHeaders.2308045/test-stream.py
cuijianming/ovs-2.13.6
e7fdf06d6c26d280b25bdf235146ae007cd2208c
[ "Apache-2.0" ]
null
null
null
30 mtime=1639777085.528355983 30 atime=1639777086.394355983 30 ctime=1639777126.680355983
22.5
29
0.866667
12
90
6.5
0.833333
0
0
0
0
0
0
0
0
0
0
0.75
0.066667
90
3
30
30
0.178571
0
0
0
0
0
0
0
0
0
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
0
0
0
0
1
0
0
0
0
0
0
0
0
5
86ecc6e2794c5610929c896c700fd0fe91d00000
93
py
Python
bsff/characters/admin.py
ErikSeguinte/BSFF_Django
a4dde02b2af233bbcf0c625c20a5f2814a8ca214
[ "MIT" ]
null
null
null
bsff/characters/admin.py
ErikSeguinte/BSFF_Django
a4dde02b2af233bbcf0c625c20a5f2814a8ca214
[ "MIT" ]
null
null
null
bsff/characters/admin.py
ErikSeguinte/BSFF_Django
a4dde02b2af233bbcf0c625c20a5f2814a8ca214
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Character admin.site.register(Character)
31
32
0.849462
13
93
6.076923
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.086022
93
3
33
31
0.929412
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
86f3fdcaf6ca949203bd7da46765e6568cbfd0b4
6,039
py
Python
q2_diversity/tests/test_core_metrics.py
nbokulich/q2-diversity
b815291801352c678e59d9d138b9a10531af0a1b
[ "BSD-3-Clause" ]
null
null
null
q2_diversity/tests/test_core_metrics.py
nbokulich/q2-diversity
b815291801352c678e59d9d138b9a10531af0a1b
[ "BSD-3-Clause" ]
null
null
null
q2_diversity/tests/test_core_metrics.py
nbokulich/q2-diversity
b815291801352c678e59d9d138b9a10531af0a1b
[ "BSD-3-Clause" ]
null
null
null
# ---------------------------------------------------------------------------- # Copyright (c) 2016-2021, QIIME 2 development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # ------------------------------------------------...
40.26
79
0.555556
688
6,039
4.748547
0.226744
0.040404
0.056321
0.063667
0.764004
0.711662
0.711662
0.703704
0.703704
0.682277
0
0.049309
0.281338
6,039
149
80
40.530201
0.703456
0.131479
0
0.646465
0
0.030303
0.125645
0.03232
0
0
0
0
0.171717
1
0.050505
false
0
0.161616
0
0.232323
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
811c8fe38a95ca33d248969b8d7063c43a9adf34
106
py
Python
FirstStepsInPython/Basics/Exercise1 First Steps in Coding/02. RadianstoDegrees.py
Pittor052/SoftUni-Studies
1ee6341082f6ccfa45b3e82824c37722bcf2fb31
[ "MIT" ]
null
null
null
FirstStepsInPython/Basics/Exercise1 First Steps in Coding/02. RadianstoDegrees.py
Pittor052/SoftUni-Studies
1ee6341082f6ccfa45b3e82824c37722bcf2fb31
[ "MIT" ]
null
null
null
FirstStepsInPython/Basics/Exercise1 First Steps in Coding/02. RadianstoDegrees.py
Pittor052/SoftUni-Studies
1ee6341082f6ccfa45b3e82824c37722bcf2fb31
[ "MIT" ]
1
2021-10-07T18:30:42.000Z
2021-10-07T18:30:42.000Z
from math import pi from math import floor rads = float(input()) degs = rads * 180 / pi print(floor(degs))
21.2
22
0.716981
18
106
4.222222
0.611111
0.210526
0.368421
0
0
0
0
0
0
0
0
0.034091
0.169811
106
5
23
21.2
0.829545
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
8124b21d61f5fb8c37a70d8948ba4a3daa8536ab
170
py
Python
thebookgarden/customer_app/admin.py
ArsalanJamali/TheBookGarden
153bfa229cd897b19b9e0827acc06dbe63558174
[ "MIT" ]
null
null
null
thebookgarden/customer_app/admin.py
ArsalanJamali/TheBookGarden
153bfa229cd897b19b9e0827acc06dbe63558174
[ "MIT" ]
null
null
null
thebookgarden/customer_app/admin.py
ArsalanJamali/TheBookGarden
153bfa229cd897b19b9e0827acc06dbe63558174
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import AddressBook,ReviewBook # Register your models here. admin.site.register(AddressBook) admin.site.register(ReviewBook)
28.333333
42
0.835294
22
170
6.454545
0.545455
0.126761
0.239437
0
0
0
0
0
0
0
0
0
0.088235
170
6
43
28.333333
0.916129
0.152941
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
813b53b32240db8ce3198331fe0be09cec29d4bf
428
py
Python
src/omlt/neuralnet/__init__.py
joshuahaddad/OMLT
c7b9cd98561b2679a80b0dd2c147f8580d8cda1a
[ "BSD-3-Clause" ]
1
2022-02-10T10:15:57.000Z
2022-02-10T10:15:57.000Z
src/omlt/neuralnet/__init__.py
joshuahaddad/OMLT
c7b9cd98561b2679a80b0dd2c147f8580d8cda1a
[ "BSD-3-Clause" ]
null
null
null
src/omlt/neuralnet/__init__.py
joshuahaddad/OMLT
c7b9cd98561b2679a80b0dd2c147f8580d8cda1a
[ "BSD-3-Clause" ]
null
null
null
from omlt.neuralnet.network_definition import NetworkDefinition from omlt.neuralnet.nn_formulation import (FullSpaceNNFormulation, ReducedSpaceNNFormulation, FullSpaceSmoothNNFormulation, ReducedSpaceSmoothNNFormulation, ReluBigMFormu...
85.6
105
0.640187
20
428
13.6
0.8
0.058824
0.125
0
0
0
0
0
0
0
0
0
0.331776
428
5
106
85.6
0.951049
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
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
0
0
0
5
d4b278f0f34e3a893de168e2d42aba7c831633fe
206
py
Python
apps/users/jwt_handler.py
pedro-hs/financial-account
7e8e4d0f3ac888fa36a091d0e733a8e1926180d2
[ "MIT" ]
null
null
null
apps/users/jwt_handler.py
pedro-hs/financial-account
7e8e4d0f3ac888fa36a091d0e733a8e1926180d2
[ "MIT" ]
null
null
null
apps/users/jwt_handler.py
pedro-hs/financial-account
7e8e4d0f3ac888fa36a091d0e733a8e1926180d2
[ "MIT" ]
null
null
null
from django.conf import settings from rest_framework_jwt.utils import jwt_payload_handler def custom_jwt(user): payload = jwt_payload_handler(user) payload['role'] = user.role return payload
20.6
56
0.771845
29
206
5.241379
0.551724
0.131579
0.223684
0
0
0
0
0
0
0
0
0
0.160194
206
9
57
22.888889
0.878613
0
0
0
0
0
0.019417
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
d4c0d7588ffcd8671b176e8a373cdf800daa7a86
2,941
py
Python
Python/maximum-white-tiles-covered-by-a-carpet.py
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
4
2018-10-11T17:50:56.000Z
2018-10-11T21:16:44.000Z
Python/maximum-white-tiles-covered-by-a-carpet.py
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
null
null
null
Python/maximum-white-tiles-covered-by-a-carpet.py
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
4
2018-10-11T18:50:32.000Z
2018-10-12T00:04:09.000Z
# Time: O(nlogn) # Space: O(1) # sliding window, optimized from solution3 class Solution(object): def maximumWhiteTiles(self, tiles, carpetLen): """ :type tiles: List[List[int]] :type carpetLen: int :rtype: int """ tiles.sort() result = right = gap = 0 ...
29.41
86
0.514451
380
2,941
3.968421
0.139474
0.015915
0.051061
0.039788
0.757294
0.740053
0.740053
0.709549
0.709549
0.644562
0
0.036697
0.33288
2,941
99
87
29.707071
0.731906
0.16797
0
0.607143
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.035714
0
0.25
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
d4d788aa17f0eb5a85b5c24dcbd1ff2c081440ed
27
py
Python
src/network/__init__.py
markveillette/high-fidelity-generative-compression
d88b4d7f1212efa8611e91737ff6bf00bbf36670
[ "Apache-2.0" ]
266
2020-08-25T00:04:58.000Z
2022-03-31T06:41:03.000Z
src/network/__init__.py
markveillette/high-fidelity-generative-compression
d88b4d7f1212efa8611e91737ff6bf00bbf36670
[ "Apache-2.0" ]
27
2020-09-01T21:04:27.000Z
2022-03-22T02:24:48.000Z
src/network/__init__.py
markveillette/high-fidelity-generative-compression
d88b4d7f1212efa8611e91737ff6bf00bbf36670
[ "Apache-2.0" ]
50
2020-08-28T02:11:46.000Z
2022-02-25T02:44:42.000Z
# Model / loss definitions
13.5
26
0.740741
3
27
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.185185
27
1
27
27
0.909091
0.888889
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
d4ed381d248363ca514ca984c1f0d28baa5f066e
6,556
py
Python
my_util/font_encryption_detective/main.py
RecluseXU/learning_spider
45fa790ed7970be57a21b40817cc66856de3d99b
[ "MIT" ]
38
2020-08-30T11:41:53.000Z
2022-03-23T04:30:26.000Z
my_util/font_encryption_detective/main.py
AndersonHJB/learning_spider
b855b7808fb5268e9564180cf73ba5b1fb133f58
[ "MIT" ]
2
2021-08-20T16:34:12.000Z
2021-10-08T11:06:41.000Z
my_util/font_encryption_detective/main.py
AndersonHJB/learning_spider
b855b7808fb5268e9564180cf73ba5b1fb133f58
[ "MIT" ]
10
2020-11-24T09:15:42.000Z
2022-02-25T06:05:16.000Z
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : main.py @Time : 2020-8-29 21:12:52 @Author : Recluse Xu @Version : 1.0 @Contact : 444640050@qq.com @Desc : ''' # here put the import lib import matplotlib.pyplot as plt import numpy as np from fontTools.ttLib import TTFont from fontTool...
64.27451
3,594
0.796065
447
6,556
11.49217
0.467562
0.01752
0.013237
0.014016
0.019077
0.010123
0.010123
0.010123
0
0
0
0.045223
0.13316
6,556
101
3,595
64.910891
0.858701
0.038591
0
0
0
0.014706
0.61347
0.596393
0
1
0
0
0
1
0.058824
false
0.014706
0.132353
0
0.220588
0.044118
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
5
be067796a4fe52ffeaf0db3c4811a11ef8e885b9
95
py
Python
first_steps/second_module.py
Minkov/python-oop
db9651eef374c0e74c32cb6f2bf07c734cc1d051
[ "MIT" ]
3
2021-11-16T04:52:53.000Z
2022-02-07T20:28:41.000Z
first_steps/second_module.py
Minkov/python-oop
db9651eef374c0e74c32cb6f2bf07c734cc1d051
[ "MIT" ]
null
null
null
first_steps/second_module.py
Minkov/python-oop
db9651eef374c0e74c32cb6f2bf07c734cc1d051
[ "MIT" ]
1
2021-12-07T07:04:38.000Z
2021-12-07T07:04:38.000Z
def print_info(): print('Second module') print(f'From second_modules: {sum([1, 2, 3])}')
15.833333
47
0.631579
15
95
3.866667
0.8
0
0
0
0
0
0
0
0
0
0
0.0375
0.157895
95
5
48
19
0.6875
0
0
0
0
0
0.526316
0
0
0
0
0
0
1
0.333333
true
0
0
0
0.333333
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
1
0
5
076ed07bbe8f4dd11ea490f5864e70eac85a9285
174
py
Python
scripts/jsonjp.py
kiever/pokesprite
a36c8439cedea77a0d4077782d2321e8d27a8b9f
[ "MIT" ]
1
2019-12-27T19:45:02.000Z
2019-12-27T19:45:02.000Z
scripts/jsonjp.py
kiever/pokesprite
a36c8439cedea77a0d4077782d2321e8d27a8b9f
[ "MIT" ]
null
null
null
scripts/jsonjp.py
kiever/pokesprite
a36c8439cedea77a0d4077782d2321e8d27a8b9f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # prints JSON-usable japanese # example: $ ./jsonjp.py モクロー # output: "\u30e2\u30af\u30ed\u30fc" import json import sys print(json.dumps(sys.argv[1]))
21.75
36
0.724138
27
174
4.666667
0.851852
0
0
0
0
0
0
0
0
0
0
0.070968
0.109195
174
8
37
21.75
0.741935
0.643678
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
07963e0c9e8778275d896370143d369b42968be4
31,300
py
Python
managers/tests.py
naderm/farnsworth
f7a635a82eae20ca395a939966bfa1e296d4e3a2
[ "BSD-2-Clause" ]
null
null
null
managers/tests.py
naderm/farnsworth
f7a635a82eae20ca395a939966bfa1e296d4e3a2
[ "BSD-2-Clause" ]
null
null
null
managers/tests.py
naderm/farnsworth
f7a635a82eae20ca395a939966bfa1e296d4e3a2
[ "BSD-2-Clause" ]
null
null
null
""" This file demonstrates writing tests using the unittest module. These will pass when you run "manage.py test". Replace this with more appropriate tests for your application. """ from datetime import datetime, timedelta from django.conf import settings from django.contrib.auth.models import User from django.core....
38.785626
198
0.613866
3,450
31,300
5.453333
0.075652
0.052089
0.050707
0.033167
0.816679
0.762464
0.740193
0.698682
0.678431
0.641916
0
0.006225
0.260958
31,300
806
199
38.833747
0.807107
0.013802
0
0.648889
0
0.005926
0.157748
0.040507
0
0
0
0
0.180741
1
0.060741
false
0.056296
0.020741
0
0.091852
0
0
0
0
null
0
0
0
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
5
07a31454cf4c57d76e7abe6dc3e41b59325a2b65
84
py
Python
grassformation/utils/__init__.py
Neosperience/GrassFormation
0cc0ac2399a1b8f3f815a4b28cad882e6f048e5e
[ "MIT" ]
18
2018-11-12T15:49:02.000Z
2021-07-05T13:41:42.000Z
grassformation/utils/__init__.py
Neosperience/GrassFormation
0cc0ac2399a1b8f3f815a4b28cad882e6f048e5e
[ "MIT" ]
2
2018-11-15T22:43:25.000Z
2018-12-27T12:58:41.000Z
grassformation/utils/__init__.py
Neosperience/GrassFormation
0cc0ac2399a1b8f3f815a4b28cad882e6f048e5e
[ "MIT" ]
3
2018-12-27T10:22:57.000Z
2019-08-21T18:23:51.000Z
from utils.dict_utils import change_requires_update, filter_dictionary, val_to_bool
42
83
0.892857
13
84
5.307692
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.071429
84
1
84
84
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
07ce5a7b9c7d7542d1887e9f9a7e31736afce89c
187
py
Python
dataset.py
imranparuk/VGGFace2
0f7b166c93564735b9de3e174f86a51342ad1958
[ "MIT" ]
null
null
null
dataset.py
imranparuk/VGGFace2
0f7b166c93564735b9de3e174f86a51342ad1958
[ "MIT" ]
null
null
null
dataset.py
imranparuk/VGGFace2
0f7b166c93564735b9de3e174f86a51342ad1958
[ "MIT" ]
null
null
null
from torch.utils.data import Dataset class VGGFace2(Dataset): def __init__(self): pass def __len__(self): pass def __getitem__(self, item): pass
12.466667
36
0.609626
22
187
4.636364
0.681818
0.156863
0.215686
0
0
0
0
0
0
0
0
0.007752
0.31016
187
14
37
13.357143
0.782946
0
0
0.375
0
0
0
0
0
0
0
0
0
1
0.375
false
0.375
0.125
0
0.625
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
5
07e757f4968e25955ee8b223dfbed3e91f0000e5
1,174
py
Python
test/test_whoami.py
duckinator/boreutils
3d40c11bf5e57240697adfb1bb693faf0ba82bab
[ "MIT" ]
9
2015-11-05T04:33:50.000Z
2021-12-15T14:36:04.000Z
test/test_whoami.py
duckinator/boreutils
3d40c11bf5e57240697adfb1bb693faf0ba82bab
[ "MIT" ]
26
2020-05-22T07:57:54.000Z
2021-09-06T20:18:22.000Z
test/test_whoami.py
duckinator/boreutils
3d40c11bf5e57240697adfb1bb693faf0ba82bab
[ "MIT" ]
2
2020-06-01T05:14:22.000Z
2022-03-08T14:56:10.000Z
""" Tests for `whoami`. TODO: Determine if there's a standard for this. """ import os import pytest from helpers import check, check_version, run def test_version(): """Check that we're using Boreutil's implementation.""" assert check_version("whoami") def test_missing_args(): """Nothing to test: `who...
28.634146
102
0.626065
159
1,174
4.566038
0.515723
0.07438
0.123967
0.057851
0.15427
0.088154
0.088154
0
0
0
0
0.006186
0.173765
1,174
40
103
29.35
0.742268
0.28109
0
0
0
0
0.171393
0
0
0
0
0.025
0.473684
1
0.263158
true
0.052632
0.157895
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
1
0
1
1
1
0
0
0
0
0
5
07f97444b99a0e549ba7bf93f00437847180c827
301
py
Python
10/03/2/call.py
pylangstudy/201706
f1cc6af6b18e5bd393cda27f5166067c4645d4d3
[ "CC0-1.0" ]
null
null
null
10/03/2/call.py
pylangstudy/201706
f1cc6af6b18e5bd393cda27f5166067c4645d4d3
[ "CC0-1.0" ]
70
2017-06-01T11:02:51.000Z
2017-06-30T00:35:32.000Z
10/03/2/call.py
pylangstudy/201706
f1cc6af6b18e5bd393cda27f5166067c4645d4d3
[ "CC0-1.0" ]
null
null
null
#from package1.package11 import * #from package1 import * #from package1.package11.module1 import * from package1.package11 import module2 print(dir()) #import package.module2 module2.some_method() #package11.module2.some_method() #package1.package11.module2.some_method() #import package.module1
23.153846
41
0.800664
37
301
6.432432
0.297297
0.201681
0.264706
0.226891
0
0
0
0
0
0
0
0.080586
0.093023
301
12
42
25.083333
0.791209
0.700997
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
ed48201d0d0e63d6809775b7693f0b82e310cb4d
287
py
Python
bin/run_tests.py
eerkela/CurveFit
4c25a196860cc62900618ea01dd59b903edbfc8d
[ "MIT" ]
null
null
null
bin/run_tests.py
eerkela/CurveFit
4c25a196860cc62900618ea01dd59b903edbfc8d
[ "MIT" ]
null
null
null
bin/run_tests.py
eerkela/CurveFit
4c25a196860cc62900618ea01dd59b903edbfc8d
[ "MIT" ]
null
null
null
from pathlib import Path import sys import unittest sys.path.append(str(Path(__file__).resolve().parent.parent)) from curvefit.test.callback_test import * # from curvefit.test.color_test import * # from curvefit.test.text_test import * if __name__ == "__main__": unittest.main()
20.5
60
0.763066
40
287
5.1
0.475
0.176471
0.235294
0.215686
0.254902
0
0
0
0
0
0
0
0.125436
287
13
61
22.076923
0.812749
0.264808
0
0
0
0
0.038462
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
ed8021ca7accbfff66c07cbe8c00350a8c58ea56
156
py
Python
bauh/core/snap/constants.py
Acidburn0zzz/bauh
aa7113b11d3bd4aa7b35d140280992362352636d
[ "Zlib" ]
null
null
null
bauh/core/snap/constants.py
Acidburn0zzz/bauh
aa7113b11d3bd4aa7b35d140280992362352636d
[ "Zlib" ]
null
null
null
bauh/core/snap/constants.py
Acidburn0zzz/bauh
aa7113b11d3bd4aa7b35d140280992362352636d
[ "Zlib" ]
null
null
null
from bauh.core.constants import CACHE_PATH SNAP_API_URL = 'https://search.apps.ubuntu.com/api/v1' SNAP_CACHE_PATH = '{}/snap/installed'.format(CACHE_PATH)
31.2
56
0.782051
25
156
4.64
0.72
0.232759
0.224138
0
0
0
0
0
0
0
0
0.006897
0.070513
156
4
57
39
0.793103
0
0
0
0
0
0.346154
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
9c37ca671043ad1df944ee7c4cf8ed9b9fcbb6bd
24
py
Python
data/studio21_generated/introductory/3043/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3043/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/introductory/3043/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
def print_nums(*args):
12
22
0.708333
4
24
4
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
2
23
12
0.761905
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
5
9c5a10b8da4461cb207beab077b33d17f8262eb0
38,488
py
Python
src/test_main.py
ExpectoAprobarum/BackendSV
58d9e11558c0eca6aabb347cd1f00c7039b7cb2b
[ "CC0-1.0" ]
null
null
null
src/test_main.py
ExpectoAprobarum/BackendSV
58d9e11558c0eca6aabb347cd1f00c7039b7cb2b
[ "CC0-1.0" ]
null
null
null
src/test_main.py
ExpectoAprobarum/BackendSV
58d9e11558c0eca6aabb347cd1f00c7039b7cb2b
[ "CC0-1.0" ]
null
null
null
from fastapi.testclient import TestClient from .main import app import pytest from src.models import Game, Board, User, Player, Message from pony.orm import db_session, commit import datetime client = TestClient(app) pytest.users = { 1: {"username": "andres", "useralias": "andres", "email": "a@gmail.com", "passwor...
42.155531
126
0.569528
4,293
38,488
5.030515
0.057303
0.106964
0.062882
0.092239
0.808715
0.770282
0.747453
0.717216
0.69323
0.661974
0
0.018057
0.26759
38,488
912
127
42.201754
0.748058
0.001637
0
0.595867
0
0.003444
0.245133
0.064049
0
0
0
0
0.190586
1
0.033295
false
0.014925
0.006889
0
0.041332
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
0
0
0
0
0
0
5
9c747da7ded71831a4eb1f24f09bc8f8d2ef0348
37
py
Python
Week 1/src/InvalidDim.py
rpatel1291/SSW567
366b30e1374bd07deb6cdb2b63e2f0b48fa691bd
[ "MIT" ]
null
null
null
Week 1/src/InvalidDim.py
rpatel1291/SSW567
366b30e1374bd07deb6cdb2b63e2f0b48fa691bd
[ "MIT" ]
null
null
null
Week 1/src/InvalidDim.py
rpatel1291/SSW567
366b30e1374bd07deb6cdb2b63e2f0b48fa691bd
[ "MIT" ]
null
null
null
class InvalidDim(Exception): pass
18.5
28
0.756757
4
37
7
1
0
0
0
0
0
0
0
0
0
0
0
0.162162
37
2
29
18.5
0.903226
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
92c61b1c9e9bf8d566da4114e01a1057a7b6a502
20
py
Python
packages/testDir/hello.py
bopopescu/daily_harvest
7809011cb739dafd583e45b3be43c61a101178e3
[ "MIT" ]
17
2015-04-04T05:27:15.000Z
2019-02-26T21:34:21.000Z
packages/testDir/hello.py
bopopescu/daily_harvest
7809011cb739dafd583e45b3be43c61a101178e3
[ "MIT" ]
18
2015-05-20T10:30:44.000Z
2016-12-15T14:25:00.000Z
packages/testDir/hello.py
bopopescu/daily_harvest
7809011cb739dafd583e45b3be43c61a101178e3
[ "MIT" ]
19
2015-03-08T22:30:10.000Z
2019-02-26T21:34:22.000Z
print "HELLO WORLD"
10
19
0.75
3
20
5
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.882353
0
0
0
0
0
0.55
0
0
0
0
0
0
0
null
null
0
0
null
null
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
5
1304f77e48436888b3a9caea9797e00d2fe079ba
57
py
Python
Demos/Module2/helloworld_start.py
bdheard/PythonEssentialsApr19
666ae76b8339b5d8a9f20a19c7429ab1de3a167a
[ "MIT" ]
null
null
null
Demos/Module2/helloworld_start.py
bdheard/PythonEssentialsApr19
666ae76b8339b5d8a9f20a19c7429ab1de3a167a
[ "MIT" ]
null
null
null
Demos/Module2/helloworld_start.py
bdheard/PythonEssentialsApr19
666ae76b8339b5d8a9f20a19c7429ab1de3a167a
[ "MIT" ]
null
null
null
# # Example file for Hello World # print("Hello World!!")
14.25
30
0.684211
8
57
4.875
0.75
0.512821
0
0
0
0
0
0
0
0
0
0
0.157895
57
4
31
14.25
0.8125
0.491228
0
0
0
0
0.5
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
0
0
0
1
0
5
130cd5b11fc55d645d33d1cb889471cd026b80c3
610
py
Python
hello.py
kbalisnomo/cgi-lab
0bd11ef99c5dff4fafb95c72ba12746728548d5c
[ "Apache-2.0" ]
null
null
null
hello.py
kbalisnomo/cgi-lab
0bd11ef99c5dff4fafb95c72ba12746728548d5c
[ "Apache-2.0" ]
null
null
null
hello.py
kbalisnomo/cgi-lab
0bd11ef99c5dff4fafb95c72ba12746728548d5c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import os import json #PRINT OUT ALL ENV VARIABLES AS PLAIN TEXT # print("Content-Type: text/plain") #let browser know to expect plain text # print() # print(os.environ) #PRINT ENV VARIABLES AS JSON # print("Content-Type: application/json") #let browser know to expect json # print() # print(...
27.727273
112
0.734426
99
610
4.464646
0.414141
0.081448
0.108597
0.108597
0.149321
0
0
0
0
0
0
0.003724
0.119672
610
22
112
27.727273
0.819367
0.660656
0
0
0
0.2
0.64433
0.525773
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0.6
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
1
0
0
1
0
5
1336f507f7516b061105d04c5d3f1c2788c9cf62
6,447
py
Python
tests/components/nuheat/test_climate.py
pcaston/core
e74d946cef7a9d4e232ae9e0ba150d18018cfe33
[ "Apache-2.0" ]
1
2021-07-08T20:09:55.000Z
2021-07-08T20:09:55.000Z
tests/components/nuheat/test_climate.py
pcaston/core
e74d946cef7a9d4e232ae9e0ba150d18018cfe33
[ "Apache-2.0" ]
47
2021-02-21T23:43:07.000Z
2022-03-31T06:07:10.000Z
tests/components/nuheat/test_climate.py
OpenPeerPower/core
f673dfac9f2d0c48fa30af37b0a99df9dd6640ee
[ "Apache-2.0" ]
null
null
null
"""The test for the NuHeat thermostat module.""" from datetime import timedelta from unittest.mock import patch from openpeerpower.components.nuheat.const import DOMAIN from openpeerpower.const import ATTR_ENTITY_ID import openpeerpower.util.dt as dt_util from .mocks import ( MOCK_CONFIG_ENTRY, _get_mock_nuhe...
37.923529
88
0.696913
807
6,447
5.287485
0.164808
0.043825
0.02742
0.035154
0.787438
0.773377
0.720881
0.702133
0.702133
0.661589
0
0.01126
0.201024
6,447
169
89
38.147929
0.817123
0.07647
0
0.573643
0
0
0.210119
0.058855
0
0
0
0
0.124031
1
0
false
0
0.054264
0
0.054264
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
13645b37693f695bb9a6a7023a68992cdc511282
78
py
Python
insta.py
shubhamg0sai/Facebook_group_hack
b5efba4713d274adf94ca136062b85d297fdf2ed
[ "MIT" ]
3
2021-04-27T03:09:13.000Z
2021-11-30T13:41:10.000Z
insta.py
shubhamggosai/Facebook_group_hack
b5efba4713d274adf94ca136062b85d297fdf2ed
[ "MIT" ]
1
2021-09-02T22:45:41.000Z
2021-09-03T14:23:57.000Z
insta.py
shubhamggosai/Facebook_group_hack
b5efba4713d274adf94ca136062b85d297fdf2ed
[ "MIT" ]
1
2022-01-24T18:53:04.000Z
2022-01-24T18:53:04.000Z
import os os.system('xdg-open https://www.instagram.com/shubhamg0sai/?hl=en')
26
67
0.75641
13
78
4.538462
0.923077
0
0
0
0
0
0
0
0
0
0
0.013514
0.051282
78
2
68
39
0.783784
0
0
0
0
0
0.692308
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
1364d7a68a77e2d95eca9fb3e89524c8a095ab73
522
py
Python
python/masonite/config/providers.py
NikolasMelui/web-frameworks
2356efb3ff4047c99172cd8fccd210d390dc17c0
[ "MIT" ]
1
2021-12-28T11:38:21.000Z
2021-12-28T11:38:21.000Z
python/masonite/config/providers.py
NikolasMelui/web-frameworks
2356efb3ff4047c99172cd8fccd210d390dc17c0
[ "MIT" ]
null
null
null
python/masonite/config/providers.py
NikolasMelui/web-frameworks
2356efb3ff4047c99172cd8fccd210d390dc17c0
[ "MIT" ]
null
null
null
from masonite.providers import ( RouteProvider, FrameworkProvider, ViewProvider, ExceptionProvider, SessionProvider, QueueProvider, StorageProvider, AuthenticationProvider, AuthorizationProvider, ORMProvider, EventProvider ) PROVIDERS = [ FrameworkProvider, RoutePro...
18
32
0.716475
27
522
13.851852
0.555556
0.171123
0.240642
0.320856
0.609626
0.609626
0.609626
0
0
0
0
0
0.231801
522
28
33
18.642857
0.932668
0
0
0.769231
0
0
0
0
0
0
0
0
0
1
0
false
0
0.038462
0
0.038462
0
1
0
1
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
139150f9071e2dde1e44ef5e40819af7534a8dc6
97
py
Python
keras_efficient_attention/__init__.py
alex4321/keras-efficient-attention
73644a06d1004097c41195ffff2d239a6142b181
[ "MIT" ]
1
2020-03-28T01:03:33.000Z
2020-03-28T01:03:33.000Z
keras_efficient_attention/__init__.py
alex4321/keras-efficient-attention
73644a06d1004097c41195ffff2d239a6142b181
[ "MIT" ]
null
null
null
keras_efficient_attention/__init__.py
alex4321/keras-efficient-attention
73644a06d1004097c41195ffff2d239a6142b181
[ "MIT" ]
null
null
null
from .efficient_attention import EfficientAttention, SCALING_NORMALIZATION, SOFTMAX_NORMALIZATION
97
97
0.917526
9
97
9.555556
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.051546
97
1
97
97
0.934783
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
13d4c6d1bd2d91478b61f6070723838b7851d475
133
py
Python
AthleticTeam/AdministrationApp/admin.py
Temeteron/Athletic-Team
cd4407ac2a7dd543d1120f5a55908fbe2e49c263
[ "MIT" ]
1
2017-04-26T00:08:20.000Z
2017-04-26T00:08:20.000Z
AthleticTeam/AdministrationApp/admin.py
Temeteron/Athletic-Team
cd4407ac2a7dd543d1120f5a55908fbe2e49c263
[ "MIT" ]
null
null
null
AthleticTeam/AdministrationApp/admin.py
Temeteron/Athletic-Team
cd4407ac2a7dd543d1120f5a55908fbe2e49c263
[ "MIT" ]
2
2016-05-31T21:14:32.000Z
2021-09-14T18:59:15.000Z
from django.contrib import admin from .models import Administration # Register your models here. admin.site.register(Administration)
26.6
35
0.834586
17
133
6.529412
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.105263
133
5
35
26.6
0.932773
0.195489
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
13e0f650d0b09d19545c4590c86d7f2207ec65b7
100
py
Python
source/Flask-AWSCognito/flask_awscognito/exceptions.py
Frankovich73/tag-tamer-deployment-test
8267ff32bcae8de6b23d8566b719e00dc4879890
[ "Apache-2.0" ]
15
2021-06-27T23:42:37.000Z
2021-09-24T19:40:00.000Z
source/Flask-AWSCognito/flask_awscognito/exceptions.py
Frankovich73/tag-tamer-deployment-test
8267ff32bcae8de6b23d8566b719e00dc4879890
[ "Apache-2.0" ]
7
2021-07-05T06:56:46.000Z
2021-08-06T00:59:36.000Z
source/Flask-AWSCognito/flask_awscognito/exceptions.py
Frankovich73/tag-tamer-deployment-test
8267ff32bcae8de6b23d8566b719e00dc4879890
[ "Apache-2.0" ]
5
2021-06-23T17:59:01.000Z
2021-10-20T14:22:44.000Z
class FlaskAWSCognitoError(Exception): pass class TokenVerifyError(Exception): pass
14.285714
39
0.72
8
100
9
0.625
0.361111
0
0
0
0
0
0
0
0
0
0
0.22
100
6
40
16.666667
0.923077
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
13f92abcd6ca8adc5b7111e398afcbc0deb11d6e
111
py
Python
endpoints/history.py
ben-oxley/santa-shares-server
c6bb79c82f2988fd7041d1db63d89e6549c65a2a
[ "MIT" ]
null
null
null
endpoints/history.py
ben-oxley/santa-shares-server
c6bb79c82f2988fd7041d1db63d89e6549c65a2a
[ "MIT" ]
1
2019-12-13T23:06:50.000Z
2019-12-13T23:06:50.000Z
endpoints/history.py
ben-oxley/santa-shares-server
c6bb79c82f2988fd7041d1db63d89e6549c65a2a
[ "MIT" ]
3
2019-12-13T22:47:00.000Z
2019-12-22T11:42:29.000Z
from models import UserLog from flask_restful import Resource, fields, marshal_with from endpoints import api
22.2
56
0.846847
16
111
5.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.135135
111
4
57
27.75
0.958333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
b915d0a41df9de1220b1dfee888b6b54cd82bbde
136
py
Python
docs/examples/userguide/sharing_declarations/setup.py
smok-serwis/cython
e551a3a348888bd89d4aad809916709a634af1fb
[ "Apache-2.0" ]
2
2020-01-29T08:20:22.000Z
2020-01-29T08:20:25.000Z
docs/examples/userguide/sharing_declarations/setup.py
smok-serwis/cython
e551a3a348888bd89d4aad809916709a634af1fb
[ "Apache-2.0" ]
1
2019-09-21T19:58:10.000Z
2019-09-21T19:58:10.000Z
docs/examples/userguide/sharing_declarations/setup.py
smok-serwis/cython
e551a3a348888bd89d4aad809916709a634af1fb
[ "Apache-2.0" ]
1
2019-10-06T10:49:39.000Z
2019-10-06T10:49:39.000Z
from distutils.core import setup from Cython.Build import cythonize setup(ext_modules=cythonize(["landscaping.pyx", "shrubbing.pyx"]))
27.2
66
0.801471
18
136
6
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.080882
136
4
67
34
0.864
0
0
0
0
0
0.205882
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
b919fb94ae4cf47d67fb1a0ade12c1f4f68dfe44
301
py
Python
python/anyascii/_data/_300.py
casept/anyascii
d4f426b91751254b68eaa84c6cd23099edd668e6
[ "ISC" ]
null
null
null
python/anyascii/_data/_300.py
casept/anyascii
d4f426b91751254b68eaa84c6cd23099edd668e6
[ "ISC" ]
null
null
null
python/anyascii/_data/_300.py
casept/anyascii
d4f426b91751254b68eaa84c6cd23099edd668e6
[ "ISC" ]
null
null
null
b=' Song Dang Fu Xian Xian Yu Di Tui Lu Si Zan Chuang Bi Du'
301
301
0.142857
15
301
2.866667
0.933333
0
0
0
0
0
0
0
0
0
0
0
0.847176
301
1
301
301
0.934783
0
0
0
0
0
0.983444
0
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
1
0
1
0
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
b920c952208b1a52435bafb4ae345f9a7c0f9db0
67
py
Python
pet/__init__.py
Fikou/orangescogs
d230815760dfd40bafcbf9870606c9cb28c6fbb5
[ "MIT" ]
1
2021-08-24T21:37:27.000Z
2021-08-24T21:37:27.000Z
pet/__init__.py
Fikou/orangescogs
d230815760dfd40bafcbf9870606c9cb28c6fbb5
[ "MIT" ]
13
2020-08-06T10:14:42.000Z
2022-02-03T21:12:09.000Z
pet/__init__.py
Fikou/orangescogs
d230815760dfd40bafcbf9870606c9cb28c6fbb5
[ "MIT" ]
11
2020-08-10T01:19:21.000Z
2021-10-11T11:45:08.000Z
from .pets import Pets def setup(bot): bot.add_cog(Pets(bot))
13.4
26
0.686567
12
67
3.75
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.179104
67
4
27
16.75
0.818182
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
5
b9331ae08231e826b8f8f0c8f3141ea799d0f5ce
3,341
py
Python
LeafNATS/tools/newsroom_process/extract_spacy.py
haophancs/TREQS
49e354ce2a08cf963ec139d99936020e0f80ced8
[ "MIT" ]
149
2019-08-09T17:18:18.000Z
2022-03-28T01:18:56.000Z
LeafNATS/tools/newsroom_process/extract_spacy.py
haophancs/TREQS
49e354ce2a08cf963ec139d99936020e0f80ced8
[ "MIT" ]
5
2019-08-14T18:23:24.000Z
2021-10-03T20:17:28.000Z
LeafNATS/tools/newsroom_process/extract_spacy.py
haophancs/TREQS
49e354ce2a08cf963ec139d99936020e0f80ced8
[ "MIT" ]
32
2019-08-10T02:09:44.000Z
2022-03-09T07:59:46.000Z
import re import spacy import time nlp = spacy.load('en', disable=['tagger', 'ner']) from newsroom import jsonl from multiprocessing import Pool def process_data(input_): article = input_['text'] summary = input_['summary'] title = input_['title'] if article == None or summary == None or title == None:...
25.899225
59
0.551931
465
3,341
3.905376
0.148387
0.03304
0.023128
0.062775
0.773678
0.757159
0.744493
0.701542
0.67511
0.67511
0
0.013936
0.29123
3,341
129
60
25.899225
0.752956
0
0
0.752066
0
0
0.060742
0.019749
0
0
0
0
0
1
0.008264
false
0
0.041322
0
0.066116
0.024793
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
b967813f1c8c55e532c48b864ff55ca604119e5e
5,448
py
Python
authors/apps/comments/tests/test_comments.py
andela/Ah-backend-valkyrie
f0eb64c27e1fe37d5c81e4b9a8762dcf3c336a79
[ "BSD-3-Clause" ]
null
null
null
authors/apps/comments/tests/test_comments.py
andela/Ah-backend-valkyrie
f0eb64c27e1fe37d5c81e4b9a8762dcf3c336a79
[ "BSD-3-Clause" ]
46
2019-01-08T13:16:41.000Z
2021-04-30T20:47:08.000Z
authors/apps/comments/tests/test_comments.py
andela/Ah-backend-valkyrie
f0eb64c27e1fe37d5c81e4b9a8762dcf3c336a79
[ "BSD-3-Clause" ]
3
2019-01-07T08:21:59.000Z
2019-09-20T06:43:18.000Z
from authors.apps.authentication.tests.base import BaseTestMethods from rest_framework import status from django.urls import reverse class TestComments(BaseTestMethods): def post_article(self): post_article_url = reverse(self.get_post_article_url) self.client.credentials( HTTP_AUTHORI...
38.914286
99
0.587188
571
5,448
5.448336
0.155867
0.077146
0.058502
0.090003
0.780456
0.735776
0.735776
0.723562
0.723562
0.688846
0
0.015097
0.282673
5,448
139
100
39.194245
0.780962
0.03047
0
0.491803
0
0
0.144862
0
0
0
0
0
0.098361
1
0.065574
false
0
0.02459
0
0.106557
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
b98d3ec47ef92eba399ad80cdb2077615dcf7a1e
128
py
Python
ajunivel/admin.py
HumbertoDiego/django-ajustamento-redes-nivelamento
47912ccb4ba9fc29709add18bab688af50cfb582
[ "MIT" ]
1
2022-03-06T01:10:43.000Z
2022-03-06T01:10:43.000Z
ajunivel/admin.py
HumbertoDiego/django-ajustamento-redes-nivelamento
47912ccb4ba9fc29709add18bab688af50cfb582
[ "MIT" ]
null
null
null
ajunivel/admin.py
HumbertoDiego/django-ajustamento-redes-nivelamento
47912ccb4ba9fc29709add18bab688af50cfb582
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import dp, successcount admin.site.register(dp) admin.site.register(successcount)
25.6
36
0.828125
18
128
5.888889
0.555556
0.169811
0.320755
0
0
0
0
0
0
0
0
0
0.085938
128
5
37
25.6
0.905983
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
b9a0db91ba2a668efc6842c9be97b74572b47106
81
py
Python
crontabs/__init__.py
darianjug/crontabs
ebc8d46f7e09cec66cb13d9d785769b0849a3293
[ "MIT" ]
151
2018-01-01T16:03:15.000Z
2022-03-15T08:00:07.000Z
crontabs/__init__.py
darianjug/crontabs
ebc8d46f7e09cec66cb13d9d785769b0849a3293
[ "MIT" ]
12
2018-01-14T09:52:35.000Z
2021-07-02T11:54:34.000Z
crontabs/__init__.py
darianjug/crontabs
ebc8d46f7e09cec66cb13d9d785769b0849a3293
[ "MIT" ]
11
2018-01-05T18:04:59.000Z
2021-07-23T14:23:39.000Z
# flake8: noqa from .version import __version__ from .crontabs import Cron, Tab
16.2
32
0.777778
11
81
5.363636
0.727273
0
0
0
0
0
0
0
0
0
0
0.014706
0.160494
81
4
33
20.25
0.852941
0.148148
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
b9d2bc59900b3e31f5af15e73d6dcddaac2c51b7
4,672
py
Python
bin/api/__init__.py
koudjo-mvp/webapp
69d1bd7f9724fc1630fbfcbbc0ccf3e735e7a980
[ "MIT" ]
null
null
null
bin/api/__init__.py
koudjo-mvp/webapp
69d1bd7f9724fc1630fbfcbbc0ccf3e735e7a980
[ "MIT" ]
2
2019-02-24T23:11:18.000Z
2021-03-06T14:59:03.000Z
bin/api/__init__.py
koudjo-mvp/webapp
69d1bd7f9724fc1630fbfcbbc0ccf3e735e7a980
[ "MIT" ]
null
null
null
#!/usr/bin/env python __author__ = "P.K.V.M. @koudjo-mvp" # Build v${BUILD-VERSION} # # Standard Imports import os import sys import csv import traceback import pickle import pprint import tarfile,zipfile import ConfigParser from time import time, strftime, localtime from string import zfill, split, strip, Template i...
4,672
4,672
0.614298
581
4,672
4.893287
0.292599
0.008442
0.031657
0.04045
0.321491
0.287021
0.254661
0.234963
0.234963
0.161801
0
0.000893
0.28125
4,672
1
4,672
4,672
0.845742
0.99786
0
0.385417
0
0
0.040299
0
0
0
0
0
0
0
null
null
0
0.114583
null
null
0.010417
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
0
0
1
0
0
0
0
0
0
0
0
5
b9f53cdc68861ea30441a49aab7ebc5994bbda11
28
py
Python
Curso_Python_3_UDEMY/desafios/app/negocio/backend.py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
null
null
null
Curso_Python_3_UDEMY/desafios/app/negocio/backend.py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
4
2021-04-08T21:54:09.000Z
2022-02-10T14:35:13.000Z
Curso_Python_3_UDEMY/desafios/app/negocio/backend.py
DanilooSilva/Cursos_de_Python
8f167a4c6e16f01601e23b6f107578aa1454472d
[ "MIT" ]
null
null
null
def add_nome(nome): pass
14
19
0.678571
5
28
3.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.214286
28
2
20
14
0.818182
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
5
6a357080f82c5be6e508fdf2122229043098ad9c
10,538
py
Python
excavator/utils.py
wlonk/env-excavator
2bce66396f0c92fefa2b39ea458965174e478faf
[ "MIT" ]
4
2015-01-14T16:18:06.000Z
2016-01-18T15:48:22.000Z
excavator/utils.py
wlonk/env-excavator
2bce66396f0c92fefa2b39ea458965174e478faf
[ "MIT" ]
7
2015-02-23T18:40:35.000Z
2016-02-09T02:48:06.000Z
excavator/utils.py
wlonk/env-excavator
2bce66396f0c92fefa2b39ea458965174e478faf
[ "MIT" ]
4
2015-02-02T02:38:16.000Z
2018-01-12T07:39:24.000Z
import os import datetime # No set literals because we support Python 2.6. TRUE_VALUES = set(( True, 'True', 'true', )) class empty(object): """ We use this sentinel object, instead of None, as None is a plausible value for a default in real Python code. """ pass def get_env_value(...
35.481481
82
0.685614
1,445
10,538
4.96609
0.110035
0.089744
0.082776
0.060201
0.741918
0.723384
0.723384
0.723384
0.723384
0.723384
0
0.004989
0.239229
10,538
296
83
35.601351
0.890109
0.586259
0
0.33
0
0
0.192449
0
0
0
0
0
0
1
0.09
false
0.01
0.05
0
0.28
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
dbf1afa57990cf83dffaab773b1b2f3f4e697d64
86
py
Python
dir_to_include/SomeGreatClassToInclude.py
acwikla-novela/test_release_4
295367063d2bcf96ffc375b92a5fb8e55e568626
[ "Apache-2.0" ]
null
null
null
dir_to_include/SomeGreatClassToInclude.py
acwikla-novela/test_release_4
295367063d2bcf96ffc375b92a5fb8e55e568626
[ "Apache-2.0" ]
null
null
null
dir_to_include/SomeGreatClassToInclude.py
acwikla-novela/test_release_4
295367063d2bcf96ffc375b92a5fb8e55e568626
[ "Apache-2.0" ]
null
null
null
class SomeGreatClassWeWantInPackage: def some_excellent_method(self): pass
28.666667
36
0.767442
8
86
8
1
0
0
0
0
0
0
0
0
0
0
0
0.186047
86
3
37
28.666667
0.914286
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
5
e04a91888502b6ef0e21afceb8bd071a16e2605d
46
py
Python
dumbthingtester.py
jakehyvonen/PaintByMotors
6ec568633e0f8bbddeb5d1731d21144a2b6a5ced
[ "MIT" ]
null
null
null
dumbthingtester.py
jakehyvonen/PaintByMotors
6ec568633e0f8bbddeb5d1731d21144a2b6a5ced
[ "MIT" ]
null
null
null
dumbthingtester.py
jakehyvonen/PaintByMotors
6ec568633e0f8bbddeb5d1731d21144a2b6a5ced
[ "MIT" ]
null
null
null
thing = 1 print('thing[0]: ' + str(thing[0]))
15.333333
35
0.565217
8
46
3.25
0.625
0.461538
0
0
0
0
0
0
0
0
0
0.076923
0.152174
46
3
35
15.333333
0.589744
0
0
0
0
0
0.212766
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
5
e056640dd396d7a3640171cb355a6cfdb8c05bdf
188
py
Python
sdv/metrics/relational.py
bjg290/SDV
0a7c88b6743207bd3f193f7e60686fd5c03c1dfb
[ "MIT" ]
817
2020-01-20T13:18:59.000Z
2022-03-31T16:08:22.000Z
sdv/metrics/relational.py
ppeddada97/SDV
6fbddedcd1ed02adcd7a0ec3698f280a9a86e01c
[ "MIT" ]
484
2020-01-14T10:02:03.000Z
2022-03-31T22:22:12.000Z
sdv/metrics/relational.py
ppeddada97/SDV
6fbddedcd1ed02adcd7a0ec3698f280a9a86e01c
[ "MIT" ]
115
2020-01-08T00:43:54.000Z
2022-03-31T15:49:08.000Z
"""Metrics to evaluate the quality of Synthetic Relational Data. This subpackage exists only to enable importing sdmetrics as part of sdv. """ from sdmetrics.multi_table import * # noqa
31.333333
73
0.781915
27
188
5.407407
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.159574
188
5
74
37.6
0.924051
0.755319
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
e0783c0b387228a79df8212f5d40480c4b022a02
167
py
Python
tests/__init__.py
aaman123/faceswap
a5825c3457b062c1824ef3f8b02e4f3fa4c2217f
[ "MIT" ]
2
2021-11-11T08:29:01.000Z
2021-11-11T08:34:50.000Z
tests/__init__.py
aaman123/faceswap
a5825c3457b062c1824ef3f8b02e4f3fa4c2217f
[ "MIT" ]
null
null
null
tests/__init__.py
aaman123/faceswap
a5825c3457b062c1824ef3f8b02e4f3fa4c2217f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Use custom Importer for importing Keras for tests """ import sys from lib.utils import KerasFinder sys.meta_path.insert(0, KerasFinder())
20.875
57
0.754491
25
167
5
0.84
0
0
0
0
0
0
0
0
0
0
0.013793
0.131737
167
7
58
23.857143
0.848276
0.431138
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5