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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7458db738252180b04af7dcbef828d547658567c | 39 | py | Python | lib/distiller/__init__.py | shashank3959/Model-Distillation | d314c0b49fbb54eba05e947b20372e8fb3c7e13d | [
"MIT"
] | null | null | null | lib/distiller/__init__.py | shashank3959/Model-Distillation | d314c0b49fbb54eba05e947b20372e8fb3c7e13d | [
"MIT"
] | null | null | null | lib/distiller/__init__.py | shashank3959/Model-Distillation | d314c0b49fbb54eba05e947b20372e8fb3c7e13d | [
"MIT"
] | null | null | null | from .distiller import Distiller
| 19.5 | 38 | 0.717949 | 4 | 39 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25641 | 39 | 1 | 39 | 39 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
77aa6902409496944308446d34c3bfd60c12ddaa | 20 | py | Python | pythonsum/__init__.py | rajeshberwal/pythonsum | f5223a8ff9cbe43f4ddeed42ab143eedcd3c0180 | [
"MIT"
] | null | null | null | pythonsum/__init__.py | rajeshberwal/pythonsum | f5223a8ff9cbe43f4ddeed42ab143eedcd3c0180 | [
"MIT"
] | null | null | null | pythonsum/__init__.py | rajeshberwal/pythonsum | f5223a8ff9cbe43f4ddeed42ab143eedcd3c0180 | [
"MIT"
] | null | null | null | from .pysum import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 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 |
77e48e385c9ea9ea8154e7af3cdd94f06bbec372 | 38 | py | Python | drcontroller/db/init_db.py | fs714/httpserver | d96b64f89e5f6ed9576b0d12b254756e29bbec50 | [
"Apache-2.0"
] | null | null | null | drcontroller/db/init_db.py | fs714/httpserver | d96b64f89e5f6ed9576b0d12b254756e29bbec50 | [
"Apache-2.0"
] | null | null | null | drcontroller/db/init_db.py | fs714/httpserver | d96b64f89e5f6ed9576b0d12b254756e29bbec50 | [
"Apache-2.0"
] | 2 | 2016-04-18T06:50:03.000Z | 2017-11-23T12:28:53.000Z | from db_Dao import init_db
init_db()
| 9.5 | 26 | 0.789474 | 8 | 38 | 3.375 | 0.625 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 3 | 27 | 12.666667 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
77f189436c422a97ff3f6f7d8abd65955ab53fca | 49 | py | Python | syllabus/classes/class2/utility/__init__.py | KiriKoppelgaard/NLP-E21 | d5ce2f739b06f3a7eae1825626a134fbc4b2314b | [
"MIT"
] | 11 | 2021-09-01T12:48:17.000Z | 2021-09-09T13:00:36.000Z | syllabus/classes/class2/utility/__init__.py | KiriKoppelgaard/NLP-E21 | d5ce2f739b06f3a7eae1825626a134fbc4b2314b | [
"MIT"
] | null | null | null | syllabus/classes/class2/utility/__init__.py | KiriKoppelgaard/NLP-E21 | d5ce2f739b06f3a7eae1825626a134fbc4b2314b | [
"MIT"
] | 22 | 2021-09-06T10:16:30.000Z | 2022-01-30T13:17:58.000Z | from .test_tokenization import check_tokenization | 49 | 49 | 0.918367 | 6 | 49 | 7.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 0.934783 | 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 |
7ae0e9164e1074a2399e791dffc567afe2406bfd | 159 | py | Python | xdnlp/word_discover/__init__.py | mikuh/xdnlp | 1da294659e276c59c620a9ebbab875f1d6fbb038 | [
"MIT"
] | 1 | 2022-02-08T03:27:32.000Z | 2022-02-08T03:27:32.000Z | xdnlp/word_discover/__init__.py | mikuh/xdnlp | 1da294659e276c59c620a9ebbab875f1d6fbb038 | [
"MIT"
] | null | null | null | xdnlp/word_discover/__init__.py | mikuh/xdnlp | 1da294659e276c59c620a9ebbab875f1d6fbb038 | [
"MIT"
] | null | null | null | from xdnlp.word_discover.ngram import Ngrams
from xdnlp.word_discover.word_discover import WordDiscover
ngram = Ngrams()
__all__ = ['ngram', 'WordDiscover']
| 22.714286 | 58 | 0.798742 | 20 | 159 | 6 | 0.45 | 0.3 | 0.216667 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106918 | 159 | 6 | 59 | 26.5 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0.106918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bb05564f6e923d9c6e0b96b74b826346cb055f7d | 400 | py | Python | MyDjango/shopper/views.py | yangyi-d/django_base | b59543143156c1a011d31026af6de05e79aa0ce3 | [
"MIT"
] | null | null | null | MyDjango/shopper/views.py | yangyi-d/django_base | b59543143156c1a011d31026af6de05e79aa0ce3 | [
"MIT"
] | null | null | null | MyDjango/shopper/views.py | yangyi-d/django_base | b59543143156c1a011d31026af6de05e79aa0ce3 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def shopperView(request):
"""
:param request:
:return:
"""
pass
def loginView(request):
"""
:param request:
:return:
"""
def logoutView(request):
"""
:param request:
:return:
"""
pass
def sho... | 10.25641 | 35 | 0.54 | 36 | 400 | 6 | 0.5 | 0.222222 | 0.351852 | 0.462963 | 0.430556 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3225 | 400 | 38 | 36 | 10.526316 | 0.797048 | 0.31 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.375 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
bb55ce69deace44a486e3ce1cb1600bb735919d8 | 132 | py | Python | fbtapack/config/fbta_config_constant.py | kandation/FBTAFastPublic | 22806a91c7d43ad49cb21ff3fa3821c70a86ffbb | [
"MIT"
] | null | null | null | fbtapack/config/fbta_config_constant.py | kandation/FBTAFastPublic | 22806a91c7d43ad49cb21ff3fa3821c70a86ffbb | [
"MIT"
] | null | null | null | fbtapack/config/fbta_config_constant.py | kandation/FBTAFastPublic | 22806a91c7d43ad49cb21ff3fa3821c70a86ffbb | [
"MIT"
] | null | null | null | class FBTAConfigConstant:
DIR_DETAIL_NEW_ALL_RUN = 'DIR_DETAIL_NEW_ALL_RUN'
DIR_DETAIL_NEW_ON_DAY = 'DIR_DETAIL_NEW_ON_DAY'
| 33 | 53 | 0.825758 | 22 | 132 | 4.227273 | 0.409091 | 0.387097 | 0.516129 | 0.322581 | 0.752688 | 0.516129 | 0.516129 | 0.516129 | 0 | 0 | 0 | 0 | 0.121212 | 132 | 3 | 54 | 44 | 0.801724 | 0 | 0 | 0 | 0 | 0 | 0.325758 | 0.325758 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
24fbdef7eabe5a67465772b4df81fba23e6a7882 | 3,415 | py | Python | tests/unit/lms/models/module_item_configuration_test.py | robertknight/lms | 634c78ad3f7d79a59b3edacdceaae6205ca319b4 | [
"BSD-2-Clause"
] | null | null | null | tests/unit/lms/models/module_item_configuration_test.py | robertknight/lms | 634c78ad3f7d79a59b3edacdceaae6205ca319b4 | [
"BSD-2-Clause"
] | null | null | null | tests/unit/lms/models/module_item_configuration_test.py | robertknight/lms | 634c78ad3f7d79a59b3edacdceaae6205ca319b4 | [
"BSD-2-Clause"
] | null | null | null | import pytest
from lms.models import ModuleItemConfiguration
class TestModuleItemConfiguration:
def test_get_document_url_returns_the_document_url(self, db_session):
db_session.add(
ModuleItemConfiguration(
tool_consumer_instance_guid="test_tool_consumer_instance_guid",
... | 34.846939 | 86 | 0.617277 | 339 | 3,415 | 5.59882 | 0.153392 | 0.191254 | 0.189673 | 0.227608 | 0.896207 | 0.80295 | 0.744468 | 0.692308 | 0.692308 | 0.692308 | 0 | 0.003884 | 0.321523 | 3,415 | 97 | 87 | 35.206186 | 0.815278 | 0 | 0 | 0.52381 | 0 | 0 | 0.22694 | 0.175988 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.059524 | false | 0 | 0.02381 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
705d84a11fb70c20a31ca2e37c9236f3f2bf93ff | 98 | py | Python | components/supplier/Supplier_tpl.py | bitbuit/billterm | 553bf2afb6ff2c1e15becbe1b4ab59346e5a87b5 | [
"MIT"
] | null | null | null | components/supplier/Supplier_tpl.py | bitbuit/billterm | 553bf2afb6ff2c1e15becbe1b4ab59346e5a87b5 | [
"MIT"
] | null | null | null | components/supplier/Supplier_tpl.py | bitbuit/billterm | 553bf2afb6ff2c1e15becbe1b4ab59346e5a87b5 | [
"MIT"
] | null | null | null | from components.company.Company_tpl import Company_tpl
class Supplier_tpl(Company_tpl):
pass
| 19.6 | 54 | 0.826531 | 14 | 98 | 5.5 | 0.571429 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 4 | 55 | 24.5 | 0.895349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
562953093e0475100dfaf20228d18dbf43fbdb46 | 76 | py | Python | nbmolviz/widgets/__init__.py | jparkhill/notebook-molecular-visualization | 2dd61fedcf363d7362b727669b86c5f1c07656fd | [
"Apache-2.0"
] | 55 | 2016-07-21T23:25:59.000Z | 2022-02-14T01:04:49.000Z | nbmolviz/widgets/__init__.py | jparkhill/notebook-molecular-visualization | 2dd61fedcf363d7362b727669b86c5f1c07656fd | [
"Apache-2.0"
] | 40 | 2016-07-26T20:57:04.000Z | 2021-09-06T02:31:52.000Z | nbmolviz/widgets/__init__.py | Autodesk/notebook-molecular-visualization | 2dd61fedcf363d7362b727669b86c5f1c07656fd | [
"Apache-2.0"
] | 18 | 2016-07-25T21:49:02.000Z | 2020-10-03T11:17:03.000Z | from .geombuilder import *
from .selection import *
from .symmetry import *
| 19 | 26 | 0.763158 | 9 | 76 | 6.444444 | 0.555556 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 76 | 3 | 27 | 25.333333 | 0.90625 | 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 |
56382ee81634469732b87b4f4fb7452d59c9a5ca | 45 | py | Python | minion_data/inspect/__init__.py | nmiculinic/minion-data | c867791defaf7d2c716b7755f3962b9af2c5e459 | [
"MIT"
] | null | null | null | minion_data/inspect/__init__.py | nmiculinic/minion-data | c867791defaf7d2c716b7755f3962b9af2c5e459 | [
"MIT"
] | null | null | null | minion_data/inspect/__init__.py | nmiculinic/minion-data | c867791defaf7d2c716b7755f3962b9af2c5e459 | [
"MIT"
] | null | null | null | from ._inspect import add_args, debug_output
| 22.5 | 44 | 0.844444 | 7 | 45 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
564d3629e78b7e04f2f27a5707ec77a5e5e21081 | 104 | py | Python | NexusApi/__init__.py | doorknob6/NexusApi | 24bbc85d19e05cf23bac289f865c1af3a0f23390 | [
"MIT"
] | null | null | null | NexusApi/__init__.py | doorknob6/NexusApi | 24bbc85d19e05cf23bac289f865c1af3a0f23390 | [
"MIT"
] | null | null | null | NexusApi/__init__.py | doorknob6/NexusApi | 24bbc85d19e05cf23bac289f865c1af3a0f23390 | [
"MIT"
] | null | null | null | from NexusApi.NexusHub import NexusApi, Price
from NexusApi.TimeoutHttpAdapter import TimeoutHttpAdapter | 52 | 58 | 0.894231 | 11 | 104 | 8.454545 | 0.545455 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 104 | 2 | 58 | 52 | 0.96875 | 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 |
3b60e4fb912273e5da2c07bdb3856beba7dcb654 | 51 | py | Python | res_mlp_pytorch/__init__.py | onlyrico/res-mlp-pytorch | 562814a406cc418bdb4710aa3bdc569206ac171b | [
"MIT"
] | 158 | 2021-05-10T03:09:52.000Z | 2022-03-25T03:31:29.000Z | res_mlp_pytorch/__init__.py | Beniko95J/res-mlp-pytorch | 7a5b5276cd9270ad8131f77dfe4e6f56fe65fb3f | [
"MIT"
] | 3 | 2021-05-10T10:11:32.000Z | 2022-01-07T15:30:10.000Z | res_mlp_pytorch/__init__.py | Beniko95J/res-mlp-pytorch | 7a5b5276cd9270ad8131f77dfe4e6f56fe65fb3f | [
"MIT"
] | 29 | 2021-05-10T08:30:37.000Z | 2022-03-18T01:33:40.000Z | from res_mlp_pytorch.res_mlp_pytorch import ResMLP
| 25.5 | 50 | 0.901961 | 9 | 51 | 4.666667 | 0.666667 | 0.285714 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.893617 | 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 |
8e815f328bcf435f34e47968a2baebe89d01139b | 73,531 | py | Python | compare_db_perf_new_format.py | fio2003/GPA_star | 33530056500fed30bba27aaade3db544f76c4c50 | [
"MIT"
] | null | null | null | compare_db_perf_new_format.py | fio2003/GPA_star | 33530056500fed30bba27aaade3db544f76c4c50 | [
"MIT"
] | null | null | null | compare_db_perf_new_format.py | fio2003/GPA_star | 33530056500fed30bba27aaade3db544f76c4c50 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import os
import sqlite3 as lite
import matplotlib.pyplot as plt
import numpy as np
from matplotlib.figure import figaspect
import multiprocessing as mp
import math
def main():
"""
This function sets the task.
Our task is to compare different runs by plotting plots.
You specify... | 71.458698 | 394 | 0.626647 | 11,464 | 73,531 | 3.693911 | 0.04126 | 0.015869 | 0.02574 | 0.020568 | 0.850592 | 0.825041 | 0.797861 | 0.78211 | 0.759747 | 0.748861 | 0 | 0.021141 | 0.213896 | 73,531 | 1,028 | 395 | 71.52821 | 0.711468 | 0.241082 | 0 | 0.485623 | 0 | 0.011182 | 0.199825 | 0.024937 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015974 | false | 0.017572 | 0.011182 | 0 | 0.035144 | 0.009585 | 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 |
8ec9d2779aadb4a531d8a13786a2eda39523f557 | 79,798 | py | Python | libcloud/test/compute/test_dimensiondata.py | dineshbhoopathy/libcloud | fec8af6a4d43ef45eafa3631fb1a91ff33a6440e | [
"Apache-2.0"
] | null | null | null | libcloud/test/compute/test_dimensiondata.py | dineshbhoopathy/libcloud | fec8af6a4d43ef45eafa3631fb1a91ff33a6440e | [
"Apache-2.0"
] | null | null | null | libcloud/test/compute/test_dimensiondata.py | dineshbhoopathy/libcloud | fec8af6a4d43ef45eafa3631fb1a91ff33a6440e | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | 52.98672 | 159 | 0.672523 | 9,685 | 79,798 | 5.211668 | 0.056892 | 0.040812 | 0.053254 | 0.066568 | 0.876771 | 0.841961 | 0.81789 | 0.78847 | 0.763606 | 0.743635 | 0 | 0.091988 | 0.227161 | 79,798 | 1,505 | 160 | 53.021927 | 0.726468 | 0.012845 | 0 | 0.571877 | 0 | 0 | 0.183762 | 0.143244 | 0 | 0 | 0 | 0 | 0.169678 | 1 | 0.152396 | false | 0.018853 | 0.013354 | 0.000786 | 0.238806 | 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 |
d91d28983068bf2258ab280e5daebba603c60b9b | 42 | py | Python | analysis/__init__.py | d0cd/vectre-x86-disasm | 098a2a67c8d588d9960150a6eda538f42694548b | [
"MIT"
] | null | null | null | analysis/__init__.py | d0cd/vectre-x86-disasm | 098a2a67c8d588d9960150a6eda538f42694548b | [
"MIT"
] | null | null | null | analysis/__init__.py | d0cd/vectre-x86-disasm | 098a2a67c8d588d9960150a6eda538f42694548b | [
"MIT"
] | null | null | null | from .symbolic_constant_collector import * | 42 | 42 | 0.880952 | 5 | 42 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.897436 | 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 |
d949d8c0798bbc1ec087b026b94ac5ff5174b284 | 3,975 | py | Python | test/test_rules.py | t-keazirian/tic-tac-toe | df557aaa6f01e3bfaf68dea96f9994bc3815067b | [
"MIT"
] | null | null | null | test/test_rules.py | t-keazirian/tic-tac-toe | df557aaa6f01e3bfaf68dea96f9994bc3815067b | [
"MIT"
] | 5 | 2022-03-18T19:07:56.000Z | 2022-03-25T17:00:50.000Z | test/test_rules.py | t-keazirian/tic-tac-toe | df557aaa6f01e3bfaf68dea96f9994bc3815067b | [
"MIT"
] | null | null | null | import unittest
from src.rules import Rules
class TestRules(unittest.TestCase):
def test_if_three_in_horizontal_first_row_return_true(self):
rules = Rules()
current_board = ["X", "X", "X", "O", "5", "6", "7", "8", "9"]
winner = rules.is_winner_horizontal(current_board)
self.assert... | 41.40625 | 77 | 0.615094 | 551 | 3,975 | 4.083485 | 0.088929 | 0.16 | 0.06 | 0.14 | 0.885333 | 0.88 | 0.868444 | 0.861333 | 0.786222 | 0.769333 | 0 | 0.028756 | 0.221384 | 3,975 | 95 | 78 | 41.842105 | 0.698223 | 0 | 0 | 0.641026 | 0 | 0 | 0.033962 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 1 | 0.192308 | false | 0 | 0.025641 | 0 | 0.230769 | 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 |
d97da84cabbd8e93eaebcad93ec22592124879ed | 35 | py | Python | robin_stocks/__init__.py | DerTarchin/robin_stocks | aae9e112743bea9a6237eadf86956ce8097fd1bd | [
"MIT"
] | null | null | null | robin_stocks/__init__.py | DerTarchin/robin_stocks | aae9e112743bea9a6237eadf86956ce8097fd1bd | [
"MIT"
] | null | null | null | robin_stocks/__init__.py | DerTarchin/robin_stocks | aae9e112743bea9a6237eadf86956ce8097fd1bd | [
"MIT"
] | null | null | null | from robin_stocks import robinhood
| 17.5 | 34 | 0.885714 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
796ddfd33de1ad62319e5567600bef1ff567ca4b | 139 | py | Python | src/__init__.py | cdagnino/LearningModels | b31d4e1dd5381ba06fc5b1d2b0e2eb1515f2d15f | [
"Apache-2.0"
] | null | null | null | src/__init__.py | cdagnino/LearningModels | b31d4e1dd5381ba06fc5b1d2b0e2eb1515f2d15f | [
"Apache-2.0"
] | null | null | null | src/__init__.py | cdagnino/LearningModels | b31d4e1dd5381ba06fc5b1d2b0e2eb1515f2d15f | [
"Apache-2.0"
] | null | null | null | from .models.finite_transitions_fs import *
from .constants import *
from .utils import *
from .simulation import *
from .gmmtools import * | 27.8 | 43 | 0.784173 | 18 | 139 | 5.944444 | 0.555556 | 0.373832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136691 | 139 | 5 | 44 | 27.8 | 0.891667 | 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 |
79825e71577b3761b2de95fa89ce91c18c165e33 | 96 | py | Python | StocksAPI/views/index.py | javapagar/DRF_REST_API | 85c1cb7b923610b42ac23e8bdad7d91fd0740283 | [
"MIT"
] | null | null | null | StocksAPI/views/index.py | javapagar/DRF_REST_API | 85c1cb7b923610b42ac23e8bdad7d91fd0740283 | [
"MIT"
] | null | null | null | StocksAPI/views/index.py | javapagar/DRF_REST_API | 85c1cb7b923610b42ac23e8bdad7d91fd0740283 | [
"MIT"
] | 1 | 2021-11-26T00:26:54.000Z | 2021-11-26T00:26:54.000Z | from django.http import HttpResponse
def index(request):
return HttpResponse('Hi there!')
| 16 | 36 | 0.75 | 12 | 96 | 6 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 37 | 19.2 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 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 |
5c1e082fc1d22f6fd0543a17ac0b4f0d8eb1f433 | 251 | py | Python | nmigen/compat/fhdl/specials.py | psumesh/nmigen | 7d611b8fc1d9e58853ff268ec38ff8f4131a9774 | [
"BSD-2-Clause"
] | 528 | 2020-01-28T18:21:00.000Z | 2021-12-09T06:27:51.000Z | nmigen/compat/fhdl/specials.py | DX-MON/nmigen | a6a13dd612ee1c9215719c70a5aa410a8775ffdb | [
"BSD-2-Clause"
] | 360 | 2020-01-28T18:34:30.000Z | 2021-12-10T08:03:32.000Z | nmigen/compat/fhdl/specials.py | DX-MON/nmigen | a6a13dd612ee1c9215719c70a5aa410a8775ffdb | [
"BSD-2-Clause"
] | 100 | 2020-02-06T21:55:46.000Z | 2021-11-25T19:20:44.000Z | from amaranth.compat.fhdl.specials import *
from amaranth.compat.fhdl.specials import __all__
import warnings
warnings.warn("instead of nmigen.compat.fhdl.specials, use amaranth.compat.fhdl.specials",
DeprecationWarning, stacklevel=2)
| 31.375 | 90 | 0.780876 | 31 | 251 | 6.193548 | 0.516129 | 0.208333 | 0.375 | 0.40625 | 0.375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.131474 | 251 | 7 | 91 | 35.857143 | 0.876147 | 0 | 0 | 0 | 0 | 0 | 0.290837 | 0.227092 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
5c294f068dd2b41f18251bb2f9836786d2918047 | 26 | py | Python | examples/upload-demo/src/__init__.py | LowinLi/devpi-docker | 65bc12446575c66bdb60399c74c146f87178efff | [
"MIT"
] | 1 | 2022-03-07T03:55:57.000Z | 2022-03-07T03:55:57.000Z | examples/upload-demo/src/__init__.py | LowinLi/devpi-docker | 65bc12446575c66bdb60399c74c146f87178efff | [
"MIT"
] | null | null | null | examples/upload-demo/src/__init__.py | LowinLi/devpi-docker | 65bc12446575c66bdb60399c74c146f87178efff | [
"MIT"
] | null | null | null | from .func import softmax
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
30df7ed8dc7cfc1903f44617d247a254e1febf90 | 42 | py | Python | src/wai/annotations/isp/remove_classes/component/__init__.py | waikato-ufdl/wai-annotations-core | bac3429e9488efb456972c74f9d462f951c4af3d | [
"Apache-2.0"
] | null | null | null | src/wai/annotations/isp/remove_classes/component/__init__.py | waikato-ufdl/wai-annotations-core | bac3429e9488efb456972c74f9d462f951c4af3d | [
"Apache-2.0"
] | 3 | 2021-06-30T23:42:47.000Z | 2022-03-01T03:45:07.000Z | src/wai/annotations/isp/remove_classes/component/__init__.py | waikato-ufdl/wai-annotations-core | bac3429e9488efb456972c74f9d462f951c4af3d | [
"Apache-2.0"
] | null | null | null | from ._RemoveClasses import RemoveClasses
| 21 | 41 | 0.880952 | 4 | 42 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 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 |
30eddfd72b075636df95ec4744b725d1e3330703 | 26 | py | Python | vertipy/__init__.py | 3r1ck10/vertipy | 4fdc07629d82cf9581e5f7ad383fb2192aaee658 | [
"MIT"
] | null | null | null | vertipy/__init__.py | 3r1ck10/vertipy | 4fdc07629d82cf9581e5f7ad383fb2192aaee658 | [
"MIT"
] | null | null | null | vertipy/__init__.py | 3r1ck10/vertipy | 4fdc07629d82cf9581e5f7ad383fb2192aaee658 | [
"MIT"
] | null | null | null | from .datos_grid import *
| 13 | 25 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 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 |
a50284a97dae3214413f869b2bbfb019745c2daa | 25 | py | Python | compression/netural_distiller/build/lib/distiller/util/__init__.py | LarryXing0/mylab | d60947a8720ba36ae2144f26f2bb06669e203ce8 | [
"MIT"
] | 3 | 2021-01-13T13:15:27.000Z | 2021-04-06T03:59:29.000Z | compression/netural_distiller/build/lib/distiller/util/__init__.py | LarryXing0/mylab | d60947a8720ba36ae2144f26f2bb06669e203ce8 | [
"MIT"
] | null | null | null | compression/netural_distiller/build/lib/distiller/util/__init__.py | LarryXing0/mylab | d60947a8720ba36ae2144f26f2bb06669e203ce8 | [
"MIT"
] | 1 | 2021-05-26T03:44:53.000Z | 2021-05-26T03:44:53.000Z | from .mmd import MMD_Loss | 25 | 25 | 0.84 | 5 | 25 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb7b2082aba1882bff270f16b25495d56e417787 | 83 | py | Python | py_tdlib/constructors/page_block_horizontal_alignment_center.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/page_block_horizontal_alignment_center.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/page_block_horizontal_alignment_center.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class pageBlockHorizontalAlignmentCenter(Type):
pass
| 13.833333 | 47 | 0.819277 | 8 | 83 | 8.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 83 | 5 | 48 | 16.6 | 0.931507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ebd369bb5c94d98a87f52be5bc1da0b45d49e081 | 184 | py | Python | platform/core/polyaxon/conf/options/registries.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/conf/options/registries.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/conf/options/registries.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | import conf
from options.registry import registries
conf.subscribe(registries.RegistryInCluster)
conf.subscribe(registries.RegistryLocalHost)
conf.subscribe(registries.RegistryHost)
| 23 | 44 | 0.869565 | 19 | 184 | 8.421053 | 0.526316 | 0.24375 | 0.43125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059783 | 184 | 7 | 45 | 26.285714 | 0.924855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ccf17db4fcfc7cb25cb44bbc83a68b4e662de930 | 41 | py | Python | SocketMutex/__init__.py | MaxMaxoff/Mutex | fbeee369c1b0ecc08b0cdb109b115f15bed57196 | [
"MIT"
] | 1 | 2021-10-04T09:09:13.000Z | 2021-10-04T09:09:13.000Z | SocketMutex/__init__.py | MaxMaxoff/Mutex | fbeee369c1b0ecc08b0cdb109b115f15bed57196 | [
"MIT"
] | null | null | null | SocketMutex/__init__.py | MaxMaxoff/Mutex | fbeee369c1b0ecc08b0cdb109b115f15bed57196 | [
"MIT"
] | null | null | null | from SocketMutex.SocketMutex import Mutex | 41 | 41 | 0.902439 | 5 | 41 | 7.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.973684 | 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 |
15db3d0a7b2e4aef25131a10156db9e70034d2ec | 115 | py | Python | theano/scalar/__init__.py | MarcCote/Theano | f0d293161a624ccf10c60ee8405a92e7d321151a | [
"BSD-3-Clause"
] | 95 | 2019-05-14T20:55:26.000Z | 2022-03-26T13:32:42.000Z | theano/scalar/__init__.py | EnjoyLifeFund/Debian_py36_packages | 1985d4c73fabd5f08f54b922e73a9306e09c77a5 | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | 7 | 2019-11-25T08:24:47.000Z | 2021-09-12T13:29:14.000Z | theano/scalar/__init__.py | EnjoyLifeFund/Debian_py36_packages | 1985d4c73fabd5f08f54b922e73a9306e09c77a5 | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | 30 | 2016-10-27T21:59:00.000Z | 2021-02-20T09:55:14.000Z | from __future__ import absolute_import, print_function, division
from .basic import *
from .basic_scipy import *
| 19.166667 | 64 | 0.808696 | 15 | 115 | 5.733333 | 0.6 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 115 | 5 | 65 | 23 | 0.868687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 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 |
15dd99ae883dd8bd4dc461b947a28b79a4327683 | 54 | py | Python | test/test1.py | susburrows/uvcmetrics | 5a3c1266f3e5e97398a7671b01fa2816fb307c38 | [
"X11",
"MIT"
] | null | null | null | test/test1.py | susburrows/uvcmetrics | 5a3c1266f3e5e97398a7671b01fa2816fb307c38 | [
"X11",
"MIT"
] | null | null | null | test/test1.py | susburrows/uvcmetrics | 5a3c1266f3e5e97398a7671b01fa2816fb307c38 | [
"X11",
"MIT"
] | null | null | null | import metrics
import metrics.io
import metrics.exts
| 10.8 | 19 | 0.833333 | 8 | 54 | 5.625 | 0.5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 4 | 20 | 13.5 | 0.957447 | 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 |
c634dfc70472b38eaeb30982a99e43909742b1ba | 80,632 | py | Python | AIDeveloper/model_zoo.py | maikherbig/AIDeveloper | 34d03cc6953680255fb0d2d0406331e70b7eaa50 | [
"BSD-3-Clause"
] | 65 | 2019-10-02T09:56:22.000Z | 2022-03-16T22:41:14.000Z | AIDeveloper/model_zoo.py | maikherbig/AIDeveloper | 34d03cc6953680255fb0d2d0406331e70b7eaa50 | [
"BSD-3-Clause"
] | 51 | 2020-01-13T07:54:13.000Z | 2022-03-17T09:11:56.000Z | AIDeveloper/model_zoo.py | maikherbig/AIDeveloper | 34d03cc6953680255fb0d2d0406331e70b7eaa50 | [
"BSD-3-Clause"
] | 16 | 2020-03-06T09:26:03.000Z | 2022-02-05T05:35:05.000Z | # -*- coding: utf-8 -*-
"""
Created on Fri Dec 14 12:36:16 2018
@author: maikh
"""
from keras.models import Sequential,Model
from keras.layers import Add,Concatenate,Input,Dense,Dropout,Flatten,Activation,Conv2D,MaxPooling2D,BatchNormalization,GlobalAveragePooling2D,GlobalMaxPooling2D,concatenate
from keras.la... | 39.506124 | 252 | 0.651677 | 10,826 | 80,632 | 4.700259 | 0.055884 | 0.039619 | 0.031915 | 0.026098 | 0.822738 | 0.805463 | 0.791176 | 0.780564 | 0.76893 | 0.752913 | 0 | 0.041745 | 0.215088 | 80,632 | 2,040 | 253 | 39.52549 | 0.762265 | 0.198928 | 0 | 0.664134 | 0 | 0.00152 | 0.096922 | 0.011823 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047112 | false | 0.00152 | 0.006079 | 0.00152 | 0.100304 | 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 |
d67a71b2f9b2510b0595399eba42c67f013c9fdb | 96 | py | Python | venv/lib/python3.8/site-packages/importlib_metadata/_collections.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/importlib_metadata/_collections.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/importlib_metadata/_collections.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/08/9d/0e/4c21c88d6034648552e2fa0e440b27d91e11d9c40112d3ec6442690126 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.489583 | 0 | 96 | 1 | 96 | 96 | 0.40625 | 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 |
d68dd78292ad85fb08a9cce42c671bc0d63f5aba | 33 | py | Python | namesync/exceptions.py | dnerdy/namesync | 004c5968968e9db82ca8cd16ace8f59088e3e570 | [
"MIT"
] | 9 | 2015-01-14T21:31:11.000Z | 2020-05-08T23:39:07.000Z | namesync/exceptions.py | dnerdy/namesync | 004c5968968e9db82ca8cd16ace8f59088e3e570 | [
"MIT"
] | 1 | 2015-01-14T21:30:58.000Z | 2015-08-11T22:28:04.000Z | namesync/exceptions.py | dnerdy/namesync | 004c5968968e9db82ca8cd16ace8f59088e3e570 | [
"MIT"
] | 2 | 2015-01-16T21:35:42.000Z | 2020-06-18T18:59:10.000Z |
class ApiError(Exception): pass
| 11 | 31 | 0.787879 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 2 | 32 | 16.5 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
d6a5dc8d12b3a2818b230e8a004e1820fca0fa16 | 63 | py | Python | tests/test_data/hello1.py | miohtama/android-remote-python | f081d8bb6d9ae25e8ea690a59bb1007673ef7a23 | [
"MIT"
] | 11 | 2016-05-04T20:21:20.000Z | 2020-12-23T06:36:37.000Z | tests/test_data/hello1.py | miohtama/android-remote-python | f081d8bb6d9ae25e8ea690a59bb1007673ef7a23 | [
"MIT"
] | 1 | 2017-01-12T21:24:05.000Z | 2017-01-12T21:24:05.000Z | tests/test_data/hello1.py | miohtama/android-remote-python | f081d8bb6d9ae25e8ea690a59bb1007673ef7a23 | [
"MIT"
] | 2 | 2016-03-13T09:23:20.000Z | 2020-09-03T07:30:30.000Z | from hello2 import subhello
def hello():
return subhello() | 15.75 | 27 | 0.730159 | 8 | 63 | 5.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.190476 | 63 | 4 | 28 | 15.75 | 0.882353 | 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 |
d6c779a790f4c38f89e9b5f1be8c33cd3cc0b8b0 | 1,685 | py | Python | test/lmp/util/validate/test_raise_if_wrong_ordered.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | test/lmp/util/validate/test_raise_if_wrong_ordered.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | test/lmp/util/validate/test_raise_if_wrong_ordered.py | ProFatXuanAll/char-RNN | 531f101b3d1ba20bafd28ca060aafe6f583d1efb | [
"Beerware"
] | null | null | null | """Test raise exception.
Test target:
- :py:meth:`lmp.util.validate.raise_if_wrong_ordered`.
"""
import pytest
from lmp.util.validate import raise_if_wrong_ordered
def test_not_raise() -> None:
"""Must not raise when list values are ascending."""
for vals in [
(-1, -1, -1),
(-1, -1, 0),
(-1, -1, 1)... | 20.802469 | 77 | 0.410682 | 343 | 1,685 | 1.959184 | 0.12828 | 0.214286 | 0.263393 | 0.238095 | 0.528274 | 0.474702 | 0.46875 | 0.46875 | 0.46875 | 0.449405 | 0 | 0.202838 | 0.289021 | 1,685 | 80 | 78 | 21.0625 | 0.358097 | 0.122849 | 0 | 0.090909 | 0 | 0 | 0.020534 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 1 | 0.030303 | false | 0 | 0.030303 | 0 | 0.060606 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ba371f5ef8036868bce8bceffd6c611e2daac01b | 166 | py | Python | httptools/parser/__init__.py | hidaris/httptools | 40404907f2714c4463aca35f3d258efdbb417fb3 | [
"MIT"
] | 1,146 | 2016-04-27T02:25:03.000Z | 2022-03-24T13:17:31.000Z | httptools/parser/__init__.py | hidaris/httptools | 40404907f2714c4463aca35f3d258efdbb417fb3 | [
"MIT"
] | 56 | 2016-05-04T14:50:58.000Z | 2022-02-22T18:34:22.000Z | httptools/parser/__init__.py | hidaris/httptools | 40404907f2714c4463aca35f3d258efdbb417fb3 | [
"MIT"
] | 77 | 2016-05-04T10:32:29.000Z | 2022-02-13T05:20:32.000Z | from .parser import * # NoQA
from .errors import * # NoQA
from .url_parser import * # NoQA
__all__ = parser.__all__ + errors.__all__ + url_parser.__all__ # NoQA
| 27.666667 | 70 | 0.710843 | 22 | 166 | 4.545455 | 0.318182 | 0.3 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 166 | 5 | 71 | 33.2 | 0.746269 | 0.114458 | 0 | 0 | 0 | 0 | 0 | 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 |
ba52fdea0a76c60154b09a43d4915a58ad1f74ff | 31 | py | Python | db/__init__.py | AlisaPervenenok/group_stat | b2be0eed5814f1138a5cf03fd84e3cf7524553ba | [
"MIT"
] | null | null | null | db/__init__.py | AlisaPervenenok/group_stat | b2be0eed5814f1138a5cf03fd84e3cf7524553ba | [
"MIT"
] | null | null | null | db/__init__.py | AlisaPervenenok/group_stat | b2be0eed5814f1138a5cf03fd84e3cf7524553ba | [
"MIT"
] | null | null | null | from .database import SqlQuery
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
ba7c406edf9237ee0d0897c893e6e33e522725b0 | 31 | py | Python | pygmaps/__init__.py | thearn/pygmaps-extended | 021a06204ae43740245631b027ed6c7d2270af4b | [
"Apache-2.0"
] | 9 | 2015-03-05T23:03:12.000Z | 2020-07-10T21:54:56.000Z | pygmaps/__init__.py | thearn/pygmaps-extended | 021a06204ae43740245631b027ed6c7d2270af4b | [
"Apache-2.0"
] | 1 | 2015-09-26T09:31:07.000Z | 2015-09-26T09:31:07.000Z | pygmaps/__init__.py | thearn/pygmaps-extended | 021a06204ae43740245631b027ed6c7d2270af4b | [
"Apache-2.0"
] | 10 | 2015-06-25T01:34:57.000Z | 2021-06-10T12:43:02.000Z | from gmaps import maps as gmap
| 15.5 | 30 | 0.806452 | 6 | 31 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 31 | 1 | 31 | 31 | 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 |
ba819c2f80b4fa133a72135489220f36c7d146af | 100 | py | Python | rameniaapp/templatetags/__init__.py | awlane/ramenia | 6bf8e75a1f279ac584daa4ee19927ffccaa67551 | [
"MIT"
] | null | null | null | rameniaapp/templatetags/__init__.py | awlane/ramenia | 6bf8e75a1f279ac584daa4ee19927ffccaa67551 | [
"MIT"
] | null | null | null | rameniaapp/templatetags/__init__.py | awlane/ramenia | 6bf8e75a1f279ac584daa4ee19927ffccaa67551 | [
"MIT"
] | null | null | null | from .lookup import *
from .tag_handler import *
from .moderator import *
from .get_creator import * | 25 | 26 | 0.77 | 14 | 100 | 5.357143 | 0.571429 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 4 | 27 | 25 | 0.882353 | 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 |
bad8168e73a0789ee3c0567071eca4e28b6b10e2 | 6,679 | py | Python | analysis/complexity.py | stephaniewanko/example | fa414d7c6adbf1b0fb8b405585c8d414a05be758 | [
"Apache-2.0"
] | null | null | null | analysis/complexity.py | stephaniewanko/example | fa414d7c6adbf1b0fb8b405585c8d414a05be758 | [
"Apache-2.0"
] | 1 | 2019-01-24T21:26:22.000Z | 2019-01-24T21:26:22.000Z | analysis/complexity.py | stephaniewanko/example | fa414d7c6adbf1b0fb8b405585c8d414a05be758 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#Complexity script
import numpy as np
import sys
import pandas as pd
import timeit
sys.path.append('')
from algs import bubblesort, quicksort
#testing 100 random vectors of various sizes to determine 1)the number of assignments, 2)the numnber of conditionals, 3)the time
#bubble_100_assign=[]
#bu... | 42.272152 | 128 | 0.731996 | 1,053 | 6,679 | 4.454891 | 0.068376 | 0.184182 | 0.191857 | 0.204647 | 0.919633 | 0.891281 | 0.863355 | 0.739928 | 0.629716 | 0.499041 | 0 | 0.095542 | 0.109897 | 6,679 | 157 | 129 | 42.541401 | 0.693524 | 0.062884 | 0 | 0.463768 | 0 | 0 | 0.095917 | 0.008807 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.036232 | 0 | 0.036232 | 0.028986 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2459e0d47cfe4ca3afb4b734597b9e9c26528e1b | 115 | py | Python | tpau_gtfsutilities/utilities/__init__.py | anniekfifer/tpau-gtfsutils | a022d4c8465b7f736023ecc294ff0d7d0201b0e9 | [
"BSD-3-Clause"
] | 1 | 2021-05-25T23:33:01.000Z | 2021-05-25T23:33:01.000Z | tpau_gtfsutilities/utilities/__init__.py | anniekfifer/tpau-gtfsutils | a022d4c8465b7f736023ecc294ff0d7d0201b0e9 | [
"BSD-3-Clause"
] | null | null | null | tpau_gtfsutilities/utilities/__init__.py | anniekfifer/tpau-gtfsutils | a022d4c8465b7f736023ecc294ff0d7d0201b0e9 | [
"BSD-3-Clause"
] | null | null | null | from . import averageheadway
from . import gtfsutility
from . import stopvisits
from . import interpolate_stoptimes | 28.75 | 35 | 0.834783 | 13 | 115 | 7.307692 | 0.538462 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 115 | 4 | 35 | 28.75 | 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 |
79e650e9f8870db7ba1b416d9fc3ca78526dcc50 | 2,301 | py | Python | src/db/operations/customer_queries.py | ahmed-gohary/CarRentalSystem | 285cbbe9052903e60f8a38676af256c8a6b54fb8 | [
"Xnet",
"X11"
] | null | null | null | src/db/operations/customer_queries.py | ahmed-gohary/CarRentalSystem | 285cbbe9052903e60f8a38676af256c8a6b54fb8 | [
"Xnet",
"X11"
] | null | null | null | src/db/operations/customer_queries.py | ahmed-gohary/CarRentalSystem | 285cbbe9052903e60f8a38676af256c8a6b54fb8 | [
"Xnet",
"X11"
] | null | null | null | from src.db.database import locked, Database
from src.models.customer import Customer, DeleteCustomer
from src.models.query_response import InsertResponse, UpdateResponse
@locked
def insert_customer(customer: Customer):
cursor = Database.get_instance().get_conn_cursor()
try:
args = [
custo... | 30.68 | 72 | 0.634941 | 262 | 2,301 | 5.316794 | 0.209924 | 0.068916 | 0.081838 | 0.061019 | 0.755205 | 0.755205 | 0.755205 | 0.752333 | 0.752333 | 0.720029 | 0 | 0.004179 | 0.272056 | 2,301 | 74 | 73 | 31.094595 | 0.827463 | 0 | 0 | 0.738462 | 0 | 0 | 0.023934 | 0.018712 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046154 | false | 0 | 0.046154 | 0 | 0.184615 | 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 |
0339300779dba7f8247c4d89757e179a4734102e | 244 | py | Python | objectModel/Python/cdm/utilities/network/cdm_number_of_retries_exceeded_exception.py | aaron-emde/CDM | 9472e9c7694821ac4a9bbe608557d2e65aabc73e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | objectModel/Python/cdm/utilities/network/cdm_number_of_retries_exceeded_exception.py | aaron-emde/CDM | 9472e9c7694821ac4a9bbe608557d2e65aabc73e | [
"CC-BY-4.0",
"MIT"
] | 3 | 2021-05-11T23:57:12.000Z | 2021-08-04T05:03:05.000Z | objectModel/Python/cdm/utilities/network/cdm_number_of_retries_exceeded_exception.py | aaron-emde/CDM | 9472e9c7694821ac4a9bbe608557d2e65aabc73e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | from cdm.utilities.network.cdm_network_exception import CdmNetworkException
class CdmNumberOfRetriesExceededException(CdmNetworkException):
"""
The Exception thrown when the number of retries has exceeded some limit.
"""
pass
| 27.111111 | 76 | 0.786885 | 25 | 244 | 7.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159836 | 244 | 8 | 77 | 30.5 | 0.926829 | 0.295082 | 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 |
302c710e65fb6f6a836051fdf51a6d6ced77b28c | 47 | py | Python | hackmud_chat/__init__.py | chalios/hackmud_chat_py | ca27b058432cc564597096f07d31b19ab1d6b29e | [
"MIT"
] | 1 | 2021-06-09T15:30:53.000Z | 2021-06-09T15:30:53.000Z | hackmud_chat/__init__.py | chalios/hackmud_chat_py | ca27b058432cc564597096f07d31b19ab1d6b29e | [
"MIT"
] | null | null | null | hackmud_chat/__init__.py | chalios/hackmud_chat_py | ca27b058432cc564597096f07d31b19ab1d6b29e | [
"MIT"
] | null | null | null | import hackmud_chat
from hackmud_chat import *
| 15.666667 | 26 | 0.851064 | 7 | 47 | 5.428571 | 0.571429 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 2 | 27 | 23.5 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
306fdd94a5e1c03a1df36d9030f35915d16eb4d6 | 96 | py | Python | src/core/app/app/views/__init__.py | exytab/FrontLineLiveUA | 733bb0c84062e3a3d8eec3cf988add7e1470d392 | [
"MIT"
] | null | null | null | src/core/app/app/views/__init__.py | exytab/FrontLineLiveUA | 733bb0c84062e3a3d8eec3cf988add7e1470d392 | [
"MIT"
] | null | null | null | src/core/app/app/views/__init__.py | exytab/FrontLineLiveUA | 733bb0c84062e3a3d8eec3cf988add7e1470d392 | [
"MIT"
] | null | null | null | from .map import get_map_data
from .need import create_need
from .supply import create_supplier
| 24 | 35 | 0.84375 | 16 | 96 | 4.8125 | 0.5625 | 0.311688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 3 | 36 | 32 | 0.916667 | 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 |
061b92ed8b70ffd780834783196b355230d8b6ce | 153,726 | py | Python | mining_data/raw/rvn_price.py | aalu1418/conflux-data-parsing | 72f8133aa92b8fcea0c601aa667f81819cec3a1e | [
"Unlicense"
] | null | null | null | mining_data/raw/rvn_price.py | aalu1418/conflux-data-parsing | 72f8133aa92b8fcea0c601aa667f81819cec3a1e | [
"Unlicense"
] | null | null | null | mining_data/raw/rvn_price.py | aalu1418/conflux-data-parsing | 72f8133aa92b8fcea0c601aa667f81819cec3a1e | [
"Unlicense"
] | null | null | null | data = {"stats":[[1593885781446,0.018440587654554186],[1593889408460,0.018824359968197403],[1593892988880,0.018821949380820203],[1593896599138,0.018840151241465864],[1593900201530,0.01886417662792476],[1593903854120,0.01892298765445886],[1593907324560,0.018817950650609913],[1593910879439,0.018798738990247303],[15939145... | 76,863 | 153,725 | 0.859132 | 12,988 | 153,726 | 10.168617 | 0.666846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.859006 | 0.00002 | 153,726 | 1 | 153,726 | 153,726 | 0.000137 | 0 | 0 | 0 | 0 | 0 | 0.000117 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
062f5d8edbe05ec58b55085673c19a138e32572c | 37 | py | Python | shhs/polysomnography/__init__.py | bdh-team-12/sleep-predictions-through-deep-learning | 7664cdffc0a0b0e732bffc95fd01e3ea27687025 | [
"MIT"
] | 7 | 2019-02-23T17:57:25.000Z | 2021-03-19T13:32:28.000Z | shhs/polysomnography/__init__.py | bdh-team-12/sleep-predictions-through-deep-learning | 7664cdffc0a0b0e732bffc95fd01e3ea27687025 | [
"MIT"
] | 7 | 2019-03-02T16:55:57.000Z | 2019-04-27T20:11:12.000Z | shhs/polysomnography/__init__.py | bdh-team-12/sleep-predictions-through-deep-learning | 7664cdffc0a0b0e732bffc95fd01e3ea27687025 | [
"MIT"
] | null | null | null | from . import polysomnography_reader
| 18.5 | 36 | 0.864865 | 4 | 37 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
067c2b929457eff72931ebaa3739a6a61e83f015 | 235 | py | Python | Projet/Shared/Parameters.py | Observablerxjs/TPs-8801A | 72b6f23a494c512f0e82e2ebe170273c212a9a42 | [
"MIT"
] | null | null | null | Projet/Shared/Parameters.py | Observablerxjs/TPs-8801A | 72b6f23a494c512f0e82e2ebe170273c212a9a42 | [
"MIT"
] | null | null | null | Projet/Shared/Parameters.py | Observablerxjs/TPs-8801A | 72b6f23a494c512f0e82e2ebe170273c212a9a42 | [
"MIT"
] | null | null | null | class Parameters:
parameters = {}
@staticmethod
def set_parameters(new_parameters):
Parameters.parameters.update(new_parameters)
@staticmethod
def get_parameters():
return Parameters.parameters | 23.5 | 52 | 0.693617 | 21 | 235 | 7.571429 | 0.428571 | 0.503145 | 0.314465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 235 | 10 | 53 | 23.5 | 0.883333 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
068372483b46f5e38c15d27a14ee0703bfef56eb | 52 | py | Python | logicmin/__init__.py | cfzile/logicmin | 5a1442017d8024b7b28cdeddf24dee0f7c3f54e0 | [
"MIT"
] | 15 | 2018-08-01T20:59:22.000Z | 2021-09-19T22:05:29.000Z | logicmin/__init__.py | cfzile/logicmin | 5a1442017d8024b7b28cdeddf24dee0f7c3f54e0 | [
"MIT"
] | 2 | 2021-02-24T09:25:07.000Z | 2021-11-21T10:01:33.000Z | logicmin/__init__.py | cfzile/logicmin | 5a1442017d8024b7b28cdeddf24dee0f7c3f54e0 | [
"MIT"
] | 4 | 2019-07-05T11:15:01.000Z | 2022-01-11T09:59:54.000Z | from logicmin.tt import *
from logicmin.fsm import * | 26 | 26 | 0.788462 | 8 | 52 | 5.125 | 0.625 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 2 | 26 | 26 | 0.911111 | 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 |
069d17b7e005deb8acabbbf89fa2223f438ae0fc | 1,385 | py | Python | tests/test_publications.py | nestauk/gtr | 5a7fe88c8429fa78199fb2da42123a7079a5f8ab | [
"Apache-2.0"
] | 6 | 2016-06-08T11:41:45.000Z | 2018-09-12T09:54:08.000Z | tests/test_publications.py | nestauk/gtr | 5a7fe88c8429fa78199fb2da42123a7079a5f8ab | [
"Apache-2.0"
] | 2 | 2018-02-14T19:34:57.000Z | 2018-02-14T19:46:02.000Z | tests/test_publications.py | nestauk/gtr | 5a7fe88c8429fa78199fb2da42123a7079a5f8ab | [
"Apache-2.0"
] | 2 | 2017-11-07T15:38:39.000Z | 2018-02-14T19:10:36.000Z | import responses
import gtr
@responses.activate
def test_publication():
"Searching for publications by id works"
with open("tests/results.json") as results:
body = results.read()
responses.add(
responses.GET,
"http://gtr.rcuk.ac.uk/gtr/api/outcomes/publications/glaciers",
... | 27.7 | 77 | 0.516245 | 137 | 1,385 | 5.160584 | 0.372263 | 0.048091 | 0.056577 | 0.067893 | 0.701556 | 0.701556 | 0.701556 | 0.701556 | 0.701556 | 0.701556 | 0 | 0.013468 | 0.356679 | 1,385 | 49 | 78 | 28.265306 | 0.780022 | 0.051986 | 0 | 0.756757 | 0 | 0.027027 | 0.190936 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 1 | 0.054054 | false | 0 | 0.054054 | 0 | 0.108108 | 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 |
ebf55526d020bbaf125451682baf3984fae6326d | 72 | py | Python | atlas/__init__.py | medav/atlas.py | 2f3e382d53bf63d37dcb2ef743b66c294d0e28b2 | [
"MIT"
] | 1 | 2019-02-27T10:50:37.000Z | 2019-02-27T10:50:37.000Z | atlas/__init__.py | medav/pyatlas | 6e18c54c844303094af15dbd96a9b71c3e245395 | [
"MIT"
] | 4 | 2021-05-04T04:58:13.000Z | 2021-05-04T04:59:08.000Z | atlas/__init__.py | medav/pyatlas | 6e18c54c844303094af15dbd96a9b71c3e245395 | [
"MIT"
] | 1 | 2021-05-02T01:51:29.000Z | 2021-05-02T01:51:29.000Z | from .frontend import *
from .emitter import *
from .testbench import *
| 18 | 24 | 0.75 | 9 | 72 | 6 | 0.555556 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 25 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2306e2ab9508e9c4fbbbc114665059b2c05efe5e | 137 | py | Python | jcms/models/__init__.py | jessielaf/jcms-pip | ba0580c7cf229b099c17f0286d148018dabf8aa8 | [
"MIT"
] | null | null | null | jcms/models/__init__.py | jessielaf/jcms-pip | ba0580c7cf229b099c17f0286d148018dabf8aa8 | [
"MIT"
] | null | null | null | jcms/models/__init__.py | jessielaf/jcms-pip | ba0580c7cf229b099c17f0286d148018dabf8aa8 | [
"MIT"
] | null | null | null | from .generic_menu_item import GenericMenuItem
from .single_menu_item import SingleMenuItem
from .models import Article, Option, Setting
| 34.25 | 46 | 0.861314 | 18 | 137 | 6.333333 | 0.666667 | 0.140351 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10219 | 137 | 3 | 47 | 45.666667 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
23564e05b0971804b1f59b9a5dbf90f9fe79ca00 | 66 | py | Python | atm/simclr/__init__.py | Hoseung/ATM | 8c67071431f6094575e59038510a6f13d74a5cc5 | [
"MIT"
] | null | null | null | atm/simclr/__init__.py | Hoseung/ATM | 8c67071431f6094575e59038510a6f13d74a5cc5 | [
"MIT"
] | 1 | 2021-08-10T08:31:44.000Z | 2021-08-10T08:31:44.000Z | atm/simclr/__init__.py | Hoseung/ATM | 8c67071431f6094575e59038510a6f13d74a5cc5 | [
"MIT"
] | null | null | null | from . import models
from . import dataloader
from . import utils
| 16.5 | 24 | 0.772727 | 9 | 66 | 5.666667 | 0.555556 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 25 | 22 | 0.944444 | 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 |
88ba69fc1b528e6523b6714b9952b1ca5d6363a1 | 46 | py | Python | only_otters/music_player/__init__.py | RohanJnr/code-jam-5 | 40e4552b57b09ed3d81cbd47533c2483f8de3bc4 | [
"MIT"
] | 2 | 2019-07-03T18:08:24.000Z | 2019-07-03T18:27:18.000Z | only_otters/music_player/__init__.py | RohanJnr/code-jam-5 | 40e4552b57b09ed3d81cbd47533c2483f8de3bc4 | [
"MIT"
] | 5 | 2019-07-01T15:46:30.000Z | 2019-07-07T23:22:52.000Z | only_otters/music_player/__init__.py | RohanJnr/code-jam-5 | 40e4552b57b09ed3d81cbd47533c2483f8de3bc4 | [
"MIT"
] | 1 | 2019-07-08T14:21:50.000Z | 2019-07-08T14:21:50.000Z | from .music_player import MusicPlayer # noqa
| 23 | 45 | 0.804348 | 6 | 46 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 1 | 46 | 46 | 0.923077 | 0.086957 | 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 |
88c988e6003521776f149ba5cbe672914b1a8d27 | 2,313 | py | Python | exoatlas/tests/test_snr.py | zkbt/exopop | 5e8b9d391fe9e2d39c623d7ccd7eca8fd0f0f3f8 | [
"MIT"
] | 4 | 2020-06-24T16:38:27.000Z | 2022-01-23T01:57:19.000Z | exoatlas/tests/test_snr.py | zkbt/exopop | 5e8b9d391fe9e2d39c623d7ccd7eca8fd0f0f3f8 | [
"MIT"
] | 4 | 2018-09-20T23:12:30.000Z | 2019-05-15T15:31:58.000Z | exoatlas/tests/test_snr.py | zkbt/exopop | 5e8b9d391fe9e2d39c623d7ccd7eca8fd0f0f3f8 | [
"MIT"
] | null | null | null | from exoatlas import *
def test_reflection(telescope_name='JWST', wavelength=1*u.micron):
with mock.patch('builtins.input', return_value=""):
t = TransitingExoplanets()
w = 1*u.micron
fi, ax = plt.subplots(1, 2, figsize=(8, 4))
for i, per_transit in enumerate([True, False]):
BubblePane... | 43.641509 | 118 | 0.635971 | 284 | 2,313 | 5.021127 | 0.242958 | 0.136746 | 0.12202 | 0.13885 | 0.812062 | 0.812062 | 0.779804 | 0.779804 | 0.779804 | 0.779804 | 0 | 0.015634 | 0.225681 | 2,313 | 52 | 119 | 44.480769 | 0.78057 | 0 | 0 | 0.659091 | 0 | 0 | 0.076092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068182 | false | 0 | 0.022727 | 0 | 0.090909 | 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 |
00330a02232f61426e575012259b6573a388cf31 | 303 | py | Python | HANA_Partition_Engine.py | DawnsLight/Hana_Partition_Engine | 23daef64be6df8ffb44d8a704746e24b69fd76b1 | [
"MIT"
] | null | null | null | HANA_Partition_Engine.py | DawnsLight/Hana_Partition_Engine | 23daef64be6df8ffb44d8a704746e24b69fd76b1 | [
"MIT"
] | null | null | null | HANA_Partition_Engine.py | DawnsLight/Hana_Partition_Engine | 23daef64be6df8ffb44d8a704746e24b69fd76b1 | [
"MIT"
] | null | null | null | ## Tool to do the partition in HANA DB
## Author: Cjiang
## Version: Alpha
import time
def timer():
pass
def log_tracker():
pass
def data_tracker():
pass
def io_tracker():
pass
def uncompressed_tracker():
pass
def show_progress():
pass
def hdb_partition():
pass | 9.46875 | 38 | 0.643564 | 41 | 303 | 4.609756 | 0.609756 | 0.222222 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260726 | 303 | 32 | 39 | 9.46875 | 0.84375 | 0.214521 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | true | 0.466667 | 0.066667 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
cc4e0d1f7f86e10bc35f3c3499168553f0097601 | 98 | py | Python | i18n/listeners/proxyContainer/__init__.py | Rexmen/i18n | b615f2d1e06b58f4647f1b269fc37d7921bc5c4b | [
"MIT"
] | null | null | null | i18n/listeners/proxyContainer/__init__.py | Rexmen/i18n | b615f2d1e06b58f4647f1b269fc37d7921bc5c4b | [
"MIT"
] | null | null | null | i18n/listeners/proxyContainer/__init__.py | Rexmen/i18n | b615f2d1e06b58f4647f1b269fc37d7921bc5c4b | [
"MIT"
] | null | null | null | import sys
from os import path
sys.path.append(path.dirname(path.dirname(path.abspath(__file__)))) | 32.666667 | 67 | 0.806122 | 16 | 98 | 4.6875 | 0.5625 | 0.293333 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 98 | 3 | 67 | 32.666667 | 0.815217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
cc69834ef14fd7b5038a8937005c67cb524a53d8 | 108 | py | Python | saliency/__init__.py | lenbrocki/saliency | a43d45fd38c12c9ceadc54c11df80ac2699843a7 | [
"Apache-2.0"
] | 728 | 2017-07-10T23:53:40.000Z | 2022-03-30T19:48:42.000Z | saliency/__init__.py | lenbrocki/saliency | a43d45fd38c12c9ceadc54c11df80ac2699843a7 | [
"Apache-2.0"
] | 51 | 2017-07-13T17:24:55.000Z | 2022-03-25T08:32:10.000Z | saliency/__init__.py | lenbrocki/saliency | a43d45fd38c12c9ceadc54c11df80ac2699843a7 | [
"Apache-2.0"
] | 164 | 2017-07-18T07:18:14.000Z | 2022-03-31T06:16:32.000Z | """Library to calculate saliency using TF1 and other ML frameworks."""
from . import core
from . import tf1
| 27 | 70 | 0.75 | 16 | 108 | 5.0625 | 0.8125 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.166667 | 108 | 3 | 71 | 36 | 0.877778 | 0.592593 | 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 |
cc993af8a4b0329b14f7e1e419eedf30936ce05f | 29 | py | Python | looksee/__init__.py | gigaquads/looksee | c1062700e6b4c268158bdada2f24db37a4b16222 | [
"MIT"
] | 1 | 2021-06-21T01:03:56.000Z | 2021-06-21T01:03:56.000Z | looksee/__init__.py | gigaquads/looksee | c1062700e6b4c268158bdada2f24db37a4b16222 | [
"MIT"
] | null | null | null | looksee/__init__.py | gigaquads/looksee | c1062700e6b4c268158bdada2f24db37a4b16222 | [
"MIT"
] | null | null | null | from .scanner import Scanner
| 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 |
ccbebca2daa11c94e2c2a27599d92888a9ca6f23 | 43 | py | Python | src/__init__.py | lRomul/argus-birdsong | 2290bd78f462cedc2ae143ec0b5e6e0782cd2b19 | [
"MIT"
] | null | null | null | src/__init__.py | lRomul/argus-birdsong | 2290bd78f462cedc2ae143ec0b5e6e0782cd2b19 | [
"MIT"
] | null | null | null | src/__init__.py | lRomul/argus-birdsong | 2290bd78f462cedc2ae143ec0b5e6e0782cd2b19 | [
"MIT"
] | null | null | null | from src.argus_models import BirdsongModel
| 21.5 | 42 | 0.883721 | 6 | 43 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ccccfec574783c08e3e3652fdba55703c95f0717 | 7,911 | gyp | Python | deps/libncurses/ncurses.gyp | kkoopa/node-ncurses | f01d4a7a98a1365221b9276f0abde8e00368dfa1 | [
"MIT"
] | 110 | 2015-01-12T07:19:30.000Z | 2022-01-01T20:40:51.000Z | deps/libncurses/ncurses.gyp | preetiadvani1/node-ncurses | f013b5584ac62eb002e63632c61d98daafd2c4c5 | [
"MIT"
] | 7 | 2015-03-24T18:36:27.000Z | 2020-04-28T11:40:58.000Z | deps/libncurses/ncurses.gyp | preetiadvani1/node-ncurses | f013b5584ac62eb002e63632c61d98daafd2c4c5 | [
"MIT"
] | 5 | 2015-10-23T00:33:08.000Z | 2022-01-17T01:10:06.000Z | {
'targets': [
{
'target_name': 'libncurses',
'type': 'static_library',
'includes': [ 'config/config.gypi' ],
'include_dirs': [
'.',
'include',
'c++',
'panel',
'ncurses',
],
'all_dependent_settings': {
'includes': [ 'config/config... | 32.555556 | 45 | 0.565921 | 995 | 7,911 | 4.303518 | 0.233166 | 0.32695 | 0.235404 | 0.245213 | 0.073564 | 0.025689 | 0.025689 | 0.025689 | 0.025689 | 0.025689 | 0 | 0.001205 | 0.26558 | 7,911 | 242 | 46 | 32.690083 | 0.7358 | 0.003539 | 0 | 0.077922 | 0 | 0 | 0.641026 | 0.552932 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.012987 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aeb58904624e28eb5536048d33416780e736ee17 | 9,416 | py | Python | skills/dff_gaming_skill/dialogflows/flows/minecraft/flow.py | oserikov/dream | 109ba2df799025dcdada1fddbb7380e1c03100eb | [
"Apache-2.0"
] | 34 | 2021-08-18T14:51:44.000Z | 2022-03-10T14:14:48.000Z | skills/dff_gaming_skill/dialogflows/flows/minecraft/flow.py | oserikov/dream | 109ba2df799025dcdada1fddbb7380e1c03100eb | [
"Apache-2.0"
] | 27 | 2021-08-30T14:42:09.000Z | 2022-03-17T22:11:45.000Z | skills/dff_gaming_skill/dialogflows/flows/minecraft/flow.py | oserikov/dream | 109ba2df799025dcdada1fddbb7380e1c03100eb | [
"Apache-2.0"
] | 40 | 2021-08-22T07:13:32.000Z | 2022-03-29T11:45:32.000Z | import logging
import os
from functools import partial
from dff import dialogflow_extension
import common.dialogflow_framework.utils.state as state_utils
import common.gaming as common_gaming
import dialogflows.scopes as scopes
import dialogflows.flows.minecraft.intents as minecraft_intents
import dialogflows.flows.... | 48.040816 | 123 | 0.718033 | 1,071 | 9,416 | 5.656396 | 0.123249 | 0.123473 | 0.072796 | 0.029052 | 0.834764 | 0.826841 | 0.805216 | 0.783757 | 0.713767 | 0.656983 | 0 | 0.000464 | 0.085068 | 9,416 | 195 | 124 | 48.287179 | 0.702728 | 0.000743 | 0 | 0.407407 | 0 | 0 | 0.014072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.067901 | 0 | 0.067901 | 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 |
aec31bb5c1e3f93fe65384f9293ae2117cf73d13 | 236 | py | Python | hashcode/10125.py | noritersand/python-lab | 9238d62cb2d8b574a8d3697ac7d8b51f1251bc4b | [
"Unlicense"
] | null | null | null | hashcode/10125.py | noritersand/python-lab | 9238d62cb2d8b574a8d3697ac7d8b51f1251bc4b | [
"Unlicense"
] | null | null | null | hashcode/10125.py | noritersand/python-lab | 9238d62cb2d8b574a8d3697ac7d8b51f1251bc4b | [
"Unlicense"
] | null | null | null | import re
kor_txt = """가나다 ㄱㄴㄷ ㅏㅓㅐ | ㄲ킈ㅗ ㅗㅜㅑㅒfd|jkaFSA 498130$#@!*&^ %)(-_=+ []{}<>,./?'"`"')"""
# kor_txt = kor_txt.replace("|","")
print(re.sub('[^ㄱ-ㅎ|ㅏ-ㅣ가-힣|a-zA-Z|0-9 |`!@#$%^&*()\[\]{}\-\_\'\"><\/\?]', '', kor_txt))
| 39.333333 | 100 | 0.411017 | 31 | 236 | 2.935484 | 0.774194 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.152542 | 236 | 5 | 101 | 47.2 | 0.415 | 0.139831 | 0 | 0 | 0 | 0.333333 | 0.665 | 0.23 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
aedb0b192fbb9459bf710ff32d550097d0afde72 | 230 | py | Python | plugins/flytekit-kf-pytorch/flytekitplugins/kfpytorch/__init__.py | bstadlbauer/flytekit | 12ef34d7b6d777088ab87f9cf0d5c32355895852 | [
"Apache-2.0"
] | null | null | null | plugins/flytekit-kf-pytorch/flytekitplugins/kfpytorch/__init__.py | bstadlbauer/flytekit | 12ef34d7b6d777088ab87f9cf0d5c32355895852 | [
"Apache-2.0"
] | null | null | null | plugins/flytekit-kf-pytorch/flytekitplugins/kfpytorch/__init__.py | bstadlbauer/flytekit | 12ef34d7b6d777088ab87f9cf0d5c32355895852 | [
"Apache-2.0"
] | null | null | null | """
.. currentmodule:: flytekitplugins.kfpytorch
This package contains things that are useful when extending Flytekit.
.. autosummary::
:template: custom.rst
:toctree: generated/
PyTorch
"""
from .task import PyTorch
| 16.428571 | 69 | 0.730435 | 24 | 230 | 7 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169565 | 230 | 13 | 70 | 17.692308 | 0.879581 | 0.843478 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aee6cc92872f42d309fbdd4ad2498f8161bb2b99 | 27 | py | Python | WebFrameDocs/src/demo/fileStorage/APIResource/__init__.py | Bean-jun/LearnGuide | 30a8567b222d18b15d3e9027a435b5bfe640a046 | [
"MIT"
] | 1 | 2022-02-23T13:42:01.000Z | 2022-02-23T13:42:01.000Z | WebFrameDocs/src/demo/fileStorage/APIResource/__init__.py | Bean-jun/LearnGuide | 30a8567b222d18b15d3e9027a435b5bfe640a046 | [
"MIT"
] | null | null | null | WebFrameDocs/src/demo/fileStorage/APIResource/__init__.py | Bean-jun/LearnGuide | 30a8567b222d18b15d3e9027a435b5bfe640a046 | [
"MIT"
] | null | null | null | from APIResource import v1
| 13.5 | 26 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 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 |
aef686380a779d936c41d18f9562827bb7af303f | 278 | py | Python | objects/CSCG/_2d/__init__.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | 1 | 2020-10-14T12:48:35.000Z | 2020-10-14T12:48:35.000Z | objects/CSCG/_2d/__init__.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null | objects/CSCG/_2d/__init__.py | mathischeap/mifem | 3242e253fb01ca205a76568eaac7bbdb99e3f059 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from objects.CSCG._2d.master import MeshGenerator as mesh
from objects.CSCG._2d.master import FormCaller as form
from objects.CSCG._2d.master import SpaceInvoker as space
from objects.CSCG._2d.master import ExactSolutionSelector as exact_solution | 21.384615 | 75 | 0.794964 | 40 | 278 | 5.4 | 0.475 | 0.203704 | 0.277778 | 0.314815 | 0.537037 | 0.537037 | 0 | 0 | 0 | 0 | 0 | 0.020661 | 0.129496 | 278 | 13 | 75 | 21.384615 | 0.871901 | 0.07554 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4e120b90a0e76d563a83634948346cf9be36d40d | 40,270 | py | Python | tests/app/main/test_briefs.py | AusDTO/dto-digitalmarketplace-supplier-frontend | cdba4f9404b4ffe0fb7459c5aa65daa9826682a7 | [
"MIT"
] | 1 | 2018-01-04T18:11:52.000Z | 2018-01-04T18:11:52.000Z | tests/app/main/test_briefs.py | AusDTO/dto-digitalmarketplace-supplier-frontend | cdba4f9404b4ffe0fb7459c5aa65daa9826682a7 | [
"MIT"
] | 18 | 2016-08-24T05:24:41.000Z | 2021-07-30T02:01:44.000Z | tests/app/main/test_briefs.py | AusDTO/dto-digitalmarketplace-supplier-frontend | cdba4f9404b4ffe0fb7459c5aa65daa9826682a7 | [
"MIT"
] | 5 | 2016-09-13T13:07:15.000Z | 2021-02-15T16:13:41.000Z | # coding: utf-8
import mock
from dmapiclient import api_stubs, HTTPError
from dmapiclient.audit import AuditTypes
from dmutils.email import EmailError
from dmutils.forms import FakeCsrf
from ..helpers import BaseApplicationTest, FakeMail
from lxml import html
import pytest
brief_form_submission = {
'csrf_token':... | 48.635266 | 120 | 0.655401 | 4,834 | 40,270 | 5.140877 | 0.07199 | 0.049857 | 0.092592 | 0.077904 | 0.896946 | 0.879039 | 0.868416 | 0.844715 | 0.823307 | 0.806728 | 0 | 0.016853 | 0.236752 | 40,270 | 827 | 121 | 48.694075 | 0.791612 | 0.023988 | 0 | 0.699856 | 0 | 0.008658 | 0.202541 | 0.067641 | 0 | 0 | 0 | 0 | 0.128427 | 1 | 0.056277 | false | 0.002886 | 0.011544 | 0 | 0.076479 | 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 |
9df5a16bca3d98693f3b514081435b1a59804106 | 114 | py | Python | CAT/dataset/__init__.py | nnnyt/CAT | 471f573dd51b9cc09339ea73241ad9ac9e5d0d8f | [
"MIT"
] | 6 | 2021-02-15T13:10:45.000Z | 2022-03-08T12:58:49.000Z | CAT/dataset/__init__.py | nnnyt/CAT | 471f573dd51b9cc09339ea73241ad9ac9e5d0d8f | [
"MIT"
] | null | null | null | CAT/dataset/__init__.py | nnnyt/CAT | 471f573dd51b9cc09339ea73241ad9ac9e5d0d8f | [
"MIT"
] | 4 | 2021-01-11T15:19:41.000Z | 2022-03-21T06:02:55.000Z | from .dataset import Dataset
from .adaptest_dataset import AdapTestDataset
from .train_dataset import TrainDataset | 38 | 45 | 0.877193 | 14 | 114 | 7 | 0.5 | 0.397959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096491 | 114 | 3 | 46 | 38 | 0.951456 | 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 |
3b046dfb9a8f852cccf3726847a9656f604e8eed | 103 | py | Python | pyhs3ng/__init__.py | jrhubott/pyhs3 | a3e63c5228e941821c2b75ad9ad6ee2a24d5ac25 | [
"MIT"
] | 3 | 2020-04-04T03:09:42.000Z | 2020-11-03T15:21:04.000Z | pyhs3ng/__init__.py | jrhubott/pyhs3 | a3e63c5228e941821c2b75ad9ad6ee2a24d5ac25 | [
"MIT"
] | 7 | 2020-04-20T15:26:56.000Z | 2020-12-09T18:37:50.000Z | pyhs3ng/__init__.py | jrhubott/pyhs3 | a3e63c5228e941821c2b75ad9ad6ee2a24d5ac25 | [
"MIT"
] | 4 | 2020-04-08T19:09:29.000Z | 2020-12-21T03:06:27.000Z | from .hometroller import HomeTroller
from .const import *
from .errors import *
from .helpers import *
| 20.6 | 36 | 0.776699 | 13 | 103 | 6.153846 | 0.461538 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 4 | 37 | 25.75 | 0.91954 | 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 |
ae7e9628b776f7bb9468d04a231af6150a90cfdb | 2,199 | py | Python | tests/hexdump.py | log2timeline/preg | 4c748442acbbebedc825c58430cb43d5c6e437c6 | [
"Apache-2.0"
] | 1 | 2022-02-18T03:00:14.000Z | 2022-02-18T03:00:14.000Z | tests/hexdump.py | log2timeline/l2tpreg | 4c748442acbbebedc825c58430cb43d5c6e437c6 | [
"Apache-2.0"
] | 25 | 2017-05-15T21:15:05.000Z | 2018-09-06T06:06:34.000Z | tests/hexdump.py | log2timeline/l2tpreg | 4c748442acbbebedc825c58430cb43d5c6e437c6 | [
"Apache-2.0"
] | 2 | 2017-07-10T12:28:25.000Z | 2018-02-08T15:58:57.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for the binary data in hexadecimal (hexdump) formatter."""
from __future__ import unicode_literals
import unittest
from l2tpreg import hexdump
from tests import test_lib
class HexdumpTests(test_lib.BaseTestCase):
"""Tests for the binary data in hexadecimal ... | 34.359375 | 78 | 0.634379 | 302 | 2,199 | 4.47351 | 0.271523 | 0.15396 | 0.124352 | 0.044412 | 0.77054 | 0.77054 | 0.77054 | 0.77054 | 0.77054 | 0.677276 | 0 | 0.173684 | 0.222374 | 2,199 | 63 | 79 | 34.904762 | 0.616374 | 0.125057 | 0 | 0.547619 | 0 | 0.095238 | 0.383202 | 0.170079 | 0 | 0 | 0.026247 | 0.015873 | 0.095238 | 1 | 0.02381 | false | 0 | 0.095238 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
881e21718479197d50f15c4e6980e5d926235ab9 | 107 | py | Python | tests/test_makefile_to_json.py | meteofrance/common_makefiles | 3eee6bc9e9e34019a88b1d315dbd0c21dd915107 | [
"BSD-3-Clause"
] | null | null | null | tests/test_makefile_to_json.py | meteofrance/common_makefiles | 3eee6bc9e9e34019a88b1d315dbd0c21dd915107 | [
"BSD-3-Clause"
] | null | null | null | tests/test_makefile_to_json.py | meteofrance/common_makefiles | 3eee6bc9e9e34019a88b1d315dbd0c21dd915107 | [
"BSD-3-Clause"
] | null | null | null | from common_makefiles.makefile_to_json import main
def test_dummy():
main("dist/common_makefile.mk")
| 17.833333 | 50 | 0.785047 | 16 | 107 | 4.9375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121495 | 107 | 5 | 51 | 21.4 | 0.840426 | 0 | 0 | 0 | 0 | 0 | 0.214953 | 0.214953 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88216479c37096e6706c285d1c6b005b70382b96 | 188 | py | Python | utils/tests/test_bill_utils.py | jgarber623/openstates.org | 0c514c955f7ffbe079c77c3ec00345b20818ad04 | [
"MIT"
] | null | null | null | utils/tests/test_bill_utils.py | jgarber623/openstates.org | 0c514c955f7ffbe079c77c3ec00345b20818ad04 | [
"MIT"
] | 2 | 2021-03-11T03:37:18.000Z | 2021-05-11T21:16:01.000Z | utils/tests/test_bill_utils.py | top-talented/Openstates | 3b653bf0147dd6898316c7534760f72d0c2f1abd | [
"MIT"
] | null | null | null | from utils.bills import fix_bill_id
def test_fix_bill_id():
assert fix_bill_id("HB1") == "HB 1"
assert fix_bill_id("HB 0001") == "HB 1"
assert fix_bill_id("SJRA") == "SJR A"
| 23.5 | 43 | 0.659574 | 34 | 188 | 3.323529 | 0.5 | 0.309735 | 0.39823 | 0.39823 | 0.318584 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0.046053 | 0.191489 | 188 | 7 | 44 | 26.857143 | 0.697368 | 0 | 0 | 0 | 0 | 0 | 0.143617 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 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 |
8821ce0b44fe753c8d0a8bfdb9df10b1291f3018 | 50 | py | Python | gcn_lib/dense/__init__.py | guochengqian/KPConv-PyTorch | 4138c12d276b0d9a765d41b93f2b9fd6e5eb2baa | [
"MIT"
] | 2 | 2021-08-04T17:15:04.000Z | 2021-12-06T14:37:46.000Z | gcn_lib/dense/__init__.py | guochengqian/KPConv-PyTorch-DeepGCN | 4138c12d276b0d9a765d41b93f2b9fd6e5eb2baa | [
"MIT"
] | null | null | null | gcn_lib/dense/__init__.py | guochengqian/KPConv-PyTorch-DeepGCN | 4138c12d276b0d9a765d41b93f2b9fd6e5eb2baa | [
"MIT"
] | null | null | null | from .torch_nn import *
from .torch_edge import *
| 16.666667 | 25 | 0.76 | 8 | 50 | 4.5 | 0.625 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 26 | 25 | 0.857143 | 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 |
886cec97c46590e135d0179b049a71c35ab55f4e | 5,903 | py | Python | test/test_pings.py | Lewis-Trowbridge/Go-To-Sleep-Revengeance | 2036381f86d482efdd944b30a1e065410f59fa0d | [
"MIT"
] | null | null | null | test/test_pings.py | Lewis-Trowbridge/Go-To-Sleep-Revengeance | 2036381f86d482efdd944b30a1e065410f59fa0d | [
"MIT"
] | 5 | 2021-11-11T07:18:37.000Z | 2022-03-21T07:21:43.000Z | test/test_pings.py | Lewis-Trowbridge/Go-To-Sleep-Revengeance | 2036381f86d482efdd944b30a1e065410f59fa0d | [
"MIT"
] | 1 | 2020-05-30T11:33:56.000Z | 2020-05-30T11:33:56.000Z | import datetime
import unittest
import unittest.mock as mock
import discord
import source.gotosleep.pings as pings
from freezegun import freeze_time
class TestPings(unittest.TestCase):
@freeze_time("2000-01-01")
def test_is_bedtime_with_no_offset_at_midnight_returns_true(self):
real_result = pings.is_... | 32.977654 | 94 | 0.730984 | 821 | 5,903 | 4.840438 | 0.087698 | 0.075491 | 0.047559 | 0.044288 | 0.923251 | 0.911424 | 0.905133 | 0.869653 | 0.869401 | 0.855058 | 0 | 0.046027 | 0.179231 | 5,903 | 179 | 95 | 32.977654 | 0.7742 | 0 | 0 | 0.669565 | 0 | 0 | 0.055894 | 0 | 0 | 0 | 0 | 0 | 0.182609 | 1 | 0.182609 | false | 0 | 0.052174 | 0 | 0.243478 | 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 |
8885d490879bd1dafa868bd49d4f7dc0affafd2c | 42 | py | Python | zargen/utils.py | Stilic/zargen | 0763b93a41fec155469494f5567a93fc821a1c5b | [
"MIT"
] | 1 | 2021-12-10T16:16:25.000Z | 2021-12-10T16:16:25.000Z | zargen/utils.py | Stilic/zargen | 0763b93a41fec155469494f5567a93fc821a1c5b | [
"MIT"
] | null | null | null | zargen/utils.py | Stilic/zargen | 0763b93a41fec155469494f5567a93fc821a1c5b | [
"MIT"
] | null | null | null | def error(msg):
return "ERROR: " + msg | 21 | 26 | 0.595238 | 6 | 42 | 4.166667 | 0.666667 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 42 | 2 | 26 | 21 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
889a5714d189cf4bfccb19e694601fcae4bb768d | 19,424 | py | Python | tests/test_custom_losses.py | Svdvoort/prognosais | f5f144a2aac5610ea2450392853aa37bce311085 | [
"Apache-2.0"
] | 3 | 2020-11-10T09:21:51.000Z | 2021-01-12T15:14:19.000Z | tests/test_custom_losses.py | Svdvoort/prognosais | f5f144a2aac5610ea2450392853aa37bce311085 | [
"Apache-2.0"
] | 38 | 2020-11-18T14:19:25.000Z | 2022-03-17T09:28:48.000Z | tests/test_custom_losses.py | Svdvoort/prognosais | f5f144a2aac5610ea2450392853aa37bce311085 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import pytest
import tensorflow as tf
import tensorflow.keras.losses
from PrognosAIs.Model.Losses import DICE_loss
from PrognosAIs.Model.Losses import CoxLoss
from PrognosAIs.Model.Losses import MaskedCategoricalCrossentropy
# ===============================================================
# Maske... | 32.427379 | 99 | 0.593699 | 2,967 | 19,424 | 3.664307 | 0.04213 | 0.033297 | 0.0367 | 0.040471 | 0.87684 | 0.820824 | 0.809327 | 0.779157 | 0.768856 | 0.757634 | 0 | 0.068722 | 0.218647 | 19,424 | 598 | 100 | 32.481605 | 0.647625 | 0.04618 | 0 | 0.675 | 0 | 0 | 0.007137 | 0.003136 | 0 | 0 | 0 | 0 | 0.234091 | 1 | 0.059091 | false | 0 | 0.015909 | 0 | 0.075 | 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 |
c9be655cdd9e5d1d1689561dd5cbf70f58ed2f31 | 60 | py | Python | algorithms/__init__.py | Okestro-AILAB/consolidation-1 | bf0bce9b7ae3317b2cb53697addf3c429ee81bad | [
"Apache-2.0"
] | 1 | 2021-12-13T07:36:40.000Z | 2021-12-13T07:36:40.000Z | algorithms/__init__.py | Okestro-AILAB/consolidation-1 | bf0bce9b7ae3317b2cb53697addf3c429ee81bad | [
"Apache-2.0"
] | null | null | null | algorithms/__init__.py | Okestro-AILAB/consolidation-1 | bf0bce9b7ae3317b2cb53697addf3c429ee81bad | [
"Apache-2.0"
] | 2 | 2021-12-13T07:35:40.000Z | 2021-12-13T07:36:35.000Z | from .consolidation_algorithms import ConsolidationAlgorithm | 60 | 60 | 0.933333 | 5 | 60 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 60 | 1 | 60 | 60 | 0.964912 | 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 |
c9df5aa8a51f20df918359275b07d32866ee7eae | 7,982 | py | Python | iseq_prof_analysis/baseline/data.py | EBI-Metagenomics/iseq-prof-analysis | 4ac27f2d5ee935c5c87f9238141978945ee81142 | [
"MIT"
] | null | null | null | iseq_prof_analysis/baseline/data.py | EBI-Metagenomics/iseq-prof-analysis | 4ac27f2d5ee935c5c87f9238141978945ee81142 | [
"MIT"
] | null | null | null | iseq_prof_analysis/baseline/data.py | EBI-Metagenomics/iseq-prof-analysis | 4ac27f2d5ee935c5c87f9238141978945ee81142 | [
"MIT"
] | null | null | null | from pathlib import Path
from typing import List, Optional, Tuple
import lttb
import numpy as np
import pandas as pd
from diskcache import FanoutCache
from iseq_prof import ConfusionMatrix, OrganismResult, Profiling, pfam
from tqdm import tqdm
from .._config import config
size_limit = 250 * 1024 ** 3
timeout = 10 * ... | 29.025455 | 87 | 0.609622 | 1,083 | 7,982 | 4.373961 | 0.134811 | 0.078953 | 0.082331 | 0.050665 | 0.799029 | 0.794596 | 0.764197 | 0.723454 | 0.718176 | 0.710999 | 0 | 0.016216 | 0.258331 | 7,982 | 274 | 88 | 29.131387 | 0.783953 | 0 | 0 | 0.761905 | 0 | 0 | 0.015911 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 1 | 0.047619 | false | 0 | 0.042857 | 0.004762 | 0.142857 | 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 |
4e5032ffe202c79da407c76f700f64827a25f361 | 6,590 | py | Python | tests/_internal/test_session_factory.py | unparalleled-js/py42 | 8c6b054ddd8c2bfea92bf77b0d648af76f1efcf1 | [
"MIT"
] | 1 | 2020-08-18T22:00:22.000Z | 2020-08-18T22:00:22.000Z | tests/_internal/test_session_factory.py | unparalleled-js/py42 | 8c6b054ddd8c2bfea92bf77b0d648af76f1efcf1 | [
"MIT"
] | null | null | null | tests/_internal/test_session_factory.py | unparalleled-js/py42 | 8c6b054ddd8c2bfea92bf77b0d648af76f1efcf1 | [
"MIT"
] | 1 | 2021-05-10T23:33:34.000Z | 2021-05-10T23:33:34.000Z | import pytest
from requests import Session
from py42._internal.auth_handling import HeaderModifier
from py42._internal.session_factory import AuthHandlerFactory
from py42._internal.session_factory import SessionFactory
from py42._internal.session_factory import SessionModifierFactory
from py42._internal.token_provider... | 44.829932 | 93 | 0.757208 | 730 | 6,590 | 6.364384 | 0.093151 | 0.104176 | 0.116229 | 0.111924 | 0.878605 | 0.868059 | 0.807146 | 0.763022 | 0.747525 | 0.737624 | 0 | 0.010479 | 0.189074 | 6,590 | 146 | 94 | 45.136986 | 0.858907 | 0 | 0 | 0.515385 | 0 | 0 | 0.009408 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 1 | 0.1 | false | 0.015385 | 0.076923 | 0.015385 | 0.207692 | 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 |
4ec91cf0fe72019bfb46b415d475692861c53c80 | 45 | py | Python | models/total3d/__init__.py | chengzhag/DeepPanoContext | 14f847e51ec2bd08e0fc178dd1640541752addb7 | [
"MIT"
] | 52 | 2021-09-12T02:41:02.000Z | 2022-03-05T21:55:36.000Z | models/total3d/__init__.py | chengzhag/DeepPanoContext | 14f847e51ec2bd08e0fc178dd1640541752addb7 | [
"MIT"
] | 2 | 2021-11-25T06:50:19.000Z | 2022-01-19T10:11:06.000Z | models/total3d/__init__.py | chengzhag/DeepPanoContext | 14f847e51ec2bd08e0fc178dd1640541752addb7 | [
"MIT"
] | 9 | 2021-09-18T01:44:05.000Z | 2022-01-12T16:19:46.000Z | from . import modules, config, testing, loss
| 22.5 | 44 | 0.755556 | 6 | 45 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 1 | 45 | 45 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
14dcbed26cf2ec4b0ef58265f586e54a6437bc36 | 65 | py | Python | sirope/__init__.py | Baltasarq/sirope | a31a3ae886104cf2dab53853f2c2945ebc0e781a | [
"MIT"
] | null | null | null | sirope/__init__.py | Baltasarq/sirope | a31a3ae886104cf2dab53853f2c2945ebc0e781a | [
"MIT"
] | null | null | null | sirope/__init__.py | Baltasarq/sirope | a31a3ae886104cf2dab53853f2c2945ebc0e781a | [
"MIT"
] | null | null | null | from sirope.oid import OID
from sirope.sirope_main import Sirope
| 21.666667 | 37 | 0.846154 | 11 | 65 | 4.909091 | 0.454545 | 0.37037 | 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 |
14fb8d14e162f2419066c8d25e4ecb671375ce6f | 48,731 | py | Python | tests/test_learners.py | stjordanis/QMLT | fc9487f89bf894576d2001abe5a5d07f35f19d7a | [
"Apache-2.0"
] | 117 | 2018-07-03T19:37:52.000Z | 2022-01-02T21:41:43.000Z | tests/test_learners.py | stjordanis/QMLT | fc9487f89bf894576d2001abe5a5d07f35f19d7a | [
"Apache-2.0"
] | 10 | 2018-07-23T08:58:32.000Z | 2020-03-02T19:57:57.000Z | tests/test_learners.py | stjordanis/QMLT | fc9487f89bf894576d2001abe5a5d07f35f19d7a | [
"Apache-2.0"
] | 26 | 2018-07-23T08:04:01.000Z | 2022-02-06T01:45:59.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2018 Xanadu Quantum Technologies 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... | 39.426375 | 126 | 0.613224 | 5,619 | 48,731 | 5.122976 | 0.076882 | 0.043285 | 0.037518 | 0.053151 | 0.826096 | 0.810602 | 0.792086 | 0.761724 | 0.720975 | 0.684812 | 0 | 0.025186 | 0.281361 | 48,731 | 1,235 | 127 | 39.4583 | 0.796802 | 0.123084 | 0 | 0.680929 | 0 | 0 | 0.064981 | 0.006396 | 0 | 0 | 0 | 0 | 0.135697 | 1 | 0.121027 | false | 0 | 0.022005 | 0.012225 | 0.195599 | 0.028117 | 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 |
14fccef6ebb401bd2f2b1e40b422ac067dbc2a4e | 9,489 | py | Python | pymatflow/elk/base/utilities.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 6 | 2020-03-06T16:13:08.000Z | 2022-03-09T07:53:34.000Z | pymatflow/elk/base/utilities.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-10-02T02:23:08.000Z | 2021-11-08T13:29:37.000Z | pymatflow/elk/base/utilities.py | DeqiTang/pymatflow | bd8776feb40ecef0e6704ee898d9f42ded3b0186 | [
"MIT"
] | 1 | 2021-07-10T16:28:14.000Z | 2021-07-10T16:28:14.000Z |
class oct_casida_spectrum:
"""
"""
def __init__(self):
self.params = {}
def to_string(self):
out = ""
for item in self.params:
if self.params[item] == None:
continue
out += "%s = %s\n" % (item, self.para... | 30.808442 | 81 | 0.441459 | 937 | 9,489 | 4.276414 | 0.046958 | 0.164712 | 0.115298 | 0.041178 | 0.864487 | 0.738707 | 0.706264 | 0.706264 | 0.696781 | 0.696781 | 0 | 0.005864 | 0.424913 | 9,489 | 308 | 82 | 30.808442 | 0.728422 | 0 | 0 | 0.752294 | 0 | 0 | 0.037882 | 0.011129 | 0 | 0 | 0 | 0 | 0 | 1 | 0.151376 | false | 0.004587 | 0 | 0 | 0.252294 | 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 |
09388dadebf3664b55d5730a0a1eb7b4a2a24178 | 1,048 | py | Python | terrascript/opsgenie/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/opsgenie/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/opsgenie/r.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/opsgenie/r.py
import terrascript
class opsgenie_team(terrascript.Resource):
pass
class opsgenie_team_routing_rule(terrascript.Resource):
pass
class opsgenie_user(terrascript.Resource):
pass
class opsgenie_user_contact(terrascript.Resource):
pass
class opsgenie_notification_policy... | 15.641791 | 59 | 0.793893 | 113 | 1,048 | 7.123894 | 0.238938 | 0.258385 | 0.457143 | 0.521739 | 0.760248 | 0.491925 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141221 | 1,048 | 66 | 60 | 15.878788 | 0.894444 | 0.023855 | 0 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.484848 | 0.030303 | 0 | 0.515152 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
095f5650f1082df7d2dd2861840f45d7d024ad2d | 5,729 | py | Python | modules.py | mir-aidj/EDM-subgenre-classifier | b8a39ec81466f3affd22b69f66144e5f501da8da | [
"Unlicense"
] | 8 | 2021-11-29T16:32:27.000Z | 2022-03-07T02:20:06.000Z | modules.py | ddman1101/EDM-subgenre-classifier | 9f871007472513626a5598fd722391304aaff809 | [
"Unlicense"
] | null | null | null | modules.py | ddman1101/EDM-subgenre-classifier | 9f871007472513626a5598fd722391304aaff809 | [
"Unlicense"
] | null | null | null | import numpy as np
import torch
import torch.nn as nn
class Conv_1d(nn.Module):
def __init__(self, input_channels, output_channels, shape=3, stride=1, pooling=2):
super(Conv_1d, self).__init__()
self.conv = nn.Conv1d(input_channels, output_channels, shape, stride=stride, padding=shape//2)
s... | 36.724359 | 108 | 0.624716 | 803 | 5,729 | 4.230386 | 0.097136 | 0.164851 | 0.148955 | 0.143067 | 0.82514 | 0.804239 | 0.757139 | 0.724168 | 0.717103 | 0.619959 | 0 | 0.03249 | 0.247862 | 5,729 | 156 | 109 | 36.724359 | 0.75586 | 0.034561 | 0 | 0.504274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136752 | false | 0 | 0.025641 | 0.017094 | 0.299145 | 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 |
1179687c7d33ee7d5367764bd1103334e733864e | 3,935 | py | Python | tests/test_save.py | SimonBlanke/data-storage | 65ff5b6115099d0dad86cf3472c4ebe66249eade | [
"MIT"
] | null | null | null | tests/test_save.py | SimonBlanke/data-storage | 65ff5b6115099d0dad86cf3472c4ebe66249eade | [
"MIT"
] | null | null | null | tests/test_save.py | SimonBlanke/data-storage | 65ff5b6115099d0dad86cf3472c4ebe66249eade | [
"MIT"
] | null | null | null | import time
import pytest
import numpy as np
import pandas as pd
from hyperactive import Hyperactive
from simple_data_collector import DataCollector
from ._test_utils import search_data_equal
from ._search_space_list import search_space_setup
search_space_list = search_space_setup()
def objective_function(para):
... | 25.888158 | 70 | 0.737484 | 502 | 3,935 | 5.468127 | 0.123506 | 0.188342 | 0.080146 | 0.069945 | 0.865938 | 0.830237 | 0.818944 | 0.812022 | 0.812022 | 0.812022 | 0 | 0.017964 | 0.151207 | 3,935 | 151 | 71 | 26.059603 | 0.803892 | 0 | 0 | 0.676471 | 0 | 0 | 0.073952 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 1 | 0.068627 | false | 0 | 0.078431 | 0 | 0.166667 | 0.04902 | 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 |
11aeca12a51e4db2e3033cdff027740f81468c5e | 47 | py | Python | dbtools/__init__.py | pkeilbach/dbtools | 8c503db981ca08330243d4f9be8af03435c2285e | [
"MIT"
] | 1 | 2021-12-13T16:09:11.000Z | 2021-12-13T16:09:11.000Z | dbtools/__init__.py | pkeilbach/dbtools | 8c503db981ca08330243d4f9be8af03435c2285e | [
"MIT"
] | null | null | null | dbtools/__init__.py | pkeilbach/dbtools | 8c503db981ca08330243d4f9be8af03435c2285e | [
"MIT"
] | null | null | null | import os
from .wrapper import MySqlConnection
| 15.666667 | 36 | 0.851064 | 6 | 47 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 2 | 37 | 23.5 | 0.97561 | 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 |
11c0bbcb0bc52a5d7df0a1887b07ed4bea97d031 | 33 | py | Python | solarwindpy/solar_activity/sunspot_number/__init__.py | blalterman/SolarWindPy | c906f1ea1b833fedc717d906d14d2531e6c03d66 | [
"BSD-3-Clause"
] | null | null | null | solarwindpy/solar_activity/sunspot_number/__init__.py | blalterman/SolarWindPy | c906f1ea1b833fedc717d906d14d2531e6c03d66 | [
"BSD-3-Clause"
] | 4 | 2020-03-24T16:53:54.000Z | 2022-03-12T00:58:31.000Z | solarwindpy/solar_activity/sunspot_number/__init__.py | blalterman/SolarWindPy | c906f1ea1b833fedc717d906d14d2531e6c03d66 | [
"BSD-3-Clause"
] | 1 | 2021-11-24T23:10:32.000Z | 2021-11-24T23:10:32.000Z | from . import sidc # noqa: F401
| 16.5 | 32 | 0.666667 | 5 | 33 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.242424 | 33 | 1 | 33 | 33 | 0.76 | 0.30303 | 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 |
11ca106c1ab9ab6a1781db4f41b821ca82ca50db | 6,265 | py | Python | test-framework/test-suites/integration/tests/set/test_set_host_interface_interface.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | null | null | null | test-framework/test-suites/integration/tests/set/test_set_host_interface_interface.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | null | null | null | test-framework/test-suites/integration/tests/set/test_set_host_interface_interface.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | null | null | null | import json
from textwrap import dedent
class TestSetHostInterfaceInterface:
def test_no_hosts(self, host):
result = host.run('stack set host interface interface')
assert result.rc == 255
assert result.stderr == dedent('''\
error - "host" argument is required
{host ...} {interface=string} [mac=string] [n... | 32.630208 | 116 | 0.666081 | 968 | 6,265 | 4.27686 | 0.107438 | 0.094203 | 0.069082 | 0.095652 | 0.911353 | 0.892029 | 0.875121 | 0.856039 | 0.844444 | 0.807246 | 0 | 0.057008 | 0.188029 | 6,265 | 191 | 117 | 32.801047 | 0.756831 | 0.11269 | 0 | 0.693333 | 0 | 0.08 | 0.473922 | 0.037899 | 0 | 0 | 0 | 0 | 0.22 | 1 | 0.073333 | false | 0 | 0.013333 | 0 | 0.093333 | 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 |
11fd93cabe8fc82f55b68cdac9f345745fb915f0 | 27 | py | Python | recommendations_system/tf_wide_deep/__init__.py | mmikolajczak/recommendation_system_hetrec2011_movielens | 3ae13e62605ffbf5517bc2079e086a400de48748 | [
"MIT"
] | 4 | 2019-12-04T08:42:21.000Z | 2020-06-07T07:22:08.000Z | recommendations_system/tf_wide_deep/__init__.py | mmikolajczak/recommendation_system_hetrec2011_movielens | 3ae13e62605ffbf5517bc2079e086a400de48748 | [
"MIT"
] | null | null | null | recommendations_system/tf_wide_deep/__init__.py | mmikolajczak/recommendation_system_hetrec2011_movielens | 3ae13e62605ffbf5517bc2079e086a400de48748 | [
"MIT"
] | null | null | null | from .wide_n_deep import *
| 13.5 | 26 | 0.777778 | 5 | 27 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.826087 | 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 |
eef9b259d6aebfb25a5e719f164a82c56e326051 | 244 | py | Python | tests/helpers.py | andrejcermak/terrestrial | 41d0dccd0a6d0d7d1756a8067270a6b375665636 | [
"MIT"
] | 12 | 2018-12-13T15:19:43.000Z | 2021-11-10T13:22:05.000Z | tests/helpers.py | andrejcermak/terrestrial | 41d0dccd0a6d0d7d1756a8067270a6b375665636 | [
"MIT"
] | null | null | null | tests/helpers.py | andrejcermak/terrestrial | 41d0dccd0a6d0d7d1756a8067270a6b375665636 | [
"MIT"
] | 1 | 2021-02-18T09:39:56.000Z | 2021-02-18T09:39:56.000Z | from warnings import catch_warnings, simplefilter
def ignore_warnings(test):
def do_test(self, *args, **kwargs):
with catch_warnings():
simplefilter("ignore")
test(self, *args, **kwargs)
return do_test
| 24.4 | 49 | 0.643443 | 28 | 244 | 5.428571 | 0.5 | 0.171053 | 0.328947 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 244 | 9 | 50 | 27.111111 | 0.830601 | 0 | 0 | 0 | 0 | 0 | 0.02459 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
eefe0acad995303bdc3fa132931dc0ebd81b1b82 | 192 | py | Python | clean_architecture_example_application/core/domain/repository/user_repository.py | mallycrip/clean-architecture-python | 3d54d5e092ddbbd45cc14b8c67571e65d2569f70 | [
"MIT"
] | 5 | 2021-02-19T03:14:32.000Z | 2021-12-08T06:09:25.000Z | clean_architecture_example_application/core/domain/repository/user_repository.py | mallycrip/clean-architecture-python | 3d54d5e092ddbbd45cc14b8c67571e65d2569f70 | [
"MIT"
] | null | null | null | clean_architecture_example_application/core/domain/repository/user_repository.py | mallycrip/clean-architecture-python | 3d54d5e092ddbbd45cc14b8c67571e65d2569f70 | [
"MIT"
] | null | null | null | from abc import abstractmethod, ABCMeta
class UserRepository(metaclass=ABCMeta):
@abstractmethod
def persist(self, user): pass
@abstractmethod
def find_by_id(self, id): pass | 21.333333 | 40 | 0.739583 | 23 | 192 | 6.086957 | 0.695652 | 0.242857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182292 | 192 | 9 | 41 | 21.333333 | 0.89172 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
eefef72978a3c71e5d934ef8e116b471df4d3560 | 46 | py | Python | emqx_extension/__init__.py | emqx/emqx-extension-python-sdk | 2963a9afca71f1282171756e02e110106c4967b5 | [
"Apache-2.0"
] | 12 | 2020-05-25T01:25:26.000Z | 2021-06-26T17:08:07.000Z | emqx_extension/__init__.py | emqx/emqx-extension-python-sdk | 2963a9afca71f1282171756e02e110106c4967b5 | [
"Apache-2.0"
] | 1 | 2020-08-05T13:47:29.000Z | 2020-08-05T13:47:29.000Z | emqx_extension/__init__.py | emqx/emqx-extension-python-sdk | 2963a9afca71f1282171756e02e110106c4967b5 | [
"Apache-2.0"
] | 5 | 2020-06-10T06:57:14.000Z | 2021-03-06T03:10:55.000Z | from .hooks import EmqxHookSdk, hooks_handler
| 23 | 45 | 0.847826 | 6 | 46 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.926829 | 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 |
6d93c906ab447cb2b109f1849c66f11e05d0c925 | 5,185 | py | Python | backend/api/migrations/0113_auto_20190411_1551.py | amichard/tfrs | ed3973016cc5c2ae48999d550a23b41a5ddad807 | [
"Apache-2.0"
] | 18 | 2017-05-10T21:55:11.000Z | 2021-03-01T16:41:32.000Z | backend/api/migrations/0113_auto_20190411_1551.py | amichard/tfrs | ed3973016cc5c2ae48999d550a23b41a5ddad807 | [
"Apache-2.0"
] | 1,167 | 2017-03-04T00:18:43.000Z | 2022-03-03T22:31:51.000Z | backend/api/migrations/0113_auto_20190411_1551.py | amichard/tfrs | ed3973016cc5c2ae48999d550a23b41a5ddad807 | [
"Apache-2.0"
] | 48 | 2017-03-09T17:19:39.000Z | 2022-02-24T16:38:17.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2019-04-11 15:51
from __future__ import unicode_literals
import db_comments.model_mixins
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
... | 53.453608 | 213 | 0.649952 | 524 | 5,185 | 6.192748 | 0.187023 | 0.03698 | 0.044376 | 0.067797 | 0.765485 | 0.765485 | 0.742065 | 0.713097 | 0.713097 | 0.713097 | 0 | 0.011523 | 0.230087 | 5,185 | 96 | 214 | 54.010417 | 0.801353 | 0.013308 | 0 | 0.674157 | 1 | 0 | 0.199491 | 0.135341 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05618 | 0 | 0.089888 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
09e31c9d0e6919d060baeb18855d09c7c942c1eb | 141 | py | Python | config.py | mixnr1/55.lv | 26bdfc749f8255485f7b2f9c8363a9f058e29c0b | [
"MIT"
] | null | null | null | config.py | mixnr1/55.lv | 26bdfc749f8255485f7b2f9c8363a9f058e29c0b | [
"MIT"
] | null | null | null | config.py | mixnr1/55.lv | 26bdfc749f8255485f7b2f9c8363a9f058e29c0b | [
"MIT"
] | null | null | null | sender_email = #'sender_email@gmail.com'
receiver_email = #'reciever_email@gmail.com'
password = #'password123'. Of course you can do better. | 47 | 55 | 0.77305 | 20 | 141 | 5.25 | 0.7 | 0.209524 | 0.247619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023622 | 0.099291 | 141 | 3 | 55 | 47 | 0.80315 | 0.659574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.333333 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
09ec2e25d85bb524574c5e8adf347aa1028377d9 | 10,986 | py | Python | model.py | brownmagik352/uwpmp_nlp_hw4 | 838f68f63531455b2aefd78c87a9d08c6f101b80 | [
"Apache-2.0"
] | null | null | null | model.py | brownmagik352/uwpmp_nlp_hw4 | 838f68f63531455b2aefd78c87a9d08c6f101b80 | [
"Apache-2.0"
] | null | null | null | model.py | brownmagik352/uwpmp_nlp_hw4 | 838f68f63531455b2aefd78c87a9d08c6f101b80 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
from tensorflow.contrib.rnn import DropoutWrapper
from tensorflow.contrib.rnn import GRUCell
from tensorflow.nn import bidirectional_dynamic_rnn
def cbow_forward(config, inputs, scope=None):
with tf.variable_scope(scope or "forward"):
JX, JQ = config.max_context_size, config.max_q... | 43.595238 | 110 | 0.572638 | 1,541 | 10,986 | 3.857884 | 0.107722 | 0.042389 | 0.030614 | 0.041548 | 0.807906 | 0.777292 | 0.770564 | 0.762153 | 0.762153 | 0.762153 | 0 | 0.033097 | 0.293191 | 10,986 | 251 | 111 | 43.768924 | 0.732518 | 0.07282 | 0 | 0.699482 | 0 | 0 | 0.031956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031088 | false | 0 | 0.020725 | 0 | 0.082902 | 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 |
3a193a20b0b14a84a90e5a0e116e3b63d1122ac2 | 22 | py | Python | src/modules/smtpmail/src/__init__.py | cmtools/authentication | 4923b17c26cd17674a095346313e3465283c8312 | [
"MIT"
] | 1 | 2021-09-11T07:17:20.000Z | 2021-09-11T07:17:20.000Z | src/__init__.py | cmtools/smtpmail | 3b3ef1621fb386818fe98b191de6f8480ce4b15b | [
"MIT"
] | null | null | null | src/__init__.py | cmtools/smtpmail | 3b3ef1621fb386818fe98b191de6f8480ce4b15b | [
"MIT"
] | 1 | 2021-09-11T07:17:52.000Z | 2021-09-11T07:17:52.000Z | from .mail import Mail | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 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 |
3a36a5529763456e23a400775f9aef85f249a6b2 | 175 | py | Python | magnet/domain/user/perm.py | sasano8/magnet-migrade | b5669b34a6a3b845df8df96dfedaf967df6b88e2 | [
"MIT"
] | null | null | null | magnet/domain/user/perm.py | sasano8/magnet-migrade | b5669b34a6a3b845df8df96dfedaf967df6b88e2 | [
"MIT"
] | 4 | 2021-03-24T23:38:22.000Z | 2021-03-31T07:24:30.000Z | magnet/domain/user/perm.py | sasano8/magnet-migrade | b5669b34a6a3b845df8df96dfedaf967df6b88e2 | [
"MIT"
] | null | null | null | from .models import UserRoles
from .usecase import (
FilterRole,
get_current_active_user,
get_current_admin_user,
get_current_user,
get_current_user_id,
)
| 19.444444 | 29 | 0.754286 | 23 | 175 | 5.26087 | 0.521739 | 0.330579 | 0.347107 | 0.297521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194286 | 175 | 8 | 30 | 21.875 | 0.858156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
28d1435222860d3dee84be8572be8ecf5fd6cc61 | 39,006 | py | Python | tests/test_annotation.py | BenaroyaResearch/bripipetools | 7840adb030a00a5e8c5484f4105176c7d7ea8c5c | [
"MIT"
] | 3 | 2017-07-13T05:40:01.000Z | 2018-09-06T23:43:45.000Z | tests/test_annotation.py | BenaroyaResearch/bripipetools | 7840adb030a00a5e8c5484f4105176c7d7ea8c5c | [
"MIT"
] | 32 | 2016-11-02T22:45:21.000Z | 2021-11-04T15:58:13.000Z | tests/test_annotation.py | BenaroyaResearch/bripipetools | 7840adb030a00a5e8c5484f4105176c7d7ea8c5c | [
"MIT"
] | null | null | null | import logging
import datetime
import pytest
import mongomock
import mock
from bripipetools import model as docs
from bripipetools import annotation
logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger(__name__)
@pytest.fixture(scope='function')
def mock_db():
# GIVEN a mock_ed version of the TG... | 41.319915 | 80 | 0.637594 | 4,604 | 39,006 | 5.205474 | 0.073197 | 0.017024 | 0.011349 | 0.017525 | 0.848786 | 0.825211 | 0.794584 | 0.782066 | 0.776308 | 0.771468 | 0 | 0.029491 | 0.293237 | 39,006 | 943 | 81 | 41.363733 | 0.839851 | 0.333436 | 0 | 0.634011 | 0 | 0 | 0.13155 | 0.06377 | 0 | 0 | 0 | 0.00106 | 0.090573 | 1 | 0.05915 | false | 0 | 0.012939 | 0 | 0.083179 | 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 |
28de7ff3eca716866f17fdd34ea4853e526d1d84 | 9,569 | py | Python | pyspawn/tests/unit_tests/graph/test_graph.py | Tsanton/pyspawn | e539e0170f65a96e2579f255888575f6710db561 | [
"Apache-2.0"
] | null | null | null | pyspawn/tests/unit_tests/graph/test_graph.py | Tsanton/pyspawn | e539e0170f65a96e2579f255888575f6710db561 | [
"Apache-2.0"
] | null | null | null | pyspawn/tests/unit_tests/graph/test_graph.py | Tsanton/pyspawn | e539e0170f65a96e2579f255888575f6710db561 | [
"Apache-2.0"
] | null | null | null | from pyspawn._graph.graph_builder import GraphBuilder
from pyspawn._graph.table import Table
from pyspawn._graph.relationship import Relationship
### NB! Environment variable "PYTHONHASHSEED" has to be set to "0" to avoid runtime randomization of hash seed. Randomization will mess up return order and fail tests ###
d... | 31.896667 | 170 | 0.626398 | 1,441 | 9,569 | 3.900069 | 0.068008 | 0.021352 | 0.015658 | 0.024911 | 0.864769 | 0.821352 | 0.79484 | 0.744484 | 0.711388 | 0.661744 | 0 | 0.000931 | 0.214442 | 9,569 | 300 | 171 | 31.896667 | 0.746707 | 0.114537 | 0 | 0.558659 | 0 | 0 | 0.117697 | 0 | 0 | 0 | 0 | 0 | 0.117318 | 1 | 0.078212 | false | 0 | 0.01676 | 0 | 0.094972 | 0.011173 | 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.