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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1a3797269cc9f510ddd449f32834670da5b034b5 | 24 | py | Python | milarun/models/ssd/__init__.py | laceyg/milabench | a314094a406c2e98a932f6d4f3a9588a991148d3 | [
"MIT"
] | 67 | 2020-09-22T10:17:53.000Z | 2022-02-16T10:24:17.000Z | milarun/models/ssd/__init__.py | laceyg/milabench | a314094a406c2e98a932f6d4f3a9588a991148d3 | [
"MIT"
] | 6 | 2020-07-02T08:58:39.000Z | 2021-02-01T20:31:28.000Z | milarun/models/ssd/__init__.py | laceyg/milabench | a314094a406c2e98a932f6d4f3a9588a991148d3 | [
"MIT"
] | 8 | 2020-06-19T17:16:19.000Z | 2022-03-31T19:34:49.000Z | from .train import main
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1a4315521e410535022480f1787d8082ba26bce9 | 24 | py | Python | tpau_gtfsutilities/gtfs/process/__init__.py | anniekfifer/tpau-gtfsutils | a022d4c8465b7f736023ecc294ff0d7d0201b0e9 | [
"BSD-3-Clause"
] | 3 | 2019-09-25T10:05:42.000Z | 2019-11-26T13:30:29.000Z | tpau_gtfsutilities/gtfs/process/__init__.py | anniekfifer/tpau-gtfsutils | a022d4c8465b7f736023ecc294ff0d7d0201b0e9 | [
"BSD-3-Clause"
] | null | null | null | tpau_gtfsutilities/gtfs/process/__init__.py | anniekfifer/tpau-gtfsutils | a022d4c8465b7f736023ecc294ff0d7d0201b0e9 | [
"BSD-3-Clause"
] | null | null | null | from . import preprocess | 24 | 24 | 0.833333 | 3 | 24 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 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 |
1a4dc0ed40e0f9a9a400f39481d67c44613f9b9c | 1,766 | py | Python | src/test_sudoku_solver.py | tillschallau/sudoku-solver | c1de723b5c61776b9194abd9b93faf56c7ed9039 | [
"MIT"
] | null | null | null | src/test_sudoku_solver.py | tillschallau/sudoku-solver | c1de723b5c61776b9194abd9b93faf56c7ed9039 | [
"MIT"
] | null | null | null | src/test_sudoku_solver.py | tillschallau/sudoku-solver | c1de723b5c61776b9194abd9b93faf56c7ed9039 | [
"MIT"
] | null | null | null | import src.sudoku_solver as sudoku_solver
from src.sudoku import Sudoku
correct_sudoku = Sudoku([[9, 5, 7, 6, 1, 3, 2, 8, 4], [4, 8, 3, 2, 5, 7, 1, 9, 6], [6, 1, 2, 8, 4, 9, 5, 3, 7],
[1, 7, 8, 3, 6, 4, 9, 5, 2], [5, 2, 4, 9, 7, 1, 3, 6, 8], [3, 6, 9, 5, 2, 8, 7, 4, 1],
... | 73.583333 | 113 | 0.286523 | 354 | 1,766 | 1.39548 | 0.062147 | 0.42915 | 0.412955 | 0.291498 | 0.55668 | 0.544534 | 0.544534 | 0.544534 | 0.544534 | 0.532389 | 0 | 0.353261 | 0.479049 | 1,766 | 23 | 114 | 76.782609 | 0.183696 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.105263 | 0 | 0.105263 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1a90e4152f8eb4914f77ba3c276a65abf4a75f61 | 13,600 | py | Python | tests/dialog/test_router.py | uezo/minette-python | dd8cd7d244b6e6e4133c8e73d637ded8a8c6846f | [
"Apache-2.0"
] | 31 | 2017-12-18T15:35:42.000Z | 2021-12-16T07:27:33.000Z | tests/dialog/test_router.py | uezo/minette-python | dd8cd7d244b6e6e4133c8e73d637ded8a8c6846f | [
"Apache-2.0"
] | 17 | 2017-07-13T22:25:08.000Z | 2020-11-02T14:19:32.000Z | tests/dialog/test_router.py | uezo/minette-python | dd8cd7d244b6e6e4133c8e73d637ded8a8c6846f | [
"Apache-2.0"
] | 2 | 2017-09-14T09:28:35.000Z | 2021-01-17T12:31:54.000Z | import sys
import os
sys.path.append(os.pardir)
import pytest
from pytz import timezone
from minette import DialogRouter, DialogService, EchoDialogService, ErrorDialogService
from minette import (
Message,
Context,
PerformanceInfo,
Priority
)
class PizzaDialogService(DialogService):
pass
class ... | 38.857143 | 98 | 0.693529 | 1,605 | 13,600 | 5.745794 | 0.072897 | 0.052049 | 0.086532 | 0.103015 | 0.812405 | 0.801236 | 0.777055 | 0.760681 | 0.760681 | 0.756669 | 0 | 0.00109 | 0.190662 | 13,600 | 349 | 99 | 38.968481 | 0.83674 | 0.064632 | 0 | 0.677903 | 0 | 0 | 0.130716 | 0 | 0 | 0 | 0 | 0 | 0.209738 | 1 | 0.033708 | false | 0.011236 | 0.022472 | 0 | 0.101124 | 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 |
1aa865526377a0edc68f44ca28d256cfe6780eb3 | 99 | py | Python | prohmr/models/heads/__init__.py | akashsengupta1997/ProHMR | 7015a3d070c79b4571d43abdf5e522468091a94d | [
"BSD-3-Clause"
] | 120 | 2021-08-27T23:21:17.000Z | 2022-03-30T03:34:07.000Z | prohmr/models/heads/__init__.py | akashsengupta1997/ProHMR | 7015a3d070c79b4571d43abdf5e522468091a94d | [
"BSD-3-Clause"
] | 17 | 2021-09-08T10:10:37.000Z | 2022-03-17T02:40:21.000Z | prohmr/models/heads/__init__.py | akashsengupta1997/ProHMR | 7015a3d070c79b4571d43abdf5e522468091a94d | [
"BSD-3-Clause"
] | 10 | 2021-08-31T06:08:49.000Z | 2022-03-29T21:51:14.000Z | from .smpl_flow import SMPLFlow
from .skeleton_flow import SkeletonFlow
from .fc_head import FCHead | 33 | 39 | 0.858586 | 15 | 99 | 5.466667 | 0.666667 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 99 | 3 | 40 | 33 | 0.931818 | 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 |
1ac820cbcf7d0d98431fa2fed01dad0baafedf01 | 99 | py | Python | apps/test_find_application_with_mainflow/views.py | HeMan/jobbergate | 1381821aafe3d217ee22078be09104a566ec2420 | [
"MIT"
] | 4 | 2019-11-05T09:30:43.000Z | 2020-04-22T15:24:31.000Z | apps/test_find_application_with_mainflow/views.py | HeMan/jobbergate | 1381821aafe3d217ee22078be09104a566ec2420 | [
"MIT"
] | 52 | 2019-10-17T09:46:09.000Z | 2020-05-19T07:39:19.000Z | apps/test_find_application_with_mainflow/views.py | HeMan/jobbergate | 1381821aafe3d217ee22078be09104a566ec2420 | [
"MIT"
] | 1 | 2020-02-18T13:38:25.000Z | 2020-02-18T13:38:25.000Z | from jobbergate import appform
def mainflow(data):
return [appform.Const("val", default=10)]
| 16.5 | 45 | 0.727273 | 13 | 99 | 5.538462 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.151515 | 99 | 5 | 46 | 19.8 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 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 |
203e507cc3f602e592e2839827155a78ab5500d6 | 47 | py | Python | wk/cv/utils/__init__.py | Peiiii/wk | dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4 | [
"MIT"
] | null | null | null | wk/cv/utils/__init__.py | Peiiii/wk | dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4 | [
"MIT"
] | null | null | null | wk/cv/utils/__init__.py | Peiiii/wk | dcf948c1cb36c1eec9b2a554ea0296c6d3dbbdc4 | [
"MIT"
] | null | null | null | from .imutils import *
from .boxutils import *
| 15.666667 | 23 | 0.744681 | 6 | 47 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 24 | 23.5 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
645fc4bf818569364ce3bf0cb6225d48dc5020d1 | 13,890 | py | Python | tests/test_deploy.py | lobziik/ocdeployer | 092e65fb6d8868f262980d6221518433de1345f4 | [
"MIT"
] | null | null | null | tests/test_deploy.py | lobziik/ocdeployer | 092e65fb6d8868f262980d6221518433de1345f4 | [
"MIT"
] | null | null | null | tests/test_deploy.py | lobziik/ocdeployer | 092e65fb6d8868f262980d6221518433de1345f4 | [
"MIT"
] | null | null | null | import pytest
from ocdeployer.secrets import SecretImporter
from ocdeployer.deploy import DeployRunner
from ocdeployer.env import EnvConfigHandler, LegacyEnvConfigHandler
def patched_runner(env_values, mock_load_vars_per_env, legacy=False):
if not env_values:
handler = None
elif legacy:
handl... | 33.229665 | 98 | 0.589561 | 1,355 | 13,890 | 5.683395 | 0.077491 | 0.034541 | 0.04441 | 0.049085 | 0.809246 | 0.769121 | 0.766913 | 0.754837 | 0.748864 | 0.714453 | 0 | 0.005646 | 0.260475 | 13,890 | 417 | 99 | 33.309353 | 0.744062 | 0 | 0 | 0.563218 | 0 | 0 | 0.308855 | 0 | 0 | 0 | 0 | 0 | 0.04023 | 1 | 0.048851 | false | 0 | 0.051724 | 0 | 0.117816 | 0.008621 | 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 |
647f046c31c221244ebc2df5f266fb6c4c36a234 | 223 | py | Python | apps/integrations/github/resources/__init__.py | wizzzet/github_backend | 9e4b5d3273e850e4ac0f425d22911987be7a7eff | [
"MIT"
] | null | null | null | apps/integrations/github/resources/__init__.py | wizzzet/github_backend | 9e4b5d3273e850e4ac0f425d22911987be7a7eff | [
"MIT"
] | null | null | null | apps/integrations/github/resources/__init__.py | wizzzet/github_backend | 9e4b5d3273e850e4ac0f425d22911987be7a7eff | [
"MIT"
] | null | null | null | from .users import UsersListResource # NOQA
from .users import UserResource # NOQA
from .followers import FollowersListResource # NOQA
from .repos import ReposListResource # NOQA
from .repos import RepoResource # NOQA
| 37.166667 | 52 | 0.798206 | 25 | 223 | 7.12 | 0.44 | 0.179775 | 0.168539 | 0.213483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156951 | 223 | 5 | 53 | 44.6 | 0.946809 | 0.107623 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
648c2c20bd854f69e485a8cf34eeda1f41447e10 | 9,434 | py | Python | tests/contracts/KT1BDMQEhMATgVAcwtgqNgZNBM6LEM1PANuM/test_michelson_coding_KT1BDM.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-08-11T02:31:24.000Z | 2020-08-11T02:31:24.000Z | tests/contracts/KT1BDMQEhMATgVAcwtgqNgZNBM6LEM1PANuM/test_michelson_coding_KT1BDM.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-12-30T16:44:56.000Z | 2020-12-30T16:44:56.000Z | tests/contracts/KT1BDMQEhMATgVAcwtgqNgZNBM6LEM1PANuM/test_michelson_coding_KT1BDM.py | tqtezos/pytezos | a4ac0b022d35d4c9f3062609d8ce09d584b5faa8 | [
"MIT"
] | 1 | 2022-03-20T19:01:00.000Z | 2022-03-20T19:01:00.000Z | from unittest import TestCase
from tests import get_data
from pytezos.michelson.micheline import michelson_to_micheline
from pytezos.michelson.formatter import micheline_to_michelson
class MichelsonCodingTestKT1BDM(TestCase):
def setUp(self):
self.maxDiff = None
def test_michelson_parse_code_KT... | 46.935323 | 89 | 0.734683 | 880 | 9,434 | 7.563636 | 0.05 | 0.048377 | 0.074369 | 0.135216 | 0.963341 | 0.963341 | 0.963341 | 0.963341 | 0.947416 | 0.947416 | 0 | 0.023049 | 0.190587 | 9,434 | 200 | 90 | 47.17 | 0.848612 | 0 | 0 | 0.639053 | 0 | 0 | 0.316833 | 0.316833 | 0 | 0 | 0 | 0 | 0.159763 | 1 | 0.16568 | false | 0 | 0.023669 | 0 | 0.195266 | 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 |
6495674227e2d4f327739dbc79ec0dbe607aeede | 189 | py | Python | simplepush/__init__.py | bobquest33/django-simplepush | af53ba086e51976a346e7741cb101c509ca9de0f | [
"BSD-3-Clause"
] | 1 | 2021-07-30T21:00:49.000Z | 2021-07-30T21:00:49.000Z | simplepush/__init__.py | bobquest33/django-simplepush | af53ba086e51976a346e7741cb101c509ca9de0f | [
"BSD-3-Clause"
] | null | null | null | simplepush/__init__.py | bobquest33/django-simplepush | af53ba086e51976a346e7741cb101c509ca9de0f | [
"BSD-3-Clause"
] | null | null | null | import json
from .helpers import send_notification_to_user
def send_user_notification(user, payload, ttl=0):
payload = json.dumps(payload)
send_notification_to_user(user, payload, ttl) | 23.625 | 49 | 0.814815 | 28 | 189 | 5.214286 | 0.464286 | 0.219178 | 0.246575 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.10582 | 189 | 8 | 50 | 23.625 | 0.857988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
64c8811a09b8f045e85e90b5c5ecbc4676c90930 | 1,148 | py | Python | good_spot/places/migrations/0086_auto_20180813_1225.py | jasmine92122/NightClubBackend | 7f59129b78baaba0e0c25de2b493033b858f1b00 | [
"MIT"
] | null | null | null | good_spot/places/migrations/0086_auto_20180813_1225.py | jasmine92122/NightClubBackend | 7f59129b78baaba0e0c25de2b493033b858f1b00 | [
"MIT"
] | 5 | 2020-02-12T03:13:11.000Z | 2022-01-13T01:41:14.000Z | good_spot/places/migrations/0086_auto_20180813_1225.py | jasmine92122/NightClubBackend | 7f59129b78baaba0e0c25de2b493033b858f1b00 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2018-08-13 12:25
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('places', '0085_placetype_name_plural'),
]
operations = [
migrations.AddFiel... | 31.888889 | 100 | 0.611498 | 129 | 1,148 | 5.224806 | 0.379845 | 0.096439 | 0.136499 | 0.160237 | 0.700297 | 0.700297 | 0.700297 | 0.700297 | 0.626113 | 0.626113 | 0 | 0.034483 | 0.267422 | 1,148 | 35 | 101 | 32.8 | 0.766944 | 0.059233 | 0 | 0.571429 | 1 | 0 | 0.152275 | 0.024141 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 |
64d58b123468ff248ecdc2ae08b02067e31303dc | 32 | py | Python | src/ultimateml/dummy.py | EmilMachine/ultimateml | f5c58e882b120bb99e4a56ea3f9ac5a636ae3a00 | [
"MIT"
] | null | null | null | src/ultimateml/dummy.py | EmilMachine/ultimateml | f5c58e882b120bb99e4a56ea3f9ac5a636ae3a00 | [
"MIT"
] | null | null | null | src/ultimateml/dummy.py | EmilMachine/ultimateml | f5c58e882b120bb99e4a56ea3f9ac5a636ae3a00 | [
"MIT"
] | null | null | null |
def fancyfunction():
return 42 | 10.666667 | 20 | 0.75 | 4 | 32 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.15625 | 32 | 3 | 21 | 10.666667 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
b382e7cca2b06372222238d82ac27e4fe771b94d | 52,650 | py | Python | tests/test_aiotapioca.py | ilindrey/aiotapioca-wrapper | 9fc84b8b5c7e11df3ee9a3c8aa6615bc94948524 | [
"MIT"
] | null | null | null | tests/test_aiotapioca.py | ilindrey/aiotapioca-wrapper | 9fc84b8b5c7e11df3ee9a3c8aa6615bc94948524 | [
"MIT"
] | null | null | null | tests/test_aiotapioca.py | ilindrey/aiotapioca-wrapper | 9fc84b8b5c7e11df3ee9a3c8aa6615bc94948524 | [
"MIT"
] | null | null | null | import pickle
from collections import OrderedDict
from itertools import product
import orjson
import pytest
import pytest_asyncio
import xmltodict
from aiohttp.client_reqrep import ClientResponse
from pydantic import BaseModel
from yarl import URL
from aiotapioca.adapters import TapiocaAdapter, generate_wrapper_from_... | 30.363322 | 105 | 0.586667 | 5,663 | 52,650 | 5.224439 | 0.058626 | 0.04901 | 0.071385 | 0.083485 | 0.810654 | 0.772697 | 0.746874 | 0.719496 | 0.702021 | 0.681302 | 0 | 0.016144 | 0.283533 | 52,650 | 1,733 | 106 | 30.380842 | 0.768172 | 0.007293 | 0 | 0.65139 | 0 | 0.006762 | 0.127149 | 0.00048 | 0 | 0 | 0 | 0 | 0.096168 | 1 | 0.013524 | false | 0.001503 | 0.012021 | 0 | 0.036814 | 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 |
b3ceb7bacaabc9d374ce9e5489d90bcedfbf69ad | 159 | py | Python | dp_tornado/helper/security/web/__init__.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 18 | 2015-04-07T14:28:39.000Z | 2020-02-08T14:03:38.000Z | dp_tornado/helper/security/web/__init__.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 7 | 2016-10-05T05:14:06.000Z | 2021-05-20T02:07:22.000Z | dp_tornado/helper/security/web/__init__.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 11 | 2015-12-15T09:49:39.000Z | 2021-09-06T18:38:21.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from dp_tornado.engine.helper import Helper as dpHelper
class WebHelper(dpHelper):
pass
| 15.9 | 55 | 0.748428 | 21 | 159 | 5.380952 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.163522 | 159 | 9 | 56 | 17.666667 | 0.842105 | 0.132075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b3d5be07df5ced34dc59e990bef205aa91454a35 | 36 | py | Python | python/cendalytics/core/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/cendalytics/core/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/cendalytics/core/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | from .cendant_api import CendantAPI
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b609f4b1ffa24614e7665b9913e37d343760b745 | 341 | py | Python | Introducao python/exercicios/ex009.py | Luis12368/python | 23352d75ad13bcfd09ea85ab422fdc6ae1fcc5e7 | [
"MIT"
] | null | null | null | Introducao python/exercicios/ex009.py | Luis12368/python | 23352d75ad13bcfd09ea85ab422fdc6ae1fcc5e7 | [
"MIT"
] | null | null | null | Introducao python/exercicios/ex009.py | Luis12368/python | 23352d75ad13bcfd09ea85ab422fdc6ae1fcc5e7 | [
"MIT"
] | null | null | null | n = int(input('Insira um número: '))
print('_' * 12)
print(f'{n} X 1 = {n*1}')
print(f'{n} X 2 = {n*2}')
print(f'{n} X 3 = {n*3}')
print(f'{n} X 4 = {n*4}')
print(f'{n} X 5 = {n*5}')
print(f'{n} x 6 = {n*6}')
print(f'{n} X 7 = {n*7}')
print(f'{n} X 8 = {n*8}')
print(f'{n} X 9 = {n*9}')
print(f'{n} X 10 = {n*10... | 22.733333 | 36 | 0.442815 | 80 | 341 | 1.8625 | 0.25 | 0.402685 | 0.469799 | 0.536913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096654 | 0.211144 | 341 | 14 | 37 | 24.357143 | 0.457249 | 0 | 0 | 0.153846 | 0 | 0 | 0.532353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.923077 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b611137ed77fff3f1dc6cb533c989b3abe68b3ac | 99 | py | Python | tests/test_fill.py | NioGreek/Clashgap | 8e066de522b139fbb30f742eea64a549c57d9b00 | [
"MIT"
] | 2 | 2021-07-20T17:09:06.000Z | 2021-07-22T03:05:24.000Z | tests/test_fill.py | NioGreek/Clashgap | 8e066de522b139fbb30f742eea64a549c57d9b00 | [
"MIT"
] | 2 | 2021-07-22T12:57:33.000Z | 2021-07-24T08:28:56.000Z | tests/test_fill.py | NioGreek/Clashgap | 8e066de522b139fbb30f742eea64a549c57d9b00 | [
"MIT"
] | 1 | 2021-07-21T07:03:19.000Z | 2021-07-21T07:03:19.000Z | import clashgap as cg
def test_fill():
assert cg.fill([["sp", "h"], "am"]) == ["spam", "ham"]
| 19.8 | 58 | 0.545455 | 15 | 99 | 3.533333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 99 | 4 | 59 | 24.75 | 0.654321 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3774af41dcc95d857b67d1577a491813ead4a946 | 4,664 | py | Python | tests/system/action/meeting/test_delete_all_speakers_of_all_lists.py | MJJojo97/openslides-backend | af0d1edb0070e352d46f285a1ba0bbe3702d49ae | [
"MIT"
] | null | null | null | tests/system/action/meeting/test_delete_all_speakers_of_all_lists.py | MJJojo97/openslides-backend | af0d1edb0070e352d46f285a1ba0bbe3702d49ae | [
"MIT"
] | 19 | 2021-11-22T16:25:54.000Z | 2021-11-25T13:38:13.000Z | tests/system/action/meeting/test_delete_all_speakers_of_all_lists.py | MJJojo97/openslides-backend | af0d1edb0070e352d46f285a1ba0bbe3702d49ae | [
"MIT"
] | null | null | null | from openslides_backend.permissions.permissions import Permissions
from tests.system.action.base import BaseActionTestCase
class MeetingDeleteAllSpeakersOfAllListsActionTest(BaseActionTestCase):
def setUp(self) -> None:
super().setUp()
self.permission_test_model = {
"list_of_speakers/1... | 39.193277 | 88 | 0.534091 | 504 | 4,664 | 4.545635 | 0.119048 | 0.052379 | 0.122217 | 0.054998 | 0.802706 | 0.770842 | 0.75993 | 0.75993 | 0.75993 | 0.741161 | 0 | 0.059278 | 0.334477 | 4,664 | 118 | 89 | 39.525424 | 0.678802 | 0 | 0 | 0.518519 | 0 | 0 | 0.298456 | 0.096055 | 0 | 0 | 0 | 0 | 0.101852 | 1 | 0.074074 | false | 0 | 0.018519 | 0 | 0.101852 | 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 |
378fa60e9ce1cd0fbc51113706daba7125c8fc17 | 163 | py | Python | src/adafruit_blinka/microcontroller/amlogic/s905x3/pin.py | Jcc99/Adafruit_Blinka | 41f8155bab83039ed9d45276addd3d501e83f3e6 | [
"MIT"
] | 294 | 2018-06-30T19:08:27.000Z | 2022-03-26T21:08:47.000Z | src/adafruit_blinka/microcontroller/amlogic/s905x3/pin.py | Jcc99/Adafruit_Blinka | 41f8155bab83039ed9d45276addd3d501e83f3e6 | [
"MIT"
] | 421 | 2018-06-30T20:54:46.000Z | 2022-03-31T15:08:37.000Z | src/adafruit_blinka/microcontroller/amlogic/s905x3/pin.py | Jcc99/Adafruit_Blinka | 41f8155bab83039ed9d45276addd3d501e83f3e6 | [
"MIT"
] | 234 | 2018-07-23T18:49:16.000Z | 2022-03-28T16:59:48.000Z | """AmLogic s905x3 pin names"""
# pylint: disable=wildcard-import,unused-wildcard-import
from adafruit_blinka.microcontroller.amlogic.meson_g12_common.pin import *
| 40.75 | 74 | 0.822086 | 21 | 163 | 6.238095 | 0.761905 | 0.21374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 0.067485 | 163 | 3 | 75 | 54.333333 | 0.822368 | 0.490798 | 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 |
3792f978ea808a632abc7ad8cfbb0bfad7875985 | 209 | py | Python | my_dataclasses/plays.py | GudniNatan/GSKI-PA6 | a0f9a38bc0d2f6710f803a77276e6a76cd6f4471 | [
"MIT"
] | null | null | null | my_dataclasses/plays.py | GudniNatan/GSKI-PA6 | a0f9a38bc0d2f6710f803a77276e6a76cd6f4471 | [
"MIT"
] | null | null | null | my_dataclasses/plays.py | GudniNatan/GSKI-PA6 | a0f9a38bc0d2f6710f803a77276e6a76cd6f4471 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from my_dataclasses.member import Member
from my_dataclasses.sport import Sport
@dataclass(order=True, frozen=True)
class Plays(object):
member: Member
sport: Sport
| 20.9 | 40 | 0.794258 | 28 | 209 | 5.857143 | 0.464286 | 0.073171 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143541 | 209 | 9 | 41 | 23.222222 | 0.916201 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80a31b978430a03712aa6e4c30f664c12e4e5cee | 44 | py | Python | stdplugins/__init__.py | ppppspsljdhdd/Pepe | 1e57825ddb0ab3ba15a19cad0ecfbf2622f6b851 | [
"Apache-2.0"
] | 20 | 2020-01-25T05:08:26.000Z | 2022-01-18T07:37:53.000Z | stdplugins/__init__.py | ishaizz/PepeBot | 7440cadc8228106d221fc8e436a0809a86be5159 | [
"Apache-2.0"
] | 15 | 2019-11-07T07:53:56.000Z | 2022-01-23T09:21:17.000Z | stdplugins/__init__.py | ishaizz/PepeBot | 7440cadc8228106d221fc8e436a0809a86be5159 | [
"Apache-2.0"
] | 62 | 2019-10-20T06:35:19.000Z | 2021-01-23T17:26:05.000Z | from uniborg import *
from userbot import *
| 14.666667 | 21 | 0.772727 | 6 | 44 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80b8628f26ab382aefa545b0fb3740e9e53b5e22 | 70 | py | Python | not_tf_opt/__init__.py | gergely-flamich/not-tf-opt | 18e2c0024f1179a51190751d22ba4eb8b25bf3db | [
"MIT"
] | null | null | null | not_tf_opt/__init__.py | gergely-flamich/not-tf-opt | 18e2c0024f1179a51190751d22ba4eb8b25bf3db | [
"MIT"
] | null | null | null | not_tf_opt/__init__.py | gergely-flamich/not-tf-opt | 18e2c0024f1179a51190751d22ba4eb8b25bf3db | [
"MIT"
] | null | null | null | from .variables import *
from .optimize import *
from .utils import *
| 17.5 | 24 | 0.742857 | 9 | 70 | 5.777778 | 0.555556 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 3 | 25 | 23.333333 | 0.896552 | 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 |
80fcaf869f884bfa65105bd82efb6048d76b37ce | 38 | py | Python | test/test-sys.py | xupingmao/minipy | 5bce2f238925eb92fe9ff7d935f59ef68daa257a | [
"MIT"
] | 52 | 2016-07-11T10:14:35.000Z | 2021-12-09T09:10:43.000Z | test/test_case/060_test_sys.py | xupingmao/snake | c956f151ed1ebd2faeaf1565352b59ca5a8fa0b4 | [
"MIT"
] | 13 | 2016-07-24T13:50:37.000Z | 2019-03-02T06:56:18.000Z | test/test_case/060_test_sys.py | xupingmao/snake | c956f151ed1ebd2faeaf1565352b59ca5a8fa0b4 | [
"MIT"
] | 9 | 2017-01-27T10:46:04.000Z | 2021-12-09T09:10:46.000Z |
import sys
assert len(sys.argv) == 1 | 9.5 | 25 | 0.684211 | 7 | 38 | 3.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.184211 | 38 | 4 | 25 | 9.5 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
038ef106b20c259dc5c6a88c1f1d3f5f223b4129 | 289 | py | Python | src/evidently/profile_sections/__init__.py | jenoOvchi/evidently | 6ca36d633ee258442410ef47a219ff40b8a5097b | [
"Apache-2.0"
] | null | null | null | src/evidently/profile_sections/__init__.py | jenoOvchi/evidently | 6ca36d633ee258442410ef47a219ff40b8a5097b | [
"Apache-2.0"
] | null | null | null | src/evidently/profile_sections/__init__.py | jenoOvchi/evidently | 6ca36d633ee258442410ef47a219ff40b8a5097b | [
"Apache-2.0"
] | null | null | null | import warnings
import evidently.model_profile.sections
from evidently.model_profile.sections import *
__path__ = evidently.model_profile.sections.__path__ # type: ignore
warnings.warn("'import evidently.profile_sections' is deprecated, use 'import evidently.model_profile.sections'")
| 32.111111 | 113 | 0.83045 | 35 | 289 | 6.485714 | 0.4 | 0.330396 | 0.370044 | 0.511013 | 0.30837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086505 | 289 | 8 | 114 | 36.125 | 0.859848 | 0.041522 | 0 | 0 | 0 | 0 | 0.349091 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0392a06f401816010aba9707153aeba037ae42bf | 217,226 | py | Python | pirates/leveleditor/worldData/CubaIsland.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/CubaIsland.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/CubaIsland.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.CubaIsland
from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'Locator Links': [['... | 31,032.285714 | 216,785 | 0.666099 | 29,412 | 217,226 | 4.858391 | 0.073303 | 0.020253 | 0.019126 | 0.015536 | 0.70761 | 0.577508 | 0.552035 | 0.48896 | 0.430743 | 0.420428 | 0 | 0.276275 | 0.070484 | 217,226 | 7 | 216,786 | 31,032.285714 | 0.431424 | 0.000994 | 0 | 0 | 0 | 0 | 0.544063 | 0.272877 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
03f31a2a63dceed013a3bf2dd7cfcd908654b692 | 48 | py | Python | rmp2/rmpgraph/__init__.py | UWRobotLearning/rmp2 | c612a014f517204b38c552619a441be4b3d7b67f | [
"MIT"
] | 17 | 2021-07-05T19:53:27.000Z | 2022-03-28T18:10:20.000Z | rmp2/rmpgraph/__init__.py | UWRobotLearning/rmp2 | c612a014f517204b38c552619a441be4b3d7b67f | [
"MIT"
] | null | null | null | rmp2/rmpgraph/__init__.py | UWRobotLearning/rmp2 | c612a014f517204b38c552619a441be4b3d7b67f | [
"MIT"
] | 2 | 2022-03-15T01:13:27.000Z | 2022-03-21T08:30:54.000Z | from rmp2.rmpgraph.robotics import RobotRMPGraph | 48 | 48 | 0.895833 | 6 | 48 | 7.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.0625 | 48 | 1 | 48 | 48 | 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 |
ff1a0432ebfc110c3ff64a1bfb40a9d6b66b4a53 | 157 | py | Python | pyz3r/exceptions.py | mgius/pyz3r | f6de06db25a06353b73e9ef7003c80de7073373d | [
"Apache-2.0"
] | null | null | null | pyz3r/exceptions.py | mgius/pyz3r | f6de06db25a06353b73e9ef7003c80de7073373d | [
"Apache-2.0"
] | null | null | null | pyz3r/exceptions.py | mgius/pyz3r | f6de06db25a06353b73e9ef7003c80de7073373d | [
"Apache-2.0"
] | null | null | null | class alttprException(Exception):
pass
class alttprFailedToRetrieve(Exception):
pass
class alttprFailedToGenerate(Exception):
pass
| 14.272727 | 41 | 0.719745 | 12 | 157 | 9.416667 | 0.5 | 0.345133 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22293 | 157 | 10 | 42 | 15.7 | 0.92623 | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2082afade3820d1cb8855f41bc4382f224e85fa9 | 200 | py | Python | rest_framework_social_oauth2/settings.py | hrahmadi71/django-rest-framework-social-oauth2 | f9de220606bd08981b9d81ab80dd69d70ceb1988 | [
"MIT"
] | 613 | 2018-03-31T01:59:00.000Z | 2022-03-19T14:40:42.000Z | rest_framework_social_oauth2/settings.py | hrahmadi71/django-rest-framework-social-oauth2 | f9de220606bd08981b9d81ab80dd69d70ceb1988 | [
"MIT"
] | 132 | 2015-04-08T17:31:55.000Z | 2018-03-15T13:32:06.000Z | rest_framework_social_oauth2/settings.py | hrahmadi71/django-rest-framework-social-oauth2 | f9de220606bd08981b9d81ab80dd69d70ceb1988 | [
"MIT"
] | 118 | 2018-03-29T02:47:23.000Z | 2022-02-17T12:14:07.000Z | from django.conf import settings
DRFSO2_PROPRIETARY_BACKEND_NAME = getattr(settings, 'DRFSO2_PROPRIETARY_BACKEND_NAME', "Django")
DRFSO2_URL_NAMESPACE = getattr(settings, 'DRFSO2_URL_NAMESPACE', "")
| 40 | 96 | 0.83 | 24 | 200 | 6.5 | 0.5 | 0.269231 | 0.320513 | 0.410256 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021622 | 0.075 | 200 | 4 | 97 | 50 | 0.821622 | 0 | 0 | 0 | 0 | 0 | 0.285 | 0.155 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
20a44fcf51e45dd5f7265e5493d7dc9c9faccbd3 | 48 | py | Python | mltools/train/__init__.py | msc5/ml-tools | 75ca504bdc0495e8a929ad73501b7de692b3089a | [
"Apache-2.0"
] | null | null | null | mltools/train/__init__.py | msc5/ml-tools | 75ca504bdc0495e8a929ad73501b7de692b3089a | [
"Apache-2.0"
] | null | null | null | mltools/train/__init__.py | msc5/ml-tools | 75ca504bdc0495e8a929ad73501b7de692b3089a | [
"Apache-2.0"
] | null | null | null | from .train import *
from .logger import Logger
| 16 | 26 | 0.770833 | 7 | 48 | 5.285714 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 27 | 24 | 0.925 | 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 |
20b1f95c01cfbfd10bb97b6e92d962f1bcbd59c0 | 3,992 | py | Python | etf_data_loader.py | xSakix/etf_data | b622064fd4c8e1c2e1d477a2731f51ff1cb08e4d | [
"Apache-2.0"
] | null | null | null | etf_data_loader.py | xSakix/etf_data | b622064fd4c8e1c2e1d477a2731f51ff1cb08e4d | [
"Apache-2.0"
] | null | null | null | etf_data_loader.py | xSakix/etf_data | b622064fd4c8e1c2e1d477a2731f51ff1cb08e4d | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import numpy as np
import os
import sys
def load_data(assets, start_date, end_date):
df_open = load_data_from_file('etf_data_open.csv', assets, start_date, end_date)
df_close = load_data_from_file('etf_data_close.csv', assets, start_date, end_date)
df_high = load_data_from_file('etf_da... | 29.57037 | 94 | 0.600952 | 600 | 3,992 | 3.708333 | 0.09 | 0.079101 | 0.098876 | 0.115056 | 0.956854 | 0.955056 | 0.942472 | 0.750562 | 0.681348 | 0.681348 | 0 | 0.000686 | 0.26979 | 3,992 | 134 | 95 | 29.791045 | 0.762607 | 0.082916 | 0 | 0.777778 | 0 | 0 | 0.098136 | 0.012061 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.044444 | 0 | 0.177778 | 0.044444 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20bf7567661d1841f7671da7c9253c4e59abf9f8 | 48 | py | Python | gen_util/__init__.py | CUrW-SL/DSS-Framework | 43a39b322ffb0eb92dd116e77cf9a8479357a121 | [
"MIT"
] | null | null | null | gen_util/__init__.py | CUrW-SL/DSS-Framework | 43a39b322ffb0eb92dd116e77cf9a8479357a121 | [
"MIT"
] | null | null | null | gen_util/__init__.py | CUrW-SL/DSS-Framework | 43a39b322ffb0eb92dd116e77cf9a8479357a121 | [
"MIT"
] | null | null | null | from .controller_util import get_triggering_dags | 48 | 48 | 0.916667 | 7 | 48 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 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 |
20e3e3987464531bc5bd471dbee340a002da3c03 | 45 | py | Python | networks/std/__init__.py | Chappie733/MLPack | 223b142ff22dc35b9122183435afdc473a2c0b47 | [
"MIT"
] | null | null | null | networks/std/__init__.py | Chappie733/MLPack | 223b142ff22dc35b9122183435afdc473a2c0b47 | [
"MIT"
] | null | null | null | networks/std/__init__.py | Chappie733/MLPack | 223b142ff22dc35b9122183435afdc473a2c0b47 | [
"MIT"
] | null | null | null | from .layers import *
from .network import *
| 15 | 22 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 23 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
457c9e761df0197d87df1e4c38c0d31c4acad3b3 | 46 | py | Python | je_auto_control/utils/exception/__init__.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | 9 | 2020-10-12T06:33:36.000Z | 2021-09-13T07:07:36.000Z | je_auto_control/utils/exception/__init__.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | null | null | null | je_auto_control/utils/exception/__init__.py | JE-Chen/Python_JEAutoControl | 477bf9612e28e9ab6d0a8e269db2f699e50a3744 | [
"MIT"
] | null | null | null | from je_auto_control.utils.exception import *
| 23 | 45 | 0.847826 | 7 | 46 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.880952 | 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 |
45940e2e0c52d01e63ad0d9f207ac4852d537161 | 4,664 | py | Python | tests/test_losses.py | p768lwy3/torecsys | 2251366268b4fbe6f8c3ab1628fa72a0db043dcd | [
"MIT"
] | 92 | 2019-08-15T11:03:50.000Z | 2022-03-12T01:21:05.000Z | tests/test_losses.py | p768lwy3/torecsys | 2251366268b4fbe6f8c3ab1628fa72a0db043dcd | [
"MIT"
] | 3 | 2020-03-11T08:57:50.000Z | 2021-01-06T01:39:47.000Z | tests/test_losses.py | p768lwy3/torecsys | 2251366268b4fbe6f8c3ab1628fa72a0db043dcd | [
"MIT"
] | 16 | 2019-10-12T11:28:53.000Z | 2022-03-28T14:04:12.000Z | import unittest
import torch
from parameterized import parameterized
from torecsys.losses import *
device = 'cuda:0' if torch.cuda.is_available() else 'cpu'
class AdaptiveHingeLossTestCase(unittest.TestCase):
@parameterized.expand([
(4, 32,),
(16, 16,),
(32, 4,),
])
def test_for... | 30.684211 | 75 | 0.596698 | 573 | 4,664 | 4.69808 | 0.123909 | 0.093611 | 0.078009 | 0.100297 | 0.782689 | 0.763744 | 0.754829 | 0.754829 | 0.731798 | 0.731798 | 0 | 0.032156 | 0.253216 | 4,664 | 151 | 76 | 30.887417 | 0.740741 | 0 | 0 | 0.754237 | 0 | 0 | 0.07247 | 0 | 0 | 0 | 0 | 0 | 0.059322 | 1 | 0.059322 | false | 0 | 0.033898 | 0 | 0.152542 | 0.059322 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b3088829bd55a0d983de8c705f56417ea4a54ac3 | 46 | py | Python | graphgallery/gallery/linkpred/pyg/__init__.py | EdisonLeeeee/GraphGallery | 4eec9c5136bda14809bd22584b26cc346cdb633b | [
"MIT"
] | 300 | 2020-08-09T04:27:41.000Z | 2022-03-30T07:43:41.000Z | graphgallery/gallery/linkpred/pyg/__init__.py | EdisonLeeeee/GraphGallery | 4eec9c5136bda14809bd22584b26cc346cdb633b | [
"MIT"
] | 5 | 2020-11-05T06:16:50.000Z | 2021-12-11T05:05:22.000Z | graphgallery/gallery/linkpred/pytorch/__init__.py | EdisonLeeeee/GraphGallery | 4eec9c5136bda14809bd22584b26cc346cdb633b | [
"MIT"
] | 51 | 2020-09-23T15:37:12.000Z | 2022-03-05T01:28:56.000Z | from .gae import GAE
from .vgae import VGAE
| 15.333333 | 23 | 0.73913 | 8 | 46 | 4.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 2 | 24 | 23 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b31df60e00166612398f3b8eb16174c35e86d989 | 42,680 | py | Python | competition/scenarios.py | xfuzzycomp/FuzzyChallenge2021 | 5876450fdb913c6707352bfe9fcc25748f041f52 | [
"MIT"
] | null | null | null | competition/scenarios.py | xfuzzycomp/FuzzyChallenge2021 | 5876450fdb913c6707352bfe9fcc25748f041f52 | [
"MIT"
] | null | null | null | competition/scenarios.py | xfuzzycomp/FuzzyChallenge2021 | 5876450fdb913c6707352bfe9fcc25748f041f52 | [
"MIT"
] | null | null | null | from fuzzy_asteroids.util import Scenario
import numpy as np
# "Simple" Scenarios --------------------------------------------------------------------------------------------------#
# Threat priority tests
threat_test_1 = Scenario(
name="threat_test_1",
asteroid_states=[{"position": (0, 300), "angle": -90.0, ... | 43.462322 | 120 | 0.471954 | 5,352 | 42,680 | 3.656577 | 0.031577 | 0.107307 | 0.067603 | 0.115892 | 0.899387 | 0.847011 | 0.832243 | 0.755238 | 0.727849 | 0.639346 | 0 | 0.14103 | 0.292924 | 42,680 | 981 | 121 | 43.506626 | 0.507456 | 0.064691 | 0 | 0.576923 | 0 | 0 | 0.201621 | 0.003011 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002481 | 0 | 0.002481 | 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 |
b354da045a8c2383221fb2caac0d79e36dd3ab7f | 25,921 | py | Python | riskfolio/RiskFunctions.py | xiaolongguo/Riskfolio-Lib | 4e74c4f27a48ced7dcc0ab4a9e96c922cd54f0b4 | [
"BSD-3-Clause"
] | 2 | 2022-02-07T11:16:46.000Z | 2022-02-23T06:57:41.000Z | riskfolio/RiskFunctions.py | xiaolongguo/Riskfolio-Lib | 4e74c4f27a48ced7dcc0ab4a9e96c922cd54f0b4 | [
"BSD-3-Clause"
] | null | null | null | riskfolio/RiskFunctions.py | xiaolongguo/Riskfolio-Lib | 4e74c4f27a48ced7dcc0ab4a9e96c922cd54f0b4 | [
"BSD-3-Clause"
] | 1 | 2022-02-07T11:38:34.000Z | 2022-02-07T11:38:34.000Z | import numpy as np
from scipy.optimize import minimize
from scipy.optimize import Bounds
__all__ = [
"MAD",
"SemiDeviation",
"VaR_Hist",
"CVaR_Hist",
"WR",
"LPM",
"Entropic_RM",
"EVaR_Hist",
"MaxAbsDD",
"AvgAbsDD",
"ConAbsDD",
"MaxRelDD",
"AvgRelDD",
"ConRelDD",... | 25.998997 | 88 | 0.532078 | 3,657 | 25,921 | 3.701121 | 0.067542 | 0.026598 | 0.017067 | 0.019948 | 0.801995 | 0.785888 | 0.743554 | 0.725748 | 0.705948 | 0.691467 | 0 | 0.0292 | 0.319586 | 25,921 | 996 | 89 | 26.0251 | 0.738221 | 0.477528 | 0 | 0.618667 | 0 | 0 | 0.064154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048 | false | 0 | 0.008 | 0 | 0.104 | 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 |
b366f48606841fe29fdccd25f0931d6c51909f80 | 14,396 | py | Python | DailyProgrammer/DP20160722C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20160722C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20160722C.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[2016-07-22] Challenge #276 [Hard] ∞ Loop solver part 2
https://www.reddit.com/r/dailyprogrammer/comments/4u3e96/20160722_challenge_276_hard_loop_solver_part_2/
This is the same challenge as /u/jnazario's excellent [∞ Loop
solver](https://www.reddit.com/r/dailyprogrammer/comments/4rug59/20160708_challenge_274_har... | 88.319018 | 119 | 0.427549 | 3,760 | 14,396 | 2.295213 | 0.047872 | 0.017613 | 0.016686 | 0.00927 | 0.724913 | 0.669061 | 0.646929 | 0.499768 | 0.480765 | 0.366165 | 0 | 0.432832 | 0.242984 | 14,396 | 162 | 120 | 88.864198 | 0.130116 | 0.994304 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2fa406a1d9616f7c6d29469b8cff1b0491bb7fd2 | 122 | py | Python | resources/files/__init__.py | vishu221b/bookme-flask-REST-API-Collection | 9ee923e13d786af9b11421370edac718743855af | [
"MIT"
] | null | null | null | resources/files/__init__.py | vishu221b/bookme-flask-REST-API-Collection | 9ee923e13d786af9b11421370edac718743855af | [
"MIT"
] | null | null | null | resources/files/__init__.py | vishu221b/bookme-flask-REST-API-Collection | 9ee923e13d786af9b11421370edac718743855af | [
"MIT"
] | null | null | null | from .documentFileUpload import DocumentFileUploadResource
from .documentFileDownload import DocumentFileDownloadResource
| 40.666667 | 62 | 0.918033 | 8 | 122 | 14 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 122 | 2 | 63 | 61 | 0.982456 | 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 |
2fb9281e34c7da3db73175b83cad1e4923b159c2 | 1,950 | py | Python | process.py | SuperMaxine/Gaze_Tracking_Exp | fbecc09bf084faa881d63d2f1bc196104941ffb5 | [
"MIT"
] | null | null | null | process.py | SuperMaxine/Gaze_Tracking_Exp | fbecc09bf084faa881d63d2f1bc196104941ffb5 | [
"MIT"
] | null | null | null | process.py | SuperMaxine/Gaze_Tracking_Exp | fbecc09bf084faa881d63d2f1bc196104941ffb5 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
"""
opencv实现人脸识别
参考:
1、https://github.com/opencv/opencv/tree/master/data/haarcascades
2、http://www.cnblogs.com/hanson1/p/7105265.html
"""
import cv2
def detect_face(image):
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
'''
# 获取人脸识别训练数据
对于人脸特征的一些描述,opencv在读取完数据后很据训练中的样品数据,... | 22.941176 | 82 | 0.650769 | 249 | 1,950 | 5.036145 | 0.341365 | 0.025518 | 0.015949 | 0.019139 | 0.846093 | 0.8437 | 0.8437 | 0.8437 | 0.8437 | 0.802233 | 0 | 0.046239 | 0.168205 | 1,950 | 84 | 83 | 23.214286 | 0.72688 | 0.587179 | 0 | 0 | 0 | 0 | 0.082437 | 0.066308 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.214286 | 0.071429 | 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 |
2fdcb0a723367a5527e63bd7e6909f29ebc28c3f | 38,912 | py | Python | ziggurat_foundations/tests/test_permissions.py | ergo/ziggurat_foundations | 613adf1b6022e9b5401ef7de9f5a066c88cfb6e8 | [
"BSD-3-Clause"
] | 59 | 2015-02-18T10:58:57.000Z | 2021-06-15T19:52:29.000Z | ziggurat_foundations/tests/test_permissions.py | ergo/ziggurat_foundations | 613adf1b6022e9b5401ef7de9f5a066c88cfb6e8 | [
"BSD-3-Clause"
] | 50 | 2015-02-18T10:12:17.000Z | 2021-09-09T20:13:17.000Z | ziggurat_foundations/tests/test_permissions.py | ergo/ziggurat_foundations | 613adf1b6022e9b5401ef7de9f5a066c88cfb6e8 | [
"BSD-3-Clause"
] | 24 | 2015-02-18T10:29:47.000Z | 2020-03-28T20:28:56.000Z | # -*- coding: utf-8 -*-
from __future__ import with_statement, unicode_literals
import pytest
from ziggurat_foundations.models.services.group_permission import GroupPermissionService
from ziggurat_foundations.models.services.group_resource_permission import (
GroupResourcePermissionService,
)
from ziggurat_founda... | 37.34357 | 88 | 0.612022 | 4,176 | 38,912 | 5.365182 | 0.037835 | 0.098014 | 0.045526 | 0.054363 | 0.879848 | 0.823031 | 0.780317 | 0.743539 | 0.727561 | 0.718947 | 0 | 0.013762 | 0.297852 | 38,912 | 1,041 | 89 | 37.379443 | 0.806273 | 0.002904 | 0 | 0.679285 | 0 | 0 | 0.062534 | 0 | 0 | 0 | 0 | 0 | 0.044164 | 1 | 0.050473 | false | 0.003155 | 0.012618 | 0 | 0.066246 | 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 |
641dfd3f82c50b129dcf2d935fc5c8f6104d2c1a | 161 | py | Python | revscoring/revscoring/languages/features/dictionary/tests/test_util.py | yafeunteun/wikipedia-spam-classifier | fca782b39b287fbc0b2dd54f8e2bf33c6d3bc519 | [
"MIT"
] | 2 | 2016-10-26T18:58:53.000Z | 2017-06-22T20:11:20.000Z | revscoring/revscoring/languages/features/dictionary/tests/test_util.py | yafeunteun/wikipedia-spam-classifier | fca782b39b287fbc0b2dd54f8e2bf33c6d3bc519 | [
"MIT"
] | null | null | null | revscoring/revscoring/languages/features/dictionary/tests/test_util.py | yafeunteun/wikipedia-spam-classifier | fca782b39b287fbc0b2dd54f8e2bf33c6d3bc519 | [
"MIT"
] | null | null | null | from nose.tools import eq_
from ..util import utf16_cleanup
def test_utf16_cleanup():
eq_(utf16_cleanup("Foobar" + chr(2 ** 16)),
"Foobar\uFFFD")
| 17.888889 | 47 | 0.677019 | 23 | 161 | 4.478261 | 0.652174 | 0.349515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069231 | 0.192547 | 161 | 8 | 48 | 20.125 | 0.723077 | 0 | 0 | 0 | 0 | 0 | 0.111801 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 |
643356b0b42e24450c9db6f057bc342c9400746c | 116 | py | Python | guildwars2/guild/__init__.py | n1tr0-5urf3r/GW2Bot | 788e94926766ac16661211cb528be47629b0ad07 | [
"MIT"
] | 75 | 2017-05-06T18:53:34.000Z | 2022-01-10T08:02:48.000Z | guildwars2/guild/__init__.py | n1tr0-5urf3r/GW2Bot | 788e94926766ac16661211cb528be47629b0ad07 | [
"MIT"
] | 81 | 2017-05-07T18:04:06.000Z | 2021-12-13T13:34:45.000Z | guildwars2/guild/__init__.py | n1tr0-5urf3r/GW2Bot | 788e94926766ac16661211cb528be47629b0ad07 | [
"MIT"
] | 56 | 2017-05-07T06:58:29.000Z | 2022-03-28T23:23:42.000Z | from .general import GeneralGuild
from .sync import GuildSync
class GuildMixin(GeneralGuild, GuildSync):
pass
| 16.571429 | 42 | 0.793103 | 13 | 116 | 7.076923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 116 | 6 | 43 | 19.333333 | 0.938776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ff390f1c78c4b2350ac89e8b55df3651f99bb7d5 | 36 | py | Python | vnpy/gateway/sec/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 19,529 | 2015-03-02T12:17:35.000Z | 2022-03-31T17:18:27.000Z | vnpy/gateway/sec/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 2,186 | 2015-03-04T23:16:33.000Z | 2022-03-31T03:44:01.000Z | vnpy/gateway/sec/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 8,276 | 2015-03-02T05:21:04.000Z | 2022-03-31T13:13:13.000Z | from .sec_gateway import SecGateway
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ff3d3ed279a1850ba4785d212475832f6102bcfe | 288 | py | Python | test/unit/metrics/utils.py | alliesaizan/fairlearn | 846ce6cdaf188e32a545d3f90197515a4a5bc471 | [
"MIT"
] | 1,142 | 2019-10-14T18:05:46.000Z | 2022-03-30T06:56:54.000Z | test/unit/metrics/utils.py | alliesaizan/fairlearn | 846ce6cdaf188e32a545d3f90197515a4a5bc471 | [
"MIT"
] | 623 | 2019-10-14T17:11:25.000Z | 2022-03-31T17:46:54.000Z | test/unit/metrics/utils.py | alliesaizan/fairlearn | 846ce6cdaf188e32a545d3f90197515a4a5bc471 | [
"MIT"
] | 299 | 2019-10-15T00:09:53.000Z | 2022-03-30T12:35:27.000Z | # Copyright (c) Microsoft Corporation and Fairlearn contributors.
# Licensed under the MIT License.
import fairlearn.metrics as metrics
def _get_raw_MetricFrame():
# Gets an uninitialised MetricFrame for testing purposes
return metrics.MetricFrame.__new__(metrics.MetricFrame)
| 28.8 | 65 | 0.802083 | 34 | 288 | 6.588235 | 0.794118 | 0.160714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142361 | 288 | 9 | 66 | 32 | 0.906883 | 0.520833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ff8af24bea3735f79c333dd490eca9b96b47bda2 | 113 | py | Python | cytominer_eval/operations/__init__.py | hillsbury/cytominer-eval | 56bd9e545d4ce5dea8c2d3897024a4eb241d06db | [
"BSD-3-Clause"
] | null | null | null | cytominer_eval/operations/__init__.py | hillsbury/cytominer-eval | 56bd9e545d4ce5dea8c2d3897024a4eb241d06db | [
"BSD-3-Clause"
] | null | null | null | cytominer_eval/operations/__init__.py | hillsbury/cytominer-eval | 56bd9e545d4ce5dea8c2d3897024a4eb241d06db | [
"BSD-3-Clause"
] | null | null | null | from .percent_strong import percent_strong
from .precision_recall import precision_recall
from .grit import grit
| 28.25 | 46 | 0.867257 | 16 | 113 | 5.875 | 0.4375 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106195 | 113 | 3 | 47 | 37.666667 | 0.930693 | 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 |
44162499513d25160459c56fac5a7f8e586c1da1 | 2,244 | py | Python | tests/math/unary/test_hyperbolictrig.py | Zac-HD/MyGrad | fbc375d28842e1af1ebaf62ca6da479609a6baf6 | [
"MIT"
] | null | null | null | tests/math/unary/test_hyperbolictrig.py | Zac-HD/MyGrad | fbc375d28842e1af1ebaf62ca6da479609a6baf6 | [
"MIT"
] | 2 | 2017-08-02T01:47:51.000Z | 2017-08-12T22:34:50.000Z | tests/math/unary/test_hyperbolictrig.py | Zac-HD/MyGrad | fbc375d28842e1af1ebaf62ca6da479609a6baf6 | [
"MIT"
] | null | null | null | import numpy as np
from mygrad import cosh, coth, csch, sech, sinh, tanh
from tests.wrappers.uber import backprop_test_factory, fwdprop_test_factory
def _is_nonzero(x):
return np.all(np.abs(x.data) > 1e-8)
@fwdprop_test_factory(
mygrad_func=sinh, true_func=np.sinh, index_to_bnds={0: (-10, 10)}, num_arrays=... | 18.393443 | 83 | 0.667558 | 368 | 2,244 | 3.755435 | 0.127717 | 0.111433 | 0.147612 | 0.182344 | 0.863965 | 0.8589 | 0.823444 | 0.686686 | 0.686686 | 0.686686 | 0 | 0.052863 | 0.190731 | 2,244 | 121 | 84 | 18.545455 | 0.70815 | 0 | 0 | 0.617021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138298 | false | 0.12766 | 0.031915 | 0.010638 | 0.180851 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9244ebfd6d415914bf8fb0696b6cfab97096c3f1 | 19,961 | py | Python | src/ezdxf/tools/pattern.py | hh-wu/ezdxf | 62509ba39b826ee9b36f19c0a5abad7f3518186a | [
"MIT"
] | null | null | null | src/ezdxf/tools/pattern.py | hh-wu/ezdxf | 62509ba39b826ee9b36f19c0a5abad7f3518186a | [
"MIT"
] | null | null | null | src/ezdxf/tools/pattern.py | hh-wu/ezdxf | 62509ba39b826ee9b36f19c0a5abad7f3518186a | [
"MIT"
] | null | null | null | # Purpose: Standard definitions
# Created: 08.07.2015
# Copyright (c) 2015-2020, Manfred Moitzi
# License: MIT License
# pattern type: predefined (1)
from ezdxf.math import Vec2
PATTERN_NEW = {
"ANSI31": [[45.0, (0.0, 0.0), (-2.2627, 2.2627), []]],
"ANSI32": [
[45.0, (0.0, 0.0), (-6.7882, 6.7882), []]... | 43.299349 | 90 | 0.38475 | 4,015 | 19,961 | 1.898132 | 0.134247 | 0.208896 | 0.200367 | 0.197349 | 0.529196 | 0.499278 | 0.439312 | 0.40992 | 0.329484 | 0.302716 | 0 | 0.435041 | 0.267722 | 19,961 | 460 | 91 | 43.393478 | 0.086338 | 0.006964 | 0 | 0.208145 | 0 | 0 | 0.026696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011312 | false | 0 | 0.004525 | 0.004525 | 0.027149 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2bd1d28b58763f72536e86090757cedb32c8e0f0 | 193 | py | Python | source/piclient/camerapi/camerahandler_faker.py | rveshovda/pifog | 127c2de6ff2666ebc9987d8c2cfd5431ce5ff888 | [
"Apache-2.0"
] | 1 | 2017-07-05T06:47:57.000Z | 2017-07-05T06:47:57.000Z | source/piclient/camerapi/camerahandler_faker.py | royveshovda/pifog | 127c2de6ff2666ebc9987d8c2cfd5431ce5ff888 | [
"Apache-2.0"
] | null | null | null | source/piclient/camerapi/camerahandler_faker.py | royveshovda/pifog | 127c2de6ff2666ebc9987d8c2cfd5431ce5ff888 | [
"Apache-2.0"
] | null | null | null | def capture_high_res(filename):
return "./camerapi/tmp_large.jpg"
def capture_low_res(filename):
return "./camerapi/tmp_small.jpg"
def init():
return
def deinit():
return
| 12.866667 | 37 | 0.689119 | 26 | 193 | 4.884615 | 0.538462 | 0.15748 | 0.267717 | 0.393701 | 0.440945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186529 | 193 | 14 | 38 | 13.785714 | 0.808917 | 0 | 0 | 0.25 | 0 | 0 | 0.248705 | 0.248705 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
921be83bfe8f9a489861abaead3be210cb7d7e10 | 9,107 | py | Python | python/miind/connections.py | dekamps/miind | 4b321c62c2bd27eb0d5d8336a16a9e840ba63856 | [
"MIT"
] | 13 | 2015-09-15T17:28:25.000Z | 2022-03-22T20:26:47.000Z | python/miind/connections.py | dekamps/miind | 4b321c62c2bd27eb0d5d8336a16a9e840ba63856 | [
"MIT"
] | 41 | 2015-08-25T07:50:55.000Z | 2022-03-21T16:20:37.000Z | python/miind/connections.py | dekamps/miind | 4b321c62c2bd27eb0d5d8336a16a9e840ba63856 | [
"MIT"
] | 9 | 2015-09-14T20:52:07.000Z | 2022-03-08T12:18:18.000Z | # -*- coding: utf-8 -*-
"""
Created on Sat Jan 17 16:51:56 2015
@author: scsmdk
"""
import miind.nodes as nodes
import miind.variables as variables
TALLY = {}
def register(i,o):
tup = (i,o)
if tup not in TALLY:
TALLY[tup] = 1
return 0
else:
TALLY[tup] += 1
return TALLY[tu... | 37.788382 | 138 | 0.595037 | 1,145 | 9,107 | 4.556332 | 0.100437 | 0.08894 | 0.008051 | 0.064788 | 0.879241 | 0.842438 | 0.785317 | 0.736055 | 0.705578 | 0.683535 | 0 | 0.004093 | 0.222027 | 9,107 | 240 | 139 | 37.945833 | 0.732251 | 0.033601 | 0 | 0.657609 | 0 | 0 | 0.177816 | 0.04289 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.01087 | 0 | 0.173913 | 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 |
a60f536104bc0bea65187e1ff26469082c3a5ca1 | 10,344 | py | Python | py/pysparkling/ml/algo.py | gerbenoostra/sparkling-water | 0e996b80124bf6cf4bfb2cd274625f3ddb7bd9fb | [
"Apache-2.0"
] | null | null | null | py/pysparkling/ml/algo.py | gerbenoostra/sparkling-water | 0e996b80124bf6cf4bfb2cd274625f3ddb7bd9fb | [
"Apache-2.0"
] | null | null | null | py/pysparkling/ml/algo.py | gerbenoostra/sparkling-water | 0e996b80124bf6cf4bfb2cd274625f3ddb7bd9fb | [
"Apache-2.0"
] | null | null | null | from pyspark import since, keyword_only
from pyspark.ml.param.shared import *
from pyspark.ml.util import JavaMLReadable, JavaMLWritable
from pyspark.ml.wrapper import JavaEstimator, JavaModel, JavaTransformer, _jvm
from pyspark.sql import SparkSession
from pysparkling import *
from .params import H2OGBMParams, H2ODeep... | 64.248447 | 179 | 0.688128 | 1,016 | 10,344 | 6.862205 | 0.17126 | 0.006885 | 0.012909 | 0.013769 | 0.819277 | 0.8035 | 0.793746 | 0.79346 | 0.77883 | 0.77424 | 0 | 0.030996 | 0.214037 | 10,344 | 161 | 180 | 64.248447 | 0.826568 | 0.047564 | 0 | 0.576 | 0 | 0 | 0.062157 | 0.01493 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0.024 | 0.056 | 0.024 | 0.232 | 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 |
a66166246703189297b327b36845062d1af73e37 | 29,651 | py | Python | btclib/tests/test_dh.py | giubby84/btclib | 0dd7e4e8ca43451a03b577fd7ec95715a1a21711 | [
"MIT"
] | null | null | null | btclib/tests/test_dh.py | giubby84/btclib | 0dd7e4e8ca43451a03b577fd7ec95715a1a21711 | [
"MIT"
] | null | null | null | btclib/tests/test_dh.py | giubby84/btclib | 0dd7e4e8ca43451a03b577fd7ec95715a1a21711 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Copyright (C) 2017-2020 The btclib developers
#
# This file is part of btclib. It is subject to the license terms in the
# LICENSE file found in the top-level directory of this distribution.
#
# No part of btclib including this file, may be copied, modified, propagated,
# or distributed except... | 122.020576 | 455 | 0.868976 | 1,069 | 29,651 | 24.02058 | 0.413471 | 0.005141 | 0.002181 | 0.002999 | 0.031194 | 0.02251 | 0.02103 | 0.02103 | 0.020017 | 0.017914 | 0 | 0.542023 | 0.076254 | 29,651 | 242 | 456 | 122.524793 | 0.395473 | 0.036323 | 0 | 0.05618 | 0 | 0 | 0.767102 | 0.76374 | 0 | 0 | 0.004413 | 0 | 0.11236 | 1 | 0.016854 | false | 0 | 0.033708 | 0 | 0.050562 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5b48b34a9e7a2aa7d8ebb9fa3eabb138aabac88b | 15,103 | py | Python | tests/test_transform.py | braedon/kong-log-bridge | a2f7622f1ad77af93036b221243f556853c34343 | [
"MIT"
] | 2 | 2021-03-10T20:12:28.000Z | 2021-07-24T05:54:46.000Z | tests/test_transform.py | braedon/kong-log-bridge | a2f7622f1ad77af93036b221243f556853c34343 | [
"MIT"
] | null | null | null | tests/test_transform.py | braedon/kong-log-bridge | a2f7622f1ad77af93036b221243f556853c34343 | [
"MIT"
] | null | null | null | import unittest
from kong_log_bridge.transform import transform_log
class Test(unittest.TestCase):
maxDiff = None
def test_transform(self):
test_log = {
"latencies": {
"request": 191,
"kong": 0,
"proxy": 191
},
"serv... | 44.683432 | 653 | 0.449315 | 1,323 | 15,103 | 5.018141 | 0.251701 | 0.021539 | 0.016569 | 0.022895 | 0.859166 | 0.844103 | 0.834312 | 0.808104 | 0.782949 | 0.748607 | 0 | 0.084954 | 0.400649 | 15,103 | 337 | 654 | 44.816024 | 0.648475 | 0 | 0 | 0.67284 | 0 | 0.049383 | 0.454612 | 0.119314 | 0 | 0 | 0 | 0 | 0.015432 | 1 | 0.015432 | false | 0 | 0.006173 | 0 | 0.027778 | 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 |
7515cac7e4d1ef43edd544d3910c5a6a20ce7a6c | 98 | py | Python | python/eet/__init__.py | SidaZh/EET | 6414faa734abfdb666556304ca3df5b7f5e54c38 | [
"Apache-2.0"
] | null | null | null | python/eet/__init__.py | SidaZh/EET | 6414faa734abfdb666556304ca3df5b7f5e54c38 | [
"Apache-2.0"
] | null | null | null | python/eet/__init__.py | SidaZh/EET | 6414faa734abfdb666556304ca3df5b7f5e54c38 | [
"Apache-2.0"
] | null | null | null | from .fairseq import *
from .transformers import *
from .utils import *
from .pipelines import *
| 16.333333 | 27 | 0.744898 | 12 | 98 | 6.083333 | 0.5 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173469 | 98 | 5 | 28 | 19.6 | 0.901235 | 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 |
7547a91dafab9c7b229fe925a2917befdb556f92 | 158 | py | Python | argentum-api/api/tests/utils/utils.py | devium/argentum | 2bbb0f663fe9be78d106b1afa409b094da449519 | [
"MIT"
] | 1 | 2019-10-07T09:47:08.000Z | 2019-10-07T09:47:08.000Z | argentum-api/api/tests/utils/utils.py | devium/argentum | 2bbb0f663fe9be78d106b1afa409b094da449519 | [
"MIT"
] | null | null | null | argentum-api/api/tests/utils/utils.py | devium/argentum | 2bbb0f663fe9be78d106b1afa409b094da449519 | [
"MIT"
] | null | null | null | import datetime
def to_iso_format(time: datetime.datetime) -> str:
return time.replace(tzinfo=datetime.timezone.utc).isoformat().replace('+00:00', 'Z')
| 26.333333 | 88 | 0.734177 | 22 | 158 | 5.181818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.101266 | 158 | 5 | 89 | 31.6 | 0.774648 | 0 | 0 | 0 | 0 | 0 | 0.044304 | 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 |
75564ca95e8bf6b16deb4a7f6f2da20bce562a30 | 167 | py | Python | osi_django_app/OSI/admin.py | godslayer201/open-source-list | 5c708249a9a52603f26e3ad2f0b4a0ebd586b495 | [
"MIT"
] | 2 | 2020-09-16T14:10:03.000Z | 2020-09-22T21:35:08.000Z | osi_django_app/OSI/admin.py | godslayer201/open-source-list | 5c708249a9a52603f26e3ad2f0b4a0ebd586b495 | [
"MIT"
] | null | null | null | osi_django_app/OSI/admin.py | godslayer201/open-source-list | 5c708249a9a52603f26e3ad2f0b4a0ebd586b495 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import soc, osc, univ_soc_woc
admin.site.register(soc)
admin.site.register(osc)
admin.site.register(univ_soc_woc)
| 23.857143 | 43 | 0.784431 | 27 | 167 | 4.703704 | 0.444444 | 0.212598 | 0.401575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11976 | 167 | 6 | 44 | 27.833333 | 0.863946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
755e59a676f096d694c1bce55708827fd57f1854 | 68 | py | Python | api/qr/__init__.py | TailorDev/pauling | 3f616a24d3bdf6fc24308ba0ec0177c374a70707 | [
"MIT"
] | 7 | 2017-10-04T18:30:24.000Z | 2018-03-08T12:41:09.000Z | api/qr/__init__.py | sarvesh107/pauling | 3f616a24d3bdf6fc24308ba0ec0177c374a70707 | [
"MIT"
] | 27 | 2017-10-06T22:54:09.000Z | 2018-03-08T12:37:28.000Z | api/qr/__init__.py | sarvesh107/pauling | 3f616a24d3bdf6fc24308ba0ec0177c374a70707 | [
"MIT"
] | 3 | 2017-10-04T19:01:27.000Z | 2020-10-01T02:42:26.000Z | from .svg import make_svg # noqa
from .png import make_png # noqa
| 22.666667 | 33 | 0.735294 | 12 | 68 | 4 | 0.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 68 | 2 | 34 | 34 | 0.888889 | 0.132353 | 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 |
f33f047bd701a9285f93e58c03fcab26e4518b30 | 25 | py | Python | test/json/des/__init__.py | vincent-musedev/libacvp | b11247d9d0b2fbd88954358272a43d35c059be7b | [
"BSD-2-Clause",
"Apache-2.0"
] | 45 | 2016-08-01T11:47:34.000Z | 2022-02-22T21:27:27.000Z | test/json/des/__init__.py | vincent-musedev/libacvp | b11247d9d0b2fbd88954358272a43d35c059be7b | [
"BSD-2-Clause",
"Apache-2.0"
] | 221 | 2016-08-04T17:10:36.000Z | 2022-01-21T19:53:36.000Z | test/json/des/__init__.py | vincent-musedev/libacvp | b11247d9d0b2fbd88954358272a43d35c059be7b | [
"BSD-2-Clause",
"Apache-2.0"
] | 94 | 2016-10-23T11:08:19.000Z | 2022-01-21T11:50:16.000Z | from .des import main_des | 25 | 25 | 0.84 | 5 | 25 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f390563b3cfae7b34b4fd4558f37190e60715548 | 32,834 | py | Python | src/plotting_modules.py | kjdavidson/NoisePy | a7445dd2f68f64cb562d6a87096e5f12a2c3b612 | [
"MIT"
] | 74 | 2019-11-08T18:32:36.000Z | 2022-03-27T11:26:53.000Z | src/plotting_modules.py | kjdavidson/NoisePy | a7445dd2f68f64cb562d6a87096e5f12a2c3b612 | [
"MIT"
] | 23 | 2019-11-10T01:30:04.000Z | 2022-03-24T10:23:19.000Z | src/plotting_modules.py | kjdavidson/NoisePy | a7445dd2f68f64cb562d6a87096e5f12a2c3b612 | [
"MIT"
] | 36 | 2019-11-08T19:36:28.000Z | 2022-02-17T06:31:42.000Z | import os
import sys
import glob
import obspy
import scipy
import pyasdf
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
from scipy.fftpack import next_fast_len
from obspy.signal.filter import bandpass
'''
Ensembles of plotting functions to display intermediate/final waveforms from the NoisePy pac... | 39.895504 | 141 | 0.589663 | 4,532 | 32,834 | 4.197926 | 0.090909 | 0.030539 | 0.037057 | 0.022076 | 0.849777 | 0.823495 | 0.802996 | 0.775664 | 0.745808 | 0.741393 | 0 | 0.027796 | 0.238472 | 32,834 | 822 | 142 | 39.944039 | 0.733083 | 0.173601 | 0 | 0.698473 | 0 | 0.005725 | 0.106425 | 0.005193 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015267 | false | 0.019084 | 0.020992 | 0 | 0.03626 | 0.04771 | 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 |
45f3c2d27aa4a16e31771b7d1672513375750f1f | 64 | py | Python | src/strokes.py | jafetimbre/pil-to-ps | 003361a5b49b212500be6e64a27211691c65cd7b | [
"MIT"
] | null | null | null | src/strokes.py | jafetimbre/pil-to-ps | 003361a5b49b212500be6e64a27211691c65cd7b | [
"MIT"
] | null | null | null | src/strokes.py | jafetimbre/pil-to-ps | 003361a5b49b212500be6e64a27211691c65cd7b | [
"MIT"
] | null | null | null |
def inner_stroke(im):
pass
def outer_stroke(im):
pass
| 9.142857 | 21 | 0.65625 | 10 | 64 | 4 | 0.6 | 0.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 64 | 6 | 22 | 10.666667 | 0.833333 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
341ebe71ad93bbea2ec0dff9463d963049755d6d | 87 | py | Python | tests/test_demo.py | nielsonf/hello_world | 90af4baa85900b3b5126b6dfc3031d3f2e149341 | [
"MIT"
] | null | null | null | tests/test_demo.py | nielsonf/hello_world | 90af4baa85900b3b5126b6dfc3031d3f2e149341 | [
"MIT"
] | null | null | null | tests/test_demo.py | nielsonf/hello_world | 90af4baa85900b3b5126b6dfc3031d3f2e149341 | [
"MIT"
] | null | null | null | import pytest
def test_cube():
from demo.demo import cube
assert cube(2) == 8
| 14.5 | 30 | 0.666667 | 14 | 87 | 4.071429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.241379 | 87 | 5 | 31 | 17.4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
347c814616bfce0ed2381cbdbfdc2ba0cb647a74 | 72 | py | Python | pys/classes/annotations.py | Xithrius/Examples | d29fe9510f1c62a807e09f9707d0b2f6de9ffeed | [
"MIT"
] | null | null | null | pys/classes/annotations.py | Xithrius/Examples | d29fe9510f1c62a807e09f9707d0b2f6de9ffeed | [
"MIT"
] | null | null | null | pys/classes/annotations.py | Xithrius/Examples | d29fe9510f1c62a807e09f9707d0b2f6de9ffeed | [
"MIT"
] | null | null | null | import typing as t
def test0(a: t.Union[str, int]) -> t.Any:
pass
| 12 | 41 | 0.611111 | 14 | 72 | 3.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.236111 | 72 | 5 | 42 | 14.4 | 0.781818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
cae59e6b2b5461e084cfd5ef2de955cd7cc489f7 | 103 | py | Python | test/models/__init__.py | Tomos-Evans/garrison | 6a0eea6822f7a5a64e80852427d4576c9018d0b4 | [
"MIT"
] | 1 | 2018-10-20T15:53:15.000Z | 2018-10-20T15:53:15.000Z | test/models/__init__.py | Tomos-Evans/garrison | 6a0eea6822f7a5a64e80852427d4576c9018d0b4 | [
"MIT"
] | null | null | null | test/models/__init__.py | Tomos-Evans/garrison | 6a0eea6822f7a5a64e80852427d4576c9018d0b4 | [
"MIT"
] | null | null | null | from .ingredient import *
from .drink_component import *
from .drink import *
from .dispenser import *
| 20.6 | 30 | 0.76699 | 13 | 103 | 6 | 0.461538 | 0.384615 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 4 | 31 | 25.75 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
caf2e3c5025891a382a27aff6769ca77937b4ee1 | 137 | py | Python | scripts/npc/autogen_kasandra.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/npc/autogen_kasandra.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/npc/autogen_kasandra.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | # Character field ID when accessed: 820000000
# ObjectID: 1000000
# ParentID: 9010010
# Object Position X: -449
# Object Position Y: 225
| 22.833333 | 45 | 0.751825 | 18 | 137 | 5.722222 | 0.888889 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254386 | 0.167883 | 137 | 5 | 46 | 27.4 | 0.649123 | 0.919708 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
1b0516b8ceec71b4a22f3512c68394f69f6ca430 | 36 | py | Python | Pluto/Systems/__init__.py | n8vm/Foton | eacec2de9bf53d8fecff387b60604e6227baea28 | [
"MIT"
] | 10 | 2019-12-16T18:04:48.000Z | 2021-05-06T00:40:11.000Z | Pluto/Systems/__init__.py | natevm/Foton | eacec2de9bf53d8fecff387b60604e6227baea28 | [
"MIT"
] | 35 | 2019-01-29T21:57:44.000Z | 2019-04-29T02:40:20.000Z | Pluto/Systems/__init__.py | natevm/Foton | eacec2de9bf53d8fecff387b60604e6227baea28 | [
"MIT"
] | 1 | 2019-01-19T22:34:00.000Z | 2019-01-19T22:34:00.000Z | from Pluto.Systems.Systems import *
| 18 | 35 | 0.805556 | 5 | 36 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 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 |
1b4e40b3667a2b8543c968bbe653fc8de682b7a8 | 99 | py | Python | packages/watchmen-pipeline-surface/src/watchmen_pipeline_surface/connectors/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-pipeline-surface/src/watchmen_pipeline_surface/connectors/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-pipeline-surface/src/watchmen_pipeline_surface/connectors/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | from .kafka import init_kafka, KafkaSettings
from .rabbitmq import init_rabbitmq, RabbitmqSettings
| 33 | 53 | 0.858586 | 12 | 99 | 6.916667 | 0.583333 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 99 | 2 | 54 | 49.5 | 0.932584 | 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 |
1b52e20e625677fa6203cae0d82c1a6e58aa1a2a | 254 | py | Python | django_tutorial/views/error_views.py | twtrubiks/django-tutorial | 9cb92ca03ba3de574b124446ab49c94f9900dcc8 | [
"MIT"
] | 431 | 2017-04-09T11:44:30.000Z | 2022-03-09T09:22:00.000Z | django_tutorial/views/error_views.py | zshen00/django-tutorial | 9cb92ca03ba3de574b124446ab49c94f9900dcc8 | [
"MIT"
] | 1 | 2017-10-26T06:17:58.000Z | 2018-04-27T06:52:01.000Z | django_tutorial/views/error_views.py | zshen00/django-tutorial | 9cb92ca03ba3de574b124446ab49c94f9900dcc8 | [
"MIT"
] | 138 | 2017-04-10T13:36:03.000Z | 2022-03-16T13:16:09.000Z | from django.shortcuts import render
def view_404(request):
return render(request, 'django_tutorial/error_pages/page_404.html', status=404)
def view_500(request):
return render(request, 'django_tutorial/error_pages/page_500.html', status=500)
| 25.4 | 83 | 0.783465 | 37 | 254 | 5.162162 | 0.459459 | 0.073298 | 0.198953 | 0.272251 | 0.565445 | 0.565445 | 0.565445 | 0.565445 | 0.565445 | 0 | 0 | 0.079646 | 0.110236 | 254 | 9 | 84 | 28.222222 | 0.765487 | 0 | 0 | 0 | 0 | 0 | 0.322835 | 0.322835 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
59f26542f2fe8d0ce4367beee404e46a3371d4b2 | 37,779 | py | Python | src/PythonUnitTests/UFUNCTests/UFUNC_UINT64.py | thild/numpy.net | 1a607cfb42263f92314a1e8dbec6f5436a7feb73 | [
"BSD-3-Clause"
] | 59 | 2019-01-20T19:43:05.000Z | 2022-03-26T06:08:51.000Z | src/PythonUnitTests/UFUNCTests/UFUNC_UINT64.py | thild/numpy.net | 1a607cfb42263f92314a1e8dbec6f5436a7feb73 | [
"BSD-3-Clause"
] | 21 | 2019-06-06T17:45:01.000Z | 2022-03-30T10:37:24.000Z | src/PythonUnitTests/UFUNCTests/UFUNC_UINT64.py | thild/numpy.net | 1a607cfb42263f92314a1e8dbec6f5436a7feb73 | [
"BSD-3-Clause"
] | 7 | 2019-05-12T21:06:18.000Z | 2022-02-13T12:23:23.000Z | import unittest
import numpy as np
class Test_UFUNC_UINT64(unittest.TestCase):
#region UFUNC UINT64 Tests
#region OUTER Tests
def test_AddOuter_UINT64(self):
a1 = np.arange(0, 5, dtype=np.uint64);
a2 = np.arange(3, 8, dtype=np.uint64);
b = np.add.outer(a1,a2)
print(b)
... | 25.682529 | 73 | 0.541941 | 4,862 | 37,779 | 4.13369 | 0.048745 | 0.078018 | 0.122898 | 0.109364 | 0.865758 | 0.862225 | 0.837297 | 0.800876 | 0.786645 | 0.786645 | 0 | 0.078535 | 0.322878 | 37,779 | 1,470 | 74 | 25.7 | 0.707126 | 0.004182 | 0 | 0.673319 | 0 | 0 | 0.083967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164916 | false | 0 | 0.002101 | 0 | 0.168067 | 0.238445 | 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 |
94095a079d2202cdff5d27e376cc7dec1b8ab428 | 22 | py | Python | startup.py | felixludos/adversary | bda1d7a07da736056b69903cb51b29ccdf1eb95e | [
"MIT"
] | null | null | null | startup.py | felixludos/adversary | bda1d7a07da736056b69903cb51b29ccdf1eb95e | [
"MIT"
] | null | null | null | startup.py | felixludos/adversary | bda1d7a07da736056b69903cb51b29ccdf1eb95e | [
"MIT"
] | null | null | null |
import adversary
| 5.5 | 17 | 0.681818 | 2 | 22 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 22 | 3 | 18 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
944b3da25cd5066da7daf13b3dab234d95f0e9bd | 9,727 | py | Python | tests/test_vidkl.py | ziatdinovmax/gpax | a35374c178b66a3ea5640063a479b0b6be8d57db | [
"MIT"
] | 13 | 2021-11-18T20:20:18.000Z | 2022-03-23T12:53:51.000Z | tests/test_vidkl.py | ziatdinovmax/gpax | a35374c178b66a3ea5640063a479b0b6be8d57db | [
"MIT"
] | 5 | 2022-02-25T09:50:44.000Z | 2022-03-26T21:10:26.000Z | tests/test_vidkl.py | ziatdinovmax/gpax | a35374c178b66a3ea5640063a479b0b6be8d57db | [
"MIT"
] | null | null | null | import sys
import pytest
import numpy as onp
import jax.numpy as jnp
import jax
import haiku as hk
import numpyro
from numpy.testing import assert_equal, assert_array_equal
sys.path.insert(0, "../gpax/")
from gpax.vidkl import viDKL, MLP
from gpax.utils import get_keys
def get_dummy_data(jax_ndarray=True):
X = ... | 33.197952 | 96 | 0.631027 | 1,592 | 9,727 | 3.599246 | 0.08794 | 0.039267 | 0.055846 | 0.027923 | 0.855672 | 0.822513 | 0.802967 | 0.772426 | 0.761257 | 0.732286 | 0 | 0.031068 | 0.222371 | 9,727 | 292 | 97 | 33.311644 | 0.726467 | 0.00514 | 0 | 0.698413 | 0 | 0 | 0.016021 | 0 | 0 | 0 | 0 | 0 | 0.218254 | 1 | 0.079365 | false | 0 | 0.039683 | 0 | 0.146825 | 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 |
948bbd53e9c46defc98a1d5869983748d03b9a4f | 103 | py | Python | model.py | McHacks-2018/Retro-Reddit | a1620a5c374d535bb95151de466100234367451b | [
"MIT"
] | null | null | null | model.py | McHacks-2018/Retro-Reddit | a1620a5c374d535bb95151de466100234367451b | [
"MIT"
] | 1 | 2019-10-22T02:52:07.000Z | 2019-10-22T02:52:07.000Z | model.py | McHacks-2018/Retro-Reddit | a1620a5c374d535bb95151de466100234367451b | [
"MIT"
] | null | null | null | class Section:
def get_display_text(self):
pass
def get_children(self):
pass
| 12.875 | 31 | 0.601942 | 13 | 103 | 4.538462 | 0.692308 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330097 | 103 | 7 | 32 | 14.714286 | 0.855072 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 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 |
84794719e66077b7bdf8b3053df34935cda4eda8 | 2,984 | py | Python | thop/count_hooks.py | jwpleow/aanet | b83e7b11dfee117114ae7b35645b85e886d3d436 | [
"Apache-2.0"
] | null | null | null | thop/count_hooks.py | jwpleow/aanet | b83e7b11dfee117114ae7b35645b85e886d3d436 | [
"Apache-2.0"
] | null | null | null | thop/count_hooks.py | jwpleow/aanet | b83e7b11dfee117114ae7b35645b85e886d3d436 | [
"Apache-2.0"
] | null | null | null | import argparse
import torch
import torch.nn as nn
multiply_adds = 1
def count_convNd(m, x, y):
cin = m.in_channels
kernel_ops = m.weight.size()[2:].numel()
ops_per_element = cin * kernel_ops
output_elements = y.nelement()
# cout x oW x oH
total_ops = output_elements * ops_... | 25.724138 | 82 | 0.614611 | 466 | 2,984 | 3.667382 | 0.143777 | 0.068461 | 0.083675 | 0.04096 | 0.818022 | 0.818022 | 0.781744 | 0.761264 | 0.719719 | 0.719719 | 0 | 0.015661 | 0.272453 | 2,984 | 115 | 83 | 25.947826 | 0.771534 | 0.142761 | 0 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081967 | false | 0 | 0.04918 | 0 | 0.131148 | 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 |
ca216d943f7740ec07946d833aa78c136cd07f3c | 99 | py | Python | cfdcode/__init__.py | pxr687/cfd2021 | e4583e0b163817ddf360f35687d7939b06427868 | [
"CC-BY-4.0"
] | 1 | 2021-09-16T10:11:02.000Z | 2021-09-16T10:11:02.000Z | cfdcode/__init__.py | pxr687/cfd2021 | e4583e0b163817ddf360f35687d7939b06427868 | [
"CC-BY-4.0"
] | 10 | 2020-10-30T15:24:02.000Z | 2021-08-30T12:16:31.000Z | cfdcode/__init__.py | pxr687/cfd2021 | e4583e0b163817ddf360f35687d7939b06427868 | [
"CC-BY-4.0"
] | 5 | 2020-09-02T10:52:06.000Z | 2021-11-07T08:32:42.000Z | """ Support code for textbook
"""
from . import ucb_page
def setup(app):
ucb_page.setup(app)
| 12.375 | 29 | 0.676768 | 15 | 99 | 4.333333 | 0.733333 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191919 | 99 | 7 | 30 | 14.142857 | 0.8125 | 0.252525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
ca70d778f356f4e32a5b8375dbd0aec8219a8c49 | 20 | py | Python | tefingerprint/util/__init__.py | timothymillar/TEFingerprint | 3e812752f37554b791b6be74f8b8f481ab479622 | [
"MIT"
] | null | null | null | tefingerprint/util/__init__.py | timothymillar/TEFingerprint | 3e812752f37554b791b6be74f8b8f481ab479622 | [
"MIT"
] | 1 | 2020-05-20T01:53:51.000Z | 2020-05-20T01:53:51.000Z | tefingerprint/util/__init__.py | timothymillar/TEFingerprint | 3e812752f37554b791b6be74f8b8f481ab479622 | [
"MIT"
] | 2 | 2019-07-30T22:15:19.000Z | 2020-10-25T01:34:51.000Z | from . import numpy
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ca70f8e2132f1bed9dbe991df4091bd595824cc6 | 30 | py | Python | time_machine/analyze_data.py | ZviBaratz/time_machine | 9aa0f7ccfcd8c29923944e745be5dac5c9109f6c | [
"MIT"
] | null | null | null | time_machine/analyze_data.py | ZviBaratz/time_machine | 9aa0f7ccfcd8c29923944e745be5dac5c9109f6c | [
"MIT"
] | null | null | null | time_machine/analyze_data.py | ZviBaratz/time_machine | 9aa0f7ccfcd8c29923944e745be5dac5c9109f6c | [
"MIT"
] | null | null | null | def analyze(data):
return
| 10 | 18 | 0.666667 | 4 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 30 | 2 | 19 | 15 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ca8f1de90b35c52b76240c48c004bf6f384fdad5 | 153 | py | Python | pajbot/web/routes/playsound.py | leecopland/bullbot | 52e463293097b58084afb4f9f1d85b0656a67d44 | [
"MIT"
] | 1 | 2020-10-01T23:36:38.000Z | 2020-10-01T23:36:38.000Z | pajbot/web/routes/playsound.py | leecopland/bullbot | 52e463293097b58084afb4f9f1d85b0656a67d44 | [
"MIT"
] | 1 | 2021-03-25T05:37:40.000Z | 2021-03-25T05:37:40.000Z | pajbot/web/routes/playsound.py | leecopland/bullbot | 52e463293097b58084afb4f9f1d85b0656a67d44 | [
"MIT"
] | null | null | null | from flask import render_template
def init(app):
@app.route('/playsound')
def playsound():
return render_template('playsoundlist.html')
| 21.857143 | 52 | 0.699346 | 18 | 153 | 5.833333 | 0.722222 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183007 | 153 | 6 | 53 | 25.5 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.183007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 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 |
048ff5bd2b8df060a13293cecf1d4c55f4c69fee | 18,632 | py | Python | diffxpy/unit_test/test_single.py | SabrinaRichter/diffxpy | 8eff054ca3ce097533134f490aac3580431eee15 | [
"BSD-3-Clause"
] | null | null | null | diffxpy/unit_test/test_single.py | SabrinaRichter/diffxpy | 8eff054ca3ce097533134f490aac3580431eee15 | [
"BSD-3-Clause"
] | null | null | null | diffxpy/unit_test/test_single.py | SabrinaRichter/diffxpy | 8eff054ca3ce097533134f490aac3580431eee15 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import logging
import numpy as np
import pandas as pd
import scipy.stats as stats
from batchglm.api.models.glm_nb import Simulator
import diffxpy.api as de
class TestSingleNull(unittest.TestCase):
def test_null_distribution_wald(self, n_cells: int = 2000, n_genes: int = 100):
"""
... | 39.474576 | 108 | 0.63713 | 2,431 | 18,632 | 4.719457 | 0.081859 | 0.036259 | 0.036259 | 0.040791 | 0.911008 | 0.896365 | 0.890874 | 0.87135 | 0.861675 | 0.861675 | 0 | 0.019115 | 0.258748 | 18,632 | 471 | 109 | 39.558386 | 0.811599 | 0.234328 | 0 | 0.698582 | 0 | 0 | 0.116488 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 1 | 0.053191 | false | 0 | 0.024823 | 0 | 0.138298 | 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 |
04ab050153e6c6a9c772495f8dcd2968d082dcec | 26 | py | Python | mpids/utils/__init__.py | edgargabriel/mpids | 170f402ecea5af0db4eee39e8d426884dce12ad6 | [
"BSD-2-Clause"
] | 1 | 2020-01-22T03:27:31.000Z | 2020-01-22T03:27:31.000Z | mpids/utils/__init__.py | jrodgers01d/mpids | f771b1d25eba5f5dc8e30e5d86ee0251775b9da1 | [
"BSD-2-Clause"
] | 1 | 2020-05-04T20:25:55.000Z | 2020-05-04T20:25:55.000Z | mpids/utils/__init__.py | jrodgers01d/mpids | f771b1d25eba5f5dc8e30e5d86ee0251775b9da1 | [
"BSD-2-Clause"
] | 2 | 2019-04-08T03:01:31.000Z | 2020-04-27T15:56:28.000Z | from .ParallelIO import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04e20b9b8ee4536762c316aa5271c0efd92cc39c | 197 | py | Python | vidaug/augmentors/__init__.py | redzhepdx/vidaug | 47ed8605c8976c7cd46a0bfad187504ee6e99287 | [
"MIT"
] | 1 | 2020-09-14T14:05:24.000Z | 2020-09-14T14:05:24.000Z | vidaug/augmentors/__init__.py | redzhepdx/vidaug | 47ed8605c8976c7cd46a0bfad187504ee6e99287 | [
"MIT"
] | null | null | null | vidaug/augmentors/__init__.py | redzhepdx/vidaug | 47ed8605c8976c7cd46a0bfad187504ee6e99287 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .affine import *
from .crop import *
from .flip import *
from .geometric import *
from .group import *
from .intensity import *
from .temporal import *
| 19.7 | 38 | 0.761421 | 26 | 197 | 5.576923 | 0.423077 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167513 | 197 | 9 | 39 | 21.888889 | 0.884146 | 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 |
b6c87c07f3b3d6f191822064a21095e21cb66cf1 | 198 | py | Python | alpha_amd/distances/__init__.py | Noodles-321/RegistrationEval | 3631d3d5bd65acf980fcfed803fa6125970f3e88 | [
"MIT"
] | 14 | 2019-02-12T20:30:23.000Z | 2021-11-04T01:10:34.000Z | alpha_amd/distances/__init__.py | Noodles-321/RegistrationEval | 3631d3d5bd65acf980fcfed803fa6125970f3e88 | [
"MIT"
] | 2 | 2021-05-12T05:02:59.000Z | 2021-10-11T14:40:10.000Z | alpha_amd/distances/__init__.py | Noodles-321/RegistrationEval | 3631d3d5bd65acf980fcfed803fa6125970f3e88 | [
"MIT"
] | 7 | 2019-02-20T12:19:28.000Z | 2021-02-09T10:12:06.000Z | from distances.q_image import QuantizedImage
from distances.alpha_amd import AlphaAMD
from distances.symmetric_amd_distance import SymmetricAMDDistance
import distances.sdt
import distances.jaccard
| 33 | 65 | 0.893939 | 25 | 198 | 6.92 | 0.56 | 0.225434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 198 | 5 | 66 | 39.6 | 0.950549 | 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 |
b6d982858370343ba6bff413962419dacf19d81d | 9,188 | py | Python | oxe-api/test/resource/private/test_update_my_article.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null | oxe-api/test/resource/private/test_update_my_article.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null | oxe-api/test/resource/private/test_update_my_article.py | CybersecurityLuxembourg/openxeco | 8d4e5578bde6a07f5d6d569b16b4de224abf7bf0 | [
"BSD-2-Clause"
] | null | null | null | from test.BaseCase import BaseCase
import os
import base64
class TestUpdateMyArticle(BaseCase):
@BaseCase.login
def test_ok(self, token):
self.db.insert({"id": 2, "title": "My title"}, self.db.tables["Article"])
self.db.insert({"id": 3, "name": "My Company"}, self.db.tables["Company"])
... | 48.104712 | 120 | 0.591968 | 1,086 | 9,188 | 4.845304 | 0.106814 | 0.104903 | 0.104903 | 0.047891 | 0.871152 | 0.849107 | 0.835424 | 0.835424 | 0.801026 | 0.785443 | 0 | 0.014524 | 0.250653 | 9,188 | 190 | 121 | 48.357895 | 0.749746 | 0 | 0 | 0.685315 | 0 | 0 | 0.24815 | 0.085438 | 0 | 0 | 0 | 0 | 0.097902 | 1 | 0.06993 | false | 0 | 0.020979 | 0 | 0.097902 | 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 |
8e1e1c4f5b20e35d952914703755a7f3f5d49a06 | 179 | py | Python | synapse/servers/aha.py | ackroute/synapse | 51197f89ab372d2e357bcd054358352ecca66840 | [
"Apache-2.0"
] | 216 | 2017-01-17T18:52:50.000Z | 2022-03-31T18:44:49.000Z | synapse/servers/aha.py | ackroute/synapse | 51197f89ab372d2e357bcd054358352ecca66840 | [
"Apache-2.0"
] | 2,189 | 2017-01-17T22:31:48.000Z | 2022-03-31T20:41:45.000Z | synapse/servers/aha.py | ackroute/synapse | 51197f89ab372d2e357bcd054358352ecca66840 | [
"Apache-2.0"
] | 44 | 2017-01-17T16:50:57.000Z | 2022-03-16T18:35:52.000Z | # pragma: no cover
import sys
import asyncio
import synapse.lib.aha as s_aha
if __name__ == '__main__': # pragma: no cover
asyncio.run(s_aha.AhaCell.execmain(sys.argv[1:]))
| 19.888889 | 53 | 0.726257 | 29 | 179 | 4.137931 | 0.655172 | 0.133333 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.150838 | 179 | 8 | 54 | 22.375 | 0.782895 | 0.184358 | 0 | 0 | 0 | 0 | 0.055944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8e4e5f7c32607d37a4cd3d64639b2c6b963ee419 | 14,739 | py | Python | tests/test_credential.py | deepan10/python-jenkins | 7166f872f50e8c246ee567ca56aeeceaa40e8c7a | [
"BSD-3-Clause"
] | 2 | 2019-06-25T06:14:49.000Z | 2019-06-25T06:14:50.000Z | tests/test_credential.py | deepan10/python-jenkins | 7166f872f50e8c246ee567ca56aeeceaa40e8c7a | [
"BSD-3-Clause"
] | null | null | null | tests/test_credential.py | deepan10/python-jenkins | 7166f872f50e8c246ee567ca56aeeceaa40e8c7a | [
"BSD-3-Clause"
] | 1 | 2022-02-08T15:47:07.000Z | 2022-02-08T15:47:07.000Z | import json
from mock import patch
import jenkins
from tests.base import JenkinsTestBase
class JenkinsCredentialTestBase(JenkinsTestBase):
config_xml = """<com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl>
<scope>GLOBAL</scope>
<id>Test Credential</id>
<username>Test... | 41.635593 | 92 | 0.646991 | 1,569 | 14,739 | 5.851498 | 0.078394 | 0.077878 | 0.044113 | 0.055876 | 0.8486 | 0.820717 | 0.793269 | 0.787387 | 0.772901 | 0.748285 | 0 | 0.008035 | 0.231563 | 14,739 | 353 | 93 | 41.753541 | 0.802578 | 0 | 0 | 0.672535 | 0 | 0 | 0.268268 | 0.167583 | 0 | 0 | 0 | 0 | 0.165493 | 1 | 0.073944 | false | 0.010563 | 0.014085 | 0 | 0.133803 | 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 |
ed99622ae1dd4a334318cf1ef4a3d20d64828d4e | 29 | py | Python | sparksetup/__init__.py | PKPDAI/PKDocClassifier | f37e6623185f3388c64322fc47fe6aaa8a597939 | [
"MIT"
] | 10 | 2021-03-12T17:01:14.000Z | 2022-03-26T02:02:56.000Z | sparksetup/__init__.py | PKPDAI/PKDocClassifier | f37e6623185f3388c64322fc47fe6aaa8a597939 | [
"MIT"
] | 1 | 2021-02-10T19:09:07.000Z | 2021-02-10T19:09:07.000Z | sparksetup/__init__.py | fgh95/PKDocClassifier | f37e6623185f3388c64322fc47fe6aaa8a597939 | [
"MIT"
] | 3 | 2021-03-18T12:37:39.000Z | 2022-01-11T02:35:10.000Z | from .sparkconf import spark
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
edb3cc49d41e091837f0f7bacf06852173273f96 | 106 | py | Python | python/hello-python/ko_message/__init__.py | le3t/ko-repo | 50eb0b4cadb9db9bf608a9e5d36376f38ff5cce5 | [
"Apache-2.0"
] | 4 | 2019-10-26T01:25:30.000Z | 2020-01-12T08:10:25.000Z | python/hello-python/ko_message/__init__.py | Artister/tutorials-java | 50eb0b4cadb9db9bf608a9e5d36376f38ff5cce5 | [
"Apache-2.0"
] | 3 | 2019-08-26T13:41:57.000Z | 2019-08-26T13:44:21.000Z | python/hello-python/ko_message/__init__.py | Artister/tutorials-java | 50eb0b4cadb9db9bf608a9e5d36376f38ff5cce5 | [
"Apache-2.0"
] | 1 | 2019-12-30T12:27:38.000Z | 2019-12-30T12:27:38.000Z | """
如果打算让外部使用包的内容
需要在__init__.py中添加允许外面引用的文件
"""
from . import receive_message
from . import send_message
| 15.142857 | 29 | 0.801887 | 12 | 106 | 6.583333 | 0.75 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 106 | 6 | 30 | 17.666667 | 0.840426 | 0.377358 | 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 |
edea0d0f1f7b2c0628ccd521c65acf172d4e0817 | 79,147 | py | Python | tcga_encoder/models/layers.py | tedmeeds/tcga_encoder | 805f9a5bcc422a43faea45baa0996c88d346e3b4 | [
"MIT"
] | 2 | 2017-12-19T15:32:46.000Z | 2018-01-12T11:24:24.000Z | tcga_encoder/models/layers.py | tedmeeds/tcga_encoder | 805f9a5bcc422a43faea45baa0996c88d346e3b4 | [
"MIT"
] | null | null | null | tcga_encoder/models/layers.py | tedmeeds/tcga_encoder | 805f9a5bcc422a43faea45baa0996c88d346e3b4 | [
"MIT"
] | null | null | null |
from tcga_encoder.utils.helpers import *
from tcga_encoder.utils.math_funcs import *
import tensorflow as tf
from tcga_encoder.models.layers import *
from tcga_encoder.models.regularizers import *
from tcga_encoder.definitions.nn import *
from tcga_encoder.definitions.locations import *
from tcga_encoder.definitions.... | 36.863996 | 179 | 0.612872 | 11,086 | 79,147 | 4.147574 | 0.034277 | 0.029252 | 0.010352 | 0.013158 | 0.808025 | 0.770987 | 0.737777 | 0.705198 | 0.687081 | 0.667747 | 0 | 0.019229 | 0.267376 | 79,147 | 2,147 | 180 | 36.863996 | 0.773735 | 0.180361 | 0 | 0.660889 | 0 | 0 | 0.025651 | 0.000325 | 0 | 0 | 0 | 0 | 0.027129 | 0 | null | null | 0.006782 | 0.006782 | null | null | 0.011304 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b669bef9916cc3489c4b4c88371b14f8555edcb6 | 2,254 | py | Python | DFS_generator/Controls.py | AGH-Narzedzia-Informatyczne/Project_Labyrinth | 317f744500fb73f9b8961ec725904cae00aadb92 | [
"MIT"
] | 1 | 2020-12-16T14:32:23.000Z | 2020-12-16T14:32:23.000Z | DFS_generator/Controls.py | Pandoors/Project_Labyrinth | 317f744500fb73f9b8961ec725904cae00aadb92 | [
"MIT"
] | 5 | 2020-11-22T19:34:42.000Z | 2020-12-10T23:57:38.000Z | DFS_generator/Controls.py | Pandoors/Project_Labyrinth | 317f744500fb73f9b8961ec725904cae00aadb92 | [
"MIT"
] | 5 | 2020-12-16T14:31:48.000Z | 2020-12-16T14:32:17.000Z | import pygame
import DFS_generator.mazeGenerator as mazeGenerator
def changePos(k1, k2, maze):
if (k1 == pygame.K_UP and k2 == pygame.K_RIGHT) or (k2 == pygame.K_UP and k1 == pygame.K_RIGHT):
print("NE")
if mazeGenerator.NE not in maze.player_cell.walls:
for c in maze.neighbours(maz... | 33.641791 | 106 | 0.568323 | 311 | 2,254 | 3.954984 | 0.122187 | 0.195122 | 0.273171 | 0.058537 | 0.821951 | 0.778862 | 0.747967 | 0.747967 | 0.737398 | 0.538211 | 0 | 0.014599 | 0.331411 | 2,254 | 66 | 107 | 34.151515 | 0.801593 | 0 | 0 | 0.4 | 0 | 0 | 0.004439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | false | 0 | 0.044444 | 0 | 0.066667 | 0.133333 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b66c421f942cee25d63e89240ef292e8ae582d0c | 116 | py | Python | djangae/test_runner.py | benvand/djangae | 7b186fbe6952c5ae0afe5eb8258516c35760f96d | [
"BSD-3-Clause"
] | null | null | null | djangae/test_runner.py | benvand/djangae | 7b186fbe6952c5ae0afe5eb8258516c35760f96d | [
"BSD-3-Clause"
] | null | null | null | djangae/test_runner.py | benvand/djangae | 7b186fbe6952c5ae0afe5eb8258516c35760f96d | [
"BSD-3-Clause"
] | null | null | null | from django.test.simple import DjangoTestSuiteRunner
class DjangaeTestSuiteRunner(DjangoTestSuiteRunner):
pass | 23.2 | 52 | 0.853448 | 10 | 116 | 9.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 116 | 5 | 53 | 23.2 | 0.951923 | 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 |
b6a123615ec1f56e343c4784fac6733ad1ae088c | 160 | py | Python | Problems/Minimum and maximum/task.py | gabrielizalo/jetbrains-academy-python-coffee-machine | e22cb502f7998855ef4afbc4ef7ecb8226418225 | [
"MIT"
] | null | null | null | Problems/Minimum and maximum/task.py | gabrielizalo/jetbrains-academy-python-coffee-machine | e22cb502f7998855ef4afbc4ef7ecb8226418225 | [
"MIT"
] | null | null | null | Problems/Minimum and maximum/task.py | gabrielizalo/jetbrains-academy-python-coffee-machine | e22cb502f7998855ef4afbc4ef7ecb8226418225 | [
"MIT"
] | null | null | null | number_1 = int(input())
number_2 = int(input())
if number_1 >= number_2:
print(number_1)
print(number_2)
else:
print(number_2)
print(number_1)
| 16 | 24 | 0.6625 | 26 | 160 | 3.769231 | 0.307692 | 0.285714 | 0.244898 | 0.367347 | 0.387755 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.2 | 160 | 9 | 25 | 17.777778 | 0.703125 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fcdfa782e7c758bf0c346c1a8ea1a4823578f103 | 3,441 | py | Python | PyAlgo4/src/UnionFind.py | QuDong/Algorithm4 | c15c27653d860a1cd90a42cf97f7586ced12b48f | [
"MIT"
] | 6 | 2017-07-07T08:10:42.000Z | 2019-12-25T21:42:40.000Z | PyAlgo4/src/UnionFind.py | QuDong/Algorithm4 | c15c27653d860a1cd90a42cf97f7586ced12b48f | [
"MIT"
] | null | null | null | PyAlgo4/src/UnionFind.py | QuDong/Algorithm4 | c15c27653d860a1cd90a42cf97f7586ced12b48f | [
"MIT"
] | 1 | 2021-08-22T06:43:47.000Z | 2021-08-22T06:43:47.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Created on 22/4/2016 10:57 AM
Author: Qu Dong
"""
class QuikFindUF():
def __init__(self, N):
self.count = N
self.parent = list(range(N))
def count(self):
return self.count
def find(self, p):
self._validate(p)
retu... | 25.87218 | 81 | 0.527172 | 524 | 3,441 | 3.362595 | 0.145038 | 0.102157 | 0.068104 | 0.07378 | 0.762202 | 0.748014 | 0.740636 | 0.715664 | 0.715664 | 0.650965 | 0 | 0.020896 | 0.318512 | 3,441 | 132 | 82 | 26.068182 | 0.73049 | 0.05667 | 0 | 0.72 | 0 | 0 | 0.038354 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.18 | false | 0 | 0 | 0.06 | 0.33 | 0.11 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1e636172e223fdc1a10ed1f86beeb2c089a9b7dd | 104 | py | Python | yolox_backbone/utils/utils.py | developer0hye/YOLOX-Backbone | 83c4c2d7eff2dafb6aaffcc59bdce10b8e209fb4 | [
"Apache-2.0"
] | 20 | 2021-08-13T05:02:00.000Z | 2022-03-11T07:53:18.000Z | yolox_backbone/utils/utils.py | developer0hye/YOLOX-Backbone | 83c4c2d7eff2dafb6aaffcc59bdce10b8e209fb4 | [
"Apache-2.0"
] | 1 | 2021-09-15T12:00:32.000Z | 2021-09-16T22:21:23.000Z | yolox_backbone/utils/utils.py | developer0hye/YOLOX-Backbone | 83c4c2d7eff2dafb6aaffcc59bdce10b8e209fb4 | [
"Apache-2.0"
] | 4 | 2021-08-21T03:51:28.000Z | 2021-11-01T07:46:00.000Z | from urllib import request
def download_from_url(url, filename):
request.urlretrieve(url, filename) | 26 | 38 | 0.798077 | 14 | 104 | 5.785714 | 0.642857 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 4 | 38 | 26 | 0.89011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
94b05390d8c76ae881ff071f86a7ac7a273329b7 | 198 | py | Python | ViNLP/datasets/base_dataset.py | hieunguyen1053/ViNLP | bce9a1d146be720f1cc41849ca38fefea1d65254 | [
"Apache-2.0"
] | 2 | 2021-07-15T12:54:07.000Z | 2021-07-23T06:18:38.000Z | ViNLP/datasets/base_dataset.py | hieunguyen1053/ViNLP | bce9a1d146be720f1cc41849ca38fefea1d65254 | [
"Apache-2.0"
] | 5 | 2021-07-23T11:09:28.000Z | 2021-08-02T02:13:17.000Z | ViNLP/datasets/base_dataset.py | hieunguyen1053/ViNLP | bce9a1d146be720f1cc41849ca38fefea1d65254 | [
"Apache-2.0"
] | null | null | null | class BaseDataset:
def __init__(self, data=list()):
self.data = data
def __getitem__(self, idx):
return self.data[idx]
def __len__(self):
return len(self.data)
| 19.8 | 36 | 0.606061 | 25 | 198 | 4.32 | 0.44 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 198 | 9 | 37 | 22 | 0.755245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.285714 | 0.857143 | 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 |
94c18faf59f372b02b2051395080e1cd4a900bc9 | 135 | py | Python | ivy_tests/test_ivy/test_functional/test_core/test_creation.py | SayanJerr/ivy | 7b6ca2b45bae38d260accb6f82c69179519d65eb | [
"Apache-2.0"
] | null | null | null | ivy_tests/test_ivy/test_functional/test_core/test_creation.py | SayanJerr/ivy | 7b6ca2b45bae38d260accb6f82c69179519d65eb | [
"Apache-2.0"
] | null | null | null | ivy_tests/test_ivy/test_functional/test_core/test_creation.py | SayanJerr/ivy | 7b6ca2b45bae38d260accb6f82c69179519d65eb | [
"Apache-2.0"
] | null | null | null | from ... import helpers
import ivy
def test_eye():
# docstring test
assert helpers.docstring_examples_run(ivy.eye) == True
| 13.5 | 58 | 0.703704 | 18 | 135 | 5.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 135 | 9 | 59 | 15 | 0.851852 | 0.103704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
94d1a07b0bc6557f1d370c1e33f2b03ffdf82612 | 28 | py | Python | combo/blm/basis/__init__.py | zhangkunliang/BayesOptimization | 6d78c9e9f96239b0dbb85650a0d878e9410158ec | [
"MIT"
] | 139 | 2016-02-18T02:31:04.000Z | 2022-02-18T10:38:06.000Z | combo/blm/basis/__init__.py | zhangkunliang/BayesOptimization | 6d78c9e9f96239b0dbb85650a0d878e9410158ec | [
"MIT"
] | 8 | 2016-04-18T08:10:44.000Z | 2020-12-30T08:49:33.000Z | combo/blm/basis/__init__.py | zhangkunliang/BayesOptimization | 6d78c9e9f96239b0dbb85650a0d878e9410158ec | [
"MIT"
] | 50 | 2016-05-21T01:17:23.000Z | 2022-02-18T01:27:41.000Z | from fourier import fourier
| 14 | 27 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a2286fc0850b349d58a0c4ff43aac7de7b7fddb6 | 24 | py | Python | pywick/models/segmentation/testnets/drnet/__init__.py | achaiah/pywick | 9d663faf0c1660a9b8359a6472c164f658dfc8cb | [
"MIT"
] | 408 | 2019-05-16T16:12:41.000Z | 2022-03-26T17:27:12.000Z | pywick/models/segmentation/testnets/drnet/__init__.py | ashishpatel26/pywick | 1afffd1c21c2b188836d3599e802146182757bb5 | [
"MIT"
] | 13 | 2019-05-17T05:47:06.000Z | 2021-06-21T19:02:30.000Z | pywick/models/segmentation/testnets/drnet/__init__.py | ashishpatel26/pywick | 1afffd1c21c2b188836d3599e802146182757bb5 | [
"MIT"
] | 42 | 2019-05-16T19:57:12.000Z | 2022-03-06T15:23:18.000Z | from .drnet import DRNet | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 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 |
44a2765850dbf029f091c5c72a6f72e449ab3866 | 258 | py | Python | application/core/factory/account_factory.py | yntonfon/dashboard-plus | 1a4f2cf0c4d640f91d5c0aa974d0266552fb4e3d | [
"MIT"
] | null | null | null | application/core/factory/account_factory.py | yntonfon/dashboard-plus | 1a4f2cf0c4d640f91d5c0aa974d0266552fb4e3d | [
"MIT"
] | 4 | 2018-04-10T18:13:13.000Z | 2018-05-15T15:53:13.000Z | application/core/factory/account_factory.py | yntonfon/dashboard-plus | 1a4f2cf0c4d640f91d5c0aa974d0266552fb4e3d | [
"MIT"
] | null | null | null | from application.core.entity.account import Account
from application.core.port.create_account_port import CreateAccountPort
class AccountFactory(CreateAccountPort):
def create_account(self, payload: dict) -> Account:
return Account(**payload)
| 28.666667 | 71 | 0.794574 | 29 | 258 | 6.965517 | 0.551724 | 0.148515 | 0.188119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 258 | 8 | 72 | 32.25 | 0.897778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
44fdad929b2fa7eaaff7f8b5b89aff78cd989c49 | 33 | py | Python | odoo-13.0/venv/lib/python3.8/site-packages/PngImagePlugin.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 3 | 2015-11-20T08:44:42.000Z | 2016-12-14T01:40:03.000Z | odoo-13.0/venv/lib/python3.8/site-packages/PngImagePlugin.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 1 | 2017-09-04T14:04:32.000Z | 2020-05-26T19:04:00.000Z | odoo-13.0/venv/lib/python3.8/site-packages/PngImagePlugin.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | from PIL.PngImagePlugin import *
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
15256b7ebf72b5792943f519047995e3d2a0c22c | 2,251 | py | Python | tests/responses/test_streaming.py | alex-oleshkevich/kupala | 2cbf566fb601631afc4fc1ec90384502ef546ce8 | [
"MIT"
] | 8 | 2021-05-26T00:17:21.000Z | 2022-03-28T13:15:22.000Z | tests/responses/test_streaming.py | alex-oleshkevich/kupala | 2cbf566fb601631afc4fc1ec90384502ef546ce8 | [
"MIT"
] | 10 | 2021-11-06T16:56:43.000Z | 2022-03-28T13:15:02.000Z | tests/responses/test_streaming.py | alex-oleshkevich/kupala | 2cbf566fb601631afc4fc1ec90384502ef546ce8 | [
"MIT"
] | null | null | null | import asyncio
import typing as t
from kupala.application import Kupala
from kupala.requests import Request
from kupala.responses import StreamingResponse
from kupala.testclient import TestClient
def test_streaming_response_with_async_generator() -> None:
async def numbers() -> t.AsyncGenerator[str, None]:
... | 29.233766 | 106 | 0.654376 | 265 | 2,251 | 5.471698 | 0.218868 | 0.057931 | 0.044138 | 0.066207 | 0.782759 | 0.744138 | 0.744138 | 0.744138 | 0.744138 | 0.744138 | 0 | 0.015315 | 0.216793 | 2,251 | 76 | 107 | 29.618421 | 0.807147 | 0 | 0 | 0.727273 | 0 | 0 | 0.074634 | 0.019547 | 0 | 0 | 0 | 0 | 0.109091 | 1 | 0.163636 | false | 0 | 0.109091 | 0.072727 | 0.345455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
15490b60277a7c730f8645e422f923f1829b2b19 | 10,150 | py | Python | tests/nea/test_nea.py | jonheng/sgnlp | aeee85b78de2e449ca1dc6b18686a060cb938d07 | [
"MIT"
] | null | null | null | tests/nea/test_nea.py | jonheng/sgnlp | aeee85b78de2e449ca1dc6b18686a060cb938d07 | [
"MIT"
] | null | null | null | tests/nea/test_nea.py | jonheng/sgnlp | aeee85b78de2e449ca1dc6b18686a060cb938d07 | [
"MIT"
] | null | null | null | import unittest
import pathlib
import shutil
import pytest
import torch
from transformers import PretrainedConfig
from sgnlp.models.nea import (
NEAConfig,
NEARegPoolingModel,
NEARegModel,
NEABiRegModel,
NEABiRegPoolingModel,
NEATokenizer,
)
PARENT_DIR = pathlib.Path(__file__).parent
class... | 41.769547 | 81 | 0.687685 | 1,257 | 10,150 | 5.293556 | 0.10183 | 0.056808 | 0.081154 | 0.056808 | 0.816652 | 0.786895 | 0.778479 | 0.77367 | 0.77367 | 0.749324 | 0 | 0.01272 | 0.194483 | 10,150 | 242 | 82 | 41.942149 | 0.801125 | 0.009163 | 0 | 0.635897 | 0 | 0 | 0.058987 | 0 | 0 | 0 | 0 | 0 | 0.338462 | 1 | 0.087179 | false | 0.020513 | 0.035897 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.