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
15f4d69db682093ca5736a39d9b778587d349ed4
75
py
Python
trello2toggl/__init__.py
dobarkod/trello2toggl
303c76db46932d7594f9ef19529c3992d641ec9f
[ "Unlicense" ]
1
2015-02-01T22:40:47.000Z
2015-02-01T22:40:47.000Z
trello2toggl/__init__.py
dobarkod/trello2toggl
303c76db46932d7594f9ef19529c3992d641ec9f
[ "Unlicense" ]
null
null
null
trello2toggl/__init__.py
dobarkod/trello2toggl
303c76db46932d7594f9ef19529c3992d641ec9f
[ "Unlicense" ]
1
2021-07-08T09:48:45.000Z
2021-07-08T09:48:45.000Z
from .toggl import Toggl from .trello import Trello from .sync import Sync
18.75
26
0.8
12
75
5
0.416667
0
0
0
0
0
0
0
0
0
0
0
0.16
75
3
27
25
0.952381
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
15f98b3fdf6e445a4ed4d8fc40bb23b2f95d1769
657
py
Python
Projects/project05/dequeue-shrink.py
tonysulfaro/CSE-331
b4f743b1127ebe531ba8417420d043e9c149135a
[ "MIT" ]
2
2019-02-13T17:49:18.000Z
2020-09-30T04:51:53.000Z
Projects/project05/dequeue-shrink.py
tonysulfaro/CSE-331
b4f743b1127ebe531ba8417420d043e9c149135a
[ "MIT" ]
null
null
null
Projects/project05/dequeue-shrink.py
tonysulfaro/CSE-331
b4f743b1127ebe531ba8417420d043e9c149135a
[ "MIT" ]
null
null
null
from CircularQueue import CircularQueue def main(): test = CircularQueue(15) test.enqueue(3) test.enqueue(3) test.enqueue(3) test.enqueue(3) test.enqueue(3) test.enqueue(3) test.enqueue(3) test.enqueue(3) print(test) print('REMOVE') test.dequeue() test.dequeue() ...
16.02439
39
0.592085
79
657
4.822785
0.189873
0.346457
0.433071
0.577428
0.724409
0.666667
0.666667
0.666667
0.666667
0.666667
0
0.028747
0.258752
657
40
40
16.425
0.753593
0.112633
0
0.777778
0
0
0.024263
0
0
0
0
0
0
1
0.037037
false
0
0.037037
0
0.074074
0.111111
0
0
0
null
1
1
1
0
0
0
0
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
c6211a0a6b5d830c804d3c7b5d6cf0a9360420f4
1,568
py
Python
test/test_v1alpha1_application_spec.py
RyanSiu1995/argocd-python-client
2e8f097fe09f247a46ac70692241a93d1acd076a
[ "MIT" ]
1
2021-11-20T13:37:43.000Z
2021-11-20T13:37:43.000Z
test/test_v1alpha1_application_spec.py
RyanSiu1995/argocd-python-client
2e8f097fe09f247a46ac70692241a93d1acd076a
[ "MIT" ]
null
null
null
test/test_v1alpha1_application_spec.py
RyanSiu1995/argocd-python-client
2e8f097fe09f247a46ac70692241a93d1acd076a
[ "MIT" ]
null
null
null
""" Consolidate Services Description of all APIs # noqa: E501 The version of the OpenAPI document: version not set Generated by: https://openapi-generator.tech """ import sys import unittest import argocd_python_client from argocd_python_client.model.v1alpha1_application_destination import V1alpha...
34.086957
109
0.803571
146
1,568
8.39726
0.458904
0.068516
0.102773
0.107667
0.198206
0.198206
0.112561
0
0
0
0
0.044021
0.13074
1,568
45
110
34.844444
0.855466
0.220026
0
0.130435
1
0
0.10615
0.074136
0
0
0
0.022222
0
1
0.130435
false
0.130435
0.391304
0
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
1
1
0
1
0
0
5
d6a73b4f51ee405dcff8b521c7e25aaace010e74
247
py
Python
batch/twitter_setting.py
happou31/dora-stat
1405fff5d77fc01c4af7811388bc1003a840545d
[ "MIT" ]
null
null
null
batch/twitter_setting.py
happou31/dora-stat
1405fff5d77fc01c4af7811388bc1003a840545d
[ "MIT" ]
null
null
null
batch/twitter_setting.py
happou31/dora-stat
1405fff5d77fc01c4af7811388bc1003a840545d
[ "MIT" ]
null
null
null
consumer_key = "TSKf1HtYKBsnYU9qfpvbRJkxo" consumer_secret = "Y5lH7u6MDu5DjV5hUxEkwUpPwugYvEuqfpqyvP7y5ulen9XUML" access_token = '115029611-4TampaXbxHmUHcpK5Cll8h7rioP80SJMNneZiYCN' access_secret = 'wx4iaVvgvY5ZknCn6bOiKFiTzAU62R5PXC8b29RC6alwU'
41.166667
70
0.894737
13
247
16.692308
0.769231
0
0
0
0
0
0
0
0
0
0
0.149573
0.052632
247
5
71
49.4
0.777778
0
0
0
0
0
0.691057
0.691057
0
0
0
0
0
1
0
false
0
0
0
0
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
d6b55b5caf47a3dab29dc3b05fc2f754488f7b0e
37,057
py
Python
ros/genpy/src/genpy/msg/_TestManyFields.py
numberen/apollo-platform
8f359c8d00dd4a98f56ec2276c5663cb6c100e47
[ "Apache-2.0" ]
742
2017-07-05T02:49:36.000Z
2022-03-30T12:55:43.000Z
ros/genpy/src/genpy/msg/_TestManyFields.py
numberen/apollo-platform
8f359c8d00dd4a98f56ec2276c5663cb6c100e47
[ "Apache-2.0" ]
73
2017-07-06T12:50:51.000Z
2022-03-07T08:07:07.000Z
ros/genpy/src/genpy/msg/_TestManyFields.py
numberen/apollo-platform
8f359c8d00dd4a98f56ec2276c5663cb6c100e47
[ "Apache-2.0" ]
425
2017-07-04T22:03:29.000Z
2022-03-29T06:59:06.000Z
"""autogenerated by genpy from genpy/TestManyFields.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class TestManyFields(genpy.Message): _md5sum = "e95ce9e480ec14cc0488f63b5e806d93" _type = "genpy/TestManyFields" _has_header = False #flag to ma...
32.735866
2,232
0.578487
6,546
37,057
3.109685
0.059578
0.075457
0.125761
0.248575
0.429259
0.429259
0.423364
0.423364
0.419532
0.414522
0
0.302483
0.268721
37,057
1,131
2,233
32.76481
0.448688
0.063281
0
0.505535
1
0
0.143647
0.000926
0
0
0.000289
0
0
1
0.005535
false
0
0.002768
0
0.017528
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
d6bd7accf3d4f7cc0e1580ef5dc4d91664e5c335
122
py
Python
model/networkmodel.py
boti996/szdoga
a15827e78e4f6a7acbbf4469baecbfb7499b38ed
[ "MIT" ]
null
null
null
model/networkmodel.py
boti996/szdoga
a15827e78e4f6a7acbbf4469baecbfb7499b38ed
[ "MIT" ]
null
null
null
model/networkmodel.py
boti996/szdoga
a15827e78e4f6a7acbbf4469baecbfb7499b38ed
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class NetworkModel(ABC): @abstractmethod def get_model(self): pass
13.555556
35
0.688525
14
122
5.928571
0.785714
0.409639
0
0
0
0
0
0
0
0
0
0
0.245902
122
8
36
15.25
0.902174
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
5
d6ca17204714f31ac1d287dd6337d8580ded9dc1
5,195
py
Python
nats_messenger/tests/test_durable_messenger.py
tombenke/py-msgp
3f8e6bfa687424e33390d45032ff19a7142635ef
[ "MIT" ]
1
2022-01-20T11:19:09.000Z
2022-01-20T11:19:09.000Z
nats_messenger/tests/test_durable_messenger.py
tombenke/py-msgp
3f8e6bfa687424e33390d45032ff19a7142635ef
[ "MIT" ]
null
null
null
nats_messenger/tests/test_durable_messenger.py
tombenke/py-msgp
3f8e6bfa687424e33390d45032ff19a7142635ef
[ "MIT" ]
null
null
null
"""Test the messenger module""" import unittest import asyncio from loguru import logger from nats_messenger.messenger import Messenger from nats_messenger.tests.config_test import ( URL, CREDENTIALS, CLUSTER_ID, CLIENT_ID, TEST_PAYLOAD, TEST_TOPIC, ) class MessengerDurableTestCase(unittest.T...
35.101351
122
0.597498
527
5,195
5.683112
0.149905
0.058765
0.042738
0.040067
0.802003
0.768948
0.737896
0.718865
0.699833
0.699833
0
0.004592
0.329355
5,195
147
123
35.340136
0.855052
0.067372
0
0.657658
0
0
0.076987
0
0
0
0
0
0.027027
1
0.027027
false
0
0.045045
0
0.09009
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
ba3caacd98b30eba31b58caebcf17246a14551c8
128
py
Python
ex1.py
keerthana1502/python_practice
8c0499e014826af78f9a88730551ace3fa79686d
[ "bzip2-1.0.6" ]
null
null
null
ex1.py
keerthana1502/python_practice
8c0499e014826af78f9a88730551ace3fa79686d
[ "bzip2-1.0.6" ]
null
null
null
ex1.py
keerthana1502/python_practice
8c0499e014826af78f9a88730551ace3fa79686d
[ "bzip2-1.0.6" ]
null
null
null
for i in range(5): for j in range (5): if(i==j): print("1",end=" ") elif(i=-j): print()
18.285714
30
0.375
20
128
2.4
0.55
0.291667
0.333333
0
0
0
0
0
0
0
0
0.040541
0.421875
128
6
31
21.333333
0.608108
0
0
0
0
0
0.015625
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
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
1
0
0
0
0
0
0
0
0
5
ba64836a8d42f8c4e9f67ebcfdd272084c5ab82e
111
py
Python
cttools/__init__.py
nik849/ct-tools
1218f62de1b8974651506ebf8fd9197c1b038a0a
[ "MIT" ]
null
null
null
cttools/__init__.py
nik849/ct-tools
1218f62de1b8974651506ebf8fd9197c1b038a0a
[ "MIT" ]
4
2021-06-08T20:42:17.000Z
2022-03-12T00:07:59.000Z
cttools/__init__.py
nik849/ct-tools
1218f62de1b8974651506ebf8fd9197c1b038a0a
[ "MIT" ]
null
null
null
__version__ = '0.0.1' from .recon import * from .config import * from .parse import * from .utilities import *
18.5
24
0.711712
16
111
4.6875
0.5625
0.4
0
0
0
0
0
0
0
0
0
0.032609
0.171171
111
5
25
22.2
0.782609
0
0
0
0
0
0.045045
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
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
babe8b95850690a2a05a8ea7152e079552a4a989
218
py
Python
boaapi/status.py
boalang/api-python
f68ba63bbec5c8c5ed769eb1d0788561fc358a3b
[ "Apache-2.0" ]
3
2020-08-19T09:55:00.000Z
2021-12-29T16:30:11.000Z
boaapi/status.py
boalang/api-python
f68ba63bbec5c8c5ed769eb1d0788561fc358a3b
[ "Apache-2.0" ]
1
2022-02-06T19:11:49.000Z
2022-02-07T01:28:45.000Z
boaapi/status.py
boalang/api-python
f68ba63bbec5c8c5ed769eb1d0788561fc358a3b
[ "Apache-2.0" ]
1
2019-09-02T17:53:21.000Z
2019-09-02T17:53:21.000Z
from enum import Enum class CompilerStatus(Enum): WAITING = 1 RUNNING = 2 FINISHED = 3 ERROR = 4 class ExecutionStatus(Enum): WAITING = 1 RUNNING = 2 FINISHED = 3 ERROR = 4
14.533333
28
0.582569
26
218
4.884615
0.538462
0.173228
0.188976
0.299213
0.551181
0.551181
0.551181
0.551181
0.551181
0
0
0.056738
0.353211
218
14
29
15.571429
0.843972
0
0
0.727273
0
0
0
0
0
0
0
0
0
1
0
false
0
0.090909
0
1
0
1
0
0
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
1
0
0
5
2458cea0079732ecbd9cb5ab67b6c195d92758a3
109
py
Python
src/news/models/__init__.py
thimmy687/tunews
422a9b14cc0be28139e29a2bdda56840a1c8e1e7
[ "MIT" ]
3
2021-05-12T21:47:09.000Z
2021-10-30T12:58:58.000Z
src/news/models/__init__.py
thimmy687/tunews
422a9b14cc0be28139e29a2bdda56840a1c8e1e7
[ "MIT" ]
8
2020-04-06T11:57:24.000Z
2020-06-04T08:44:23.000Z
src/news/models/__init__.py
thimmy687/tunews
422a9b14cc0be28139e29a2bdda56840a1c8e1e7
[ "MIT" ]
1
2020-04-15T17:56:35.000Z
2020-04-15T17:56:35.000Z
from .newslanguage import NewsLanguage from .newscategory import NewsCategory from .newsitem import NewsItem
27.25
38
0.862385
12
109
7.833333
0.416667
0
0
0
0
0
0
0
0
0
0
0
0.110092
109
3
39
36.333333
0.969072
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
0324d9ece5af63a368124e9fa17ba3a69c38e54b
167
py
Python
frites/dataset/ds_fmri.py
StanSStanman/frites
53f4745979dc2e7b27145cd63eab6a82fe893ec7
[ "BSD-3-Clause" ]
null
null
null
frites/dataset/ds_fmri.py
StanSStanman/frites
53f4745979dc2e7b27145cd63eab6a82fe893ec7
[ "BSD-3-Clause" ]
null
null
null
frites/dataset/ds_fmri.py
StanSStanman/frites
53f4745979dc2e7b27145cd63eab6a82fe893ec7
[ "BSD-3-Clause" ]
null
null
null
"""Dataset representation of fMRI data.""" class DatasetFMRI(object): """docstring for DatasetFMRI.""" def __init__(self): """Init.""" pass
16.7
42
0.592814
16
167
5.9375
0.875
0
0
0
0
0
0
0
0
0
0
0
0.245509
167
9
43
18.555556
0.753968
0.413174
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
034d20fd175ab2693519395e5e5f96e1611dc15d
100
py
Python
chain/p2p/start.py
tsifrer/ark
c678091e226d79fabe4a2c554e1d8e704a5b5cec
[ "MIT" ]
5
2019-02-01T01:22:27.000Z
2019-05-24T12:20:38.000Z
chain/p2p/start.py
tsifrer/ark
c678091e226d79fabe4a2c554e1d8e704a5b5cec
[ "MIT" ]
15
2019-03-29T13:12:10.000Z
2019-08-25T19:19:35.000Z
chain/p2p/start.py
tsifrer/ark
c678091e226d79fabe4a2c554e1d8e704a5b5cec
[ "MIT" ]
4
2019-01-31T13:52:03.000Z
2020-08-12T02:12:03.000Z
from chain.p2p.websocket_server import start_server if __name__ == "__main__": start_server()
16.666667
51
0.76
13
100
5
0.769231
0.338462
0
0
0
0
0
0
0
0
0
0.011765
0.15
100
5
52
20
0.752941
0
0
0
0
0
0.08
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
30382846d676ea90b88e0072451aedfdb11e25dd
125
py
Python
python/dc/roms_pv.py
subond/tools
05b93e6c78eab65ef6587e684303b12c686a3480
[ "MIT" ]
null
null
null
python/dc/roms_pv.py
subond/tools
05b93e6c78eab65ef6587e684303b12c686a3480
[ "MIT" ]
null
null
null
python/dc/roms_pv.py
subond/tools
05b93e6c78eab65ef6587e684303b12c686a3480
[ "MIT" ]
1
2021-12-04T15:41:53.000Z
2021-12-04T15:41:53.000Z
def roms_pv(fname,tindices): import h5py u = dc_roms_read_data(fname,'u') v = dc_roms_read_data(fname,'v')
17.857143
36
0.648
21
125
3.52381
0.571429
0.162162
0.27027
0.378378
0.513514
0
0
0
0
0
0
0.010309
0.224
125
6
37
20.833333
0.752577
0
0
0
0
0
0.016
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
5
3058406d71c3bd564d8b8aecb2fd9d384c4a2543
305
py
Python
uontypes/units/mass.py
uon-language/uon-parser
666894cf4917d8da01512918a147882550382269
[ "MIT" ]
1
2020-05-29T06:47:16.000Z
2020-05-29T06:47:16.000Z
uontypes/units/mass.py
Cell00phane/uon-parser
666894cf4917d8da01512918a147882550382269
[ "MIT" ]
1
2020-07-16T08:19:08.000Z
2020-07-16T08:19:08.000Z
uontypes/units/mass.py
uon-language/uon-parser
666894cf4917d8da01512918a147882550382269
[ "MIT" ]
null
null
null
from uontypes.units.quantity import Quantity class Mass(Quantity): pass class Kilogram(Mass): def __str__(self): return "kg" def to_binary(self): return b"\x21" class Gram(Mass): def __str__(self): return "g" def to_binary(self): return b"\x69"
13.863636
44
0.606557
40
305
4.375
0.525
0.228571
0.114286
0.16
0.48
0.251429
0
0
0
0
0
0.018349
0.285246
305
21
45
14.52381
0.784404
0
0
0.307692
0
0
0.036066
0
0
0
0
0
0
1
0.307692
false
0.076923
0.076923
0.307692
0.923077
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
5
3079c0ec4f06a3b22ee375fd5b4cd5a9fabbb751
21
py
Python
__init__.py
AnthonyJFeola/DS-Unit-3-Sprint-Challenge-1-Software-Engineering
5a956e01828acc12b4f0580a3715974b5403a6c4
[ "MIT" ]
17
2015-06-11T21:05:11.000Z
2021-04-23T17:54:09.000Z
__init__.py
AnthonyJFeola/DS-Unit-3-Sprint-Challenge-1-Software-Engineering
5a956e01828acc12b4f0580a3715974b5403a6c4
[ "MIT" ]
134
2015-01-07T14:29:54.000Z
2022-01-10T15:56:24.000Z
__init__.py
AnthonyJFeola/DS-Unit-3-Sprint-Challenge-1-Software-Engineering
5a956e01828acc12b4f0580a3715974b5403a6c4
[ "MIT" ]
22
2015-01-30T18:30:32.000Z
2022-01-20T20:04:10.000Z
# Nothing to see here
21
21
0.761905
4
21
4
1
0
0
0
0
0
0
0
0
0
0
0
0.190476
21
1
21
21
0.941176
0.904762
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
0672acf71c0ab31701749cd2541d300d25d0a5bb
23,657
py
Python
optimization/first_sdEta_mjj_optimization/sdEta_mistake_analyses/sdEta_mmjj_gridsearch/analysis_deltaeta6.1_mmjj_750/Output/Histos/MadAnalysis5job_0/selection_6.py
sheride/axion_pheno
7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5
[ "MIT" ]
null
null
null
optimization/first_sdEta_mjj_optimization/sdEta_mistake_analyses/sdEta_mmjj_gridsearch/analysis_deltaeta6.1_mmjj_750/Output/Histos/MadAnalysis5job_0/selection_6.py
sheride/axion_pheno
7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5
[ "MIT" ]
null
null
null
optimization/first_sdEta_mjj_optimization/sdEta_mistake_analyses/sdEta_mmjj_gridsearch/analysis_deltaeta6.1_mmjj_750/Output/Histos/MadAnalysis5job_0/selection_6.py
sheride/axion_pheno
7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5
[ "MIT" ]
null
null
null
def selection_6(): # Library import import numpy import matplotlib import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec # Library version matplotlib_version = matplotlib.__version__ numpy_version = numpy.__version__ # Histo binning xBinning = numpy.lin...
121.943299
779
0.753815
4,493
23,657
3.806365
0.221456
0.154836
0.225412
0.291896
0.472401
0.472401
0.470588
0.462344
0.451117
0.449772
0
0.442919
0.069874
23,657
193
780
122.57513
0.334303
0.059982
0
0.185841
0
0.00885
0.048329
0.009008
0
0
0
0
0
1
0.00885
false
0
0.035398
0
0.044248
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
068ceaf5678325d3d7a2846702865a013eb065db
293
py
Python
authentication/admin.py
nicbou/markdown-notes
a5d398b032b7a837909b684bb3121c7b68f49e7b
[ "CC0-1.0" ]
121
2015-04-11T20:59:48.000Z
2021-05-12T02:15:36.000Z
authentication/admin.py
nicbou/markdown-notes
a5d398b032b7a837909b684bb3121c7b68f49e7b
[ "CC0-1.0" ]
56
2015-08-10T08:16:35.000Z
2022-03-11T23:12:33.000Z
authentication/admin.py
nicbou/markdown-notes
a5d398b032b7a837909b684bb3121c7b68f49e7b
[ "CC0-1.0" ]
32
2015-08-11T02:50:44.000Z
2021-09-02T10:15:00.000Z
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from django.contrib.auth.models import User UserAdmin.list_display = ('username', 'email', 'first_name', 'last_name', 'is_active', 'date_joined') admin.site.unregister(User) admin.site.register(User, UserAdmin)
36.625
101
0.791809
41
293
5.536585
0.560976
0.132159
0.22467
0.185022
0
0
0
0
0
0
0
0
0.081911
293
8
102
36.625
0.843866
0
0
0
0
0
0.176871
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
ebf9d76d9cd99647188017512ee26862092ecf9b
430
py
Python
lightly/active_learning/scorers/__init__.py
CodeGuy-007/lightly
64143fe8a477c04288009c65fa1265cef8aa48f8
[ "MIT" ]
1,515
2020-10-05T13:04:17.000Z
2022-03-31T16:14:55.000Z
lightly/active_learning/scorers/__init__.py
CodeGuy-007/lightly
64143fe8a477c04288009c65fa1265cef8aa48f8
[ "MIT" ]
628
2020-10-14T11:38:51.000Z
2022-03-31T14:40:54.000Z
lightly/active_learning/scorers/__init__.py
CodeGuy-007/lightly
64143fe8a477c04288009c65fa1265cef8aa48f8
[ "MIT" ]
108
2020-10-17T08:31:06.000Z
2022-03-20T16:44:22.000Z
""" Collection of Active Learning Scorers """ # Copyright (c) 2020. Lightly AG and its affiliates. # All Rights Reserved from lightly.active_learning.scorers.scorer import Scorer from lightly.active_learning.scorers.classification import ScorerClassification from lightly.active_learning.scorers.detection import Score...
43
92
0.855814
49
430
7.408163
0.530612
0.192837
0.289256
0.275482
0.352617
0
0
0
0
0
0
0.010204
0.088372
430
9
93
47.777778
0.915816
0.255814
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
2324866ef10c5dc7bc1e2347c344724b740507c1
54
py
Python
nocd/metrics/__init__.py
sckangz/overlapping-community-detection
414856fd0d8f61d5bbeec06deb60c3e7b477a342
[ "MIT" ]
91
2019-09-27T04:46:09.000Z
2022-03-31T11:57:20.000Z
nocd/metrics/__init__.py
wrnge/overlapping-community-detection
414856fd0d8f61d5bbeec06deb60c3e7b477a342
[ "MIT" ]
9
2019-12-03T07:28:10.000Z
2022-01-07T14:08:24.000Z
nocd/metrics/__init__.py
wrnge/overlapping-community-detection
414856fd0d8f61d5bbeec06deb60c3e7b477a342
[ "MIT" ]
31
2019-10-06T03:13:11.000Z
2022-03-22T05:41:02.000Z
from .supervised import * from .unsupervised import *
18
27
0.777778
6
54
7
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.148148
54
2
28
27
0.913043
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
233d7daa47f73f704d7d73258f9969b6032b47d2
16,268
py
Python
lib/models/external/modules/dcn_deform_conv.py
Zhen-Dong/CoDeNet
5f5cb78859a691db532c8318a38c1b124adfb104
[ "MIT" ]
15
2021-03-03T03:16:32.000Z
2022-03-25T04:14:57.000Z
lib/models/external/modules/dcn_deform_conv.py
Zhen-Dong/CoDeNet
5f5cb78859a691db532c8318a38c1b124adfb104
[ "MIT" ]
3
2021-07-12T07:04:12.000Z
2022-03-30T12:20:47.000Z
lib/models/external/modules/dcn_deform_conv.py
Zhen-Dong/CoDeNet
5f5cb78859a691db532c8318a38c1b124adfb104
[ "MIT" ]
3
2021-03-04T14:50:49.000Z
2021-12-16T08:38:56.000Z
import math import torch import torch.nn as nn from torch.nn.modules.utils import _pair import sys import os dirname = os.path.dirname(__file__) sys.path.insert(0, os.path.join(dirname,"../")) from functions.dcn_deform_conv import deform_conv, modulated_deform_conv class DeformConv(nn.Module): def __init__(self,...
42.254545
157
0.603455
1,987
16,268
4.708103
0.071968
0.071833
0.031962
0.038161
0.791021
0.769107
0.753073
0.723998
0.713202
0.713202
0
0.023338
0.286206
16,268
384
158
42.364583
0.782294
0.012724
0
0.646667
0
0
0.00798
0
0
0
0
0
0.01
1
0.103333
false
0
0.023333
0.013333
0.216667
0.003333
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
0000d30a718318da726920f84eb7f02264e21495
188
py
Python
tests/test_lesson4_frog_river_one.py
ardenn/codility
45f8d5ae7de92cfde60a3f3f5ebee2a233273bd4
[ "MIT" ]
null
null
null
tests/test_lesson4_frog_river_one.py
ardenn/codility
45f8d5ae7de92cfde60a3f3f5ebee2a233273bd4
[ "MIT" ]
null
null
null
tests/test_lesson4_frog_river_one.py
ardenn/codility
45f8d5ae7de92cfde60a3f3f5ebee2a233273bd4
[ "MIT" ]
null
null
null
from solutions.lesson4_frog_river_one import solution def test_for_x_5_time_found(): solution([1,3,1,4,2,3,5,4],5) def test_for_x_5_time_not_found(): solution([1,3,1,4,2,3,6,4],5)
31.333333
53
0.739362
43
188
2.906977
0.488372
0.112
0.16
0.176
0.56
0.56
0.304
0.304
0
0
0
0.123529
0.095745
188
6
54
31.333333
0.611765
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
true
0
0.2
0
0.6
0
0
0
0
null
0
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
1
1
0
0
0
1
0
0
5
0019a677f2c6e27a8a2b78df5f91152c8e307d1f
13,471
py
Python
lib/test/lib/classifiers/hmm/test_topologies.py
eonu/tempora
b857c72737532983ebe7403d627fc632cbc06dde
[ "MIT" ]
32
2019-12-31T15:53:47.000Z
2022-03-31T12:40:40.000Z
lib/test/lib/classifiers/hmm/test_topologies.py
eonu/tempora
b857c72737532983ebe7403d627fc632cbc06dde
[ "MIT" ]
25
2020-06-01T18:32:47.000Z
2022-01-22T13:15:36.000Z
lib/test/lib/classifiers/hmm/test_topologies.py
eonu/tempora
b857c72737532983ebe7403d627fc632cbc06dde
[ "MIT" ]
6
2019-12-31T15:54:26.000Z
2022-01-23T07:09:28.000Z
import pytest, warnings, numpy as np from sequentia.classifiers import _Topology, _LeftRightTopology, _ErgodicTopology, _LinearTopology from ....support import assert_equal, assert_all_equal, assert_distribution # Set seed for reproducible randomness seed = 0 np.random.seed(seed) rng = np.random.RandomState(seed) # =...
38.378917
98
0.633361
1,476
13,471
5.551491
0.092141
0.011716
0.056383
0.015621
0.845009
0.824262
0.72907
0.665975
0.654625
0.654625
0
0.073965
0.191077
13,471
351
99
38.378917
0.677985
0.240294
0
0.716738
0
0
0.010601
0
0
0
0
0
0.218884
1
0.128755
false
0
0.012876
0
0.141631
0
0
0
0
null
0
0
0
1
1
1
0
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
002bac4eea10efd744be40dd55bdc6061bff3121
258
py
Python
TwitterStatsLib/test/__init__.py
pecet/pytosg
3e3ba1a3bbc5435deab382e2b4d9ad80f80d7b36
[ "MIT" ]
null
null
null
TwitterStatsLib/test/__init__.py
pecet/pytosg
3e3ba1a3bbc5435deab382e2b4d9ad80f80d7b36
[ "MIT" ]
null
null
null
TwitterStatsLib/test/__init__.py
pecet/pytosg
3e3ba1a3bbc5435deab382e2b4d9ad80f80d7b36
[ "MIT" ]
null
null
null
""" Main unit test module """ import unittest from .test_LazyDict import TestLazyDict from .test_TwitterStatsGenerator import TestMap from .test_InsertableOrderedDict import TestInsertableOrderedDict if __name__ == '__main__': unittest.main()
25.8
66
0.77907
26
258
7.307692
0.576923
0.126316
0
0
0
0
0
0
0
0
0
0
0.155039
258
9
67
28.666667
0.87156
0.081395
0
0
0
0
0.036364
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
0050d64ba9fb0f6c667a6583995c1b0ec04f5745
51
py
Python
debug.py
danieltodor/rpi-gpio-devices
6a9d9981d2b58d1ba3b2419bf89bdaa03bad6577
[ "MIT" ]
null
null
null
debug.py
danieltodor/rpi-gpio-devices
6a9d9981d2b58d1ba3b2419bf89bdaa03bad6577
[ "MIT" ]
null
null
null
debug.py
danieltodor/rpi-gpio-devices
6a9d9981d2b58d1ba3b2419bf89bdaa03bad6577
[ "MIT" ]
null
null
null
""" Write debug scripts here """ from src import *
17
32
0.666667
7
51
4.857143
1
0
0
0
0
0
0
0
0
0
0
0
0.196078
51
2
33
25.5
0.829268
0.470588
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
cc73c8137c5d039612655e690ae8e609203601d1
31
py
Python
pf_py_common/py_object_copier.py
problemfighter/pf-py-common
3c70f8da7d61daf5de217aa5d82d6a9e5b1b02f4
[ "Apache-2.0" ]
3
2022-01-06T14:14:56.000Z
2022-01-15T09:08:35.000Z
pf_py_common/py_object_copier.py
problemfighter/pf-py-common
3c70f8da7d61daf5de217aa5d82d6a9e5b1b02f4
[ "Apache-2.0" ]
null
null
null
pf_py_common/py_object_copier.py
problemfighter/pf-py-common
3c70f8da7d61daf5de217aa5d82d6a9e5b1b02f4
[ "Apache-2.0" ]
null
null
null
class PyObjectCopier: pass
10.333333
21
0.741935
3
31
7.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.225806
31
2
22
15.5
0.958333
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
aeb124393b8f8e3c0b88de2b28b1611261ee8b56
141
py
Python
auth_api/custom_auth.py
ripoul/gpx-storage
8663cca4a443fcd59c19eb197b890fc924f68b51
[ "Apache-2.0" ]
null
null
null
auth_api/custom_auth.py
ripoul/gpx-storage
8663cca4a443fcd59c19eb197b890fc924f68b51
[ "Apache-2.0" ]
null
null
null
auth_api/custom_auth.py
ripoul/gpx-storage
8663cca4a443fcd59c19eb197b890fc924f68b51
[ "Apache-2.0" ]
null
null
null
from rest_framework.authentication import TokenAuthentication class CustomTokenAuthentication(TokenAuthentication): keyword = "Bearer"
23.5
61
0.843972
11
141
10.727273
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.106383
141
5
62
28.2
0.936508
0
0
0
0
0
0.042553
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
aecf640914bf461b95f443461ad0c8df1183b354
144
py
Python
microservices/svc/echo/run.py
Syu-syusan/internship
f4a486bec374e0b40f865956928cd39d1ce62c37
[ "MIT" ]
null
null
null
microservices/svc/echo/run.py
Syu-syusan/internship
f4a486bec374e0b40f865956928cd39d1ce62c37
[ "MIT" ]
null
null
null
microservices/svc/echo/run.py
Syu-syusan/internship
f4a486bec374e0b40f865956928cd39d1ce62c37
[ "MIT" ]
null
null
null
import asyncio import conf import server if __name__ == "__main__": asyncio.run(server.run(host=conf.APP_IP_ADDRESS, port=conf.APP_PORT))
18
73
0.763889
22
144
4.5
0.590909
0.141414
0
0
0
0
0
0
0
0
0
0
0.125
144
7
74
20.571429
0.785714
0
0
0
0
0
0.055556
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
aed4f1ee109c22297a0d52a0d952b30541dae915
157
py
Python
beekeeper/admin.py
evan10s/beekeeper
13fd3bf812e3c78988429a165e149bfbaffb5b17
[ "MIT" ]
null
null
null
beekeeper/admin.py
evan10s/beekeeper
13fd3bf812e3c78988429a165e149bfbaffb5b17
[ "MIT" ]
null
null
null
beekeeper/admin.py
evan10s/beekeeper
13fd3bf812e3c78988429a165e149bfbaffb5b17
[ "MIT" ]
null
null
null
from django.contrib import admin from django.conf import settings # Register your models here. from .models import Treatment admin.site.register(Treatment)
22.428571
32
0.821656
22
157
5.863636
0.590909
0.155039
0
0
0
0
0
0
0
0
0
0
0.121019
157
6
33
26.166667
0.934783
0.165605
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
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
aed6a9a9793d4d307257b84480bb52bd263ec688
104
py
Python
enthought/help/help_plugin/help_code.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
3
2016-12-09T06:05:18.000Z
2018-03-01T13:00:29.000Z
enthought/help/help_plugin/help_code.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
1
2020-12-02T00:51:32.000Z
2020-12-02T08:48:55.000Z
enthought/help/help_plugin/help_code.py
enthought/etsproxy
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
[ "BSD-3-Clause" ]
null
null
null
# proxy module from __future__ import absolute_import from apptools.help.help_plugin.help_code import *
26
49
0.846154
15
104
5.4
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.105769
104
3
50
34.666667
0.870968
0.115385
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
d1ab5807d8b99408dab65d93a14014b6b8af5dae
90
py
Python
cblib/scripts/dist/INTEGER.py
HFriberg/cblib-base
164a00eb73ef3ac61f5b54f30492209cc69b854b
[ "Zlib" ]
3
2019-06-13T06:57:31.000Z
2020-06-18T09:58:11.000Z
cblib/scripts/dist/INTEGER.py
HFriberg/cblib-base
164a00eb73ef3ac61f5b54f30492209cc69b854b
[ "Zlib" ]
1
2019-04-27T18:28:57.000Z
2019-04-30T17:16:53.000Z
cblib/scripts/dist/INTEGER.py
HFriberg/cblib-base
164a00eb73ef3ac61f5b54f30492209cc69b854b
[ "Zlib" ]
3
2019-04-30T11:19:34.000Z
2019-05-31T13:12:17.000Z
import math def primdist(x): return max([abs(xj - math.floor(xj + 0.5)) for xj in x])
15
58
0.633333
18
90
3.166667
0.777778
0
0
0
0
0
0
0
0
0
0
0.027778
0.2
90
5
59
18
0.763889
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
5
d1ccb7f1318fff6a3fed0dd50c7ef077fedf09e6
242
py
Python
tests/test_main.py
Ronald-TR/nina
38d780c1c1dabcc7ee660ccc13f8c8db63064da9
[ "MIT" ]
9
2019-07-11T20:35:06.000Z
2020-05-08T07:59:11.000Z
tests/test_main.py
Ronald-TR/nina
38d780c1c1dabcc7ee660ccc13f8c8db63064da9
[ "MIT" ]
3
2019-07-18T19:13:11.000Z
2019-07-24T01:31:13.000Z
tests/test_main.py
Ronald-TR/nina
38d780c1c1dabcc7ee660ccc13f8c8db63064da9
[ "MIT" ]
2
2019-07-12T12:57:50.000Z
2019-07-23T03:21:19.000Z
def test_questions(): # assert 'Project name' in main.q() assert True def test_import(): try: from automail.cli import main assert True except (ImportError, ModuleNotFoundError): raise AssertionError
20.166667
46
0.652893
27
242
5.777778
0.740741
0.089744
0
0
0
0
0
0
0
0
0
0
0.272727
242
11
47
22
0.886364
0.136364
0
0.25
0
0
0
0
0
0
0
0
0.375
1
0.25
true
0
0.375
0
0.625
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
5
d1d5beb5b643bfeaf72b7734cbc319933193809c
14,911
py
Python
Scripts/PerceptronFive.py
targamadze28/Analysis-of-the-latent-space-of-pretrained-deep-convolutional-neural-networks
8147e875590a8067432b26e158937d5a00afba61
[ "MIT" ]
null
null
null
Scripts/PerceptronFive.py
targamadze28/Analysis-of-the-latent-space-of-pretrained-deep-convolutional-neural-networks
8147e875590a8067432b26e158937d5a00afba61
[ "MIT" ]
null
null
null
Scripts/PerceptronFive.py
targamadze28/Analysis-of-the-latent-space-of-pretrained-deep-convolutional-neural-networks
8147e875590a8067432b26e158937d5a00afba61
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import numpy as np import matplotlib.pyplot as plt import h5py as h5 import os.path as fs import keras from keras.models import Sequential from keras.utils import np_utils from keras.layers.core import Dense, Activation, Dropout from sklearn.model_selection import trai...
43.34593
129
0.504527
1,665
14,911
4.264865
0.121922
0.027883
0.038023
0.045627
0.777778
0.769047
0.744261
0.73384
0.715956
0.715956
0
0.037304
0.385152
14,911
343
130
43.472303
0.737238
0.007847
0
0.7
0
0.027273
0.100616
0.042304
0
0
0
0
0
1
0.022727
false
0
0.086364
0
0.131818
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
060a600b661aa064e7f385c5329ef54d41eca4ee
208
py
Python
pursuit/agents/base_agent.py
goncalo-rodrigues/thesis
c6d531b72ddeaf2320a4346912df5519138d11d7
[ "MIT" ]
null
null
null
pursuit/agents/base_agent.py
goncalo-rodrigues/thesis
c6d531b72ddeaf2320a4346912df5519138d11d7
[ "MIT" ]
null
null
null
pursuit/agents/base_agent.py
goncalo-rodrigues/thesis
c6d531b72ddeaf2320a4346912df5519138d11d7
[ "MIT" ]
null
null
null
class Agent(object): def __init__(self, id): self.id = id def act(self, state): raise NotImplementedError() def transition(self, state, actions, new_state, reward): pass
20.8
60
0.615385
25
208
4.92
0.64
0.097561
0
0
0
0
0
0
0
0
0
0
0.278846
208
9
61
23.111111
0.82
0
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0.142857
0
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
5
06185ae943196fc4fed7d0073ecd998208c713c1
242
py
Python
catalyst/dl/core/__init__.py
andrey-avdeev/catalyst
fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3
[ "Apache-2.0" ]
1
2019-12-15T18:29:15.000Z
2019-12-15T18:29:15.000Z
catalyst/dl/core/__init__.py
andrey-avdeev/catalyst
fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3
[ "Apache-2.0" ]
null
null
null
catalyst/dl/core/__init__.py
andrey-avdeev/catalyst
fd17aaba7775c99b7e2b1ce86e60aa8f2379acc3
[ "Apache-2.0" ]
1
2021-12-20T07:32:25.000Z
2021-12-20T07:32:25.000Z
# flake8: noqa from .callback import ( Callback, CallbackOrder, LoggerCallback, MeterMetricsCallback, MetricCallback, MultiMetricCallback ) from .experiment import Experiment from .runner import Runner from .state import RunnerState
24.2
66
0.801653
23
242
8.434783
0.608696
0
0
0
0
0
0
0
0
0
0
0.004831
0.144628
242
9
67
26.888889
0.932367
0.049587
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
881ff081df48ae08e74e97b6fa3d9edb3a08142b
268
py
Python
impacts_estimation/exceptions.py
openfoodfacts/off-product-environmental-impact
a78958fec1a21f057339184be27cf299d4fe12d1
[ "MIT" ]
3
2021-09-07T13:46:25.000Z
2022-01-12T14:38:29.000Z
impacts_estimation/exceptions.py
openfoodfacts/off-product-environmental-impact
a78958fec1a21f057339184be27cf299d4fe12d1
[ "MIT" ]
18
2021-09-13T16:19:26.000Z
2022-03-24T16:22:38.000Z
impacts_estimation/exceptions.py
openfoodfacts/off-product-environmental-impact
a78958fec1a21f057339184be27cf299d4fe12d1
[ "MIT" ]
null
null
null
""" Exceptions used by the impact estimation program """ class RecipeCreationError(Exception): pass class SolverTimeoutError(Exception): pass class NoKnownIngredientsError(Exception): pass class NoCharacterizedIngredientsError(Exception): pass
14.888889
56
0.764925
23
268
8.913043
0.608696
0.253659
0.263415
0
0
0
0
0
0
0
0
0
0.16791
268
17
57
15.764706
0.919283
0.179104
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
882956852fd393395f22b544276d201ba5b82919
2,435
py
Python
reid/loss/virtual_ce.py
JeremyXSC/MCN-MT
df62689e5ab3ac3c40a9e793425036594c903cbc
[ "MIT" ]
51
2020-10-16T01:27:29.000Z
2022-01-20T03:10:45.000Z
reid/loss/virtual_ce.py
TencentYoutuResearch/PersonReID-ACT
264b1b43f9424c297638ebf6f8f8ace09512ed29
[ "MIT" ]
1
2021-03-09T08:46:23.000Z
2021-03-09T08:52:42.000Z
reid/loss/virtual_ce.py
TencentYoutuResearch/PersonReID-ACT
264b1b43f9424c297638ebf6f8f8ace09512ed29
[ "MIT" ]
2
2021-01-08T08:31:15.000Z
2021-02-04T02:06:49.000Z
from __future__ import absolute_import import torch from torch import nn from torch.autograd import Variable from torch.nn import functional as F from scipy.stats import norm import numpy as np class VirtualCE(nn.Module): def __init__(self, beta=0.1): super(VirtualCE, self).__init__() self.beta ...
41.982759
119
0.632444
317
2,435
4.785489
0.246057
0.042189
0.029664
0.068556
0.789717
0.763349
0.763349
0.763349
0.763349
0.723797
0
0.034501
0.214374
2,435
57
120
42.719298
0.758495
0.082957
0
0.619048
0
0
0
0
0
0
0
0
0
1
0.095238
false
0
0.166667
0
0.357143
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
882b2043c1fab1e715221de038c9c035a686a496
137
py
Python
tests/refs/some_pkg/__init__.py
amirkdv/sphinxcontrib-wiki
b9369eb0e3fc04ba2670cd2d95167a1e73fadf85
[ "MIT" ]
1
2016-11-09T00:03:29.000Z
2016-11-09T00:03:29.000Z
tests/refs/some_pkg/__init__.py
amirkdv/sphinxcontrib-wiki
b9369eb0e3fc04ba2670cd2d95167a1e73fadf85
[ "MIT" ]
null
null
null
tests/refs/some_pkg/__init__.py
amirkdv/sphinxcontrib-wiki
b9369eb0e3fc04ba2670cd2d95167a1e73fadf85
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ First paragraph of docs. .. wikisection:: faq :title: Why? Well... Second paragraph of docs. """
10.538462
25
0.562044
16
137
4.8125
0.8125
0.285714
0.38961
0
0
0
0
0
0
0
0
0.009615
0.240876
137
12
26
11.416667
0.730769
0.919708
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
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
882ff020b0aed594beed98af9ed8f3aaf6a63b20
165,758
py
Python
tests/test/mixed_vschema/vschema_basic.py
mace84/script-languages
d586cbe212bbb4efbfb39e095183729c65489360
[ "MIT" ]
6
2019-01-09T11:55:15.000Z
2021-06-25T19:52:42.000Z
tests/test/mixed_vschema/vschema_basic.py
mace84/script-languages
d586cbe212bbb4efbfb39e095183729c65489360
[ "MIT" ]
65
2018-12-12T08:40:38.000Z
2022-02-28T09:19:45.000Z
tests/test/mixed_vschema/vschema_basic.py
mace84/script-languages
d586cbe212bbb4efbfb39e095183729c65489360
[ "MIT" ]
9
2018-11-23T08:59:09.000Z
2020-02-04T12:56:35.000Z
#!/usr/opt/bs-python-2.7/bin/python # -*- coding: utf-8 -*- import unittest import datetime import re from datetime import datetime, timedelta from textwrap import dedent import sys import os sys.path.append(os.path.realpath(__file__ + '/../../../lib')) import udf import exatest from vschema_common import VSchemaTes...
53.264139
314
0.614993
18,199
165,758
5.519644
0.056157
0.061104
0.027774
0.047037
0.790915
0.757108
0.724097
0.700046
0.673944
0.657249
0
0.019587
0.261393
165,758
3,111
315
53.28126
0.80076
0.050194
0
0.636157
0
0.029879
0.526178
0.054167
0
0
0
0.000321
0.136536
0
null
null
0.00643
0.019667
null
null
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
1
0
0
0
0
0
0
0
0
5
883041056e660a1c407249cae65cf461d1e5446b
58
py
Python
CursoEmVideoPython/hello_world.py
miguelabreuss/scripts_python
cf33934731a9d1b731672d4309aaea0a24ae151a
[ "MIT" ]
null
null
null
CursoEmVideoPython/hello_world.py
miguelabreuss/scripts_python
cf33934731a9d1b731672d4309aaea0a24ae151a
[ "MIT" ]
1
2020-07-04T16:27:25.000Z
2020-07-04T16:27:25.000Z
CursoEmVideoPython/hello_world.py
miguelabreuss/scripts_python
cf33934731a9d1b731672d4309aaea0a24ae151a
[ "MIT" ]
null
null
null
import emoji print(emoji.emojize('Python é :thumbs_up:'))
19.333333
44
0.758621
9
58
4.777778
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.086207
58
3
44
19.333333
0.811321
0
0
0
0
0
0.338983
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
5
884684bde3a96ea0347e750b9f51251b0fc2a2e0
137
py
Python
praw_memories/prawdebug.py
elnuno/praw_memories
dcab9cf795d8d9c34684fb1087c7907c56630cc2
[ "Apache-2.0" ]
1
2017-04-08T03:16:48.000Z
2017-04-08T03:16:48.000Z
praw_memories/prawdebug.py
elnuno/praw_memories
dcab9cf795d8d9c34684fb1087c7907c56630cc2
[ "Apache-2.0" ]
null
null
null
praw_memories/prawdebug.py
elnuno/praw_memories
dcab9cf795d8d9c34684fb1087c7907c56630cc2
[ "Apache-2.0" ]
null
null
null
"""Debugging facilities for PRAW-based projects.""" import datetime import json import logging import time import praw import prawcore
13.7
51
0.80292
18
137
6.111111
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.138686
137
9
52
15.222222
0.932203
0.328467
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
884b504a09c02924992e2ed0397cc3a86d991b80
62
py
Python
hydroserver/hydroserver_core/core_database_models/__init__.py
kjlippold/his_hydroserver
aaf3939965d12dd5bc74f69d22b653ce548bec0a
[ "MIT" ]
1
2021-01-27T19:19:05.000Z
2021-01-27T19:19:05.000Z
hydroserver/hydroserver_core/core_database_models/__init__.py
CUAHSI-APPS/his_hydroserver
aaf3939965d12dd5bc74f69d22b653ce548bec0a
[ "MIT" ]
1
2019-09-27T16:20:49.000Z
2019-09-27T16:20:49.000Z
hydroserver/hydroserver_core/core_database_models/__init__.py
kjlippold/his_hydroserver
aaf3939965d12dd5bc74f69d22b653ce548bec0a
[ "MIT" ]
1
2020-06-08T21:43:38.000Z
2020-06-08T21:43:38.000Z
from hydroserver_core.core_database_models import odm2_sqlite
31
61
0.919355
9
62
5.888889
0.888889
0
0
0
0
0
0
0
0
0
0
0.017241
0.064516
62
1
62
62
0.896552
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
885932a210830fd014b4c4e7c17035fd0d093062
304
py
Python
Python/34 Calendar Module.py
hnwarid/HackerRankExercises
5f6f710387b61cbf225e51517e702009659f4416
[ "MIT" ]
null
null
null
Python/34 Calendar Module.py
hnwarid/HackerRankExercises
5f6f710387b61cbf225e51517e702009659f4416
[ "MIT" ]
null
null
null
Python/34 Calendar Module.py
hnwarid/HackerRankExercises
5f6f710387b61cbf225e51517e702009659f4416
[ "MIT" ]
null
null
null
# Enter your code here. Read input from STDIN. Print output to STDOUT import calendar mm, dd, yyyy = map(int, input().split()) # weekday = calendar.weekday(yyyy, mm, dd) # day_name = calendar.day_name[weekday] # print(day_name.upper()) print(calendar.day_name[calendar.weekday(yyyy, mm, dd)].upper())
30.4
69
0.723684
47
304
4.595745
0.510638
0.12963
0.175926
0.194444
0.212963
0
0
0
0
0
0
0
0.128289
304
9
70
33.777778
0.815094
0.559211
0
0
0
0
0
0
0
0
0
0.111111
0
1
0
true
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
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
1
0
0
0
1
0
1
0
0
0
0
5
8870e8927fc8fc205499d31541f2a794beb97349
331
py
Python
ems/datasets/case/case_set.py
EMSTrack/Algorithms
139160619a935001582a60d3f43c0e33082bce99
[ "BSD-3-Clause" ]
1
2020-07-15T00:16:48.000Z
2020-07-15T00:16:48.000Z
ems/datasets/case/case_set.py
EMSTrack/Algorithms
139160619a935001582a60d3f43c0e33082bce99
[ "BSD-3-Clause" ]
40
2018-12-06T23:13:52.000Z
2019-07-11T01:24:13.000Z
ems/datasets/case/case_set.py
EMSTrack/Algorithms
139160619a935001582a60d3f43c0e33082bce99
[ "BSD-3-Clause" ]
null
null
null
# Interface for a "set" of cases class CaseSet: def __init__(self, time): self.time = time def __len__(self): raise NotImplementedError() def iterator(self): raise NotImplementedError() def get_time(self): return self.time def set_time(self, time): self.t...
18.388889
35
0.613293
40
331
4.825
0.45
0.207254
0.186529
0.165803
0.207254
0
0
0
0
0
0
0
0.296073
331
17
36
19.470588
0.828326
0.090634
0
0.363636
0
0
0
0
0
0
0
0
0
1
0.454545
false
0
0
0.090909
0.636364
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
5
88893e5984bb1933a5a2eff5ce092fb5e2284e15
50
py
Python
pyreq/collector/__init__.py
ksks2211/pyreq
6949039109b39f3ca0e9a39980759495173195ac
[ "MIT" ]
null
null
null
pyreq/collector/__init__.py
ksks2211/pyreq
6949039109b39f3ca0e9a39980759495173195ac
[ "MIT" ]
null
null
null
pyreq/collector/__init__.py
ksks2211/pyreq
6949039109b39f3ca0e9a39980759495173195ac
[ "MIT" ]
null
null
null
from .selector import collect_attr, collect_links
25
49
0.86
7
50
5.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.1
50
1
50
50
0.911111
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
888ac9bf14693083f3623c7db7f95cc85e46695d
108
py
Python
Python/python/inp.py
manishaverma1012/programs
dd77546219eab2f2ee81dd0d599b78ebd8f95957
[ "MIT" ]
null
null
null
Python/python/inp.py
manishaverma1012/programs
dd77546219eab2f2ee81dd0d599b78ebd8f95957
[ "MIT" ]
null
null
null
Python/python/inp.py
manishaverma1012/programs
dd77546219eab2f2ee81dd0d599b78ebd8f95957
[ "MIT" ]
null
null
null
a = int (input(' enter the first number ')) b = int (input('enter the second number ')) z = a + b print(a+b)
27
43
0.62037
20
108
3.35
0.55
0.238806
0.38806
0.477612
0
0
0
0
0
0
0
0
0.203704
108
4
44
27
0.77907
0
0
0
0
0
0.440367
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
88967a0bb5776cbd0a969ab46518674c991a8090
149
py
Python
savu/plugins/azimuthal_integrators/pyfai_azimuthal_integrator_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
39
2015-03-30T14:03:42.000Z
2022-03-16T16:50:33.000Z
savu/plugins/azimuthal_integrators/pyfai_azimuthal_integrator_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
670
2015-02-11T11:08:09.000Z
2022-03-21T09:27:57.000Z
savu/plugins/azimuthal_integrators/pyfai_azimuthal_integrator_tools.py
elainehoml/Savu
e4772704606f71d6803d832084e10faa585e7358
[ "Apache-2.0" ]
54
2015-02-13T14:09:52.000Z
2022-01-24T13:57:09.000Z
from savu.plugins.plugin_tools import PluginTools class PyfaiAzimuthalIntegratorTools(PluginTools): """1D azimuthal integrator by pyFAI """
24.833333
49
0.785235
15
149
7.733333
0.933333
0
0
0
0
0
0
0
0
0
0
0.007813
0.14094
149
5
50
29.8
0.898438
0.214765
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
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
ee0e11a3510630ea4335d1cad7681b4795b1ab78
167
py
Python
api_postgres/urls.py
DCMidwood/dap-backend
92ddc605618679ccc3ec97a21f5ea296f74fa51f
[ "MIT" ]
null
null
null
api_postgres/urls.py
DCMidwood/dap-backend
92ddc605618679ccc3ec97a21f5ea296f74fa51f
[ "MIT" ]
null
null
null
api_postgres/urls.py
DCMidwood/dap-backend
92ddc605618679ccc3ec97a21f5ea296f74fa51f
[ "MIT" ]
null
null
null
from django.db import router from django.urls import path, include from .router import router from . import views urlpatterns = [ path('', include(router.urls)) ]
20.875
37
0.742515
23
167
5.391304
0.434783
0.16129
0.258065
0
0
0
0
0
0
0
0
0
0.161677
167
8
38
20.875
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
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
ee18b0a3a39e7737a9543d1d38ad02d01fdabee0
2,415
py
Python
terrascript/resource/terraform_provider_graylog/graylog.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/resource/terraform_provider_graylog/graylog.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/resource/terraform_provider_graylog/graylog.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/resource/terraform-provider-graylog/graylog.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:17:31 UTC) import terrascript class graylog_alarm_callback(terrascript.Resource): pass class graylog_alert_condition(terrascript.Resource): pass class graylog_dashboard(terrascript.R...
18.157895
73
0.767288
259
2,415
6.80695
0.204633
0.280204
0.326149
0.381168
0.553035
0.414067
0.056722
0
0
0
0
0.005862
0.152381
2,415
132
74
18.295455
0.855398
0.05383
0
0.320513
1
0
0.223488
0.132778
0
0
0
0
0
1
0
false
0.320513
0.012821
0
0.333333
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
5
ee29f08458f5e7a5ac9704d063e8d9622f1e15d7
167
py
Python
test/speedTests/setup.py
henrystoldt/MAPLEAF
af970d3e8200832f5e70d537b15ad38dd74fa551
[ "MIT" ]
15
2020-09-11T19:25:07.000Z
2022-03-12T16:34:53.000Z
test/speedTests/setup.py
henrystoldt/MAPLEAF
af970d3e8200832f5e70d537b15ad38dd74fa551
[ "MIT" ]
null
null
null
test/speedTests/setup.py
henrystoldt/MAPLEAF
af970d3e8200832f5e70d537b15ad38dd74fa551
[ "MIT" ]
3
2021-12-24T19:39:53.000Z
2022-03-29T01:06:28.000Z
import numpy from setuptools import setup from Cython.Build import cythonize setup(ext_modules=cythonize("addScalarCython.pyx"), include_dirs=[numpy.get_include()])
23.857143
87
0.820359
22
167
6.090909
0.681818
0
0
0
0
0
0
0
0
0
0
0
0.083832
167
6
88
27.833333
0.875817
0
0
0
0
0
0.113772
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
ee2b54054802ca4d528abc0c273ba16fb239f0db
7,239
py
Python
mw4/test/test_units/environment/test_skymeter.py
Raddock/MountWizzard4
15efed77c1634461184e90a7cf6419eec0dec909
[ "Apache-2.0" ]
null
null
null
mw4/test/test_units/environment/test_skymeter.py
Raddock/MountWizzard4
15efed77c1634461184e90a7cf6419eec0dec909
[ "Apache-2.0" ]
null
null
null
mw4/test/test_units/environment/test_skymeter.py
Raddock/MountWizzard4
15efed77c1634461184e90a7cf6419eec0dec909
[ "Apache-2.0" ]
null
null
null
############################################################ # -*- coding: utf-8 -*- # # # # # # # # # ## ## # ## # # # # # # # # # # # # # # # ## # ## ## ###### # # # # # # # # # Python-based Tool for interaction with the 10micron mounts # GUI with PyQT5 fo...
29.307692
69
0.561404
722
7,239
5.520776
0.144044
0.198695
0.093828
0.076267
0.80858
0.785248
0.734069
0.705218
0.684145
0.657301
0
0.013649
0.311783
7,239
246
70
29.426829
0.786431
0.0431
0
0.677596
0
0
0.110353
0.003115
0
0
0
0
0.142077
1
0.131148
false
0
0.027322
0.021858
0.202186
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
ee46d35ab1668d42f5f7b29ff1150e7d34015b12
136
py
Python
pyembroidery/StringHelper.py
teosavv/pyembroidery
00985f423e64ea1a454e5484012c19a64f26eb2c
[ "MIT" ]
45
2018-07-08T09:49:30.000Z
2022-03-23T07:01:15.000Z
pyembroidery/StringHelper.py
teosavv/pyembroidery
00985f423e64ea1a454e5484012c19a64f26eb2c
[ "MIT" ]
59
2018-07-05T22:05:58.000Z
2022-02-20T01:01:20.000Z
pyembroidery/StringHelper.py
teosavv/pyembroidery
00985f423e64ea1a454e5484012c19a64f26eb2c
[ "MIT" ]
23
2018-08-10T17:58:04.000Z
2022-03-29T03:41:46.000Z
def is_string(thing): try: return isinstance(thing, basestring) except NameError: return isinstance(thing, str)
22.666667
44
0.661765
15
136
5.933333
0.733333
0.359551
0.47191
0
0
0
0
0
0
0
0
0
0.257353
136
5
45
27.2
0.881188
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
1
1
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
1
0
0
5
ee5aa8111bf2aa378c7a86c2ca612023d1ed7e35
34
py
Python
modules/2.79/bpy/types/XnorController.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.79/bpy/types/XnorController.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.79/bpy/types/XnorController.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
class XnorController: pass
5.666667
21
0.676471
3
34
7.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.294118
34
5
22
6.8
0.958333
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
ee7dd54917825e792568a4b85296e41851c52bfa
22
py
Python
twitter/__init__.py
alexcchan/twitter
0940dd67434e682b6be3e4c5b6ab5b0bb8b4b43a
[ "MIT" ]
null
null
null
twitter/__init__.py
alexcchan/twitter
0940dd67434e682b6be3e4c5b6ab5b0bb8b4b43a
[ "MIT" ]
null
null
null
twitter/__init__.py
alexcchan/twitter
0940dd67434e682b6be3e4c5b6ab5b0bb8b4b43a
[ "MIT" ]
null
null
null
from twitter import *
11
21
0.772727
3
22
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
22
1
22
22
0.944444
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
c9abb685f203127b85cf8787c0edb02d103f9e6e
775
py
Python
Assignments/Sprint1/BinaryToAscii.py
mark-morelos/CS_Notes
339c47ae5d7e678b7ac98d6d78857d016c611e38
[ "MIT" ]
1
2021-02-28T07:43:59.000Z
2021-02-28T07:43:59.000Z
Assignments/Sprint1/BinaryToAscii.py
mark-morelos/CS_Notes
339c47ae5d7e678b7ac98d6d78857d016c611e38
[ "MIT" ]
null
null
null
Assignments/Sprint1/BinaryToAscii.py
mark-morelos/CS_Notes
339c47ae5d7e678b7ac98d6d78857d016c611e38
[ "MIT" ]
1
2021-03-03T03:52:21.000Z
2021-03-03T03:52:21.000Z
""" Given a binary string (ASCII encoded), write a function that returns the equivalent decoded text. Every eight bits in the binary string represents one character on the ASCII table. Examples: csBinaryToASCII("011011000110000101101101011000100110010001100001") -> "lambda" 01101100 -> 108 -> "l" 01100001 -> 97 -> "...
32.291667
97
0.710968
109
775
5.055046
0.66055
0.065336
0.039927
0
0
0
0
0
0
0
0
0.201229
0.16
775
24
98
32.291667
0.645161
0.843871
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
c9c7687b7e1d2fe3b4a86c1356054ddc4ec28e9a
25,926
py
Python
Plot_final.py
david0811/atms597_proj3
3f89c4e4d745b19879dee9bf71fa01ce23e5a909
[ "MIT" ]
null
null
null
Plot_final.py
david0811/atms597_proj3
3f89c4e4d745b19879dee9bf71fa01ce23e5a909
[ "MIT" ]
null
null
null
Plot_final.py
david0811/atms597_proj3
3f89c4e4d745b19879dee9bf71fa01ce23e5a909
[ "MIT" ]
2
2020-02-18T19:33:07.000Z
2020-02-28T05:53:05.000Z
import xarray as xr import pandas as pd import cartopy import cartopy.crs as ccrs import matplotlib as mpl import matplotlib.pyplot as plt from matplotlib.cm import get_cmap import numpy as np from cartopy.mpl.gridliner import LONGITUDE_FORMATTER, LATITUDE_FORMATTER import shapely.geometry as sgeom import cartopy.featu...
34.8
115
0.606457
3,651
25,926
4.204875
0.093399
0.025404
0.031266
0.016089
0.83976
0.838132
0.811034
0.726746
0.688119
0.680888
0
0.028323
0.257811
25,926
745
116
34.8
0.769515
0.252642
0
0.643392
0
0
0.112355
0.017749
0
0
0
0
0
1
0.022444
false
0
0.029925
0
0.057357
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
c9cf330ba1bd8124dfd2589c2c620374854164c9
129
py
Python
vsm/extensions/corpusbuilders/__init__.py
inpho/vsm
d5fc930ccc95f275e10e151c8f05db2c05aba01f
[ "MIT" ]
31
2015-01-30T20:09:48.000Z
2021-08-13T12:57:49.000Z
vsm/extensions/corpusbuilders/__init__.py
inpho/vsm
d5fc930ccc95f275e10e151c8f05db2c05aba01f
[ "MIT" ]
80
2015-01-30T19:08:40.000Z
2019-11-02T20:15:56.000Z
vsm/extensions/corpusbuilders/__init__.py
inpho/vsm
d5fc930ccc95f275e10e151c8f05db2c05aba01f
[ "MIT" ]
10
2015-09-18T01:52:23.000Z
2019-07-14T08:22:06.000Z
""" [Documentation about the corpusbuilders extension] """ from __future__ import absolute_import from .corpusbuilders import *
18.428571
50
0.79845
13
129
7.538462
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.124031
129
6
51
21.5
0.867257
0.387597
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
a00b1b76675e9434fa7443fb20131e2c3b8ba4bd
133
py
Python
testproject/test.py
nilakshdas/jobby
d156e009b86efe621c4014cca97b01863ddc7774
[ "MIT" ]
null
null
null
testproject/test.py
nilakshdas/jobby
d156e009b86efe621c4014cca97b01863ddc7774
[ "MIT" ]
null
null
null
testproject/test.py
nilakshdas/jobby
d156e009b86efe621c4014cca97b01863ddc7774
[ "MIT" ]
null
null
null
from __future__ import print_function import time from jobby import JobbyJob with JobbyJob(dict()) as job: print(time.time())
14.777778
37
0.759398
19
133
5.052632
0.631579
0
0
0
0
0
0
0
0
0
0
0
0.165414
133
8
38
16.625
0.864865
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
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
4e631b29436789cc1f071e150cf015c0f1c34347
29
py
Python
src/rocket/stage2/src/trajectory/__init__.py
proballstar/atlas
6e4eb36b7e43e750dbb281c2051439198c82f296
[ "MIT" ]
null
null
null
src/rocket/stage2/src/trajectory/__init__.py
proballstar/atlas
6e4eb36b7e43e750dbb281c2051439198c82f296
[ "MIT" ]
null
null
null
src/rocket/stage2/src/trajectory/__init__.py
proballstar/atlas
6e4eb36b7e43e750dbb281c2051439198c82f296
[ "MIT" ]
null
null
null
from . import trajectory_calc
29
29
0.862069
4
29
6
1
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
1
29
29
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
4ea41f1cfae3e0e482def88f3051cdd115473a14
1,162
py
Python
myblog/forms.py
kaka4NERV/my-blog
5021ef500b0f2d280f2bb824ba22b2336fd09367
[ "MIT" ]
null
null
null
myblog/forms.py
kaka4NERV/my-blog
5021ef500b0f2d280f2bb824ba22b2336fd09367
[ "MIT" ]
null
null
null
myblog/forms.py
kaka4NERV/my-blog
5021ef500b0f2d280f2bb824ba22b2336fd09367
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, SubmitField, TextAreaField from wtforms.validators import DataRequired, Length class LoginForm(FlaskForm): username = StringField('Username', validators=[DataRequired(), Length(5, 20)]) password = PasswordField('Passw...
36.3125
88
0.725473
112
1,162
7.517857
0.321429
0.209026
0.199525
0.206651
0.589074
0.589074
0.589074
0.589074
0.589074
0.589074
0
0.017893
0.134251
1,162
31
89
37.483871
0.819085
0
0
0.363636
0
0
0.080034
0
0
0
0
0
0
1
0
false
0.136364
0.136364
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
5
090bf6cb918945a32dc2489c3aad8b96c8158111
84
py
Python
codeChef/practice/easy/muffins3.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
25
2015-01-21T16:39:18.000Z
2021-05-24T07:01:24.000Z
codeChef/practice/easy/muffins3.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
2
2020-09-30T19:39:36.000Z
2020-10-01T17:15:16.000Z
codeChef/practice/easy/muffins3.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
15
2015-01-21T16:39:27.000Z
2020-10-01T17:00:22.000Z
import sys print "\n".join(str(int(i) / 2 + 1) for i in sys.stdin.readlines()[1:])
21
71
0.619048
17
84
3.058824
0.823529
0
0
0
0
0
0
0
0
0
0
0.042254
0.154762
84
3
72
28
0.690141
0
0
0
0
0
0.02381
0
0
0
0
0
0
0
null
null
0
0.5
null
null
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
1
0
5
093bb0f3b3b32fbfcbd3f7ae851dbe3109a2278d
9,146
py
Python
1525. Number of Good Ways to Split a String.py
Nriver/leetcode
e0b30fae8a31513172fcbd13d67eded8922ba785
[ "MIT" ]
null
null
null
1525. Number of Good Ways to Split a String.py
Nriver/leetcode
e0b30fae8a31513172fcbd13d67eded8922ba785
[ "MIT" ]
null
null
null
1525. Number of Good Ways to Split a String.py
Nriver/leetcode
e0b30fae8a31513172fcbd13d67eded8922ba785
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Author: zengjq # @Date: 2020-10-21 16:22:29 # @Last Modified by: zengjq # @Last Modified time: 2020-10-21 16:49:17 import collections class Solution: # 超时 def numSplits1(self, s: str) -> int: res = 0 for x in range(1,len(s)): if len(collections.Counte...
234.512821
8,249
0.950251
125
9,146
69.528
0.432
0.008284
0.006904
0.002301
0.008745
0.003452
0
0
0
0
0
0.005545
0.033785
9,146
39
8,249
234.512821
0.977934
0.92084
0
0.25
0
0
0.029412
0
0
1
0
0
0
1
0.083333
false
0
0.041667
0
0.25
0.125
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
1
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
5
0959b6e48c7d735c236a0084789c3d308942cacc
73
py
Python
utils/__init__.py
atlashugs/dqn_pytorch
131295448e9a993fd5e0a3a509bd76204f644396
[ "MIT" ]
null
null
null
utils/__init__.py
atlashugs/dqn_pytorch
131295448e9a993fd5e0a3a509bd76204f644396
[ "MIT" ]
null
null
null
utils/__init__.py
atlashugs/dqn_pytorch
131295448e9a993fd5e0a3a509bd76204f644396
[ "MIT" ]
null
null
null
from .utils import set_requires_grad, create_exp_logfile, performance_avg
73
73
0.890411
11
73
5.454545
1
0
0
0
0
0
0
0
0
0
0
0
0.068493
73
1
73
73
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
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
11ad07b33bbd8e296a06cb7a7b887b52b1448e45
180
py
Python
app/PyDrive/__init__.py
eduardo98m/Tree-Finder
50cf7a7391c487ef0f9e850799f800efc09f7294
[ "MIT" ]
1
2021-09-21T01:25:26.000Z
2021-09-21T01:25:26.000Z
app/PyDrive/__init__.py
eduardo98m/Tree-Finder
50cf7a7391c487ef0f9e850799f800efc09f7294
[ "MIT" ]
1
2022-01-27T14:11:12.000Z
2022-01-27T14:11:12.000Z
app/PyDrive/__init__.py
eduardo98m/Tree-Finder
50cf7a7391c487ef0f9e850799f800efc09f7294
[ "MIT" ]
null
null
null
#from pydrive_functions import write_trees_csvs """ write_trees_csvs() df = get_trees_dataframes() df2 = get_image_ids(df, ids_file.images_ids) df2.to_csv('result.csv') """
22.5
48
0.75
28
180
4.392857
0.642857
0.162602
0.227642
0
0
0
0
0
0
0
0
0.012658
0.122222
180
8
49
22.5
0.765823
0.905556
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
1
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
11b3a5e2d44830b589bfce4d9f1e4ca790071f36
213
py
Python
answers/hackerrank/Raw Input.py
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
3
2015-09-04T21:32:31.000Z
2020-12-06T00:37:32.000Z
answers/hackerrank/Raw Input.py
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
answers/hackerrank/Raw Input.py
FeiZhan/Algo-Collection
708c4a38112e0b381864809788b9e44ac5ae4d05
[ "MIT" ]
null
null
null
#@result Submitted a few seconds ago • Score: 10.00 Status: Accepted Test Case #0: 0.01s Test Case #1: 0s Test Case #2: 0s # Enter your code here. Read input from STDIN. Print output to STDOUT print raw_input()
35.5
122
0.7277
40
213
3.875
0.8
0.154839
0
0
0
0
0
0
0
0
0
0.069364
0.187793
213
5
123
42.6
0.820809
0.873239
0
0
0
0
0
0
0
0
0
0.2
0
0
null
null
0
0
null
null
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
1
0
5
11db112c6507b55a494b0c2bfbd98c7425d3426c
187
py
Python
dutil/jupyter/_jupyter.py
mysterious-ben/dutil
bacfba8982b8562ea6d943ac1e9c74f0fba75a7e
[ "Apache-2.0" ]
null
null
null
dutil/jupyter/_jupyter.py
mysterious-ben/dutil
bacfba8982b8562ea6d943ac1e9c74f0fba75a7e
[ "Apache-2.0" ]
6
2020-11-25T12:32:57.000Z
2020-12-28T04:38:15.000Z
dutil/jupyter/_jupyter.py
mysterious-ben/dutil
bacfba8982b8562ea6d943ac1e9c74f0fba75a7e
[ "Apache-2.0" ]
null
null
null
from IPython.display import display from dutil.transform import ht def dht(arr, n: int = 2) -> None: """Display first and last (top and bottom) entries""" display(ht(arr, n))
18.7
57
0.673797
29
187
4.344828
0.689655
0.063492
0
0
0
0
0
0
0
0
0
0.006711
0.203209
187
9
58
20.777778
0.838926
0.251337
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
5
11ddab5bf1926ee324722f85b90689af3a28097d
120
py
Python
app/home/views.py
zhouzhuowei/movie_project
282cb3501ef5da0cee0700f195e09e63685d8ec0
[ "Apache-2.0" ]
null
null
null
app/home/views.py
zhouzhuowei/movie_project
282cb3501ef5da0cee0700f195e09e63685d8ec0
[ "Apache-2.0" ]
null
null
null
app/home/views.py
zhouzhuowei/movie_project
282cb3501ef5da0cee0700f195e09e63685d8ec0
[ "Apache-2.0" ]
null
null
null
#coding:utf8 from . import home @home.route("/") def index(): return "<h1 style='color:green'>this is home</h1>"
13.333333
54
0.633333
18
120
4.222222
0.833333
0
0
0
0
0
0
0
0
0
0
0.03
0.166667
120
8
55
15
0.73
0.091667
0
0
0
0
0.396226
0.226415
0
0
0
0
0
1
0.25
true
0
0.25
0.25
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
0
0
0
5
11eadfb2be5a1b8deb1b22d358de50179bcef4fa
116
py
Python
mozumder/template/components/__init__.py
mozumder/django-mozumder
887ce303249eac2d77de062fd57023dbc4b782dd
[ "MIT" ]
1
2020-06-13T06:12:16.000Z
2020-06-13T06:12:16.000Z
mozumder/template/components/__init__.py
mozumder/django-mozumder
887ce303249eac2d77de062fd57023dbc4b782dd
[ "MIT" ]
4
2020-06-18T03:53:29.000Z
2021-06-09T17:56:12.000Z
mozumder/template/components/__init__.py
mozumder/django-mozumder
887ce303249eac2d77de062fd57023dbc4b782dd
[ "MIT" ]
null
null
null
from .component import code, Component from .components import Components from .raw import raw from .div import div
23.2
38
0.810345
17
116
5.529412
0.411765
0
0
0
0
0
0
0
0
0
0
0
0.146552
116
4
39
29
0.949495
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
ee9cd8af90360348f0c21f560a9403b1ca579459
179
py
Python
apps/puzzles/admin.py
madjaqk/puzzle_master_v2
e50b0f02abbf32aebe9583152bd9a5b43f5da7d7
[ "MIT" ]
null
null
null
apps/puzzles/admin.py
madjaqk/puzzle_master_v2
e50b0f02abbf32aebe9583152bd9a5b43f5da7d7
[ "MIT" ]
8
2020-02-07T04:11:07.000Z
2022-02-10T07:04:57.000Z
apps/puzzles/admin.py
madjaqk/puzzle_master_v2
e50b0f02abbf32aebe9583152bd9a5b43f5da7d7
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import PuzzleSet, Puzzle, PuzzleAnswer admin.site.register(Puzzle) admin.site.register(PuzzleSet) admin.site.register(PuzzleAnswer)
25.571429
51
0.832402
23
179
6.478261
0.478261
0.181208
0.342282
0
0
0
0
0
0
0
0
0
0.078212
179
7
52
25.571429
0.90303
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
1
0
0
null
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
ee9d02a183cd846bc680679ffaff406bc4497237
241
py
Python
makmal/admin.py
ParmenidesSartre/Makmal-Record-System
f121e5b62899b5a084bbd62f8b7132dca5c72691
[ "MIT" ]
null
null
null
makmal/admin.py
ParmenidesSartre/Makmal-Record-System
f121e5b62899b5a084bbd62f8b7132dca5c72691
[ "MIT" ]
null
null
null
makmal/admin.py
ParmenidesSartre/Makmal-Record-System
f121e5b62899b5a084bbd62f8b7132dca5c72691
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Report @admin.register(Report) class ReportAdmin(admin.ModelAdmin): list_display = ['project_name','contractor_name', 'done_on'] search_fields = ['project_name','contractor_name']
34.428571
64
0.771784
30
241
5.966667
0.666667
0.122905
0.234637
0.27933
0
0
0
0
0
0
0
0
0.107884
241
7
65
34.428571
0.832558
0
0
0
0
0
0.252066
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
eec24f4f728e76d4c2f32efa18d811ca23845931
111
py
Python
bot.py
ruberVulpes/a-discord-bot
0996a39b01917bf4f1a9b2a33ca46033ca2c9eb5
[ "MIT" ]
null
null
null
bot.py
ruberVulpes/a-discord-bot
0996a39b01917bf4f1a9b2a33ca46033ca2c9eb5
[ "MIT" ]
2
2021-02-22T05:08:30.000Z
2021-04-06T20:29:39.000Z
bot.py
ruberVulpes/a-discord-bot
0996a39b01917bf4f1a9b2a33ca46033ca2c9eb5
[ "MIT" ]
null
null
null
from bot import client from env import discord_token if __name__ == '__main__': client.run(discord_token)
18.5
29
0.765766
16
111
4.6875
0.6875
0.32
0
0
0
0
0
0
0
0
0
0
0.162162
111
5
30
22.2
0.806452
0
0
0
0
0
0.072072
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
eee40af86edb02a1603fc38dde4c32dda368fc54
299
py
Python
accounts/admin.py
devmedtz/sogea
54cf257856cae451ad87e2396b8e44a34c0c6daf
[ "MIT" ]
3
2021-04-08T12:50:40.000Z
2021-05-09T07:36:52.000Z
accounts/admin.py
devmedtz/sogea
54cf257856cae451ad87e2396b8e44a34c0c6daf
[ "MIT" ]
5
2021-06-05T00:07:57.000Z
2022-03-12T01:00:20.000Z
accounts/admin.py
devmedtz/sogea
54cf257856cae451ad87e2396b8e44a34c0c6daf
[ "MIT" ]
2
2021-04-07T15:17:46.000Z
2021-05-09T06:29:57.000Z
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.contrib.auth.models import Group from . import forms from . models import CustomUser, Profile # Register the new UserAdmin... admin.site.register(CustomUser) admin.site.register(Profile)
27.181818
64
0.816054
41
299
5.95122
0.439024
0.122951
0.209016
0.172131
0
0
0
0
0
0
0
0
0.110368
299
10
65
29.9
0.917293
0.09699
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.714286
0
0.714286
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
e11651292bb41cb3e4a196b410d59da0b224bbed
180
py
Python
adminlte/views/__init__.py
riffy/gta-adminlte-django
cc3efd382aa7ad3acb2828e7c7038a8146426e9d
[ "MIT" ]
2
2021-05-28T06:45:04.000Z
2022-03-26T18:45:50.000Z
adminlte/views/__init__.py
riffy/gta-adminlte-django
cc3efd382aa7ad3acb2828e7c7038a8146426e9d
[ "MIT" ]
2
2021-05-27T08:14:37.000Z
2021-05-27T15:42:04.000Z
adminlte/views/__init__.py
riffy/gta-adminlte-django
cc3efd382aa7ad3acb2828e7c7038a8146426e9d
[ "MIT" ]
null
null
null
from .index import index from .dashboard import dashboard from .player_list import player_list from .player_info import player_info from .server_statistics import server_statistics
36
48
0.866667
26
180
5.769231
0.346154
0.133333
0
0
0
0
0
0
0
0
0
0
0.105556
180
5
48
36
0.931677
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
e11e386e4f90322a1d63e6c01faf87cb100eab96
69
py
Python
src/__init.py
asepscareer/cnnindonesia-api
81811203548d1aad9435e1a4751d35576bebc143
[ "Apache-2.0" ]
1
2022-03-20T08:00:38.000Z
2022-03-20T08:00:38.000Z
src/__init.py
asepscareer/cnnindonesia-api
81811203548d1aad9435e1a4751d35576bebc143
[ "Apache-2.0" ]
null
null
null
src/__init.py
asepscareer/cnnindonesia-api
81811203548d1aad9435e1a4751d35576bebc143
[ "Apache-2.0" ]
null
null
null
from .base import GetData from .utils import parse, headers, base_url
34.5
43
0.811594
11
69
5
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.130435
69
2
43
34.5
0.916667
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
0100d037b53fb4705c1f95b329350b7af5f63d92
8
py
Python
.idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/imports/test_import_absolute_error/main2.py
Vladpetr/NewsPortal
cd4127fbc09d9c8f5e65c8ae699856c6d380a320
[ "Apache-2.0" ]
null
null
null
.idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/imports/test_import_absolute_error/main2.py
Vladpetr/NewsPortal
cd4127fbc09d9c8f5e65c8ae699856c6d380a320
[ "Apache-2.0" ]
5
2021-04-08T22:02:15.000Z
2022-02-10T14:53:45.000Z
.idea/VirtualEnvironment/Lib/site-packages/tests/outcomes/imports/test_import_absolute_error/main2.py
Vladpetr/NewsPortal
cd4127fbc09d9c8f5e65c8ae699856c6d380a320
[ "Apache-2.0" ]
null
null
null
x = 103
4
7
0.5
2
8
2
1
0
0
0
0
0
0
0
0
0
0
0.6
0.375
8
1
8
8
0.2
0
0
0
0
0
0
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
0121a309aee84342b0c11d6c28a1b0d3428f8c34
38
py
Python
conjureup/controllers/juju/clouds/common.py
iMichka/conjure-up
8e4599e6f58b52163384150d8d71e7802462d126
[ "MIT" ]
1
2019-06-26T23:39:13.000Z
2019-06-26T23:39:13.000Z
conjureup/controllers/juju/clouds/common.py
iMichka/conjure-up
8e4599e6f58b52163384150d8d71e7802462d126
[ "MIT" ]
null
null
null
conjureup/controllers/juju/clouds/common.py
iMichka/conjure-up
8e4599e6f58b52163384150d8d71e7802462d126
[ "MIT" ]
1
2020-10-05T14:42:31.000Z
2020-10-05T14:42:31.000Z
class BaseCloudController: pass
7.6
26
0.736842
3
38
9.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.236842
38
4
27
9.5
0.965517
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
012814f7e74de219ea4ae2201ad5b9fddc5f39ac
450
py
Python
geonet/tests.py
bbengfort/kahu
57a2ba417d545a57a987b3620e46e56f023134d6
[ "MIT" ]
1
2018-08-27T10:07:06.000Z
2018-08-27T10:07:06.000Z
geonet/tests.py
bbengfort/kahu
57a2ba417d545a57a987b3620e46e56f023134d6
[ "MIT" ]
22
2018-06-09T14:16:36.000Z
2018-06-15T10:56:58.000Z
geonet/tests.py
bbengfort/kahu
57a2ba417d545a57a987b3620e46e56f023134d6
[ "MIT" ]
null
null
null
# geonet.tests # Test Cases for the geonet app # # Author: Benjamin Bengfort <benjamin@bengfort.com> # Created: Mon Jun 11 08:10:28 2018 -0400 # # ID: tests.py [] benjamin@bengfort.com $ """ Test Cases for the geonet app """ ########################################################################## ## Imports ######...
22.5
74
0.468889
45
450
4.688889
0.666667
0.227488
0.113744
0.14218
0.227488
0.227488
0
0
0
0
0
0.040609
0.124444
450
19
75
23.684211
0.494924
0.524444
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
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
01504092bc68b766c3ea753454d86ccb90b45033
74
py
Python
Solutions/Python/No zeros for heros(8 kyu).py
collenirwin/Codewars-Solutions
14bad3878d3fc37c7e73cbaaaa24cd28f759ce3b
[ "MIT" ]
null
null
null
Solutions/Python/No zeros for heros(8 kyu).py
collenirwin/Codewars-Solutions
14bad3878d3fc37c7e73cbaaaa24cd28f759ce3b
[ "MIT" ]
null
null
null
Solutions/Python/No zeros for heros(8 kyu).py
collenirwin/Codewars-Solutions
14bad3878d3fc37c7e73cbaaaa24cd28f759ce3b
[ "MIT" ]
null
null
null
def no_boring_zeros(n): return int(str(n).strip("0")) if n != 0 else n
37
50
0.635135
16
74
2.8125
0.75
0
0
0
0
0
0
0
0
0
0
0.032787
0.175676
74
2
50
37
0.704918
0
0
0
0
0
0.013333
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
015b386dca0de94100bb74f9f968da406871608d
7,305
py
Python
z2/part2/interactive/jm/random_fuzzy_arrows_1/609933792.py
kozakusek/ipp-2020-testy
09aa008fa53d159672cc7cbf969a6b237e15a7b8
[ "MIT" ]
1
2020-04-16T12:13:47.000Z
2020-04-16T12:13:47.000Z
z2/part2/interactive/jm/random_fuzzy_arrows_1/609933792.py
kozakusek/ipp-2020-testy
09aa008fa53d159672cc7cbf969a6b237e15a7b8
[ "MIT" ]
18
2020-03-06T17:50:15.000Z
2020-05-19T14:58:30.000Z
z2/part2/interactive/jm/random_fuzzy_arrows_1/609933792.py
kozakusek/ipp-2020-testy
09aa008fa53d159672cc7cbf969a6b237e15a7b8
[ "MIT" ]
18
2020-03-06T17:45:13.000Z
2020-06-09T19:18:31.000Z
from part1 import ( gamma_board, gamma_busy_fields, gamma_delete, gamma_free_fields, gamma_golden_move, gamma_golden_possible, gamma_move, gamma_new, ) """ scenario: test_random_actions uuid: 609933792 """ """ random actions, total chaos """ board = gamma_new(8, 5, 5, 9) assert board is...
31.487069
46
0.654483
1,316
7,305
3.487082
0.044073
0.335585
0.359555
0.479407
0.788843
0.770538
0.667684
0.468512
0.363478
0.325343
0
0.150473
0.17577
7,305
231
47
31.623377
0.611692
0
0
0.26087
0
0
0.041569
0
0
0
0
0
0.73913
1
0
false
0
0.004831
0
0.004831
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
1
0
0
0
0
0
0
0
0
0
5
017bb5fd19c38e12ebbd9b1174d2ef3839c48ec4
116
py
Python
source_code/central_monitor/alerts/admin.py
Doctor-Venom/Cyber-Oracle
0cc3475416ea552704f4b1086d850fa90117ccc6
[ "MIT" ]
null
null
null
source_code/central_monitor/alerts/admin.py
Doctor-Venom/Cyber-Oracle
0cc3475416ea552704f4b1086d850fa90117ccc6
[ "MIT" ]
null
null
null
source_code/central_monitor/alerts/admin.py
Doctor-Venom/Cyber-Oracle
0cc3475416ea552704f4b1086d850fa90117ccc6
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Alert # Register your models here. admin.site.register(Alert)
19.333333
32
0.801724
17
116
5.470588
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.12931
116
5
33
23.2
0.920792
0.224138
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
6d7e22756a6d95260f1fae465aebfb31d39e3235
55
py
Python
RadiAIDD/Backend/__init__.py
jo-mueller/RadiAide
0ad9eb11673f5df4998670dfc75eaad38b5ae54a
[ "MIT" ]
null
null
null
RadiAIDD/Backend/__init__.py
jo-mueller/RadiAide
0ad9eb11673f5df4998670dfc75eaad38b5ae54a
[ "MIT" ]
2
2020-05-18T10:36:49.000Z
2020-05-19T07:09:45.000Z
RadiAIDD/Backend/__init__.py
jo-mueller/RadiAide
0ad9eb11673f5df4998670dfc75eaad38b5ae54a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .UI import ressources_rc
13.75
29
0.636364
8
55
4.25
1
0
0
0
0
0
0
0
0
0
0
0.022222
0.181818
55
3
30
18.333333
0.733333
0.381818
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
6d815f60998760396e245b33a49f965635ddcbee
129
py
Python
src/main1.py
yamap55/python_import_sample
c468ac0d076cb61f54ef6133d906f1cb112e2aae
[ "MIT" ]
null
null
null
src/main1.py
yamap55/python_import_sample
c468ac0d076cb61f54ef6133d906f1cb112e2aae
[ "MIT" ]
1
2021-03-26T01:09:24.000Z
2021-03-26T01:09:24.000Z
src/main1.py
yamap55/python_import_sample
c468ac0d076cb61f54ef6133d906f1cb112e2aae
[ "MIT" ]
null
null
null
import b def get_str(): return f"123_{b.get_hoge()}_456" # 123_hoge_456 if __name__ == "__main__": print(get_str())
12.9
52
0.643411
21
129
3.238095
0.666667
0.176471
0
0
0
0
0
0
0
0
0
0.116505
0.20155
129
9
53
14.333333
0.543689
0.093023
0
0
0
0
0.26087
0.191304
0
0
0
0
0
1
0.2
true
0
0.2
0.2
0.6
0.2
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
0
1
1
0
0
5
6d9226f9a9787d242a2a4b15e7fe827ebe4a40ef
48
py
Python
Modules/ExposureNotification/exposure_notification_exceptions.py
pvieito/Radar-STATS
9ff991a4db776259bc749a823ee6f0b0c0d38108
[ "Apache-2.0" ]
9
2020-10-14T16:58:32.000Z
2021-10-05T12:01:56.000Z
Modules/ExposureNotification/exposure_notification_exceptions.py
pvieito/Radar-STATS
9ff991a4db776259bc749a823ee6f0b0c0d38108
[ "Apache-2.0" ]
3
2020-10-08T04:48:35.000Z
2020-10-10T20:46:58.000Z
Modules/ExposureNotification/exposure_notification_exceptions.py
pvieito/Radar-STATS
9ff991a4db776259bc749a823ee6f0b0c0d38108
[ "Apache-2.0" ]
3
2020-09-27T07:39:26.000Z
2020-10-02T07:48:56.000Z
class NoKeysFoundException(Exception): pass
16
38
0.791667
4
48
9.5
1
0
0
0
0
0
0
0
0
0
0
0
0.145833
48
2
39
24
0.926829
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
6da9d8223a6e1eed92bad6bd9af4166ef81b6a62
2,311
py
Python
tests/calculate_with_alfas_test.py
parvex/residual-continual-learning-benchmark
8eeb2e57ecf0711e075eb02e8ed06fc8e7b9f20d
[ "MIT" ]
null
null
null
tests/calculate_with_alfas_test.py
parvex/residual-continual-learning-benchmark
8eeb2e57ecf0711e075eb02e8ed06fc8e7b9f20d
[ "MIT" ]
null
null
null
tests/calculate_with_alfas_test.py
parvex/residual-continual-learning-benchmark
8eeb2e57ecf0711e075eb02e8ed06fc8e7b9f20d
[ "MIT" ]
null
null
null
import unittest import torch class TensorMultiplying(unittest.TestCase): def test_tensor_multiplying_last_layer(self): out = torch.tensor( [[[1.0, 2.0, 3.0], [4.0, 5.0, 6.0], [7.0, 8.0, 9.0]], [[1.0, 2.0, 3.0], [4.0, 5.0, 6.0], [7.0, 8.0, 9.0]], [[1.0, 2.0, 3.0], [4.0, 5.0, 6.0], ...
39.169492
389
0.339247
369
2,311
2.081301
0.135501
0.083333
0.125
0.135417
0.783854
0.783854
0.783854
0.666667
0.666667
0.666667
0
0.24269
0.408048
2,311
58
390
39.844828
0.318713
0
0
0.666667
0
0
0.003462
0
0
0
0
0
0.051282
1
0.051282
false
0
0.051282
0
0.128205
0
0
0
0
null
0
0
0
0
1
1
0
0
1
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
6db510c92d24aae7e24aa0c949fd6c1c08e43285
6,483
py
Python
perfrunner/workloads/ycsb.py
bochun/perfrunner
e215c73240381cf82fddc40856f560369c9b75a8
[ "Apache-2.0" ]
18
2015-10-28T23:12:07.000Z
2022-01-04T14:23:37.000Z
perfrunner/workloads/ycsb.py
bochun/perfrunner
e215c73240381cf82fddc40856f560369c9b75a8
[ "Apache-2.0" ]
11
2019-03-19T12:02:31.000Z
2022-02-11T03:39:44.000Z
perfrunner/workloads/ycsb.py
bochun/perfrunner
e215c73240381cf82fddc40856f560369c9b75a8
[ "Apache-2.0" ]
39
2015-06-07T09:17:16.000Z
2022-03-06T20:32:01.000Z
from perfrunner.helpers.local import restart_memcached, run_ycsb from perfrunner.settings import PhaseSettings, TargetSettings def ycsb_data_load(workload_settings: PhaseSettings, target: TargetSettings, timer: int, instance: int): soe_params = None if ...
46.640288
92
0.681783
593
6,483
7.070826
0.168634
0.316718
0.040067
0.03005
0.774624
0.737181
0.737181
0.735035
0.688767
0.688767
0
0.001245
0.256826
6,483
138
93
46.978261
0.869033
0
0
0.666667
0
0
0.02468
0.011414
0
0
0
0
0
1
0.015873
false
0.02381
0.015873
0
0.031746
0
0
0
0
null
1
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
0
0
0
0
0
0
5
6dd70717ee1b8fc1056067f9ccd21594623d866a
661
py
Python
Smart calc/calc.py
df2204/training-folder
4661f125e842610404cf2c3e6830d78d0498fa26
[ "MIT" ]
null
null
null
Smart calc/calc.py
df2204/training-folder
4661f125e842610404cf2c3e6830d78d0498fa26
[ "MIT" ]
null
null
null
Smart calc/calc.py
df2204/training-folder
4661f125e842610404cf2c3e6830d78d0498fa26
[ "MIT" ]
null
null
null
print("hello") o= input ("input operation ") x= int(input ("x = ")) y= int(input ("y = ")) if o == "+": print (x+y) elif o == "-": print (x-y) elif o == "*" : print (x*y) elif o == "/" : if y==0 : print ("it's a simple calc, don't be too smart") else : print (x/y) elif o == "//" :...
22.033333
75
0.472012
107
661
2.915888
0.242991
0.051282
0.157051
0.211538
0.708333
0.708333
0.708333
0.650641
0.650641
0.650641
0
0.006726
0.325265
661
29
76
22.793103
0.692825
0
0
0.344828
0
0
0.320726
0
0
0
0
0
0
1
0
false
0
0
0
0
0.413793
0
0
0
null
0
0
1
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
5
6de2925c9dc3649e1c465e32e01fdb0869693e32
313
py
Python
irctest/scram/exceptions.py
FiskFan1999/ergochat_irctest
da005d7d2492bf31c4bdeb46108240766c69d0ad
[ "MIT" ]
16
2015-12-20T16:24:54.000Z
2021-06-03T18:00:03.000Z
irctest/scram/exceptions.py
FiskFan1999/ergochat_irctest
da005d7d2492bf31c4bdeb46108240766c69d0ad
[ "MIT" ]
66
2015-12-20T00:23:25.000Z
2021-08-14T09:57:04.000Z
irctest/scram/exceptions.py
FiskFan1999/ergochat_irctest
da005d7d2492bf31c4bdeb46108240766c69d0ad
[ "MIT" ]
3
2021-12-04T21:18:41.000Z
2022-03-22T01:42:36.000Z
class ScramException(Exception): pass class BadChallengeException(ScramException): pass class ExtraChallengeException(ScramException): pass class ServerScramError(ScramException): pass class BadSuccessException(ScramException): pass class NotAuthorizedException(ScramException): pass
17.388889
46
0.792332
24
313
10.333333
0.375
0.181452
0.370968
0
0
0
0
0
0
0
0
0
0.15016
313
17
47
18.411765
0.932331
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
1
null
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
0
1
1
0
0
0
0
0
5
0998d4118040ecbdae6ade511e0c92b1a9c293c1
27
py
Python
src/sage/graphs/generators/__init__.py
bopopescu/sage
2d495be78e0bdc7a0a635454290b27bb4f5f70f0
[ "BSL-1.0" ]
5
2015-01-04T07:15:06.000Z
2022-03-04T15:15:18.000Z
src/sage/graphs/generators/__init__.py
Ivo-Maffei/sage
467fbc70a08b552b3de33d9065204ee9cbfb02c7
[ "BSL-1.0" ]
2
2018-10-30T13:40:20.000Z
2020-07-23T12:13:30.000Z
src/sage/graphs/generators/__init__.py
dimpase/sage
468f23815ade42a2192b0a9cd378de8fdc594dcd
[ "BSL-1.0" ]
10
2016-09-28T13:12:40.000Z
2022-02-12T09:28:34.000Z
# This file is not empty !
13.5
26
0.666667
5
27
3.6
1
0
0
0
0
0
0
0
0
0
0
0
0.259259
27
1
27
27
0.9
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
09e19fe537b6aa641c8e8f54b2ea6eff63c1fdbd
50
py
Python
mvdnet/evaluation/__init__.py
qiank10/MVDNet
d83663df068183d1e606100adb0fc78c35f1141c
[ "Apache-2.0" ]
51
2021-03-05T08:20:27.000Z
2022-03-30T03:16:19.000Z
mvdnet/evaluation/__init__.py
qiank10/MVDNet
d83663df068183d1e606100adb0fc78c35f1141c
[ "Apache-2.0" ]
10
2021-04-04T09:07:44.000Z
2021-12-14T09:16:11.000Z
mvdnet/evaluation/__init__.py
qiank10/MVDNet
d83663df068183d1e606100adb0fc78c35f1141c
[ "Apache-2.0" ]
4
2021-03-08T01:49:33.000Z
2021-12-03T12:46:01.000Z
from .robotcar_evaluation import RobotCarEvaluator
50
50
0.92
5
50
9
1
0
0
0
0
0
0
0
0
0
0
0
0.06
50
1
50
50
0.957447
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
09e8355bc82186cdf9a94afdd31ef30230007eec
158
py
Python
apidaora/myapp.py
sarincr/Python-Web-Frameworks-and-Template-Engines
a830cafb0075539527688ea3c12e3e2d97d3519f
[ "MIT" ]
null
null
null
apidaora/myapp.py
sarincr/Python-Web-Frameworks-and-Template-Engines
a830cafb0075539527688ea3c12e3e2d97d3519f
[ "MIT" ]
null
null
null
apidaora/myapp.py
sarincr/Python-Web-Frameworks-and-Template-Engines
a830cafb0075539527688ea3c12e3e2d97d3519f
[ "MIT" ]
null
null
null
from apidaora import appdaora, route @route.get('/') def hello_controller(name: str) -> str: return f'Hello World!' app = appdaora(hello_controller)
15.8
39
0.708861
21
158
5.238095
0.714286
0.272727
0
0
0
0
0
0
0
0
0
0
0.164557
158
9
40
17.555556
0.833333
0
0
0
0
0
0.088608
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
5
09f4d42d6f26286c5c1ef69f2fb975726f81fa79
150
py
Python
src/you_get/cli_wrapper/player/__main__.py
adger-me/you-get
b32741ad8e57b3a02a1006d27e87eb5b879f1c90
[ "MIT" ]
46,956
2015-01-01T08:48:41.000Z
2022-03-31T13:38:03.000Z
src/you_get/cli_wrapper/player/__main__.py
adger-me/you-get
b32741ad8e57b3a02a1006d27e87eb5b879f1c90
[ "MIT" ]
2,477
2015-01-02T18:12:33.000Z
2022-03-31T10:44:24.000Z
src/you_get/cli_wrapper/player/__main__.py
adger-me/you-get
b32741ad8e57b3a02a1006d27e87eb5b879f1c90
[ "MIT" ]
10,750
2015-01-03T01:33:16.000Z
2022-03-31T06:36:28.000Z
#!/usr/bin/env python ''' WIP def main(): script_main('you-get', any_download, any_download_playlist) if __name__ == "__main__": main() '''
15
63
0.646667
20
150
4.25
0.75
0.258824
0
0
0
0
0
0
0
0
0
0
0.166667
150
9
64
16.666667
0.68
0.926667
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
0
0
0
0
0
0
0
0
0
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
09fb85c745573d94771db6cb539775578a370186
47
py
Python
apps/forms-flow-ai/forms-flow-api/tests/conf/__init__.py
saravanpa-aot/SBC_DivApps
87355ef93f8020b2c42f5392ff5d7b0129fa2222
[ "Apache-2.0" ]
132
2020-04-16T20:26:18.000Z
2022-03-30T12:39:50.000Z
apps/forms-flow-ai/forms-flow-api/tests/conf/__init__.py
saravanpa-aot/SBC_DivApps
87355ef93f8020b2c42f5392ff5d7b0129fa2222
[ "Apache-2.0" ]
102
2020-06-05T21:30:27.000Z
2022-03-30T04:53:25.000Z
apps/forms-flow-ai/forms-flow-api/tests/conf/__init__.py
saravanpa-aot/SBC_DivApps
87355ef93f8020b2c42f5392ff5d7b0129fa2222
[ "Apache-2.0" ]
91
2020-04-15T18:54:51.000Z
2022-03-29T04:58:49.000Z
"""Test-Suite for the configuration system."""
23.5
46
0.723404
6
47
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.106383
47
1
47
47
0.809524
0.851064
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
61ccf64925a4d55c203a566ed351ab1aec40bca1
90
py
Python
delivery/delivery/ext/site/__init__.py
alisonamerico/curso-flask
693b0009278de7662d5cf269ff0c21ccfc01eab2
[ "Unlicense" ]
null
null
null
delivery/delivery/ext/site/__init__.py
alisonamerico/curso-flask
693b0009278de7662d5cf269ff0c21ccfc01eab2
[ "Unlicense" ]
null
null
null
delivery/delivery/ext/site/__init__.py
alisonamerico/curso-flask
693b0009278de7662d5cf269ff0c21ccfc01eab2
[ "Unlicense" ]
null
null
null
from delivery.ext.site.main import bp def init_app(app): app.register_blueprint(bp)
15
37
0.755556
15
90
4.4
0.8
0.181818
0
0
0
0
0
0
0
0
0
0
0.144444
90
5
38
18
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
5
110f91c2ea844b71d6f314e8a6c23e696a73457c
137
py
Python
tests/test_wikipedia.py
cauliyang/test-poetry
d61c1c7648aaff0fe7667770fd35c7c8119caeac
[ "MIT" ]
null
null
null
tests/test_wikipedia.py
cauliyang/test-poetry
d61c1c7648aaff0fe7667770fd35c7c8119caeac
[ "MIT" ]
null
null
null
tests/test_wikipedia.py
cauliyang/test-poetry
d61c1c7648aaff0fe7667770fd35c7c8119caeac
[ "MIT" ]
null
null
null
from test_poetry import wikipedia def test_random_page_use_given_language(mock_requests_get): wikipedia.random_page(language="de")
22.833333
59
0.839416
20
137
5.3
0.75
0.188679
0
0
0
0
0
0
0
0
0
0
0.094891
137
5
60
27.4
0.854839
0
0
0
0
0
0.014599
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
114b5df4c79b729027d3f505c8f68ce44a832f41
2,873
py
Python
textadapter/tests/data/benchmarks.py
ContinuumIO/TextAdapter
53138c2277cdfcf32e127251313d4f77f81050aa
[ "BSD-3-Clause" ]
22
2016-11-09T12:20:04.000Z
2021-02-07T03:07:58.000Z
dbadapter/tests/data/benchmarks.py
ContinuumIO/DBAdapter
19a49b4963d50df27cc930cf27693f31fd8e0426
[ "BSD-3-Clause" ]
5
2017-03-11T00:37:15.000Z
2018-05-24T15:35:40.000Z
dbadapter/tests/data/benchmarks.py
ContinuumIO/DBAdapter
19a49b4963d50df27cc930cf27693f31fd8e0426
[ "BSD-3-Clause" ]
10
2017-10-10T23:15:00.000Z
2021-12-04T14:44:19.000Z
import timeit import os def timeFunction(function, setup): print 'timing', function t = timeit.Timer(stmt=function, setup=setup) times = [] for i in range(0,3): os.system('sudo sh -c "sync; echo 3 > /proc/sys/vm/drop_caches"') times.append(str(t.timeit(number=1))) return min(times)...
63.844444
199
0.705186
372
2,873
5.427419
0.180108
0.095097
0.106984
0.095097
0.618128
0.618128
0.618128
0.618128
0.618128
0.618128
0
0.067527
0.082492
2,873
44
200
65.295455
0.698407
0
0
0.117647
0
0.176471
0.630223
0.41922
0
0
0
0
0
0
null
null
0
0.588235
null
null
0.205882
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
1
0
0
0
1
0
0
0
0
5
fecd563f40dd85eeb0c2b6894a2a09e0c5ef2ae2
475
py
Python
3week/test_car_fuelling.py
gypsyx/algos-toolbox
d2eb2a975332b5a2ee451129c8569d97f99a2b11
[ "MIT" ]
null
null
null
3week/test_car_fuelling.py
gypsyx/algos-toolbox
d2eb2a975332b5a2ee451129c8569d97f99a2b11
[ "MIT" ]
null
null
null
3week/test_car_fuelling.py
gypsyx/algos-toolbox
d2eb2a975332b5a2ee451129c8569d97f99a2b11
[ "MIT" ]
null
null
null
from car_fueling_3 import * def test_compute_min_refills(): stops = [200, 375, 550, 750] assert compute_min_refills(950, 400, stops) == 2 stops = [1, 2, 5, 9] assert compute_min_refills(10, 3, stops) == -1 stops = [100, 150] assert compute_min_refills(200, 250, stops) == 0 stops = [100, ...
27.941176
53
0.637895
73
475
3.945205
0.410959
0.208333
0.354167
0.399306
0.277778
0.277778
0.277778
0.277778
0.277778
0
0
0.215259
0.227368
475
17
53
27.941176
0.569482
0
0
0.166667
0
0
0
0
0
0
0
0
0.416667
1
0.083333
false
0
0.083333
0
0.166667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
5
fefaf9b9ae4998c70d018dd8a35614c168274d05
2,317
py
Python
code/2_process_hearings/2_1_clean_hearings.py
ianpcook/info_transmission
f0533f7643f5d29fc31932d9f59fd46cbc1a333b
[ "CC0-1.0" ]
null
null
null
code/2_process_hearings/2_1_clean_hearings.py
ianpcook/info_transmission
f0533f7643f5d29fc31932d9f59fd46cbc1a333b
[ "CC0-1.0" ]
null
null
null
code/2_process_hearings/2_1_clean_hearings.py
ianpcook/info_transmission
f0533f7643f5d29fc31932d9f59fd46cbc1a333b
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Dec 10 18:14:42 2014 @author: ian """ """ This file opens the downloaded hearing files, and cleans out the HTML and other problematic content, then saves them as separate files. """ import os import fnmatch from bs4 import BeautifulSoup import codecs import re mydir = './d...
2,317
2,317
0.645231
313
2,317
4.731629
0.447284
0.018906
0.037812
0.018906
0.105334
0.105334
0.070223
0.070223
0.040513
0
0
0.015084
0.227449
2,317
1
2,317
2,317
0.812291
0.995252
0
0.081633
0
0
0.160777
0.045936
0
0
0
0
0
0
null
null
0
0.122449
null
null
0.142857
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
fefea9ffd9759541208b9b69f38aced2237f92e2
203
py
Python
PythonFiles/app.py
IamVaibhavsar/Python_Files
283d73929a3e11955c71499407c4f8bff56e4273
[ "MIT" ]
null
null
null
PythonFiles/app.py
IamVaibhavsar/Python_Files
283d73929a3e11955c71499407c4f8bff56e4273
[ "MIT" ]
null
null
null
PythonFiles/app.py
IamVaibhavsar/Python_Files
283d73929a3e11955c71499407c4f8bff56e4273
[ "MIT" ]
1
2019-07-26T15:25:21.000Z
2019-07-26T15:25:21.000Z
import usefulFunctions #importing the other file in a program #all the functions, variables of this file can be used in this file print(usefulFunctions.roll_dice()) print(usefulFunctions.friends)
29
68
0.793103
29
203
5.517241
0.724138
0.1
0
0
0
0
0
0
0
0
0
0
0.152709
203
7
69
29
0.930233
0.507389
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
5
3a0e13183c8b1e4268fa8a67f8c73872ed8f2538
245
py
Python
custom_exceptions.py
maxweldsouza/ceme
a5bc65d8502f196a2e14cf0a0dce9c3c6efa4b3d
[ "MIT" ]
null
null
null
custom_exceptions.py
maxweldsouza/ceme
a5bc65d8502f196a2e14cf0a0dce9c3c6efa4b3d
[ "MIT" ]
null
null
null
custom_exceptions.py
maxweldsouza/ceme
a5bc65d8502f196a2e14cf0a0dce9c3c6efa4b3d
[ "MIT" ]
null
null
null
class AlreadyExists(Exception): pass class NoRights(Exception): pass class EntryNotFound(Exception): pass class LoginFailed(Exception): pass # input validation """ Input validation """ class InvalidInput(Exception): pass
14.411765
31
0.722449
24
245
7.375
0.416667
0.367232
0.305085
0
0
0
0
0
0
0
0
0
0.187755
245
16
32
15.3125
0.889447
0.065306
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
3a1f7866fc87005ed243ac0c304a4393a6cec261
338
py
Python
src/plugins/getNow.py
Moyulingjiu/QQbot
cfdcee77de58215b4d05e59a1d8ea2462e091764
[ "Apache-2.0" ]
null
null
null
src/plugins/getNow.py
Moyulingjiu/QQbot
cfdcee77de58215b4d05e59a1d8ea2462e091764
[ "Apache-2.0" ]
null
null
null
src/plugins/getNow.py
Moyulingjiu/QQbot
cfdcee77de58215b4d05e59a1d8ea2462e091764
[ "Apache-2.0" ]
null
null
null
import datetime def toString(): curr_time = datetime.datetime.now() time_str = datetime.datetime.strftime(curr_time, '%Y-%m-%d %H:%M:%S') return time_str def getHour(): curr_time = datetime.datetime.now() return curr_time.hour def getMinute(): curr_time = datetime.datetime.now() return...
18.777778
73
0.686391
47
338
4.765957
0.404255
0.214286
0.214286
0.321429
0.486607
0.366071
0.366071
0.366071
0
0
0
0
0.183432
338
17
74
19.882353
0.811594
0
0
0.272727
0
0
0.050296
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0
0.636364
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
5