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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c4e2e10f49a13463b769ca74126afd1bddc503bc | 25 | py | Python | my_classes/.history/ModulesPackages_PackageNamespaces/modules_1_20210725183904.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/modules_1_20210725183904.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/modules_1_20210725183904.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | print('------- Running ') | 25 | 25 | 0.48 | 2 | 25 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 25 | 1 | 25 | 25 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f2145a805a84e871619813e991fee507efcf532d | 64 | py | Python | primefactors/test_prime_factor.py | gartee-john-PFG/WorkshopAdvancedTDDPython | 72ae1ab8dfdd6d0c5c74e87edd3c4a79f121c57c | [
"MIT"
] | null | null | null | primefactors/test_prime_factor.py | gartee-john-PFG/WorkshopAdvancedTDDPython | 72ae1ab8dfdd6d0c5c74e87edd3c4a79f121c57c | [
"MIT"
] | null | null | null | primefactors/test_prime_factor.py | gartee-john-PFG/WorkshopAdvancedTDDPython | 72ae1ab8dfdd6d0c5c74e87edd3c4a79f121c57c | [
"MIT"
] | null | null | null | # from prime_factor import *
def test_prime_factor():
pass
| 12.8 | 28 | 0.71875 | 9 | 64 | 4.777778 | 0.777778 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203125 | 64 | 4 | 29 | 16 | 0.843137 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f21ab7bd417b312bb71bbd988ca2f7088fa8afc1 | 32 | py | Python | main/sqla/__init__.py | gwynethbradbury/itdb | 0664100b00ed8cf7d4565a0b2b90e089ad528733 | [
"BSD-3-Clause"
] | null | null | null | main/sqla/__init__.py | gwynethbradbury/itdb | 0664100b00ed8cf7d4565a0b2b90e089ad528733 | [
"BSD-3-Clause"
] | null | null | null | main/sqla/__init__.py | gwynethbradbury/itdb | 0664100b00ed8cf7d4565a0b2b90e089ad528733 | [
"BSD-3-Clause"
] | null | null | null |
import app
#app.start_app()
| 4.571429 | 16 | 0.65625 | 5 | 32 | 4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 6 | 17 | 5.333333 | 0.8 | 0.46875 | 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 |
48148e5ff9d5140098b424ba916ced82bb65141c | 10,955 | py | Python | aries_cloudagent/protocols/actionmenu/v1_0/tests/test_routes.py | kuraakhilesh8230/aries-cloudagent-python | ee384d1330f6a50ff45a507392ce54f92900f23a | [
"Apache-2.0"
] | 247 | 2019-07-02T21:10:21.000Z | 2022-03-30T13:55:33.000Z | aries_cloudagent/protocols/actionmenu/v1_0/tests/test_routes.py | kuraakhilesh8230/aries-cloudagent-python | ee384d1330f6a50ff45a507392ce54f92900f23a | [
"Apache-2.0"
] | 1,462 | 2019-07-02T20:57:30.000Z | 2022-03-31T23:13:35.000Z | aries_cloudagent/protocols/actionmenu/v1_0/tests/test_routes.py | kuraakhilesh8230/aries-cloudagent-python | ee384d1330f6a50ff45a507392ce54f92900f23a | [
"Apache-2.0"
] | 377 | 2019-06-20T21:01:31.000Z | 2022-03-30T08:27:53.000Z | from asynctest import TestCase as AsyncTestCase
from asynctest import mock as async_mock
from .....admin.request_context import AdminRequestContext
from .....storage.error import StorageNotFoundError
from .. import routes as test_module
class TestActionMenuRoutes(AsyncTestCase):
def setUp(self):
self.se... | 40.275735 | 88 | 0.665906 | 1,263 | 10,955 | 5.441013 | 0.077593 | 0.085128 | 0.099243 | 0.072759 | 0.878201 | 0.855064 | 0.846624 | 0.83702 | 0.824505 | 0.824505 | 0 | 0 | 0.24628 | 10,955 | 271 | 89 | 40.424354 | 0.832264 | 0.020447 | 0 | 0.658537 | 0 | 0 | 0.052872 | 0.008579 | 0 | 0 | 0 | 0 | 0.092683 | 1 | 0.004878 | false | 0 | 0.02439 | 0 | 0.034146 | 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 |
481829789616b20be1176df25ea8f38efb0eeed6 | 29 | py | Python | deadset/__init__.py | buanzo/deadset | e9ee9017da8a45f20371bc33d393757509a32815 | [
"Apache-2.0"
] | null | null | null | deadset/__init__.py | buanzo/deadset | e9ee9017da8a45f20371bc33d393757509a32815 | [
"Apache-2.0"
] | null | null | null | deadset/__init__.py | buanzo/deadset | e9ee9017da8a45f20371bc33d393757509a32815 | [
"Apache-2.0"
] | null | null | null | from .deadset import DeadSet
| 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 |
6fdce1ec0d53d46241f02b67e214a77ec6d89e22 | 373 | py | Python | Lessons/L7.py | sometheasiekswx/SopheanyPythonLessons | b2e9faf0d7634e56cd7b71148f1821915a0c6157 | [
"MIT"
] | null | null | null | Lessons/L7.py | sometheasiekswx/SopheanyPythonLessons | b2e9faf0d7634e56cd7b71148f1821915a0c6157 | [
"MIT"
] | null | null | null | Lessons/L7.py | sometheasiekswx/SopheanyPythonLessons | b2e9faf0d7634e56cd7b71148f1821915a0c6157 | [
"MIT"
] | null | null | null | def remove_all_occurences(list, remove_value):
return None
def is_leap(list, remove_value):
return None
def add(a, b):
return None
def g(list, remove_value):
return None
def t(list, remove_value):
return None
print(2 in [1,2])
def if_funtion():
if 2 in [1,2]:
return True
print(i... | 12.032258 | 46 | 0.630027 | 62 | 373 | 3.645161 | 0.354839 | 0.221239 | 0.265487 | 0.371681 | 0.623894 | 0.513274 | 0.141593 | 0 | 0 | 0 | 0 | 0.032491 | 0.257373 | 373 | 30 | 47 | 12.433333 | 0.783394 | 0 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0 | 0.294118 | 0.705882 | 0.176471 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6fe3e6e1c1d81894b3e7824fde948b7478361134 | 205 | py | Python | platforms/winpack_dldt/2020.4/patch.config.py | lefatoum2/opencv | f7cab121fe2954c67b343b3b7805e1c092812093 | [
"Apache-2.0"
] | 56,632 | 2016-07-04T16:36:08.000Z | 2022-03-31T18:38:14.000Z | platforms/winpack_dldt/2020.4/patch.config.py | yusufm423/opencv | 6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067 | [
"Apache-2.0"
] | 13,593 | 2016-07-04T13:59:03.000Z | 2022-03-31T21:04:51.000Z | platforms/winpack_dldt/2020.4/patch.config.py | yusufm423/opencv | 6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067 | [
"Apache-2.0"
] | 54,986 | 2016-07-04T14:24:38.000Z | 2022-03-31T22:51:18.000Z | applyPatch('20200701-dldt-disable-unused-targets.patch')
applyPatch('20200413-dldt-pdb.patch')
applyPatch('20200604-dldt-disable-multidevice.patch')
applyPatch('20201005-dldt-fix-cldnn-compilation.patch')
| 41 | 56 | 0.819512 | 25 | 205 | 6.72 | 0.6 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159204 | 0.019512 | 205 | 4 | 57 | 51.25 | 0.676617 | 0 | 0 | 0 | 0 | 0 | 0.707317 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82f546605542a0a5afb059501f4a21e3d5deb8ae | 32 | py | Python | examples/math.sqrt/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.sqrt/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.sqrt/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | import math
print(math.sqrt(2))
| 10.666667 | 19 | 0.75 | 6 | 32 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.09375 | 32 | 2 | 20 | 16 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d20adf7da1521f92bd85bf9876efd6ac7cd2aaf1 | 442 | py | Python | river/tree/_attribute_test/attribute_split_suggestion.py | Styren/river | 128a5ffe9f80df85e23d9ae871e02bea6dc9c100 | [
"BSD-3-Clause"
] | 1 | 2020-12-04T18:56:19.000Z | 2020-12-04T18:56:19.000Z | river/tree/_attribute_test/attribute_split_suggestion.py | Styren/river | 128a5ffe9f80df85e23d9ae871e02bea6dc9c100 | [
"BSD-3-Clause"
] | null | null | null | river/tree/_attribute_test/attribute_split_suggestion.py | Styren/river | 128a5ffe9f80df85e23d9ae871e02bea6dc9c100 | [
"BSD-3-Clause"
] | 1 | 2021-01-22T15:18:39.000Z | 2021-01-22T15:18:39.000Z | class AttributeSplitSuggestion:
def __init__(self, split_test, resulting_class_distributions, merit):
self.split_test = split_test
self.resulting_class_distributions = resulting_class_distributions
self.merit = merit
def num_splits(self):
return len(self.resulting_class_distribu... | 36.833333 | 74 | 0.762443 | 51 | 442 | 6.156863 | 0.333333 | 0.22293 | 0.429936 | 0.296178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178733 | 442 | 11 | 75 | 40.181818 | 0.865014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d22c148027b7667323c6f4986984e395a5fd3ee7 | 189 | py | Python | wakeful/__init__.py | robOcity/wakeful | e3a50649e6208da28feea2fe402f119b0223293d | [
"MIT"
] | null | null | null | wakeful/__init__.py | robOcity/wakeful | e3a50649e6208da28feea2fe402f119b0223293d | [
"MIT"
] | null | null | null | wakeful/__init__.py | robOcity/wakeful | e3a50649e6208da28feea2fe402f119b0223293d | [
"MIT"
] | null | null | null | from . import api_registration
from . import metrics
from . import virus_total
from . import log_munger
from . import ip_address_regex
from . import pipelining
from . import subsample_pair
| 23.625 | 30 | 0.814815 | 27 | 189 | 5.481481 | 0.555556 | 0.472973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 189 | 7 | 31 | 27 | 0.919255 | 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 |
d2471bdcd5d3e09a7b753871cb48c6c118576ee1 | 64 | py | Python | TelegramBot8/Model/__init__.py | AppDevIn/Telegram-Bot8 | 6bed3332154909667e7f2b8f958c9d6b9b01b54c | [
"MIT"
] | null | null | null | TelegramBot8/Model/__init__.py | AppDevIn/Telegram-Bot8 | 6bed3332154909667e7f2b8f958c9d6b9b01b54c | [
"MIT"
] | 14 | 2022-02-06T08:28:52.000Z | 2022-02-25T11:51:24.000Z | TelegramBot8/Model/__init__.py | AppDevIn/TelegramBot | 6bed3332154909667e7f2b8f958c9d6b9b01b54c | [
"MIT"
] | null | null | null | from .Dto import *
from .Response import *
from .Reqest import * | 21.333333 | 23 | 0.734375 | 9 | 64 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 3 | 24 | 21.333333 | 0.886792 | 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 |
d2779e9dca7dafe94a2ee125055f330f3c50cb69 | 14,871 | py | Python | api/users/tests/tests_exporter_roles_and_permissions.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 3 | 2019-05-15T09:30:39.000Z | 2020-04-22T16:14:23.000Z | api/users/tests/tests_exporter_roles_and_permissions.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 85 | 2019-04-24T10:39:35.000Z | 2022-03-21T14:52:12.000Z | api/users/tests/tests_exporter_roles_and_permissions.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | 1 | 2021-01-17T11:12:19.000Z | 2021-01-17T11:12:19.000Z | from django.urls import reverse
from parameterized import parameterized
from rest_framework import status
from api.core import constants
from api.core.constants import ExporterPermissions
from test_helpers.clients import DataTestClient
from api.users.enums import UserType
from api.users.models import Role, Permission,... | 45.898148 | 118 | 0.684957 | 1,676 | 14,871 | 5.840692 | 0.082936 | 0.08009 | 0.10093 | 0.073756 | 0.859843 | 0.838492 | 0.809582 | 0.780672 | 0.76065 | 0.757381 | 0 | 0.004318 | 0.205837 | 14,871 | 323 | 119 | 46.040248 | 0.824555 | 0.012239 | 0 | 0.596154 | 0 | 0 | 0.065305 | 0.015322 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.053846 | false | 0 | 0.030769 | 0 | 0.088462 | 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 |
963df734fe62085e433674522830ce731e3150a9 | 72 | py | Python | Hero2Vector/utils/__init__.py | diorw/dota_analyze_and_prediction | 3f5a6f21ba74fe065bbb5cc2fa8f512986023249 | [
"MIT"
] | null | null | null | Hero2Vector/utils/__init__.py | diorw/dota_analyze_and_prediction | 3f5a6f21ba74fe065bbb5cc2fa8f512986023249 | [
"MIT"
] | null | null | null | Hero2Vector/utils/__init__.py | diorw/dota_analyze_and_prediction | 3f5a6f21ba74fe065bbb5cc2fa8f512986023249 | [
"MIT"
] | null | null | null | from . import dataset
from . import evaluation
from . import prediction
| 18 | 24 | 0.791667 | 9 | 72 | 6.333333 | 0.555556 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 25 | 24 | 0.95 | 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 |
966b2c217d16cf2b010512b58092a98162fe8b22 | 335 | py | Python | kaori/plugins/gacha/engine/test_lib.py | austinpray/kaori | b21c4146b9d0d27b87015cff0768138568a12e9c | [
"MIT"
] | 3 | 2020-05-04T03:43:20.000Z | 2020-12-03T22:34:47.000Z | kaori/plugins/gacha/engine/test_lib.py | austinpray/kaori | b21c4146b9d0d27b87015cff0768138568a12e9c | [
"MIT"
] | 287 | 2020-04-21T02:39:47.000Z | 2022-03-28T13:11:59.000Z | kaori/plugins/gacha/engine/test_lib.py | austinpray/kaori | b21c4146b9d0d27b87015cff0768138568a12e9c | [
"MIT"
] | 1 | 2020-10-22T00:20:43.000Z | 2020-10-22T00:20:43.000Z | from .core import *
def test_humanize():
assert humanize_nature(baby, clown) == 'baby clown'
assert humanize_nature(clown, baby) == 'clown baby'
assert humanize_nature(baby, cursed) == 'cursed baby'
assert humanize_nature(cursed, baby) == 'cursed baby'
assert humanize_nature(feral, cursed) == 'fer... | 33.5 | 63 | 0.704478 | 42 | 335 | 5.47619 | 0.309524 | 0.304348 | 0.434783 | 0.313043 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176119 | 335 | 9 | 64 | 37.222222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.173134 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 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 |
73dcf465a951f71e15b0e096ed7ce983e9914120 | 205 | py | Python | transactions.py | hendrikschneider/python-raft | 78e79fee2327e94c1f8f9352adf92dbad80c56e2 | [
"MIT"
] | null | null | null | transactions.py | hendrikschneider/python-raft | 78e79fee2327e94c1f8f9352adf92dbad80c56e2 | [
"MIT"
] | null | null | null | transactions.py | hendrikschneider/python-raft | 78e79fee2327e94c1f8f9352adf92dbad80c56e2 | [
"MIT"
] | null | null | null | import json
class Transaction(object):
def __init__(self, **kwargs):
self.kwargs = kwargs
def __repr__(self):
return "<Transaction: {}>".format(json.dumps(self.kwargs))
| 20.5 | 67 | 0.614634 | 22 | 205 | 5.363636 | 0.590909 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24878 | 205 | 9 | 68 | 22.777778 | 0.766234 | 0 | 0 | 0 | 0 | 0 | 0.086735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fb495c6a4489de17e315812136bcf2880ea2a6cb | 96 | py | Python | tests/algebra/test_phi.py | arjunbharti/PyRival | c0c8eabdba8a213e008039c1a3d1f9127874832c | [
"Apache-2.0"
] | 1 | 2021-05-29T04:27:52.000Z | 2021-05-29T04:27:52.000Z | tests/algebra/test_phi.py | Mukundan314/PyRival | 49c32c1f41e0257bef0f6ac04c415d2b0ff89248 | [
"Apache-2.0"
] | null | null | null | tests/algebra/test_phi.py | Mukundan314/PyRival | 49c32c1f41e0257bef0f6ac04c415d2b0ff89248 | [
"Apache-2.0"
] | 1 | 2020-06-07T14:30:13.000Z | 2020-06-07T14:30:13.000Z | import pyrival.algebra
def test_phi(phi):
assert pyrival.algebra.phi(len(phi) - 1) == phi
| 16 | 51 | 0.697917 | 15 | 96 | 4.4 | 0.6 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.166667 | 96 | 5 | 52 | 19.2 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
fb54aa5ff36bbafff68ad625ffd787e4a6b2ca15 | 30 | py | Python | config/models.py | godwon2095/algorithm_project | c8140f75a14535592cac06a62c480be13c45d7c1 | [
"MIT"
] | null | null | null | config/models.py | godwon2095/algorithm_project | c8140f75a14535592cac06a62c480be13c45d7c1 | [
"MIT"
] | null | null | null | config/models.py | godwon2095/algorithm_project | c8140f75a14535592cac06a62c480be13c45d7c1 | [
"MIT"
] | null | null | null | from django.db.models import * | 30 | 30 | 0.8 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 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 |
fb84eb08bf79e58288f03e56118cb4d0a58b9e33 | 28 | py | Python | adet/structures/__init__.py | manusheoran/AdelaiDet_DA | 04f0843c6be8e436716783300abcba715d560853 | [
"BSD-2-Clause"
] | 2,597 | 2020-03-15T06:01:23.000Z | 2022-03-31T18:21:31.000Z | adet/structures/__init__.py | manusheoran/AdelaiDet_DA | 04f0843c6be8e436716783300abcba715d560853 | [
"BSD-2-Clause"
] | 467 | 2020-03-16T11:31:52.000Z | 2022-03-31T08:50:15.000Z | adet/structures/__init__.py | manusheoran/AdelaiDet_DA | 04f0843c6be8e436716783300abcba715d560853 | [
"BSD-2-Clause"
] | 584 | 2020-03-15T05:53:40.000Z | 2022-03-26T02:56:30.000Z | from .beziers import Beziers | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb9cf806824d01424153531869961e18ccb2739b | 73 | py | Python | cpp/neneshogi_cpp/__init__.py | select766/neneshogi | f355745844fb4c1add3e10083783d849be8ab80f | [
"MIT"
] | 6 | 2017-11-13T13:07:44.000Z | 2021-10-07T03:48:43.000Z | cpp/neneshogi_cpp/__init__.py | select766/neneshogi | f355745844fb4c1add3e10083783d849be8ab80f | [
"MIT"
] | null | null | null | cpp/neneshogi_cpp/__init__.py | select766/neneshogi | f355745844fb4c1add3e10083783d849be8ab80f | [
"MIT"
] | null | null | null | # to enable pycharm completion
from neneshogi_cpp.neneshogi_cpp import *
| 24.333333 | 41 | 0.835616 | 10 | 73 | 5.9 | 0.8 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 73 | 2 | 42 | 36.5 | 0.921875 | 0.383562 | 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 |
fba5a89bad069c8f853fb4198a8831a83ee2ed1e | 116 | py | Python | backend/backend/contact/tests.py | epm0dev/personal-website | 6090f7b1c82e36625939edaa47a846abc10e70a0 | [
"MIT"
] | 1 | 2020-12-29T15:52:37.000Z | 2020-12-29T15:52:37.000Z | backend/backend/contact/tests.py | epm0dev/personal-website | 6090f7b1c82e36625939edaa47a846abc10e70a0 | [
"MIT"
] | 2 | 2021-04-08T20:44:41.000Z | 2021-06-09T18:28:45.000Z | backend/backend/contact/tests.py | epm0dev/personal-website | 6090f7b1c82e36625939edaa47a846abc10e70a0 | [
"MIT"
] | null | null | null | from django.test import TestCase
class ContactFormModelTestCase(TestCase):
"""
TODO Docs
"""
pass
| 12.888889 | 41 | 0.663793 | 11 | 116 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 116 | 8 | 42 | 14.5 | 0.885057 | 0.077586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
fbda92671ecda009408026d3fe4be856e615b23c | 21 | py | Python | apytl/__init__.py | anadolski/apytl | eab20a143e73aef2187c552021ed4e02744f39fb | [
"BSD-3-Clause"
] | 1 | 2022-01-21T18:36:20.000Z | 2022-01-21T18:36:20.000Z | esbmc_wr/bar/__init__.py | thalestas/esbmc-wr | b10521a1f36e3c8c08799c05bed710263d7c1df6 | [
"Apache-2.0"
] | 4 | 2021-06-01T20:50:46.000Z | 2022-01-04T04:30:24.000Z | apytl/__init__.py | anadolski/apytl | eab20a143e73aef2187c552021ed4e02744f39fb | [
"BSD-3-Clause"
] | 1 | 2022-01-31T03:47:33.000Z | 2022-01-31T03:47:33.000Z | from .bar import Bar
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83704c3112563bf59ba4a3c225724f8bd4843e3e | 283 | py | Python | erudite/components/__init__.py | rerobins/rho_erudite | 154347e05da6030048840a060eaf5ae62ee8aec7 | [
"BSD-3-Clause"
] | null | null | null | erudite/components/__init__.py | rerobins/rho_erudite | 154347e05da6030048840a060eaf5ae62ee8aec7 | [
"BSD-3-Clause"
] | null | null | null | erudite/components/__init__.py | rerobins/rho_erudite | 154347e05da6030048840a060eaf5ae62ee8aec7 | [
"BSD-3-Clause"
] | null | null | null | from erudite.components.knowledge_provider import knowledge_provider
from erudite.components.search_handler import search_handler
from sleekxmpp.plugins.base import register_plugin
def load_components():
register_plugin(knowledge_provider)
register_plugin(search_handler)
| 28.3 | 68 | 0.858657 | 34 | 283 | 6.852941 | 0.441176 | 0.218884 | 0.180258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095406 | 283 | 9 | 69 | 31.444444 | 0.910156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
837e9ce14e14533cf59aa53bb71ea56443afdd25 | 38 | py | Python | deeppavlov/skills/pattern_matching_skill/__init__.py | ineersa/DeepPavlov | 8200bf9a0f0b378baad4ee0eb75b59453f516004 | [
"Apache-2.0"
] | 3 | 2020-04-16T04:25:10.000Z | 2021-05-07T23:04:43.000Z | deeppavlov/skills/pattern_matching_skill/__init__.py | ineersa/DeepPavlov | 8200bf9a0f0b378baad4ee0eb75b59453f516004 | [
"Apache-2.0"
] | 12 | 2020-01-28T22:14:04.000Z | 2022-02-10T00:10:17.000Z | deeppavlov/skills/pattern_matching_skill/__init__.py | ineersa/DeepPavlov | 8200bf9a0f0b378baad4ee0eb75b59453f516004 | [
"Apache-2.0"
] | 1 | 2022-02-08T14:41:28.000Z | 2022-02-08T14:41:28.000Z | from .pattern_matching_skill import *
| 19 | 37 | 0.842105 | 5 | 38 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.882353 | 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 |
83863b2698b311b33fceeb045ed84f092af278db | 47 | py | Python | aiotruenas_client/__init__.py | MatthewFlamm/aiotruenas-client | 52977b2fcb044de7b580de0099d758d6fda45dc3 | [
"MIT"
] | null | null | null | aiotruenas_client/__init__.py | MatthewFlamm/aiotruenas-client | 52977b2fcb044de7b580de0099d758d6fda45dc3 | [
"MIT"
] | null | null | null | aiotruenas_client/__init__.py | MatthewFlamm/aiotruenas-client | 52977b2fcb044de7b580de0099d758d6fda45dc3 | [
"MIT"
] | null | null | null | from .websockets.machine import CachingMachine
| 23.5 | 46 | 0.87234 | 5 | 47 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 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 |
839c32104fff5672a5fd2bc247d880aebcb6104c | 175 | py | Python | src/prefect/environments/__init__.py | skyline-ai/prefect | 92430f2f91215d6c27d92ad67df67ccd639e587c | [
"Apache-2.0"
] | null | null | null | src/prefect/environments/__init__.py | skyline-ai/prefect | 92430f2f91215d6c27d92ad67df67ccd639e587c | [
"Apache-2.0"
] | null | null | null | src/prefect/environments/__init__.py | skyline-ai/prefect | 92430f2f91215d6c27d92ad67df67ccd639e587c | [
"Apache-2.0"
] | null | null | null | from prefect.environments.execution import (
Environment,
LocalEnvironment,
RemoteEnvironment,
)
from prefect.environments.execution.cloud import CloudEnvironment
| 25 | 65 | 0.805714 | 15 | 175 | 9.4 | 0.666667 | 0.156028 | 0.326241 | 0.453901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137143 | 175 | 6 | 66 | 29.166667 | 0.933775 | 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 | 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 |
83c66ef1afdb8ae7090d0075b73b2441f50a698c | 21 | py | Python | bareditor/__init__.py | mrakitin/bareditor | be944acb5d65f06ea9b9dd14eeecd1f89299cecf | [
"BSD-3-Clause"
] | null | null | null | bareditor/__init__.py | mrakitin/bareditor | be944acb5d65f06ea9b9dd14eeecd1f89299cecf | [
"BSD-3-Clause"
] | null | null | null | bareditor/__init__.py | mrakitin/bareditor | be944acb5d65f06ea9b9dd14eeecd1f89299cecf | [
"BSD-3-Clause"
] | 1 | 2019-10-13T01:42:16.000Z | 2019-10-13T01:42:16.000Z | import wx
print('ok') | 10.5 | 11 | 0.714286 | 4 | 21 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 21 | 2 | 11 | 10.5 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
83ceff064e4eba61a2d9c84aefc5071dfe535f24 | 6,062 | py | Python | tests/api/v1/test_export_control.py | redhat-cip/dci-control-server | 6dee30e7b8770fde2466f2b09554d299a3f3db4d | [
"Apache-2.0"
] | 17 | 2016-09-02T09:21:29.000Z | 2021-09-27T11:33:58.000Z | tests/api/v1/test_export_control.py | redhat-cip/dci-control-server | 6dee30e7b8770fde2466f2b09554d299a3f3db4d | [
"Apache-2.0"
] | 80 | 2015-12-09T09:29:26.000Z | 2021-01-06T08:24:22.000Z | tests/api/v1/test_export_control.py | redhat-cip/dci-control-server | 6dee30e7b8770fde2466f2b09554d299a3f3db4d | [
"Apache-2.0"
] | 10 | 2015-09-29T21:34:53.000Z | 2021-09-27T11:34:01.000Z | # -*- coding: utf-8 -*-
#
# Copyright (C) Red Hat, Inc
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | 48.111111 | 132 | 0.658364 | 907 | 6,062 | 4.190739 | 0.16538 | 0.052092 | 0.044199 | 0.063141 | 0.790318 | 0.768482 | 0.756906 | 0.746383 | 0.730597 | 0.714286 | 0 | 0.023366 | 0.202243 | 6,062 | 125 | 133 | 48.496 | 0.762614 | 0.187067 | 0 | 0.759494 | 0 | 0 | 0.224268 | 0.129937 | 0 | 0 | 0 | 0 | 0.278481 | 1 | 0.050633 | false | 0 | 0.050633 | 0 | 0.101266 | 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 |
83d024dfa0ce33ccf4bf0fc4f6201a88e3798681 | 1,139 | py | Python | app/bin/dltk/core/logging/brancher.py | splunk/deep-learning-toolkit | 84f9c978d9859a96f6ba566737a5c7102738d13c | [
"Apache-2.0"
] | 11 | 2020-10-13T05:27:59.000Z | 2021-09-23T02:56:32.000Z | app/bin/dltk/core/logging/brancher.py | splunk/deep-learning-toolkit | 84f9c978d9859a96f6ba566737a5c7102738d13c | [
"Apache-2.0"
] | 48 | 2020-10-15T09:53:36.000Z | 2021-07-05T15:33:24.000Z | app/bin/dltk/core/logging/brancher.py | splunk/deep-learning-toolkit | 84f9c978d9859a96f6ba566737a5c7102738d13c | [
"Apache-2.0"
] | 4 | 2020-12-04T08:51:35.000Z | 2022-03-27T09:42:20.000Z | import logging
__all__ = ["BranchLogger"]
class BranchLogger(object):
logger_a = None
logger_b = None
def __init__(self, logger_a, logger_b):
self.logger_a = logger_a
self.logger_b = logger_b
def log(self, level, message, *args, **kwargs):
self.logger_a.log(
leve... | 25.311111 | 67 | 0.574188 | 130 | 1,139 | 4.892308 | 0.207692 | 0.224843 | 0.347484 | 0.216981 | 0.416667 | 0.322327 | 0.322327 | 0.322327 | 0 | 0 | 0 | 0 | 0.29763 | 1,139 | 44 | 68 | 25.886364 | 0.795 | 0.018437 | 0 | 0.25 | 0 | 0 | 0.010753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0.03125 | 0.15625 | 0.5625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
83e564d54cee4d6f27f4fc3b4057304dfd528cde | 121 | py | Python | module/Interface/__init__.py | Phosphophyllite2018/Phosphophyllite | 72602b24db012d97e0c9c245c1fa914e7442c2ff | [
"MIT"
] | null | null | null | module/Interface/__init__.py | Phosphophyllite2018/Phosphophyllite | 72602b24db012d97e0c9c245c1fa914e7442c2ff | [
"MIT"
] | null | null | null | module/Interface/__init__.py | Phosphophyllite2018/Phosphophyllite | 72602b24db012d97e0c9c245c1fa914e7442c2ff | [
"MIT"
] | null | null | null | from . import BlogInterface
from . import ArticleInterface
from . import MessageInterface
from . import MarkdownInterface | 30.25 | 31 | 0.842975 | 12 | 121 | 8.5 | 0.5 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123967 | 121 | 4 | 31 | 30.25 | 0.962264 | 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 |
f7c42ae785d8e74b8ab6e6bf63efb4f4928d67a8 | 170 | py | Python | okonf/__init__.py | hoh/Okonf | 26b3629b20504bc1c4ee51f054df6a59e54427ae | [
"Apache-2.0"
] | 1 | 2018-03-20T14:55:41.000Z | 2018-03-20T14:55:41.000Z | okonf/__init__.py | hoh/Okonf | 26b3629b20504bc1c4ee51f054df6a59e54427ae | [
"Apache-2.0"
] | null | null | null | okonf/__init__.py | hoh/Okonf | 26b3629b20504bc1c4ee51f054df6a59e54427ae | [
"Apache-2.0"
] | null | null | null | import okonf.connectors
import okonf.facts
import okonf.utils
from okonf.facts.multiple import Sequence, Collection
assert Sequence
assert Collection
assert okonf.utils
| 18.888889 | 53 | 0.852941 | 23 | 170 | 6.304348 | 0.434783 | 0.227586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 170 | 8 | 54 | 21.25 | 0.953947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f7d3d92d3403b5c886e375192eeee54c8bb0155c | 25,556 | py | Python | mrpy/spatial_operators/ctr_poly/2nd_order_ctr_finite_diff/divergence.py | marc-nguessan/mrpy | 6fb0bce485234a45bb863f71bc2bdf0a22014de3 | [
"BSD-3-Clause"
] | 2 | 2020-01-06T10:48:44.000Z | 2020-01-09T20:07:08.000Z | mrpy/spatial_operators/ctr_poly/2nd_order_ctr_finite_diff/divergence.py | marc-nguessan/mrpy | 6fb0bce485234a45bb863f71bc2bdf0a22014de3 | [
"BSD-3-Clause"
] | 1 | 2020-01-09T20:08:50.000Z | 2020-01-09T20:11:20.000Z | mrpy/spatial_operators/ctr_poly/2nd_order_ctr_finite_diff/divergence.py | marc-nguessan/mrpy | 6fb0bce485234a45bb863f71bc2bdf0a22014de3 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import print_function, division
#!!!!!!!! NEED TO BE UPDATED TO TAKE THE SAME FORM AS OPERATORS IN HAAR !!!!!!!!
"""This module is used to compute the divergence operator in the x-direction.
The procedure "create_matrix" returns the matrix representing the linear
combination of this operation on a ca... | 44.291161 | 129 | 0.520543 | 3,608 | 25,556 | 3.581208 | 0.061253 | 0.024147 | 0.058355 | 0.085288 | 0.828187 | 0.824549 | 0.789954 | 0.785233 | 0.777571 | 0.767665 | 0 | 0.02303 | 0.34755 | 25,556 | 576 | 130 | 44.368056 | 0.751889 | 0.119346 | 0 | 0.622222 | 0 | 0 | 0.025254 | 0.000988 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005556 | false | 0.033333 | 0.030556 | 0 | 0.052778 | 0.022222 | 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 |
f7e1853a36d9478d521fc02cd268a1f96ec42609 | 38 | py | Python | src/__init__.py | csonido/VCFfrom23AndMe | a25d2c587e5f86d98f99cba63da9fb60fe839f92 | [
"MIT"
] | null | null | null | src/__init__.py | csonido/VCFfrom23AndMe | a25d2c587e5f86d98f99cba63da9fb60fe839f92 | [
"MIT"
] | null | null | null | src/__init__.py | csonido/VCFfrom23AndMe | a25d2c587e5f86d98f99cba63da9fb60fe839f92 | [
"MIT"
] | null | null | null | from ._23andMeToVCF import from_file
| 19 | 37 | 0.842105 | 5 | 38 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.131579 | 38 | 1 | 38 | 38 | 0.848485 | 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 |
f7e38b416802bd1d183545e9994bc388ff2ff231 | 46 | py | Python | test_demo.py | leileigong/travis-py-demo | 5b67a7c3922a0c7ce3d2409b1ce410eb5eea9af6 | [
"MIT"
] | null | null | null | test_demo.py | leileigong/travis-py-demo | 5b67a7c3922a0c7ce3d2409b1ce410eb5eea9af6 | [
"MIT"
] | null | null | null | test_demo.py | leileigong/travis-py-demo | 5b67a7c3922a0c7ce3d2409b1ce410eb5eea9af6 | [
"MIT"
] | null | null | null | def test_coll_intersection():
assert True
| 15.333333 | 29 | 0.76087 | 6 | 46 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 30 | 23 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7f59b62bb3925d5a26dd4052ddb689617179e89 | 104 | py | Python | tests/exog/random/random_exog_300_1280.py | shaido987/pyaf | b9afd089557bed6b90b246d3712c481ae26a1957 | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/exog/random/random_exog_300_1280.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/exog/random/random_exog_300_1280.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | import tests.exog.test_random_exogenous as testrandexog
testrandexog.test_random_exogenous( 300,1280); | 26 | 55 | 0.865385 | 14 | 104 | 6.142857 | 0.714286 | 0.232558 | 0.44186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 0.067308 | 104 | 4 | 56 | 26 | 0.814433 | 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 |
7906d1ae2c90175bcee045c784344e55fb521f0b | 14,451 | py | Python | tests/test_workflows.py | apikay/celery-director | 3575e9f89690f6f2518c9939be6169fb4383cbed | [
"BSD-3-Clause"
] | 351 | 2020-01-30T14:37:48.000Z | 2022-03-29T11:34:14.000Z | tests/test_workflows.py | apikay/celery-director | 3575e9f89690f6f2518c9939be6169fb4383cbed | [
"BSD-3-Clause"
] | 53 | 2020-02-14T17:06:48.000Z | 2022-03-22T14:37:36.000Z | tests/test_workflows.py | apikay/celery-director | 3575e9f89690f6f2518c9939be6169fb4383cbed | [
"BSD-3-Clause"
] | 33 | 2020-01-31T14:27:21.000Z | 2022-03-10T19:50:06.000Z | import time
import pytest
from celery.result import GroupResult
from celery.schedules import crontab
from kombu.exceptions import EncodeError
from director import build_celery_schedule
from director.exceptions import WorkflowSyntaxError
from director.models.tasks import Task
from director.models.workflows import Work... | 36.959079 | 110 | 0.652135 | 1,914 | 14,451 | 4.729363 | 0.077325 | 0.03281 | 0.028723 | 0.030049 | 0.863897 | 0.84335 | 0.816173 | 0.803027 | 0.790212 | 0.757402 | 0 | 0.014925 | 0.188637 | 14,451 | 390 | 111 | 37.053846 | 0.7571 | 0.046018 | 0 | 0.569444 | 0 | 0 | 0.148372 | 0.037293 | 0 | 0 | 0 | 0 | 0.388889 | 1 | 0.0625 | false | 0 | 0.03125 | 0 | 0.09375 | 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 |
7920f12ca70f3c6bd1519cfad966774a16f7938d | 34 | py | Python | hcap_utils/models/__init__.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | null | null | null | hcap_utils/models/__init__.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | 31 | 2020-04-11T13:38:17.000Z | 2021-09-22T18:51:11.000Z | hcap_utils/models/__init__.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | 1 | 2020-04-08T17:04:39.000Z | 2020-04-08T17:04:39.000Z | from .seed_state import SeedState
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 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 |
7921827290e630b4e2ef42e13f3eeadbd70a01a1 | 15,652 | py | Python | src/tests/orga/views/test_orga_views_mail.py | hrchu/pretalx | cd7e5525f80c7290d9650065b4cf4f085032adfc | [
"Apache-2.0"
] | 3 | 2020-03-28T06:21:27.000Z | 2020-03-28T12:59:21.000Z | src/tests/orga/views/test_orga_views_mail.py | hrchu/pretalx | cd7e5525f80c7290d9650065b4cf4f085032adfc | [
"Apache-2.0"
] | 14 | 2020-03-27T22:46:38.000Z | 2020-03-29T18:40:02.000Z | src/tests/orga/views/test_orga_views_mail.py | hrchu/pretalx | cd7e5525f80c7290d9650065b4cf4f085032adfc | [
"Apache-2.0"
] | 4 | 2020-03-21T10:33:20.000Z | 2020-03-28T10:14:19.000Z | import pytest
from django.core import mail as djmail
from django_scopes import scope
from pretalx.mail.models import MailTemplate, QueuedMail
@pytest.mark.django_db
def test_orga_can_view_pending_mails(orga_client, event, mail, other_mail):
response = orga_client.get(event.orga_urls.outbox)
assert response.s... | 34.174672 | 88 | 0.655188 | 1,981 | 15,652 | 4.940434 | 0.069662 | 0.062328 | 0.058649 | 0.079595 | 0.878104 | 0.837335 | 0.824461 | 0.799837 | 0.758455 | 0.719219 | 0 | 0.012918 | 0.223486 | 15,652 | 457 | 89 | 34.249453 | 0.792332 | 0.003003 | 0 | 0.669154 | 0 | 0 | 0.060822 | 0.008139 | 0 | 0 | 0 | 0 | 0.256219 | 1 | 0.067164 | false | 0 | 0.00995 | 0 | 0.077114 | 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 |
793429e4e031135aa539ac7e06e5ce355b4567d6 | 3,403 | py | Python | networkapi/api_ip/permissions.py | vinicius-marinho/GloboNetworkAPI | 94651d3b4dd180769bc40ec966814f3427ccfb5b | [
"Apache-2.0"
] | 73 | 2015-04-13T17:56:11.000Z | 2022-03-24T06:13:07.000Z | networkapi/api_ip/permissions.py | leopoldomauricio/GloboNetworkAPI | 3b5b2e336d9eb53b2c113977bfe466b23a50aa29 | [
"Apache-2.0"
] | 99 | 2015-04-03T01:04:46.000Z | 2021-10-03T23:24:48.000Z | networkapi/api_ip/permissions.py | shildenbrand/GloboNetworkAPI | 515d5e961456cee657c08c275faa1b69b7452719 | [
"Apache-2.0"
] | 64 | 2015-08-05T21:26:29.000Z | 2022-03-22T01:06:28.000Z | # -*- coding: utf-8 -*-
from rest_framework.permissions import BasePermission
from networkapi.admin_permission import AdminPermission
from networkapi.api_ip.facade import get_ipv4_by_ids
from networkapi.api_ip.facade import get_ipv6_by_ids
from networkapi.api_network.facade.v3 import get_networkipv4_by_ids
from networ... | 25.977099 | 69 | 0.607699 | 356 | 3,403 | 5.553371 | 0.174157 | 0.050582 | 0.060698 | 0.091047 | 0.814365 | 0.811836 | 0.811836 | 0.777441 | 0.748103 | 0.712696 | 0 | 0.010544 | 0.303262 | 3,403 | 130 | 70 | 26.176923 | 0.823281 | 0.006171 | 0 | 0.638298 | 0 | 0 | 0.027811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12766 | false | 0 | 0.085106 | 0.06383 | 0.404255 | 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 |
f718d4a046685a88df8c7e67861745f498bb0714 | 96 | py | Python | venv/lib/python3.8/site-packages/pkginfo/tests/__init__.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pkginfo/tests/__init__.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/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/2c/59/97/f8e5f25cbfc169c1e81504fc2144624a0b7d4d17526ee7745023ffd740 | 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 |
f78860f5a77861b4004faabf6c76b527b73a59a2 | 65 | py | Python | paper_code/distributed_evolution/populations/__init__.py | adam-katona/QualityEvolvabilityES | ebb96e1dbc2422109714c0f5c8174073f9cc6c6f | [
"MIT"
] | 1 | 2021-10-06T15:08:42.000Z | 2021-10-06T15:08:42.000Z | paper_code/distributed_evolution/populations/__init__.py | adam-katona/QualityEvolvabilityES | ebb96e1dbc2422109714c0f5c8174073f9cc6c6f | [
"MIT"
] | null | null | null | paper_code/distributed_evolution/populations/__init__.py | adam-katona/QualityEvolvabilityES | ebb96e1dbc2422109714c0f5c8174073f9cc6c6f | [
"MIT"
] | null | null | null | from .mix_normal import MixtureNormal
from .normal import Normal
| 21.666667 | 37 | 0.846154 | 9 | 65 | 6 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 65 | 2 | 38 | 32.5 | 0.947368 | 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 |
e3f5978044de62989d3c0468fdf418711ec6f0d2 | 8,207 | py | Python | test_autolens/integration/tests/interferometer/full_pipeline/hyper_no_lens_light_bg.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | 1 | 2020-04-06T20:07:56.000Z | 2020-04-06T20:07:56.000Z | test_autolens/integration/tests/interferometer/full_pipeline/hyper_no_lens_light_bg.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | null | null | null | test_autolens/integration/tests/interferometer/full_pipeline/hyper_no_lens_light_bg.py | harshitjindal/PyAutoLens | f1d3f08f12a61f6634e1b7a0ccf8f5cfe0252035 | [
"MIT"
] | null | null | null | import autofit as af
import autolens as al
from test_autolens.integration.tests.interferometer import runner
test_type = "full_pipeline"
test_name = "hyper_no_lens_light_bg"
data_type = "lens_sie__source_smooth"
data_resolution = "sma"
def make_pipeline(
name,
phase_folders,
pipeline_pixelization=al.pix.... | 33.092742 | 88 | 0.652248 | 879 | 8,207 | 5.734926 | 0.137656 | 0.035707 | 0.041658 | 0.03174 | 0.816306 | 0.72803 | 0.723071 | 0.719302 | 0.719302 | 0.719302 | 0 | 0.016003 | 0.269039 | 8,207 | 247 | 89 | 33.226721 | 0.824304 | 0.04947 | 0 | 0.61828 | 0 | 0 | 0.063105 | 0.060008 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026882 | false | 0 | 0.021505 | 0 | 0.075269 | 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 |
5808d671682913da309e52da5f6913ab22c74888 | 45 | py | Python | hydro/__init__.py | capruitt/hydro | bb128b3c1381eff735bc8e89ef84273f3ee1f550 | [
"MIT"
] | 3 | 2016-12-21T16:31:51.000Z | 2017-01-22T12:50:26.000Z | hydro/__init__.py | capruitt/hydro | bb128b3c1381eff735bc8e89ef84273f3ee1f550 | [
"MIT"
] | null | null | null | hydro/__init__.py | capruitt/hydro | bb128b3c1381eff735bc8e89ef84273f3ee1f550 | [
"MIT"
] | 5 | 2016-08-19T23:23:55.000Z | 2020-10-22T18:13:01.000Z | from .core import *
from .geography import *
| 15 | 24 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 25 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58752c4c54956c2e50a39d8fffb3417dacdb4695 | 31 | py | Python | tests/test_visualize.py | matthewfeickert/yadage | bf6531a3f430bb409119332398f3fa6edde5e997 | [
"MIT"
] | 14 | 2017-01-09T03:48:51.000Z | 2018-07-03T06:59:11.000Z | tests/test_visualize.py | matthewfeickert/yadage | bf6531a3f430bb409119332398f3fa6edde5e997 | [
"MIT"
] | 52 | 2017-05-11T10:12:54.000Z | 2018-06-24T15:52:31.000Z | tests/test_visualize.py | lukasheinrich/yadage | 314078ec6e015c37e60b30e007bc02694e69e011 | [
"MIT"
] | 5 | 2019-01-29T10:50:30.000Z | 2020-05-12T14:10:30.000Z | def test_visualize():
pass
| 10.333333 | 21 | 0.677419 | 4 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 2 | 22 | 15.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5876c56efbabb0b981dc3f6f5c8a8b0bde130094 | 3,467 | py | Python | tests/functional/test_full_upgrade.py | AKhodus/adcm | 98dbf22af3f1c6afa94505e9acaff0ac4088a602 | [
"Apache-2.0"
] | null | null | null | tests/functional/test_full_upgrade.py | AKhodus/adcm | 98dbf22af3f1c6afa94505e9acaff0ac4088a602 | [
"Apache-2.0"
] | null | null | null | tests/functional/test_full_upgrade.py | AKhodus/adcm | 98dbf22af3f1c6afa94505e9acaff0ac4088a602 | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | 45.025974 | 84 | 0.731468 | 475 | 3,467 | 5.075789 | 0.254737 | 0.037329 | 0.045624 | 0.056408 | 0.767316 | 0.767316 | 0.767316 | 0.767316 | 0.767316 | 0.767316 | 0 | 0.012384 | 0.161523 | 3,467 | 76 | 85 | 45.618421 | 0.816993 | 0.234497 | 0 | 0.90566 | 0 | 0 | 0.148063 | 0.017645 | 0 | 0 | 0 | 0 | 0.150943 | 1 | 0.037736 | false | 0 | 0.056604 | 0 | 0.09434 | 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 |
58a18f9db4d7e7e8a1b1b0f6e317a25302f51be1 | 24 | py | Python | acq4/filetypes/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/filetypes/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | acq4/filetypes/__init__.py | ablot/acq4 | ba7cd340d9d0282640adb501d3788f8c0837e4c4 | [
"MIT"
] | null | null | null | from filetypes import *
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54491a3931c9c46d24b5b0c9ff16ef8b5d326e34 | 179 | py | Python | repos/spiketoolkit/spiketoolkit/preprocessing/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | repos/spiketoolkit/spiketoolkit/preprocessing/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | repos/spiketoolkit/spiketoolkit/preprocessing/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | from .bandpass_filter import bandpass_filter
from .whiten import whiten
from .common_reference import common_reference
from .resample import resample
from .rectify import rectify
| 29.833333 | 46 | 0.860335 | 24 | 179 | 6.25 | 0.375 | 0.186667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111732 | 179 | 5 | 47 | 35.8 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5461991006e5aba0d63313746db42f734392f06a | 3,753 | py | Python | app/views.py | ActuallyZach/in_app_purchase_receipt_verifier | f342809bcc2a16a34de3cccf965f0821a5bd552b | [
"Apache-2.0"
] | 1 | 2021-12-10T09:59:17.000Z | 2021-12-10T09:59:17.000Z | app/views.py | ActuallyZach/in_app_purchase_receipt_verifier | f342809bcc2a16a34de3cccf965f0821a5bd552b | [
"Apache-2.0"
] | null | null | null | app/views.py | ActuallyZach/in_app_purchase_receipt_verifier | f342809bcc2a16a34de3cccf965f0821a5bd552b | [
"Apache-2.0"
] | null | null | null | import json
import logging
import base64
from django.conf import settings
from django.shortcuts import get_object_or_404
from django.views.decorators.csrf import csrf_exempt
from lionheart.decorators import render_json
from lionheart.utils import JSONResponse
import requests
from Crypto.PublicKey import RSA
from Cry... | 30.512195 | 92 | 0.674127 | 452 | 3,753 | 5.409292 | 0.19469 | 0.03681 | 0.031902 | 0.068712 | 0.826585 | 0.826585 | 0.826585 | 0.757873 | 0.757873 | 0.692843 | 0 | 0.030892 | 0.232347 | 3,753 | 122 | 93 | 30.762295 | 0.817772 | 0.061284 | 0 | 0.633333 | 0 | 0 | 0.039227 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0.033333 | 0.177778 | 0 | 0.244444 | 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 |
54a3556bbae9e927f5a0a9894bcd6dca943767b9 | 32,065 | py | Python | app1.py | trs123s/ModernFarming | 28f99c090ed041486c3c3bbae1054cc9279261bd | [
"MIT"
] | null | null | null | app1.py | trs123s/ModernFarming | 28f99c090ed041486c3c3bbae1054cc9279261bd | [
"MIT"
] | null | null | null | app1.py | trs123s/ModernFarming | 28f99c090ed041486c3c3bbae1054cc9279261bd | [
"MIT"
] | null | null | null | # Importing essential libraries and modules
from flask import Flask, render_template, request, Markup, session, redirect, flash
import numpy as np
import pandas as pd
from utils.disease import disease_dic
from utils.fertilizer import fertilizer_dic
import requests
import config
import pickle
import io
import os
import... | 35.352811 | 308 | 0.547014 | 3,147 | 32,065 | 5.385446 | 0.111535 | 0.075938 | 0.043663 | 0.012981 | 0.896094 | 0.880871 | 0.876151 | 0.876151 | 0.869896 | 0.861872 | 0 | 0.004496 | 0.278528 | 32,065 | 906 | 309 | 35.391832 | 0.728106 | 0.59738 | 0 | 0.310606 | 0 | 0.003788 | 0.166572 | 0.008304 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068182 | false | 0.018939 | 0.049242 | 0.003788 | 0.223485 | 0.022727 | 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 |
54a9f62fe66f76339b9a08d84a47bd14992a5f1e | 97 | py | Python | morax/data/__init__.py | punidramesh/Hades | 0a7c4c632d23f41a0ee16c3fd4d9a7fc49c8f848 | [
"MIT"
] | 1 | 2021-06-12T11:31:26.000Z | 2021-06-12T11:31:26.000Z | morax/data/__init__.py | abhishekkushwaha4u/morax | 21fe16d7a76cfabfc57151c7a9ef1c6cd68d303e | [
"MIT"
] | null | null | null | morax/data/__init__.py | abhishekkushwaha4u/morax | 21fe16d7a76cfabfc57151c7a9ef1c6cd68d303e | [
"MIT"
] | 1 | 2021-05-26T08:24:31.000Z | 2021-05-26T08:24:31.000Z | import os, sys
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
sys.path.append("..") | 32.333333 | 60 | 0.742268 | 16 | 97 | 4.25 | 0.5 | 0.205882 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 97 | 3 | 61 | 32.333333 | 0.731183 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 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 |
49bca0938ff01b4d509de00bf9441fde57d68638 | 28,413 | py | Python | tensorflow/python/kernel_tests/check_ops_test.py | atfkaka/tensorflow | 5657d0dee8d87f4594b3e5902ed3e3ca8d6dfc0a | [
"Apache-2.0"
] | 101 | 2016-12-03T11:40:52.000Z | 2017-12-23T02:02:03.000Z | tensorflow/python/kernel_tests/check_ops_test.py | atfkaka/tensorflow | 5657d0dee8d87f4594b3e5902ed3e3ca8d6dfc0a | [
"Apache-2.0"
] | 9 | 2016-12-14T03:27:46.000Z | 2017-09-13T02:29:07.000Z | tensorflow/python/kernel_tests/check_ops_test.py | atfkaka/tensorflow | 5657d0dee8d87f4594b3e5902ed3e3ca8d6dfc0a | [
"Apache-2.0"
] | 47 | 2016-12-04T12:37:24.000Z | 2018-01-14T18:13:07.000Z | # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 38.395946 | 80 | 0.668567 | 3,806 | 28,413 | 4.728324 | 0.058592 | 0.054679 | 0.056012 | 0.088686 | 0.869415 | 0.850245 | 0.840687 | 0.809624 | 0.779784 | 0.749667 | 0 | 0.013167 | 0.200788 | 28,413 | 739 | 81 | 38.447903 | 0.779329 | 0.04966 | 0 | 0.695205 | 0 | 0 | 0.041606 | 0.001557 | 0 | 0 | 0 | 0 | 0.244863 | 1 | 0.155822 | false | 0 | 0.008562 | 0 | 0.190068 | 0.001712 | 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 |
49eb92c54d2dec5992906faf0003895412a6f8e2 | 11,496 | py | Python | menpo/transform/test/h_align_test.py | yuxiang-zhou/menpo | 01deaf3808cbe7a3d9db5542ac9d9f53cd81743a | [
"BSD-3-Clause"
] | 1 | 2021-04-20T00:36:57.000Z | 2021-04-20T00:36:57.000Z | menpo/transform/test/h_align_test.py | yuxiang-zhou/menpo | 01deaf3808cbe7a3d9db5542ac9d9f53cd81743a | [
"BSD-3-Clause"
] | 1 | 2019-03-09T16:01:46.000Z | 2019-03-09T16:01:46.000Z | menpo/transform/test/h_align_test.py | yuxiang-zhou/menpo | 01deaf3808cbe7a3d9db5542ac9d9f53cd81743a | [
"BSD-3-Clause"
] | 1 | 2020-05-01T09:55:57.000Z | 2020-05-01T09:55:57.000Z | import numpy as np
from numpy.testing import assert_allclose, raises
from menpo.shape import PointCloud
from menpo.transform import (Affine, AlignmentAffine,
Similarity, AlignmentSimilarity,
Rotation, AlignmentRotation,
Translation, ... | 37.203883 | 79 | 0.560282 | 1,293 | 11,496 | 4.802011 | 0.075019 | 0.026091 | 0.023192 | 0.019327 | 0.799163 | 0.76518 | 0.739733 | 0.726043 | 0.726043 | 0.710904 | 0 | 0.035251 | 0.32881 | 11,496 | 308 | 80 | 37.324675 | 0.76944 | 0.142397 | 0 | 0.730594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003247 | 0.100457 | 1 | 0.073059 | false | 0 | 0.018265 | 0 | 0.091324 | 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 |
49ebde28b5a79e5a798874a3c9f1bbe9667d7547 | 63,588 | py | Python | util.py | qcwthu/Continual_Fewshot_Relation_Learning | 9d94a9ddc9de6300deec1d5bd434cda0a7a3f1eb | [
"MIT"
] | null | null | null | util.py | qcwthu/Continual_Fewshot_Relation_Learning | 9d94a9ddc9de6300deec1d5bd434cda0a7a3f1eb | [
"MIT"
] | null | null | null | util.py | qcwthu/Continual_Fewshot_Relation_Learning | 9d94a9ddc9de6300deec1d5bd434cda0a7a3f1eb | [
"MIT"
] | null | null | null | import sys
import os
import random
import torch
import numpy as np
import re
import json
from collections import defaultdict
import hashlib
def set_seed(config, seed):
random.seed(seed)
np.random.seed(seed)
torch.manual_seed(seed)
if config['n_gpu'] > 0 and torch.cuda.is_available() and config['use_gpu... | 44.654494 | 216 | 0.535651 | 6,418 | 63,588 | 5.174509 | 0.06622 | 0.016622 | 0.020235 | 0.025294 | 0.798163 | 0.779103 | 0.750979 | 0.746372 | 0.742849 | 0.739717 | 0 | 0.024904 | 0.338208 | 63,588 | 1,424 | 217 | 44.654494 | 0.76427 | 0.074904 | 0 | 0.73376 | 0 | 0 | 0.024635 | 0.004582 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014639 | false | 0 | 0.008234 | 0 | 0.037511 | 0.018298 | 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 |
49f8e03bdce3e6c737e3653ed1439effe4c926dd | 73 | py | Python | model/decoder/__init__.py | rulixiang/ToCo | 9319e8c792bff5ac596e43d362d6a4a3c6200cf7 | [
"MIT"
] | null | null | null | model/decoder/__init__.py | rulixiang/ToCo | 9319e8c792bff5ac596e43d362d6a4a3c6200cf7 | [
"MIT"
] | null | null | null | model/decoder/__init__.py | rulixiang/ToCo | 9319e8c792bff5ac596e43d362d6a4a3c6200cf7 | [
"MIT"
] | null | null | null | from .conv_head import LargeFOV
from .segformer_head import SegFormerHead | 36.5 | 41 | 0.876712 | 10 | 73 | 6.2 | 0.7 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 73 | 2 | 41 | 36.5 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
b710ba895e8133d5d7ab58be3901f0cc4da156fb | 175 | py | Python | src/rl/core/utils.py | djjh/reinforcement-learning-labs | 22706dab9e7f16e364ee4ed79c0bd67a343e5b08 | [
"MIT"
] | 1 | 2019-10-06T11:45:52.000Z | 2019-10-06T11:45:52.000Z | src/rl/core/utils.py | djjh/reinforcement-learning-labs | 22706dab9e7f16e364ee4ed79c0bd67a343e5b08 | [
"MIT"
] | null | null | null | src/rl/core/utils.py | djjh/reinforcement-learning-labs | 22706dab9e7f16e364ee4ed79c0bd67a343e5b08 | [
"MIT"
] | null | null | null | import numpy as np
import itertools
def discount_cumsum(rewards, discount):
return reversed(list(itertools.accumulate(reversed(rewards), lambda a, b: discount * a + b)))
| 29.166667 | 97 | 0.76 | 24 | 175 | 5.5 | 0.666667 | 0.030303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137143 | 175 | 5 | 98 | 35 | 0.874172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b74238c8165845cec23ecf92d3a2a2a04663d25b | 4,703 | py | Python | tests/precisions.py | sydp/dfdatetime | fbb4ed335861a99e0c87802c51e9d1d58c276b98 | [
"Apache-2.0"
] | 17 | 2016-04-12T16:26:14.000Z | 2022-02-18T22:27:36.000Z | tests/precisions.py | sydp/dfdatetime | fbb4ed335861a99e0c87802c51e9d1d58c276b98 | [
"Apache-2.0"
] | 149 | 2016-03-10T22:20:13.000Z | 2022-02-19T08:47:56.000Z | tests/precisions.py | sydp/dfdatetime | fbb4ed335861a99e0c87802c51e9d1d58c276b98 | [
"Apache-2.0"
] | 15 | 2016-03-10T06:44:27.000Z | 2022-02-07T12:53:48.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for date and time precision helpers."""
import decimal
import unittest
from dfdatetime import definitions
from dfdatetime import precisions
class DateTimePrecisionHelperTest(unittest.TestCase):
"""Tests for the date time precision helper interface."""
def ... | 35.360902 | 79 | 0.770359 | 440 | 4,703 | 8.095455 | 0.175 | 0.134756 | 0.067378 | 0.084222 | 0.811061 | 0.760809 | 0.760809 | 0.755755 | 0.755755 | 0.727681 | 0 | 0.058432 | 0.137572 | 4,703 | 132 | 80 | 35.628788 | 0.819773 | 0.157984 | 0 | 0.671233 | 0 | 0 | 0.024208 | 0 | 0 | 0 | 0 | 0 | 0.260274 | 1 | 0.123288 | false | 0 | 0.054795 | 0 | 0.246575 | 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 |
3f79d450f20cbfb54af862f1bc635e21cea416e1 | 71 | py | Python | tanda/generator/__init__.py | vishalbelsare/tanda | 83ffe22e3ecd4061e9d96e90d8135fd44cddddce | [
"MIT"
] | 166 | 2017-08-10T17:28:49.000Z | 2022-03-15T01:49:09.000Z | tanda/generator/__init__.py | vishalbelsare/tanda | 83ffe22e3ecd4061e9d96e90d8135fd44cddddce | [
"MIT"
] | 25 | 2017-08-12T17:08:46.000Z | 2022-02-09T23:37:53.000Z | tanda/generator/__init__.py | vishalbelsare/tanda | 83ffe22e3ecd4061e9d96e90d8135fd44cddddce | [
"MIT"
] | 35 | 2017-08-26T01:54:45.000Z | 2021-12-18T07:22:41.000Z | from .generator import GRUGenerator, LSTMGenerator, MeanFieldGenerator
| 35.5 | 70 | 0.873239 | 6 | 71 | 10.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 71 | 1 | 71 | 71 | 0.953846 | 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 |
3fa587b39acaaaf6c59a7c75c5c33b8d2fd55c18 | 3,894 | py | Python | supra/Geminus/geminusSearch.py | wmpg/Supracenter | 17b9d66095d63a5aa679c30c281f12a4a46db55a | [
"MIT"
] | 6 | 2021-02-16T20:49:37.000Z | 2022-03-25T08:46:57.000Z | supra/Geminus/geminusSearch.py | wmpg/Supracenter | 17b9d66095d63a5aa679c30c281f12a4a46db55a | [
"MIT"
] | 1 | 2021-02-26T02:16:22.000Z | 2021-04-23T14:10:37.000Z | supra/Geminus/geminusSearch.py | wmpg/Supracenter | 17b9d66095d63a5aa679c30c281f12a4a46db55a | [
"MIT"
] | null | null | null |
from supra.Geminus.overpressure2 import overpressureihmod_Ro
from supra.GUI.Tools.GUITools import *
from supra.Utils.pso import pso
SWARM_SIZE = 5
MAX_ITER = 25
def overpressureErr(Ro, *args):
""" Function to optimize for period or pressure
"""
source_list, stat, v, theta, dphi, sounding_pres, sw, win... | 30.904762 | 173 | 0.629687 | 577 | 3,894 | 4.081456 | 0.183709 | 0.016985 | 0.053503 | 0.06879 | 0.803397 | 0.764331 | 0.745648 | 0.738004 | 0.738004 | 0.723567 | 0 | 0.022589 | 0.238315 | 3,894 | 126 | 174 | 30.904762 | 0.771409 | 0.03775 | 0 | 0.571429 | 0 | 0 | 0.056315 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038961 | false | 0.012987 | 0.038961 | 0 | 0.142857 | 0.051948 | 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 |
3fabb8f64f1a0ec1780453c570c4d4d3b17bd3b1 | 14,326 | py | Python | tests/unit_test/data_processor/history_test.py | digiteinfotech/kairon | 6a2f0a056dbfe5c041fd9e00a6f5b878e339309e | [
"Apache-2.0"
] | 97 | 2020-08-18T10:07:48.000Z | 2022-03-26T18:33:37.000Z | tests/unit_test/data_processor/history_test.py | digiteinfotech/kairon | 6a2f0a056dbfe5c041fd9e00a6f5b878e339309e | [
"Apache-2.0"
] | 276 | 2020-08-27T23:24:35.000Z | 2022-03-31T09:43:30.000Z | tests/unit_test/data_processor/history_test.py | digiteinfotech/kairon | 6a2f0a056dbfe5c041fd9e00a6f5b878e339309e | [
"Apache-2.0"
] | 46 | 2020-09-11T13:29:41.000Z | 2022-03-08T12:27:17.000Z | import json
import os
from datetime import datetime
import pytest
from mongomock import MongoClient
from pymongo.collection import Collection
from pymongo.errors import ServerSelectionTimeoutError
from kairon.exceptions import AppException
from kairon.history.processor import HistoryProcessor
from kairon.shared.utils... | 42.259587 | 115 | 0.699148 | 1,571 | 14,326 | 6.027371 | 0.096117 | 0.036963 | 0.072658 | 0.090823 | 0.838315 | 0.799028 | 0.768613 | 0.72711 | 0.696061 | 0.662372 | 0 | 0.006045 | 0.214784 | 14,326 | 338 | 116 | 42.384615 | 0.835719 | 0 | 0 | 0.538745 | 0 | 0 | 0.114066 | 0.043002 | 0 | 0 | 0 | 0 | 0.372694 | 1 | 0.221402 | false | 0 | 0.0369 | 0 | 0.280443 | 0.00369 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b20eedb63e7c4cd0b2bbcbf625af76ebb0a546af | 70 | py | Python | vcv/pyimagesearch/alignment/__init__.py | mhudnell/vaccination-card-verification | f2db657e80ac77b2845192cc606b0d1e9a66e8a9 | [
"MIT"
] | 5 | 2021-05-12T03:03:17.000Z | 2022-02-18T02:50:42.000Z | vcv/pyimagesearch/alignment/__init__.py | mhudnell/vaccination-card-verification | f2db657e80ac77b2845192cc606b0d1e9a66e8a9 | [
"MIT"
] | 3 | 2021-05-12T17:45:12.000Z | 2021-08-11T14:52:51.000Z | vcv/pyimagesearch/alignment/__init__.py | mhudnell/vaccination-card-verification | f2db657e80ac77b2845192cc606b0d1e9a66e8a9 | [
"MIT"
] | 2 | 2021-05-12T17:42:29.000Z | 2021-08-28T08:17:45.000Z | # import the necessary packages
from .align_images import align_images | 35 | 38 | 0.857143 | 10 | 70 | 5.8 | 0.7 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 2 | 38 | 35 | 0.935484 | 0.414286 | 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 |
b75573a3194017c104f6fea61214e7db3b894a28 | 2,233 | py | Python | tests/test_comparaison.py | cohenjer/PIRS8 | 187a617c7c62d603c7c7edcb339f44d07300bd56 | [
"MIT"
] | null | null | null | tests/test_comparaison.py | cohenjer/PIRS8 | 187a617c7c62d603c7c7edcb339f44d07300bd56 | [
"MIT"
] | null | null | null | tests/test_comparaison.py | cohenjer/PIRS8 | 187a617c7c62d603c7c7edcb339f44d07300bd56 | [
"MIT"
] | null | null | null |
import numpy as np
from src._comparaison import comparaison,compar_time
def test_comparaison(i):
"""
Test of comparaison
Need to change plot x,y label and title in comparaison to run the test.
Parameters
----------
i : int
i=1, plot data fitting error for simple case.
i=2, ... | 26.583333 | 81 | 0.610837 | 352 | 2,233 | 3.775568 | 0.173295 | 0.060196 | 0.096313 | 0.024078 | 0.886381 | 0.872837 | 0.872837 | 0.872837 | 0.872837 | 0.872837 | 0 | 0.026415 | 0.287953 | 2,233 | 83 | 82 | 26.903614 | 0.809434 | 0.476041 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.125 | 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 |
4d33a38a6214759459ddc5a33d25736119870762 | 56 | py | Python | solutions/polynomial_2.py | adityarn/MAV110_PythonModule | c3ee6457ba0e4d2cae04f3f6a138d0b473bb4f8e | [
"MIT"
] | 2 | 2021-11-25T13:08:27.000Z | 2021-11-25T13:08:30.000Z | solutions/polynomial_2.py | adityarn/MAV110_PythonModule | c3ee6457ba0e4d2cae04f3f6a138d0b473bb4f8e | [
"MIT"
] | null | null | null | solutions/polynomial_2.py | adityarn/MAV110_PythonModule | c3ee6457ba0e4d2cae04f3f6a138d0b473bb4f8e | [
"MIT"
] | null | null | null | def poly(x, a=2, b=3, c=10):
return a*x**2 + b*x + c | 28 | 28 | 0.482143 | 16 | 56 | 1.6875 | 0.625 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 0.25 | 56 | 2 | 29 | 28 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4d9da731d898bd130689e6d8d0e632af850e06f0 | 19,104 | py | Python | tests/settree_sanity.py | ranigb/Set-Tree | fa3971f9a8ef98dbfd0f6de654efcde3006a197b | [
"MIT"
] | 17 | 2021-07-26T01:03:59.000Z | 2022-01-23T10:31:56.000Z | tests/settree_sanity.py | ranigb/Set-Tree | fa3971f9a8ef98dbfd0f6de654efcde3006a197b | [
"MIT"
] | 2 | 2021-12-10T09:53:48.000Z | 2022-01-25T17:08:41.000Z | tests/settree_sanity.py | ranigb/Set-Tree | fa3971f9a8ef98dbfd0f6de654efcde3006a197b | [
"MIT"
] | 3 | 2021-09-14T11:39:35.000Z | 2022-01-23T06:51:48.000Z | import os
import numpy as np
import random
import unittest
from timeit import default_timer as timer
from datetime import timedelta
from sklearn.tree import DecisionTreeClassifier
from sklearn.datasets import fetch_openml
from settree.set_data import SetDataset, set_object_to_matrix
from settree.set_tree import SetTre... | 44.635514 | 138 | 0.530098 | 2,449 | 19,104 | 3.793793 | 0.073908 | 0.039931 | 0.028415 | 0.038747 | 0.813153 | 0.774082 | 0.740824 | 0.712948 | 0.712948 | 0.712948 | 0 | 0.027525 | 0.349613 | 19,104 | 428 | 139 | 44.635514 | 0.720241 | 0.003769 | 0 | 0.643478 | 0 | 0 | 0.069844 | 0.013033 | 0 | 0 | 0 | 0 | 0.026087 | 1 | 0.06087 | false | 0 | 0.034783 | 0.005797 | 0.121739 | 0.081159 | 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 |
4da843b5f9f237725dd059cb97f1d64637975ee2 | 335 | py | Python | spacy_pattern_builder/__init__.py | cyclecycle/spacy-dependency-pattern-builder | 51a1eb9a2cbd56163103e0e903af585442f8f912 | [
"MIT"
] | 32 | 2019-11-05T00:19:20.000Z | 2021-04-28T09:08:53.000Z | spacy_pattern_builder/__init__.py | cyclecycle/spacy-dependency-pattern-builder | 51a1eb9a2cbd56163103e0e903af585442f8f912 | [
"MIT"
] | 1 | 2020-01-28T09:06:14.000Z | 2020-09-19T21:28:06.000Z | spacy_pattern_builder/__init__.py | cyclecycle/spacy-dependency-pattern-builder | 51a1eb9a2cbd56163103e0e903af585442f8f912 | [
"MIT"
] | 6 | 2020-01-27T10:21:40.000Z | 2022-02-21T18:44:31.000Z | from spacy_pattern_builder.build import build_dependency_pattern
import spacy_pattern_builder.util
import spacy_pattern_builder.exceptions
import spacy_pattern_builder.mutate
import spacy_pattern_builder.match
from spacy_pattern_builder.mutate import yield_pattern_permutations, yield_node_level_pattern_variants, yield_... | 47.857143 | 124 | 0.922388 | 46 | 335 | 6.23913 | 0.391304 | 0.250871 | 0.397213 | 0.348432 | 0.216028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053731 | 335 | 6 | 125 | 55.833333 | 0.905363 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4dcc8e62e2a397e4badab9215992f2905786e205 | 12,057 | py | Python | tests/zia/test_users.py | LetMeR00t/pyZscaler | 6b8027a4f76fdc1f95321558251a91d954218d9f | [
"MIT"
] | 16 | 2021-07-09T00:20:31.000Z | 2022-02-17T19:29:26.000Z | tests/zia/test_users.py | LetMeR00t/pyZscaler | 6b8027a4f76fdc1f95321558251a91d954218d9f | [
"MIT"
] | 62 | 2021-07-21T03:42:09.000Z | 2022-03-18T09:08:20.000Z | tests/zia/test_users.py | LetMeR00t/pyZscaler | 6b8027a4f76fdc1f95321558251a91d954218d9f | [
"MIT"
] | 8 | 2021-09-11T08:14:53.000Z | 2022-03-25T20:14:41.000Z | import pytest
import responses
from box import Box
from responses import matchers
from tests.conftest import stub_sleep
@pytest.fixture(name="users")
def fixture_users():
return [
{
"id": 1,
"name": "Test User A",
"email": "testusera@example.com",
"groups":... | 24.017928 | 94 | 0.601642 | 1,522 | 12,057 | 4.635348 | 0.063732 | 0.057831 | 0.081928 | 0.096386 | 0.829908 | 0.799717 | 0.782707 | 0.763855 | 0.751949 | 0.720907 | 0 | 0.051008 | 0.255287 | 12,057 | 501 | 95 | 24.065868 | 0.734714 | 0 | 0 | 0.628713 | 0 | 0.004951 | 0.170772 | 0.008709 | 0 | 0 | 0 | 0 | 0.126238 | 1 | 0.059406 | false | 0 | 0.012376 | 0.007426 | 0.079208 | 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 |
4df8ad40249c20920d478e7850c6dcce05108f8e | 129 | py | Python | tests/helpers.py | raymundl/firepit | 5b913806eef646c02bd55e301b19baa052aa29d5 | [
"Apache-2.0"
] | null | null | null | tests/helpers.py | raymundl/firepit | 5b913806eef646c02bd55e301b19baa052aa29d5 | [
"Apache-2.0"
] | null | null | null | tests/helpers.py | raymundl/firepit | 5b913806eef646c02bd55e301b19baa052aa29d5 | [
"Apache-2.0"
] | null | null | null | from firepit.sqlitestorage import SQLiteStorage
def tmp_storage(tmpdir):
return SQLiteStorage(str(tmpdir.join('test.db')))
| 21.5 | 53 | 0.782946 | 16 | 129 | 6.25 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108527 | 129 | 5 | 54 | 25.8 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.054264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
150744afb1de2f769b7f122732443fc1a432781b | 25 | py | Python | workspace/module/python-2.7/LxGui/.test/_test_re.py | no7hings/Lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | 2 | 2018-03-06T03:33:55.000Z | 2019-03-26T03:25:11.000Z | workspace/module/python-2.7/LxGui/.test/_test_re.py | no7hings/lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | null | null | null | workspace/module/python-2.7/LxGui/.test/_test_re.py | no7hings/lynxi | 43c745198a714c2e5aca86c6d7a014adeeb9abf7 | [
"MIT"
] | null | null | null | # coding:utf-8
import re
| 8.333333 | 14 | 0.72 | 5 | 25 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.16 | 25 | 2 | 15 | 12.5 | 0.809524 | 0.48 | 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 |
128ba39e339fd04a97c20e529b68aac35b23fc9c | 32 | py | Python | klustaviewa/scripts/__init__.py | fiath/test | b50898dafa90e93da48f573e0b3feb1bb6acd8de | [
"MIT",
"BSD-3-Clause"
] | 20 | 2015-02-21T07:48:23.000Z | 2021-08-03T10:05:25.000Z | klustaviewa/scripts/__init__.py | fiath/test | b50898dafa90e93da48f573e0b3feb1bb6acd8de | [
"MIT",
"BSD-3-Clause"
] | 22 | 2015-02-10T17:59:01.000Z | 2020-07-15T09:12:47.000Z | klustaviewa/scripts/__init__.py | fiath/test | b50898dafa90e93da48f573e0b3feb1bb6acd8de | [
"MIT",
"BSD-3-Clause"
] | 10 | 2015-04-01T20:33:24.000Z | 2017-10-08T15:19:42.000Z | from runklustaviewa import main
| 16 | 31 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 1 | 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 |
12fa7d28a3c9bbafd0ab0f7300d3fea677404afd | 81 | py | Python | test/misc_test.py | sblack-usu/ulmo | 3213bf0302b44e77abdff1f3f66e7f1083571ce8 | [
"BSD-3-Clause"
] | 123 | 2015-01-29T12:35:52.000Z | 2021-12-15T21:09:33.000Z | test/misc_test.py | sblack-usu/ulmo | 3213bf0302b44e77abdff1f3f66e7f1083571ce8 | [
"BSD-3-Clause"
] | 107 | 2015-01-05T17:56:22.000Z | 2021-11-19T22:46:23.000Z | test/misc_test.py | sblack-usu/ulmo | 3213bf0302b44e77abdff1f3f66e7f1083571ce8 | [
"BSD-3-Clause"
] | 49 | 2015-02-15T18:11:34.000Z | 2022-01-25T14:25:32.000Z | import ulmo
def test_version_is_set():
assert hasattr(ulmo, '__version__')
| 13.5 | 39 | 0.740741 | 11 | 81 | 4.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 5 | 40 | 16.2 | 0.779412 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
424900a4c6c4e7c8bb984d3d834b640ad25b9498 | 316 | py | Python | challenges/find_maximum_value_binary_tree/conftest.py | asakatida/data-structures-and-algorithms.py | 587d1a66a6c15a3c7d7786275608f065687e1810 | [
"MIT"
] | null | null | null | challenges/find_maximum_value_binary_tree/conftest.py | asakatida/data-structures-and-algorithms.py | 587d1a66a6c15a3c7d7786275608f065687e1810 | [
"MIT"
] | 2 | 2020-09-24T13:13:49.000Z | 2021-06-25T15:15:35.000Z | challenges/find_maximum_value_binary_tree/conftest.py | grandquista/data-structures-and-algorithms.py | 587d1a66a6c15a3c7d7786275608f065687e1810 | [
"MIT"
] | null | null | null | from data_structures.binary_search_tree.bst import BST
from pytest import fixture
@fixture
def new_bst():
return BST()
@fixture
def filled_bst():
return BST([4, 3, 2, 1, 8, 6, 12, 9])
@fixture
def left_bst():
return BST(range(9, -9, -2))
@fixture
def right_bst():
return BST(range(-9, 9, 3))
| 13.73913 | 54 | 0.655063 | 53 | 316 | 3.773585 | 0.471698 | 0.2 | 0.24 | 0.17 | 0.19 | 0.19 | 0 | 0 | 0 | 0 | 0 | 0.059289 | 0.199367 | 316 | 22 | 55 | 14.363636 | 0.731225 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
424f414f7d83c56e7f8f383bc00689fba7c49170 | 164 | py | Python | steward_fastapi/core/routers/__init__.py | AulonSal/steward-fastapi | 37772ff19852ec8ab80d715b74c5a25d59f65de2 | [
"Unlicense"
] | null | null | null | steward_fastapi/core/routers/__init__.py | AulonSal/steward-fastapi | 37772ff19852ec8ab80d715b74c5a25d59f65de2 | [
"Unlicense"
] | null | null | null | steward_fastapi/core/routers/__init__.py | AulonSal/steward-fastapi | 37772ff19852ec8ab80d715b74c5a25d59f65de2 | [
"Unlicense"
] | null | null | null | from .authentication import router as authentication_router
from .content import router as content_router
from .flexible_data import router as flexible_data_router
| 41 | 59 | 0.871951 | 23 | 164 | 6 | 0.347826 | 0.26087 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 164 | 3 | 60 | 54.666667 | 0.945205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
425c3070d8d4448972d6b591894d6314aff6aced | 154 | py | Python | mnn_core/nn/norm_modules/__init__.py | Acturos/moment_neural_network | c5074b14970f16a007ba5091b07127c4645cd50e | [
"MIT"
] | 1 | 2021-03-02T07:39:53.000Z | 2021-03-02T07:39:53.000Z | mnn_core/nn/norm_modules/__init__.py | Acturos/moment_neural_network | c5074b14970f16a007ba5091b07127c4645cd50e | [
"MIT"
] | null | null | null | mnn_core/nn/norm_modules/__init__.py | Acturos/moment_neural_network | c5074b14970f16a007ba5091b07127c4645cd50e | [
"MIT"
] | 2 | 2021-03-02T07:40:01.000Z | 2021-03-02T09:14:51.000Z | from .covariance_norm import CovarianceNorm
from .batch_norm import BatchNorm1dNoRho, BatchNorm1dDuo
from .layer_norm import LayerNormDuo, LayerNormNoRho
| 38.5 | 56 | 0.876623 | 17 | 154 | 7.764706 | 0.647059 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.090909 | 154 | 3 | 57 | 51.333333 | 0.928571 | 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 |
426f3e36e3dc3743ef409b91e9ca26b016b1d1c4 | 27 | py | Python | netbox/__init__.py | bandwidth-intern/python-netbox | da897b2663c9105c4b42f404ef80985ae0a3a146 | [
"Apache-2.0"
] | 37 | 2017-10-30T10:31:36.000Z | 2022-01-09T17:36:27.000Z | netbox/__init__.py | bandwidth-intern/python-netbox | da897b2663c9105c4b42f404ef80985ae0a3a146 | [
"Apache-2.0"
] | 42 | 2018-03-09T16:25:20.000Z | 2022-01-27T08:26:50.000Z | netbox/__init__.py | bandwidth-intern/python-netbox | da897b2663c9105c4b42f404ef80985ae0a3a146 | [
"Apache-2.0"
] | 38 | 2018-03-09T15:42:23.000Z | 2022-03-30T06:31:17.000Z | from .netbox import NetBox
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
42b13fc13de58445ac14b4f92f3347b67e1a690d | 185 | py | Python | pyratelimit/__init__.py | ascheucher/pyratelimit | af816e11436fdc4c5ba6cefbf08c1fb0f8e89bc5 | [
"Apache-2.0"
] | null | null | null | pyratelimit/__init__.py | ascheucher/pyratelimit | af816e11436fdc4c5ba6cefbf08c1fb0f8e89bc5 | [
"Apache-2.0"
] | null | null | null | pyratelimit/__init__.py | ascheucher/pyratelimit | af816e11436fdc4c5ba6cefbf08c1fb0f8e89bc5 | [
"Apache-2.0"
] | null | null | null | from pyratelimit.pyratelimit import PyRateLimit
from pyratelimit.pyratelimit_exception import PyRateLimitException
from pyratelimit.redis_helper import RedisHelper
name = "pyratelimit" | 37 | 66 | 0.886486 | 19 | 185 | 8.526316 | 0.473684 | 0.277778 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 185 | 5 | 67 | 37 | 0.952941 | 0 | 0 | 0 | 0 | 0 | 0.05914 | 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 |
c44320a096b758fcaa8e546e8ed32365377ea708 | 144 | py | Python | WeatherAugmenter/GeoWeatherExceptions.py | kaumil/cmpt_732 | e753824d30fdc32c60f6699ac5b4d88d78f6fa33 | [
"MIT"
] | 1 | 2021-11-19T23:41:46.000Z | 2021-11-19T23:41:46.000Z | WeatherAugmenter/GeoWeatherExceptions.py | kaumil/cmpt_732 | e753824d30fdc32c60f6699ac5b4d88d78f6fa33 | [
"MIT"
] | null | null | null | WeatherAugmenter/GeoWeatherExceptions.py | kaumil/cmpt_732 | e753824d30fdc32c60f6699ac5b4d88d78f6fa33 | [
"MIT"
] | 1 | 2021-11-11T16:51:07.000Z | 2021-11-11T16:51:07.000Z | class GeoWeatherServiceFailedToLocateException(Exception):
pass
class GeoWeatherServiceFailedToRetrieveException(Exception):
pass
| 24 | 61 | 0.819444 | 8 | 144 | 14.75 | 0.625 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 144 | 5 | 62 | 28.8 | 0.951613 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c44f5f8a5c174a6992a4d75bf1fe9acfa2ef06dd | 136 | py | Python | nnet/__init__.py | trip2eee/nnet | 08c435a7b40aa0b41eb64875b39d3705cf9cffdd | [
"MIT"
] | 3 | 2021-12-31T10:59:54.000Z | 2022-01-14T11:17:28.000Z | nnet/__init__.py | trip2eee/nnet | 08c435a7b40aa0b41eb64875b39d3705cf9cffdd | [
"MIT"
] | null | null | null | nnet/__init__.py | trip2eee/nnet | 08c435a7b40aa0b41eb64875b39d3705cf9cffdd | [
"MIT"
] | null | null | null | from nnet.dataset import Dataset
from nnet.dataloader import DataLoader
from nnet.module import Module
import nnet.loss
import nnet.nn
| 19.428571 | 38 | 0.838235 | 21 | 136 | 5.428571 | 0.380952 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 136 | 6 | 39 | 22.666667 | 0.957983 | 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 |
c45660d769a261b7a5ab9247c2c8fa6feac4aab7 | 9,105 | py | Python | pandapower/test/opf/test_costs_pwl.py | hmaschke/pandapower-1 | 2e93969050d3d468ce57f73d358e97fabc6e5141 | [
"BSD-3-Clause"
] | 2 | 2019-11-01T11:01:41.000Z | 2022-02-07T12:55:55.000Z | pandapower/test/opf/test_costs_pwl.py | hmaschke/pandapower-1 | 2e93969050d3d468ce57f73d358e97fabc6e5141 | [
"BSD-3-Clause"
] | null | null | null | pandapower/test/opf/test_costs_pwl.py | hmaschke/pandapower-1 | 2e93969050d3d468ce57f73d358e97fabc6e5141 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2016-2022 by University of Kassel and Fraunhofer Institute for Energy Economics
# and Energy System Technology (IEE), Kassel. All rights reserved.
import numpy as np
import pytest
import pandapower as pp
try:
import pandaplan.core.pplog as logging
except ImportError:
... | 36.71371 | 102 | 0.642394 | 1,644 | 9,105 | 3.25 | 0.086375 | 0.094329 | 0.035935 | 0.041924 | 0.899308 | 0.887516 | 0.854763 | 0.834737 | 0.814711 | 0.808347 | 0 | 0.085539 | 0.228336 | 9,105 | 247 | 103 | 36.862348 | 0.674922 | 0.121252 | 0 | 0.66443 | 0 | 0 | 0.025079 | 0 | 0 | 0 | 0 | 0 | 0.134228 | 1 | 0.053691 | false | 0 | 0.040268 | 0 | 0.09396 | 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 |
c4578227e73db118c621e24f1e455550c96d33b8 | 123 | py | Python | demo/hello_file.py | peitur/demo_python | 9e21f15d8bc7345637eda1f7b457a4847ee2cedf | [
"Apache-2.0"
] | 1 | 2020-09-28T17:05:41.000Z | 2020-09-28T17:05:41.000Z | demo/hello_file.py | peitur/demo_python | 9e21f15d8bc7345637eda1f7b457a4847ee2cedf | [
"Apache-2.0"
] | null | null | null | demo/hello_file.py | peitur/demo_python | 9e21f15d8bc7345637eda1f7b457a4847ee2cedf | [
"Apache-2.0"
] | 1 | 2020-05-05T07:31:16.000Z | 2020-05-05T07:31:16.000Z | #!/usr/bin/env python3
import os, sys, re
import datetime
from pprint import pprint
if __name__ == "__main__":
pass
| 12.3 | 26 | 0.707317 | 18 | 123 | 4.388889 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.195122 | 123 | 9 | 27 | 13.666667 | 0.787879 | 0.170732 | 0 | 0 | 0 | 0 | 0.079208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c470d6dd3f9956562681c9e8f5c3c48d889d42a5 | 146 | py | Python | src/exco/shortcut.py | thegangtechnology/excel_comment_orm | b38156b406ccb3ce87737b8ed049bbf3b8a39050 | [
"MIT"
] | 2 | 2020-11-10T04:53:07.000Z | 2020-11-12T03:53:46.000Z | src/exco/shortcut.py | thegangtechnology/excel_comment_orm | b38156b406ccb3ce87737b8ed049bbf3b8a39050 | [
"MIT"
] | 50 | 2020-11-09T06:30:31.000Z | 2022-01-06T05:00:50.000Z | src/exco/shortcut.py | thegangtechnology/excel_comment_orm | b38156b406ccb3ce87737b8ed049bbf3b8a39050 | [
"MIT"
] | null | null | null | from exco import ExcelProcessorFactory
def from_excel(fname: str):
return ExcelProcessorFactory.default().create_from_template_excel(fname)
| 24.333333 | 76 | 0.828767 | 17 | 146 | 6.882353 | 0.705882 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10274 | 146 | 5 | 77 | 29.2 | 0.89313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
670772f60d60f5594324cedd7a4f08f911848fe5 | 25 | py | Python | wimbledon/vis/__init__.py | alan-turing-institute/WimbledonPlanner | ff73f2a52425d7855ebf224f6acc59fa99ff664b | [
"MIT"
] | 1 | 2020-07-14T16:55:18.000Z | 2020-07-14T16:55:18.000Z | wimbledon/vis/__init__.py | alan-turing-institute/WimbledonPlanner | ff73f2a52425d7855ebf224f6acc59fa99ff664b | [
"MIT"
] | 29 | 2019-10-15T11:35:47.000Z | 2022-03-21T12:10:55.000Z | wimbledon/vis/__init__.py | alan-turing-institute/WimbledonPlanner | ff73f2a52425d7855ebf224f6acc59fa99ff664b | [
"MIT"
] | null | null | null | from .Visualise import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 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 |
674c5591df9df956330f475d960d9d3b3f01e7e5 | 2,736 | py | Python | benchmarks/fill_dense.py | 447983454/taichi | 2bfbca88b2d8cb1a070da9a40c5422c99b23fc2f | [
"MIT"
] | 1 | 2020-11-01T18:21:00.000Z | 2020-11-01T18:21:00.000Z | benchmarks/fill_dense.py | 447983454/taichi | 2bfbca88b2d8cb1a070da9a40c5422c99b23fc2f | [
"MIT"
] | null | null | null | benchmarks/fill_dense.py | 447983454/taichi | 2bfbca88b2d8cb1a070da9a40c5422c99b23fc2f | [
"MIT"
] | null | null | null | import taichi as ti
# originally by @KLozes
@ti.all_archs
def benchmark_flat_struct():
N = 4096
a = ti.var(dt=ti.f32, shape=(N, N))
@ti.kernel
def fill():
for i, j in a:
a[i, j] = 2.0
return ti.benchmark(fill, repeat=500)
@ti.all_archs
def benchmark_flat_range():
N = 4... | 19.970803 | 64 | 0.574196 | 473 | 2,736 | 3.20296 | 0.141649 | 0.027723 | 0.071287 | 0.068647 | 0.817822 | 0.788779 | 0.725413 | 0.70165 | 0.684488 | 0.658746 | 0 | 0.056716 | 0.265351 | 2,736 | 136 | 65 | 20.117647 | 0.697015 | 0.007675 | 0 | 0.77381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0.011905 | 0 | 0.297619 | 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 |
675321d031d6b8b31677a1a09299c38290f08480 | 25 | py | Python | heat/graph/__init__.py | sebimarkgraf/heat | 9638e384f52c9bade75590963b9d57e080692da4 | [
"MIT"
] | null | null | null | heat/graph/__init__.py | sebimarkgraf/heat | 9638e384f52c9bade75590963b9d57e080692da4 | [
"MIT"
] | 1 | 2020-07-29T08:01:09.000Z | 2020-07-29T08:10:41.000Z | heat/graph/__init__.py | sebimarkgraf/heat | 9638e384f52c9bade75590963b9d57e080692da4 | [
"MIT"
] | null | null | null | from .laplacian import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 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 |
675613d18dd4d809f31f81a336098e9a096375d0 | 257 | py | Python | move_base_msgs/msg/__init__.py | florent-lamiraux/fake-ros | e3c258fe029c8e68feeef0986091336fffda11ce | [
"BSD-3-Clause"
] | null | null | null | move_base_msgs/msg/__init__.py | florent-lamiraux/fake-ros | e3c258fe029c8e68feeef0986091336fffda11ce | [
"BSD-3-Clause"
] | null | null | null | move_base_msgs/msg/__init__.py | florent-lamiraux/fake-ros | e3c258fe029c8e68feeef0986091336fffda11ce | [
"BSD-3-Clause"
] | null | null | null | class MoveBaseAction:
def __init__(self):
self.action_goal = MoveBaseGoal()
self.action_result = MoveBaseResult()
class MoveBaseGoal:
def __init__(self):
pass
class MoveBaseResult:
def __init__(self):
pass
| 18.357143 | 45 | 0.645914 | 25 | 257 | 6.08 | 0.44 | 0.138158 | 0.217105 | 0.197368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276265 | 257 | 13 | 46 | 19.769231 | 0.817204 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.2 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
6796d2d50b7bbdf834e419992a3bd7d0b3b0ecc7 | 40 | py | Python | ceefax/fonts/size7condensed/__init__.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | 1 | 2020-03-28T15:53:22.000Z | 2020-03-28T15:53:22.000Z | ceefax/fonts/size7condensed/__init__.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | 1 | 2021-02-05T13:43:52.000Z | 2021-02-05T13:43:52.000Z | ceefax/fonts/size7condensed/__init__.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | null | null | null | from .default import size7condensedfont
| 20 | 39 | 0.875 | 4 | 40 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
679b6afd37fb007e58fa9a482b3f5ed8357e3eb9 | 105,451 | py | Python | tensorflow_federated/python/core/impl/compiler/compiled_computation_transforms_test.py | alessiomora/federated | 3b501067ed7062aaec3cc8830aaec0a7cf8f0942 | [
"Apache-2.0"
] | null | null | null | tensorflow_federated/python/core/impl/compiler/compiled_computation_transforms_test.py | alessiomora/federated | 3b501067ed7062aaec3cc8830aaec0a7cf8f0942 | [
"Apache-2.0"
] | null | null | null | tensorflow_federated/python/core/impl/compiler/compiled_computation_transforms_test.py | alessiomora/federated | 3b501067ed7062aaec3cc8830aaec0a7cf8f0942 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019, The TensorFlow Federated Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 48.572547 | 97 | 0.741823 | 12,357 | 105,451 | 5.935745 | 0.038602 | 0.067091 | 0.066028 | 0.031548 | 0.890222 | 0.868217 | 0.830002 | 0.793805 | 0.76257 | 0.726128 | 0 | 0.015757 | 0.17189 | 105,451 | 2,170 | 98 | 48.594931 | 0.824186 | 0.016083 | 0 | 0.658455 | 0 | 0 | 0.00645 | 0.002256 | 0 | 0 | 0 | 0.000461 | 0.183091 | 1 | 0.091265 | false | 0 | 0.010078 | 0 | 0.115901 | 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 |
67e5c30e0422e1ae25dba42ae5fbad007bf26145 | 26 | py | Python | web/photos/__init__.py | wabscale/tandon.singles | 5d83b5c5d3b6aa8e67d781223e99512c78165c22 | [
"MIT"
] | 1 | 2022-02-25T02:12:18.000Z | 2022-02-25T02:12:18.000Z | web/photos/__init__.py | wabscale/tandon.singles | 5d83b5c5d3b6aa8e67d781223e99512c78165c22 | [
"MIT"
] | null | null | null | web/photos/__init__.py | wabscale/tandon.singles | 5d83b5c5d3b6aa8e67d781223e99512c78165c22 | [
"MIT"
] | null | null | null | from .routes import photos | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
67f0f16a55799448c3e5fedb6c8e4e86124abcac | 9,119 | py | Python | src/utils/log.py | GoDa-Choe/capstone_design | cb3ce264c7720594a64b7e1717247ad12c522116 | [
"Apache-2.0"
] | null | null | null | src/utils/log.py | GoDa-Choe/capstone_design | cb3ce264c7720594a64b7e1717247ad12c522116 | [
"Apache-2.0"
] | null | null | null | src/utils/log.py | GoDa-Choe/capstone_design | cb3ce264c7720594a64b7e1717247ad12c522116 | [
"Apache-2.0"
] | null | null | null | import datetime
from pathlib import Path
from src.dataset.category import CATEGORY
from src.utils.project_root import PROJECT_ROOT
def blue(text):
return '\033[94m' + text + '\033[0m'
def logging_for_cd_test(validation_result):
def log_line(loss, batch_index):
return f"{loss / batch_index * 10_000... | 34.938697 | 150 | 0.652922 | 1,249 | 9,119 | 4.463571 | 0.073659 | 0.042691 | 0.040179 | 0.02583 | 0.818296 | 0.78278 | 0.755157 | 0.739372 | 0.717309 | 0.693812 | 0 | 0.012027 | 0.234127 | 9,119 | 260 | 151 | 35.073077 | 0.786226 | 0.047703 | 0 | 0.698413 | 0 | 0.005291 | 0.218725 | 0.081056 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.021164 | 0.047619 | 0.275132 | 0.074074 | 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 |
db195d437aa333e93edddefed3ba0a863a1872b8 | 4,284 | py | Python | event_processor_test.py | gabriel-aranha/event-processor | a6addd730491bd3144da4f5b842feda3544f279a | [
"MIT"
] | null | null | null | event_processor_test.py | gabriel-aranha/event-processor | a6addd730491bd3144da4f5b842feda3544f279a | [
"MIT"
] | null | null | null | event_processor_test.py | gabriel-aranha/event-processor | a6addd730491bd3144da4f5b842feda3544f279a | [
"MIT"
] | null | null | null | import pytest
import event_processor
import json_schema
def test_validate_json_base_schema_correct():
json_message = {
"id": "d19f29a0-9869-4bee-8651-8927520f2b6b",
"client_id": "4414c8f0-b645-4bc5-9d78-1375c7ea159a",
"event_type": "issue-credit-card",
"payload": {
"cre... | 31.5 | 88 | 0.664332 | 465 | 4,284 | 5.741935 | 0.113978 | 0.086517 | 0.050562 | 0.074157 | 0.941948 | 0.941948 | 0.916105 | 0.889139 | 0.874906 | 0.874906 | 0 | 0.101224 | 0.218254 | 4,284 | 135 | 89 | 31.733333 | 0.696029 | 0 | 0 | 0.669903 | 0 | 0 | 0.302754 | 0.109244 | 0 | 0 | 0 | 0 | 0.067961 | 1 | 0.067961 | false | 0 | 0.029126 | 0 | 0.097087 | 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 |
e1fe3ba2870969045ef6ed9b31ef3cca44ddbf2f | 27 | py | Python | solvers/gpt3/lm_solve/__init__.py | tiendat101001/PythonProgrammingPuzzles | e4a6504bf783ad1ab93686cedd5d1818af92a5e4 | [
"MIT"
] | 814 | 2021-06-03T20:07:59.000Z | 2022-03-25T09:31:32.000Z | solvers/gpt3/lm_solve/__init__.py | xu753x/PythonProgrammingPuzzles | 506099b8664db2ddefaf1c41cb151743b3751ab3 | [
"MIT"
] | 16 | 2021-06-11T18:30:34.000Z | 2021-09-24T03:48:10.000Z | solvers/gpt3/lm_solve/__init__.py | xu753x/PythonProgrammingPuzzles | 506099b8664db2ddefaf1c41cb151743b3751ab3 | [
"MIT"
] | 78 | 2021-06-11T17:17:14.000Z | 2022-02-14T06:47:40.000Z | from lm_solve.run import *
| 13.5 | 26 | 0.777778 | 5 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 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 |
c02675f5c7c6c6711ea95ffc77698db6cedb78f5 | 65 | py | Python | epidemioptim/optimization/__init__.py | hyerinshelly/RL_COVID-19_Korea | da95b6713969271043a44c10b84f9407f038b71a | [
"MIT"
] | 4 | 2020-10-21T08:29:32.000Z | 2021-05-10T04:56:58.000Z | epidemioptim/optimization/__init__.py | hyerinshelly/RL_COVID-19_Korea | da95b6713969271043a44c10b84f9407f038b71a | [
"MIT"
] | null | null | null | epidemioptim/optimization/__init__.py | hyerinshelly/RL_COVID-19_Korea | da95b6713969271043a44c10b84f9407f038b71a | [
"MIT"
] | 8 | 2021-01-21T02:14:24.000Z | 2022-03-14T07:54:06.000Z | from epidemioptim.optimization.get_algorithm import get_algorithm | 65 | 65 | 0.923077 | 8 | 65 | 7.25 | 0.75 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 65 | 1 | 65 | 65 | 0.935484 | 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 |
c02a49bd266066d8e377a321afc0ab0a46ac3674 | 26,747 | py | Python | sktime/classification/early_classification/base.py | biologioholic/sktime | 9d0391a04b11d22bd783b452f01aa5b4529b41a2 | [
"BSD-3-Clause"
] | 1 | 2021-12-22T02:45:39.000Z | 2021-12-22T02:45:39.000Z | sktime/classification/early_classification/base.py | biologioholic/sktime | 9d0391a04b11d22bd783b452f01aa5b4529b41a2 | [
"BSD-3-Clause"
] | null | null | null | sktime/classification/early_classification/base.py | biologioholic/sktime | 9d0391a04b11d22bd783b452f01aa5b4529b41a2 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# copyright: sktime developers, BSD-3-Clause License (see LICENSE file)
"""
Abstract base class for early time series classifiers.
class name: BaseEarlyClassifier
Defining methods:
fitting - fit(self, X, y)
predicting - predict(self, X)
... | 43.561889 | 88 | 0.645418 | 3,540 | 26,747 | 4.763559 | 0.093503 | 0.012453 | 0.014232 | 0.030244 | 0.830042 | 0.817707 | 0.800984 | 0.797664 | 0.790251 | 0.790251 | 0 | 0.00438 | 0.291509 | 26,747 | 613 | 89 | 43.632953 | 0.885488 | 0.701798 | 0 | 0.442478 | 0 | 0 | 0.039003 | 0.021235 | 0 | 0 | 0 | 0 | 0 | 1 | 0.19469 | false | 0 | 0.044248 | 0 | 0.415929 | 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 |
c0367ac2523b07f09b914e1d4c3918042f78f026 | 193 | py | Python | bankruptcy/__init__.py | freelawproject/document-parser | 3ad36951f7e2183e6c32a271530025a606ea7e16 | [
"BSD-2-Clause"
] | 3 | 2021-03-02T04:45:01.000Z | 2021-04-28T14:28:51.000Z | bankruptcy/__init__.py | freelawproject/document-parser | 3ad36951f7e2183e6c32a271530025a606ea7e16 | [
"BSD-2-Clause"
] | 36 | 2021-03-22T13:30:55.000Z | 2022-03-22T18:13:06.000Z | bankruptcy/__init__.py | freelawproject/document-parser | 3ad36951f7e2183e6c32a271530025a606ea7e16 | [
"BSD-2-Clause"
] | null | null | null | # __init__.py
from .parser import (
extract_all,
extract_official_form_106_a_b,
extract_official_form_106_d,
extract_official_form_106_e_f,
extract_official_form_106_sum,
)
| 21.444444 | 34 | 0.782383 | 29 | 193 | 4.413793 | 0.551724 | 0.46875 | 0.59375 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074534 | 0.165803 | 193 | 8 | 35 | 24.125 | 0.720497 | 0.056995 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c0390e57bd269973cd03013332db0e2eb5f0c3e1 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_internal/cli/__init__.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_internal/cli/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_internal/cli/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/16/41/c1/829c716fefe077aaf51639cd85f30ecc0518c97a17289e9a6e28df7055 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 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 |
222ceb2e80b28fc60d294ef27e10e3c0c676e213 | 143 | py | Python | sh_logistics/logistics/doctype/job/test_job.py | sahalMoidu/sh_logistics | 679e510a295bc44f85a5eeb781bb98eeacaf0acf | [
"MIT"
] | null | null | null | sh_logistics/logistics/doctype/job/test_job.py | sahalMoidu/sh_logistics | 679e510a295bc44f85a5eeb781bb98eeacaf0acf | [
"MIT"
] | null | null | null | sh_logistics/logistics/doctype/job/test_job.py | sahalMoidu/sh_logistics | 679e510a295bc44f85a5eeb781bb98eeacaf0acf | [
"MIT"
] | null | null | null | # Copyright (c) 2022, softwarehut and Contributors
# See license.txt
# import frappe
import unittest
class TestJob(unittest.TestCase):
pass
| 15.888889 | 50 | 0.776224 | 18 | 143 | 6.166667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.146853 | 143 | 8 | 51 | 17.875 | 0.877049 | 0.545455 | 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 |
224109a94105b711a2b176990c347c95b6e63bb8 | 178 | py | Python | exam/wizard/__init__.py | kyaranusa/School-Management-Systems | d6cd71037fe46c08feff32f42af61f56eb25a7c7 | [
"MIT"
] | null | null | null | exam/wizard/__init__.py | kyaranusa/School-Management-Systems | d6cd71037fe46c08feff32f42af61f56eb25a7c7 | [
"MIT"
] | null | null | null | exam/wizard/__init__.py | kyaranusa/School-Management-Systems | d6cd71037fe46c08feff32f42af61f56eb25a7c7 | [
"MIT"
] | 1 | 2020-11-17T03:25:10.000Z | 2020-11-17T03:25:10.000Z | # See LICENSE file for full copyright and licensing details.
from . import subject_result
from . import move_standards
from . import batch_result
from . import terminate_reason
| 25.428571 | 60 | 0.814607 | 25 | 178 | 5.64 | 0.72 | 0.283688 | 0.22695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151685 | 178 | 6 | 61 | 29.666667 | 0.933775 | 0.325843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
22553677afe47f8bf2b31d9c5ffb41a89732229e | 58,119 | py | Python | pysal/model/spreg/error_sp_hom.py | ocefpaf/pysal | 7e397bdb4c22d4e2442b4ee88bcd691d2421651d | [
"BSD-3-Clause"
] | 1 | 2021-08-16T02:47:35.000Z | 2021-08-16T02:47:35.000Z | pysal/model/spreg/error_sp_hom.py | ocefpaf/pysal | 7e397bdb4c22d4e2442b4ee88bcd691d2421651d | [
"BSD-3-Clause"
] | null | null | null | pysal/model/spreg/error_sp_hom.py | ocefpaf/pysal | 7e397bdb4c22d4e2442b4ee88bcd691d2421651d | [
"BSD-3-Clause"
] | null | null | null | '''
Hom family of models based on: :cite:`Drukker2013`
Following: :cite:`Anselin2011`
'''
__author__ = "Luc Anselin luc.anselin@asu.edu, Daniel Arribas-Bel darribas@asu.edu"
from scipy import sparse as SP
import numpy as np
from numpy import linalg as la
from . import ols as OLS
from pysal.lib.weights.spatial_lag i... | 40.529289 | 155 | 0.568988 | 7,888 | 58,119 | 4.111435 | 0.077206 | 0.008634 | 0.012827 | 0.013814 | 0.86442 | 0.85483 | 0.844871 | 0.834048 | 0.829145 | 0.825907 | 0 | 0.035211 | 0.345206 | 58,119 | 1,433 | 156 | 40.557572 | 0.81698 | 0.720315 | 0 | 0.498155 | 0 | 0 | 0.027382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04059 | false | 0 | 0.04797 | 0 | 0.125461 | 0.01107 | 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 |
97fdc716b5841524f375da88234fb01887712ac0 | 72 | py | Python | chalice_jwt/utils.py | marktennyson/chalice-jwt | 96a95a3130c3c734ea6c1085405ff06b3e3aef6f | [
"MIT"
] | 3 | 2021-04-12T13:30:20.000Z | 2022-02-13T16:02:57.000Z | chalice_jwt/utils.py | marktennyson/chalice-jwt | 96a95a3130c3c734ea6c1085405ff06b3e3aef6f | [
"MIT"
] | null | null | null | chalice_jwt/utils.py | marktennyson/chalice-jwt | 96a95a3130c3c734ea6c1085405ff06b3e3aef6f | [
"MIT"
] | 1 | 2021-05-12T12:01:28.000Z | 2021-05-12T12:01:28.000Z | from json import dumps
def _jsonify(**kwargs):
return dumps(kwargs) | 18 | 24 | 0.736111 | 10 | 72 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 4 | 24 | 18 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
3f08aac28ffe1879adab51d57072a28d51dac2bb | 125 | py | Python | get_env_data.py | BEisem/PlexTraktSync | 2a1ec95bcccb20a20afd08cdc3bd396019083439 | [
"MIT"
] | null | null | null | get_env_data.py | BEisem/PlexTraktSync | 2a1ec95bcccb20a20afd08cdc3bd396019083439 | [
"MIT"
] | null | null | null | get_env_data.py | BEisem/PlexTraktSync | 2a1ec95bcccb20a20afd08cdc3bd396019083439 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from plex_trakt_sync.get_env_data import get_env_data
if __name__ == "__main__":
get_env_data()
| 17.857143 | 53 | 0.76 | 21 | 125 | 3.761905 | 0.666667 | 0.227848 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.136 | 125 | 6 | 54 | 20.833333 | 0.722222 | 0.168 | 0 | 0 | 0 | 0 | 0.07767 | 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 |
3f3d5d89c0d71c8d41af50783867903978e82791 | 18,557 | py | Python | unit/test_get_needs_restart.py | FizikRoot/ansible-cartridge | ad06411ec701b68fbf5b8ed5e184a47ffb0ac70f | [
"BSD-2-Clause"
] | 17 | 2019-09-02T15:31:56.000Z | 2022-03-29T18:49:59.000Z | unit/test_get_needs_restart.py | FizikRoot/ansible-cartridge | ad06411ec701b68fbf5b8ed5e184a47ffb0ac70f | [
"BSD-2-Clause"
] | 171 | 2019-10-24T15:34:34.000Z | 2022-03-29T09:18:46.000Z | unit/test_get_needs_restart.py | FizikRoot/ansible-cartridge | ad06411ec701b68fbf5b8ed5e184a47ffb0ac70f | [
"BSD-2-Clause"
] | 14 | 2019-12-23T08:27:06.000Z | 2021-07-06T15:53:49.000Z | import itertools
import sys
import unittest
from parameterized import parameterized
import module_utils.helpers as helpers
from unit.instance import Instance
sys.modules['ansible.module_utils.helpers'] = helpers
from library.cartridge_get_needs_restart import set_needs_restart
def call_needs_restart(
console_s... | 33.801457 | 107 | 0.620844 | 2,093 | 18,557 | 5.179169 | 0.064023 | 0.070018 | 0.088007 | 0.065775 | 0.826384 | 0.800646 | 0.790037 | 0.777952 | 0.760978 | 0.760978 | 0 | 0.001619 | 0.300803 | 18,557 | 548 | 108 | 33.863139 | 0.833834 | 0.0693 | 0 | 0.664414 | 0 | 0 | 0.043067 | 0.008996 | 0 | 0 | 0 | 0 | 0.193694 | 1 | 0.024775 | false | 0 | 0.015766 | 0 | 0.045045 | 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 |
3f6d98eae3e15e64e42e4db494f92e4b4bbefe16 | 6,112 | py | Python | examples/pyaos8/pools.py | michaelrosejr/pyaos8 | 2fc7c241692bad7bd1a5e25c87cd65d5830a9dd5 | [
"Apache-2.0"
] | 2 | 2019-07-31T07:35:47.000Z | 2020-01-10T15:45:48.000Z | examples/pyaos8/pools.py | michaelrosejr/pyaos8 | 2fc7c241692bad7bd1a5e25c87cd65d5830a9dd5 | [
"Apache-2.0"
] | null | null | null | examples/pyaos8/pools.py | michaelrosejr/pyaos8 | 2fc7c241692bad7bd1a5e25c87cd65d5830a9dd5 | [
"Apache-2.0"
] | 2 | 2018-11-17T04:33:35.000Z | 2020-09-09T16:08:34.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests, json
import sys
from requests.packages.urllib3.exceptions import InsecureRequestWarning
# from aosget import aosget
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
def aosget(url, auth):
aoscookie = dict(SESSION = auth.uidaruba)
... | 34.925714 | 120 | 0.61502 | 741 | 6,112 | 4.904184 | 0.125506 | 0.069345 | 0.067969 | 0.09934 | 0.864887 | 0.853605 | 0.853605 | 0.832141 | 0.807925 | 0.807925 | 0 | 0.036129 | 0.252781 | 6,112 | 174 | 121 | 35.126437 | 0.75958 | 0.017997 | 0 | 0.596774 | 0 | 0 | 0.257672 | 0.198132 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16129 | false | 0 | 0.024194 | 0 | 0.387097 | 0.024194 | 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 |
4540ac8e8f593022b07f94ad6435708166f39235 | 7,215 | py | Python | autolens/plot/plane_plots.py | PyJedi/PyAutoLens | bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7 | [
"MIT"
] | 1 | 2020-04-06T20:07:56.000Z | 2020-04-06T20:07:56.000Z | autolens/plot/plane_plots.py | PyJedi/PyAutoLens | bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7 | [
"MIT"
] | null | null | null | autolens/plot/plane_plots.py | PyJedi/PyAutoLens | bcfb2e7b447aa24508fc648d60b6fd9b4fd852e7 | [
"MIT"
] | null | null | null | from autoarray.plot import plotters
from autoastro.plot import lensing_plotters
@lensing_plotters.set_include_and_plotter
@plotters.set_labels
def profile_image(plane, grid, positions=None, include=None, plotter=None):
plotter.plot_array(
array=plane.profile_image_from_grid(grid=grid),
mask=inclu... | 29.81405 | 88 | 0.712405 | 876 | 7,215 | 5.455479 | 0.070776 | 0.105461 | 0.056497 | 0.078468 | 0.835321 | 0.788449 | 0.788449 | 0.788449 | 0.788449 | 0.748692 | 0 | 0.001928 | 0.209148 | 7,215 | 241 | 89 | 29.937759 | 0.835612 | 0 | 0 | 0.69802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049505 | false | 0 | 0.009901 | 0 | 0.059406 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.