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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7fb0bddb6064c4627767026eb19e1832db232e31 | 27 | py | Python | AstroSynthWrappers/PTF/__init__.py | tboudreaux/AstroSynthWrappers | 96b47a49bcbc2cdd445d3039544a5e39f81aa237 | [
"MIT"
] | 1 | 2018-03-06T23:17:17.000Z | 2018-03-06T23:17:17.000Z | AstroSynthWrappers/PTF/__init__.py | AstroSynth/AstroSynthWrappers | 96b47a49bcbc2cdd445d3039544a5e39f81aa237 | [
"MIT"
] | null | null | null | AstroSynthWrappers/PTF/__init__.py | AstroSynth/AstroSynthWrappers | 96b47a49bcbc2cdd445d3039544a5e39f81aa237 | [
"MIT"
] | null | null | null | from .ptf import PTFAstroSL | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.958333 | 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 |
f6addbc789d7333f4d59e28cd6a8c364a3d30ae0 | 47 | py | Python | app/settings/homolog.py | LIhDi/python-atendimento-agendamento-back-end | affb722440678415d1d6293e84be3f1743c915b7 | [
"MIT"
] | null | null | null | app/settings/homolog.py | LIhDi/python-atendimento-agendamento-back-end | affb722440678415d1d6293e84be3f1743c915b7 | [
"MIT"
] | null | null | null | app/settings/homolog.py | LIhDi/python-atendimento-agendamento-back-end | affb722440678415d1d6293e84be3f1743c915b7 | [
"MIT"
] | null | null | null | import multiprocessing
from .staging import *
| 11.75 | 22 | 0.808511 | 5 | 47 | 7.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 3 | 23 | 15.666667 | 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 |
f6b9cf469b6b6410202944536b3d8b36bc7c98df | 156 | py | Python | splintr/benchmarks/__init__.py | splintr-ml/splintr | b9857bb291bcf34cd6ee90ad3e76fb1469e22fc6 | [
"Apache-2.0"
] | 2 | 2020-07-18T15:36:18.000Z | 2020-07-18T20:35:06.000Z | splintr/benchmarks/__init__.py | vsrin1/splintr | 218a268dd8cc3aa02e1adc69ab556922f6e01a11 | [
"Apache-2.0"
] | null | null | null | splintr/benchmarks/__init__.py | vsrin1/splintr | 218a268dd8cc3aa02e1adc69ab556922f6e01a11 | [
"Apache-2.0"
] | 2 | 2020-07-18T15:38:19.000Z | 2020-07-18T20:35:10.000Z | __all__ = ['data_loader', 'models', 'benchmark']
import splintr.benchmarks.data_loader
import splintr.benchmarks.models
import splintr.benchmarks.benchmark
| 31.2 | 48 | 0.820513 | 18 | 156 | 6.777778 | 0.444444 | 0.319672 | 0.565574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070513 | 156 | 4 | 49 | 39 | 0.841379 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6bd8883de66c23f9be8d07628649de1b2b7bc4d | 29 | py | Python | pricey/__init__.py | gem763/pricey | 4a952f00962619fc7675981674ab0758a97c302d | [
"MIT"
] | null | null | null | pricey/__init__.py | gem763/pricey | 4a952f00962619fc7675981674ab0758a97c302d | [
"MIT"
] | null | null | null | pricey/__init__.py | gem763/pricey | 4a952f00962619fc7675981674ab0758a97c302d | [
"MIT"
] | null | null | null | from pricey.api import Pricer | 29 | 29 | 0.862069 | 5 | 29 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6c084909dcb533932db54ef61038417e55cc044 | 63 | py | Python | dir1/test_file4.py | arorachetan/carora1 | 0e9970fca8944040abab8f191d66cbba7ac83631 | [
"Apache-2.0"
] | null | null | null | dir1/test_file4.py | arorachetan/carora1 | 0e9970fca8944040abab8f191d66cbba7ac83631 | [
"Apache-2.0"
] | null | null | null | dir1/test_file4.py | arorachetan/carora1 | 0e9970fca8944040abab8f191d66cbba7ac83631 | [
"Apache-2.0"
] | null | null | null | from netmiko import Connecthandler
from getpass import getpass
| 21 | 34 | 0.873016 | 8 | 63 | 6.875 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 35 | 31.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f6ed937f3dda1cb8a002cf10c7bfd465acad0398 | 31 | py | Python | emeraldtree/ElementTree.py | rossjones/emeraldtree | f6b279ee14a61910d8760883de2003f6a6b99f2a | [
"MIT"
] | 2 | 2018-11-19T22:19:34.000Z | 2021-01-18T00:58:41.000Z | emeraldtree/ElementTree.py | rossjones/emeraldtree | f6b279ee14a61910d8760883de2003f6a6b99f2a | [
"MIT"
] | 1 | 2021-04-23T20:49:25.000Z | 2021-04-23T20:49:25.000Z | emeraldtree/ElementTree.py | rossjones/emeraldtree | f6b279ee14a61910d8760883de2003f6a6b99f2a | [
"MIT"
] | 4 | 2018-11-19T22:19:52.000Z | 2021-04-22T11:00:08.000Z | from emeraldtree.tree import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 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 |
f6f042c999ab2c0086435ac3ddd2e15b766940dc | 41 | py | Python | lltk/corpus/chadwyck_drama/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | 5 | 2021-03-15T21:05:06.000Z | 2022-03-04T10:52:16.000Z | lltk/corpus/chadwyck_drama/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | 1 | 2021-05-04T17:01:47.000Z | 2021-05-10T15:14:55.000Z | lltk/corpus/chadwyck_drama/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | null | null | null | from .chadwyck_drama import ChadwyckDrama | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 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 |
f6f73d8e9b4d8fd6b24dee792d5f121fc0a83c5b | 103 | py | Python | django_project/virtualornithology/birds/processors.py | carnby/aurora | f31e3de28694fd5763643d90ee91e99a55d4ec97 | [
"MIT"
] | 8 | 2016-02-25T13:48:10.000Z | 2020-06-06T07:23:30.000Z | django_project/virtualornithology/birds/processors.py | carnby/aurora | f31e3de28694fd5763643d90ee91e99a55d4ec97 | [
"MIT"
] | null | null | null | django_project/virtualornithology/birds/processors.py | carnby/aurora | f31e3de28694fd5763643d90ee91e99a55d4ec97 | [
"MIT"
] | 2 | 2016-03-07T11:54:59.000Z | 2020-06-06T07:23:31.000Z | from django.conf import settings
def ornithology_context(request):
return settings.AURORA_SETTINGS | 25.75 | 35 | 0.834951 | 13 | 103 | 6.461538 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 4 | 35 | 25.75 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
89c1020e26fc52f24d88c800d6a92eb9e0c1ccac | 344 | py | Python | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_08_09GelatinBox.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_08_09GelatinBox.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_08_09GelatinBox.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = "./FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_Pbr_01_02MasterChefCan.py"
OUTPUT_DIR = "output/deepim/ycbvPbrSO/FlowNet512_1.5AugCosyAAEGray_NoiseRandom_AggressiveR_ClipGrad_fxfy1_Dtw01_LogDz_PM10_Flat_ycbvPbr_SO/08_09GelatinBox"
DATASETS = dict(TRAIN=("ycbv_009_ge... | 86 | 155 | 0.90407 | 45 | 344 | 6.2 | 0.688889 | 0.078853 | 0.18638 | 0.265233 | 0.566308 | 0.566308 | 0.566308 | 0.566308 | 0.566308 | 0.566308 | 0 | 0.092537 | 0.026163 | 344 | 3 | 156 | 114.666667 | 0.740299 | 0 | 0 | 0 | 0 | 0 | 0.834302 | 0.834302 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d62765063ad39d2a94511c9897840fb54a98849c | 141 | py | Python | quiz_1/team_manager.py | MrDDaye/cna_cp1855 | 5b83f5877d373e9499e379ba93b04c394c13db5f | [
"MIT"
] | null | null | null | quiz_1/team_manager.py | MrDDaye/cna_cp1855 | 5b83f5877d373e9499e379ba93b04c394c13db5f | [
"MIT"
] | null | null | null | quiz_1/team_manager.py | MrDDaye/cna_cp1855 | 5b83f5877d373e9499e379ba93b04c394c13db5f | [
"MIT"
] | null | null | null | """Start the team manager program"""
from src.operations import start_team_manager
if __name__ == "__main__":
start_team_manager() | 23.5 | 46 | 0.730496 | 18 | 141 | 5.055556 | 0.666667 | 0.362637 | 0.351648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 141 | 6 | 47 | 23.5 | 0.777778 | 0.212766 | 0 | 0 | 0 | 0 | 0.079208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d65b238a6a0da7cc6a875e2bc208bc91273eb79a | 103 | py | Python | src/osmium/__init__.py | adamfranco/pyosmium | f36fa2e8fa8bf80539e6124cc7c0bed7ccca2097 | [
"BSD-2-Clause"
] | null | null | null | src/osmium/__init__.py | adamfranco/pyosmium | f36fa2e8fa8bf80539e6124cc7c0bed7ccca2097 | [
"BSD-2-Clause"
] | 19 | 2017-07-04T14:36:26.000Z | 2018-12-04T15:15:33.000Z | src/scripts/extract routes/osmium/__init__.py | oSoc17/rideaway-backend | f77a58c75d4ce69dbed620c2098654c17d7a37a7 | [
"MIT"
] | null | null | null | from osmium._osmium import *
import osmium.io
import osmium.osm
import osmium.index
import osmium.geom
| 17.166667 | 28 | 0.825243 | 16 | 103 | 5.25 | 0.4375 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 5 | 29 | 20.6 | 0.923077 | 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 |
c3e94b26ecbbb500bc4a273c8f229ee5cb4363f9 | 307 | py | Python | pyscf/prop/nmr/__init__.py | nmardirossian/pyscf | 57c8912dcfcc1157a822feede63df54ed1067115 | [
"BSD-2-Clause"
] | 1 | 2018-05-02T19:55:30.000Z | 2018-05-02T19:55:30.000Z | pyscf/prop/nmr/__init__.py | nmardirossian/pyscf | 57c8912dcfcc1157a822feede63df54ed1067115 | [
"BSD-2-Clause"
] | null | null | null | pyscf/prop/nmr/__init__.py | nmardirossian/pyscf | 57c8912dcfcc1157a822feede63df54ed1067115 | [
"BSD-2-Clause"
] | 1 | 2018-12-06T03:10:50.000Z | 2018-12-06T03:10:50.000Z | #!/usr/bin/env python
# -*- coding: utf-8
# Author: Qiming Sun <osirpt.sun@gmail.com>
from pyscf.prop.nmr import rhf
from pyscf.prop.nmr import dhf
from pyscf.prop.nmr import rks
from pyscf.prop.nmr.rhf import NMR as RHF
from pyscf.prop.nmr.dhf import NMR as DHF
from pyscf.prop.nmr.rks import NMR as RKS
| 25.583333 | 43 | 0.752443 | 59 | 307 | 3.915254 | 0.372881 | 0.233766 | 0.337662 | 0.415584 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003788 | 0.140065 | 307 | 11 | 44 | 27.909091 | 0.871212 | 0.260586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c3fcdb3bc191856e7a866acbdbaf2d417e0892b4 | 109 | py | Python | newapi/tests/unit/test_countries.py | cyBerta/api | af8e15a800ffc272799a269f4801cbdd174d0c43 | [
"BSD-3-Clause"
] | 17 | 2018-08-23T11:47:27.000Z | 2021-10-03T05:21:06.000Z | newapi/tests/unit/test_countries.py | cyBerta/api | af8e15a800ffc272799a269f4801cbdd174d0c43 | [
"BSD-3-Clause"
] | 123 | 2018-05-03T13:28:42.000Z | 2022-02-22T17:13:33.000Z | newapi/tests/unit/test_countries.py | cyBerta/api | af8e15a800ffc272799a269f4801cbdd174d0c43 | [
"BSD-3-Clause"
] | 8 | 2019-03-23T20:04:11.000Z | 2021-12-07T22:44:04.000Z | from ooniapi.countries import lookup_country
def test_lookup():
assert lookup_country("IT") == "Italy"
| 18.166667 | 44 | 0.743119 | 14 | 109 | 5.571429 | 0.785714 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 109 | 5 | 45 | 21.8 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.06422 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7f078a47d4a10fd131bd08efc687a087a112fb72 | 3,175 | py | Python | test_autogalaxy/analysis/test_clump_model.py | Jammy2211/PyAutoModel | 02f54e71900de9ec12c9070dc00a4bd001b25afa | [
"MIT"
] | 4 | 2019-10-29T13:27:23.000Z | 2020-03-24T11:13:35.000Z | test_autogalaxy/analysis/test_clump_model.py | Jammy2211/PyAutoModel | 02f54e71900de9ec12c9070dc00a4bd001b25afa | [
"MIT"
] | null | null | null | test_autogalaxy/analysis/test_clump_model.py | Jammy2211/PyAutoModel | 02f54e71900de9ec12c9070dc00a4bd001b25afa | [
"MIT"
] | 3 | 2020-02-12T10:29:59.000Z | 2020-03-24T11:13:53.000Z | import autofit as af
import autogalaxy as ag
def test__clumps():
centres = ag.Grid2DIrregular(grid=[(1.0, 1.0)])
clump_model = ag.ClumpModel(
redshift=0.5, centres=centres, light_cls=ag.lp.SphSersic
)
clumps = clump_model.clumps
assert clumps["clump_0"].redshift == 0.5
... | 30.528846 | 89 | 0.656378 | 433 | 3,175 | 4.595843 | 0.094688 | 0.078392 | 0.108543 | 0.117588 | 0.897487 | 0.857789 | 0.788945 | 0.767337 | 0.713065 | 0.707035 | 0 | 0.040719 | 0.211024 | 3,175 | 103 | 90 | 30.825243 | 0.753693 | 0 | 0 | 0.625 | 0 | 0 | 0.062174 | 0 | 0 | 0 | 0 | 0 | 0.361111 | 1 | 0.055556 | false | 0 | 0.027778 | 0 | 0.083333 | 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 |
6155aa50942dcb7dee79c2c97b6c482f232fce1f | 128 | py | Python | Python/PreenchimentoDeVetor.py | jacksontenorio8/python | a484f019960faa5aa29177eff44a1bb1e3f3b9d0 | [
"MIT"
] | null | null | null | Python/PreenchimentoDeVetor.py | jacksontenorio8/python | a484f019960faa5aa29177eff44a1bb1e3f3b9d0 | [
"MIT"
] | null | null | null | Python/PreenchimentoDeVetor.py | jacksontenorio8/python | a484f019960faa5aa29177eff44a1bb1e3f3b9d0 | [
"MIT"
] | null | null | null | N=[0,0,0,0,0,0,0,0,0,0]
v= int(input())
for i in range(len(N)):
N[i] = v
v = v*2
print('N[{}] = {}'.format(i,N[i])) | 18.285714 | 38 | 0.4375 | 32 | 128 | 1.75 | 0.40625 | 0.321429 | 0.428571 | 0.5 | 0.178571 | 0.178571 | 0.178571 | 0.178571 | 0.178571 | 0 | 0 | 0.11 | 0.21875 | 128 | 7 | 38 | 18.285714 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0.077519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
615b4eba27b5704169c04c1496ff559b88a7b4f6 | 3,067 | py | Python | tests/webapp/test_app_list.py | basbloemsaat/dartsense | 3114a3b73861baf9cf0019a9a2454d7f38e67af1 | [
"MIT"
] | null | null | null | tests/webapp/test_app_list.py | basbloemsaat/dartsense | 3114a3b73861baf9cf0019a9a2454d7f38e67af1 | [
"MIT"
] | 5 | 2018-03-16T09:59:05.000Z | 2019-02-10T21:55:03.000Z | tests/webapp/test_app_list.py | basbloemsaat/dartsense | 3114a3b73861baf9cf0019a9a2454d7f38e67af1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import pytest
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), "../../lib/"))
import re
from dartsense.webapp import app as tl_app
tl_app.config['DEBUG'] = True
tl_app.config['TESTING'] = True
@pytest.fixture
def app(setup_db):
return tl_app
def login(client... | 26.213675 | 91 | 0.672318 | 408 | 3,067 | 4.884804 | 0.178922 | 0.103864 | 0.138485 | 0.176618 | 0.755143 | 0.755143 | 0.753638 | 0.753638 | 0.714501 | 0.65429 | 0 | 0.044551 | 0.180306 | 3,067 | 116 | 92 | 26.439655 | 0.74821 | 0.006847 | 0 | 0.679487 | 0 | 0 | 0.194745 | 0.057143 | 0 | 0 | 0 | 0 | 0.282051 | 1 | 0.115385 | false | 0 | 0.064103 | 0.012821 | 0.192308 | 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 |
61630a4e8d9b347dce7e8a58c7e277dfd317fe2e | 289 | py | Python | test/test_boto.py | Nordstrom/nordata | 935b58f5bcdf100a9211db3bbe7d98a332c81158 | [
"Apache-2.0"
] | 5 | 2019-01-08T20:47:23.000Z | 2020-03-26T02:49:54.000Z | test/test_boto.py | Nordstrom/nordata | 935b58f5bcdf100a9211db3bbe7d98a332c81158 | [
"Apache-2.0"
] | 3 | 2020-02-04T18:52:40.000Z | 2020-03-31T00:54:05.000Z | test/test_boto.py | Nordstrom/nordata | 935b58f5bcdf100a9211db3bbe7d98a332c81158 | [
"Apache-2.0"
] | 2 | 2021-06-13T22:47:36.000Z | 2022-02-26T12:52:01.000Z | # TODO: write boto_get_creds() tests (types, errors, and str contents)
import boto3
from ..nordata import _boto as bt
def test_boto_create_session_type():
# test whether _create_session() returns the proper type
assert isinstance(bt.boto_create_session(), boto3.session.Session)
| 32.111111 | 70 | 0.775087 | 42 | 289 | 5.071429 | 0.666667 | 0.183099 | 0.159624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.141869 | 289 | 8 | 71 | 36.125 | 0.850806 | 0.425606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6185cd6cde3b41713d1a1367f674cbe671081f53 | 18,081 | py | Python | adafdr/util.py | martinjzhang/adafdr | b136a2669b9e17e3dd91b0f6a114c21b7e31cc24 | [
"MIT"
] | 5 | 2018-11-03T00:29:01.000Z | 2021-05-21T09:23:58.000Z | adafdr/util.py | martinjzhang/adafdr | b136a2669b9e17e3dd91b0f6a114c21b7e31cc24 | [
"MIT"
] | 2 | 2018-12-19T12:33:05.000Z | 2021-03-08T22:05:19.000Z | adafdr/util.py | martinjzhang/adafdr | b136a2669b9e17e3dd91b0f6a114c21b7e31cc24 | [
"MIT"
] | null | null | null | import numpy as np
import scipy as sp
from scipy import stats
import matplotlib.pyplot as plt
from scipy.stats import rankdata
import logging
import pickle
import os
"""
basic functions
"""
def get_grid_1d(n_grid):
"""
return an equally spaced covariate covering the 1d space...
Parameters
---... | 40.18 | 109 | 0.550412 | 2,661 | 18,081 | 3.572717 | 0.10109 | 0.059325 | 0.070054 | 0.030925 | 0.802041 | 0.776901 | 0.758073 | 0.755128 | 0.729568 | 0.713054 | 0 | 0.028499 | 0.280018 | 18,081 | 450 | 110 | 40.18 | 0.701798 | 0.362591 | 0 | 0.4125 | 0 | 0 | 0.059805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058333 | false | 0 | 0.033333 | 0 | 0.120833 | 0.045833 | 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 |
61a61860b6fec3fcf6b58e2f872f9a5be8e59269 | 91 | py | Python | dcp/storage/database/engines/__init__.py | kvh/dcp | 1332b0fa44e755202d5f13342e834fe165b36ca5 | [
"BSD-3-Clause"
] | 3 | 2021-04-13T22:12:34.000Z | 2021-07-17T19:01:08.000Z | dcp/storage/database/engines/__init__.py | kvh/dcp | 1332b0fa44e755202d5f13342e834fe165b36ca5 | [
"BSD-3-Clause"
] | 1 | 2021-04-13T22:12:21.000Z | 2021-04-13T22:12:21.000Z | dcp/storage/database/engines/__init__.py | kvh/dcp | 1332b0fa44e755202d5f13342e834fe165b36ca5 | [
"BSD-3-Clause"
] | null | null | null | from .mysql import *
from .postgres import *
from .redshift import *
from .sqlite import *
| 18.2 | 23 | 0.736264 | 12 | 91 | 5.583333 | 0.5 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175824 | 91 | 4 | 24 | 22.75 | 0.893333 | 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 |
f61187a783941bede2c1da7bfbdaf34bdf0040c2 | 33 | py | Python | lib2/__init__.py | gusdin25/copbot | 6091be5977620e74821ba1cacea97ef916e34836 | [
"MIT"
] | null | null | null | lib2/__init__.py | gusdin25/copbot | 6091be5977620e74821ba1cacea97ef916e34836 | [
"MIT"
] | null | null | null | lib2/__init__.py | gusdin25/copbot | 6091be5977620e74821ba1cacea97ef916e34836 | [
"MIT"
] | 1 | 2021-11-05T14:50:00.000Z | 2021-11-05T14:50:00.000Z | from lib2.ImageEdit import desain | 33 | 33 | 0.878788 | 5 | 33 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6365aee9b75f153234908a7df90a51d4d6b61ee | 4,653 | py | Python | baseline/seq2seq/cells.py | Ravirajadrangi/predicting-paraphrases | 348c99c943d9169b8d5ced043c1ae6119e390b27 | [
"MIT"
] | 1 | 2017-05-01T05:25:30.000Z | 2017-05-01T05:25:30.000Z | baseline/seq2seq/cells.py | maxkferg/stanford-cs224n-project | 348c99c943d9169b8d5ced043c1ae6119e390b27 | [
"MIT"
] | null | null | null | baseline/seq2seq/cells.py | maxkferg/stanford-cs224n-project | 348c99c943d9169b8d5ced043c1ae6119e390b27 | [
"MIT"
] | null | null | null | from recurrentshop import RNNCell, LSTMCell, weight
from keras import backend as K
import numpy as np
class LSTMDecoderCell(LSTMCell):
def __init__(self, hidden_dim=None, **kwargs):
if not hidden_dim:
self.hidden_dim = kwargs['output_dim']
self.hidden_dim = hidden_dim
super(LSTMDecoderCell, self).__init__(... | 41.544643 | 138 | 0.681496 | 744 | 4,653 | 4.05914 | 0.116935 | 0.137086 | 0.172185 | 0.037086 | 0.810596 | 0.80596 | 0.791391 | 0.759603 | 0.745364 | 0.745364 | 0 | 0.027231 | 0.147647 | 4,653 | 111 | 139 | 41.918919 | 0.734241 | 0 | 0 | 0.694737 | 0 | 0 | 0.023641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094737 | false | 0 | 0.031579 | 0.010526 | 0.2 | 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 |
f6529e380ba415866b3dc56fbe847b83ddd75304 | 144 | py | Python | HackerRank-Python-main/Polar Coordinates.py | Paimon-food/hacktoberfest2021 | b62d8c641aa2b27fc6d481f6719fd0981221344a | [
"CC0-1.0"
] | 1 | 2021-10-09T17:39:19.000Z | 2021-10-09T17:39:19.000Z | HackerRank-Python-main/Polar Coordinates.py | Paimon-food/hacktoberfest2021 | b62d8c641aa2b27fc6d481f6719fd0981221344a | [
"CC0-1.0"
] | null | null | null | HackerRank-Python-main/Polar Coordinates.py | Paimon-food/hacktoberfest2021 | b62d8c641aa2b27fc6d481f6719fd0981221344a | [
"CC0-1.0"
] | null | null | null | # Enter your code here. Read input from STDIN. Print output to STDOUT
from cmath import polar
print ('{}\n{}'.format(*polar(complex(input()))))
| 36 | 69 | 0.715278 | 22 | 144 | 4.681818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 144 | 3 | 70 | 48 | 0.824 | 0.465278 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
f66346e288a1a4fc27be5bf62af8972c877b87aa | 136 | py | Python | unravelr/api/__init__.py | msarfati/unravelr | f71cf2719d78a828528dc0b80c88ea9f66f71921 | [
"Apache-2.0"
] | 2 | 2016-12-22T23:11:34.000Z | 2016-12-23T03:27:16.000Z | unravelr/api/__init__.py | msarfati/unravelr | f71cf2719d78a828528dc0b80c88ea9f66f71921 | [
"Apache-2.0"
] | null | null | null | unravelr/api/__init__.py | msarfati/unravelr | f71cf2719d78a828528dc0b80c88ea9f66f71921 | [
"Apache-2.0"
] | 1 | 2021-11-22T04:56:30.000Z | 2021-11-22T04:56:30.000Z | from .disassembler import Disassembler
def init_api(api_extension):
api_extension.add_resource(Disassembler, "/api/disassembler")
| 22.666667 | 65 | 0.808824 | 16 | 136 | 6.625 | 0.5625 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 136 | 5 | 66 | 27.2 | 0.868852 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c8e7277f2b0e22f374131356a0b2adda608b4be | 21 | py | Python | modelexp/gui/__init__.py | DomiDre/modelexp | 1ec25f71e739dac27716f9a8637fa6ab067499b9 | [
"MIT"
] | null | null | null | modelexp/gui/__init__.py | DomiDre/modelexp | 1ec25f71e739dac27716f9a8637fa6ab067499b9 | [
"MIT"
] | null | null | null | modelexp/gui/__init__.py | DomiDre/modelexp | 1ec25f71e739dac27716f9a8637fa6ab067499b9 | [
"MIT"
] | null | null | null | from ._gui import Gui | 21 | 21 | 0.809524 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
141d267d6dbfece60e2787708b8c8d189eccaa9a | 133 | py | Python | build.py | hamble-game/hamble-demo1-project | 9c256c24245522bb899f77ac60710e3ca0260e09 | [
"BSD-3-Clause"
] | null | null | null | build.py | hamble-game/hamble-demo1-project | 9c256c24245522bb899f77ac60710e3ca0260e09 | [
"BSD-3-Clause"
] | null | null | null | build.py | hamble-game/hamble-demo1-project | 9c256c24245522bb899f77ac60710e3ca0260e09 | [
"BSD-3-Clause"
] | null | null | null | # mkdir ../demo1
# cp ../hamble-demo1-template/<not in .gitignore> ../demo1/
# cp ./<not in .gitignore> ../demo1/
# render templates | 33.25 | 60 | 0.646617 | 17 | 133 | 5.058824 | 0.588235 | 0.162791 | 0.325581 | 0.44186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034783 | 0.135338 | 133 | 4 | 61 | 33.25 | 0.713043 | 0.93985 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 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 |
1456c328083b5a585f1917f0fe9a260767d8e378 | 34,699 | py | Python | src/plot_functions/plot_targetEstimator.py | xenakal/Simulation_Interactions | 4e428bb70445ba7fd2d102facdd18c5def4542b7 | [
"MIT"
] | 2 | 2021-03-24T07:26:40.000Z | 2022-02-05T23:07:27.000Z | src/plot_functions/plot_targetEstimator.py | xenakal/Simulation_Interactions | 4e428bb70445ba7fd2d102facdd18c5def4542b7 | [
"MIT"
] | null | null | null | src/plot_functions/plot_targetEstimator.py | xenakal/Simulation_Interactions | 4e428bb70445ba7fd2d102facdd18c5def4542b7 | [
"MIT"
] | null | null | null | from src.multi_agent.agent.agent_interacting_room_camera import AgentCam
from src.my_utils.my_IO.IO_data import *
from src.my_utils.my_math.MSE import error_squared_list, error_squared_x_y_list
from src.plot_functions.plot_toolbox import plot_graph_x_y
from src.my_utils.my_math.MSE import *
from src.plot_functions.plot... | 46.764151 | 120 | 0.588662 | 4,636 | 34,699 | 4.022433 | 0.054573 | 0.012119 | 0.016088 | 0.023059 | 0.867385 | 0.822608 | 0.778689 | 0.744101 | 0.721579 | 0.698359 | 0 | 0.022486 | 0.311738 | 34,699 | 741 | 121 | 46.82726 | 0.758354 | 0.003372 | 0 | 0.570447 | 0 | 0 | 0.087533 | 0.016208 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070447 | false | 0 | 0.013746 | 0.0189 | 0.111684 | 0.022337 | 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 |
1467b9275a2c8ae54779e4bbb6f211adb09db386 | 53 | py | Python | phase_diagram.py | fhfraga/PhaseDiagram | e477731a9fb2de88db6b4a6ae3b614c5e6df407c | [
"MIT"
] | null | null | null | phase_diagram.py | fhfraga/PhaseDiagram | e477731a9fb2de88db6b4a6ae3b614c5e6df407c | [
"MIT"
] | null | null | null | phase_diagram.py | fhfraga/PhaseDiagram | e477731a9fb2de88db6b4a6ae3b614c5e6df407c | [
"MIT"
] | 2 | 2020-10-01T22:58:58.000Z | 2020-10-15T17:51:46.000Z | from phase_diagram.phase_diagram import PhaseDiagram
| 26.5 | 52 | 0.90566 | 7 | 53 | 6.571429 | 0.714286 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 1 | 53 | 53 | 0.938776 | 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 |
146bd46c18b28224b0be18a02cb14b186830611a | 80 | py | Python | Run.py | TheProtaganist/CodeJ | 13894c80622ed317e4a6519a7a4c9288ca45f531 | [
"MIT"
] | 1 | 2021-11-20T07:37:41.000Z | 2021-11-20T07:37:41.000Z | Run.py | TheProtaganist/CodeJ | 13894c80622ed317e4a6519a7a4c9288ca45f531 | [
"MIT"
] | null | null | null | Run.py | TheProtaganist/CodeJ | 13894c80622ed317e4a6519a7a4c9288ca45f531 | [
"MIT"
] | 1 | 2022-01-25T02:35:49.000Z | 2022-01-25T02:35:49.000Z | from Generate import generate_response
while True:
generate_response()
| 16 | 39 | 0.7625 | 9 | 80 | 6.555556 | 0.666667 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 80 | 4 | 40 | 20 | 0.921875 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
14753cce193bd0828db11ffd5ca1809e50ac7832 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/resolvelib/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/resolvelib/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/resolvelib/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/ba/85/b4/7605820f00295f9f6645f7e83c84a46461a4fd467522dfcf638a3f3da1 | 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 |
148b3242d18fd13e09d0526ad49f9d36e394c290 | 49 | py | Python | terrascript/librato/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/librato/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/librato/d.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/librato/d.py
import terrascript
| 9.8 | 27 | 0.77551 | 6 | 49 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 4 | 28 | 12.25 | 0.904762 | 0.489796 | 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 |
14a9711f9a6612d527795fc16b4b613f42850978 | 214 | py | Python | my_packages/Transformers/StringTransformer.py | elbendari/new-as | e6f07e43929802d8ba3cec0a784cf7bcf3fde1aa | [
"MIT"
] | null | null | null | my_packages/Transformers/StringTransformer.py | elbendari/new-as | e6f07e43929802d8ba3cec0a784cf7bcf3fde1aa | [
"MIT"
] | null | null | null | my_packages/Transformers/StringTransformer.py | elbendari/new-as | e6f07e43929802d8ba3cec0a784cf7bcf3fde1aa | [
"MIT"
] | null | null | null | def reverse_string(x):
return x[::-1]
txt = reverse_string("hello world")
txt
def capitalize(txt):
capitalize_txt=txt.capitalize()
return capitalize_txt
txt = capitalize("hello world")
txt
| 14.266667 | 35 | 0.67757 | 28 | 214 | 5.035714 | 0.357143 | 0.276596 | 0.184397 | 0.368794 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.205607 | 214 | 14 | 36 | 15.285714 | 0.823529 | 0 | 0 | 0.222222 | 0 | 0 | 0.103286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.444444 | 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 | 1 | 0 | 0 | 0 | 6 |
1ad3b11f8f330addf86b20aca6814055b077724d | 33 | py | Python | sdks/python/argo_dataflow_sdk/__init__.py | marviniter/argo-dataflow | 89a060b1c6ea70f7c26bc58a01ba675c3acc1c06 | [
"Apache-2.0"
] | 173 | 2021-04-08T19:03:26.000Z | 2022-03-30T08:50:35.000Z | sdks/python/argo_dataflow_sdk/__init__.py | marviniter/argo-dataflow | 89a060b1c6ea70f7c26bc58a01ba675c3acc1c06 | [
"Apache-2.0"
] | 395 | 2021-04-08T23:33:15.000Z | 2022-03-31T00:46:40.000Z | sdks/python/argo_dataflow_sdk/__init__.py | marviniter/argo-dataflow | 89a060b1c6ea70f7c26bc58a01ba675c3acc1c06 | [
"Apache-2.0"
] | 18 | 2021-05-26T04:14:55.000Z | 2022-03-29T03:47:53.000Z | from .main import ProcessHandler
| 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 |
2108405137f3fd6a0c43dd8e432871bd403c3b61 | 16,755 | py | Python | test/utest/test_imaplibrary.py | Rodaxfck/robotframework-imaplibrary2 | 47573e213e6854f610831485e8ae964d4451a7e2 | [
"Apache-2.0"
] | 6 | 2020-02-28T15:54:55.000Z | 2022-02-01T19:34:03.000Z | test/utest/test_imaplibrary.py | Rodaxfck/robotframework-imaplibrary2 | 47573e213e6854f610831485e8ae964d4451a7e2 | [
"Apache-2.0"
] | 21 | 2019-11-21T05:21:58.000Z | 2022-02-13T13:47:40.000Z | test/utest/test_imaplibrary.py | Rodaxfck/robotframework-imaplibrary2 | 47573e213e6854f610831485e8ae964d4451a7e2 | [
"Apache-2.0"
] | 16 | 2019-11-21T05:51:49.000Z | 2022-03-04T10:40:40.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2015-2016 Richard Huang <rickypc@users.noreply.github.com>
#
# 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... | 51.873065 | 88 | 0.642256 | 2,016 | 16,755 | 5.113591 | 0.099206 | 0.125909 | 0.100398 | 0.06926 | 0.792608 | 0.779804 | 0.777088 | 0.769328 | 0.749927 | 0.736832 | 0 | 0.009421 | 0.239749 | 16,755 | 322 | 89 | 52.034161 | 0.79989 | 0.124023 | 0 | 0.59322 | 0 | 0 | 0.06624 | 0.029054 | 0 | 0 | 0 | 0 | 0.326271 | 1 | 0.09322 | false | 0.110169 | 0.016949 | 0 | 0.114407 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
0d000acbbc071d750c16605264f1afe764f20077 | 23 | py | Python | pynlg/lexicon/feature/__init__.py | roman-kutlak/pynlg | caea61e22bbdd38a09bd8e423e41749a70531e9f | [
"MIT"
] | null | null | null | pynlg/lexicon/feature/__init__.py | roman-kutlak/pynlg | caea61e22bbdd38a09bd8e423e41749a70531e9f | [
"MIT"
] | null | null | null | pynlg/lexicon/feature/__init__.py | roman-kutlak/pynlg | caea61e22bbdd38a09bd8e423e41749a70531e9f | [
"MIT"
] | null | null | null | from .feature import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0d005579882fcb9d4a66a0b63a1a7c549757d2c5 | 22,636 | py | Python | tcr_rearrangement.py | shanavas33/tcr-dist | f9304fa9b7ba05f9f776aa3f60822e2e08023151 | [
"MIT"
] | 1 | 2018-10-26T10:59:46.000Z | 2018-10-26T10:59:46.000Z | tcr_rearrangement.py | joshuabhk/tcr-dist | 5ea156bae9216cf1205a7e54a45aa6ffbccac7c9 | [
"MIT"
] | null | null | null | tcr_rearrangement.py | joshuabhk/tcr-dist | 5ea156bae9216cf1205a7e54a45aa6ffbccac7c9 | [
"MIT"
] | null | null | null | #############################################################################################################
##
## NOTE:
##
## This is a legacy version of the TCR probability code which is going to be phased out.
## Right now it doesn't get imported anywhere unless basic.pipeline_params[ 'new_probs' ] == False
## (the... | 79.146853 | 1,739 | 0.602978 | 4,497 | 22,636 | 2.927062 | 0.253725 | 0.014282 | 0.009572 | 0.00585 | 0.185976 | 0.125123 | 0.104991 | 0.079997 | 0.0607 | 0.049989 | 0 | 0.464782 | 0.231048 | 22,636 | 285 | 1,740 | 79.424561 | 0.291451 | 0.064101 | 0 | 0.16 | 0 | 0.215 | 0.684654 | 0.034216 | 0 | 0 | 0 | 0 | 0.085 | 0 | null | null | 0.005 | 0.015 | null | null | 0.005 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0d0c75a9bd07a7940f23c9b53c746984f5d9549b | 207 | py | Python | vuejspython/observablecollections/event.py | twitwi/vuejs-python | 18ae4a8583748cbaf39e63aa5e7d97c9904257d5 | [
"MIT"
] | 18 | 2019-02-14T16:17:38.000Z | 2022-03-07T21:02:53.000Z | vuejspython/observablecollections/event.py | louispuyo/vuejs-python | 193672ef38dc243a8f755b123e1af0e087ae8af4 | [
"MIT"
] | null | null | null | vuejspython/observablecollections/event.py | louispuyo/vuejs-python | 193672ef38dc243a8f755b123e1af0e087ae8af4 | [
"MIT"
] | 4 | 2019-12-16T11:12:29.000Z | 2022-01-19T10:55:57.000Z | class Event:
def __init__(self, action, source):
self._action = action
self._source = source
@property
def action(self):
return self._action
@property
def source(self):
return self._source | 17.25 | 36 | 0.710145 | 27 | 207 | 5.148148 | 0.333333 | 0.215827 | 0.201439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193237 | 207 | 12 | 37 | 17.25 | 0.832335 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b4af12808d0a2b06dcd5e674449de676924bfb36 | 28 | py | Python | r2c_isg/loaders/__init__.py | returntocorp/inputset-generator | c33952cc5683e9e70b24f76936c42ec8e354d121 | [
"MIT"
] | 3 | 2019-11-02T20:14:34.000Z | 2020-01-23T21:47:20.000Z | r2c_isg/loaders/__init__.py | returntocorp/inputset-generator | c33952cc5683e9e70b24f76936c42ec8e354d121 | [
"MIT"
] | 19 | 2019-09-18T01:48:07.000Z | 2021-11-04T11:20:48.000Z | r2c_isg/loaders/__init__.py | returntocorp/inputset-generator | c33952cc5683e9e70b24f76936c42ec8e354d121 | [
"MIT"
] | 3 | 2019-11-15T22:31:13.000Z | 2020-03-10T10:19:39.000Z | from ._loader import Loader
| 14 | 27 | 0.821429 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
b4bca7187f018ec6679e07a016e106c072a7da32 | 136 | py | Python | rainbownum/__init__.py | swagner648/rainbownums | ec801b13565cdc92aa43b7ca03cdfd2a09b08ef9 | [
"MIT"
] | null | null | null | rainbownum/__init__.py | swagner648/rainbownums | ec801b13565cdc92aa43b7ca03cdfd2a09b08ef9 | [
"MIT"
] | null | null | null | rainbownum/__init__.py | swagner648/rainbownums | ec801b13565cdc92aa43b7ca03cdfd2a09b08ef9 | [
"MIT"
] | null | null | null | from .RainbowSumsSim import RbSumsEq
from .RainbowProductsSim import RbProductsEq
from .RainbowCartesianSumsSim import RbCartesianSumsEq | 45.333333 | 54 | 0.897059 | 12 | 136 | 10.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080882 | 136 | 3 | 54 | 45.333333 | 0.976 | 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 |
372a028a4a393541b4cf3212859cbd6bb7a9a6a7 | 8,419 | py | Python | SSRNET/models/TFNet.py | Mariajru/DL_Fusion | e90d5584ef03cb94a66eb3fd8b05d6472f6f8a04 | [
"Apache-2.0"
] | 1 | 2021-12-05T11:53:15.000Z | 2021-12-05T11:53:15.000Z | SSRNET/models/TFNet.py | Mariajru/DL_Fusion | e90d5584ef03cb94a66eb3fd8b05d6472f6f8a04 | [
"Apache-2.0"
] | null | null | null | SSRNET/models/TFNet.py | Mariajru/DL_Fusion | e90d5584ef03cb94a66eb3fd8b05d6472f6f8a04 | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
import cv2
class ResTFNet(nn.Module):
def __init__(self,
scale_ratio,
n_select_bands,
n_bands):
"""Load the pretrained ResNet and replace top fc layer."""
supe... | 37.252212 | 84 | 0.49127 | 1,073 | 8,419 | 3.655172 | 0.068034 | 0.101989 | 0.107088 | 0.121367 | 0.933452 | 0.902091 | 0.887812 | 0.887812 | 0.847527 | 0.831719 | 0 | 0.07926 | 0.39007 | 8,419 | 225 | 85 | 37.417778 | 0.684518 | 0.025656 | 0 | 0.663212 | 0 | 0 | 0.001954 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020725 | false | 0 | 0.025907 | 0 | 0.067358 | 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 |
2ec3ba5384c4a3c83c3736d0bfe9d6277fb861d5 | 18,649 | py | Python | views/AntdButton.py | RuixiangS/feffery-antd-docs | c48d34ed657ec8d6893440c0ee6382598c564922 | [
"MIT"
] | 10 | 2021-05-20T06:52:42.000Z | 2022-03-29T08:36:58.000Z | views/AntdButton.py | RuixiangS/feffery-antd-docs | c48d34ed657ec8d6893440c0ee6382598c564922 | [
"MIT"
] | null | null | null | views/AntdButton.py | RuixiangS/feffery-antd-docs | c48d34ed657ec8d6893440c0ee6382598c564922 | [
"MIT"
] | 2 | 2021-09-14T07:07:00.000Z | 2021-12-10T01:03:25.000Z | from dash import html
from dash import dcc
import feffery_antd_components as fac
import feffery_utils_components as fuc
import callbacks.AntdButton
docs_content = html.Div(
[
html.Div(
[
html.H2(
'AntdButton(children, id, className, style, **kwargs)',
... | 36.423828 | 99 | 0.315406 | 973 | 18,649 | 6.025694 | 0.152107 | 0.10643 | 0.046393 | 0.037523 | 0.781511 | 0.761044 | 0.752857 | 0.746376 | 0.718233 | 0.696572 | 0 | 0.023534 | 0.587592 | 18,649 | 511 | 100 | 36.495108 | 0.738786 | 0 | 0 | 0.685106 | 0 | 0 | 0.237922 | 0.040914 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010638 | 0 | 0.012766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c1708ba5f0c79db2c46274693240d5f33d6c7e4 | 49 | py | Python | chain/core/domains/state/__init__.py | JosXa/python-chain | f426d4c814f92090e21dc470576e7033a8488e9c | [
"MIT"
] | 35 | 2019-07-18T16:25:09.000Z | 2022-02-24T04:13:22.000Z | chain/core/domains/state/__init__.py | JosXa/python-chain | f426d4c814f92090e21dc470576e7033a8488e9c | [
"MIT"
] | 2 | 2020-03-20T13:24:19.000Z | 2022-02-22T08:36:47.000Z | chain/core/domains/state/__init__.py | JosXa/python-chain | f426d4c814f92090e21dc470576e7033a8488e9c | [
"MIT"
] | 4 | 2020-03-20T00:16:48.000Z | 2022-02-28T07:24:07.000Z | from chain.core.domains.state.state import State
| 24.5 | 48 | 0.836735 | 8 | 49 | 5.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.911111 | 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 |
2c20e8a0d5c1562a23d333c0411d39f9dbc88af6 | 45 | py | Python | dockit/paginator.py | zbyte64/django-dockit | 8d00a46cb0b6237de622fcb6816067078106a0c4 | [
"BSD-3-Clause"
] | 5 | 2015-02-25T17:01:48.000Z | 2021-06-03T07:46:47.000Z | dockit/paginator.py | zbyte64/django-dockit | 8d00a46cb0b6237de622fcb6816067078106a0c4 | [
"BSD-3-Clause"
] | 1 | 2015-03-11T15:19:55.000Z | 2015-04-13T04:14:24.000Z | dockit/paginator.py | zbyte64/django-dockit | 8d00a46cb0b6237de622fcb6816067078106a0c4 | [
"BSD-3-Clause"
] | null | null | null | from django.core.paginator import Paginator
| 15 | 43 | 0.844444 | 6 | 45 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 2 | 44 | 22.5 | 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 |
d32683609eee3e60ea8ca74ed450e0508bda6c74 | 480 | py | Python | tests/test_files/special_method.py | TylerYep/flake8-class-attributes-order | 0024deed8f68585a0469be6e8c1346b462823aa7 | [
"MIT"
] | 1 | 2020-11-24T15:03:23.000Z | 2020-11-24T15:03:23.000Z | tests/test_files/special_method.py | TylerYep/flake8-class-attributes-order | 0024deed8f68585a0469be6e8c1346b462823aa7 | [
"MIT"
] | null | null | null | tests/test_files/special_method.py | TylerYep/flake8-class-attributes-order | 0024deed8f68585a0469be6e8c1346b462823aa7 | [
"MIT"
] | 1 | 2020-12-07T15:59:04.000Z | 2020-12-07T15:59:04.000Z | class A:
def foo(self):
pass
def __new__(cls):
pass
class B:
def foo(self):
pass
def __init__(self):
pass
class C:
def foo(self):
pass
def __post_init__(self):
pass
class D:
def foo(self):
pass
def __str__(self):
p... | 10.212766 | 28 | 0.479167 | 61 | 480 | 3.491803 | 0.295082 | 0.413146 | 0.28169 | 0.394366 | 0.478873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.433333 | 480 | 46 | 29 | 10.434783 | 0.783088 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
d34a405bdc4ec176c2bae12d5bbbc7ca38e42695 | 35,459 | py | Python | inbm/dispatcher-agent/tests/unit/test_dispatcher.py | ahameedx/intel-inb-manageability | aca445fa4cef0b608e6e88e74476547e10c06073 | [
"Apache-2.0"
] | null | null | null | inbm/dispatcher-agent/tests/unit/test_dispatcher.py | ahameedx/intel-inb-manageability | aca445fa4cef0b608e6e88e74476547e10c06073 | [
"Apache-2.0"
] | null | null | null | inbm/dispatcher-agent/tests/unit/test_dispatcher.py | ahameedx/intel-inb-manageability | aca445fa4cef0b608e6e88e74476547e10c06073 | [
"Apache-2.0"
] | null | null | null | import datetime
import os
import unittest
from typing import Any
from unittest import TestCase
from mock import patch, Mock
from unit.common.mock_resources import *
from dispatcher.aota.aota_error import AotaError
from dispatcher.common.result_constants import PUBLISH_SUCCESS, CONFIG_LOAD_SUCCESS, CONFIG_LOAD_FAIL_WR... | 59.896959 | 202 | 0.630813 | 3,806 | 35,459 | 5.531004 | 0.085129 | 0.064843 | 0.081944 | 0.096908 | 0.80913 | 0.786946 | 0.765854 | 0.748373 | 0.734169 | 0.721106 | 0 | 0.006941 | 0.260554 | 35,459 | 591 | 203 | 59.998308 | 0.795919 | 0.005274 | 0 | 0.633962 | 0 | 0.067925 | 0.355577 | 0.300956 | 0 | 0 | 0 | 0 | 0.092453 | 1 | 0.054717 | false | 0.013208 | 0.028302 | 0.001887 | 0.086792 | 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 |
d368d12644d783da5f54b71588fc91bdee543c3f | 6,646 | py | Python | tests/test_point_operation.py | huynhngoc/deoxys-image | 69faff2e28e062356ddfdc067e482aaae5db014d | [
"MIT"
] | null | null | null | tests/test_point_operation.py | huynhngoc/deoxys-image | 69faff2e28e062356ddfdc067e482aaae5db014d | [
"MIT"
] | null | null | null | tests/test_point_operation.py | huynhngoc/deoxys-image | 69faff2e28e062356ddfdc067e482aaae5db014d | [
"MIT"
] | null | null | null | import pytest
import numpy as np
from deoxys_image import normalize
from deoxys_image import apply_random_brightness, apply_random_contrast
from deoxys_image import apply_random_gaussian_noise
def test_normalize_all_channel():
base_data = np.array([np.arange(30) for _ in range(5)])
normalized_image = np.zero... | 32.262136 | 77 | 0.595245 | 1,098 | 6,646 | 3.481785 | 0.055556 | 0.021449 | 0.094167 | 0.051007 | 0.926759 | 0.88543 | 0.840963 | 0.80068 | 0.761705 | 0.709652 | 0 | 0.091815 | 0.215017 | 6,646 | 205 | 78 | 32.419512 | 0.640981 | 0 | 0 | 0.602941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 1 | 0.066176 | false | 0 | 0.036765 | 0 | 0.102941 | 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 |
6c9f0422138cd5a5c0e8e9a258684e6d46c2914c | 58 | py | Python | tests/quectel_ec25/conftest.py | Sinusoidal36/async-gsm-modem | d220753a50b61a86faedfcdf4e4c52a959dbe882 | [
"Apache-2.0"
] | 4 | 2021-07-09T01:24:05.000Z | 2021-09-02T22:25:13.000Z | tests/quectel_ec25/conftest.py | Sinusoidal36/async-gsm-modem | d220753a50b61a86faedfcdf4e4c52a959dbe882 | [
"Apache-2.0"
] | null | null | null | tests/quectel_ec25/conftest.py | Sinusoidal36/async-gsm-modem | d220753a50b61a86faedfcdf4e4c52a959dbe882 | [
"Apache-2.0"
] | null | null | null | from fixtures.commands import *
from fixtures.urc import * | 29 | 31 | 0.810345 | 8 | 58 | 5.875 | 0.625 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 2 | 32 | 29 | 0.921569 | 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 |
6ce53540679fb329f91bc755028d72ce2a3c6525 | 31,264 | py | Python | BCI/BCI/multi.py | RichardLeeK/BCI | 8bbbf03cd5f958a9eff73d18b8c9c8923acdd7b5 | [
"MIT"
] | 4 | 2018-08-16T08:46:23.000Z | 2021-04-20T04:00:29.000Z | BCI/BCI/multi.py | RichardLeeK/BCI | 8bbbf03cd5f958a9eff73d18b8c9c8923acdd7b5 | [
"MIT"
] | null | null | null | BCI/BCI/multi.py | RichardLeeK/BCI | 8bbbf03cd5f958a9eff73d18b8c9c8923acdd7b5 | [
"MIT"
] | null | null | null | import BCI
import os, scipy.io
import numpy as np
from sklearn.discriminant_analysis import LinearDiscriminantAnalysis
from sklearn.metrics import cohen_kappa_score, accuracy_score
from keras.models import Sequential
from keras.layers import Dense,Flatten, Conv1D, Conv2D, Dropout, MaxPooling2D, MaxPooling3D, Activation... | 40.708333 | 243 | 0.58086 | 5,185 | 31,264 | 3.364513 | 0.052073 | 0.043336 | 0.018573 | 0.024764 | 0.852336 | 0.826999 | 0.807051 | 0.787274 | 0.773001 | 0.750129 | 0 | 0.039011 | 0.183374 | 31,264 | 767 | 244 | 40.761408 | 0.644119 | 0.076382 | 0 | 0.687919 | 0 | 0 | 0.079356 | 0.017669 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041946 | false | 0 | 0.068792 | 0.001678 | 0.124161 | 0.008389 | 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 |
9f065786e5d264eb0b87c28997355911f349c2f3 | 2,957 | py | Python | tests/test_command_handler.py | ess-dmsc/file-writer-config | fe6074cddf45bd3efca6a3b6f802b58885f076d8 | [
"BSD-2-Clause"
] | null | null | null | tests/test_command_handler.py | ess-dmsc/file-writer-config | fe6074cddf45bd3efca6a3b6f802b58885f076d8 | [
"BSD-2-Clause"
] | 17 | 2020-10-14T08:01:20.000Z | 2021-12-16T10:27:51.000Z | tests/test_command_handler.py | ess-dmsc/file-writer-config | fe6074cddf45bd3efca6a3b6f802b58885f076d8 | [
"BSD-2-Clause"
] | null | null | null | from unittest.mock import Mock
import pytest
from file_writer_control.CommandHandler import CommandHandler
from file_writer_control.CommandStatus import CommandState, CommandStatus
def test_get_state_no_id():
mock_cmd_ch = Mock()
mock_cmd_ch.get_command.return_value = None
cmd_id = "some_command_id"
... | 33.988506 | 73 | 0.763612 | 463 | 2,957 | 4.362851 | 0.110151 | 0.09703 | 0.124752 | 0.083168 | 0.85099 | 0.841584 | 0.838614 | 0.838614 | 0.822277 | 0.822277 | 0 | 0.000401 | 0.157254 | 2,957 | 86 | 74 | 34.383721 | 0.810193 | 0 | 0 | 0.685714 | 0 | 0 | 0.058167 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 1 | 0.1 | false | 0 | 0.057143 | 0 | 0.157143 | 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 |
9f1cb6dd4799ebf5bc8953488eec3deff83ed1a8 | 2,823 | py | Python | tests/test_cli_playerout.py | lijinquan123/streamlink | 1e0ff12f38df4879a704c11376b7e2a118a01e3b | [
"BSD-2-Clause"
] | 6 | 2020-11-13T22:48:09.000Z | 2021-03-05T14:38:40.000Z | tests/test_cli_playerout.py | Inncee81/streamlink | 07029669d58a835bd05029316211343eef78ddf2 | [
"BSD-2-Clause"
] | 3 | 2020-04-07T18:40:42.000Z | 2020-09-23T15:43:18.000Z | tests/test_cli_playerout.py | Inncee81/streamlink | 07029669d58a835bd05029316211343eef78ddf2 | [
"BSD-2-Clause"
] | 3 | 2020-11-21T14:50:52.000Z | 2021-03-23T09:55:35.000Z | from unittest.mock import ANY, Mock, patch
from streamlink_cli.output import PlayerOutput
from tests import posix_only, windows_only
UNICODE_TITLE = "기타치는소율 with UL섬 "
@posix_only
@patch("streamlink_cli.output.sleep", Mock())
@patch("subprocess.Popen")
def test_output_mpv_unicode_title_posix(popen):
po = Player... | 34.851852 | 83 | 0.67446 | 354 | 2,823 | 5.112994 | 0.158192 | 0.086188 | 0.079558 | 0.072928 | 0.89779 | 0.876796 | 0.850276 | 0.818232 | 0.818232 | 0.818232 | 0 | 0.000847 | 0.163301 | 2,823 | 80 | 84 | 35.2875 | 0.765453 | 0 | 0 | 0.566667 | 0 | 0 | 0.172512 | 0.050655 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.1 | false | 0 | 0.05 | 0 | 0.15 | 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 |
9f1e58aeb03c43a4cde9e22762ee7bda59324f43 | 97 | py | Python | pages/models.py | kbilak/Talker | ff1ed19d080e913da6852f4955602c920ac7411c | [
"MIT"
] | null | null | null | pages/models.py | kbilak/Talker | ff1ed19d080e913da6852f4955602c920ac7411c | [
"MIT"
] | null | null | null | pages/models.py | kbilak/Talker | ff1ed19d080e913da6852f4955602c920ac7411c | [
"MIT"
] | null | null | null | from django.db import models
"""
Model for managing pages
"""
class Page(models.Model):
pass | 13.857143 | 28 | 0.71134 | 14 | 97 | 4.928571 | 0.857143 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 97 | 7 | 29 | 13.857143 | 0.8625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
9f3b9b88fc807d5217322abf68b901425b63bb5d | 184 | py | Python | rocheml/preprocessing/rescalepreprocessor.py | haydenroche5/rocheml | e081915f83697a6b95d7e13a63eb9a69e4bdde84 | [
"MIT"
] | null | null | null | rocheml/preprocessing/rescalepreprocessor.py | haydenroche5/rocheml | e081915f83697a6b95d7e13a63eb9a69e4bdde84 | [
"MIT"
] | null | null | null | rocheml/preprocessing/rescalepreprocessor.py | haydenroche5/rocheml | e081915f83697a6b95d7e13a63eb9a69e4bdde84 | [
"MIT"
] | null | null | null | class RescalePreprocessor:
def __init__(self, divisor):
self.divisor = divisor
def preprocess(self, imgs):
return [img / (self.divisor * 1.0) for img in imgs]
| 26.285714 | 59 | 0.646739 | 23 | 184 | 5 | 0.608696 | 0.286957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.25 | 184 | 6 | 60 | 30.666667 | 0.818841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9fb35b9cc2c8aa1ab4bed8f8e2ffe64377d67533 | 8,882 | py | Python | pyfuzzyrenamer/icons.py | pcjco/PyFuzzy-renamer | a8656f9d5b959a9e0d6c4e286c68e948e9cba80c | [
"MIT"
] | 2 | 2021-07-12T17:46:31.000Z | 2022-03-13T23:30:08.000Z | pyfuzzyrenamer/icons.py | pcjco/PyFuzzy-renamer | a8656f9d5b959a9e0d6c4e286c68e948e9cba80c | [
"MIT"
] | null | null | null | pyfuzzyrenamer/icons.py | pcjco/PyFuzzy-renamer | a8656f9d5b959a9e0d6c4e286c68e948e9cba80c | [
"MIT"
] | 1 | 2021-07-19T21:27:23.000Z | 2021-07-19T21:27:23.000Z | from wx.lib.embeddedimage import PyEmbeddedImage
Quit_16_PNG = PyEmbeddedImage(
"iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAVklEQVQ4jWNgYGCoYGBgWEIkXsrAwBDKgAaWoAvgARoMDAw1owZQZoAAAwODEQMDQzYDA4MCIQPEGBgYAnDgNAYGhmswQ2hmAMVewAYGPhYGqQEUZWcALdEnU4lzkXYAAAAASUVORK5CYII="
)
Clipboard_16_PNG = PyEmbeddedImage(
... | 107.012048 | 426 | 0.934024 | 311 | 8,882 | 26.501608 | 0.607717 | 0.058966 | 0.063091 | 0.192429 | 0.05751 | 0.05751 | 0.05751 | 0 | 0 | 0 | 0 | 0.104806 | 0.027809 | 8,882 | 83 | 427 | 107.012048 | 0.849682 | 0 | 0 | 0 | 0 | 0.04878 | 0.862772 | 0.862772 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012195 | 0 | 0.012195 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9fbd9917e2bf2fa9cf201b2fb4f6f740f0b5fd14 | 117 | py | Python | survae/distributions/conditional/__init__.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 262 | 2020-07-05T20:57:44.000Z | 2022-03-28T02:24:43.000Z | survae/distributions/conditional/__init__.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 17 | 2020-08-15T05:43:34.000Z | 2022-01-31T12:24:21.000Z | survae/distributions/conditional/__init__.py | alisiahkoohi/survae_flows | e1747b05524c7ab540a211ed360ab3e67bc3e96d | [
"MIT"
] | 35 | 2020-08-24T06:55:37.000Z | 2022-02-11T05:17:58.000Z | from .base import ConditionalDistribution
from .bernoulli import *
from .categorical import *
from .normal import *
| 19.5 | 41 | 0.794872 | 13 | 117 | 7.153846 | 0.538462 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145299 | 117 | 5 | 42 | 23.4 | 0.93 | 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 |
4c8dd074df54922e65894256e85e14d4095326ae | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/distlib/_backport/shutil.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/distlib/_backport/shutil.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/distlib/_backport/shutil.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/21/7f/c6/d8d3eac1e70989b9080e37b4e1baaed31a4791f490d8668674456a3396 | 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 |
4cb10867fdb85dd72f9692eddc1ca7fb7c811a0c | 72 | py | Python | base.py | willamesoares/concurrency-control-protocols | eabfcb56f3ad3760e539ac47ad2b522dfa5f9325 | [
"MIT"
] | 3 | 2019-10-29T09:26:55.000Z | 2021-06-18T06:36:43.000Z | base.py | willamesoares/concurrency-control-protocols | eabfcb56f3ad3760e539ac47ad2b522dfa5f9325 | [
"MIT"
] | null | null | null | base.py | willamesoares/concurrency-control-protocols | eabfcb56f3ad3760e539ac47ad2b522dfa5f9325 | [
"MIT"
] | 2 | 2020-07-09T17:37:10.000Z | 2020-09-16T07:40:22.000Z | import fileinput
# from tabulate import tabulate
import sys
import code
| 14.4 | 31 | 0.833333 | 10 | 72 | 6 | 0.6 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 72 | 4 | 32 | 18 | 0.983607 | 0.402778 | 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 |
4cbb4271fdff73765aa89485fe6b33708226ded0 | 25 | py | Python | lesson_2/test.py | enchantner/python-zero | 756d8e66a45f44f269857c1312949f2328d56554 | [
"MIT"
] | 2 | 2017-10-28T08:43:13.000Z | 2017-10-29T17:08:34.000Z | lesson_2/test.py | enchantner/python-zero | 756d8e66a45f44f269857c1312949f2328d56554 | [
"MIT"
] | 1 | 2021-12-13T19:43:54.000Z | 2021-12-13T19:43:54.000Z | lesson_2/test.py | enchantner/python-zero | 756d8e66a45f44f269857c1312949f2328d56554 | [
"MIT"
] | null | null | null | import foo
print("lol")
| 6.25 | 12 | 0.68 | 4 | 25 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 3 | 13 | 8.333333 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
4cd44c2160de0e9815db36407cc29ca468361026 | 109 | py | Python | carrara/accounts/models.py | cxc61cxc/django_prove | 9df58be73ef51e13287bfbd1b8623f3f39b8a224 | [
"MIT"
] | null | null | null | carrara/accounts/models.py | cxc61cxc/django_prove | 9df58be73ef51e13287bfbd1b8623f3f39b8a224 | [
"MIT"
] | null | null | null | carrara/accounts/models.py | cxc61cxc/django_prove | 9df58be73ef51e13287bfbd1b8623f3f39b8a224 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
from django.core.exceptions import ValidationError
| 18.166667 | 50 | 0.816514 | 15 | 109 | 5.933333 | 0.733333 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 5 | 51 | 21.8 | 0.946809 | 0.220183 | 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 |
4cdefe13445a010a9edb65ab9dbc3e33cc011456 | 38 | py | Python | tests/parser/good/import-from.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | 1 | 2020-11-24T05:24:26.000Z | 2020-11-24T05:24:26.000Z | tests/parser/good/import-from.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | tests/parser/good/import-from.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | from math import sqrt
print(sqrt(9))
| 9.5 | 21 | 0.736842 | 7 | 38 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.157895 | 38 | 3 | 22 | 12.666667 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
4cfd987dd6d8b64483b6f397334b587539ebb1cd | 43 | py | Python | deep_utils/augmentation/__init__.py | pooya-mohammadi/deep_utils | b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37 | [
"MIT"
] | 36 | 2021-11-10T05:17:18.000Z | 2022-03-27T18:25:10.000Z | deep_utils/augmentation/__init__.py | pooya-mohammadi/deep_utils | b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37 | [
"MIT"
] | 1 | 2021-12-03T07:07:18.000Z | 2022-03-08T09:29:03.000Z | deep_utils/augmentation/__init__.py | pooya-mohammadi/deep_utils | b589d8ab0a8d63f3d3b90c3bc0d4b1b648b8be37 | [
"MIT"
] | 4 | 2021-11-28T07:39:57.000Z | 2022-03-30T05:46:10.000Z | from .torch import *
from .cutmix import *
| 14.333333 | 21 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 22 | 21.5 | 0.885714 | 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 |
4cff6dcd2bcbdb188aa0e9a921c1a3a857c04eb7 | 212 | py | Python | test/test_utils.py | periodo/periodo-server | 7cd0250cbc6260cdc6f66aa8d95b316d9eaaf9ac | [
"CC0-1.0"
] | 9 | 2015-05-07T07:40:16.000Z | 2020-01-13T15:53:01.000Z | test/test_utils.py | periodo/periodo-server | 7cd0250cbc6260cdc6f66aa8d95b316d9eaaf9ac | [
"CC0-1.0"
] | 118 | 2015-01-27T21:14:49.000Z | 2022-03-18T07:06:14.000Z | test/test_utils.py | periodo/periodo-server | 7cd0250cbc6260cdc6f66aa8d95b316d9eaaf9ac | [
"CC0-1.0"
] | 1 | 2015-11-09T10:31:16.000Z | 2015-11-09T10:31:16.000Z | from periodo import utils
def test_isoformat():
assert utils.isoformat(1621369128) == "2021-05-18T20:18:48+00:00"
def test_isoparse():
assert utils.isoparse("2021-05-18T20:18:48+00:00") == 1621369128
| 21.2 | 69 | 0.716981 | 32 | 212 | 4.6875 | 0.5 | 0.093333 | 0.146667 | 0.173333 | 0.253333 | 0.253333 | 0.253333 | 0 | 0 | 0 | 0 | 0.304348 | 0.132075 | 212 | 9 | 70 | 23.555556 | 0.51087 | 0 | 0 | 0 | 0 | 0 | 0.235849 | 0.235849 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e2826d209a8a8d665989c86d8232d785e15c0b95 | 1,391 | py | Python | opennmt/utils/__init__.py | abumafrim/OpenNMT-tf | f14c05a7cb8b1b8f3a692d6fea3c12067bc3eb2c | [
"MIT"
] | 1 | 2020-05-13T19:22:29.000Z | 2020-05-13T19:22:29.000Z | opennmt/utils/__init__.py | abumafrim/OpenNMT-tf | f14c05a7cb8b1b8f3a692d6fea3c12067bc3eb2c | [
"MIT"
] | null | null | null | opennmt/utils/__init__.py | abumafrim/OpenNMT-tf | f14c05a7cb8b1b8f3a692d6fea3c12067bc3eb2c | [
"MIT"
] | null | null | null | """Module defining various utilities."""
from opennmt.utils.checkpoint import average_checkpoints
from opennmt.utils.checkpoint import is_v1_checkpoint
from opennmt.utils.decoding import BeamSearch
from opennmt.utils.decoding import BestSampler
from opennmt.utils.decoding import DecodingResult
from opennmt.utils.deco... | 38.638889 | 60 | 0.870597 | 184 | 1,391 | 6.483696 | 0.288043 | 0.248952 | 0.362112 | 0.160939 | 0.650461 | 0.124057 | 0.067058 | 0 | 0 | 0 | 0 | 0.001572 | 0.08555 | 1,391 | 35 | 61 | 39.742857 | 0.936321 | 0.024443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2cc0272305ba42a64138cdbb6d2fa57ffdc5a08e | 114 | py | Python | asr1k_neutron_l3/neutron/services/service_drivers/asr1k/__init__.py | BarbarossaTM/asr1k-neutron-l3 | 4102542bc87aa0ff28d988fe0dedc34c755655d0 | [
"Apache-2.0"
] | 4 | 2017-11-30T20:07:53.000Z | 2021-01-28T03:34:17.000Z | asr1k_neutron_l3/neutron/services/service_drivers/asr1k/__init__.py | BarbarossaTM/asr1k-neutron-l3 | 4102542bc87aa0ff28d988fe0dedc34c755655d0 | [
"Apache-2.0"
] | 43 | 2018-02-20T21:16:43.000Z | 2021-08-03T14:13:01.000Z | asr1k_neutron_l3/neutron/services/service_drivers/asr1k/__init__.py | BarbarossaTM/asr1k-neutron-l3 | 4102542bc87aa0ff28d988fe0dedc34c755655d0 | [
"Apache-2.0"
] | 1 | 2021-07-15T13:15:03.000Z | 2021-07-15T13:15:03.000Z | from asr1k_neutron_l3.neutron.services.service_drivers.asr1k.bgpvpn_driver import ASR1KBGPVPNDriver # noqa: F401
| 57 | 113 | 0.868421 | 15 | 114 | 6.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066038 | 0.070175 | 114 | 1 | 114 | 114 | 0.830189 | 0.087719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e2c4edce5d518e332e6fc8e2a0aaa08599876bdc | 87 | py | Python | automatization_of_data_mining_project/data_set_preprocessor/classes/processing_method/processing_method.py | Sale1996/automatization_of_data_mining_project | 223aec59231586563a3b125bff064f8420630a8f | [
"MIT"
] | null | null | null | automatization_of_data_mining_project/data_set_preprocessor/classes/processing_method/processing_method.py | Sale1996/automatization_of_data_mining_project | 223aec59231586563a3b125bff064f8420630a8f | [
"MIT"
] | null | null | null | automatization_of_data_mining_project/data_set_preprocessor/classes/processing_method/processing_method.py | Sale1996/automatization_of_data_mining_project | 223aec59231586563a3b125bff064f8420630a8f | [
"MIT"
] | null | null | null | class ProcessingMethod(object):
def process_data_set(self, data_set):
pass
| 21.75 | 41 | 0.712644 | 11 | 87 | 5.363636 | 0.818182 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 87 | 3 | 42 | 29 | 0.855072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
39243f63f3a226cac0453157fef3e48942b1a432 | 225 | py | Python | traverse.py | fakovid/URL-Parse | 63533df800ad708cfc323dbcae400c11e04506d7 | [
"Apache-2.0"
] | null | null | null | traverse.py | fakovid/URL-Parse | 63533df800ad708cfc323dbcae400c11e04506d7 | [
"Apache-2.0"
] | null | null | null | traverse.py | fakovid/URL-Parse | 63533df800ad708cfc323dbcae400c11e04506d7 | [
"Apache-2.0"
] | null | null | null | import requests
def get_root_https(short_url: str):
return requests.head('https://' + short_url).headers['location']
def get_root_http(short_url: str):
return requests.head('http://' + short_url).headers['location'] | 32.142857 | 68 | 0.728889 | 32 | 225 | 4.875 | 0.4375 | 0.205128 | 0.128205 | 0.217949 | 0.371795 | 0.371795 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 225 | 7 | 69 | 32.142857 | 0.78 | 0 | 0 | 0 | 0 | 0 | 0.137168 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3930bf3c9e6f0a8ea6c93c4ccb17245704191878 | 155 | py | Python | pofatu/interfaces.py | pofatu/pofatu | 409e37dfc4a512283cd85481ff478368dd3071e9 | [
"Apache-2.0"
] | 2 | 2022-01-24T09:48:53.000Z | 2022-01-25T11:18:24.000Z | pofatu/interfaces.py | pofatu/pofatu | 409e37dfc4a512283cd85481ff478368dd3071e9 | [
"Apache-2.0"
] | 9 | 2018-08-15T10:47:11.000Z | 2020-10-26T11:48:37.000Z | pofatu/interfaces.py | pofatu/pofatu | 409e37dfc4a512283cd85481ff478368dd3071e9 | [
"Apache-2.0"
] | 1 | 2021-12-17T16:15:27.000Z | 2021-12-17T16:15:27.000Z | from zope.interface import Interface
class IAnalysis(Interface):
pass
class IMeasurement(Interface):
pass
class IMethod(Interface):
pass
| 11.071429 | 36 | 0.735484 | 17 | 155 | 6.705882 | 0.529412 | 0.342105 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 155 | 13 | 37 | 11.923077 | 0.919355 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
46db0caa8612c0e5d0767cc17c073e270e0a1252 | 44 | py | Python | pal.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 26 | 2020-01-06T23:53:17.000Z | 2022-02-01T08:58:21.000Z | pal.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 30 | 2019-11-13T00:55:22.000Z | 2022-01-06T08:09:35.000Z | pal.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 14 | 2019-11-15T16:56:22.000Z | 2021-12-22T10:14:17.000Z | #!/usr/bin/env python3
import pal.__main__
| 11 | 22 | 0.75 | 7 | 44 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.113636 | 44 | 3 | 23 | 14.666667 | 0.717949 | 0.477273 | 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 |
644878d0f2043c12a6e41b15ee3766a6a5ac6c6a | 6,530 | py | Python | test_case_3_5.py | Alekseybykov126/autotesting | 7febd5717f7d677ce7c1fc2d1c8a3b9c8e0ed902 | [
"Apache-2.0"
] | null | null | null | test_case_3_5.py | Alekseybykov126/autotesting | 7febd5717f7d677ce7c1fc2d1c8a3b9c8e0ed902 | [
"Apache-2.0"
] | null | null | null | test_case_3_5.py | Alekseybykov126/autotesting | 7febd5717f7d677ce7c1fc2d1c8a3b9c8e0ed902 | [
"Apache-2.0"
] | null | null | null | from .page import *
def case_3_5(self, full_screen):
self.page.loger('\n Запуск Тест кейс № 3_5 tvweb_new-3_5: Проверка переключения серий и сезонов сериала \n')
time.sleep(1)
self.page.send_f('Ввод_2_в_строку_поиска', 'Воскресший Эртугрул', 1)
time.sleep(4)
self.prof.click_f('Клик_поиска... | 51.417323 | 125 | 0.695865 | 932 | 6,530 | 4.709227 | 0.142704 | 0.061973 | 0.062201 | 0.090909 | 0.850308 | 0.818638 | 0.790157 | 0.78879 | 0.781727 | 0.761449 | 0 | 0.041116 | 0.154518 | 6,530 | 127 | 126 | 51.417323 | 0.753487 | 0.149464 | 0 | 0.597938 | 0 | 0 | 0.384699 | 0.158448 | 0 | 0 | 0 | 0 | 0.061856 | 1 | 0.010309 | false | 0 | 0.010309 | 0 | 0.020619 | 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 |
64c8b95b81902322413044374d492a656d128ca4 | 106 | py | Python | Python/code case/code case 5.py | amazing-2020/pdf | 8cd3f5f510a1c1ed89b51b1354f4f8c000c5b24d | [
"Apache-2.0"
] | 3 | 2021-01-01T13:08:24.000Z | 2021-02-03T09:27:56.000Z | Python/code case/code case 5.py | amazing-2020/pdf | 8cd3f5f510a1c1ed89b51b1354f4f8c000c5b24d | [
"Apache-2.0"
] | null | null | null | Python/code case/code case 5.py | amazing-2020/pdf | 8cd3f5f510a1c1ed89b51b1354f4f8c000c5b24d | [
"Apache-2.0"
] | null | null | null | from sys import argv,path
print('==============python from import=================')
print('path:', path) | 26.5 | 58 | 0.518868 | 12 | 106 | 4.583333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 106 | 4 | 59 | 26.5 | 0.56701 | 0 | 0 | 0 | 0 | 0 | 0.504673 | 0.214953 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 |
b38ca623643b1681b1b7c0cd79ad2c2eada6ea62 | 96 | py | Python | venv/lib/python3.8/site-packages/clikit/ui/components/confirmation_question.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/clikit/ui/components/confirmation_question.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/clikit/ui/components/confirmation_question.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/fc/62/6d/2d68f14b252f5bb80a01b44ef69ce36f829312329b25bf5d29e272bbd9 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 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 |
b39bf277426064e12d40049a95ea2016dc090fa5 | 109 | py | Python | ph.py | G00364778/photoborders | b524fbdd5a17c2a8d587355df9a7f9805f772379 | [
"MIT"
] | null | null | null | ph.py | G00364778/photoborders | b524fbdd5a17c2a8d587355df9a7f9805f772379 | [
"MIT"
] | null | null | null | ph.py | G00364778/photoborders | b524fbdd5a17c2a8d587355df9a7f9805f772379 | [
"MIT"
] | null | null | null | import border as brd
tn, pic, border1, border2, ColArr = brd.init()
brd.maketh(tn, border1, border2, ColArr) | 27.25 | 46 | 0.733945 | 17 | 109 | 4.705882 | 0.647059 | 0.35 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.137615 | 109 | 4 | 47 | 27.25 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b3a47db17b4d4ad788b33195dab154dec365b6c8 | 30,673 | py | Python | src/ising_animate/ising.py | davifeliciano/ising_model | 7f9beff5647a747a1b64b97012af2c6c040fddb7 | [
"MIT"
] | 2 | 2021-10-15T10:58:20.000Z | 2021-10-31T15:59:04.000Z | src/ising_animate/ising.py | davifeliciano/ising_animate | 7f9beff5647a747a1b64b97012af2c6c040fddb7 | [
"MIT"
] | null | null | null | src/ising_animate/ising.py | davifeliciano/ising_animate | 7f9beff5647a747a1b64b97012af2c6c040fddb7 | [
"MIT"
] | null | null | null | from math import exp, sin
import matplotlib.pyplot as plt
from matplotlib.animation import FuncAnimation
from matplotlib.colors import Normalize
from matplotlib.ticker import StrMethodFormatter
from .lattice import Lattice
plt.rcParams.update({"figure.autolayout": True})
class Ising:
"""
The core implementa... | 34.005543 | 104 | 0.625143 | 4,181 | 30,673 | 4.460416 | 0.068883 | 0.019036 | 0.018768 | 0.010135 | 0.870771 | 0.855971 | 0.84471 | 0.830983 | 0.813395 | 0.778648 | 0 | 0.015224 | 0.282594 | 30,673 | 901 | 105 | 34.043285 | 0.832265 | 0.488834 | 0 | 0.640751 | 0 | 0.002681 | 0.103943 | 0.062128 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101877 | false | 0 | 0.016086 | 0.045576 | 0.174263 | 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 |
b60497cc5cb3e325522c2ee2a51656ef9ce8a42c | 58 | py | Python | music_trees/generate/__init__.py | hugofloresgarcia/music-trees | 51c47f1fc924936c25b84bf35edff52d88e9cccd | [
"MIT"
] | 25 | 2021-07-16T10:24:35.000Z | 2022-03-25T04:46:25.000Z | music_trees/generate/__init__.py | loretoparisi/music-trees | 0ea3f49c2bafa97efd7352728ca687d7fee9e025 | [
"MIT"
] | 4 | 2021-11-12T10:25:29.000Z | 2021-12-01T16:11:13.000Z | music_trees/generate/__init__.py | loretoparisi/music-trees | 0ea3f49c2bafa97efd7352728ca687d7fee9e025 | [
"MIT"
] | 3 | 2021-11-09T02:40:03.000Z | 2022-03-04T19:26:39.000Z | from . import core
from . import katunog
from . import mdb | 19.333333 | 21 | 0.758621 | 9 | 58 | 4.888889 | 0.555556 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 58 | 3 | 22 | 19.333333 | 0.93617 | 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 |
b606e47952b347392fc642d4589799f4b60cd582 | 808 | py | Python | server/middleware/static.py | vincihb/check-it-out | 0bf180ea62ce23e6464431a7b9cfe208817c8db8 | [
"MIT"
] | null | null | null | server/middleware/static.py | vincihb/check-it-out | 0bf180ea62ce23e6464431a7b9cfe208817c8db8 | [
"MIT"
] | null | null | null | server/middleware/static.py | vincihb/check-it-out | 0bf180ea62ce23e6464431a7b9cfe208817c8db8 | [
"MIT"
] | null | null | null | from flask import send_from_directory
def static_routes(app):
@app.route('/js/<path:path>', methods=['GET'])
def send_js(path):
return send_from_directory('client/static/js', path)
@app.route('/css/<path:path>', methods=['GET'])
def send_css(path):
return send_from_directory('client/s... | 33.666667 | 77 | 0.664604 | 113 | 808 | 4.575221 | 0.185841 | 0.092843 | 0.197292 | 0.174081 | 0.723404 | 0.723404 | 0.675048 | 0.375242 | 0.205029 | 0 | 0 | 0 | 0.157178 | 808 | 23 | 78 | 35.130435 | 0.759178 | 0 | 0 | 0 | 0 | 0 | 0.274752 | 0.080446 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0.058824 | 0.294118 | 0.705882 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 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 |
b609f2598a27bd9432a36d902ccfbcf6c6f93e1a | 7,118 | py | Python | test/test_newtsf.py | FrancisLi196/featurizer | dc7c817281b16aee21da7141f7996889efd2159e | [
"Apache-2.0"
] | null | null | null | test/test_newtsf.py | FrancisLi196/featurizer | dc7c817281b16aee21da7141f7996889efd2159e | [
"Apache-2.0"
] | null | null | null | test/test_newtsf.py | FrancisLi196/featurizer | dc7c817281b16aee21da7141f7996889efd2159e | [
"Apache-2.0"
] | null | null | null | import unittest
import numpy as np
import torch
import featurizer.functions.time_series_functions as tsf
class TestnewTsf(unittest.TestCase):
def setUp(self):
mock_rising = torch.range(1, 5, 1)
mock_falling = torch.range(5, 1, -1)
mock_ones = torch.ones(5)
mock_twos = 2 * torch.... | 53.924242 | 106 | 0.619697 | 960 | 7,118 | 4.386458 | 0.069792 | 0.101876 | 0.071242 | 0.094989 | 0.832106 | 0.808359 | 0.797673 | 0.784374 | 0.760627 | 0.716219 | 0 | 0.043645 | 0.230683 | 7,118 | 131 | 107 | 54.335878 | 0.725347 | 0.015594 | 0 | 0.405405 | 0 | 0 | 0.044778 | 0 | 0 | 0 | 0 | 0 | 0.117117 | 1 | 0.126126 | false | 0 | 0.036036 | 0 | 0.171171 | 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 |
b60ed924b18cb98b87559fd9fab48e71fb06d9e4 | 141 | py | Python | hellofun.py | Dyavathrocky/rocky | 693833e61ce9317ab003ca61d4654c6b3806cd22 | [
"Apache-2.0"
] | null | null | null | hellofun.py | Dyavathrocky/rocky | 693833e61ce9317ab003ca61d4654c6b3806cd22 | [
"Apache-2.0"
] | null | null | null | hellofun.py | Dyavathrocky/rocky | 693833e61ce9317ab003ca61d4654c6b3806cd22 | [
"Apache-2.0"
] | null | null | null | # starting of functions
def hello():
print('howdy !')
print('howdy !!!')
print('hello there.')
hello()
hello()
hello()
| 14.1 | 26 | 0.546099 | 15 | 141 | 5.133333 | 0.533333 | 0.25974 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262411 | 141 | 9 | 27 | 15.666667 | 0.740385 | 0.148936 | 0 | 0.428571 | 0 | 0 | 0.256881 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0 | 0 | 0.142857 | 0.428571 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
373409f886ce9514d80e9e2c2fb5001b62b34190 | 135 | py | Python | surfstat/python/need_not_convert/SurfStatDataCursorP.py | rudimeier/BrainStat | a5ef474ffd70300ecf5fa464fff4a41e71f4b7a1 | [
"BSD-3-Clause"
] | null | null | null | surfstat/python/need_not_convert/SurfStatDataCursorP.py | rudimeier/BrainStat | a5ef474ffd70300ecf5fa464fff4a41e71f4b7a1 | [
"BSD-3-Clause"
] | null | null | null | surfstat/python/need_not_convert/SurfStatDataCursorP.py | rudimeier/BrainStat | a5ef474ffd70300ecf5fa464fff4a41e71f4b7a1 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
def py_SurfStatDataCursorP(empt,event_obj):
sys.exit("Function py_SurfStatDataCursorP is not implemented yet")
| 27 | 70 | 0.807407 | 19 | 135 | 5.578947 | 0.894737 | 0.396226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125926 | 135 | 4 | 71 | 33.75 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.162963 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
376f721b21cad2c3d0db78eff8e24745ae8c23a4 | 3,571 | py | Python | chia_tea/discord/notifications/test_run_notifiers.py | Tea-n-Tech/chia-tea | a5bd327b9d5e048e55e9f5d8cefca2dbcd5eae96 | [
"BSD-3-Clause"
] | 6 | 2021-08-05T21:31:15.000Z | 2021-11-15T20:54:25.000Z | chia_tea/discord/notifications/test_run_notifiers.py | Tea-n-Tech/chia-tea | a5bd327b9d5e048e55e9f5d8cefca2dbcd5eae96 | [
"BSD-3-Clause"
] | 49 | 2021-08-05T19:33:08.000Z | 2022-03-30T19:33:38.000Z | chia_tea/discord/notifications/test_run_notifiers.py | Tea-n-Tech/chia-tea | a5bd327b9d5e048e55e9f5d8cefca2dbcd5eae96 | [
"BSD-3-Clause"
] | 1 | 2022-01-09T17:08:32.000Z | 2022-01-09T17:08:32.000Z | import asyncio
import unittest
from unittest import mock
from ...utils.testing import async_test
from .run_notifiers import DISCORD_MSG_LIMIT, MSG_TOO_LONG, log_and_send_msg_if_any
def _get_future(obj):
f = asyncio.Future()
f.set_result(obj)
return f
class TestRunNotifiers(unittest.TestCase):
# py... | 32.761468 | 90 | 0.686922 | 479 | 3,571 | 4.745303 | 0.169102 | 0.096788 | 0.074791 | 0.040035 | 0.801144 | 0.801144 | 0.780906 | 0.735152 | 0.702596 | 0.702596 | 0 | 0.003999 | 0.229628 | 3,571 | 108 | 91 | 33.064815 | 0.822246 | 0.038925 | 0 | 0.538462 | 0 | 0 | 0.027145 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 1 | 0.012821 | false | 0 | 0.064103 | 0 | 0.102564 | 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 |
378c42281f903e292bd7c9cf3263849812cd09af | 79 | py | Python | pyximport/__init__.py | smok-serwis/cython | e551a3a348888bd89d4aad809916709a634af1fb | [
"Apache-2.0"
] | 6,663 | 2015-01-02T06:06:43.000Z | 2022-03-31T10:35:02.000Z | pyximport/__init__.py | holzschu/cython | 8f6c7f707b28cb8e76ecbf5fcd089c6255dacdb8 | [
"Apache-2.0"
] | 3,094 | 2015-01-01T15:44:13.000Z | 2022-03-31T19:49:57.000Z | pyximport/__init__.py | scoder/cython | ddaaa7b8bfe9885b7bed432cd0a5ab8191d112cd | [
"Apache-2.0"
] | 1,425 | 2015-01-12T07:21:27.000Z | 2022-03-30T14:10:40.000Z | from .pyximport import *
# replicate docstring
from .pyximport import __doc__
| 15.8 | 30 | 0.797468 | 9 | 79 | 6.555556 | 0.666667 | 0.440678 | 0.644068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 79 | 4 | 31 | 19.75 | 0.880597 | 0.240506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
37b27d8e45200e893ec295dd2a90a4294560d8e6 | 977 | py | Python | src/zvt/recorders/eastmoney/holder/__init__.py | vishalbelsare/zvt | d55051147274c0a4157f08ec60908c781a323c8f | [
"MIT"
] | 2,032 | 2019-04-16T14:10:32.000Z | 2022-03-31T12:40:13.000Z | src/zvt/recorders/eastmoney/holder/__init__.py | vishalbelsare/zvt | d55051147274c0a4157f08ec60908c781a323c8f | [
"MIT"
] | 162 | 2019-05-07T09:57:46.000Z | 2022-03-25T16:23:08.000Z | src/zvt/recorders/eastmoney/holder/__init__.py | vishalbelsare/zvt | d55051147274c0a4157f08ec60908c781a323c8f | [
"MIT"
] | 755 | 2019-04-30T10:25:16.000Z | 2022-03-29T17:50:49.000Z | # the __all__ is generated
__all__ = []
# __init__.py structure:
# common code of the package
# export interface in __all__ which contains __all__ of its sub modules
# import all from submodule eastmoney_top_ten_tradable_holder_recorder
from .eastmoney_top_ten_tradable_holder_recorder import *
from .eastmoney_top_ten... | 39.08 | 114 | 0.877175 | 138 | 977 | 5.369565 | 0.224638 | 0.161943 | 0.202429 | 0.155196 | 0.825911 | 0.738192 | 0.589744 | 0.337382 | 0 | 0 | 0 | 0 | 0.095189 | 977 | 24 | 115 | 40.708333 | 0.838235 | 0.337769 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80c2ec93d92756f7a43d3668584a8ba84dc86c60 | 47,001 | py | Python | bridge/service/test.py | mutilin/klever | 52877601e252279375091e049d096d8b302717a6 | [
"Apache-2.0"
] | null | null | null | bridge/service/test.py | mutilin/klever | 52877601e252279375091e049d096d8b302717a6 | [
"Apache-2.0"
] | 63 | 2019-01-24T15:17:55.000Z | 2020-02-20T13:15:18.000Z | bridge/service/test.py | mutilin/klever | 52877601e252279375091e049d096d8b302717a6 | [
"Apache-2.0"
] | 1 | 2019-10-11T07:27:10.000Z | 2019-10-11T07:27:10.000Z | #
# Copyright (c) 2018 ISP RAS (http://www.ispras.ru)
# Ivannikov Institute for System Programming of the Russian Academy of Sciences
#
# 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
#
# h... | 51.763216 | 120 | 0.587307 | 5,239 | 47,001 | 5.170071 | 0.066425 | 0.111312 | 0.076423 | 0.051392 | 0.833752 | 0.813668 | 0.786606 | 0.773758 | 0.750535 | 0.742967 | 0 | 0.021094 | 0.253612 | 47,001 | 907 | 121 | 51.820287 | 0.751005 | 0.053084 | 0 | 0.638853 | 0 | 0 | 0.225751 | 0.032048 | 0 | 0 | 0 | 0 | 0.324641 | 1 | 0.007823 | false | 0.01043 | 0.018253 | 0 | 0.027379 | 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 |
80d19fe5233b280dc7d67f8b003dd79d1b3a84bb | 204 | py | Python | modules/rulesets/reports/__init__.py | fingerecho/proms-4.0 | 6c3a1fd62c9394761664e100fc1dde50fd79dc11 | [
"CC-BY-4.0"
] | 2 | 2019-11-23T03:56:28.000Z | 2019-12-03T15:48:34.000Z | modules/rulesets/reports/__init__.py | fingerecho/proms-4.0 | 6c3a1fd62c9394761664e100fc1dde50fd79dc11 | [
"CC-BY-4.0"
] | null | null | null | modules/rulesets/reports/__init__.py | fingerecho/proms-4.0 | 6c3a1fd62c9394761664e100fc1dde50fd79dc11 | [
"CC-BY-4.0"
] | 3 | 2019-04-12T18:09:35.000Z | 2020-03-14T14:38:45.000Z | from .prov_constraints import ProvConstraints
from .report import PromsReport
from .basic_report import BasicReport
from .external_report import ExternalReport
from .internal_report import InternalReport
| 34 | 45 | 0.877451 | 24 | 204 | 7.291667 | 0.541667 | 0.274286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 204 | 5 | 46 | 40.8 | 0.951087 | 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 |
80e145c39e29004c7c7a7acc2d3e9f470fae080d | 98 | py | Python | src/data/bsd100.py | MartinBuessemeyer/Efficient-Image-Super-Resolution | 3a9fb314fecc51d1028bbf1e6b571922b19175d3 | [
"MIT"
] | 1 | 2022-02-11T19:46:46.000Z | 2022-02-11T19:46:46.000Z | src/data/bsd100.py | MartinBuessemeyer/Efficient-Image-Super-Resolution | 3a9fb314fecc51d1028bbf1e6b571922b19175d3 | [
"MIT"
] | null | null | null | src/data/bsd100.py | MartinBuessemeyer/Efficient-Image-Super-Resolution | 3a9fb314fecc51d1028bbf1e6b571922b19175d3 | [
"MIT"
] | null | null | null | from data.evaluation_dataset import EvaluationDataset
class BSD100(EvaluationDataset):
pass
| 16.333333 | 53 | 0.826531 | 10 | 98 | 8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.132653 | 98 | 5 | 54 | 19.6 | 0.905882 | 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 |
03ca188e78500a6780e093eb1ec9add6f3734283 | 50 | py | Python | Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/nn/modules/rnn_builder/__init__.py | dendisuhubdy/Vitis-AI | 524f65224c52314155dafc011d488ed30e458fcb | [
"Apache-2.0"
] | 848 | 2019-12-03T00:16:17.000Z | 2022-03-31T22:53:17.000Z | tools/Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/nn/modules/rnn_builder/__init__.py | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 656 | 2019-12-03T00:48:46.000Z | 2022-03-31T18:41:54.000Z | tools/Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/nn/modules/rnn_builder/__init__.py | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 506 | 2019-12-03T00:46:26.000Z | 2022-03-30T10:34:56.000Z | from .rnn_buider import *
from .rnn_layer import * | 25 | 25 | 0.78 | 8 | 50 | 4.625 | 0.625 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 2 | 26 | 25 | 0.860465 | 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 |
03d449798aef8261db13bf4f6b80c270a4706fdd | 27 | py | Python | PiClock3/AnalogClock/__init__.py | gamename/PiClock3 | 4a8e0eaf4247ee6a5df721c90904699f0043f0b7 | [
"MIT"
] | null | null | null | PiClock3/AnalogClock/__init__.py | gamename/PiClock3 | 4a8e0eaf4247ee6a5df721c90904699f0043f0b7 | [
"MIT"
] | null | null | null | PiClock3/AnalogClock/__init__.py | gamename/PiClock3 | 4a8e0eaf4247ee6a5df721c90904699f0043f0b7 | [
"MIT"
] | null | null | null | from .AnalogClock import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 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 |
03ecc67d9afd7b502f3956bc09855f612e787140 | 48 | py | Python | core/utils.py | oddsome/poroshki | d30b7186ea104f12e5cacf057b8b3ca7c6167420 | [
"MIT"
] | null | null | null | core/utils.py | oddsome/poroshki | d30b7186ea104f12e5cacf057b8b3ca7c6167420 | [
"MIT"
] | null | null | null | core/utils.py | oddsome/poroshki | d30b7186ea104f12e5cacf057b8b3ca7c6167420 | [
"MIT"
] | null | null | null | def empty_obj():
return(type('', (), {})())
| 16 | 30 | 0.458333 | 5 | 48 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 2 | 31 | 24 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
ff20403c28e3ec4da35eb82f47f1c7e78f7c560f | 72 | py | Python | books/tech/py/m_lutz-learning_py-5_ed/code/part_5-modules/ch_25-advanced/05-unit_tests_with_name/main.py | ordinary-developer/education | 1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58 | [
"MIT"
] | null | null | null | books/tech/py/m_lutz-learning_py-5_ed/code/part_5-modules/ch_25-advanced/05-unit_tests_with_name/main.py | ordinary-developer/education | 1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58 | [
"MIT"
] | null | null | null | books/tech/py/m_lutz-learning_py-5_ed/code/part_5-modules/ch_25-advanced/05-unit_tests_with_name/main.py | ordinary-developer/education | 1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58 | [
"MIT"
] | null | null | null | import minmax
print(minmax.minmax(minmax.lessthan, 's', 'p', 'a', 'a'))
| 24 | 57 | 0.652778 | 11 | 72 | 4.272727 | 0.636364 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 72 | 2 | 58 | 36 | 0.723077 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
20abc9769aea654b848ec18a20420d8bec9e7984 | 53 | py | Python | rts_deploy/fabfile.py | ska-sa/katsdpscripts | f9eaa867aad8b94c715f7286953124df00b5781c | [
"BSD-3-Clause"
] | null | null | null | rts_deploy/fabfile.py | ska-sa/katsdpscripts | f9eaa867aad8b94c715f7286953124df00b5781c | [
"BSD-3-Clause"
] | 21 | 2019-09-16T15:26:53.000Z | 2022-01-11T09:14:39.000Z | rts_deploy/fabfile.py | ska-sa/katsdpscripts | f9eaa867aad8b94c715f7286953124df00b5781c | [
"BSD-3-Clause"
] | 1 | 2019-11-11T11:47:54.000Z | 2019-11-11T11:47:54.000Z | import rts_dc
import rts_imager
import rts_timeplot
| 13.25 | 20 | 0.867925 | 9 | 53 | 4.777778 | 0.555556 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 3 | 21 | 17.666667 | 0.934783 | 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 |
455d33e67b4be3263c348e4c98616118e299103b | 136 | py | Python | mlp/metrics/__init__.py | chrisgal77/MultiLayerPerceptron | 5876c2db15c0a7bde9b7e5b9b0a05eb716c2404f | [
"MIT"
] | 2 | 2021-04-09T19:48:25.000Z | 2021-04-09T19:53:13.000Z | mlp/metrics/__init__.py | chrisgal77/MultiLayerPerceptron | 5876c2db15c0a7bde9b7e5b9b0a05eb716c2404f | [
"MIT"
] | null | null | null | mlp/metrics/__init__.py | chrisgal77/MultiLayerPerceptron | 5876c2db15c0a7bde9b7e5b9b0a05eb716c2404f | [
"MIT"
] | null | null | null | from .classification import accuracy_score
from .classification import cross_val_score
__all__ = ['accuracy_score', 'cross_val_score']
| 27.2 | 47 | 0.830882 | 17 | 136 | 6.058824 | 0.470588 | 0.349515 | 0.466019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095588 | 136 | 4 | 48 | 34 | 0.837398 | 0 | 0 | 0 | 0 | 0 | 0.213235 | 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 |
456c92b6c8fe91355cc21400f77843c6749a12eb | 1,925 | py | Python | km_api/know_me/tests/permissions/test_object_owner_has_premium.py | knowmetools/km-api | e4b72484c42e88a6c0087c9b1d5fef240e66cbb0 | [
"Apache-2.0"
] | 4 | 2017-08-03T00:46:31.000Z | 2018-11-06T03:32:32.000Z | km_api/know_me/tests/permissions/test_object_owner_has_premium.py | knowmetools/km-api | e4b72484c42e88a6c0087c9b1d5fef240e66cbb0 | [
"Apache-2.0"
] | 526 | 2017-06-27T18:13:59.000Z | 2021-06-10T18:00:21.000Z | km_api/know_me/tests/permissions/test_object_owner_has_premium.py | knowmetools/km-api | e4b72484c42e88a6c0087c9b1d5fef240e66cbb0 | [
"Apache-2.0"
] | 1 | 2017-07-10T19:46:27.000Z | 2017-07-10T19:46:27.000Z | from unittest import mock
import pytest
from django.http import Http404
from know_me.permissions import ObjectOwnerHasPremium
def test_has_object_permission_active_subscription(
api_rf, enable_premium_requirement, user_factory
):
"""
If the user that the view states is the object's owner has an active
... | 29.166667 | 72 | 0.721558 | 259 | 1,925 | 5.158301 | 0.227799 | 0.040419 | 0.085329 | 0.071856 | 0.842814 | 0.767964 | 0.723802 | 0.723802 | 0.723802 | 0.723802 | 0 | 0.005105 | 0.185974 | 1,925 | 65 | 73 | 29.615385 | 0.847479 | 0.21974 | 0 | 0.657143 | 0 | 0 | 0.04375 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 1 | 0.085714 | false | 0 | 0.114286 | 0 | 0.2 | 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 |
45815bec962155cd16ba09c90a6de345c837bd3d | 107 | py | Python | pluploader/mpac/exceptions.py | craftamap/pluploader | c44e683282abb6fba8ced156aa807a66736a4ca1 | [
"Apache-2.0"
] | 12 | 2020-04-09T12:50:23.000Z | 2020-10-30T14:43:40.000Z | pluploader/mpac/exceptions.py | livelyapps/pluploader | 39f2f50ba9625c038cdb1f5a7ecf2ad64da5577c | [
"Apache-2.0"
] | 40 | 2020-04-12T15:25:46.000Z | 2021-06-04T19:47:44.000Z | pluploader/mpac/exceptions.py | craftamap/pluploader | c44e683282abb6fba8ced156aa807a66736a4ca1 | [
"Apache-2.0"
] | 2 | 2020-09-16T14:07:49.000Z | 2020-10-30T14:45:07.000Z | class MpacAppNotFoundError(ValueError):
pass
class MpacAppVersionNotFoundError(ValueError):
pass
| 15.285714 | 46 | 0.794393 | 8 | 107 | 10.625 | 0.625 | 0.329412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 6 | 47 | 17.833333 | 0.934066 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
45977cbb8d7105f5c569e48f954a07ad764d2cd4 | 162 | py | Python | maskrcnn_benchmark/utils/cosine_length.py | p517332051/face_benchmark | c76c2b2142ecf65b7bace4b007a33fa4e795d2d0 | [
"MIT"
] | 2 | 2020-04-02T14:53:29.000Z | 2021-07-13T04:31:47.000Z | maskrcnn_benchmark/utils/cosine_length.py | p517332051/face_benchmark | c76c2b2142ecf65b7bace4b007a33fa4e795d2d0 | [
"MIT"
] | null | null | null | maskrcnn_benchmark/utils/cosine_length.py | p517332051/face_benchmark | c76c2b2142ecf65b7bace4b007a33fa4e795d2d0 | [
"MIT"
] | 1 | 2020-07-13T06:02:42.000Z | 2020-07-13T06:02:42.000Z | import torch
from torch import nn
def cosine_length(features,fake_features):
for feature,fake_feature in zip(features,fake_features):
pass
pass | 18 | 60 | 0.746914 | 23 | 162 | 5.086957 | 0.608696 | 0.205128 | 0.34188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 162 | 9 | 61 | 18 | 0.9 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.333333 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
45b6edec7eb5997548f9143f7eaec2110e03e185 | 74 | py | Python | error/__init__.py | xyla-io/almacen | 7b7f235dc7939777f971f1b5eadd5621e980c15e | [
"MIT"
] | 2 | 2020-10-15T22:12:17.000Z | 2020-10-26T07:17:17.000Z | error/__init__.py | xyla-io/almacen | 7b7f235dc7939777f971f1b5eadd5621e980c15e | [
"MIT"
] | null | null | null | error/__init__.py | xyla-io/almacen | 7b7f235dc7939777f971f1b5eadd5621e980c15e | [
"MIT"
] | null | null | null | from .error import AlmacenError, ConfigurationLoadError, VerificationError | 74 | 74 | 0.891892 | 6 | 74 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 74 | 1 | 74 | 74 | 0.956522 | 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 |
45c4aafa80f6036fc2037d48e22b4035af2d8bd6 | 699 | py | Python | functions/source/GreengrassLambda/jinja2/_identifier.py | jieatelement/quickstart-aws-industrial-machine-connectivity | ca6af4dcbf795ce4a91adcbec4b206147ab26bfa | [
"Apache-2.0"
] | 40 | 2020-07-11T10:07:51.000Z | 2021-12-11T17:09:20.000Z | functions/source/GreengrassLambda/jinja2/_identifier.py | jieatelement/quickstart-aws-industrial-machine-connectivity | ca6af4dcbf795ce4a91adcbec4b206147ab26bfa | [
"Apache-2.0"
] | 18 | 2020-07-20T18:54:31.000Z | 2021-11-04T13:14:28.000Z | functions/source/GreengrassLambda/jinja2/_identifier.py | jieatelement/quickstart-aws-industrial-machine-connectivity | ca6af4dcbf795ce4a91adcbec4b206147ab26bfa | [
"Apache-2.0"
] | 37 | 2020-07-09T23:12:30.000Z | 2022-03-16T11:15:58.000Z | # generated by scripts/generate_identifier_pattern.py
pattern = '·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-ٰٟۖ-ۜ۟-۪ۤۧۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣঁ-ঃ়া-ৄেৈো-্ৗৢৣਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑੰੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣஂா-ூெ-ைொ-்ௗఀ-ఃా-ౄె-ైొ-్ౕౖౢౣಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣංඃ්ා-ුූෘ-ෟෲෳัิ-ฺ็-๎ັິ-ູົຼ່-ໍ༹༘༙༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှၖ-ၙၞ-ၠ... | 233 | 643 | 0.078684 | 174 | 699 | 2.982759 | 0.994253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012876 | 699 | 2 | 644 | 349.5 | 0.076812 | 0.072961 | 0 | 0 | 1 | 0 | 0.978261 | 0.978261 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b31152f2cc22c8a67a295db25af0ecceeefe90af | 28 | py | Python | botdes/__init__.py | sakots/botdesu | 6ccd3324948ddbaad1d2dd836b19f238fd864a3a | [
"MIT"
] | 1 | 2020-12-21T05:21:41.000Z | 2020-12-21T05:21:41.000Z | botdes/__init__.py | sakots/botdesu | 6ccd3324948ddbaad1d2dd836b19f238fd864a3a | [
"MIT"
] | 1 | 2020-12-12T12:28:47.000Z | 2020-12-12T12:28:54.000Z | botdes/__init__.py | sakots/botdesu | 6ccd3324948ddbaad1d2dd836b19f238fd864a3a | [
"MIT"
] | null | null | null | from botdes.main import run
| 14 | 27 | 0.821429 | 5 | 28 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
b32351a7445cbf97f04df9e86dedd0d5b7887e98 | 96,573 | py | Python | backend/tests/test_questionnaire.py | sartography/star-drive | c0f33378d42913c3e677e07f74eb46d7b2b82a0a | [
"MIT"
] | null | null | null | backend/tests/test_questionnaire.py | sartography/star-drive | c0f33378d42913c3e677e07f74eb46d7b2b82a0a | [
"MIT"
] | 368 | 2018-12-18T14:43:20.000Z | 2022-03-02T02:54:18.000Z | backend/tests/test_questionnaire.py | sartography/star-drive | c0f33378d42913c3e677e07f74eb46d7b2b82a0a | [
"MIT"
] | 2 | 2019-10-02T03:06:06.000Z | 2020-10-05T16:53:48.000Z | import json
import unittest
import openpyxl
import io
import datetime
from dateutil import parser
from tests.base_test_questionnaire import BaseTestQuestionnaire
from app import db, elastic_index
from app.export_service import ExportService
from app.model.chain_step import ChainStep
from app.model.flow import Step
fr... | 55.279336 | 159 | 0.652398 | 10,770 | 96,573 | 5.584587 | 0.046147 | 0.054501 | 0.059987 | 0.049912 | 0.828418 | 0.778123 | 0.742161 | 0.723623 | 0.711668 | 0.70954 | 0 | 0.004171 | 0.232881 | 96,573 | 1,746 | 160 | 55.310997 | 0.807702 | 0.002278 | 0 | 0.613435 | 0 | 0.003802 | 0.198688 | 0.102069 | 0 | 0 | 0 | 0 | 0.302281 | 1 | 0.057668 | false | 0.001901 | 0.020279 | 0.000634 | 0.079214 | 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 |
b358f51dcd116da1ada4a52677e2fb5ce3ae4060 | 25 | py | Python | src/python/__init__.py | CITA-cph/deep-sight | 9c60183a5bd1f3b6b930cdba8632c33f38769c0b | [
"Apache-2.0"
] | null | null | null | src/python/__init__.py | CITA-cph/deep-sight | 9c60183a5bd1f3b6b930cdba8632c33f38769c0b | [
"Apache-2.0"
] | null | null | null | src/python/__init__.py | CITA-cph/deep-sight | 9c60183a5bd1f3b6b930cdba8632c33f38769c0b | [
"Apache-2.0"
] | 1 | 2021-12-05T21:59:49.000Z | 2021-12-05T21:59:49.000Z | from ._deepsight import * | 25 | 25 | 0.8 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b3738c0f1698b3af542ff4d7384d8e317d5bbd42 | 186 | py | Python | frontend/admin.py | jealdana/ewebshop | c79f54df92c8e8c124ed4461477a0b93467de2d1 | [
"Apache-2.0"
] | 1 | 2021-06-13T11:56:15.000Z | 2021-06-13T11:56:15.000Z | frontend/admin.py | jealdana/ewebshop | c79f54df92c8e8c124ed4461477a0b93467de2d1 | [
"Apache-2.0"
] | null | null | null | frontend/admin.py | jealdana/ewebshop | c79f54df92c8e8c124ed4461477a0b93467de2d1 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from backend.models import Product
# Register your models here.
class ProductAdmin(admin.ModelAdmin):
pass
admin.site.register(Product, ProductAdmin) | 31 | 42 | 0.817204 | 24 | 186 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 186 | 6 | 42 | 31 | 0.921212 | 0.139785 | 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 |
2ff4788938c3970f2cf4353605a8655f61e7bef2 | 40 | py | Python | kikimr/public/sdk/python/client/_session_impl.py | yandex-cloud/ydb-python-sdk | 0df2dce2d77fc41ad3020072740f51dd91630177 | [
"Apache-2.0"
] | 19 | 2019-07-01T08:25:29.000Z | 2022-01-26T14:46:51.000Z | kikimr/public/sdk/python/client/_session_impl.py | yandex-cloud/ydb-python-sdk | 0df2dce2d77fc41ad3020072740f51dd91630177 | [
"Apache-2.0"
] | 5 | 2019-07-02T13:36:42.000Z | 2021-09-14T06:46:48.000Z | kikimr/public/sdk/python/client/_session_impl.py | yandex-cloud/ydb-python-sdk | 0df2dce2d77fc41ad3020072740f51dd91630177 | [
"Apache-2.0"
] | 10 | 2019-06-07T10:36:19.000Z | 2021-10-15T08:58:11.000Z | from ydb._session_impl import * # noqa
| 20 | 39 | 0.75 | 6 | 40 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 1 | 40 | 40 | 0.848485 | 0.1 | 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 |
64423ed3a9b9b68f6683f79ca7b0b8290cfe2ca1 | 43 | py | Python | elliot/evaluation/metrics/diversity/shannon_entropy/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 175 | 2021-03-04T15:46:25.000Z | 2022-03-31T05:56:58.000Z | elliot/evaluation/metrics/diversity/shannon_entropy/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 15 | 2021-03-06T17:53:56.000Z | 2022-03-24T17:02:07.000Z | elliot/evaluation/metrics/diversity/shannon_entropy/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 39 | 2021-03-04T15:46:26.000Z | 2022-03-09T15:37:12.000Z | from .shannon_entropy import ShannonEntropy | 43 | 43 | 0.906977 | 5 | 43 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 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 |
ff479a175a46247ae399fb4a5cac0ca1376364ad | 3,303 | py | Python | examples.py | bsvetchine/deep_learning | 2a7d50ba83830bb77ac76d5a99260a8a5e77ac82 | [
"MIT"
] | 2 | 2018-03-29T10:07:19.000Z | 2020-05-08T11:36:55.000Z | examples.py | bsvetchine/deep_learning | 2a7d50ba83830bb77ac76d5a99260a8a5e77ac82 | [
"MIT"
] | null | null | null | examples.py | bsvetchine/deep_learning | 2a7d50ba83830bb77ac76d5a99260a8a5e77ac82 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""An example of use of FF class."""
import numpy as np
from feed_forward import FF
def get_dataset1(row_per_class=100):
"""Generate a basic dataset with 2 classes.
| o o
| x o
| x x
|________
:param row_per_class: number of row per class
:type row_per_class:... | 28.721739 | 69 | 0.629428 | 506 | 3,303 | 3.859684 | 0.150198 | 0.086022 | 0.157706 | 0.086022 | 0.810548 | 0.799283 | 0.729647 | 0.729647 | 0.664107 | 0.664107 | 0 | 0.050537 | 0.239177 | 3,303 | 114 | 70 | 28.973684 | 0.726622 | 0.286406 | 0 | 0.382979 | 1 | 0 | 0.003683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12766 | false | 0 | 0.042553 | 0 | 0.234043 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.