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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2ae1f0a06755e24403d95b8e9c11cd73e8864abe | 114 | py | Python | babc/__init__.py | bozzzzo/babc | f8f8fd582c89c9b72ec95434b53707e6d96f0dd2 | [
"Apache-2.0"
] | null | null | null | babc/__init__.py | bozzzzo/babc | f8f8fd582c89c9b72ec95434b53707e6d96f0dd2 | [
"Apache-2.0"
] | null | null | null | babc/__init__.py | bozzzzo/babc | f8f8fd582c89c9b72ec95434b53707e6d96f0dd2 | [
"Apache-2.0"
] | null | null | null | from .babc import BABC, BABCMeta
from abc import abstractmethod
__all__ = ['BABC', 'BABCMeta', 'abstractmethod']
| 22.8 | 48 | 0.754386 | 13 | 114 | 6.307692 | 0.538462 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 4 | 49 | 28.5 | 0.828283 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2d829a17ae9ffbc8322b4eb060bc9a27dde907d4 | 239 | py | Python | manager/manager/wsgi.py | jlbrewe/hub | c737669e6493ad17536eaa240bed3394b20c6b7d | [
"Apache-2.0"
] | 30 | 2016-03-26T12:08:04.000Z | 2021-12-24T14:48:32.000Z | manager/manager/wsgi.py | jlbrewe/hub | c737669e6493ad17536eaa240bed3394b20c6b7d | [
"Apache-2.0"
] | 1,250 | 2016-03-23T04:56:50.000Z | 2022-03-28T02:27:58.000Z | manager/manager/wsgi.py | jlbrewe/hub | c737669e6493ad17536eaa240bed3394b20c6b7d | [
"Apache-2.0"
] | 11 | 2016-07-14T17:04:20.000Z | 2021-07-01T16:19:09.000Z | import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "manager.settings")
os.environ.setdefault("DJANGO_CONFIGURATION", "Prod")
from configurations.wsgi import get_wsgi_application # noqa: E402
application = get_wsgi_application()
| 26.555556 | 67 | 0.811715 | 29 | 239 | 6.448276 | 0.586207 | 0.096257 | 0.203209 | 0.26738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.083682 | 239 | 8 | 68 | 29.875 | 0.840183 | 0.041841 | 0 | 0 | 0 | 0 | 0.273128 | 0.096916 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2d8e9ff93db9dd82770a68a1872c1bee074718cc | 239 | py | Python | survol/sources_types/CIM_DataFile/Radare2/__init__.py | AugustinMascarelli/survol | 7a822900e82d1e6f016dba014af5741558b78f15 | [
"BSD-3-Clause"
] | null | null | null | survol/sources_types/CIM_DataFile/Radare2/__init__.py | AugustinMascarelli/survol | 7a822900e82d1e6f016dba014af5741558b78f15 | [
"BSD-3-Clause"
] | null | null | null | survol/sources_types/CIM_DataFile/Radare2/__init__.py | AugustinMascarelli/survol | 7a822900e82d1e6f016dba014af5741558b78f15 | [
"BSD-3-Clause"
] | null | null | null | """
Radare2
"""
import lib_util
def Usable(entity_type,entity_ids_arr):
"""Not an executable or library file"""
return lib_util.UsableWindowsBinary(entity_type,entity_ids_arr) or lib_util.UsableLinuxBinary(entity_type,entity_ids_arr)
| 21.727273 | 122 | 0.807531 | 35 | 239 | 5.171429 | 0.542857 | 0.116022 | 0.265193 | 0.314917 | 0.364641 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004608 | 0.09205 | 239 | 10 | 123 | 23.9 | 0.829493 | 0.171548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fa8ddb9761bce35e2bb911393f38ba6bfdee04e4 | 118 | py | Python | pyeafe/__init__.py | thepnpsolver/PyEAFE | a3d39f3c9905e9a528d4aa0000478562e4653b66 | [
"MIT"
] | null | null | null | pyeafe/__init__.py | thepnpsolver/PyEAFE | a3d39f3c9905e9a528d4aa0000478562e4653b66 | [
"MIT"
] | 13 | 2018-03-07T19:45:44.000Z | 2021-04-12T02:27:55.000Z | pyeafe/__init__.py | thepnpsolver/PyEAFE | a3d39f3c9905e9a528d4aa0000478562e4653b66 | [
"MIT"
] | 2 | 2018-10-25T05:57:15.000Z | 2019-07-25T15:52:42.000Z | from pyeafe.assembly import Coefficient, eafe_assemble
__version__ = "1.0.1"
__all__ = [Coefficient, eafe_assemble]
| 19.666667 | 54 | 0.788136 | 15 | 118 | 5.533333 | 0.733333 | 0.361446 | 0.554217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028846 | 0.118644 | 118 | 5 | 55 | 23.6 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.042373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
faafe5f7d809d74eceb75e656d08399e3e5532e3 | 57 | py | Python | python/testData/resolve/multiFile/fromPackageImportFile/FromPackageImportFile.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/multiFile/fromPackageImportFile/FromPackageImportFile.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/multiFile/fromPackageImportFile/FromPackageImportFile.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from mypackage import myfile
# <ref> | 28.5 | 28 | 0.491228 | 5 | 57 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.45614 | 57 | 2 | 29 | 28.5 | 0.903226 | 0.087719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4f0b911a035f8a832dcb58091759c16671b51929 | 4,320 | py | Python | layers/residual_block_test.py | katsugeneration/sngan-with-projection-tensorflow | 8476c4ecbae9a5a0bddfac5259fcd78894a3db38 | [
"MIT"
] | 2 | 2018-09-28T09:03:40.000Z | 2018-10-05T23:35:46.000Z | layers/residual_block_test.py | katsugeneration/sngan-with-projection-tensorflow | 8476c4ecbae9a5a0bddfac5259fcd78894a3db38 | [
"MIT"
] | 1 | 2018-10-12T11:14:19.000Z | 2018-10-12T11:14:19.000Z | layers/residual_block_test.py | katsugeneration/sngan-with-projection-tensorflow | 8476c4ecbae9a5a0bddfac5259fcd78894a3db38 | [
"MIT"
] | null | null | null | import numpy as np
import tensorflow as tf
from layers.residual_block import ResidualBlock
from layers.conditional_batch_normalization import ConditionalBatchNormalization
class ResidualBlockTest(tf.test.TestCase):
def testInit(self):
ResidualBlock()
def testBuildAndRun(self):
N = 5
W... | 32.727273 | 97 | 0.594907 | 590 | 4,320 | 4.230508 | 0.164407 | 0.084135 | 0.143029 | 0.05609 | 0.782853 | 0.752804 | 0.723558 | 0.723558 | 0.696314 | 0.696314 | 0 | 0.027322 | 0.279861 | 4,320 | 131 | 98 | 32.977099 | 0.774992 | 0 | 0 | 0.720721 | 0 | 0 | 0.003935 | 0 | 0 | 0 | 0 | 0 | 0.324324 | 1 | 0.063063 | false | 0 | 0.036036 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
87af49890321c1cd148b9fb29d6b5244b0a86743 | 24 | py | Python | paida-3.2.1_2.10.1/paida/tools/__init__.py | AshleyChraya/HubbleConstant-ConstraintsForVCG | 634c15d296147ec1cdc3c92af1fbbfeb17844586 | [
"MIT"
] | null | null | null | paida-3.2.1_2.10.1/paida/tools/__init__.py | AshleyChraya/HubbleConstant-ConstraintsForVCG | 634c15d296147ec1cdc3c92af1fbbfeb17844586 | [
"MIT"
] | null | null | null | paida-3.2.1_2.10.1/paida/tools/__init__.py | AshleyChraya/HubbleConstant-ConstraintsForVCG | 634c15d296147ec1cdc3c92af1fbbfeb17844586 | [
"MIT"
] | null | null | null | ### Nothing to do.
pass
| 8 | 18 | 0.625 | 4 | 24 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 2 | 19 | 12 | 0.789474 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
87bc20333035499512730bdd55b0facbfdd74ea1 | 152 | py | Python | code/scripts/other_module.py | felipegermanos/test1 | d2896ba208e7c3aa4e6192052eca794e6045afec | [
"MIT"
] | null | null | null | code/scripts/other_module.py | felipegermanos/test1 | d2896ba208e7c3aa4e6192052eca794e6045afec | [
"MIT"
] | null | null | null | code/scripts/other_module.py | felipegermanos/test1 | d2896ba208e7c3aa4e6192052eca794e6045afec | [
"MIT"
] | 1 | 2020-02-09T20:36:38.000Z | 2020-02-09T20:36:38.000Z | def get_me():
print('hi')
if __name__ == '__main__':
# This is executed you run via terminal
print('Running other_module.py...')
| 16.888889 | 43 | 0.598684 | 20 | 152 | 4.05 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 152 | 8 | 44 | 19 | 0.723214 | 0.243421 | 0 | 0 | 0 | 0 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
87e2cc7eaf911cbad3029f4e7696b1316cd4077c | 40 | py | Python | play.py | dgnsrekt/abnormal_returns | 84bd29cedeb901bd54c236f8dbad6c66e9179389 | [
"MIT"
] | 1 | 2020-10-12T00:52:08.000Z | 2020-10-12T00:52:08.000Z | play.py | dgnsrekt/abnormal_returns | 84bd29cedeb901bd54c236f8dbad6c66e9179389 | [
"MIT"
] | null | null | null | play.py | dgnsrekt/abnormal_returns | 84bd29cedeb901bd54c236f8dbad6c66e9179389 | [
"MIT"
] | null | null | null | from ar_scraper import core
core.run()
| 10 | 27 | 0.775 | 7 | 40 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 3 | 28 | 13.333333 | 0.882353 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
358615c9f8c5d1d624aa04506095c2e275c6f6ea | 74 | py | Python | utils/networks/__init__.py | ivclab/Multistage_Pruning | 0fb7e084f56d565c27dd9c4536cc95204eecf926 | [
"BSD-3-Clause"
] | 11 | 2020-04-07T02:23:53.000Z | 2021-09-02T13:54:47.000Z | utils/networks/__init__.py | van-hub/Multistage_Pruning | 0fb7e084f56d565c27dd9c4536cc95204eecf926 | [
"BSD-3-Clause"
] | null | null | null | utils/networks/__init__.py | van-hub/Multistage_Pruning | 0fb7e084f56d565c27dd9c4536cc95204eecf926 | [
"BSD-3-Clause"
] | 3 | 2020-11-07T17:10:08.000Z | 2021-01-18T02:26:56.000Z | from .mobilenetv1 import mobilenetv1
from .mobilenetv2 import mobilenetv2
| 24.666667 | 36 | 0.864865 | 8 | 74 | 8 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.108108 | 74 | 2 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
358f984140fc9fc397f31fabd395e7b9f2d214c7 | 29 | py | Python | maps/balance/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | maps/balance/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | maps/balance/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | from .balance import Balance
| 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 | 0 | 0 | 0 | 5 |
3595742fbfb02d8a0e8807a8f2de37bee4fa3c56 | 113 | py | Python | hadoop_script_2.0/common/tool/action/report/__init__.py | jiandequn/code | 676bae6523a26b4d8b01914f6b963112054461a3 | [
"Apache-2.0"
] | 2 | 2019-01-17T01:55:59.000Z | 2019-04-18T02:06:53.000Z | sx_hadoop_script_2.0/common/tool/action/report/__init__.py | sunnyJam/code | 676bae6523a26b4d8b01914f6b963112054461a3 | [
"Apache-2.0"
] | 1 | 2022-02-09T22:28:06.000Z | 2022-02-09T22:28:06.000Z | sx_hadoop_script_2.0/common/tool/action/report/__init__.py | sunnyJam/code | 676bae6523a26b4d8b01914f6b963112054461a3 | [
"Apache-2.0"
] | null | null | null | # from common.tool.action.report import backup_log,backup_mysql_data,events_type_log,increase_user,run_all_common | 113 | 113 | 0.893805 | 19 | 113 | 4.894737 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035398 | 113 | 1 | 113 | 113 | 0.853211 | 0.982301 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
35b3180b0d50acb4b3686ca247b1efddebdc2699 | 127 | py | Python | CodeCrewSiteApp/admin.py | cs-fullstack-2019-spring/django-inheritance-cw-tdude0175 | 76e688a6e93be58039a945ec25db7ddb03eda5f4 | [
"Apache-2.0"
] | null | null | null | CodeCrewSiteApp/admin.py | cs-fullstack-2019-spring/django-inheritance-cw-tdude0175 | 76e688a6e93be58039a945ec25db7ddb03eda5f4 | [
"Apache-2.0"
] | null | null | null | CodeCrewSiteApp/admin.py | cs-fullstack-2019-spring/django-inheritance-cw-tdude0175 | 76e688a6e93be58039a945ec25db7ddb03eda5f4 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import ContactForm
# Register your models here.
admin.site.register(ContactForm) | 25.4 | 32 | 0.826772 | 17 | 127 | 6.176471 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110236 | 127 | 5 | 33 | 25.4 | 0.929204 | 0.204724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
35b3cafe8cf9e27231acaef740beb6cc427b46ac | 55 | py | Python | Problems/apaxiaaans.py | iHaveBecomeDeath/kattis-practice | 3ec52a7a50520228f778ba55278c84425e29f4f4 | [
"Unlicense"
] | null | null | null | Problems/apaxiaaans.py | iHaveBecomeDeath/kattis-practice | 3ec52a7a50520228f778ba55278c84425e29f4f4 | [
"Unlicense"
] | null | null | null | Problems/apaxiaaans.py | iHaveBecomeDeath/kattis-practice | 3ec52a7a50520228f778ba55278c84425e29f4f4 | [
"Unlicense"
] | null | null | null | import re
print(re.sub(r'([a-z])\1+', r'\1', input())) | 18.333333 | 44 | 0.527273 | 12 | 55 | 2.416667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.090909 | 55 | 3 | 44 | 18.333333 | 0.54 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
35bd1879e6202d315fe259be63594cc98ceb175b | 218 | py | Python | api/tacticalrmm/agents/admin.py | BaDTaG/tacticalrmm | 7bdd8c4626e0629d393edb5dec2541150d1802ef | [
"MIT"
] | 1 | 2021-01-19T20:39:02.000Z | 2021-01-19T20:39:02.000Z | api/tacticalrmm/agents/admin.py | BaDTaG/tacticalrmm | 7bdd8c4626e0629d393edb5dec2541150d1802ef | [
"MIT"
] | null | null | null | api/tacticalrmm/agents/admin.py | BaDTaG/tacticalrmm | 7bdd8c4626e0629d393edb5dec2541150d1802ef | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Agent, AgentOutage, RecoveryAction, Note
admin.site.register(Agent)
admin.site.register(AgentOutage)
admin.site.register(RecoveryAction)
admin.site.register(Note)
| 24.222222 | 60 | 0.825688 | 28 | 218 | 6.428571 | 0.428571 | 0.2 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077982 | 218 | 8 | 61 | 27.25 | 0.895522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
35d0b62d4439c53fe8d73b6a5e39fe91c154e6a2 | 578 | py | Python | base/__init__.py | thu-spmi/semi-EBM | 393e3ea3566dd60c48872a5c573a335e8e802707 | [
"Apache-2.0"
] | 2 | 2021-09-18T14:21:24.000Z | 2021-12-20T03:39:13.000Z | base/__init__.py | thu-spmi/semi-EBM | 393e3ea3566dd60c48872a5c573a335e8e802707 | [
"Apache-2.0"
] | null | null | null | base/__init__.py | thu-spmi/semi-EBM | 393e3ea3566dd60c48872a5c573a335e8e802707 | [
"Apache-2.0"
] | 1 | 2021-09-12T07:02:23.000Z | 2021-09-12T07:02:23.000Z |
# use the tensroflow
try:
from base import layers
except:
print('[%s] no tensorflow.' % __name__)
# do not use the tensorflow
from base import ngram
from base import parser
from base import wblib as wb
from base import matlib as mlib
from base import reader
from base import vocab
from base impor... | 23.12 | 44 | 0.756055 | 89 | 578 | 4.865169 | 0.449438 | 0.221709 | 0.387991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002208 | 0.216263 | 578 | 24 | 45 | 24.083333 | 0.953642 | 0.133218 | 0 | 0 | 0 | 0 | 0.040254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0.055556 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ea162b75073aa0eccb59ca2b3a97fd1d29f8ee4d | 414 | py | Python | packages/pytea/pylib/torch/__init__.py | lego0901/pytea | 8ede650def2e68f4610ba816451d8b9e28f09f76 | [
"MIT"
] | null | null | null | packages/pytea/pylib/torch/__init__.py | lego0901/pytea | 8ede650def2e68f4610ba816451d8b9e28f09f76 | [
"MIT"
] | null | null | null | packages/pytea/pylib/torch/__init__.py | lego0901/pytea | 8ede650def2e68f4610ba816451d8b9e28f09f76 | [
"MIT"
] | null | null | null | import LibCall
# from .functional import *
from .tensor import Tensor
from .functional import *
from . import nn as nn
from . import optim as optim
from . import utils as utils
from . import distributions as distributions
from . import cuda as cuda
from . import onnx as onnx
from .autograd import no_grad, enable_grad
... | 18.818182 | 44 | 0.7343 | 61 | 414 | 4.885246 | 0.393443 | 0.201342 | 0.134228 | 0.161074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21256 | 414 | 21 | 45 | 19.714286 | 0.91411 | 0.060386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0.066667 | 0.666667 | 0 | 0.866667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
ea19bbf11c5417635056046086953c02c630d3fa | 57 | py | Python | EAlib/log/__init__.py | iseesaw/EAlib | 498bcc096779a951e254b0aee5677ee885700263 | [
"MIT"
] | 4 | 2019-09-28T03:42:09.000Z | 2020-04-17T02:46:19.000Z | EAlib/log/__init__.py | iseesaw/EAlib | 498bcc096779a951e254b0aee5677ee885700263 | [
"MIT"
] | null | null | null | EAlib/log/__init__.py | iseesaw/EAlib | 498bcc096779a951e254b0aee5677ee885700263 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from ..log.log import get_logger | 28.5 | 32 | 0.631579 | 9 | 57 | 3.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.157895 | 57 | 2 | 32 | 28.5 | 0.708333 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ea2864c948f9d611b8f56b0ea178bc63f5f0a342 | 7,518 | py | Python | sdk/python/pulumi_azure_native/authorization/__init__.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/authorization/__init__.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/authorization/__init__.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from .. import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .access_review_schedule_definition_by_id... | 56.954545 | 99 | 0.837856 | 790 | 7,518 | 7.481013 | 0.127848 | 0.113706 | 0.161083 | 0.217936 | 0.670728 | 0.657022 | 0.325042 | 0.046362 | 0.015905 | 0 | 0 | 0.200537 | 0.107874 | 7,518 | 131 | 100 | 57.389313 | 0.680632 | 0.030726 | 0 | 0 | 1 | 0 | 0.177885 | 0.177885 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.756098 | 0 | 0.756098 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ea2d3b4d146e0b705c2efcb553dd41511fcfe853 | 30 | py | Python | PythonCurso01/aula121_docstrings/exemplo05/main.py | AlissonAnjos21/Aprendendo | 9454d9e53ef9fb8bc61bf481b6592164f5bf8695 | [
"MIT"
] | null | null | null | PythonCurso01/aula121_docstrings/exemplo05/main.py | AlissonAnjos21/Aprendendo | 9454d9e53ef9fb8bc61bf481b6592164f5bf8695 | [
"MIT"
] | null | null | null | PythonCurso01/aula121_docstrings/exemplo05/main.py | AlissonAnjos21/Aprendendo | 9454d9e53ef9fb8bc61bf481b6592164f5bf8695 | [
"MIT"
] | null | null | null | import classes
help(classes)
| 7.5 | 14 | 0.8 | 4 | 30 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 3 | 15 | 10 | 0.923077 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ea55525a24eef9f03328e91fdfdf6df238bf98b5 | 2,168 | py | Python | tests/test_50_apps.py | bopen/sarsen | 00d94c47a1b0abf4af1be2b17e4ae9ee66b1cd3b | [
"Apache-2.0"
] | 111 | 2021-12-12T11:54:25.000Z | 2022-03-30T05:53:02.000Z | tests/test_50_apps.py | bopen/sarsen | 00d94c47a1b0abf4af1be2b17e4ae9ee66b1cd3b | [
"Apache-2.0"
] | 7 | 2022-03-09T08:48:01.000Z | 2022-03-24T17:57:00.000Z | tests/test_50_apps.py | bopen/sarsen | 00d94c47a1b0abf4af1be2b17e4ae9ee66b1cd3b | [
"Apache-2.0"
] | 6 | 2022-03-22T07:27:29.000Z | 2022-03-29T17:58:10.000Z | import os
import pathlib
import py
import pytest
import xarray as xr
from sarsen import apps
DATA_FOLDER = pathlib.Path(__file__).parent / "data"
DATA_PATHS = [
DATA_FOLDER
/ "S1B_IW_GRDH_1SDV_20211223T051122_20211223T051147_030148_039993_5371.SAFE",
DATA_FOLDER
/ "S1A_IW_SLC__1SDV_20220104T170557_2... | 27.443038 | 84 | 0.686347 | 284 | 2,168 | 4.978873 | 0.299296 | 0.050919 | 0.055163 | 0.053041 | 0.760962 | 0.760962 | 0.760962 | 0.760962 | 0.760962 | 0.760962 | 0 | 0.065352 | 0.181273 | 2,168 | 78 | 85 | 27.794872 | 0.731268 | 0 | 0 | 0.590164 | 0 | 0 | 0.208026 | 0.066421 | 0 | 0 | 0 | 0 | 0.04918 | 1 | 0.04918 | false | 0 | 0.098361 | 0 | 0.147541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ea5751075853c0a423d8ddf444ac4a35b31ec139 | 90 | py | Python | dingomata/cogs/botadmin/config.py | snazzyfox/discord-party-dingomata | 5ef2a61fc7b85520e704641ec31f8fb88d590ec0 | [
"MIT"
] | 1 | 2021-12-23T18:21:22.000Z | 2021-12-23T18:21:22.000Z | dingomata/cogs/botadmin/config.py | snazzyfox/discord-party-dingomata | 5ef2a61fc7b85520e704641ec31f8fb88d590ec0 | [
"MIT"
] | 20 | 2021-10-01T18:09:39.000Z | 2022-02-27T10:18:56.000Z | dingomata/cogs/botadmin/config.py | snazzyfox/discord-party-dingomata | 5ef2a61fc7b85520e704641ec31f8fb88d590ec0 | [
"MIT"
] | 6 | 2021-09-27T18:01:59.000Z | 2022-01-30T17:46:10.000Z | from dingomata.config.models import CogConfig
class BotAdminConfig(CogConfig):
pass
| 15 | 45 | 0.8 | 10 | 90 | 7.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 90 | 5 | 46 | 18 | 0.935065 | 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 | 0 | 0 | 0 | 5 |
ea951b6fca44a4c9eaa772dd2048cde2c971b334 | 2,631 | py | Python | tests/test_main.py | scravy/jinsi | d9cea4e22de603c05e6da3d16bff63e6ae094047 | [
"MIT"
] | 13 | 2020-12-06T04:35:17.000Z | 2022-02-21T19:47:12.000Z | tests/test_main.py | scravy/jinsi | d9cea4e22de603c05e6da3d16bff63e6ae094047 | [
"MIT"
] | 11 | 2021-01-27T21:51:42.000Z | 2021-04-17T16:23:51.000Z | tests/test_main.py | scravy/jinsi | d9cea4e22de603c05e6da3d16bff63e6ae094047 | [
"MIT"
] | 3 | 2021-02-11T10:35:23.000Z | 2021-04-24T15:00:45.000Z | import re
import textwrap
import unittest
import io
from typing import Dict
from jinsi.main import main as jinsi_main
def capture(into: io.StringIO):
def _print(arg, end='\n'):
into.write(arg)
into.write(end)
return _print
def provide(dct: Dict[str, str]):
def _open(arg):
val =... | 34.618421 | 115 | 0.599392 | 371 | 2,631 | 4.008086 | 0.148248 | 0.134499 | 0.02421 | 0.102892 | 0.749832 | 0.749832 | 0.723605 | 0.723605 | 0.696032 | 0.696032 | 0 | 0.014459 | 0.185101 | 2,631 | 75 | 116 | 35.08 | 0.679104 | 0 | 0 | 0.309091 | 0 | 0 | 0.094261 | 0.007982 | 0 | 0 | 0 | 0 | 0.163636 | 1 | 0.236364 | false | 0 | 0.109091 | 0 | 0.418182 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
57aa0a7bc2fd9e41e3eab02b1da1709cdfdf3867 | 298 | py | Python | logs/models.py | Phist0ne/webvirtcloud | d94ca38e5c8b5bb1323d33067ee6b991775cc390 | [
"Apache-2.0"
] | 2 | 2018-03-14T09:46:49.000Z | 2019-05-14T11:45:14.000Z | logs/models.py | JamesLinus/webvirtcloud | d94ca38e5c8b5bb1323d33067ee6b991775cc390 | [
"Apache-2.0"
] | 4 | 2020-02-12T03:16:43.000Z | 2021-06-10T22:08:23.000Z | logs/models.py | caicloud/webvirtcloud | d94ca38e5c8b5bb1323d33067ee6b991775cc390 | [
"Apache-2.0"
] | 1 | 2019-06-11T19:54:08.000Z | 2019-06-11T19:54:08.000Z | from django.db import models
class Logs(models.Model):
user = models.CharField(max_length=50)
instance = models.CharField(max_length=50)
message = models.CharField(max_length=255)
date = models.DateTimeField(auto_now=True)
def __unicode__(self):
return self.instance
| 24.833333 | 46 | 0.724832 | 39 | 298 | 5.333333 | 0.641026 | 0.216346 | 0.259615 | 0.346154 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.177852 | 298 | 11 | 47 | 27.090909 | 0.820408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
57b8fb7b2e996ea0f0336dad1e42ea379d608b15 | 308 | py | Python | colossalai/kernel/jit/__init__.py | RichardoLuo/ColossalAI | 797a9dc5a9e801d7499b8667c3ef039a38aa15ba | [
"Apache-2.0"
] | 1,630 | 2021-10-30T01:00:27.000Z | 2022-03-31T23:02:41.000Z | colossalai/kernel/jit/__init__.py | RichardoLuo/ColossalAI | 797a9dc5a9e801d7499b8667c3ef039a38aa15ba | [
"Apache-2.0"
] | 166 | 2021-10-30T01:03:01.000Z | 2022-03-31T14:19:07.000Z | colossalai/kernel/jit/__init__.py | RichardoLuo/ColossalAI | 797a9dc5a9e801d7499b8667c3ef039a38aa15ba | [
"Apache-2.0"
] | 253 | 2021-10-30T06:10:29.000Z | 2022-03-31T13:30:06.000Z | from .option import set_jit_fusion_options
from .bias_dropout_add import bias_dropout_add_fused_train, bias_dropout_add_fused_inference
from .bias_gelu import bias_gelu_impl
__all__ = [
"bias_dropout_add_fused_train", "bias_dropout_add_fused_inference", "bias_gelu_impl",
"set_jit_fusion_options"
]
| 34.222222 | 92 | 0.844156 | 47 | 308 | 4.829787 | 0.340426 | 0.242291 | 0.30837 | 0.334802 | 0.45815 | 0.45815 | 0.45815 | 0.45815 | 0.45815 | 0.45815 | 0 | 0 | 0.097403 | 308 | 8 | 93 | 38.5 | 0.816547 | 0 | 0 | 0 | 0 | 0 | 0.311688 | 0.266234 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
57bb75038ce8610d0482a9ee877229be51514c4b | 254 | py | Python | workout_tracker/exercises/filters.py | e-dang/Workout-Tracker | 00a27597ea628cff62b320d616f56b2df4f344a0 | [
"MIT"
] | null | null | null | workout_tracker/exercises/filters.py | e-dang/Workout-Tracker | 00a27597ea628cff62b320d616f56b2df4f344a0 | [
"MIT"
] | null | null | null | workout_tracker/exercises/filters.py | e-dang/Workout-Tracker | 00a27597ea628cff62b320d616f56b2df4f344a0 | [
"MIT"
] | null | null | null | from core.filters import OwnedMultiAliasResourceFilterSet
from .models import ExerciseTemplate
class ExerciseTemplateFilterSet(OwnedMultiAliasResourceFilterSet):
class Meta:
model = ExerciseTemplate
fields = ['workloads__movement']
| 28.222222 | 66 | 0.795276 | 19 | 254 | 10.526316 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 254 | 8 | 67 | 31.75 | 0.934579 | 0 | 0 | 0 | 0 | 0 | 0.074803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
57eaf10585b039b9d737ec2afc6a98052c485f76 | 145 | py | Python | cheese_grader/__main__.py | matthewdeanmartin/cheese_grader | 566840e0f888b50daabcfd6fc723a5a7d42f5c39 | [
"MIT"
] | 8 | 2019-05-24T19:31:38.000Z | 2019-05-28T14:13:56.000Z | cheese_grader/__main__.py | matthewdeanmartin/cheese_grader | 566840e0f888b50daabcfd6fc723a5a7d42f5c39 | [
"MIT"
] | null | null | null | cheese_grader/__main__.py | matthewdeanmartin/cheese_grader | 566840e0f888b50daabcfd6fc723a5a7d42f5c39 | [
"MIT"
] | 1 | 2019-06-26T17:16:03.000Z | 2019-06-26T17:16:03.000Z | # coding=utf-8
"""
Entrypoint for python -m
"""
from cheese_grader.main import process_docopts
if __name__ == "__main__":
process_docopts()
| 16.111111 | 46 | 0.724138 | 19 | 145 | 4.947368 | 0.842105 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.151724 | 145 | 8 | 47 | 18.125 | 0.756098 | 0.262069 | 0 | 0 | 0 | 0 | 0.080808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
17acadb37f8977d242a22db18b335edd346e803c | 111 | py | Python | opportunity/admin.py | LoveProgramming-Limited/Django-CRM-2 | 7252460fad9ac38619304d0cdd3e5af59745e26e | [
"MIT"
] | null | null | null | opportunity/admin.py | LoveProgramming-Limited/Django-CRM-2 | 7252460fad9ac38619304d0cdd3e5af59745e26e | [
"MIT"
] | 1 | 2021-11-27T02:53:06.000Z | 2021-11-28T16:51:15.000Z | opportunity/admin.py | LoveProgramming-Limited/Django-CRM-2 | 7252460fad9ac38619304d0cdd3e5af59745e26e | [
"MIT"
] | null | null | null | from django.contrib import admin
from opportunity.models import Opportunity
admin.site.register(Opportunity)
| 18.5 | 42 | 0.846847 | 14 | 111 | 6.714286 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099099 | 111 | 5 | 43 | 22.2 | 0.94 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
17f1aca75beae218759e2abbf7449890f960ec64 | 457 | py | Python | tests/test_routes.py | bnbdr/argz | 1e2974a6469361ed98c7e613ec6dd39e77acba27 | [
"MIT"
] | 2 | 2019-01-29T21:17:04.000Z | 2021-04-02T13:06:20.000Z | tests/test_routes.py | bnbdr/argz | 1e2974a6469361ed98c7e613ec6dd39e77acba27 | [
"MIT"
] | 2 | 2018-08-26T13:25:35.000Z | 2019-03-01T15:34:49.000Z | tests/test_routes.py | bnbdr/argz | 1e2974a6469361ed98c7e613ec6dd39e77acba27 | [
"MIT"
] | null | null | null |
def route_allow_all(*args, **kwargs):
return args, kwargs
def route_defarg(reqarg, defarg=1):
return defarg
def route_json_dict(jsondict, dbg=False):
pass
def route_validator(alphanum, filepath, key, novalidation):
"""
put descriptive docstring here
"""
pass
def route... | 17.576923 | 60 | 0.630197 | 55 | 457 | 5.090909 | 0.581818 | 0.142857 | 0.085714 | 0.192857 | 0.242857 | 0.242857 | 0 | 0 | 0 | 0 | 0 | 0.008982 | 0.269147 | 457 | 25 | 61 | 18.28 | 0.829341 | 0.133479 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.333333 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
aa1ebcedace4e2f3b97204488b7ce84adeebaa4c | 119 | py | Python | learn/__init__.py | Daniela-Gibbons/insectvision | bdd2aed33b814483512280ba138abde86fa15558 | [
"MIT"
] | 1 | 2021-12-20T07:39:53.000Z | 2021-12-20T07:39:53.000Z | learn/__init__.py | JJFosterLab/insectvision | aef03fc406fb6a35340051cebf0e3ecd9bec63cc | [
"MIT"
] | null | null | null | learn/__init__.py | JJFosterLab/insectvision | aef03fc406fb6a35340051cebf0e3ecd9bec63cc | [
"MIT"
] | null | null | null | from loss_function import get_loss, SensorObjective
# from optimisation import optimise
from whitening import pca, zca
| 29.75 | 51 | 0.848739 | 16 | 119 | 6.1875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 119 | 3 | 52 | 39.666667 | 0.951923 | 0.277311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
aa2621ee800372336458262792d11c9f07debda4 | 4,079 | py | Python | Days/Day 13 - Mine Cart Madness/Part 1.py | jamesjiang52/Advent-of-Code-2018 | d2331a8133866335721af1379a62c3880114d07d | [
"MIT"
] | null | null | null | Days/Day 13 - Mine Cart Madness/Part 1.py | jamesjiang52/Advent-of-Code-2018 | d2331a8133866335721af1379a62c3880114d07d | [
"MIT"
] | null | null | null | Days/Day 13 - Mine Cart Madness/Part 1.py | jamesjiang52/Advent-of-Code-2018 | d2331a8133866335721af1379a62c3880114d07d | [
"MIT"
] | null | null | null | def main():
f = [line.rstrip("\n") for line in open("Data.txt")]
map_ = [list(line) for line in f]
info = []
for i in range(len(map_)):
for j in range(len(map_[0])):
if map_[i][j] == "v":
info.append([i, j, "down", "left"])
map_[i][j] = "|"
... | 33.434426 | 58 | 0.267468 | 423 | 4,079 | 2.486998 | 0.101655 | 0.045627 | 0.038023 | 0.034221 | 0.789924 | 0.747148 | 0.741445 | 0.73384 | 0.73384 | 0.558935 | 0 | 0.049573 | 0.569747 | 4,079 | 121 | 59 | 33.710744 | 0.549858 | 0 | 0 | 0.550459 | 0 | 0 | 0.073302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009174 | false | 0 | 0 | 0 | 0.009174 | 0.036697 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a4b1121d72b80203a1f7ff08431a2499da64d1b3 | 54 | py | Python | packages/vaex-ml/vaex/ml/_version.py | yohplala/vaex | ca7927a19d259576ca0403ee207a597aaef6adc2 | [
"MIT"
] | null | null | null | packages/vaex-ml/vaex/ml/_version.py | yohplala/vaex | ca7927a19d259576ca0403ee207a597aaef6adc2 | [
"MIT"
] | null | null | null | packages/vaex-ml/vaex/ml/_version.py | yohplala/vaex | ca7927a19d259576ca0403ee207a597aaef6adc2 | [
"MIT"
] | null | null | null | __version__ = '0.12.0'
__version_tuple__ = (0, 12, 0)
| 18 | 30 | 0.666667 | 9 | 54 | 3 | 0.444444 | 0.222222 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0.148148 | 54 | 2 | 31 | 27 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a4b81ae123193a7e7dd18666aea67ef9b6795993 | 21 | py | Python | python/testData/joinLines/BackslashBetweenTargetsInImport.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/joinLines/BackslashBetweenTargetsInImport.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/joinLines/BackslashBetweenTargetsInImport.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import foo, \
bar | 10.5 | 13 | 0.571429 | 3 | 21 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 21 | 2 | 14 | 10.5 | 0.857143 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a4c4d8be7fb365c9292c7111ab0edf97776913f6 | 190 | py | Python | average.py | pdebuyl/cli01 | 6f8118806338aee6cfae6fc699614ee01b8f3436 | [
"CC-BY-4.0"
] | null | null | null | average.py | pdebuyl/cli01 | 6f8118806338aee6cfae6fc699614ee01b8f3436 | [
"CC-BY-4.0"
] | null | null | null | average.py | pdebuyl/cli01 | 6f8118806338aee6cfae6fc699614ee01b8f3436 | [
"CC-BY-4.0"
] | null | null | null | #!/usr/bin/env python3
from __future__ import print_function, division
import sys
import statistics
with open(sys.argv[1], 'r') as f:
print(statistics.mean(map(float, f.readlines())))
| 21.111111 | 53 | 0.736842 | 29 | 190 | 4.655172 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.126316 | 190 | 8 | 54 | 23.75 | 0.801205 | 0.110526 | 0 | 0 | 0 | 0 | 0.005988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a4d7856e62ca66b557e16cd3dcca1b02f848deef | 28,983 | py | Python | data/data.py | Elric2718/HierGMM | 4cf24e921443f24856385364ffbf0058327b85f8 | [
"MIT"
] | null | null | null | data/data.py | Elric2718/HierGMM | 4cf24e921443f24856385364ffbf0058327b85f8 | [
"MIT"
] | null | null | null | data/data.py | Elric2718/HierGMM | 4cf24e921443f24856385364ffbf0058327b85f8 | [
"MIT"
] | null | null | null | import os
import argparse
import logging
from typing import Dict, List, Tuple, Optional, Set
import numpy as np # type: ignore
import pandas as pd # type: ignore
from scipy import sparse as sp # type: ignore
import torch # type: ignore
from torch.utils import data # type: ignore
from numpy.random import RandomSta... | 38.851206 | 175 | 0.563917 | 3,849 | 28,983 | 4.043128 | 0.071707 | 0.015936 | 0.008868 | 0.017093 | 0.804974 | 0.769117 | 0.737823 | 0.713019 | 0.676713 | 0.661997 | 0 | 0.013199 | 0.296795 | 28,983 | 745 | 176 | 38.903356 | 0.750356 | 0.05134 | 0 | 0.659285 | 0 | 0.008518 | 0.073221 | 0 | 0 | 0 | 0 | 0 | 0.015332 | 1 | 0.054514 | false | 0 | 0.017036 | 0.010221 | 0.102215 | 0.006814 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a4e11e9b69ae81ab62869850931e1cbe9231c790 | 70 | py | Python | backend/core/admin.py | ohforest/verbose-equals-true | db100aef71d39a6918899c96b767db44920b2083 | [
"MIT"
] | 7 | 2019-08-11T17:23:36.000Z | 2022-03-25T23:02:09.000Z | backend/core/admin.py | ohforest/verbose-equals-true | db100aef71d39a6918899c96b767db44920b2083 | [
"MIT"
] | 196 | 2019-10-04T17:03:36.000Z | 2022-03-31T17:54:59.000Z | src/marketlist/admin.py | gabaconrado/peculiar-fox | 278ae43a0222ce895a043afdd6199bb026174585 | [
"MIT"
] | 2 | 2019-03-07T11:55:56.000Z | 2019-08-11T17:17:58.000Z | from django.contrib import admin # noqa
# Register your models here.
| 17.5 | 39 | 0.771429 | 10 | 70 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 3 | 40 | 23.333333 | 0.931034 | 0.442857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a4edb979d969318c6577287d152b2ad3c250d726 | 8,111 | py | Python | alembic/versions/b11587a08126_refactor_contacts.py | qwc-services/sogis-agdi | f278612c42f648da07448905f2b8021b279e66bc | [
"MIT"
] | null | null | null | alembic/versions/b11587a08126_refactor_contacts.py | qwc-services/sogis-agdi | f278612c42f648da07448905f2b8021b279e66bc | [
"MIT"
] | null | null | null | alembic/versions/b11587a08126_refactor_contacts.py | qwc-services/sogis-agdi | f278612c42f648da07448905f2b8021b279e66bc | [
"MIT"
] | null | null | null | """refactor contacts
Revision ID: b11587a08126
Revises: 0a213bde7bdb
Create Date: 2018-03-08 15:08:30.316913
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'b11587a08126'
down_revision = '0a213bde7bdb'
branch_labels = None
depends_on = None
def upgrade():
... | 33.937238 | 104 | 0.627913 | 887 | 8,111 | 5.611048 | 0.146561 | 0.070725 | 0.0434 | 0.060277 | 0.790637 | 0.753868 | 0.744826 | 0.735584 | 0.666064 | 0.660237 | 0 | 0.017965 | 0.327457 | 8,111 | 238 | 105 | 34.079832 | 0.894409 | 0.018 | 0 | 0.677083 | 0 | 0 | 0.960412 | 0.132085 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010417 | false | 0 | 0.010417 | 0 | 0.020833 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
350a796b0dfa6996443af80acb5f389019c3f075 | 390 | py | Python | lcg/lcg.py | ranisalt/compsec | ea11aa36057427ad979ca4f3903b87e7ce1d44cb | [
"CC0-1.0"
] | null | null | null | lcg/lcg.py | ranisalt/compsec | ea11aa36057427ad979ca4f3903b87e7ce1d44cb | [
"CC0-1.0"
] | null | null | null | lcg/lcg.py | ranisalt/compsec | ea11aa36057427ad979ca4f3903b87e7ce1d44cb | [
"CC0-1.0"
] | null | null | null | class LinearCongruentialGenerator:
mul = 1103515245 # a, 0 < a < m
inc = 12345 # c, 0 <= c < m
mod = 2 ** 31 # m, 0 < m
def __init__(self, seed):
self.seed_ = seed % self.mod # X[0], 0 <= X[0] < m
def rand(self):
# X[n + 1] = (a * X[n] + c) mod m
self.seed_ = (s... | 30 | 66 | 0.489744 | 60 | 390 | 3.05 | 0.366667 | 0.218579 | 0.196721 | 0.174863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099206 | 0.353846 | 390 | 12 | 67 | 32.5 | 0.626984 | 0.223077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
352dc46650c1760ce38cbdd9fec8c42c44cd8d27 | 38 | py | Python | eureka/S3_data_reduction/nirspec.py | ladsantos/Eureka | 7d29df2f6965995f43bcf7500d0a021912b10fe9 | [
"MIT"
] | null | null | null | eureka/S3_data_reduction/nirspec.py | ladsantos/Eureka | 7d29df2f6965995f43bcf7500d0a021912b10fe9 | [
"MIT"
] | null | null | null | eureka/S3_data_reduction/nirspec.py | ladsantos/Eureka | 7d29df2f6965995f43bcf7500d0a021912b10fe9 | [
"MIT"
] | null | null | null |
# NIRSpec specific rountines go here
| 12.666667 | 36 | 0.789474 | 5 | 38 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 2 | 37 | 19 | 0.967742 | 0.894737 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
354baf726a4eaeaf9fcd757b9d8acb08611aa985 | 144 | py | Python | twitch/v5/models/__init__.py | sotif/Twitch-Python | 82509e91c18d5c0ff5c6663be2dff63259eb87fd | [
"MIT"
] | 177 | 2018-10-12T13:36:43.000Z | 2022-03-20T04:16:46.000Z | twitch/v5/models/__init__.py | sotif/Twitch-Python | 82509e91c18d5c0ff5c6663be2dff63259eb87fd | [
"MIT"
] | 41 | 2018-10-17T01:33:18.000Z | 2022-02-14T19:27:52.000Z | twitch/v5/models/__init__.py | sotif/Twitch-Python | 82509e91c18d5c0ff5c6663be2dff63259eb87fd | [
"MIT"
] | 50 | 2019-03-16T19:06:41.000Z | 2022-03-07T00:12:04.000Z | from typing import List, Callable
from .comment import Comment
from .model import Model
__all__: List[Callable] = [
Comment,
Model,
]
| 14.4 | 33 | 0.715278 | 18 | 144 | 5.5 | 0.444444 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 144 | 9 | 34 | 16 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
10231cb6c40752ec58266063045d600e04ac84a3 | 158 | py | Python | kloppy/infra/serializers/tracking/__init__.py | TK5-Tim/kloppy | 912e8036305958fbe426f51cd2afa9ceb1a9c374 | [
"BSD-3-Clause"
] | 2 | 2022-02-17T09:50:10.000Z | 2022-03-01T05:04:12.000Z | kloppy/infra/serializers/tracking/__init__.py | FCrSTATS/kloppy | 30a84e6adcecc7b703e8f4b9a8e786612fa2e49e | [
"BSD-3-Clause"
] | null | null | null | kloppy/infra/serializers/tracking/__init__.py | FCrSTATS/kloppy | 30a84e6adcecc7b703e8f4b9a8e786612fa2e49e | [
"BSD-3-Clause"
] | null | null | null | from .base import TrackingDataSerializer
from .tracab import TRACABSerializer
from .metrica import MetricaTrackingSerializer
from .epts import EPTSSerializer
| 31.6 | 46 | 0.873418 | 16 | 158 | 8.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 158 | 4 | 47 | 39.5 | 0.971831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
104b4a41aa1ad76a01d0bc6ec65653cee9469e8f | 34,825 | py | Python | flask_web/flask_app/deep_learning/models_mse_loss/resnet_con1d.py | Yakings/system_demo | 6ec9596db1e60e221054282a06d9129246e88f54 | [
"Apache-2.0"
] | null | null | null | flask_web/flask_app/deep_learning/models_mse_loss/resnet_con1d.py | Yakings/system_demo | 6ec9596db1e60e221054282a06d9129246e88f54 | [
"Apache-2.0"
] | null | null | null | flask_web/flask_app/deep_learning/models_mse_loss/resnet_con1d.py | Yakings/system_demo | 6ec9596db1e60e221054282a06d9129246e88f54 | [
"Apache-2.0"
] | 1 | 2020-08-18T10:55:10.000Z | 2020-08-18T10:55:10.000Z | from collections import namedtuple
import tensorflow as tf
import numpy as np
from .import utils
HParams = namedtuple('HParams',
'batch_size, num_gpus, num_cpus,num_classes, input_dim, weight_decay, '
'momentum, finetune,'
################################... | 40.826495 | 111 | 0.538378 | 4,626 | 34,825 | 3.845655 | 0.07393 | 0.028387 | 0.02968 | 0.025183 | 0.784205 | 0.757504 | 0.750028 | 0.725801 | 0.715289 | 0.704497 | 0 | 0.02865 | 0.322469 | 34,825 | 852 | 112 | 40.874413 | 0.725323 | 0.294358 | 0 | 0.60095 | 0 | 0 | 0.060378 | 0.003986 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054632 | false | 0.030879 | 0.009501 | 0.002375 | 0.12114 | 0.066508 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
105d52940fd06d2d50820b67c466b037e2f297ec | 105 | py | Python | enthought/permissions/package_globals.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/permissions/package_globals.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/permissions/package_globals.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from apptools.permissions.package_globals import *
| 26.25 | 50 | 0.857143 | 13 | 105 | 6.461538 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104762 | 105 | 3 | 51 | 35 | 0.893617 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1071323c691220419430449b5fa134aef7a8e45c | 61,915 | py | Python | experiments/experiments_gdsc/convergence/nmtf_gibbs.py | ThomasBrouwer/BNMTF | 34df0c3cebc5e67a5e39762b9305b75d73a2a0e0 | [
"Apache-2.0"
] | 16 | 2017-04-19T12:04:47.000Z | 2021-12-03T00:50:43.000Z | experiments/experiments_gdsc/convergence/nmtf_gibbs.py | ThomasBrouwer/BNMTF | 34df0c3cebc5e67a5e39762b9305b75d73a2a0e0 | [
"Apache-2.0"
] | 1 | 2017-04-20T11:26:16.000Z | 2017-04-20T11:26:16.000Z | experiments/experiments_gdsc/convergence/nmtf_gibbs.py | ThomasBrouwer/BNMTF | 34df0c3cebc5e67a5e39762b9305b75d73a2a0e0 | [
"Apache-2.0"
] | 8 | 2015-12-15T05:29:43.000Z | 2019-06-05T03:14:11.000Z | """
Run NMTF Gibbs on the Sanger dataset.
We can plot the MSE, R2 and Rp as it converges, on the entire dataset.
We give flat priors (1/10).
"""
import sys, os
project_location = os.path.dirname(__file__)+"/../../../../"
sys.path.append(project_location)
from BNMTF.code.models.bnmtf_gibbs_optimised import bnmtf_gib... | 1,238.3 | 60,722 | 0.84897 | 6,189 | 61,915 | 8.487963 | 0.498788 | 0.001142 | 0.001085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.879711 | 0.050844 | 61,915 | 50 | 60,723 | 1,238.3 | 0.014192 | 0.001922 | 0 | 0 | 0 | 0 | 0.093716 | 0.024256 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.041667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1074ffad876ec4a4e28b6e048a65800ca3de277d | 96 | py | Python | lichee/utils/model_loader/__init__.py | Tencent/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 91 | 2021-10-30T02:25:05.000Z | 2022-03-28T06:51:52.000Z | lichee/utils/model_loader/__init__.py | zhaijunyu/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 1 | 2021-12-17T09:30:25.000Z | 2022-03-05T12:30:13.000Z | lichee/utils/model_loader/__init__.py | zhaijunyu/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 17 | 2021-11-04T07:50:23.000Z | 2022-03-24T14:24:11.000Z | # -*- coding: utf-8 -*-
"""
模型加载器插件
"""
from . import onnx_loader
from . import torch_nn_loader
| 13.714286 | 29 | 0.65625 | 13 | 96 | 4.615385 | 0.769231 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.166667 | 96 | 6 | 30 | 16 | 0.7375 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1075958d5cb6a79744492f3c8154a1ff6edc1284 | 99 | py | Python | Dinos/CrystalWyvern/Eggs/PrimalItemConsumable_Egg_CrystalWyvern_Fertilized_Bloodfall.PrimalItemConsumable_Egg_CrystalWyvern_Fertilized_Bloodfall.py | cutec-chris/sce-PrimalEarth | 4e7a45acffc57a455a7668af1a954004668c3085 | [
"MIT"
] | null | null | null | Dinos/CrystalWyvern/Eggs/PrimalItemConsumable_Egg_CrystalWyvern_Fertilized_Bloodfall.PrimalItemConsumable_Egg_CrystalWyvern_Fertilized_Bloodfall.py | cutec-chris/sce-PrimalEarth | 4e7a45acffc57a455a7668af1a954004668c3085 | [
"MIT"
] | null | null | null | Dinos/CrystalWyvern/Eggs/PrimalItemConsumable_Egg_CrystalWyvern_Fertilized_Bloodfall.PrimalItemConsumable_Egg_CrystalWyvern_Fertilized_Bloodfall.py | cutec-chris/sce-PrimalEarth | 4e7a45acffc57a455a7668af1a954004668c3085 | [
"MIT"
] | null | null | null | import sys,sce
class PrimalItemConsumable_Egg_CrystalWyvern_Fertilized_Bloodfall(sce.Eggs):
pass | 33 | 76 | 0.878788 | 12 | 99 | 6.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 99 | 3 | 77 | 33 | 0.902174 | 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 | 0 | 0 | 0 | 5 |
109920892f6b59d2f377c8204df109e4c227868e | 180 | py | Python | vanko/scrapy/webdriver/__init__.py | ivandeex/scrapoku | 2a315e0e8ed2228e17ef65a5647523e66a7bbf36 | [
"BSD-3-Clause"
] | 1 | 2018-05-08T21:29:18.000Z | 2018-05-08T21:29:18.000Z | vanko/scrapy/webdriver/__init__.py | ivandeex/scrapoku | 2a315e0e8ed2228e17ef65a5647523e66a7bbf36 | [
"BSD-3-Clause"
] | 10 | 2021-01-07T22:41:57.000Z | 2022-03-29T23:18:11.000Z | vanko/scrapy/webdriver/__init__.py | ivandeex/scrapoku | 2a315e0e8ed2228e17ef65a5647523e66a7bbf36 | [
"BSD-3-Clause"
] | 2 | 2020-08-01T10:14:17.000Z | 2021-05-14T14:59:44.000Z | # flake8: noqa
from .spider import WebdriverSpider
from .http import WebdriverRequest, WebdriverActionRequest, WebdriverResponse
from .middlewares import WebdriverSpiderMiddleware
| 36 | 77 | 0.866667 | 16 | 180 | 9.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 0.094444 | 180 | 4 | 78 | 45 | 0.95092 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
52da7538fb056dab5d1931720782bcc44cb2776c | 439 | py | Python | src/hexagonal/hexagonal_project_config.py | rfrezino/hexagonal-sanity-check | 78c8711d9be6ec173abead4ab344f7ac57d5d4ac | [
"MIT"
] | 1 | 2022-03-14T10:17:38.000Z | 2022-03-14T10:17:38.000Z | src/hexagonal/hexagonal_project_config.py | rfrezino/hexagonal-sanity-check | 78c8711d9be6ec173abead4ab344f7ac57d5d4ac | [
"MIT"
] | null | null | null | src/hexagonal/hexagonal_project_config.py | rfrezino/hexagonal-sanity-check | 78c8711d9be6ec173abead4ab344f7ac57d5d4ac | [
"MIT"
] | 2 | 2021-12-14T10:35:24.000Z | 2022-01-31T14:17:36.000Z | from hexagonal.hexagonal_config import hexagonal_config
hexagonal_config.add_inner_layer_with_dirs(layer_name='infrastructure', directories=['/infrastructure'])
hexagonal_config.add_inner_layer_with_dirs(layer_name='use_cases', directories=['/use_cases'])
hexagonal_config.add_inner_layer_with_dirs(layer_name='services... | 62.714286 | 104 | 0.849658 | 57 | 439 | 6.052632 | 0.280702 | 0.26087 | 0.208696 | 0.266667 | 0.521739 | 0.521739 | 0.521739 | 0.521739 | 0.521739 | 0 | 0 | 0 | 0.029613 | 439 | 6 | 105 | 73.166667 | 0.809859 | 0 | 0 | 0 | 0 | 0 | 0.177677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
52e92a7ada06051115aa37b20c5d5aaf9997a0bd | 40 | py | Python | waterfall_ax/__init__.py | microsoft/waterfall_ax | dbb4dd43637c52b8e4620ce773d8ffd1701b8fb9 | [
"MIT"
] | 2 | 2020-10-03T07:33:56.000Z | 2022-03-30T20:39:04.000Z | waterfall_ax/__init__.py | microsoft/waterfall_ax | dbb4dd43637c52b8e4620ce773d8ffd1701b8fb9 | [
"MIT"
] | null | null | null | waterfall_ax/__init__.py | microsoft/waterfall_ax | dbb4dd43637c52b8e4620ce773d8ffd1701b8fb9 | [
"MIT"
] | 4 | 2020-10-07T07:40:50.000Z | 2022-03-30T20:39:27.000Z | from .waterfall_ax import WaterfallChart | 40 | 40 | 0.9 | 5 | 40 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
eaafd749ee276d5c4c4f2913e5fb57aee8923ab2 | 121 | py | Python | midistream/__init__.py | b3b/midistream | 0357de225e867a080443d1bc7d5baf9b845f892f | [
"MIT"
] | 1 | 2018-07-18T05:31:36.000Z | 2018-07-18T05:31:36.000Z | midistream/__init__.py | b3b/midistream | 0357de225e867a080443d1bc7d5baf9b845f892f | [
"MIT"
] | null | null | null | midistream/__init__.py | b3b/midistream | 0357de225e867a080443d1bc7d5baf9b845f892f | [
"MIT"
] | null | null | null | from .facade import MIDIException, ReverbPreset, Synthesizer
__all__ = ["MIDIException", "ReverbPreset", "Synthesizer"]
| 30.25 | 60 | 0.785124 | 10 | 121 | 9.1 | 0.7 | 0.549451 | 0.791209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 121 | 3 | 61 | 40.333333 | 0.834862 | 0 | 0 | 0 | 0 | 0 | 0.297521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ead99c302c352798c7a6d702456febc67b60b643 | 154 | py | Python | pythreshold/__init__.py | ivangtorre/threshold-method-time-series | f5085cd4893b18a6369f6fe3f08ee576179fa0fb | [
"MIT"
] | null | null | null | pythreshold/__init__.py | ivangtorre/threshold-method-time-series | f5085cd4893b18a6369f6fe3f08ee576179fa0fb | [
"MIT"
] | null | null | null | pythreshold/__init__.py | ivangtorre/threshold-method-time-series | f5085cd4893b18a6369f6fe3f08ee576179fa0fb | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Jun 29 21:56:52 2018
@author: ivan
"""
from pythreshold.thresholds import time_series
| 15.4 | 46 | 0.681818 | 24 | 154 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 0.155844 | 154 | 9 | 47 | 17.111111 | 0.692308 | 0.61039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d804b33401d598b1ef49ef940aa7a948ffaac960 | 89 | py | Python | plugins/markdown_extensions/__init__.py | raabrp/rraabblog | a1d47ede918f4838ac3bbcff9ef4e7c67f851c32 | [
"MIT"
] | null | null | null | plugins/markdown_extensions/__init__.py | raabrp/rraabblog | a1d47ede918f4838ac3bbcff9ef4e7c67f851c32 | [
"MIT"
] | null | null | null | plugins/markdown_extensions/__init__.py | raabrp/rraabblog | a1d47ede918f4838ac3bbcff9ef4e7c67f851c32 | [
"MIT"
] | null | null | null | from .preprocessor import Custom # preprocessor
from .katex import Katex # regex Pattern
| 29.666667 | 47 | 0.808989 | 11 | 89 | 6.545455 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 2 | 48 | 44.5 | 0.947368 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d80d4f78304e4d6e13ce8d38c77a3be4a4d1b1ec | 6,944 | py | Python | tests/test_serialization.py | DavidWhittingham/agsconfig | c0ac6c37e5e49f87d2812220d756aef118c08024 | [
"BSD-3-Clause"
] | 1 | 2019-05-17T01:44:41.000Z | 2019-05-17T01:44:41.000Z | tests/test_serialization.py | DavidWhittingham/agsconfig | c0ac6c37e5e49f87d2812220d756aef118c08024 | [
"BSD-3-Clause"
] | 2 | 2019-04-09T02:01:26.000Z | 2019-06-25T05:27:11.000Z | tests/test_serialization.py | DavidWhittingham/agsconfig | c0ac6c37e5e49f87d2812220d756aef118c08024 | [
"BSD-3-Clause"
] | 2 | 2019-03-21T04:58:18.000Z | 2019-09-09T23:00:48.000Z | # coding=utf-8
"""Tests for serialization.py."""
# Python 2/3 compatibility
# pylint: disable=wildcard-import,unused-wildcard-import,wrong-import-order,wrong-import-position
from __future__ import (absolute_import, division, print_function, unicode_literals)
from future.builtins.disabled import *
from future.builtins ... | 39.011236 | 130 | 0.651642 | 728 | 6,944 | 6.070055 | 0.116758 | 0.108622 | 0.069246 | 0.115411 | 0.852003 | 0.814211 | 0.775967 | 0.765332 | 0.725277 | 0.595384 | 0 | 0.005307 | 0.185916 | 6,944 | 177 | 131 | 39.231638 | 0.776402 | 0.076037 | 0 | 0.376812 | 0 | 0 | 0.165675 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 1 | 0.065217 | false | 0 | 0.057971 | 0 | 0.123188 | 0.007246 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d827bcb83341841a45627ca2d863bfd9876ccc28 | 39 | py | Python | tests/components/overkiz/__init__.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/overkiz/__init__.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/overkiz/__init__.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Tests for the overkiz component."""
| 19.5 | 38 | 0.692308 | 5 | 39 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.794118 | 0.820513 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d829514939e320404e2ccbb7b8b1b0e1af93c386 | 214 | py | Python | arabian_string.py | Kunalpod/codewars | 8dc1af2f3c70e209471045118fd88b3ea1e627e5 | [
"MIT"
] | null | null | null | arabian_string.py | Kunalpod/codewars | 8dc1af2f3c70e209471045118fd88b3ea1e627e5 | [
"MIT"
] | null | null | null | arabian_string.py | Kunalpod/codewars | 8dc1af2f3c70e209471045118fd88b3ea1e627e5 | [
"MIT"
] | null | null | null | #Kunal Gautam
#Codewars : @Kunalpod
#Problem name: Arabian String
#Problem level: 6 kyu
import re
def camelize(str_):
return ''.join([x[0].upper()+x[1:].lower() for x in re.split('[^0-9A-Za-z]*', str_) if x])
| 23.777778 | 94 | 0.654206 | 37 | 214 | 3.72973 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027322 | 0.14486 | 214 | 8 | 95 | 26.75 | 0.726776 | 0.373832 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
dc5ddc38294ba60c65cbd3917e927614acec7fa6 | 373 | py | Python | forms.py | ArthurOliveiraTeles/Dashboard-administrativo-com-Flask-Estudo- | 7c221e67c7177507b4e2bbf0a43aaf0bcec18fd6 | [
"MIT"
] | null | null | null | forms.py | ArthurOliveiraTeles/Dashboard-administrativo-com-Flask-Estudo- | 7c221e67c7177507b4e2bbf0a43aaf0bcec18fd6 | [
"MIT"
] | null | null | null | forms.py | ArthurOliveiraTeles/Dashboard-administrativo-com-Flask-Estudo- | 7c221e67c7177507b4e2bbf0a43aaf0bcec18fd6 | [
"MIT"
] | null | null | null | from wtforms import Form, StringField, PasswordField, validators
class LoginForm(Form):
email = StringField('E-mail ou Usuário', [validators.Length(min=6, max=35),
validators.DataRequired()], render_kw={'class': 'form-control'})
password = PasswordField('Senha', [validators.D... | 53.285714 | 103 | 0.664879 | 39 | 373 | 6.307692 | 0.641026 | 0.178862 | 0.227642 | 0.243902 | 0.373984 | 0.373984 | 0.373984 | 0 | 0 | 0 | 0 | 0.009868 | 0.184987 | 373 | 6 | 104 | 62.166667 | 0.799342 | 0 | 0 | 0 | 0 | 0 | 0.150134 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0.2 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
dc5e9fd952497ff07090df09fedf01106d4967b6 | 68 | py | Python | dash/components/table/__init__.py | datavalor/adesit | 0dce50e36b2a042ce2590e1e8e33e642423bf552 | [
"BSD-3-Clause"
] | 2 | 2021-07-22T11:41:55.000Z | 2022-01-26T19:21:00.000Z | dash/components/table/__init__.py | datavalor/adesit | 0dce50e36b2a042ce2590e1e8e33e642423bf552 | [
"BSD-3-Clause"
] | null | null | null | dash/components/table/__init__.py | datavalor/adesit | 0dce50e36b2a042ce2590e1e8e33e642423bf552 | [
"BSD-3-Clause"
] | null | null | null | from .callbacks import register_callbacks
from .layout import render | 34 | 41 | 0.867647 | 9 | 68 | 6.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 68 | 2 | 42 | 34 | 0.95082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dca3be7f46df40c77be5be12c6e83d83186214ad | 38 | py | Python | tests/test_checks.py | pyapp-org/pyapp.aio-pika | db568ceea747bedf4c1c29012ba61c30b5a8507b | [
"BSD-3-Clause"
] | null | null | null | tests/test_checks.py | pyapp-org/pyapp.aio-pika | db568ceea747bedf4c1c29012ba61c30b5a8507b | [
"BSD-3-Clause"
] | null | null | null | tests/test_checks.py | pyapp-org/pyapp.aio-pika | db568ceea747bedf4c1c29012ba61c30b5a8507b | [
"BSD-3-Clause"
] | null | null | null | from pyapp_ext.aio_pika import checks
| 19 | 37 | 0.868421 | 7 | 38 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f4faf61af96bab274310c7edc36ea232d08baa3e | 231 | py | Python | files2md/structure_objects/structureObject.py | KacperKotlewski/file_structure_to_markdown | aad0e1c80f88e0b3d079cf242d43fdc4b7a369f7 | [
"MIT"
] | 1 | 2020-02-22T00:41:04.000Z | 2020-02-22T00:41:04.000Z | files2md/structure_objects/structureObject.py | KacperKotlewski/file_structure_to_markdown | aad0e1c80f88e0b3d079cf242d43fdc4b7a369f7 | [
"MIT"
] | null | null | null | files2md/structure_objects/structureObject.py | KacperKotlewski/file_structure_to_markdown | aad0e1c80f88e0b3d079cf242d43fdc4b7a369f7 | [
"MIT"
] | null | null | null | class StructureObject:
def __init__(self, name="", dir=""):
self.name = name
self.dir = dir
def getName(self): return self.name
def getDir(self): return self.dir
def getType(self): return type(self) | 28.875 | 40 | 0.632035 | 31 | 231 | 4.580645 | 0.387097 | 0.169014 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 231 | 8 | 41 | 28.875 | 0.811429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.571429 | false | 0 | 0 | 0.428571 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
76019a6903e997cb699a96cb82643e2d41594987 | 230 | py | Python | Util/WriteFile.py | XueQiangFan/I-RNAsol | c503746f47eee97203f8c006222c4b701e999778 | [
"Unlicense"
] | null | null | null | Util/WriteFile.py | XueQiangFan/I-RNAsol | c503746f47eee97203f8c006222c4b701e999778 | [
"Unlicense"
] | null | null | null | Util/WriteFile.py | XueQiangFan/I-RNAsol | c503746f47eee97203f8c006222c4b701e999778 | [
"Unlicense"
] | null | null | null |
def write(filename, content):
with open(filename, 'w') as file_object:
file_object.write(content)
def appendWrite(filename, content):
with open(filename, 'a') as file_object:
file_object.write(content)
| 20.909091 | 44 | 0.686957 | 30 | 230 | 5.133333 | 0.4 | 0.25974 | 0.246753 | 0.298701 | 0.844156 | 0.441558 | 0.441558 | 0 | 0 | 0 | 0 | 0 | 0.2 | 230 | 10 | 45 | 23 | 0.836957 | 0 | 0 | 0.333333 | 0 | 0 | 0.008772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 5 |
762c4eddf6e62d951b364f3388dba0fd544ca632 | 130 | py | Python | atcoder/abc/abc149_b.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | 1 | 2018-11-12T15:18:55.000Z | 2018-11-12T15:18:55.000Z | atcoder/abc/abc149_b.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | atcoder/abc/abc149_b.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | A, B, K = map(int, input().split())
if A >= K:
A -= K
print(A, B)
else:
A, B = 0, max(0, B - (K - A))
print(A, B)
| 16.25 | 35 | 0.407692 | 27 | 130 | 1.962963 | 0.444444 | 0.150943 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.338462 | 130 | 7 | 36 | 18.571429 | 0.593023 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
762d4803e1f87bf476a9c770ae154251ab0ad5b3 | 447 | py | Python | graph_ter_seg/transforms/__init__.py | RicardoLanJ/graph-ter | 3b9bda527a6a9559be835c5b84e6491ac8c5aa30 | [
"MIT"
] | 58 | 2020-03-24T16:06:21.000Z | 2022-03-26T07:04:28.000Z | graph_ter_seg/transforms/__init__.py | RicardoLanJ/graph-ter | 3b9bda527a6a9559be835c5b84e6491ac8c5aa30 | [
"MIT"
] | 6 | 2020-04-02T08:52:37.000Z | 2020-11-27T12:27:23.000Z | graph_ter_seg/transforms/__init__.py | RicardoLanJ/graph-ter | 3b9bda527a6a9559be835c5b84e6491ac8c5aa30 | [
"MIT"
] | 19 | 2020-03-29T18:23:55.000Z | 2021-12-25T04:10:00.000Z | from graph_ter_seg.transforms.global_rotate import GlobalRotate
from graph_ter_seg.transforms.global_translate import GlobalTranslate
from graph_ter_seg.transforms.global_shear import GlobalShear
from graph_ter_seg.transforms.local_rotate import LocalRotate
from graph_ter_seg.transforms.local_shear import LocalShear
fr... | 55.875 | 69 | 0.90604 | 62 | 447 | 6.209677 | 0.290323 | 0.163636 | 0.218182 | 0.272727 | 0.54026 | 0.475325 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06264 | 447 | 7 | 70 | 63.857143 | 0.918854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5230255512ed8bdd2cb4496352bf177743c59623 | 128 | py | Python | backend/orcinus/admin.py | jiwonMe/rokn-letter | c91442f0174ff1e1efba568483d9d9def9423309 | [
"MIT"
] | 1 | 2022-01-18T03:13:20.000Z | 2022-01-18T03:13:20.000Z | backend/orcinus/admin.py | jiwonMe/rokn-letter | c91442f0174ff1e1efba568483d9d9def9423309 | [
"MIT"
] | 4 | 2021-06-13T14:54:41.000Z | 2021-06-14T14:25:33.000Z | backend/orcinus/admin.py | jiwonMe/rokn-letter | c91442f0174ff1e1efba568483d9d9def9423309 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Letter, Session
admin.site.register(Letter)
admin.site.register(Session)
| 18.285714 | 35 | 0.8125 | 18 | 128 | 5.777778 | 0.555556 | 0.173077 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 128 | 6 | 36 | 21.333333 | 0.904348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
524ad3a4d3bafe8569cc598430f4421cb1f798c9 | 306 | py | Python | utils/pagination.py | darth-dodo/meal-helper | 8cfc57463ff4a66be111520605453d4ff8fed6d0 | [
"MIT"
] | 2 | 2020-04-02T14:27:58.000Z | 2021-02-01T10:39:50.000Z | utils/pagination.py | darth-dodo/meal-helper | 8cfc57463ff4a66be111520605453d4ff8fed6d0 | [
"MIT"
] | 9 | 2019-12-05T00:43:48.000Z | 2021-06-10T19:07:43.000Z | utils/pagination.py | darth-dodo/meal-helper | 8cfc57463ff4a66be111520605453d4ff8fed6d0 | [
"MIT"
] | null | null | null | from rest_framework.pagination import LimitOffsetPagination, PageNumberPagination
from utils.constants import MAX_PAGINATION_LIMIT, DEFAULT_PAGINATION_LIMIT, PAGE_SIZE
class MealPlannerPagination(LimitOffsetPagination):
max_limit = MAX_PAGINATION_LIMIT
default_limit = DEFAULT_PAGINATION_LIMIT
| 30.6 | 85 | 0.866013 | 32 | 306 | 7.90625 | 0.5 | 0.237154 | 0.142292 | 0.197628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101307 | 306 | 9 | 86 | 34 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5270cefbebdc6821e49fc122b0e4f839deb09475 | 55 | py | Python | packages/syft/src/syft/core/node/common/node_service/testing_services/__init__.py | jackbandy/PySyft | 0e20e90abab6a7a7ca672d6eedfa1e7f83c4981b | [
"Apache-2.0"
] | null | null | null | packages/syft/src/syft/core/node/common/node_service/testing_services/__init__.py | jackbandy/PySyft | 0e20e90abab6a7a7ca672d6eedfa1e7f83c4981b | [
"Apache-2.0"
] | null | null | null | packages/syft/src/syft/core/node/common/node_service/testing_services/__init__.py | jackbandy/PySyft | 0e20e90abab6a7a7ca672d6eedfa1e7f83c4981b | [
"Apache-2.0"
] | null | null | null | # relative
from .. import upload_service # noqa: F401
| 18.333333 | 43 | 0.727273 | 7 | 55 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.181818 | 55 | 2 | 44 | 27.5 | 0.8 | 0.345455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
52715821b77912d7a8bae5c5cbab2cced899b000 | 74 | py | Python | doujin/__init__.py | jack1142/MayuYukirin | 2a61a98ce2924e9941334a35cf89b275aa21bc94 | [
"MIT"
] | 7 | 2017-09-13T02:54:58.000Z | 2020-09-19T04:14:58.000Z | doujin/__init__.py | jack1142/MayuYukirin | 2a61a98ce2924e9941334a35cf89b275aa21bc94 | [
"MIT"
] | 3 | 2018-11-08T06:28:55.000Z | 2021-08-28T01:32:11.000Z | doujin/__init__.py | jack1142/MayuYukirin | 2a61a98ce2924e9941334a35cf89b275aa21bc94 | [
"MIT"
] | 15 | 2017-09-13T02:32:45.000Z | 2021-09-17T20:26:02.000Z | from .doujin import Doujin
def setup(bot):
bot.add_cog(Doujin(bot))
| 12.333333 | 28 | 0.702703 | 12 | 74 | 4.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 5 | 29 | 14.8 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5284a00f11620e607411af4433b86f14a892f3e6 | 369 | py | Python | importAll.py | jb-diplom/Big-Data | ae18d9b0b37a5bb716999ccd8671f2b72c37c09a | [
"MIT"
] | null | null | null | importAll.py | jb-diplom/Big-Data | ae18d9b0b37a5bb716999ccd8671f2b72c37c09a | [
"MIT"
] | null | null | null | importAll.py | jb-diplom/Big-Data | ae18d9b0b37a5bb716999ccd8671f2b72c37c09a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue May 19 18:27:52 2020
@author: Janice
"""
import importlib
importlib.import_module("reader")
importlib.import_module("topicmap")
importlib.import_module("similarity")
importlib.import_module("scatterplots")
importlib.import_module("sentiment3d")
from reader import loadAllFe... | 20.5 | 39 | 0.785908 | 44 | 369 | 6.477273 | 0.568182 | 0.263158 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041916 | 0.094851 | 369 | 17 | 40 | 21.705882 | 0.811377 | 0.203252 | 0 | 0 | 0 | 0 | 0.164336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
bfe56fdb72cb796da21b7e61292b90f0deb516a7 | 89 | py | Python | scripts/densenet/export_segmented_tiles.py | SchiffFlieger/semantic-segmentation-master-thesis | f54b8321a9e0828e492bc6847acbff80c1a75d7c | [
"MIT"
] | 1 | 2021-02-07T09:22:44.000Z | 2021-02-07T09:22:44.000Z | scripts/densenet/export_segmented_tiles.py | SchiffFlieger/semantic-segmentation-master-thesis | f54b8321a9e0828e492bc6847acbff80c1a75d7c | [
"MIT"
] | null | null | null | scripts/densenet/export_segmented_tiles.py | SchiffFlieger/semantic-segmentation-master-thesis | f54b8321a9e0828e492bc6847acbff80c1a75d7c | [
"MIT"
] | null | null | null | from scripts.common.qgis_export_worker import do_export
do_export("densenet", 224, 224)
| 22.25 | 55 | 0.820225 | 14 | 89 | 4.928571 | 0.714286 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.089888 | 89 | 3 | 56 | 29.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
87379c42a34b124d9b314093a00897e0d7adec8b | 107 | py | Python | jjba/src/structs.py | lstn/jjba-continued | ce82399162bf156a9925e1412eb226bed58e4a33 | [
"MIT"
] | 2 | 2016-10-15T04:37:23.000Z | 2016-10-15T05:20:26.000Z | jjba/src/structs.py | lstn/jjba-continued | ce82399162bf156a9925e1412eb226bed58e4a33 | [
"MIT"
] | null | null | null | jjba/src/structs.py | lstn/jjba-continued | ce82399162bf156a9925e1412eb226bed58e4a33 | [
"MIT"
] | null | null | null | class Bunch(dict):
def __init__(self,**kw):
dict.__init__(self,kw)
self.__dict__ = self | 26.75 | 30 | 0.607477 | 14 | 107 | 3.785714 | 0.5 | 0.301887 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252336 | 107 | 4 | 31 | 26.75 | 0.6625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5e83a22455603c1bbab93a8dd2e96968721f098d | 109 | py | Python | recolhidos/simulador.py | farioso-fernando/Rtimegrapk-Frame | 892bb58a451550c772332da3e4d7c982832b2713 | [
"MIT"
] | null | null | null | recolhidos/simulador.py | farioso-fernando/Rtimegrapk-Frame | 892bb58a451550c772332da3e4d7c982832b2713 | [
"MIT"
] | null | null | null | recolhidos/simulador.py | farioso-fernando/Rtimegrapk-Frame | 892bb58a451550c772332da3e4d7c982832b2713 | [
"MIT"
] | null | null | null | import os
arquivos_aula = os.listdir('arquivo_ky/.')
print(arquivos_aula[0])
print(type(arquivos_aula[0]))
| 18.166667 | 42 | 0.752294 | 17 | 109 | 4.588235 | 0.588235 | 0.461538 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.082569 | 109 | 5 | 43 | 21.8 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
5eba60fe6b6812c6778387197da21530a6ae7e6c | 132 | py | Python | enthought/numerical_modeling/numeric_context/context_modified.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/numerical_modeling/numeric_context/context_modified.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/numerical_modeling/numeric_context/context_modified.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from blockcanvas.numerical_modeling.numeric_context.context_modified import *
| 33 | 77 | 0.878788 | 16 | 132 | 6.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 132 | 3 | 78 | 44 | 0.892562 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0d7152f9cee259d7df221f095bf7042b58be0971 | 640 | py | Python | lacusClient_p2pTest/app_core/interfaces/cacheFilesManagerInterface.py | tavog96/distribuidosProyecto | 8aee06ca580389412809353ac312c417aa1163fa | [
"MIT"
] | null | null | null | lacusClient_p2pTest/app_core/interfaces/cacheFilesManagerInterface.py | tavog96/distribuidosProyecto | 8aee06ca580389412809353ac312c417aa1163fa | [
"MIT"
] | null | null | null | lacusClient_p2pTest/app_core/interfaces/cacheFilesManagerInterface.py | tavog96/distribuidosProyecto | 8aee06ca580389412809353ac312c417aa1163fa | [
"MIT"
] | null | null | null | class cacheFilesManagerInterface:
def __init__(self, cacheRootPath, resourcesRootPath):
super().__init__()
def createCacheFiles (self, fileInfo):
raise NotImplementedError()
def deleteCacheFiles (self, fileInfo):
raise NotImplementedError()
def getCacheFile (self, fileU... | 25.6 | 57 | 0.695313 | 47 | 640 | 9.297872 | 0.468085 | 0.329519 | 0.308924 | 0.24714 | 0.267735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228125 | 640 | 24 | 58 | 26.666667 | 0.884615 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0 | 0 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
0d99ddd36b888f8a1b76f2948fb155d0ed17a817 | 988 | py | Python | migrations/versions/37244bf4e3f5_aggregatetest_build_.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 443 | 2015-01-03T16:28:39.000Z | 2021-04-26T16:39:46.000Z | migrations/versions/37244bf4e3f5_aggregatetest_build_.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 12 | 2015-07-30T19:07:16.000Z | 2016-11-07T23:11:21.000Z | migrations/versions/37244bf4e3f5_aggregatetest_build_.py | vault-the/changes | 37e23c3141b75e4785cf398d015e3dbca41bdd56 | [
"Apache-2.0"
] | 47 | 2015-01-09T10:04:00.000Z | 2020-11-18T17:58:19.000Z | """AggregateTest*.build_id => job_id
Revision ID: 37244bf4e3f5
Revises: 57e24a9f2290
Create Date: 2013-12-26 01:24:37.395827
"""
# revision identifiers, used by Alembic.
revision = '37244bf4e3f5'
down_revision = '57e24a9f2290'
from alembic import op
def upgrade():
op.execute('ALTER TABLE aggtestsuite RENAME C... | 32.933333 | 87 | 0.785425 | 149 | 988 | 4.973154 | 0.255034 | 0.08502 | 0.151147 | 0.205128 | 0.712551 | 0.712551 | 0.712551 | 0.712551 | 0.62888 | 0.296896 | 0 | 0.063604 | 0.140688 | 988 | 29 | 88 | 34.068966 | 0.809187 | 0.163968 | 0 | 0 | 0 | 0 | 0.694377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.076923 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0d9f0206e3f5eb8a91a7cc8653815282887262c8 | 108 | py | Python | examples/source_separation/utils/__init__.py | albertvillanova/audio | 0cd25093626d067e008e1f81ad76e072bd4a1edd | [
"BSD-2-Clause"
] | 1 | 2021-12-14T17:08:12.000Z | 2021-12-14T17:08:12.000Z | examples/source_separation/utils/__init__.py | albertvillanova/audio | 0cd25093626d067e008e1f81ad76e072bd4a1edd | [
"BSD-2-Clause"
] | 1 | 2021-08-31T22:20:32.000Z | 2021-08-31T22:20:32.000Z | examples/source_separation/utils/__init__.py | albertvillanova/audio | 0cd25093626d067e008e1f81ad76e072bd4a1edd | [
"BSD-2-Clause"
] | null | null | null | from . import (
dataset,
dist_utils,
metrics,
)
__all__ = ['dataset', 'dist_utils', 'metrics']
| 13.5 | 46 | 0.601852 | 11 | 108 | 5.363636 | 0.636364 | 0.372881 | 0.542373 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240741 | 108 | 7 | 47 | 15.428571 | 0.719512 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0dcc9e44d905cab734ac20ae400067121c6ae373 | 143 | py | Python | LoopStructural/probability/_normal.py | wgorczyk/LoopStructural | bedc7abd4c1868fdbd6ed659c8d72ef19f793875 | [
"MIT"
] | 67 | 2020-06-25T06:50:58.000Z | 2022-03-29T17:15:43.000Z | LoopStructural/probability/_normal.py | wgorczyk/LoopStructural | bedc7abd4c1868fdbd6ed659c8d72ef19f793875 | [
"MIT"
] | 60 | 2020-06-28T22:58:21.000Z | 2022-03-24T01:30:59.000Z | LoopStructural/probability/_normal.py | wgorczyk/LoopStructural | bedc7abd4c1868fdbd6ed659c8d72ef19f793875 | [
"MIT"
] | 9 | 2020-06-25T13:07:39.000Z | 2021-12-01T01:41:24.000Z | import numpy as np
def normal(values, sigma, mu = 0):
return -0.5 * np.sum(np.log(2 * np.pi * sigma ** 2) + (0 - values) ** 2 / sigma ** 2) | 47.666667 | 89 | 0.566434 | 27 | 143 | 3 | 0.592593 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0.230769 | 143 | 3 | 89 | 47.666667 | 0.663636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
216d47ceeda5f61bfc094dd8ad49c4fc5faadf53 | 159 | py | Python | bitmovin/resources/enums/encoding_mode.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 44 | 2016-12-12T17:37:23.000Z | 2021-03-03T09:48:48.000Z | bitmovin/resources/enums/encoding_mode.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 38 | 2017-01-09T14:45:45.000Z | 2022-02-27T18:04:33.000Z | bitmovin/resources/enums/encoding_mode.py | camberbridge/bitmovin-python | 3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95 | [
"Unlicense"
] | 27 | 2017-02-02T22:49:31.000Z | 2019-11-21T07:04:57.000Z | import enum
class EncodingMode(enum.Enum):
STANDARD = 'STANDARD'
SINGLE_PASS = 'SINGLE_PASS'
TWO_PASS = 'TWO_PASS'
THREE_PASS = 'THREE_PASS'
| 17.666667 | 31 | 0.685535 | 20 | 159 | 5.15 | 0.45 | 0.194175 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213836 | 159 | 8 | 32 | 19.875 | 0.824 | 0 | 0 | 0 | 0 | 0 | 0.232704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0.166667 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
219438508dac53c4c0dbbdf5b11c3f9a937e3bd4 | 1,738 | py | Python | backtestingrm.py | pepelawycliffe/AI_in_Finance | 5eb29afed137c809955d116e7a7764b5914add96 | [
"MIT"
] | 3 | 2021-03-15T05:30:50.000Z | 2021-12-14T07:28:44.000Z | backtestingrm.py | pepelawycliffe/AI_in_Finance | 5eb29afed137c809955d116e7a7764b5914add96 | [
"MIT"
] | null | null | null | backtestingrm.py | pepelawycliffe/AI_in_Finance | 5eb29afed137c809955d116e7a7764b5914add96 | [
"MIT"
] | null | null | null | #
# Event-Based Backtesting
# --Base Class (2)
#
# (c) Dr. Yves J. Hilpisch
#
from backtesting import *
class BacktestingBaseRM(BacktestingBase):
def set_prices(self, price):
''' Sets prices for tracking of performance.
To test for e.g. trailing stop loss hit.
'''
... | 32.792453 | 75 | 0.555811 | 223 | 1,738 | 4.251121 | 0.300448 | 0.075949 | 0.037975 | 0.037975 | 0.704641 | 0.704641 | 0.704641 | 0.704641 | 0.704641 | 0.622363 | 0 | 0.006146 | 0.344649 | 1,738 | 52 | 76 | 33.423077 | 0.826163 | 0.175489 | 0 | 0.5625 | 0 | 0 | 0.065688 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.03125 | 0 | 0.15625 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2198284093e00d1297a24bbe44602962a0682286 | 31 | py | Python | ghidra_bridge/server/ghidra_bridge_host.py | novafacing/ghidra_bridge | 682a0ff400438cb4b86f4154b5ac8650f910a872 | [
"MIT"
] | null | null | null | ghidra_bridge/server/ghidra_bridge_host.py | novafacing/ghidra_bridge | 682a0ff400438cb4b86f4154b5ac8650f910a872 | [
"MIT"
] | null | null | null | ghidra_bridge/server/ghidra_bridge_host.py | novafacing/ghidra_bridge | 682a0ff400438cb4b86f4154b5ac8650f910a872 | [
"MIT"
] | null | null | null | DEFAULT_SERVER_HOST = "0.0.0.0" | 31 | 31 | 0.741935 | 7 | 31 | 3 | 0.571429 | 0.285714 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 0.064516 | 31 | 1 | 31 | 31 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
21991630308fb2b98f570db3be17f632fb485f5d | 1,026 | py | Python | code/python/echomesh/util/string/SizeName_test.py | rec/echomesh | be668971a687b141660fd2e5635d2fd598992a01 | [
"MIT"
] | 30 | 2015-02-18T14:07:00.000Z | 2021-12-11T15:19:01.000Z | code/python/echomesh/util/string/SizeName_test.py | rec/echomesh | be668971a687b141660fd2e5635d2fd598992a01 | [
"MIT"
] | 16 | 2015-01-01T23:17:24.000Z | 2015-04-18T23:49:27.000Z | code/python/echomesh/util/string/SizeName_test.py | rec/echomesh | be668971a687b141660fd2e5635d2fd598992a01 | [
"MIT"
] | 31 | 2015-03-11T20:04:07.000Z | 2020-11-02T13:56:59.000Z | from __future__ import absolute_import, division, print_function, unicode_literals
from echomesh.util.string.SizeName import size_name
from echomesh.util.TestCase import TestCase
class SizeNameTest(TestCase):
def test_zero(self):
self.assertEqual(size_name(0), '0')
def test_FF(self):
self.ass... | 28.5 | 82 | 0.663743 | 140 | 1,026 | 4.657143 | 0.271429 | 0.134969 | 0.291411 | 0.352761 | 0.530675 | 0.489264 | 0.394172 | 0.125767 | 0.125767 | 0 | 0 | 0.143735 | 0.206628 | 1,026 | 35 | 83 | 29.314286 | 0.657248 | 0 | 0 | 0.083333 | 0 | 0 | 0.026316 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.416667 | false | 0 | 0.125 | 0 | 0.583333 | 0.041667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
21c463612ec7346af9f15bcb2070bd2547bd9efe | 57 | py | Python | python/testData/addImport/relativeImportTooDeepWithSameLevelUsed/pkg1/pkg2/pkg3/pkg4/test.after.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/addImport/relativeImportTooDeepWithSameLevelUsed/pkg1/pkg2/pkg3/pkg4/test.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/addImport/relativeImportTooDeepWithSameLevelUsed/pkg1/pkg2/pkg3/pkg4/test.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from ....foo import foo_func
from ....bar import bar_func | 28.5 | 28 | 0.736842 | 10 | 57 | 4 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 57 | 2 | 29 | 28.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
21ccd1c0d3721d57a3472ab7052e026713923b31 | 49,326 | py | Python | Code/stackedAutoencoder.py | mChataign/smileCompletion | 1bde2dd9fada2194c79cb3599bc9e9139cde6ee5 | [
"BSD-3-Clause"
] | 4 | 2021-01-06T13:53:39.000Z | 2021-12-16T21:23:13.000Z | Code/stackedAutoencoder.py | mChataign/smileCompletion | 1bde2dd9fada2194c79cb3599bc9e9139cde6ee5 | [
"BSD-3-Clause"
] | null | null | null | Code/stackedAutoencoder.py | mChataign/smileCompletion | 1bde2dd9fada2194c79cb3599bc9e9139cde6ee5 | [
"BSD-3-Clause"
] | 2 | 2021-01-06T20:53:15.000Z | 2021-12-29T08:59:31.000Z |
import pandas as pd
import numpy as np
import tensorflow as tf
import dask
import scipy
import time
from functools import partial
from abc import ABCMeta, abstractmethod
import shallowAutoencoder
#Taken from https://stackoverflow.com/questions/39354566/what-is-the-equivalent-of-np-std-in-tensorflow
... | 43.344464 | 144 | 0.507461 | 3,524 | 49,326 | 7.028093 | 0.146992 | 0.007268 | 0.014697 | 0.02035 | 0.748657 | 0.737877 | 0.713732 | 0.70816 | 0.687366 | 0.66843 | 0 | 0.008495 | 0.420062 | 49,326 | 1,138 | 145 | 43.344464 | 0.857303 | 0.16843 | 0 | 0.769585 | 0 | 0 | 0.039354 | 0.007866 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070661 | false | 0 | 0.013825 | 0.003072 | 0.159754 | 0.056836 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
21f1d1c73a1ecc750f6560c6943b038b16fb1a39 | 145 | py | Python | build/lib/ytrader/__init__.py | YONDE927/ytrader | 592928e16884f2864329e34fc85854c3391c5686 | [
"MIT"
] | 1 | 2021-09-14T11:38:44.000Z | 2021-09-14T11:38:44.000Z | ytrader/__init__.py | YONDE927/ytrader | 592928e16884f2864329e34fc85854c3391c5686 | [
"MIT"
] | null | null | null | ytrader/__init__.py | YONDE927/ytrader | 592928e16884f2864329e34fc85854c3391c5686 | [
"MIT"
] | null | null | null | from .qdata import Qdata,Symbol
from .book import Book
from .tradetime import Tradetime
from .trader import Trader
from .strategy import Strategy | 29 | 32 | 0.827586 | 21 | 145 | 5.714286 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131034 | 145 | 5 | 33 | 29 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
df3fdd1270bc224645749245287fe521c9ab237f | 57 | py | Python | ripser/__init__.py | lrcfmd/ripser.py | de49167b6da035a7920d1cc6b1f4527b143091f1 | [
"MIT"
] | 172 | 2018-08-22T19:52:14.000Z | 2022-03-07T18:01:40.000Z | ripser/__init__.py | ghilesmeddour/ripser.py | 190f1ffe0abfb89cacf9f0b03e8507dddad73ff9 | [
"MIT"
] | 90 | 2018-08-01T04:42:39.000Z | 2022-03-28T08:31:20.000Z | ripser/__init__.py | ghilesmeddour/ripser.py | 190f1ffe0abfb89cacf9f0b03e8507dddad73ff9 | [
"MIT"
] | 50 | 2018-08-18T20:48:54.000Z | 2022-03-20T23:46:45.000Z | from .ripser import *
from ._version import __version__
| 14.25 | 33 | 0.789474 | 7 | 57 | 5.714286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 57 | 3 | 34 | 19 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
df650913321ab58ad93c91dc152a35ffb6a903a1 | 30 | py | Python | HelloMsLibrary/hello.py | TravelRPG/MSLibrary | 4384559c2b1f44dc7a1eeac2385d1a3ce684729c | [
"MIT"
] | 4 | 2021-08-16T15:41:02.000Z | 2021-08-18T03:10:56.000Z | HelloMsLibrary/hello.py | TravelRPG/MSLibrary | 4384559c2b1f44dc7a1eeac2385d1a3ce684729c | [
"MIT"
] | null | null | null | HelloMsLibrary/hello.py | TravelRPG/MSLibrary | 4384559c2b1f44dc7a1eeac2385d1a3ce684729c | [
"MIT"
] | 1 | 2021-09-17T12:08:29.000Z | 2021-09-17T12:08:29.000Z | print("Hello,", "MSLibrary!")
| 15 | 29 | 0.633333 | 3 | 30 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 30 | 1 | 30 | 30 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
df7d5868e44269f2d68119385b0d17cb2a3eb966 | 65,358 | py | Python | test/crypto/signing_test.py | plenarius/iota.lib.py | ac6167dadb8b60a64b33eeb9db755be32c7cef12 | [
"MIT"
] | 2 | 2018-02-21T12:04:41.000Z | 2018-04-01T18:56:18.000Z | test/crypto/signing_test.py | plenarius/iota.lib.py | ac6167dadb8b60a64b33eeb9db755be32c7cef12 | [
"MIT"
] | null | null | null | test/crypto/signing_test.py | plenarius/iota.lib.py | ac6167dadb8b60a64b33eeb9db755be32c7cef12 | [
"MIT"
] | 3 | 2018-02-19T09:35:44.000Z | 2018-04-01T19:16:26.000Z | # coding=utf-8
from __future__ import absolute_import, division, print_function, \
unicode_literals
import warnings
from unittest import TestCase
from iota import Hash, TryteString
from iota.crypto import SeedWarning
from iota.crypto.signing import KeyGenerator, SignatureFragmentGenerator
from iota.crypto.types imp... | 69.976445 | 2,203 | 0.840999 | 2,093 | 65,358 | 26.220736 | 0.354037 | 0.002934 | 0.001968 | 0.003061 | 0.289377 | 0.283437 | 0.278571 | 0.192165 | 0.192165 | 0.187883 | 0 | 0.033874 | 0.128248 | 65,358 | 933 | 2,204 | 70.051447 | 0.929339 | 0.056535 | 0 | 0.322973 | 0 | 0 | 0.800075 | 0.797204 | 0 | 1 | 0 | 0 | 0.033784 | 1 | 0.018919 | false | 0 | 0.009459 | 0 | 0.031081 | 0.001351 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
df87bc729817cc35f15b1db90013edd09e446968 | 76 | py | Python | nimba/__main__.py | hadpro24/nimba-framework | 1c2906d81813c16ea96c185f1d54e25e4770648d | [
"MIT"
] | 4 | 2021-06-26T00:59:24.000Z | 2021-07-10T05:10:20.000Z | nimba/__main__.py | hadpro24/nimba-framework | 1c2906d81813c16ea96c185f1d54e25e4770648d | [
"MIT"
] | 27 | 2021-07-01T16:41:20.000Z | 2021-08-11T15:10:24.000Z | nimba/__main__.py | hadpro24/nimba-framework | 1c2906d81813c16ea96c185f1d54e25e4770648d | [
"MIT"
] | null | null | null | if __name__ == '__main__':
from nimba.apps import mont_nimba
mont_nimba()
| 19 | 34 | 0.75 | 11 | 76 | 4.272727 | 0.727273 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 3 | 35 | 25.333333 | 0.723077 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
10c07d89e5da3fce5fb08b18eb48cb544fe4b451 | 88 | py | Python | Codewars/6kyu/rotate-array-js/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/6kyu/rotate-array-js/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/6kyu/rotate-array-js/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
rotate = lambda arr, n: arr[-(n % len(arr)):] + arr[:-(n % len(arr))]
| 22 | 69 | 0.511364 | 16 | 88 | 2.8125 | 0.5625 | 0.266667 | 0.311111 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.193182 | 88 | 3 | 70 | 29.333333 | 0.591549 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
10ca9d35a0f9631f9546d3684247c4c521137666 | 859 | py | Python | indradb/__init__.py | indradb/python-client | 48e47f49d5b1d953dc2016bb3c3c8e5f913a1ab8 | [
"Apache-2.0"
] | 16 | 2018-01-17T20:59:15.000Z | 2022-03-06T05:33:33.000Z | indradb/__init__.py | indradb/python-client | 48e47f49d5b1d953dc2016bb3c3c8e5f913a1ab8 | [
"Apache-2.0"
] | 2 | 2020-12-17T14:52:49.000Z | 2021-02-01T18:42:40.000Z | indradb/__init__.py | indradb/python-client | 48e47f49d5b1d953dc2016bb3c3c8e5f913a1ab8 | [
"Apache-2.0"
] | 3 | 2018-03-31T11:31:54.000Z | 2022-01-26T09:26:34.000Z | import indradb.indradb_pb2 as proto
import indradb.indradb_pb2_grpc as grpc
from indradb.client import Client, BulkInserter, Transaction
from indradb.models import Edge, EdgeKey, Vertex, RangeVertexQuery, SpecificVertexQuery, PipeVertexQuery, \
VertexPropertyQuery, SpecificEdgeQuery, PipeEdgeQuery, EdgePropertyQue... | 26.84375 | 109 | 0.717113 | 62 | 859 | 9.822581 | 0.451613 | 0.042693 | 0.065681 | 0.075534 | 0.706076 | 0.706076 | 0.706076 | 0.706076 | 0.706076 | 0.706076 | 0 | 0.002837 | 0.179278 | 859 | 31 | 110 | 27.709677 | 0.860993 | 0 | 0 | 0 | 0 | 0 | 0.294529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.137931 | 0 | 0.137931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
10d05bf2d6fa334ec2f4ea4b4bf16b951c326f0a | 56 | py | Python | simulation/device/simulated/air_conditioner_simple/__init__.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 2 | 2019-01-05T02:33:38.000Z | 2020-04-22T16:57:50.000Z | simulation/device/simulated/air_conditioner_simple/__init__.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 3 | 2019-04-17T18:13:08.000Z | 2021-04-23T22:40:23.000Z | simulation/device/simulated/air_conditioner_simple/__init__.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 1 | 2019-01-31T08:37:44.000Z | 2019-01-31T08:37:44.000Z | from air_conditioner_simple import AirConditionerSimple
| 28 | 55 | 0.928571 | 6 | 56 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 56 | 1 | 56 | 56 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
10f2bc75defd77dd04f48accea3f6cb2a9a6560e | 93 | py | Python | expense_tracker/expense_app/admin.py | cs-fullstack-fall-2018/project3-django-CalebC94 | 7e989cced47462a3d3de918f82f4dc4b6cfbcc21 | [
"Apache-2.0"
] | null | null | null | expense_tracker/expense_app/admin.py | cs-fullstack-fall-2018/project3-django-CalebC94 | 7e989cced47462a3d3de918f82f4dc4b6cfbcc21 | [
"Apache-2.0"
] | null | null | null | expense_tracker/expense_app/admin.py | cs-fullstack-fall-2018/project3-django-CalebC94 | 7e989cced47462a3d3de918f82f4dc4b6cfbcc21 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Expenses
admin.site.register(Expenses) | 18.6 | 32 | 0.827957 | 13 | 93 | 5.923077 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 93 | 5 | 33 | 18.6 | 0.927711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
10f6e4ac2d162d3eb101101c7a67a9712963aa4b | 423 | py | Python | ofa/tutorial/__init__.py | johsnows/once-for-all | fac2a6388e70873666b848a316aa58c7b2e17031 | [
"Apache-2.0"
] | null | null | null | ofa/tutorial/__init__.py | johsnows/once-for-all | fac2a6388e70873666b848a316aa58c7b2e17031 | [
"Apache-2.0"
] | null | null | null | ofa/tutorial/__init__.py | johsnows/once-for-all | fac2a6388e70873666b848a316aa58c7b2e17031 | [
"Apache-2.0"
] | null | null | null | from .accuracy_predictor import AccuracyPredictor
from .flops_table import FLOPsTable
from .latency_table import LatencyTable
from .evolution_finder import EvolutionFinder
from .imagenet_eval_helper import evaluate_ofa_resnet_subnet, evaluate_ofa_resnet_ensemble_subnet, evaluate_ofa_subnet, evaluate_ofa_specialized, ev... | 70.5 | 250 | 0.907801 | 56 | 423 | 6.339286 | 0.5 | 0.247887 | 0.143662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 423 | 5 | 251 | 84.6 | 0.896465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
801d8283db72f721c7d8d2551202ae81c8a8c32d | 245 | py | Python | python/zp/primjer_14.01.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | python/zp/primjer_14.01.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | python/zp/primjer_14.01.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | def obrnut(tekst):
return tekst[::-1]
def da_li_je_palindrom(tekst):
return tekst == obrnut(tekst)
nesto = input("Ukucja tekst: ")
if(da_li_je_palindrom(nesto)):
print("Da, to je palindrom")
else:
print("Ne to nije palindrom")
| 20.416667 | 33 | 0.677551 | 37 | 245 | 4.324324 | 0.486486 | 0.20625 | 0.2 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004951 | 0.17551 | 245 | 11 | 34 | 22.272727 | 0.787129 | 0 | 0 | 0 | 0 | 0 | 0.216327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.222222 | 0.444444 | 0.222222 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
338075127d233ef0220ff7df3c05130c0da584c3 | 8,235 | py | Python | tests/test_sat_utils/test_sat_channels.py | amanchokshi/mwa-satellites | f9e8de353e7eddf28ed715c01d7d3fb5336f0f18 | [
"MIT"
] | 1 | 2020-08-10T11:42:55.000Z | 2020-08-10T11:42:55.000Z | tests/test_sat_utils/test_sat_channels.py | amanchokshi/mwa-satellites | f9e8de353e7eddf28ed715c01d7d3fb5336f0f18 | [
"MIT"
] | 9 | 2020-11-16T03:05:16.000Z | 2020-11-20T23:49:09.000Z | tests/test_sat_utils/test_sat_channels.py | amanchokshi/mwa-satellites | f9e8de353e7eddf28ed715c01d7d3fb5336f0f18 | [
"MIT"
] | 1 | 2021-12-27T02:34:30.000Z | 2021-12-27T02:34:30.000Z | import json
import shutil
from os import path
from pathlib import Path
import numpy as np
from embers.sat_utils.sat_channels import (batch_window_map, good_chans,
noise_floor, plt_channel, plt_sats,
plt_window_chans, read_aligned,
... | 27.541806 | 115 | 0.634608 | 1,296 | 8,235 | 3.708333 | 0.096451 | 0.074906 | 0.086558 | 0.074906 | 0.786933 | 0.747607 | 0.733042 | 0.731377 | 0.701415 | 0.69434 | 0 | 0.159791 | 0.23473 | 8,235 | 298 | 116 | 27.634228 | 0.602825 | 0.008622 | 0 | 0.604082 | 0 | 0.065306 | 0.345423 | 0.31577 | 0 | 0 | 0 | 0 | 0.081633 | 1 | 0.081633 | false | 0 | 0.02449 | 0 | 0.106122 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
33c77fb350a454c81af5732c6ddb333ae2a45bc1 | 180 | py | Python | src/losses/mean_squared_error.py | oussama1598/neural-network-python-implementation | d40d67ab93d0bd59fa0a9825ff7db0f50781cee8 | [
"MIT"
] | 2 | 2022-01-27T13:17:20.000Z | 2022-01-27T13:19:31.000Z | src/losses/mean_squared_error.py | oussama1598/neural-network-python-implementation | d40d67ab93d0bd59fa0a9825ff7db0f50781cee8 | [
"MIT"
] | null | null | null | src/losses/mean_squared_error.py | oussama1598/neural-network-python-implementation | d40d67ab93d0bd59fa0a9825ff7db0f50781cee8 | [
"MIT"
] | null | null | null | import numpy as np
def mean_squared_error(y_hat, y):
return np.mean(np.power(y_hat - y, 2))
def d_mean_squared_error(y_hat, y):
return 2 * (y - y_hat) / np.size(y_hat)
| 18 | 43 | 0.672222 | 37 | 180 | 3 | 0.405405 | 0.18018 | 0.135135 | 0.306306 | 0.486486 | 0.486486 | 0.486486 | 0 | 0 | 0 | 0 | 0.013793 | 0.194444 | 180 | 9 | 44 | 20 | 0.751724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
33e4a11c2bb6be46578a0789ff1aabaeff9732fb | 84 | py | Python | fracridge/__init__.py | Shin-kyoto/fracridge | 03f84f4feb9ed87a79c1a331bc0992a6be195d2e | [
"BSD-2-Clause"
] | 35 | 2020-05-08T12:32:58.000Z | 2022-03-27T00:38:50.000Z | fracridge/__init__.py | Shin-kyoto/fracridge | 03f84f4feb9ed87a79c1a331bc0992a6be195d2e | [
"BSD-2-Clause"
] | 26 | 2020-06-26T13:47:13.000Z | 2022-03-06T03:38:15.000Z | fracridge/__init__.py | Shin-kyoto/fracridge | 03f84f4feb9ed87a79c1a331bc0992a6be195d2e | [
"BSD-2-Clause"
] | 11 | 2020-05-06T02:53:02.000Z | 2022-03-01T16:01:33.000Z | from .version import version as __version__ # noqa
from .fracridge import * #noqa
| 28 | 51 | 0.761905 | 11 | 84 | 5.454545 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 84 | 2 | 52 | 42 | 0.869565 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
33fa392b08f1093fd3a75a7d5b57799fd25b8e44 | 412 | py | Python | filter_plugins/apiserver_proxy.py | ochinchina/KubeClus | 2a90e33cd0334c0ff3136c955ed44333ecb5cc98 | [
"MIT"
] | null | null | null | filter_plugins/apiserver_proxy.py | ochinchina/KubeClus | 2a90e33cd0334c0ff3136c955ed44333ecb5cc98 | [
"MIT"
] | null | null | null | filter_plugins/apiserver_proxy.py | ochinchina/KubeClus | 2a90e33cd0334c0ff3136c955ed44333ecb5cc98 | [
"MIT"
] | null | null | null | #!/usr/bin/python2
import os
import yaml
class FilterModule:
def filters(self):
return { "change_apiserver_proxy": self.change_apiserver_proxy}
def change_apiserver_proxy( self, kubelet_conf, new_apiserver):
conf = yaml.load( kubelet_conf )
conf['clusters'][0]['cluster']['server'] = "... | 29.428571 | 84 | 0.68932 | 52 | 412 | 5.230769 | 0.596154 | 0.165441 | 0.220588 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.184466 | 412 | 13 | 85 | 31.692308 | 0.791667 | 0.041262 | 0 | 0 | 0 | 0 | 0.147208 | 0.055838 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1d14eaac493aa78a1fab376c73847db8d97bb8e4 | 166 | py | Python | Config.py | szymonjanas/realtime_spectrum_analyzer | 53793ebf6994bfc2042453b84d96b8300011178f | [
"MIT"
] | 1 | 2020-08-28T23:34:05.000Z | 2020-08-28T23:34:05.000Z | Config.py | szymonjanas/realtime_spectrum_analyzer | 53793ebf6994bfc2042453b84d96b8300011178f | [
"MIT"
] | null | null | null | Config.py | szymonjanas/realtime_spectrum_analyzer | 53793ebf6994bfc2042453b84d96b8300011178f | [
"MIT"
] | null | null | null | import json
import os
data = None
with open("config.json") as json_data_file:
data = json.load(json_data_file)
def get_settings(arg: str):
return data[arg]
| 16.6 | 43 | 0.722892 | 28 | 166 | 4.107143 | 0.607143 | 0.13913 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174699 | 166 | 9 | 44 | 18.444444 | 0.839416 | 0 | 0 | 0 | 0 | 0 | 0.066265 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1d1cee95bccaec5dfed7bdf077e50ba189bbc7f3 | 43 | py | Python | src/django_fahrenheit/exceptions.py | marazmiki/django-fahrenheit | 98080b9a388d081ac2955ccf585cffcd45fee7aa | [
"MIT"
] | null | null | null | src/django_fahrenheit/exceptions.py | marazmiki/django-fahrenheit | 98080b9a388d081ac2955ccf585cffcd45fee7aa | [
"MIT"
] | null | null | null | src/django_fahrenheit/exceptions.py | marazmiki/django-fahrenheit | 98080b9a388d081ac2955ccf585cffcd45fee7aa | [
"MIT"
] | null | null | null | class CountryNotFound(Exception):
pass
| 14.333333 | 33 | 0.767442 | 4 | 43 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 34 | 21.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1d31ac871d382399ef1c40edff237819975a0dce | 188 | py | Python | tests/fs.py | FilipVla/qpanelFilip | 16d961ef8eee2992dd2e44c78159f8b95b604760 | [
"MIT"
] | 165 | 2015-08-01T16:36:50.000Z | 2022-03-11T11:40:27.000Z | tests/fs.py | FilipVla/qpanelFilip | 16d961ef8eee2992dd2e44c78159f8b95b604760 | [
"MIT"
] | 205 | 2015-09-08T17:16:59.000Z | 2022-02-08T12:33:15.000Z | tests/fs.py | FilipVla/qpanelFilip | 16d961ef8eee2992dd2e44c78159f8b95b604760 | [
"MIT"
] | 110 | 2015-08-15T11:24:15.000Z | 2022-03-29T15:54:48.000Z | from libs.qpanel import freeswitch
fs = freeswitch.Freeswitch()
print(fs.getQueues())
print(fs.getAgents('support@default'))
print(fs.getCalls('support@default'))
print(fs.queueStatus())
| 23.5 | 38 | 0.771277 | 24 | 188 | 6.041667 | 0.541667 | 0.193103 | 0.262069 | 0.289655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 188 | 7 | 39 | 26.857143 | 0.823864 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1d5a165d0d0272a94155bfa9e6885707f99c373f | 154 | py | Python | modules/analysis/deviation.py | ansteh/multivariate | fbd166f9e9a6d721a1d876b6e46db064f43afe53 | [
"Apache-2.0"
] | null | null | null | modules/analysis/deviation.py | ansteh/multivariate | fbd166f9e9a6d721a1d876b6e46db064f43afe53 | [
"Apache-2.0"
] | null | null | null | modules/analysis/deviation.py | ansteh/multivariate | fbd166f9e9a6d721a1d876b6e46db064f43afe53 | [
"Apache-2.0"
] | null | null | null | import numpy as np
def disparity(A, B):
return abs(np.subtract(A, B))
def conforms(A, B, threshold):
return np.all(disparity(A, B) < threshold)
| 19.25 | 46 | 0.668831 | 26 | 154 | 3.961538 | 0.538462 | 0.07767 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188312 | 154 | 7 | 47 | 22 | 0.824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.