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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
066369768f8c69face2d04f572a4ed8e788a0565 | 30 | py | Python | {{cookiecutter.project_slug}}/{{cookiecutter.project_root}}/api/__init__.py | justinekizhak/python-fastapi-baseline | 253f506e7b7f617065f0346f0a7d6180a7eca415 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_root}}/api/__init__.py | justinekizhak/python-fastapi-baseline | 253f506e7b7f617065f0346f0a7d6180a7eca415 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_root}}/api/__init__.py | justinekizhak/python-fastapi-baseline | 253f506e7b7f617065f0346f0a7d6180a7eca415 | [
"MIT"
] | null | null | null | from .v1 import api as api_v1
| 15 | 29 | 0.766667 | 7 | 30 | 3.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.2 | 30 | 1 | 30 | 30 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0691757b4299307cb5ed5ccd84a3e29221b0e316 | 220 | py | Python | masonite/helpers/view_helpers.py | NinjasCL-labs/masonite-core | 14053038891bd19f96303463bbe153b0c4819271 | [
"MIT"
] | null | null | null | masonite/helpers/view_helpers.py | NinjasCL-labs/masonite-core | 14053038891bd19f96303463bbe153b0c4819271 | [
"MIT"
] | null | null | null | masonite/helpers/view_helpers.py | NinjasCL-labs/masonite-core | 14053038891bd19f96303463bbe153b0c4819271 | [
"MIT"
] | null | null | null | def set_request_method(method_type):
return "<input type='hidden' name='__method' value='{0}'>".format(method_type)
def back(location):
return "<input type='hidden' name='__back' value='{0}'>".format(location)
| 31.428571 | 82 | 0.7 | 30 | 220 | 4.866667 | 0.466667 | 0.136986 | 0.205479 | 0.287671 | 0.342466 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.109091 | 220 | 6 | 83 | 36.666667 | 0.734694 | 0 | 0 | 0 | 0 | 0 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2353d0314607faf1dbed7145d2f81b15d6294204 | 13,901 | py | Python | tests/commands.py | JakubTesarek/dbgr | fc55cee5d5a69f3fa691579bc7d2627f51cbca03 | [
"Apache-2.0"
] | 8 | 2019-05-23T19:45:46.000Z | 2021-02-08T17:21:21.000Z | tests/commands.py | JakubTesarek/dbgr | fc55cee5d5a69f3fa691579bc7d2627f51cbca03 | [
"Apache-2.0"
] | 86 | 2019-05-13T14:20:20.000Z | 2019-06-19T11:48:59.000Z | tests/commands.py | JakubTesarek/dbgr | fc55cee5d5a69f3fa691579bc7d2627f51cbca03 | [
"Apache-2.0"
] | 1 | 2021-02-08T17:21:22.000Z | 2021-02-08T17:21:22.000Z | import pytest
from argparse import Namespace
from dbgr import meta
from tests.conftest import escape_ansi, attrdict, mock_request
from dbgr import commands
from dbgr.commands import (
argument_parser, interactive_command, request_command, list_command,
environments_command, version_command, prepare_and_execute_... | 32.327907 | 98 | 0.621754 | 1,492 | 13,901 | 5.613941 | 0.099196 | 0.038085 | 0.035817 | 0.042025 | 0.813037 | 0.778773 | 0.763372 | 0.754298 | 0.71872 | 0.641476 | 0 | 0.015276 | 0.213582 | 13,901 | 429 | 99 | 32.403263 | 0.750915 | 0 | 0 | 0.617886 | 0 | 0 | 0.203511 | 0.005827 | 0 | 0 | 0 | 0 | 0.105691 | 1 | 0.03252 | false | 0 | 0.01626 | 0.00542 | 0.062331 | 0.00542 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
236d2b2c6f485ddb64c189738e14c9c53f7ac333 | 79 | py | Python | DiagnosisFunctions/tools/imshow.py | vstenby/DiagnosisCorrection02456 | 4139f499b6a339d068e5c95811eca64806c532be | [
"MIT"
] | null | null | null | DiagnosisFunctions/tools/imshow.py | vstenby/DiagnosisCorrection02456 | 4139f499b6a339d068e5c95811eca64806c532be | [
"MIT"
] | null | null | null | DiagnosisFunctions/tools/imshow.py | vstenby/DiagnosisCorrection02456 | 4139f499b6a339d068e5c95811eca64806c532be | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
def imshow(x):
plt.imshow(x.permute(1,2,0)) | 26.333333 | 32 | 0.721519 | 15 | 79 | 3.8 | 0.8 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.126582 | 79 | 3 | 32 | 26.333333 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
88c4f48c054948ffe6f7ee8d121e09eec691c417 | 104,736 | py | Python | ndex2/tests/scratch_learning.py | diamond0411/ndex2-client | bac1c13c1b9f3fd485e3e070f4f0506baf42e4cc | [
"BSD-3-Clause"
] | 5 | 2017-12-01T20:19:46.000Z | 2022-03-06T19:22:36.000Z | ndex2/tests/scratch_learning.py | diamond0411/ndex2-client | bac1c13c1b9f3fd485e3e070f4f0506baf42e4cc | [
"BSD-3-Clause"
] | 77 | 2017-11-20T17:53:38.000Z | 2022-01-26T23:43:34.000Z | ndex2/tests/scratch_learning.py | diamond0411/ndex2-client | bac1c13c1b9f3fd485e3e070f4f0506baf42e4cc | [
"BSD-3-Clause"
] | 5 | 2017-11-20T17:03:34.000Z | 2021-04-26T20:40:20.000Z | from bases import Bases
def run_test():
n_mer_length = 4
#pattern_to_number('ACGTGCA')
nda_seq = 'TACATTGTAAAAGCCGCAACTATGTGTCGAATTCAAGGCTTACTACTGACAGTAAGGTTCCTTAGCCACCATTAGAGCTCTGTCCTTTATGGGAAGTCTGGAGCCGCCACCACACTTCAGGACTCATTCCAGATCCATTAAATGACTTTGGTGTTGCAGAAGTTGCTGTTAACCTGAGATTGACATTTTGTGAACATGTCTGTCCT... | 471.783784 | 99,064 | 0.978498 | 788 | 104,736 | 129.838832 | 0.19797 | 0.001798 | 0.000586 | 0.001075 | 0.007555 | 0.005473 | 0.005327 | 0.002874 | 0.002678 | 0.002013 | 0 | 0.000794 | 0.014159 | 104,736 | 221 | 99,065 | 473.918552 | 0.990102 | 0.004172 | 0 | 0.16 | 0 | 0 | 0.95519 | 0.953483 | 0 | 1 | 0 | 0 | 0 | 1 | 0.086667 | false | 0 | 0.006667 | 0 | 0.16 | 0.073333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
88cf1bba5e1ebccd4e87928594526895f9589a0b | 88 | py | Python | module_user/main.py | nheske/learn-python | 0f430ffa232103419669cec78202e9f2e74f7f6c | [
"MIT"
] | null | null | null | module_user/main.py | nheske/learn-python | 0f430ffa232103419669cec78202e9f2e74f7f6c | [
"MIT"
] | null | null | null | module_user/main.py | nheske/learn-python | 0f430ffa232103419669cec78202e9f2e74f7f6c | [
"MIT"
] | null | null | null | from module_folder.module_file import say_hello
print("Hello World")
print(say_hello()) | 22 | 47 | 0.818182 | 14 | 88 | 4.857143 | 0.642857 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 88 | 4 | 48 | 22 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 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 | 1 | 0 | 6 |
88eb30fccdc7cdfea58ca93bd7aa362f916194d4 | 47 | py | Python | pyxb/bundles/opengis/waterml.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 123 | 2015-01-12T06:43:22.000Z | 2022-03-20T18:06:46.000Z | pyxb/bundles/opengis/waterml.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 103 | 2015-01-08T18:35:57.000Z | 2022-01-18T01:44:14.000Z | pyxb/bundles/opengis/waterml.py | eLBati/pyxb | 14737c23a125fd12c954823ad64fc4497816fae3 | [
"Apache-2.0"
] | 54 | 2015-02-15T17:12:00.000Z | 2022-03-07T23:02:32.000Z | from pyxb.bundles.opengis.raw.waterml import *
| 23.5 | 46 | 0.808511 | 7 | 47 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88fde84a086b8b30fe142d3316d31fd074e9eefa | 37 | py | Python | src/encode_program/__init__.py | DenverCoder1/godel-number-to-code | 1f4fc3d5eba97ca45411302a67db79c77e44e19d | [
"MIT"
] | null | null | null | src/encode_program/__init__.py | DenverCoder1/godel-number-to-code | 1f4fc3d5eba97ca45411302a67db79c77e44e19d | [
"MIT"
] | null | null | null | src/encode_program/__init__.py | DenverCoder1/godel-number-to-code | 1f4fc3d5eba97ca45411302a67db79c77e44e19d | [
"MIT"
] | 1 | 2022-01-18T19:51:33.000Z | 2022-01-18T19:51:33.000Z | from .encode_program import * # noqa
| 18.5 | 36 | 0.756757 | 5 | 37 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 1 | 37 | 37 | 0.870968 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
000a75e33e5de0363a6612c36d68d6fc9ce723a2 | 116 | py | Python | Spotkanie 5/fn_01.py | abixadamj/lekcja-enter-przyklady | 4f23ee32a139e955f992b727ad86c6effb87a6d6 | [
"MIT"
] | null | null | null | Spotkanie 5/fn_01.py | abixadamj/lekcja-enter-przyklady | 4f23ee32a139e955f992b727ad86c6effb87a6d6 | [
"MIT"
] | null | null | null | Spotkanie 5/fn_01.py | abixadamj/lekcja-enter-przyklady | 4f23ee32a139e955f992b727ad86c6effb87a6d6 | [
"MIT"
] | null | null | null | def my_function():
print("1szy wiersz...")
print("--------")
print("2gi wiersz.")
# my_function()
| 14.5 | 27 | 0.508621 | 12 | 116 | 4.75 | 0.583333 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.232759 | 116 | 7 | 28 | 16.571429 | 0.617978 | 0.112069 | 0 | 0 | 0 | 0 | 0.326733 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.75 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
00247dee86fb2681cc968c933c65459f08ea1749 | 86 | py | Python | tests/unit/peapods/runtimes/remote/jinad/yamls/dummy.py | Rohitpandit021/jina | f3db4d5e480375d8dc3bceda814ac1963dee76d7 | [
"Apache-2.0"
] | 15,179 | 2020-04-28T10:23:56.000Z | 2022-03-31T14:35:25.000Z | tests/unit/peapods/runtimes/remote/jinad/yamls/dummy.py | Rohitpandit021/jina | f3db4d5e480375d8dc3bceda814ac1963dee76d7 | [
"Apache-2.0"
] | 3,912 | 2020-04-28T13:01:29.000Z | 2022-03-31T14:36:46.000Z | tests/unit/peapods/runtimes/remote/jinad/yamls/dummy.py | Rohitpandit021/jina | f3db4d5e480375d8dc3bceda814ac1963dee76d7 | [
"Apache-2.0"
] | 1,955 | 2020-04-28T10:50:49.000Z | 2022-03-31T12:28:34.000Z | from jina.executors import BaseExecutor
class DummyExecutor(BaseExecutor):
pass
| 14.333333 | 39 | 0.802326 | 9 | 86 | 7.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151163 | 86 | 5 | 40 | 17.2 | 0.945205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cc631f41fc2adfb1a0fc82ec42bf0174a333458a | 16,145 | py | Python | tests/subnet/test_subnet.py | mor120/ibmcloud-python-sdk | a828c67dd47a12e743774632b923985768e3e21b | [
"Apache-2.0"
] | 2 | 2021-05-31T23:41:34.000Z | 2021-09-08T13:49:30.000Z | tests/subnet/test_subnet.py | mor120/ibmcloud-python-sdk | a828c67dd47a12e743774632b923985768e3e21b | [
"Apache-2.0"
] | 5 | 2021-07-22T01:31:37.000Z | 2022-03-13T08:29:54.000Z | tests/subnet/test_subnet.py | mor120/ibmcloud-python-sdk | a828c67dd47a12e743774632b923985768e3e21b | [
"Apache-2.0"
] | 4 | 2021-06-11T15:38:47.000Z | 2022-02-27T16:03:27.000Z | from unittest import TestCase
from mock import patch
from ibmcloud_python_sdk.resource.resource_group import ResourceGroup
from ibmcloud_python_sdk.vpc.subnet import Subnet
from ibmcloud_python_sdk.vpc.vpc import Vpc
from ibmcloud_python_sdk.vpc.acl import Acl
from ibmcloud_python_sdk.vpc.gateway import Gateway
from te... | 47.625369 | 82 | 0.679343 | 2,079 | 16,145 | 4.965368 | 0.03848 | 0.063644 | 0.101715 | 0.083309 | 0.927831 | 0.909329 | 0.897607 | 0.884433 | 0.853143 | 0.812264 | 0 | 0.004101 | 0.16934 | 16,145 | 338 | 83 | 47.766272 | 0.76564 | 0 | 0 | 0.612457 | 0 | 0 | 0.213565 | 0.093465 | 0 | 0 | 0 | 0 | 0.134948 | 1 | 0.15917 | false | 0 | 0.027682 | 0 | 0.207612 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cc697ffcbd007c817de72988b47636fe98a4b46b | 22 | py | Python | anotherbot.py | singh1114/slackbot | b15fe4051cc7a7281b160454664355f1a6e04eca | [
"MIT"
] | 1 | 2017-11-20T05:03:02.000Z | 2017-11-20T05:03:02.000Z | anotherbot.py | singh1114/slackbot | b15fe4051cc7a7281b160454664355f1a6e04eca | [
"MIT"
] | 1 | 2021-06-01T21:59:47.000Z | 2021-06-01T21:59:47.000Z | anotherbot.py | singh1114/slackbot | b15fe4051cc7a7281b160454664355f1a6e04eca | [
"MIT"
] | null | null | null | import bot
bot.Bot() | 7.333333 | 10 | 0.681818 | 4 | 22 | 3.75 | 0.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 3 | 11 | 7.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cc8ca6509d254ea6f9537bfa273f11f11d0390c6 | 250 | py | Python | tests/utils.py | GoodManWEN/dynamic_salt | 152416a918ef68b2f272d200664a224161fcb4cc | [
"MIT"
] | null | null | null | tests/utils.py | GoodManWEN/dynamic_salt | 152416a918ef68b2f272d200664a224161fcb4cc | [
"MIT"
] | null | null | null | tests/utils.py | GoodManWEN/dynamic_salt | 152416a918ef68b2f272d200664a224161fcb4cc | [
"MIT"
] | null | null | null | import random
def rand_char_generator():
char = f"{str(random.randint(1000000000,9999999999))}salt"
char = f"{chr(random.randint(1,127))}{char}{chr(random.randint(0xFF00,0xFFEF))}{chr(random.randint(0x4E00,0x9FA5))}".encode()
return char | 41.666667 | 129 | 0.72 | 35 | 250 | 5.085714 | 0.6 | 0.292135 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154867 | 0.096 | 250 | 6 | 130 | 41.666667 | 0.632743 | 0 | 0 | 0 | 0 | 0.2 | 0.613546 | 0.613546 | 0 | 0 | 0.095618 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4e1a729ad7ad946d29063cd1a66d289b6f40dbe0 | 201 | py | Python | piroommonitor/sensors/__init__.py | ascense/piroommonitor | ca8f4c0a9b4bcfc8611553a9d4b8fe08dae5ebcf | [
"MIT"
] | null | null | null | piroommonitor/sensors/__init__.py | ascense/piroommonitor | ca8f4c0a9b4bcfc8611553a9d4b8fe08dae5ebcf | [
"MIT"
] | null | null | null | piroommonitor/sensors/__init__.py | ascense/piroommonitor | ca8f4c0a9b4bcfc8611553a9d4b8fe08dae5ebcf | [
"MIT"
] | null | null | null | from ._bmp180 import Bmp180
from ._bme680 import Bme680
from ._si7021 import Si7021
from ._tcs34725 import Tcs34725
from ._tsl2561 import Tsl2561
from ._i2c_utils import get_online_i2c_devices
| 25.125 | 47 | 0.810945 | 28 | 201 | 5.464286 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236686 | 0.159204 | 201 | 7 | 48 | 28.714286 | 0.668639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d8ed34e9e94fbd09392275532e65a98b7b25c0a | 20,575 | py | Python | domainbed/model_selection.py | bismex/DomainBed | 27335e6ba24a946fedd2c52b13e39df132a89008 | [
"MIT"
] | null | null | null | domainbed/model_selection.py | bismex/DomainBed | 27335e6ba24a946fedd2c52b13e39df132a89008 | [
"MIT"
] | null | null | null | domainbed/model_selection.py | bismex/DomainBed | 27335e6ba24a946fedd2c52b13e39df132a89008 | [
"MIT"
] | 1 | 2022-03-11T11:09:12.000Z | 2022-03-11T11:09:12.000Z | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
import itertools
import numpy as np
def get_test_records(records):
"""Given records with a common test env, get the test records (i.e. the
records with *only* that single test env and no other test envs)"""
return records.filter(lambda... | 35.352234 | 130 | 0.567971 | 2,780 | 20,575 | 3.924101 | 0.06259 | 0.093501 | 0.039325 | 0.031259 | 0.773581 | 0.745806 | 0.723164 | 0.708681 | 0.706023 | 0.689797 | 0 | 0.007142 | 0.319514 | 20,575 | 581 | 131 | 35.413081 | 0.772016 | 0.14955 | 0 | 0.734597 | 0 | 0 | 0.101992 | 0.005908 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066351 | false | 0 | 0.004739 | 0.00237 | 0.234597 | 0.018957 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9de7305db0e3cfe4e91bb4b1be997409bdb95287 | 3,723 | py | Python | functional_tests/test_pagination.py | Shemahmforash/thisdayinmusic.net | 435b2af0dc1511b8d6e502e7065e7189c79b716c | [
"MIT"
] | 1 | 2018-10-04T15:40:24.000Z | 2018-10-04T15:40:24.000Z | functional_tests/test_pagination.py | Shemahmforash/thisdayinmusic.net | 435b2af0dc1511b8d6e502e7065e7189c79b716c | [
"MIT"
] | 76 | 2019-06-02T09:43:35.000Z | 2022-02-10T10:32:32.000Z | functional_tests/test_pagination.py | Shemahmforash/thisdayinmusic.net | 435b2af0dc1511b8d6e502e7065e7189c79b716c | [
"MIT"
] | null | null | null | import requests_mock
from django.conf import settings
from functional_tests.selenium_test_case import SeleniumTestCase
class PaginationTest(SeleniumTestCase):
@requests_mock.Mocker()
def test_main_page_presents_pagination(self, m):
m.get(settings.API_BASE_ADDRESS + '/event/', json={
"resp... | 31.550847 | 74 | 0.486167 | 339 | 3,723 | 5.079646 | 0.19469 | 0.081301 | 0.060395 | 0.083624 | 0.897793 | 0.897793 | 0.897793 | 0.87863 | 0.87863 | 0.87863 | 0 | 0.026738 | 0.39726 | 3,723 | 117 | 75 | 31.820513 | 0.740642 | 0 | 0 | 0.693878 | 0 | 0 | 0.132689 | 0.006178 | 0 | 0 | 0 | 0 | 0.081633 | 1 | 0.040816 | false | 0 | 0.030612 | 0 | 0.081633 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d176d9dd24027d3d6d0b31edaff59dc17e6ff58e | 221 | py | Python | materials/db/__init__.py | hicsail/materials | eb1770787193141cbc9a9e89f6be33ed7de05828 | [
"MIT"
] | 1 | 2015-12-04T19:53:55.000Z | 2015-12-04T19:53:55.000Z | materials/db/__init__.py | hicsail/materials | eb1770787193141cbc9a9e89f6be33ed7de05828 | [
"MIT"
] | null | null | null | materials/db/__init__.py | hicsail/materials | eb1770787193141cbc9a9e89f6be33ed7de05828 | [
"MIT"
] | null | null | null | from .tables import Base, Component, Mixture, Ref, Measurement, Listing, Property
from .utils import get_or_create
__all__ = ['Base', 'Component', 'Mixture', 'Ref', 'Measurement', 'Listing', 'Property', 'get_or_create']
| 44.2 | 104 | 0.733032 | 27 | 221 | 5.703704 | 0.555556 | 0.168831 | 0.25974 | 0.298701 | 0.636364 | 0.636364 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0.113122 | 221 | 4 | 105 | 55.25 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.280543 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d18565c068d46ebec64a46add9f49a2d5f937455 | 351 | py | Python | pycord/models/__init__.py | henry232323/pycord | 93b4c0b38f1036f3d36af0a5c00e62a15c312841 | [
"MIT"
] | null | null | null | pycord/models/__init__.py | henry232323/pycord | 93b4c0b38f1036f3d36af0a5c00e62a15c312841 | [
"MIT"
] | null | null | null | pycord/models/__init__.py | henry232323/pycord | 93b4c0b38f1036f3d36af0a5c00e62a15c312841 | [
"MIT"
] | null | null | null | from .channel import Channel, TextChannel, VoiceChannel, CategoryChannel, DMChannel, DMGroupChannel, GUILD_CHANNELS, \
DM_CHANNELS, TEXTCHANNEL, VOICECHANNEL, CATEGORYCHANNEL, DMCHANNEL, GROUPDMCHANNEL
from .embed import Embed
from .guild import Guild
from .message import Message
from .role import Role
from .user i... | 43.875 | 118 | 0.817664 | 40 | 351 | 7.125 | 0.45 | 0.161404 | 0.266667 | 0.329825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122507 | 351 | 7 | 119 | 50.142857 | 0.925325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d19fbf09eb8873027b840b7ed88526a72695fdff | 47 | py | Python | sapextractor/utils/table_count/__init__.py | aarkue/sap-meta-explorer | 613bf657bbaa72a3781a84664e5de7626516532f | [
"Apache-2.0"
] | 2 | 2021-02-10T08:09:35.000Z | 2021-05-21T06:25:34.000Z | sapextractor/utils/table_count/__init__.py | aarkue/sap-meta-explorer | 613bf657bbaa72a3781a84664e5de7626516532f | [
"Apache-2.0"
] | null | null | null | sapextractor/utils/table_count/__init__.py | aarkue/sap-meta-explorer | 613bf657bbaa72a3781a84664e5de7626516532f | [
"Apache-2.0"
] | 3 | 2021-11-22T13:27:00.000Z | 2022-03-16T22:08:51.000Z | from sapextractor.utils.table_count import get
| 23.5 | 46 | 0.87234 | 7 | 47 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d1a29601894d683e2bcc6ef49a71a0d52966e8ed | 1,331 | py | Python | tests/test_loadtxt.py | gumazon/loadtxt | 32017309f894214d26c2e56f85486eb70368085b | [
"MIT"
] | null | null | null | tests/test_loadtxt.py | gumazon/loadtxt | 32017309f894214d26c2e56f85486eb70368085b | [
"MIT"
] | null | null | null | tests/test_loadtxt.py | gumazon/loadtxt | 32017309f894214d26c2e56f85486eb70368085b | [
"MIT"
] | null | null | null | import shlex
import subprocess
from loadtxt.loadtxt import loadtxt
def test_main_txt():
expected = 'Same thing over and over and expecting different results.'
cmd = 'python /Users/smikhail/Public/libs/loadtxt/loadtxt/loadtxt "Same thing over and over and expecting different results."'
actual = subprocess... | 41.59375 | 131 | 0.740796 | 186 | 1,331 | 5.263441 | 0.268817 | 0.128703 | 0.053115 | 0.065373 | 0.848825 | 0.848825 | 0.848825 | 0.806946 | 0.806946 | 0.757916 | 0 | 0 | 0.151766 | 1,331 | 31 | 132 | 42.935484 | 0.867139 | 0 | 0 | 0.285714 | 0 | 0.095238 | 0.479699 | 0.165414 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.190476 | false | 0 | 0.142857 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
06096213e59d04d6c7315f4fac511470ed5b8a76 | 42 | py | Python | vhinny/common/__init__.py | vhinny-investing/api | 8439e759cee6069411d19cc4f15d6a4ded919d75 | [
"MIT"
] | null | null | null | vhinny/common/__init__.py | vhinny-investing/api | 8439e759cee6069411d19cc4f15d6a4ded919d75 | [
"MIT"
] | 1 | 2020-06-01T04:09:40.000Z | 2020-06-01T04:09:40.000Z | vhinny/common/__init__.py | vhinny-investing/api | 8439e759cee6069411d19cc4f15d6a4ded919d75 | [
"MIT"
] | null | null | null | from vhinny.common.base import BaseHelpers | 42 | 42 | 0.880952 | 6 | 42 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ae4d42ecc1338481a1d8420e7b92931e230a431f | 26 | py | Python | blogger/comments/urls.py | hanumanthareddy/blogger | e8352b77a342a9a2e535106743762a8b87cb7675 | [
"MIT"
] | null | null | null | blogger/comments/urls.py | hanumanthareddy/blogger | e8352b77a342a9a2e535106743762a8b87cb7675 | [
"MIT"
] | 9 | 2019-12-04T22:58:36.000Z | 2022-02-10T08:59:32.000Z | blogger/comments/urls.py | hanumanthareddy/blogger | e8352b77a342a9a2e535106743762a8b87cb7675 | [
"MIT"
] | null | null | null | from .views import render
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ae896338f62104733f03a1d858fc11e3db0ab0d0 | 1,654 | py | Python | tests/test_async_fakenames.py | Artem-Efremov/async-requests | 13dc5b21727b47d5be1e6a7bb0118e1d094282b5 | [
"MIT"
] | null | null | null | tests/test_async_fakenames.py | Artem-Efremov/async-requests | 13dc5b21727b47d5be1e6a7bb0118e1d094282b5 | [
"MIT"
] | 1 | 2021-06-01T23:49:49.000Z | 2021-06-01T23:49:49.000Z | tests/test_async_fakenames.py | Artem-Efremov/async-requests | 13dc5b21727b47d5be1e6a7bb0118e1d094282b5 | [
"MIT"
] | null | null | null | import sys
import json
import pytest
import requests
import urllib3
from pytest_localserver import plugin
import async_fakenames as app
import models
httpsserver = plugin.httpsserver
def test_fetch_fakename(httpsserver):
content = r'{"name":"Mrs. Neva Hessel","address":"042 Connelly Estates Suite 908\nNort... | 66.16 | 1,107 | 0.721886 | 228 | 1,654 | 5.162281 | 0.714912 | 0.02209 | 0.011895 | 0.016992 | 0.042481 | 0.042481 | 0 | 0 | 0 | 0 | 0 | 0.122316 | 0.070738 | 1,654 | 24 | 1,108 | 68.916667 | 0.643461 | 0 | 0 | 0 | 0 | 0.058824 | 0.683192 | 0.585852 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.058824 | false | 0.058824 | 0.470588 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ae97b40815b55d15a7f55cd48139d05d8de90fec | 100 | py | Python | terrascript/vsphere/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/vsphere/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/vsphere/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/vsphere/__init__.py
import terrascript
class vsphere(terrascript.Provider):
pass | 16.666667 | 36 | 0.8 | 11 | 100 | 6.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 6 | 37 | 16.666667 | 0.863636 | 0.31 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8823b7a5e45860c38092e10084c2e9088dadaba0 | 73 | py | Python | shipyard2/rules/py/startup/build.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | 3 | 2016-01-04T06:28:52.000Z | 2020-09-20T13:18:40.000Z | shipyard2/rules/py/startup/build.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | shipyard2/rules/py/startup/build.py | clchiou/garage | 446ff34f86cdbd114b09b643da44988cf5d027a3 | [
"MIT"
] | null | null | null | import shipyard2.rules.pythons
shipyard2.rules.pythons.define_package()
| 18.25 | 40 | 0.849315 | 9 | 73 | 6.777778 | 0.666667 | 0.459016 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.054795 | 73 | 3 | 41 | 24.333333 | 0.855072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8860340b5fac58ade3b31d3e1166d969181afa52 | 164 | py | Python | jrecomments/management/commands/scrape.py | ChristianJStarr/jrecomments | 2c4d72e8848d639e3b1004e58b2cc8e0889ad23d | [
"MIT"
] | null | null | null | jrecomments/management/commands/scrape.py | ChristianJStarr/jrecomments | 2c4d72e8848d639e3b1004e58b2cc8e0889ad23d | [
"MIT"
] | null | null | null | jrecomments/management/commands/scrape.py | ChristianJStarr/jrecomments | 2c4d72e8848d639e3b1004e58b2cc8e0889ad23d | [
"MIT"
] | null | null | null | from django.core.management import BaseCommand
from jrecomments.youtube import youtube_pull_comments
class Command(BaseCommand):
youtube_pull_comments(50000) | 23.428571 | 53 | 0.847561 | 20 | 164 | 6.75 | 0.65 | 0.162963 | 0.281481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034014 | 0.103659 | 164 | 7 | 54 | 23.428571 | 0.884354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88a308415550ed2734c0300680964f0d53e970d2 | 199 | py | Python | Codewars/8kyu/basic-making-six-toast/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/8kyu/basic-making-six-toast/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/8kyu/basic-making-six-toast/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.describe('Basic tests')
Test.it('Testing for Basic Functionality')
Test.assert_equals(six_toast(15), 9)
Test.assert_equals(six_toast(6), 0)
Test.assert_equals(six_toast(3), 3)
| 24.875 | 42 | 0.753769 | 35 | 199 | 4.114286 | 0.514286 | 0.208333 | 0.333333 | 0.395833 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054945 | 0.085427 | 199 | 7 | 43 | 28.428571 | 0.736264 | 0.070352 | 0 | 0 | 0 | 0 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ee31f093742c7afea3b952a81ddf584810a1adb9 | 166 | py | Python | dbgz/__init__.py | filipinascimento/dbgz | a3b10e89c78377c00978da0a876f5ad8e8416794 | [
"BSD-3-Clause"
] | null | null | null | dbgz/__init__.py | filipinascimento/dbgz | a3b10e89c78377c00978da0a876f5ad8e8416794 | [
"BSD-3-Clause"
] | null | null | null | dbgz/__init__.py | filipinascimento/dbgz | a3b10e89c78377c00978da0a876f5ad8e8416794 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python
# -*- coding: <utf-8> -*-
from .dbgz import DBGZWriter
from .dbgz import DBGZReader
from .dbgz import readIndicesDictionary
__version__ = "0.3.4"
| 18.444444 | 39 | 0.716867 | 22 | 166 | 5.227273 | 0.727273 | 0.208696 | 0.365217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027972 | 0.138554 | 166 | 8 | 40 | 20.75 | 0.776224 | 0.240964 | 0 | 0 | 0 | 0 | 0.04065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee79d8d25ed3cdc5ae52f0b7f8a7c864edf77dd5 | 10,341 | py | Python | scr/analytic/mathieu.py | zmoitier/Scattering_BIE_QPAX | a4f9660f570c618f7a14585ab943b0f16c712632 | [
"MIT"
] | null | null | null | scr/analytic/mathieu.py | zmoitier/Scattering_BIE_QPAX | a4f9660f570c618f7a14585ab943b0f16c712632 | [
"MIT"
] | null | null | null | scr/analytic/mathieu.py | zmoitier/Scattering_BIE_QPAX | a4f9660f570c618f7a14585ab943b0f16c712632 | [
"MIT"
] | null | null | null | """ Mathieu functions
Author: Zoïs Moitier
Karlsruhe Institute of Technology, Germany
"""
from numpy import degrees # (╬ಠ益ಠ)
from numpy import cos, cosh
from scipy.special import (
mathieu_a,
mathieu_b,
mathieu_cem,
mathieu_modcem1,
mathieu_modcem2,
mathieu_modsem1,
mathieu... | 25.345588 | 88 | 0.545499 | 1,761 | 10,341 | 3.211811 | 0.053379 | 0.031117 | 0.036068 | 0.016973 | 0.947489 | 0.942185 | 0.918847 | 0.896924 | 0.895156 | 0.860856 | 0 | 0.044527 | 0.322406 | 10,341 | 407 | 89 | 25.407862 | 0.749108 | 0.534184 | 0 | 0.423077 | 0 | 0 | 0.0787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096154 | false | 0 | 0.028846 | 0 | 0.413462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c9aa7a80aa4a09b5d544d7d2b11ad4932c7cb6ef | 164 | py | Python | src/fj/_utils/__init__.py | sinoroc/fj | fbf82d0d988812af9899f10dee9c71ea113579b1 | [
"Apache-2.0"
] | null | null | null | src/fj/_utils/__init__.py | sinoroc/fj | fbf82d0d988812af9899f10dee9c71ea113579b1 | [
"Apache-2.0"
] | 2 | 2020-07-16T15:22:53.000Z | 2020-07-25T18:40:35.000Z | src/fj/_utils/__init__.py | sinoroc/fj | fbf82d0d988812af9899f10dee9c71ea113579b1 | [
"Apache-2.0"
] | null | null | null | #
"""Utilities."""
from . import config
from . import pip_wrapper
from . import subprocess_wrapper
from . import venv_wrapper
from . import zipapp_wrapper
# EOF
| 13.666667 | 32 | 0.75 | 21 | 164 | 5.666667 | 0.47619 | 0.420168 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164634 | 164 | 11 | 33 | 14.909091 | 0.868613 | 0.091463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4e57ec7e53dbb7467685dec1a5d8040714a4d539 | 117 | py | Python | filem/auth.py | funkybob/django-filem | 5bcfab3a592e9c4547211d44c079d10e55c85fa1 | [
"MIT"
] | 6 | 2016-11-02T00:01:49.000Z | 2018-05-22T07:44:08.000Z | filem/auth.py | funkybob/django-filem | 5bcfab3a592e9c4547211d44c079d10e55c85fa1 | [
"MIT"
] | 5 | 2016-01-10T14:06:22.000Z | 2016-02-27T03:32:21.000Z | kopytka/auth.py | funkybob/kopytka | 59cafc58fbf40a0bf8ddc082f8a1ebeea664c9e0 | [
"MIT"
] | 2 | 2016-01-15T07:15:06.000Z | 2019-01-25T11:44:23.000Z | from django.contrib.auth.decorators import user_passes_test
staff_required = user_passes_test(lambda u: u.is_staff)
| 29.25 | 59 | 0.846154 | 19 | 117 | 4.894737 | 0.736842 | 0.215054 | 0.301075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 117 | 3 | 60 | 39 | 0.869159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
4e78d0c6f3a7ce0dcdbd1b6bf2a39683694d7d26 | 257 | py | Python | tests/test_parsers/test_base_parser.py | thejens/parender | 14660d93b2822da69c528e8b3c0fb9de4bfd450b | [
"MIT"
] | 1 | 2020-12-13T16:19:36.000Z | 2020-12-13T16:19:36.000Z | tests/test_parsers/test_base_parser.py | thejens/parender | 14660d93b2822da69c528e8b3c0fb9de4bfd450b | [
"MIT"
] | 2 | 2021-12-16T13:08:56.000Z | 2022-03-14T12:58:38.000Z | tests/test_parsers/test_base_parser.py | thejens/parender | 14660d93b2822da69c528e8b3c0fb9de4bfd450b | [
"MIT"
] | 4 | 2021-11-10T15:06:04.000Z | 2022-02-16T10:47:07.000Z | # pylint: disable=missing-module-docstring
# pylint: disable=missing-function-docstring
from loren.parsers.base_parser import BaseParser
def test_base_parser() -> None:
assert BaseParser.parse({"file_contents": "a = 1"}) == {"file_contents": "a = 1"}
| 32.125 | 85 | 0.735409 | 33 | 257 | 5.575758 | 0.666667 | 0.141304 | 0.217391 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008811 | 0.116732 | 257 | 7 | 86 | 36.714286 | 0.801762 | 0.322957 | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
14d541363970ecbbae828a5d8893603e2928da6b | 248 | py | Python | desktop/core/ext-py/djangosaml2-0.16.4/djangosaml2/settings.py | DEVESHTARASIA/hue | 3a3b13ab599bd601f94472078e628fc78d32bb37 | [
"Apache-2.0"
] | 1 | 2018-08-01T05:10:26.000Z | 2018-08-01T05:10:26.000Z | desktop/core/ext-py/djangosaml2-0.16.4/djangosaml2/settings.py | DEVESHTARASIA/hue | 3a3b13ab599bd601f94472078e628fc78d32bb37 | [
"Apache-2.0"
] | null | null | null | desktop/core/ext-py/djangosaml2-0.16.4/djangosaml2/settings.py | DEVESHTARASIA/hue | 3a3b13ab599bd601f94472078e628fc78d32bb37 | [
"Apache-2.0"
] | 2 | 2019-06-17T11:51:56.000Z | 2020-07-25T08:29:56.000Z | from django.conf import settings
SAML_DJANGO_USER_MAIN_ATTRIBUTE = getattr(
settings, 'SAML_DJANGO_USER_MAIN_ATTRIBUTE', 'username')
SAML_DJANGO_USER_MAIN_ATTRIBUTE_LOOKUP = getattr(
settings, 'SAML_DJANGO_USER_MAIN_ATTRIBUTE_LOOKUP', '')
| 35.428571 | 60 | 0.822581 | 32 | 248 | 5.8125 | 0.375 | 0.215054 | 0.301075 | 0.387097 | 0.849462 | 0.849462 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0.100806 | 248 | 6 | 61 | 41.333333 | 0.834081 | 0 | 0 | 0 | 0 | 0 | 0.310484 | 0.278226 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 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 | 6 |
14eee0f4e3b5435fa1fc9618e5eec860702cef84 | 214 | py | Python | conan_build_tool/Configurators/__init__.py | Av3m/conan_build_tools | f82fb4a87d4ce7eea49b2af62a2ed14e9ef4a123 | [
"MIT"
] | null | null | null | conan_build_tool/Configurators/__init__.py | Av3m/conan_build_tools | f82fb4a87d4ce7eea49b2af62a2ed14e9ef4a123 | [
"MIT"
] | null | null | null | conan_build_tool/Configurators/__init__.py | Av3m/conan_build_tools | f82fb4a87d4ce7eea49b2af62a2ed14e9ef4a123 | [
"MIT"
] | null | null | null | from .CompilerConfigurator import *
from .DockerConfigurator import *
from .BuildTypeConfigurator import *
from .ConanServerConfigurator import *
from .ArchConfigurator import *
from .AndroidConfigurator import *
| 26.75 | 38 | 0.827103 | 18 | 214 | 9.833333 | 0.444444 | 0.282486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116822 | 214 | 7 | 39 | 30.571429 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
11726552c3b4bab804d7019a1bc06aba13ebd479 | 96 | py | Python | venv/lib/python3.8/site-packages/pkginfo/tests/test_distribution.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pkginfo/tests/test_distribution.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pkginfo/tests/test_distribution.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/39/44/4e/02062c15e21480ab3cde14daa1250d9949510bf4d7694fa9fb4e105c17 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
119fc8a8c94692fdab155310c9b30fd0462093bf | 298 | py | Python | dev6b_retake/dev6b_retake/controller.py | tvangeest/DEV6B_Retake | eea61ff11d9053fb9e7ec81955adfbc7ad21ce01 | [
"MIT"
] | null | null | null | dev6b_retake/dev6b_retake/controller.py | tvangeest/DEV6B_Retake | eea61ff11d9053fb9e7ec81955adfbc7ad21ce01 | [
"MIT"
] | null | null | null | dev6b_retake/dev6b_retake/controller.py | tvangeest/DEV6B_Retake | eea61ff11d9053fb9e7ec81955adfbc7ad21ce01 | [
"MIT"
] | null | null | null | from flask import Flask, render_template, request
class Controller:
def index():
return render_template('index.html')
def a1():
if request.method == 'GET':
return render_template('A1.html')
def a2():
if request.method == 'GET':
return render_template('A2.html') | 21.285714 | 49 | 0.654362 | 38 | 298 | 5.026316 | 0.447368 | 0.293194 | 0.314136 | 0.188482 | 0.397906 | 0.397906 | 0.397906 | 0 | 0 | 0 | 0 | 0.017094 | 0.214765 | 298 | 14 | 50 | 21.285714 | 0.799145 | 0 | 0 | 0.2 | 0 | 0 | 0.100334 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | true | 0 | 0.1 | 0.1 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
11e714f40490be5ca1c1f08701a7b241961f7ded | 10,834 | py | Python | servicedirectory/src/sd-api/bindings/tests/tests_binding_instances_views.py | ealogar/servicedirectory | fb4f4bfa8b499b93c03af589ef2f34c08a830b17 | [
"Apache-2.0"
] | null | null | null | servicedirectory/src/sd-api/bindings/tests/tests_binding_instances_views.py | ealogar/servicedirectory | fb4f4bfa8b499b93c03af589ef2f34c08a830b17 | [
"Apache-2.0"
] | null | null | null | servicedirectory/src/sd-api/bindings/tests/tests_binding_instances_views.py | ealogar/servicedirectory | fb4f4bfa8b499b93c03af589ef2f34c08a830b17 | [
"Apache-2.0"
] | null | null | null | '''
(c) Copyright 2013 Telefonica, I+D. Printed in Spain (Europe). All Rights
Reserved.
The copyright to the software program(s) is property of Telefonica I+D.
The program(s) may be used and or copied only with the express written
consent of Telefonica I+D or in accordance with the terms and conditions
stipulated in t... | 52.592233 | 112 | 0.641684 | 1,268 | 10,834 | 5.260252 | 0.134069 | 0.095952 | 0.077961 | 0.101349 | 0.812144 | 0.801349 | 0.797451 | 0.775112 | 0.731784 | 0.697751 | 0 | 0.023472 | 0.225309 | 10,834 | 205 | 113 | 52.84878 | 0.771238 | 0.083072 | 0 | 0.60625 | 0 | 0 | 0.248133 | 0.037639 | 0 | 0 | 0 | 0 | 0.25625 | 1 | 0.03125 | false | 0 | 0.0125 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f504d894084ea10ddd6ec81f63dd68b54edc7af3 | 94 | py | Python | src/si/util/__init__.py | minimum16/SIB_MachineLearning | e032ce15d96a096a3ca57ba8318d3787755534e2 | [
"Apache-2.0"
] | null | null | null | src/si/util/__init__.py | minimum16/SIB_MachineLearning | e032ce15d96a096a3ca57ba8318d3787755534e2 | [
"Apache-2.0"
] | null | null | null | src/si/util/__init__.py | minimum16/SIB_MachineLearning | e032ce15d96a096a3ca57ba8318d3787755534e2 | [
"Apache-2.0"
] | null | null | null | from .util import *
from .metrics import *
from .cv import CrossValidationScore, GridSearchCV
| 23.5 | 50 | 0.797872 | 11 | 94 | 6.818182 | 0.636364 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 3 | 51 | 31.333333 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee9804725f09d233026536b4391a5bc80310ec89 | 32 | py | Python | base/__init__.py | JiwooKimAR/MWP-solver-with-pretrained-language-model | 7fa723ba4485dd446840effc457d5ebcfef9357f | [
"MIT"
] | 5 | 2022-03-02T06:30:03.000Z | 2022-03-23T13:01:20.000Z | base/__init__.py | JiwooKimAR/MWP-solver-with-pretrained-language-model | 7fa723ba4485dd446840effc457d5ebcfef9357f | [
"MIT"
] | null | null | null | base/__init__.py | JiwooKimAR/MWP-solver-with-pretrained-language-model | 7fa723ba4485dd446840effc457d5ebcfef9357f | [
"MIT"
] | null | null | null | from .BaseModel import BaseModel | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eea1db656f7a5e492eddd176f8173b06edb463dc | 45 | py | Python | project/memberships/models/__init__.py | hiraqdev/base-django | 4df57f356905274b26af57af8328f015d6c680a4 | [
"MIT"
] | 1 | 2018-03-19T05:21:53.000Z | 2018-03-19T05:21:53.000Z | project/memberships/models/__init__.py | hiraq/base-django | 4df57f356905274b26af57af8328f015d6c680a4 | [
"MIT"
] | 6 | 2020-06-05T20:17:33.000Z | 2022-03-11T23:45:44.000Z | project/memberships/models/__init__.py | hiraq/base-django | 4df57f356905274b26af57af8328f015d6c680a4 | [
"MIT"
] | null | null | null | from memberships.models.member import Member
| 22.5 | 44 | 0.866667 | 6 | 45 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e11b17735b0b754118705912780f8cde5d975d47 | 64,918 | py | Python | 01-code-scripts/viirs.py | calekochenour/nighttime-radiance | 194cd62042bbe94e67aed9fdf7f3896174fecc38 | [
"BSD-3-Clause"
] | 7 | 2020-11-11T08:02:51.000Z | 2022-03-17T17:53:47.000Z | 01-code-scripts/viirs.py | calekochenour/nighttime-radiance | 194cd62042bbe94e67aed9fdf7f3896174fecc38 | [
"BSD-3-Clause"
] | null | null | null | 01-code-scripts/viirs.py | calekochenour/nighttime-radiance | 194cd62042bbe94e67aed9fdf7f3896174fecc38 | [
"BSD-3-Clause"
] | 4 | 2021-04-19T23:57:25.000Z | 2022-03-31T06:26:12.000Z | """ Module to work with NASA VIIRS DNB data """
import os
import re
import datetime as dt
import matplotlib.pyplot as plt
from matplotlib import colors
import numpy as np
import numpy.ma as ma
import pandas as pd
import rasterio as rio
from rasterio.transform import from_origin
import earthpy.plot as ep
import earthpy... | 28.225217 | 79 | 0.576342 | 7,291 | 64,918 | 4.938829 | 0.082293 | 0.021689 | 0.014663 | 0.008998 | 0.806993 | 0.782527 | 0.741565 | 0.711461 | 0.700686 | 0.675165 | 0 | 0.026676 | 0.318032 | 64,918 | 2,299 | 80 | 28.237495 | 0.786682 | 0.359561 | 0 | 0.627885 | 0 | 0 | 0.18612 | 0.041708 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032692 | false | 0 | 0.011538 | 0 | 0.076923 | 0.056731 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
01611284c50e02145392db0ce559a05077e76efc | 29 | py | Python | geomark/__init__.py | pauperpythonistas/python-geomark | edddafde990bdf42441e6adde77ea3d67a0790ee | [
"BSD-3-Clause"
] | 1 | 2017-12-16T00:39:20.000Z | 2017-12-16T00:39:20.000Z | geomark/__init__.py | pauperpythonistas/python-geomark | edddafde990bdf42441e6adde77ea3d67a0790ee | [
"BSD-3-Clause"
] | 34 | 2017-12-19T20:20:28.000Z | 2018-11-04T05:10:17.000Z | geomark/__init__.py | greg-and-adam/python-geomark | edddafde990bdf42441e6adde77ea3d67a0790ee | [
"BSD-3-Clause"
] | 2 | 2017-12-19T19:39:59.000Z | 2018-11-01T02:53:15.000Z | from .geomark import Geomark
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 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 | 1 | 0 | 0 | 6 |
01721591bcd881309a6774c15816c80fc0b273e3 | 90 | py | Python | injecttf/example.py | Abirami-mygithub/InjectTFParallel | 0f3d545ef8e4ea8cdffd0d23cb0ea6e30cdc302e | [
"MIT"
] | null | null | null | injecttf/example.py | Abirami-mygithub/InjectTFParallel | 0f3d545ef8e4ea8cdffd0d23cb0ea6e30cdc302e | [
"MIT"
] | null | null | null | injecttf/example.py | Abirami-mygithub/InjectTFParallel | 0f3d545ef8e4ea8cdffd0d23cb0ea6e30cdc302e | [
"MIT"
] | null | null | null | from fault_injector import Fault_Injector
fi_obj = Fault_Injector()
fi_obj.inject_fault() | 22.5 | 41 | 0.844444 | 14 | 90 | 5 | 0.5 | 0.557143 | 0.428571 | 0.514286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 4 | 42 | 22.5 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
6d6aa5c9df4e328f719e59d1957b1e70c7e933e3 | 171 | py | Python | projecteuler/problems/problem_48.py | hjheath/ProjectEuler | 6961fe81e2039c281ea9d4ab0bdd85611bf256a8 | [
"MIT"
] | 1 | 2015-04-25T10:37:52.000Z | 2015-04-25T10:37:52.000Z | projecteuler/problems/problem_48.py | hjheath/ProjectEuler | 6961fe81e2039c281ea9d4ab0bdd85611bf256a8 | [
"MIT"
] | null | null | null | projecteuler/problems/problem_48.py | hjheath/ProjectEuler | 6961fe81e2039c281ea9d4ab0bdd85611bf256a8 | [
"MIT"
] | null | null | null | """Problem 44 of https://projecteuler.net"""
def problem_48():
"""Solution to problem 48."""
return sum(x ** x for x in range(1, 1001)) % 10 ** 10
problem_48()
| 19 | 57 | 0.608187 | 27 | 171 | 3.777778 | 0.703704 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.204678 | 171 | 8 | 58 | 21.375 | 0.625 | 0.362573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
6d7a169052b005b8f1ffc96d34bd042ff1caa958 | 89 | py | Python | tests/unit_tests/running_modes/create_model/__init__.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 26 | 2021-04-30T23:21:17.000Z | 2022-03-10T06:33:11.000Z | tests/unit_tests/running_modes/create_model/__init__.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 6 | 2021-10-03T08:35:48.000Z | 2022-03-24T09:57:39.000Z | tests/unit_tests/running_modes/create_model/__init__.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 10 | 2021-04-28T14:08:17.000Z | 2022-03-04T04:18:13.000Z | from tests.unit_tests.running_modes.create_model.create_model_test import TestCreateModel | 89 | 89 | 0.921348 | 13 | 89 | 5.923077 | 0.769231 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 89 | 1 | 89 | 89 | 0.895349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6dc899bb3c247c63bdc41bad34e81fa4d1cb996c | 30 | py | Python | confoo-2012/unittest_example/__init__.py | andymckay/presentations | 19e485f0ad5ca5e56779475659f31b6682e8016e | [
"CC-BY-3.0"
] | 3 | 2015-08-05T23:04:10.000Z | 2022-01-24T20:01:33.000Z | confoo-2012/unittest_example/__init__.py | andymckay/presentations | 19e485f0ad5ca5e56779475659f31b6682e8016e | [
"CC-BY-3.0"
] | null | null | null | confoo-2012/unittest_example/__init__.py | andymckay/presentations | 19e485f0ad5ca5e56779475659f31b6682e8016e | [
"CC-BY-3.0"
] | 4 | 2015-06-28T19:02:49.000Z | 2021-10-29T19:28:39.000Z | from example import sorted_ci
| 15 | 29 | 0.866667 | 5 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0972c45e9c027401871c5b79beb14b141e758f69 | 207 | py | Python | src/xsd_sites/admin.py | minyiky/xSACdb | 8c407e9a9da196750a66ad53613ad67c8c56e1c3 | [
"MIT"
] | 2 | 2017-08-14T14:40:17.000Z | 2019-02-07T13:10:23.000Z | src/xsd_sites/admin.py | minyiky/xSACdb | 8c407e9a9da196750a66ad53613ad67c8c56e1c3 | [
"MIT"
] | 19 | 2016-02-07T18:02:53.000Z | 2019-11-03T17:48:13.000Z | src/xsd_sites/admin.py | minyiky/xSACdb | 8c407e9a9da196750a66ad53613ad67c8c56e1c3 | [
"MIT"
] | 4 | 2015-10-19T17:24:35.000Z | 2021-05-12T07:30:32.000Z | from django.contrib import admin
from reversion_compare.admin import CompareVersionAdmin
from xsd_sites.models import *
class SiteAdmin(CompareVersionAdmin):
pass
admin.site.register(Site, SiteAdmin)
| 20.7 | 55 | 0.826087 | 25 | 207 | 6.76 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 207 | 9 | 56 | 23 | 0.923497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
111c44cbe3fe321b5b2ffe8734d4c4f68f013984 | 71 | py | Python | chemception/utils/__init__.py | FrancescoZ/Chemception | e6c6bf943d80f4813e899d7524691f77d43bc344 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | chemception/utils/__init__.py | FrancescoZ/Chemception | e6c6bf943d80f4813e899d7524691f77d43bc344 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | chemception/utils/__init__.py | FrancescoZ/Chemception | e6c6bf943d80f4813e899d7524691f77d43bc344 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | from .constant import *
from .helpers import *
from .visualize import * | 23.666667 | 24 | 0.760563 | 9 | 71 | 6 | 0.555556 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 71 | 3 | 24 | 23.666667 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
116b7d64ff983ab9bebd820180e2d6e1892873c9 | 24 | py | Python | DjangoTester/settings/__init__.py | iandmyhand/django-tester | b86c203d9529c61b291961b98b0907763385b285 | [
"MIT"
] | null | null | null | DjangoTester/settings/__init__.py | iandmyhand/django-tester | b86c203d9529c61b291961b98b0907763385b285 | [
"MIT"
] | null | null | null | DjangoTester/settings/__init__.py | iandmyhand/django-tester | b86c203d9529c61b291961b98b0907763385b285 | [
"MIT"
] | null | null | null | from . private import *
| 12 | 23 | 0.708333 | 3 | 24 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 1 | 24 | 24 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
feea76d886106fc0515b3aaeb1ead301d64f1087 | 43 | py | Python | src/__init__.py | Vijay2051/Kagcolabserver | f22d4444d54ccfabb0c79acbe5c5c5c1be2922eb | [
"MIT"
] | 1 | 2020-10-21T22:24:38.000Z | 2020-10-21T22:24:38.000Z | src/__init__.py | Vijay2051/Kagcolabserver | f22d4444d54ccfabb0c79acbe5c5c5c1be2922eb | [
"MIT"
] | null | null | null | src/__init__.py | Vijay2051/Kagcolabserver | f22d4444d54ccfabb0c79acbe5c5c5c1be2922eb | [
"MIT"
] | null | null | null | from .kagcolabserver import KagColabServer
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3a1cf3ffc0ac45ccfde9463113284b0f8443f858 | 50 | py | Python | networks/modular_downscaling_model/config_interface/__init__.py | khoehlein/CNNs-for-Wind-Field-Downscaling | eb8418d4d893fcb2beb929abb241281b7a9b6a95 | [
"MIT"
] | 5 | 2021-05-05T06:08:52.000Z | 2022-03-24T04:57:52.000Z | networks/modular_downscaling_model/config_interface/__init__.py | khoehlein/CNNs-for-Wind-Field-Downscaling | eb8418d4d893fcb2beb929abb241281b7a9b6a95 | [
"MIT"
] | null | null | null | networks/modular_downscaling_model/config_interface/__init__.py | khoehlein/CNNs-for-Wind-Field-Downscaling | eb8418d4d893fcb2beb929abb241281b7a9b6a95 | [
"MIT"
] | 2 | 2021-08-07T05:18:05.000Z | 2022-03-31T03:48:37.000Z | from .ModelConfigurator import ModelConfigurator
| 16.666667 | 48 | 0.88 | 4 | 50 | 11 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 50 | 2 | 49 | 25 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3a25d6eb914626a22388c94ae8469d5f002dab31 | 49 | py | Python | recipes/recipes_emscripten/biopython/test_import_biopython.py | emscripten-forge/recipes | 62cb3e146abc8945ac210f38e4e47c080698eae5 | [
"MIT"
] | 1 | 2022-03-10T16:50:56.000Z | 2022-03-10T16:50:56.000Z | recipes/recipes_emscripten/biopython/test_import_biopython.py | emscripten-forge/recipes | 62cb3e146abc8945ac210f38e4e47c080698eae5 | [
"MIT"
] | 9 | 2022-03-18T09:26:38.000Z | 2022-03-29T09:21:51.000Z | recipes/recipes_emscripten/biopython/test_import_biopython.py | emscripten-forge/recipes | 62cb3e146abc8945ac210f38e4e47c080698eae5 | [
"MIT"
] | null | null | null |
def test_import_biopython():
import Bio
| 12.25 | 28 | 0.673469 | 6 | 49 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265306 | 49 | 4 | 29 | 12.25 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3a3f2ac7037a98eca1088b51d842f86ead2322a1 | 280 | py | Python | bio_embeddings/extract/annotations/__init__.py | HannesStark/bio_embeddings | 8c2e2b4a17903495fcced99fccb7f7287daacc49 | [
"MIT"
] | null | null | null | bio_embeddings/extract/annotations/__init__.py | HannesStark/bio_embeddings | 8c2e2b4a17903495fcced99fccb7f7287daacc49 | [
"MIT"
] | 1 | 2021-01-31T20:06:52.000Z | 2021-01-31T20:06:52.000Z | bio_embeddings/extract/annotations/__init__.py | konstin/bio_embeddings | a7de49fd8e152f8e735283818e6f2e2de7b824c8 | [
"MIT"
] | 1 | 2021-12-26T22:20:48.000Z | 2021-12-26T22:20:48.000Z | from bio_embeddings.extract.annotations.Disorder import Disorder
from bio_embeddings.extract.annotations.Location import Location
from bio_embeddings.extract.annotations.Membrane import Membrane
from bio_embeddings.extract.annotations.SecondaryStructure import SecondaryStructure
| 56 | 84 | 0.9 | 32 | 280 | 7.75 | 0.3125 | 0.112903 | 0.274194 | 0.387097 | 0.564516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 280 | 4 | 85 | 70 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
28b2a7e5416240118120e20b45c13ba2f64bec9f | 1,901 | py | Python | examples/semantic_segmentation/pred_on_folder.py | Rabscuttler/raster-vision-fastai-plugin | 2db542bb78b0b6c03bfa10b4ba60430e14ef51a3 | [
"Apache-2.0"
] | null | null | null | examples/semantic_segmentation/pred_on_folder.py | Rabscuttler/raster-vision-fastai-plugin | 2db542bb78b0b6c03bfa10b4ba60430e14ef51a3 | [
"Apache-2.0"
] | null | null | null | examples/semantic_segmentation/pred_on_folder.py | Rabscuttler/raster-vision-fastai-plugin | 2db542bb78b0b6c03bfa10b4ba60430e14ef51a3 | [
"Apache-2.0"
] | null | null | null | import os
import glob
# root_dir = '/opt/data/true/data'
# imgs = [15196, 13596, 13598, 4796, 3199]
# EPOCHS = 20
# No Fine Tuning
# pred_package = '/opt/data/rv/try2/bundle/duke-seg/predict_package.zip'
# for img in imgs:
# to_predict = '{}/{}.png'.format(root_dir, img)
# output = '/opt/data/true/output20/... | 37.27451 | 99 | 0.65071 | 268 | 1,901 | 4.511194 | 0.220149 | 0.052109 | 0.079404 | 0.052936 | 0.834574 | 0.784946 | 0.784946 | 0.767577 | 0.740281 | 0.740281 | 0 | 0.028888 | 0.144135 | 1,901 | 50 | 100 | 38.02 | 0.714198 | 0.699632 | 0 | 0 | 0 | 0 | 0.374074 | 0.159259 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
28bc308d91f70bff1da89d18999e79d33434c272 | 7,491 | py | Python | authors/apps/comments/tests/test_comments.py | andela/ah-backend-realers | f4b0dbde16fed5e95ab3b1b60e365515e1fe6697 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/comments/tests/test_comments.py | andela/ah-backend-realers | f4b0dbde16fed5e95ab3b1b60e365515e1fe6697 | [
"BSD-3-Clause"
] | 20 | 2019-05-27T13:05:44.000Z | 2021-06-10T21:29:36.000Z | authors/apps/comments/tests/test_comments.py | andela/ah-backend-realers | f4b0dbde16fed5e95ab3b1b60e365515e1fe6697 | [
"BSD-3-Clause"
] | 6 | 2019-06-29T11:49:01.000Z | 2020-03-02T12:53:06.000Z | from .test_base import TestBase
import json
from rest_framework import status
from ..models import Comment
class CommentsTests(TestBase):
def test_create_comment(self):
url = self.article_url+f"{self.article_slug}/comments/"
self.client.credentials(HTTP_AUTHORIZATION='Bearer ' + str(self.token1))... | 33.743243 | 87 | 0.629288 | 892 | 7,491 | 5.069507 | 0.107623 | 0.092437 | 0.06192 | 0.075188 | 0.889872 | 0.858912 | 0.855374 | 0.831933 | 0.766033 | 0.752764 | 0 | 0.003261 | 0.263116 | 7,491 | 221 | 88 | 33.895928 | 0.815942 | 0 | 0 | 0.634286 | 0 | 0 | 0.19183 | 0.09171 | 0 | 0 | 0 | 0 | 0.12 | 1 | 0.12 | false | 0 | 0.022857 | 0 | 0.148571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3a6ed4ff701eb46eb25983bd571364cdc93a1494 | 5,631 | py | Python | tests/podcasts/data/soundcloud_archive_page2.py | tnoff/hathor | 237dfe37e93443b5a298f9f4b258d15429d754ea | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2017-05-03T17:52:27.000Z | 2019-04-04T22:29:27.000Z | tests/podcasts/data/soundcloud_archive_page2.py | tnoff/hathor | 237dfe37e93443b5a298f9f4b258d15429d754ea | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | tests/podcasts/data/soundcloud_archive_page2.py | tnoff/hathor | 237dfe37e93443b5a298f9f4b258d15429d754ea | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | DATA = {
"collection": [
{
"attachments_uri": "https://api.soundcloud.com/tracks/211526851/attachments",
"video_url": None,
"track_type": None,
"release_month": None,
"original_format": "mp3",
"label_name": None,
"duration":... | 48.128205 | 327 | 0.535074 | 564 | 5,631 | 5.228723 | 0.299645 | 0.042726 | 0.054256 | 0.071211 | 0.855205 | 0.828756 | 0.828756 | 0.776534 | 0.776534 | 0.719566 | 0 | 0.092037 | 0.313088 | 5,631 | 116 | 328 | 48.543103 | 0.670372 | 0 | 0 | 0.603448 | 0 | 0.034483 | 0.501865 | 0.015983 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3a70e522b9f1a404a14ef1807c2d3fd45e52b9d9 | 150 | py | Python | test/__init__.py | StefanBruens/pybeam | 5b7e79e2cc48265c71cb77e3ec0eae97676509fa | [
"MIT"
] | 15 | 2015-03-22T05:27:04.000Z | 2020-05-10T23:17:50.000Z | test/__init__.py | StefanBruens/pybeam | 5b7e79e2cc48265c71cb77e3ec0eae97676509fa | [
"MIT"
] | 9 | 2018-03-16T15:20:37.000Z | 2020-11-06T14:05:55.000Z | test/__init__.py | StefanBruens/pybeam | 5b7e79e2cc48265c71cb77e3ec0eae97676509fa | [
"MIT"
] | 8 | 2015-03-03T16:34:46.000Z | 2022-02-26T03:53:13.000Z | from test.schema_beam import BEAMConstructTest
from test.schema_eetf import EETFConstructTest
from test.beam_file import BEAMFileTest
import unittest
| 30 | 46 | 0.886667 | 20 | 150 | 6.5 | 0.55 | 0.184615 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 150 | 4 | 47 | 37.5 | 0.955882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3ad39364b775ae110df36a5c61e73287c5f90004 | 3,341 | py | Python | docker/sane-doc-reports/src/tests/library/elements/test_header_checks.py | ThisIsNotTheUserYouAreLookingFor/dockerfiles | f92673b0d15c457e4abe215cf260afbb5b25cf2e | [
"MIT"
] | 2 | 2020-12-14T15:43:39.000Z | 2020-12-14T15:43:49.000Z | docker/sane-doc-reports/src/tests/library/elements/test_header_checks.py | ThisIsNotTheUserYouAreLookingFor/dockerfiles | f92673b0d15c457e4abe215cf260afbb5b25cf2e | [
"MIT"
] | 7 | 2022-03-30T09:39:00.000Z | 2022-03-31T08:49:17.000Z | docker/sane-doc-reports/src/tests/library/elements/test_header_checks.py | ThisIsNotTheUserYouAreLookingFor/dockerfiles | f92673b0d15c457e4abe215cf260afbb5b25cf2e | [
"MIT"
] | 1 | 2021-06-17T09:27:04.000Z | 2021-06-17T09:27:04.000Z | from docx.table import Table
from sane_doc_reports.conf import XSOAR_LOGO_BASE64
from sane_doc_reports.populate.Report import Report
from tests import utils
from tests.utils import _transform
def test_logo_works_in_regular_report():
report = Report(*_transform('grid_checks/fullgrid.json'), options={
'cus... | 36.315217 | 427 | 0.725232 | 378 | 3,341 | 6.177249 | 0.185185 | 0.030835 | 0.051392 | 0.06424 | 0.727195 | 0.727195 | 0.727195 | 0.713919 | 0.713919 | 0.713919 | 0 | 0.032074 | 0.160132 | 3,341 | 91 | 428 | 36.714286 | 0.800071 | 0.076923 | 0 | 0.772727 | 0 | 0 | 0.252194 | 0.179396 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.090909 | false | 0 | 0.075758 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3aee35badfd66ae8bd99fcd6e71080bc5ed05e59 | 148 | py | Python | discord/ext/commands/errors.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | discord/ext/commands/errors.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | discord/ext/commands/errors.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | from disnake.ext.commands.errors import *
from disnake.ext.commands.errors import __dict__ as __original_dict__
locals().update(__original_dict__)
| 29.6 | 69 | 0.837838 | 20 | 148 | 5.5 | 0.55 | 0.2 | 0.254545 | 0.4 | 0.618182 | 0.618182 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 148 | 4 | 70 | 37 | 0.808824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
aaf09fe9df52fc5e88a3865d59a1bd4e10165d3b | 24,779 | py | Python | cottonformation/res/managedblockchain.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/managedblockchain.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/managedblockchain.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class PropNodeNodeConfiguration(Property):
"""
AWS Object Type = "AWS::Mana... | 62.573232 | 262 | 0.784212 | 2,377 | 24,779 | 8.091292 | 0.040808 | 0.142307 | 0.040607 | 0.062757 | 0.858732 | 0.858732 | 0.835543 | 0.768835 | 0.768835 | 0.767899 | 0 | 0.000045 | 0.098753 | 24,779 | 395 | 263 | 62.731646 | 0.861186 | 0.37552 | 0 | 0.39801 | 0 | 0 | 0.130541 | 0.099591 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029851 | false | 0.00995 | 0.019901 | 0 | 0.323383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aaf46dda1dd84c8d52af754525353ad38e5c22de | 174 | py | Python | cse/admin.py | Kunal614/Resources | 6bba32f9f70554ddc658e9dab864433d150e46d2 | [
"Apache-2.0"
] | 1 | 2021-10-08T10:42:39.000Z | 2021-10-08T10:42:39.000Z | cse/admin.py | Kunal614/Resources | 6bba32f9f70554ddc658e9dab864433d150e46d2 | [
"Apache-2.0"
] | 1 | 2021-07-10T04:22:44.000Z | 2021-07-10T04:22:44.000Z | cse/admin.py | Kunal614/Resources | 6bba32f9f70554ddc658e9dab864433d150e46d2 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(semester)
admin.site.register(subject)
admin.site.register(Books)
admin.site.register(Other_stuff) | 24.857143 | 32 | 0.821839 | 25 | 174 | 5.68 | 0.52 | 0.253521 | 0.478873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 174 | 7 | 33 | 24.857143 | 0.876543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c931e62ee32c8a2216391c72daa2845f602a8fe1 | 2,521 | py | Python | tests/varlookup_tests.py | dantaki/svtools | 9e13813ba25d0588bf2bbea204e34e7cef9bc039 | [
"MIT"
] | 120 | 2015-06-10T08:48:55.000Z | 2022-03-22T13:17:50.000Z | tests/varlookup_tests.py | dantaki/svtools | 9e13813ba25d0588bf2bbea204e34e7cef9bc039 | [
"MIT"
] | 281 | 2015-05-01T20:08:54.000Z | 2022-01-26T23:14:51.000Z | tests/varlookup_tests.py | dantaki/svtools | 9e13813ba25d0588bf2bbea204e34e7cef9bc039 | [
"MIT"
] | 52 | 2015-06-08T20:17:08.000Z | 2022-03-14T19:57:49.000Z | from unittest import TestCase, main
import os
import time
import sys
import tempfile
import difflib
import svtools.varlookup
class IntegrationTest_varlookup(TestCase):
def run_integration_test(self):
test_directory = os.path.dirname(os.path.abspath(__file__))
test_data_dir = os.path.join(test_direc... | 46.685185 | 118 | 0.668782 | 326 | 2,521 | 4.868098 | 0.233129 | 0.045369 | 0.055451 | 0.070573 | 0.860744 | 0.860744 | 0.860744 | 0.860744 | 0.860744 | 0.812854 | 0 | 0.006036 | 0.211424 | 2,521 | 53 | 119 | 47.566038 | 0.792254 | 0.01785 | 0 | 0.625 | 0 | 0 | 0.069956 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.041667 | false | 0 | 0.145833 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c93a9700c41f170ef69a61360ab983bab546bb09 | 146 | py | Python | torchfactor/factorization/__init__.py | Aaron09/torchfactor | 66782a183c583e3056e2c40d8d95568f4abb9537 | [
"MIT"
] | 5 | 2020-05-06T23:53:25.000Z | 2021-09-15T01:54:13.000Z | torchfactor/factorization/__init__.py | Aaron09/torchfactor | 66782a183c583e3056e2c40d8d95568f4abb9537 | [
"MIT"
] | null | null | null | torchfactor/factorization/__init__.py | Aaron09/torchfactor | 66782a183c583e3056e2c40d8d95568f4abb9537 | [
"MIT"
] | 1 | 2021-01-09T02:12:03.000Z | 2021-01-09T02:12:03.000Z | from .auto_tuckernet import AutoEncoderTucker
from .direct_tuckernet import DirectTuckerNet
from .nmfnet import NMFNet
from .svdnet import SVDNet
| 29.2 | 45 | 0.863014 | 18 | 146 | 6.888889 | 0.5 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 146 | 4 | 46 | 36.5 | 0.953846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a342529f3e84bce2f9dbded7d4a92d851540c4e2 | 38 | py | Python | selenium_browser/models/__init__.py | kkristof200/selenium_browser | b8144fe935073367911e90b50f078bfa985d6c0f | [
"MIT"
] | 1 | 2021-06-25T06:55:43.000Z | 2021-06-25T06:55:43.000Z | selenium_browser/models/__init__.py | kkristof200/selenium_browser | b8144fe935073367911e90b50f078bfa985d6c0f | [
"MIT"
] | null | null | null | selenium_browser/models/__init__.py | kkristof200/selenium_browser | b8144fe935073367911e90b50f078bfa985d6c0f | [
"MIT"
] | null | null | null | from .capabilities import Capabilities | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a34d58786867734555ba8855354b61ac31766012 | 36,453 | py | Python | src/main/python/smart/makeplots_simplified.py | cday97/beam | 7e1ab50eecaefafd04daab360f8b12bc7cab559b | [
"BSD-3-Clause-LBNL"
] | 123 | 2017-04-06T20:17:19.000Z | 2022-03-02T13:42:15.000Z | src/main/python/smart/makeplots_simplified.py | cday97/beam | 7e1ab50eecaefafd04daab360f8b12bc7cab559b | [
"BSD-3-Clause-LBNL"
] | 2,676 | 2017-04-26T20:27:27.000Z | 2022-03-31T16:39:53.000Z | src/main/python/smart/makeplots_simplified.py | cday97/beam | 7e1ab50eecaefafd04daab360f8b12bc7cab559b | [
"BSD-3-Clause-LBNL"
] | 60 | 2017-04-06T20:14:32.000Z | 2022-03-30T20:10:53.000Z | import pandas as pd
import matplotlib
import sys
import matplotlib.pyplot as plt
import numpy as np
import matplotlib.patches as mpatches
import matplotlib.lines as mlines
plt.style.use('seaborn-colorblind')
# plt.style.use('ggplot')
plt.rcParams['axes.edgecolor'] = 'black'
plt.rcParams['axes.facecolor'] = 'white'
plt... | 52.830435 | 206 | 0.748361 | 5,307 | 36,453 | 4.840211 | 0.052384 | 0.056643 | 0.078483 | 0.099194 | 0.899015 | 0.883638 | 0.865302 | 0.839296 | 0.797485 | 0.782341 | 0 | 0.037243 | 0.100623 | 36,453 | 689 | 207 | 52.907112 | 0.746256 | 0.009108 | 0 | 0.587361 | 0 | 0.001859 | 0.164552 | 0.033498 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005576 | 0.013011 | 0 | 0.013011 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3532c5f592af123c595b5e40f3f11ac8f7dc70d | 33 | py | Python | src/logging/__init__.py | siddk/annotated-butd | 71043a885208aad4258b11375c6d1aa586956371 | [
"MIT"
] | 4 | 2020-07-13T01:21:51.000Z | 2022-02-21T07:04:52.000Z | src/logging/__init__.py | siddk/annotated-butd | 71043a885208aad4258b11375c6d1aa586956371 | [
"MIT"
] | null | null | null | src/logging/__init__.py | siddk/annotated-butd | 71043a885208aad4258b11375c6d1aa586956371 | [
"MIT"
] | 2 | 2020-08-01T18:36:42.000Z | 2022-02-21T09:30:12.000Z | from .logger import MetricLogger
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6ed25b4979be7addba6d6aea140fc021cf088d6e | 295 | py | Python | scan-reporting/conversion_testing.py | rsjones94/scan-reporting | a1206183082dabb57ceb5da3b8d21f8861665f7d | [
"MIT"
] | null | null | null | scan-reporting/conversion_testing.py | rsjones94/scan-reporting | a1206183082dabb57ceb5da3b8d21f8861665f7d | [
"MIT"
] | null | null | null | scan-reporting/conversion_testing.py | rsjones94/scan-reporting | a1206183082dabb57ceb5da3b8d21f8861665f7d | [
"MIT"
] | null | null | null | import helpers as hp
the_file = '/Users/manusdonahue/Desktop/Projects/gstudy_converter/testdata/1.3.46.670589.11.17029.5.0.8164.2016041311023902000-301-1-1h7ec6.dcm'
targ_folder = '/Users/manusdonahue/Desktop/Projects/gstudy_converter/conv_testing/'
hp.dicom_to_parrec(the_file, targ_folder)
| 36.875 | 144 | 0.823729 | 45 | 295 | 5.2 | 0.733333 | 0.059829 | 0.205128 | 0.273504 | 0.401709 | 0.401709 | 0 | 0 | 0 | 0 | 0 | 0.175 | 0.050847 | 295 | 7 | 145 | 42.142857 | 0.660714 | 0 | 0 | 0 | 0 | 0.25 | 0.673469 | 0.673469 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ed6ff6d2bb7899d04fd755a6e7d1652c05338e8 | 40 | py | Python | spark_core/__init__.py | JohnOmernik/edwin_org | a8443b1863ba854078b5d5fd0884b80f58cc48a9 | [
"Apache-2.0"
] | null | null | null | spark_core/__init__.py | JohnOmernik/edwin_org | a8443b1863ba854078b5d5fd0884b80f58cc48a9 | [
"Apache-2.0"
] | null | null | null | spark_core/__init__.py | JohnOmernik/edwin_org | a8443b1863ba854078b5d5fd0884b80f58cc48a9 | [
"Apache-2.0"
] | null | null | null | from spark_core.spark_base import Spark
| 20 | 39 | 0.875 | 7 | 40 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e40eb508d693e52348b40cf1a90e2e76f36778e | 49,658 | py | Python | linearmodels/tests/panel/test_panel_ols.py | clarityai-eng/linearmodels | 21d059199925b51075ac2139e6d8ab44fdd17938 | [
"NCSA"
] | null | null | null | linearmodels/tests/panel/test_panel_ols.py | clarityai-eng/linearmodels | 21d059199925b51075ac2139e6d8ab44fdd17938 | [
"NCSA"
] | null | null | null | linearmodels/tests/panel/test_panel_ols.py | clarityai-eng/linearmodels | 21d059199925b51075ac2139e6d8ab44fdd17938 | [
"NCSA"
] | null | null | null | from itertools import product
import numpy as np
from numpy.linalg import lstsq
from numpy.testing import assert_allclose
import pandas as pd
import pytest
from linearmodels.iv.model import IV2SLS
from linearmodels.panel.data import PanelData
from linearmodels.panel.model import PanelOLS, PooledOLS
from linearmodels.... | 33.171677 | 88 | 0.664787 | 7,138 | 49,658 | 4.452368 | 0.048193 | 0.031528 | 0.030584 | 0.044177 | 0.800321 | 0.774645 | 0.749064 | 0.731506 | 0.722161 | 0.699223 | 0 | 0.015003 | 0.202686 | 49,658 | 1,496 | 89 | 33.19385 | 0.78769 | 0.000946 | 0 | 0.631366 | 0 | 0 | 0.044328 | 0.006148 | 0 | 0 | 0 | 0 | 0.097009 | 1 | 0.048504 | false | 0 | 0.011318 | 0.001617 | 0.066289 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
281e01662a3b9c4a99ef2e65503e0b04803b36fb | 158 | py | Python | planning_agents/aiagents/__init__.py | rohitrango/gym-minigrid | fa47eea178920003792ffaa956575351b894f099 | [
"Apache-2.0"
] | null | null | null | planning_agents/aiagents/__init__.py | rohitrango/gym-minigrid | fa47eea178920003792ffaa956575351b894f099 | [
"Apache-2.0"
] | 1 | 2020-01-27T17:54:32.000Z | 2020-01-27T17:54:32.000Z | planning_agents/aiagents/__init__.py | rohitrango/gym-minigrid | fa47eea178920003792ffaa956575351b894f099 | [
"Apache-2.0"
] | null | null | null | from .asistplanningagents import *
from .preemptive import *
from .selectivetriage import *
from .mixedtimestrategy import *
from .mixedproxstrategy import *
| 26.333333 | 34 | 0.810127 | 15 | 158 | 8.533333 | 0.466667 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 158 | 5 | 35 | 31.6 | 0.927536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
282849db0a0eb40053521e8b346d590741bb4a49 | 192 | py | Python | tfjs_graph_converter/__init__.py | ducky777/posenet-python | e27d37f31f5402c0770fee8b944f69a7c0289d03 | [
"Apache-2.0"
] | 1 | 2020-10-15T07:38:36.000Z | 2020-10-15T07:38:36.000Z | tfjs_graph_converter/__init__.py | ducky777/posenet-python | e27d37f31f5402c0770fee8b944f69a7c0289d03 | [
"Apache-2.0"
] | null | null | null | tfjs_graph_converter/__init__.py | ducky777/posenet-python | e27d37f31f5402c0770fee8b944f69a7c0289d03 | [
"Apache-2.0"
] | null | null | null | import os
from tfjs_graph_converter import version
# make tensorflow stop spamming messages
os.environ['TF_CPP_MIN_LOG_LEVEL'] = "3"
__version__ = version.VERSION
VERSION = version.VERSION
| 19.2 | 40 | 0.807292 | 27 | 192 | 5.37037 | 0.703704 | 0.482759 | 0.57931 | 0.57931 | 0.289655 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.125 | 192 | 9 | 41 | 21.333333 | 0.857143 | 0.197917 | 0 | 0 | 0 | 0 | 0.138158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 6 |
28706e08b5b056c0c45f4a70b4a41072464937ae | 171 | py | Python | app/routes/__init__.py | afrigon/fastapi-template | cb3c86353c67ef19c5abe12658e327ff37b14f90 | [
"MIT"
] | 2 | 2020-03-05T20:34:09.000Z | 2020-04-19T02:33:53.000Z | app/routes/__init__.py | afrigon/fastapi-template | cb3c86353c67ef19c5abe12658e327ff37b14f90 | [
"MIT"
] | 2 | 2019-12-17T18:49:29.000Z | 2019-12-17T23:19:11.000Z | app/routes/__init__.py | afrigon/fastapi-template | cb3c86353c67ef19c5abe12658e327ff37b14f90 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .router import Router # noqa: F401
from .factory import RouterFactory # noqa: F401
from .default_route import DefaultRoute # noqa: F401
| 21.375 | 53 | 0.707602 | 22 | 171 | 5.454545 | 0.590909 | 0.2 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071942 | 0.187135 | 171 | 7 | 54 | 24.428571 | 0.791367 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2893783a74c412b7f3e0502e14e6f93296a215eb | 137 | py | Python | pirates/snapshot/PSnapshotRenderer.py | ksmit799/POTCO-PS | 520d38935ae8df4b452c733a82c94dddac01e275 | [
"Apache-2.0"
] | 8 | 2017-01-24T04:33:29.000Z | 2020-11-01T08:36:24.000Z | pirates/snapshot/PSnapshotRenderer.py | ksmit799/Pirates-Online-Remake | 520d38935ae8df4b452c733a82c94dddac01e275 | [
"Apache-2.0"
] | 1 | 2017-03-02T18:05:17.000Z | 2017-03-14T06:47:10.000Z | pirates/snapshot/PSnapshotRenderer.py | ksmit799/Pirates-Online-Remake | 520d38935ae8df4b452c733a82c94dddac01e275 | [
"Apache-2.0"
] | 11 | 2017-03-02T18:46:07.000Z | 2020-11-01T08:36:26.000Z | # File: P (Python 2.4)
from otp.snapshot.SnapshotRenderer import SnapshotRenderer
class PSnapshotRenderer(SnapshotRenderer):
pass
| 17.125 | 58 | 0.788321 | 15 | 137 | 7.2 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.138686 | 137 | 7 | 59 | 19.571429 | 0.898305 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9577ae8a35dbecba2a08392c5470b92bec23eaf4 | 54 | py | Python | self_attention_cv/vit/__init__.py | Siyuan89/self-attention-cv | b39cde2fb68e05351bf3bc8048f4af13bbab256a | [
"MIT"
] | 759 | 2021-02-11T12:49:04.000Z | 2022-03-31T20:40:54.000Z | self_attention_cv/vit/__init__.py | youtang1993/self-attention-cv | ae215541d3e33d39f26947924253a63585683226 | [
"MIT"
] | 14 | 2021-03-02T17:04:00.000Z | 2022-03-21T09:34:30.000Z | self_attention_cv/vit/__init__.py | youtang1993/self-attention-cv | ae215541d3e33d39f26947924253a63585683226 | [
"MIT"
] | 97 | 2021-02-11T23:47:23.000Z | 2022-03-29T03:51:16.000Z | from .R50_ViT import ResNet50ViT
from .vit import ViT
| 18 | 32 | 0.814815 | 9 | 54 | 4.777778 | 0.555556 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.148148 | 54 | 2 | 33 | 27 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
958b08924a60e1508071dbfa6dc09a39c9591a0d | 80 | py | Python | gql_subscriptions/__init__.py | syfun/gql-subscriptions | 6007d54000da3890ece4aa9b766fbfbaa6501ee8 | [
"MIT"
] | 7 | 2020-04-21T13:34:34.000Z | 2021-05-07T07:58:52.000Z | gql_subscriptions/__init__.py | syfun/gql-subscriptions | 6007d54000da3890ece4aa9b766fbfbaa6501ee8 | [
"MIT"
] | null | null | null | gql_subscriptions/__init__.py | syfun/gql-subscriptions | 6007d54000da3890ece4aa9b766fbfbaa6501ee8 | [
"MIT"
] | null | null | null | from .pubsub import PubSub # noqa
from .with_filter import with_filter # noqa
| 26.666667 | 44 | 0.775 | 12 | 80 | 5 | 0.5 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 80 | 2 | 45 | 40 | 0.909091 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
959537e668e600237e750ff100394f623647fa56 | 193 | py | Python | src/surveyinterface/admin.py | UCHIC/SurveyDataViewer | 6027ea075a5c11c7686304eb9dd169664cee5c58 | [
"BSD-3-Clause"
] | 10 | 2015-01-20T17:04:47.000Z | 2020-10-24T02:16:00.000Z | src/surveyinterface/admin.py | UCHIC/SurveyDataViewer | 6027ea075a5c11c7686304eb9dd169664cee5c58 | [
"BSD-3-Clause"
] | 65 | 2015-01-16T19:17:18.000Z | 2018-02-12T23:03:11.000Z | src/surveyinterface/admin.py | UCHIC/SurveyDataViewer | 6027ea075a5c11c7686304eb9dd169664cee5c58 | [
"BSD-3-Clause"
] | 2 | 2019-07-08T20:57:14.000Z | 2020-06-02T13:29:25.000Z | from django.contrib import admin
from surveyinterface.models import Survey
# Register your models here.
class SurveyAdmin(admin.ModelAdmin):
pass
admin.site.register(Survey, SurveyAdmin) | 21.444444 | 41 | 0.80829 | 24 | 193 | 6.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124352 | 193 | 9 | 42 | 21.444444 | 0.923077 | 0.134715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
95e296bcb687c4e2bfd9ca3b4bef6aea67aab179 | 158 | py | Python | modules/2.79/bpy/types/Depsgraph.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/Depsgraph.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/Depsgraph.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | class Depsgraph:
def debug_graphviz(self, filename):
pass
def debug_rebuild(self):
pass
def debug_stats(self):
pass
| 11.285714 | 39 | 0.588608 | 18 | 158 | 5 | 0.555556 | 0.266667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.341772 | 158 | 13 | 40 | 12.153846 | 0.865385 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
250465ef6fa086dd207e117672e9fbd43671f392 | 15,394 | py | Python | core/scraper.py | AnglewoodJack/ScrapeJobs | f810e1a461c24bd10ad2376627d48f1b8a145966 | [
"MIT"
] | null | null | null | core/scraper.py | AnglewoodJack/ScrapeJobs | f810e1a461c24bd10ad2376627d48f1b8a145966 | [
"MIT"
] | null | null | null | core/scraper.py | AnglewoodJack/ScrapeJobs | f810e1a461c24bd10ad2376627d48f1b8a145966 | [
"MIT"
] | null | null | null | import random
import re
from time import sleep
from urllib.parse import urljoin
from bs4 import BeautifulSoup
from selenium.webdriver.support.select import Select
from selenium.webdriver.support.wait import WebDriverWait
from tqdm import tqdm
from dateutil import parser
class JobScraper:
"""
Job core.
"""
def _... | 33.176724 | 111 | 0.683643 | 2,368 | 15,394 | 4.357264 | 0.110642 | 0.048459 | 0.031498 | 0.044776 | 0.798992 | 0.775441 | 0.75722 | 0.74152 | 0.736674 | 0.736674 | 0 | 0.008785 | 0.201377 | 15,394 | 463 | 112 | 33.24838 | 0.830486 | 0.370534 | 0 | 0.705069 | 0 | 0 | 0.195896 | 0.081329 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050691 | false | 0.009217 | 0.041475 | 0 | 0.115207 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2524e58191b7183ceeca0f3107bb7b5a9cf510ce | 138 | py | Python | tests/fixtures/discover/test_exact.py | polishmatt/sputr | 7611d40090c8115dff69912725efc506414ac47a | [
"MIT"
] | 1 | 2017-02-13T23:09:18.000Z | 2017-02-13T23:09:18.000Z | tests/fixtures/discover/test_exact.py | polishmatt/sputr | 7611d40090c8115dff69912725efc506414ac47a | [
"MIT"
] | 6 | 2017-02-18T20:14:32.000Z | 2017-09-27T19:07:06.000Z | tests/fixtures/discover/test_exact.py | polishmatt/sputr | 7611d40090c8115dff69912725efc506414ac47a | [
"MIT"
] | null | null | null | import unittest
class ExactTest(unittest.TestCase):
def test_exact_name(self):
pass
def test_exact(self):
pass
| 13.8 | 35 | 0.65942 | 17 | 138 | 5.176471 | 0.647059 | 0.159091 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268116 | 138 | 9 | 36 | 15.333333 | 0.871287 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
256430c1303c1674506ce2f2d3d0a215c29487b9 | 35 | py | Python | package/mtwow/general/__init__.py | periodically-makes-puns/phoenix-mtwow-bote-py | ebef75e8a48d97c54b128c066d49d2ccd21a5dc9 | [
"MIT"
] | null | null | null | package/mtwow/general/__init__.py | periodically-makes-puns/phoenix-mtwow-bote-py | ebef75e8a48d97c54b128c066d49d2ccd21a5dc9 | [
"MIT"
] | 1 | 2019-11-26T03:09:23.000Z | 2019-11-26T03:09:23.000Z | package/mtwow/general/__init__.py | periodically-makes-puns/phoenix-mtwow-bote-py | ebef75e8a48d97c54b128c066d49d2ccd21a5dc9 | [
"MIT"
] | null | null | null | from . import sqlutils, user, admin | 35 | 35 | 0.771429 | 5 | 35 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c2641f01cbe78ed57e70ed502d7be2a86446f677 | 37,972 | py | Python | tests/test_controller.py | xIMRANx/morelia_server | 5119666151e14c964de256521cceed872cee5c48 | [
"MIT"
] | 1 | 2022-03-01T08:25:38.000Z | 2022-03-01T08:25:38.000Z | tests/test_controller.py | xIMRANx/morelia_server | 5119666151e14c964de256521cceed872cee5c48 | [
"MIT"
] | null | null | null | tests/test_controller.py | xIMRANx/morelia_server | 5119666151e14c964de256521cceed872cee5c48 | [
"MIT"
] | null | null | null | import inspect
import json
import os
import sys
import unittest
import configparser
from uuid import uuid4
import sqlobject as orm
from loguru import logger
# Add path to directory with code being checked
# to variable 'PATH' to import modules from directory
# above the directory with the tests.
BASE_PATH = os.path.a... | 33.338016 | 75 | 0.534157 | 3,737 | 37,972 | 5.248328 | 0.080278 | 0.046908 | 0.087238 | 0.099271 | 0.80722 | 0.786213 | 0.768011 | 0.725335 | 0.704839 | 0.688115 | 0 | 0.025822 | 0.347282 | 37,972 | 1,138 | 76 | 33.367311 | 0.765503 | 0.011377 | 0 | 0.663286 | 0 | 0 | 0.077181 | 0 | 0 | 0 | 0 | 0 | 0.059838 | 1 | 0.100406 | false | 0.030426 | 0.013185 | 0 | 0.128803 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c27b66a5dd16f76488edd5a1490f7443286605f6 | 145 | py | Python | tests/context.py | paoloinglese/pyimzML | 56a94ca45669aaae697f044eef50a8fd459e3b82 | [
"Apache-2.0"
] | 21 | 2016-03-29T14:55:40.000Z | 2022-02-25T01:53:03.000Z | tests/context.py | leorrose/pyimzML | 2a9da6c1b5e71e39ad01a2823a299029a87244ba | [
"Apache-2.0"
] | 21 | 2016-06-16T15:17:34.000Z | 2022-01-01T18:34:13.000Z | tests/context.py | leorrose/pyimzML | 2a9da6c1b5e71e39ad01a2823a299029a87244ba | [
"Apache-2.0"
] | 14 | 2015-09-03T15:26:55.000Z | 2022-03-02T13:41:58.000Z | import numpy as np
def getspectrum(min_mz, max_mz, n_peaks):
return min_mz + max_mz*np.random.rand(n_peaks), np.abs(np.random.randn(n_peaks)) | 48.333333 | 84 | 0.758621 | 29 | 145 | 3.551724 | 0.551724 | 0.174757 | 0.15534 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110345 | 145 | 3 | 84 | 48.333333 | 0.79845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
c28aaea58572decb6c65e9731bf33d2265e60e46 | 28,814 | py | Python | tests/integration/mongodb/factory/prof/profmgrcrud.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 5 | 2020-08-26T20:12:00.000Z | 2020-12-11T16:39:22.000Z | tests/integration/mongodb/factory/prof/profmgrcrud.py | RaenonX/Jelly-Bot | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 234 | 2019-12-14T03:45:19.000Z | 2020-08-26T18:55:19.000Z | tests/integration/mongodb/factory/prof/profmgrcrud.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 2 | 2019-10-23T15:21:15.000Z | 2020-05-22T09:35:55.000Z | from bson import ObjectId
from pymongo.errors import DuplicateKeyError
from flags import Platform, ProfilePermission, ProfilePermissionDefault
from models import OID_KEY, ChannelModel, ChannelProfileModel, ChannelConfigModel, ChannelProfileConnectionModel
from models.exceptions import RequiredKeyNotFilledError, Invali... | 49.339041 | 119 | 0.70674 | 2,905 | 28,814 | 6.75043 | 0.057487 | 0.055584 | 0.047833 | 0.052626 | 0.919021 | 0.893371 | 0.888577 | 0.873534 | 0.84564 | 0.830444 | 0 | 0.006141 | 0.20313 | 28,814 | 583 | 120 | 49.423671 | 0.847916 | 0 | 0 | 0.657447 | 0 | 0 | 0.014993 | 0.006941 | 0 | 0 | 0 | 0 | 0.323404 | 1 | 0.076596 | false | 0.004255 | 0.021277 | 0.002128 | 0.114894 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c2a1c404e6ce5815a32d63f80233cbe74d7d64fb | 110 | py | Python | animation/__init__.py | dansarno/pygame-pandemic-simulation | 24e4faa03538735552d189f1b5f286d80e25db4b | [
"MIT"
] | null | null | null | animation/__init__.py | dansarno/pygame-pandemic-simulation | 24e4faa03538735552d189f1b5f286d80e25db4b | [
"MIT"
] | null | null | null | animation/__init__.py | dansarno/pygame-pandemic-simulation | 24e4faa03538735552d189f1b5f286d80e25db4b | [
"MIT"
] | null | null | null | # __init__.py
from .environment import *
from .health import *
from .population import *
from .tools import *
| 18.333333 | 26 | 0.745455 | 14 | 110 | 5.571429 | 0.571429 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 110 | 5 | 27 | 22 | 0.847826 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c2aedc4dd552108dc65ea2b4a64d7f616eeb976e | 16,089 | py | Python | bridges/tests/api/surveys_url_my/test_surveys_url_get.py | pegasystems/building-bridges | 1a278df62c56421ab08b9ad14395fe9bf57cd32f | [
"MIT"
] | 20 | 2021-04-14T13:03:49.000Z | 2022-03-29T17:56:26.000Z | bridges/tests/api/surveys_url_my/test_surveys_url_get.py | pegasystems/building-bridges | 1a278df62c56421ab08b9ad14395fe9bf57cd32f | [
"MIT"
] | 50 | 2021-04-16T17:32:14.000Z | 2022-03-04T12:27:37.000Z | bridges/tests/api/surveys_url_my/test_surveys_url_get.py | pegasystems/building-bridges | 1a278df62c56421ab08b9ad14395fe9bf57cd32f | [
"MIT"
] | 2 | 2021-07-23T01:52:38.000Z | 2022-03-30T15:42:32.000Z | import json
from http import HTTPStatus
from unittest.mock import patch
from bridges.tests.api.basic_test import BasicTest
USER1 = {'host': 'host1.example.com', 'cookie': 'cookie1', 'user_id': 'abcdefghijklmnop'}
USER2 = {'host': 'host2.example.com', 'cookie': 'cookie2', 'user_id': 'abcdefghijklmnop'}
USER3 = {'host'... | 38.862319 | 98 | 0.464479 | 1,302 | 16,089 | 5.511521 | 0.110599 | 0.022297 | 0.039019 | 0.064103 | 0.833751 | 0.809225 | 0.750697 | 0.730909 | 0.693144 | 0.680045 | 0 | 0.013183 | 0.40593 | 16,089 | 413 | 99 | 38.956416 | 0.737602 | 0.006278 | 0 | 0.721785 | 0 | 0 | 0.253191 | 0.049186 | 0 | 0 | 0 | 0 | 0.028871 | 1 | 0.031496 | false | 0 | 0.010499 | 0 | 0.044619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 6 |
c2c670beb89250818d9ba91b71ae7255bd36f8b0 | 1,950 | py | Python | tests/plugins/gemini/test_gemini_case_mixin.py | robinandeer/puzzle | 9476f05b416d3a5135d25492cb31411fdf831c58 | [
"MIT"
] | 24 | 2015-10-15T16:29:58.000Z | 2020-12-08T22:14:13.000Z | tests/plugins/gemini/test_gemini_case_mixin.py | robinandeer/puzzle | 9476f05b416d3a5135d25492cb31411fdf831c58 | [
"MIT"
] | 212 | 2015-10-08T14:28:36.000Z | 2020-04-29T22:44:10.000Z | tests/plugins/gemini/test_gemini_case_mixin.py | robinandeer/puzzle | 9476f05b416d3a5135d25492cb31411fdf831c58 | [
"MIT"
] | 11 | 2015-10-08T09:26:46.000Z | 2018-02-02T16:45:07.000Z | from puzzle.plugins import GeminiPlugin
def test_get_individuals(gemini_case_obj):
adapter = GeminiPlugin()
adapter.add_case(gemini_case_obj)
ind_ids = [ind.ind_id for ind in adapter.individual_objs]
assert set(ind_ids) == set(['NA12877', 'NA12878', 'NA12882'])
def test_get_individuals_one_ind(ge... | 30 | 79 | 0.720513 | 281 | 1,950 | 4.654804 | 0.124555 | 0.137615 | 0.178899 | 0.129969 | 0.891437 | 0.873853 | 0.85474 | 0.808869 | 0.808869 | 0.753823 | 0 | 0.051439 | 0.162564 | 1,950 | 64 | 80 | 30.46875 | 0.749541 | 0 | 0 | 0.521739 | 0 | 0 | 0.057949 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 1 | 0.195652 | false | 0 | 0.021739 | 0 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6c3e90fd12bc1d9d67b44528dc5f0a07e1be15b9 | 101,080 | py | Python | RestaurantManagement.py | ManuelCLopes/RestaurantManagement | ae6e7d683fc4021a29a32c3df263a1edc62901a4 | [
"MIT"
] | null | null | null | RestaurantManagement.py | ManuelCLopes/RestaurantManagement | ae6e7d683fc4021a29a32c3df263a1edc62901a4 | [
"MIT"
] | null | null | null | RestaurantManagement.py | ManuelCLopes/RestaurantManagement | ae6e7d683fc4021a29a32c3df263a1edc62901a4 | [
"MIT"
] | null | null | null | import tkinter as tk
import tkinter.ttk as ttk
import os
import psycopg2
import RestaurantManagement as sW
from tkinter.ttk import Combobox
from tkinter.ttk import Label
from datetime import date
import hashlib
today = date.today()
LARGE_FONT= ("Verdana", 12)
restaurante = 0
admin = 0
Prato = ''
... | 50.870659 | 233 | 0.596646 | 12,170 | 101,080 | 4.832293 | 0.045111 | 0.025098 | 0.027139 | 0.036185 | 0.821201 | 0.79226 | 0.768726 | 0.752742 | 0.740822 | 0.729412 | 0 | 0.040756 | 0.263761 | 101,080 | 1,987 | 234 | 50.870659 | 0.749419 | 0.008746 | 0 | 0.671325 | 0 | 0.000559 | 0.110193 | 0.0049 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063723 | false | 0.045277 | 0.005031 | 0 | 0.127446 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6c44a12fd52f71ed6851944da1d3f5378205a0b8 | 14,744 | py | Python | src/resnet_models.py | AmirmohammadRostami/ASV-anti-spoofing-with-EABN | ab0be6a013a72c62a2a9b17f517d1c8894afbece | [
"MIT"
] | 2 | 2021-09-28T19:49:29.000Z | 2021-10-04T07:49:04.000Z | src/resnet_models.py | AmirmohammadRostami/ASV-anti-spoofing-with-EABN | ab0be6a013a72c62a2a9b17f517d1c8894afbece | [
"MIT"
] | null | null | null | src/resnet_models.py | AmirmohammadRostami/ASV-anti-spoofing-with-EABN | ab0be6a013a72c62a2a9b17f517d1c8894afbece | [
"MIT"
] | 1 | 2021-11-22T09:27:18.000Z | 2021-11-22T09:27:18.000Z | import math
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.utils.model_zoo as model_zoo
from src.resnet_blocks import SELayer, BasicBlock, SEBasicBlock, Bottleneck, SEBottleneck, Bottle2neck, SEBottle2neck
from src.pooling import StatsPooling
class ResNet(nn.Module):
""" basic Res... | 34.773585 | 117 | 0.527876 | 1,773 | 14,744 | 4.296672 | 0.104907 | 0.030192 | 0.024416 | 0.038068 | 0.846548 | 0.82607 | 0.8157 | 0.785639 | 0.771069 | 0.747572 | 0 | 0.057166 | 0.330846 | 14,744 | 423 | 118 | 34.855792 | 0.714981 | 0.4199 | 0 | 0.486486 | 0 | 0 | 0.007808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102703 | false | 0 | 0.037838 | 0 | 0.248649 | 0.016216 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6c540915237333411be752d1210906bd88660c89 | 104,660 | py | Python | tests/test_unittest_on_hw.py | iRomi14/drmlib | 0e7da6f9ec7aca3c167db667f1251b33c989bc5b | [
"Apache-2.0"
] | null | null | null | tests/test_unittest_on_hw.py | iRomi14/drmlib | 0e7da6f9ec7aca3c167db667f1251b33c989bc5b | [
"Apache-2.0"
] | null | null | null | tests/test_unittest_on_hw.py | iRomi14/drmlib | 0e7da6f9ec7aca3c167db667f1251b33c989bc5b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Test node-locked behavior of DRM Library.
"""
import pytest
import gc
from glob import glob
from os import remove, getpid
from os.path import getsize, isfile, dirname, join, realpath
from re import search, finditer, MULTILINE
from time import sleep, time
from json import loads
from datetime ... | 39.479442 | 143 | 0.684741 | 13,360 | 104,660 | 5.07253 | 0.043263 | 0.070239 | 0.047382 | 0.027446 | 0.84456 | 0.814738 | 0.780549 | 0.735661 | 0.708392 | 0.675781 | 0 | 0.007906 | 0.227785 | 104,660 | 2,650 | 144 | 39.49434 | 0.830611 | 0.116816 | 0 | 0.688167 | 0 | 0.00097 | 0.188976 | 0.034687 | 0 | 0 | 0.001316 | 0 | 0.231814 | 1 | 0.011154 | false | 0.048497 | 0.011154 | 0 | 0.023763 | 0.052861 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
666747a3f04116ddd56459514db87bad857c86ba | 98 | py | Python | Bricks/bricks/home/__init__.py | iOsnaaente/Web-Applications- | 94bfa5318fca1b651c9c659cb5a54a73e19a7927 | [
"MIT"
] | null | null | null | Bricks/bricks/home/__init__.py | iOsnaaente/Web-Applications- | 94bfa5318fca1b651c9c659cb5a54a73e19a7927 | [
"MIT"
] | null | null | null | Bricks/bricks/home/__init__.py | iOsnaaente/Web-Applications- | 94bfa5318fca1b651c9c659cb5a54a73e19a7927 | [
"MIT"
] | null | null | null | from flask import Blueprint
home_bp = Blueprint('home',__name__)
from bricks.home import routes
| 16.333333 | 36 | 0.795918 | 14 | 98 | 5.214286 | 0.642857 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 5 | 37 | 19.6 | 0.858824 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
6672a58a0381799a9854f50367e9603ff4bbaddb | 37 | py | Python | __init__.py | h-roy/Attentive-Group-Equivariant-Convolutional-Networks | 6ff0757e594c070f42b81fdd0bf4a7d27740be7c | [
"MIT"
] | null | null | null | __init__.py | h-roy/Attentive-Group-Equivariant-Convolutional-Networks | 6ff0757e594c070f42b81fdd0bf4a7d27740be7c | [
"MIT"
] | null | null | null | __init__.py | h-roy/Attentive-Group-Equivariant-Convolutional-Networks | 6ff0757e594c070f42b81fdd0bf4a7d27740be7c | [
"MIT"
] | null | null | null | from AttentionLayers.layers import *
| 18.5 | 36 | 0.837838 | 4 | 37 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
668a455d361f2545b652770068bdf6262b04b653 | 165 | py | Python | Proj/admin.py | narae0409/playpay | 8ca27083639c5c6567216155417351a6eb1f100d | [
"MIT"
] | 2 | 2021-01-18T14:31:26.000Z | 2021-01-18T15:52:54.000Z | Proj/admin.py | narae0409/playpay | 8ca27083639c5c6567216155417351a6eb1f100d | [
"MIT"
] | null | null | null | Proj/admin.py | narae0409/playpay | 8ca27083639c5c6567216155417351a6eb1f100d | [
"MIT"
] | null | null | null | from django.contrib import admin
from . models import *
# Register your models here.
admin.site.register(User)
admin.site.register(Board)
admin.site.register(Text) | 20.625 | 32 | 0.787879 | 24 | 165 | 5.416667 | 0.541667 | 0.207692 | 0.392308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 165 | 8 | 33 | 20.625 | 0.884354 | 0.157576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
669c6adfe39575565f91caf561843cea52bdc22c | 8,431 | py | Python | VirtualGym_WebProject/src/users/tests.py | LuBrian/VirtualGym | 9fe184214be4c23ed5842298e3c400fbe8de9f6d | [
"MIT"
] | null | null | null | VirtualGym_WebProject/src/users/tests.py | LuBrian/VirtualGym | 9fe184214be4c23ed5842298e3c400fbe8de9f6d | [
"MIT"
] | null | null | null | VirtualGym_WebProject/src/users/tests.py | LuBrian/VirtualGym | 9fe184214be4c23ed5842298e3c400fbe8de9f6d | [
"MIT"
] | null | null | null | from django.test import TestCase
import datetime
from VirtualGym.models import *
from selenium import webdriver
import time
import os,sys
# this test is a UI test for User app(basiclly sign in and sign out)
class UITestCase(TestCase):
# set up browser to firefox
def setUp(self):
self.browser = webdriver.Firefox()
... | 46.838889 | 110 | 0.713557 | 1,216 | 8,431 | 4.755757 | 0.132401 | 0.129345 | 0.119315 | 0.174996 | 0.795954 | 0.75549 | 0.7318 | 0.720214 | 0.684247 | 0.665917 | 0 | 0.017353 | 0.118254 | 8,431 | 179 | 111 | 47.100559 | 0.76056 | 0.073182 | 0 | 0.633987 | 0 | 0.006536 | 0.360303 | 0.153353 | 0 | 0 | 0 | 0 | 0.104575 | 1 | 0.058824 | false | 0.143791 | 0.039216 | 0 | 0.104575 | 0.176471 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
66aaaa0791636a0b7183020ee082cfea6ad8a9ac | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/core/tests/test_hashtable.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/core/tests/test_hashtable.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/core/tests/test_hashtable.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/65/5f/07/2fc3640e7a1065f9e37bb04fd1fc88a787d216a8cab10738d0f6938207 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dd1281db414b28a2fd6c38278487c7478af51784 | 71 | py | Python | trie_search/__init__.py | joein/trie-search | be1e407b572edee0307943028a2e0149ff842f07 | [
"MIT"
] | 15 | 2018-09-09T17:12:22.000Z | 2021-12-10T14:17:29.000Z | trie_search/__init__.py | joein/trie-search | be1e407b572edee0307943028a2e0149ff842f07 | [
"MIT"
] | 1 | 2019-03-05T16:39:33.000Z | 2019-03-05T16:39:33.000Z | trie_search/__init__.py | joein/trie-search | be1e407b572edee0307943028a2e0149ff842f07 | [
"MIT"
] | 6 | 2017-03-13T12:54:43.000Z | 2020-12-02T14:58:18.000Z | from .trie import TrieSearch
from .record_trie import RecordTrieSearch
| 23.666667 | 41 | 0.859155 | 9 | 71 | 6.666667 | 0.666667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 42 | 35.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd23ec3f830ec9af128f22847e35a6c229c49bbb | 12,017 | py | Python | SimModel_Python_API/simmodel_swig/Release/SimSite_BuildingSite_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 3 | 2016-05-30T15:12:16.000Z | 2022-03-22T08:11:13.000Z | SimModel_Python_API/simmodel_swig/Release/SimSite_BuildingSite_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | SimModel_Python_API/simmodel_swig/Release/SimSite_BuildingSite_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.7
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path imp... | 38.516026 | 133 | 0.737289 | 1,333 | 12,017 | 6.109527 | 0.123781 | 0.244966 | 0.293713 | 0.182343 | 0.656803 | 0.62279 | 0.588777 | 0.422397 | 0.369352 | 0.319008 | 0 | 0.001728 | 0.18116 | 12,017 | 311 | 134 | 38.639871 | 0.825915 | 0.024465 | 0 | 0.334746 | 1 | 0 | 0.02493 | 0.004952 | 0 | 0 | 0 | 0 | 0 | 1 | 0.211864 | false | 0.008475 | 0.04661 | 0.177966 | 0.614407 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
dd3b8f23d468e97a09bbe2722a9534334d202c0c | 97 | py | Python | VideoxD/__init__.py | BlackVirusOfficial/VideoStreamBot | c51d78905c6400dc9199b88b8a8cef7033193404 | [
"MIT"
] | 5 | 2021-12-09T15:27:12.000Z | 2022-02-26T11:30:45.000Z | VideoxD/__init__.py | BlackVirusOfficial/VideoStreamBot | c51d78905c6400dc9199b88b8a8cef7033193404 | [
"MIT"
] | null | null | null | VideoxD/__init__.py | BlackVirusOfficial/VideoStreamBot | c51d78905c6400dc9199b88b8a8cef7033193404 | [
"MIT"
] | 12 | 2021-12-16T10:29:23.000Z | 2022-02-13T13:14:23.000Z | from misc import app, bot, HELP, Calls
from config import VIDEO_CHAT_ID
chat_id = VIDEO_CHAT_ID
| 24.25 | 38 | 0.804124 | 18 | 97 | 4.055556 | 0.611111 | 0.246575 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 3 | 39 | 32.333333 | 0.890244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd990de244794b6b8a6dc1c4ef4df98fbe7556b3 | 38 | py | Python | sejongapi/settings/development.py | jamesj0918/sejongapi-v1 | 5945b959f7d4a97ec64ee40a28a797b30067421b | [
"MIT"
] | null | null | null | sejongapi/settings/development.py | jamesj0918/sejongapi-v1 | 5945b959f7d4a97ec64ee40a28a797b30067421b | [
"MIT"
] | 2 | 2020-02-11T23:35:52.000Z | 2020-06-05T19:55:32.000Z | sejongapi/settings/development.py | jamesj0918/sejongapi-v1 | 5945b959f7d4a97ec64ee40a28a797b30067421b | [
"MIT"
] | null | null | null | from sejongapi.settings.base import *
| 19 | 37 | 0.815789 | 5 | 38 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
06e6f39adaf59f1b7757e3bf0579100b4a517303 | 70 | py | Python | antelope_core/catalog/__init__.py | AntelopeLCA/core | ee40685add52ba41a462e2147fe8c377c6ba2a80 | [
"BSD-3-Clause"
] | 1 | 2021-10-06T18:42:49.000Z | 2021-10-06T18:42:49.000Z | antelope_core/catalog/__init__.py | AntelopeLCA/core | ee40685add52ba41a462e2147fe8c377c6ba2a80 | [
"BSD-3-Clause"
] | 6 | 2021-01-09T08:56:46.000Z | 2022-03-29T08:26:21.000Z | antelope_core/catalog/__init__.py | AntelopeLCA/core | ee40685add52ba41a462e2147fe8c377c6ba2a80 | [
"BSD-3-Clause"
] | null | null | null | from .catalog import StaticCatalog
from .lc_catalog import LcCatalog
| 17.5 | 34 | 0.842857 | 9 | 70 | 6.444444 | 0.666667 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 70 | 3 | 35 | 23.333333 | 0.95082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
664b52474da460892a6f7106fad6d896f7c1cbe5 | 3,528 | py | Python | src/generators/gmm.py | Arzik1987/prelim | 03d96558575cccff4ac85a3e8fb04944e34d1076 | [
"MIT"
] | 2 | 2021-10-16T06:25:30.000Z | 2021-10-21T13:11:00.000Z | src/generators/gmm.py | Arzik1987/prelim | 03d96558575cccff4ac85a3e8fb04944e34d1076 | [
"MIT"
] | null | null | null | src/generators/gmm.py | Arzik1987/prelim | 03d96558575cccff4ac85a3e8fb04944e34d1076 | [
"MIT"
] | null | null | null | import numpy as np
from sklearn.mixture import GaussianMixture
from sklearn.model_selection import GridSearchCV
class Gen_gmm:
def __init__(self, params: dict = None, cv=5):
if params is None:
self.params_ = {
"covariance_type": ["full", "tied", "diag", "spherical"],
... | 27.779528 | 105 | 0.544501 | 443 | 3,528 | 4.133183 | 0.189616 | 0.070999 | 0.045877 | 0.027854 | 0.797925 | 0.790279 | 0.790279 | 0.775533 | 0.701802 | 0.701802 | 0 | 0.018606 | 0.284014 | 3,528 | 126 | 106 | 28 | 0.706255 | 0.247166 | 0 | 0.720588 | 0 | 0 | 0.062572 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0.044118 | 0.088235 | 0.397059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.