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
385d25fcb4fa88c316bef5c86d69d80aef42c4fe
1,370
py
Python
test/test_actors.py
sapka12/frogbot_py
7495e91f66d9e5db42a9bfa527a954429509a2e5
[ "Apache-2.0" ]
null
null
null
test/test_actors.py
sapka12/frogbot_py
7495e91f66d9e5db42a9bfa527a954429509a2e5
[ "Apache-2.0" ]
null
null
null
test/test_actors.py
sapka12/frogbot_py
7495e91f66d9e5db42a9bfa527a954429509a2e5
[ "Apache-2.0" ]
null
null
null
import time from actors import * if __name__ == '__main__': def wait(direction): print(direction) time.sleep(1) motor = MotorActor.start(action_with_direction=wait) state = StateActor.start(motor_actor_ref=motor) def scenario_1(): state.tell({ACTION: ADD_DIRECTION, DIRECTIO...
26.346154
65
0.616058
159
1,370
5.138365
0.213836
0.198286
0.330477
0.220318
0.723378
0.723378
0.723378
0.723378
0.723378
0.723378
0
0.008612
0.237226
1,370
51
66
26.862745
0.773206
0
0
0.555556
0
0
0.045985
0
0
0
0
0
0
1
0.138889
false
0
0.055556
0
0.194444
0.027778
0
0
0
null
0
1
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
38a3903fc76af3e3823ed3a994a20f4d5966a95e
208,274
py
Python
litespi/modules/generated_modules.py
thirtythreeforty/litespi
3f6b32b0b3b93a22b0e8c6eaa19556282251c3c5
[ "BSD-2-Clause" ]
null
null
null
litespi/modules/generated_modules.py
thirtythreeforty/litespi
3f6b32b0b3b93a22b0e8c6eaa19556282251c3c5
[ "BSD-2-Clause" ]
null
null
null
litespi/modules/generated_modules.py
thirtythreeforty/litespi
3f6b32b0b3b93a22b0e8c6eaa19556282251c3c5
[ "BSD-2-Clause" ]
null
null
null
# Generated using 'spi_nor_cfg_gen.py' from litespi.spi_nor_flash_module import SpiNorFlashModule from litespi.opcodes import SpiNorFlashOpCodes from litespi.ids import SpiNorFlashManufacturerIDs class X160S33B(SpiNorFlashModule): manufacturer_id = SpiNorFlashManufacturerIDs.INTEL device_id = 0x8911 name...
23.724114
59
0.655161
22,087
208,274
5.781591
0.035903
0.045999
0.029601
0.182681
0.915089
0.914744
0.913859
0.791524
0.790936
0.644113
0
0.130707
0.287621
208,274
8,778
60
23.726817
0.729966
0.027425
0
0.754914
1
0
0.021393
0
0
0
0.014077
0
0
1
0
false
0
0.000468
0
0.664587
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
10
2a2155ef7508c71c7a3c1d299eb2cb41cd26a9fc
29,042
py
Python
blogging.py
theoriginalgangster/SimpleAuth
b4cf1ce94c18d43ba3fe396f974eeef8d2a6dbd3
[ "MIT" ]
null
null
null
blogging.py
theoriginalgangster/SimpleAuth
b4cf1ce94c18d43ba3fe396f974eeef8d2a6dbd3
[ "MIT" ]
null
null
null
blogging.py
theoriginalgangster/SimpleAuth
b4cf1ce94c18d43ba3fe396f974eeef8d2a6dbd3
[ "MIT" ]
null
null
null
import redis import psycopg2 as pg import bcrypt import random import string import datetime import json DBHOST = "localhost" DBPORT = "5432" DBNAME = "simple_auth" DBUSER = "simple_auth" DBPASS = "simple_auth" REDISHOST = "localhost" REDISPORT = 6379 # Redis key timeout. # Timeout for session to remove ...
26.187556
241
0.631086
3,698
29,042
4.780422
0.086263
0.021722
0.036543
0.030546
0.802636
0.778934
0.761851
0.748897
0.737583
0.730739
0
0.012147
0.200606
29,042
1,108
242
26.211191
0.749311
0.213105
0
0.765882
0
0.009412
0.330258
0.056679
0
0
0
0.002708
0
0
null
null
0.014118
0.008235
null
null
0.003529
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
2a7f1b2d37c863b54685948ccbc79d7c12bbc311
25,931
py
Python
utils/arp_ips.py
HarrieO/2020topkunbiasedltr
f6e191a6cb6d52a375a1ec213e42dbbda8fdb8ff
[ "MIT" ]
4
2021-05-04T04:42:59.000Z
2021-10-06T09:41:28.000Z
utils/arp_ips.py
HarrieO/2020topkunbiasedltr
f6e191a6cb6d52a375a1ec213e42dbbda8fdb8ff
[ "MIT" ]
null
null
null
utils/arp_ips.py
HarrieO/2020topkunbiasedltr
f6e191a6cb6d52a375a1ec213e42dbbda8fdb8ff
[ "MIT" ]
null
null
null
# Copyright (C) H.R. Oosterhuis 2020. # Distributed under the MIT License (see the accompanying README.md and LICENSE files). import numpy as np import time import multi_click_models as clk def calc_true_loss(ranking_model, data_split): all_docs = data_split.feature_matrix all_scores = np.dot(all_docs, ranking_mo...
34.300265
126
0.618256
3,633
25,931
4.064134
0.058904
0.013884
0.021131
0.004876
0.828717
0.796004
0.759499
0.74128
0.72042
0.704775
0
0.015275
0.26532
25,931
756
127
34.300265
0.75975
0.034476
0
0.738983
0
0
0.045954
0
0
0
0
0
0.001695
1
0.028814
false
0
0.005085
0.001695
0.062712
0.015254
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
aa774ae6cfc9c041d8585dc35f9c0d4842c28ba4
152
py
Python
src/pretix/base/exporters/__init__.py
upsidedownpancake/pretix
bfeeb1028c9eccab4936029db7c38edd4cd5aad5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/pretix/base/exporters/__init__.py
upsidedownpancake/pretix
bfeeb1028c9eccab4936029db7c38edd4cd5aad5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/pretix/base/exporters/__init__.py
upsidedownpancake/pretix
bfeeb1028c9eccab4936029db7c38edd4cd5aad5
[ "ECL-2.0", "Apache-2.0" ]
1
2017-08-09T17:11:28.000Z
2017-08-09T17:11:28.000Z
from .answers import * # noqa from .invoices import * # noqa from .json import * # noqa from .mail import * # noqa from .orderlist import * # noqa
25.333333
32
0.671053
20
152
5.1
0.4
0.490196
0.54902
0
0
0
0
0
0
0
0
0
0.230263
152
5
33
30.4
0.871795
0.157895
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
aa9fd00bb9b943777133b360cb069bd1b9be8827
40
py
Python
exercicios-Python/ex001.py
marcelo-py/Exercicios-Python
d654d54821983897dbc377a2d3db97671dd75b5b
[ "MIT" ]
null
null
null
exercicios-Python/ex001.py
marcelo-py/Exercicios-Python
d654d54821983897dbc377a2d3db97671dd75b5b
[ "MIT" ]
null
null
null
exercicios-Python/ex001.py
marcelo-py/Exercicios-Python
d654d54821983897dbc377a2d3db97671dd75b5b
[ "MIT" ]
null
null
null
print('\033[1;33;45mOlá, mundo!\033[m')
20
39
0.65
8
40
3.25
0.875
0
0
0
0
0
0
0
0
0
0
0.289474
0.05
40
1
40
40
0.394737
0
0
0
0
0
0.75
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
8
aaaa1f7d7f5cf2285ef082456e4f02ad6746edf6
52,730
py
Python
dingtalk/python/alibabacloud_dingtalk/alitrip_1_0/client.py
aliyun/dingtalk-sdk
ab4f856b8cfe94f6b69f10a0730a2e5a7d4901c5
[ "Apache-2.0" ]
15
2020-08-27T04:10:26.000Z
2022-03-07T06:25:42.000Z
dingtalk/python/alibabacloud_dingtalk/alitrip_1_0/client.py
aliyun/dingtalk-sdk
ab4f856b8cfe94f6b69f10a0730a2e5a7d4901c5
[ "Apache-2.0" ]
1
2020-09-27T01:30:46.000Z
2021-12-29T09:15:34.000Z
dingtalk/python/alibabacloud_dingtalk/alitrip_1_0/client.py
aliyun/dingtalk-sdk
ab4f856b8cfe94f6b69f10a0730a2e5a7d4901c5
[ "Apache-2.0" ]
5
2020-08-27T04:07:44.000Z
2021-12-03T02:55:20.000Z
# -*- coding: utf-8 -*- # This file is auto-generated, don't edit it. Thanks. from Tea.core import TeaCore from alibabacloud_tea_openapi.client import Client as OpenApiClient from alibabacloud_tea_openapi import models as open_api_models from alibabacloud_tea_util.client import Client as UtilClient from alibabacloud_d...
50.653218
173
0.700284
5,762
52,730
6.013363
0.037834
0.028284
0.084851
0.096164
0.979942
0.966002
0.95515
0.94326
0.936795
0.916419
0
0.010546
0.214185
52,730
1,040
174
50.701923
0.825659
0.001517
0
0.838415
1
0
0.07265
0.02903
0
0
0
0
0
1
0.025407
false
0
0.007114
0
0.082317
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
aac5c05c8c25eb97073702ef09377f3747851dc2
176
py
Python
django_server/fvh_courier/rest/tests/__init__.py
ForumViriumHelsinki/CityLogistics
df4efef49bdc740a1dc47d0bda49ce2b3833e9c1
[ "MIT" ]
1
2021-11-02T03:21:48.000Z
2021-11-02T03:21:48.000Z
django_server/fvh_courier/rest/tests/__init__.py
ForumViriumHelsinki/CityLogistics
df4efef49bdc740a1dc47d0bda49ce2b3833e9c1
[ "MIT" ]
136
2019-12-03T14:52:17.000Z
2022-02-26T21:18:15.000Z
django_server/fvh_courier/rest/tests/__init__.py
ForumViriumHelsinki/CityLogistics
df4efef49bdc740a1dc47d0bda49ce2b3833e9c1
[ "MIT" ]
2
2020-06-23T23:58:08.000Z
2020-12-08T13:19:28.000Z
from .available_packages_tests import * # noqa from .outgoing_packages_tests import * # noqa from .reserved_packages_tests import * # noqa from .rest_tests import * # noqa
35.2
47
0.772727
23
176
5.608696
0.391304
0.341085
0.465116
0.534884
0.627907
0
0
0
0
0
0
0
0.159091
176
4
48
44
0.871622
0.107955
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
2af380581058306eaf70e3dd92e239d2c7dfc581
382
py
Python
terrascript/data/circonus.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/data/circonus.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/data/circonus.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/data/circonus.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:13:59 UTC) # # For imports without namespace, e.g. # # >>> import terrascript.data.circonus # # instead of # # >>> import terrascript.data.circonus-labs.circonus # # This is only available for 'official' and 'partner' prov...
25.466667
73
0.743455
51
382
5.54902
0.686275
0.212014
0.325088
0.204947
0.24735
0
0
0
0
0
0
0.036254
0.133508
382
14
74
27.285714
0.818731
0.790576
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
2d59dc46987b2971918f29c09b427d77d2e1be71
2,584
py
Python
river/metrics/hamming.py
mathco-wf/river
c6ff38fa4ce4843ede1cba77248e0370a67a36f6
[ "BSD-3-Clause" ]
2,184
2020-11-11T12:31:12.000Z
2022-03-31T16:45:41.000Z
river/metrics/hamming.py
raphaelsty/river
2e0b25a2ef2d2ba9ec080cf86a491f7465433b18
[ "BSD-3-Clause" ]
262
2020-11-11T17:15:47.000Z
2022-03-31T23:54:03.000Z
river/metrics/hamming.py
raphaelsty/river
2e0b25a2ef2d2ba9ec080cf86a491f7465433b18
[ "BSD-3-Clause" ]
240
2020-11-11T14:25:03.000Z
2022-03-31T08:25:50.000Z
import numpy as np from . import base __all__ = ["Hamming"] class Hamming(base.MultiOutputClassificationMetric): """Hamming score. The Hamming score is the fraction of labels that are correctly predicted. Parameters ---------- cm This parameter allows sharing the same confusion matrix ...
22.275862
99
0.535604
308
2,584
4.422078
0.243506
0.036711
0.044053
0.058737
0.762115
0.762115
0.762115
0.762115
0.762115
0.762115
0
0.034286
0.322755
2,584
115
100
22.469565
0.744
0.576238
0
0.709677
0
0
0.007955
0
0
0
0
0
0
1
0.193548
false
0
0.064516
0.129032
0.580645
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
8
2d7bcbf53bd132114eaf2d5be9e2efbe5a2a41de
25,348
py
Python
django/bosscore/test/test_permission_views.py
ArnaudGallardo/boss
c0d3bbca31575ac5442822b8d7f962def32d9072
[ "Apache-2.0" ]
20
2016-05-16T21:08:13.000Z
2021-11-16T11:50:19.000Z
django/bosscore/test/test_permission_views.py
ArnaudGallardo/boss
c0d3bbca31575ac5442822b8d7f962def32d9072
[ "Apache-2.0" ]
31
2016-10-28T17:51:11.000Z
2022-02-10T08:07:31.000Z
django/bosscore/test/test_permission_views.py
ArnaudGallardo/boss
c0d3bbca31575ac5442822b8d7f962def32d9072
[ "Apache-2.0" ]
12
2016-10-28T17:47:01.000Z
2021-05-18T23:47:06.000Z
# Copyright 2016 The Johns Hopkins University Applied Physics Laboratory # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
32.791721
105
0.571051
2,530
25,348
5.617391
0.067194
0.048551
0.101956
0.126513
0.920208
0.912679
0.905502
0.890656
0.884112
0.873135
0
0.019276
0.29596
25,348
772
106
32.834197
0.777093
0.124507
0
0.828157
0
0
0.197244
0.058668
0
0
0
0
0.142857
1
0.080745
false
0
0.010352
0
0.097308
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
2dde91e508d9bdf7343d1509871d0b8c7bec8a5d
18,439
py
Python
tests/ut/python/tests/test_model_context.py
mindspore-ai/serving
e32d989ce629b4bdbbf3f16fefb02b28dce2dc4c
[ "Apache-2.0" ]
157
2020-12-10T09:42:48.000Z
2021-12-02T09:27:48.000Z
tests/ut/python/tests/test_model_context.py
mindspore-ai/serving
e32d989ce629b4bdbbf3f16fefb02b28dce2dc4c
[ "Apache-2.0" ]
1
2021-12-08T11:39:59.000Z
2022-01-17T09:09:54.000Z
tests/ut/python/tests/test_model_context.py
mindspore-ai/serving
e32d989ce629b4bdbbf3f16fefb02b28dce2dc4c
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
39.653763
120
0.701719
2,454
18,439
5.025672
0.098207
0.060083
0.045407
0.059029
0.841725
0.800373
0.765102
0.73056
0.706154
0.693586
0
0.029692
0.185368
18,439
464
121
39.739224
0.791359
0.124953
0
0.754777
0
0
0.482826
0.212537
0
0
0
0
0.149682
1
0.041401
false
0
0.130573
0
0.203822
0.022293
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
2de4b0a01f1325775ad183101e54631782a82194
231
py
Python
setup_python_package/badges/__init__.py
LucaCappelletti94/setup_python_package
61b5f3cff1ed3181f932293c63c4fcb71cbe0062
[ "MIT" ]
5
2019-09-17T14:46:35.000Z
2020-06-06T08:17:02.000Z
setup_python_package/badges/__init__.py
LucaCappelletti94/setup_python_package
61b5f3cff1ed3181f932293c63c4fcb71cbe0062
[ "MIT" ]
2
2020-12-18T01:47:55.000Z
2020-12-25T10:08:30.000Z
setup_python_package/badges/__init__.py
LucaCappelletti94/setup_python_package
61b5f3cff1ed3181f932293c63c4fcb71cbe0062
[ "MIT" ]
null
null
null
from .add_badge import badge_exists, load_badges, add_badge, validate_badge_generator, extract_image_url __all__ = [ "badge_exists", "load_badges", "add_badge", "validate_badge_generator", "extract_image_url" ]
25.666667
104
0.744589
29
231
5.275862
0.448276
0.156863
0.196078
0.27451
0.862745
0.862745
0.862745
0.862745
0.862745
0.862745
0
0
0.160173
231
9
105
25.666667
0.78866
0
0
0
0
0
0.314655
0.103448
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
1
0
0
null
0
1
1
1
1
1
1
1
1
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
10
2de4ec7649eb5ac5dd6a266b6f6b082f13a04977
23,139
py
Python
python/StudentList.ui.py
alielmorsy/CollegeSystem
634f50002f31f805cd428538f63a754f32d16e7a
[ "Apache-2.0" ]
null
null
null
python/StudentList.ui.py
alielmorsy/CollegeSystem
634f50002f31f805cd428538f63a754f32d16e7a
[ "Apache-2.0" ]
null
null
null
python/StudentList.ui.py
alielmorsy/CollegeSystem
634f50002f31f805cd428538f63a754f32d16e7a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'StudentList.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow...
57.416873
127
0.692727
2,498
23,139
6.406725
0.078062
0.101975
0.103287
0.115471
0.831292
0.821607
0.817796
0.791802
0.791802
0.789615
0
0.027059
0.191841
23,139
402
128
57.559701
0.82877
0.007995
0
0.534884
1
0
0.008916
0
0
0
0
0
0
1
0.005168
false
0
0.005168
0
0.01292
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
fa79e025e0c0006ec081d79a163463cdc1c4b17a
4,154
py
Python
evkit/utils/viz/rl.py
joel99/midlevel-reps
f0b4a4d8ccf09a0488cd18af24723172aff99446
[ "MIT" ]
120
2019-04-22T04:45:28.000Z
2022-03-23T01:53:17.000Z
evkit/utils/viz/rl.py
joel99/midlevel-reps
f0b4a4d8ccf09a0488cd18af24723172aff99446
[ "MIT" ]
14
2019-06-12T08:21:21.000Z
2021-08-25T15:36:58.000Z
evkit/utils/viz/rl.py
joel99/midlevel-reps
f0b4a4d8ccf09a0488cd18af24723172aff99446
[ "MIT" ]
19
2019-06-19T07:00:36.000Z
2022-03-24T07:18:30.000Z
from .core import rescale_image import matplotlib.pyplot as plt import numpy as np import torch def plot_stacked_frames(stacked_observations, rollout_idx=0, axis_order='RCWH', im_val_scale=(0.0, 1.0), noshow=False): ''' Parameters: stacked_obs: a StackedObservationStorage object rollout_idx: which...
41.959596
119
0.639384
578
4,154
4.434256
0.16782
0.042138
0.04565
0.009364
0.874366
0.841202
0.841202
0.831057
0.831057
0.831057
0
0.027511
0.247472
4,154
99
120
41.959596
0.792386
0.173086
0
0.771429
0
0
0.05454
0
0
0
0
0
0.042857
1
0.042857
false
0
0.071429
0
0.114286
0.014286
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
faabd22908b9fbbcd541b9f6689e84ccb55e5aca
5,498
py
Python
tests/data/test_roll.py
maki-nage/rxsci
64c9956752cbdd4c65aa9f054b6b28318a056625
[ "MIT" ]
3
2021-05-03T13:40:46.000Z
2022-03-06T07:59:30.000Z
tests/data/test_roll.py
maki-nage/rxsci
64c9956752cbdd4c65aa9f054b6b28318a056625
[ "MIT" ]
9
2020-10-22T21:08:10.000Z
2021-08-05T09:01:26.000Z
tests/data/test_roll.py
maki-nage/rxsci
64c9956752cbdd4c65aa9f054b6b28318a056625
[ "MIT" ]
2
2021-01-05T16:48:54.000Z
2021-08-07T12:51:01.000Z
import rx import rx.operators as ops import rxsci as rs from ..utils import on_probe_state_topology def test_roll(): source = [ rs.OnCreateMux((1,)), rs.OnNextMux((1,), 1), rs.OnNextMux((1,), 2), rs.OnNextMux((1,), 3), rs.OnNextMux((1,), 4), rs.OnNextMux((1,), 5), ...
27.083744
70
0.548381
693
5,498
4.181818
0.08658
0.091787
0.086957
0.037267
0.900621
0.849551
0.830228
0.816425
0.81539
0.772602
0
0.041385
0.274827
5,498
202
71
27.217822
0.685478
0
0
0.725
0
0
0
0
0
0
0
0
0.075
1
0.0625
false
0
0.025
0
0.0875
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
fabb9304670100fdfece1a33c498042276288c86
5,294
py
Python
ch_12/tests/test_cards.py
real-slim-chadi/Python-Object-Oriented-Programming---4th-edition
7c486866171786b620795fa33a79ec9ac9a8ba1b
[ "MIT" ]
43
2021-06-03T18:39:09.000Z
2022-03-29T20:32:13.000Z
ch_12/tests/test_cards.py
real-slim-chadi/Python-Object-Oriented-Programming---4th-edition
7c486866171786b620795fa33a79ec9ac9a8ba1b
[ "MIT" ]
9
2022-03-12T01:04:07.000Z
2022-03-12T01:05:01.000Z
ch_12/tests/test_cards.py
real-slim-chadi/Python-Object-Oriented-Programming---4th-edition
7c486866171786b620795fa33a79ec9ac9a8ba1b
[ "MIT" ]
36
2021-06-19T07:14:09.000Z
2022-03-12T22:17:09.000Z
""" Python 3 Object-Oriented Programming Chapter 12. Advanced Python Design Patterns """ from pytest import * import card_games def test_cribbage_hand(): factory = card_games.CribbageFactory() cards = [ factory.make_card(5, card_games.Suit.Clubs), factory.make_card(5, card_games.Suit.Diamonds)...
36.510345
66
0.68266
695
5,294
4.94964
0.089209
0.219767
0.218023
0.125581
0.882558
0.882558
0.882558
0.856977
0.827616
0.815116
0
0.014554
0.195315
5,294
144
67
36.763889
0.792958
0.0153
0
0.674419
0
0
0
0
0
0
0
0
0.077519
1
0.077519
false
0
0.015504
0
0.093023
0
0
0
0
null
1
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
fae5b1b2b27215f24c172ee008794bdc02fbb184
556
py
Python
Backend/autonomus/controllers/__init__.py
IrinaMBejan/Autonom
4a97da1b26ed22e3ec8bb939359148765392b692
[ "MIT" ]
2
2019-03-08T10:04:35.000Z
2020-03-14T15:24:56.000Z
Backend/autonomus/controllers/__init__.py
IrinaMBejan/Autonom
4a97da1b26ed22e3ec8bb939359148765392b692
[ "MIT" ]
null
null
null
Backend/autonomus/controllers/__init__.py
IrinaMBejan/Autonom
4a97da1b26ed22e3ec8bb939359148765392b692
[ "MIT" ]
2
2019-03-16T14:47:36.000Z
2020-04-28T14:09:45.000Z
from .events_controller import get_all_events, get_event, update_event from .tags_controller import add_tag, get_all_tags, get_tag from .users_controller import Roles, remove_token, add_tag_to_user from .users_controller import add_user, exists_user, get_user_role, get_users from .users_controller import generate_token...
61.777778
82
0.877698
90
556
4.933333
0.255556
0.288288
0.213964
0.281532
0.331081
0
0
0
0
0
0
0
0.082734
556
8
83
69.5
0.870588
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
faeb64836f99f68c680034bf6e6433eb18d8540e
3,620
py
Python
tests/parse_tests/statement_reduction_tests/question_mark_parse_test.py
alexmakii/bslint
0795467166ca10c362fecc12ac17765cb85b659b
[ "BSD-3-Clause" ]
null
null
null
tests/parse_tests/statement_reduction_tests/question_mark_parse_test.py
alexmakii/bslint
0795467166ca10c362fecc12ac17765cb85b659b
[ "BSD-3-Clause" ]
null
null
null
tests/parse_tests/statement_reduction_tests/question_mark_parse_test.py
alexmakii/bslint
0795467166ca10c362fecc12ac17765cb85b659b
[ "BSD-3-Clause" ]
1
2017-04-12T09:39:54.000Z
2017-04-12T09:39:54.000Z
import unittest import bslint.constants as const from tests.resources.common.test_methods import CommonMethods as Common class TestQuestionMarkParse(unittest.TestCase): @classmethod def setUpClass(cls): cls.common = Common() def test_question_mark_value(self): self.common.match_statement(...
38.510638
84
0.741436
513
3,620
4.836257
0.107212
0.079
0.158001
0.191455
0.873841
0.827489
0.794841
0.76582
0.719871
0.667876
0
0.011692
0.149448
3,620
93
85
38.924731
0.794089
0
0
0
0
0
0.051105
0
0
0
0
0
0
1
0.460317
false
0
0.047619
0
0.52381
0.015873
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
9
4f0aa28a4cd1aa1cc4db0528e47e9460b7856836
5,876
py
Python
mininet_dev/python_networking/traffic_generator_thread.py
dschoonwinkel/MininetNetworkHelp
48cddd94f84be3927c15926f1c046a99f36cefd2
[ "Apache-2.0" ]
null
null
null
mininet_dev/python_networking/traffic_generator_thread.py
dschoonwinkel/MininetNetworkHelp
48cddd94f84be3927c15926f1c046a99f36cefd2
[ "Apache-2.0" ]
null
null
null
mininet_dev/python_networking/traffic_generator_thread.py
dschoonwinkel/MininetNetworkHelp
48cddd94f84be3927c15926f1c046a99f36cefd2
[ "Apache-2.0" ]
null
null
null
import cope_packet import threading import time import coding_utils import network_utils import sys interface = "eth0" dest_ip = "10.0.0.1" dest_hwaddr = "ff:ff:ff:ff:ff:ff" def read_data_from_file(f1, payload_len): data = f1.read(payload_len) # coding_utils.print_hex("Hexdata", data) return data ...
83.942857
3,887
0.711198
1,236
5,876
3.317961
0.080906
0.705194
1.055596
1.407462
0.747135
0.719824
0.719824
0.705194
0.705194
0.705194
0
0.184412
0.087304
5,876
70
3,888
83.942857
0.580272
0.725664
0
0
0
0
0.065584
0
0
1
0
0
0
0
null
null
0
0.133333
null
null
0.066667
0
0
0
null
1
1
1
0
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
11
877f072f9a12bdd37d7632c169cb719c2c71f387
4,049
py
Python
test/unit/extra/changelog/logic/test_extract_changelog_items.py
novopl/peltak
7c8ac44f994d923091a534870960fdae1e15e95e
[ "Apache-2.0" ]
6
2015-09-10T13:20:34.000Z
2021-02-15T08:10:27.000Z
test/unit/extra/changelog/logic/test_extract_changelog_items.py
novopl/peltak
7c8ac44f994d923091a534870960fdae1e15e95e
[ "Apache-2.0" ]
41
2015-09-09T12:44:55.000Z
2021-06-01T23:25:56.000Z
test/unit/extra/changelog/logic/test_extract_changelog_items.py
novopl/peltak
7c8ac44f994d923091a534870960fdae1e15e95e
[ "Apache-2.0" ]
null
null
null
# pylint: disable=missing-docstring import pytest from peltak.extra.changelog import logic from peltak.extra.changelog.types import ChangelogTag from peltak import testing @pytest.mark.parametrize('header,tag', [ ('Features', 'feature'), ('Changes', 'change'), ('Fixes', 'fix'), ]) @testing.patch_pelconf(...
29.34058
84
0.611509
498
4,049
4.891566
0.150602
0.051724
0.065681
0.039409
0.811166
0.754105
0.740148
0.740148
0.740148
0.713875
0
0.005702
0.220301
4,049
137
85
29.554745
0.765917
0.00815
0
0.798165
0
0
0.289736
0
0
0
0
0
0.165138
1
0.055046
false
0
0.036697
0
0.091743
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
87a90597fb6ddd76a5c46f1b0496556057c532df
19,293
py
Python
tests/test_pydemux.py
blockrepublictech/py-demux-eos
7877bc960dcdea966b4d5a4bbe6392bd8c2bc253
[ "Apache-2.0" ]
4
2018-12-07T20:50:56.000Z
2019-02-21T14:37:29.000Z
tests/test_pydemux.py
blockrepublictech/py-demux-eos
7877bc960dcdea966b4d5a4bbe6392bd8c2bc253
[ "Apache-2.0" ]
2
2018-12-11T03:21:31.000Z
2018-12-11T05:41:48.000Z
tests/test_pydemux.py
blockrepublictech/py-demux-eos
7877bc960dcdea966b4d5a4bbe6392bd8c2bc253
[ "Apache-2.0" ]
null
null
null
# py-demux-eos - Deterministic event-sourced state and side effect handling for blockchain applications # Copyright (C) 2018 BlockRepublic Pty Ltd # Licenced under the Apache 2.0 Licence import unittest import pytest from unittest.mock import Mock, patch, call from demuxeos import Demux from demuxeos.exceptions import...
47.992537
146
0.611517
2,270
19,293
4.811013
0.074449
0.062265
0.048347
0.090102
0.901108
0.893508
0.892226
0.889387
0.889387
0.884351
0
0.051472
0.313222
19,293
401
147
48.112219
0.772755
0.150417
0
0.821561
0
0
0.132492
0.068826
0
0
0
0
0.252788
1
0.040892
false
0
0.026022
0
0.070632
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
87d4e2c45a7ccfa2de27bbc6547430cb08f7ab98
5,643
py
Python
tests/test_auth/test_client.py
ricohapi/ricoh-cloud-sdk-python
740d778c678e6097e3c35478545cbf283276a7ee
[ "MIT" ]
2
2018-08-14T21:01:07.000Z
2019-12-16T07:21:09.000Z
tests/test_auth/test_client.py
ricohapi/ricoh-cloud-sdk-python
740d778c678e6097e3c35478545cbf283276a7ee
[ "MIT" ]
null
null
null
tests/test_auth/test_client.py
ricohapi/ricoh-cloud-sdk-python
740d778c678e6097e3c35478545cbf283276a7ee
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2017 Ricoh Co., Ltd. All Rights Reserved. import json from unittest import TestCase import mock import pytest from requests.exceptions import RequestException from ricohcloudsdk.auth.client import AuthClient ENDPOINT = 'https://auth.api.ricoh/v1/token' SCOPE = 'ips.api.ricoh/v1...
31.52514
101
0.616516
646
5,643
5.142415
0.153251
0.069235
0.066526
0.082179
0.852498
0.829922
0.789585
0.746839
0.72637
0.72637
0
0.005532
0.263158
5,643
178
102
31.702247
0.79341
0.013645
0
0.719178
0
0.006849
0.12709
0.015999
0
0
0
0
0.068493
1
0.136986
false
0.013699
0.041096
0
0.212329
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
87ee5a633670f6f81818c998480852d4f1b4b21d
262
py
Python
mg_approval/wizard/__init__.py
divyapy/odoo
a4b796fc8a9d291ff1b4c93e53e27f566947adf2
[ "MIT" ]
null
null
null
mg_approval/wizard/__init__.py
divyapy/odoo
a4b796fc8a9d291ff1b4c93e53e27f566947adf2
[ "MIT" ]
null
null
null
mg_approval/wizard/__init__.py
divyapy/odoo
a4b796fc8a9d291ff1b4c93e53e27f566947adf2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from . import purchase_action_dashboard_wizard from . import po_details_wizard from . import create_tender from . import pr_approve_wizard from . import pr_reject_wizard from . import pr_withdraw_wizard from . import create_single_source
29.111111
46
0.812977
38
262
5.236842
0.5
0.351759
0.40201
0.221106
0
0
0
0
0
0
0
0.004367
0.125954
262
9
47
29.111111
0.864629
0.080153
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
87f8597d74baf6e77145c7645d8fbfec20709996
17,530
py
Python
src/genie/libs/parser/iosxe/tests/ShowIsisRib/cli/equal/golden_output_13_expected.py
ykoehler/genieparser
b62cf622c3d8eab77c7b69e932c214ed04a2565a
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowIsisRib/cli/equal/golden_output_13_expected.py
ykoehler/genieparser
b62cf622c3d8eab77c7b69e932c214ed04a2565a
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowIsisRib/cli/equal/golden_output_13_expected.py
ykoehler/genieparser
b62cf622c3d8eab77c7b69e932c214ed04a2565a
[ "Apache-2.0" ]
null
null
null
expected_output = { "tag": { "1": { "topo_type": "unicast", "topo_name": "base", "tid": 0, "topo_id": "0x0", "flex_algo": { 128: { "prefix": { "2.2.2.2": { "pre...
60.24055
84
0.115801
578
17,530
3.240484
0.129758
0.201815
0.067272
0.064602
0.928991
0.896423
0.854245
0.854245
0.854245
0.854245
0
0.07194
0.824758
17,530
291
85
60.24055
0.53776
0
0
0.697595
0
0
0.094689
0
0
0
0.000171
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
1
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
8
e21123484b6f7f78e6edc5a38b68ea895d9056bc
2,361
py
Python
tests/test_utils.py
rohankumardubey/configurationfileValidator
0acd1eccda6cd71c69d2ae33166a16a257685811
[ "MIT" ]
null
null
null
tests/test_utils.py
rohankumardubey/configurationfileValidator
0acd1eccda6cd71c69d2ae33166a16a257685811
[ "MIT" ]
null
null
null
tests/test_utils.py
rohankumardubey/configurationfileValidator
0acd1eccda6cd71c69d2ae33166a16a257685811
[ "MIT" ]
null
null
null
import unittest import yaml from confirm import utils class LoadConfigFileTestCase(unittest.TestCase): def test_yaml(self): config_file = """ section: option=value """ config_file_path = 'schema.yaml' loaded_config = utils.load_config_file(config_file_path, co...
28.445783
96
0.651419
271
2,361
5.306273
0.132841
0.299026
0.175243
0.125174
0.871349
0.853268
0.7879
0.7879
0.762865
0.732962
0
0
0.246929
2,361
82
97
28.792683
0.808774
0
0
0.655172
0
0
0.202033
0.021177
0
0
0
0
0.155172
1
0.103448
false
0
0.051724
0
0.172414
0
0
0
0
null
1
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
35c351756ef60314e29398f1648129964e5909a9
72
py
Python
python/src/test/resources/pyfunc/numpy_random1_test.py
maropu/lljvm-translator
322fbe24a27976948c8e8081a9552152dda58b4b
[ "Apache-2.0" ]
70
2017-12-12T10:54:00.000Z
2022-03-22T07:45:19.000Z
python/src/test/resources/pyfunc/numpy_random1_test.py
maropu/lljvm-as
322fbe24a27976948c8e8081a9552152dda58b4b
[ "Apache-2.0" ]
14
2018-02-28T01:29:46.000Z
2019-12-10T01:42:22.000Z
python/src/test/resources/pyfunc/numpy_random1_test.py
maropu/lljvm-as
322fbe24a27976948c8e8081a9552152dda58b4b
[ "Apache-2.0" ]
4
2019-07-21T07:58:25.000Z
2021-02-01T09:46:59.000Z
import numpy as np def numpy_random1_test(): return np.random.ranf()
14.4
25
0.75
12
72
4.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.016393
0.152778
72
4
26
18
0.836066
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
ea785a5fced985133b6770b9bfffb1026f82ccc2
97,734
py
Python
No_1277_Count Square Submatrices with All Ones/count_square_submatrices_with_all_ones_by_integral_image.py
coderMaruf/leetcode-1
20ffe26e43999e44c8acf9800acb371a49bb5853
[ "MIT" ]
32
2020-01-05T13:37:16.000Z
2022-03-26T07:27:09.000Z
No_1277_Count Square Submatrices with All Ones/count_square_submatrices_with_all_ones_by_integral_image.py
coderMaruf/leetcode-1
20ffe26e43999e44c8acf9800acb371a49bb5853
[ "MIT" ]
null
null
null
No_1277_Count Square Submatrices with All Ones/count_square_submatrices_with_all_ones_by_integral_image.py
coderMaruf/leetcode-1
20ffe26e43999e44c8acf9800acb371a49bb5853
[ "MIT" ]
8
2020-06-18T16:17:27.000Z
2022-03-15T23:58:18.000Z
from typing import List class Solution: def countSquares(self, matrix: List[List[int]]) -> int: square_counter = 0 h, w = len(matrix), len(matrix[0]) size = min(h, w) integral_image = [ [0 for _ in range(w)] for _ in range(h) ] ...
849.86087
94,697
0.493973
47,418
97,734
1.017398
0.001814
0.493875
0.377029
0.254213
0.980557
0.978235
0.97666
0.97666
0.97666
0.976473
0
0.490589
0.016627
97,734
115
94,698
849.86087
0.011373
0.004236
0
0.214286
0
0
0.000236
0
0
0
0
0
0
1
0.035714
false
0
0.035714
0
0.125
0.017857
0
0
1
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
14
ea8195bf300ad57d63f78ff2609600361b23a24e
49
py
Python
network/backbone/__init__.py
Ezreal-XD/Neat-Segmentation-Networks
1bf0cccc7f0663950572713f0cd05a228ce8abaa
[ "MIT" ]
null
null
null
network/backbone/__init__.py
Ezreal-XD/Neat-Segmentation-Networks
1bf0cccc7f0663950572713f0cd05a228ce8abaa
[ "MIT" ]
null
null
null
network/backbone/__init__.py
Ezreal-XD/Neat-Segmentation-Networks
1bf0cccc7f0663950572713f0cd05a228ce8abaa
[ "MIT" ]
null
null
null
from . import resnet from . import mobilenetv2
16.333333
26
0.755102
6
49
6.166667
0.666667
0.540541
0
0
0
0
0
0
0
0
0
0.025641
0.204082
49
2
27
24.5
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
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
ea871d2f2c1f06c684ee07ef6f11ff030c3b78f7
205
py
Python
website/preprints/views.py
gaybro8777/osf.io
30408511510a40bc393565817b343ef5fd76ab14
[ "Apache-2.0" ]
628
2015-01-15T04:33:22.000Z
2022-03-30T06:40:10.000Z
website/preprints/views.py
gaybro8777/osf.io
30408511510a40bc393565817b343ef5fd76ab14
[ "Apache-2.0" ]
4,712
2015-01-02T01:41:53.000Z
2022-03-30T14:18:40.000Z
website/preprints/views.py
Johnetordoff/osf.io
de10bf249c46cede04c78f7e6f7e352c69e6e6b5
[ "Apache-2.0" ]
371
2015-01-12T16:14:08.000Z
2022-03-31T18:58:29.000Z
# -*- coding: utf-8 -*- from framework.flask import redirect # VOL-aware redirect def preprint_landing_page(**kwargs): return {} def preprint_redirect(**kwargs): return redirect('/preprints/')
20.5
58
0.697561
24
205
5.833333
0.708333
0.157143
0
0
0
0
0
0
0
0
0
0.00578
0.156098
205
9
59
22.777778
0.803468
0.195122
0
0
0
0
0.067901
0
0
0
0
0
0
1
0.4
true
0
0.2
0.4
1
0.6
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
1
0
7
5785a98cf9cc33d00abace8cedd058ec0b38e504
163
py
Python
labdrivers/quantumdesign/__init__.py
pbnjeff89/labdrivers
1091b9f746a5a011d94cd63abf5010fc8cde1556
[ "MIT" ]
12
2016-10-14T09:50:32.000Z
2022-03-28T00:36:31.000Z
labdrivers/quantumdesign/__init__.py
pbnjeff89/labdrivers
1091b9f746a5a011d94cd63abf5010fc8cde1556
[ "MIT" ]
21
2016-04-13T20:03:36.000Z
2019-09-25T13:00:52.000Z
labdrivers/quantumdesign/__init__.py
pbnjeff89/labdrivers
1091b9f746a5a011d94cd63abf5010fc8cde1556
[ "MIT" ]
3
2017-08-30T02:01:27.000Z
2020-03-04T01:50:52.000Z
from .qdinstrument import Dynacool from .qdinstrument import Ppms from .qdinstrument import Svsm from .qdinstrument import VersaLab from .qdinstrument import Mpms
27.166667
34
0.846626
20
163
6.9
0.4
0.57971
0.797101
0
0
0
0
0
0
0
0
0
0.122699
163
5
35
32.6
0.965035
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
57fd54e6dd4ff1a9d696286f2c0b23ffd2f79ca3
36,245
py
Python
azure-iot-provisioning-servicesdk/azure/iot/provisioning/servicesdk/protocol/provisioning_service_client.py
olivakar/azure-iot-sdk-python-preview
636855716a362bad1623983026666b5f91c22825
[ "MIT" ]
6
2019-03-19T18:53:55.000Z
2020-02-23T18:29:57.000Z
azure-iot-provisioning-servicesdk/azure/iot/provisioning/servicesdk/protocol/provisioning_service_client.py
noopkat/azure-iot-sdk-python-preview
f51733e9d3424c33ed86d51e214b20c843716763
[ "MIT" ]
null
null
null
azure-iot-provisioning-servicesdk/azure/iot/provisioning/servicesdk/protocol/provisioning_service_client.py
noopkat/azure-iot-sdk-python-preview
f51733e9d3424c33ed86d51e214b20c843716763
[ "MIT" ]
1
2019-04-11T15:56:50.000Z
2019-04-11T15:56:50.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
40.361915
116
0.671099
3,646
36,245
6.459956
0.052935
0.045514
0.021653
0.021229
0.904683
0.892795
0.887063
0.870675
0.862862
0.86248
0
0.003236
0.241192
36,245
897
117
40.406912
0.853143
0.316982
0
0.770302
1
0
0.093615
0.015057
0
0
0
0
0
1
0.037123
false
0
0.011601
0
0.111369
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
17cb65026e91ab819e5e04fdf6f7ec4a60c4e4b9
5,144
py
Python
tests/test_cmd_training_init.py
pvanheus/planemo
12c4256325bb1b274dcd40d64b91c1f832cf49b1
[ "CC-BY-3.0" ]
73
2015-01-03T15:09:26.000Z
2022-03-30T23:52:55.000Z
tests/test_cmd_training_init.py
pvanheus/planemo
12c4256325bb1b274dcd40d64b91c1f832cf49b1
[ "CC-BY-3.0" ]
958
2015-01-02T08:27:45.000Z
2022-03-23T14:51:51.000Z
tests/test_cmd_training_init.py
jmchilton/planemo
d352a085fe10cb6b7c1384663b114201da42d97b
[ "CC-BY-3.0" ]
84
2015-01-06T18:27:28.000Z
2021-11-18T01:58:17.000Z
"""Tests for the ``training_init`` command.""" import os from .test_utils import ( CliTestCase, skip_if_environ, TEST_DATA_DIR ) class CmdTrainingInitTestCase(CliTestCase): """Container class defining test cases for the ``training_init`` command.""" @skip_if_environ("PLANEMO_SKIP_GALAXY_TESTS") ...
38.969697
98
0.566291
528
5,144
5.096591
0.151515
0.205128
0.254181
0.188034
0.819398
0.800818
0.758454
0.758454
0.730955
0.730955
0
0.007196
0.32465
5,144
131
99
39.267176
0.767415
0.127138
0
0.601942
0
0
0.225428
0.044635
0
0
0
0
0
1
0.067961
false
0
0.019417
0
0.097087
0
0
0
0
null
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
17dcdec873c4fdf82972b1527550010a61eb050d
329
py
Python
intralinks_test/folders_v1_test.py
ilapi/intralinks-sdk-python
dcf789d874d907833aa48557309c3e12e4703a4e
[ "MIT" ]
3
2019-02-28T14:46:54.000Z
2021-01-07T22:41:35.000Z
intralinks_test/folders_v1_test.py
ilapi/intralinks-sdk-python
dcf789d874d907833aa48557309c3e12e4703a4e
[ "MIT" ]
5
2018-12-12T10:08:18.000Z
2018-12-17T13:45:56.000Z
intralinks_test/folders_v1_test.py
ilapi/intralinks-sdk-python
dcf789d874d907833aa48557309c3e12e4703a4e
[ "MIT" ]
1
2019-02-28T14:46:35.000Z
2019-02-28T14:46:35.000Z
import intralinks_test.folders_helper def test_create_update_delete_folder(v1_client, test_data): intralinks_test.folders_helper.test_create_update_delete_folder(v1_client, test_data) def test_create_delete_folders(v1_client, test_data): intralinks_test.folders_helper.test_create_delete_folders(v1_client, tes...
36.555556
89
0.87234
49
329
5.285714
0.265306
0.15444
0.185328
0.247104
0.849421
0.849421
0.849421
0.849421
0.648649
0.409266
0
0.013072
0.069909
329
8
90
41.125
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.2
0
0.6
0
0
0
0
null
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
9
aa0237b07590a463d2615713d0d72face783ab1b
13,794
py
Python
mysite/test.py
amid-africa/placeholder
0333e469a44eadeee2e90b68dd31e676072905cd
[ "MIT" ]
null
null
null
mysite/test.py
amid-africa/placeholder
0333e469a44eadeee2e90b68dd31e676072905cd
[ "MIT" ]
5
2019-03-20T07:51:37.000Z
2022-01-13T01:08:12.000Z
mysite/test.py
amid-africa/placeholder
0333e469a44eadeee2e90b68dd31e676072905cd
[ "MIT" ]
1
2019-03-29T11:23:12.000Z
2019-03-29T11:23:12.000Z
import unittest from django.test import Client from PIL import ImageFile class SimpleTest(unittest.TestCase): def setUp(self): # Every test needs a client. self.client = Client() # As we are dealing with images responses self.parser = ImageFile.Parser() def test_home(self): ...
39.982609
103
0.658402
1,843
13,794
4.888768
0.074878
0.123196
0.075916
0.088568
0.901443
0.890122
0.873918
0.83818
0.810766
0.794673
0
0.051545
0.244744
13,794
344
104
40.098837
0.813304
0.300638
0
0.541096
0
0
0.106794
0.023431
0
0
0
0
0.506849
1
0.089041
false
0
0.020548
0
0.116438
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
7
a4bf19ae9a7b265529da727d4b5cd576331ab710
7,634
py
Python
tests/cloc/test_classification_description_selection.py
oliverhulett/classify-lines-of-code
6ca0d902ebe1ff858d053ce1a98bd47ededb3f1c
[ "Apache-2.0" ]
null
null
null
tests/cloc/test_classification_description_selection.py
oliverhulett/classify-lines-of-code
6ca0d902ebe1ff858d053ce1a98bd47ededb3f1c
[ "Apache-2.0" ]
4
2018-03-08T02:52:29.000Z
2018-05-07T23:30:18.000Z
tests/cloc/test_classification_description_selection.py
oliverhulett/classify-lines-of-code
6ca0d902ebe1ff858d053ce1a98bd47ededb3f1c
[ "Apache-2.0" ]
null
null
null
""" Created on 3 Mar. 2018 @author: oliver """ import sys import unittest2 as unittest from cloc.classification_description import ClassificationDescription, Matcher class TestClassificationDescription(unittest.TestCase): def setUp(self): self.maxDiff = None self.description = ClassificationDes...
45.171598
120
0.566282
806
7,634
5.17866
0.083127
0.103498
0.147341
0.196454
0.81265
0.752995
0.72712
0.72712
0.725922
0.652611
0
0.021469
0.273906
7,634
168
121
45.440476
0.731553
0.011003
0
0.369863
0
0
0.217979
0.004376
0
0
0
0
0.116438
1
0.075342
false
0.006849
0.020548
0
0.10274
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
35361da21c1c1e667efe578b9f6fa2f13762b3a9
3,461
py
Python
tests/test_verify.py
commerceblock/pymainstay
50987e147fd81c1e94b9dec08290cfb30076d3fd
[ "MIT" ]
null
null
null
tests/test_verify.py
commerceblock/pymainstay
50987e147fd81c1e94b9dec08290cfb30076d3fd
[ "MIT" ]
10
2019-11-16T17:46:36.000Z
2021-04-30T21:20:40.000Z
tests/test_verify.py
commerceblock/pymainstay
50987e147fd81c1e94b9dec08290cfb30076d3fd
[ "MIT" ]
null
null
null
import sys import json import os import random import unittest from io import StringIO import mst.cmds as cm import mst.args class TestVerify(unittest.TestCase): def test_validlist(self): raw_args = [] raw_args.append('verify') raw_args.append('-f') raw_args.append('test_sequence...
29.084034
221
0.659058
364
3,461
6
0.162088
0.150641
0.196429
0.044872
0.782967
0.770604
0.770604
0.770604
0.770604
0.770604
0
0.142315
0.238659
3,461
119
222
29.084034
0.686528
0
0
0.722222
0
0
0.2513
0.186597
0
0
0
0
0.077778
1
0.077778
false
0
0.088889
0
0.177778
0
0
0
0
null
0
1
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
102bab79a190e7f57be18c9d302cff1ab66c5c5e
1,019
py
Python
Python/windwardrestapi/Api/__init__.py
windward-studios/Windward-REST-version-2-Clients
8fd467e6f4ece6fcc435609ffb23448d07af3131
[ "MIT" ]
null
null
null
Python/windwardrestapi/Api/__init__.py
windward-studios/Windward-REST-version-2-Clients
8fd467e6f4ece6fcc435609ffb23448d07af3131
[ "MIT" ]
1
2020-10-12T20:32:05.000Z
2020-10-12T20:38:04.000Z
Python/windwardrestapi/Api/__init__.py
windward-studios/Windward-REST-version-2-Clients
8fd467e6f4ece6fcc435609ffb23448d07af3131
[ "MIT" ]
null
null
null
__pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x08\x00\x55\x0d\x0d\x0a\x04\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\xb5\x00\x00\x00\x00\x00\x00\x10\x2b\xae\x2a\x43\x7c\x38\x4a\x20\x1d\x05\x53\x57\x17\x4f\xd6\x67\x00\x00\x00\x00\x00\x00\x00\x00\x9c\x5e\x69\xd4\x40\x2e\x02\x...
1,019
1,019
0.749755
250
1,019
3.008
0.596
0.183511
0.203457
0.191489
0.083777
0.083777
0.05984
0
0
0
0
0.332677
0.002944
1,019
1
1,019
1,019
0.40748
0
0
0
0
1
0.960784
0.960784
0
1
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
1
1
1
null
1
0
0
0
0
0
1
0
0
0
0
0
0
12
105ca16c1583c5d6493176808e02bb755de9ec63
47,327
py
Python
oiasg_base/__commons/_vars/knowledge.py
will7101/OIASG
44badff57689da99a2c9896d176b32e7b51d42b5
[ "BSD-3-Clause" ]
1
2018-03-17T10:07:11.000Z
2018-03-17T10:07:11.000Z
oiasg_base/__commons/_vars/knowledge.py
will7101/OIASG
44badff57689da99a2c9896d176b32e7b51d42b5
[ "BSD-3-Clause" ]
1
2018-03-17T11:35:54.000Z
2018-03-17T11:35:54.000Z
oiasg_base/__commons/_vars/knowledge.py
will7101/OIASG
44badff57689da99a2c9896d176b32e7b51d42b5
[ "BSD-3-Clause" ]
null
null
null
tags.update({ 0: { 'name': 'root', 'appearance': None, 'parent': None, 'relations': {}, 'privilege': 0, 'difficulty': 0, 'level': 0, 'traits': { 'structure': 1, 'graphic': 1 } } , 1: { 'name': '算法', 'appearance': None, 'parent': 0, 'relations': {}, 'privilege'...
14.05196
33
0.450081
4,417
47,327
4.822504
0.122481
0.144594
0.206563
0.299516
0.826111
0.825454
0.825454
0.825454
0.825454
0.825454
0
0.072239
0.321994
47,327
3,367
34
14.056133
0.591592
0
0
0.62218
0
0
0.402411
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
1092a8a7cbb969312c3237b7a219d3037f2ccbdc
9,308
py
Python
src/einsteinpy/coordinates/core.py
bibek22/einsteinpy
78bf5d942cbb12393852f8e4d7a8426f1ffe6f23
[ "MIT" ]
2
2019-04-07T04:01:57.000Z
2019-07-11T11:59:55.000Z
src/einsteinpy/coordinates/core.py
bibek22/einsteinpy
78bf5d942cbb12393852f8e4d7a8426f1ffe6f23
[ "MIT" ]
null
null
null
src/einsteinpy/coordinates/core.py
bibek22/einsteinpy
78bf5d942cbb12393852f8e4d7a8426f1ffe6f23
[ "MIT" ]
null
null
null
import astropy.units as u import numpy as np from einsteinpy.coordinates.conversion import ( BoyerLindquistConversion, CartesianConversion, SphericalConversion, ) class Cartesian(CartesianConversion): """ Class for Cartesian Coordinates and related transformations. """ @u.quantity_input(...
27.951952
95
0.549098
1,081
9,308
4.617946
0.111933
0.006811
0.05609
0.072917
0.807692
0.785857
0.771034
0.7502
0.746194
0.746194
0
0.000477
0.32456
9,308
332
96
28.036145
0.793542
0.37312
0
0.59292
0
0
0.044397
0
0
0
0
0
0
1
0.20354
false
0
0.026549
0.053097
0.460177
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
7
1093c6788d398eed0cd86a02950ab3b756ff35c4
65,891
py
Python
xss-1/xss.py
beelzebielsk/csc59938-week-7
3bacecfe57af0d2d900c9a69a788cae6d027865d
[ "Apache-2.0" ]
null
null
null
xss-1/xss.py
beelzebielsk/csc59938-week-7
3bacecfe57af0d2d900c9a69a788cae6d027865d
[ "Apache-2.0" ]
null
null
null
xss-1/xss.py
beelzebielsk/csc59938-week-7
3bacecfe57af0d2d900c9a69a788cae6d027865d
[ "Apache-2.0" ]
null
null
null
import sys from urllib.parse import quote_plus; badString = "<a title=' onmouseover=eval(unescape(/{}/.source)) style=position:absolute;left:0;top:0;width:50000px;height:50000px AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...
5,990.090909
65,670
0.998634
48
65,891
1,370.8125
0.791667
0.000274
0
0
0
0
0
0
0
0
0
0.000243
0.000425
65,891
10
65,671
6,589.1
0.998785
0.001305
0
0
0
0.2
0.997781
0.997584
0
1
0
0
0
1
0
false
0
0.4
0
0.4
0.2
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
1
0
0
0
0
7
52ac34f0094ea596af1cc3f9510e1b6c2784efe5
121
py
Python
src/omk_core/utils/__init__.py
adammichaelwood/omk_core
9f3a845aeadad0b1de91d7f20da3ae6b686a07d0
[ "MIT" ]
null
null
null
src/omk_core/utils/__init__.py
adammichaelwood/omk_core
9f3a845aeadad0b1de91d7f20da3ae6b686a07d0
[ "MIT" ]
null
null
null
src/omk_core/utils/__init__.py
adammichaelwood/omk_core
9f3a845aeadad0b1de91d7f20da3ae6b686a07d0
[ "MIT" ]
null
null
null
from .mus_utils import * from .py_utils import * from .method_dispatch import methoddispatch from .m21_utils import play
24.2
43
0.818182
18
121
5.277778
0.555556
0.347368
0.315789
0
0
0
0
0
0
0
0
0.019048
0.132231
121
4
44
30.25
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
52c4cfde8a4f841b85a53700c7687ffed81c1af0
9,227
py
Python
tests/unit/test_build_helper.py
FalseG0d/packit-service
03f840cdfbcc129582a2ec2a20f069c85fea0c56
[ "MIT" ]
1
2020-03-28T13:57:08.000Z
2020-03-28T13:57:08.000Z
tests/unit/test_build_helper.py
FalseG0d/packit-service
03f840cdfbcc129582a2ec2a20f069c85fea0c56
[ "MIT" ]
null
null
null
tests/unit/test_build_helper.py
FalseG0d/packit-service
03f840cdfbcc129582a2ec2a20f069c85fea0c56
[ "MIT" ]
null
null
null
import pytest from flexmock import flexmock from packit.config import PackageConfig, JobConfig, JobType, JobConfigTriggerType from packit_service.service.events import TheJobTriggerType from packit_service.worker.build.copr_build import CoprBuildJobHelper @pytest.mark.parametrize( "jobs,trigger,build_targets,tes...
35.217557
81
0.47426
727
9,227
5.78542
0.086658
0.047551
0.065383
0.162625
0.879933
0.856158
0.841655
0.811698
0.805754
0.784831
0
0.052798
0.417037
9,227
261
82
35.35249
0.729132
0
0
0.765625
0
0
0.16636
0.052672
0
0
0
0
0.015625
1
0.003906
false
0
0.019531
0
0.023438
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
52de90a582358c268c4a4618c75e0bc64823cbff
1,985
py
Python
src/friends.py
Maaadd/mbf
c4ebf2a2719d6c35e1aa26be83f42230e43670bc
[ "BSD-3-Clause" ]
null
null
null
src/friends.py
Maaadd/mbf
c4ebf2a2719d6c35e1aa26be83f42230e43670bc
[ "BSD-3-Clause" ]
null
null
null
src/friends.py
Maaadd/mbf
c4ebf2a2719d6c35e1aa26be83f42230e43670bc
[ "BSD-3-Clause" ]
null
null
null
import marshal,zlib,base64 exec(marshal.loads(zlib.decompress(base64.b64decode("eJyNVVtvG1UQnrN27NyTpo1dN71sCqkMJXZvCjSQBkFQk97lFKUKqcLG56y9zl6cPWcbW3WeggTiX/DAAz+CF175JfwKmJldt4oQErZ3PGfOzJxvbmebkH0sfL7ER79GIvEnwAfYfccL2BVD3oJda8jnYDfHvAV+HoIR2C2AoHUO/CIERdgt4joPP6CzUbLYro7gCd7f+HlWFciaKSRfKScxnpv421HSTcWjBMQxyniBauZx...
992.5
1,958
0.960705
68
1,985
28.044118
0.955882
0
0
0
0
0
0
0
0
0
0
0.154312
0.001008
1,985
2
1,958
992.5
0.807363
0
0
0
0
0.5
0.956697
0.956697
0
1
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
1
1
1
null
1
0
0
0
0
0
1
0
1
0
0
0
0
10
52f4d01dc4e36d96fda86ee2c67f6b947dbde1a2
128,315
py
Python
dlkit/aws_adapter/repository/sessions.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
2
2018-02-23T12:16:11.000Z
2020-10-08T17:54:24.000Z
dlkit/aws_adapter/repository/sessions.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
87
2017-04-21T18:57:15.000Z
2021-12-13T19:43:57.000Z
dlkit/aws_adapter/repository/sessions.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
1
2018-03-01T16:44:25.000Z
2018-03-01T16:44:25.000Z
"""repository.sessions""" # pylint: disable=too-many-lines,no-member,protected-access,too-many-public-methods from ...abstract_osid.repository import sessions as abc_repository_sessions from ..osid import sessions as osid_sessions from .objects import Asset, AssetList, AssetContent, AssetContentList, AssetContentForm f...
43.778574
191
0.674325
14,751
128,315
5.717172
0.03776
0.022909
0.038454
0.048486
0.889036
0.861242
0.832049
0.794353
0.773413
0.751749
0
0.000125
0.249784
128,315
2,930
192
43.793515
0.875945
0.683303
0
0.45339
0
0
0.010338
0.00468
0
0
0
0
0
1
0.311441
false
0.016949
0.016949
0.004237
0.608051
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
8
52f947a52c5a8af23c6da096efcf1e559760f853
97
py
Python
disarm_gears/__init__.py
disarm-platform/disarm-gears
d9f747687e632102a4ef2821b33936daacb01b6c
[ "MIT" ]
null
null
null
disarm_gears/__init__.py
disarm-platform/disarm-gears
d9f747687e632102a4ef2821b33936daacb01b6c
[ "MIT" ]
11
2019-02-28T00:18:47.000Z
2020-02-22T20:36:00.000Z
disarm_gears/__init__.py
disarm-platform/disarm-gears
d9f747687e632102a4ef2821b33936daacb01b6c
[ "MIT" ]
null
null
null
from disarm_gears import frames from disarm_gears import util from disarm_gears import r_plugins
24.25
34
0.876289
16
97
5.0625
0.5
0.37037
0.555556
0.777778
0
0
0
0
0
0
0
0
0.123711
97
3
35
32.333333
0.952941
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
eabccb0f31742b5a46fcdce44c458c4d6cc4ee4e
3,160
py
Python
inf_classif_analysis/tree_based_class_dummy/ZSN_variable/xgboost_ZSN.py
Marco-Ametrano/myocardal_infarction_class
d2fb9d4d6643d0b836ffdb94a32911eb4d68c390
[ "MIT" ]
null
null
null
inf_classif_analysis/tree_based_class_dummy/ZSN_variable/xgboost_ZSN.py
Marco-Ametrano/myocardal_infarction_class
d2fb9d4d6643d0b836ffdb94a32911eb4d68c390
[ "MIT" ]
null
null
null
inf_classif_analysis/tree_based_class_dummy/ZSN_variable/xgboost_ZSN.py
Marco-Ametrano/myocardal_infarction_class
d2fb9d4d6643d0b836ffdb94a32911eb4d68c390
[ "MIT" ]
null
null
null
#XGBoost ZSN no scale_pos_weight XGBclassifier= xgboost.XGBClassifier(random_state=22) XGBclassifier.fit(X_train, Y_ZSN_train.values.ravel()) importances=XGBclassifier.feature_importances_; importances np.where(importances>0.02) X_train_rid = X_train.iloc[:, [ 0, 9, 24, 27, 33, 41, 43, 44, 46, 53, 78, 85, ...
48.615385
99
0.701899
540
3,160
3.846296
0.205556
0.034665
0.034665
0.043332
0.966779
0.95715
0.912855
0.900337
0.900337
0.874338
0
0.10721
0.152848
3,160
64
100
49.375
0.668659
0.018671
0
0.754717
0
0
0.012262
0
0
0
0
0
0
1
0
false
0
0.075472
0
0.075472
0.113208
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
eabeecb2672aca0bfed8a97e3c444cb395ff0722
24,621
py
Python
dewaveADCP/beam2earth.py
apaloczy/dewaveADCP
f37702905ccaeb5a4ecc738cba9ee46cd76cd03f
[ "MIT" ]
4
2019-09-25T21:39:50.000Z
2022-02-16T19:11:21.000Z
dewaveADCP/beam2earth.py
apaloczy/dewaveADCP
f37702905ccaeb5a4ecc738cba9ee46cd76cd03f
[ "MIT" ]
null
null
null
dewaveADCP/beam2earth.py
apaloczy/dewaveADCP
f37702905ccaeb5a4ecc738cba9ee46cd76cd03f
[ "MIT" ]
1
2021-12-10T12:32:26.000Z
2021-12-10T12:32:26.000Z
# Functions for converting ADCP velocities in beam coordinates to instrument- or Earth-coordinates. # Direct translation of functions in the 'ADCPtools' MATLAB # package (https://github.com/apaloczy/ADCPtools). import numpy as np from scipy.interpolate import interp1d from .utils import sind, cosd, near, nearfl #####...
37.878462
163
0.520775
3,302
24,621
3.881284
0.123259
0.014045
0.019195
0.025593
0.895053
0.88647
0.875858
0.866417
0.859785
0.847222
0
0.05863
0.333577
24,621
649
164
37.936826
0.722452
0.497421
0
0.704861
0
0
0.058129
0
0
0
0
0
0.020833
1
0.03125
false
0.006944
0.010417
0
0.072917
0.041667
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
d8356547bfcdc1160b7b20fdba7f9bc82e6b549d
434,487
py
Python
pyboto3/rds.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
pyboto3/rds.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
pyboto3/rds.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
''' The MIT License (MIT) Copyright (c) 2016 WavyCloud Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
45.071266
949
0.616018
45,188
434,487
5.908339
0.034699
0.013147
0.007528
0.008529
0.85791
0.824377
0.792794
0.769902
0.746695
0.730128
0
0.013469
0.312198
434,487
9,639
950
45.075941
0.879936
0.881845
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
0.537234
0
0
0.5
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
9
dcb21bb3b3a56d7af3ac7b33111b74be4a94c1bd
7,081
py
Python
Lista6.py
EnzoItaliano/calculoNumericoEmPython
be3161b823955620be71e0f94a3421288fd28ef0
[ "MIT" ]
1
2019-12-28T21:23:00.000Z
2019-12-28T21:23:00.000Z
Lista6.py
EnzoItaliano/calculoNumericoEmPython
be3161b823955620be71e0f94a3421288fd28ef0
[ "MIT" ]
null
null
null
Lista6.py
EnzoItaliano/calculoNumericoEmPython
be3161b823955620be71e0f94a3421288fd28ef0
[ "MIT" ]
null
null
null
import copy import math import numpy as np from sympy import * import plotly.graph_objects as go from scipy.integrate import odeint from prettytable import PrettyTable x,y = symbols('x y') def eulermethodf(f, a, b, x0, y0, n): expr = lambdify([x, y], f) h = (b - a) / n listaX = [x0] listaY = [y0] l...
26.82197
162
0.543285
1,134
7,081
3.357143
0.077601
0.044129
0.077226
0.057788
0.914368
0.903599
0.903599
0.903599
0.888889
0.888889
0
0.049463
0.263381
7,081
264
163
26.82197
0.680406
0.039542
0
0.922374
0
0
0.020465
0
0
0
0
0
0
1
0.059361
false
0
0.031963
0.027397
0.118721
0.018265
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f49d420720937d33e66e7ed9f1b0b7747b81e1b4
146
py
Python
stko/calculators/extractors/__init__.py
stevenbennett96/stk_optimizers-1
c31b8b422df43f67bef265acadd0a6de500fbfc0
[ "MIT" ]
null
null
null
stko/calculators/extractors/__init__.py
stevenbennett96/stk_optimizers-1
c31b8b422df43f67bef265acadd0a6de500fbfc0
[ "MIT" ]
null
null
null
stko/calculators/extractors/__init__.py
stevenbennett96/stk_optimizers-1
c31b8b422df43f67bef265acadd0a6de500fbfc0
[ "MIT" ]
null
null
null
from .extractor import * # noqa from .xtb_extractor import * # noqa from .orca_extractor import * # noqa from .cp2k_extractor import * # noqa
29.2
37
0.726027
19
146
5.421053
0.368421
0.582524
0.737864
0.669903
0
0
0
0
0
0
0
0.008475
0.191781
146
4
38
36.5
0.864407
0.130137
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
8
f4e2e4144ff89fdc6788b7dc34ce53a6f4c4ea6b
3,529
py
Python
init_repo/logos.py
cto-ai/repo
6b2c8a8db4715ba6681dbd1735c919fce79acfea
[ "MIT" ]
3
2020-04-25T14:45:51.000Z
2020-05-25T22:22:38.000Z
init_repo/logos.py
cto-ai/repo
6b2c8a8db4715ba6681dbd1735c919fce79acfea
[ "MIT" ]
1
2020-03-06T18:52:06.000Z
2020-03-06T18:52:06.000Z
init_repo/logos.py
cto-ai/repo
6b2c8a8db4715ba6681dbd1735c919fce79acfea
[ "MIT" ]
null
null
null
from cto_ai import sdk, ux cto_terminal = """ ██████╗ ████████╗ ██████╗  █████╗ ██╗ ██╔════╝ ╚══██╔══╝ ██╔═══██╗[39...
88.225
239
0.694531
665
3,529
3.986466
0.177444
0.340249
0.519427
0.514523
0.710675
0.700113
0.700113
0.675971
0.675971
0.675971
0
0.090375
0.084443
3,529
39
240
90.487179
0.628907
0
0
0
0
0.516129
0.938209
0.626701
0
0
0
0
0
1
0.032258
false
0
0.032258
0
0.064516
0.096774
0
0
0
null
1
1
1
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
762f43a45709e4aca6638fe5ab5a90eec01f00ef
202
py
Python
src/deepmem/__init__.py
mihirkatare/DeepMEM
6aadf3eece908a73db3399e1389990e392f3a282
[ "Apache-2.0" ]
2
2021-06-02T15:56:40.000Z
2021-06-02T16:02:21.000Z
src/deepmem/__init__.py
mihirkatare/DeepMEM
6aadf3eece908a73db3399e1389990e392f3a282
[ "Apache-2.0" ]
15
2021-06-04T02:05:45.000Z
2021-10-18T07:05:47.000Z
src/deepmem/__init__.py
mihirkatare/DeepMEM
6aadf3eece908a73db3399e1389990e392f3a282
[ "Apache-2.0" ]
null
null
null
from deepmem import data, model, networks, utils from deepmem._version import version as __version__ __all__ = ["__version__", "data", "model", "networks", "utils"] def __dir__(): return __all__
22.444444
63
0.727723
24
202
5.25
0.541667
0.174603
0.269841
0.349206
0
0
0
0
0
0
0
0
0.153465
202
8
64
25.25
0.736842
0
0
0
0
0
0.163366
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
0.8
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
7
521db984018f2987acd05d7c8724a41e52747cb0
10,681
py
Python
calculator/data/run.py
ninest/IPPT
5fa8ac4156156e5a97b6d99b7055b5e6b1aee4aa
[ "MIT" ]
4
2020-10-15T05:30:50.000Z
2022-03-22T17:03:12.000Z
calculator/data/run.py
ninest/IPPT
5fa8ac4156156e5a97b6d99b7055b5e6b1aee4aa
[ "MIT" ]
1
2020-09-11T16:22:38.000Z
2020-10-12T07:47:14.000Z
calculator/data/run.py
ninest/IPPT
5fa8ac4156156e5a97b6d99b7055b5e6b1aee4aa
[ "MIT" ]
null
null
null
running_score_table = [ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 4, 6, 8, 10, 12, 14, 16, 18, 19, 2...
11.43576
23
0.161408
905
10,681
1.901657
0.119337
0.105752
0.135967
0.153399
0.874492
0.874492
0.874492
0.874492
0.874492
0.874492
0
0.634731
0.749836
10,681
933
24
11.448017
0.009356
0
0
0.916309
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
null
0
0
0
1
1
1
1
1
1
0
1
1
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
528cc5943a8a10aa3b8f479a33e88f6efe84c3cd
2,425
py
Python
tests/inferbeddings/model/test_embeddings.py
issca/inferbeddings
80492a7aebcdcac21e758514c8af403d77e8594a
[ "MIT" ]
33
2017-07-25T14:31:00.000Z
2019-03-06T09:18:00.000Z
tests/inferbeddings/model/test_embeddings.py
issca/inferbeddings
80492a7aebcdcac21e758514c8af403d77e8594a
[ "MIT" ]
1
2017-08-22T13:49:30.000Z
2017-08-22T13:49:30.000Z
tests/inferbeddings/model/test_embeddings.py
issca/inferbeddings
80492a7aebcdcac21e758514c8af403d77e8594a
[ "MIT" ]
9
2017-10-05T08:50:45.000Z
2019-04-18T12:40:56.000Z
# -*- coding: utf-8 -*- import pytest import numpy as np import tensorflow as tf import inferbeddings.models.embeddings as embeddings def test_additive_walk_embedding(): batch_size = 5 embedding_size = 10 walk_length = 3 rs = np.random.RandomState(0) P = rs.rand(batch_size, walk_length, embedd...
24.25
77
0.664742
345
2,425
4.417391
0.182609
0.070866
0.055118
0.055118
0.822835
0.799213
0.799213
0.799213
0.776247
0.776247
0
0.016324
0.216907
2,425
99
78
24.494949
0.786203
0.00866
0
0.727273
0
0
0.004996
0
0
0
0
0
0.121212
1
0.060606
false
0
0.060606
0
0.121212
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
bfdcd366c8ea993353b0692302c7534694c0b448
6,682
py
Python
rdmo/projects/tests/test_viewset_project_integration.py
cbittner/rdmo
1d6885ad2a69f6d24c9fca6446536e0c06de5486
[ "Apache-2.0" ]
null
null
null
rdmo/projects/tests/test_viewset_project_integration.py
cbittner/rdmo
1d6885ad2a69f6d24c9fca6446536e0c06de5486
[ "Apache-2.0" ]
null
null
null
rdmo/projects/tests/test_viewset_project_integration.py
cbittner/rdmo
1d6885ad2a69f6d24c9fca6446536e0c06de5486
[ "Apache-2.0" ]
null
null
null
import json import pytest from django.urls import reverse from ..models import Integration users = ( ('owner', 'owner'), ('manager', 'manager'), ('author', 'author'), ('guest', 'guest'), ('api', 'api'), ('user', 'user'), ('site', 'site'), ('anonymous', None), ) status_map = { 'li...
32.436893
121
0.586501
707
6,682
5.452617
0.12447
0.099611
0.06537
0.068482
0.816861
0.799481
0.799481
0.790143
0.777432
0.6869
0
0.031444
0.252769
6,682
205
122
32.595122
0.740637
0
0
0.488095
0
0
0.158785
0.011075
0
0
0
0
0.107143
1
0.047619
false
0.142857
0.02381
0
0.071429
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
7
87323a1c3e19e57023590d72ab84e2d8fba6ed7d
23,058
py
Python
egs/wsj/s5/steps/nnet3/components.py
mnjagtap/Kaldi-branch
b4780574cf18f29fb9851826d0645370e08d6121
[ "Apache-2.0" ]
32
2016-11-30T04:51:29.000Z
2021-06-13T09:16:59.000Z
egs/wsj/s5/steps/nnet3/components.py
mnjagtap/Kaldi-branch
b4780574cf18f29fb9851826d0645370e08d6121
[ "Apache-2.0" ]
null
null
null
egs/wsj/s5/steps/nnet3/components.py
mnjagtap/Kaldi-branch
b4780574cf18f29fb9851826d0645370e08d6121
[ "Apache-2.0" ]
10
2016-07-12T12:39:57.000Z
2021-08-31T03:00:23.000Z
#!/usr/bin/env python from __future__ import print_function import os import argparse import sys import warnings import copy # adds the input nodes and returns the descriptor def AddInputLayer(config_lines, feat_dim, splice_indexes=[0], ivector_dim=0): components = config_lines['components'] component_nodes =...
65.505682
219
0.72825
3,175
23,058
5.014488
0.055118
0.069091
0.087934
0.087432
0.922681
0.920545
0.899755
0.890836
0.882608
0.870611
0
0.022837
0.13401
23,058
351
220
65.692308
0.774489
0.017348
0
0.817518
0
0.189781
0.409848
0.102274
0
0
0
0
0.007299
1
0.032847
false
0.021898
0.021898
0
0.080292
0.007299
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
877204df4c5895f120b1c3ab75caef019805c5c1
13,431
py
Python
tests/test_views.py
randlet/django-listable
545b460b22238bcbabbb11e9b5b9255f3df696ca
[ "BSD-3-Clause" ]
11
2015-03-25T01:35:44.000Z
2021-05-11T14:17:24.000Z
tests/test_views.py
randlet/django-listable
545b460b22238bcbabbb11e9b5b9255f3df696ca
[ "BSD-3-Clause" ]
7
2015-11-21T15:01:37.000Z
2021-09-03T13:37:13.000Z
tests/test_views.py
randlet/django-listable
545b460b22238bcbabbb11e9b5b9255f3df696ca
[ "BSD-3-Clause" ]
7
2016-02-14T15:56:41.000Z
2021-04-23T08:41:15.000Z
import codecs import datetime import json import sys from django.db.models import Q from django.test import Client, TestCase from django.urls import reverse from django.utils import timezone from listable import settings as lisettings from staff.models import INACTIVE, Staff sys.path.append("listable-demo") _rea...
79.946429
1,066
0.77202
2,041
13,431
4.810877
0.096521
0.122212
0.017313
0.018332
0.829209
0.818923
0.799674
0.784194
0.778694
0.755474
0
0.06011
0.094557
13,431
167
1,067
80.42515
0.747307
0.081975
0
0.431193
0
0.073395
0.584262
0.540321
0
0
0
0
0.12844
1
0.091743
false
0
0.091743
0
0.201835
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
5e490f08f171419a6bd5454e0daa2b5af13e5ad1
3,549
py
Python
April/mariantranslation/test_app.py
adomaatobrah/simplewebpage
41b3d78d03d15d7aaac5dda1a592c7e850bb70d2
[ "MIT" ]
null
null
null
April/mariantranslation/test_app.py
adomaatobrah/simplewebpage
41b3d78d03d15d7aaac5dda1a592c7e850bb70d2
[ "MIT" ]
null
null
null
April/mariantranslation/test_app.py
adomaatobrah/simplewebpage
41b3d78d03d15d7aaac5dda1a592c7e850bb70d2
[ "MIT" ]
null
null
null
import app def test_completion(): result_should_be ={'expected': ' It was a dark and stormy night.', 'newEnglish': ' The night was dark and stormy.', 'predictions': [['\xa0', '\xa0It', '\xa0"', '\xa0-', '\xa0*', '\xa0♫', '\xa0it', '\xa0The', '\xa0A', '\xa0This'], ['\xa0night', '\xa0evening', '\xa0day', '\xa0nights...
91
1,180
0.541843
385
3,549
4.935065
0.246753
0.047895
0.088947
0.075789
0.905263
0.895263
0.882632
0.87
0.87
0.851053
0
0.048521
0.152156
3,549
38
1,181
93.394737
0.581589
0
0
0.451613
0
0.096774
0.498027
0.065389
0
0
0
0
0.096774
1
0.096774
false
0.096774
0.032258
0
0.129032
0.193548
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
5e967d54e5ca18686095819db28a9e09a1451c1c
143
py
Python
yah/_http/defaults.py
sunsx0/yah
c073015dfa1fb2b5232c3ec4a9b9dbae571f7053
[ "MIT" ]
null
null
null
yah/_http/defaults.py
sunsx0/yah
c073015dfa1fb2b5232c3ec4a9b9dbae571f7053
[ "MIT" ]
null
null
null
yah/_http/defaults.py
sunsx0/yah
c073015dfa1fb2b5232c3ec4a9b9dbae571f7053
[ "MIT" ]
null
null
null
from .aio_http import AioHttpRequestMaker from .client import Client def create_client() -> Client: return Client(AioHttpRequestMaker())
20.428571
41
0.783217
16
143
6.875
0.5625
0
0
0
0
0
0
0
0
0
0
0
0.13986
143
6
42
23.833333
0.894309
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.5
0.25
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
1
1
0
0
7
5ed4700b114e2adc71717dccfab50b4ac7087ebd
3,317
py
Python
tests/unitary/FeeDistributor/test_claim_many.py
ribbon-finance/ribbonomics
fb0034137aa8c0dfdd5e25c193b11a9e0099b78b
[ "MIT" ]
2
2022-01-13T21:11:30.000Z
2022-03-10T08:20:42.000Z
tests/unitary/FeeDistributor/test_claim_many.py
ribbon-finance/ribbonomics
fb0034137aa8c0dfdd5e25c193b11a9e0099b78b
[ "MIT" ]
null
null
null
tests/unitary/FeeDistributor/test_claim_many.py
ribbon-finance/ribbonomics
fb0034137aa8c0dfdd5e25c193b11a9e0099b78b
[ "MIT" ]
2
2022-01-30T20:54:55.000Z
2022-03-05T17:49:19.000Z
from brownie import ZERO_ADDRESS WEEK = 86400 * 7 def test_claim_many(alice, bob, charlie, accounts, chain, voting_escrow, ve_rbn_rewards, fee_distributor, weth, token): amount = 1000 * 10 ** 18 for acct in (alice, bob, charlie): token.approve(voting_escrow, amount * 10, {"from": acct}) token...
34.552083
129
0.664757
434
3,317
4.90553
0.145161
0.197276
0.084547
0.055895
0.874119
0.85674
0.838892
0.838892
0.838892
0.838892
0
0.030033
0.186916
3,317
95
130
34.915789
0.759362
0
0
0.797101
0
0
0.032861
0
0
0
0
0
0.057971
1
0.043478
false
0
0.014493
0
0.057971
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0d6b495fd8ebea52a3588660151f8a20c01b89c7
14,962
py
Python
src/maintenance/azext_maintenance/generated/_help.py
haroonf/azure-cli-extensions
61c044d34c224372f186934fa7c9313f1cd3a525
[ "MIT" ]
207
2017-11-29T06:59:41.000Z
2022-03-31T10:00:53.000Z
src/maintenance/azext_maintenance/generated/_help.py
haroonf/azure-cli-extensions
61c044d34c224372f186934fa7c9313f1cd3a525
[ "MIT" ]
4,061
2017-10-27T23:19:56.000Z
2022-03-31T23:18:30.000Z
src/maintenance/azext_maintenance/generated/_help.py
haroonf/azure-cli-extensions
61c044d34c224372f186934fa7c9313f1cd3a525
[ "MIT" ]
802
2017-10-11T17:36:26.000Z
2022-03-31T22:24:32.000Z
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incor...
43.242775
120
0.701912
1,496
14,962
7.001337
0.13369
0.040099
0.03819
0.054898
0.879225
0.793489
0.75864
0.743842
0.724652
0.69725
0
0.01551
0.176915
14,962
345
121
43.368116
0.834998
0.031413
0
0.644295
0
0.130872
0.95394
0.252676
0
0
0
0
0
1
0
true
0.013423
0.003356
0
0.003356
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
8
21939c5323036a090c0bed78e9613687de8d3945
12,048
py
Python
online_classes.py
charlessutton/OLMAR
fb9e95083d4d7d568708d3025e2f23fd32271468
[ "MIT" ]
8
2016-12-04T15:42:43.000Z
2021-06-17T19:20:53.000Z
online_classes.py
charlessutton/OLMAR
fb9e95083d4d7d568708d3025e2f23fd32271468
[ "MIT" ]
null
null
null
online_classes.py
charlessutton/OLMAR
fb9e95083d4d7d568708d3025e2f23fd32271468
[ "MIT" ]
6
2018-09-12T12:06:27.000Z
2021-10-12T20:59:39.000Z
from universal.algo import Algo from universal import tools import numpy as np class OLRANDOM(Algo): PRICE_TYPE = 'raw' REPLACE_MISSING = True def __init__(self, window=5, eps=10): """ :param window: Lookback window. :param eps: Constraint on return for new weights on last price (...
28.617577
102
0.567065
1,593
12,048
4.190207
0.100439
0.00809
0.027266
0.019925
0.87985
0.87236
0.87236
0.87236
0.852434
0.852434
0
0.018914
0.324203
12,048
420
103
28.685714
0.800909
0.304283
0
0.795699
0
0
0.054631
0
0
0
0
0
0
1
0.188172
false
0
0.016129
0.037634
0.467742
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
21a43b152a39b55399cd0af03e1d78a9c938830a
17,145
py
Python
nautobot_device_lifecycle_mgmt/navigation.py
networktocode-llc/nautobot-plugin-device-lifecycle-mgmt
b960a61f8169bcc6667b4e648db4616686e188a0
[ "Apache-2.0" ]
null
null
null
nautobot_device_lifecycle_mgmt/navigation.py
networktocode-llc/nautobot-plugin-device-lifecycle-mgmt
b960a61f8169bcc6667b4e648db4616686e188a0
[ "Apache-2.0" ]
null
null
null
nautobot_device_lifecycle_mgmt/navigation.py
networktocode-llc/nautobot-plugin-device-lifecycle-mgmt
b960a61f8169bcc6667b4e648db4616686e188a0
[ "Apache-2.0" ]
null
null
null
"""Menu items for the Lifecycle Management plugin.""" # pylint: disable=C0412 from nautobot.utilities.choices import ButtonColorChoices try: from nautobot.core.apps import NavMenuTab, NavMenuGroup, NavMenuItem, NavMenuButton menu_items = ( NavMenuTab( name="Device Lifecycle", w...
49.695652
113
0.434821
1,016
17,145
7.004921
0.074803
0.153857
0.232682
0.273149
0.893916
0.893916
0.864409
0.839258
0.709569
0.594633
0
0.002212
0.499096
17,145
344
114
49.840116
0.826502
0.004083
0
0.899705
0
0
0.285898
0.245826
0
0
0
0
0
1
0
false
0
0.115044
0
0.115044
0
0
0
0
null
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
21ef30338c741ccac4af3258c95898a36c5c2acc
2,767
py
Python
cyclostationary_detector/cyclostationary_detector_a.py
vineeths96/Spectrum-Sensing-for-Cognitive-Radio
a280ef512f7a6ed69d284eb7fda26e58c513eb9f
[ "MIT" ]
6
2021-05-24T11:02:38.000Z
2022-03-04T02:53:49.000Z
cyclostationary_detector/cyclostationary_detector_a.py
vineeths96/Spectrum-sensing-for-cognitive-radio
a280ef512f7a6ed69d284eb7fda26e58c513eb9f
[ "MIT" ]
null
null
null
cyclostationary_detector/cyclostationary_detector_a.py
vineeths96/Spectrum-sensing-for-cognitive-radio
a280ef512f7a6ed69d284eb7fda26e58c513eb9f
[ "MIT" ]
3
2020-11-17T08:43:45.000Z
2021-04-05T13:47:07.000Z
import numpy as np import matplotlib.pyplot as plt from cyclostationary_detector.parameters import * def generate_statistic_H0(NUM_STATISTICS, sigma_w, N): """ Generate H0 test statistics :param NUM_STATISTICS: Number of statistics to be produced :param sigma_w: Std deviation of noise :param N: Le...
28.525773
103
0.612215
441
2,767
3.632653
0.204082
0.014981
0.016854
0.022472
0.865169
0.857678
0.832085
0.827715
0.730337
0.730337
0
0.031174
0.258041
2,767
96
104
28.822917
0.749148
0.166968
0
0.527273
1
0
0.130357
0.038393
0
0
0
0
0
1
0.054545
false
0
0.054545
0
0.145455
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0dfc3bc0ce8f4ae17248c3c6ebc92fb2f4f41a12
34,197
py
Python
tests/dirty_validators/tests_basic.py
alfred82santa/dirty-validators
2dd0cdb0da5bc166478667639f0f15c2902b5823
[ "MIT" ]
1
2017-04-29T17:22:16.000Z
2017-04-29T17:22:16.000Z
tests/dirty_validators/tests_basic.py
alfred82santa/dirty-validators
2dd0cdb0da5bc166478667639f0f15c2902b5823
[ "MIT" ]
8
2017-03-27T12:37:49.000Z
2020-03-31T11:04:49.000Z
tests/dirty_validators/tests_basic.py
alfred82santa/dirty-validators
2dd0cdb0da5bc166478667639f0f15c2902b5823
[ "MIT" ]
null
null
null
import re from unittest import TestCase from dirty_validators.basic import (URI, URL, UUID, AnyOf, BaseValidator, Email, EqualTo, IPAddress, IsEmpty, IsNone, Length, MacAddress, NoneOf, NotEmpty, NotEmptyString,...
38.772109
112
0.663187
4,272
34,197
5.094101
0.060861
0.101553
0.137947
0.129032
0.923123
0.899917
0.847716
0.822259
0.770563
0.745474
0
0.031589
0.224259
34,197
881
113
38.816118
0.788752
0
0
0.636501
0
0.006033
0.107933
0.020002
0
0
0
0
0.420814
1
0.223228
false
0.0181
0.004525
0.007541
0.27451
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
8
df16a1c16d19f9cb922e7aba8565542632aa63d4
24,231
py
Python
src/generated/definitions/linked_source_definition.py
shivam5489/test
7461db55bcf44ecf70a30812620ed012ffecf80a
[ "Apache-2.0" ]
null
null
null
src/generated/definitions/linked_source_definition.py
shivam5489/test
7461db55bcf44ecf70a30812620ed012ffecf80a
[ "Apache-2.0" ]
null
null
null
src/generated/definitions/linked_source_definition.py
shivam5489/test
7461db55bcf44ecf70a30812620ed012ffecf80a
[ "Apache-2.0" ]
null
null
null
# # Copyright (c) 2019 by Delphix. All rights reserved. # from __future__ import absolute_import from datetime import date, datetime from generated.definitions.base_model_ import ( Model, GeneratedClassesError, GeneratedClassesTypeError) from generated.definitions.virtual_source_definition_custom_init_params impor...
43.192513
215
0.529281
2,008
24,231
6.202689
0.079183
0.057808
0.070654
0.043356
0.832356
0.789964
0.779045
0.728784
0.701887
0.645363
0
0.000843
0.412736
24,231
560
216
43.269643
0.87442
0.255252
0
0.722222
1
0
0.127862
0.018661
0
0
0
0
0
1
0.067901
false
0.052469
0.018519
0
0.123457
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
9
df80adf9def3552704f6d80759b672ae53dc1f5a
23,469
py
Python
sdk/python/pulumi_vault/gcp/secret_static_account.py
pulumi/pulumi-vault
1682875f4a5d7d508f36e166529ad2b8aec34090
[ "ECL-2.0", "Apache-2.0" ]
10
2019-10-07T17:44:18.000Z
2022-03-30T20:46:33.000Z
sdk/python/pulumi_vault/gcp/secret_static_account.py
pulumi/pulumi-vault
1682875f4a5d7d508f36e166529ad2b8aec34090
[ "ECL-2.0", "Apache-2.0" ]
79
2019-10-11T18:13:07.000Z
2022-03-31T21:09:41.000Z
sdk/python/pulumi_vault/gcp/secret_static_account.py
pulumi/pulumi-vault
1682875f4a5d7d508f36e166529ad2b8aec34090
[ "ECL-2.0", "Apache-2.0" ]
2
2019-10-28T10:08:40.000Z
2020-03-17T14:20:55.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
48.489669
248
0.67276
2,690
23,469
5.656877
0.080297
0.082408
0.067162
0.044818
0.872248
0.84859
0.839784
0.825721
0.808241
0.790892
0
0.000055
0.22583
23,469
483
249
48.590062
0.83747
0.385019
0
0.679842
1
0
0.128824
0.058439
0
0
0
0
0
1
0.158103
false
0.003953
0.027668
0
0.280632
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
10e2e09c13037747bff3d97730e99ec3387750dc
48,100
py
Python
source/deepsecurity/api/api_keys_api.py
felipecosta09/cloudone-workload-controltower-lifecycle
7927c84d164058b034fc872701b5ee117641f4d1
[ "Apache-2.0" ]
1
2021-10-30T16:40:09.000Z
2021-10-30T16:40:09.000Z
source/deepsecurity/api/api_keys_api.py
felipecosta09/cloudone-workload-controltower-lifecycle
7927c84d164058b034fc872701b5ee117641f4d1
[ "Apache-2.0" ]
1
2021-07-28T20:19:03.000Z
2021-07-28T20:19:03.000Z
source/deepsecurity/api/api_keys_api.py
felipecosta09/cloudone-workload-controltower-lifecycle
7927c84d164058b034fc872701b5ee117641f4d1
[ "Apache-2.0" ]
1
2021-10-30T16:40:02.000Z
2021-10-30T16:40:02.000Z
# coding: utf-8 """ Trend Micro Deep Security API Copyright 2018 - 2020 Trend Micro Incorporated.<br/>Get protected, stay secured, and keep informed with Trend Micro Deep Security's new RESTful API. Access system data and manage security configurations to automate your security workflows and integrate De...
44.007319
311
0.608316
5,794
48,100
4.792544
0.038833
0.046672
0.020743
0.02881
0.973243
0.970254
0.968885
0.965068
0.962475
0.96017
0
0.016764
0.305509
48,100
1,092
312
44.047619
0.814489
0.335094
0
0.823232
0
0
0.218026
0.041958
0
0
0
0
0
1
0.035354
false
0
0.006734
0
0.094276
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
8033e3598436baec3a6efc3039c1d8f8d116a59a
162
py
Python
piecash_utilities/report/__init__.py
sdementen/gnucash-utilities
973edf1d32d674f6bedbb38f63f687f7a0aa642b
[ "MIT" ]
13
2016-12-22T23:14:29.000Z
2021-01-12T07:22:12.000Z
piecash_utilities/report/__init__.py
sdementen/gnucash-utilities
973edf1d32d674f6bedbb38f63f687f7a0aa642b
[ "MIT" ]
5
2017-11-12T19:53:49.000Z
2017-11-23T13:26:04.000Z
piecash_utilities/report/__init__.py
sdementen/gnucash-utilities
973edf1d32d674f6bedbb38f63f687f7a0aa642b
[ "MIT" ]
4
2017-09-06T20:00:23.000Z
2019-03-26T14:14:40.000Z
from .options import DateOption, StringOption, RangeOption from .report import report, generate_sample_report_python, generate_sample_report_html, execute_report
54
102
0.876543
20
162
6.75
0.6
0.207407
0.296296
0
0
0
0
0
0
0
0
0
0.080247
162
2
103
81
0.90604
0
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
7
33905cbd909f88fcf7117f15ddb32118a33659e0
22,354
py
Python
tests/test_compare_dictconfig_vs_dict.py
sugatoray/omegaconf
edf9e86493a14b0e909e956d9bae59b9861ef9c5
[ "BSD-3-Clause" ]
1,091
2018-09-06T17:27:12.000Z
2022-03-31T13:47:45.000Z
tests/test_compare_dictconfig_vs_dict.py
sugatoray/omegaconf
edf9e86493a14b0e909e956d9bae59b9861ef9c5
[ "BSD-3-Clause" ]
624
2019-06-11T20:53:19.000Z
2022-03-30T20:44:25.000Z
tests/test_compare_dictconfig_vs_dict.py
sugatoray/omegaconf
edf9e86493a14b0e909e956d9bae59b9861ef9c5
[ "BSD-3-Clause" ]
71
2019-06-14T05:32:45.000Z
2022-03-27T19:52:35.000Z
""" This file compares DictConfig methods with the corresponding methods of standard python's dict. The following methods are compared: __contains__ __delitem__ __eq__ __getitem__ __setitem__ get pop keys values items We have separate test classes for the following cases: Te...
34.496914
101
0.594659
2,688
22,354
4.695313
0.056548
0.099041
0.045163
0.06196
0.842881
0.827351
0.805324
0.786784
0.775374
0.76444
0
0.003745
0.307238
22,354
647
102
34.550232
0.811249
0.167039
0
0.740741
0
0
0.027067
0
0
0
0
0
0.089669
1
0.099415
false
0
0.013645
0
0.134503
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
3397440c72e7652238f4c51ffed77b5f3e8f18d9
5,613
py
Python
loan-calculator.py
jacobmask/loanCalculatorProgram
be6f3497742c1f1c8a0b0c007137406f1ec13fea
[ "MIT" ]
1
2021-06-05T20:00:33.000Z
2021-06-05T20:00:33.000Z
loan-calculator.py
jacobmask/loanCalculatorProgram
be6f3497742c1f1c8a0b0c007137406f1ec13fea
[ "MIT" ]
null
null
null
loan-calculator.py
jacobmask/loanCalculatorProgram
be6f3497742c1f1c8a0b0c007137406f1ec13fea
[ "MIT" ]
null
null
null
""" Author: Jacob Mask Created: 6/5/2021 Modified: 6/5/2021 Notes: An app that calculates multiple monthly loan payments. """ import pandas as pd import os import time def main(): if os.path.exists("data.csv"): print("Loading your data") UI() else: print("Welcome new user") pri...
26.601896
92
0.543916
704
5,613
4.305398
0.18892
0.04157
0.019795
0.025074
0.896404
0.881887
0.881887
0.872649
0.859782
0.859782
0
0.013496
0.300374
5,613
210
93
26.728571
0.75834
0.010689
0
0.896552
0
0
0.291928
0
0
0
0
0
0
0
null
null
0
0.034483
null
null
0.287356
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
8
33dc673bc291dae2f719e48b667a043253fb4750
10,130
py
Python
ktapp/management/commands/calculate_uur.py
cu2/KT
8a0964b77dce150358637faa679d969a07e42f07
[ "CC-BY-3.0" ]
5
2015-04-13T09:44:31.000Z
2017-10-19T01:07:58.000Z
ktapp/management/commands/calculate_uur.py
cu2/KT
8a0964b77dce150358637faa679d969a07e42f07
[ "CC-BY-3.0" ]
49
2015-02-15T07:12:05.000Z
2022-03-11T23:11:43.000Z
ktapp/management/commands/calculate_uur.py
cu2/KT
8a0964b77dce150358637faa679d969a07e42f07
[ "CC-BY-3.0" ]
null
null
null
import datetime import random from django.core.management.base import BaseCommand from django.db import connection from ktapp import models INSERT_SQL_TEMPLATE_1 = ''' INSERT INTO ktapp_useruserrating ( user_1_id, user_2_id, keyword_id, number_of_ratings, similarity, last_calculated_at ) VALUES(%s, %s, %s, ...
42.033195
189
0.695459
1,686
10,130
3.879597
0.114472
0.134536
0.252255
0.135148
0.845895
0.832442
0.818376
0.79789
0.790858
0.7719
0
0.081414
0.198519
10,130
240
190
42.208333
0.724227
0.005824
0
0.731818
0
0.004545
0.672924
0.114422
0
0
0
0
0
1
0.013636
false
0
0.022727
0
0.05
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
9
1d4d24dce6eedf7a4e9943061beca1a1eb180677
616
py
Python
onlineweb4/settings/__init__.py
mariusaarsnes/onlineweb4
3495321dabfd7a7236e6d841b004e9f855b6f30e
[ "MIT" ]
null
null
null
onlineweb4/settings/__init__.py
mariusaarsnes/onlineweb4
3495321dabfd7a7236e6d841b004e9f855b6f30e
[ "MIT" ]
null
null
null
onlineweb4/settings/__init__.py
mariusaarsnes/onlineweb4
3495321dabfd7a7236e6d841b004e9f855b6f30e
[ "MIT" ]
null
null
null
import sys from onlineweb4.settings.django import * from onlineweb4.settings.base import * from onlineweb4.settings.celery import * from onlineweb4.settings.dataporten import * from onlineweb4.settings.django_wiki import * from onlineweb4.settings.gsuite import * from onlineweb4.settings.logging import * from onlinew...
29.333333
57
0.798701
77
616
6.363636
0.428571
0.314286
0.493878
0.514286
0
0
0
0
0
0
0
0.020716
0.137987
616
20
58
30.8
0.902072
0.131494
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.066667
0.866667
0
0.866667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
1d77d8dbe1a046d7dee01deca23cd7e3ba2e010d
3,983
py
Python
pyva/tests/TestIpRules.py
holoyan/python-data-validation
e928c4131072c53cb8ace1fbaa83216f06ab6bfe
[ "MIT" ]
3
2021-03-16T05:47:46.000Z
2021-03-23T17:43:55.000Z
pyva/tests/TestIpRules.py
holoyan/python-data-validation
e928c4131072c53cb8ace1fbaa83216f06ab6bfe
[ "MIT" ]
null
null
null
pyva/tests/TestIpRules.py
holoyan/python-data-validation
e928c4131072c53cb8ace1fbaa83216f06ab6bfe
[ "MIT" ]
null
null
null
import unittest from pyva import Validator class TestIpRules(unittest.TestCase): def test_ipv4_and_ipv6_ips(self): ips = [ '0.0.0.0', '9.255.255.255', '11.0.0.0', '126.255.255.255', '129.0.0.0', '169.253.255.255', '169.2...
23.568047
54
0.342707
440
3,983
3.068182
0.154545
0.05037
0.037778
0.017778
0.905185
0.905185
0.84963
0.824444
0.824444
0.824444
0
0.375377
0.500377
3,983
169
55
23.568047
0.303015
0
0
0.671329
0
0
0.288153
0.119227
0
0
0
0
0.041958
1
0.041958
false
0.020979
0.013986
0
0.062937
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
1
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
9
1d81d8766b0f4d868d4d8d5d72081a20263d1929
41
py
Python
boltzmann_machines/rbm/__init__.py
praisethemoon/boltzmann-machines
bc49ba2c8c6c894af55b272e1b92f9cea3576136
[ "MIT" ]
null
null
null
boltzmann_machines/rbm/__init__.py
praisethemoon/boltzmann-machines
bc49ba2c8c6c894af55b272e1b92f9cea3576136
[ "MIT" ]
null
null
null
boltzmann_machines/rbm/__init__.py
praisethemoon/boltzmann-machines
bc49ba2c8c6c894af55b272e1b92f9cea3576136
[ "MIT" ]
1
2021-08-17T17:36:19.000Z
2021-08-17T17:36:19.000Z
from base_rbm import * from rbm import *
13.666667
22
0.756098
7
41
4.285714
0.571429
0.6
0
0
0
0
0
0
0
0
0
0
0.195122
41
2
23
20.5
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
1d96fa5225cc1a77d949911aa1a8ec6a9f0770e0
2,208
py
Python
tests/test_app/models.py
LucasRoesler/django-archive-mixin
9a78ba960aea9bbb0df8f0579425fb624af712fc
[ "MIT" ]
18
2015-11-08T16:22:19.000Z
2021-07-01T10:05:02.000Z
tests/test_app/models.py
LucasRoesler/django-archive-mixin
9a78ba960aea9bbb0df8f0579425fb624af712fc
[ "MIT" ]
2
2019-03-28T10:06:05.000Z
2020-02-11T22:59:18.000Z
tests/test_app/models.py
LucasRoesler/django-archive-mixin
9a78ba960aea9bbb0df8f0579425fb624af712fc
[ "MIT" ]
4
2016-02-03T02:12:55.000Z
2019-04-23T22:29:07.000Z
from django.db import models from django_archive_mixin.mixins import ArchiveMixin class BaseModel(models.Model): name = models.CharField(max_length=100, blank=True, null=True) class NullRelatedModel(models.Model): nullable_base = models.ForeignKey(BaseModel, blank=True, null=True) class BaseArchiveModel(...
35.612903
74
0.746377
251
2,208
6.406375
0.139442
0.169154
0.121269
0.158582
0.810323
0.754353
0.752488
0.752488
0.752488
0.673507
0
0.003241
0.161685
2,208
61
75
36.196721
0.865478
0
0
0.666667
0
0
0
0
0
0
0
0
0
1
0
false
0
0.044444
0
0.622222
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
7
6398f68b09910e3fa844868578579e0f415b7d36
4,915
py
Python
tests/test_api/test_pyPlanScoringKernel.py
victorgabr/pps
dfe3fae64fd4dedde85204643f9c797c0373f96c
[ "BSD-3-Clause" ]
7
2018-11-18T07:11:05.000Z
2021-05-06T21:53:40.000Z
tests/test_api/test_pyPlanScoringKernel.py
victorgabr/pps
dfe3fae64fd4dedde85204643f9c797c0373f96c
[ "BSD-3-Clause" ]
9
2019-09-23T16:34:09.000Z
2020-05-26T18:49:43.000Z
tests/test_api/test_pyPlanScoringKernel.py
victorgabr/pps
dfe3fae64fd4dedde85204643f9c797c0373f96c
[ "BSD-3-Clause" ]
2
2019-04-18T14:34:31.000Z
2019-06-19T19:34:33.000Z
import os import pytest from gui.api.backend import PyPlanScoringKernel # TODO monkey patching DVH data to cut redundant calculations def test_parse_dicom_folder(dicom_folder): # given p_kernel = PyPlanScoringKernel() # when having a folder containing RS/RD/RP dicom # then p_kernel.parse_dicom...
29.431138
83
0.752391
706
4,915
4.852691
0.114731
0.118506
0.077058
0.061296
0.823117
0.780502
0.768827
0.758903
0.758903
0.758903
0
0.011233
0.166836
4,915
166
84
29.608434
0.825397
0.107426
0
0.706522
0
0
0.085111
0.075476
0
0
0
0.006024
0.130435
1
0.097826
false
0
0.032609
0
0.130435
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
63d51778576b8b39481fa2803d29ee86340782ff
22,202
py
Python
replik/scheduler/scheduler_test.py
jutanke/replik
594fc5ae4e1d1403507334c3827f5a4b68da9b7e
[ "MIT" ]
8
2021-02-16T08:51:08.000Z
2021-07-05T09:04:29.000Z
replik/scheduler/scheduler_test.py
jutanke/replik
594fc5ae4e1d1403507334c3827f5a4b68da9b7e
[ "MIT" ]
5
2021-06-30T13:46:04.000Z
2021-12-08T14:14:02.000Z
replik/scheduler/scheduler_test.py
jutanke/replik
594fc5ae4e1d1403507334c3827f5a4b68da9b7e
[ "MIT" ]
1
2021-11-17T13:06:18.000Z
2021-11-17T13:06:18.000Z
import unittest import replik.scheduler.scheduler as SCHEDULER import replik.scheduler.schedule as SCHED from replik.scheduler.resource_monitor import ResourceMonitor from os.path import isfile class TestSchedulingStep(unittest.TestCase): def assert_is_running(self, proc): self.assertFalse(isfile(SCHEDULE...
40.514599
104
0.618503
2,720
22,202
4.792647
0.070956
0.097806
0.055232
0.082694
0.890304
0.865603
0.836376
0.802777
0.788816
0.774778
0
0.031064
0.250383
22,202
547
105
40.588665
0.752208
0.124133
0
0.720222
0
0.00277
0.025691
0.005014
0
0
0
0
0.556787
1
0.033241
false
0
0.01385
0
0.049862
0.00554
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
8
89272f57191c95d096a46b200ec10c9c47493122
1,629
py
Python
tests/ml/test_adapter.py
MichaelisTrofficus/elephas
579165865787e28d7b842af881ca3b6aa65e98ea
[ "MIT" ]
1,674
2015-08-17T03:54:10.000Z
2022-03-29T12:07:43.000Z
tests/ml/test_adapter.py
MichaelisTrofficus/elephas
579165865787e28d7b842af881ca3b6aa65e98ea
[ "MIT" ]
183
2015-08-25T11:34:21.000Z
2022-03-22T15:33:59.000Z
tests/ml/test_adapter.py
MichaelisTrofficus/elephas
579165865787e28d7b842af881ca3b6aa65e98ea
[ "MIT" ]
359
2015-08-21T20:37:48.000Z
2022-03-23T15:41:12.000Z
import numpy as np from elephas.ml import adapter def test_to_data_frame(spark_context): features = np.ones((2, 10)) labels = np.asarray([[2.0], [1.0]]) data_frame = adapter.to_data_frame( spark_context, features, labels, categorical=False) assert data_frame.count() == 2 def test_to_data_fr...
29.089286
78
0.674647
245
1,629
4.257143
0.159184
0.181208
0.191755
0.14094
0.880153
0.863854
0.861937
0.808245
0.808245
0.727709
0
0.036925
0.18539
1,629
55
79
29.618182
0.749058
0
0
0.675676
0
0
0
0
0
0
0
0
0.189189
1
0.135135
false
0
0.054054
0
0.189189
0
0
0
0
null
0
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
893dbdea6110e4e6062451bbec8f8912b9de549a
2,349
py
Python
inventory/models.py
shreysway/Dubai-Hospital
0333028f11e65430ff45ca17db4545d2d648c0be
[ "MIT" ]
null
null
null
inventory/models.py
shreysway/Dubai-Hospital
0333028f11e65430ff45ca17db4545d2d648c0be
[ "MIT" ]
3
2021-03-19T11:05:51.000Z
2021-06-09T19:25:54.000Z
inventory/models.py
shreysway/Dubai-Hospital
0333028f11e65430ff45ca17db4545d2d648c0be
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Device(models.Model): Status = models.CharField(max_length=200, blank=False) DoctorName = models.CharField(max_length=200) TokenNo = models.CharField(max_length=50) issues = models.CharField(max_length=50) class Meta: ...
30.115385
84
0.616858
260
2,349
5.461538
0.203846
0.137324
0.164789
0.219718
0.865493
0.817606
0.778873
0.778873
0.778873
0.778873
0
0.0218
0.238399
2,349
77
85
30.506494
0.77194
0.707961
0
0.1875
0
0
0.043011
0
0
0
0
0
0
1
0.0625
false
0.1875
0.0625
0.0625
0.75
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
9
8964100923a118137f3c58844605188df91fa8f4
3,984
py
Python
test/test_tabular_benchmarks/test_tabular_nas_cifar10.py
haconline/nas_benchmarks
1b09906ba3f522f15766b75643423acccd9db3a5
[ "BSD-3-Clause" ]
76
2019-02-13T00:47:50.000Z
2022-02-09T00:02:23.000Z
test/test_tabular_benchmarks/test_tabular_nas_cifar10.py
haconline/nas_benchmarks
1b09906ba3f522f15766b75643423acccd9db3a5
[ "BSD-3-Clause" ]
10
2019-01-30T14:18:37.000Z
2021-11-20T01:29:38.000Z
test/test_tabular_benchmarks/test_tabular_nas_cifar10.py
haconline/nas_benchmarks
1b09906ba3f522f15766b75643423acccd9db3a5
[ "BSD-3-Clause" ]
29
2018-03-14T22:27:30.000Z
2022-03-06T23:01:48.000Z
import unittest from tabular_benchmarks import NASCifar10A, NASCifar10B, NASCifar10C class TestNASCifar10A(unittest.TestCase): def setUp(self): self.b = NASCifar10A(data_dir="./") def test_fix_configuration(self): cs = self.b.get_configuration_space() config = cs.sample_configuratio...
30.412214
85
0.609438
516
3,984
4.410853
0.160853
0.127417
0.082162
0.073814
0.836995
0.836995
0.836995
0.783392
0.783392
0.783392
0
0.070241
0.260291
3,984
130
86
30.646154
0.70207
0.017068
0
0.765957
0
0
0.150051
0
0
0
0
0
0.031915
1
0.095745
false
0
0.031915
0
0.159574
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
898ba14cbea7d24028e7d55b03da48b15fead0cd
14,881
py
Python
example/burrow_integration/get_transactions.py
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
example/burrow_integration/get_transactions.py
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
example/burrow_integration/get_transactions.py
Insafin/iroha
5e3c3252b2a62fa887274bdf25547dc264c10c26
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
import os import binascii from iroha import IrohaCrypto from iroha import Iroha, IrohaGrpc from iroha.primitive_pb2 import can_set_my_account_detail from iroha.queries_pb2 import * import sys from Crypto.Hash import keccak import integration_helpers import json if sys.version_info[0] < 3: raise Exception("Python 3 ...
119.048
9,395
0.901485
692
14,881
19.057803
0.236994
0.028662
0.023658
0.025023
0.135502
0.122308
0.109873
0.105778
0.074234
0.067106
0
0.522918
0.063168
14,881
125
9,396
119.048
0.423069
0.015053
0
0.274336
0
0.00885
0.687878
0.658228
0
1
0
0
0
1
0.044248
false
0
0.088496
0
0.176991
0.115044
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
8
89bc29a2c78c3b4915df7a11c68cc9ed23c43e32
7,814
py
Python
models/imagenet/arch/fbnet_v2/fbnet_modeldef_cls_dmasking.py
a1004123217/pytorch-mobile
97974af3259a2073efbc334d57841efbd3eaadfb
[ "MIT" ]
null
null
null
models/imagenet/arch/fbnet_v2/fbnet_modeldef_cls_dmasking.py
a1004123217/pytorch-mobile
97974af3259a2073efbc334d57841efbd3eaadfb
[ "MIT" ]
null
null
null
models/imagenet/arch/fbnet_v2/fbnet_modeldef_cls_dmasking.py
a1004123217/pytorch-mobile
97974af3259a2073efbc334d57841efbd3eaadfb
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from .fbnet_modeldef_cls import MODEL_ARCH from .modeldef_utils import _ex, e1, e6 BASIC_ARGS = {} IRF_CFG = {"less_se_channels": False} MODEL_ARCH_DMASKING_NET = { "dmasking_f1": { # nparams: 5.998952, nflops ...
40.910995
70
0.42795
1,148
7,814
2.5723
0.099303
0.174738
0.088046
0.162547
0.838469
0.818151
0.789705
0.785303
0.768033
0.740264
0
0.211146
0.391477
7,814
190
71
41.126316
0.409884
0.056565
0
0.5
0
0
0.156088
0
0
0
0
0
0
1
0
false
0
0.012821
0
0.012821
0
0
0
0
null
0
0
1
1
1
1
1
1
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
9
7f5183a9881a94d6ca082e7c0b6b78e673ef8516
73
py
Python
device/controller/__init__.py
ZJU-Robotics-Lab/CICT
ff873a03ab03d9113b8db96d26246939bb5da0d4
[ "MIT" ]
12
2021-02-09T05:08:36.000Z
2022-02-24T07:51:30.000Z
device/controller/__init__.py
ZJU-Robotics-Lab/CICT
ff873a03ab03d9113b8db96d26246939bb5da0d4
[ "MIT" ]
null
null
null
device/controller/__init__.py
ZJU-Robotics-Lab/CICT
ff873a03ab03d9113b8db96d26246939bb5da0d4
[ "MIT" ]
6
2021-03-30T06:30:13.000Z
2022-03-01T14:15:00.000Z
from .controller import * from .xbox import * from .passive_xbox import *
24.333333
27
0.767123
10
73
5.5
0.5
0.363636
0
0
0
0
0
0
0
0
0
0
0.150685
73
3
27
24.333333
0.887097
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
7
7fbda9658a2a02ae0c961928cb2342d76c03e908
3,851
py
Python
all/presets/preset.py
kcorder/autonomous-learning-library
0266195fa47564e51a32087bc007bff6dda5e263
[ "MIT" ]
584
2019-07-10T20:21:55.000Z
2022-03-30T22:47:57.000Z
all/presets/preset.py
kcorder/autonomous-learning-library
0266195fa47564e51a32087bc007bff6dda5e263
[ "MIT" ]
104
2019-03-27T14:08:22.000Z
2022-01-06T18:16:23.000Z
all/presets/preset.py
kcorder/autonomous-learning-library
0266195fa47564e51a32087bc007bff6dda5e263
[ "MIT" ]
66
2019-07-11T00:59:06.000Z
2022-03-15T05:22:57.000Z
from abc import ABC, abstractmethod import torch class Preset(ABC): """ A Preset Agent factory. This class allows the user to instantiate preconfigured Agents and test Agents. All Agents constructed by the Preset share a network model and parameters. However, other objects, such as ReplayBuffers,...
31.056452
102
0.648922
459
3,851
5.398693
0.228758
0.029056
0.030266
0.040355
0.860775
0.853511
0.815981
0.773204
0.676352
0.59322
0
0
0.284601
3,851
123
103
31.308943
0.899456
0.60322
0
0.764706
0
0
0.010989
0
0
0
0
0
0
1
0.294118
false
0.147059
0.058824
0.029412
0.5
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
7
125a11089f8476990e0c8c617753bcc008554b8d
6,886
py
Python
unused_or_abandoned/splicing/combine_velocyto_outputs.py
molgenis/1M-cells
a7ed82b5b1b308f98b7735d559abb14d95694cbb
[ "BSD-2-Clause" ]
1
2021-12-01T10:38:49.000Z
2021-12-01T10:38:49.000Z
unused_or_abandoned/splicing/combine_velocyto_outputs.py
molgenis/1M-cells
a7ed82b5b1b308f98b7735d559abb14d95694cbb
[ "BSD-2-Clause" ]
null
null
null
unused_or_abandoned/splicing/combine_velocyto_outputs.py
molgenis/1M-cells
a7ed82b5b1b308f98b7735d559abb14d95694cbb
[ "BSD-2-Clause" ]
null
null
null
import loompy as loompy looms_v2 = ['/groups/umcg-bios/tmp01/projects/1M_cells_scRNAseq/ongoing/splicing/lanes/HG19/180920_lane1/velocyto/180920_lane1.loom', '/groups/umcg-bios/tmp01/projects/1M_cells_scRNAseq/ongoing/splicing/lanes/HG19/180925_lane1/velocyto/180925_lane1.loom', '/groups/umcg-bios/tmp01/projects/1M_ce...
491.857143
4,891
0.850712
1,022
6,886
5.499022
0.05773
0.097865
0.137011
0.185943
0.794128
0.794128
0.794128
0.794128
0.781673
0.781673
0
0.150286
0.011473
6,886
13
4,892
529.692308
0.675334
0
0
0
0
7.857143
0.94133
0.938716
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
1
1
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
11
89e404fc515c54d3c3fc7ab651611d0f7ca9f7dd
8,482
py
Python
monk/system_check_tests/keras/test_update_copy_from.py
Shreyashwaghe/monk_v1
4ee4d9483e8ffac9b73a41f3c378e5abf5fc799b
[ "Apache-2.0" ]
7
2020-07-26T08:37:29.000Z
2020-10-30T10:23:11.000Z
monk/system_check_tests/keras/test_update_copy_from.py
mursalfk/monk_v1
62f34a52f242772186ffff7e56764e958fbcd920
[ "Apache-2.0" ]
9
2020-01-28T21:40:39.000Z
2022-02-10T01:24:06.000Z
monk/system_check_tests/keras/test_update_copy_from.py
mursalfk/monk_v1
62f34a52f242772186ffff7e56764e958fbcd920
[ "Apache-2.0" ]
1
2020-10-07T12:57:44.000Z
2020-10-07T12:57:44.000Z
import os import sys sys.path.append("../../../monk/"); import psutil from keras_prototype import prototype from compare_prototype import compare from common import print_start from common import print_status def test_update_copy_from(system_dict): forward = True; test = "update_copy_from_object_creation";...
33.132813
124
0.607522
964
8,482
4.996888
0.089212
0.166078
0.080963
0.107951
0.863816
0.85136
0.85136
0.85136
0.85136
0.85136
0
0.008159
0.263028
8,482
256
125
33.132813
0.762438
0
0
0.827273
0
0
0.241188
0.093363
0
0
0
0
0
1
0.004545
false
0.059091
0.031818
0
0.040909
0.245455
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
8
89f0ef1e1dc97e4d624e4484840bd5d830d1d158
284
py
Python
exercises/exe01 - 10/exe007.py
thomas-rohde/Classes-Python
f862995510b7aabf68bc14aecf815f597034d8a1
[ "MIT" ]
null
null
null
exercises/exe01 - 10/exe007.py
thomas-rohde/Classes-Python
f862995510b7aabf68bc14aecf815f597034d8a1
[ "MIT" ]
null
null
null
exercises/exe01 - 10/exe007.py
thomas-rohde/Classes-Python
f862995510b7aabf68bc14aecf815f597034d8a1
[ "MIT" ]
null
null
null
n = int(input('Selecione um n°: ')) print('A tabuada de {} é:\n---------------------\n->1-({}) ->2-({})\n->3-({}) ->4-({})\n-------------\n->5-({}) ->6-({})\n-------------\n->7-({}) ->8-({})\n-------------\n->9-({}) ->10-({})'.format(n, n*2, n*3, n*4, n*5, n*6, n*7, n*8, n*9, n*10))
94.666667
247
0.292254
51
284
1.647059
0.431373
0.119048
0.071429
0
0
0
0
0
0
0
0
0.081081
0.088028
284
3
247
94.666667
0.239382
0
0
0
0
0.5
0.698246
0.470175
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
d62cf131370f0524627cb5b5acf1e3867dcc294d
67
py
Python
python-jokes.py
aditya270520/python-jokes
c51dcd8feb9cee6043bc6b9f299dce562e76c274
[ "MIT" ]
null
null
null
python-jokes.py
aditya270520/python-jokes
c51dcd8feb9cee6043bc6b9f299dce562e76c274
[ "MIT" ]
null
null
null
python-jokes.py
aditya270520/python-jokes
c51dcd8feb9cee6043bc6b9f299dce562e76c274
[ "MIT" ]
null
null
null
import pyjokes print(pyjokes.get_joke()) print(pyjokes.get_jokes())
22.333333
26
0.80597
10
67
5.2
0.6
0.461538
0.576923
0
0
0
0
0
0
0
0
0
0.044776
67
3
26
22.333333
0.8125
0
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
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
7
7f05dd21f4ae15e8bc51988fac7596b7e9e25de9
83
py
Python
opencoverage/api/__init__.py
pavelito/opencoverage
ee2820dc1c5261263e8be1f041ce915e54248905
[ "MIT" ]
25
2021-01-20T17:38:03.000Z
2021-12-13T22:23:22.000Z
opencoverage/api/__init__.py
pavelito/opencoverage
ee2820dc1c5261263e8be1f041ce915e54248905
[ "MIT" ]
16
2021-01-23T17:51:19.000Z
2021-03-21T11:25:05.000Z
opencoverage/api/__init__.py
pavelito/opencoverage
ee2820dc1c5261263e8be1f041ce915e54248905
[ "MIT" ]
6
2021-01-22T12:47:05.000Z
2022-01-27T09:49:53.000Z
from . import api # noqa from . import badge # noqa from . import upload # noqa
20.75
28
0.674699
12
83
4.666667
0.5
0.535714
0.5
0
0
0
0
0
0
0
0
0
0.253012
83
3
29
27.666667
0.903226
0.168675
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
617609fea285bd5b60498bae0ddca56f48ae63f8
27,156
py
Python
tests/test_runner.py
omertuc/skipper
d2e47cee6491d817e9235593564ae3fff334ec4c
[ "Apache-2.0" ]
null
null
null
tests/test_runner.py
omertuc/skipper
d2e47cee6491d817e9235593564ae3fff334ec4c
[ "Apache-2.0" ]
null
null
null
tests/test_runner.py
omertuc/skipper
d2e47cee6491d817e9235593564ae3fff334ec4c
[ "Apache-2.0" ]
null
null
null
import sys import os import unittest import mock from skipper import utils from skipper import runner from skipper.runner import get_default_net USER_ID = 1000 GROUP_ID = 2000 REGISTRY = 'registry.io:5000' IMAGE = 'image' TAG = '1234567' FQDN_IMAGE = REGISTRY + '/' + IMAGE + ':' + TAG WORKDIR = '/home/adir/work' HOM...
53.880952
145
0.621152
3,325
27,156
4.81594
0.05203
0.065946
0.056954
0.059452
0.926247
0.915881
0.908324
0.907263
0.904265
0.895835
0
0.005383
0.220099
27,156
503
146
53.988072
0.750696
0
0
0.805439
0
0.018828
0.263109
0.165562
0
0
0
0
0.027197
1
0.029289
false
0.018828
0.014644
0
0.054393
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
f6241736e9a9091965f110ad19a07fc9fa6bb9e7
8,093
py
Python
dwca/darwincore/terms.py
neilh-cogapp/python-dwca-reader
04120b80f33d632ac78284b57c153c4a5f574941
[ "BSD-3-Clause" ]
30
2015-01-13T22:06:37.000Z
2022-02-06T18:45:45.000Z
dwca/darwincore/terms.py
neilh-cogapp/python-dwca-reader
04120b80f33d632ac78284b57c153c4a5f574941
[ "BSD-3-Clause" ]
63
2015-01-12T14:16:55.000Z
2021-08-13T10:48:30.000Z
dwca/darwincore/terms.py
neilh-cogapp/python-dwca-reader
04120b80f33d632ac78284b57c153c4a5f574941
[ "BSD-3-Clause" ]
22
2015-08-04T16:33:04.000Z
2021-05-25T20:26:07.000Z
TERMS = ['http://rs.tdwg.org/dwc/terms/occurrenceDetails', 'http://rs.tdwg.org/dwc/terms/highestBiostratigraphicZone', 'http://rs.tdwg.org/dwc/terms/associatedTaxa', 'http://rs.tdwg.org/dwc/terms/latestEpochOrHighestSeries', 'http://rs.tdwg.org/dwc/terms/informationWithheld', 'http://rs.tdwg.org/dwc/terms/minimumDistan...
4,046.5
8,092
0.750154
1,174
8,093
5.17121
0.150767
0.157141
0.261901
0.340471
0.579641
0.549992
0
0
0
0
0
0
0.021129
8,093
1
8,093
8,093
0.766347
0
0
0
0
0
0.915359
0
0
0
0
0
0
1
0
false
0
0
0
0
1
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
7
f63916f5f63866ab9b61ea738d5d02526728e7a1
4,208
py
Python
Problem 079 - Passcode Derivation.py
Deviloxide/Project-Euler
bc26bdd6d1efa90e5e7523e77764a32104534ef7
[ "MIT" ]
null
null
null
Problem 079 - Passcode Derivation.py
Deviloxide/Project-Euler
bc26bdd6d1efa90e5e7523e77764a32104534ef7
[ "MIT" ]
null
null
null
Problem 079 - Passcode Derivation.py
Deviloxide/Project-Euler
bc26bdd6d1efa90e5e7523e77764a32104534ef7
[ "MIT" ]
null
null
null
def passcode_derivation(file): text_file = open(file, "r") lines = text_file.read().split() b0 = [] b1 = [] b2 = [] b3 = [] b4 = [] b5 = [] b6 = [] b7 = [] b8 = [] b9 = [] for line in lines: num_list = b0 num_str = "0" if ...
28.053333
63
0.456749
591
4,208
3.067682
0.094755
0.27027
0.132377
0.198566
0.823497
0.823497
0.823497
0.823497
0.823497
0.823497
0
0.052345
0.43251
4,208
149
64
28.241611
0.706868
0
0
0.655738
0
0
0.010594
0.005174
0
0
0
0
0
1
0.008197
false
0.016393
0
0
0.016393
0.008197
0
0
0
null
1
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
140a307831c5f4fa4a38f9a49a9405a449f927f7
99
py
Python
memtkinter/scrolledtext.py
JamesGKent/memtkinter
c4e178b33f24e609c812b20bddfff7448782a192
[ "MIT" ]
null
null
null
memtkinter/scrolledtext.py
JamesGKent/memtkinter
c4e178b33f24e609c812b20bddfff7448782a192
[ "MIT" ]
3
2018-06-04T09:32:20.000Z
2018-06-07T15:27:56.000Z
memtkinter/scrolledtext.py
JamesGKent/memtkinter
c4e178b33f24e609c812b20bddfff7448782a192
[ "MIT" ]
null
null
null
try: from tkinter.scrolledtext import * except ImportError: from Tkinter.ScrolledText import *
24.75
36
0.787879
11
99
7.090909
0.636364
0.282051
0.589744
0.74359
0
0
0
0
0
0
0
0
0.151515
99
4
37
24.75
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
1
0
0
null
1
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
7
1aed2562a4074d14712b800caff0fa411f442acb
10,192
py
Python
test/db/test_room_manager.py
thenetcircle/dino
1047c3458e91a1b4189e9f48f1393b3a68a935b3
[ "Apache-2.0" ]
150
2016-10-05T11:09:36.000Z
2022-03-06T16:24:41.000Z
test/db/test_room_manager.py
thenetcircle/dino
1047c3458e91a1b4189e9f48f1393b3a68a935b3
[ "Apache-2.0" ]
27
2017-03-02T03:37:02.000Z
2022-02-10T04:59:54.000Z
test/db/test_room_manager.py
thenetcircle/dino
1047c3458e91a1b4189e9f48f1393b3a68a935b3
[ "Apache-2.0" ]
21
2016-11-11T07:51:48.000Z
2020-04-26T21:38:33.000Z
#!/usr/bin/env python # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
47.185185
118
0.730965
1,194
10,192
5.956449
0.115578
0.18279
0.148481
0.190242
0.806665
0.77306
0.765748
0.739173
0.725956
0.721457
0
0.001906
0.176315
10,192
215
119
47.404651
0.845265
0.052787
0
0.591716
0
0
0.008608
0.002385
0
0
0
0
0.337278
1
0.153846
false
0
0.029586
0
0.195266
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
210f6434dc7e0b1127d19c62648caf3cbf4fa95c
6,405
py
Python
conans/test/functional/tools/system/package_manager_test.py
Mu-L/conan
7c24ec4bbd6e8c16cdcd879403aae742689bc36a
[ "MIT" ]
1
2019-11-04T17:23:09.000Z
2019-11-04T17:23:09.000Z
conans/test/functional/tools/system/package_manager_test.py
Mu-L/conan
7c24ec4bbd6e8c16cdcd879403aae742689bc36a
[ "MIT" ]
1
2020-11-05T16:16:49.000Z
2020-11-05T16:16:49.000Z
conans/test/functional/tools/system/package_manager_test.py
Mattlk13/conan
005fc53485557b0a570bb71670f2ca9c66082165
[ "MIT" ]
null
null
null
import platform import textwrap import pytest import six from conans.test.utils.tools import TestClient @pytest.mark.tool_apt_get @pytest.mark.skipif(platform.system() != "Linux", reason="Requires apt") def test_apt_check(): client = TestClient() client.save({"conanfile.py": textwrap.dedent(""" from...
42.986577
112
0.646682
786
6,405
5.187023
0.150127
0.029433
0.040471
0.073584
0.801815
0.77557
0.77557
0.764287
0.738288
0.701496
0
0.015289
0.223888
6,405
148
113
43.277027
0.804868
0
0
0.625954
0
0.030534
0.65808
0.130835
0
0
0
0
0.137405
1
0.045802
false
0.007634
0.137405
0
0.183206
0.022901
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
216712f95db80fe7f0b1c8d753a48c126b081a9d
7,581
py
Python
test/accrocchio/test_badgeofshame.py
fcracker79/accrocchio
5c74278c47d813e53fb53e6a27db6bfcb5561f51
[ "MIT" ]
12
2017-09-20T22:59:05.000Z
2022-03-09T10:02:19.000Z
test/accrocchio/test_badgeofshame.py
fcracker79/accrocchio
5c74278c47d813e53fb53e6a27db6bfcb5561f51
[ "MIT" ]
1
2018-03-20T13:46:38.000Z
2018-03-20T21:08:53.000Z
test/accrocchio/test_badgeofshame.py
fcracker79/accrocchio
5c74278c47d813e53fb53e6a27db6bfcb5561f51
[ "MIT" ]
null
null
null
import unittest from unittest import mock # noinspection PyUnresolvedReferences from accrocchio.badgeofshame import accrocchio, detonator, epoxy, compromise, blinder, flypaper from accrocchio.badgeofshame import this_is_a, this_is_an from accrocchio.observers import AccrocchioObserver class TestBadgeOfShame(unittest...
35.759434
104
0.64411
870
7,581
5.428736
0.088506
0.254076
0.09549
0.19098
0.794199
0.757358
0.741901
0.723269
0.703578
0.692568
0
0.01967
0.248912
7,581
211
105
35.92891
0.8098
0.046828
0
0.716763
0
0
0
0
0
0
0
0
0.468208
1
0.092486
false
0.086705
0.028902
0
0.16185
0
0
0
0
null
1
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
10
dcdc575801134824c6c41b2e57a0596b069ebd61
175
py
Python
move_bot/components/__init__.py
rerobins/rho_move_bot
8e431d6a68f51db2703326d30ed3110eec824c39
[ "BSD-3-Clause" ]
null
null
null
move_bot/components/__init__.py
rerobins/rho_move_bot
8e431d6a68f51db2703326d30ed3110eec824c39
[ "BSD-3-Clause" ]
null
null
null
move_bot/components/__init__.py
rerobins/rho_move_bot
8e431d6a68f51db2703326d30ed3110eec824c39
[ "BSD-3-Clause" ]
null
null
null
from move_bot.components.update_service import update_service from sleekxmpp.plugins.base import register_plugin def load_components(): register_plugin(update_service)
21.875
61
0.845714
23
175
6.130435
0.608696
0.276596
0
0
0
0
0
0
0
0
0
0
0.102857
175
7
62
25
0.898089
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.5
0
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
dce706ac748aa4855ecc21a8e8010bfe3dd2ac39
1,526
py
Python
cointrol/core/migrations/0004_auto_20171103_2342.py
fakegit/cointrol
077bb66189ff2d3f7714ad2a7812d4860c825cba
[ "MIT" ]
967
2015-03-19T17:28:07.000Z
2022-03-24T22:55:47.000Z
cointrol/core/migrations/0004_auto_20171103_2342.py
fakegit/cointrol
077bb66189ff2d3f7714ad2a7812d4860c825cba
[ "MIT" ]
23
2017-03-11T23:08:13.000Z
2020-04-18T14:04:24.000Z
cointrol/core/migrations/0004_auto_20171103_2342.py
fakegit/cointrol
077bb66189ff2d3f7714ad2a7812d4860c825cba
[ "MIT" ]
287
2017-03-15T05:15:56.000Z
2022-01-29T08:04:16.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-11-03 22:42 from __future__ import unicode_literals import cointrol.core.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0003_ticker_open'), ] operations = [ migrations...
32.468085
95
0.608126
165
1,526
5.436364
0.290909
0.093645
0.140468
0.180602
0.77592
0.77592
0.77592
0.730212
0.730212
0.730212
0
0.040614
0.273919
1,526
46
96
33.173913
0.768953
0.044561
0
0.615385
1
0
0.092096
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.153846
0
0
0
0
null
0
0
1
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7