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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
258b4c4d86ebf84020007a69ce8d0cd3af17ec1a | 228 | py | Python | src/data_analysis/__init__.py | otimgren/centrex-data-analysis | 114252cb61e0ec73a423467cee59b29677decfc5 | [
"MIT"
] | null | null | null | src/data_analysis/__init__.py | otimgren/centrex-data-analysis | 114252cb61e0ec73a423467cee59b29677decfc5 | [
"MIT"
] | null | null | null | src/data_analysis/__init__.py | otimgren/centrex-data-analysis | 114252cb61e0ec73a423467cee59b29677decfc5 | [
"MIT"
] | null | null | null | from .analyzers import *
from .background_subtractors import *
from .bootstrapping import *
from .cutters import *
from .plotters import *
from .preprocessors import *
from .retrievers import *
from .signal_calculators import *
| 25.333333 | 37 | 0.789474 | 26 | 228 | 6.846154 | 0.461538 | 0.393258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 228 | 8 | 38 | 28.5 | 0.908163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25ba92ff1e6437ff5b828d54b3759ce9f95a66be | 12,968 | py | Python | backend/test_api.py | danrneal/full-stack-cafe | f0c9c51a0d29a129a2ce344c63a77ffc33b2dc7b | [
"MIT"
] | null | null | null | backend/test_api.py | danrneal/full-stack-cafe | f0c9c51a0d29a129a2ce344c63a77ffc33b2dc7b | [
"MIT"
] | null | null | null | backend/test_api.py | danrneal/full-stack-cafe | f0c9c51a0d29a129a2ce344c63a77ffc33b2dc7b | [
"MIT"
] | 1 | 2020-04-09T16:46:27.000Z | 2020-04-09T16:46:27.000Z | """Test objects used to test the behavior of endpoints in api.py.
Usage: test_api.py
Attributes:
BARISTA_TOKEN: An environmental variable representing a valid token
belonging to a user with the 'Barista' role
MANAGER_TOKEN: An environmental variable representing a valid token
belonging to a us... | 38.710448 | 79 | 0.657156 | 1,627 | 12,968 | 5.073755 | 0.103258 | 0.112659 | 0.167171 | 0.13083 | 0.859237 | 0.811145 | 0.772623 | 0.751181 | 0.724167 | 0.714961 | 0 | 0.006979 | 0.215531 | 12,968 | 334 | 80 | 38.826347 | 0.804482 | 0.210133 | 0 | 0.573604 | 0 | 0 | 0.135492 | 0.013589 | 0 | 0 | 0 | 0 | 0.350254 | 1 | 0.13198 | false | 0 | 0.020305 | 0 | 0.167513 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
25d78ab47135540d7e2f4d61b4a33bebc98f6e31 | 36 | py | Python | src/presentation/errors/__init__.py | oliveirahelena/flask-boilerplate | e614ad65f60d5ae04f94ba8e2f7c00d5821cf41f | [
"MIT"
] | null | null | null | src/presentation/errors/__init__.py | oliveirahelena/flask-boilerplate | e614ad65f60d5ae04f94ba8e2f7c00d5821cf41f | [
"MIT"
] | null | null | null | src/presentation/errors/__init__.py | oliveirahelena/flask-boilerplate | e614ad65f60d5ae04f94ba8e2f7c00d5821cf41f | [
"MIT"
] | null | null | null | from .http_errors import HttpErrors
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d30a3ab082d3e7c1492d5661b4adf9c9bda46301 | 6,100 | py | Python | tests/runners/mount_searchable_snapshot_runner_test.py | ywelsch/rally-eventdata-track | 148fe2ffc90f192a1d3d68c614031e40ecc67eae | [
"Apache-2.0"
] | null | null | null | tests/runners/mount_searchable_snapshot_runner_test.py | ywelsch/rally-eventdata-track | 148fe2ffc90f192a1d3d68c614031e40ecc67eae | [
"Apache-2.0"
] | null | null | null | tests/runners/mount_searchable_snapshot_runner_test.py | ywelsch/rally-eventdata-track | 148fe2ffc90f192a1d3d68c614031e40ecc67eae | [
"Apache-2.0"
] | null | null | null | # Licensed to Elasticsearch B.V. under one or more contributor
# license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this f... | 33.701657 | 92 | 0.551803 | 582 | 6,100 | 5.647766 | 0.231959 | 0.10861 | 0.093094 | 0.049285 | 0.758138 | 0.758138 | 0.758138 | 0.758138 | 0.747794 | 0.747794 | 0 | 0.037317 | 0.327869 | 6,100 | 180 | 93 | 33.888889 | 0.76439 | 0.133115 | 0 | 0.778571 | 0 | 0 | 0.291572 | 0.181663 | 0 | 0 | 0 | 0 | 0.042857 | 1 | 0 | false | 0 | 0.021429 | 0 | 0.021429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d363e9287658ed15abed489bbc1a0ca69b72e70c | 39 | py | Python | repos/common/actors/testactor/tests/test_testactor.py | examon/leapp-actors | d9a490b1db59d6cfe4319c3142674a18d22e5982 | [
"Apache-2.0"
] | null | null | null | repos/common/actors/testactor/tests/test_testactor.py | examon/leapp-actors | d9a490b1db59d6cfe4319c3142674a18d22e5982 | [
"Apache-2.0"
] | null | null | null | repos/common/actors/testactor/tests/test_testactor.py | examon/leapp-actors | d9a490b1db59d6cfe4319c3142674a18d22e5982 | [
"Apache-2.0"
] | null | null | null |
def test_testactor():
assert True
| 9.75 | 21 | 0.692308 | 5 | 39 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 39 | 3 | 22 | 13 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6c99feb83a258655853cf1ae8568d8ef90625f60 | 1,239 | py | Python | tests/testpacket_publish.py | kaniini/asyncmqtt | 812e4e784680cb27fd5650b40c36ce66bf1c6bfc | [
"MIT"
] | null | null | null | tests/testpacket_publish.py | kaniini/asyncmqtt | 812e4e784680cb27fd5650b40c36ce66bf1c6bfc | [
"MIT"
] | null | null | null | tests/testpacket_publish.py | kaniini/asyncmqtt | 812e4e784680cb27fd5650b40c36ce66bf1c6bfc | [
"MIT"
] | null | null | null | import unittest
from asyncmqtt.packet_publish import PublishPacket
class PublishPacketTests(unittest.TestCase):
def test_marshal_demarshal(self):
pp = PublishPacket.build('moo', b'cows go moo', None, False, False, False)
pp_bytes = pp.to_bytes()
pp2 = PublishPacket.from_bytes(pp_bytes)
... | 37.545455 | 84 | 0.690073 | 165 | 1,239 | 4.969697 | 0.218182 | 0.076829 | 0.186585 | 0.084146 | 0.740244 | 0.740244 | 0.740244 | 0.740244 | 0.740244 | 0.695122 | 0 | 0.014127 | 0.200161 | 1,239 | 32 | 85 | 38.71875 | 0.81332 | 0 | 0 | 0.6 | 0 | 0 | 0.033898 | 0 | 0 | 0 | 0.009685 | 0 | 0.36 | 1 | 0.12 | false | 0 | 0.08 | 0 | 0.24 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ca1bc3da46e613b668049acc9956acf3d43bcd4 | 46 | py | Python | rotkehlchen/chain/ethereum/modules/hop/__init__.py | rotkehlchenio/rotkehlchen | 98f49cd3ed26c641fec03b78eff9fe1872385fbf | [
"BSD-3-Clause"
] | 137 | 2018-03-05T11:53:29.000Z | 2019-11-03T16:38:42.000Z | rotkehlchen/chain/ethereum/modules/hop/__init__.py | rotkehlchenio/rotkehlchen | 98f49cd3ed26c641fec03b78eff9fe1872385fbf | [
"BSD-3-Clause"
] | 385 | 2018-03-08T12:43:41.000Z | 2019-11-10T09:15:36.000Z | rotkehlchen/chain/ethereum/modules/hop/__init__.py | rotkehlchenio/rotkehlchen | 98f49cd3ed26c641fec03b78eff9fe1872385fbf | [
"BSD-3-Clause"
] | 59 | 2018-03-08T10:08:27.000Z | 2019-10-26T11:30:44.000Z | from .decoder import HopDecoder # noqa: F401
| 23 | 45 | 0.76087 | 6 | 46 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.173913 | 46 | 1 | 46 | 46 | 0.842105 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6caa00cbbee90baa44c698915e3d50717c29ddf2 | 43 | py | Python | tailorscad/api/__init__.py | savorywatt/tailorSCAD | dc0dd76da780a635fc2694bc7396aaf418dcca12 | [
"MIT"
] | null | null | null | tailorscad/api/__init__.py | savorywatt/tailorSCAD | dc0dd76da780a635fc2694bc7396aaf418dcca12 | [
"MIT"
] | null | null | null | tailorscad/api/__init__.py | savorywatt/tailorSCAD | dc0dd76da780a635fc2694bc7396aaf418dcca12 | [
"MIT"
] | null | null | null | from tailorscad.process import render_scad
| 21.5 | 42 | 0.883721 | 6 | 43 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6cc46dcc834f536c83ebace4c401e3bd0e5ac243 | 3,038 | py | Python | crypto-rl/trading_gym/broker_test.py | mikimaus78/ml_monorepo | b2c2627ff0e86e27f6829170d0dac168d8e5783b | [
"BSD-3-Clause"
] | 51 | 2019-02-01T19:43:37.000Z | 2022-03-16T09:07:03.000Z | crypto-rl/trading_gym/broker_test.py | mikimaus78/ml_monorepo | b2c2627ff0e86e27f6829170d0dac168d8e5783b | [
"BSD-3-Clause"
] | 2 | 2019-02-23T18:54:22.000Z | 2019-11-09T01:30:32.000Z | crypto-rl/trading_gym/broker_test.py | mikimaus78/ml_monorepo | b2c2627ff0e86e27f6829170d0dac168d8e5783b | [
"BSD-3-Clause"
] | 35 | 2019-02-08T02:00:31.000Z | 2022-03-01T23:17:00.000Z | from broker import Broker
def test_case_one():
print('\nTest_Case_One')
test_position = Broker()
midpoint = 100.
fee = .003
# ========
order_open = {
'price': midpoint + (midpoint * fee),
'side': 'long'
}
test_position.add(order=order_open)
assert test_position.... | 28.12963 | 90 | 0.664582 | 372 | 3,038 | 5.077957 | 0.142473 | 0.203282 | 0.152462 | 0.14558 | 0.857597 | 0.856538 | 0.831128 | 0.78613 | 0.714134 | 0.595553 | 0 | 0.018511 | 0.217577 | 3,038 | 107 | 91 | 28.392523 | 0.776188 | 0.008558 | 0 | 0.613333 | 0 | 0 | 0.102158 | 0 | 0 | 0 | 0 | 0 | 0.213333 | 1 | 0.04 | false | 0 | 0.013333 | 0 | 0.053333 | 0.133333 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9f5d5305afd20f75a2c77ffc59b2f7c4df80cd3b | 396 | py | Python | ci-wrappers/pythonpreview/wrapper/swagger_server/models/__init__.py | v-greach/iot-sdks-e2e-fx | 2ceb178c886ced2a639dcd61bf11206a58685509 | [
"MIT"
] | null | null | null | ci-wrappers/pythonpreview/wrapper/swagger_server/models/__init__.py | v-greach/iot-sdks-e2e-fx | 2ceb178c886ced2a639dcd61bf11206a58685509 | [
"MIT"
] | 1 | 2021-06-01T23:42:31.000Z | 2021-06-01T23:42:31.000Z | ci-wrappers/python/wrapper/swagger_server/models/__init__.py | gregga/my-iot-sdks-e2e-fx | f043aff93b415e214136110ed52c15e581892b42 | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
from __future__ import absolute_import
# import models into model package
from swagger_server.models.certificate import Certificate
from swagger_server.models.connect_response import ConnectResponse
from swagger_server.models.method_request_response import MethodRequestResponse
from swag... | 39.6 | 84 | 0.881313 | 49 | 396 | 6.816327 | 0.530612 | 0.131737 | 0.203593 | 0.275449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00551 | 0.083333 | 396 | 9 | 85 | 44 | 0.914601 | 0.14899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9fc75a4829eb26ea0ab2758aad2a549e50b3e34d | 48 | py | Python | ale/formatters/__init__.py | paarongiroux/ale | aaefdf555c4f24c5610912625e81dff57c479b4c | [
"Unlicense"
] | 4 | 2019-05-23T18:37:43.000Z | 2022-01-10T20:03:56.000Z | ale/formatters/__init__.py | paarongiroux/ale | aaefdf555c4f24c5610912625e81dff57c479b4c | [
"Unlicense"
] | 262 | 2018-12-12T16:33:00.000Z | 2022-03-28T01:28:33.000Z | ale/formatters/__init__.py | paarongiroux/ale | aaefdf555c4f24c5610912625e81dff57c479b4c | [
"Unlicense"
] | 20 | 2018-12-17T20:42:18.000Z | 2022-03-07T20:48:16.000Z | from . import usgscsm_formatter, isis_formatter
| 24 | 47 | 0.854167 | 6 | 48 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c863f0acae6ee74af352d923a5101b80724f6c7 | 22 | py | Python | lab1_sln/text_recognizer/networks/__init__.py | sergeyktest/fsdl-text-recognizer-project | 0a35a2cb5b55cfcc1cde661b305c5c635272657c | [
"MIT"
] | 44 | 2018-08-01T07:39:37.000Z | 2021-10-31T10:11:54.000Z | lab1_sln/text_recognizer/networks/__init__.py | sanzgiri/fsdl-text-recognizer-project | 1bf7b8655f36149e3c1fcd7726be120d6b0e7b63 | [
"MIT"
] | 1 | 2018-08-03T19:38:09.000Z | 2018-08-03T19:38:09.000Z | lab1_sln/text_recognizer/networks/__init__.py | sanzgiri/fsdl-text-recognizer-project | 1bf7b8655f36149e3c1fcd7726be120d6b0e7b63 | [
"MIT"
] | 182 | 2018-08-01T01:50:40.000Z | 2022-03-25T19:45:36.000Z | from .mlp import mlp
| 7.333333 | 20 | 0.727273 | 4 | 22 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 2 | 21 | 11 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cb7500e01a2c82e8372b9afdc2e1064cda1cdfc | 61 | py | Python | slapping/utils/data.py | cemde/SlapThatLikeButton-TestingStarterProject | d81e46826edfa4da5760ffe734864a5972f1d50f | [
"MIT"
] | null | null | null | slapping/utils/data.py | cemde/SlapThatLikeButton-TestingStarterProject | d81e46826edfa4da5760ffe734864a5972f1d50f | [
"MIT"
] | null | null | null | slapping/utils/data.py | cemde/SlapThatLikeButton-TestingStarterProject | d81e46826edfa4da5760ffe734864a5972f1d50f | [
"MIT"
] | null | null | null | import itertools
def sausage(x: int) -> str:
return 2*x | 12.2 | 27 | 0.655738 | 10 | 61 | 4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.229508 | 61 | 5 | 28 | 12.2 | 0.829787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
4cc27177f1ceed77e1de91dc93e6c181d6d1ccf3 | 28 | py | Python | src/Lexer/__init__.py | ChalkCode/cool-compiler-2021 | 9bab662676c3281b496aad63228583db4a7244db | [
"MIT"
] | null | null | null | src/Lexer/__init__.py | ChalkCode/cool-compiler-2021 | 9bab662676c3281b496aad63228583db4a7244db | [
"MIT"
] | null | null | null | src/Lexer/__init__.py | ChalkCode/cool-compiler-2021 | 9bab662676c3281b496aad63228583db4a7244db | [
"MIT"
] | 1 | 2022-02-24T17:16:42.000Z | 2022-02-24T17:16:42.000Z | from .lexer import CoolLexer | 28 | 28 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cc4d0554a57dc7ba19582a38cc6eb25800754b6 | 77 | py | Python | test/citrine_challenge/__init__.py | bhartl/citrine_challenge | 8ab1deb508af5197c82914232daef5e0df47119b | [
"MIT"
] | null | null | null | test/citrine_challenge/__init__.py | bhartl/citrine_challenge | 8ab1deb508af5197c82914232daef5e0df47119b | [
"MIT"
] | null | null | null | test/citrine_challenge/__init__.py | bhartl/citrine_challenge | 8ab1deb508af5197c82914232daef5e0df47119b | [
"MIT"
] | null | null | null | from .test_examples import TestExample
from .test_sampler import TestSampler
| 25.666667 | 38 | 0.87013 | 10 | 77 | 6.5 | 0.7 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 2 | 39 | 38.5 | 0.942029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cf158701611a59382f92438b3cb9c650fd8536e | 31 | py | Python | primary/cli.py | mvillalba/python-primary | 41493c86cdde760e4f4cd0648f5991de4f553b0f | [
"MIT"
] | null | null | null | primary/cli.py | mvillalba/python-primary | 41493c86cdde760e4f4cd0648f5991de4f553b0f | [
"MIT"
] | 4 | 2020-03-24T16:31:40.000Z | 2021-06-01T23:15:22.000Z | primary/cli.py | mvillalba/python-primary | 41493c86cdde760e4f4cd0648f5991de4f553b0f | [
"MIT"
] | null | null | null | def main():
print("tests")
| 10.333333 | 18 | 0.548387 | 4 | 31 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 2 | 19 | 15.5 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4cf579c59e0beee4a062fde9dae3614d3d096897 | 74 | py | Python | baseline/__init__.py | ardihikaru/learn-to-cluster | d7a5ea0946f7b402f8878bfd608bf3e0dc9a26ca | [
"MIT"
] | 1 | 2019-09-16T17:28:31.000Z | 2019-09-16T17:28:31.000Z | baseline/__init__.py | ardihikaru/learn-to-cluster | d7a5ea0946f7b402f8878bfd608bf3e0dc9a26ca | [
"MIT"
] | null | null | null | baseline/__init__.py | ardihikaru/learn-to-cluster | d7a5ea0946f7b402f8878bfd608bf3e0dc9a26ca | [
"MIT"
] | 1 | 2021-02-24T06:29:06.000Z | 2021-02-24T06:29:06.000Z | from .sklearn_cluster import *
# from .approx_rank_order_cluster import *
| 24.666667 | 42 | 0.810811 | 10 | 74 | 5.6 | 0.7 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 74 | 2 | 43 | 37 | 0.861538 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cfe96acac822225de07a30e8a6f3efe61fd4bab | 209 | py | Python | login_all/admin.py | Jiangjao/mySite | 8eb95495ab8ae646cfd1ebc411627af153bfba0d | [
"MIT"
] | null | null | null | login_all/admin.py | Jiangjao/mySite | 8eb95495ab8ae646cfd1ebc411627af153bfba0d | [
"MIT"
] | null | null | null | login_all/admin.py | Jiangjao/mySite | 8eb95495ab8ae646cfd1ebc411627af153bfba0d | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
# Register your models here.
admin.site.register(models.User)
# admin.site.register(models.RegisterForm)
admin.site.register(models.ConfirmString)
| 26.125 | 43 | 0.784689 | 27 | 209 | 6.074074 | 0.481481 | 0.164634 | 0.310976 | 0.420732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119617 | 209 | 7 | 44 | 29.857143 | 0.891304 | 0.320574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e22e5bb537e42d4aca0987d82eefc43fcf1b3f03 | 3,433 | py | Python | PythonFSDAM/parse/parse.py | MauriceKarrenbrock/PythonFSDAM | efd4a1717af37d6598aaaca0fa520f735cf254b0 | [
"BSD-3-Clause"
] | null | null | null | PythonFSDAM/parse/parse.py | MauriceKarrenbrock/PythonFSDAM | efd4a1717af37d6598aaaca0fa520f735cf254b0 | [
"BSD-3-Clause"
] | null | null | null | PythonFSDAM/parse/parse.py | MauriceKarrenbrock/PythonFSDAM | efd4a1717af37d6598aaaca0fa520f735cf254b0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
#############################################################
# Copyright (c) 2020-2021 Maurice Karrenbrock #
# #
# This software is open-source and is distributed under the #
# BSD 3-Clause "New" or "Revised" License ... | 26.407692 | 86 | 0.618992 | 378 | 3,433 | 5.5 | 0.283069 | 0.069264 | 0.025012 | 0.02886 | 0.744589 | 0.744589 | 0.744589 | 0.724387 | 0.651275 | 0.607985 | 0 | 0.003965 | 0.265366 | 3,433 | 129 | 87 | 26.612403 | 0.820381 | 0.559569 | 0 | 0.615385 | 0 | 0 | 0.012433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e24a6e2f7f52800133b2842574da8d1e647f1b01 | 62 | py | Python | pyxb/bundles/opengis/iso19139/v20070417/gmd.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 123 | 2015-01-12T06:43:22.000Z | 2022-03-20T18:06:46.000Z | pyxb/bundles/opengis/iso19139/v20070417/gmd.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 103 | 2015-01-08T18:35:57.000Z | 2022-01-18T01:44:14.000Z | pyxb/bundles/opengis/iso19139/v20070417/gmd.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 54 | 2015-02-15T17:12:00.000Z | 2022-03-07T23:02:32.000Z | from pyxb.bundles.opengis.iso19139.v20070417.raw.gmd import *
| 31 | 61 | 0.822581 | 9 | 62 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 0.064516 | 62 | 1 | 62 | 62 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e2a3a9c3781990576d571824c53294dbbb104ca0 | 37 | py | Python | chainplot/__init__.py | Torvaney/chainplot | 02402ac1e9752fc519b8227d102ee5da25f107fc | [
"MIT"
] | 1 | 2017-03-06T12:43:03.000Z | 2017-03-06T12:43:03.000Z | chainplot/__init__.py | Torvaney/chainplot | 02402ac1e9752fc519b8227d102ee5da25f107fc | [
"MIT"
] | null | null | null | chainplot/__init__.py | Torvaney/chainplot | 02402ac1e9752fc519b8227d102ee5da25f107fc | [
"MIT"
] | null | null | null | from chainplot.core.plot import Plot
| 18.5 | 36 | 0.837838 | 6 | 37 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2c5a5bf0a1e27255cbf7eb27442ee4bada3ef178 | 15,252 | py | Python | pytests/eventing/eventing_collections.py | mhocouchbase/testrunner | 10faf6955a905dee9a254daf90352881d4687735 | [
"Apache-2.0"
] | null | null | null | pytests/eventing/eventing_collections.py | mhocouchbase/testrunner | 10faf6955a905dee9a254daf90352881d4687735 | [
"Apache-2.0"
] | null | null | null | pytests/eventing/eventing_collections.py | mhocouchbase/testrunner | 10faf6955a905dee9a254daf90352881d4687735 | [
"Apache-2.0"
] | null | null | null | from couchbase_helper.documentgenerator import SDKDataLoader
from lib.membase.api.rest_client import RestConnection
from lib.testconstants import STANDARD_BUCKET_PORT
from pytests.eventing.eventing_constants import HANDLER_CODE
from pytests.eventing.eventing_base import EventingBaseTest, log
from membase.helper.cluster... | 71.271028 | 139 | 0.692565 | 1,993 | 15,252 | 4.896638 | 0.066232 | 0.114356 | 0.070089 | 0.105134 | 0.903269 | 0.893329 | 0.880213 | 0.857158 | 0.83943 | 0.812891 | 0 | 0.00257 | 0.209284 | 15,252 | 214 | 140 | 71.271028 | 0.806634 | 0 | 0 | 0.665 | 0 | 0 | 0.175506 | 0.126008 | 0 | 0 | 0 | 0 | 0.005 | 1 | 0.06 | false | 0 | 0.03 | 0 | 0.095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1a4c8d4865b27b7c58e69c4d3910a25be4d6e917 | 26 | py | Python | models/NTURGBD/__init__.py | dracarys983/TwoStreamCNN | dfb10bd7aad121df54d92df85affd4cb5dc7ab75 | [
"MIT"
] | 12 | 2018-04-23T09:39:53.000Z | 2022-02-12T01:22:12.000Z | models/NTURGBD/__init__.py | dracarys983/SingleStreamCNN | dcd3bd527f15ce9d42f0cc9fabe4a3c34885f2d7 | [
"MIT"
] | 1 | 2019-01-02T13:18:45.000Z | 2019-02-21T17:32:59.000Z | models/NTURGBD/__init__.py | dracarys983/ReplicateCVPR | 9a977fcb0d17f066cc87de9d7c90f5ac8de58cae | [
"MIT"
] | 2 | 2019-11-19T08:58:01.000Z | 2020-03-12T14:22:19.000Z | from nturgbd_rnn import *
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1a5c475122ae3bd3dfce5a6a1d0905f4e7e5ca8a | 192 | py | Python | smartdataset/__init__.py | ARKseal/SmartDataset | e1a608074ab346138542bcabb4ad9d8fd3151b61 | [
"MIT"
] | null | null | null | smartdataset/__init__.py | ARKseal/SmartDataset | e1a608074ab346138542bcabb4ad9d8fd3151b61 | [
"MIT"
] | null | null | null | smartdataset/__init__.py | ARKseal/SmartDataset | e1a608074ab346138542bcabb4ad9d8fd3151b61 | [
"MIT"
] | null | null | null | from .cache import clear_cache
from .cache import make_base_cache_dir as _make_base_cache_dir
from .dataloader import SmartDataLoader
from .dataset import SmartDataset
_make_base_cache_dir()
| 27.428571 | 62 | 0.864583 | 29 | 192 | 5.310345 | 0.413793 | 0.155844 | 0.253247 | 0.311688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 192 | 6 | 63 | 32 | 0.895349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1aabd7eade997b7989a4b2d37b8a0e65f2dc4e0b | 41 | py | Python | catalyst/rl/environments/__init__.py | ferrine/catalyst | b5bc4fb5f692e1fde2d95ef4a534296dccd0f717 | [
"MIT"
] | null | null | null | catalyst/rl/environments/__init__.py | ferrine/catalyst | b5bc4fb5f692e1fde2d95ef4a534296dccd0f717 | [
"MIT"
] | null | null | null | catalyst/rl/environments/__init__.py | ferrine/catalyst | b5bc4fb5f692e1fde2d95ef4a534296dccd0f717 | [
"MIT"
] | null | null | null | # flake8: noqa
from .gym_wrapper import * | 20.5 | 26 | 0.756098 | 6 | 41 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.146341 | 41 | 2 | 26 | 20.5 | 0.828571 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ab9cef45a039d664ce3abe6bb9616bd86bca2c2 | 190 | py | Python | extensions/cache.py | rblcoder/backend-cetak | 0009ed2e535cbeb17da9cdd057b91b6faac3f7bf | [
"BSD-3-Clause"
] | null | null | null | extensions/cache.py | rblcoder/backend-cetak | 0009ed2e535cbeb17da9cdd057b91b6faac3f7bf | [
"BSD-3-Clause"
] | null | null | null | extensions/cache.py | rblcoder/backend-cetak | 0009ed2e535cbeb17da9cdd057b91b6faac3f7bf | [
"BSD-3-Clause"
] | null | null | null | from django.conf import settings
from django.core.cache import cache
from django.core.cache.backends.base import DEFAULT_TIMEOUT
CACHE_TTL = getattr(settings, "CACHE_TTL", DEFAULT_TIMEOUT)
| 31.666667 | 59 | 0.831579 | 28 | 190 | 5.5 | 0.464286 | 0.194805 | 0.181818 | 0.246753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094737 | 190 | 5 | 60 | 38 | 0.895349 | 0 | 0 | 0 | 0 | 0 | 0.047368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ac162ceb9191a3803dd6c074c221308aadc695e | 42,318 | py | Python | client/external/server.py | Suirdna/OR-Origin | 8eb7d99a87d835a7d590d56e0088ec79746f4630 | [
"MIT"
] | null | null | null | client/external/server.py | Suirdna/OR-Origin | 8eb7d99a87d835a7d590d56e0088ec79746f4630 | [
"MIT"
] | null | null | null | client/external/server.py | Suirdna/OR-Origin | 8eb7d99a87d835a7d590d56e0088ec79746f4630 | [
"MIT"
] | null | null | null | from client import exception, embed_creator, discord_manager, ini_manager, json_manager, permissions, origin, server_timer
from client.external import admin, dc_bank, organizer, rsn_register, vote, xp_tracker, kc_tracker
from client.config import config as c, language as l
from discord.ext import commands
import discor... | 70.062914 | 335 | 0.506428 | 4,639 | 42,318 | 4.408709 | 0.041388 | 0.0332 | 0.046939 | 0.050851 | 0.829357 | 0.798602 | 0.776061 | 0.761686 | 0.705701 | 0.694553 | 0 | 0.013056 | 0.362919 | 42,318 | 604 | 336 | 70.062914 | 0.743657 | 0.001111 | 0 | 0.624542 | 0 | 0 | 0.115049 | 0.01287 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003663 | false | 0 | 0.009158 | 0 | 0.016484 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1ac2aa855960c92f97815fee9f9ed7ce82c04237 | 1,657 | py | Python | cycle_2018/migrations/0014_auto_20180302_1937.py | RobBickel/nyt-fec | 802df867c3b31fff8e922be00bab6f40a5db2d00 | [
"Apache-2.0"
] | 17 | 2018-03-27T15:09:58.000Z | 2020-05-13T11:32:43.000Z | cycle_2018/migrations/0014_auto_20180302_1937.py | RobBickel/nyt-fec | 802df867c3b31fff8e922be00bab6f40a5db2d00 | [
"Apache-2.0"
] | 59 | 2018-03-21T17:08:15.000Z | 2021-12-13T19:47:37.000Z | cycle_2018/migrations/0014_auto_20180302_1937.py | RobBickel/nyt-fec | 802df867c3b31fff8e922be00bab6f40a5db2d00 | [
"Apache-2.0"
] | 11 | 2018-09-11T23:18:32.000Z | 2021-12-15T08:43:58.000Z | # Generated by Django 2.0.1 on 2018-03-02 19:37
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('cycle_2018', '0013_auto_20180227_1849'),
]
operations = [
migrations.AlterField(
model_name='filing',
name='status',... | 48.735294 | 253 | 0.596862 | 158 | 1,657 | 6.183544 | 0.310127 | 0.081883 | 0.102354 | 0.118731 | 0.770727 | 0.770727 | 0.770727 | 0.729785 | 0.729785 | 0.729785 | 0 | 0.0329 | 0.211225 | 1,657 | 33 | 254 | 50.212121 | 0.714614 | 0.027158 | 0 | 0.555556 | 1 | 0 | 0.349068 | 0.014286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1ac2f6919ae843a87ea6dad4136de8b3f684a692 | 647 | py | Python | buildroot/support/testing/tests/package/test_python_txtorcon.py | rbrenton/hassos | fa6f7ac74ddba50e76f5779c613c56d937684844 | [
"Apache-2.0"
] | 349 | 2021-08-17T08:46:53.000Z | 2022-03-30T06:25:25.000Z | buildroot/support/testing/tests/package/test_python_txtorcon.py | rbrenton/hassos | fa6f7ac74ddba50e76f5779c613c56d937684844 | [
"Apache-2.0"
] | 8 | 2020-04-02T22:51:47.000Z | 2020-04-27T03:24:55.000Z | buildroot/support/testing/tests/package/test_python_txtorcon.py | rbrenton/hassos | fa6f7ac74ddba50e76f5779c613c56d937684844 | [
"Apache-2.0"
] | 12 | 2021-08-17T20:10:30.000Z | 2022-01-06T10:52:54.000Z | from tests.package.test_python import TestPythonPackageBase
class TestPythonPy2Txtorcon(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
"""
BR2_PACKAGE_PYTHON=y
BR2_PACKAGE_PYTHON_TXTORCON=y
"""
sample_scripts = ["tests/package/sample_pytho... | 26.958333 | 64 | 0.697063 | 61 | 647 | 6.983607 | 0.344262 | 0.093897 | 0.112676 | 0.164319 | 0.723005 | 0.723005 | 0.723005 | 0.723005 | 0.384977 | 0.384977 | 0 | 0.021869 | 0.222566 | 647 | 23 | 65 | 28.130435 | 0.82505 | 0 | 0 | 0.727273 | 0 | 0 | 0.161826 | 0.161826 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
645859d3af4a9b3371571281cf3dd2f3d64572ee | 207 | py | Python | openrec/modules/interactions/__init__.py | amirbiran/openrec | 69a1c57a7a1eec49720b776279b9120b80630ba2 | [
"Apache-2.0"
] | null | null | null | openrec/modules/interactions/__init__.py | amirbiran/openrec | 69a1c57a7a1eec49720b776279b9120b80630ba2 | [
"Apache-2.0"
] | null | null | null | openrec/modules/interactions/__init__.py | amirbiran/openrec | 69a1c57a7a1eec49720b776279b9120b80630ba2 | [
"Apache-2.0"
] | null | null | null | from openrec.modules.interactions.pairwise_log import PairwiseLog
from openrec.modules.interactions.pairwise_eu_dist import PairwiseEuDist
from openrec.modules.interactions.pointwise_mse import PointwiseMSE
| 51.75 | 72 | 0.898551 | 25 | 207 | 7.28 | 0.56 | 0.181319 | 0.296703 | 0.494505 | 0.417582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 207 | 3 | 73 | 69 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
64844af82863248e9ac1474f72fc68546b0f3f35 | 140 | py | Python | Section3/negative-index-strings/main.py | tslothorst/Learning-python | 05f02950cb021cc357146db2697daab8f23acf1c | [
"MIT"
] | null | null | null | Section3/negative-index-strings/main.py | tslothorst/Learning-python | 05f02950cb021cc357146db2697daab8f23acf1c | [
"MIT"
] | null | null | null | Section3/negative-index-strings/main.py | tslothorst/Learning-python | 05f02950cb021cc357146db2697daab8f23acf1c | [
"MIT"
] | null | null | null | parrot = "Norwegian Blue"
print(parrot)
print(parrot[-11])
print(parrot[-1])
print()
print(parrot[-11])
print(parrot[-8])
print(parrot[-6])
| 15.555556 | 25 | 0.692857 | 21 | 140 | 4.619048 | 0.380952 | 0.680412 | 0.268041 | 0.371134 | 0.494845 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054264 | 0.078571 | 140 | 8 | 26 | 17.5 | 0.697674 | 0 | 0 | 0.25 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.875 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
648c2ed73384a146e4bdd6b9e175aff77c56a3de | 733 | py | Python | Databases using SQLite3/Limit Clause.py | TausifAnsari/PyHub | f6c949dc6a3974f57d7d146708443d0ceeb4418f | [
"MIT"
] | 1 | 2020-09-30T19:31:20.000Z | 2020-09-30T19:31:20.000Z | Databases using SQLite3/Limit Clause.py | TanviSutar/PyHub | 6281e9f515674fb51f0d0862c26ec18020fa7d83 | [
"MIT"
] | null | null | null | Databases using SQLite3/Limit Clause.py | TanviSutar/PyHub | 6281e9f515674fb51f0d0862c26ec18020fa7d83 | [
"MIT"
] | null | null | null | import sqlite3
print("LIMITING RECORD TO FIRST 3")
db = sqlite3.connect("assets/Student_records.db")
print("Connection has been made successfuly!")
cursor = db.cursor()
query = """SELECT ID,NAMES FROM Student_Records LIMIT 3"""
cursor.execute(query)
records = cursor.fetchall()
for x,y in records:
print(x,y)
db.com... | 28.192308 | 100 | 0.731241 | 114 | 733 | 4.666667 | 0.412281 | 0.105263 | 0.06015 | 0.082707 | 0.774436 | 0.774436 | 0.774436 | 0.774436 | 0.774436 | 0.774436 | 0 | 0.014107 | 0.129604 | 733 | 26 | 101 | 28.192308 | 0.819749 | 0.040928 | 0 | 0.75 | 0 | 0 | 0.421652 | 0.071225 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.041667 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
64cd4bfec58c689fdd59c799dabb6c0af1e0b86d | 119 | py | Python | api/krenak_api/apps/accounts/selectors.py | bacuarabrasil/krenak | ad6a3af5ff162783ec9bd40d07a82f09bf35071b | [
"MIT"
] | null | null | null | api/krenak_api/apps/accounts/selectors.py | bacuarabrasil/krenak | ad6a3af5ff162783ec9bd40d07a82f09bf35071b | [
"MIT"
] | 26 | 2021-03-10T22:07:57.000Z | 2021-03-11T12:13:35.000Z | api/krenak_api/apps/accounts/selectors.py | bacuarabrasil/krenak | ad6a3af5ff162783ec9bd40d07a82f09bf35071b | [
"MIT"
] | null | null | null | from krenak_api.apps.accounts.models import UserAccount
def get_all_users():
return UserAccount.objects.active()
| 19.833333 | 55 | 0.798319 | 16 | 119 | 5.75 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 119 | 5 | 56 | 23.8 | 0.87619 | 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 | 0 | 0 | 0 | 6 |
64d39c1fbee3937c6bb53a2ed73e2ace29a536a0 | 14,854 | py | Python | cycle_control_old.py | FlMerz/fire-control | 2d22ba111334a8a1140ff94dadd87332dc7c74bc | [
"MIT"
] | null | null | null | cycle_control_old.py | FlMerz/fire-control | 2d22ba111334a8a1140ff94dadd87332dc7c74bc | [
"MIT"
] | 4 | 2021-06-23T13:58:44.000Z | 2022-01-14T06:43:12.000Z | cycle_control_old.py | FlMerz/fire-control | 2d22ba111334a8a1140ff94dadd87332dc7c74bc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#----------Metadata--------------------------------
#This script is responsible for the auto cycle modus.
#
#----------Imports--------------------------------
import serial
import time
import Tools
import flap_control as flap
import threading
import temperature_limits as TempLimits
import sys,o... | 45.987616 | 185 | 0.537364 | 1,403 | 14,854 | 5.630791 | 0.175339 | 0.12962 | 0.101266 | 0.055696 | 0.770506 | 0.746203 | 0.731519 | 0.722658 | 0.705823 | 0.691899 | 0 | 0.026185 | 0.323819 | 14,854 | 322 | 186 | 46.130435 | 0.760354 | 0.212939 | 0 | 0.781609 | 0 | 0 | 0.154402 | 0.004561 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.030651 | 0 | 0.088123 | 0.164751 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b38829e4539be98c9b15cb16cb08d1630669e0ae | 30 | py | Python | 2021/UNbreakable/bork-sauls/borksauls.py | adinasm/CTF | 3aa5b52b4f1703a2c8ddf6e4b9ef589a7d50ee2a | [
"MIT"
] | null | null | null | 2021/UNbreakable/bork-sauls/borksauls.py | adinasm/CTF | 3aa5b52b4f1703a2c8ddf6e4b9ef589a7d50ee2a | [
"MIT"
] | null | null | null | 2021/UNbreakable/bork-sauls/borksauls.py | adinasm/CTF | 3aa5b52b4f1703a2c8ddf6e4b9ef589a7d50ee2a | [
"MIT"
] | null | null | null | for i in range(2000):
print 3 | 15 | 21 | 0.7 | 7 | 30 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 0.2 | 30 | 2 | 22 | 15 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b3c39ea0094611b9c9ee524b31d3c74a84fdc1a0 | 14,844 | py | Python | glance/tests/functional/v2/test_metadef_tag_api_policy.py | Steap/glance | 4ee7799aa7f6a7172e361392ebb8d3da03e0bf7f | [
"Apache-2.0"
] | 309 | 2015-01-01T17:49:09.000Z | 2022-03-29T14:56:31.000Z | glance/tests/functional/v2/test_metadef_tag_api_policy.py | Steap/glance | 4ee7799aa7f6a7172e361392ebb8d3da03e0bf7f | [
"Apache-2.0"
] | 8 | 2015-11-04T21:53:48.000Z | 2020-12-15T05:36:35.000Z | glance/tests/functional/v2/test_metadef_tag_api_policy.py | Steap/glance | 4ee7799aa7f6a7172e361392ebb8d3da03e0bf7f | [
"Apache-2.0"
] | 409 | 2015-01-01T11:28:26.000Z | 2022-03-29T14:56:41.000Z | # Copyright 2021 Red Hat, Inc.
# All Rights Reserved.
#
# 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... | 37.770992 | 78 | 0.6026 | 1,765 | 14,844 | 4.882153 | 0.12238 | 0.034815 | 0.035743 | 0.043867 | 0.794824 | 0.78496 | 0.768365 | 0.758269 | 0.741441 | 0.720088 | 0 | 0.018722 | 0.30194 | 14,844 | 392 | 79 | 37.867347 | 0.812874 | 0.282269 | 0 | 0.70751 | 0 | 0 | 0.170614 | 0.090565 | 0 | 0 | 0 | 0 | 0.102767 | 1 | 0.047431 | false | 0 | 0.01581 | 0 | 0.067194 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b3cc3d70b50e5b10ee4460d5b0bc79ba45376dad | 319 | py | Python | CAAPR/__init__.py | wdobbels/CAAPR | 50d0b32642a61af614c22f1c6dc3c4a00a1e71a3 | [
"MIT"
] | 7 | 2016-05-20T21:56:39.000Z | 2022-02-07T21:09:48.000Z | CAAPR/__init__.py | wdobbels/CAAPR | 50d0b32642a61af614c22f1c6dc3c4a00a1e71a3 | [
"MIT"
] | 1 | 2019-03-21T16:10:04.000Z | 2019-03-22T17:21:56.000Z | CAAPR/__init__.py | wdobbels/CAAPR | 50d0b32642a61af614c22f1c6dc3c4a00a1e71a3 | [
"MIT"
] | 1 | 2020-05-19T16:17:17.000Z | 2020-05-19T16:17:17.000Z | #__all__ = ['CAAPR_Main','CAAPR_Pipeline','CAAPR_IO','CAAPR_Aperture','CAAPR_Photom','CAAPR_AstroMagic']
#from . import CAAPR
#from .CAAPR import *
from . import CAAPR_Main
from . import CAAPR_IO
from . import CAAPR_Pipeline
from . import CAAPR_Aperture
from . import CAAPR_Photom
from . import CAAPR_AstroMagic | 35.444444 | 105 | 0.768025 | 43 | 319 | 5.325581 | 0.232558 | 0.305677 | 0.458515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131661 | 319 | 9 | 106 | 35.444444 | 0.826715 | 0.445141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b3eb4388df91149d144949d17339c232e29b0d3b | 279 | py | Python | organizations/templatetags/org_filters.py | aptivate/django-organizations | 3ac867493508612370066c00ca7bd8d55632e116 | [
"BSD-2-Clause"
] | null | null | null | organizations/templatetags/org_filters.py | aptivate/django-organizations | 3ac867493508612370066c00ca7bd8d55632e116 | [
"BSD-2-Clause"
] | null | null | null | organizations/templatetags/org_filters.py | aptivate/django-organizations | 3ac867493508612370066c00ca7bd8d55632e116 | [
"BSD-2-Clause"
] | null | null | null | from django import template
register = template.Library()
@register.filter
def is_admin(org, user):
return org.is_admin(user)
@register.filter
def is_member(org, user):
return org.is_member(user)
@register.filter
def is_owner(org, user):
return org.is_owner(user) | 18.6 | 30 | 0.74552 | 43 | 279 | 4.697674 | 0.348837 | 0.207921 | 0.252475 | 0.282178 | 0.49505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143369 | 279 | 15 | 31 | 18.6 | 0.845188 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b3ed9eca3d543cc9c037f34caa415c1548b35f85 | 61 | py | Python | pyPS4Controller/__main__.py | iwanimsand/pyPS4Controller | ffbacd3ae5d558ad177eac9227f98637ea8ef26d | [
"MIT"
] | 87 | 2020-01-28T18:31:30.000Z | 2022-03-20T21:51:47.000Z | pyPS4Controller/__main__.py | iwanimsand/pyPS4Controller | ffbacd3ae5d558ad177eac9227f98637ea8ef26d | [
"MIT"
] | 29 | 2020-03-20T17:02:23.000Z | 2022-02-22T00:34:04.000Z | ros_ws/src/jackal_teleop/jackal_teleop/pyPS4Controller/__main__.py | james-gloudemans/ros2_sorting | a23ecb3002d207cac181edc009986a58120bdb43 | [
"Apache-2.0"
] | 27 | 2020-04-03T21:53:15.000Z | 2022-02-21T14:04:11.000Z | from pyPS4Controller.cli import Cli
def main():
Cli()
| 8.714286 | 35 | 0.672131 | 8 | 61 | 5.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.229508 | 61 | 6 | 36 | 10.166667 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b6074a8f6822a86c5d4a1a215e8a3fd92d23be78 | 96 | py | Python | IMCN-learningtask/exptools/core/__init__.py | StevenM1/IMCN-learningtask | d20071958484adff1543848d59d20418e2da4100 | [
"MIT"
] | 1 | 2019-02-14T16:36:18.000Z | 2019-02-14T16:36:18.000Z | IMCN-learningtask/exptools/core/__init__.py | ACTrutti/IMCN-learningtask | 36463a9c43390aee2ea319e7b990edb844872c8d | [
"MIT"
] | null | null | null | IMCN-learningtask/exptools/core/__init__.py | ACTrutti/IMCN-learningtask | 36463a9c43390aee2ea319e7b990edb844872c8d | [
"MIT"
] | 1 | 2019-02-14T16:35:23.000Z | 2019-02-14T16:35:23.000Z | from . import session
from session import Session, MRISession
from trial import Trial, MRITrial
| 24 | 39 | 0.822917 | 13 | 96 | 6.076923 | 0.461538 | 0.329114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 96 | 3 | 40 | 32 | 0.963415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3736de2cbe53ead4ec2c8bdcec694c73cf6d51aa | 2,089 | py | Python | .c9/metadata/environment/nodanewssf/urls.py | bopopescu/nodasf | 32718c9ba606a7373b20c77710fd3706fc583396 | [
"MIT"
] | null | null | null | .c9/metadata/environment/nodanewssf/urls.py | bopopescu/nodasf | 32718c9ba606a7373b20c77710fd3706fc583396 | [
"MIT"
] | 9 | 2019-12-05T20:37:07.000Z | 2022-02-10T12:34:48.000Z | .c9/metadata/environment/nodanewssf/urls.py | bopopescu/nodasf | 32718c9ba606a7373b20c77710fd3706fc583396 | [
"MIT"
] | 1 | 2020-07-25T23:37:21.000Z | 2020-07-25T23:37:21.000Z | {"filter":false,"title":"urls.py","tooltip":"/nodanewssf/urls.py","undoManager":{"mark":6,"position":6,"stack":[[{"start":{"row":19,"column":36},"end":{"row":20,"column":0},"action":"insert","lines":["",""],"id":1},{"start":{"row":20,"column":0},"end":{"row":20,"column":4},"action":"insert","lines":[" "]}],[{"start"... | 2,089 | 2,089 | 0.580661 | 296 | 2,089 | 4.097973 | 0.253378 | 0.112119 | 0.154163 | 0.103875 | 0.333883 | 0.333883 | 0.272053 | 0.23413 | 0.23413 | 0.131904 | 0 | 0.083775 | 0.005744 | 2,089 | 1 | 2,089 | 2,089 | 0.500241 | 0 | 0 | 0 | 0 | 0 | 0.515789 | 0.031579 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3749545ebaca3b1f28f9e1f57a789fb71ba51342 | 2,147 | py | Python | dueros/monitor/tests/test_server.py | ayxue/BaiduSaxoOpenAPI | d042366bb33ebdc4471b29e167b01c4cb7cb298d | [
"Apache-2.0"
] | null | null | null | dueros/monitor/tests/test_server.py | ayxue/BaiduSaxoOpenAPI | d042366bb33ebdc4471b29e167b01c4cb7cb298d | [
"Apache-2.0"
] | null | null | null | dueros/monitor/tests/test_server.py | ayxue/BaiduSaxoOpenAPI | d042366bb33ebdc4471b29e167b01c4cb7cb298d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python2
# -*- encoding=utf-8 -*-
# description:
# author:jack
# create_time: 2018/1/16
"""
desc:pass
"""
import requests
import base64
class test_server:
pass
if __name__ == '__main__':
# headers = {
# 'HOST':'',
# 'Content-Type': 'application/x-www-form-urlencoded',
... | 65.060606 | 1,559 | 0.884024 | 64 | 2,147 | 29.5 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104923 | 0.063344 | 2,147 | 33 | 1,560 | 65.060606 | 0.833913 | 0.166744 | 0 | 0.222222 | 0 | 0 | 0.886183 | 0.878822 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0.222222 | 0.222222 | 0 | 0.333333 | 0.111111 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
375debfc6573019d836ce9aab6823c85a9d8b015 | 24 | py | Python | mountebank/__init__.py | aholyoke/mountebank-python | 3ce97f367bc6bb9036e94878c785cb1cee1eca4e | [
"MIT"
] | 12 | 2015-03-14T16:41:42.000Z | 2021-12-28T00:07:50.000Z | mountebank/__init__.py | aholyoke/mountebank-python | 3ce97f367bc6bb9036e94878c785cb1cee1eca4e | [
"MIT"
] | 1 | 2016-02-20T08:16:49.000Z | 2016-02-20T08:16:49.000Z | mountebank/__init__.py | aholyoke/mountebank-python | 3ce97f367bc6bb9036e94878c785cb1cee1eca4e | [
"MIT"
] | 7 | 2015-03-14T16:41:48.000Z | 2022-02-17T08:08:51.000Z | from mountebank import * | 24 | 24 | 0.833333 | 3 | 24 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
37aa75c9cfbe839e5dfd2bb48cb0e1430ac8c745 | 91 | py | Python | tests/test_misc.py | shadchin/django-enumfields | 2b3cbcc46533d6a6c468ec3c6c3c3776be604597 | [
"MIT"
] | 154 | 2015-02-09T15:25:07.000Z | 2021-12-27T16:08:42.000Z | tests/test_misc.py | shadchin/django-enumfields | 2b3cbcc46533d6a6c468ec3c6c3c3776be604597 | [
"MIT"
] | 84 | 2015-02-09T15:14:32.000Z | 2022-02-26T12:49:32.000Z | tests/test_misc.py | shadchin/django-enumfields | 2b3cbcc46533d6a6c468ec3c6c3c3776be604597 | [
"MIT"
] | 60 | 2015-02-28T00:31:40.000Z | 2021-04-04T20:22:43.000Z | import enumfields
def test_version():
assert isinstance(enumfields.__version__, str)
| 15.166667 | 50 | 0.78022 | 10 | 91 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 91 | 5 | 51 | 18.2 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
37c6926b1d9459abc51dbd84ebf35ecd44b6cbc9 | 171 | py | Python | 2022/02/02/How to Use Flask-SQLAlchemy With Flask Blueprints/sqlalchemy_blueprint/myproject/models/video.py | Naman-72/youtube_video_code | 233950b6ddb87c51428cec7fad8996929a76a8d8 | [
"Unlicense"
] | 1 | 2022-02-18T09:14:51.000Z | 2022-02-18T09:14:51.000Z | 2022/02/02/How to Use Flask-SQLAlchemy With Flask Blueprints/sqlalchemy_blueprint/myproject/models/video.py | Naman-72/youtube_video_code | 233950b6ddb87c51428cec7fad8996929a76a8d8 | [
"Unlicense"
] | null | null | null | 2022/02/02/How to Use Flask-SQLAlchemy With Flask Blueprints/sqlalchemy_blueprint/myproject/models/video.py | Naman-72/youtube_video_code | 233950b6ddb87c51428cec7fad8996929a76a8d8 | [
"Unlicense"
] | null | null | null | from ..extensions import db
class Video(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(50))
url = db.Column(db.String(50)) | 28.5 | 48 | 0.678363 | 28 | 171 | 4.107143 | 0.607143 | 0.208696 | 0.26087 | 0.278261 | 0.313043 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027972 | 0.163743 | 171 | 6 | 49 | 28.5 | 0.776224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
806068f77b3ae0851e318db989533a8b9df076be | 52,198 | py | Python | tests/unit_tests/test_tethys_apps/test_base/test_app_base.py | romer8/tethys | d18f1a203da41245b3b283e13068b8c1b5b2f2a7 | [
"BSD-2-Clause"
] | null | null | null | tests/unit_tests/test_tethys_apps/test_base/test_app_base.py | romer8/tethys | d18f1a203da41245b3b283e13068b8c1b5b2f2a7 | [
"BSD-2-Clause"
] | null | null | null | tests/unit_tests/test_tethys_apps/test_base/test_app_base.py | romer8/tethys | d18f1a203da41245b3b283e13068b8c1b5b2f2a7 | [
"BSD-2-Clause"
] | null | null | null | from types import FunctionType
import unittest
from unittest import mock
import uuid
from django.db.utils import ProgrammingError
from django.test import RequestFactory
from django.core.exceptions import ValidationError, ObjectDoesNotExist
from tethys_apps.exceptions import TethysAppSettingDoesNotExist, TethysAppSetti... | 43.753562 | 119 | 0.699567 | 6,766 | 52,198 | 5.062962 | 0.051434 | 0.021193 | 0.041161 | 0.050473 | 0.838452 | 0.808705 | 0.778024 | 0.736864 | 0.705044 | 0.659067 | 0 | 0.004084 | 0.197824 | 52,198 | 1,192 | 120 | 43.790268 | 0.814028 | 0.073355 | 0 | 0.547619 | 0 | 0 | 0.149573 | 0.089752 | 0 | 0 | 0 | 0 | 0.233333 | 1 | 0.104762 | false | 0.005952 | 0.021429 | 0.009524 | 0.15 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
808fe7e694d604052cf7cc3bc578f441b445e07f | 30,274 | py | Python | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_te_path/output/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_te_path/output/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_mpls_rpc/show_mpls_te_path/output/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 68.961276 | 586 | 0.718075 | 4,653 | 30,274 | 4.405545 | 0.044273 | 0.014049 | 0.051905 | 0.035124 | 0.876628 | 0.853066 | 0.833358 | 0.819357 | 0.800673 | 0.791502 | 0 | 0.035364 | 0.123869 | 30,274 | 438 | 587 | 69.118721 | 0.737483 | 0.176752 | 0 | 0.475806 | 0 | 0.072581 | 0.367955 | 0.213958 | 0 | 0 | 0 | 0 | 0 | 1 | 0.120968 | false | 0 | 0.032258 | 0 | 0.270161 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
80ce10e7a1a82d1b8bd14fe2a59faf0d3d2b0dab | 48 | py | Python | myxremap/keymap/__init__.py | Hiroya-W/xremap-109-to-my-eucalyn | b70d4d5855cedecd97edd442fa84a48e73a8bac7 | [
"MIT"
] | null | null | null | myxremap/keymap/__init__.py | Hiroya-W/xremap-109-to-my-eucalyn | b70d4d5855cedecd97edd442fa84a48e73a8bac7 | [
"MIT"
] | 1 | 2022-03-01T02:20:38.000Z | 2022-03-29T11:02:38.000Z | myxremap/keymap/__init__.py | Hiroya-W/xremap-109-to-my-eucalyn | b70d4d5855cedecd97edd442fa84a48e73a8bac7 | [
"MIT"
] | null | null | null | from .keymap import KeyMap, KeyMapBase, KeySwap
| 24 | 47 | 0.8125 | 6 | 48 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 1 | 48 | 48 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80e2aee2533e3c6c423dde46629a388bd4ca2707 | 178 | py | Python | 3rd_party_software/pyca/Code/Python/Common/__init__.py | ninamiolane/quicksilver | 1baf251360dadea0afa3daaa09942d9d2d7c71fb | [
"Apache-2.0"
] | 126 | 2017-04-06T03:19:03.000Z | 2022-03-08T07:44:09.000Z | 3rd_party_software/pyca/Code/Python/Common/__init__.py | ninamiolane/quicksilver | 1baf251360dadea0afa3daaa09942d9d2d7c71fb | [
"Apache-2.0"
] | 7 | 2017-09-22T01:46:04.000Z | 2021-04-29T07:22:44.000Z | 3rd_party_software/pyca/Code/Python/Common/__init__.py | ninamiolane/quicksilver | 1baf251360dadea0afa3daaa09942d9d2d7c71fb | [
"Apache-2.0"
] | 37 | 2017-04-03T17:14:44.000Z | 2022-03-09T16:00:03.000Z | from PyCACommon import *
from PyCAIO import *
from PyCATestData import *
from PyCADebug import *
from PyCAVersion import *
#__all__=[ "PyCACommon", "PyCATestData", "PyCADebug"]
| 22.25 | 53 | 0.764045 | 19 | 178 | 6.947368 | 0.421053 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140449 | 178 | 7 | 54 | 25.428571 | 0.862745 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0380a426d344e8399a36a8dd75a883c9dcc36a09 | 13,649 | py | Python | tests/integration/web/api_1_0/urls/test_launch_orchestration.py | dimensigon/dimensigon | 079d7c91a66e10f13510d89844fbadb27e005b40 | [
"Apache-2.0"
] | 2 | 2020-11-20T10:27:14.000Z | 2021-02-21T13:57:56.000Z | tests/integration/web/api_1_0/urls/test_launch_orchestration.py | dimensigon/dimensigon | 079d7c91a66e10f13510d89844fbadb27e005b40 | [
"Apache-2.0"
] | null | null | null | tests/integration/web/api_1_0/urls/test_launch_orchestration.py | dimensigon/dimensigon | 079d7c91a66e10f13510d89844fbadb27e005b40 | [
"Apache-2.0"
] | null | null | null | import concurrent
from unittest import mock
from unittest.mock import patch
from flask import url_for
from dimensigon.domain.entities import Orchestration, ActionTemplate, ActionType, OrchExecution
from dimensigon.domain.entities.user import ROOT
from dimensigon.use_cases.deployment import deploy_orchestration
from d... | 49.996337 | 120 | 0.564583 | 1,419 | 13,649 | 5.184637 | 0.121917 | 0.038875 | 0.014952 | 0.051651 | 0.835123 | 0.790947 | 0.767976 | 0.734946 | 0.729509 | 0.701237 | 0 | 0.035369 | 0.324712 | 13,649 | 272 | 121 | 50.180147 | 0.76283 | 0 | 0 | 0.697674 | 0 | 0 | 0.162576 | 0.088138 | 0 | 0 | 0 | 0 | 0.093023 | 1 | 0.055814 | false | 0 | 0.04186 | 0.013953 | 0.116279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
038331352548e69c0d2c131c09c4aa289b913314 | 106 | py | Python | parsing/introspection.py | mewbak/parsing | 1fbdca02dd8f3255effc1d08ec5f21a7d7b8be06 | [
"MIT"
] | null | null | null | parsing/introspection.py | mewbak/parsing | 1fbdca02dd8f3255effc1d08ec5f21a7d7b8be06 | [
"MIT"
] | null | null | null | parsing/introspection.py | mewbak/parsing | 1fbdca02dd8f3255effc1d08ec5f21a7d7b8be06 | [
"MIT"
] | null | null | null | import re
def parse_docstring(s):
return list(filter(None, re.split(r'\s+', s.replace('\n', ' '))))
| 17.666667 | 69 | 0.613208 | 17 | 106 | 3.764706 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 106 | 5 | 70 | 21.2 | 0.711111 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
03f1ce50fc4486c90ee439e0cd53753ff6157874 | 6,346 | py | Python | regym/tests/rl_algorithms/agent_hook_test.py | KnwSondess/Regym | 825c7dacf955a3e2f6c658c0ecb879a0ca036c1a | [
"MIT"
] | 6 | 2019-12-03T21:07:12.000Z | 2021-03-25T13:09:39.000Z | regym/tests/rl_algorithms/agent_hook_test.py | KnwSondess/Regym | 825c7dacf955a3e2f6c658c0ecb879a0ca036c1a | [
"MIT"
] | 1 | 2019-01-29T18:43:32.000Z | 2019-01-31T17:31:39.000Z | regym/tests/rl_algorithms/agent_hook_test.py | KnwSondess/Regym | 825c7dacf955a3e2f6c658c0ecb879a0ca036c1a | [
"MIT"
] | 4 | 2019-08-01T10:29:41.000Z | 2021-12-06T21:44:30.000Z | import os
import numpy as np
from regym.rl_algorithms.agents import build_PPO_Agent
from regym.rl_algorithms.agents import build_DQN_Agent
from regym.rl_algorithms.agents import build_TabularQ_Agent
from regym.rl_algorithms.agent_hook import AgentHook, AgentType
from test_fixtures import RPSTask
from test_fixtures im... | 39.91195 | 143 | 0.789474 | 924 | 6,346 | 5.002165 | 0.08658 | 0.077888 | 0.04219 | 0.043271 | 0.847036 | 0.818044 | 0.810255 | 0.770229 | 0.727823 | 0.703159 | 0 | 0 | 0.121179 | 6,346 | 158 | 144 | 40.164557 | 0.828761 | 0 | 0 | 0.588785 | 0 | 0 | 0.038607 | 0 | 0 | 0 | 0 | 0 | 0.196262 | 1 | 0.158879 | false | 0 | 0.074766 | 0 | 0.233645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2082a2d711f8cf066dd23a87c3dac935aeebb35f | 63 | py | Python | tests/test_data/custom_bleu/__init__.py | Tiamat-Tech/jury | 566ee2ec6b1a1a502f6e13b84f40274b51ef7d48 | [
"MIT"
] | 64 | 2021-07-16T08:37:45.000Z | 2022-02-05T10:28:27.000Z | tests/test_data/custom_bleu/__init__.py | Tiamat-Tech/jury | 566ee2ec6b1a1a502f6e13b84f40274b51ef7d48 | [
"MIT"
] | 46 | 2021-07-14T22:41:56.000Z | 2022-03-21T07:51:52.000Z | tests/test_data/custom_bleu/__init__.py | Tiamat-Tech/jury | 566ee2ec6b1a1a502f6e13b84f40274b51ef7d48 | [
"MIT"
] | 9 | 2021-07-15T21:19:06.000Z | 2022-03-17T21:46:15.000Z | from tests.test_data.custom_bleu.custom_bleu import CustomBleu
| 31.5 | 62 | 0.888889 | 10 | 63 | 5.3 | 0.8 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20b3003f1555eeb592c330ad537c4984096262e2 | 12,961 | py | Python | distancematrix/tests/generator/test_znorm_euclidean.py | linked-time-series/seriesdistancematrix | 7a02fc0eb83e114c38ac73b6ae845cd460479fe9 | [
"MIT"
] | null | null | null | distancematrix/tests/generator/test_znorm_euclidean.py | linked-time-series/seriesdistancematrix | 7a02fc0eb83e114c38ac73b6ae845cd460479fe9 | [
"MIT"
] | null | null | null | distancematrix/tests/generator/test_znorm_euclidean.py | linked-time-series/seriesdistancematrix | 7a02fc0eb83e114c38ac73b6ae845cd460479fe9 | [
"MIT"
] | null | null | null | import numpy as np
from unittest import TestCase
import numpy.testing as npt
from abc import abstractmethod
from distancematrix.util import diag_indices
from distancematrix.generator.znorm_euclidean import ZNormEuclidean
class AbstractGeneratorTest(object):
def setUp(self):
self.series = np.array(
... | 42.356209 | 105 | 0.677494 | 1,848 | 12,961 | 4.487013 | 0.099567 | 0.102508 | 0.10275 | 0.072359 | 0.813193 | 0.792692 | 0.781597 | 0.762301 | 0.739387 | 0.728654 | 0 | 0.100164 | 0.201219 | 12,961 | 305 | 106 | 42.495082 | 0.700763 | 0.009953 | 0 | 0.574561 | 0 | 0 | 0.001715 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 1 | 0.109649 | false | 0.008772 | 0.026316 | 0.017544 | 0.179825 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20bfe36a544746848518bed64da9a586dd449f15 | 44 | py | Python | Python/Calculate it/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 5 | 2020-08-29T15:15:31.000Z | 2022-03-01T18:22:34.000Z | Python/Calculate it/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | null | null | null | Python/Calculate it/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 1 | 2020-12-02T11:13:14.000Z | 2020-12-02T11:13:14.000Z | n = 1234567890 * 987654321 + 67890
print(n)
| 14.666667 | 34 | 0.704545 | 6 | 44 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.181818 | 44 | 2 | 35 | 22 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
20ca553e52e8a16017e77bb4ad51e1fa05bcc0be | 9,793 | py | Python | net/subnet.py | HirataYurina/RetinaNet-tf2.X-techi | bbef9223f6ec7e7ba360042cad291b31bb00af44 | [
"BSD-2-Clause"
] | 7 | 2020-09-01T11:10:41.000Z | 2020-12-19T00:54:06.000Z | net/subnet.py | HirataYurina/RetinaNet-tf2.X-techi | bbef9223f6ec7e7ba360042cad291b31bb00af44 | [
"BSD-2-Clause"
] | null | null | null | net/subnet.py | HirataYurina/RetinaNet-tf2.X-techi | bbef9223f6ec7e7ba360042cad291b31bb00af44 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding:utf-8 -*-
# author:平手友梨奈ii
# e-mail:1353593259@qq.com
# datetime:1993/12/01
# filename:subnet.py
# software: PyCharm
from net.resnet import ResNet
from net.fpn import FPN
import tensorflow.keras as keras
import tensorflow.keras.layers as layers
from core.initializer import BiasInitializer
class SubNet(... | 52.368984 | 105 | 0.565914 | 1,009 | 9,793 | 5.292369 | 0.123885 | 0.113858 | 0.199251 | 0.067416 | 0.788951 | 0.767978 | 0.766854 | 0.733333 | 0.708614 | 0.708614 | 0 | 0.033939 | 0.320025 | 9,793 | 186 | 106 | 52.650538 | 0.767983 | 0.042071 | 0 | 0.44 | 0 | 0 | 0.063428 | 0.027656 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026667 | false | 0 | 0.033333 | 0 | 0.086667 | 0.006667 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4560c9a28c88565191a1dd31922cf59a436778f6 | 5,074 | py | Python | tests/test_subpix_indices.py | chto/redmapper | 1dc66b601889ef9913f0f9b2e05980b982834485 | [
"Apache-2.0"
] | null | null | null | tests/test_subpix_indices.py | chto/redmapper | 1dc66b601889ef9913f0f9b2e05980b982834485 | [
"Apache-2.0"
] | null | null | null | tests/test_subpix_indices.py | chto/redmapper | 1dc66b601889ef9913f0f9b2e05980b982834485 | [
"Apache-2.0"
] | null | null | null | from __future__ import division, absolute_import, print_function
from past.builtins import xrange
import unittest
import numpy.testing as testing
import numpy as np
import healpy as hp
import os
import esutil
from redmapper.utilities import get_healsparse_subpix_indices
class SubpixIndexTestCase(unittest.TestCase):
... | 33.602649 | 112 | 0.661805 | 690 | 5,074 | 4.689855 | 0.172464 | 0.064586 | 0.046972 | 0.064277 | 0.835909 | 0.835909 | 0.835909 | 0.835909 | 0.792954 | 0.76576 | 0 | 0.031842 | 0.251084 | 5,074 | 150 | 113 | 33.826667 | 0.819737 | 0.211076 | 0 | 0.681159 | 0 | 0 | 0.002054 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 1 | 0.043478 | false | 0 | 0.130435 | 0 | 0.188406 | 0.014493 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4577f0b9b1f8d2df66943c6dc5948cb9bdd1b47c | 96 | py | Python | venv/lib/python3.8/site-packages/future/types/newopen.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/types/newopen.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/types/newopen.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/95/c4/4d/1d6675523127ff4fd72a2b35640e54ea5fb873e087942d165f5b18e0d2 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
45c5d507ba0425e52cb1cf6b751f37b0833d5b56 | 97 | py | Python | src/pykoda/__init__.py | KoDa-project/pykoda | a7460e5bf4d39b9cd3793efbbdbb341bc1e751c0 | [
"BSD-3-Clause"
] | 1 | 2022-02-21T10:00:26.000Z | 2022-02-21T10:00:26.000Z | src/pykoda/__init__.py | KoDa-project/pykoda | a7460e5bf4d39b9cd3793efbbdbb341bc1e751c0 | [
"BSD-3-Clause"
] | null | null | null | src/pykoda/__init__.py | KoDa-project/pykoda | a7460e5bf4d39b9cd3793efbbdbb341bc1e751c0 | [
"BSD-3-Clause"
] | null | null | null | from .data import *
from .data.datautils import *
from . import geoutils, plotutils, graphutils
| 24.25 | 45 | 0.762887 | 12 | 97 | 6.166667 | 0.583333 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 3 | 46 | 32.333333 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aff8057d4e984138d871f670277a645965da11d6 | 33,638 | py | Python | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2pt6/Output/Histos/MadAnalysis5job_0/selection_3.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2pt6/Output/Histos/MadAnalysis5job_0/selection_3.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2pt6/Output/Histos/MadAnalysis5job_0/selection_3.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_3():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.lin... | 154.302752 | 1,799 | 0.768238 | 6,384 | 33,638 | 3.900846 | 0.186247 | 0.162069 | 0.235755 | 0.305184 | 0.401598 | 0.38654 | 0.385456 | 0.372445 | 0.349476 | 0.346866 | 0 | 0.541037 | 0.056068 | 33,638 | 217 | 1,800 | 155.013825 | 0.24326 | 0.042957 | 0 | 0.171875 | 0 | 0.007813 | 0.036729 | 0.00622 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007813 | false | 0 | 0.03125 | 0 | 0.039063 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
b324b0f57e8ac194d0630bf4469abdd46d389fea | 152 | py | Python | models/__init__.py | JesperKauppinen/recipe-web-app | 46cf0c43e6a67ddd20a2088d1e8ea0bffe8a5c31 | [
"MIT"
] | null | null | null | models/__init__.py | JesperKauppinen/recipe-web-app | 46cf0c43e6a67ddd20a2088d1e8ea0bffe8a5c31 | [
"MIT"
] | null | null | null | models/__init__.py | JesperKauppinen/recipe-web-app | 46cf0c43e6a67ddd20a2088d1e8ea0bffe8a5c31 | [
"MIT"
] | null | null | null | from .user import User
from .recipes import Recipes, Dishes, Ingredients
from .tags import Tags, RecipeTags
from .user import UserRecipes, SavedRecipes
| 30.4 | 49 | 0.815789 | 20 | 152 | 6.2 | 0.5 | 0.129032 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 152 | 4 | 50 | 38 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b33352bd474e5b493b77500880f304e1cdd90737 | 184 | py | Python | graphid/__init__.py | Erotemic/graphid | 5d04c2eec609f135464a921ba03d9578fa6e22fd | [
"Apache-2.0"
] | 4 | 2019-03-04T02:49:26.000Z | 2021-10-06T00:51:13.000Z | graphid/__init__.py | Erotemic/graphid | 5d04c2eec609f135464a921ba03d9578fa6e22fd | [
"Apache-2.0"
] | 1 | 2019-02-15T23:42:26.000Z | 2019-02-15T23:42:26.000Z | graphid/__init__.py | Erotemic/graphid | 5d04c2eec609f135464a921ba03d9578fa6e22fd | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
__version__ = '0.0.6'
"""
mkinit ~/code/graphid/graphid --noattrs
"""
from graphid import api
from graphid import core
from graphid import demo
from graphid import util
| 18.4 | 39 | 0.75 | 27 | 184 | 4.962963 | 0.555556 | 0.328358 | 0.507463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025478 | 0.146739 | 184 | 9 | 40 | 20.444444 | 0.828025 | 0.065217 | 0 | 0 | 0 | 0 | 0.04065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b336edeb7f91f8458cb0515e180f38e9baf1bf94 | 42,019 | py | Python | auto_process_ngs/test/test_fastq_utils.py | fls-bioinformatics-core/auto_process_ngs | 1f07a08e14f118e6a61d3f37130515efc6049dd7 | [
"AFL-3.0"
] | 5 | 2017-01-31T21:37:09.000Z | 2022-03-17T19:26:29.000Z | auto_process_ngs/test/test_fastq_utils.py | fls-bioinformatics-core/auto_process_ngs | 1f07a08e14f118e6a61d3f37130515efc6049dd7 | [
"AFL-3.0"
] | 294 | 2015-08-14T09:00:30.000Z | 2022-03-18T10:17:05.000Z | auto_process_ngs/test/test_fastq_utils.py | fls-bioinformatics-core/auto_process_ngs | 1f07a08e14f118e6a61d3f37130515efc6049dd7 | [
"AFL-3.0"
] | 7 | 2017-11-23T07:52:21.000Z | 2020-07-15T10:12:05.000Z | #######################################################################
# Tests for fastq_utils.py module
#######################################################################
import unittest
import os
import tempfile
import shutil
import gzip
from auto_process_ngs.fastq_utils import IlluminaFastqAttrs
from auto_pro... | 40.637331 | 108 | 0.633214 | 5,393 | 42,019 | 4.654552 | 0.057853 | 0.133256 | 0.109035 | 0.044618 | 0.877699 | 0.835312 | 0.793761 | 0.76229 | 0.733527 | 0.699506 | 0 | 0.083857 | 0.249625 | 42,019 | 1,033 | 109 | 40.67667 | 0.712274 | 0.114615 | 0 | 0.61175 | 0 | 0.047254 | 0.286289 | 0.237306 | 0 | 0 | 0 | 0 | 0.306513 | 1 | 0.0894 | false | 0 | 0.01788 | 0 | 0.121328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2fbc952c295bdf035ee1fb71456e9e7d26b16f66 | 3,867 | py | Python | dcor/tests/test_homogeneity.py | TMiguelT/dcor | e7351553fb277f271ede1bf3e7148b408185707a | [
"MIT"
] | null | null | null | dcor/tests/test_homogeneity.py | TMiguelT/dcor | e7351553fb277f271ede1bf3e7148b408185707a | [
"MIT"
] | null | null | null | dcor/tests/test_homogeneity.py | TMiguelT/dcor | e7351553fb277f271ede1bf3e7148b408185707a | [
"MIT"
] | null | null | null | """Tests of the homogeneity module"""
import unittest
import dcor
import numpy as np
class TestEnergyTest(unittest.TestCase):
"""Tests for the homogeneity energy test function."""
def test_same_distribution_same_parameters(self):
"""
Test that the test works on equal distributions.
... | 31.696721 | 76 | 0.597362 | 448 | 3,867 | 4.948661 | 0.160714 | 0.099233 | 0.050519 | 0.078484 | 0.82138 | 0.791159 | 0.791159 | 0.767704 | 0.767704 | 0.711773 | 0 | 0.020809 | 0.328937 | 3,867 | 121 | 77 | 31.958678 | 0.833526 | 0.168089 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 1 | 0.063492 | false | 0 | 0.047619 | 0 | 0.126984 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
641999cb064e9d1413be415a32160a43b70543c6 | 130 | py | Python | mmcv/mmcv/onnx/__init__.py | praeclarumjj3/SegExp | aa14f6da4c0e9a1f44a81ede260c2d3e602844dc | [
"Apache-2.0"
] | 1 | 2021-01-04T12:31:14.000Z | 2021-01-04T12:31:14.000Z | mmcv/mmcv/onnx/__init__.py | praeclarumjj3/SegExp | aa14f6da4c0e9a1f44a81ede260c2d3e602844dc | [
"Apache-2.0"
] | null | null | null | mmcv/mmcv/onnx/__init__.py | praeclarumjj3/SegExp | aa14f6da4c0e9a1f44a81ede260c2d3e602844dc | [
"Apache-2.0"
] | null | null | null | from .simplify import simplify
from .symbolic import register_extra_symbolics
__all__ = ['register_extra_symbolics', 'simplify']
| 26 | 50 | 0.823077 | 15 | 130 | 6.6 | 0.533333 | 0.262626 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 130 | 4 | 51 | 32.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.246154 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
64391eb159251c721907e5a706e2e21c83ea2709 | 4,756 | py | Python | navicatGA/test/test_target_selfies.py | lcmd-epfl/NaviCatGA | 7317f3420a4a9124ebbc7224aaf46d3f27830d0a | [
"MIT"
] | 1 | 2022-03-07T13:16:37.000Z | 2022-03-07T13:16:37.000Z | navicatGA/test/test_target_selfies.py | lcmd-epfl/NaviCatGA | 7317f3420a4a9124ebbc7224aaf46d3f27830d0a | [
"MIT"
] | null | null | null | navicatGA/test/test_target_selfies.py | lcmd-epfl/NaviCatGA | 7317f3420a4a9124ebbc7224aaf46d3f27830d0a | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from selfies import encoder
from navicatGA.selfies_solver import SelfiesGenAlgSolver
from navicatGA.fitness_functions_selfies import fitness_function_target_selfies
from navicatGA.wrappers_selfies import (
sc2smiles,
sc2mol_structure,
mol_structure2depictions,
)
def test_tanimoto_m... | 29 | 112 | 0.657065 | 535 | 4,756 | 5.517757 | 0.164486 | 0.110095 | 0.064024 | 0.085366 | 0.865515 | 0.853659 | 0.853659 | 0.810976 | 0.810976 | 0.810976 | 0 | 0.02947 | 0.25799 | 4,756 | 163 | 113 | 29.177914 | 0.807027 | 0.034693 | 0 | 0.657343 | 0 | 0 | 0.200174 | 0.035107 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027972 | false | 0 | 0.027972 | 0 | 0.055944 | 0.06993 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
643ad4453acab48ab5f3415495b6b83b4983f7e7 | 210 | py | Python | pyrevolve/spec/msgs/__init__.py | braj29/robo_swimmers | b3c3fa91976884095eb6b5e67844167598ec573d | [
"Apache-1.1"
] | 24 | 2017-06-19T20:25:15.000Z | 2022-01-03T16:27:34.000Z | pyrevolve/spec/msgs/__init__.py | Ravi-Bossema/revolve | 46ece6f7dc137afcc0ddcde163ffcfe9548bd1ad | [
"Apache-1.1"
] | 51 | 2016-04-19T16:01:34.000Z | 2021-09-17T19:07:10.000Z | pyrevolve/spec/msgs/__init__.py | Ravi-Bossema/revolve | 46ece6f7dc137afcc0ddcde163ffcfe9548bd1ad | [
"Apache-1.1"
] | 37 | 2017-02-21T23:20:44.000Z | 2022-01-18T16:40:17.000Z | from .robot_pb2 import *
from .body_pb2 import *
from .parameter_pb2 import *
from .neural_net_pb2 import *
from .sdf_body_analyze_pb2 import *
from .model_inserted_pb2 import *
from .robot_states_pb2 import *
| 26.25 | 35 | 0.8 | 33 | 210 | 4.727273 | 0.393939 | 0.403846 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.133333 | 210 | 7 | 36 | 30 | 0.818681 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ff506f1b7d03380b30f97b171b7a45867a1a681a | 3,235 | py | Python | src/data/resources.py | jsmolka/tensor-ocr | f3c7072706637a643de2eb729ebbab58222dbe16 | [
"MIT"
] | 5 | 2018-10-03T16:53:54.000Z | 2018-12-11T19:02:55.000Z | src/data/resources.py | jsmolka/tensor-ocr | f3c7072706637a643de2eb729ebbab58222dbe16 | [
"MIT"
] | null | null | null | src/data/resources.py | jsmolka/tensor-ocr | f3c7072706637a643de2eb729ebbab58222dbe16 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.11.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x01\xa8\
\x54\
\x65\x6e\x73\x6f\x72\x57\x69\x64\x67\x65\x74\x20\x7b\x0d\x0a\x09\
\x62\x61\x63\x... | 38.511905 | 103 | 0.727048 | 701 | 3,235 | 3.300999 | 0.162625 | 0.178911 | 0.194468 | 0.165946 | 0.696197 | 0.683233 | 0.615385 | 0.611495 | 0.611495 | 0.586863 | 0 | 0.333225 | 0.052859 | 3,235 | 83 | 104 | 38.975904 | 0.421997 | 0.046986 | 0 | 0.119403 | 0 | 0.507463 | 0.000325 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.029851 | false | 0 | 0.014925 | 0 | 0.044776 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ff7473f5dafbba5b1dd57286b30c03c3592bada7 | 151 | py | Python | WorkingApp/views.py | AbhijithGanesh/FastAPI-Django-Integration | 2ebba24e3e2bae5087273568a714341a5563a3d9 | [
"BSD-3-Clause"
] | null | null | null | WorkingApp/views.py | AbhijithGanesh/FastAPI-Django-Integration | 2ebba24e3e2bae5087273568a714341a5563a3d9 | [
"BSD-3-Clause"
] | 1 | 2021-09-08T10:49:46.000Z | 2021-09-08T10:49:46.000Z | WorkingApp/views.py | AbhijithGanesh/FastAPI-Django-Integration | 2ebba24e3e2bae5087273568a714341a5563a3d9 | [
"BSD-3-Clause"
] | null | null | null | from django.http import HttpResponse
def LandingPage(request):
return HttpResponse('You have landed successfully on the page of the Working App.') | 37.75 | 87 | 0.794702 | 21 | 151 | 5.714286 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145695 | 151 | 4 | 87 | 37.75 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ff8343d94a042202308e8be8c41742fa870738ee | 84,930 | py | Python | verifyml/model_card_toolkit/proto/model_card_pb2.py | cylynx/verifyml | d3b4b3465493b802aba87edff81015f0db97805b | [
"Apache-2.0"
] | 13 | 2021-10-30T03:32:53.000Z | 2022-03-31T00:51:09.000Z | verifyml/model_card_toolkit/proto/model_card_pb2.py | cylynx/verifyml | d3b4b3465493b802aba87edff81015f0db97805b | [
"Apache-2.0"
] | 28 | 2021-10-21T06:19:23.000Z | 2022-02-07T08:18:44.000Z | verifyml/model_card_toolkit/proto/model_card_pb2.py | cylynx/verifyml | d3b4b3465493b802aba87edff81015f0db97805b | [
"Apache-2.0"
] | 1 | 2022-02-07T04:10:15.000Z | 2022-02-07T04:10:15.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: model_card_toolkit/proto/model_card.proto
import sys
_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message a... | 32.036967 | 5,977 | 0.599199 | 8,531 | 84,930 | 5.6467 | 0.046302 | 0.050154 | 0.071743 | 0.093727 | 0.773624 | 0.737316 | 0.733538 | 0.656855 | 0.641285 | 0.61515 | 0 | 0.035381 | 0.296809 | 84,930 | 2,650 | 5,978 | 32.049057 | 0.771223 | 0.027258 | 0 | 0.755943 | 1 | 0.003962 | 0.159056 | 0.121796 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.001189 | 0.001981 | 0 | 0.001981 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4403eef9e569766e70e1b66dda955a2752034ac7 | 26 | py | Python | gugong/__init__.py | robertwenquan/forbidden-city | 393275f0be3d832357041e06ef8baa4384cc3623 | [
"Apache-2.0"
] | null | null | null | gugong/__init__.py | robertwenquan/forbidden-city | 393275f0be3d832357041e06ef8baa4384cc3623 | [
"Apache-2.0"
] | 1 | 2020-06-22T06:54:05.000Z | 2020-06-29T13:16:46.000Z | gugong/__init__.py | robertwenquan/gugong | 393275f0be3d832357041e06ef8baa4384cc3623 | [
"Apache-2.0"
] | null | null | null | from .gugong import GuGong | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
443ee82c28fd557544e188ddaa078877ae0144e8 | 40 | py | Python | app/objects_browser/__init__.py | mbroz/feel-the-streets | 6e21a496f1530b0500ca66e11712f3f31cd857ae | [
"MIT"
] | null | null | null | app/objects_browser/__init__.py | mbroz/feel-the-streets | 6e21a496f1530b0500ca66e11712f3f31cd857ae | [
"MIT"
] | null | null | null | app/objects_browser/__init__.py | mbroz/feel-the-streets | 6e21a496f1530b0500ca66e11712f3f31cd857ae | [
"MIT"
] | null | null | null | from .window import ObjectsBrowserWindow | 40 | 40 | 0.9 | 4 | 40 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
445a89757f2d87014c2650f8549933004afb0d02 | 433 | py | Python | lib/googlecloudsdk/third_party/apis/clouduseraccounts/alpha/__init__.py | bopopescu/SDK | e6d9aaee2456f706d1d86e8ec2a41d146e33550d | [
"Apache-2.0"
] | null | null | null | lib/googlecloudsdk/third_party/apis/clouduseraccounts/alpha/__init__.py | bopopescu/SDK | e6d9aaee2456f706d1d86e8ec2a41d146e33550d | [
"Apache-2.0"
] | null | null | null | lib/googlecloudsdk/third_party/apis/clouduseraccounts/alpha/__init__.py | bopopescu/SDK | e6d9aaee2456f706d1d86e8ec2a41d146e33550d | [
"Apache-2.0"
] | 2 | 2020-11-04T03:08:21.000Z | 2020-11-05T08:14:41.000Z | """Common imports for generated clouduseraccounts client library."""
# pylint:disable=wildcard-import
import pkgutil
from googlecloudsdk.third_party.apitools.base.py import *
from googlecloudsdk.third_party.apis.clouduseraccounts.alpha.clouduseraccounts_alpha_client import *
from googlecloudsdk.third_party.apis.cloud... | 39.363636 | 102 | 0.854503 | 49 | 433 | 7.142857 | 0.510204 | 0.251429 | 0.197143 | 0.24 | 0.468571 | 0.468571 | 0.468571 | 0.468571 | 0.468571 | 0.468571 | 0 | 0 | 0.069284 | 433 | 10 | 103 | 43.3 | 0.868486 | 0.21709 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4471c0dd284bfd2bae6f11994f4d01f7906cd689 | 10,896 | py | Python | backend/tests/baserow/contrib/database/api/views/gallery/test_gallery_view_views.py | 6ix-Inc/baserow | 63268349d787577cf5773a77daf06f50e2acf8a5 | [
"MIT"
] | 1 | 2022-01-24T15:12:02.000Z | 2022-01-24T15:12:02.000Z | backend/tests/baserow/contrib/database/api/views/gallery/test_gallery_view_views.py | rasata/baserow | c6e1d7842c53f801e1c96b49f1377da2a06afaa9 | [
"MIT"
] | null | null | null | backend/tests/baserow/contrib/database/api/views/gallery/test_gallery_view_views.py | rasata/baserow | c6e1d7842c53f801e1c96b49f1377da2a06afaa9 | [
"MIT"
] | null | null | null | import pytest
from django.shortcuts import reverse
from rest_framework.status import (
HTTP_200_OK,
HTTP_400_BAD_REQUEST,
HTTP_401_UNAUTHORIZED,
HTTP_404_NOT_FOUND,
)
@pytest.mark.django_db
def test_list_rows(api_client, data_fixture):
user, token = data_fixture.create_user_and_token(
emai... | 40.962406 | 88 | 0.687408 | 1,452 | 10,896 | 4.87741 | 0.09573 | 0.118611 | 0.086416 | 0.05521 | 0.819401 | 0.775911 | 0.766591 | 0.741316 | 0.70545 | 0.682434 | 0 | 0.015847 | 0.171806 | 10,896 | 265 | 89 | 41.116981 | 0.768949 | 0.018172 | 0 | 0.526087 | 0 | 0 | 0.191883 | 0.072284 | 0 | 0 | 0 | 0 | 0.278261 | 1 | 0.026087 | false | 0.013043 | 0.013043 | 0 | 0.03913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
447a3af4edfd31a4bf38ef943f7dd9524cde332b | 93 | py | Python | thesis/modules/__init__.py | p678m854/EECS-Masters | 2dfed248ea7e3fab9047fda5b7687629ee895589 | [
"MIT"
] | null | null | null | thesis/modules/__init__.py | p678m854/EECS-Masters | 2dfed248ea7e3fab9047fda5b7687629ee895589 | [
"MIT"
] | null | null | null | thesis/modules/__init__.py | p678m854/EECS-Masters | 2dfed248ea7e3fab9047fda5b7687629ee895589 | [
"MIT"
] | null | null | null | # Import submodules
from . import dsp
from . import loss_functions
from . import quaternions
| 18.6 | 28 | 0.795699 | 12 | 93 | 6.083333 | 0.583333 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 4 | 29 | 23.25 | 0.935897 | 0.182796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
922868bbae58e20d7919095eee603f1ef5e5a98f | 47 | py | Python | src/d1_metrics_service/d1_metrics_service/wsgi.py | rushirajnenuji/metrics-service | a1f48dac792abbe8aa685ee5f015b6e740bf2fd5 | [
"Apache-2.0"
] | 2 | 2018-04-13T18:37:33.000Z | 2022-03-30T23:39:33.000Z | src/d1_metrics_service/d1_metrics_service/wsgi.py | rushirajnenuji/metrics-service | a1f48dac792abbe8aa685ee5f015b6e740bf2fd5 | [
"Apache-2.0"
] | 81 | 2018-04-06T07:16:33.000Z | 2022-03-30T15:22:05.000Z | src/d1_metrics_service/d1_metrics_service/wsgi.py | rushirajnenuji/metrics-service | a1f48dac792abbe8aa685ee5f015b6e740bf2fd5 | [
"Apache-2.0"
] | 1 | 2019-09-26T22:15:19.000Z | 2019-09-26T22:15:19.000Z | from d1_metrics_service.app import application
| 23.5 | 46 | 0.893617 | 7 | 47 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.085106 | 47 | 1 | 47 | 47 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
922f3b7ef75ab1916d0c07545cd693225e93f4f9 | 28 | py | Python | apps/corporations/models/__init__.py | Sult/daf | a4da9e8c96f70577e2490c05e82bdf7d0de1a563 | [
"MIT"
] | null | null | null | apps/corporations/models/__init__.py | Sult/daf | a4da9e8c96f70577e2490c05e82bdf7d0de1a563 | [
"MIT"
] | null | null | null | apps/corporations/models/__init__.py | Sult/daf | a4da9e8c96f70577e2490c05e82bdf7d0de1a563 | [
"MIT"
] | null | null | null | from .corporations import *
| 14 | 27 | 0.785714 | 3 | 28 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92489b2d406c5c44e6afa5a8643c77cd9d3900e8 | 47 | py | Python | olive/drivers/ophir/__init__.py | liuyenting/olive-core | b532b29e29fe9f167369f66b8d922f5f644f9309 | [
"Apache-2.0"
] | null | null | null | olive/drivers/ophir/__init__.py | liuyenting/olive-core | b532b29e29fe9f167369f66b8d922f5f644f9309 | [
"Apache-2.0"
] | null | null | null | olive/drivers/ophir/__init__.py | liuyenting/olive-core | b532b29e29fe9f167369f66b8d922f5f644f9309 | [
"Apache-2.0"
] | null | null | null | from .meters import *
from .sensors import *
| 15.666667 | 23 | 0.702128 | 6 | 47 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 47 | 2 | 24 | 23.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2bb09ac39545b687b96cf19eb70e0c33f8a874c4 | 43 | py | Python | module/__init__.py | btr1975/SimpleTestEngine | 6b2e713854b6ddf8d7031856bdea1180aa3d05c8 | [
"MIT"
] | 1 | 2018-12-20T07:13:01.000Z | 2018-12-20T07:13:01.000Z | module/__init__.py | btr1975/SimpleTestEngine | 6b2e713854b6ddf8d7031856bdea1180aa3d05c8 | [
"MIT"
] | null | null | null | module/__init__.py | btr1975/SimpleTestEngine | 6b2e713854b6ddf8d7031856bdea1180aa3d05c8 | [
"MIT"
] | null | null | null | from .question_engine import QuestionEngine | 43 | 43 | 0.906977 | 5 | 43 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a633d760800c0031420fc94682bb5be66c73660b | 21,844 | py | Python | musicapp/tests.py | daniel-afana/MusicDB | c2c897d540e6e514403997510e91044f518c0328 | [
"MIT"
] | null | null | null | musicapp/tests.py | daniel-afana/MusicDB | c2c897d540e6e514403997510e91044f518c0328 | [
"MIT"
] | null | null | null | musicapp/tests.py | daniel-afana/MusicDB | c2c897d540e6e514403997510e91044f518c0328 | [
"MIT"
] | null | null | null | from musicapp.models import Band, Musician, Album, BandMember
from rest_framework.test import APITestCase
from rest_framework import status
from django.core.urlresolvers import reverse
from rest_framework.authtoken.models import Token
from musicapp.authentication import ExpiringTokenAuthentication
import pdb
from music... | 29.964335 | 101 | 0.626991 | 2,459 | 21,844 | 5.383489 | 0.071167 | 0.069799 | 0.058468 | 0.077957 | 0.859269 | 0.815078 | 0.794682 | 0.776099 | 0.747923 | 0.747016 | 0 | 0.016404 | 0.254853 | 21,844 | 728 | 102 | 30.005495 | 0.796891 | 0.031496 | 0 | 0.650104 | 0 | 0 | 0.119392 | 0 | 0 | 0 | 0 | 0 | 0.089027 | 1 | 0.115942 | false | 0.012422 | 0.018634 | 0 | 0.182195 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a6443f73122ac7fc7886c8bc3625ba0d36eece3b | 1,137 | py | Python | tests/test_pickling.py | ominatechnologies/frozendict | f130c561a1ec53460c59167b832b01875f0d7cb9 | [
"MIT"
] | null | null | null | tests/test_pickling.py | ominatechnologies/frozendict | f130c561a1ec53460c59167b832b01875f0d7cb9 | [
"MIT"
] | 4 | 2020-04-04T09:41:16.000Z | 2022-01-25T10:06:46.000Z | tests/test_pickling.py | ominatechnologies/frozendict | f130c561a1ec53460c59167b832b01875f0d7cb9 | [
"MIT"
] | null | null | null | # test_pickling
import pickle
from frozendict import FrozenDict, NoCopyFrozenDict # noqa: F401
def test_1():
fd_1 = FrozenDict({"k_1": "v_1"})
fd_2 = pickle.loads(pickle.dumps(fd_1))
assert set(fd_2.keys()) == {"k_1"}
assert fd_2["k_1"] == "v_1"
def test_2():
fd_1 = {"k_1": FrozenDict({"k_2":... | 28.425 | 70 | 0.595427 | 201 | 1,137 | 3.039801 | 0.114428 | 0.05892 | 0.065466 | 0.081833 | 0.770867 | 0.716858 | 0.716858 | 0.716858 | 0.716858 | 0.716858 | 0 | 0.072805 | 0.17854 | 1,137 | 39 | 71 | 29.153846 | 0.58137 | 0.021108 | 0 | 0.607143 | 0 | 0 | 0.094595 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.142857 | false | 0 | 0.071429 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a6463191419e27c8be3997d78a39c5d6d2824f5d | 197 | py | Python | components/__init__.py | hiroki-kyoto/alice | 273e7f3d647c685db65d224baacd21e9f0e361f9 | [
"MIT"
] | null | null | null | components/__init__.py | hiroki-kyoto/alice | 273e7f3d647c685db65d224baacd21e9f0e361f9 | [
"MIT"
] | null | null | null | components/__init__.py | hiroki-kyoto/alice | 273e7f3d647c685db65d224baacd21e9f0e361f9 | [
"MIT"
] | null | null | null | import components.utils as utils
import components.classifier as classifier
import components.generator as generator
import components.auto_encoder as auto_encoder
import components.model as model
| 32.833333 | 46 | 0.873096 | 27 | 197 | 6.296296 | 0.333333 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101523 | 197 | 5 | 47 | 39.4 | 0.960452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a687d67530a20b2e9cf69c6761d488efb8c3a668 | 753 | py | Python | tests/test_builtins.py | sapir/tinywhat | e246cb97b31da91418498ec4f1bde94c5516844b | [
"BSD-3-Clause"
] | null | null | null | tests/test_builtins.py | sapir/tinywhat | e246cb97b31da91418498ec4f1bde94c5516844b | [
"BSD-3-Clause"
] | null | null | null | tests/test_builtins.py | sapir/tinywhat | e246cb97b31da91418498ec4f1bde94c5516844b | [
"BSD-3-Clause"
] | null | null | null | from .utils import assert_eval
def test_add():
assert_eval('(+ 1 2)', 3)
assert_eval('(+ 5 10 3)', 18)
def test_sub():
assert_eval('(- 5 1)', 4)
assert_eval('(- 1 2)', -1)
assert_eval('(- 1 10)', -9)
def test_mul():
assert_eval('(* 5 1)', 5)
assert_eval('(* 10 200)', 2000)
def test_d... | 18.825 | 35 | 0.508632 | 124 | 753 | 2.870968 | 0.209677 | 0.589888 | 0.185393 | 0.168539 | 0.264045 | 0.264045 | 0.264045 | 0.134831 | 0 | 0 | 0 | 0.12766 | 0.250996 | 753 | 39 | 36 | 19.307692 | 0.503546 | 0 | 0 | 0 | 0 | 0 | 0.197875 | 0 | 0 | 0 | 0 | 0 | 0.777778 | 1 | 0.222222 | true | 0 | 0.037037 | 0 | 0.259259 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a6e19a92c1f4c1e923d81ad2a6bf55d393a032e1 | 211 | py | Python | plaso/analyzers/hashers/__init__.py | ir4n6/plaso | 010f9cbdfc82e21ed6658657fd09a7b44115c464 | [
"Apache-2.0"
] | null | null | null | plaso/analyzers/hashers/__init__.py | ir4n6/plaso | 010f9cbdfc82e21ed6658657fd09a7b44115c464 | [
"Apache-2.0"
] | null | null | null | plaso/analyzers/hashers/__init__.py | ir4n6/plaso | 010f9cbdfc82e21ed6658657fd09a7b44115c464 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""This file contains an import statement for each hasher."""
from plaso.analyzers.hashers import md5
from plaso.analyzers.hashers import sha1
from plaso.analyzers.hashers import sha256
| 30.142857 | 61 | 0.767773 | 30 | 211 | 5.4 | 0.633333 | 0.166667 | 0.333333 | 0.462963 | 0.574074 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0.127962 | 211 | 6 | 62 | 35.166667 | 0.847826 | 0.369668 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4713ba0d6da793a7890ec81c888aac181e18ad77 | 95 | py | Python | gpptx/util/math.py | ktsstudio/gentle-python-pptx | cf65330bd189818f950e60e9e4db65a3db601df3 | [
"MIT"
] | 7 | 2019-01-07T21:12:13.000Z | 2022-01-06T14:30:04.000Z | gpptx/util/math.py | ktsstudio/gentle-python-pptx | cf65330bd189818f950e60e9e4db65a3db601df3 | [
"MIT"
] | 2 | 2019-07-31T17:09:36.000Z | 2020-11-02T04:14:17.000Z | gpptx/util/math.py | ktsstudio/gentle-python-pptx | cf65330bd189818f950e60e9e4db65a3db601df3 | [
"MIT"
] | 1 | 2019-07-31T21:38:29.000Z | 2019-07-31T21:38:29.000Z | def clamp(f: float, min_f: float, max_f: float) -> float:
return max(min(f, max_f), min_f)
| 31.666667 | 57 | 0.652632 | 19 | 95 | 3.052632 | 0.368421 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178947 | 95 | 2 | 58 | 47.5 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4718dd84abc8d44d68f5132a296b9a06d45dd05c | 78 | py | Python | handlers/device_handler.py | zilohumberto/async-configuration | a1333141d08681a52d5662a23cc98b449de7ade1 | [
"Apache-2.0"
] | null | null | null | handlers/device_handler.py | zilohumberto/async-configuration | a1333141d08681a52d5662a23cc98b449de7ade1 | [
"Apache-2.0"
] | null | null | null | handlers/device_handler.py | zilohumberto/async-configuration | a1333141d08681a52d5662a23cc98b449de7ade1 | [
"Apache-2.0"
] | null | null | null | from handlers.handler import Handler
class DeviceHandler(Handler):
pass
| 13 | 36 | 0.782051 | 9 | 78 | 6.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 78 | 5 | 37 | 15.6 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
473005b933a6ebc788953874282eb38b2161b45a | 106 | py | Python | label/test/canvas_label_4786103_test.py | groskopf/printerbox_pdf | 3212d39edb050cc09edb08ae9242578bd19530dd | [
"MIT"
] | null | null | null | label/test/canvas_label_4786103_test.py | groskopf/printerbox_pdf | 3212d39edb050cc09edb08ae9242578bd19530dd | [
"MIT"
] | null | null | null | label/test/canvas_label_4786103_test.py | groskopf/printerbox_pdf | 3212d39edb050cc09edb08ae9242578bd19530dd | [
"MIT"
] | null | null | null | from .. import canvas_label_4786103
c = canvas_label_4786103.CanvasLabel4786103("4786103.pdf")
c.save()
| 17.666667 | 58 | 0.792453 | 14 | 106 | 5.714286 | 0.642857 | 0.275 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0.09434 | 106 | 5 | 59 | 21.2 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0.103774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5b42b74925c2833ab5891cf840b4041bd69e8e45 | 5,217 | py | Python | Grace/features/password_crack.py | quickcodes/Grace_Personal_Assistant_-Neural_Networks- | 28ffbe40136eb9c01759b1836e1830ba5c2b66f4 | [
"MIT"
] | null | null | null | Grace/features/password_crack.py | quickcodes/Grace_Personal_Assistant_-Neural_Networks- | 28ffbe40136eb9c01759b1836e1830ba5c2b66f4 | [
"MIT"
] | null | null | null | Grace/features/password_crack.py | quickcodes/Grace_Personal_Assistant_-Neural_Networks- | 28ffbe40136eb9c01759b1836e1830ba5c2b66f4 | [
"MIT"
] | null | null | null | import random
import string
import time
import getpass
def lowerCase():
lc = string.ascii_lowercase
char_lst = list(lc)
pswd = input("Enter the password: ")
startTime = time.time()
st = round(startTime, 4)
print("Cracking...")
guess = ""
count = 0
while guess != pswd:
... | 28.664835 | 71 | 0.523289 | 581 | 5,217 | 4.657487 | 0.177281 | 0.031042 | 0.02439 | 0.037694 | 0.75388 | 0.736881 | 0.736881 | 0.736881 | 0.736881 | 0.736881 | 0 | 0.012302 | 0.345601 | 5,217 | 181 | 72 | 28.823204 | 0.780316 | 0.041211 | 0 | 0.628205 | 0 | 0 | 0.236065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044872 | false | 0.096154 | 0.025641 | 0 | 0.070513 | 0.205128 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5b602b5919108c1469ffa8b14bac8d02f9449711 | 109 | py | Python | Lib/jsons/classes/__init__.py | SmmServer/python-3.7.5-embed-win32 | d45aab0b8b3d6e1a9e5fce4037d3b6321261fa2b | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | Lib/jsons/classes/__init__.py | SmmServer/python-3.7.5-embed-win32 | d45aab0b8b3d6e1a9e5fce4037d3b6321261fa2b | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | Lib/jsons/classes/__init__.py | SmmServer/python-3.7.5-embed-win32 | d45aab0b8b3d6e1a9e5fce4037d3b6321261fa2b | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | from jsons.classes.json_serializable import JsonSerializable
from jsons.classes.verbosity import Verbosity
| 36.333333 | 61 | 0.87156 | 13 | 109 | 7.230769 | 0.615385 | 0.191489 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091743 | 109 | 2 | 62 | 54.5 | 0.949495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5b8fc0c89416653a845bb991f173892815a45a48 | 881 | py | Python | opencolorio_config_aces/utilities/__init__.py | michdolan/OpenColorIO-Config-ACES | 5216c2a184e03529557993b7dc670d351aadddc7 | [
"BSD-3-Clause"
] | null | null | null | opencolorio_config_aces/utilities/__init__.py | michdolan/OpenColorIO-Config-ACES | 5216c2a184e03529557993b7dc670d351aadddc7 | [
"BSD-3-Clause"
] | null | null | null | opencolorio_config_aces/utilities/__init__.py | michdolan/OpenColorIO-Config-ACES | 5216c2a184e03529557993b7dc670d351aadddc7 | [
"BSD-3-Clause"
] | null | null | null | # SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenColorIO Project.
from .common import (
DocstringDict,
first_item,
common_ancestor,
paths_common_ancestor,
vivification,
vivified_to_dict,
message_box,
is_colour_installed,
is_jsonpickle_installed,
is_net... | 20.488372 | 52 | 0.690125 | 94 | 881 | 5.957447 | 0.457447 | 0.1 | 0.078571 | 0.1 | 0.832143 | 0.832143 | 0.832143 | 0.832143 | 0.832143 | 0.832143 | 0 | 0.013043 | 0.216799 | 881 | 42 | 53 | 20.97619 | 0.798551 | 0.099886 | 0 | 0 | 0 | 0 | 0.322785 | 0.112658 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026316 | 0 | 0.026316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ba39c75e320a0366d2fc0668edf09c649b241fc | 126 | py | Python | snmp-collector/utils/dependency_injection/wiring/__init__.py | winkemoji/snmp-collector | 4a8b027920192d9cba0e969c547ecdc33f3828f6 | [
"MIT"
] | 1 | 2021-10-07T15:57:47.000Z | 2021-10-07T15:57:47.000Z | snmp-collector/utils/dependency_injection/wiring/__init__.py | winkemoji/snmp-collector | 4a8b027920192d9cba0e969c547ecdc33f3828f6 | [
"MIT"
] | null | null | null | snmp-collector/utils/dependency_injection/wiring/__init__.py | winkemoji/snmp-collector | 4a8b027920192d9cba0e969c547ecdc33f3828f6 | [
"MIT"
] | null | null | null | from utils.dependency_injection.wiring.provide import provide
from utils.dependency_injection.wiring.register import register
| 42 | 63 | 0.888889 | 16 | 126 | 6.875 | 0.5 | 0.163636 | 0.345455 | 0.509091 | 0.618182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 126 | 2 | 64 | 63 | 0.932203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5bca2200870472cc494a6fe4f172c82679866aef | 2,012 | py | Python | panoptes/utils/tests/test_focus_utils.py | preethi524/panoptes-utils | b515ab51688079f58bed1c737f7f7ab44e4b4eae | [
"MIT"
] | null | null | null | panoptes/utils/tests/test_focus_utils.py | preethi524/panoptes-utils | b515ab51688079f58bed1c737f7f7ab44e4b4eae | [
"MIT"
] | null | null | null | panoptes/utils/tests/test_focus_utils.py | preethi524/panoptes-utils | b515ab51688079f58bed1c737f7f7ab44e4b4eae | [
"MIT"
] | null | null | null | import os
import pytest
from astropy.io import fits
from panoptes.utils.images import focus as focus_utils
def test_vollath_f4(data_dir):
data = fits.getdata(os.path.join(data_dir, 'unsolved.fits'))
data = focus_utils.mask_saturated(data)
assert focus_utils.vollath_F4(data) == pytest.approx(14667.207897... | 39.45098 | 88 | 0.731113 | 273 | 2,012 | 5.153846 | 0.172161 | 0.127932 | 0.102345 | 0.134328 | 0.879886 | 0.879886 | 0.853589 | 0.778252 | 0.743426 | 0.743426 | 0 | 0.094461 | 0.147614 | 2,012 | 50 | 89 | 40.24 | 0.725948 | 0 | 0 | 0.45 | 0 | 0 | 0.058648 | 0 | 0 | 0 | 0 | 0 | 0.225 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
75061b81794a72d77d307cd8c323b2e273da7616 | 160 | py | Python | code/11/package/relative_import.py | TeamLab/introduction_to_pythoy_TEAMLAB_MOOC | ebf1ff02d6a341bfee8695eac478ff8297cb97e4 | [
"MIT"
] | 65 | 2017-11-01T01:57:21.000Z | 2022-02-08T13:36:25.000Z | code/11/package/relative_import.py | TeamLab/introduction_to_pythoy_TEAMLAB_MOOC | ebf1ff02d6a341bfee8695eac478ff8297cb97e4 | [
"MIT"
] | 9 | 2017-11-03T15:05:30.000Z | 2018-05-17T03:18:36.000Z | code/11/package/relative_import.py | TeamLab/introduction_to_pythoy_TEAMLAB_MOOC | ebf1ff02d6a341bfee8695eac478ff8297cb97e4 | [
"MIT"
] | 64 | 2017-11-01T01:57:23.000Z | 2022-01-19T03:52:12.000Z | from game.graphic.render import render_test()
render_test()
from .render import render_test()
from ..sound.echo import echo_test()
render_test()
echo_test() | 16 | 45 | 0.775 | 24 | 160 | 4.916667 | 0.333333 | 0.338983 | 0.305085 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 160 | 10 | 46 | 16 | 0.830986 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
752a8bedfa57a5740f3d7f6560847ed309c5b001 | 117 | py | Python | local.py | Prashant269/python | facf2683c20ace046e8c2adcd7fe96aad609331d | [
"bzip2-1.0.6"
] | null | null | null | local.py | Prashant269/python | facf2683c20ace046e8c2adcd7fe96aad609331d | [
"bzip2-1.0.6"
] | null | null | null | local.py | Prashant269/python | facf2683c20ace046e8c2adcd7fe96aad609331d | [
"bzip2-1.0.6"
] | null | null | null | #!/usr/bin/python
import time;
localtime = time.localtime(time.time())
print "Local current time :", localtime
| 19.5 | 40 | 0.700855 | 15 | 117 | 5.466667 | 0.6 | 0.47561 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 117 | 5 | 41 | 23.4 | 0.828283 | 0.136752 | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
75534423c01af057fd7306f01249c5e0ab07434d | 65 | py | Python | matrixslow/ops/__init__.py | nuaalixu/MatrixSlow | 490b7114130919b3d0f0320018308313951f8478 | [
"MIT"
] | null | null | null | matrixslow/ops/__init__.py | nuaalixu/MatrixSlow | 490b7114130919b3d0f0320018308313951f8478 | [
"MIT"
] | null | null | null | matrixslow/ops/__init__.py | nuaalixu/MatrixSlow | 490b7114130919b3d0f0320018308313951f8478 | [
"MIT"
] | 1 | 2020-11-19T11:22:39.000Z | 2020-11-19T11:22:39.000Z | from .ops import *
from .loss import *
from .metrics import *
| 16.25 | 23 | 0.676923 | 9 | 65 | 4.888889 | 0.555556 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 65 | 3 | 24 | 21.666667 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f33b6aad58523d5c273ba1967b562490c96c5a5b | 27 | py | Python | RN-Nets_for_vertex_classification/models/__init__.py | yeweiysh/RN-Nets | 4afa180e6a745291f08790b923ae4ef308616c6f | [
"MIT"
] | null | null | null | RN-Nets_for_vertex_classification/models/__init__.py | yeweiysh/RN-Nets | 4afa180e6a745291f08790b923ae4ef308616c6f | [
"MIT"
] | null | null | null | RN-Nets_for_vertex_classification/models/__init__.py | yeweiysh/RN-Nets | 4afa180e6a745291f08790b923ae4ef308616c6f | [
"MIT"
] | null | null | null | from .rnnets import RNNETS
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f3c4b89edc293cdcb4890c9d2f3ebd353aaa8cb8 | 114 | py | Python | interactive_text_to_sql/src/components/__init__.py | shivam2509/ContextualSP | 24aee1b9c59388478b1391851fdb30ee7c63298d | [
"MIT"
] | null | null | null | interactive_text_to_sql/src/components/__init__.py | shivam2509/ContextualSP | 24aee1b9c59388478b1391851fdb30ee7c63298d | [
"MIT"
] | null | null | null | interactive_text_to_sql/src/components/__init__.py | shivam2509/ContextualSP | 24aee1b9c59388478b1391851fdb30ee7c63298d | [
"MIT"
] | null | null | null | from src.components.nl_modiifer import NLModifier
from src.components.question_generator import QuestionGenerator
| 38 | 63 | 0.894737 | 14 | 114 | 7.142857 | 0.714286 | 0.14 | 0.34 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 114 | 2 | 64 | 57 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
45ef026571db67109a27fcf087176066648f43e0 | 10,007 | py | Python | tests.py | kgazha/call-center-tv | 4154ce3c187bc4bbc13943923072a117c4515c40 | [
"MIT"
] | null | null | null | tests.py | kgazha/call-center-tv | 4154ce3c187bc4bbc13943923072a117c4515c40 | [
"MIT"
] | null | null | null | tests.py | kgazha/call-center-tv | 4154ce3c187bc4bbc13943923072a117c4515c40 | [
"MIT"
] | null | null | null | import unittest
import reports_generator
import os.path
import datetime
class TestReportForm01(unittest.TestCase):
report = reports_generator.ReportForm01()
report.data = (
{'value_text': 'Агаповский район', 'name': 'Волонтеры', 'ticket_type_id': 11,
'frequency': 2, 'complaints': None, 'compl... | 62.15528 | 109 | 0.636355 | 1,316 | 10,007 | 4.551672 | 0.087386 | 0.069115 | 0.09015 | 0.130217 | 0.899165 | 0.876795 | 0.856427 | 0.834224 | 0.792487 | 0.767613 | 0 | 0.06692 | 0.184671 | 10,007 | 160 | 110 | 62.54375 | 0.667239 | 0 | 0 | 0.635714 | 0 | 0 | 0.362446 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 1 | 0.057143 | false | 0 | 0.028571 | 0 | 0.128571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3463de27639ccf1bd122f9cf7dc019e31cf2abd9 | 116 | py | Python | core/utils/str_byte_conversion.py | kumardot93/Socket-Programmin-with-Asynchronous-Security | ad6096a27c50858a4655702800bf50a9617a9f48 | [
"MIT"
] | null | null | null | core/utils/str_byte_conversion.py | kumardot93/Socket-Programmin-with-Asynchronous-Security | ad6096a27c50858a4655702800bf50a9617a9f48 | [
"MIT"
] | null | null | null | core/utils/str_byte_conversion.py | kumardot93/Socket-Programmin-with-Asynchronous-Security | ad6096a27c50858a4655702800bf50a9617a9f48 | [
"MIT"
] | null | null | null | def str2bytes(string):
return string.encode('utf-8')
def bytes2str(string):
return string.decode('utf-8')
| 16.571429 | 33 | 0.689655 | 16 | 116 | 5 | 0.5625 | 0.3 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.155172 | 116 | 6 | 34 | 19.333333 | 0.77551 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
3467fba0da95013f4b0ea407fecaa219cf991cb7 | 51 | py | Python | component/tile/__init__.py | sepal-contrib/gfc_wrapper_python | 697d6ee86ad08007f72e8d1414cb808088c2b02a | [
"MIT"
] | 1 | 2020-12-15T17:04:39.000Z | 2020-12-15T17:04:39.000Z | component/tile/__init__.py | sepal-contrib/gfc_wrapper_python | 697d6ee86ad08007f72e8d1414cb808088c2b02a | [
"MIT"
] | 13 | 2020-08-14T06:30:58.000Z | 2020-11-02T11:03:16.000Z | component/tile/__init__.py | sepal-contrib/gfc_wrapper_python | 697d6ee86ad08007f72e8d1414cb808088c2b02a | [
"MIT"
] | 2 | 2020-12-15T17:04:44.000Z | 2021-11-14T01:09:53.000Z | from .viz_tile import *
from .export_tile import *
| 17 | 26 | 0.764706 | 8 | 51 | 4.625 | 0.625 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 27 | 25.5 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.