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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ea3388c734a2bafef4399327c58e181faef2b733 | 28 | py | Python | tests/test_versioning.py | erkandem/multi-dump-restore | dd84f7f4b5661f0647d4fd66c6463ea15497595b | [
"MIT"
] | null | null | null | tests/test_versioning.py | erkandem/multi-dump-restore | dd84f7f4b5661f0647d4fd66c6463ea15497595b | [
"MIT"
] | null | null | null | tests/test_versioning.py | erkandem/multi-dump-restore | dd84f7f4b5661f0647d4fd66c6463ea15497595b | [
"MIT"
] | null | null | null | from mdr import __version__
| 14 | 27 | 0.857143 | 4 | 28 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aa17fa8fa651ebaae63b1b3769514c8a9d9a9504 | 15,828 | py | Python | pauxy/estimators/generic.py | pauxy-qmc/pauxy | 1da80284284769b59361c73cfa3c2d914c74a73f | [
"Apache-2.0"
] | 16 | 2020-08-05T17:17:17.000Z | 2022-03-18T04:06:18.000Z | pauxy/estimators/generic.py | pauxy-qmc/pauxy | 1da80284284769b59361c73cfa3c2d914c74a73f | [
"Apache-2.0"
] | 4 | 2020-05-17T21:28:20.000Z | 2021-04-22T18:05:50.000Z | pauxy/estimators/generic.py | pauxy-qmc/pauxy | 1da80284284769b59361c73cfa3c2d914c74a73f | [
"Apache-2.0"
] | 5 | 2020-05-18T01:03:18.000Z | 2021-04-13T15:36:29.000Z | import numpy
import sys
def local_energy_generic(h1e, eri, G, ecore=0.0, Ghalf=None):
r"""Calculate local for generic two-body hamiltonian.
This uses the full form for the two-electron integrals.
For testing purposes only.
Parameters
----------
system : :class:`hubbard`
System inform... | 33.892934 | 103 | 0.568865 | 2,486 | 15,828 | 3.547868 | 0.097747 | 0.058617 | 0.027211 | 0.011111 | 0.816893 | 0.797846 | 0.771088 | 0.751247 | 0.70805 | 0.648186 | 0 | 0.034397 | 0.241408 | 15,828 | 466 | 104 | 33.965665 | 0.700175 | 0.29928 | 0 | 0.381743 | 0 | 0 | 0.035545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037344 | false | 0 | 0.008299 | 0 | 0.082988 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a4c960ff36940f5af3da58b0b1babaa3db132d69 | 22 | py | Python | deepmachine/engine/__init__.py | yuxiang-zhou/deepmachine | b8a64354f7d37664172ef79a66b1fc0a9fa0f493 | [
"MIT"
] | 1 | 2018-09-04T11:12:11.000Z | 2018-09-04T11:12:11.000Z | deepmachine/engine/__init__.py | yuxiang-zhou/deepmachine | b8a64354f7d37664172ef79a66b1fc0a9fa0f493 | [
"MIT"
] | null | null | null | deepmachine/engine/__init__.py | yuxiang-zhou/deepmachine | b8a64354f7d37664172ef79a66b1fc0a9fa0f493 | [
"MIT"
] | null | null | null | from . import training | 22 | 22 | 0.818182 | 3 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4e526d59b056d207ce5c2ae700523c8101ee5e6 | 41 | py | Python | hidt/trainers/__init__.py | constantine7cd/StyleTF | e1fa28735e3c3102a2a857c121a6d8a7d76ae4da | [
"MIT"
] | 638 | 2020-03-14T20:57:24.000Z | 2022-03-31T06:19:14.000Z | hidt/trainers/__init__.py | constantine7cd/StyleTF | e1fa28735e3c3102a2a857c121a6d8a7d76ae4da | [
"MIT"
] | 13 | 2020-04-02T12:29:10.000Z | 2021-12-27T09:27:22.000Z | hidt/trainers/__init__.py | constantine7cd/StyleTF | e1fa28735e3c3102a2a857c121a6d8a7d76ae4da | [
"MIT"
] | 83 | 2020-03-20T21:52:52.000Z | 2022-03-01T02:57:25.000Z | from hidt.trainers.trainer_base import *
| 20.5 | 40 | 0.829268 | 6 | 41 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3522ee8644a35c95b7b7fc76a27f05f40aaffcd6 | 18,466 | py | Python | tests/test_zeroconf.py | wired/aiohomekit | 6f5e1c48bf9f3b2da145c0097336b77982134402 | [
"Apache-2.0"
] | 21 | 2020-02-14T20:45:47.000Z | 2022-03-29T01:36:14.000Z | tests/test_zeroconf.py | wired/aiohomekit | 6f5e1c48bf9f3b2da145c0097336b77982134402 | [
"Apache-2.0"
] | 78 | 2020-03-22T22:25:50.000Z | 2022-03-10T23:08:43.000Z | tests/test_zeroconf.py | wired/aiohomekit | 6f5e1c48bf9f3b2da145c0097336b77982134402 | [
"Apache-2.0"
] | 18 | 2020-04-09T23:02:18.000Z | 2022-03-01T23:20:19.000Z | #
# Copyright 2019 aiohomekit team
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 28.898279 | 90 | 0.573378 | 2,255 | 18,466 | 4.464745 | 0.098004 | 0.021851 | 0.04261 | 0.013111 | 0.796683 | 0.778804 | 0.762912 | 0.742948 | 0.72497 | 0.721097 | 0 | 0.054984 | 0.283981 | 18,466 | 638 | 91 | 28.943574 | 0.706474 | 0.0352 | 0 | 0.702359 | 0 | 0 | 0.201956 | 0.087066 | 0 | 0 | 0 | 0 | 0.041742 | 1 | 0.014519 | false | 0 | 0.019964 | 0 | 0.036298 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1055b2d771cf3ec598544b81bba4e0a5c98d7b81 | 42 | py | Python | src/scripts/helpers/__init__.py | richin13/nxt-scripts | 49fe06f857cee510b22c12b7c1b9ce01e14ccf2f | [
"MIT"
] | null | null | null | src/scripts/helpers/__init__.py | richin13/nxt-scripts | 49fe06f857cee510b22c12b7c1b9ce01e14ccf2f | [
"MIT"
] | null | null | null | src/scripts/helpers/__init__.py | richin13/nxt-scripts | 49fe06f857cee510b22c12b7c1b9ce01e14ccf2f | [
"MIT"
] | null | null | null | from .robot import *
from .utils import *
| 14 | 20 | 0.714286 | 6 | 42 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1072fdfcf2f037d7195e628dd0746a2f31b008ba | 122 | py | Python | ex2_2.py | Mateusfmelo/LivroIntroducaoProgramacaocomPython | ca07e4599cc5ffaad71b8ddba42bab576bb15820 | [
"MIT"
] | null | null | null | ex2_2.py | Mateusfmelo/LivroIntroducaoProgramacaocomPython | ca07e4599cc5ffaad71b8ddba42bab576bb15820 | [
"MIT"
] | null | null | null | ex2_2.py | Mateusfmelo/LivroIntroducaoProgramacaocomPython | ca07e4599cc5ffaad71b8ddba42bab576bb15820 | [
"MIT"
] | null | null | null | #Digite a seguinte expressão no interpretador.
#10 % 3 * 10 ** 2 + 1 - 10 * 4 / 2
print(10 % 3 * 10 ** 2 + 1 - 10 * 4 / 2) | 40.666667 | 46 | 0.540984 | 23 | 122 | 2.869565 | 0.521739 | 0.090909 | 0.151515 | 0.181818 | 0.333333 | 0.333333 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0.252874 | 0.286885 | 122 | 3 | 47 | 40.666667 | 0.505747 | 0.639344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
10a53dbb6201bc144f80420965b3688a07a9f625 | 7,725 | py | Python | Lib/coverage/frequencies.py | colinmford/coverage | ed0d3765f97e25c7a0c8269337e5eb2c24643654 | [
"MIT"
] | 28 | 2017-01-11T13:48:48.000Z | 2019-05-12T15:09:46.000Z | Lib/coverage/frequencies.py | colinmford/coverage | ed0d3765f97e25c7a0c8269337e5eb2c24643654 | [
"MIT"
] | 1 | 2017-04-14T03:16:18.000Z | 2017-05-03T19:44:27.000Z | Lib/coverage/frequencies.py | colinmford/coverage | ed0d3765f97e25c7a0c8269337e5eb2c24643654 | [
"MIT"
] | 1 | 2018-11-09T23:03:25.000Z | 2018-11-09T23:03:25.000Z | # -*- coding: utf-8 -*-
text = u"""e 544 e 812 a 724 e 741 a 751 o 579 e 955 e 1202 e 750 a 934 a 1256 e 813 e 1244 a 734 a 661 e 727 a 878 i 1104 e 1038 a 617 a 702 e 735 o 584 a 669 e 769 e 661 a 1080
ë 519 a 802 o 613 a 675 o 628 a 457 r 504 n 645 t 516 e 781 i 1013 s 518 n 778 e 681 r 554 i 667 i 652 a 877 r 512 i... | 117.045455 | 178 | 0.549515 | 2,856 | 7,725 | 1.486695 | 0.181723 | 0.005652 | 0.004239 | 0.001884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.658531 | 0.448414 | 7,725 | 66 | 179 | 117.045455 | 0.337714 | 0.002718 | 0 | 0 | 0 | 0.815385 | 0.997793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eaa6ac7da23614259adf0244e9f18c3dda026c42 | 27 | py | Python | criteria/face_id/__init__.py | Aitical/ADspeech2face | 2e811ff8cc7333729f4b77d1b1067296253e8e38 | [
"MIT"
] | 1 | 2022-01-27T14:19:04.000Z | 2022-01-27T14:19:04.000Z | criteria/face_id/__init__.py | Aitical/ADspeech2face | 2e811ff8cc7333729f4b77d1b1067296253e8e38 | [
"MIT"
] | null | null | null | criteria/face_id/__init__.py | Aitical/ADspeech2face | 2e811ff8cc7333729f4b77d1b1067296253e8e38 | [
"MIT"
] | null | null | null | from .id_loss import IDLoss | 27 | 27 | 0.851852 | 5 | 27 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eabd740889649d21b730a74872439935616c356d | 81 | py | Python | src/class_test.py | barahana20/comp_announcement_crawling | 17033595fcaa036fc0f82b7753833b7fc637909b | [
"MIT"
] | null | null | null | src/class_test.py | barahana20/comp_announcement_crawling | 17033595fcaa036fc0f82b7753833b7fc637909b | [
"MIT"
] | 1 | 2022-01-17T06:30:53.000Z | 2022-01-17T06:30:53.000Z | src/class_test.py | barahana20/comp_announcement_crawling | 17033595fcaa036fc0f82b7753833b7fc637909b | [
"MIT"
] | 1 | 2022-01-17T06:44:34.000Z | 2022-01-17T06:44:34.000Z | test_num1 = 100_000_000
test_num2 = 100,000,000
print(test_num1)
print(test_num2) | 20.25 | 23 | 0.814815 | 16 | 81 | 3.75 | 0.375 | 0.266667 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297297 | 0.08642 | 81 | 4 | 24 | 20.25 | 0.513514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
eac9ea575d507e7d4517c10470a341c7e158529c | 2,186 | py | Python | source/timeseries/plotting.py | supercoder3000/py_tensorflow_experiments | 01aebf681df25286cf4503661148203a03309b04 | [
"MIT"
] | null | null | null | source/timeseries/plotting.py | supercoder3000/py_tensorflow_experiments | 01aebf681df25286cf4503661148203a03309b04 | [
"MIT"
] | null | null | null | source/timeseries/plotting.py | supercoder3000/py_tensorflow_experiments | 01aebf681df25286cf4503661148203a03309b04 | [
"MIT"
] | null | null | null | from pathlib import Path
from typing import Dict
import numpy as np
from matplotlib import pyplot as plt
from data_types.training_result import TrainingResult
def plot_single_output(
results: Dict[str, TrainingResult],
path_save: Path
) -> None:
plt.figure()
x = np.arange(len(results))
w... | 26.987654 | 66 | 0.649588 | 316 | 2,186 | 4.348101 | 0.237342 | 0.034935 | 0.065502 | 0.074236 | 0.802038 | 0.802038 | 0.802038 | 0.764192 | 0.764192 | 0.723435 | 0 | 0.02278 | 0.216834 | 2,186 | 80 | 67 | 27.325 | 0.77979 | 0 | 0 | 0.666667 | 0 | 0 | 0.105672 | 0.02699 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.083333 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc2001c3dca5e139e8b26b3436dc0b7176ea041a | 46 | py | Python | GT3/utilities/__init__.py | gt-frc/gt3 | 1b27d6ca68b182413be23efeb0282f4a9075212f | [
"MIT"
] | 2 | 2018-10-10T00:11:19.000Z | 2020-12-08T20:15:16.000Z | GT3/utilities/__init__.py | gt-frc/gt3 | 1b27d6ca68b182413be23efeb0282f4a9075212f | [
"MIT"
] | 25 | 2018-05-02T22:16:37.000Z | 2021-12-13T20:53:38.000Z | GT3/utilities/__init__.py | gt-frc/gt3 | 1b27d6ca68b182413be23efeb0282f4a9075212f | [
"MIT"
] | 4 | 2018-06-06T16:07:20.000Z | 2021-12-03T11:46:23.000Z | #!/usr/bin/python
from GT3.utilities import * | 15.333333 | 27 | 0.73913 | 7 | 46 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.108696 | 46 | 3 | 27 | 15.333333 | 0.804878 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc2f3f6a4709a27fa20d145c75ae69f42be11d9b | 75 | py | Python | cogs/button.py | kousakirai/Souce | 54dff1dc2f002d3e9ddd27000d52381ebd03bde6 | [
"MIT"
] | null | null | null | cogs/button.py | kousakirai/Souce | 54dff1dc2f002d3e9ddd27000d52381ebd03bde6 | [
"MIT"
] | null | null | null | cogs/button.py | kousakirai/Souce | 54dff1dc2f002d3e9ddd27000d52381ebd03bde6 | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
def setup(bot):
return | 15 | 32 | 0.773333 | 11 | 75 | 5.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 75 | 5 | 33 | 15 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
dc66e697774df01e38bb2240b6af9464d9922636 | 34 | py | Python | pyTEMlib/interactive_image.py | ondrejdyck/pyTEMlib | b8ed2000f1bb44c7add966cef444a02e456258cb | [
"MIT"
] | 5 | 2021-05-07T00:30:52.000Z | 2022-03-01T13:11:43.000Z | pyTEMlib/interactive_image.py | gduscher/pyTEMlib | 111c0e20caa06bd32c41137fc912ce4f2599c5d5 | [
"MIT"
] | 24 | 2020-11-22T13:37:40.000Z | 2022-03-03T19:12:30.000Z | pyTEMlib/interactive_image.py | gduscher/pyTEMlib | 111c0e20caa06bd32c41137fc912ce4f2599c5d5 | [
"MIT"
] | 6 | 2021-02-19T18:25:01.000Z | 2022-01-21T10:19:33.000Z | from pyTEMlib import image_dialog
| 17 | 33 | 0.882353 | 5 | 34 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc704251b2c2b8b042d1ec106b4eb53fdf35e77b | 22 | py | Python | raven/__init__.py | ucamhal/ravenpy | 64d2a94c160f2d81ba622858b2367d55e1912129 | [
"MIT"
] | 1 | 2019-04-26T23:58:13.000Z | 2019-04-26T23:58:13.000Z | raven/__init__.py | ucamhal/ravenpy | 64d2a94c160f2d81ba622858b2367d55e1912129 | [
"MIT"
] | null | null | null | raven/__init__.py | ucamhal/ravenpy | 64d2a94c160f2d81ba622858b2367d55e1912129 | [
"MIT"
] | null | null | null | from ._raven import *
| 11 | 21 | 0.727273 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dcafe7e954fa2675407996b4b5ba46d8da0c171b | 140 | py | Python | tests/_compat.py | Stranger6667/xdump | 9bbbff3a60586945c40e80724b671049188cebd3 | [
"MIT"
] | 20 | 2018-01-04T06:32:36.000Z | 2021-02-19T14:57:07.000Z | tests/_compat.py | midezz/xdump | 3596b3a82e8fbc8269b4a2d23fd19821c56bbb64 | [
"MIT"
] | 58 | 2018-01-03T14:19:26.000Z | 2020-08-31T11:19:59.000Z | tests/_compat.py | midezz/xdump | 3596b3a82e8fbc8269b4a2d23fd19821c56bbb64 | [
"MIT"
] | 3 | 2018-06-15T09:46:12.000Z | 2021-01-07T11:34:06.000Z | # pylint: disable=unused-import
try:
from unittest.mock import Mock, patch
except ImportError:
from mock import Mock, patch # noqa
| 23.333333 | 41 | 0.735714 | 19 | 140 | 5.421053 | 0.631579 | 0.194175 | 0.271845 | 0.368932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192857 | 140 | 5 | 42 | 28 | 0.911504 | 0.242857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
525f97cf90d7638ed442c3a9ffc348b635397f1e | 80 | py | Python | __init__.py | rafa-rod/vartests | df9669e4594c9f4be81c8876b14ad90135059ec6 | [
"MIT"
] | 1 | 2021-11-17T23:24:12.000Z | 2021-11-17T23:24:12.000Z | __init__.py | rafa-rod/vartests | df9669e4594c9f4be81c8876b14ad90135059ec6 | [
"MIT"
] | null | null | null | __init__.py | rafa-rod/vartests | df9669e4594c9f4be81c8876b14ad90135059ec6 | [
"MIT"
] | 1 | 2022-02-22T20:06:55.000Z | 2022-02-22T20:06:55.000Z | from .vartests import *
from . import version
__version__ = version.__version__ | 20 | 33 | 0.8 | 9 | 80 | 6.222222 | 0.444444 | 0.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 80 | 4 | 33 | 20 | 0.811594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
526f3c0dfec20af510b6320e5548e6b26e8d99aa | 221 | py | Python | valid8/validation_lib/mini_lambda_.py | smarie/python-validate | c8a10ccede1c0782355439b0966f532bf00dfcab | [
"BSD-3-Clause"
] | 26 | 2018-01-10T03:44:19.000Z | 2021-11-28T07:56:31.000Z | valid8/validation_lib/mini_lambda_.py | smarie/python-validate | c8a10ccede1c0782355439b0966f532bf00dfcab | [
"BSD-3-Clause"
] | 55 | 2017-11-06T14:45:47.000Z | 2021-05-12T08:28:11.000Z | valid8/validation_lib/mini_lambda_.py | smarie/python-valid8 | c8a10ccede1c0782355439b0966f532bf00dfcab | [
"BSD-3-Clause"
] | null | null | null | try:
from valid8.validation_lib.types import instance_of
from mini_lambda import make_lambda_friendly_method
Instance_of = make_lambda_friendly_method(instance_of, 'instance_of')
except ImportError:
pass
| 27.625 | 73 | 0.80543 | 30 | 221 | 5.533333 | 0.566667 | 0.240964 | 0.216867 | 0.289157 | 0.409639 | 0.409639 | 0 | 0 | 0 | 0 | 0 | 0.005319 | 0.149321 | 221 | 7 | 74 | 31.571429 | 0.87766 | 0 | 0 | 0 | 0 | 0 | 0.049774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
528f0c44e9c3ff4feb6f54b3a61359c3861e6d32 | 35,601 | py | Python | tests/test_curio.py | maemo-leste-extras/aiorpcx | 340e41714853541b33ed20eca6c74ecda053e599 | [
"MIT"
] | null | null | null | tests/test_curio.py | maemo-leste-extras/aiorpcx | 340e41714853541b33ed20eca6c74ecda053e599 | [
"MIT"
] | null | null | null | tests/test_curio.py | maemo-leste-extras/aiorpcx | 340e41714853541b33ed20eca6c74ecda053e599 | [
"MIT"
] | null | null | null | from asyncio import get_event_loop, InvalidStateError
import time
import pytest
from aiorpcx.curio import *
def sum_all(*values):
return sum(values)
async def my_raises(exc):
raise exc
async def return_value(x, secs=0):
if secs:
await sleep(secs)
return x
# Test exports
sleep
Cancelled... | 25.374911 | 77 | 0.591697 | 4,511 | 35,601 | 4.576812 | 0.048326 | 0.063935 | 0.057638 | 0.074591 | 0.838177 | 0.795844 | 0.754577 | 0.714618 | 0.662695 | 0.611935 | 0 | 0.034728 | 0.308446 | 35,601 | 1,402 | 78 | 25.39301 | 0.803859 | 0.019634 | 0 | 0.720508 | 0 | 0 | 0.033398 | 0 | 0 | 0 | 0 | 0 | 0.179673 | 1 | 0.00363 | false | 0.009074 | 0.004537 | 0.000907 | 0.04265 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
529a4546c8dbe77f8ca0b32bdada0a407ddb1068 | 36 | py | Python | jewelry/__init__.py | mgsosna/py-utils | 311639de53c50022b0ea001e999719139b1166b3 | [
"MIT"
] | 3 | 2021-04-23T20:41:42.000Z | 2022-03-30T11:06:26.000Z | jewelry/__init__.py | mgsosna/py-utils | 311639de53c50022b0ea001e999719139b1166b3 | [
"MIT"
] | null | null | null | jewelry/__init__.py | mgsosna/py-utils | 311639de53c50022b0ea001e999719139b1166b3 | [
"MIT"
] | null | null | null | from .arg_checker import ArgChecker
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bffd97b93d4741afc260f3c653f5761c5f5ac5a9 | 38,395 | py | Python | tests/test_permissions_cache.py | KonstantinaStoikou/invenio-access | 85891eb80f98ed0d0ed71fa22830d18d2b98c98c | [
"MIT"
] | null | null | null | tests/test_permissions_cache.py | KonstantinaStoikou/invenio-access | 85891eb80f98ed0d0ed71fa22830d18d2b98c98c | [
"MIT"
] | null | null | null | tests/test_permissions_cache.py | KonstantinaStoikou/invenio-access | 85891eb80f98ed0d0ed71fa22830d18d2b98c98c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2015-2018 CERN.
#
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
"""Module tests."""
from __future__ import absolute_import, print_function
import ... | 41.064171 | 79 | 0.613934 | 4,575 | 38,395 | 4.890273 | 0.050273 | 0.046216 | 0.077281 | 0.089483 | 0.836991 | 0.816341 | 0.7855 | 0.758951 | 0.737317 | 0.721405 | 0 | 0.016487 | 0.273317 | 38,395 | 934 | 80 | 41.108137 | 0.785384 | 0.101211 | 0 | 0.639893 | 0 | 0 | 0.051417 | 0.01097 | 0 | 0 | 0 | 0 | 0.200803 | 1 | 0.012048 | false | 0 | 0.012048 | 0 | 0.025435 | 0.001339 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8724f32c1c0d101d469dfa3ee5325ad27dfba1ca | 44 | py | Python | github_watchdog.py | gkorg1/watchdog | f241094b4641c1c5ac321ff1417e918a47df36b3 | [
"Apache-2.0"
] | null | null | null | github_watchdog.py | gkorg1/watchdog | f241094b4641c1c5ac321ff1417e918a47df36b3 | [
"Apache-2.0"
] | null | null | null | github_watchdog.py | gkorg1/watchdog | f241094b4641c1c5ac321ff1417e918a47df36b3 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/bash
print "github_watchdog log" | 14.666667 | 27 | 0.75 | 7 | 44 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 3 | 27 | 14.666667 | 0.8 | 0.318182 | 0 | 0 | 0 | 0 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
87569a1b4a9b790387780f2d284ee8d0d60bc1fe | 71 | py | Python | carberretta/utils/menu/__init__.py | namanyt/Carberretta | 182733caeff3da475f052bfc7fa6090244d5f2dc | [
"BSD-3-Clause"
] | 21 | 2020-09-30T11:15:40.000Z | 2022-03-11T09:46:48.000Z | carberretta/utils/menu/__init__.py | namanyt/Carberretta | 182733caeff3da475f052bfc7fa6090244d5f2dc | [
"BSD-3-Clause"
] | 110 | 2020-09-27T14:37:05.000Z | 2021-12-17T17:21:33.000Z | carberretta/utils/menu/__init__.py | namanyt/Carberretta | 182733caeff3da475f052bfc7fa6090244d5f2dc | [
"BSD-3-Clause"
] | 26 | 2020-09-21T19:38:12.000Z | 2022-02-08T18:41:58.000Z | from .menus import MultiPageMenu, NumberedSelectionMenu, SelectionMenu
| 35.5 | 70 | 0.873239 | 6 | 71 | 10.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 71 | 1 | 71 | 71 | 0.953846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8756da2a223fcbc6c2488950ea83845378c7aee5 | 7,804 | py | Python | winreg__examples/get_run_paths.py | gil9red/SimplePyScripts | c191ce08fbdeb29377639184579e392057945154 | [
"CC-BY-4.0"
] | 117 | 2015-12-18T07:18:27.000Z | 2022-03-28T00:25:54.000Z | winreg__examples/get_run_paths.py | gil9red/SimplePyScripts | c191ce08fbdeb29377639184579e392057945154 | [
"CC-BY-4.0"
] | 8 | 2018-10-03T09:38:46.000Z | 2021-12-13T19:51:09.000Z | winreg__examples/get_run_paths.py | gil9red/SimplePyScripts | c191ce08fbdeb29377639184579e392057945154 | [
"CC-BY-4.0"
] | 28 | 2016-08-02T17:43:47.000Z | 2022-03-21T08:31:12.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = 'ipetrash'
# SOURCE: https://www.windxp.com.ru/autrun.htm
# SOURCE: http://www.infosecurity.ru/_gazeta/content/090904/art3.shtml
# SOURCE: https://www.saule-spb.ru/library/autorun.html
from typing import Dict, List
from common import get_key, Entry, get_... | 47.012048 | 125 | 0.816504 | 940 | 7,804 | 6.687234 | 0.193617 | 0.1909 | 0.236717 | 0.265988 | 0.8021 | 0.774738 | 0.679924 | 0.48091 | 0.334235 | 0.247852 | 0 | 0.009811 | 0.085725 | 7,804 | 166 | 126 | 47.012048 | 0.870778 | 0.04203 | 0 | 0.102564 | 0 | 0 | 0.620204 | 0.594949 | 0 | 0 | 0 | 0.006024 | 0 | 1 | 0.025641 | false | 0 | 0.051282 | 0 | 0.102564 | 0.076923 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
875ac64e4e8418e140347fb5091049d03c9b24e1 | 93,301 | py | Python | StarGazer.py | AstraZeneca/StarGazer | 72508af3e22489c9f6dd360f98f59dd6c3a8a02e | [
"Apache-2.0"
] | 2 | 2022-02-23T14:29:09.000Z | 2022-03-19T03:19:46.000Z | StarGazer.py | AstraZeneca/StarGazer | 72508af3e22489c9f6dd360f98f59dd6c3a8a02e | [
"Apache-2.0"
] | 1 | 2022-03-12T01:03:53.000Z | 2022-03-12T01:03:53.000Z | StarGazer.py | AstraZeneca/StarGazer | 72508af3e22489c9f6dd360f98f59dd6c3a8a02e | [
"Apache-2.0"
] | 2 | 2022-02-16T20:14:10.000Z | 2022-02-18T23:10:23.000Z | from logging import NullHandler
from numpy.__config__ import show
from pkg_resources import yield_lines
import streamlit as st
import pandas as pd
import numpy as np
import plotly.express as px
from plotly.subplots import make_subplots
import plotly.graph_objects as go
import matplotlib.pyplot as plt
from streamlit_ech... | 56.070313 | 472 | 0.616381 | 11,465 | 93,301 | 4.718971 | 0.05652 | 0.069867 | 0.100641 | 0.050589 | 0.817348 | 0.803911 | 0.783376 | 0.767 | 0.746761 | 0.730699 | 0 | 0.022204 | 0.255678 | 93,301 | 1,663 | 473 | 56.104029 | 0.756861 | 0.07135 | 0 | 0.542386 | 0 | 0.011253 | 0.231261 | 0.010881 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003001 | false | 0.005251 | 0.017254 | 0 | 0.023256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5e42b6f054321b94b98b613d0b04a58ecb037d4c | 138 | py | Python | test/modules/requests_test.py | flyingSprite/spinelle | 57834368abb5fb4eb73a8fb29226a30014254e40 | [
"MIT"
] | 1 | 2016-07-22T01:58:53.000Z | 2016-07-22T01:58:53.000Z | test/modules/requests_test.py | flyingSprite/spinelle | 57834368abb5fb4eb73a8fb29226a30014254e40 | [
"MIT"
] | 5 | 2016-07-26T02:02:47.000Z | 2018-05-16T08:08:42.000Z | test/modules/requests_test.py | flyingSprite/spinelle | 57834368abb5fb4eb73a8fb29226a30014254e40 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import requests
def get(url):
requests.get(url)
def get_by_ssl(url):
requests.get(url, verify=False)
| 11.5 | 35 | 0.637681 | 21 | 138 | 4.095238 | 0.571429 | 0.209302 | 0.325581 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.195652 | 138 | 11 | 36 | 12.545455 | 0.765766 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 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 | 6 |
5e79f1d85dd79e0a7da7030268ee37f4689459c9 | 178 | py | Python | django-users/users/admin.py | mehran-rahmanzadeh/first-microservice | fa8914fc4e27fab6bfcc6e31bef88db9c3250bd6 | [
"MIT"
] | null | null | null | django-users/users/admin.py | mehran-rahmanzadeh/first-microservice | fa8914fc4e27fab6bfcc6e31bef88db9c3250bd6 | [
"MIT"
] | null | null | null | django-users/users/admin.py | mehran-rahmanzadeh/first-microservice | fa8914fc4e27fab6bfcc6e31bef88db9c3250bd6 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from users.models import User
@admin.register(User)
class UserModelAdmin(UserAdmin):
pass
| 17.8 | 47 | 0.803371 | 24 | 178 | 5.958333 | 0.583333 | 0.13986 | 0.237762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129213 | 178 | 9 | 48 | 19.777778 | 0.922581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
0d5cd1a821737cf837e9ba595980391c304e5bed | 201 | py | Python | Demos/Demo-4.3 Display/main.py | Josverl/MicroPython-Bootcamp | 29f5ccc9768fbea621029dcf6eea9c91ff84c1d5 | [
"MIT"
] | 4 | 2018-04-28T13:43:20.000Z | 2021-03-11T16:10:35.000Z | Demos/Demo-4.3 Display/main.py | Josverl/MicroPython-Bootcamp | 29f5ccc9768fbea621029dcf6eea9c91ff84c1d5 | [
"MIT"
] | null | null | null | Demos/Demo-4.3 Display/main.py | Josverl/MicroPython-Bootcamp | 29f5ccc9768fbea621029dcf6eea9c91ff84c1d5 | [
"MIT"
] | null | null | null | print("-------------------------------------")
print("DEMO 4.3 Display ")
print("-------------------------------------")
if None:
import d1_display
import d2_microwindows | 25.125 | 47 | 0.353234 | 15 | 201 | 4.6 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025157 | 0.208955 | 201 | 8 | 48 | 25.125 | 0.408805 | 0 | 0 | 0.333333 | 0 | 0 | 0.554455 | 0.366337 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
0da2993b43de4a78e7b23251f1be3ecb6e742b09 | 244 | py | Python | rules/simple.py | cachedout/eventdriventalk | 194061e8cdf9c72afa5f5d7d6c015e35026710bd | [
"Apache-2.0"
] | 7 | 2016-10-08T03:48:47.000Z | 2019-06-06T10:37:00.000Z | rules/simple.py | cachedout/eventdriventalk | 194061e8cdf9c72afa5f5d7d6c015e35026710bd | [
"Apache-2.0"
] | null | null | null | rules/simple.py | cachedout/eventdriventalk | 194061e8cdf9c72afa5f5d7d6c015e35026710bd | [
"Apache-2.0"
] | 1 | 2018-10-12T17:39:56.000Z | 2018-10-12T17:39:56.000Z | # -*- encoding: utf-8 -*-
'''
Simple rules
All rules must return simply True or False
'''
def gt(value, thresh):
return value > thresh
def lt(value, thresh):
return value < thresh
def eq(value, thresh):
return value == thresh
| 13.555556 | 42 | 0.643443 | 34 | 244 | 4.617647 | 0.529412 | 0.420382 | 0.324841 | 0.420382 | 0.573248 | 0.394904 | 0 | 0 | 0 | 0 | 0 | 0.005319 | 0.229508 | 244 | 17 | 43 | 14.352941 | 0.829787 | 0.331967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0da8d2a34250aeebbda9d7d4812cf437ddea3fd4 | 182 | py | Python | senbay/__init__.py | tetujin/SenbayKit-CLI | ba8c4ebcdaede536ada4a1627956c0b36caf27b2 | [
"Apache-2.0"
] | 2 | 2019-03-21T03:49:43.000Z | 2019-09-14T15:09:46.000Z | senbay/__init__.py | tetujin/SenbayKit-CLI | ba8c4ebcdaede536ada4a1627956c0b36caf27b2 | [
"Apache-2.0"
] | null | null | null | senbay/__init__.py | tetujin/SenbayKit-CLI | ba8c4ebcdaede536ada4a1627956c0b36caf27b2 | [
"Apache-2.0"
] | 2 | 2020-04-15T21:25:56.000Z | 2020-09-02T10:41:17.000Z | from .core import BaseX
from .core import SenbayData
from .core import SenbayFormat
from .camera import SenbayCamera
from .camera import SenbayFrame
from .reader import SenbayReader
| 26 | 32 | 0.835165 | 24 | 182 | 6.333333 | 0.458333 | 0.157895 | 0.276316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 182 | 6 | 33 | 30.333333 | 0.962025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0dbadc61a8b6c15f9d5aa66fd5e73104a6f5a87c | 30 | py | Python | qtim_tools/qtim_learning/__init__.py | QTIM-Lab/qtim_tools | 92bd15ec7a81c5eda70d11a015f74538f3c41e22 | [
"Apache-2.0"
] | 12 | 2017-03-29T18:17:24.000Z | 2020-03-19T05:28:56.000Z | qtim_tools/qtim_learning/__init__.py | QTIM-Lab/qtim_tools | 92bd15ec7a81c5eda70d11a015f74538f3c41e22 | [
"Apache-2.0"
] | 7 | 2017-03-08T21:06:01.000Z | 2017-06-21T19:01:58.000Z | qtim_tools/qtim_learning/__init__.py | QTIM-Lab/qtim_tools | 92bd15ec7a81c5eda70d11a015f74538f3c41e22 | [
"Apache-2.0"
] | 5 | 2017-03-02T09:08:21.000Z | 2019-10-26T05:37:39.000Z | from nn_preprocessing import * | 30 | 30 | 0.866667 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0dc6848c4993d797dc2234ecfaa5c0d75b9c711b | 151 | py | Python | ec3/__init__.py | scivey/ec3 | 37ec330627f2050e32cb44b814929ac331faa6ff | [
"MIT"
] | null | null | null | ec3/__init__.py | scivey/ec3 | 37ec330627f2050e32cb44b814929ac331faa6ff | [
"MIT"
] | null | null | null | ec3/__init__.py | scivey/ec3 | 37ec330627f2050e32cb44b814929ac331faa6ff | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function, unicode_literals
from ec3.version import VERSION as __version__
| 21.571429 | 55 | 0.761589 | 21 | 151 | 5 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.13245 | 151 | 6 | 56 | 25.166667 | 0.78626 | 0.278146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 1 | 0 | 6 |
21c2589a28aae3d65031302838d24c1f9fdee5d3 | 9,655 | py | Python | readthedocs/api/v3/tests/test_subprojects.py | tyson-swetnam/readthedocs.org | d298ff5d6d71adfcd424051894710a38d10b550f | [
"MIT"
] | 1 | 2019-11-05T06:31:18.000Z | 2019-11-05T06:31:18.000Z | readthedocs/api/v3/tests/test_subprojects.py | krptic07/readthedocs.org | f897447d4932fc88e5acef3765bd363c297dae6d | [
"MIT"
] | 6 | 2021-03-19T15:47:29.000Z | 2022-03-12T00:52:59.000Z | readthedocs/api/v3/tests/test_subprojects.py | gkorland/readthedocs.org | 339a4c20ed372ef56a378a6ee16733b21d810e2f | [
"MIT"
] | null | null | null | from .mixins import APIEndpointMixin
from django.urls import reverse
import django_dynamic_fixture as fixture
from readthedocs.projects.models import Project
class SubprojectsEndpointTests(APIEndpointMixin):
def setUp(self):
super().setUp()
self._create_subproject()
def test_projects_subpro... | 36.711027 | 86 | 0.581357 | 903 | 9,655 | 5.996678 | 0.09856 | 0.088643 | 0.084949 | 0.057618 | 0.882548 | 0.869067 | 0.845245 | 0.826593 | 0.814404 | 0.774146 | 0 | 0.008462 | 0.314552 | 9,655 | 262 | 87 | 36.851145 | 0.809761 | 0.004972 | 0 | 0.663934 | 0 | 0 | 0.149818 | 0.072879 | 0 | 0 | 0 | 0 | 0.172131 | 1 | 0.053279 | false | 0 | 0.016393 | 0 | 0.07377 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21d25450e6c2316d1117734dd00aee488339d677 | 115 | py | Python | python/pop-or-dequee-item-from-tuple.py | masbicudo/oqueeh | 47e1d8ec130a39ef122fcbc42799512f100e595b | [
"CC0-1.0"
] | null | null | null | python/pop-or-dequee-item-from-tuple.py | masbicudo/oqueeh | 47e1d8ec130a39ef122fcbc42799512f100e595b | [
"CC0-1.0"
] | null | null | null | python/pop-or-dequee-item-from-tuple.py | masbicudo/oqueeh | 47e1d8ec130a39ef122fcbc42799512f100e595b | [
"CC0-1.0"
] | null | null | null | t1 = (0, 1, 2, 3, 4)
t1, v = t1[:-1], t1[-1]
print(t1, v)
t1 = (0, 1, 2, 3, 4)
v, t1 = t1[0], t1[1:]
print(v, t1)
| 14.375 | 23 | 0.417391 | 30 | 115 | 1.6 | 0.266667 | 0.25 | 0.166667 | 0.208333 | 0.291667 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 0.252174 | 115 | 7 | 24 | 16.428571 | 0.27907 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 1 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
df1c9fee52c3af565db8fc1bccfd1262a6212ecd | 12,011 | py | Python | tests/integrationTests/tests/python_custom_validation/__init__.py | andrewtheiss/Submitty | 8b98d62317a5c654ab42d9dc12a3f0c5dc8f6e06 | [
"BSD-3-Clause"
] | 1 | 2020-07-02T04:52:53.000Z | 2020-07-02T04:52:53.000Z | tests/integrationTests/tests/python_custom_validation/__init__.py | Saurabh200598/Submitty | ce5005b42e76f6ddbc204ddc60c741f785ecf59b | [
"BSD-3-Clause"
] | null | null | null | tests/integrationTests/tests/python_custom_validation/__init__.py | Saurabh200598/Submitty | ce5005b42e76f6ddbc204ddc60c741f785ecf59b | [
"BSD-3-Clause"
] | 1 | 2020-08-11T16:42:17.000Z | 2020-08-11T16:42:17.000Z | # Necessary imports. Provides library functions to ease writing tests.
from lib import prebuild, testcase, SUBMITTY_INSTALL_DIR
import subprocess
import os
import glob
import shutil
############################################################################
# COPY THE ASSIGNMENT FROM THE SAMPLE ASSIGNMENTS DIRECTOR... | 47.85259 | 115 | 0.667305 | 1,631 | 12,011 | 4.559166 | 0.054568 | 0.032275 | 0.073965 | 0.086606 | 0.906536 | 0.902905 | 0.884481 | 0.869688 | 0.832706 | 0.763314 | 0 | 0.019217 | 0.168179 | 12,011 | 250 | 116 | 48.044 | 0.725053 | 0.010657 | 0 | 0.526316 | 0 | 0 | 0.392802 | 0.313918 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043062 | false | 0.019139 | 0.023923 | 0 | 0.066986 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
df5eab923c17af449045815a39dc492be615f460 | 13,236 | py | Python | cottonformation/res/cassandra.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/cassandra.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/cassandra.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class TableColumn(Property):
"""
AWS Object Type = "AWS::Cassandra::Table.C... | 55.848101 | 213 | 0.755817 | 1,462 | 13,236 | 6.75171 | 0.057456 | 0.112045 | 0.046804 | 0.072333 | 0.892007 | 0.891602 | 0.863641 | 0.824537 | 0.824537 | 0.824537 | 0 | 0.000085 | 0.109323 | 13,236 | 236 | 214 | 56.084746 | 0.837221 | 0.325929 | 0 | 0.368852 | 0 | 0 | 0.087008 | 0.048677 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032787 | 0 | 0.278689 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
df63cbfdff47c40ddc7fa38072db91c2877bba01 | 10,777 | py | Python | tests/hwsim/test_scs.py | cschuber/hostap | b26f5c0fe35cd0472ea43f533b981ac2d91cdf1f | [
"Unlicense"
] | 21 | 2016-01-12T17:16:27.000Z | 2022-01-19T17:17:17.000Z | tests/hwsim/test_scs.py | cschuber/hostap | b26f5c0fe35cd0472ea43f533b981ac2d91cdf1f | [
"Unlicense"
] | 3 | 2017-08-11T16:48:19.000Z | 2020-03-10T21:18:17.000Z | tests/hwsim/test_scs.py | cschuber/hostap | b26f5c0fe35cd0472ea43f533b981ac2d91cdf1f | [
"Unlicense"
] | 18 | 2015-03-11T07:09:31.000Z | 2022-03-25T08:29:18.000Z | # Test cases for SCS
# Copyright (c) 2021, Jouni Malinen <j@w1.fi>
# Copyright (c) 2021, The Linux Foundation
#
# This software may be distributed under the terms of the BSD license.
# See README for more details.
import struct
import time
import hostapd
from utils import *
def register_scs_req(hapd):
type = 0x0... | 54.705584 | 286 | 0.683493 | 1,871 | 10,777 | 3.721005 | 0.108498 | 0.096524 | 0.032749 | 0.040075 | 0.801494 | 0.788567 | 0.775783 | 0.758259 | 0.756535 | 0.734703 | 0 | 0.080621 | 0.198942 | 10,777 | 196 | 287 | 54.984694 | 0.72582 | 0.025888 | 0 | 0.319018 | 0 | 0.141104 | 0.56562 | 0.038274 | 0 | 0 | 0.000573 | 0 | 0 | 1 | 0.03681 | false | 0 | 0.02454 | 0 | 0.06135 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8004e6b351fffc3a3c581015b7041e1d7b5ab041 | 17,978 | py | Python | winelf/mouse.py | kzlknight/winelf | fb915ee3832b4549164ae717fc31a118c95c626a | [
"MIT"
] | null | null | null | winelf/mouse.py | kzlknight/winelf | fb915ee3832b4549164ae717fc31a118c95c626a | [
"MIT"
] | null | null | null | winelf/mouse.py | kzlknight/winelf | fb915ee3832b4549164ae717fc31a118c95c626a | [
"MIT"
] | null | null | null | from pynput.mouse import Controller as MouseController
from pynput.mouse import Button
import numpy as np
import warnings
import time
from winelf import global_settings
__all__ = [
'Button','MouseElf'
]
# 动作延迟
def _mouseSecurityDelay(func):
def wrapper(*args, **kwargs):
self = args[0]
# 前置延迟
... | 38.579399 | 111 | 0.586272 | 2,054 | 17,978 | 4.939143 | 0.075949 | 0.070084 | 0.099359 | 0.03933 | 0.775554 | 0.759093 | 0.754953 | 0.740956 | 0.717398 | 0.697585 | 0 | 0.006457 | 0.293637 | 17,978 | 465 | 112 | 38.662366 | 0.792425 | 0.443042 | 0 | 0.244444 | 0 | 0 | 0.014706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214815 | false | 0 | 0.044444 | 0 | 0.362963 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
801fe9d13a749404ff4f06f218d33930efb65a40 | 784 | py | Python | src/qtmodernredux/apl_style/widgetstyle/progressbar.py | robertkist/qtmodernredux | c7f791a1492ff855f3e4b963b8e9f20c46ba503f | [
"Apache-2.0"
] | 4 | 2021-04-12T19:30:47.000Z | 2022-02-11T18:24:16.000Z | src/qtmodernredux/apl_style/widgetstyle/progressbar.py | robertkist/qtmodernredux | c7f791a1492ff855f3e4b963b8e9f20c46ba503f | [
"Apache-2.0"
] | null | null | null | src/qtmodernredux/apl_style/widgetstyle/progressbar.py | robertkist/qtmodernredux | c7f791a1492ff855f3e4b963b8e9f20c46ba503f | [
"Apache-2.0"
] | null | null | null | __author__ = "Robert Kist"
# QProgressBar
progressbar_style = '''
QProgressBar {
border: 0px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
height: 8px;
min-height: 8px;
max-height: 8px;
margin-top: 7px;
... | 21.777778 | 36 | 0.672194 | 96 | 784 | 5.4375 | 0.291667 | 0.206897 | 0.258621 | 0.218391 | 0.616858 | 0.616858 | 0.616858 | 0.616858 | 0.616858 | 0.616858 | 0 | 0.028346 | 0.190051 | 784 | 35 | 37 | 22.4 | 0.793701 | 0.015306 | 0 | 0.4 | 0 | 0 | 0.94026 | 0.425974 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
802b646cd0650424f5e0a7fd13d89bf8e62f4b7c | 25 | py | Python | rubin_sim/photUtils/utils/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | rubin_sim/photUtils/utils/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | rubin_sim/photUtils/utils/__init__.py | RileyWClarke/flarubin | eb7b1ee21c828523f8a5374fe4510fe6e5ec2a2a | [
"MIT"
] | null | null | null | from .testUtils import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
338d90019548562a3d6f80dabe5b4df11d4b6071 | 688 | py | Python | Simulated Anealling/addOne.py | mattingram0/Travelling-Salesperson-Problem | a8431651edb44c881d79a6d49699f89d049f1e28 | [
"MIT"
] | null | null | null | Simulated Anealling/addOne.py | mattingram0/Travelling-Salesperson-Problem | a8431651edb44c881d79a6d49699f89d049f1e28 | [
"MIT"
] | null | null | null | Simulated Anealling/addOne.py | mattingram0/Travelling-Salesperson-Problem | a8431651edb44c881d79a6d49699f89d049f1e28 | [
"MIT"
] | null | null | null | lst = [123,41,179,56,13,78,38,84,121,107,97,114,171,91,85,3,116,174,39,146,47,81,7,111,2,53,8,140,166,157,127,170,28,154,14,82,9,87,18,148,108,10,58,57,43,103,155,60,55,139,180,126,83,99,138,33,37,20,86,23,34,44,16,94,4,175,36,124,95,66,19,31,160,112,75,26,69,92,79,90,22,12,159,40,169,54,48,106,24,131,25,74,135,164,173... | 229.333333 | 619 | 0.688953 | 197 | 688 | 2.406091 | 0.954315 | 0.016878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.647761 | 0.026163 | 688 | 3 | 620 | 229.333333 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0.001451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3391ef32a3fd3e981892093c81aac0fcde17273a | 20 | py | Python | testkraut/evaluators/__init__.py | hanke/testkraut | 8a4c942e19e0381e26770c58fbd67b85db50c1d8 | [
"MIT"
] | 2 | 2017-10-16T14:56:59.000Z | 2019-07-18T13:49:58.000Z | memegen/__init__.py | YorkZamzar2016/MemeGeneratorWow | 06eab4bef3e2213aa9d7102b4ca4a81fabe4b4cf | [
"MIT"
] | null | null | null | memegen/__init__.py | YorkZamzar2016/MemeGeneratorWow | 06eab4bef3e2213aa9d7102b4ca4a81fabe4b4cf | [
"MIT"
] | 5 | 2015-03-05T07:11:36.000Z | 2019-11-25T10:46:15.000Z | from image import *
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33ab4473b909c41216c96c814b3728530fe1769c | 34 | py | Python | test.py | Mtiankong/test388 | 31e3947dc90a001a08efea56bbd5025e3e21e8d6 | [
"MIT"
] | null | null | null | test.py | Mtiankong/test388 | 31e3947dc90a001a08efea56bbd5025e3e21e8d6 | [
"MIT"
] | null | null | null | test.py | Mtiankong/test388 | 31e3947dc90a001a08efea56bbd5025e3e21e8d6 | [
"MIT"
] | null | null | null |
num=222
num= 1111
num = 44444
| 4.25 | 11 | 0.617647 | 6 | 34 | 3.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.294118 | 34 | 7 | 12 | 4.857143 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33be19fbd63ef12828949b35b66a8d7814f9d25a | 3,390 | py | Python | s3_stress/utils/server_logger.py | samuelsh/s3-pybench | 763e3a38208e70f8335cdf4698ae809fa90b7e3a | [
"MIT"
] | null | null | null | s3_stress/utils/server_logger.py | samuelsh/s3-pybench | 763e3a38208e70f8335cdf4698ae809fa90b7e3a | [
"MIT"
] | null | null | null | s3_stress/utils/server_logger.py | samuelsh/s3-pybench | 763e3a38208e70f8335cdf4698ae809fa90b7e3a | [
"MIT"
] | null | null | null | import logging
from logging import handlers
import os
import sys
"""
Logger class, providing API for Logging module
"""
__author__ = 'samuels'
class Logger:
def __init__(self, output_dir="logs", name=__name__):
self.output_dir = output_dir
self._logger = logging.getLogger(name)
self._log... | 37.666667 | 118 | 0.624484 | 370 | 3,390 | 5.6 | 0.183784 | 0.072394 | 0.037645 | 0.052124 | 0.855212 | 0.855212 | 0.855212 | 0.855212 | 0.855212 | 0.78861 | 0 | 0.019192 | 0.262242 | 3,390 | 89 | 119 | 38.089888 | 0.809276 | 0.108555 | 0 | 0.698413 | 0 | 0.047619 | 0.137454 | 0.008443 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.063492 | 0.047619 | 0.253968 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33e75fa831466a2e9a49c5e1f02c53d67a369820 | 41 | py | Python | aitextgen/__init__.py | artificial-podcast/aitextgen | 6e07361a2f15de7925a3cdefc91d32390b7489c9 | [
"MIT"
] | 1,416 | 2020-05-18T15:41:34.000Z | 2022-03-31T09:39:55.000Z | aitextgen/__init__.py | artificial-podcast/aitextgen | 6e07361a2f15de7925a3cdefc91d32390b7489c9 | [
"MIT"
] | 165 | 2020-05-19T00:14:32.000Z | 2022-03-30T16:56:36.000Z | aitextgen/__init__.py | artificial-podcast/aitextgen | 6e07361a2f15de7925a3cdefc91d32390b7489c9 | [
"MIT"
] | 156 | 2020-05-18T16:28:17.000Z | 2022-03-24T14:50:31.000Z | from .aitextgen import aitextgen # noqa
| 20.5 | 40 | 0.780488 | 5 | 41 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 1 | 41 | 41 | 0.941176 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d50ac90f4d0cb341170d02b2bea5b06c1158ac16 | 8,984 | py | Python | test/tests/queryparams/test.py | johnlinp/falcon-raml | 656e660875fcbe06be73b4d7b787a2456dd640f5 | [
"BSD-3-Clause"
] | null | null | null | test/tests/queryparams/test.py | johnlinp/falcon-raml | 656e660875fcbe06be73b4d7b787a2456dd640f5 | [
"BSD-3-Clause"
] | null | null | null | test/tests/queryparams/test.py | johnlinp/falcon-raml | 656e660875fcbe06be73b4d7b787a2456dd640f5 | [
"BSD-3-Clause"
] | null | null | null | import falcon
import falcon.testing
from tests.queryparams import app
class TestQueryParamRequiredString(falcon.testing.TestCase):
def setUp(self):
self.app = app.api
self.path = '/required/string'
self.query_param_name = 'required_string'
self.query_param_values = [
'h... | 35.936 | 76 | 0.608192 | 969 | 8,984 | 5.399381 | 0.086687 | 0.108945 | 0.167049 | 0.075688 | 0.89354 | 0.797783 | 0.783066 | 0.775038 | 0.767202 | 0.758601 | 0 | 0.01385 | 0.284728 | 8,984 | 249 | 77 | 36.080321 | 0.800342 | 0.003339 | 0 | 0.663594 | 0 | 0 | 0.119638 | 0 | 0 | 0 | 0 | 0 | 0.175115 | 1 | 0.105991 | false | 0 | 0.013825 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d29e85df92c35dc5c82f930544bac636c07a6df | 23,593 | py | Python | pirates/leveleditor/worldData/VegasIsland.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/VegasIsland.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/VegasIsland.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.VegasIsland
from pandac.PandaModules import Point3, VBase3, Vec4
objectStruct = {'Objects': {'1149705583.0... | 3,370.428571 | 23,160 | 0.639257 | 3,178 | 23,593 | 4.729704 | 0.15922 | 0.037922 | 0.042313 | 0.037789 | 0.606081 | 0.529572 | 0.488324 | 0.423924 | 0.422793 | 0.405163 | 0 | 0.241601 | 0.081592 | 23,593 | 7 | 23,161 | 3,370.428571 | 0.452095 | 0.009198 | 0 | 0 | 0 | 0 | 0.57325 | 0.22681 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1d3f7842ce7c8c83e8f0dd35954856431ff6441c | 2,639 | py | Python | gewittergefahr/gg_utils/number_rounding.py | dopplerchase/GewitterGefahr | 4415b08dd64f37eba5b1b9e8cc5aa9af24f96593 | [
"MIT"
] | 26 | 2018-10-04T01:07:35.000Z | 2022-01-29T08:49:32.000Z | gewittergefahr/gg_utils/number_rounding.py | liuximarcus/GewitterGefahr | d819874d616f98a25187bfd3091073a2e6d5279e | [
"MIT"
] | 4 | 2017-12-25T02:01:08.000Z | 2018-12-19T01:54:21.000Z | gewittergefahr/gg_utils/number_rounding.py | liuximarcus/GewitterGefahr | d819874d616f98a25187bfd3091073a2e6d5279e | [
"MIT"
] | 11 | 2017-12-10T23:05:29.000Z | 2022-01-29T08:49:33.000Z | """Methods for number-rounding."""
import collections
import numpy
from gewittergefahr.gg_utils import error_checking
def round_to_nearest(input_value, rounding_base):
"""Rounds numbers to nearest x, where x is a positive real number.
:param input_value: Either numpy array of real numbers or scalar real
... | 34.723684 | 77 | 0.7446 | 372 | 2,639 | 5.005376 | 0.166667 | 0.150376 | 0.112245 | 0.12406 | 0.86305 | 0.822771 | 0.822771 | 0.822771 | 0.75188 | 0.75188 | 0 | 0.003253 | 0.18454 | 2,639 | 75 | 78 | 35.186667 | 0.861989 | 0.403183 | 0 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.366667 | 1 | 0.133333 | false | 0 | 0.1 | 0 | 0.366667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d7cfcbb8ae15ef50207c000d4c838a5b68b9c43 | 32 | py | Python | mit_semseg/config/__init__.py | starkgines/PDI | dd6908c022179f935ae25d3afee9ea44bb49f162 | [
"BSD-3-Clause"
] | 4,303 | 2018-04-08T00:48:44.000Z | 2022-03-31T12:54:08.000Z | mit_semseg/config/__init__.py | starkgines/PDI | dd6908c022179f935ae25d3afee9ea44bb49f162 | [
"BSD-3-Clause"
] | 212 | 2018-04-08T16:02:59.000Z | 2022-03-16T14:52:44.000Z | mit_semseg/config/__init__.py | starkgines/PDI | dd6908c022179f935ae25d3afee9ea44bb49f162 | [
"BSD-3-Clause"
] | 1,057 | 2018-04-08T03:29:26.000Z | 2022-03-30T17:36:12.000Z | from .defaults import _C as cfg
| 16 | 31 | 0.78125 | 6 | 32 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 1 | 32 | 32 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d54892499a06d66ed2ec6e29b37f8e60763e4960 | 21 | py | Python | catchphrase/__init__.py | scnerd/catchphrase | 45678d0a3ff5122c2cc8f5c9fd12a27223cd6719 | [
"MIT"
] | null | null | null | catchphrase/__init__.py | scnerd/catchphrase | 45678d0a3ff5122c2cc8f5c9fd12a27223cd6719 | [
"MIT"
] | null | null | null | catchphrase/__init__.py | scnerd/catchphrase | 45678d0a3ff5122c2cc8f5c9fd12a27223cd6719 | [
"MIT"
] | null | null | null | from . import batman
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
892bc914cc5638a5f7a6559ffda32499738109cf | 261,050 | py | Python | instances/passenger_demand/pas-20210422-1717-int16e/27.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int16e/27.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int16e/27.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 30764
passenger_arriving = (
(5, 5, 7, 3, 2, 3, 2, 2, 2, 0, 2, 2, 0, 10, 9, 5, 4, 12, 2, 4, 4, 4, 3, 1, 3, 0), # 0
(7, 8, 9, 11, 8, 3, 2, 3, 5, 3, 1, 0, 0, 16, 10, 6, 5, 6, 8, 4, 1, 7, 2, 1, 1, 0), # 1
(7, 4, 6, 4, 2, 7, 2, 3, 1, 3, 0, 0, 0, 6, 9, 8, 5, 7, 7, 1, 1, 2, 4, 2, 1,... | 279.197861 | 491 | 0.771982 | 32,987 | 261,050 | 6.108922 | 0.231243 | 0.353721 | 0.339429 | 0.643128 | 0.366017 | 0.360509 | 0.359358 | 0.359259 | 0.359159 | 0.359159 | 0 | 0.851555 | 0.094748 | 261,050 | 934 | 492 | 279.496788 | 0.001181 | 0.015365 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
89393518d9b9ee19a866a0d3f1020a5ce51fc97a | 37 | py | Python | piv/interface/__init__.py | LaCumbancha/piv-algorithm | cfa1a8b7074be600d96233f4ee756d7023c2a311 | [
"MIT"
] | null | null | null | piv/interface/__init__.py | LaCumbancha/piv-algorithm | cfa1a8b7074be600d96233f4ee756d7023c2a311 | [
"MIT"
] | null | null | null | piv/interface/__init__.py | LaCumbancha/piv-algorithm | cfa1a8b7074be600d96233f4ee756d7023c2a311 | [
"MIT"
] | 1 | 2021-08-23T21:31:42.000Z | 2021-08-23T21:31:42.000Z | from .interface import calculate_piv
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
893a91b249f70e16a334b1752e171eecafc8fe9c | 1,119 | py | Python | test/adaboost/adaboost_test.py | Edelweiss35/deep-machine-learning | b1e4b133609f303be77de824601925f448a94764 | [
"WTFPL"
] | 708 | 2015-01-07T20:17:58.000Z | 2022-03-07T02:30:42.000Z | test/adaboost/adaboost_test.py | Edelweiss35/deep-machine-learning | b1e4b133609f303be77de824601925f448a94764 | [
"WTFPL"
] | 2 | 2016-12-15T03:15:57.000Z | 2021-06-16T01:25:13.000Z | test/adaboost/adaboost_test.py | Edelweiss35/deep-machine-learning | b1e4b133609f303be77de824601925f448a94764 | [
"WTFPL"
] | 333 | 2015-01-09T06:51:46.000Z | 2022-01-16T08:49:58.000Z | # coding: UTF-8
from __future__ import division
import numpy as np
import scipy as sp
from dml.ADAB import ADABC
from dml.ADAB.weakclassify import WEAKC
'''
Example 0:
this example is from the <统计学习方法>
'''
'''
X = np.array([0,1,2,3,4,5,6,7,8,9]).reshape(1,-1)
y = np.array([1,1,1,-1,-1,-1,1,1,1,-1]).transpose()
a= ... | 10.759615 | 51 | 0.480786 | 277 | 1,119 | 1.927798 | 0.187726 | 0.172285 | 0.230337 | 0.292135 | 0.20412 | 0.20412 | 0.20412 | 0.20412 | 0.20412 | 0.20412 | 0 | 0.251534 | 0.126005 | 1,119 | 103 | 52 | 10.864078 | 0.294479 | 0.011618 | 0 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.061728 | null | null | 0.012346 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
893bf9321b60f828e64d0afbc701e3280cbdf934 | 3,124 | py | Python | tests/test_output.py | bizarrechaos/newsapi-client | d6818603b01e7475ec8875f5c90b98b12ab61322 | [
"Apache-2.0"
] | null | null | null | tests/test_output.py | bizarrechaos/newsapi-client | d6818603b01e7475ec8875f5c90b98b12ab61322 | [
"Apache-2.0"
] | null | null | null | tests/test_output.py | bizarrechaos/newsapi-client | d6818603b01e7475ec8875f5c90b98b12ab61322 | [
"Apache-2.0"
] | null | null | null | import sys
import pytest
from news import output
class TestOutput(object):
def test_print_srcs(self, capsys):
lst = ['one', 'two', 'three']
output.print_srcs(lst)
out, err = capsys.readouterr()
assert out == '{0:30}{1:30}{2}\n'.format(lst[0], lst[1], lst[2])
def test_print_c... | 44 | 77 | 0.462868 | 369 | 3,124 | 3.856369 | 0.184282 | 0.031623 | 0.039353 | 0.044975 | 0.86156 | 0.86156 | 0.86156 | 0.86156 | 0.785664 | 0.785664 | 0 | 0.067966 | 0.392446 | 3,124 | 70 | 78 | 44.628571 | 0.68177 | 0 | 0 | 0.688525 | 0 | 0 | 0.264085 | 0.037772 | 0 | 0 | 0 | 0 | 0.081967 | 1 | 0.098361 | false | 0 | 0.04918 | 0 | 0.163934 | 0.196721 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
89a798d18bcd5260a57b9a8bf1ab2930a685a20c | 37 | py | Python | capital/_util/__init__.py | ykat0/capital | 7e202045057633e5e57029967881db37f907a220 | [
"BSD-3-Clause"
] | 3 | 2019-12-12T03:45:59.000Z | 2021-01-14T05:48:35.000Z | capital/_util/__init__.py | ykat0/capital | 7e202045057633e5e57029967881db37f907a220 | [
"BSD-3-Clause"
] | 2 | 2020-05-21T13:47:50.000Z | 2020-08-15T05:20:01.000Z | capital/_util/__init__.py | ykat0/capital | 7e202045057633e5e57029967881db37f907a220 | [
"BSD-3-Clause"
] | 1 | 2021-01-08T06:24:54.000Z | 2021-01-08T06:24:54.000Z | from .capitaldata import CapitalData
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89b2b4c1dd884c01f19cff469745c86531caf187 | 178 | py | Python | autolens/pipeline/phase/interferometer/__init__.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | autolens/pipeline/phase/interferometer/__init__.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | autolens/pipeline/phase/interferometer/__init__.py | rakaar/PyAutoLens | bc140c5d196c426092c1178b8abfa492c6fab859 | [
"MIT"
] | null | null | null | from autolens.pipeline.phase.interferometer.analysis import Analysis
from autolens.pipeline.phase.interferometer.result import Result
from .phase import PhaseInterferometer
| 35.6 | 69 | 0.853933 | 20 | 178 | 7.6 | 0.45 | 0.157895 | 0.263158 | 0.328947 | 0.513158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095506 | 178 | 4 | 70 | 44.5 | 0.944099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
982906a307befc203c4017a8ffe6e417317a7934 | 397 | py | Python | app/orders/domain/exceptions/__init__.py | jcazallasc/burriking-citibox | 30f0a4520bedb6b9ba613e8cf279b37f0cc60704 | [
"MIT"
] | null | null | null | app/orders/domain/exceptions/__init__.py | jcazallasc/burriking-citibox | 30f0a4520bedb6b9ba613e8cf279b37f0cc60704 | [
"MIT"
] | null | null | null | app/orders/domain/exceptions/__init__.py | jcazallasc/burriking-citibox | 30f0a4520bedb6b9ba613e8cf279b37f0cc60704 | [
"MIT"
] | null | null | null | from .order_already_exist import OrderAlreadyExist # noqa
from .order_does_not_exist import OrderDoesNotExist # noqa
from .order_line_already_exist import OrderLineAlreadyExist # noqa
from .order_line_does_not_exist import OrderLineDoesNotExist # noqa
from .product_does_not_exist import ProductDoesNotExist # noqa
... | 56.714286 | 76 | 0.86398 | 49 | 397 | 6.612245 | 0.346939 | 0.203704 | 0.148148 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105793 | 397 | 6 | 77 | 66.166667 | 0.912676 | 0.073048 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
984b997e3a33022488a97bb5e120d0f893bd6bf9 | 33 | py | Python | karez/dispatcher/__init__.py | cap-dcwiz/Karez | 6b9347baf63af92b4eba3fd1dc2d45f08e361d3a | [
"MIT"
] | null | null | null | karez/dispatcher/__init__.py | cap-dcwiz/Karez | 6b9347baf63af92b4eba3fd1dc2d45f08e361d3a | [
"MIT"
] | null | null | null | karez/dispatcher/__init__.py | cap-dcwiz/Karez | 6b9347baf63af92b4eba3fd1dc2d45f08e361d3a | [
"MIT"
] | null | null | null | from .base import DispatcherBase
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
987963a18b0cbd4ebcccb4944234c0b16075fcdd | 1,584 | py | Python | test/test_web.py | TiddlySpace/tiddlyspace | 5f2139340d2d9e3a37068b5c58ecb2e599d798b8 | [
"BSD-3-Clause"
] | 32 | 2015-01-04T10:54:29.000Z | 2022-01-22T16:45:24.000Z | test/test_web.py | jdlrobson/tiddlyspace | 70f500687fcd26e3fa4ef144297a05203ccf0f35 | [
"BSD-3-Clause"
] | 4 | 2016-12-08T14:04:26.000Z | 2018-02-20T10:23:33.000Z | test/test_web.py | jdlrobson/tiddlyspace | 70f500687fcd26e3fa4ef144297a05203ccf0f35 | [
"BSD-3-Clause"
] | 14 | 2015-01-19T23:18:20.000Z | 2021-06-22T01:10:08.000Z | """
Test web utillity functions that aren't otherwise covered.
"""
from tiddlywebplugins.tiddlyspace.web import determine_host
def test_determine_host_common_port():
server_host = {}
config = {'server_host': server_host}
environ = {'tiddlyweb.config': config}
server_host.update({
'scheme'... | 29.333333 | 59 | 0.66351 | 196 | 1,584 | 5.122449 | 0.168367 | 0.135458 | 0.15239 | 0.215139 | 0.738048 | 0.738048 | 0.738048 | 0.738048 | 0.738048 | 0.738048 | 0 | 0.027712 | 0.202652 | 1,584 | 53 | 60 | 29.886792 | 0.767221 | 0.036616 | 0 | 0.555556 | 0 | 0 | 0.273386 | 0.139657 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.027778 | false | 0 | 0.027778 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 6 |
98a4689a0de21e8c88a6a0d11c01b40c161e9cee | 36,230 | py | Python | python/dgl/readout.py | arangoml/dgl | d135058f9986fadcbdf6aa1011a00c3ad45a8ce3 | [
"Apache-2.0"
] | 2 | 2021-12-09T12:36:13.000Z | 2022-03-01T21:22:36.000Z | python/dgl/readout.py | sherry-1001/dgl | 60d2e7d3c928d43bbb18e7ab17c066451c49f649 | [
"Apache-2.0"
] | null | null | null | python/dgl/readout.py | sherry-1001/dgl | 60d2e7d3c928d43bbb18e7ab17c066451c49f649 | [
"Apache-2.0"
] | 2 | 2020-12-07T09:34:01.000Z | 2020-12-13T06:18:58.000Z | """Classes and functions for batching multiple graphs together."""
from __future__ import absolute_import
import numpy as np
from .base import DGLError
from . import backend as F
__all__ = ['sum_nodes', 'sum_edges', 'mean_nodes', 'mean_edges',
'max_nodes', 'max_edges', 'softmax_nodes', 'softmax_edges',
... | 32.0053 | 96 | 0.561772 | 5,378 | 36,230 | 3.715508 | 0.063221 | 0.004604 | 0.016815 | 0.015014 | 0.907917 | 0.895206 | 0.862476 | 0.85557 | 0.84411 | 0.818837 | 0 | 0.098273 | 0.28239 | 36,230 | 1,131 | 97 | 32.033599 | 0.670295 | 0.747502 | 0 | 0.392 | 0 | 0 | 0.060114 | 0 | 0 | 0 | 0 | 0.001768 | 0 | 1 | 0.144 | false | 0 | 0.032 | 0 | 0.32 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f386e2966c9705e491e50305cc8ffbe9ea40233 | 2,792 | py | Python | lreid/models/bnneck.py | TPCD/LifelongReID | cb33f9c29fe398e7546db345fab1c338dda8252f | [
"MIT"
] | 63 | 2021-03-20T15:33:11.000Z | 2022-03-30T03:04:14.000Z | lreid/models/bnneck.py | TPCD/LifelongReID | cb33f9c29fe398e7546db345fab1c338dda8252f | [
"MIT"
] | 5 | 2021-03-23T08:04:21.000Z | 2022-03-10T02:28:43.000Z | lreid/models/bnneck.py | TPCD/LifelongReID | cb33f9c29fe398e7546db345fab1c338dda8252f | [
"MIT"
] | 10 | 2021-04-30T11:14:10.000Z | 2022-03-18T16:44:55.000Z | import torch.nn as nn
def weights_init_kaiming(m):
classname = m.__class__.__name__
if classname.find('Linear') != -1:
nn.init.kaiming_normal_(m.weight, a=0, mode='fan_out')
nn.init.constant_(m.bias, 0.0)
elif classname.find('Conv') != -1:
nn.init.kaiming_normal_(m.weight, a=0, mode... | 30.021505 | 76 | 0.625358 | 385 | 2,792 | 4.251948 | 0.150649 | 0.045816 | 0.065974 | 0.047648 | 0.88821 | 0.88821 | 0.88821 | 0.875382 | 0.875382 | 0.875382 | 0 | 0.011063 | 0.255372 | 2,792 | 93 | 77 | 30.021505 | 0.776335 | 0.086676 | 0 | 0.693548 | 0 | 0 | 0.01502 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.129032 | false | 0 | 0.016129 | 0 | 0.290323 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f45635a9540b870e950641167a4637f4a65edb3 | 20 | py | Python | info/libs/__init__.py | gxz987/Dynamic_movie | ceb266dcb123cc2e51bda29a1da436e58b220be4 | [
"MIT"
] | null | null | null | info/libs/__init__.py | gxz987/Dynamic_movie | ceb266dcb123cc2e51bda29a1da436e58b220be4 | [
"MIT"
] | 6 | 2021-03-19T01:24:17.000Z | 2022-03-11T23:50:23.000Z | info/libs/__init__.py | bzg287288182/my-News | 01e581ec53e44a9ed7ab8be1bcd9ddf84795acff | [
"MIT"
] | null | null | null | # 将所有第三方的sdk放到libs中
| 10 | 19 | 0.85 | 1 | 20 | 17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 20 | 1 | 20 | 20 | 0.944444 | 0.85 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | 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 | 6 |
7f519a37c1fa2f17b836a67f368e18c090b6f4cd | 28 | py | Python | umbi/__init__.py | HyechurnJang/umbi | 521c422d870ffb9cdb300a04fde2858dba755dd0 | [
"Apache-2.0"
] | null | null | null | umbi/__init__.py | HyechurnJang/umbi | 521c422d870ffb9cdb300a04fde2858dba755dd0 | [
"Apache-2.0"
] | null | null | null | umbi/__init__.py | HyechurnJang/umbi | 521c422d870ffb9cdb300a04fde2858dba755dd0 | [
"Apache-2.0"
] | null | null | null |
from .model import UmbiAPI | 14 | 26 | 0.785714 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 26 | 14 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f9379f0b1aeea2f9bfbeb2ca0334578b560622a | 87 | py | Python | qm/__init__.py | MolSSI-SSS/QM_2017_SS_Team1 | 2598fc220e049adb830a35212309d30c4f131e39 | [
"BSD-3-Clause"
] | null | null | null | qm/__init__.py | MolSSI-SSS/QM_2017_SS_Team1 | 2598fc220e049adb830a35212309d30c4f131e39 | [
"BSD-3-Clause"
] | null | null | null | qm/__init__.py | MolSSI-SSS/QM_2017_SS_Team1 | 2598fc220e049adb830a35212309d30c4f131e39 | [
"BSD-3-Clause"
] | null | null | null | """
This is the base file of our QM functions
"""
from . import scf
from . import mp2
| 12.428571 | 41 | 0.678161 | 15 | 87 | 3.933333 | 0.866667 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.229885 | 87 | 6 | 42 | 14.5 | 0.865672 | 0.471264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7fadf3f93c438c179992db0b364bdfa49056fe88 | 27 | py | Python | src/euler_python_package/euler_python/medium/p277.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p277.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p277.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem277():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f6c7ad2016cc306ea75c8484bb6d93290ad3b761 | 49 | py | Python | src/sage/algebras/quatalg/all.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | 5 | 2015-01-04T07:15:06.000Z | 2022-03-04T15:15:18.000Z | src/sage/algebras/quatalg/all.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | null | null | null | src/sage/algebras/quatalg/all.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | 10 | 2016-09-28T13:12:40.000Z | 2022-02-12T09:28:34.000Z | from quaternion_algebra import QuaternionAlgebra
| 24.5 | 48 | 0.918367 | 5 | 49 | 8.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1009cd6b08c9f3276e8b10521e316745c97af25b | 45 | py | Python | autox/autox_ts/baseline/__init__.py | OneToolsCollection/4paradigm-AutoX | f8e838021354de17f5bb9bc44e9d68d12dda6427 | [
"Apache-2.0"
] | null | null | null | autox/autox_ts/baseline/__init__.py | OneToolsCollection/4paradigm-AutoX | f8e838021354de17f5bb9bc44e9d68d12dda6427 | [
"Apache-2.0"
] | null | null | null | autox/autox_ts/baseline/__init__.py | OneToolsCollection/4paradigm-AutoX | f8e838021354de17f5bb9bc44e9d68d12dda6427 | [
"Apache-2.0"
] | null | null | null | from .facebook_prophet import prophet_predict | 45 | 45 | 0.911111 | 6 | 45 | 6.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
63fd2c2e2e8b0e37becfdf0778194ef7e2148835 | 41 | py | Python | customized_dataset/a2o/__init__.py | pinjutien/gan | 5912f3e505f5c8c49b334a7692e37d154ff67c24 | [
"Apache-2.0"
] | 1 | 2022-03-08T10:15:40.000Z | 2022-03-08T10:15:40.000Z | customized_dataset/a2o/__init__.py | pinjutien/gan | 5912f3e505f5c8c49b334a7692e37d154ff67c24 | [
"Apache-2.0"
] | null | null | null | customized_dataset/a2o/__init__.py | pinjutien/gan | 5912f3e505f5c8c49b334a7692e37d154ff67c24 | [
"Apache-2.0"
] | null | null | null | """a2o dataset."""
from .a2o import A2o
| 10.25 | 20 | 0.634146 | 6 | 41 | 4.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.170732 | 41 | 3 | 21 | 13.666667 | 0.676471 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1216358b0b7bc20b4d95c949098a1cd2bd0eade4 | 116 | py | Python | paperbroker/adapters/accounts/__init__.py | yutiansut/paperbroker | 3b4124ee79532d4b56b5fd5e864ed2ca1f4f857e | [
"MIT"
] | 227 | 2017-07-14T19:10:04.000Z | 2022-03-23T01:29:46.000Z | paperbroker/adapters/accounts/__init__.py | KloudTrader/paperbroker | 85844b9841a9fced6ea66e137c33a13136cd5faf | [
"MIT"
] | 7 | 2017-07-14T01:59:49.000Z | 2021-05-19T06:10:55.000Z | paperbroker/adapters/accounts/__init__.py | KloudTrader/paperbroker | 85844b9841a9fced6ea66e137c33a13136cd5faf | [
"MIT"
] | 59 | 2017-07-15T06:55:56.000Z | 2022-03-22T21:20:22.000Z | from .AccountAdapter import AccountAdapter
from .LocalFileSystemAccountAdapter import LocalFileSystemAccountAdapter
| 38.666667 | 72 | 0.913793 | 8 | 116 | 13.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 116 | 2 | 73 | 58 | 0.981481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1248a3e4d30d6fd8dea719b7887b400d65883d70 | 96 | py | Python | venv/lib/python3.8/site-packages/pyflakes/test/harness.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pyflakes/test/harness.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pyflakes/test/harness.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/45/59/91/b6dbafb7d454301aa0560301b17f5bd55ff57266d64093c30ab0b04e49 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d6064b9346111928a7eed0ba2a361f30a88da03f | 27,138 | py | Python | pybind/slxos/v16r_1_00b/openflow_state/flow/flow_info_list/flow_action_list/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/openflow_state/flow/flow_info_list/flow_action_list/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/openflow_state/flow/flow_info_list/flow_action_list/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 66.678133 | 640 | 0.735132 | 3,716 | 27,138 | 5.083961 | 0.052476 | 0.041287 | 0.050392 | 0.055897 | 0.846919 | 0.822941 | 0.811931 | 0.808914 | 0.798751 | 0.794357 | 0 | 0.015304 | 0.137998 | 27,138 | 406 | 641 | 66.842365 | 0.792288 | 0.174589 | 0 | 0.469828 | 0 | 0.034483 | 0.361495 | 0.191661 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116379 | false | 0 | 0.034483 | 0 | 0.267241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d60bee1005049e0dd969f2f870ab4164bc1672b9 | 44 | py | Python | lib/game/__init__.py | codeallthethingz/battlesnake-server-2016 | a52cee26dc6383119b5ce7fd5721c3620aa3883c | [
"MIT"
] | null | null | null | lib/game/__init__.py | codeallthethingz/battlesnake-server-2016 | a52cee26dc6383119b5ce7fd5721c3620aa3883c | [
"MIT"
] | null | null | null | lib/game/__init__.py | codeallthethingz/battlesnake-server-2016 | a52cee26dc6383119b5ce7fd5721c3620aa3883c | [
"MIT"
] | 1 | 2018-11-17T17:59:18.000Z | 2018-11-17T17:59:18.000Z | from lib.models.game import Game, GameState
| 22 | 43 | 0.818182 | 7 | 44 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c3dfb71834b839e3ba87a8a347cd57f051588bb6 | 47 | py | Python | vega/algorithms/nas/modnas/optim/predefined/__init__.py | jie311/vega | 1bba6100ead802697e691403b951e6652a99ccae | [
"MIT"
] | 724 | 2020-06-22T12:05:30.000Z | 2022-03-31T07:10:54.000Z | vega/algorithms/nas/modnas/optim/predefined/__init__.py | jie311/vega | 1bba6100ead802697e691403b951e6652a99ccae | [
"MIT"
] | 147 | 2020-06-30T13:34:46.000Z | 2022-03-29T11:30:17.000Z | vega/algorithms/nas/modnas/optim/predefined/__init__.py | jie311/vega | 1bba6100ead802697e691403b951e6652a99ccae | [
"MIT"
] | 160 | 2020-06-29T18:27:58.000Z | 2022-03-23T08:42:21.000Z | from . import gridsearch, model_based, genetic
| 23.5 | 46 | 0.808511 | 6 | 47 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 1 | 47 | 47 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f1dd187fd1a9e2414e66ee666dc52285eecaa71 | 141 | py | Python | apps/mfa/backends/sms/admin.py | onyxhealth/safhir-vmi | 60ba90e9e8ba00347e0dc32e3061da5285df4ade | [
"Apache-2.0"
] | null | null | null | apps/mfa/backends/sms/admin.py | onyxhealth/safhir-vmi | 60ba90e9e8ba00347e0dc32e3061da5285df4ade | [
"Apache-2.0"
] | 9 | 2021-03-19T11:43:09.000Z | 2022-03-12T00:38:43.000Z | apps/mfa/backends/sms/admin.py | onyxhealth/safhir-vmi | 60ba90e9e8ba00347e0dc32e3061da5285df4ade | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import SMSDevice
@admin.register(SMSDevice)
class SMSDeviceAdmin(admin.ModelAdmin):
pass
| 17.625 | 39 | 0.801418 | 17 | 141 | 6.647059 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 141 | 7 | 40 | 20.142857 | 0.918699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
61a57c3f6917ab6a23604e318ae44da10840d311 | 31,043 | py | Python | diplomacy_research/models/self_play/reward_functions.py | wwongkamjan/dipnet_press | 787263c1b9484698904f525c8d78d0e333e1c0d9 | [
"MIT"
] | 39 | 2019-09-06T13:42:24.000Z | 2022-03-18T18:38:43.000Z | diplomacy_research/models/self_play/reward_functions.py | wwongkamjan/dipnet_press | 787263c1b9484698904f525c8d78d0e333e1c0d9 | [
"MIT"
] | 9 | 2019-09-19T22:35:32.000Z | 2022-02-24T18:04:57.000Z | diplomacy_research/models/self_play/reward_functions.py | wwongkamjan/dipnet_press | 787263c1b9484698904f525c8d78d0e333e1c0d9 | [
"MIT"
] | 8 | 2019-10-16T21:09:14.000Z | 2022-02-23T05:20:37.000Z | # ==============================================================================
# Copyright 2019 - Philip Paquette
#
# NOTICE: Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the "Software"),
# to deal in the Software without rest... | 52.4375 | 119 | 0.644654 | 4,108 | 31,043 | 4.696933 | 0.077653 | 0.049754 | 0.030837 | 0.020523 | 0.815807 | 0.798134 | 0.789013 | 0.770096 | 0.764602 | 0.761078 | 0 | 0.00768 | 0.282769 | 31,043 | 591 | 120 | 52.526227 | 0.858927 | 0.423542 | 0 | 0.694915 | 0 | 0 | 0.07048 | 0.010968 | 0 | 0 | 0 | 0 | 0.044068 | 1 | 0.098305 | false | 0 | 0.016949 | 0 | 0.322034 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4ee11286e12b09d7ad1914752ee7e12adfad8881 | 145 | py | Python | aoc2018/day1/day1_part1.py | GetPastTheMonkey/advent-of-code | db80be6d87baba4d5315cc69276905c55762da86 | [
"MIT"
] | 1 | 2019-09-15T16:37:24.000Z | 2019-09-15T16:37:24.000Z | aoc2018/day1/day1_part1.py | GetPastTheMonkey/advent-of-code | db80be6d87baba4d5315cc69276905c55762da86 | [
"MIT"
] | null | null | null | aoc2018/day1/day1_part1.py | GetPastTheMonkey/advent-of-code | db80be6d87baba4d5315cc69276905c55762da86 | [
"MIT"
] | null | null | null | from os.path import join, dirname, realpath
with open(join(dirname(realpath(__file__)), "input.txt")) as f:
print(sum([int(x) for x in f]))
| 29 | 63 | 0.689655 | 25 | 145 | 3.84 | 0.8 | 0.229167 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144828 | 145 | 4 | 64 | 36.25 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.062069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f61b05530c9751b643fd43ddbaae14af0c01fa33 | 138 | py | Python | graph/__init__.py | night-cruise/DataStructure-py | e7d46d488082d2c34fd0649687a70b63dc787f72 | [
"MIT"
] | 4 | 2021-07-29T16:56:46.000Z | 2022-03-02T03:21:50.000Z | graph/__init__.py | night-cruise/DataStructure-py | e7d46d488082d2c34fd0649687a70b63dc787f72 | [
"MIT"
] | 1 | 2021-07-07T16:36:01.000Z | 2021-12-02T07:51:17.000Z | graph/__init__.py | night-cruise/DataStructure-py | e7d46d488082d2c34fd0649687a70b63dc787f72 | [
"MIT"
] | 1 | 2021-11-27T13:16:22.000Z | 2021-11-27T13:16:22.000Z | #!/user/bin/python
# -*-coding:UTF-8-*-
from graph.graph_by_adjacency_list import Graph, Vertex
from graph.graph_has_dfs import DFSGraph | 23 | 55 | 0.782609 | 22 | 138 | 4.681818 | 0.727273 | 0.174757 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.094203 | 138 | 6 | 56 | 23 | 0.816 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6546b97eea8d460daacb2e7bdf2190eb5d4e5a1 | 24,078 | py | Python | chartools/genes.py | straightlab/chartools-dev | f8e3dad5f8a1ad2708076f445351918a98cdf26d | [
"MIT"
] | null | null | null | chartools/genes.py | straightlab/chartools-dev | f8e3dad5f8a1ad2708076f445351918a98cdf26d | [
"MIT"
] | null | null | null | chartools/genes.py | straightlab/chartools-dev | f8e3dad5f8a1ad2708076f445351918a98cdf26d | [
"MIT"
] | null | null | null | from . import analysis
import numpy as np
import pandas as pd
def geneify(df, tx_df):
if df.columns.nlevels>1:
tx_df_multiindex=tx_df.copy()
tx_df_multiindex.columns=pd.MultiIndex.from_product([tx_df.columns]+[['']]*(len(df.columns.levels)-1))
else:
tx_df_multiindex=tx_df
df_wi... | 48.349398 | 260 | 0.637927 | 3,665 | 24,078 | 3.999454 | 0.05839 | 0.025924 | 0.010097 | 0.02456 | 0.822077 | 0.789467 | 0.748601 | 0.733115 | 0.717765 | 0.712717 | 0 | 0.023402 | 0.146358 | 24,078 | 497 | 261 | 48.44668 | 0.689744 | 0.146108 | 0 | 0.536667 | 0 | 0 | 0.150384 | 0.009824 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043333 | false | 0 | 0.01 | 0 | 0.096667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f66fe9144ba98f9f4020e3ceea9ca36c4b217dbc | 175 | py | Python | ws/src/lab/src/py_ctrl/planner/__main__.py | Cobots-Kandidatarbete/cobots | 8186910e6d30569f95ed6ebe4645ba05ecc53864 | [
"MIT"
] | 2 | 2022-02-22T13:36:41.000Z | 2022-02-22T13:39:41.000Z | ws/src/lab/src/py_ctrl/planner/__main__.py | Cobots-Kandidatarbete/cobots | 8186910e6d30569f95ed6ebe4645ba05ecc53864 | [
"MIT"
] | null | null | null | ws/src/lab/src/py_ctrl/planner/__main__.py | Cobots-Kandidatarbete/cobots | 8186910e6d30569f95ed6ebe4645ba05ecc53864 | [
"MIT"
] | null | null | null | from predicates.state import State
from predicates import guards, actions
if __name__ == '__main__':
# run in terminal when venv is sourced: python3 -m planner
pass
| 21.875 | 62 | 0.742857 | 24 | 175 | 5.083333 | 0.833333 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.2 | 175 | 7 | 63 | 25 | 0.864286 | 0.32 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
9ca2edea4ef626f0a2f2626dae92c09cf03a2012 | 45,294 | py | Python | infertrade/algos/external/ta.py | pawkw/infertrade | 48231c2c026b4163291e299cd938969401ca6a4a | [
"Apache-2.0"
] | 1 | 2021-08-07T14:40:51.000Z | 2021-08-07T14:40:51.000Z | infertrade/algos/external/ta.py | pawkw/infertrade | 48231c2c026b4163291e299cd938969401ca6a4a | [
"Apache-2.0"
] | null | null | null | infertrade/algos/external/ta.py | pawkw/infertrade | 48231c2c026b4163291e299cd938969401ca6a4a | [
"Apache-2.0"
] | 1 | 2021-06-30T06:38:58.000Z | 2021-06-30T06:38:58.000Z | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under th... | 46.218367 | 157 | 0.630238 | 4,238 | 45,294 | 6.564417 | 0.108306 | 0.03954 | 0.050324 | 0.10266 | 0.827498 | 0.799389 | 0.794716 | 0.794716 | 0.734112 | 0.682674 | 0 | 0.096725 | 0.212523 | 45,294 | 979 | 158 | 46.265577 | 0.683245 | 0.023866 | 0 | 0.43344 | 0 | 0.124601 | 0.598076 | 0.076152 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00213 | false | 0 | 0.009585 | 0 | 0.013845 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9cc4c9187d743f7a028b6608e51e26c23ae907ea | 10,132 | py | Python | cpu/assembly.py | raining888/8-BitCPU | 1ec0665d07e0ee296ca657b0d4b6d2038d37437c | [
"MIT"
] | null | null | null | cpu/assembly.py | raining888/8-BitCPU | 1ec0665d07e0ee296ca657b0d4b6d2038d37437c | [
"MIT"
] | null | null | null | cpu/assembly.py | raining888/8-BitCPU | 1ec0665d07e0ee296ca657b0d4b6d2038d37437c | [
"MIT"
] | null | null | null | # coding=utf-8
import pin
FETCH = [
pin.PC_OUT | pin.MAR_IN,
pin.RAM_OUT | pin.IR_IN | pin.PC_INC,
pin.PC_OUT | pin.MAR_IN,
pin.RAM_OUT | pin.DST_IN | pin.PC_INC,
pin.PC_OUT | pin.MAR_IN,
pin.RAM_OUT | pin.SRC_IN | pin.PC_INC,
]
# 0b1xxx,只有3位,因此最多支持8条2地址指令
MOV = (0 << pin.ADDR2_SHIFT) | pin.A... | 30.244776 | 68 | 0.420944 | 1,401 | 10,132 | 2.744468 | 0.057102 | 0.145644 | 0.06658 | 0.091547 | 0.921717 | 0.797659 | 0.781534 | 0.772952 | 0.761248 | 0.689467 | 0 | 0.01702 | 0.454895 | 10,132 | 334 | 69 | 30.335329 | 0.67916 | 0.005034 | 0 | 0.64486 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000397 | 0 | 0 | 1 | 0 | false | 0 | 0.003115 | 0 | 0.003115 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9ccc6a9886e429cbd5fdaa548c1ff2a47256240f | 66 | py | Python | django_pymorphy2/shortcuts/__init__.py | semargal/django-pymorphy2 | 18fc34d5f56ad9f20aa2e15adc3eeb9bb578f3ce | [
"MIT"
] | null | null | null | django_pymorphy2/shortcuts/__init__.py | semargal/django-pymorphy2 | 18fc34d5f56ad9f20aa2e15adc3eeb9bb578f3ce | [
"MIT"
] | null | null | null | django_pymorphy2/shortcuts/__init__.py | semargal/django-pymorphy2 | 18fc34d5f56ad9f20aa2e15adc3eeb9bb578f3ce | [
"MIT"
] | null | null | null | from .forms import *
from .inflect import *
from .plural import *
| 16.5 | 22 | 0.727273 | 9 | 66 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 23 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1428e828a1500f465adc7971c96e763c73f12b4d | 10,395 | py | Python | tests/test_http_push.py | disruptive-technologies/python-integrations | 24798a2f26bfa661149311465fbe1f6ac12e5f79 | [
"MIT"
] | 1 | 2022-02-08T21:19:42.000Z | 2022-02-08T21:19:42.000Z | tests/test_http_push.py | disruptive-technologies/python-integrations | 24798a2f26bfa661149311465fbe1f6ac12e5f79 | [
"MIT"
] | null | null | null | tests/test_http_push.py | disruptive-technologies/python-integrations | 24798a2f26bfa661149311465fbe1f6ac12e5f79 | [
"MIT"
] | 1 | 2021-11-03T10:55:08.000Z | 2021-11-03T10:55:08.000Z | import pytest
import disruptive # type: ignore
from dtintegrations import data_connector, provider
import tests.events as events
from tests import framework
class TestHttpPush():
def test_decode_secret_empty_string(self):
with pytest.raises(disruptive.errors.ConfigurationError):
data_connec... | 34.534884 | 76 | 0.604425 | 1,037 | 10,395 | 5.851495 | 0.080039 | 0.062294 | 0.05356 | 0.082399 | 0.88151 | 0.861569 | 0.7912 | 0.784773 | 0.76269 | 0.76269 | 0 | 0.000543 | 0.290813 | 10,395 | 300 | 77 | 34.65 | 0.822572 | 0.129101 | 0 | 0.643902 | 0 | 0 | 0.042388 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 1 | 0.121951 | false | 0 | 0.02439 | 0 | 0.15122 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
149575de91d0942450375fcf1b49eff785cd6bd1 | 171 | py | Python | squid_wrap/squid_wrap_linux_codelite/alternate_use_python/negotiate_helper.py | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | squid_wrap/squid_wrap_linux_codelite/alternate_use_python/negotiate_helper.py | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | squid_wrap/squid_wrap_linux_codelite/alternate_use_python/negotiate_helper.py | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | #!/usr/bin/python3
import os
import sys
from wrap_squid_base import *
#----------------------------------------
if __name__ == '__main__':
wrap_squid_base('negotiate')
| 19 | 41 | 0.567251 | 19 | 171 | 4.473684 | 0.736842 | 0.211765 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.105263 | 171 | 8 | 42 | 21.375 | 0.54902 | 0.333333 | 0 | 0 | 0 | 0 | 0.151786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
14ae6a9bd6431f203bcc73ec2a3afac621f436e6 | 44 | py | Python | eddn/database/__init__.py | Athanasius/eddn-listener | 90ea17676ff0cdbc5264cd1af5a7fd177b187d8e | [
"MIT"
] | null | null | null | eddn/database/__init__.py | Athanasius/eddn-listener | 90ea17676ff0cdbc5264cd1af5a7fd177b187d8e | [
"MIT"
] | null | null | null | eddn/database/__init__.py | Athanasius/eddn-listener | 90ea17676ff0cdbc5264cd1af5a7fd177b187d8e | [
"MIT"
] | 3 | 2017-09-03T18:06:56.000Z | 2021-05-15T14:00:48.000Z | from eddn.database.database import database
| 22 | 43 | 0.863636 | 6 | 44 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
21075165920aaacf9694694ecae8afd23c0c261f | 26 | py | Python | PwStrength/__init__.py | dylanfmarquis/PwStrength | 02508c6c52ca0aa8499f5c6915d2a4478733edfa | [
"MIT"
] | null | null | null | PwStrength/__init__.py | dylanfmarquis/PwStrength | 02508c6c52ca0aa8499f5c6915d2a4478733edfa | [
"MIT"
] | null | null | null | PwStrength/__init__.py | dylanfmarquis/PwStrength | 02508c6c52ca0aa8499f5c6915d2a4478733edfa | [
"MIT"
] | null | null | null | from .PwStrength import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2107818059992566e8fa2a0d29b8fdab60fa3c3e | 167 | py | Python | office365/directory/subscriptions/change_notification.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 544 | 2016-08-04T17:10:16.000Z | 2022-03-31T07:17:20.000Z | office365/directory/subscriptions/change_notification.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 438 | 2016-10-11T12:24:22.000Z | 2022-03-31T19:30:35.000Z | office365/directory/subscriptions/change_notification.py | theodoriss/Office365-REST-Python-Client | 3bd7a62dadcd3f0a0aceeaff7584fff3fd44886e | [
"MIT"
] | 202 | 2016-08-22T19:29:40.000Z | 2022-03-30T20:26:15.000Z | from office365.runtime.client_value import ClientValue
class ChangeNotification(ClientValue):
"""Represents the notification sent to the subscriber."""
pass
| 23.857143 | 61 | 0.784431 | 18 | 167 | 7.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020979 | 0.143713 | 167 | 6 | 62 | 27.833333 | 0.888112 | 0.305389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
210c4a91a331a212f1a20710f7316f43604d02f9 | 6,405 | py | Python | s3prl/pretrain/bucket_dataset.py | czlwang/s3prl | 81d4bb8d051cee20fa87c083b8478999e1766172 | [
"Apache-2.0"
] | null | null | null | s3prl/pretrain/bucket_dataset.py | czlwang/s3prl | 81d4bb8d051cee20fa87c083b8478999e1766172 | [
"Apache-2.0"
] | null | null | null | s3prl/pretrain/bucket_dataset.py | czlwang/s3prl | 81d4bb8d051cee20fa87c083b8478999e1766172 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*- #
"""*********************************************************************************************"""
# FileName [ pretrain/bucket_dataset.py ]
# Synopsis [ the general acoustic dataset with bucketing ]
# Author1 [ Andy T. Liu (https://github.com/andi611) ]
# Author2 [ ... | 34.251337 | 109 | 0.542233 | 781 | 6,405 | 4.252241 | 0.204866 | 0.036134 | 0.077085 | 0.04336 | 0.813008 | 0.794941 | 0.794941 | 0.794941 | 0.794941 | 0.794941 | 0 | 0.008599 | 0.31007 | 6,405 | 186 | 110 | 34.435484 | 0.742928 | 0.162529 | 0 | 0.55 | 0 | 0 | 0.091104 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 1 | 0.066667 | false | 0 | 0.05 | 0.016667 | 0.2 | 0.05 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dcc62bf05d75cda0375c6341ee6eb65f00d57d73 | 86 | py | Python | web/about/services.py | Mikhail-Gorelov/django-blog-master | 7fd18f228f795773abb8228999d8e331dcfcf619 | [
"MIT"
] | null | null | null | web/about/services.py | Mikhail-Gorelov/django-blog-master | 7fd18f228f795773abb8228999d8e331dcfcf619 | [
"MIT"
] | 1 | 2022-03-28T08:23:26.000Z | 2022-03-28T08:23:26.000Z | web/about/services.py | Mikhail-Gorelov/django-blog-master | 7fd18f228f795773abb8228999d8e331dcfcf619 | [
"MIT"
] | 1 | 2022-01-06T15:14:21.000Z | 2022-01-06T15:14:21.000Z | from django.conf import settings
from . import models
class AboutService:
pass
| 10.75 | 32 | 0.755814 | 11 | 86 | 5.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 86 | 7 | 33 | 12.285714 | 0.955882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
dccad664d351f5797369e6b140e8716eaaf6c361 | 49,802 | py | Python | models.py | yuangan/A2L | 8cbc9b5f368924c8c75cbab53e9bb10dcf265c7e | [
"MIT"
] | null | null | null | models.py | yuangan/A2L | 8cbc9b5f368924c8c75cbab53e9bb10dcf265c7e | [
"MIT"
] | null | null | null | models.py | yuangan/A2L | 8cbc9b5f368924c8c75cbab53e9bb10dcf265c7e | [
"MIT"
] | null | null | null | """
StarGAN v2
Copyright (c) 2020-present NAVER Corp.
This work is licensed under the Creative Commons Attribution-NonCommercial
4.0 International License. To view a copy of this license, visit
http://creativecommons.org/licenses/by-nc/4.0/ or send a letter to
Creative Commons, PO Box 1866, Mountain View, CA 94042, USA... | 40.955592 | 181 | 0.610518 | 6,664 | 49,802 | 4.337035 | 0.057323 | 0.023666 | 0.013079 | 0.022421 | 0.857968 | 0.83316 | 0.807245 | 0.788285 | 0.776175 | 0.759532 | 0 | 0.035041 | 0.268242 | 49,802 | 1,215 | 182 | 40.9893 | 0.758033 | 0.185956 | 0 | 0.674224 | 0 | 0 | 0.007741 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089499 | false | 0.00358 | 0.013126 | 0.00358 | 0.195704 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dccb7322428ca7a43841d4d76d013c0e86108eeb | 49 | py | Python | avro_to_python/reader/__init__.py | isenilov/avro-to-python | bacb3e6eb8bb09bb0a4702f6a5f48a3ef89e11f2 | [
"MIT"
] | 16 | 2020-01-03T19:57:52.000Z | 2022-02-18T05:50:30.000Z | avro_to_python/reader/__init__.py | isenilov/avro-to-python | bacb3e6eb8bb09bb0a4702f6a5f48a3ef89e11f2 | [
"MIT"
] | 4 | 2021-07-01T22:53:30.000Z | 2022-02-02T04:14:59.000Z | avro_to_python/reader/__init__.py | isenilov/avro-to-python | bacb3e6eb8bb09bb0a4702f6a5f48a3ef89e11f2 | [
"MIT"
] | 8 | 2020-06-02T13:55:59.000Z | 2022-02-18T03:21:40.000Z | from avro_to_python.reader.read import AvscReader | 49 | 49 | 0.897959 | 8 | 49 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dceefb7a71daeaf00642fa91c531e394515a7db0 | 39 | py | Python | tools/logger/modules/tirtos/__init__.py | ti-simplelink/swol | 331fd1096c643297505da010aff979f6c7baf02b | [
"BSD-3-Clause"
] | 5 | 2020-04-16T00:38:14.000Z | 2022-02-10T12:47:14.000Z | tools/logger/modules/tirtos/__init__.py | ti-simplelink/swol | 331fd1096c643297505da010aff979f6c7baf02b | [
"BSD-3-Clause"
] | null | null | null | tools/logger/modules/tirtos/__init__.py | ti-simplelink/swol | 331fd1096c643297505da010aff979f6c7baf02b | [
"BSD-3-Clause"
] | 1 | 2020-04-27T21:47:17.000Z | 2020-04-27T21:47:17.000Z | from .tirtos_framer import TIRTOSFramer | 39 | 39 | 0.897436 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b4aee1f9a5a747c516bbc121fca8809521365831 | 221 | py | Python | tests/test_sphinx_build.py | Shimwell/sphinxcadquery | 917dedfe0dd7a4aae092922b1a3c0f323c099dc4 | [
"BSD-3-Clause"
] | 10 | 2019-02-19T22:42:13.000Z | 2021-01-31T21:49:24.000Z | tests/test_sphinx_build.py | Shimwell/sphinxcadquery | 917dedfe0dd7a4aae092922b1a3c0f323c099dc4 | [
"BSD-3-Clause"
] | 29 | 2019-02-20T22:14:58.000Z | 2021-05-17T19:39:12.000Z | tests/test_sphinx_build.py | Shimwell/sphinxcadquery | 917dedfe0dd7a4aae092922b1a3c0f323c099dc4 | [
"BSD-3-Clause"
] | 4 | 2019-10-02T01:01:14.000Z | 2021-05-16T11:54:02.000Z |
import subprocess
def test_building_example_docs():
"""Builds documentation that contains a few example use cases"""
subprocess.check_output(['sphinx-build', '-b', 'html', './tests/example', './build/html/'])
| 24.555556 | 95 | 0.696833 | 27 | 221 | 5.555556 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135747 | 221 | 8 | 96 | 27.625 | 0.78534 | 0.262443 | 0 | 0 | 0 | 0 | 0.294872 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3714fd5217eb34bd75762d64093b507caf61b3bf | 241 | py | Python | tps/modules/__init__.py | dmzubr/sova-tts-tps | a2187cc975978739f1f37e11e5017537942c9c5b | [
"Apache-2.0"
] | null | null | null | tps/modules/__init__.py | dmzubr/sova-tts-tps | a2187cc975978739f1f37e11e5017537942c9c5b | [
"Apache-2.0"
] | null | null | null | tps/modules/__init__.py | dmzubr/sova-tts-tps | a2187cc975978739f1f37e11e5017537942c9c5b | [
"Apache-2.0"
] | null | null | null | from tps.modules.processor import Processor
from tps.modules.emphasizer.rule_based import Emphasizer
from tps.modules.phonetizer.rule_based.independent import Phonetizer
from tps.modules.phonetizer.rule_based.russian import RUglyPhonetizer | 40.166667 | 69 | 0.875519 | 32 | 241 | 6.5 | 0.375 | 0.134615 | 0.269231 | 0.230769 | 0.317308 | 0.317308 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070539 | 241 | 6 | 69 | 40.166667 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e94ce78f3da0fb94ab374b44ad935857677ba87 | 183 | py | Python | gimmebio/stat_strains/gimmebio/stat_strains/__init__.py | Chandrima-04/gimmebio | cb3e66380006d5c5c00ff70bfb87317dd252c312 | [
"MIT"
] | 3 | 2020-01-21T23:49:55.000Z | 2020-07-29T17:02:30.000Z | gimmebio/stat_strains/gimmebio/stat_strains/__init__.py | Chandrima-04/gimmebio | cb3e66380006d5c5c00ff70bfb87317dd252c312 | [
"MIT"
] | null | null | null | gimmebio/stat_strains/gimmebio/stat_strains/__init__.py | Chandrima-04/gimmebio | cb3e66380006d5c5c00ff70bfb87317dd252c312 | [
"MIT"
] | 4 | 2020-01-21T16:48:17.000Z | 2020-03-13T15:34:52.000Z |
from .api import (
entropy_reduce_position_matrix,
entropy_reduce_postion_matrices,
parallel_entropy_reduce_postion_matrices,
fast_entropy_reduce_postion_matrices,
)
| 22.875 | 45 | 0.819672 | 21 | 183 | 6.47619 | 0.52381 | 0.382353 | 0.441176 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142077 | 183 | 7 | 46 | 26.142857 | 0.866242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2e9cf5b76cf9c2fddcdbe2a9d3ac32112b6534b4 | 66 | py | Python | py_tdlib/constructors/test_use_update.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/test_use_update.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/test_use_update.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Method
class testUseUpdate(Method):
pass
| 11 | 28 | 0.772727 | 8 | 66 | 6.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 66 | 5 | 29 | 13.2 | 0.910714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2ea0c230f0c47c8e9849c97dec3f0b66a69bc5b9 | 82 | py | Python | tests/test_import.py | flywire/pdf_statement_reader | f0e91a4b9a48ea4ef043000bcffba2f5ceff4a52 | [
"MIT"
] | 20 | 2019-04-19T07:07:04.000Z | 2022-01-02T22:17:08.000Z | tests/test_import.py | flywire/pdf_statement_reader | f0e91a4b9a48ea4ef043000bcffba2f5ceff4a52 | [
"MIT"
] | 27 | 2019-09-25T16:50:03.000Z | 2022-03-28T17:27:37.000Z | tests/test_import.py | flywire/pdf_statement_reader | f0e91a4b9a48ea4ef043000bcffba2f5ceff4a52 | [
"MIT"
] | 11 | 2020-06-02T13:48:18.000Z | 2022-02-02T19:36:20.000Z | import pdf_statement_reader # noqa: F401
def test_import():
assert True
| 13.666667 | 44 | 0.707317 | 11 | 82 | 5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.231707 | 82 | 5 | 45 | 16.4 | 0.825397 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ea33de24af97341d6f075709767f3e74a2b83eb | 42 | py | Python | bengali_stemmer/mahmud2014/__init__.py | AwesomeGitHubRepos/bengali-stemmer | 6640fadc499b249e0532a9ff7889fb2146901e71 | [
"MIT"
] | 22 | 2017-07-03T17:42:25.000Z | 2021-09-14T11:22:54.000Z | bengali_stemmer/mahmud2014/__init__.py | abhik1505040/bengali-stemmer | 375186caee8e50e3260dd6bc02d20d50277f3e39 | [
"MIT"
] | 3 | 2018-08-04T07:26:27.000Z | 2021-12-01T08:48:00.000Z | bengali_stemmer/mahmud2014/__init__.py | abhik1505040/bengali-stemmer | 375186caee8e50e3260dd6bc02d20d50277f3e39 | [
"MIT"
] | 16 | 2017-11-21T06:22:26.000Z | 2021-06-24T18:37:38.000Z | from .verb import stem_verb # noqa: F401
| 21 | 41 | 0.738095 | 7 | 42 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.190476 | 42 | 1 | 42 | 42 | 0.794118 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2eee3f95099badd41cdea40bcfa6fc7fd01ea8fd | 26 | py | Python | thinc_apple_ops/__init__.py | adrianeboyd/thinc-apple-ops | 2d4a2c25af598db41944f51d6cd0000b011ca543 | [
"MIT"
] | 60 | 2021-09-28T18:47:28.000Z | 2022-03-22T04:52:17.000Z | thinc_apple_ops/__init__.py | adrianeboyd/thinc-apple-ops | 2d4a2c25af598db41944f51d6cd0000b011ca543 | [
"MIT"
] | 4 | 2021-09-28T19:17:06.000Z | 2022-01-23T11:47:30.000Z | thinc_apple_ops/__init__.py | adrianeboyd/thinc-apple-ops | 2d4a2c25af598db41944f51d6cd0000b011ca543 | [
"MIT"
] | 6 | 2021-08-05T09:38:13.000Z | 2022-03-26T11:06:43.000Z | from .ops import AppleOps
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
258866b733bff477099bce9f64734cb831688525 | 31 | py | Python | app/__init__.py | Ghelfi/DashSideBar | e4d8bce49511e36d4cc5e69ed07e3f02e213d63e | [
"MIT"
] | null | null | null | app/__init__.py | Ghelfi/DashSideBar | e4d8bce49511e36d4cc5e69ed07e3f02e213d63e | [
"MIT"
] | null | null | null | app/__init__.py | Ghelfi/DashSideBar | e4d8bce49511e36d4cc5e69ed07e3f02e213d63e | [
"MIT"
] | null | null | null | from .app_basics import get_app | 31 | 31 | 0.870968 | 6 | 31 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.