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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eb04ec59e94e9c904e0a1ea728fff83f455f16f7 | 42 | py | Python | src/007-10001st-prime/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | 1 | 2018-01-26T21:18:12.000Z | 2018-01-26T21:18:12.000Z | src/007-10001st-prime/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | 3 | 2017-12-09T14:49:30.000Z | 2017-12-09T14:59:39.000Z | src/007-10001st-prime/python/solve.py | xfbs/ProjectEulerRust | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | [
"MIT"
] | null | null | null | import solver
print(solver.solve(10001))
| 10.5 | 26 | 0.785714 | 6 | 42 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 0.095238 | 42 | 3 | 27 | 14 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
eb2a59bb14bae8ba6438d62016fc262757e425e1 | 20 | py | Python | tests/Dispatcher/__init__.py | ramgopal99/centipede | 0b1dc1f17b025f6b37c9a3cf5753a46cbbcd36ba | [
"MIT"
] | 3 | 2018-05-28T20:56:19.000Z | 2018-06-02T15:58:10.000Z | tests/Dispatcher/__init__.py | ramgopal99/centipede | 0b1dc1f17b025f6b37c9a3cf5753a46cbbcd36ba | [
"MIT"
] | 20 | 2019-02-16T04:21:13.000Z | 2019-03-09T21:21:21.000Z | tests/Dispatcher/__init__.py | ramgopal99/centipede | 0b1dc1f17b025f6b37c9a3cf5753a46cbbcd36ba | [
"MIT"
] | 3 | 2018-07-10T14:51:13.000Z | 2022-03-17T00:39:58.000Z | from . import Local
| 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 |
de443ebf2a55c618bec50e3ba60555f6f898df91 | 46 | py | Python | vnpy/gateway/sopttest/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 19,529 | 2015-03-02T12:17:35.000Z | 2022-03-31T17:18:27.000Z | vnpy/gateway/sopttest/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 2,186 | 2015-03-04T23:16:33.000Z | 2022-03-31T03:44:01.000Z | vnpy/gateway/sopttest/__init__.py | funrunskypalace/vnpy | 2d87aede685fa46278d8d3392432cc127b797926 | [
"MIT"
] | 8,276 | 2015-03-02T05:21:04.000Z | 2022-03-31T13:13:13.000Z | from .sopttest_gateway import SopttestGateway
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 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 |
de8b063459c6ea30362d2d7e42196bead2702a39 | 127 | py | Python | src/BribeNet/gui/apps/temporal/wizard/generation.py | RobMurray98/BribeNet | 09ddd8f15d9ab5fac44ae516ed92c6ba5e5119bc | [
"MIT"
] | null | null | null | src/BribeNet/gui/apps/temporal/wizard/generation.py | RobMurray98/BribeNet | 09ddd8f15d9ab5fac44ae516ed92c6ba5e5119bc | [
"MIT"
] | null | null | null | src/BribeNet/gui/apps/temporal/wizard/generation.py | RobMurray98/BribeNet | 09ddd8f15d9ab5fac44ae516ed92c6ba5e5119bc | [
"MIT"
] | null | null | null | from BribeNet.gui.apps.static.wizard.generation import StaticGeneration
class TemporalGeneration(StaticGeneration):
pass
| 21.166667 | 71 | 0.834646 | 13 | 127 | 8.153846 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 127 | 5 | 72 | 25.4 | 0.929825 | 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 |
deaac683d56c3065a46f3da13c4b31d25198a141 | 26 | py | Python | lps/loham/__init__.py | arup-group/london-pop-synth | 38e56230d440d49ddb2e2841d46a5cbaab260c35 | [
"MIT"
] | 1 | 2020-11-25T06:56:43.000Z | 2020-11-25T06:56:43.000Z | lps/loham/__init__.py | arup-group/london-pop-synth | 38e56230d440d49ddb2e2841d46a5cbaab260c35 | [
"MIT"
] | null | null | null | lps/loham/__init__.py | arup-group/london-pop-synth | 38e56230d440d49ddb2e2841d46a5cbaab260c35 | [
"MIT"
] | null | null | null | from .loham import Demand
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dec4ec79dd116db12cf227bc0cd64c0834d820c5 | 58 | py | Python | src/__init__.py | quosi/CleanCode | 545afdfdaefeeaed739b48edd3170de1f1197201 | [
"MIT"
] | null | null | null | src/__init__.py | quosi/CleanCode | 545afdfdaefeeaed739b48edd3170de1f1197201 | [
"MIT"
] | null | null | null | src/__init__.py | quosi/CleanCode | 545afdfdaefeeaed739b48edd3170de1f1197201 | [
"MIT"
] | 1 | 2022-02-05T03:20:36.000Z | 2022-02-05T03:20:36.000Z | from . import IqaLoggingProcessor
from . import IqaPlotter | 29 | 33 | 0.844828 | 6 | 58 | 8.166667 | 0.666667 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 2 | 34 | 29 | 0.960784 | 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 |
dee4ed5bf89005f05ead56d9f03bafff21c17285 | 6,887 | py | Python | tests/test_test_suite.py | nihilistkitten/aga | d48baab1118a091e8cf3a9736f9d80597ffdc543 | [
"MIT"
] | 4 | 2022-01-01T07:17:31.000Z | 2022-02-28T10:48:54.000Z | tests/test_test_suite.py | nihilistkitten/aga | d48baab1118a091e8cf3a9736f9d80597ffdc543 | [
"MIT"
] | 24 | 2021-09-26T23:25:47.000Z | 2022-03-21T08:55:04.000Z | tests/test_test_suite.py | nihilistkitten/aga | d48baab1118a091e8cf3a9736f9d80597ffdc543 | [
"MIT"
] | null | null | null | """Tests for the `_AgaTestCase` class."""
from typing import List, Tuple
from unittest import TestCase
import pytest
from aga import problem, test_case
from aga.core import Problem
def square_wrong(x: int) -> int:
"""Square x, incorrectly."""
return x + 1
def square_right(x: int) -> int:
"""Square x,... | 30.745536 | 88 | 0.708291 | 1,003 | 6,887 | 4.707876 | 0.10668 | 0.021177 | 0.054214 | 0.081321 | 0.866582 | 0.825921 | 0.769166 | 0.71474 | 0.662431 | 0.662431 | 0 | 0.008902 | 0.184405 | 6,887 | 223 | 89 | 30.883408 | 0.831761 | 0.353129 | 0 | 0.30303 | 0 | 0 | 0.063962 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 1 | 0.252525 | false | 0 | 0.050505 | 0 | 0.414141 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
720bd2b1acb5d635f24a79aa2ddb890b5d2d825e | 368 | py | Python | stable_baselines/td3/__init__.py | iDurugkar/adversarial-intrinsic-motivation | e0ece991fe9b8278596c0ad9c68ccfc98a71e1e2 | [
"MIT"
] | 2 | 2022-03-11T15:26:00.000Z | 2022-03-15T12:20:57.000Z | stable_baselines/td3/__init__.py | iDurugkar/adversarial-intrinsic-motivation | e0ece991fe9b8278596c0ad9c68ccfc98a71e1e2 | [
"MIT"
] | null | null | null | stable_baselines/td3/__init__.py | iDurugkar/adversarial-intrinsic-motivation | e0ece991fe9b8278596c0ad9c68ccfc98a71e1e2 | [
"MIT"
] | null | null | null | from stable_baselines.common.noise import NormalActionNoise, OrnsteinUhlenbeckActionNoise
from stable_baselines.td3.rnd import RND
from stable_baselines.td3.td3 import TD3
from stable_baselines.td3.dist_predictor import Predictor
from stable_baselines.td3.ddl_td3 import DDLTD3
from stable_baselines.td3.policies import ... | 46 | 89 | 0.877717 | 48 | 368 | 6.5625 | 0.395833 | 0.190476 | 0.361905 | 0.349206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0.078804 | 368 | 7 | 90 | 52.571429 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
721b14ed626218ea37a73aedc2648c66ed25b9ad | 99 | py | Python | VideoSearchEngine/ObjectDetection/__init__.py | AkshatSh/VideoSearchEngine | 57f64b241b8a7bbc377ce7826e1206f679f41def | [
"MIT"
] | 49 | 2018-05-22T09:06:18.000Z | 2022-02-26T10:03:43.000Z | VideoSearchEngine/ObjectDetection/__init__.py | AkshatSh/VideoSearchEngine | 57f64b241b8a7bbc377ce7826e1206f679f41def | [
"MIT"
] | 17 | 2018-05-18T21:14:36.000Z | 2019-06-06T09:17:18.000Z | VideoSearchEngine/ObjectDetection/__init__.py | AkshatSh/VideoSearchEngine | 57f64b241b8a7bbc377ce7826e1206f679f41def | [
"MIT"
] | 18 | 2018-06-06T22:14:26.000Z | 2021-11-23T08:59:31.000Z | # from . import bbox_detector
from . import DarknetModels
from . import TinyYolo
from . import Yolo | 24.75 | 29 | 0.787879 | 13 | 99 | 5.923077 | 0.538462 | 0.519481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 4 | 30 | 24.75 | 0.927711 | 0.272727 | 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 |
723b4087c1005833507e087c35a8842a2d7f2551 | 102 | py | Python | utils.py | Tchepga/bidding | ea99b791629033402df01e20dcbf75ab11471491 | [
"MIT"
] | null | null | null | utils.py | Tchepga/bidding | ea99b791629033402df01e20dcbf75ab11471491 | [
"MIT"
] | null | null | null | utils.py | Tchepga/bidding | ea99b791629033402df01e20dcbf75ab11471491 | [
"MIT"
] | null | null | null | import time
from time import strftime
def get_log_time():
return strftime('[%Y-%b-%d %H:%M:%S]') | 17 | 42 | 0.656863 | 18 | 102 | 3.611111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 6 | 42 | 17 | 0.755814 | 0 | 0 | 0 | 0 | 0 | 0.184466 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
a0fe6e833992588798a814aa86eef87d1875996c | 2,629 | py | Python | flipboard/cli.py | chris48s/flipboard | 98fa22bcd7b3c20688a793b9406695c13f16008c | [
"MIT"
] | 1 | 2021-07-06T11:10:59.000Z | 2021-07-06T11:10:59.000Z | flipboard/cli.py | chris48s/flipboard | 98fa22bcd7b3c20688a793b9406695c13f16008c | [
"MIT"
] | 2 | 2021-08-12T17:10:03.000Z | 2022-02-21T00:56:31.000Z | flipboard/cli.py | chris48s/flipboard | 98fa22bcd7b3c20688a793b9406695c13f16008c | [
"MIT"
] | null | null | null | import json
from base64 import b64encode, b64decode
from urllib.parse import quote, unquote
import click
import pyperclip
import xmlformatter
import xml.parsers.expat
@click.group()
def cli():
pass
@cli.command()
@click.argument('encoding', type=click.Choice(['base64', 'url']), required=True)
def encode(encodin... | 25.524272 | 84 | 0.623431 | 282 | 2,629 | 5.72695 | 0.219858 | 0.083591 | 0.105882 | 0.056966 | 0.816099 | 0.816099 | 0.816099 | 0.816099 | 0.816099 | 0.762848 | 0 | 0.010111 | 0.247623 | 2,629 | 102 | 85 | 25.77451 | 0.80637 | 0 | 0 | 0.666667 | 0 | 0 | 0.046786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.012821 | 0.089744 | 0 | 0.358974 | 0.012821 | 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 |
9d003c100cc6aa5cdeb3c1dc30aa1e103a8085b5 | 213 | py | Python | capstone/cite/templatetags/redaction.py | rachelaus/capstone | 2affa02706f9b1a99d032c66f258a7421c40a35e | [
"MIT"
] | 134 | 2017-07-12T17:03:06.000Z | 2022-03-27T06:38:29.000Z | capstone/cite/templatetags/redaction.py | rachelaus/capstone | 2affa02706f9b1a99d032c66f258a7421c40a35e | [
"MIT"
] | 1,362 | 2017-06-22T17:42:49.000Z | 2022-03-31T15:28:00.000Z | capstone/cite/templatetags/redaction.py | rachelaus/capstone | 2affa02706f9b1a99d032c66f258a7421c40a35e | [
"MIT"
] | 38 | 2017-06-22T14:46:23.000Z | 2022-03-16T05:32:54.000Z | from django import template
register = template.Library()
@register.filter()
def redact(text, case):
return case.redact_obj(text)
@register.filter()
def elide(text, case):
return case.elide_obj(text) | 15.214286 | 32 | 0.7277 | 29 | 213 | 5.275862 | 0.482759 | 0.183007 | 0.222222 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150235 | 213 | 14 | 33 | 15.214286 | 0.845304 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 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 |
9d40331569547fc1607a561511cd4d68911fdd77 | 8,646 | py | Python | demo/tests/test_post_save_callbacks.py | jayvdb/django-formidable | df8bcd0c882990d72d302be47aeb4fb11915b1fa | [
"MIT"
] | 11 | 2018-02-14T08:15:23.000Z | 2021-09-10T02:16:38.000Z | demo/tests/test_post_save_callbacks.py | jayvdb/django-formidable | df8bcd0c882990d72d302be47aeb4fb11915b1fa | [
"MIT"
] | 61 | 2017-11-27T10:15:43.000Z | 2021-06-28T14:17:25.000Z | demo/tests/test_post_save_callbacks.py | jayvdb/django-formidable | df8bcd0c882990d72d302be47aeb4fb11915b1fa | [
"MIT"
] | 2 | 2019-04-06T11:17:05.000Z | 2020-10-10T08:36:27.000Z | from copy import deepcopy
from django.core.exceptions import ImproperlyConfigured
from django.urls import reverse
from django.conf import settings
from django.test import TestCase, override_settings
from rest_framework.test import APITestCase
from formidable.models import Formidable
from formidable.views import check... | 37.755459 | 78 | 0.683669 | 971 | 8,646 | 5.765191 | 0.112255 | 0.075027 | 0.086459 | 0.096463 | 0.873526 | 0.824223 | 0.769739 | 0.76831 | 0.714184 | 0.711683 | 0 | 0.007277 | 0.237104 | 8,646 | 228 | 79 | 37.921053 | 0.841419 | 0.055864 | 0 | 0.486339 | 0 | 0 | 0.06908 | 0.049448 | 0 | 0 | 0 | 0 | 0.15847 | 1 | 0.10929 | false | 0 | 0.054645 | 0 | 0.180328 | 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 |
19b5b02976acae87d157248b84d140e4bc9959f2 | 41 | py | Python | package/code/gtfs_harvester/extractor/__init__.py | highered-esricanada/Parallel-GTFS-Workflow | 5386ca58708cfcf3e9aa901b02e273b98dfe2fcb | [
"MIT"
] | null | null | null | package/code/gtfs_harvester/extractor/__init__.py | highered-esricanada/Parallel-GTFS-Workflow | 5386ca58708cfcf3e9aa901b02e273b98dfe2fcb | [
"MIT"
] | null | null | null | package/code/gtfs_harvester/extractor/__init__.py | highered-esricanada/Parallel-GTFS-Workflow | 5386ca58708cfcf3e9aa901b02e273b98dfe2fcb | [
"MIT"
] | null | null | null | from .gtfs_converter import ExtractGTFSRT | 41 | 41 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
19c6fa1a5b098a72965b7a70367b2ecf319f54aa | 135 | py | Python | scripts/npc/autogen_BonfireMinigameEntranceNPC.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/npc/autogen_BonfireMinigameEntranceNPC.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/npc/autogen_BonfireMinigameEntranceNPC.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | # Character field ID when accessed: 820000000
# ParentID: 9201476
# ObjectID: 1000037
# Object Position Y: 37
# Object Position X: 260
| 22.5 | 45 | 0.755556 | 18 | 135 | 5.666667 | 0.888889 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.17037 | 135 | 5 | 46 | 27 | 0.660714 | 0.918519 | 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 |
19ed76e37cc84851e118c2c6eeedc8acbb43bda0 | 24 | py | Python | jiebazhc/__init__.py | jack139/tongjian | 5827ae9ddbde744474f3058675c16a7749378507 | [
"BSD-3-Clause"
] | 32 | 2016-04-10T10:43:31.000Z | 2022-01-26T08:00:25.000Z | jiebazhc/__init__.py | jack139/tongjian | 5827ae9ddbde744474f3058675c16a7749378507 | [
"BSD-3-Clause"
] | 3 | 2016-09-17T05:09:29.000Z | 2020-02-04T15:50:52.000Z | jiebazhc/__init__.py | jack139/tongjian | 5827ae9ddbde744474f3058675c16a7749378507 | [
"BSD-3-Clause"
] | 8 | 2016-04-11T14:57:03.000Z | 2021-06-12T01:56:53.000Z | from .jiebazhc import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 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 |
19f529fa8ba13623e22868c511501dae074e301e | 45 | py | Python | incomplete/rasterizer/rasterizer/examples/__init__.py | adlerliu/500lines | 9100aaa8cf510439460ab8a1fad3311926a94d90 | [
"CC-BY-3.0"
] | 26,185 | 2015-01-01T04:59:51.000Z | 2022-03-31T10:20:14.000Z | incomplete/rasterizer/rasterizer/examples/__init__.py | fsxchen/500lines | 3f2cd407ebedaf0a3cfa6858c4cf94543067433d | [
"CC-BY-3.0"
] | 160 | 2015-01-05T12:20:21.000Z | 2021-10-03T07:25:43.000Z | incomplete/rasterizer/rasterizer/examples/__init__.py | fsxchen/500lines | 3f2cd407ebedaf0a3cfa6858c4cf94543067433d | [
"CC-BY-3.0"
] | 6,572 | 2015-01-01T01:31:00.000Z | 2022-03-31T07:31:22.000Z | import e1
import e2
import e3
import destijl
| 9 | 14 | 0.822222 | 8 | 45 | 4.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.177778 | 45 | 4 | 15 | 11.25 | 0.918919 | 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 |
dfe5be80c84676c693ac6218a14169594ad243a7 | 31 | py | Python | ruleex/anndt/__init__.py | rohancode/ruleex_modified | ec974e7811fafc0c06d4d2c53b4e2898dd6b7305 | [
"Apache-2.0"
] | 18 | 2019-09-19T09:50:52.000Z | 2022-03-20T13:59:20.000Z | ruleex/anndt/__init__.py | rohancode/ruleex_modified | ec974e7811fafc0c06d4d2c53b4e2898dd6b7305 | [
"Apache-2.0"
] | 3 | 2020-10-31T05:15:32.000Z | 2022-02-10T00:34:05.000Z | ruleex/anndt/__init__.py | rohancode/ruleex_modified | ec974e7811fafc0c06d4d2c53b4e2898dd6b7305 | [
"Apache-2.0"
] | 7 | 2020-12-06T20:55:50.000Z | 2021-12-11T18:14:51.000Z | from ruleex.anndt.core import * | 31 | 31 | 0.806452 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0498478fa095bff24afe8c59b2b294e2b6634e0 | 296 | py | Python | dataship/beam/__init__.py | dataship/python-dataship | 2ac8595cdf061b10cdc33f5cb68f23f97afc3eed | [
"MIT"
] | 6 | 2017-12-29T17:06:50.000Z | 2020-04-12T23:30:19.000Z | dataship/beam/__init__.py | dataship/python-dataship | 2ac8595cdf061b10cdc33f5cb68f23f97afc3eed | [
"MIT"
] | null | null | null | dataship/beam/__init__.py | dataship/python-dataship | 2ac8595cdf061b10cdc33f5cb68f23f97afc3eed | [
"MIT"
] | null | null | null | from .beam import load
from .beam import read
from .beam import write
from .beam import to_dataframe
from .beam import from_dataframe
from .beam import write_column
from .beam import read_column
__all__ = ['load', 'read', 'write', 'to_dataframe', 'from_dataframe', 'write_column', 'read_column']
| 32.888889 | 100 | 0.773649 | 44 | 296 | 4.931818 | 0.227273 | 0.258065 | 0.451613 | 0.165899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 296 | 8 | 101 | 37 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.209459 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.875 | 0 | 0.875 | 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 |
a0682868c5f534cb29d71b2033ce841402165595 | 1,126 | py | Python | test/test_distance.py | DavidWalz/diversipy | bbc9b6b650529f7cb739cf981dddb3eaad2f2613 | [
"BSD-3-Clause"
] | 3 | 2021-01-06T13:35:00.000Z | 2021-08-12T08:22:04.000Z | test/test_distance.py | DavidWalz/diversipy | bbc9b6b650529f7cb739cf981dddb3eaad2f2613 | [
"BSD-3-Clause"
] | 1 | 2020-02-20T10:11:38.000Z | 2020-02-29T22:52:42.000Z | test/test_distance.py | DavidWalz/diversipy | bbc9b6b650529f7cb739cf981dddb3eaad2f2613 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import diversipy
def test_distance_to_boundary():
points = np.array([[0.1, 0.2], [0.3, 0.9]])
np.testing.assert_almost_equal(
diversipy.distance.distance_to_boundary(points), np.array([0.1, 0.1])
)
np.testing.assert_almost_equal(
diversipy.distance.distance_to_bounda... | 33.117647 | 86 | 0.581705 | 179 | 1,126 | 3.530726 | 0.195531 | 0.044304 | 0.033228 | 0.166139 | 0.751582 | 0.738924 | 0.738924 | 0.716772 | 0.716772 | 0.662975 | 0 | 0.103527 | 0.219361 | 1,126 | 33 | 87 | 34.121212 | 0.615472 | 0.05151 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
262037f5ffb432dcd1cb9fb5c6454b7d089c69af | 27 | py | Python | gyakujinton/Window/__init__.py | mamerisawesome/gyakujinton | 835ffe8ddf61b638db50a6ff15f764bee19917bd | [
"MIT"
] | null | null | null | gyakujinton/Window/__init__.py | mamerisawesome/gyakujinton | 835ffe8ddf61b638db50a6ff15f764bee19917bd | [
"MIT"
] | null | null | null | gyakujinton/Window/__init__.py | mamerisawesome/gyakujinton | 835ffe8ddf61b638db50a6ff15f764bee19917bd | [
"MIT"
] | null | null | null | from .Window import Window
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd05c09eba77d1b820ef2e6d102de816ed15e01e | 103 | py | Python | inselect/gui/views/boxes/__init__.py | NaturalHistoryMuseum/inselect | 196a3ae2a0ed4e2c7cb667aaba9a6be1bcd90ca6 | [
"BSD-3-Clause"
] | 128 | 2015-03-06T00:17:51.000Z | 2021-09-15T07:59:01.000Z | inselect/gui/views/boxes/__init__.py | NaturalHistoryMuseum/inselect | 196a3ae2a0ed4e2c7cb667aaba9a6be1bcd90ca6 | [
"BSD-3-Clause"
] | 346 | 2015-01-22T10:07:52.000Z | 2020-02-25T21:24:56.000Z | inselect/gui/views/boxes/__init__.py | NaturalHistoryMuseum/inselect | 196a3ae2a0ed4e2c7cb667aaba9a6be1bcd90ca6 | [
"BSD-3-Clause"
] | 15 | 2015-02-26T21:31:18.000Z | 2020-12-29T17:18:47.000Z | from .boxes_view import BoxesView # noqa
from .graphics_item_view import GraphicsItemView # noqa
| 34.333333 | 58 | 0.786408 | 13 | 103 | 6 | 0.692308 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174757 | 103 | 2 | 59 | 51.5 | 0.917647 | 0.087379 | 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 |
26f2e28345c7f8b3c0cb765ecb88bc1a2203d70d | 10,298 | py | Python | fireant/tests/slicer/test_execution.py | vladaspasic/fireant | 2dbae6a97a927ef62fdcd5f37fcb51a7d6d55334 | [
"Apache-2.0"
] | null | null | null | fireant/tests/slicer/test_execution.py | vladaspasic/fireant | 2dbae6a97a927ef62fdcd5f37fcb51a7d6d55334 | [
"Apache-2.0"
] | null | null | null | fireant/tests/slicer/test_execution.py | vladaspasic/fireant | 2dbae6a97a927ef62fdcd5f37fcb51a7d6d55334 | [
"Apache-2.0"
] | null | null | null | from unittest import (
TestCase,
skip,
)
import numpy as np
import pandas as pd
import pandas.testing
from fireant.slicer.queries.execution import reduce_result_set
from fireant.slicer.totals import get_totals_marker_for_dtype
from .mocks import (
cat_dim_df,
cat_dim_totals_df,
cat_uni_dim_df,
... | 47.022831 | 119 | 0.639736 | 1,299 | 10,298 | 4.69592 | 0.082371 | 0.072131 | 0.034426 | 0.034098 | 0.83082 | 0.799672 | 0.778033 | 0.749836 | 0.738033 | 0.73459 | 0 | 0.004895 | 0.226258 | 10,298 | 218 | 120 | 47.238532 | 0.760668 | 0 | 0 | 0.454023 | 0 | 0 | 0.087493 | 0.002428 | 0 | 0 | 0 | 0 | 0.074713 | 1 | 0.08046 | false | 0 | 0.04023 | 0 | 0.137931 | 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 |
f80a25bec132661adc4b26b49e323b6cdce852f5 | 84 | py | Python | core/components/__init__.py | roimpacta/exemplos | cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a | [
"Apache-2.0"
] | null | null | null | core/components/__init__.py | roimpacta/exemplos | cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a | [
"Apache-2.0"
] | null | null | null | core/components/__init__.py | roimpacta/exemplos | cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a | [
"Apache-2.0"
] | null | null | null | from .GerenciadorToken import *
from .GerenciadorEmail import *
from .Token import * | 28 | 31 | 0.797619 | 9 | 84 | 7.444444 | 0.555556 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 84 | 3 | 32 | 28 | 0.917808 | 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 |
f860e18560765b13b68f0d8f4f71cef23aab2504 | 21,298 | py | Python | streamselect/adaptive_learning/test_base_adaptive_learner.py | BenHals/streamselect | ca5e80f3a8a31a38ac52bccfd92528d73f387a6a | [
"BSD-3-Clause"
] | null | null | null | streamselect/adaptive_learning/test_base_adaptive_learner.py | BenHals/streamselect | ca5e80f3a8a31a38ac52bccfd92528d73f387a6a | [
"BSD-3-Clause"
] | null | null | null | streamselect/adaptive_learning/test_base_adaptive_learner.py | BenHals/streamselect | ca5e80f3a8a31a38ac52bccfd92528d73f387a6a | [
"BSD-3-Clause"
] | null | null | null | from typing import List, Optional
from river import synth
from river.drift import ADWIN
from river.tree import HoeffdingTreeClassifier
from streamselect.adaptive_learning import BaseAdaptiveLearner
from streamselect.adaptive_learning.reidentification_schedulers import (
DriftDetectionCheck,
DriftInfo,
Dri... | 45.218684 | 119 | 0.731994 | 2,476 | 21,298 | 5.953958 | 0.088449 | 0.076516 | 0.031746 | 0.042125 | 0.834283 | 0.818613 | 0.789445 | 0.775878 | 0.768824 | 0.731448 | 0 | 0.011613 | 0.203493 | 21,298 | 470 | 120 | 45.314894 | 0.857404 | 0.099211 | 0 | 0.656 | 0 | 0 | 0.006591 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.016 | false | 0 | 0.026667 | 0 | 0.042667 | 0.002667 | 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 |
f86507f41b74b2236f297c019d8f962e263f7688 | 101 | bzl | Python | cipd_deps.bzl | bazelembedded/rules_cipd | a94deb125e9611cb06101cf65eca634717d1ddfa | [
"MIT"
] | 1 | 2022-02-22T07:31:07.000Z | 2022-02-22T07:31:07.000Z | cipd_deps.bzl | bazelembedded/rules_cipd | a94deb125e9611cb06101cf65eca634717d1ddfa | [
"MIT"
] | 3 | 2022-02-11T11:02:57.000Z | 2022-02-11T11:11:23.000Z | cipd_deps.bzl | bazelembedded/rules_cipd | a94deb125e9611cb06101cf65eca634717d1ddfa | [
"MIT"
] | null | null | null | load("//cipd/internal:cipd_client.bzl", "cipd_client_deps")
def cipd_deps():
cipd_client_deps()
| 20.2 | 59 | 0.732673 | 15 | 101 | 4.533333 | 0.466667 | 0.441176 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 101 | 4 | 60 | 25.25 | 0.747253 | 0 | 0 | 0 | 0 | 0 | 0.465347 | 0.306931 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f86ac1eac20774749615147922719e2538ae2c34 | 200 | py | Python | src/AuShadha/history/family_history/admin.py | GosthMan/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 46 | 2015-03-04T14:19:47.000Z | 2021-12-09T02:58:46.000Z | src/AuShadha/history/family_history/admin.py | aytida23/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 2 | 2015-06-05T10:29:04.000Z | 2015-12-06T16:54:10.000Z | src/AuShadha/history/family_history/admin.py | aytida23/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 24 | 2015-03-23T01:38:11.000Z | 2022-01-24T16:23:42.000Z | from django.contrib import admin
from history.family_history.models import FamilyHistory
class FamilyHistoryAdmin(admin.ModelAdmin):
pass
admin.site.register(FamilyHistory, FamilyHistoryAdmin)
| 22.222222 | 55 | 0.84 | 22 | 200 | 7.590909 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 200 | 8 | 56 | 25 | 0.927778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3e0202b21a5816f826865bf1bf625b5ff0554955 | 26 | py | Python | oauth2/__init__.py | mart-e/requests-oauth2 | 93119cafed2b2393e0c80bd16aaf7a2d2490a8b1 | [
"BSD-3-Clause-Attribution"
] | 2 | 2015-01-13T11:19:44.000Z | 2015-09-22T13:28:42.000Z | oauth2/__init__.py | mart-e/requests-oauth2 | 93119cafed2b2393e0c80bd16aaf7a2d2490a8b1 | [
"BSD-3-Clause-Attribution"
] | null | null | null | oauth2/__init__.py | mart-e/requests-oauth2 | 93119cafed2b2393e0c80bd16aaf7a2d2490a8b1 | [
"BSD-3-Clause-Attribution"
] | null | null | null | from oauth2 import OAuth2
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 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 |
3e5f0e3cd644fce2a76b3d624cf39c32c6874bdd | 109 | py | Python | app/user/__init__.py | puzzle9/FaceApi | 9a19babf1759a637261b1ad7d9c35ec630679527 | [
"MIT"
] | null | null | null | app/user/__init__.py | puzzle9/FaceApi | 9a19babf1759a637261b1ad7d9c35ec630679527 | [
"MIT"
] | null | null | null | app/user/__init__.py | puzzle9/FaceApi | 9a19babf1759a637261b1ad7d9c35ec630679527 | [
"MIT"
] | null | null | null | from flask import Blueprint
blueprint = Blueprint('user', __name__, url_prefix='/user')
from . import user
| 18.166667 | 59 | 0.752294 | 14 | 109 | 5.5 | 0.571429 | 0.467532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 5 | 60 | 21.8 | 0.819149 | 0 | 0 | 0 | 0 | 0 | 0.082569 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
e410f380f1e80840e45eef86f99fc87966b89a99 | 10,836 | py | Python | src/aggressive_ensemble/models.py | mpajak98/aggressive-ensemble.torch | fbc298b3ccf4f31fa8144c9c927b3b9b4281b4d0 | [
"MIT"
] | null | null | null | src/aggressive_ensemble/models.py | mpajak98/aggressive-ensemble.torch | fbc298b3ccf4f31fa8144c9c927b3b9b4281b4d0 | [
"MIT"
] | null | null | null | src/aggressive_ensemble/models.py | mpajak98/aggressive-ensemble.torch | fbc298b3ccf4f31fa8144c9c927b3b9b4281b4d0 | [
"MIT"
] | null | null | null | from torchvision import models
import pretrainedmodels
import torch
from torch import nn
__all__ = ['resnet50', 'resnet152', 'alexnet', 'vgg', 'densenet',
'inception', 'xception', 'nasnetalarge', 'nasnetamobile',
"yolov5s", "yolov5m"]
def set_parameter_requires_grad(model, feature_extracting):... | 38.425532 | 139 | 0.727206 | 1,398 | 10,836 | 5.464235 | 0.079399 | 0.064145 | 0.005891 | 0.007854 | 0.918838 | 0.918838 | 0.914125 | 0.914125 | 0.914125 | 0.914125 | 0 | 0.035524 | 0.184293 | 10,836 | 281 | 140 | 38.562278 | 0.828714 | 0.448505 | 0 | 0.694215 | 0 | 0 | 0.029935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.099174 | false | 0 | 0.033058 | 0 | 0.223141 | 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 |
e4284915889bb4e9f69f9c3e00e74535ef41ee3b | 29 | py | Python | tienda/products/models/__init__.py | andresdavidsv/tienda-bbb | 24a058ded19ed433b1dd03b18057bbbdd7ddc6e5 | [
"MIT"
] | null | null | null | tienda/products/models/__init__.py | andresdavidsv/tienda-bbb | 24a058ded19ed433b1dd03b18057bbbdd7ddc6e5 | [
"MIT"
] | null | null | null | tienda/products/models/__init__.py | andresdavidsv/tienda-bbb | 24a058ded19ed433b1dd03b18057bbbdd7ddc6e5 | [
"MIT"
] | null | null | null | from .products import Product | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e494c856e6e268352dc436c488c469d8af50f272 | 28 | py | Python | subm/log.py | tor4z/python_test | 6b18110b4e82ad00a065b03d0ee8f7f331b2f874 | [
"Unlicense"
] | null | null | null | subm/log.py | tor4z/python_test | 6b18110b4e82ad00a065b03d0ee8f7f331b2f874 | [
"Unlicense"
] | null | null | null | subm/log.py | tor4z/python_test | 6b18110b4e82ad00a065b03d0ee8f7f331b2f874 | [
"Unlicense"
] | null | null | null | def f():
print(__name__) | 14 | 19 | 0.607143 | 4 | 28 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 2 | 19 | 14 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e4af8b24ab6e80b08f14f8700e33b22392b51f48 | 1,539 | py | Python | src/var_learning/plot.py | rcmdnk/phys_learning | 2ea0b3e133aed1f57ede03c8ab0c43487a2e0266 | [
"Apache-2.0"
] | null | null | null | src/var_learning/plot.py | rcmdnk/phys_learning | 2ea0b3e133aed1f57ede03c8ab0c43487a2e0266 | [
"Apache-2.0"
] | null | null | null | src/var_learning/plot.py | rcmdnk/phys_learning | 2ea0b3e133aed1f57ede03c8ab0c43487a2e0266 | [
"Apache-2.0"
] | null | null | null | import os
import matplotlib.pyplot as plt
def hist_one(x1, bins, range, name, xlabel, ylabel='Count'):
fig, ax = plt.subplots()
ax.hist(x1, bins=bins, range=range, color='blue')
ax.set_xlabel(xlabel)
ax.set_ylabel(ylabel)
fig.show()
os.makedirs('plots/', exist_ok=True)
fig.savefig('plots/'... | 29.037736 | 78 | 0.615335 | 233 | 1,539 | 3.995708 | 0.197425 | 0.042965 | 0.068743 | 0.090226 | 0.77014 | 0.77014 | 0.750806 | 0.750806 | 0.73362 | 0.619764 | 0 | 0.027597 | 0.19948 | 1,539 | 52 | 79 | 29.596154 | 0.728084 | 0 | 0 | 0.727273 | 0 | 0 | 0.071475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.045455 | 0 | 0.136364 | 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 |
e4cab05bb978830b4e6ee56915ffc29d98686a7e | 156 | py | Python | jj.py | abinashstack/Flaskapp | 4848f7dce656f7cbc08324a6af6c8f1c0facc039 | [
"MIT"
] | null | null | null | jj.py | abinashstack/Flaskapp | 4848f7dce656f7cbc08324a6af6c8f1c0facc039 | [
"MIT"
] | null | null | null | jj.py | abinashstack/Flaskapp | 4848f7dce656f7cbc08324a6af6c8f1c0facc039 | [
"MIT"
] | null | null | null | @app.route('/home')
def home():
return redirect(url_for('about', name='World'))
@app.route('/about/<name>')
def about(name):
return f'Hello {name}' | 22.285714 | 51 | 0.634615 | 23 | 156 | 4.26087 | 0.565217 | 0.27551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 156 | 7 | 52 | 22.285714 | 0.720588 | 0 | 0 | 0 | 0 | 0 | 0.254777 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
90069c2f28f43e65b0a8454be111168e2caeb3d1 | 83 | py | Python | models/encoder/__init__.py | MinkaiXu/GeoDiff | c6f26dc250308bff8923a19884e601e0bb0f975a | [
"MIT"
] | 9 | 2022-03-08T12:32:29.000Z | 2022-03-31T10:39:45.000Z | models/encoder/__init__.py | MinkaiXu/GeoDiff | c6f26dc250308bff8923a19884e601e0bb0f975a | [
"MIT"
] | 1 | 2022-03-30T23:03:07.000Z | 2022-03-31T00:12:07.000Z | models/encoder/__init__.py | MinkaiXu/GeoDiff | c6f26dc250308bff8923a19884e601e0bb0f975a | [
"MIT"
] | 3 | 2022-03-01T06:45:40.000Z | 2022-03-30T13:12:20.000Z | from .schnet import *
from .gin import *
from .edge import *
from .coarse import *
| 16.6 | 21 | 0.710843 | 12 | 83 | 4.916667 | 0.5 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192771 | 83 | 4 | 22 | 20.75 | 0.880597 | 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 |
5f406160957645fd9bd6e0559a1ad65fa883db46 | 22,084 | py | Python | licornes/tests/test_views.py | blacherez/jioti | 5a850feb197242688768119a184f95042229fd29 | [
"MIT"
] | null | null | null | licornes/tests/test_views.py | blacherez/jioti | 5a850feb197242688768119a184f95042229fd29 | [
"MIT"
] | 25 | 2019-01-01T15:37:19.000Z | 2019-01-06T18:58:29.000Z | licornes/tests/test_views.py | blacherez/jioti | 5a850feb197242688768119a184f95042229fd29 | [
"MIT"
] | null | null | null | from django.test import TestCase
# Create your tests here.
from django.urls import reverse
from licornes.models import Licorne
from licornes.models import User
from licornes.models import Etape
from django.conf import settings
from bs4 import BeautifulSoup
import re
import os
class IndexViewTest(TestCase):
@cl... | 44.345382 | 176 | 0.65509 | 2,756 | 22,084 | 5.057692 | 0.113933 | 0.03874 | 0.068441 | 0.064782 | 0.806801 | 0.791448 | 0.767056 | 0.739723 | 0.703279 | 0.688141 | 0 | 0.015106 | 0.223601 | 22,084 | 497 | 177 | 44.434608 | 0.797854 | 0.06104 | 0 | 0.648241 | 0 | 0.002513 | 0.119411 | 0.013279 | 0 | 0 | 0 | 0 | 0.243719 | 1 | 0.138191 | false | 0 | 0.022613 | 0 | 0.173367 | 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 |
39798e641222dde2d6270db0d552e617d0712338 | 31 | py | Python | lltk/corpus/internet_archive/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | 5 | 2021-03-15T21:05:06.000Z | 2022-03-04T10:52:16.000Z | lltk/corpus/internet_archive/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | 1 | 2021-05-04T17:01:47.000Z | 2021-05-10T15:14:55.000Z | lltk/corpus/internet_archive/__init__.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | null | null | null | from .internet_archive import * | 31 | 31 | 0.83871 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
39e7e3d16726a910820596885a270fba06ddec80 | 281 | py | Python | challanges/fifo_animal_shelter/conftest.py | Patricia888/data-structures-and-algorithms | 8963acf857b9f7069eeeea2884b41376986c3d7c | [
"MIT"
] | null | null | null | challanges/fifo_animal_shelter/conftest.py | Patricia888/data-structures-and-algorithms | 8963acf857b9f7069eeeea2884b41376986c3d7c | [
"MIT"
] | null | null | null | challanges/fifo_animal_shelter/conftest.py | Patricia888/data-structures-and-algorithms | 8963acf857b9f7069eeeea2884b41376986c3d7c | [
"MIT"
] | null | null | null | import pytest
from . import AnimalShelter
@pytest.fixture
def empty_queue():
return AnimalShelter()
@pytest.fixture
def short_queue():
return AnimalShelter(['dog', 'cat', 'dog', 'cat'])
@pytest.fixture
def ddc_queue():
return AnimalShelter(['dog', 'dog', 'cat'])
| 15.611111 | 54 | 0.683274 | 33 | 281 | 5.727273 | 0.393939 | 0.206349 | 0.253968 | 0.306878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156584 | 281 | 17 | 55 | 16.529412 | 0.797468 | 0 | 0 | 0.272727 | 0 | 0 | 0.074733 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0 | 0.181818 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
f2d8865dab1292d8d1e305f92362acac52856ec9 | 145 | py | Python | mogpe/mixture_of_experts/__init__.py | aidanscannell/mogpe | 25a9af473d73d6fa35bd060bee0eb2c372b995e5 | [
"Apache-2.0"
] | 11 | 2021-04-01T02:40:21.000Z | 2022-01-31T16:14:44.000Z | mogpe/mixture_of_experts/__init__.py | aidanscannell/mogpe | 25a9af473d73d6fa35bd060bee0eb2c372b995e5 | [
"Apache-2.0"
] | null | null | null | mogpe/mixture_of_experts/__init__.py | aidanscannell/mogpe | 25a9af473d73d6fa35bd060bee0eb2c372b995e5 | [
"Apache-2.0"
] | 3 | 2021-04-04T02:45:34.000Z | 2021-11-22T23:48:28.000Z | #!/usr/bin/env python3
from mogpe.mixture_of_experts.base import MixtureOfExperts
from mogpe.mixture_of_experts.svgp import MixtureOfSVGPExperts
| 36.25 | 62 | 0.868966 | 20 | 145 | 6.1 | 0.7 | 0.147541 | 0.262295 | 0.295082 | 0.409836 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.068966 | 145 | 3 | 63 | 48.333333 | 0.896296 | 0.144828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8406f84d465e80185ed69e2e1d6e5d6565c45336 | 131 | py | Python | mllearn/alg_adapt/__init__.py | Lxinyuelxy/multi-label-learn | ab347e9c9ccac1503f22c7b76e0b3e9a4e8214da | [
"MIT"
] | 4 | 2018-11-19T13:34:53.000Z | 2020-01-11T11:58:13.000Z | mllearn/alg_adapt/__init__.py | Lxinyuelxy/multi-label-learn | ab347e9c9ccac1503f22c7b76e0b3e9a4e8214da | [
"MIT"
] | null | null | null | mllearn/alg_adapt/__init__.py | Lxinyuelxy/multi-label-learn | ab347e9c9ccac1503f22c7b76e0b3e9a4e8214da | [
"MIT"
] | 3 | 2019-04-14T18:13:33.000Z | 2021-04-05T14:45:56.000Z | from mllearn.alg_adapt.mlknn import MLKNN
from mllearn.alg_adapt.mldt import MLDecisionTree
__all__ = ['MLKNN', 'MLDecisionTree'] | 32.75 | 49 | 0.80916 | 17 | 131 | 5.882353 | 0.529412 | 0.22 | 0.28 | 0.38 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099237 | 131 | 4 | 50 | 32.75 | 0.847458 | 0 | 0 | 0 | 0 | 0 | 0.143939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
8429c53f7fd28307a11ce122a67b429fe703dee1 | 10,777 | py | Python | src/main/python/view/plot_utils.py | gwdgithubnom/ox-patient | cddf4fe381cb4506db8e0d62803dd2044cf7ad92 | [
"MIT"
] | null | null | null | src/main/python/view/plot_utils.py | gwdgithubnom/ox-patient | cddf4fe381cb4506db8e0d62803dd2044cf7ad92 | [
"MIT"
] | null | null | null | src/main/python/view/plot_utils.py | gwdgithubnom/ox-patient | cddf4fe381cb4506db8e0d62803dd2044cf7ad92 | [
"MIT"
] | 1 | 2021-04-14T00:45:38.000Z | 2021-04-14T00:45:38.000Z | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
from context import resource_manager
import pandas
import numpy
from tools import logger
import numpy as np
import matplotlib.pyplot as plt
log = logger.getLogger()
def plot_image_file(img):
plt.imshow(img)
plt.show()
def plot_image(narray, w='... | 34.10443 | 141 | 0.461538 | 1,216 | 10,777 | 3.995066 | 0.133224 | 0.058666 | 0.033347 | 0.079662 | 0.771099 | 0.757308 | 0.743516 | 0.73837 | 0.733429 | 0.733429 | 0 | 0.011552 | 0.389533 | 10,777 | 315 | 142 | 34.212698 | 0.726858 | 0.240512 | 0 | 0.716495 | 0 | 0 | 0.049895 | 0 | 0 | 0 | 0 | 0 | 0.030928 | 1 | 0.036082 | false | 0 | 0.030928 | 0 | 0.06701 | 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 |
ffc07014e07d2061a2e2e288c79e9d7fd7b2fa0f | 76 | py | Python | kbdiffdi/utilities/__init__.py | subond/kbdi-ffdi | f0f05afbfa43ef62dedc92a5ca1f4ce2ca17b4b3 | [
"MIT"
] | null | null | null | kbdiffdi/utilities/__init__.py | subond/kbdi-ffdi | f0f05afbfa43ef62dedc92a5ca1f4ce2ca17b4b3 | [
"MIT"
] | null | null | null | kbdiffdi/utilities/__init__.py | subond/kbdi-ffdi | f0f05afbfa43ef62dedc92a5ca1f4ce2ca17b4b3 | [
"MIT"
] | 1 | 2021-12-04T15:39:30.000Z | 2021-12-04T15:39:30.000Z | from .conversion import *
from .input_output import *
from .plotter import * | 25.333333 | 27 | 0.776316 | 10 | 76 | 5.8 | 0.6 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 3 | 28 | 25.333333 | 0.892308 | 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 |
ffe170f1b11d10909b63117569cdf732e9b54b5a | 26 | py | Python | src/lib/steam/__init__.py | ueffel/keypirinha-allmygames | 3ef8f641cec9d2165fbafcc7224f65d3fab1089a | [
"MIT"
] | 9 | 2020-05-31T11:13:52.000Z | 2021-09-23T14:26:42.000Z | src/lib/steam/__init__.py | ueffel/keypirinha-allmygames | 3ef8f641cec9d2165fbafcc7224f65d3fab1089a | [
"MIT"
] | 9 | 2020-05-31T11:55:10.000Z | 2022-01-22T11:22:55.000Z | src/lib/steam/__init__.py | ueffel/keypirinha-allmygames | 3ef8f641cec9d2165fbafcc7224f65d3fab1089a | [
"MIT"
] | 1 | 2020-09-11T17:40:51.000Z | 2020-09-11T17:40:51.000Z | from .steam import Steam
| 8.666667 | 24 | 0.769231 | 4 | 26 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 2 | 25 | 13 | 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 |
f23761e228ab837847a5c4c000c5ec7d93553ece | 8,309 | py | Python | georiviere/river/tests/test_fields.py | georiviere/Georiviere-admin | 4ac532f84a7a8fef3e01384fad63e8e288d397c0 | [
"BSD-2-Clause"
] | 7 | 2021-11-05T14:52:25.000Z | 2022-03-24T21:18:02.000Z | georiviere/river/tests/test_fields.py | georiviere/Georiviere-admin | 4ac532f84a7a8fef3e01384fad63e8e288d397c0 | [
"BSD-2-Clause"
] | 57 | 2021-11-02T10:27:34.000Z | 2022-03-31T14:08:32.000Z | georiviere/river/tests/test_fields.py | georiviere/Georiviere-admin | 4ac532f84a7a8fef3e01384fad63e8e288d397c0 | [
"BSD-2-Clause"
] | 1 | 2021-12-05T14:55:42.000Z | 2021-12-05T14:55:42.000Z | from django.test import TestCase
from django.core.exceptions import ValidationError
from django.contrib.gis.geos import GEOSGeometry, LineString, Point, Polygon
from django.conf import settings
from georiviere.river.fields import SnappedGeometryField, SnappedLineStringField
from georiviere.river.tests.factories import... | 42.610256 | 116 | 0.573234 | 892 | 8,309 | 5.161435 | 0.122197 | 0.02172 | 0.039096 | 0.068419 | 0.814509 | 0.769765 | 0.747176 | 0.747176 | 0.713293 | 0.677889 | 0 | 0.140085 | 0.292935 | 8,309 | 194 | 117 | 42.829897 | 0.642213 | 0.052112 | 0 | 0.554688 | 0 | 0.007813 | 0.170435 | 0.043524 | 0 | 0 | 0 | 0 | 0.140625 | 1 | 0.148438 | false | 0 | 0.046875 | 0 | 0.210938 | 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 |
f23828e13821d1c9e65df2bad561d209451fc90f | 639 | py | Python | examples/analyze.py | heinrichreimer/targer-api | b1d5c9369a4e65bdf94fdd81da0f1a92e2d4dff6 | [
"MIT"
] | 1 | 2022-01-27T15:13:41.000Z | 2022-01-27T15:13:41.000Z | examples/analyze.py | heinrichreimer/targer-api | b1d5c9369a4e65bdf94fdd81da0f1a92e2d4dff6 | [
"MIT"
] | 2 | 2022-01-24T14:32:44.000Z | 2022-01-25T11:01:55.000Z | examples/analyze.py | heinrichreimer/targer-api | b1d5c9369a4e65bdf94fdd81da0f1a92e2d4dff6 | [
"MIT"
] | null | null | null | from targer_api.api import analyze_text
arguments = analyze_text(
"Academic freedom is not absolute. "
"All major Canadian universities are now publicly funded "
"but maintain institutional autonomy, "
"with the ability to decide on admission, tuition and governance."
)
print(arguments)
arguments_per_... | 33.631579 | 71 | 0.748044 | 81 | 639 | 5.802469 | 0.506173 | 0.070213 | 0.080851 | 0.110638 | 0.731915 | 0.731915 | 0.731915 | 0.731915 | 0.731915 | 0.731915 | 0 | 0 | 0.178404 | 639 | 18 | 72 | 35.5 | 0.895238 | 0 | 0 | 0.375 | 0 | 0 | 0.652582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f247df3026d20ff012b9d9ef55547fda9639966c | 77 | py | Python | reactorch/__init__.py | WeilunQiu/reactorch | a7fcf375de76eff2089879706d4a9ec548f95049 | [
"MIT"
] | null | null | null | reactorch/__init__.py | WeilunQiu/reactorch | a7fcf375de76eff2089879706d4a9ec548f95049 | [
"MIT"
] | null | null | null | reactorch/__init__.py | WeilunQiu/reactorch | a7fcf375de76eff2089879706d4a9ec548f95049 | [
"MIT"
] | null | null | null | from . import import_kinetics
from . import kinetics
from .solution import *
| 19.25 | 29 | 0.792208 | 10 | 77 | 6 | 0.4 | 0.333333 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 77 | 3 | 30 | 25.666667 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
f2a0f0827ca31edb7a2ad346a83d68d695a30579 | 51,234 | py | Python | tests/test_pytsmp.py | kithomak/pytsmp | 15d58a39e016100fb44cdcc9f6115fa7736eb2bb | [
"MIT"
] | null | null | null | tests/test_pytsmp.py | kithomak/pytsmp | 15d58a39e016100fb44cdcc9f6115fa7736eb2bb | [
"MIT"
] | 1 | 2020-01-14T19:38:41.000Z | 2020-01-14T19:38:41.000Z | tests/test_pytsmp.py | kithomak/pytsmp | 15d58a39e016100fb44cdcc9f6115fa7736eb2bb | [
"MIT"
] | null | null | null | import pytest
import numpy as np
from pytsmp import pytsmp
from tests import helpers
class TestMatrixProfile:
def test_MatrixProfile_init(self):
with pytest.raises(TypeError):
t = np.random.rand(1000)
mp = pytsmp.MatrixProfile(t, window_size=100, verbose=False)
class TestSTAMP:
... | 56.054705 | 130 | 0.597221 | 6,631 | 51,234 | 4.410345 | 0.034535 | 0.045957 | 0.034467 | 0.040007 | 0.951787 | 0.939887 | 0.922346 | 0.908258 | 0.895606 | 0.882441 | 0 | 0.033543 | 0.297654 | 51,234 | 913 | 131 | 56.116101 | 0.77918 | 0.020904 | 0 | 0.681874 | 0 | 0 | 0.244916 | 0.091185 | 0 | 0 | 0 | 0 | 0.15783 | 1 | 0.097411 | false | 0 | 0.004932 | 0 | 0.110974 | 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 |
4b48555c88a27a414c9288d96c41d5f217f3f4ed | 4,275 | py | Python | station/tests/test_quality_ratings.py | gut-space/svarog | d68020a8f104da3b30a29ad24cc0ac64cf12ef5c | [
"MIT"
] | 7 | 2021-09-12T17:23:35.000Z | 2022-01-26T18:14:45.000Z | station/tests/test_quality_ratings.py | gut-space/svarog | ef5dda811315c183bdc2e996b015d4d1fbe57f19 | [
"MIT"
] | 45 | 2021-05-09T11:46:34.000Z | 2022-02-20T20:47:09.000Z | station/tests/test_quality_ratings.py | gut-space/svarog | d68020a8f104da3b30a29ad24cc0ac64cf12ef5c | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import quality_ratings
class TestQualityRatings(unittest.TestCase):
def test_list_names(self):
names = quality_ratings.get_rate_names()
self.assertTrue("analog" in names)
self.assertTrue("digital" in names)
def test_get_rate_by_name(self):
... | 37.5 | 77 | 0.654503 | 587 | 4,275 | 4.494037 | 0.13799 | 0.095527 | 0.109553 | 0.13533 | 0.808946 | 0.793404 | 0.793404 | 0.764215 | 0.716073 | 0.678165 | 0 | 0.060036 | 0.228538 | 4,275 | 113 | 78 | 37.831858 | 0.739842 | 0.032982 | 0 | 0.588889 | 0 | 0 | 0.028419 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.177778 | false | 0 | 0.033333 | 0 | 0.222222 | 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 |
4b509886b57a37ed72577e9a2a00f616415818a1 | 3,197 | py | Python | service/endpoints/inference.py | hasty-ai/docker-inference-example | f5e8bcccff8011b783c25c9795771be1fd4f732d | [
"MIT"
] | 1 | 2021-11-04T06:50:30.000Z | 2021-11-04T06:50:30.000Z | service/endpoints/inference.py | hasty-ai/docker-inference-example | f5e8bcccff8011b783c25c9795771be1fd4f732d | [
"MIT"
] | null | null | null | service/endpoints/inference.py | hasty-ai/docker-inference-example | f5e8bcccff8011b783c25c9795771be1fd4f732d | [
"MIT"
] | null | null | null | from flask import Blueprint, request, g
from .. import api
inference_api = Blueprint('inference_api', __name__)
@inference_api.route('/v1/object_detection', methods=['POST'])
def get_object_detection_prediction():
confidence_thresh = request.json.get('confidence_threshold', 0.5)
attr_thresh = request.json.g... | 35.131868 | 69 | 0.680325 | 428 | 3,197 | 4.806075 | 0.121495 | 0.105007 | 0.095284 | 0.052504 | 0.807487 | 0.753525 | 0.753525 | 0.753525 | 0.753525 | 0.753525 | 0 | 0.022539 | 0.208946 | 3,197 | 90 | 70 | 35.522222 | 0.790826 | 0 | 0 | 0.670732 | 0 | 0 | 0.139193 | 0.006881 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036585 | false | 0 | 0.02439 | 0 | 0.097561 | 0.02439 | 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 |
4b5a05bbf0148b95b991eb4566207295c1654be0 | 144 | py | Python | src/ar6/metrics/__init__.py | IPCC-WG1/Chapter-7 | 235679fbd25e489827de605e1417ac3f27e6abab | [
"MIT"
] | 11 | 2021-08-18T10:15:24.000Z | 2021-08-23T19:15:34.000Z | src/ar6/metrics/__init__.py | IPCC-WG1/Chapter-7 | 235679fbd25e489827de605e1417ac3f27e6abab | [
"MIT"
] | null | null | null | src/ar6/metrics/__init__.py | IPCC-WG1/Chapter-7 | 235679fbd25e489827de605e1417ac3f27e6abab | [
"MIT"
] | 4 | 2021-08-25T00:55:11.000Z | 2022-01-08T12:21:29.000Z | # import modules into namespace
from .co2 import co2_analytical
from .ch4 import ch4_analytical
from .halogen_generic import halogen_analytical
| 28.8 | 47 | 0.854167 | 20 | 144 | 5.95 | 0.5 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0.118056 | 144 | 4 | 48 | 36 | 0.905512 | 0.201389 | 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 |
4bbe3fcd4e61b2ed6247d2bc1b140f2682368d75 | 3,092 | py | Python | tests/auth_api/queries/test_queries_companyquery.py | Energinet-DataHub/po-auth | 009071018a390aeee29f2ab0da472b1338ea9f89 | [
"Apache-2.0"
] | 1 | 2022-02-21T11:19:41.000Z | 2022-02-21T11:19:41.000Z | tests/auth_api/queries/test_queries_companyquery.py | Energinet-DataHub/po-auth | 009071018a390aeee29f2ab0da472b1338ea9f89 | [
"Apache-2.0"
] | 40 | 2022-01-25T11:28:36.000Z | 2022-03-03T08:24:26.000Z | tests/auth_api/queries/test_queries_companyquery.py | Energinet-DataHub/po-auth | 009071018a390aeee29f2ab0da472b1338ea9f89 | [
"Apache-2.0"
] | 9 | 2021-11-29T14:25:01.000Z | 2022-03-16T10:57:55.000Z | import pytest
from auth_api.db import db
from auth_api.models import DbCompany
from auth_api.queries import CompanyQuery
from tests.auth_api.queries.query_base import (
COMPANY_LIST,
TestQueryBase,
)
class TestCompanyQueries(TestQueryBase):
"""Test user queries."""
@pytest.mark.parametrize('company'... | 30.019417 | 78 | 0.524256 | 291 | 3,092 | 5.254296 | 0.185567 | 0.102027 | 0.091563 | 0.068018 | 0.800523 | 0.773054 | 0.773054 | 0.773054 | 0.773054 | 0.608241 | 0 | 0 | 0.252911 | 3,092 | 102 | 79 | 30.313725 | 0.661905 | 0.347671 | 0 | 0.625 | 0 | 0 | 0.038627 | 0.024678 | 0 | 0 | 0 | 0 | 0.145833 | 1 | 0.083333 | false | 0 | 0.104167 | 0 | 0.208333 | 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 |
29a3f4c0a831cc3d5b9d0dd5b35b56e068b56291 | 11,529 | py | Python | telnyx-python/tests/api_resources/test_call.py | team-telnyx/telnyx-2fa | 6b8acb6703dc9458176c97d7fa6d1fd9c303bfbd | [
"MIT"
] | null | null | null | telnyx-python/tests/api_resources/test_call.py | team-telnyx/telnyx-2fa | 6b8acb6703dc9458176c97d7fa6d1fd9c303bfbd | [
"MIT"
] | 3 | 2020-03-24T18:09:34.000Z | 2021-02-02T22:37:30.000Z | telnyx-python/tests/api_resources/test_call.py | mgwilliams/telnyx-2fa | 49b794c05f42bc6d1c27f722e0d09da6654ad8d2 | [
"MIT"
] | 1 | 2020-01-24T17:39:37.000Z | 2020-01-24T17:39:37.000Z | from __future__ import absolute_import, division, print_function
import pytest
import telnyx
CALL_CONTROL_ID = "AgDIxmoRX6QMuaIj_uXRXnPAXP0QlNfXczRrZvZakpWxBlpw48KyZQ=="
def create_dial():
return telnyx.Call.create(
connection_id="1111111111222222223", to="+12223334444", from_="+12223330000"
)
cl... | 37.31068 | 86 | 0.664411 | 1,373 | 11,529 | 5.225055 | 0.057538 | 0.122665 | 0.144968 | 0.099387 | 0.949122 | 0.942292 | 0.936995 | 0.928352 | 0.885838 | 0.815863 | 0 | 0.012078 | 0.238789 | 11,529 | 308 | 87 | 37.431818 | 0.805378 | 0 | 0 | 0.605166 | 0 | 0 | 0.127158 | 0.085697 | 0 | 0 | 0 | 0 | 0.228782 | 1 | 0.118081 | false | 0 | 0.01107 | 0.00369 | 0.136531 | 0.00369 | 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 |
29c2e16add404371a3e5a4a7860aa0aacd065221 | 542 | py | Python | gym_autoencoder/heist/envs/__init__.py | neuroevolution-ai/ProcgenAutoencoder | 2dd0afd491701eff49be00774a7e63b56ff33fb9 | [
"MIT"
] | 1 | 2021-08-02T12:42:05.000Z | 2021-08-02T12:42:05.000Z | gym_autoencoder/heist/envs/__init__.py | neuroevolution-ai/ProcgenAutoencoder | 2dd0afd491701eff49be00774a7e63b56ff33fb9 | [
"MIT"
] | 1 | 2021-03-03T10:04:54.000Z | 2021-03-03T10:04:54.000Z | gym_autoencoder/heist/envs/__init__.py | neuroevolution-ai/ProcgenAutoencoder | 2dd0afd491701eff49be00774a7e63b56ff33fb9 | [
"MIT"
] | null | null | null | from gym_autoencoder.heist.envs.auto_basic_env import AutoencoderBasicEnv
from gym_autoencoder.heist.envs.auto_no_bottlneck_env import AutoencoderNoBottleneckEnv
from gym_autoencoder.heist.envs.auto_maxpool_big_env import AutoencoderMaxPoolBigEnv
from gym_autoencoder.heist.envs.auto_maxpool_env import AutoencoderMaxPoo... | 77.428571 | 87 | 0.911439 | 72 | 542 | 6.541667 | 0.333333 | 0.104034 | 0.267516 | 0.341826 | 0.4862 | 0.4862 | 0.161359 | 0 | 0 | 0 | 0 | 0 | 0.049816 | 542 | 7 | 88 | 77.428571 | 0.914563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b01c3b110543f733d9b658b6cdcf68d3dae8616 | 148 | py | Python | pipocoin/services/pipocoin_messages/__init__.py | bondiolipietro/pipocoin-python | e4abc019c2eb704d70899a2e441ee4be23aaeb4c | [
"MIT"
] | 1 | 2021-08-05T23:18:35.000Z | 2021-08-05T23:18:35.000Z | pipocoin/services/pipocoin_messages/__init__.py | bondiolipietro/pipocoin-twitter-bot-python | e4abc019c2eb704d70899a2e441ee4be23aaeb4c | [
"MIT"
] | null | null | null | pipocoin/services/pipocoin_messages/__init__.py | bondiolipietro/pipocoin-twitter-bot-python | e4abc019c2eb704d70899a2e441ee4be23aaeb4c | [
"MIT"
] | null | null | null | from . import default
from . import create
from . import delete
from . import transfer
from . import work
from . import stats
from . import balance
| 18.5 | 22 | 0.763514 | 21 | 148 | 5.380952 | 0.428571 | 0.619469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 148 | 7 | 23 | 21.142857 | 0.941667 | 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 |
4b1fd10c8c879451e0d57f9624af11c4e3bc77ad | 116 | py | Python | db/test.py | Jakubsamurai/pywdbms | 690d18bbc084962f55b573709c35b45cb78631e8 | [
"Apache-2.0"
] | null | null | null | db/test.py | Jakubsamurai/pywdbms | 690d18bbc084962f55b573709c35b45cb78631e8 | [
"Apache-2.0"
] | null | null | null | db/test.py | Jakubsamurai/pywdbms | 690d18bbc084962f55b573709c35b45cb78631e8 | [
"Apache-2.0"
] | null | null | null | from containers import Databases
from file import load_databases_from_file as load
load()
print(Databases.databases) | 29 | 49 | 0.862069 | 17 | 116 | 5.705882 | 0.470588 | 0.268041 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094828 | 116 | 4 | 50 | 29 | 0.92381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 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 |
d9b3d5cbaba640474e618632c3f9df7f2608033a | 7,347 | py | Python | WebServer/microservices/dispatcher/unittest/auth_token_test.py | AnneEjsing/TrafficDataAnonymisation | 6ee5b4a46d53a656299d6a53896175b78008228a | [
"MIT"
] | 1 | 2020-03-12T13:27:58.000Z | 2020-03-12T13:27:58.000Z | WebServer/microservices/dispatcher/unittest/auth_token_test.py | AnneEjsing/TrafficDataAnonymisation | 6ee5b4a46d53a656299d6a53896175b78008228a | [
"MIT"
] | 7 | 2020-04-02T12:47:45.000Z | 2022-03-02T07:35:49.000Z | WebServer/microservices/dispatcher/unittest/auth_token_test.py | AnneEjsing/Traffic-Data-Anonymisation-Web | 6ee5b4a46d53a656299d6a53896175b78008228a | [
"MIT"
] | null | null | null | import unittest2
import sys
import os
sys.path.append(os.getcwd() + '/..')
import auth_token
import datetime
import json
class AuthTokenTests(unittest2.TestCase):
@classmethod
def setUpClass(cls):
auth_token.secretKey = "test"
def test_is_not_expired_pass(self):
token = "eyJhbGciOiJIUzUxMi... | 57.850394 | 252 | 0.80999 | 505 | 7,347 | 11.49703 | 0.192079 | 0.031002 | 0.037203 | 0.060282 | 0.798829 | 0.782122 | 0.770754 | 0.770754 | 0.540992 | 0.436962 | 0 | 0.065723 | 0.134341 | 7,347 | 127 | 253 | 57.850394 | 0.84717 | 0.007486 | 0 | 0.504854 | 0 | 0 | 0.523052 | 0.511114 | 0 | 0 | 0 | 0 | 0.174757 | 1 | 0.184466 | false | 0.058252 | 0.058252 | 0 | 0.252427 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d9c4f054bae09ac38f7758c4a499d8e3b64bc7c4 | 47 | py | Python | markdown_it/extensions/anchors/__init__.py | wna-se/markdown-it-py | a7e3d3b436a00f3303aab03f81ba32de53a3ba71 | [
"MIT"
] | 32 | 2021-05-20T04:11:11.000Z | 2022-03-15T09:33:42.000Z | markdown_it/extensions/anchors/__init__.py | wna-se/markdown-it-py | a7e3d3b436a00f3303aab03f81ba32de53a3ba71 | [
"MIT"
] | 41 | 2020-12-14T18:58:51.000Z | 2022-03-02T14:19:43.000Z | markdown_it/extensions/anchors/__init__.py | wna-se/markdown-it-py | a7e3d3b436a00f3303aab03f81ba32de53a3ba71 | [
"MIT"
] | 12 | 2020-12-14T21:49:37.000Z | 2022-02-08T13:21:29.000Z | from .index import anchors_plugin # noqa F401
| 23.5 | 46 | 0.787234 | 7 | 47 | 5.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.170213 | 47 | 1 | 47 | 47 | 0.846154 | 0.191489 | 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 |
d9ca51718d1073e71a2dbca32d7c5af867e1ca88 | 526 | py | Python | cbvblog/cbvblog/settings/partials/auth.py | LeoHeo/django-rmrf-init | cfef624e33a856c1d68f250750521298ea6e5175 | [
"MIT"
] | null | null | null | cbvblog/cbvblog/settings/partials/auth.py | LeoHeo/django-rmrf-init | cfef624e33a856c1d68f250750521298ea6e5175 | [
"MIT"
] | null | null | null | cbvblog/cbvblog/settings/partials/auth.py | LeoHeo/django-rmrf-init | cfef624e33a856c1d68f250750521298ea6e5175 | [
"MIT"
] | null | null | null | # Password validation
# https://docs.djangoproject.com/en/1.9/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidato... | 29.222222 | 91 | 0.693916 | 45 | 526 | 7.977778 | 0.444444 | 0.200557 | 0.189415 | 0.233983 | 0.43454 | 0.43454 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.171103 | 526 | 17 | 92 | 30.941176 | 0.818807 | 0.180608 | 0 | 0 | 0 | 0 | 0.648712 | 0.611241 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d9e80f3e87d620312ba1bdf1abecf779ad9c086f | 23,943 | py | Python | tests/third_party/cupy/sorting_tests/test_search.py | Rubtsowa/dpnp | ef404c0f284b0c508ed1e556e140f02f76ae5551 | [
"BSD-2-Clause"
] | 37 | 2020-09-08T00:38:52.000Z | 2022-03-18T01:44:10.000Z | tests/third_party/cupy/sorting_tests/test_search.py | Rubtsowa/dpnp | ef404c0f284b0c508ed1e556e140f02f76ae5551 | [
"BSD-2-Clause"
] | 432 | 2020-09-07T09:48:41.000Z | 2022-03-25T17:50:55.000Z | tests/third_party/cupy/sorting_tests/test_search.py | Rubtsowa/dpnp | ef404c0f284b0c508ed1e556e140f02f76ae5551 | [
"BSD-2-Clause"
] | 17 | 2020-09-07T10:00:34.000Z | 2022-03-25T13:53:43.000Z | import unittest
import numpy
import pytest
import dpnp as cupy
from tests.third_party.cupy import testing
# from cupy.core import _accelerator
@testing.gpu
class TestSearch(unittest.TestCase):
@testing.for_all_dtypes(no_complex=True)
@testing.numpy_cupy_allclose()
def test_argmax_all(self, xp, dtype):
... | 34.649783 | 87 | 0.624191 | 3,348 | 23,943 | 4.275687 | 0.070789 | 0.044988 | 0.054488 | 0.079637 | 0.825079 | 0.821376 | 0.796717 | 0.767167 | 0.747887 | 0.7365 | 0 | 0.030388 | 0.226204 | 23,943 | 690 | 88 | 34.7 | 0.742268 | 0.13599 | 0 | 0.621118 | 0 | 0 | 0.020045 | 0 | 0 | 0 | 0 | 0.001449 | 0.004141 | 1 | 0.142857 | false | 0 | 0.010352 | 0 | 0.304348 | 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 |
d9fe4a65295ec799d12fe0854e265d530dd1ac0c | 440 | py | Python | python/anyascii/_data/_008.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_008.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_008.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b="' b g d h w z h. t. y k l m n s ` f s. q r sh t ` ` y y e e a a a a a a a a u u i i i o ; : .. <. <: ? . -< -. -: =: |: / . ... a b g d h u z h. t. i k l m n s. ` p s q r sh t d. kd. ` ' , n j n t n n bh r l l s b b c t vb gb zl mv y ny r w y dz ts k ... | 440 | 440 | 0.320455 | 119 | 440 | 1.184874 | 0.352941 | 0.099291 | 0.12766 | 0.141844 | 0.212766 | 0.056738 | 0.056738 | 0 | 0 | 0 | 0 | 0 | 0.577273 | 440 | 1 | 440 | 440 | 0.758065 | 0 | 0 | 0 | 0 | 1 | 0.988662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a274a3039fe41cd44288ed537663e2932960c89 | 44 | py | Python | models/__init__.py | ModelZoo/BostonHousing | 97e96a90cb07dcf9c1f8a2bc5985bd5b32bab473 | [
"MIT"
] | 191 | 2018-10-05T14:58:00.000Z | 2022-03-09T19:34:12.000Z | models/__init__.py | ModelZoo/BostonHousing | 97e96a90cb07dcf9c1f8a2bc5985bd5b32bab473 | [
"MIT"
] | 2 | 2019-06-29T08:44:48.000Z | 2019-11-16T20:05:26.000Z | models/__init__.py | ModelZoo/BostonHousing | 97e96a90cb07dcf9c1f8a2bc5985bd5b32bab473 | [
"MIT"
] | 20 | 2018-10-06T12:54:50.000Z | 2021-09-16T00:32:19.000Z | from .house import HousePricePredictionModel | 44 | 44 | 0.909091 | 4 | 44 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a53bf1aa6547dfbdb50fd54dc7dca7f5228d312 | 27,508 | py | Python | tests/test_act_quantized_ops.py | yachuan/actnn | e01575263c61723651e998a3b27918e0e1b687b7 | [
"MIT"
] | 162 | 2021-04-29T04:11:55.000Z | 2022-03-29T10:31:24.000Z | tests/test_act_quantized_ops.py | yachuan/actnn | e01575263c61723651e998a3b27918e0e1b687b7 | [
"MIT"
] | 27 | 2021-07-13T11:12:16.000Z | 2022-03-30T07:51:32.000Z | tests/test_act_quantized_ops.py | yachuan/actnn | e01575263c61723651e998a3b27918e0e1b687b7 | [
"MIT"
] | 18 | 2021-07-09T10:39:00.000Z | 2022-02-27T13:13:40.000Z | """Test the activation quantized ops"""
import math
import numpy as np
import torch
from torch.nn import functional as F
from timeit_v2 import py_benchmark
from actnn import QScheme, QBNScheme, config, get_memory_usage, compute_tensor_bytes
from actnn.ops import ext_backward_func, ext_quantization
from actnn.ops im... | 42.32 | 138 | 0.625491 | 3,566 | 27,508 | 4.588054 | 0.070387 | 0.056109 | 0.019559 | 0.026588 | 0.843958 | 0.821894 | 0.784426 | 0.764073 | 0.731496 | 0.711142 | 0 | 0.030196 | 0.237931 | 27,508 | 649 | 139 | 42.385208 | 0.750274 | 0.053185 | 0 | 0.571096 | 0 | 0 | 0.121275 | 0.018041 | 0 | 0 | 0 | 0 | 0.04662 | 1 | 0.081585 | false | 0.002331 | 0.018648 | 0 | 0.13986 | 0.123543 | 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 |
8a7ba4c19b8a0d426d6eb86c310e855394a70dba | 625 | py | Python | delta_array/scripts/example_movements.py | keenechin/robot-nonstationarity | 67f66c5ca3114c458be60066be0e98bec12887c6 | [
"Apache-2.0"
] | null | null | null | delta_array/scripts/example_movements.py | keenechin/robot-nonstationarity | 67f66c5ca3114c458be60066be0e98bec12887c6 | [
"Apache-2.0"
] | null | null | null | delta_array/scripts/example_movements.py | keenechin/robot-nonstationarity | 67f66c5ca3114c458be60066be0e98bec12887c6 | [
"Apache-2.0"
] | null | null | null | from DeltaArray import DeltaArray
import numpy as np
import time
da = DeltaArray('/dev/ttyACM0')
print(da.get_joint_positions())
da.reset()
da.wait_until_done_moving()
print(da.get_joint_positions())
for i in range(1,10):
p = np.ones((1,12)) * 0.01 * i
duration = [1.0]
da.move_joint_position(p,dur... | 20.833333 | 36 | 0.7104 | 104 | 625 | 4.019231 | 0.326923 | 0.083732 | 0.119617 | 0.179426 | 0.760766 | 0.760766 | 0.708134 | 0.708134 | 0.708134 | 0.708134 | 0 | 0.035448 | 0.1424 | 625 | 30 | 37 | 20.833333 | 0.744403 | 0 | 0 | 0.652174 | 0 | 0 | 0.020101 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.130435 | 0 | 0.130435 | 0.217391 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a92ca40a1f611828ba2d523be22511f72b04a54 | 44 | py | Python | tests/conftest.py | luszak/pytest_pyramid | ede2a490eed4afbe43719e661e79ae98c496d5b6 | [
"MIT"
] | null | null | null | tests/conftest.py | luszak/pytest_pyramid | ede2a490eed4afbe43719e661e79ae98c496d5b6 | [
"MIT"
] | null | null | null | tests/conftest.py | luszak/pytest_pyramid | ede2a490eed4afbe43719e661e79ae98c496d5b6 | [
"MIT"
] | null | null | null | from pytest_pyramid.plugin import * # noqa
| 22 | 43 | 0.772727 | 6 | 44 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 1 | 44 | 44 | 0.891892 | 0.090909 | 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 |
8aac0309898e077b3970f7c1d47f14869e263ee7 | 122 | py | Python | IST652_lab1_SUNKARA.py | Pammu6/IST652-Scripting-for-Data-Analysis | 78cf8851501466f0a74f926bae9734a725aeba1c | [
"CC0-1.0"
] | null | null | null | IST652_lab1_SUNKARA.py | Pammu6/IST652-Scripting-for-Data-Analysis | 78cf8851501466f0a74f926bae9734a725aeba1c | [
"CC0-1.0"
] | null | null | null | IST652_lab1_SUNKARA.py | Pammu6/IST652-Scripting-for-Data-Analysis | 78cf8851501466f0a74f926bae9734a725aeba1c | [
"CC0-1.0"
] | 1 | 2020-11-14T01:30:18.000Z | 2020-11-14T01:30:18.000Z | # -*- coding: utf-8 -*-
"""
Created on Mon Feb 4 17:37:16 2019
@author: KARTHEEK
"""
from pprint import pprint
| 13.555556 | 36 | 0.590164 | 18 | 122 | 4 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 0.254098 | 122 | 8 | 37 | 15.25 | 0.659341 | 0.631148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
8ab47caad2489296c113b52ff16422aa6c0393ee | 32,821 | py | Python | spyder_okvim/executor/tests/test_vline.py | ok97465/spyder_okvim | 6ba22c0013a2419a14f7950bd8931d6ee7e107e4 | [
"MIT"
] | 3 | 2021-03-13T13:01:03.000Z | 2021-12-05T05:19:55.000Z | spyder_okvim/executor/tests/test_vline.py | ok97465/spyder_okvim | 6ba22c0013a2419a14f7950bd8931d6ee7e107e4 | [
"MIT"
] | 18 | 2020-11-02T22:08:01.000Z | 2021-09-20T05:53:12.000Z | spyder_okvim/executor/tests/test_vline.py | ok97465/spyder_okvim | 6ba22c0013a2419a14f7950bd8931d6ee7e107e4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Tests for the executor_vline."""
# Third party imports
import pytest
from qtpy.QtCore import Qt
from spyder.config.manager import CONF
# Local imports
from spyder_okvim.spyder.config import CONF_SECTION
from spyder_okvim.utils.vim_status import VimState
@pytest.mark.parametrize(
"text,... | 33.085685 | 114 | 0.567716 | 4,762 | 32,821 | 3.669467 | 0.042209 | 0.046068 | 0.046584 | 0.052535 | 0.934817 | 0.924974 | 0.912842 | 0.903342 | 0.893613 | 0.888406 | 0 | 0.022068 | 0.224064 | 32,821 | 991 | 115 | 33.119072 | 0.664075 | 0.03123 | 0 | 0.58634 | 0 | 0 | 0.144358 | 0.001582 | 0 | 0 | 0 | 0 | 0.17268 | 1 | 0.04768 | false | 0 | 0.036082 | 0 | 0.083763 | 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 |
8ab9f14b63c1512623d4174984830a2a3e8c0592 | 6,203 | py | Python | tests/test_allow_none_vs_default.py | berland/configsuite | 9c1eaeed3610ffaa9e549a35dc2709da44633c75 | [
"MIT"
] | null | null | null | tests/test_allow_none_vs_default.py | berland/configsuite | 9c1eaeed3610ffaa9e549a35dc2709da44633c75 | [
"MIT"
] | null | null | null | tests/test_allow_none_vs_default.py | berland/configsuite | 9c1eaeed3610ffaa9e549a35dc2709da44633c75 | [
"MIT"
] | null | null | null | """Copyright 2019 Equinor ASA and The Netherlands Organisation for
Applied Scientific Research TNO.
Licensed under the MIT license.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restric... | 33.52973 | 85 | 0.555376 | 634 | 6,203 | 5.321767 | 0.200315 | 0.047718 | 0.052164 | 0.053349 | 0.75489 | 0.749259 | 0.745702 | 0.7377 | 0.729994 | 0.728512 | 0 | 0.008462 | 0.352249 | 6,203 | 184 | 86 | 33.711957 | 0.831259 | 0.119297 | 0 | 0.70922 | 0 | 0 | 0.042155 | 0 | 0 | 0 | 0 | 0 | 0.184397 | 1 | 0.056738 | false | 0 | 0.028369 | 0 | 0.092199 | 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 |
0a4b790740635a745b557ad1246e09a332f4bca0 | 42 | py | Python | authserver/__init__.py | brighthive/authserver | 848201324761269bc96b75ad9cb5242e2a6ee5a5 | [
"MIT"
] | 3 | 2019-07-31T16:10:26.000Z | 2021-05-14T20:06:07.000Z | authserver/__init__.py | brighthive/authserver | 848201324761269bc96b75ad9cb5242e2a6ee5a5 | [
"MIT"
] | 25 | 2019-08-20T20:19:59.000Z | 2021-05-14T19:06:41.000Z | authserver/__init__.py | brighthive/authserver | 848201324761269bc96b75ad9cb5242e2a6ee5a5 | [
"MIT"
] | 1 | 2020-04-29T18:18:21.000Z | 2020-04-29T18:18:21.000Z | from authserver.app.app import create_app
| 21 | 41 | 0.857143 | 7 | 42 | 5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.921053 | 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 |
0a66a7b680d1ab194e196f03b529f197aaf33683 | 127 | py | Python | backend/tasks/admin.py | mnieber/taskboard | 7925342751e2782bd0a0258eb2d43d9ec90ce9d8 | [
"MIT"
] | null | null | null | backend/tasks/admin.py | mnieber/taskboard | 7925342751e2782bd0a0258eb2d43d9ec90ce9d8 | [
"MIT"
] | null | null | null | backend/tasks/admin.py | mnieber/taskboard | 7925342751e2782bd0a0258eb2d43d9ec90ce9d8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Task
@admin.register(Task)
class TaskAdmin(admin.ModelAdmin):
pass
| 14.111111 | 34 | 0.771654 | 17 | 127 | 5.764706 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149606 | 127 | 8 | 35 | 15.875 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6a5f23092e7bc29cfdaebc3d22e6089cf4da86de | 14,887 | py | Python | 03/batch_myotis_melt_runs.py | npaulat/teava | ba0a02b2ce85a7d082e5c8a6bf7b90e98ef3418d | [
"MIT"
] | 1 | 2021-11-14T15:26:32.000Z | 2021-11-14T15:26:32.000Z | 03/batch_myotis_melt_runs.py | npaulat/teava | ba0a02b2ce85a7d082e5c8a6bf7b90e98ef3418d | [
"MIT"
] | null | null | null | 03/batch_myotis_melt_runs.py | npaulat/teava | ba0a02b2ce85a7d082e5c8a6bf7b90e98ef3418d | [
"MIT"
] | 1 | 2021-03-04T19:22:35.000Z | 2021-03-04T19:22:35.000Z | import sys
import os
import argparse
import itertools
import subprocess
import fnmatch
from Bio import SeqIO
def get_args():
parser = argparse.ArgumentParser(description="Batch script generator for MELT runs given a specific max MEI mutation rate", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_a... | 50.636054 | 358 | 0.647142 | 2,383 | 14,887 | 3.951742 | 0.111204 | 0.059892 | 0.068387 | 0.023787 | 0.821387 | 0.80068 | 0.80068 | 0.783795 | 0.767017 | 0.760858 | 0 | 0.015671 | 0.151273 | 14,887 | 293 | 359 | 50.808874 | 0.72964 | 0.106872 | 0 | 0.697581 | 0 | 0.072581 | 0.531012 | 0.100761 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004032 | false | 0 | 0.028226 | 0 | 0.03629 | 0.064516 | 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 |
6ab976a3fc3df0bdc5f6d3b543af5c949ab3e3d4 | 46 | py | Python | statsmodels/tools/sm_exceptions.py | escheffel/statsmodels | bc70147c4c7ea00b6ac7256bbaf107902983c189 | [
"BSD-3-Clause"
] | 2 | 2017-01-05T22:44:37.000Z | 2018-04-26T08:34:00.000Z | statsmodels/tools/sm_exceptions.py | langmore/statsmodels | a29d0418436a9b38b11101f7741ce6cb35b9e2cd | [
"BSD-3-Clause"
] | null | null | null | statsmodels/tools/sm_exceptions.py | langmore/statsmodels | a29d0418436a9b38b11101f7741ce6cb35b9e2cd | [
"BSD-3-Clause"
] | null | null | null | class PerfectSeparationError(Exception): pass
| 23 | 45 | 0.869565 | 4 | 46 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
6ac4a18fd1870b5f6f285df0d7338d2776ae72e9 | 6,307 | py | Python | tests/unit/opera/parser/tosca/v_1_3/test_condition_clause_definition.py | Legion2/xopera-opera | 808f23cbac326b6d067e6ec531a0109ae02d0f5e | [
"Apache-2.0"
] | null | null | null | tests/unit/opera/parser/tosca/v_1_3/test_condition_clause_definition.py | Legion2/xopera-opera | 808f23cbac326b6d067e6ec531a0109ae02d0f5e | [
"Apache-2.0"
] | null | null | null | tests/unit/opera/parser/tosca/v_1_3/test_condition_clause_definition.py | Legion2/xopera-opera | 808f23cbac326b6d067e6ec531a0109ae02d0f5e | [
"Apache-2.0"
] | null | null | null | import pytest
from opera.error import ParseError
from opera.parser.tosca.v_1_3.condition_clause_definition import ConditionClauseDefinition
class TestParseValidate:
def test_valid_clause_direct_assertion(self, yaml_ast):
test_yaml = yaml_ast(
"""
my_attribute: [ { equal: 42 } ]
... | 33.547872 | 90 | 0.496591 | 520 | 6,307 | 5.692308 | 0.165385 | 0.097297 | 0.044595 | 0.060811 | 0.86723 | 0.86723 | 0.851014 | 0.84223 | 0.797973 | 0.742905 | 0 | 0.024555 | 0.412399 | 6,307 | 187 | 91 | 33.727273 | 0.77415 | 0 | 0 | 0.58209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 1 | 0.179104 | false | 0 | 0.044776 | 0 | 0.238806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6aea2600898e5e8bea2f01a5238341cb403eb863 | 151 | py | Python | src/models/target_channel.py | ighanim/aws-cost-anomaly-alerts | ad6d601c7dbdfbdf22f174ea16e76c7ef268edda | [
"MIT"
] | null | null | null | src/models/target_channel.py | ighanim/aws-cost-anomaly-alerts | ad6d601c7dbdfbdf22f174ea16e76c7ef268edda | [
"MIT"
] | null | null | null | src/models/target_channel.py | ighanim/aws-cost-anomaly-alerts | ad6d601c7dbdfbdf22f174ea16e76c7ef268edda | [
"MIT"
] | null | null | null | class TargetChannel:
def __init__(self, channel_type, channel_url):
self.channel_type = channel_type
self.channel_url = channel_url | 37.75 | 50 | 0.728477 | 19 | 151 | 5.263158 | 0.421053 | 0.33 | 0.3 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205298 | 151 | 4 | 51 | 37.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a80b76067fdc83ba784e96469c96805116b571d | 24 | py | Python | test/smoke_test.py | 1adrianb/binary-networks-pytorch | 51bdeee64d3da6306aebe4f2464eebd778bf7a38 | [
"BSD-3-Clause"
] | 63 | 2021-04-26T20:58:47.000Z | 2022-03-31T09:42:53.000Z | test/smoke_test.py | 1adrianb/binary-networks-pytorch | 51bdeee64d3da6306aebe4f2464eebd778bf7a38 | [
"BSD-3-Clause"
] | 4 | 2021-04-27T15:48:33.000Z | 2021-07-23T07:41:28.000Z | test/smoke_test.py | 1adrianb/binary-networks-pytorch | 51bdeee64d3da6306aebe4f2464eebd778bf7a38 | [
"BSD-3-Clause"
] | 6 | 2021-08-03T06:22:43.000Z | 2022-03-16T03:21:43.000Z | import torch
import bnn
| 8 | 12 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 2 | 13 | 12 | 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 |
0aae0ff8c69c1c0bd1f2dce22fbde882f56ba1a9 | 39,921 | py | Python | tests/api/v3_0_0/test_certificates.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 36 | 2021-05-18T16:24:19.000Z | 2022-03-05T13:44:41.000Z | tests/api/v3_0_0/test_certificates.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 15 | 2021-06-08T19:03:37.000Z | 2022-02-25T14:47:33.000Z | tests/api/v3_0_0/test_certificates.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 6 | 2021-06-10T09:32:01.000Z | 2022-01-12T08:34:39.000Z | # -*- coding: utf-8 -*-
"""IdentityServicesEngineAPI certificates API fixtures and tests.
Copyright (c) 2021 Cisco and/or its affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without r... | 29.224744 | 109 | 0.688234 | 4,571 | 39,921 | 5.679282 | 0.063881 | 0.036402 | 0.048074 | 0.032357 | 0.874268 | 0.847958 | 0.842373 | 0.834091 | 0.811402 | 0.789792 | 0 | 0.014894 | 0.236417 | 39,921 | 1,365 | 110 | 29.246154 | 0.836729 | 0.029007 | 0 | 0.692308 | 0 | 0 | 0.055966 | 0.019971 | 0 | 0 | 0 | 0 | 0.106101 | 1 | 0.092838 | false | 0.003537 | 0.023873 | 0 | 0.190981 | 0.018568 | 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 |
0ae7fedf7a02f29abb1ce8bbb6b4cb7e596893fc | 73,210 | py | Python | txdav/caldav/datastore/test/test_attachments.py | eventable/CalendarServer | 384444edb1966b530bc391789afbe3fb9cd6fd3e | [
"Apache-2.0"
] | 1 | 2017-02-18T19:22:19.000Z | 2017-02-18T19:22:19.000Z | txdav/caldav/datastore/test/test_attachments.py | eventable/CalendarServer | 384444edb1966b530bc391789afbe3fb9cd6fd3e | [
"Apache-2.0"
] | null | null | null | txdav/caldav/datastore/test/test_attachments.py | eventable/CalendarServer | 384444edb1966b530bc391789afbe3fb9cd6fd3e | [
"Apache-2.0"
] | null | null | null | ##
# Copyright (c) 2013-2015 Apple Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 36.314484 | 154 | 0.646373 | 7,522 | 73,210 | 6.236772 | 0.098245 | 0.042973 | 0.036834 | 0.034319 | 0.788609 | 0.773879 | 0.75154 | 0.730778 | 0.714578 | 0.701213 | 0 | 0.027319 | 0.2405 | 73,210 | 2,015 | 155 | 36.332506 | 0.816395 | 0.150622 | 0 | 0.731634 | 0 | 0.002249 | 0.167184 | 0.040932 | 0 | 0 | 0 | 0 | 0.108696 | 1 | 0.05997 | false | 0 | 0.014243 | 0 | 0.091454 | 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 |
7c26fa2e1fa0e1fbd8a55f37a170be00ed19f014 | 26 | py | Python | ar/webcam/__init__.py | ceroytres/feeder | 5fd13320e16962a9ac58f7126a5ddc6635c8b4f0 | [
"MIT"
] | null | null | null | ar/webcam/__init__.py | ceroytres/feeder | 5fd13320e16962a9ac58f7126a5ddc6635c8b4f0 | [
"MIT"
] | null | null | null | ar/webcam/__init__.py | ceroytres/feeder | 5fd13320e16962a9ac58f7126a5ddc6635c8b4f0 | [
"MIT"
] | null | null | null | from .webcam import Webcam | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c4a268519c947a0ddcd6a0e6d277ce7b0df1326 | 41 | py | Python | rdfpandas/__init__.py | cadmiumkitty/rdfpandas | 614457f20d60ec5f8046f4f3963f6406e05c5a37 | [
"MIT"
] | 21 | 2018-06-20T21:54:03.000Z | 2022-03-04T09:19:55.000Z | rdfpandas/__init__.py | cadmiumkitty/rdfpandas | 614457f20d60ec5f8046f4f3963f6406e05c5a37 | [
"MIT"
] | 8 | 2018-11-05T10:01:17.000Z | 2021-12-17T09:59:25.000Z | rdfpandas/__init__.py | cadmiumkitty/rdfpandas | 614457f20d60ec5f8046f4f3963f6406e05c5a37 | [
"MIT"
] | 4 | 2021-05-25T05:31:11.000Z | 2021-12-14T11:08:25.000Z | from .graph import to_graph, to_dataframe | 41 | 41 | 0.853659 | 7 | 41 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c5356201511207f649b717a9745622e36d5b54f | 112 | py | Python | tinacg/tinacg/views.py | reddress/vertfolia | 57b93086b410ea5a8d5cbfe5231e4d2213171b61 | [
"MIT"
] | null | null | null | tinacg/tinacg/views.py | reddress/vertfolia | 57b93086b410ea5a8d5cbfe5231e4d2213171b61 | [
"MIT"
] | null | null | null | tinacg/tinacg/views.py | reddress/vertfolia | 57b93086b410ea5a8d5cbfe5231e4d2213171b61 | [
"MIT"
] | null | null | null | from django.http import HttpResponse
def index(request):
return HttpResponse("Welcome to tinacg.com")
| 18.666667 | 48 | 0.741071 | 14 | 112 | 5.928571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 112 | 5 | 49 | 22.4 | 0.902174 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 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 |
7cb2c945a02379c93caf2c1657ae1a001dd7f037 | 45 | py | Python | src/models/__init__.py | ethan-ou/speech-edit | d35b58f36c2f24423cf62013d54149da93deb245 | [
"MIT"
] | 2 | 2021-04-15T15:47:33.000Z | 2021-09-07T23:15:34.000Z | src/models/__init__.py | ethan-ou/speech-edit | d35b58f36c2f24423cf62013d54149da93deb245 | [
"MIT"
] | null | null | null | src/models/__init__.py | ethan-ou/speech-edit | d35b58f36c2f24423cf62013d54149da93deb245 | [
"MIT"
] | 1 | 2020-09-28T01:48:09.000Z | 2020-09-28T01:48:09.000Z | from .speech_detection import SpeechDetection | 45 | 45 | 0.911111 | 5 | 45 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 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 |
7cf1ccb55c7bfea206ccb8d483d2795341634f1f | 92 | py | Python | criticalityMaps/criticality/__init__.py | terrahaxton/criticalityMaps | 533490e1bc0f178cbce94814602caa545e438dcf | [
"MIT"
] | null | null | null | criticalityMaps/criticality/__init__.py | terrahaxton/criticalityMaps | 533490e1bc0f178cbce94814602caa545e438dcf | [
"MIT"
] | null | null | null | criticalityMaps/criticality/__init__.py | terrahaxton/criticalityMaps | 533490e1bc0f178cbce94814602caa545e438dcf | [
"MIT"
] | 1 | 2020-03-12T12:36:06.000Z | 2020-03-12T12:36:06.000Z | from .core import fire_criticality_analysis, pipe_criticality_analysis, process_criticality
| 46 | 91 | 0.902174 | 11 | 92 | 7.090909 | 0.727273 | 0.487179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 92 | 1 | 92 | 92 | 0.906977 | 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 |
7cf8647f8250aa11c3a4d8e690d8f89e7a419f52 | 61 | py | Python | pyaiutils/__init__.py | GuilhermeCunha/pyaiutils | 0d465946cef7f748ccf35fb3a0b255dbab8d2bf7 | [
"Apache-2.0"
] | 1 | 2021-01-11T18:44:02.000Z | 2021-01-11T18:44:02.000Z | pyaiutils/__init__.py | GuilhermeCunha/pyaiutils | 0d465946cef7f748ccf35fb3a0b255dbab8d2bf7 | [
"Apache-2.0"
] | null | null | null | pyaiutils/__init__.py | GuilhermeCunha/pyaiutils | 0d465946cef7f748ccf35fb3a0b255dbab8d2bf7 | [
"Apache-2.0"
] | null | null | null | from . import metrics
from . import plots
from . import utils | 20.333333 | 21 | 0.770492 | 9 | 61 | 5.222222 | 0.555556 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 61 | 3 | 22 | 20.333333 | 0.94 | 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 |
7cfa3328d212b6424a2984e53870e04d5aba07d6 | 389,560 | py | Python | test/augmenters/test_geometric.py | fchouteau/imgaug | b282b97c13a27a32f91c2e2666db1e128e00cfde | [
"MIT"
] | 1 | 2020-02-26T01:05:12.000Z | 2020-02-26T01:05:12.000Z | test/augmenters/test_geometric.py | youbin2014/imgaug | b282b97c13a27a32f91c2e2666db1e128e00cfde | [
"MIT"
] | null | null | null | test/augmenters/test_geometric.py | youbin2014/imgaug | b282b97c13a27a32f91c2e2666db1e128e00cfde | [
"MIT"
] | null | null | null | from __future__ import print_function, division, absolute_import
import itertools
import warnings
import sys
# unittest only added in 3.4 self.subTest()
if sys.version_info[0] < 3 or sys.version_info[1] < 4:
import unittest2 as unittest
else:
import unittest
# unittest.mock is not available in 2.7 (though unit... | 38.528335 | 81 | 0.558987 | 51,756 | 389,560 | 4.000927 | 0.019321 | 0.01981 | 0.008693 | 0.005587 | 0.872967 | 0.831358 | 0.788571 | 0.749478 | 0.715703 | 0.684177 | 0 | 0.065048 | 0.316223 | 389,560 | 10,110 | 82 | 38.532146 | 0.712331 | 0.049145 | 0 | 0.66037 | 0 | 0 | 0.014533 | 0.001501 | 0 | 0 | 0 | 0.000297 | 0.194721 | 1 | 0.096131 | false | 0.000259 | 0.002976 | 0.006599 | 0.120714 | 0.000129 | 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 |
6b1a025f4739f3c9092028dcd801bf40f016fe26 | 146 | py | Python | auladjango/vdjango/meusite/views.py | lel352/Curso-Python | d65484c807db52d57042eee20ccbd3131825fa98 | [
"MIT"
] | 1 | 2021-09-04T14:34:34.000Z | 2021-09-04T14:34:34.000Z | auladjango/vdjango/meusite/views.py | lel352/Curso-Python | d65484c807db52d57042eee20ccbd3131825fa98 | [
"MIT"
] | null | null | null | auladjango/vdjango/meusite/views.py | lel352/Curso-Python | d65484c807db52d57042eee20ccbd3131825fa98 | [
"MIT"
] | null | null | null | # uma forma de criar uma home em usar app
from django.shortcuts import render
def index(request):
return render(request, 'home/index.html')
| 20.857143 | 45 | 0.746575 | 23 | 146 | 4.73913 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171233 | 146 | 6 | 46 | 24.333333 | 0.900826 | 0.267123 | 0 | 0 | 0 | 0 | 0.144231 | 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 |
6b20ab3d5c88981c654482cf3bd5c6b6d04ba358 | 7,850 | py | Python | test5_10.py | MASQA/seleniumtrainingPython | 8ee0f168ce8be3820e87b43b5e87666bde8d74c4 | [
"Apache-2.0"
] | null | null | null | test5_10.py | MASQA/seleniumtrainingPython | 8ee0f168ce8be3820e87b43b5e87666bde8d74c4 | [
"Apache-2.0"
] | null | null | null | test5_10.py | MASQA/seleniumtrainingPython | 8ee0f168ce8be3820e87b43b5e87666bde8d74c4 | [
"Apache-2.0"
] | null | null | null | import pytest
import re
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
@pytest.fixture
def driver():
wd = webdriver.Chrome()
wd.quit
return wd
test_data_... | 35.844749 | 117 | 0.723185 | 1,081 | 7,850 | 4.969473 | 0.111008 | 0.045048 | 0.053239 | 0.065525 | 0.851266 | 0.827811 | 0.817014 | 0.774758 | 0.728779 | 0.660276 | 0 | 0.002735 | 0.161656 | 7,850 | 218 | 118 | 36.009174 | 0.813554 | 0.192866 | 0 | 0.603774 | 0 | 0 | 0.221249 | 0.022141 | 0 | 0 | 0 | 0 | 0.103774 | 1 | 0.113208 | false | 0 | 0.056604 | 0 | 0.179245 | 0.113208 | 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 |
6b44d4d760bca1d5eed67c20a98a4ae53f9aa7a4 | 61,209 | py | Python | autotest/pst_from_tests.py | scalet98/pyemu | c0314c8a705d5523ba7cd66dbf452ab2990c0e4d | [
"BSD-3-Clause"
] | 1 | 2020-09-18T12:09:55.000Z | 2020-09-18T12:09:55.000Z | autotest/pst_from_tests.py | scalet98/pyemu | c0314c8a705d5523ba7cd66dbf452ab2990c0e4d | [
"BSD-3-Clause"
] | null | null | null | autotest/pst_from_tests.py | scalet98/pyemu | c0314c8a705d5523ba7cd66dbf452ab2990c0e4d | [
"BSD-3-Clause"
] | null | null | null | import os
import sys
import platform
# sys.path.append(os.path.join("..","pyemu"))
import pyemu
from pyemu import os_utils
from pyemu.utils import PstFrom
import shutil
ext = ''
bin_path = os.path.join("..", "..", "bin")
if "linux" in platform.platform().lower():
bin_path = os.path.join(bin_path, "linux")
elif "d... | 45.678358 | 129 | 0.60362 | 9,012 | 61,209 | 3.868953 | 0.067466 | 0.015832 | 0.022084 | 0.039235 | 0.835661 | 0.814811 | 0.800155 | 0.780595 | 0.750767 | 0.741704 | 0 | 0.026311 | 0.253639 | 61,209 | 1,339 | 130 | 45.712472 | 0.73691 | 0.126599 | 0 | 0.658659 | 0 | 0.001001 | 0.128668 | 0.027806 | 0 | 0 | 0 | 0.000747 | 0.031031 | 1 | 0.008008 | false | 0 | 0.035035 | 0 | 0.05005 | 0.041041 | 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 |
6b4bffe29a8cf45c7795e6468753c5ef35349b28 | 16,486 | py | Python | xnas/search_space/DrNAS/DARTSspace/cnn.py | MAC-AutoML/XNAS | 2c54ceb09b255cbcabd67f3c39fc777c4b2403f4 | [
"MIT"
] | 9 | 2021-04-21T08:14:03.000Z | 2021-11-26T11:52:40.000Z | xnas/search_space/DrNAS/DARTSspace/cnn.py | MAC-AutoML/XNAS | 2c54ceb09b255cbcabd67f3c39fc777c4b2403f4 | [
"MIT"
] | null | null | null | xnas/search_space/DrNAS/DARTSspace/cnn.py | MAC-AutoML/XNAS | 2c54ceb09b255cbcabd67f3c39fc777c4b2403f4 | [
"MIT"
] | 6 | 2021-05-19T02:36:43.000Z | 2021-12-03T07:21:37.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
from torch.distributions.dirichlet import Dirichlet
from torch.distributions.kl import kl_divergence
from xnas.search_space.DARTS.genos import PRIMITIVES, Genotype
from xnas.search_space.DrNAS.DARTSspace.ops import *... | 32.710317 | 138 | 0.524627 | 1,919 | 16,486 | 4.301199 | 0.09901 | 0.043615 | 0.034892 | 0.030531 | 0.799976 | 0.782409 | 0.769566 | 0.753332 | 0.734189 | 0.734189 | 0 | 0.014438 | 0.369829 | 16,486 | 503 | 139 | 32.775348 | 0.780056 | 0.03876 | 0 | 0.703872 | 0 | 0 | 0.021158 | 0 | 0 | 0 | 0 | 0 | 0.009112 | 1 | 0.061503 | false | 0 | 0.022779 | 0.004556 | 0.127563 | 0.002278 | 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 |
863b896f49fe82c4076fc5275ae3e7433a8e8d29 | 88 | py | Python | Pattern/3_pattern.py | manish1822510059/Python-1000-program | d03c1920fe63a7e32ac5bd9a13e2766d7a25756c | [
"Apache-2.0"
] | 1 | 2021-03-06T03:33:42.000Z | 2021-03-06T03:33:42.000Z | Pattern/3_pattern.py | manish1822510059/Python-1000-programs | d03c1920fe63a7e32ac5bd9a13e2766d7a25756c | [
"Apache-2.0"
] | null | null | null | Pattern/3_pattern.py | manish1822510059/Python-1000-programs | d03c1920fe63a7e32ac5bd9a13e2766d7a25756c | [
"Apache-2.0"
] | null | null | null | for x in range(1,6):
for y in range(1,6):
print(y,end="")
print() | 22 | 25 | 0.454545 | 16 | 88 | 2.5 | 0.5625 | 0.35 | 0.4 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.363636 | 88 | 4 | 26 | 22 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 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 |
868be53896eb429a3f08e06629aa1b9117b71fa1 | 36 | py | Python | src/data/__init__.py | gokhankesler/python-ds-unit-testing | 9443a90361adde41d0f5703aacdce670a36fec16 | [
"MIT"
] | null | null | null | src/data/__init__.py | gokhankesler/python-ds-unit-testing | 9443a90361adde41d0f5703aacdce670a36fec16 | [
"MIT"
] | 5 | 2021-07-12T16:34:28.000Z | 2022-03-12T00:59:38.000Z | packages/impyrial/src/data/__init__.py | kwhjvdkamp/PythonTutotial | cbe52c83b0ff2b30f746977f698186dad055b1f4 | [
"MIT"
] | null | null | null | from .preprocessing_helpers import * | 36 | 36 | 0.861111 | 4 | 36 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 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 |
869c0a95a29c40971051013dc75e4a01192b4db8 | 104,709 | py | Python | lib/python27/Lib/site-packages/wx-2.8-msw-ansi/wx/tools/Editra/src/extern/aui/tabart.py | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 27 | 2020-11-12T19:24:54.000Z | 2022-03-27T23:10:45.000Z | lib/python27/Lib/site-packages/wx-2.8-msw-ansi/wx/tools/Editra/src/extern/aui/tabart.py | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 2 | 2020-11-02T06:30:39.000Z | 2022-02-23T18:39:55.000Z | lib/python27/Lib/site-packages/wx-2.8-msw-ansi/wx/tools/Editra/src/extern/aui/tabart.py | bo3b/iZ3D | ced8b3a4b0a152d0177f2e94008918efc76935d5 | [
"MIT"
] | 3 | 2021-08-16T00:21:08.000Z | 2022-02-23T19:19:36.000Z | """
Tab art provider code - a tab provider provides all drawing functionality to
the L{AuiNotebook}. This allows the L{AuiNotebook} to have a plugable look-and-feel.
By default, a L{AuiNotebook} uses an instance of this class called L{AuiDefaultTabArt}
which provides bitmap art and a colour scheme that is adapted to t... | 38.284826 | 229 | 0.586855 | 12,829 | 104,709 | 4.560683 | 0.059241 | 0.030081 | 0.015775 | 0.013588 | 0.806902 | 0.790169 | 0.767523 | 0.747885 | 0.722179 | 0.71001 | 0 | 0.012789 | 0.324203 | 104,709 | 2,734 | 230 | 38.29883 | 0.814053 | 0.256052 | 0 | 0.696842 | 0 | 0 | 0.001801 | 0.000336 | 0 | 0 | 0 | 0.001097 | 0 | 1 | 0.044912 | false | 0 | 0.004211 | 0 | 0.082807 | 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 |
86be56f897f1e7c214e501c14635a5d21cba6f61 | 38 | py | Python | hubic/__init__.py | lduchesne/python-openstacksdk-hubic | 25e752f847613bb7e068c05e094a8abadaa7925a | [
"Apache-2.0"
] | 1 | 2016-01-02T00:39:45.000Z | 2016-01-02T00:39:45.000Z | hubic/__init__.py | lduchesne/python-openstacksdk-hubic | 25e752f847613bb7e068c05e094a8abadaa7925a | [
"Apache-2.0"
] | null | null | null | hubic/__init__.py | lduchesne/python-openstacksdk-hubic | 25e752f847613bb7e068c05e094a8abadaa7925a | [
"Apache-2.0"
] | null | null | null | from .hubic import HubiCAuthenticator
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 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 |
812bcd7f11391cee4cc58a41251065439a3a050c | 2,359 | py | Python | rgd/geodata/tests/test_filters.py | venkatabhishek/ResonantGeoData | 4e946e25c194874c22f4ba2ab49d6f0cf803e673 | [
"Apache-2.0"
] | null | null | null | rgd/geodata/tests/test_filters.py | venkatabhishek/ResonantGeoData | 4e946e25c194874c22f4ba2ab49d6f0cf803e673 | [
"Apache-2.0"
] | null | null | null | rgd/geodata/tests/test_filters.py | venkatabhishek/ResonantGeoData | 4e946e25c194874c22f4ba2ab49d6f0cf803e673 | [
"Apache-2.0"
] | null | null | null | import pytest
from rgd.geodata import models
from rgd.geodata.filters import RasterMetaEntryFilter, SpatialEntryFilter
@pytest.mark.django_db(transaction=True)
def test_q_distance(sample_raster_a, sample_raster_b):
assert models.SpatialEntry.objects.count() == 2
# Make sure all are returned sorted by distanc... | 32.763889 | 73 | 0.684612 | 287 | 2,359 | 5.414634 | 0.216028 | 0.11583 | 0.066924 | 0.070785 | 0.812098 | 0.812098 | 0.811454 | 0.781853 | 0.756113 | 0.688546 | 0 | 0.012189 | 0.200085 | 2,359 | 71 | 74 | 33.225352 | 0.811341 | 0.033489 | 0 | 0.633333 | 0 | 0 | 0.090031 | 0.065876 | 0 | 0 | 0 | 0 | 0.283333 | 1 | 0.066667 | false | 0 | 0.05 | 0 | 0.116667 | 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 |
812d90739045fef450ebc3f7364c47bcb7fb3100 | 190 | py | Python | blog/app/admin.py | shazlycode/testsite-blog | ba1373aecb9a9e8e1d14520663c848e6e9c85f31 | [
"bzip2-1.0.6"
] | 1 | 2019-09-24T14:05:13.000Z | 2019-09-24T14:05:13.000Z | blog/app/admin.py | shazlycode/testsite-blog | ba1373aecb9a9e8e1d14520663c848e6e9c85f31 | [
"bzip2-1.0.6"
] | null | null | null | blog/app/admin.py | shazlycode/testsite-blog | ba1373aecb9a9e8e1d14520663c848e6e9c85f31 | [
"bzip2-1.0.6"
] | null | null | null | from django.contrib import admin
from app import models
# Register your models here.
admin.site.register(models.Post)
admin.site.register(models.Comment)
admin.site.register(models.Profile)
| 27.142857 | 35 | 0.821053 | 28 | 190 | 5.571429 | 0.5 | 0.173077 | 0.326923 | 0.442308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 190 | 6 | 36 | 31.666667 | 0.896552 | 0.136842 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
81382a72d938c3bc6d980116cded7afe4844c34a | 18,453 | py | Python | tests/test_datetime.py | ActivisionGameScience/assertpy | c0989de171bcf3e21dbad9415ff9d3b8f5fe78fc | [
"BSD-3-Clause"
] | 246 | 2015-01-14T01:40:03.000Z | 2021-08-03T02:50:50.000Z | tests/test_datetime.py | ActivisionGameScience/assertpy | c0989de171bcf3e21dbad9415ff9d3b8f5fe78fc | [
"BSD-3-Clause"
] | 98 | 2015-01-01T14:28:55.000Z | 2019-11-14T21:36:18.000Z | tests/test_datetime.py | ActivisionGameScience/assertpy | c0989de171bcf3e21dbad9415ff9d3b8f5fe78fc | [
"BSD-3-Clause"
] | 54 | 2015-01-14T01:42:10.000Z | 2019-11-18T10:04:42.000Z | # Copyright (c) 2015-2019, Activision Publishing, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of ... | 40.915743 | 195 | 0.680757 | 3,054 | 18,453 | 3.876555 | 0.063523 | 0.027705 | 0.033956 | 0.040544 | 0.892812 | 0.878706 | 0.862995 | 0.85193 | 0.811471 | 0.778782 | 0 | 0.036343 | 0.18138 | 18,453 | 450 | 196 | 41.006667 | 0.747385 | 0.081125 | 0 | 0.566197 | 0 | 0.053521 | 0.26087 | 0.017722 | 0 | 0 | 0 | 0 | 0.36338 | 1 | 0.180282 | false | 0 | 0.005634 | 0 | 0.185915 | 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 |
d4aa2b80a01c0ca116c021b6f4969479123fafe2 | 47,729 | py | Python | openprocurement/auctions/tessel/tests/blanks/tender_blanks.py | bdmbdsm/openprocurement.auctions.tessel | 840990e01c6ad3e4b49c80d5d3031575cef318e3 | [
"Apache-2.0"
] | null | null | null | openprocurement/auctions/tessel/tests/blanks/tender_blanks.py | bdmbdsm/openprocurement.auctions.tessel | 840990e01c6ad3e4b49c80d5d3031575cef318e3 | [
"Apache-2.0"
] | null | null | null | openprocurement/auctions/tessel/tests/blanks/tender_blanks.py | bdmbdsm/openprocurement.auctions.tessel | 840990e01c6ad3e4b49c80d5d3031575cef318e3 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from copy import deepcopy
from hashlib import sha512
from uuid import uuid4
from datetime import timedelta
from iso8601 import parse_date
import pytz
from openprocurement.auctions.core.tests.base import JSON_RENDERER_ERROR
from openprocurement.auctions.core.utils import (
SANDBOX_MODE, TZ, ... | 52.564978 | 205 | 0.66314 | 5,379 | 47,729 | 5.764826 | 0.065626 | 0.093844 | 0.134251 | 0.067916 | 0.846625 | 0.813474 | 0.788449 | 0.773034 | 0.750395 | 0.736754 | 0 | 0.012072 | 0.159987 | 47,729 | 907 | 206 | 52.622933 | 0.761355 | 0.136395 | 0 | 0.684615 | 0 | 0 | 0.265951 | 0.047243 | 0 | 0 | 0 | 0 | 0.313846 | 1 | 0.016923 | false | 0 | 0.013846 | 0 | 0.030769 | 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 |
d4c24c3f3a907177d3c449a69aebdecb18608d89 | 38 | py | Python | tests/magicbot_test.py | frc1418/2019-robot | 2eaaeaa7570d8cf77eb656aee88d093345bc4bba | [
"MIT"
] | 1 | 2018-12-16T12:50:20.000Z | 2018-12-16T12:50:20.000Z | tests/magicbot_test.py | frc1418/2018-robot | 7415c14c4e4a64432a07b77292fd6e332606103e | [
"MIT"
] | 4 | 2019-01-06T22:16:05.000Z | 2019-01-20T03:11:16.000Z | tests/magicbot_test.py | frc1418/2019-robot | 2eaaeaa7570d8cf77eb656aee88d093345bc4bba | [
"MIT"
] | 2 | 2018-12-04T20:34:40.000Z | 2020-01-21T20:27:38.000Z | from magicbot.magicbot_tests import *
| 19 | 37 | 0.842105 | 5 | 38 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4ce03236373c82d77689a2a5cb5896adc6c9a93 | 21,930 | py | Python | src/sage/modular/modform_hecketriangle/graded_ring.py | defeo/sage | d8822036a9843bd4d75845024072515ede56bcb9 | [
"BSL-1.0"
] | 2 | 2018-06-30T01:37:35.000Z | 2018-06-30T01:37:39.000Z | src/sage/modular/modform_hecketriangle/graded_ring.py | boothby/sage | 1b1e6f608d1ef8ee664bb19e991efbbc68cbd51f | [
"BSL-1.0"
] | null | null | null | src/sage/modular/modform_hecketriangle/graded_ring.py | boothby/sage | 1b1e6f608d1ef8ee664bb19e991efbbc68cbd51f | [
"BSL-1.0"
] | null | null | null | r"""
Graded rings of modular forms for Hecke triangle groups
AUTHORS:
- Jonas Jermann (2013): initial version
"""
from __future__ import absolute_import
#*****************************************************************************
# Copyright (C) 2013-2014 Jonas Jermann <jjermann2@gmail.com>
#
# Distributed... | 41.455577 | 144 | 0.648199 | 2,555 | 21,930 | 5.365166 | 0.068102 | 0.075285 | 0.029107 | 0.057193 | 0.817406 | 0.809819 | 0.806463 | 0.801649 | 0.792895 | 0.764882 | 0 | 0.005679 | 0.253215 | 21,930 | 528 | 145 | 41.534091 | 0.831349 | 0.580985 | 0 | 0.470588 | 0 | 0 | 0.007372 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.067227 | 0 | 0.352941 | 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 |
d4dbdd60a54934d592e65c4c76467cd41dcd6b5c | 8,327 | py | Python | backpack/extensions/secondorder/hbp/conv2d.py | rioyokotalab/backpack | 000a1dbe7b2d6e5b309151df800edf866b9b514c | [
"MIT"
] | null | null | null | backpack/extensions/secondorder/hbp/conv2d.py | rioyokotalab/backpack | 000a1dbe7b2d6e5b309151df800edf866b9b514c | [
"MIT"
] | null | null | null | backpack/extensions/secondorder/hbp/conv2d.py | rioyokotalab/backpack | 000a1dbe7b2d6e5b309151df800edf866b9b514c | [
"MIT"
] | null | null | null | from backpack.core.derivatives.conv2d import Conv2DDerivatives
from backpack.extensions.secondorder.hbp.hbp_options import (
BackpropStrategy,
ExpectationApproximation,
)
from backpack.extensions.secondorder.hbp.hbpbase import HBPBaseModule
from backpack.utils import conv as convUtils
from backpack.utils.ein im... | 36.682819 | 86 | 0.663985 | 1,005 | 8,327 | 5.150249 | 0.112438 | 0.095827 | 0.030139 | 0.022025 | 0.887558 | 0.845247 | 0.803323 | 0.781298 | 0.768161 | 0.750773 | 0 | 0.003012 | 0.242344 | 8,327 | 226 | 87 | 36.845133 | 0.817404 | 0.016453 | 0 | 0.69697 | 0 | 0 | 0.041672 | 0.017353 | 0 | 0 | 0 | 0.004425 | 0 | 1 | 0.169697 | false | 0 | 0.030303 | 0.024242 | 0.351515 | 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 |
be02130f18d29216cf4b1a931264005f4a51370c | 16,038 | py | Python | grs/smac.py | Tristanovsk/grs | ba5da28f6df0438e15404324c3488c799fb81212 | [
"MIT"
] | 4 | 2021-06-14T20:43:22.000Z | 2021-07-05T09:32:41.000Z | grs/smac.py | Tristanovsk/grs | ba5da28f6df0438e15404324c3488c799fb81212 | [
"MIT"
] | null | null | null | grs/smac.py | Tristanovsk/grs | ba5da28f6df0438e15404324c3488c799fb81212 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# -*- coding: iso-8859-1 -*-
'''Correction for gaseous absorption based on SMAC method (Rahman and Dedieu, 1994)
'''
from math import *
import numpy as np
# =============================================================================================
def PdeZ(Z):
"""
PdeZ : Atmospher... | 33.764211 | 119 | 0.454358 | 2,109 | 16,038 | 3.400664 | 0.135135 | 0.061489 | 0.027886 | 0.037089 | 0.744004 | 0.712214 | 0.701339 | 0.701339 | 0.701339 | 0.701339 | 0 | 0.081735 | 0.317247 | 16,038 | 474 | 120 | 33.835443 | 0.573242 | 0.232074 | 0 | 0.706587 | 0 | 0 | 0.003302 | 0.002642 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011976 | false | 0 | 0.005988 | 0 | 0.02994 | 0.002994 | 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 |
be03180ecc7afb7cb1c981fad68e1a717d440c30 | 535 | py | Python | opera/core/keypoint/__init__.py | hikvisionresearch/opera | 0fb345a7ad0046c6fd674959c0ae19a65adeeacf | [
"Apache-2.0"
] | 5 | 2022-03-24T03:08:49.000Z | 2022-03-30T02:29:38.000Z | opera/core/keypoint/__init__.py | hikvisionresearch/opera | 0fb345a7ad0046c6fd674959c0ae19a65adeeacf | [
"Apache-2.0"
] | null | null | null | opera/core/keypoint/__init__.py | hikvisionresearch/opera | 0fb345a7ad0046c6fd674959c0ae19a65adeeacf | [
"Apache-2.0"
] | null | null | null | # Copyright (c) Hikvision Research Institute. All rights reserved.
from .transforms import (distance2keypoint, transpose_and_gather_feat,
gaussian_radius, draw_umich_gaussian,
draw_short_range_offset, weighted_neg_loss,
bbox_kpt2result, kpt_mapp... | 44.583333 | 74 | 0.699065 | 56 | 535 | 6.107143 | 0.553571 | 0.152047 | 0.169591 | 0.204678 | 0.777778 | 0.777778 | 0.777778 | 0.777778 | 0.777778 | 0.777778 | 0 | 0.009639 | 0.224299 | 535 | 11 | 75 | 48.636364 | 0.814458 | 0.119626 | 0 | 0 | 0 | 0 | 0.313433 | 0.102345 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.