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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1de81bb477ab8ad84c3bb89808f801c13c0ca84d | 244 | py | Python | integration/fresnel.py | lemming52/white_knight | 9932aeb4b2a2bfa4270a0cd6d39fd054242890cf | [
"MIT"
] | 2 | 2021-02-23T19:25:02.000Z | 2021-02-23T19:25:48.000Z | integration/fresnel.py | lemming52/white_knight | 9932aeb4b2a2bfa4270a0cd6d39fd054242890cf | [
"MIT"
] | null | null | null | integration/fresnel.py | lemming52/white_knight | 9932aeb4b2a2bfa4270a0cd6d39fd054242890cf | [
"MIT"
] | 1 | 2021-02-23T19:25:53.000Z | 2021-02-23T19:25:53.000Z | # External Packages
import numpy as np
# Functions for evaluating the fresnel integrals.
def cos_integrand(x, coeff):
return np.cos(np.power(x, 2)*coeff)
def sin_integrand(x, coeff):
return np.sin(np.power(x, 2)*coeff)
| 18.769231 | 50 | 0.680328 | 38 | 244 | 4.315789 | 0.552632 | 0.121951 | 0.182927 | 0.256098 | 0.45122 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010363 | 0.209016 | 244 | 12 | 51 | 20.333333 | 0.839378 | 0.266393 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1dfd78dec98a9b953b72f65dd557ac359b5c468b | 30 | py | Python | scripts/extract_dataset.py | Fedioun/flair | 5504bdc6ec4232e3321483c9611bc929c9557175 | [
"MIT"
] | null | null | null | scripts/extract_dataset.py | Fedioun/flair | 5504bdc6ec4232e3321483c9611bc929c9557175 | [
"MIT"
] | null | null | null | scripts/extract_dataset.py | Fedioun/flair | 5504bdc6ec4232e3321483c9611bc929c9557175 | [
"MIT"
] | null | null | null |
def main():
main()
| 3 | 11 | 0.366667 | 3 | 30 | 3.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.466667 | 30 | 9 | 12 | 3.333333 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3836048cadc3d13946611a6b6c35734490a2e66e | 94 | py | Python | python/testData/completion/hasattrCompletion/hasattrInConditionalExpression.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/hasattrCompletion/hasattrInConditionalExpression.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/completion/hasattrCompletion/hasattrInConditionalExpression.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo(x):
some_var = (x.<caret> if hasattr(x, "foo") else 42) if hasattr(x, "bar") else 42 | 47 | 82 | 0.62766 | 19 | 94 | 3.052632 | 0.578947 | 0.310345 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.170213 | 94 | 2 | 82 | 47 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.063158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6985121e4268d20ce7367271b05fed46203f93b5 | 1,096 | py | Python | tools/plane_utils.py | lolrudy/GPV_pose | f326a623b3e45e6edfc1963b068e8e7aaea2bfff | [
"MIT"
] | 10 | 2022-03-16T02:14:56.000Z | 2022-03-31T19:01:34.000Z | tools/plane_utils.py | lolrudy/GPV_pose | f326a623b3e45e6edfc1963b068e8e7aaea2bfff | [
"MIT"
] | 1 | 2022-03-18T06:43:16.000Z | 2022-03-18T06:56:35.000Z | tools/plane_utils.py | lolrudy/GPV_pose | f326a623b3e45e6edfc1963b068e8e7aaea2bfff | [
"MIT"
] | 2 | 2022-03-19T13:06:28.000Z | 2022-03-19T16:08:18.000Z | import torch
def get_plane(pc, pc_w):
# min least square
n = pc.shape[0]
A = torch.cat([pc[:, :2], torch.ones([n, 1], device=pc.device)], dim=-1)
b = pc[:, 2].view(-1, 1)
W = torch.diag(pc_w)
WA = torch.mm(W, A)
ATWA = torch.mm(A.permute(1, 0), WA)
ATWA_1 = torch.inverse(ATWA)
Wb = ... | 30.444444 | 76 | 0.547445 | 211 | 1,096 | 2.748815 | 0.189573 | 0.12069 | 0.055172 | 0.103448 | 0.703448 | 0.703448 | 0.703448 | 0.703448 | 0.703448 | 0.703448 | 0 | 0.050909 | 0.247263 | 1,096 | 36 | 77 | 30.444444 | 0.652121 | 0.039234 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.033333 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
698898b86818fab584b81963d400deef9b7fa972 | 76 | py | Python | bandit/backends/__init__.py | russelljk/django-email-bandit | d7f319afb7ee1f663cb93c0f13b3a6c9b3ce6077 | [
"BSD-3-Clause"
] | null | null | null | bandit/backends/__init__.py | russelljk/django-email-bandit | d7f319afb7ee1f663cb93c0f13b3a6c9b3ce6077 | [
"BSD-3-Clause"
] | null | null | null | bandit/backends/__init__.py | russelljk/django-email-bandit | d7f319afb7ee1f663cb93c0f13b3a6c9b3ce6077 | [
"BSD-3-Clause"
] | null | null | null | from bandit.backends.smtp import HijackSMTPBackend as HijackBackend # noqa
| 38 | 75 | 0.842105 | 9 | 76 | 7.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 76 | 1 | 76 | 76 | 0.955224 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
698f1212ea06d52e65226b59e55178e3802e4570 | 77 | py | Python | PythonMusic/__init__.py | Andereoo/PythonMusic | 85f33267898c75ae8da5e1ae15cc17f03cdb1896 | [
"MIT"
] | null | null | null | PythonMusic/__init__.py | Andereoo/PythonMusic | 85f33267898c75ae8da5e1ae15cc17f03cdb1896 | [
"MIT"
] | null | null | null | PythonMusic/__init__.py | Andereoo/PythonMusic | 85f33267898c75ae8da5e1ae15cc17f03cdb1896 | [
"MIT"
] | null | null | null | from PythonMusic.__main__ import custom_sound, wait, note, PythonMusic_help
| 38.5 | 76 | 0.844156 | 10 | 77 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 1 | 77 | 77 | 0.855072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
69ea19602ba77cfc14fce77372bf9054c051b673 | 29,121 | py | Python | tests/st/numpy_native/test_array_creations.py | kungfu-team/mindspore-bert | 71501cf52ae01db9d6a73fb64bcfe68a6509dc32 | [
"Apache-2.0"
] | null | null | null | tests/st/numpy_native/test_array_creations.py | kungfu-team/mindspore-bert | 71501cf52ae01db9d6a73fb64bcfe68a6509dc32 | [
"Apache-2.0"
] | null | null | null | tests/st/numpy_native/test_array_creations.py | kungfu-team/mindspore-bert | 71501cf52ae01db9d6a73fb64bcfe68a6509dc32 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020-2021 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agre... | 34.709178 | 98 | 0.6553 | 4,366 | 29,121 | 4.176592 | 0.062529 | 0.104195 | 0.124376 | 0.109405 | 0.812503 | 0.779051 | 0.735893 | 0.705182 | 0.661695 | 0.642062 | 0 | 0.049059 | 0.206243 | 29,121 | 838 | 99 | 34.750597 | 0.739823 | 0.050754 | 0 | 0.497738 | 0 | 0 | 0.004274 | 0 | 0 | 0 | 0 | 0 | 0.015083 | 1 | 0.067873 | false | 0 | 0.006033 | 0.00905 | 0.090498 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
38a571922fb7193e479260aa552a5cd7bb096155 | 114 | py | Python | day3/test_package/__init__.py | tdouris1/pynet_test | 6c68161a5759c2d82b14dc92fec70fda1aba679c | [
"Apache-2.0"
] | null | null | null | day3/test_package/__init__.py | tdouris1/pynet_test | 6c68161a5759c2d82b14dc92fec70fda1aba679c | [
"Apache-2.0"
] | null | null | null | day3/test_package/__init__.py | tdouris1/pynet_test | 6c68161a5759c2d82b14dc92fec70fda1aba679c | [
"Apache-2.0"
] | 1 | 2020-06-03T08:41:10.000Z | 2020-06-03T08:41:10.000Z | from test_package.test1 import my_func
from test_package.test2 import my_func2
__all__ = ['my_func', 'my_func2']
| 22.8 | 39 | 0.798246 | 19 | 114 | 4.263158 | 0.526316 | 0.197531 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 0.114035 | 114 | 4 | 40 | 28.5 | 0.762376 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
38d6a70cb87c8e2b6a999d7239f94a7970939034 | 102 | py | Python | duplicates_parser/duplicates/__init__.py | LilianBoulard/utils | 84acd0f24afc976a92aa422bfd8ec5c725800b98 | [
"MIT"
] | 2 | 2020-12-15T11:54:58.000Z | 2021-01-21T17:34:06.000Z | duplicates_parser/duplicates/__init__.py | Phaide/utils | 84acd0f24afc976a92aa422bfd8ec5c725800b98 | [
"MIT"
] | null | null | null | duplicates_parser/duplicates/__init__.py | Phaide/utils | 84acd0f24afc976a92aa422bfd8ec5c725800b98 | [
"MIT"
] | null | null | null | from .parser import DuplicateParser
from .extractor import Extractor
from .dashboard import Dashboard
| 25.5 | 35 | 0.852941 | 12 | 102 | 7.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 3 | 36 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2a0d88802085de00f4ec7be9e5ba21be1c97a13f | 530 | py | Python | dealbot/buttons.py | whyh/FavourDemo | 1b19882fb2e79dee9c3332594bf45c91e7476eaa | [
"Unlicense"
] | 1 | 2020-09-14T12:10:22.000Z | 2020-09-14T12:10:22.000Z | dealbot/buttons.py | whyh/FavourDemo | 1b19882fb2e79dee9c3332594bf45c91e7476eaa | [
"Unlicense"
] | 4 | 2021-04-30T20:54:31.000Z | 2021-06-02T00:28:04.000Z | dealbot/buttons.py | whyh/FavourDemo | 1b19882fb2e79dee9c3332594bf45c91e7476eaa | [
"Unlicense"
] | null | null | null | from aiogram.types import InlineKeyboardButton
from common import sed, tg
import phrases as phr
def replenish(lang: str) -> InlineKeyboardButton:
return InlineKeyboardButton(phr.REPLENISH(lang), url=tg.BOT_DEEPLINK + sed.encode(**{sed.kv.ACT: sed.kv.ACT_REPL}))
def close_deal(lang: str, creator: bool, contribu... | 40.769231 | 173 | 0.773585 | 72 | 530 | 5.611111 | 0.430556 | 0.074257 | 0.079208 | 0.242574 | 0.123762 | 0.123762 | 0.123762 | 0.123762 | 0 | 0 | 0 | 0 | 0.101887 | 530 | 12 | 174 | 44.166667 | 0.84874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.428571 | 0.285714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
2a17ed45d324b329b727b3376dacf24cf485b3ef | 157 | py | Python | example/text_output.py | vputz/pyntegrant | 6c54c03286b57e883577795440f4d304bfca2506 | [
"Apache-2.0"
] | null | null | null | example/text_output.py | vputz/pyntegrant | 6c54c03286b57e883577795440f4d304bfca2506 | [
"Apache-2.0"
] | null | null | null | example/text_output.py | vputz/pyntegrant | 6c54c03286b57e883577795440f4d304bfca2506 | [
"Apache-2.0"
] | null | null | null | from pprint import pformat
from interfaces import Output
class TextOutput(Output):
def format_output(self, d: dict) -> str:
return pformat(d)
| 17.444444 | 44 | 0.713376 | 21 | 157 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210191 | 157 | 8 | 45 | 19.625 | 0.895161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
2a28a20a75291ead3bbcd19f230575ab146edf1c | 83 | py | Python | openpype/hosts/flame/api/plugin.py | philipluk/OpenPype | 103de741de5f71063a9572f0338e879b6361fb31 | [
"MIT"
] | 44 | 2019-03-19T04:56:35.000Z | 2021-04-23T12:05:08.000Z | openpype/hosts/flame/api/plugin.py | philipluk/OpenPype | 103de741de5f71063a9572f0338e879b6361fb31 | [
"MIT"
] | 655 | 2020-03-17T15:10:21.000Z | 2021-04-23T18:22:52.000Z | openpype/hosts/flame/api/plugin.py | BigRoy/OpenPype | dd0e3657b4e66740f55feddb2693acfd14e2c9ef | [
"MIT"
] | 21 | 2019-03-19T04:56:38.000Z | 2021-04-23T09:10:59.000Z | # Creator plugin functions
# Publishing plugin functions
# Loader plugin functions
| 20.75 | 29 | 0.819277 | 9 | 83 | 7.555556 | 0.555556 | 0.661765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 30 | 27.666667 | 0.957746 | 0.915663 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2a2a5994acd3bb8bcc7231e2ae957c92474828a9 | 420 | py | Python | Database/Project/login/models.py | ChoKyuWon/SchoolProjects | 71a5decefc85ae941ba2d537c4507ba8e615cc34 | [
"MIT"
] | null | null | null | Database/Project/login/models.py | ChoKyuWon/SchoolProjects | 71a5decefc85ae941ba2d537c4507ba8e615cc34 | [
"MIT"
] | null | null | null | Database/Project/login/models.py | ChoKyuWon/SchoolProjects | 71a5decefc85ae941ba2d537c4507ba8e615cc34 | [
"MIT"
] | null | null | null | from django.db import models
class User(models.Model):
uid = models.IntegerField(default=0, primary_key=True)
user_id = models.IntegerField(default=0)
user_passwordhash = models.CharField(max_length=100)
user_isadmin = models.BinaryField(default=b'0')
user_classroom_id = models.IntegerField(... | 32.307692 | 59 | 0.716667 | 56 | 420 | 5.160714 | 0.571429 | 0.186851 | 0.259516 | 0.269896 | 0.193772 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.183333 | 420 | 12 | 60 | 35 | 0.822157 | 0.057143 | 0 | 0 | 0 | 0 | 0.002618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.111111 | 0.111111 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
2a6bdde53bd210d14a14d2a03fae66b1645df387 | 244 | py | Python | Framework/KeyboardListener.py | EpicTofuu/Froggers | 0395ef801fe11a7881fd32fd570bf3135a4a761f | [
"MIT"
] | 1 | 2020-11-17T04:32:55.000Z | 2020-11-17T04:32:55.000Z | Framework/KeyboardListener.py | EpicTofuu/Froggers | 0395ef801fe11a7881fd32fd570bf3135a4a761f | [
"MIT"
] | null | null | null | Framework/KeyboardListener.py | EpicTofuu/Froggers | 0395ef801fe11a7881fd32fd570bf3135a4a761f | [
"MIT"
] | null | null | null | # gets key presses. Only helpful for key down strokes
class KeyboardListener:
def KeyDown (self, event):
pass
def get_keydown (oldkeystate, newkeystate, keys):
return any ([newkeystate[k] and not oldkeystate[k] for k in keys]) | 30.5 | 70 | 0.717213 | 34 | 244 | 5.117647 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20082 | 244 | 8 | 70 | 30.5 | 0.892308 | 0.209016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
2a6d03024f5e00d5dca546e48a657e2f58e03241 | 182 | py | Python | bin/iamonds/polyiamonds-12345-trapezoid-1.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/iamonds/polyiamonds-12345-trapezoid-1.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/iamonds/polyiamonds-12345-trapezoid-1.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | 1 | 2022-01-02T16:54:14.000Z | 2022-01-02T16:54:14.000Z | #!/usr/bin/env python
# $Id$
"""98,807 solutions"""
import puzzler
from puzzler.puzzles.polyiamonds12345 import Polyiamonds12345Trapezoid1
puzzler.run(Polyiamonds12345Trapezoid1)
| 18.2 | 71 | 0.802198 | 19 | 182 | 7.684211 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 0.087912 | 182 | 9 | 72 | 20.222222 | 0.746988 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2a70865a93c827c819b1cb18d2b9e53e0147e60a | 324 | py | Python | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_13_24Bowl_bop_test.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_13_24Bowl_bop_test.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_13_24Bowl_bop_test.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = (
"./FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_01_02MasterChefCan_bop_test.py"
)
OUTPUT_DIR = "output/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/13_24Bowl"
DATASETS = dict(TRAIN=("ycbv_024_bowl_train_pbr"... | 54 | 137 | 0.873457 | 44 | 324 | 5.727273 | 0.704545 | 0.087302 | 0.206349 | 0.293651 | 0.539683 | 0.539683 | 0.539683 | 0.539683 | 0.539683 | 0.539683 | 0 | 0.100324 | 0.046296 | 324 | 5 | 138 | 64.8 | 0.71521 | 0 | 0 | 0 | 0 | 0 | 0.799383 | 0.799383 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aa841f3cf45dd5c21b74bbfb9c2259f8efaa5d5e | 7,114 | py | Python | tests/test_aiohttp_path_params.py | iterait/apistrap | e83460fa97f13a95a928971b0d2defe0ac611911 | [
"MIT"
] | 6 | 2018-09-06T18:32:48.000Z | 2021-05-28T01:03:32.000Z | tests/test_aiohttp_path_params.py | iterait/apistrap | e83460fa97f13a95a928971b0d2defe0ac611911 | [
"MIT"
] | 53 | 2018-09-06T16:16:53.000Z | 2021-05-19T14:36:58.000Z | tests/test_aiohttp_path_params.py | iterait/apistrap | e83460fa97f13a95a928971b0d2defe0ac611911 | [
"MIT"
] | null | null | null | import json
import pytest
from aiohttp import web
from aiohttp.web_request import Request
from apistrap.aiohttp import AioHTTPApistrap
@pytest.fixture(scope="function")
def app_without_request_param():
oapi = AioHTTPApistrap()
app = web.Application()
routes = web.RouteTableDef()
oapi.init_app(app)
... | 29.036735 | 125 | 0.69061 | 869 | 7,114 | 5.38435 | 0.100115 | 0.092327 | 0.123103 | 0.115409 | 0.858089 | 0.837786 | 0.810216 | 0.745458 | 0.692883 | 0.692883 | 0 | 0.0078 | 0.189064 | 7,114 | 244 | 126 | 29.155738 | 0.803259 | 0 | 0 | 0.621951 | 0 | 0 | 0.082232 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 1 | 0.02439 | false | 0 | 0.030488 | 0 | 0.091463 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2ab96079a3123222dcb751c18b6a701bbb6857cc | 212 | py | Python | src/forms/__init__.py | nnecklace/webi-shoppi | 140d1e6ea8d019aa10ee2104e1bbd2baf0b9aa0f | [
"MIT"
] | null | null | null | src/forms/__init__.py | nnecklace/webi-shoppi | 140d1e6ea8d019aa10ee2104e1bbd2baf0b9aa0f | [
"MIT"
] | 2 | 2020-06-02T13:55:02.000Z | 2020-06-16T17:58:55.000Z | src/forms/__init__.py | nnecklace/webi-shoppi | 140d1e6ea8d019aa10ee2104e1bbd2baf0b9aa0f | [
"MIT"
] | null | null | null | from .authentication import LoginForm, RegisterForm
from .search import SearchForm
from .products import ProductForm
from .users import UserForm, ChangePasswordForm, BalanceForm
from .comments import CommentForm
| 35.333333 | 60 | 0.853774 | 23 | 212 | 7.869565 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108491 | 212 | 5 | 61 | 42.4 | 0.957672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
2ac2926b460fad71cc4d177ac4785a717685f8ec | 348 | py | Python | waldur_core/monitoring/managers.py | opennode/nodeconductor | d6c17a9592bb6c49c33567542eef8d099605a46a | [
"MIT"
] | 23 | 2015-01-15T13:29:53.000Z | 2017-05-04T05:12:24.000Z | waldur_core/monitoring/managers.py | opennode/nodeconductor | d6c17a9592bb6c49c33567542eef8d099605a46a | [
"MIT"
] | null | null | null | waldur_core/monitoring/managers.py | opennode/nodeconductor | d6c17a9592bb6c49c33567542eef8d099605a46a | [
"MIT"
] | 8 | 2015-01-11T18:51:47.000Z | 2017-06-29T18:53:12.000Z | from django.db import models as django_models
from waldur_core.core.managers import GenericKeyMixin
class ResourceSlaManager(GenericKeyMixin, django_models.Manager):
pass
class ResourceItemManager(GenericKeyMixin, django_models.Manager):
pass
class ResourceSlaStateTransitionManager(GenericKeyMixin, djang... | 21.75 | 80 | 0.83046 | 36 | 348 | 7.888889 | 0.444444 | 0.169014 | 0.285211 | 0.359155 | 0.43662 | 0.302817 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117816 | 348 | 15 | 81 | 23.2 | 0.925081 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.375 | 0.25 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
2aed056bb066a479a54e413c288e5126a4d1f5dc | 33 | py | Python | cupy_alias/logic/__init__.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | cupy_alias/logic/__init__.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | cupy_alias/logic/__init__.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | from clpy.logic import * # NOQA
| 16.5 | 32 | 0.69697 | 5 | 33 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 1 | 33 | 33 | 0.884615 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
630052d9f2112b73f5bc04c7356f6192727bcb06 | 99 | py | Python | tests/unit/test_instrument.py | StarostinV/qmap_interpolation | bc432f33a461339e29ff8dfbc73a54fae10d5d34 | [
"MIT"
] | null | null | null | tests/unit/test_instrument.py | StarostinV/qmap_interpolation | bc432f33a461339e29ff8dfbc73a54fae10d5d34 | [
"MIT"
] | null | null | null | tests/unit/test_instrument.py | StarostinV/qmap_interpolation | bc432f33a461339e29ff8dfbc73a54fae10d5d34 | [
"MIT"
] | null | null | null | import pytest
def test_instrument(instrument):
assert instrument.hot_pixel_threshold is None
| 16.5 | 49 | 0.818182 | 13 | 99 | 6 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 99 | 5 | 50 | 19.8 | 0.917647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6320b64f9aaab098bc7711582825b97349aebdfb | 29 | py | Python | src/services/message_management/__init__.py | b1team/trada | 22ceaf4d50fe3a38ff402315c029e574773ca9e0 | [
"MIT"
] | null | null | null | src/services/message_management/__init__.py | b1team/trada | 22ceaf4d50fe3a38ff402315c029e574773ca9e0 | [
"MIT"
] | 1 | 2021-03-12T15:16:03.000Z | 2021-03-12T15:16:03.000Z | src/services/message_management/__init__.py | b1team/trada | 22ceaf4d50fe3a38ff402315c029e574773ca9e0 | [
"MIT"
] | null | null | null | from .api import send_message | 29 | 29 | 0.862069 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2da047e1ebf2d0eb3800443c040c822ad70bd18d | 49 | py | Python | tkdet/solver/__init__.py | tkhe/tkdetection | 54e6c112ef2930e755f457e38449736f5743a9ea | [
"MIT"
] | 1 | 2020-10-09T02:27:13.000Z | 2020-10-09T02:27:13.000Z | tkdet/solver/__init__.py | tkhe/tkdetection | 54e6c112ef2930e755f457e38449736f5743a9ea | [
"MIT"
] | null | null | null | tkdet/solver/__init__.py | tkhe/tkdetection | 54e6c112ef2930e755f457e38449736f5743a9ea | [
"MIT"
] | null | null | null | from .build import *
from .lr_scheduler import *
| 16.333333 | 27 | 0.755102 | 7 | 49 | 5.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 28 | 24.5 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2dc5f270797144470894757dfd7b6d2c8cfa92e6 | 92 | py | Python | dbaas/maintenance/async_jobs/__init__.py | perry-contribs/database-as-a-service | db8fbee3982bbc32abf32aa86f7387de01a243be | [
"BSD-3-Clause"
] | 303 | 2015-01-08T10:35:54.000Z | 2022-02-28T08:54:06.000Z | dbaas/maintenance/async_jobs/__init__.py | nouraellm/database-as-a-service | 5e655c9347bea991b7218a01549f5e44f161d7be | [
"BSD-3-Clause"
] | 124 | 2015-01-14T12:56:15.000Z | 2022-03-22T20:45:11.000Z | dbaas/maintenance/async_jobs/__init__.py | nouraellm/database-as-a-service | 5e655c9347bea991b7218a01549f5e44f161d7be | [
"BSD-3-Clause"
] | 110 | 2015-01-02T11:59:48.000Z | 2022-02-28T08:54:06.000Z | from .base import *
from .restart_database import *
from .remove_instance_database import *
| 23 | 39 | 0.804348 | 12 | 92 | 5.916667 | 0.583333 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 3 | 40 | 30.666667 | 0.8875 | 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 | 0 | 0 | 0 | 5 |
2dd4db3496199ea8dc43d1819271bdaa264939dd | 387 | py | Python | api/generateKey.py | JumboCode/South-Florida-Jewish-Academy | 02034d083a7311c3c09b86b06517cbf084a2794a | [
"MIT"
] | 5 | 2019-12-11T14:33:11.000Z | 2020-08-12T21:06:04.000Z | api/generateKey.py | JumboCode/South-Florida-Jewish-Academy | 02034d083a7311c3c09b86b06517cbf084a2794a | [
"MIT"
] | 155 | 2019-09-29T14:42:03.000Z | 2022-02-26T18:26:37.000Z | api/generateKey.py | JumboCode/South-Florida-Jewish-Academy | 02034d083a7311c3c09b86b06517cbf084a2794a | [
"MIT"
] | 4 | 2019-09-29T16:32:11.000Z | 2020-07-23T01:57:06.000Z | import random
import string
import secrets
#generates a unique key as a string of 1 + 15 random letters/numbers
def generateKey():
# key = str(1)
# for i in range(0,15):
# letterOrNum = random.randint(0,1)
# if letterOrNum == 0:
# key = key + random.choice(string.ascii_letters)
# else:
# key = key + str(... | 24.1875 | 68 | 0.682171 | 60 | 387 | 4.366667 | 0.566667 | 0.045802 | 0.10687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051118 | 0.191214 | 387 | 15 | 69 | 25.8 | 0.785942 | 0.687339 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.6 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
93290c62368395b618b2c95673065f4f79449d52 | 29,817 | py | Python | makahiki/apps/widgets/smartgrid/migrations/0001_initial.py | justinslee/Wai-Not-Makahiki | 4b7dd685012ec64758affe0ecee3103596d16aa7 | [
"MIT"
] | 1 | 2015-07-22T11:31:20.000Z | 2015-07-22T11:31:20.000Z | makahiki/apps/widgets/smartgrid/migrations/0001_initial.py | justinslee/Wai-Not-Makahiki | 4b7dd685012ec64758affe0ecee3103596d16aa7 | [
"MIT"
] | null | null | null | makahiki/apps/widgets/smartgrid/migrations/0001_initial.py | justinslee/Wai-Not-Makahiki | 4b7dd685012ec64758affe0ecee3103596d16aa7 | [
"MIT"
] | null | null | null | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Level'
db.create_table('smartgrid_level', (
('id', self.gf('django.db.models.f... | 72.547445 | 182 | 0.597981 | 3,198 | 29,817 | 5.454972 | 0.063164 | 0.102264 | 0.17816 | 0.254514 | 0.813872 | 0.789911 | 0.778332 | 0.73104 | 0.670737 | 0.588019 | 0 | 0.009761 | 0.182245 | 29,817 | 410 | 183 | 72.72439 | 0.705697 | 0.038334 | 0 | 0.280702 | 0 | 0 | 0.535368 | 0.333322 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005848 | false | 0.002924 | 0.011696 | 0 | 0.026316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
934acfe844bcf7b5cb0acba9d290acc4e3e9503a | 97 | py | Python | class9/exercise6/mytest/__init__.py | gleydsonm/pynet_ex | c7095b431d9d0de0e30f65d66a212a950afdb5d6 | [
"Apache-2.0"
] | null | null | null | class9/exercise6/mytest/__init__.py | gleydsonm/pynet_ex | c7095b431d9d0de0e30f65d66a212a950afdb5d6 | [
"Apache-2.0"
] | null | null | null | class9/exercise6/mytest/__init__.py | gleydsonm/pynet_ex | c7095b431d9d0de0e30f65d66a212a950afdb5d6 | [
"Apache-2.0"
] | null | null | null | from world import func1, MyClass, MyChildClass
__all__ = ('func1', 'MyClass', 'MyChildClass')
| 19.4 | 47 | 0.721649 | 10 | 97 | 6.6 | 0.7 | 0.363636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.14433 | 97 | 4 | 48 | 24.25 | 0.771084 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
937e88169ca913629339d0e3321817d78ab8c3a6 | 101 | py | Python | .scripts/diff.py | GreenBlast/dotfiles | 12de7c9e5d8eda0a7f314ed6d19974e7ea549116 | [
"MIT"
] | 2 | 2018-08-08T12:39:10.000Z | 2019-03-19T13:24:15.000Z | .scripts/diff.py | GreenBlast/dotfiles | 12de7c9e5d8eda0a7f314ed6d19974e7ea549116 | [
"MIT"
] | null | null | null | .scripts/diff.py | GreenBlast/dotfiles | 12de7c9e5d8eda0a7f314ed6d19974e7ea549116 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import sys
import os
os.system('vim -d "%s" "%s"' % (sys.argv[2], sys.argv[5]))
| 12.625 | 58 | 0.584158 | 19 | 101 | 3.105263 | 0.684211 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.148515 | 101 | 7 | 59 | 14.428571 | 0.662791 | 0.158416 | 0 | 0 | 0 | 0 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fa986ed6a152d7d89cf1586dcc5279a1a7eeab23 | 26 | py | Python | pycdft/elcoupling/__init__.py | wwwennie/pycdft | 3bd6c71d8e0661993af33147225db6396aa5729d | [
"MIT"
] | 21 | 2020-05-23T17:36:55.000Z | 2022-01-24T01:26:02.000Z | pycdft/elcoupling/__init__.py | wwwennie/pycdft | 3bd6c71d8e0661993af33147225db6396aa5729d | [
"MIT"
] | 5 | 2020-10-28T13:07:12.000Z | 2021-12-17T15:53:08.000Z | pycdft/elcoupling/__init__.py | wwwennie/pycdft | 3bd6c71d8e0661993af33147225db6396aa5729d | [
"MIT"
] | 4 | 2020-03-14T21:01:11.000Z | 2021-05-09T01:37:03.000Z | from .elcoupling import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 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 | 0 | 0 | 0 | 5 |
fafca969cf2663ef2c1da62b9e4563c3318885a7 | 159 | py | Python | asios/kernel/fixup.py | Paolo-Maffei/retro | bf30cec3d82672eb2805392e77f3b21705129fc0 | [
"Unlicense"
] | 1 | 2022-02-12T19:35:39.000Z | 2022-02-12T19:35:39.000Z | asios/kernel/fixup.py | Paolo-Maffei/retro | bf30cec3d82672eb2805392e77f3b21705129fc0 | [
"Unlicense"
] | null | null | null | asios/kernel/fixup.py | Paolo-Maffei/retro | bf30cec3d82672eb2805392e77f3b21705129fc0 | [
"Unlicense"
] | null | null | null | Import("env")
def fixLinkFlag (s):
return s[4:] if s.startswith('-Wl,-T') else s
env.Replace(LINKFLAGS = [fixLinkFlag(i) for i in env['LINKFLAGS']])
| 22.714286 | 67 | 0.641509 | 25 | 159 | 4.08 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.169811 | 159 | 6 | 68 | 26.5 | 0.765152 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
878732079fb88bf39d43439fbebda5f3bbaf31e8 | 137 | py | Python | python/testData/quickFixes/RenameElementQuickFixTest/protectedMember_after.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/quickFixes/RenameElementQuickFixTest/protectedMember_after.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/quickFixes/RenameElementQuickFixTest/protectedMember_after.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 1 | 2020-11-27T10:36:50.000Z | 2020-11-27T10:36:50.000Z |
class A:
def __init__(self):
self.a = 1
def _foo(self):
pass
a_class = A()
a_class._foo()
print(a_class.a)
| 9.133333 | 23 | 0.540146 | 22 | 137 | 2.954545 | 0.409091 | 0.276923 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.328467 | 137 | 14 | 24 | 9.785714 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0 | 0 | 0.375 | 0.125 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
87f057379dfe6ad11655907ca1ebe6ffd8044984 | 111 | py | Python | banklite/services/base.py | mharrisb1/banklite | d99b224682cc13f914fdc9ba371c0f3789d90a11 | [
"MIT"
] | 1 | 2021-09-28T17:34:11.000Z | 2021-09-28T17:34:11.000Z | banklite/services/base.py | mharrisb1/banklite | d99b224682cc13f914fdc9ba371c0f3789d90a11 | [
"MIT"
] | null | null | null | banklite/services/base.py | mharrisb1/banklite | d99b224682cc13f914fdc9ba371c0f3789d90a11 | [
"MIT"
] | null | null | null | import sqlite3
class BaseService:
def __init__(self, conn: sqlite3.Connection):
self.conn = conn
| 15.857143 | 49 | 0.693694 | 13 | 111 | 5.615385 | 0.692308 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.225225 | 111 | 6 | 50 | 18.5 | 0.825581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
87fbf87762acd039641ddaf0e279649716086f46 | 102 | py | Python | test.py | ecrax/hexo-recover-files | 20d09ee035feca54e2c8512b57cf73256a7e1af2 | [
"MIT"
] | 1 | 2019-11-05T20:01:16.000Z | 2019-11-05T20:01:16.000Z | test.py | ecrax/hexo-recover-files | 20d09ee035feca54e2c8512b57cf73256a7e1af2 | [
"MIT"
] | 5 | 2018-12-09T18:34:16.000Z | 2020-10-19T13:07:40.000Z | test.py | ecrax/hexo-recover-files | 20d09ee035feca54e2c8512b57cf73256a7e1af2 | [
"MIT"
] | 3 | 2019-11-05T20:01:27.000Z | 2021-09-30T19:47:02.000Z | import convert_html
import json
convert_html.build_file("Fitting-Polynomial-Regressions-in-Python")
| 17 | 67 | 0.843137 | 14 | 102 | 5.928571 | 0.785714 | 0.26506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068627 | 102 | 5 | 68 | 20.4 | 0.873684 | 0 | 0 | 0 | 0 | 0 | 0.39604 | 0.39604 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
355b2f78245bbb3c3fdf65730818a4fbe98d8c7f | 74 | py | Python | 7 kyu/Vowel Count/Vowel Count.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | 7 kyu/Vowel Count/Vowel Count.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | 7 kyu/Vowel Count/Vowel Count.py | anthonyjatoba/codewars | 76b0d66dd1ba76a4d136b658920cdf85fd5c4b06 | [
"MIT"
] | null | null | null | def getCount(inputStr):
return sum(inputStr.count(v) for v in 'aeiou') | 37 | 50 | 0.716216 | 12 | 74 | 4.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 74 | 2 | 50 | 37 | 0.84127 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
35d68d8d6a1ec41494bcaa4e9c609c7ec5144ea3 | 32,345 | py | Python | objective/metadata/datamodel.py | ronaldoussoren/objective.metadata | 799408cbe696f954c96d0738bd10ea1d87c3cace | [
"MIT"
] | 2 | 2020-11-15T08:02:53.000Z | 2021-11-23T04:00:39.000Z | objective/metadata/datamodel.py | ronaldoussoren/objective.metadata | 799408cbe696f954c96d0738bd10ea1d87c3cace | [
"MIT"
] | 11 | 2020-07-25T19:34:23.000Z | 2021-05-15T15:59:20.000Z | objective/metadata/datamodel.py | ronaldoussoren/objective.metadata | 799408cbe696f954c96d0738bd10ea1d87c3cace | [
"MIT"
] | null | null | null | """"
Datamodel for the metadata scanner.
This file is currently incomplete. The following needs to be added
- Add types and additional fields for exception files
- Add helper methods for extracting exception information
from the model.
- Deal with alternatives (sets of scanned files that have differe... | 30.571834 | 88 | 0.696089 | 4,251 | 32,345 | 5.220889 | 0.106563 | 0.019465 | 0.026539 | 0.040506 | 0.771335 | 0.761287 | 0.745517 | 0.72015 | 0.705326 | 0.700099 | 0 | 0.001199 | 0.226341 | 32,345 | 1,057 | 89 | 30.600757 | 0.88571 | 0.474138 | 0 | 0.624339 | 0 | 0 | 0.020278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029101 | false | 0 | 0.015873 | 0 | 0.65873 | 0.018519 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ea150c16d6654306f46761e12d203f0728e7c7de | 34 | py | Python | ckg/report_manager/__init__.py | igg-bioinfo/CKG | 7984ae239c5010545b95c9be3201a899682294de | [
"MIT"
] | 189 | 2020-05-11T16:26:39.000Z | 2022-03-30T08:24:37.000Z | ckg/report_manager/__init__.py | igg-bioinfo/CKG | 7984ae239c5010545b95c9be3201a899682294de | [
"MIT"
] | 51 | 2020-05-12T04:24:28.000Z | 2022-03-30T10:51:55.000Z | ckg/report_manager/__init__.py | igg-bioinfo/CKG | 7984ae239c5010545b95c9be3201a899682294de | [
"MIT"
] | 44 | 2020-05-13T09:53:21.000Z | 2022-03-27T08:43:53.000Z | #This is just an empty directory
| 11.333333 | 32 | 0.764706 | 6 | 34 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 2 | 33 | 17 | 0.962963 | 0.911765 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ea1a270da507b384a6f136a99cfaf7d632154b44 | 8,183 | py | Python | tests/test_hilbertcurve.py | binfnstats/hilbertcurve | 6599899ee2156fe7833b15447325f330cf5b8113 | [
"MIT"
] | 129 | 2019-03-10T22:01:18.000Z | 2022-02-24T18:04:28.000Z | tests/test_hilbertcurve.py | binfnstats/hilbertcurve | 6599899ee2156fe7833b15447325f330cf5b8113 | [
"MIT"
] | 12 | 2019-03-03T18:08:11.000Z | 2022-03-13T03:39:25.000Z | tests/test_hilbertcurve.py | galtay/hilbert_curve | 6599899ee2156fe7833b15447325f330cf5b8113 | [
"MIT"
] | 19 | 2015-11-08T19:48:05.000Z | 2018-11-21T14:40:08.000Z | """Test the functions in hilbert.py"""
import pytest
import unittest
import numpy as np
from hilbertcurve.hilbertcurve import HilbertCurve
class TestHilbertIntegerToTranspose(unittest.TestCase):
"""Test hilbert_integer_to_transpose."""
def test_10590(self):
"""Assert that a 15 bit hilber integer is c... | 30.533582 | 80 | 0.593059 | 991 | 8,183 | 4.684157 | 0.133199 | 0.113744 | 0.113744 | 0.118483 | 0.754201 | 0.724472 | 0.717148 | 0.717148 | 0.69776 | 0.69776 | 0 | 0.038182 | 0.311866 | 8,183 | 267 | 81 | 30.64794 | 0.786184 | 0.194305 | 0 | 0.700565 | 0 | 0 | 0.001271 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 1 | 0.090395 | false | 0 | 0.022599 | 0 | 0.163842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ea2edeaa95f50fa7cad47eb83a8c5f2533e1c2b1 | 555 | py | Python | tests/test_07_end_to_end/conftest.py | primal100/aionetworking | a29cbb022cbae1a4ad1c3d44327e9d0b0c930227 | [
"MIT"
] | null | null | null | tests/test_07_end_to_end/conftest.py | primal100/aionetworking | a29cbb022cbae1a4ad1c3d44327e9d0b0c930227 | [
"MIT"
] | 1 | 2018-12-23T00:50:33.000Z | 2018-12-23T00:50:33.000Z | tests/test_07_end_to_end/conftest.py | primal100/aionetworking | a29cbb022cbae1a4ad1c3d44327e9d0b0c930227 | [
"MIT"
] | null | null | null | from tests.test_06_senders.conftest import *
import pytest
from aionetworking.formats.contrib.json import JSONObject
@pytest.fixture
def echo_exception_response_encoded() -> bytes:
return b'{"id": 2, "error": "InvalidRequestError"}'
@pytest.fixture
def echo_exception_response() -> dict:
return {'id': 2, 'er... | 29.210526 | 107 | 0.798198 | 66 | 555 | 6.409091 | 0.424242 | 0.21513 | 0.347518 | 0.141844 | 0.621749 | 0.621749 | 0.534279 | 0.3026 | 0.3026 | 0.3026 | 0 | 0.008032 | 0.102703 | 555 | 18 | 108 | 30.833333 | 0.841365 | 0 | 0 | 0.25 | 0 | 0 | 0.120721 | 0.03964 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ea898b485b0efc642f4f48aea338018daf8ca642 | 39 | py | Python | AtC_Gra_Con_001-010/AGC001/C.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | AtC_Gra_Con_001-010/AGC001/C.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | AtC_Gra_Con_001-010/AGC001/C.py | yosho-18/AtCoder | 50f6d5c92a01792552c31ac912ce1cd557b06fb0 | [
"MIT"
] | null | null | null | print("Yes" if (True|False) else "No")
| 19.5 | 38 | 0.641026 | 7 | 39 | 3.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
575d82504efcdc7feac7686d860ba8c82a642669 | 183 | py | Python | viberio/types/requests/seen_request.py | vorlov-bash/viberio | 8bea3bb4f39f68e9b83f1d1876d293b641ee6a06 | [
"MIT"
] | 18 | 2019-02-20T15:24:21.000Z | 2022-03-24T12:48:30.000Z | viberio/types/requests/seen_request.py | vorlov-bash/viberio | 8bea3bb4f39f68e9b83f1d1876d293b641ee6a06 | [
"MIT"
] | null | null | null | viberio/types/requests/seen_request.py | vorlov-bash/viberio | 8bea3bb4f39f68e9b83f1d1876d293b641ee6a06 | [
"MIT"
] | 10 | 2019-04-05T17:09:03.000Z | 2021-09-17T17:17:08.000Z | import attr
from viberio.types.requests import ViberReqestObject
@attr.s
class ViberSeenRequest(ViberReqestObject):
message_token: int = attr.ib()
user_id: str = attr.ib()
| 18.3 | 52 | 0.754098 | 23 | 183 | 5.913043 | 0.73913 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153005 | 183 | 9 | 53 | 20.333333 | 0.877419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
576a0c3fe5b7d8dc4550313c920a489973592447 | 3,381 | py | Python | test/contrib/train/test_gcmc_dataset.py | hirosassa/redshells | 7824381a7d1f042405014b4572a5d5824338fc74 | [
"MIT"
] | 42 | 2019-01-02T01:31:39.000Z | 2022-01-29T08:56:12.000Z | test/contrib/train/test_gcmc_dataset.py | hirosassa/redshells | 7824381a7d1f042405014b4572a5d5824338fc74 | [
"MIT"
] | 29 | 2019-03-28T02:33:01.000Z | 2021-09-27T00:45:25.000Z | test/contrib/train/test_gcmc_dataset.py | hirosassa/redshells | 7824381a7d1f042405014b4572a5d5824338fc74 | [
"MIT"
] | 17 | 2019-02-21T03:08:20.000Z | 2022-02-17T23:27:48.000Z | import unittest
from logging import getLogger
import numpy as np
from redshells.contrib.model.gcmc_dataset import GcmcDataset
from redshells.contrib.model.graph_convolutional_matrix_completion import GcmcGraphDataset
logger = getLogger(__name__)
class TestGCMCDataset(unittest.TestCase):
def test_without_inform... | 51.227273 | 142 | 0.664892 | 488 | 3,381 | 4.393443 | 0.139344 | 0.065299 | 0.130597 | 0.030784 | 0.788246 | 0.752799 | 0.749534 | 0.726679 | 0.717817 | 0.708955 | 0 | 0.050798 | 0.184857 | 3,381 | 65 | 143 | 52.015385 | 0.727141 | 0 | 0 | 0.553571 | 0 | 0 | 0.052351 | 0 | 0 | 0 | 0 | 0 | 0.339286 | 1 | 0.053571 | false | 0 | 0.089286 | 0 | 0.160714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
57a8b542e671291b0e80e91e4b98cc123a9bbdc9 | 51 | py | Python | python/testData/resolve/InnerFuncVar.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/InnerFuncVar.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/InnerFuncVar.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def f1():
foo = 1
def f2():
return f<ref>oo | 12.75 | 19 | 0.509804 | 10 | 51 | 2.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.313725 | 51 | 4 | 19 | 12.75 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
57d7857179f2e84e738fd6577a396d3e3eb97702 | 61 | py | Python | cls2det/utils/__init__.py | Media-Smart/cls2det | 2e0eaeec0a74edfe6946ebb6bc1df8a17a8e478a | [
"Apache-2.0"
] | 22 | 2020-06-11T07:00:02.000Z | 2020-12-14T15:20:59.000Z | cls2det/utils/__init__.py | Media-Smart/cls2det | 2e0eaeec0a74edfe6946ebb6bc1df8a17a8e478a | [
"Apache-2.0"
] | null | null | null | cls2det/utils/__init__.py | Media-Smart/cls2det | 2e0eaeec0a74edfe6946ebb6bc1df8a17a8e478a | [
"Apache-2.0"
] | 4 | 2020-10-22T05:49:01.000Z | 2021-12-18T22:57:54.000Z | from .config import Config
from .eval_coco import COCOeval
| 20.333333 | 32 | 0.803279 | 9 | 61 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 61 | 2 | 33 | 30.5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
57e4badd97a2191740da4d29e3b8ae498ff8a1d0 | 97 | py | Python | bayonet/__init__.py | Bayonet-Client/bayonet-python | 4d1e44c8f7f1bb85971481bcf319a4ee0604b609 | [
"MIT"
] | 1 | 2022-03-28T15:08:47.000Z | 2022-03-28T15:08:47.000Z | bayonet/__init__.py | Bayonet-Client/bayonet-python | 4d1e44c8f7f1bb85971481bcf319a4ee0604b609 | [
"MIT"
] | null | null | null | bayonet/__init__.py | Bayonet-Client/bayonet-python | 4d1e44c8f7f1bb85971481bcf319a4ee0604b609 | [
"MIT"
] | null | null | null | from .bayonet import BayonetClient
from .exceptions import BayonetError, InvalidClientSetupError
| 32.333333 | 61 | 0.876289 | 9 | 97 | 9.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092784 | 97 | 2 | 62 | 48.5 | 0.965909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
57fc66ae4d38898c681aed3c62c534311b378945 | 44 | py | Python | 000403StepPyThin/000403_02_05_Task03_Lists_v02_Stepik_20200223.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 000403StepPyThin/000403_02_05_Task03_Lists_v02_Stepik_20200223.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 000403StepPyThin/000403_02_05_Task03_Lists_v02_Stepik_20200223.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | print(sum(int(i) for i in input().split()))
| 22 | 43 | 0.636364 | 9 | 44 | 3.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
17dd56dba05a23d70f3cf46848269359903d5449 | 215 | py | Python | akika_venv/lib/python3.6/site-packages/django_seo_js/templatetags/django_seo_js.py | laetitia123/akikatest | 812f26155b6e3d003ac7e48c08c16df406e11086 | [
"MIT"
] | 183 | 2015-01-02T09:02:21.000Z | 2022-02-24T05:09:08.000Z | akika_venv/lib/python3.6/site-packages/django_seo_js/templatetags/django_seo_js.py | laetitia123/akikatest | 812f26155b6e3d003ac7e48c08c16df406e11086 | [
"MIT"
] | 31 | 2015-02-03T21:15:53.000Z | 2022-03-22T15:07:01.000Z | akika_venv/lib/python3.6/site-packages/django_seo_js/templatetags/django_seo_js.py | laetitia123/akikatest | 812f26155b6e3d003ac7e48c08c16df406e11086 | [
"MIT"
] | 55 | 2015-02-03T04:00:55.000Z | 2022-02-24T05:09:10.000Z | from django import template
from django.utils.safestring import mark_safe
register = template.Library()
@register.simple_tag
def seo_js_head(*args):
return mark_safe("""<meta name="fragment" content="!">""")
| 21.5 | 62 | 0.748837 | 29 | 215 | 5.37931 | 0.758621 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 215 | 9 | 63 | 23.888889 | 0.821053 | 0 | 0 | 0 | 0 | 0 | 0.15814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
17ed7bf6db6f082c4acf28a7ed3741a338d07ec8 | 86 | py | Python | phash/__init__.py | vkulikov/python-phash | c61c955c76ec9e987ead86318cff72a5f6a1fbae | [
"CC0-1.0"
] | 14 | 2015-02-23T14:17:24.000Z | 2021-12-17T17:48:38.000Z | phash/__init__.py | vkulikov/python-phash | c61c955c76ec9e987ead86318cff72a5f6a1fbae | [
"CC0-1.0"
] | 8 | 2015-07-09T15:07:50.000Z | 2020-09-25T10:15:36.000Z | phash/__init__.py | vkulikov/python-phash | c61c955c76ec9e987ead86318cff72a5f6a1fbae | [
"CC0-1.0"
] | 15 | 2015-01-08T19:41:45.000Z | 2019-05-23T11:39:11.000Z | # encoding: utf-8
from __future__ import absolute_import
from .phash_ctypes import *
| 17.2 | 38 | 0.802326 | 12 | 86 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.139535 | 86 | 4 | 39 | 21.5 | 0.837838 | 0.174419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
aa04c5c882ae862c8f69d34dd5b1460ca1800a20 | 1,274 | py | Python | envi/interactive.py | rnui2k/vivisect | b7b00f2d03defef28b4b8c912e3a8016e956c5f7 | [
"ECL-2.0",
"Apache-2.0"
] | 16 | 2015-12-10T06:18:16.000Z | 2021-09-11T21:42:16.000Z | envi/interactive.py | rnui2k/vivisect | b7b00f2d03defef28b4b8c912e3a8016e956c5f7 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2018-10-12T21:07:24.000Z | 2018-10-12T21:08:49.000Z | envi/interactive.py | rnui2k/vivisect | b7b00f2d03defef28b4b8c912e3a8016e956c5f7 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2016-03-20T11:15:51.000Z | 2021-08-06T07:32:42.000Z |
def dbg_interact(lcls, gbls):
intro = "Let's interact!"
try:
import IPython.Shell
ipsh = IPython.Shell.IPShell(argv=[''], user_ns=lcls, user_global_ns=gbls)
print(intro)
ipsh.mainloop()
except ImportError as e:
try:
from IPython.terminal.interactiveshell... | 35.388889 | 99 | 0.573783 | 124 | 1,274 | 5.798387 | 0.33871 | 0.069541 | 0.083449 | 0.089013 | 0.748261 | 0.748261 | 0.748261 | 0.748261 | 0.748261 | 0.748261 | 0 | 0.00241 | 0.348509 | 1,274 | 35 | 100 | 36.4 | 0.863855 | 0.090267 | 0 | 0.7 | 0 | 0 | 0.01301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.2 | 0 | 0.233333 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aa141914ada6cff96aaeff0da123370b82943071 | 259 | py | Python | django_sha2/models.py | fwenzel/django-sha2 | f4519bf0cc9b1dd7a7d78394fa4aec4504bc86e9 | [
"BSD-3-Clause"
] | 9 | 2015-01-20T23:21:32.000Z | 2020-05-03T14:33:12.000Z | django_sha2/models.py | h4ck3rm1k3/django-sha2 | f4519bf0cc9b1dd7a7d78394fa4aec4504bc86e9 | [
"BSD-3-Clause"
] | 1 | 2016-01-28T10:32:28.000Z | 2017-04-12T21:15:47.000Z | django_sha2/models.py | h4ck3rm1k3/django-sha2 | f4519bf0cc9b1dd7a7d78394fa4aec4504bc86e9 | [
"BSD-3-Clause"
] | 3 | 2015-01-11T22:08:47.000Z | 2021-12-06T19:40:29.000Z | """Make sure django.contrib.auth monkeypatching happens on load."""
from django.conf import settings
# If we don't have password hashers, we need to monkey patch the auth module.
if not hasattr(settings, 'PASSWORD_HASHERS'):
from django_sha2 import auth
| 37 | 77 | 0.772201 | 40 | 259 | 4.95 | 0.725 | 0.10101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004545 | 0.150579 | 259 | 6 | 78 | 43.166667 | 0.895455 | 0.532819 | 0 | 0 | 0 | 0 | 0.13913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.666667 | 0 | 0.666667 | 0 | 0 | 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 | 5 |
aa195c2f2bc34413e2c9f3104d6fdeacb926f7b6 | 70 | py | Python | manticore/__init__.py | etcd/manticore | 87073d9985c4ca445217b7b135a6af0a51044b21 | [
"Apache-2.0"
] | null | null | null | manticore/__init__.py | etcd/manticore | 87073d9985c4ca445217b7b135a6af0a51044b21 | [
"Apache-2.0"
] | null | null | null | manticore/__init__.py | etcd/manticore | 87073d9985c4ca445217b7b135a6af0a51044b21 | [
"Apache-2.0"
] | 1 | 2021-07-12T01:14:03.000Z | 2021-07-12T01:14:03.000Z | from .manticore import Manticore
from .utils.helpers import issymbolic | 35 | 37 | 0.857143 | 9 | 70 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 70 | 2 | 37 | 35 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a4c7930242b7ab38d1ef4a3c38f8b64620326022 | 46 | py | Python | cellphonedb/src/exceptions/NoReleasesException.py | BioTuring-Notebooks/CellphoneDB | 9ab48d8888f11259bb3030c8d149d7bc7cdaf6e1 | [
"MIT"
] | 278 | 2018-10-03T22:12:09.000Z | 2022-03-28T15:33:17.000Z | cellphonedb/src/exceptions/NoReleasesException.py | BioTuring-Notebooks/CellphoneDB | 9ab48d8888f11259bb3030c8d149d7bc7cdaf6e1 | [
"MIT"
] | 263 | 2018-11-16T14:41:31.000Z | 2022-03-30T08:38:26.000Z | cellphonedb/src/exceptions/NoReleasesException.py | BioTuring-Notebooks/CellphoneDB | 9ab48d8888f11259bb3030c8d149d7bc7cdaf6e1 | [
"MIT"
] | 106 | 2018-10-18T15:11:57.000Z | 2022-03-14T19:50:27.000Z | class NoReleasesException(Exception):
pass | 23 | 37 | 0.804348 | 4 | 46 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 2 | 38 | 23 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a4e409bd9fec15fb2ba0d2facec117e18e9e39d8 | 87 | py | Python | lapy/__init__.py | AhmedFaisal95/LaPy | caf84eaf11d7d152cf64fd283dfe1ece65a6ca64 | [
"MIT"
] | 8 | 2021-03-19T14:38:06.000Z | 2022-02-10T15:45:02.000Z | lapy/__init__.py | AhmedFaisal95/LaPy | caf84eaf11d7d152cf64fd283dfe1ece65a6ca64 | [
"MIT"
] | 4 | 2021-03-29T05:45:56.000Z | 2022-03-21T13:54:30.000Z | lapy/__init__.py | AhmedFaisal95/LaPy | caf84eaf11d7d152cf64fd283dfe1ece65a6ca64 | [
"MIT"
] | 3 | 2021-11-10T08:51:38.000Z | 2022-03-21T11:59:58.000Z | from .TriaMesh import TriaMesh
from .TetMesh import TetMesh
from .Solver import Solver
| 21.75 | 30 | 0.827586 | 12 | 87 | 6 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 3 | 31 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3509b3ab904c82d0b43a60e623f3879ee4697a8a | 129 | py | Python | fedot/core/debug/metrics.py | rozlana-g/FEDOT | a909d6c0ef481cc1cf7a5f10f7b1292d8d2def5c | [
"BSD-3-Clause"
] | 358 | 2020-06-11T09:34:53.000Z | 2022-03-31T12:56:22.000Z | fedot/core/debug/metrics.py | rozlana-g/FEDOT | a909d6c0ef481cc1cf7a5f10f7b1292d8d2def5c | [
"BSD-3-Clause"
] | 467 | 2020-06-11T13:49:45.000Z | 2022-03-31T14:19:48.000Z | fedot/core/debug/metrics.py | rozlana-g/FEDOT | a909d6c0ef481cc1cf7a5f10f7b1292d8d2def5c | [
"BSD-3-Clause"
] | 48 | 2020-07-13T14:50:45.000Z | 2022-03-26T09:37:13.000Z | from random import randint
class RandomMetric:
@staticmethod
def get_value() -> float:
return randint(0, 1000)
| 16.125 | 31 | 0.674419 | 15 | 129 | 5.733333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 0.248062 | 129 | 7 | 32 | 18.428571 | 0.835052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
101c1593b514ccca65296f630e94b70c22f43bd9 | 231 | py | Python | unbalanced_dataset/under_sampling/tests/test_tomek_links.py | kmike/UnbalancedDataset | 777f26cee73c04ae2f3d59e43c990cbfd1725b23 | [
"MIT"
] | 6 | 2016-06-02T09:27:41.000Z | 2021-04-21T06:46:12.000Z | unbalanced_dataset/under_sampling/tests/test_tomek_links.py | kmike/UnbalancedDataset | 777f26cee73c04ae2f3d59e43c990cbfd1725b23 | [
"MIT"
] | null | null | null | unbalanced_dataset/under_sampling/tests/test_tomek_links.py | kmike/UnbalancedDataset | 777f26cee73c04ae2f3d59e43c990cbfd1725b23 | [
"MIT"
] | 1 | 2018-08-25T03:11:05.000Z | 2018-08-25T03:11:05.000Z | """Test the module Tomek's links."""
from __future__ import print_function
from unbalanced_dataset.under_sampling import TomekLinks
def test_tomek_links():
"""Test the Tomek links function."""
print('Test Tomek Links')
| 21 | 56 | 0.748918 | 31 | 231 | 5.290323 | 0.548387 | 0.182927 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 231 | 10 | 57 | 23.1 | 0.836735 | 0.264069 | 0 | 0 | 0 | 0 | 0.100629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
105d2841d52ad4cee04c9a461fa6e857b4f0d1e0 | 94 | py | Python | enthought/envisage/plugin_activator.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/envisage/plugin_activator.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/envisage/plugin_activator.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from envisage.plugin_activator import *
| 23.5 | 39 | 0.851064 | 12 | 94 | 6.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 94 | 3 | 40 | 31.333333 | 0.891566 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1086d4970cb973ca918a7eeb7488f9e0559978a0 | 29 | py | Python | widgy/contrib/urlconf_include/__init__.py | IndiumTechnology/django-widgy | 3cb5ea0a38b22f7430fe4cfcd12530739d396d70 | [
"Apache-2.0"
] | 168 | 2015-01-04T17:22:45.000Z | 2022-01-28T09:53:35.000Z | widgy/contrib/urlconf_include/__init__.py | IndiumTechnology/django-widgy | 3cb5ea0a38b22f7430fe4cfcd12530739d396d70 | [
"Apache-2.0"
] | 82 | 2015-01-09T18:14:32.000Z | 2020-10-08T18:13:07.000Z | widgy/contrib/urlconf_include/__init__.py | IndiumTechnology/django-widgy | 3cb5ea0a38b22f7430fe4cfcd12530739d396d70 | [
"Apache-2.0"
] | 61 | 2015-01-09T17:16:51.000Z | 2021-07-03T08:52:27.000Z | from . import signalhandlers
| 14.5 | 28 | 0.827586 | 3 | 29 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 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 | 0 | 0 | 0 | 5 |
52bf512d72fe94f08ab12d7b12b8bd7ff8518152 | 184 | py | Python | DevOps/generate_new.py | Gorialis/vrchat-smarthands | ce6c5a297d6e24fca1c35bdacdcfd7e4817cb165 | [
"MIT"
] | 2 | 2021-04-02T18:10:15.000Z | 2021-08-09T08:18:00.000Z | DevOps/generate_new.py | Gorialis/vrchat-smarthands | ce6c5a297d6e24fca1c35bdacdcfd7e4817cb165 | [
"MIT"
] | null | null | null | DevOps/generate_new.py | Gorialis/vrchat-smarthands | ce6c5a297d6e24fca1c35bdacdcfd7e4817cb165 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
git_revision_count = os.getenv("GIT_REV_COUNT")
git_revision_hash = os.getenv("GIT_REV_HASH")
print(f"{git_revision_count=} {git_revision_hash=}")
| 20.444444 | 52 | 0.733696 | 29 | 184 | 4.241379 | 0.448276 | 0.357724 | 0.260163 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.097826 | 184 | 8 | 53 | 23 | 0.73494 | 0.11413 | 0 | 0 | 0 | 0 | 0.416149 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
52cd3e252b074f1380f5db09e854dc07760c144a | 135 | py | Python | test/utils.py | eosW/pyds | 20ae4a2f6f102de39e02559357e75bfeb01dfe35 | [
"MIT"
] | null | null | null | test/utils.py | eosW/pyds | 20ae4a2f6f102de39e02559357e75bfeb01dfe35 | [
"MIT"
] | null | null | null | test/utils.py | eosW/pyds | 20ae4a2f6f102de39e02559357e75bfeb01dfe35 | [
"MIT"
] | null | null | null | def inorder(node):
if not node:
return
yield from inorder(node.left)
yield node
yield from inorder(node.right)
| 19.285714 | 34 | 0.644444 | 19 | 135 | 4.578947 | 0.526316 | 0.37931 | 0.367816 | 0.45977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.281481 | 135 | 6 | 35 | 22.5 | 0.896907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5e01c881a17afaf2b218ed81a8d5919dd3915903 | 28 | py | Python | be/transform/art_line.py | lacti/artline | 1822a6b8b9946bba0b699728ccfefaa59e3f1aa6 | [
"MIT"
] | null | null | null | be/transform/art_line.py | lacti/artline | 1822a6b8b9946bba0b699728ccfefaa59e3f1aa6 | [
"MIT"
] | 1 | 2021-07-13T01:46:41.000Z | 2021-07-13T01:46:41.000Z | be/transform/art_line.py | lacti/artline | 1822a6b8b9946bba0b699728ccfefaa59e3f1aa6 | [
"MIT"
] | null | null | null | class FeatureLoss:
pass
| 9.333333 | 18 | 0.714286 | 3 | 28 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 28 | 2 | 19 | 14 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
5e2589eb75208c2d5f9a2fb3fb64472c92a7aa40 | 5,121 | py | Python | code/models/sen_re.py | bflashcp3f/REtology | 0645fee683d947ff23dba008bfd5ad2f55b6a912 | [
"MIT"
] | 1 | 2021-04-29T19:46:03.000Z | 2021-04-29T19:46:03.000Z | code/models/sen_re.py | bflashcp3f/REtology | 0645fee683d947ff23dba008bfd5ad2f55b6a912 | [
"MIT"
] | null | null | null | code/models/sen_re.py | bflashcp3f/REtology | 0645fee683d947ff23dba008bfd5ad2f55b6a912 | [
"MIT"
] | null | null | null |
import torch
from constants import *
from utils import *
from transformers import BertTokenizer, BertModel, BertPreTrainedModel, BertConfig, BertForSequenceClassification
from transformers import RobertaTokenizer, RobertaModel, RobertaConfig, RobertaForSequenceClassification
from torch import nn
import torch.nn.fun... | 39.091603 | 113 | 0.628393 | 598 | 5,121 | 5.150502 | 0.177258 | 0.035065 | 0.025325 | 0.037013 | 0.778896 | 0.763312 | 0.730844 | 0.730844 | 0.699351 | 0.699351 | 0 | 0.006464 | 0.274946 | 5,121 | 131 | 114 | 39.091603 | 0.823054 | 0.156415 | 0 | 0.707317 | 0 | 0 | 0.028172 | 0.006519 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.097561 | 0 | 0.219512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5e2e156bea2ccddc245b78bc5d88ca9a2549fc21 | 116 | py | Python | fossil/fb/utils.py | Remember-Fossil/Fossil-Server | 45b9002a8431fa9377ee3eba23ab01aeb564559a | [
"MIT"
] | null | null | null | fossil/fb/utils.py | Remember-Fossil/Fossil-Server | 45b9002a8431fa9377ee3eba23ab01aeb564559a | [
"MIT"
] | null | null | null | fossil/fb/utils.py | Remember-Fossil/Fossil-Server | 45b9002a8431fa9377ee3eba23ab01aeb564559a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
def urldecode(res):
return dict([data.split('=') for data in res.split('&') if True])
| 19.333333 | 69 | 0.577586 | 17 | 116 | 3.941176 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.181034 | 116 | 5 | 70 | 23.2 | 0.694737 | 0.181034 | 0 | 0 | 0 | 0 | 0.021739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
eaaeb27b171d2a304c9cbaaf9929ffd182fb5023 | 91 | py | Python | library_sql/tool.py | TwinIsland/CTD | 88118f2f2a9436ae1f893a94d79d9307dcc993da | [
"Apache-2.0"
] | null | null | null | library_sql/tool.py | TwinIsland/CTD | 88118f2f2a9436ae1f893a94d79d9307dcc993da | [
"Apache-2.0"
] | null | null | null | library_sql/tool.py | TwinIsland/CTD | 88118f2f2a9436ae1f893a94d79d9307dcc993da | [
"Apache-2.0"
] | null | null | null | import library
library = library.library()
library.cleanDataBase()
library.save_change() | 13 | 27 | 0.791209 | 10 | 91 | 7.1 | 0.5 | 0.788732 | 0.887324 | 0.788732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 91 | 7 | 28 | 13 | 0.865854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d811c3db204845dfc0e6447eec5a348863df40a0 | 19 | py | Python | website/settings/__init__.py | vanderland/vdl_site | 43b9ad3e5e7b9a2d35fc3cbb6a378cc8374699f1 | [
"MIT"
] | null | null | null | website/settings/__init__.py | vanderland/vdl_site | 43b9ad3e5e7b9a2d35fc3cbb6a378cc8374699f1 | [
"MIT"
] | null | null | null | website/settings/__init__.py | vanderland/vdl_site | 43b9ad3e5e7b9a2d35fc3cbb6a378cc8374699f1 | [
"MIT"
] | null | null | null | from .DEVL import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d8180101eb1386e1435cb2c5cdb3900b1eaa341c | 7,043 | py | Python | Uwallet/tests/_test_jsonrpc.py | monotone/Ulord-platform | 8ec19bbb8845db8f22df925d33b118b22dab0d0b | [
"MIT"
] | 28 | 2018-04-27T08:02:18.000Z | 2020-01-14T05:08:34.000Z | Uwallet/tests/_test_jsonrpc.py | monotone/Ulord-platform | 8ec19bbb8845db8f22df925d33b118b22dab0d0b | [
"MIT"
] | 2 | 2018-05-16T08:29:20.000Z | 2018-06-17T04:51:08.000Z | Uwallet/tests/_test_jsonrpc.py | monotone/Ulord-platform | 8ec19bbb8845db8f22df925d33b118b22dab0d0b | [
"MIT"
] | 4 | 2018-05-14T11:43:31.000Z | 2018-09-29T09:58:58.000Z | #-*- coding: UTF-8 -*-
import time
from jsonrpclib import Server
def profiler(func):
def do_profile(*args, **kw_args):
n = func.func_name
t0 = time.time()
o = func(*args, **kw_args)
t = time.time() - t0
print "[profiler] %s %f" % (n, t)
return o
# return lambda ... | 40.477011 | 1,566 | 0.711629 | 620 | 7,043 | 7.964516 | 0.306452 | 0.041312 | 0.027542 | 0.029769 | 0.23066 | 0.171932 | 0.092953 | 0.081207 | 0.081207 | 0.055083 | 0 | 0.273008 | 0.171518 | 7,043 | 173 | 1,567 | 40.710983 | 0.573265 | 0.178901 | 0 | 0.371429 | 0 | 0 | 0.225736 | 0.08771 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0.161905 | 0.028571 | null | null | 0.057143 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
dc1dda7394304c8f667ff1f895674f1aefb2b377 | 2,061 | py | Python | floodsystem/plot.py | cued-ia-computing/flood-hln35-nc580 | 81ecb652ca932d8e05253982c6efe6befd2bf670 | [
"MIT"
] | null | null | null | floodsystem/plot.py | cued-ia-computing/flood-hln35-nc580 | 81ecb652ca932d8e05253982c6efe6befd2bf670 | [
"MIT"
] | null | null | null | floodsystem/plot.py | cued-ia-computing/flood-hln35-nc580 | 81ecb652ca932d8e05253982c6efe6befd2bf670 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import datetime
from datetime import timedelta
import matplotlib.dates
import numpy as np
from .station import MonitoringStation
from .analysis import polyfit
def plot_water_levels(station, dates, levels):
if all(isinstance(level,float) for level in levels) is True and len(dates) =... | 36.803571 | 94 | 0.644347 | 281 | 2,061 | 4.654804 | 0.288256 | 0.037462 | 0.06422 | 0.058104 | 0.707951 | 0.707951 | 0.707951 | 0.707951 | 0.707951 | 0.707951 | 0 | 0.007069 | 0.245027 | 2,061 | 56 | 95 | 36.803571 | 0.833548 | 0.15575 | 0 | 0.682927 | 0 | 0 | 0.05777 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0.04878 | 0.170732 | 0 | 0.219512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dc476291ec9f8a75c832e296b82b45660b5de1fb | 293 | py | Python | Toolz/fimap/src/pybing/__init__.py | thezakman/CTF-Toolz | b369246ea6766165cce0852e537fb6a0c970869b | [
"Unlicense"
] | 71 | 2019-02-02T11:38:46.000Z | 2022-03-31T14:08:27.000Z | Exploitation/Web-Exploitation/PathTraversal/fimap/src/pybing/__init__.py | bhattsameer/TID3xploits | b57d8bae454081a3883a5684679e2a329e72d6e5 | [
"MIT"
] | null | null | null | Exploitation/Web-Exploitation/PathTraversal/fimap/src/pybing/__init__.py | bhattsameer/TID3xploits | b57d8bae454081a3883a5684679e2a329e72d6e5 | [
"MIT"
] | 15 | 2019-08-07T06:32:04.000Z | 2022-03-09T12:48:20.000Z | # This file is part of PyBing (http://pybing.googlecode.com).
#
# Copyright (C) 2009 JJ Geewax http://geewax.org/
# All rights reserved.
#
# This software is licensed as described in the file COPYING.txt,
# which you should have received as part of this distribution.
from bing import Bing
| 29.3 | 65 | 0.740614 | 46 | 293 | 4.717391 | 0.76087 | 0.0553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016461 | 0.170648 | 293 | 9 | 66 | 32.555556 | 0.876543 | 0.870307 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dc68f4f353acebf9802b1f24bea27b810ccacaaa | 21 | py | Python | samples/LuceneInAction/lia/analysis/positional/__init__.py | romanchyla/pylucene-trunk | 990079ff0c76b972ce5ef2bac9b85334a0a1f27a | [
"Apache-2.0"
] | 15 | 2015-05-21T09:28:01.000Z | 2022-03-18T23:41:49.000Z | samples/LuceneInAction/lia/analysis/positional/__init__.py | fnp/pylucene | fb16ac375de5479dec3919a5559cda02c899e387 | [
"Apache-2.0"
] | 1 | 2021-09-30T03:59:43.000Z | 2021-09-30T03:59:43.000Z | samples/LuceneInAction/lia/analysis/positional/__init__.py | romanchyla/pylucene-trunk | 990079ff0c76b972ce5ef2bac9b85334a0a1f27a | [
"Apache-2.0"
] | 13 | 2015-04-18T23:05:11.000Z | 2021-11-29T21:23:26.000Z | # positional package
| 10.5 | 20 | 0.809524 | 2 | 21 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 0.857143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dc9b7465c2c6a7fa0faf003130db52c6e600a1a2 | 90 | py | Python | rjax/environments/__init__.py | charlesjsun/rjax | 8b56f78b34f593f442db3cc0315a3b6f22191442 | [
"MIT"
] | null | null | null | rjax/environments/__init__.py | charlesjsun/rjax | 8b56f78b34f593f442db3cc0315a3b6f22191442 | [
"MIT"
] | null | null | null | rjax/environments/__init__.py | charlesjsun/rjax | 8b56f78b34f593f442db3cc0315a3b6f22191442 | [
"MIT"
] | null | null | null | from .episode_monitor import EpisodeMonitor
from .single_precision import SinglePrecision
| 30 | 45 | 0.888889 | 10 | 90 | 7.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 46 | 45 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f4de710791b1943c75278d91827b0b25fd5d001c | 350 | py | Python | framework/oktopus/utils/parser.py | charlee593/oktopus_framework | 2835c44c61d1b6170682f014450b8c2203786347 | [
"MIT"
] | 1 | 2022-02-21T12:03:17.000Z | 2022-02-21T12:03:17.000Z | framework/oktopus/utils/parser.py | charlee593/oktopus_framework | 2835c44c61d1b6170682f014450b8c2203786347 | [
"MIT"
] | 4 | 2020-07-02T00:56:32.000Z | 2020-07-02T00:56:45.000Z | framework/oktopus/utils/parser.py | charlee593/oktopus_framework | 2835c44c61d1b6170682f014450b8c2203786347 | [
"MIT"
] | 1 | 2022-02-21T12:03:03.000Z | 2022-02-21T12:03:03.000Z | from ..dataset import parse_objects
from ..multicast.network import Node, Link
from ..multicast.session import Session
def load_sessions(file_path):
return parse_objects(file_path, cls=Session)
def load_nodes(file_path):
return parse_objects(file_path, cls=Node)
def load_links(file_path):
return parse... | 21.875 | 48 | 0.782857 | 52 | 350 | 5.019231 | 0.365385 | 0.183908 | 0.16092 | 0.218391 | 0.425287 | 0.425287 | 0.425287 | 0.425287 | 0 | 0 | 0 | 0 | 0.131429 | 350 | 15 | 49 | 23.333333 | 0.858553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
52168f186fd44c528191530d5524611f29ac2837 | 81 | py | Python | src/super_batch/__init__.py | Nashavi/batch-config | 29d18e8a5c7ac0b69e3c97006ecd4c8f881f269e | [
"MIT"
] | null | null | null | src/super_batch/__init__.py | Nashavi/batch-config | 29d18e8a5c7ac0b69e3c97006ecd4c8f881f269e | [
"MIT"
] | null | null | null | src/super_batch/__init__.py | Nashavi/batch-config | 29d18e8a5c7ac0b69e3c97006ecd4c8f881f269e | [
"MIT"
] | null | null | null | """
__init__
"""
from .client import Client
from .BatchConfig import BatchConfig
| 13.5 | 36 | 0.765432 | 9 | 81 | 6.444444 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 5 | 37 | 16.2 | 0.828571 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5260321fccf67775a88f45333c5c317a15c8cde8 | 7,966 | py | Python | tests/test_pytorch.py | leonbottou/pymanopt | 7d8c46f4513c3746234ba804604694b11db62d0a | [
"BSD-3-Clause"
] | 1 | 2021-09-21T14:28:10.000Z | 2021-09-21T14:28:10.000Z | tests/test_pytorch.py | leonbottou/pymanopt | 7d8c46f4513c3746234ba804604694b11db62d0a | [
"BSD-3-Clause"
] | null | null | null | tests/test_pytorch.py | leonbottou/pymanopt | 7d8c46f4513c3746234ba804604694b11db62d0a | [
"BSD-3-Clause"
] | null | null | null | import unittest
import numpy.random as rnd
import numpy.testing as np_testing
import numpy as np
import torch
from pymanopt.tools.autodiff import PytorchBackend
class TestVector(unittest.TestCase):
def setUp(self):
np.seterr(all='raise')
self.cost = lambda X: torch.exp(torch.sum(X.pow(2)))
... | 31.239216 | 78 | 0.55423 | 1,253 | 7,966 | 3.458899 | 0.106145 | 0.060914 | 0.029072 | 0.041532 | 0.821412 | 0.78311 | 0.755653 | 0.702123 | 0.678819 | 0.634518 | 0 | 0.045926 | 0.297514 | 7,966 | 254 | 79 | 31.362205 | 0.728556 | 0.13407 | 0 | 0.478873 | 0 | 0 | 0.002914 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 1 | 0.126761 | false | 0 | 0.042254 | 0.014085 | 0.211268 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
52643663802bad4266844936b7315d11534ceb83 | 174 | py | Python | cornflow_client/core/instance.py | baobabsoluciones/cornflow-client | f9996f0b841885d26639cb63c8ba6090387de57f | [
"MIT"
] | 3 | 2021-05-12T11:21:26.000Z | 2022-02-22T19:23:46.000Z | cornflow_client/core/instance.py | baobabsoluciones/cornflow-client | f9996f0b841885d26639cb63c8ba6090387de57f | [
"MIT"
] | 17 | 2021-03-14T17:09:46.000Z | 2022-02-28T19:12:37.000Z | cornflow_client/core/instance.py | baobabsoluciones/cornflow-client | f9996f0b841885d26639cb63c8ba6090387de57f | [
"MIT"
] | 2 | 2020-10-03T20:00:19.000Z | 2022-03-24T11:52:22.000Z | from .instance_solution import InstanceSolutionCore
from abc import ABC
class InstanceCore(InstanceSolutionCore, ABC):
"""
The instance template.
"""
pass
| 15.818182 | 51 | 0.724138 | 17 | 174 | 7.352941 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 174 | 10 | 52 | 17.4 | 0.905797 | 0.126437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
5289b1731729bfd468d9dfbe0d831465f12f90d8 | 243 | py | Python | feedler/urls.py | pcoder/public-health-ch | cebc4849653560c54238b67814074353ff7c01f3 | [
"MIT"
] | 2 | 2020-10-29T16:27:21.000Z | 2021-06-07T12:47:46.000Z | feedler/urls.py | pcoder/public-health-ch | cebc4849653560c54238b67814074353ff7c01f3 | [
"MIT"
] | 11 | 2017-05-09T10:50:28.000Z | 2021-12-15T17:01:23.000Z | feedler/urls.py | pcoder/public-health-ch | cebc4849653560c54238b67814074353ff7c01f3 | [
"MIT"
] | 4 | 2017-04-24T13:06:55.000Z | 2021-06-04T02:18:32.000Z | from django.conf.urls import include, url
from django.conf import settings
from django.contrib import admin
from django.conf.urls.i18n import i18n_patterns
from .api import api_router
urlpatterns = [
url(r'^api/v2/', api_router.urls),
]
| 22.090909 | 47 | 0.773663 | 38 | 243 | 4.868421 | 0.447368 | 0.216216 | 0.227027 | 0.194595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.135802 | 243 | 10 | 48 | 24.3 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.032922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8715d0dbd8a1e86ae583871af9880e05cb566fe2 | 3,774 | py | Python | intro/part04-11_first_second_last/test/test_first_second_last_2.py | Hannah-Abi/python-pro-21 | 2ce32c4bf118054329d19afdf83c50561be1ada8 | [
"MIT"
] | null | null | null | intro/part04-11_first_second_last/test/test_first_second_last_2.py | Hannah-Abi/python-pro-21 | 2ce32c4bf118054329d19afdf83c50561be1ada8 | [
"MIT"
] | null | null | null | intro/part04-11_first_second_last/test/test_first_second_last_2.py | Hannah-Abi/python-pro-21 | 2ce32c4bf118054329d19afdf83c50561be1ada8 | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import patch
from tmc import points
from tmc.utils import load_module, reload_module, get_stdout, check_source
from functools import reduce
import os
exercise = 'src.first_second_last'
@points('4.first_second_last')
class ETjaVSanaTest(unittest.TestCase):
@classmethod
def s... | 55.5 | 223 | 0.635135 | 503 | 3,774 | 4.60835 | 0.272366 | 0.041415 | 0.038827 | 0.038827 | 0.789905 | 0.778689 | 0.774374 | 0.760138 | 0.756687 | 0.69629 | 0 | 0.007617 | 0.269475 | 3,774 | 68 | 224 | 55.5 | 0.833152 | 0 | 0 | 0.381818 | 0 | 0.090909 | 0.403974 | 0.064901 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.072727 | false | 0 | 0.181818 | 0 | 0.272727 | 0.036364 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
872711be818b82146685f1ba6c025fbe68c6d4ee | 49 | py | Python | Code/Mayank.py | mayankparida/CintaKamu | 7a0ef976fca8fb01daf443f0cc0276ba7111c0c3 | [
"MIT"
] | null | null | null | Code/Mayank.py | mayankparida/CintaKamu | 7a0ef976fca8fb01daf443f0cc0276ba7111c0c3 | [
"MIT"
] | null | null | null | Code/Mayank.py | mayankparida/CintaKamu | 7a0ef976fca8fb01daf443f0cc0276ba7111c0c3 | [
"MIT"
] | null | null | null | # Mayank Parida
# India
print("Aku Cinta Kamu") | 16.333333 | 23 | 0.693878 | 7 | 49 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 3 | 23 | 16.333333 | 0.85 | 0.387755 | 0 | 0 | 0 | 0 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
874f21782d9d52d2f58ab3d407790f047f0692bd | 47 | py | Python | tf/writing/hebrew.py | ancient-data/text-fabric | c1ccd4a4dc451e94a789f138576576c5d7f13474 | [
"MIT"
] | 10 | 2017-10-30T22:38:00.000Z | 2018-12-12T06:10:10.000Z | tf/writing/hebrew.py | dirkroorda/text-fabric | c0a49f092ceda3e7bab91fd0f1aa84e2dc029cf4 | [
"MIT"
] | 37 | 2017-10-19T12:06:54.000Z | 2018-12-13T10:18:23.000Z | tf/writing/hebrew.py | dirkroorda/text-fabric | c0a49f092ceda3e7bab91fd0f1aa84e2dc029cf4 | [
"MIT"
] | 3 | 2018-02-28T12:37:21.000Z | 2018-06-23T08:32:54.000Z | """
.. include:: ../docs/writing/hebrew.md
"""
| 11.75 | 38 | 0.553191 | 5 | 47 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 3 | 39 | 15.666667 | 0.619048 | 0.808511 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8761d62310dd4238e28323002772232119d7b174 | 187 | py | Python | handlers/user/__init__.py | DataAkbar/jayhunGulshaniBot | 963876ef8831e7119386832e8f5a260cd9e4189d | [
"MIT"
] | null | null | null | handlers/user/__init__.py | DataAkbar/jayhunGulshaniBot | 963876ef8831e7119386832e8f5a260cd9e4189d | [
"MIT"
] | null | null | null | handlers/user/__init__.py | DataAkbar/jayhunGulshaniBot | 963876ef8831e7119386832e8f5a260cd9e4189d | [
"MIT"
] | null | null | null | from .menu import dp
from .cart import dp
from .wallet import dp
from .catalog import dp
from .delivery_status import dp
from .sos import dp
from .create_order import dp
__all__ = ['dp'] | 20.777778 | 31 | 0.770053 | 32 | 187 | 4.3125 | 0.40625 | 0.405797 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165775 | 187 | 9 | 32 | 20.777778 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
876478db338992cb14041cf125dd1388dae96a25 | 71 | py | Python | autokeras/__init__.py | uditjuneja1/autokeras | 4770d60f343f3ed0cee689518c3ccefa263402d8 | [
"MIT"
] | null | null | null | autokeras/__init__.py | uditjuneja1/autokeras | 4770d60f343f3ed0cee689518c3ccefa263402d8 | [
"MIT"
] | 1 | 2022-02-10T06:00:55.000Z | 2022-02-10T06:00:55.000Z | autokeras/__init__.py | uditjuneja1/autokeras | 4770d60f343f3ed0cee689518c3ccefa263402d8 | [
"MIT"
] | 1 | 2019-05-17T19:16:26.000Z | 2019-05-17T19:16:26.000Z | from autokeras.image_supervised import ImageClassifier, ImageRegressor
| 35.5 | 70 | 0.901408 | 7 | 71 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 71 | 1 | 71 | 71 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5e4808858eb12b351fe77d8781119a6c729eead6 | 41 | py | Python | cpt test 2.py | Pyroooooooo/GameBot | 4355ee33320450a6d1afe5bb832741761d366aec | [
"MIT"
] | 3 | 2021-03-10T04:23:34.000Z | 2022-01-05T08:47:17.000Z | cpt test 2.py | 39x/GameBot | 230c1f076a9be07d14e6bc6026cfbc565467e74d | [
"MIT"
] | null | null | null | cpt test 2.py | 39x/GameBot | 230c1f076a9be07d14e6bc6026cfbc565467e74d | [
"MIT"
] | 4 | 2021-03-10T04:20:03.000Z | 2021-07-12T11:42:46.000Z | import os
os.system("node cpt/index.js")
| 13.666667 | 30 | 0.731707 | 8 | 41 | 3.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 2 | 31 | 20.5 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5e9f44126889eaa8f6fc3dee2bded6269561aeaa | 61 | py | Python | enthought/pyface/split_application_window.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/split_application_window.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/split_application_window.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.split_application_window import *
| 20.333333 | 45 | 0.836066 | 8 | 61 | 6.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 2 | 46 | 30.5 | 0.907407 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5ea53f9ed277b5ca3f470257b54336e64a7040fa | 7,503 | py | Python | 2015/day_01_both.py | jorvis/AdventOfCode | 97c42037abc28c1c16cc3e48a30f2689ca950fb5 | [
"MIT"
] | null | null | null | 2015/day_01_both.py | jorvis/AdventOfCode | 97c42037abc28c1c16cc3e48a30f2689ca950fb5 | [
"MIT"
] | null | null | null | 2015/day_01_both.py | jorvis/AdventOfCode | 97c42037abc28c1c16cc3e48a30f2689ca950fb5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
challenge = '((((()(()(((((((()))(((()((((()())(())()(((()((((((()((()(()(((()(()((())))()((()()())))))))))()((((((())((()))(((((()(((((((((()()))((()(())()((())((()(()))((()))()))()(((((()(((()()))()())((()((((())()())()((((())()(()(()(((()(())(()(())(((((((())()()(((())(()(()(()(())))(()((((()... | 312.625 | 7,014 | 0.040784 | 66 | 7,503 | 4.590909 | 0.515152 | 0.148515 | 0.046205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001357 | 0.017593 | 7,503 | 23 | 7,015 | 326.217391 | 0.03975 | 0.002799 | 0 | 0 | 0 | 0 | 0.950942 | 0.935704 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5eaf4a9b3d3e763db16e158d2364c82c37b5e125 | 322 | py | Python | Services/registrationWorkerService.py | prodProject/WorkkerAndConsumerServer | 95496f026109279c9891e08af46040c7b9487c81 | [
"MIT"
] | null | null | null | Services/registrationWorkerService.py | prodProject/WorkkerAndConsumerServer | 95496f026109279c9891e08af46040c7b9487c81 | [
"MIT"
] | null | null | null | Services/registrationWorkerService.py | prodProject/WorkkerAndConsumerServer | 95496f026109279c9891e08af46040c7b9487c81 | [
"MIT"
] | null | null | null | from RegisrationModule.registrationWorker import RegistrationWorker
class RegistrationWorkerService:
m_registrationWorker = RegistrationWorker()
def registration(self,registrationRequestPb):
self.m_registrationWorker.start(workerPb=registrationRequestPb)
return self.m_registrationWorker.done(... | 32.2 | 71 | 0.81677 | 25 | 322 | 10.4 | 0.6 | 0.219231 | 0.176923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127329 | 322 | 9 | 72 | 35.777778 | 0.925267 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
5ed64734b56af8c427299608905c03b1b2c09972 | 88 | py | Python | VSCode_work/chapter2/chapter2_2_2.py | yangyahu-1994/Python-Crash-Course | 6f8ef7fe8466d88931a0d3cc423ba5d966663b9d | [
"MIT"
] | 12 | 2020-10-22T14:03:27.000Z | 2022-03-28T08:14:22.000Z | VSCode_work/chapter2/chapter2_2_2.py | yangyahu-1994/Python-Crash-Course | 6f8ef7fe8466d88931a0d3cc423ba5d966663b9d | [
"MIT"
] | null | null | null | VSCode_work/chapter2/chapter2_2_2.py | yangyahu-1994/Python-Crash-Course | 6f8ef7fe8466d88931a0d3cc423ba5d966663b9d | [
"MIT"
] | 9 | 2020-12-22T10:22:12.000Z | 2022-03-28T08:14:53.000Z | message = "hello python world!"
print(message)
message = "hello world!"
print(message)
| 14.666667 | 31 | 0.727273 | 11 | 88 | 5.818182 | 0.454545 | 0.375 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 5 | 32 | 17.6 | 0.842105 | 0 | 0 | 0.5 | 0 | 0 | 0.352273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0d80cbf1ddb51f16703490502f66660450b362a4 | 375 | py | Python | nets/base.py | yd8534976/FashionAI-TF | 9bb4e84a5d32cb696756d20b34d448a4dd7433dd | [
"MIT"
] | 20 | 2018-07-01T06:31:44.000Z | 2021-12-21T10:14:38.000Z | nets/base.py | yd8534976/FashionAI-TF | 9bb4e84a5d32cb696756d20b34d448a4dd7433dd | [
"MIT"
] | 1 | 2019-03-20T06:44:28.000Z | 2019-03-20T08:16:45.000Z | nets/base.py | yd8534976/FashionAI-TF | 9bb4e84a5d32cb696756d20b34d448a4dd7433dd | [
"MIT"
] | 3 | 2018-07-13T14:37:13.000Z | 2018-12-28T06:40:58.000Z | class BaseModel(object):
def __init__(self):
pass
def build_inputs(self):
raise NotImplementedError
def build_inference(self):
raise NotImplementedError
def build_loss(self):
raise NotImplementedError
def build_solver(self):
raise NotImplementedError
... | 18.75 | 33 | 0.669333 | 37 | 375 | 6.540541 | 0.432432 | 0.18595 | 0.578512 | 0.512397 | 0.446281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274667 | 375 | 19 | 34 | 19.736842 | 0.889706 | 0 | 0 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0.076923 | 0 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
0dd1f53ecd9b545e07c14c5a4940688d51838472 | 215 | py | Python | index/admin.py | CPLUG/cplug.org-backend | 04ed152b0571dcd616afa4ca2c3951660705336f | [
"MIT"
] | null | null | null | index/admin.py | CPLUG/cplug.org-backend | 04ed152b0571dcd616afa4ca2c3951660705336f | [
"MIT"
] | 1 | 2018-02-25T07:22:54.000Z | 2018-02-25T07:22:54.000Z | index/admin.py | CPLUG/cplug.org-backend | 04ed152b0571dcd616afa4ca2c3951660705336f | [
"MIT"
] | 1 | 2018-02-11T08:53:16.000Z | 2018-02-11T08:53:16.000Z | from django.contrib import admin
from adminsortable.admin import SortableAdmin
from .models import Event, Officer
# Register your models here.
admin.site.register(Event)
admin.site.register(Officer, SortableAdmin)
| 26.875 | 45 | 0.827907 | 28 | 215 | 6.357143 | 0.5 | 0.101124 | 0.191011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102326 | 215 | 7 | 46 | 30.714286 | 0.92228 | 0.12093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0dd2b932fbf79c1401af47aabf74be1d39c4b0b4 | 187 | py | Python | map_service/meteo/views.py | berthakim/map-service | 881647a4a2627c633094d45519b0cf6b2c7050b9 | [
"MIT"
] | null | null | null | map_service/meteo/views.py | berthakim/map-service | 881647a4a2627c633094d45519b0cf6b2c7050b9 | [
"MIT"
] | null | null | null | map_service/meteo/views.py | berthakim/map-service | 881647a4a2627c633094d45519b0cf6b2c7050b9 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
from django.views.generic import TemplateView
def meteo(request):
return render(request, 'meteo/meteo.html')
| 26.714286 | 46 | 0.807487 | 25 | 187 | 6.04 | 0.6 | 0.198676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 187 | 6 | 47 | 31.166667 | 0.915152 | 0 | 0 | 0 | 0 | 0 | 0.085562 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
21b38c0fc0286c99e1ff712e33ccd64db436a01e | 48 | py | Python | slack/signature/__init__.py | TheFRedFox/python-slackclient | 909959a1390d8d634263cb1b528f019e35cb88d1 | [
"MIT"
] | 1 | 2020-10-21T03:22:06.000Z | 2020-10-21T03:22:06.000Z | slack/signature/__init__.py | TheFRedFox/python-slackclient | 909959a1390d8d634263cb1b528f019e35cb88d1 | [
"MIT"
] | 2 | 2021-10-05T10:39:19.000Z | 2022-01-19T08:41:06.000Z | slack/signature/__init__.py | TheFRedFox/python-slackclient | 909959a1390d8d634263cb1b528f019e35cb88d1 | [
"MIT"
] | null | null | null | from .verifier import SignatureVerifier # noqa
| 24 | 47 | 0.8125 | 5 | 48 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 1 | 48 | 48 | 0.95122 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
21b54963bf372bdb57445936a639b7dcb3b635d9 | 12,751 | py | Python | tests/test_tf/test_mnist_tf.py | SymbioticLab/Salus | b2a194e7e4654b51dbd8d8fc1577fb1e9915ca6f | [
"Apache-2.0"
] | 104 | 2019-02-12T20:41:07.000Z | 2022-03-07T16:58:47.000Z | tests/test_tf/test_mnist_tf.py | SymbioticLab/Salus | b2a194e7e4654b51dbd8d8fc1577fb1e9915ca6f | [
"Apache-2.0"
] | 9 | 2019-08-24T03:23:21.000Z | 2021-06-06T17:59:07.000Z | tests/test_tf/test_mnist_tf.py | SymbioticLab/Salus | b2a194e7e4654b51dbd8d8fc1577fb1e9915ca6f | [
"Apache-2.0"
] | 18 | 2019-03-04T07:45:41.000Z | 2021-09-15T22:13:07.000Z | from __future__ import print_function
import unittest
import numpy as np
from datetime import datetime
from timeit import default_timer
from parameterized import parameterized
import tensorflow as tf
from . import run_on_rpc_and_gpu, run_on_devices, run_on_sessions, assertAllClose, tfDistributedEndpointOrSkip
from... | 38.062687 | 110 | 0.63548 | 1,785 | 12,751 | 4.260504 | 0.136134 | 0.067456 | 0.015779 | 0.02735 | 0.791716 | 0.763314 | 0.749901 | 0.730309 | 0.718606 | 0.718606 | 0 | 0.049933 | 0.23355 | 12,751 | 334 | 111 | 38.176647 | 0.728231 | 0.005333 | 0 | 0.659004 | 0 | 0.011494 | 0.078858 | 0.004179 | 0 | 0 | 0 | 0 | 0.007663 | 1 | 0.088123 | false | 0 | 0.038314 | 0.030651 | 0.210728 | 0.084291 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
21bd8783fffbe261278ff38adced4f074a1cc239 | 181 | py | Python | CodePi/led.py | koushikjay66/NKTR | 03acc4ed7f31d00ce9c164828579b7f6cff90d12 | [
"Apache-2.0"
] | 1 | 2017-04-03T03:46:29.000Z | 2017-04-03T03:46:29.000Z | CodePi/led.py | koushikjay66/NKTR | 03acc4ed7f31d00ce9c164828579b7f6cff90d12 | [
"Apache-2.0"
] | null | null | null | CodePi/led.py | koushikjay66/NKTR | 03acc4ed7f31d00ce9c164828579b7f6cff90d12 | [
"Apache-2.0"
] | 2 | 2018-01-19T16:24:17.000Z | 2019-07-28T07:06:23.000Z | import time
def setUpChor():
GPIO.setup(11,GPIO.OUT)
def chor():
setUpChor()
GPIO.output(11, True)
time.sleep(2)
GPIO.output(11, False)
GPIO.cleanup(11)
| 12.928571 | 27 | 0.618785 | 26 | 181 | 4.307692 | 0.576923 | 0.232143 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064748 | 0.232044 | 181 | 13 | 28 | 13.923077 | 0.741007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.111111 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
21c1d72b8790c64ab258761cabf0bd24d181209c | 12 | py | Python | notebooks/python_recap/_solutions/python_rehearsal54.py | rprops/Python_DS-WS | b2fc449a74be0c82863e5fcf1ddbe7d64976d530 | [
"BSD-3-Clause"
] | 3 | 2019-07-23T15:14:03.000Z | 2020-11-10T06:12:18.000Z | notebooks/python_recap/_solutions/python_rehearsal54.py | rprops/Python_DS-WS | b2fc449a74be0c82863e5fcf1ddbe7d64976d530 | [
"BSD-3-Clause"
] | null | null | null | notebooks/python_recap/_solutions/python_rehearsal54.py | rprops/Python_DS-WS | b2fc449a74be0c82863e5fcf1ddbe7d64976d530 | [
"BSD-3-Clause"
] | 3 | 2020-03-04T23:40:20.000Z | 2021-11-04T16:41:10.000Z | a_list[::-1] | 12 | 12 | 0.583333 | 3 | 12 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 12 | 1 | 12 | 12 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
21c4d97f793a9e4591c558d4eb992c8348cf7aaf | 223 | py | Python | dependencies/utils/get_data.py | narayana1043/pyspark-emr-etl | 56f397e7d3da09bf1f8818629a695129adbfb9d1 | [
"CNRI-Python"
] | 2 | 2021-03-02T05:07:36.000Z | 2021-12-02T12:10:53.000Z | dependencies/utils/get_data.py | narayana1043/pyspark-emr-etl | 56f397e7d3da09bf1f8818629a695129adbfb9d1 | [
"CNRI-Python"
] | null | null | null | dependencies/utils/get_data.py | narayana1043/pyspark-emr-etl | 56f397e7d3da09bf1f8818629a695129adbfb9d1 | [
"CNRI-Python"
] | 1 | 2021-12-09T12:41:54.000Z | 2021-12-09T12:41:54.000Z | import json
import requests
from dependencies.utils import conn
from dependencies.utils import utils
# module level connections
es = conn.get_es_conn()
countries = utils.get_countries()
def get_sample():
return None
| 17.153846 | 36 | 0.789238 | 31 | 223 | 5.548387 | 0.548387 | 0.186047 | 0.244186 | 0.313953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147982 | 223 | 12 | 37 | 18.583333 | 0.905263 | 0.107623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.5 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
21dbff63a6adc6f0999ef71e4dc0aa67f14c4954 | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/installation/operations/install.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/installation/operations/install.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/installation/operations/install.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/7a/ba/1e/4220847eb639bf77544e7bd4812cd9d227f5bcddefcbb1b8e61cb116a3 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.364583 | 0 | 96 | 1 | 96 | 96 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
21f0250f840385273bd5a42f57aeabffbad8a885 | 133 | py | Python | filterflow/proposal/__init__.py | JTT94/filterflow | 536f71105dc263472f54e80f2ef4ad5e4ee6621f | [
"Apache-2.0"
] | 23 | 2020-05-26T14:38:10.000Z | 2022-02-05T12:49:36.000Z | filterflow/proposal/__init__.py | JTT94/filterflow | 536f71105dc263472f54e80f2ef4ad5e4ee6621f | [
"Apache-2.0"
] | 3 | 2021-05-16T22:03:03.000Z | 2021-12-15T07:43:10.000Z | filterflow/proposal/__init__.py | JTT94/filterflow | 536f71105dc263472f54e80f2ef4ad5e4ee6621f | [
"Apache-2.0"
] | 3 | 2020-06-03T14:40:07.000Z | 2021-07-27T20:55:58.000Z | from .base import ProposalModelBase
from .bootstrap import BootstrapProposalModel
from .optimal_proposal import OptimalProposalModel
| 33.25 | 50 | 0.887218 | 13 | 133 | 9 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090226 | 133 | 3 | 51 | 44.333333 | 0.966942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
df06d5f150eacf01d29f3ef90be79e621792186a | 91 | py | Python | oembed/contrib/models.py | EightMedia/djangoembed | ee325f7375c48405f9c3e7e2c0fa7f5a08fafd48 | [
"MIT"
] | 8 | 2015-02-06T19:18:49.000Z | 2021-01-01T05:46:02.000Z | oembed/contrib/models.py | EightMedia/djangoembed | ee325f7375c48405f9c3e7e2c0fa7f5a08fafd48 | [
"MIT"
] | null | null | null | oembed/contrib/models.py | EightMedia/djangoembed | ee325f7375c48405f9c3e7e2c0fa7f5a08fafd48 | [
"MIT"
] | 5 | 2015-03-15T11:41:26.000Z | 2018-03-08T09:45:26.000Z | # ,___,
# (6v6)
# (_^(_\
# ^^^"^" \\^^^^
# ^^^^^^^^^^^^^
| 15.166667 | 18 | 0.087912 | 1 | 91 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.494505 | 91 | 5 | 19 | 18.2 | 0.021739 | 0.835165 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
df3e25db25936865e1b6f2f5708e2914d8ba8b2a | 79 | py | Python | python/testData/paramInfo/Py3kPastTupleArg.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/paramInfo/Py3kPastTupleArg.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/paramInfo/Py3kPastTupleArg.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo(*arg, a=1, b=2):
pass
foo(<arg1>1, <arg2>2, <arg3>b=10, <arg4>a=20)
| 15.8 | 45 | 0.556962 | 19 | 79 | 2.315789 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 0.151899 | 79 | 4 | 46 | 19.75 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.333333 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
df411bf97a895b1bd617aa9e3afdd02d21c1d825 | 38 | py | Python | ggnnmols/models/__init__.py | YunjaeChoi/ggnnmols | 543c578eddde1a9572a089d646d05a5e3da2c1ff | [
"MIT"
] | 4 | 2020-08-10T12:36:58.000Z | 2022-02-20T11:15:20.000Z | ggnnmols/models/__init__.py | YunjaeChoi/ggnnmols | 543c578eddde1a9572a089d646d05a5e3da2c1ff | [
"MIT"
] | null | null | null | ggnnmols/models/__init__.py | YunjaeChoi/ggnnmols | 543c578eddde1a9572a089d646d05a5e3da2c1ff | [
"MIT"
] | 2 | 2020-05-11T09:53:03.000Z | 2020-08-10T01:31:35.000Z | from ggnnmols.models.ggnn import GGNN
| 19 | 37 | 0.842105 | 6 | 38 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 | 0 | 0 | 0 | 5 |
df7342900704dfdc24ab6422461a84980361abb2 | 36 | py | Python | src/betterjira.py | jamesbroadhead/betterjira | 847f1c9c658ca1a2407523bf0d209878e9afb5da | [
"Apache-2.0"
] | null | null | null | src/betterjira.py | jamesbroadhead/betterjira | 847f1c9c658ca1a2407523bf0d209878e9afb5da | [
"Apache-2.0"
] | 2 | 2018-09-19T12:09:16.000Z | 2021-06-01T22:57:56.000Z | src/betterjira.py | jamesbroadhead/betterjira | 847f1c9c658ca1a2407523bf0d209878e9afb5da | [
"Apache-2.0"
] | null | null | null |
class BetterJira(object):
pass
| 9 | 25 | 0.694444 | 4 | 36 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 36 | 3 | 26 | 12 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
10c51ac249ba4e9fc8474d35946a6d82fee561c6 | 459 | py | Python | numbercrunch.py | TechyTommy3/NumberCrunch | b507f9da80c1786b8ddc21794f741fe7f4d02a91 | [
"MIT"
] | null | null | null | numbercrunch.py | TechyTommy3/NumberCrunch | b507f9da80c1786b8ddc21794f741fe7f4d02a91 | [
"MIT"
] | null | null | null | numbercrunch.py | TechyTommy3/NumberCrunch | b507f9da80c1786b8ddc21794f741fe7f4d02a91 | [
"MIT"
] | 1 | 2021-09-07T16:41:38.000Z | 2021-09-07T16:41:38.000Z | print("NOTE: NumberCrunch is not a random number generator.")
print("NumberCrunch")
while 0 == 0:
number = input("Enter in a number to crunch: ")
print("Crunching...")
number = int(number)
number2 = (((number * number) * 2) - number + (number * 2)) * number * (number * number) - (number * number - numbe... | 57.375 | 239 | 0.607843 | 56 | 459 | 4.982143 | 0.392857 | 0.55914 | 0.580645 | 0.602151 | 0.286738 | 0.193548 | 0.193548 | 0.193548 | 0 | 0 | 0 | 0.027778 | 0.215686 | 459 | 8 | 240 | 57.375 | 0.747222 | 0 | 0 | 0 | 0 | 0 | 0.228261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
10c6b61cd942fc1a795e98b155716d4c93e003f3 | 872 | py | Python | common/boto/fps/test/test_verify_signature.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 61 | 2015-11-10T17:13:46.000Z | 2021-08-06T17:58:30.000Z | common/boto/fps/test/test_verify_signature.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 13 | 2015-11-11T07:49:41.000Z | 2021-06-09T03:45:31.000Z | common/boto/fps/test/test_verify_signature.py | bopopescu/drawquest-web | 8d8f9149b6efeb65202809a5f8916386f58a1b3b | [
"BSD-3-Clause"
] | 18 | 2015-11-11T04:50:04.000Z | 2021-08-20T00:57:11.000Z | from boto.fps.connection import FPSConnection
conn = FPSConnection()
# example response from the docs
params = 'expiry=08%2F2015&signature=ynDukZ9%2FG77uSJVb5YM0cadwHVwYKPMKOO3PNvgADbv6VtymgBxeOWEhED6KGHsGSvSJnMWDN%2FZl639AkRe9Ry%2F7zmn9CmiM%2FZkp1XtshERGTqi2YL10GwQpaH17MQqOX3u1cW4LlyFoLy4celUFBPq1WM2ZJnaNZRJIEY%2Fv... | 124.571429 | 665 | 0.893349 | 70 | 872 | 11.114286 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127811 | 0.030963 | 872 | 6 | 666 | 145.333333 | 0.792899 | 0.034404 | 0 | 0 | 0 | 0.2 | 0.83693 | 0.782974 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
10cd5d86ca23d561452f1734af88fb5d09bc0932 | 134 | py | Python | agentk/utils.py | bolaum/agentk | 9c616930d3c8748e488fbb9fcabdff3da553f94c | [
"MIT"
] | 1 | 2019-04-18T16:21:39.000Z | 2019-04-18T16:21:39.000Z | agentk/utils.py | bolaum/agentk | 9c616930d3c8748e488fbb9fcabdff3da553f94c | [
"MIT"
] | null | null | null | agentk/utils.py | bolaum/agentk | 9c616930d3c8748e488fbb9fcabdff3da553f94c | [
"MIT"
] | null | null | null | def bigint_to_bytes(num, extra_bytes=0):
return num.to_bytes(length=((num.bit_length() + 7) // 8) + extra_bytes, byteorder='big')
| 44.666667 | 92 | 0.701493 | 22 | 134 | 4 | 0.636364 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025424 | 0.119403 | 134 | 2 | 93 | 67 | 0.720339 | 0 | 0 | 0 | 0 | 0 | 0.022388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.