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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ab40be692f40c67b0053a6b2430bca85a59ddccb | 56 | py | Python | mancala/__init__.py | samjcus/mancala | 0662fffe23606ca851e64168383fddc84f0035f5 | [
"MIT"
] | null | null | null | mancala/__init__.py | samjcus/mancala | 0662fffe23606ca851e64168383fddc84f0035f5 | [
"MIT"
] | null | null | null | mancala/__init__.py | samjcus/mancala | 0662fffe23606ca851e64168383fddc84f0035f5 | [
"MIT"
] | null | null | null | from .mancala import *
from .version import __version__
| 18.666667 | 32 | 0.803571 | 7 | 56 | 5.857143 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 33 | 28 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ab51bd5caf2db8f10061e2e4650c63ab5a8c0946 | 339 | py | Python | weconnect/errors.py | tillsteinbach/WeConnect-python | 8e8eade47eab9479a65d714de5009c5be975a59f | [
"MIT"
] | 22 | 2021-08-06T21:01:11.000Z | 2022-03-21T14:54:25.000Z | weconnect/errors.py | tillsteinbach/WeConnect-python | 8e8eade47eab9479a65d714de5009c5be975a59f | [
"MIT"
] | 30 | 2021-06-20T21:11:26.000Z | 2022-03-22T21:11:04.000Z | weconnect/errors.py | tillsteinbach/WeConnect-python | 8e8eade47eab9479a65d714de5009c5be975a59f | [
"MIT"
] | 8 | 2021-08-06T21:01:29.000Z | 2022-02-02T21:32:14.000Z | class RetrievalError(Exception):
pass
class SetterError(Exception):
pass
class ControlError(SetterError):
pass
class AuthentificationError(Exception):
pass
class TemporaryAuthentificationError(AuthentificationError):
pass
class APICompatibilityError(Exception):
pass
class APIError(Ex... | 12.555556 | 60 | 0.758112 | 28 | 339 | 9.178571 | 0.357143 | 0.210117 | 0.280156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179941 | 339 | 26 | 61 | 13.038462 | 0.92446 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ab561d147a5defdffc68e6b847a3af139541c38c | 121 | py | Python | game_finder/admin.py | stuart-bradley/steam_lan_game_finder | 345cc02b64da7269887dcce7014ddb5d5b6194bd | [
"MIT"
] | 1 | 2018-01-09T11:44:54.000Z | 2018-01-09T11:44:54.000Z | game_finder/admin.py | stuart-bradley/steam_lan_game_finder | 345cc02b64da7269887dcce7014ddb5d5b6194bd | [
"MIT"
] | 1 | 2020-10-01T23:21:34.000Z | 2020-10-01T23:21:34.000Z | game_finder/admin.py | lutrasdebtra/steam_lan_game_finder | 345cc02b64da7269887dcce7014ddb5d5b6194bd | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Game, Tag
# Register your models here.
admin.site.register(Game)
| 15.125 | 32 | 0.77686 | 18 | 121 | 5.222222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14876 | 121 | 7 | 33 | 17.285714 | 0.912621 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ab629e06e669bd55bbabaf1150231b90810b6f39 | 13 | py | Python | Python/hehe.py | ItaloQoliveira/Terceiro-Semestre | 72ce154f7d72ac874416da9827d6f438e9500149 | [
"Apache-2.0"
] | null | null | null | Python/hehe.py | ItaloQoliveira/Terceiro-Semestre | 72ce154f7d72ac874416da9827d6f438e9500149 | [
"Apache-2.0"
] | null | null | null | Python/hehe.py | ItaloQoliveira/Terceiro-Semestre | 72ce154f7d72ac874416da9827d6f438e9500149 | [
"Apache-2.0"
] | null | null | null | print("hehe") | 13 | 13 | 0.692308 | 2 | 13 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 | 1 | 13 | 13 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
ab63808c92fc1ffdddba095081af41594e0abc81 | 113 | py | Python | tests/workflow.py | mullikine/chronology | 3c033d242955fa1df506157b3e26191ac8754c03 | [
"MIT"
] | 189 | 2020-12-30T21:34:44.000Z | 2022-03-31T20:22:52.000Z | tests/workflow.py | mullikine/chronology | 3c033d242955fa1df506157b3e26191ac8754c03 | [
"MIT"
] | 10 | 2021-01-10T23:03:17.000Z | 2021-12-22T04:27:52.000Z | tests/workflow.py | mullikine/chronology | 3c033d242955fa1df506157b3e26191ac8754c03 | [
"MIT"
] | 53 | 2021-01-28T16:02:55.000Z | 2022-03-13T21:00:25.000Z | import asyncio
# TODO import __init__ above
async def logic():
# TODO add tests
pass
# main(logic)
| 8.692308 | 28 | 0.654867 | 15 | 113 | 4.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274336 | 113 | 12 | 29 | 9.416667 | 0.853659 | 0.469027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
db70edd769a79b354c12f7a8267849419ec17d56 | 92 | py | Python | src/losses/__init__.py | johanattia/tensorflow-saint | 95bbfaf51c1f1be96a2884dc664b10e9dd183984 | [
"MIT"
] | 3 | 2022-03-30T20:07:55.000Z | 2022-03-30T21:40:14.000Z | src/losses/__init__.py | johanattia/tensorflow-saint | 95bbfaf51c1f1be96a2884dc664b10e9dd183984 | [
"MIT"
] | null | null | null | src/losses/__init__.py | johanattia/tensorflow-saint | 95bbfaf51c1f1be96a2884dc664b10e9dd183984 | [
"MIT"
] | null | null | null | from .barlow_twins import BarlowTwins
from .simclr import SimCLR
from .vicreg import VICReg
| 23 | 37 | 0.836957 | 13 | 92 | 5.846154 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 92 | 3 | 38 | 30.666667 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
db8df945d325882c047372322448b360eb21335d | 79 | py | Python | db_cache/__init__.py | dskrypa/db_cache | 02623c404ff4861bdcd07549b7e9691ec7654974 | [
"Apache-2.0"
] | null | null | null | db_cache/__init__.py | dskrypa/db_cache | 02623c404ff4861bdcd07549b7e9691ec7654974 | [
"Apache-2.0"
] | null | null | null | db_cache/__init__.py | dskrypa/db_cache | 02623c404ff4861bdcd07549b7e9691ec7654974 | [
"Apache-2.0"
] | null | null | null | """
:author: Doug Skrypa
"""
from .__version__ import *
from .caches import *
| 11.285714 | 26 | 0.670886 | 9 | 79 | 5.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 79 | 6 | 27 | 13.166667 | 0.753846 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
db993546fe222d7b93290d83f11382ae368bf5cf | 41 | py | Python | inference_all.py | jaemin93/pytorch-deeplab-xception | 4ae96b90d19c22502170ce0bd7d5a9ce87db2f7f | [
"MIT"
] | 20 | 2019-11-06T02:47:20.000Z | 2022-03-16T01:43:00.000Z | inference_all.py | jaemin93/pytorch-deeplab-xception | 4ae96b90d19c22502170ce0bd7d5a9ce87db2f7f | [
"MIT"
] | null | null | null | inference_all.py | jaemin93/pytorch-deeplab-xception | 4ae96b90d19c22502170ce0bd7d5a9ce87db2f7f | [
"MIT"
] | 7 | 2019-10-12T10:30:01.000Z | 2022-03-16T01:43:02.000Z | import os
os.system('bash inference.sh') | 13.666667 | 30 | 0.756098 | 7 | 41 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 3 | 30 | 13.666667 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
db9b06c31ab097b3198f2ac66af2b6f70893e46b | 28 | py | Python | {{cookiecutter.project_name}}/{{cookiecutter.project_name}}/hw11/param11.py | sequoiap/cookiecutter-controlshw | bf71c7b9e497b1c3a2af4d06a843c2dab9f2a1d7 | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/{{cookiecutter.project_name}}/hw11/param11.py | sequoiap/cookiecutter-controlshw | bf71c7b9e497b1c3a2af4d06a843c2dab9f2a1d7 | [
"MIT"
] | 1 | 2020-12-18T23:37:12.000Z | 2020-12-18T23:37:13.000Z | {{cookiecutter.project_name}}/{{cookiecutter.project_name}}/hw11/param11.py | sequoiap/cookiecutter-controlshw | bf71c7b9e497b1c3a2af4d06a843c2dab9f2a1d7 | [
"MIT"
] | null | null | null | # Problem 11 Parameter File
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.178571 | 28 | 1 | 28 | 28 | 0.869565 | 0.892857 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
db9c68f19d08c822f4e591369446f3bda954a59e | 118 | py | Python | spectroscope/__init__.py | peterblockman/spectroscope | 2a33742838a95c1e56ce0e13cc7719c56e9d6cc8 | [
"Apache-2.0"
] | null | null | null | spectroscope/__init__.py | peterblockman/spectroscope | 2a33742838a95c1e56ce0e13cc7719c56e9d6cc8 | [
"Apache-2.0"
] | null | null | null | spectroscope/__init__.py | peterblockman/spectroscope | 2a33742838a95c1e56ce0e13cc7719c56e9d6cc8 | [
"Apache-2.0"
] | null | null | null | import logging
def log():
logging.basicConfig(level=logging.DEBUG)
return logging.getLogger("spectroscope")
| 16.857143 | 44 | 0.745763 | 13 | 118 | 6.769231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144068 | 118 | 6 | 45 | 19.666667 | 0.871287 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
dbb2229a7292298099f4620506043335cb090c87 | 32 | py | Python | mbench/demographic/__init__.py | sepmein/mBench | 5f2d7115ac8178ca0e076cfceebc75fa8d46127d | [
"BSD-3-Clause"
] | 1 | 2022-03-21T14:18:11.000Z | 2022-03-21T14:18:11.000Z | mbench/demographic/__init__.py | sepmein/mBench | 5f2d7115ac8178ca0e076cfceebc75fa8d46127d | [
"BSD-3-Clause"
] | 6 | 2022-03-04T11:37:52.000Z | 2022-03-31T19:13:43.000Z | mbench/demographic/__init__.py | sepmein/mBench | 5f2d7115ac8178ca0e076cfceebc75fa8d46127d | [
"BSD-3-Clause"
] | null | null | null | from .reformat import adm1_name
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.125 | 32 | 1 | 32 | 32 | 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 | 0 | 0 | 0 | 5 |
dbc60a4fda6bf90361dd0c5b8820cbfc1b83c931 | 41 | py | Python | cowait/cli/errors.py | ProgHaj/cowait | e95c30faab8caf8b0413de4e1784529a3a06475d | [
"Apache-2.0"
] | 51 | 2020-06-04T06:08:14.000Z | 2022-03-28T06:59:53.000Z | cowait/cli/errors.py | ProgHaj/cowait | e95c30faab8caf8b0413de4e1784529a3a06475d | [
"Apache-2.0"
] | 121 | 2020-06-01T12:09:32.000Z | 2022-03-31T20:47:57.000Z | cowait/cli/errors.py | ProgHaj/cowait | e95c30faab8caf8b0413de4e1784529a3a06475d | [
"Apache-2.0"
] | 6 | 2020-06-11T16:05:20.000Z | 2022-03-23T06:30:17.000Z |
class CliError(RuntimeError):
pass
| 8.2 | 29 | 0.707317 | 4 | 41 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 41 | 4 | 30 | 10.25 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
dbc6978e021754b3979926339217f5c527995729 | 1,074 | py | Python | python/anyascii/_data/_094.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_094.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_094.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b='Kui Si Liu Nao Huang Pie Sui Fan Qiao Quan Yang Tang Xiang Jue Jiao Zun Liao Qie Lao Dui Xin Zan Ji Jian Zhong Deng Ya Ying Dui Jue Nou Zan Pu Tie Fan Cheng Ding Shan Kai Jian Fei Sui Lu Juan Hui Yu Lian Zhuo Qiao Jian Zhuo Lei Bi Tie Huan Ye Duo Guo Dang Ju Fen Da Bei Yi Ai Zong Xun Diao Zhu Heng Zhui Ji Nie He Huo... | 1,074 | 1,074 | 0.759777 | 257 | 1,074 | 3.175097 | 0.642023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23743 | 1,074 | 1 | 1,074 | 1,074 | 0.996337 | 0 | 0 | 0 | 0 | 1 | 0.995349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dbccc0c920c4a4867eb34c3fb14e2c1b669b9d49 | 49 | py | Python | tgml/validator/generator/yamodel.py | kshaposhnikov/twitter-graph-model | 31ef99bda4dce7148f3ba56ffa9337e08b0fa99d | [
"MIT"
] | null | null | null | tgml/validator/generator/yamodel.py | kshaposhnikov/twitter-graph-model | 31ef99bda4dce7148f3ba56ffa9337e08b0fa99d | [
"MIT"
] | null | null | null | tgml/validator/generator/yamodel.py | kshaposhnikov/twitter-graph-model | 31ef99bda4dce7148f3ba56ffa9337e08b0fa99d | [
"MIT"
] | null | null | null | # Yet Another Model for generating random graphs
| 24.5 | 48 | 0.816327 | 7 | 49 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 1 | 49 | 49 | 0.97561 | 0.938776 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
91617afe73a41424cc500c4b763b59d8218daeb3 | 86 | py | Python | rainy/utils/__init__.py | alexmlamb/blocks_rl_gru_setup | fe462f79518d14f828e2c7cbf210cd105ff982f4 | [
"Apache-2.0"
] | null | null | null | rainy/utils/__init__.py | alexmlamb/blocks_rl_gru_setup | fe462f79518d14f828e2c7cbf210cd105ff982f4 | [
"Apache-2.0"
] | null | null | null | rainy/utils/__init__.py | alexmlamb/blocks_rl_gru_setup | fe462f79518d14f828e2c7cbf210cd105ff982f4 | [
"Apache-2.0"
] | null | null | null | from .device import Device
from .log import Logger
from .sample import sample_indices
| 21.5 | 34 | 0.825581 | 13 | 86 | 5.384615 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 3 | 35 | 28.666667 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
91a13341106093afc4543e6c5767be9c31055d3b | 69 | py | Python | server/routes/__init__.py | MrCreeper1008/covid19-alarm | 2f07a602c60bafacab3aa977a22d11fc1d07b878 | [
"MIT"
] | 1 | 2021-11-30T11:03:36.000Z | 2021-11-30T11:03:36.000Z | server/routes/__init__.py | kennethnym/covid19-alarm | 2f07a602c60bafacab3aa977a22d11fc1d07b878 | [
"MIT"
] | null | null | null | server/routes/__init__.py | kennethnym/covid19-alarm | 2f07a602c60bafacab3aa977a22d11fc1d07b878 | [
"MIT"
] | null | null | null | """
Initializes server routes
"""
import server.routes.alarms.route
| 11.5 | 33 | 0.753623 | 8 | 69 | 6.5 | 0.75 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 5 | 34 | 13.8 | 0.852459 | 0.362319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
91b13a08d192568525c8916ecb79c6f711b0764d | 2,637 | py | Python | gdesk/panels/imgview/spectrogram.py | thocoo/gamma-desk | 9cb63a65fe23e30e155b3beca862f369b7fa1b7e | [
"Apache-2.0"
] | null | null | null | gdesk/panels/imgview/spectrogram.py | thocoo/gamma-desk | 9cb63a65fe23e30e155b3beca862f369b7fa1b7e | [
"Apache-2.0"
] | 8 | 2021-04-09T11:31:43.000Z | 2021-06-09T09:07:18.000Z | gdesk/panels/imgview/spectrogram.py | thocoo/gamma-desk | 9cb63a65fe23e30e155b3beca862f369b7fa1b7e | [
"Apache-2.0"
] | null | null | null | import sys
import numpy as np
from ... import gui
def spectrogram(arr, vertical=False, plot=True):
"""
Calculates the fullnoise, whitenoise and whiteness.
and plot a spectrogram.
https://www.emva.org/wp-content/uploads/EMVA1288-3.1a.pdf
:param np.ndarray arr: A 2 dimensional array
... | 29.965909 | 67 | 0.590823 | 328 | 2,637 | 4.737805 | 0.243902 | 0.122265 | 0.09009 | 0.040541 | 0.779279 | 0.779279 | 0.779279 | 0.735521 | 0.712999 | 0.674389 | 0 | 0.02381 | 0.283276 | 2,637 | 88 | 68 | 29.965909 | 0.798413 | 0.293136 | 0 | 0.625 | 0 | 0 | 0.121629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.208333 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
91be9bed56b1fc547d7c23a71e3d1fe6c60f4364 | 191 | py | Python | app/idealers/orders/exceptions.py | leydson-vieira/dealers | 14f2f307f0f4497eec92f65d01ef111b42d528b9 | [
"MIT"
] | null | null | null | app/idealers/orders/exceptions.py | leydson-vieira/dealers | 14f2f307f0f4497eec92f65d01ef111b42d528b9 | [
"MIT"
] | null | null | null | app/idealers/orders/exceptions.py | leydson-vieira/dealers | 14f2f307f0f4497eec92f65d01ef111b42d528b9 | [
"MIT"
] | null | null | null | class OrderCodeAlreadyExists(Exception):
pass
class DealerDoesNotExist(Exception):
pass
class OrderDoesNotExist(Exception):
pass
class StatusNotAllowed(Exception):
pass
| 12.733333 | 40 | 0.759162 | 16 | 191 | 9.0625 | 0.4375 | 0.358621 | 0.372414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17801 | 191 | 14 | 41 | 13.642857 | 0.923567 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
91d7564efb364b1bab395f297e16050f9619810c | 183 | py | Python | kanjinetworks/__init__.py | acoomans/kanjinetworks | 842d9dfc1fce2f9b187e22fb6bcc4b4311b26e26 | [
"MIT"
] | 6 | 2016-10-04T02:28:44.000Z | 2021-06-11T07:06:58.000Z | kanjinetworks/__init__.py | acoomans/kanjinetworks | 842d9dfc1fce2f9b187e22fb6bcc4b4311b26e26 | [
"MIT"
] | null | null | null | kanjinetworks/__init__.py | acoomans/kanjinetworks | 842d9dfc1fce2f9b187e22fb6bcc4b4311b26e26 | [
"MIT"
] | 3 | 2017-06-10T18:27:20.000Z | 2019-06-09T20:26:40.000Z | from kanji import Kanji
from extract.extractor import get_text
from extract.parser import KanjiNetworksParser
from export.japaneseapp import JapaneseApp3Exporter, JapaneseApp4Exporter | 45.75 | 73 | 0.89071 | 21 | 183 | 7.714286 | 0.619048 | 0.135802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011976 | 0.087432 | 183 | 4 | 73 | 45.75 | 0.958084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
53442cea73e6529b98a3efedb786b13b13fdc3bc | 62 | py | Python | crowdsourcing/annotation_types/bbox/__init__.py | sbranson/online_crowdsourcing | d1f7c814bb60aae9cf5e76e0b299713246f98ce3 | [
"MIT"
] | 4 | 2019-08-14T21:14:18.000Z | 2021-11-04T09:32:37.000Z | crowdsourcing/annotation_types/bbox/__init__.py | sbranson/online_crowdsourcing | d1f7c814bb60aae9cf5e76e0b299713246f98ce3 | [
"MIT"
] | null | null | null | crowdsourcing/annotation_types/bbox/__init__.py | sbranson/online_crowdsourcing | d1f7c814bb60aae9cf5e76e0b299713246f98ce3 | [
"MIT"
] | 1 | 2019-11-09T08:20:27.000Z | 2019-11-09T08:20:27.000Z | from bbox import *
from detector import ComputerVisionDetector | 31 | 43 | 0.870968 | 7 | 62 | 7.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 62 | 2 | 43 | 31 | 0.981818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5364d6a8e4054fc5f03130557b071b0b8cde5635 | 11,421 | py | Python | src/pyensae/languages/SimpleWorkflowLexer.py | mohamedelkansouli/Ensae_py2 | e54a05f90c6aa6e2a5065eac9f9ec10aca64b46a | [
"MIT"
] | null | null | null | src/pyensae/languages/SimpleWorkflowLexer.py | mohamedelkansouli/Ensae_py2 | e54a05f90c6aa6e2a5065eac9f9ec10aca64b46a | [
"MIT"
] | null | null | null | src/pyensae/languages/SimpleWorkflowLexer.py | mohamedelkansouli/Ensae_py2 | e54a05f90c6aa6e2a5065eac9f9ec10aca64b46a | [
"MIT"
] | null | null | null | # Generated from \SimpleWorkflow.g4 by ANTLR 4.7
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2+")
buf.write("\u010d\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\... | 52.631336 | 90 | 0.537519 | 2,543 | 11,421 | 2.346834 | 0.154542 | 0.137399 | 0.082942 | 0.085121 | 0.208445 | 0.144772 | 0.069538 | 0.055798 | 0.053452 | 0.032004 | 0 | 0.303246 | 0.174503 | 11,421 | 216 | 91 | 52.875 | 0.329762 | 0.004028 | 0 | 0 | 1 | 0.356784 | 0.554735 | 0.494592 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020101 | false | 0 | 0.020101 | 0 | 0.296482 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7276bb8f3cd8a473c990ef4cad5576d195f2a0d4 | 12,205 | py | Python | src/drivers/subxdriver2.py | kjhall-iri/cpt-tools | 7c0a43c3332e6c51253fe4a530c47a2b839d6075 | [
"MIT"
] | null | null | null | src/drivers/subxdriver2.py | kjhall-iri/cpt-tools | 7c0a43c3332e6c51253fe4a530c47a2b839d6075 | [
"MIT"
] | null | null | null | src/drivers/subxdriver2.py | kjhall-iri/cpt-tools | 7c0a43c3332e6c51253fe4a530c47a2b839d6075 | [
"MIT"
] | null | null | null | import intake
from ..utilities import *
import datetime as dt
import urllib.parse as parse
class SubxDriver(intake.source.base.DataSource):
container = 'str'
name = 'subxdriver'
version = '0.0.1'
partition_access = False
def __init__(self, hindcast, forecast, observed, pressure_levels=[], metadata... | 65.26738 | 289 | 0.646784 | 1,612 | 12,205 | 4.748759 | 0.159429 | 0.049379 | 0.051731 | 0.037231 | 0.760941 | 0.751666 | 0.712867 | 0.705552 | 0.703331 | 0.703331 | 0 | 0.02429 | 0.220811 | 12,205 | 187 | 290 | 65.26738 | 0.780652 | 0.024088 | 0 | 0.487654 | 0 | 0.061728 | 0.278189 | 0.073685 | 0 | 0 | 0 | 0 | 0.160494 | 1 | 0.049383 | false | 0.006173 | 0.024691 | 0.018519 | 0.141975 | 0.037037 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
72a3766873c3c3c16bf952f259bb35865a903e99 | 1,683 | py | Python | tests/unit_tests/test_properties/test_expressions/test_arithmetic/test_Add.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 5 | 2022-01-28T20:30:34.000Z | 2022-03-17T09:26:52.000Z | tests/unit_tests/test_properties/test_expressions/test_arithmetic/test_Add.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 9 | 2022-01-27T03:50:28.000Z | 2022-02-08T18:42:17.000Z | tests/unit_tests/test_properties/test_expressions/test_arithmetic/test_Add.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 2 | 2022-02-03T17:32:43.000Z | 2022-03-24T16:38:49.000Z | import pytest
import re
from dnnv.properties.expressions import *
def test_Add_symbols():
a = Symbol("a")
b = Symbol("b")
c_1 = a + b
c_2 = Add(a, b)
assert c_1.is_equivalent(c_2)
assert isinstance(c_1, ArithmeticExpression)
def test_Add_constants():
a = Constant(1)
b = Constant(2... | 18.096774 | 78 | 0.597148 | 236 | 1,683 | 4.042373 | 0.199153 | 0.035639 | 0.0587 | 0.062893 | 0.74109 | 0.74109 | 0.74109 | 0.74109 | 0.720126 | 0.679245 | 0 | 0.029191 | 0.287582 | 1,683 | 92 | 79 | 18.293478 | 0.766472 | 0 | 0 | 0.65625 | 0 | 0 | 0.080214 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.109375 | false | 0.03125 | 0.046875 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
72af15ef9a545bef2bd34a802b0d1adff64b4635 | 150 | py | Python | tests/__init__.py | rjswitzer3/client-Python | 46b0f91e40ecb51df2c9c3a16264206894a5a770 | [
"Apache-2.0"
] | 25 | 2016-09-15T10:06:08.000Z | 2021-02-22T09:27:00.000Z | tests/__init__.py | rjswitzer3/client-Python | 46b0f91e40ecb51df2c9c3a16264206894a5a770 | [
"Apache-2.0"
] | 91 | 2017-03-01T05:37:08.000Z | 2022-03-15T22:21:23.000Z | tests/__init__.py | rjswitzer3/client-Python | 46b0f91e40ecb51df2c9c3a16264206894a5a770 | [
"Apache-2.0"
] | 87 | 2016-12-05T11:09:21.000Z | 2022-03-15T21:32:23.000Z | """This package contains unit tests for the project."""
from six import add_move, MovedModule
add_move(MovedModule('mock', 'mock', 'unittest.mock'))
| 30 | 55 | 0.746667 | 21 | 150 | 5.238095 | 0.761905 | 0.127273 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113333 | 150 | 4 | 56 | 37.5 | 0.827068 | 0.326667 | 0 | 0 | 0 | 0 | 0.221053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
72b40274d62a072ff4764d061f5e0f7d5cf79dfc | 1,964 | py | Python | tests/test_replay_buffer.py | balcortex/ddpg_mppt | 5e29d4388a9ce916eab0f54c7f0bf05b5b69d755 | [
"MIT"
] | null | null | null | tests/test_replay_buffer.py | balcortex/ddpg_mppt | 5e29d4388a9ce916eab0f54c7f0bf05b5b69d755 | [
"MIT"
] | null | null | null | tests/test_replay_buffer.py | balcortex/ddpg_mppt | 5e29d4388a9ce916eab0f54c7f0bf05b5b69d755 | [
"MIT"
] | null | null | null | from src.replay_buffer import ReplayBuffer, Experience
import numpy as np
def test_replay_buffer():
buffer = ReplayBuffer(capacity=3)
assert len(buffer) == 0
exp1 = Experience([1], 2, 3, True, [4])
buffer.append(exp1)
assert len(buffer) == 1
sample = buffer.sample(1)
assert np.array_equal(... | 37.769231 | 64 | 0.61558 | 308 | 1,964 | 3.847403 | 0.113636 | 0.248101 | 0.23038 | 0.318987 | 0.781435 | 0.739241 | 0.582278 | 0.523207 | 0.469198 | 0 | 0 | 0.058161 | 0.185845 | 1,964 | 51 | 65 | 38.509804 | 0.682927 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 1 | 0.021739 | false | 0 | 0.043478 | 0 | 0.065217 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
72bed75790e8687eb67f8e3612fb3e46e7f18d31 | 149 | py | Python | centos_package_cron/annoyance_fetcher.py | jsoref/centos-package-cron | 0c7e3e24b91619916a515c8ef492dcfa863dae66 | [
"BSD-2-Clause"
] | 83 | 2015-03-19T09:07:57.000Z | 2021-10-14T02:19:58.000Z | centos_package_cron/annoyance_fetcher.py | jsoref/centos-package-cron | 0c7e3e24b91619916a515c8ef492dcfa863dae66 | [
"BSD-2-Clause"
] | 26 | 2015-01-08T17:29:10.000Z | 2020-03-04T19:56:19.000Z | centos_package_cron/annoyance_fetcher.py | jsoref/centos-package-cron | 0c7e3e24b91619916a515c8ef492dcfa863dae66 | [
"BSD-2-Clause"
] | 21 | 2016-05-17T19:22:56.000Z | 2021-02-15T14:27:08.000Z | from annoyance_check import AnnoyanceCheck
class AnnoyanceFetcher:
def fetch(self, session):
return AnnoyanceCheck(session)
| 24.833333 | 42 | 0.711409 | 14 | 149 | 7.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241611 | 149 | 6 | 43 | 24.833333 | 0.929204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
72cdeedf2b93bb90fbb15a74472dc5c3c8bf7dfb | 679 | py | Python | src/pybel_tools/summary/__init__.py | cthoyt/pybel-tools | 0bc9f9267178d164dab210f24255793cf4e32ab0 | [
"MIT"
] | 6 | 2017-03-09T14:28:19.000Z | 2019-11-21T00:00:15.000Z | src/pybel_tools/summary/__init__.py | pybel/pybel-tools | 0bc9f9267178d164dab210f24255793cf4e32ab0 | [
"MIT"
] | 134 | 2016-11-24T11:10:03.000Z | 2020-09-10T17:03:13.000Z | src/pybel_tools/summary/__init__.py | cthoyt/pybel-tools | 0bc9f9267178d164dab210f24255793cf4e32ab0 | [
"MIT"
] | 5 | 2017-03-08T13:28:02.000Z | 2020-04-05T02:23:17.000Z | # -*- coding: utf-8 -*-
"""Additional summary functions for BEL graphs to supplement :mod:`pybel.struct.summary`.
These scripts are designed to assist in the analysis of errors within BEL documents
and provide some suggestions for fixes.
"""
from .composite_summary import * # noqa: F401,F403
from .contradictions im... | 37.722222 | 89 | 0.73785 | 94 | 679 | 5.276596 | 0.489362 | 0.181452 | 0.254032 | 0.326613 | 0.41129 | 0.233871 | 0 | 0 | 0 | 0 | 0 | 0.096661 | 0.162003 | 679 | 17 | 90 | 39.941176 | 0.775044 | 0.556701 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
72e2a543a1eb2a28a01fedf04892f1a4d895f704 | 430 | py | Python | docs/architecture/api_draft/attributes.py | karahbit/radical.pilot | c611e1df781749deef899dcf5815728e1d8a962e | [
"MIT"
] | 47 | 2015-03-16T01:08:11.000Z | 2022-02-02T10:36:39.000Z | docs/architecture/api_draft/attributes.py | karahbit/radical.pilot | c611e1df781749deef899dcf5815728e1d8a962e | [
"MIT"
] | 1,856 | 2015-01-02T09:32:20.000Z | 2022-03-31T21:45:06.000Z | docs/architecture/api_draft/attributes.py | karahbit/radical.pilot | c611e1df781749deef899dcf5815728e1d8a962e | [
"MIT"
] | 28 | 2015-06-10T18:15:14.000Z | 2021-11-07T04:36:45.000Z |
# ------------------------------------------------------------------------------
#
class Attributes (object) :
# FIXME: add method sigs
# --------------------------------------------------------------------------
#
def __init__ (self, vals={}) :
raise Exception ("%s is not implemented" % se... | 21.5 | 80 | 0.255814 | 20 | 430 | 4.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148837 | 430 | 19 | 81 | 22.631579 | 0.26776 | 0.593023 | 0 | 0 | 0 | 0 | 0.128834 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
72e99daf1589f316dad68db5e8c31efda1469a25 | 249 | py | Python | core_function/params/list.py | dmilos/python_tutorial | f2f901a68cbc696e19350455da9b7db312d1a9fa | [
"MIT-0"
] | null | null | null | core_function/params/list.py | dmilos/python_tutorial | f2f901a68cbc696e19350455da9b7db312d1a9fa | [
"MIT-0"
] | null | null | null | core_function/params/list.py | dmilos/python_tutorial | f2f901a68cbc696e19350455da9b7db312d1a9fa | [
"MIT-0"
] | null | null | null |
def function( first, second ):
print 'first = ' + first
print 'second = ' + second
function( "asdfgh", "12312312" )
print
function( second = "asdfgh", first = "12312312" )
print
function( **{ 'second': 'qwertyuip', 'first': '1234567890'} )
| 17.785714 | 61 | 0.630522 | 25 | 249 | 6.28 | 0.36 | 0.165605 | 0.267516 | 0.343949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 0.188755 | 249 | 13 | 62 | 19.153846 | 0.648515 | 0 | 0 | 0.25 | 0 | 0 | 0.306452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
72f25efde586a54bef1350339df124f1323fd1e1 | 893 | py | Python | Registrar/auto_registrar.py | Caleb-Shepard/auto-registrar | fab625a463ebca02fad3b5e944bf8ce5c5104096 | [
"MIT"
] | 2 | 2018-10-23T15:15:02.000Z | 2018-10-29T18:03:01.000Z | Registrar/auto_registrar.py | Caleb-Shepard/auto-registrar | fab625a463ebca02fad3b5e944bf8ce5c5104096 | [
"MIT"
] | null | null | null | Registrar/auto_registrar.py | Caleb-Shepard/auto-registrar | fab625a463ebca02fad3b5e944bf8ce5c5104096 | [
"MIT"
] | null | null | null | # **************************************************************************** #
# #
# |\ #
# auto_registrar.py ------| \---- ... | 63.785714 | 80 | 0.145577 | 30 | 893 | 4.3 | 0.666667 | 0.325581 | 0.124031 | 0.155039 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117962 | 0.582307 | 893 | 13 | 81 | 68.692308 | 0.227882 | 0.958567 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
72ff1e49157e6c6170d7894494b6cd443f1b78c9 | 171 | py | Python | bilm/__init__.py | nelson-liu/bilm-tf | 81a4b54937f4dfb93308f709c1cf34dbb37c553e | [
"Apache-2.0"
] | 1,676 | 2018-01-31T23:47:00.000Z | 2022-03-23T14:36:52.000Z | bilm/__init__.py | nelson-liu/bilm-tf | 81a4b54937f4dfb93308f709c1cf34dbb37c553e | [
"Apache-2.0"
] | 214 | 2018-02-01T07:04:04.000Z | 2021-12-04T00:05:45.000Z | bilm/__init__.py | nelson-liu/bilm-tf | 81a4b54937f4dfb93308f709c1cf34dbb37c553e | [
"Apache-2.0"
] | 483 | 2018-02-04T09:28:57.000Z | 2021-11-13T17:37:56.000Z |
from .data import Batcher, TokenBatcher
from .model import BidirectionalLanguageModel, dump_token_embeddings, \
dump_bilm_embeddings
from .elmo import weight_layers
| 24.428571 | 71 | 0.830409 | 20 | 171 | 6.85 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128655 | 171 | 6 | 72 | 28.5 | 0.919463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f403f6554d6bf392be1773e0c00a220e7956c84b | 58 | py | Python | checkov/bicep/checks/resource/__init__.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | null | null | null | checkov/bicep/checks/resource/__init__.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | null | null | null | checkov/bicep/checks/resource/__init__.py | pmalkki/checkov | b6cdf386dd976fe27c16fed6d550756a678a5d7b | [
"Apache-2.0"
] | null | null | null | from checkov.bicep.checks.resource.azure import * # noqa
| 29 | 57 | 0.775862 | 8 | 58 | 5.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 1 | 58 | 58 | 0.882353 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f4067c9c90187b39eecc041a46cdca70921c1eac | 3,864 | py | Python | nodesemver/tests/test_equality.py | podhmo/python-semver | 4edfdc2c9ef7283f51b949834a4049d8ce8899f3 | [
"MIT"
] | 15 | 2016-11-26T01:22:10.000Z | 2021-04-15T21:50:04.000Z | nodesemver/tests/test_equality.py | podhmo/python-semver | 4edfdc2c9ef7283f51b949834a4049d8ce8899f3 | [
"MIT"
] | 34 | 2015-06-26T12:30:01.000Z | 2021-09-15T05:17:01.000Z | nodesemver/tests/test_equality.py | podhmo/python-node-semver | 4edfdc2c9ef7283f51b949834a4049d8ce8899f3 | [
"MIT"
] | 14 | 2015-10-02T10:40:36.000Z | 2021-09-14T08:33:28.000Z | # -*- coding:utf-8 -*-
import pytest
# node-semver/test/index.js
cands = [
['1.2.3', 'v1.2.3', True],
['1.2.3', '=1.2.3', True],
['1.2.3', 'v 1.2.3', True],
['1.2.3', '= 1.2.3', True],
['1.2.3', ' v1.2.3', True],
['1.2.3', ' =1.2.3', True],
['1.2.3', ' v 1.2.3', True],
['1.2.3', ' = 1.2... | 31.933884 | 72 | 0.493789 | 696 | 3,864 | 2.727011 | 0.064655 | 0.077977 | 0.10274 | 0.125395 | 0.815595 | 0.805585 | 0.703372 | 0.703372 | 0.665437 | 0.620126 | 0 | 0.120605 | 0.212474 | 3,864 | 120 | 73 | 32.2 | 0.503122 | 0.011905 | 0 | 0.575 | 0 | 0 | 0.276504 | 0.013958 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.125 | false | 0 | 0.1375 | 0 | 0.2625 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f40ab7364bcc4b8956e062682a70bca1d634abfa | 74 | py | Python | virtual/lib/python3.6/site-packages/alembic/__init__.py | Daniel6996-arch/verbose-pitches | b50877381e126c37b6a83e8d0b67921538be8bb8 | [
"MIT"
] | null | null | null | virtual/lib/python3.6/site-packages/alembic/__init__.py | Daniel6996-arch/verbose-pitches | b50877381e126c37b6a83e8d0b67921538be8bb8 | [
"MIT"
] | null | null | null | virtual/lib/python3.6/site-packages/alembic/__init__.py | Daniel6996-arch/verbose-pitches | b50877381e126c37b6a83e8d0b67921538be8bb8 | [
"MIT"
] | null | null | null | import sys
from . import context
from . import op
__version__ = "1.7.4"
| 10.571429 | 21 | 0.702703 | 12 | 74 | 4 | 0.75 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0.202703 | 74 | 6 | 22 | 12.333333 | 0.762712 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f42b82f24612f8ea88edec6f424444657decf6d2 | 25 | py | Python | QGrain/__init__.py | erslog/QGrain | 9644415c73a929bbdd30d7eb4c3fa861401a5ea4 | [
"MIT"
] | 1 | 2020-12-20T13:24:44.000Z | 2020-12-20T13:24:44.000Z | QGrain/__init__.py | erslog/QGrain | 9644415c73a929bbdd30d7eb4c3fa861401a5ea4 | [
"MIT"
] | null | null | null | QGrain/__init__.py | erslog/QGrain | 9644415c73a929bbdd30d7eb4c3fa861401a5ea4 | [
"MIT"
] | null | null | null | from QGrain.main import * | 25 | 25 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f48419fff4e7dbea0aacd89b549758c116caed76 | 1,441 | py | Python | pyzk/post.py | amanat-juwel/laravel-student-attendance-system | 3d39f6d04e7a676b908d7ad79d1213db0411e980 | [
"MIT"
] | null | null | null | pyzk/post.py | amanat-juwel/laravel-student-attendance-system | 3d39f6d04e7a676b908d7ad79d1213db0411e980 | [
"MIT"
] | null | null | null | pyzk/post.py | amanat-juwel/laravel-student-attendance-system | 3d39f6d04e7a676b908d7ad79d1213db0411e980 | [
"MIT"
] | null | null | null | import requests
import json
url = 'http://localhost:8080/sch/api/student/attendance'
headers = {
"Connection": "keep-alive",
"Accept": "application/json",
"Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImYzN2Y3YjI4ZWM5MjBhYjg3ZTEwOWRhYjhmOTg3YmFiOWYxNTczMmRkMTY5MWExZWMzZWY3ZGVmNWU5O... | 90.0625 | 1,102 | 0.911173 | 68 | 1,441 | 19.132353 | 0.794118 | 0.018447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120058 | 0.034698 | 1,441 | 16 | 1,103 | 90.0625 | 0.815241 | 0 | 0 | 0 | 0 | 0.083333 | 0.861304 | 0.765603 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.083333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f48fd3ad0c8f7d608c9fa676b758a064c6d93bf7 | 106 | py | Python | agecomparecalculator.py | george21-meet/meet2019y1lab3 | 0b6036ce78dca4066818cc4fd7165ede3a4b8e2a | [
"MIT"
] | null | null | null | agecomparecalculator.py | george21-meet/meet2019y1lab3 | 0b6036ce78dca4066818cc4fd7165ede3a4b8e2a | [
"MIT"
] | null | null | null | agecomparecalculator.py | george21-meet/meet2019y1lab3 | 0b6036ce78dca4066818cc4fd7165ede3a4b8e2a | [
"MIT"
] | null | null | null | a1=input("whats your age")
a2=input("whats your age")
int(a1)
int(a2)
age=int(a1)-int(a2)
print(abs(age))
| 15.142857 | 26 | 0.679245 | 22 | 106 | 3.272727 | 0.409091 | 0.277778 | 0.388889 | 0.472222 | 0.361111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.09434 | 106 | 6 | 27 | 17.666667 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
be2e529fc7fe2728b65cc1f4784bb4b2fecab561 | 203 | py | Python | src/test/resources/scripts/long_time.py | zella/pyass | e5bd9c3e2dbed1c55927a3e0620acc627ce8e04a | [
"MIT"
] | 1 | 2019-01-13T21:00:04.000Z | 2019-01-13T21:00:04.000Z | src/test/resources/scripts/long_time.py | zella/pyass | e5bd9c3e2dbed1c55927a3e0620acc627ce8e04a | [
"MIT"
] | 16 | 2019-01-10T19:16:55.000Z | 2019-01-21T18:56:50.000Z | src/test/resources/scripts/long_time.py | zella/procaas | e5bd9c3e2dbed1c55927a3e0620acc627ce8e04a | [
"MIT"
] | null | null | null | from time import sleep
print(0, flush=True)
sleep(1)
print(1, flush=True)
sleep(1)
print(2, flush=True)
sleep(1)
print(3, flush=True)
sleep(1)
print(4, flush=True)
sleep(1)
print(5, flush=True)
sleep(1)
| 14.5 | 22 | 0.714286 | 40 | 203 | 3.625 | 0.325 | 0.372414 | 0.57931 | 0.62069 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066298 | 0.108374 | 203 | 13 | 23 | 15.615385 | 0.734807 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.076923 | 0 | 0.076923 | 0.461538 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
be37f16dfde97e8e8f94453754b35b9f5a161a0f | 1,122 | py | Python | pp/test/test_component_from_yaml_fail.py | flaport/gdsfactory | 1f2e844c1fe27b9c6340e2d51500fd3358fa16e5 | [
"MIT"
] | 8 | 2020-08-25T11:25:18.000Z | 2022-03-27T11:32:11.000Z | pp/test/test_component_from_yaml_fail.py | flaport/gdsfactory | 1f2e844c1fe27b9c6340e2d51500fd3358fa16e5 | [
"MIT"
] | null | null | null | pp/test/test_component_from_yaml_fail.py | flaport/gdsfactory | 1f2e844c1fe27b9c6340e2d51500fd3358fa16e5 | [
"MIT"
] | 1 | 2022-03-04T07:03:29.000Z | 2022-03-04T07:03:29.000Z | import pytest
import pp
yaml_fail = """
instances:
mmi_long:
component: mmi1x2
settings:
width_mmi: 4.5
length_mmi: 10
mmi_short:
component: mmi1x2
settings:
width_mmi: 4.5
length_mmi: 5
placements:
mmi_short:
port: W0
x: mmi_long,E1... | 16.26087 | 41 | 0.557932 | 146 | 1,122 | 3.965753 | 0.267123 | 0.110535 | 0.158895 | 0.193437 | 0.697755 | 0.618307 | 0.618307 | 0.618307 | 0.618307 | 0.618307 | 0 | 0.058496 | 0.360071 | 1,122 | 68 | 42 | 16.5 | 0.747911 | 0 | 0 | 0.736842 | 0 | 0 | 0.72549 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035088 | false | 0.070175 | 0.087719 | 0 | 0.122807 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
be6f9ec17b44a88aa07d7e3c62c86a103a165e5a | 670 | py | Python | pysnmp/hlapi/v3arch/asyncore/sync/__init__.py | fabriziovanni/pysnmp | eef4cc03b4da199e9c131ddd18ccb7501f1f2c40 | [
"BSD-2-Clause"
] | null | null | null | pysnmp/hlapi/v3arch/asyncore/sync/__init__.py | fabriziovanni/pysnmp | eef4cc03b4da199e9c131ddd18ccb7501f1f2c40 | [
"BSD-2-Clause"
] | null | null | null | pysnmp/hlapi/v3arch/asyncore/sync/__init__.py | fabriziovanni/pysnmp | eef4cc03b4da199e9c131ddd18ccb7501f1f2c40 | [
"BSD-2-Clause"
] | null | null | null | #
# This file is part of pysnmp software.
#
# Copyright (c) 2005-2018, Ilya Etingof <etingof@gmail.com>
# License: http://snmplabs.com/pysnmp/license.html
#
from pysnmp.proto.rfc1902 import *
from pysnmp.smi.rfc1902 import *
from pysnmp.hlapi.v3arch.auth import *
from pysnmp.hlapi.v3arch.context import *
from pysnmp.hl... | 33.5 | 65 | 0.770149 | 94 | 670 | 5.489362 | 0.414894 | 0.193798 | 0.217054 | 0.284884 | 0.498062 | 0.393411 | 0.261628 | 0.174419 | 0 | 0 | 0 | 0.039049 | 0.120896 | 670 | 19 | 66 | 35.263158 | 0.837012 | 0.214925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
be73e3090268fb4b55f2d5d332467ee54019a7bc | 2,771 | py | Python | python_json_serialization_examples/tests/unit/test_popo_schema.py | DEV3L/python-marshmallow-examples | 85ed28b99f40e657b7d83de000d7ee25da35e0fa | [
"MIT"
] | 1 | 2016-09-10T02:37:31.000Z | 2016-09-10T02:37:31.000Z | python_json_serialization_examples/tests/unit/test_popo_schema.py | DEV3L/python-json-serialization-examples | 85ed28b99f40e657b7d83de000d7ee25da35e0fa | [
"MIT"
] | null | null | null | python_json_serialization_examples/tests/unit/test_popo_schema.py | DEV3L/python-json-serialization-examples | 85ed28b99f40e657b7d83de000d7ee25da35e0fa | [
"MIT"
] | null | null | null | from unittest import TestCase
from python_json_serialization_examples.domain.popo import Popo
from python_json_serialization_examples.schemas.popo_schema import PopoSchema
class TestPopoSchema(TestCase):
def setUp(self):
self.popo = Popo()
self.popo.foo_dict['field_1'] = 'value1'
self.po... | 36.460526 | 77 | 0.666185 | 408 | 2,771 | 4.245098 | 0.120098 | 0.203233 | 0.139723 | 0.069284 | 0.823903 | 0.739607 | 0.739607 | 0.639146 | 0.603349 | 0.559469 | 0 | 0.005074 | 0.217611 | 2,771 | 75 | 78 | 36.946667 | 0.793819 | 0 | 0 | 0.45614 | 0 | 0 | 0.027788 | 0 | 0 | 0 | 0 | 0 | 0.45614 | 1 | 0.122807 | false | 0 | 0.052632 | 0 | 0.192982 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bec029b50eda2ccc0923912f7414b26020f1b919 | 294 | py | Python | socks5/server/exceptions.py | abersheeran/socks5 | d33a6a1faad819875eeb8ed316b8cb7a160c0e3a | [
"MIT"
] | 11 | 2019-06-03T15:39:07.000Z | 2020-11-15T13:23:32.000Z | socks5/server/exceptions.py | Aber-s-practice/socks5 | d33a6a1faad819875eeb8ed316b8cb7a160c0e3a | [
"MIT"
] | null | null | null | socks5/server/exceptions.py | Aber-s-practice/socks5 | d33a6a1faad819875eeb8ed316b8cb7a160c0e3a | [
"MIT"
] | 2 | 2020-08-12T08:15:17.000Z | 2020-10-20T14:57:26.000Z | class Socks5Error(Exception):
pass
class NoVersionAllowed(Socks5Error):
pass
class NoCommandAllowed(Socks5Error):
pass
class NoATYPAllowed(Socks5Error):
pass
class AuthenticationError(Socks5Error):
pass
class NoAuthenticationAllowed(AuthenticationError):
pass
| 12.782609 | 51 | 0.761905 | 24 | 294 | 9.333333 | 0.375 | 0.200893 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020661 | 0.176871 | 294 | 22 | 52 | 13.363636 | 0.904959 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
fe535f52cc2059ac623881c96b599005df21fa73 | 192 | py | Python | pyrevolve/genotype/learning_body/crossover.py | braj29/robo_swimmers | b3c3fa91976884095eb6b5e67844167598ec573d | [
"Apache-1.1"
] | null | null | null | pyrevolve/genotype/learning_body/crossover.py | braj29/robo_swimmers | b3c3fa91976884095eb6b5e67844167598ec573d | [
"Apache-1.1"
] | null | null | null | pyrevolve/genotype/learning_body/crossover.py | braj29/robo_swimmers | b3c3fa91976884095eb6b5e67844167598ec573d | [
"Apache-1.1"
] | null | null | null | from typing import List
from .config import Config
from pyrevolve.genotype.genotype import Genotype
def crossover(parents: List[Genotype], config: Config) -> Genotype:
return parents[0]
| 24 | 67 | 0.78125 | 25 | 192 | 6 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.140625 | 192 | 7 | 68 | 27.428571 | 0.90303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
fe58268960c6614ae868b17cf26a372b0d7a0289 | 52 | py | Python | 1_Intro/speed_test/fib2.py | predbrad/bootcamp | 252137ff627d8f41c4dda19bfb7f33a1e567d362 | [
"MIT"
] | null | null | null | 1_Intro/speed_test/fib2.py | predbrad/bootcamp | 252137ff627d8f41c4dda19bfb7f33a1e567d362 | [
"MIT"
] | null | null | null | 1_Intro/speed_test/fib2.py | predbrad/bootcamp | 252137ff627d8f41c4dda19bfb7f33a1e567d362 | [
"MIT"
] | null | null | null | import subprocess
print(subprocess.run(["./fib"]))
| 13 | 32 | 0.711538 | 6 | 52 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 3 | 33 | 17.333333 | 0.770833 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
fe6c176b027c4fc60150773db138154ed9c6c90e | 2,190 | py | Python | ansible/roles/common/molecule/default/tests/test_common.py | ms-new-account/devops-interview-test | 4c867e25a584bffe4b825093f6130bfe72b87b38 | [
"Apache-2.0"
] | 1 | 2021-02-18T10:31:55.000Z | 2021-02-18T10:31:55.000Z | ansible/roles/common/molecule/default/tests/test_common.py | ms-new-account/devops-interview-test | 4c867e25a584bffe4b825093f6130bfe72b87b38 | [
"Apache-2.0"
] | null | null | null | ansible/roles/common/molecule/default/tests/test_common.py | ms-new-account/devops-interview-test | 4c867e25a584bffe4b825093f6130bfe72b87b38 | [
"Apache-2.0"
] | 13 | 2021-02-12T14:59:33.000Z | 2021-04-26T07:55:53.000Z | """Common role Tests"""
import pytest
from hamcrest import assert_that, equal_to
# pylint: disable=redefined-outer-name
@pytest.fixture()
def get_ansible_vars(host):
"""Define AnsibleVars"""
common_role = "file=../../vars/main.yml name=common_role"
common_role_defaults = "file=../../defaults/main.yml name=... | 49.772727 | 116 | 0.777169 | 310 | 2,190 | 5.116129 | 0.148387 | 0.180328 | 0.185372 | 0.126103 | 0.742119 | 0.710593 | 0.710593 | 0.710593 | 0.532787 | 0.518285 | 0 | 0 | 0.095434 | 2,190 | 44 | 117 | 49.772727 | 0.800606 | 0.124201 | 0 | 0 | 0 | 0 | 0.284425 | 0.036562 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.212121 | false | 0 | 0.060606 | 0 | 0.30303 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
22ab9b723c71404c1a559bd4271964245f359e73 | 99 | py | Python | vgg/vgg_class.py | MeepoAII/backbone | f998b2466a343cce938eb835b53c5e4a254eb443 | [
"Apache-2.0"
] | null | null | null | vgg/vgg_class.py | MeepoAII/backbone | f998b2466a343cce938eb835b53c5e4a254eb443 | [
"Apache-2.0"
] | null | null | null | vgg/vgg_class.py | MeepoAII/backbone | f998b2466a343cce938eb835b53c5e4a254eb443 | [
"Apache-2.0"
] | null | null | null | import torchvision
import torch
print(torchvision.models.resnet101())
print(torch.__version__) | 19.8 | 38 | 0.808081 | 11 | 99 | 6.909091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.10101 | 99 | 5 | 39 | 19.8 | 0.820225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
22b8e88f631a939fa34f6f3b9e5b5c6082b1610e | 5,125 | py | Python | test/connect/test_ConnectionUtils.py | pip-services3-python/pip-services3-components-python | d8868f9db9760fb91e5ff7a815de8ce98fdb4b2a | [
"MIT"
] | null | null | null | test/connect/test_ConnectionUtils.py | pip-services3-python/pip-services3-components-python | d8868f9db9760fb91e5ff7a815de8ce98fdb4b2a | [
"MIT"
] | null | null | null | test/connect/test_ConnectionUtils.py | pip-services3-python/pip-services3-components-python | d8868f9db9760fb91e5ff7a815de8ce98fdb4b2a | [
"MIT"
] | 1 | 2020-03-11T21:46:42.000Z | 2020-03-11T21:46:42.000Z | # -*- coding: utf-8 -*-
from pip_services3_commons.config import ConfigParams
from pip_services3_components.connect.ConnectionUtils import ConnectionUtils
class TestConnectionUtils:
def test_concat_options(self):
options1 = ConfigParams.from_tuples(
"host", "server1",
"port", "80... | 43.067227 | 113 | 0.636878 | 573 | 5,125 | 5.448517 | 0.109948 | 0.121717 | 0.14606 | 0.243434 | 0.817104 | 0.755926 | 0.691544 | 0.653107 | 0.567265 | 0.536835 | 0 | 0.062611 | 0.230244 | 5,125 | 118 | 114 | 43.432203 | 0.728771 | 0.004098 | 0 | 0.4375 | 0 | 0.020833 | 0.200118 | 0.062917 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.052083 | false | 0.09375 | 0.020833 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
fe008a7147b180aaca73a110d4e4ca451ffd5cfe | 166 | py | Python | Ene-Jun-2021/cazares-martinez-luis-enrique/Practica 1/autobus.py | bryanbalderas/DAS_Sistemas | 1e31f088c0de7134471025a5730b0abfc19d936e | [
"MIT"
] | 41 | 2017-09-26T09:36:32.000Z | 2022-03-19T18:05:25.000Z | Ene-Jun-2021/cazares-martinez-luis-enrique/Practica 1/autobus.py | bryanbalderas/DAS_Sistemas | 1e31f088c0de7134471025a5730b0abfc19d936e | [
"MIT"
] | 67 | 2017-09-11T05:06:12.000Z | 2022-02-14T04:44:04.000Z | Ene-Jun-2021/cazares-martinez-luis-enrique/Practica 1/autobus.py | bryanbalderas/DAS_Sistemas | 1e31f088c0de7134471025a5730b0abfc19d936e | [
"MIT"
] | 210 | 2017-09-01T00:10:08.000Z | 2022-03-19T18:05:12.000Z | from vehiculo import vehiculo
class autobus(vehiculo):
def tarifaAutobus(self):
return float(vehiculo.tarifa(self)) + ((vehiculo.random * 100) * 0.10)
| 20.75 | 78 | 0.692771 | 20 | 166 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.186747 | 166 | 7 | 79 | 23.714286 | 0.807407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
fe08bad30dedbd339c7a5fb59b8aaec0b11b9482 | 82 | py | Python | python/testData/editing/py254.before.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/editing/py254.before.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/editing/py254.before.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z |
class Foo(object):
def foo(bar):
pass
def bar(foo):
pass | 11.714286 | 18 | 0.487805 | 11 | 82 | 3.636364 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.402439 | 82 | 7 | 19 | 11.714286 | 0.816327 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
fe0e8391bdef0eaa38e6df7b2fb9ad7c1c0aec3a | 58 | py | Python | language-learning/python/basics/packages/math.py | imteekay/programming-language-research | a9b05d70a669d789d79e1bd916bcc088958ff9df | [
"MIT"
] | 24 | 2019-05-24T03:22:42.000Z | 2021-09-30T01:04:17.000Z | language-learning/python/basics/packages/math.py | imteekay/programming-language-research | a9b05d70a669d789d79e1bd916bcc088958ff9df | [
"MIT"
] | null | null | null | language-learning/python/basics/packages/math.py | imteekay/programming-language-research | a9b05d70a669d789d79e1bd916bcc088958ff9df | [
"MIT"
] | 3 | 2019-11-22T19:04:23.000Z | 2021-04-15T19:40:47.000Z | import math
print(math.pi)
from math import pi
print(pi)
| 9.666667 | 19 | 0.758621 | 11 | 58 | 4 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 58 | 5 | 20 | 11.6 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
a3b3f986f01c2362c7c544a94de0bc575d51946a | 139 | py | Python | tests/__init__.py | rvhonorato/haddock3 | 84866ecab73a56c20c3e457abfc5077233b311b3 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | rvhonorato/haddock3 | 84866ecab73a56c20c3e457abfc5077233b311b3 | [
"Apache-2.0"
] | 1 | 2021-07-24T15:34:58.000Z | 2021-07-24T15:34:58.000Z | tests/__init__.py | rvhonorato/haddock3 | 84866ecab73a56c20c3e457abfc5077233b311b3 | [
"Apache-2.0"
] | null | null | null | """Test module."""
from pathlib import Path
data_path = Path(__file__).resolve().parents[0]
golden_data = Path(data_path, 'golden_data')
| 19.857143 | 47 | 0.733813 | 20 | 139 | 4.7 | 0.6 | 0.255319 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.107914 | 139 | 6 | 48 | 23.166667 | 0.75 | 0.086331 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a3bf9052999393832c5297eb11bdbcfa0be44c3d | 142 | py | Python | tests/coworks/biz/biz_ms.py | sidneyarcidiacono/coworks | 7f51b83e8699ced991d16a5a43ad19e569b6e814 | [
"MIT"
] | null | null | null | tests/coworks/biz/biz_ms.py | sidneyarcidiacono/coworks | 7f51b83e8699ced991d16a5a43ad19e569b6e814 | [
"MIT"
] | null | null | null | tests/coworks/biz/biz_ms.py | sidneyarcidiacono/coworks | 7f51b83e8699ced991d16a5a43ad19e569b6e814 | [
"MIT"
] | null | null | null | from coworks import BizMicroService, entry
class BizMS(BizMicroService):
@entry
def get(self, name='ok'):
return name, 200
| 15.777778 | 42 | 0.676056 | 17 | 142 | 5.647059 | 0.823529 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0.232394 | 142 | 8 | 43 | 17.75 | 0.853211 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a3d0aa692a77abd8002a19c5cfb0669e51402d03 | 329 | py | Python | jaxrl/agents/__init__.py | HassamSheikh/jaxrl | d0e36b44ce988c53b3f8f03448aba5fcf4c30888 | [
"MIT"
] | 157 | 2021-03-12T04:30:53.000Z | 2021-06-10T11:28:48.000Z | jaxrl/agents/__init__.py | HassamSheikh/jaxrl | d0e36b44ce988c53b3f8f03448aba5fcf4c30888 | [
"MIT"
] | 8 | 2021-02-12T18:38:28.000Z | 2021-02-16T14:03:00.000Z | jaxrl/agents/__init__.py | ikostrikov/jax-sac | f3d924d793bd7e0ba46b24b2092cc2817c7f962f | [
"MIT"
] | 9 | 2021-03-24T02:54:42.000Z | 2021-05-24T07:59:18.000Z | from jaxrl.agents.awac.awac_learner import AWACLearner
from jaxrl.agents.bc.bc_learner import BCLearner
from jaxrl.agents.ddpg.ddpg_learner import DDPGLearner
from jaxrl.agents.drq.drq_learner import DrQLearner
from jaxrl.agents.sac.sac_learner import SACLearner
from jaxrl.agents.sac_v1.sac_v1_learner import SACV1... | 47 | 60 | 0.854103 | 50 | 329 | 5.46 | 0.34 | 0.197802 | 0.32967 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010033 | 0.091185 | 329 | 6 | 61 | 54.833333 | 0.90301 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4a51294a42037eb4d648b4eded5ccfe02fbe921b | 237 | py | Python | hypha/apply/flags/templatetags/flag_tags.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 20 | 2021-04-08T16:38:49.000Z | 2022-02-09T20:05:57.000Z | hypha/apply/flags/templatetags/flag_tags.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 1,098 | 2017-12-15T11:23:03.000Z | 2020-01-24T07:58:07.000Z | hypha/apply/flags/templatetags/flag_tags.py | maxpearl/hypha | e181ebadfb744aab34617bb766e746368d6f2de0 | [
"BSD-3-Clause"
] | 17 | 2020-02-07T14:55:54.000Z | 2021-04-04T19:32:38.000Z | from django import template
register = template.Library()
@register.filter
def flagged_by(submission, user):
return submission.flagged_by(user)
@register.filter
def flagged_staff(submission):
return submission.flagged_staff
| 16.928571 | 38 | 0.78903 | 29 | 237 | 6.310345 | 0.482759 | 0.153005 | 0.185792 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130802 | 237 | 13 | 39 | 18.230769 | 0.88835 | 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 | 0 | 0 | 0 | 5 |
4a6be078df7b0889d6448e300d8050d5b4155722 | 56 | py | Python | justvpn/util.py | Koswu/JustVpn | b09853372cdc986675d063bc90db6312e6a7768c | [
"MIT"
] | 3 | 2019-10-27T15:46:06.000Z | 2021-03-11T04:10:10.000Z | justvpn/util.py | Koswu/JustVpn | b09853372cdc986675d063bc90db6312e6a7768c | [
"MIT"
] | null | null | null | justvpn/util.py | Koswu/JustVpn | b09853372cdc986675d063bc90db6312e6a7768c | [
"MIT"
] | 2 | 2018-06-20T12:52:00.000Z | 2020-10-07T13:31:24.000Z | import re
import os
from urllib.parse import urlparse
| 9.333333 | 33 | 0.803571 | 9 | 56 | 5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 56 | 5 | 34 | 11.2 | 0.978261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4a70d4e5b49317f1ace57ef1098a7e0e3e516b51 | 20 | py | Python | ml/datasets/__init__.py | torfjelde/ml | 6ae3a5543663a7adfe3b6f1c596093c123fa2b88 | [
"MIT"
] | 2 | 2020-01-22T08:37:29.000Z | 2020-03-10T13:08:19.000Z | ml/datasets/__init__.py | torfjelde/ml | 6ae3a5543663a7adfe3b6f1c596093c123fa2b88 | [
"MIT"
] | null | null | null | ml/datasets/__init__.py | torfjelde/ml | 6ae3a5543663a7adfe3b6f1c596093c123fa2b88 | [
"MIT"
] | null | null | null | from . import mnist
| 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 | 0 | 0 | 0 | 5 |
4a74a51ceb6ed8a3e5f4863ad0708a475b0cb68e | 14,059 | py | Python | hallo/test/modules/convert/test_convert_view_repo.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2022-01-27T13:25:01.000Z | 2022-01-27T13:25:01.000Z | hallo/test/modules/convert/test_convert_view_repo.py | joshcoales/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 75 | 2015-09-26T18:07:18.000Z | 2022-01-04T07:15:11.000Z | hallo/test/modules/convert/test_convert_view_repo.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2021-04-10T12:02:47.000Z | 2021-04-10T12:02:47.000Z | import unittest
from datetime import datetime
import hallo.modules.convert.convert_view_repo
from hallo.events import EventMessage
from hallo.test.modules.convert.convert_function_test_base import ConvertFunctionTestBase
class MockMethod:
def __init__(self, response):
self.response = response
sel... | 42.219219 | 111 | 0.652465 | 1,745 | 14,059 | 5.005158 | 0.064183 | 0.073277 | 0.050836 | 0.047401 | 0.793794 | 0.768491 | 0.730021 | 0.727158 | 0.721662 | 0.69281 | 0 | 0.012342 | 0.262323 | 14,059 | 332 | 112 | 42.346386 | 0.829814 | 0.00313 | 0 | 0.403333 | 0 | 0 | 0.087068 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.09 | false | 0 | 0.016667 | 0 | 0.116667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4a8167ba45c87a3fc1b74c0b4067bc1fd3499ccd | 4,216 | py | Python | tests/api/test_serializer.py | Metabaron1/app | 62299828009d4285930c9cb42bbc86daf86fdf5a | [
"MIT"
] | 1 | 2021-10-04T10:25:33.000Z | 2021-10-04T10:25:33.000Z | tests/api/test_serializer.py | Cartache/app | 62299828009d4285930c9cb42bbc86daf86fdf5a | [
"MIT"
] | null | null | null | tests/api/test_serializer.py | Cartache/app | 62299828009d4285930c9cb42bbc86daf86fdf5a | [
"MIT"
] | 2 | 2021-10-04T10:24:48.000Z | 2022-03-17T23:25:34.000Z | from flask import url_for
from app.api.serializer import get_alias_infos_with_pagination_v3
from app.config import PAGE_LIMIT
from app.extensions import db
from app.models import User, ApiKey, Alias, Contact, EmailLog, Mailbox
def test_get_alias_infos_with_pagination_v3(flask_client):
user = User.create(
... | 29.482517 | 96 | 0.684535 | 587 | 4,216 | 4.638842 | 0.141397 | 0.13588 | 0.085935 | 0.112376 | 0.769739 | 0.756519 | 0.709144 | 0.709144 | 0.635329 | 0.635329 | 0 | 0.00965 | 0.213472 | 4,216 | 142 | 97 | 29.690141 | 0.81152 | 0.089421 | 0 | 0.657143 | 0 | 0 | 0.058436 | 0 | 0 | 0 | 0 | 0 | 0.161905 | 1 | 0.066667 | false | 0.066667 | 0.047619 | 0 | 0.114286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
4a8270de899146409e2fdc5d801f38201eeb2341 | 221 | py | Python | tests/core/scheduling/test_listener.py | ymoch/preacher | ae68170d14c72791884e91b20054bd13a79b52d0 | [
"MIT"
] | 3 | 2019-08-01T03:14:49.000Z | 2020-01-31T08:55:22.000Z | tests/core/scheduling/test_listener.py | ymoch/preacher | ae68170d14c72791884e91b20054bd13a79b52d0 | [
"MIT"
] | 353 | 2019-04-14T14:53:28.000Z | 2022-03-11T03:26:08.000Z | tests/core/scheduling/test_listener.py | ymoch/preacher | ae68170d14c72791884e91b20054bd13a79b52d0 | [
"MIT"
] | 1 | 2020-08-01T06:23:08.000Z | 2020-08-01T06:23:08.000Z | from unittest.mock import sentinel
from preacher.core.scheduling.listener import Listener
def test_listener():
listener = Listener()
listener.on_end(sentinel.status)
listener.on_scenario(sentinel.scenario)
| 22.1 | 54 | 0.782805 | 27 | 221 | 6.296296 | 0.555556 | 0.282353 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135747 | 221 | 9 | 55 | 24.555556 | 0.890052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4a9210e69a5b01e157689bfffe2fe1f0d3533460 | 54 | py | Python | Problems/Dynamic Programming/Easy/DivisorGame/divisor_game.py | dolong2110/Algorithm-By-Problems-Python | 31ecc7367aaabdd2b0ac0af7f63ca5796d70c730 | [
"MIT"
] | 1 | 2021-08-16T14:52:05.000Z | 2021-08-16T14:52:05.000Z | Problems/Dynamic Programming/Easy/DivisorGame/divisor_game.py | dolong2110/Algorithm-By-Problems-Python | 31ecc7367aaabdd2b0ac0af7f63ca5796d70c730 | [
"MIT"
] | null | null | null | Problems/Dynamic Programming/Easy/DivisorGame/divisor_game.py | dolong2110/Algorithm-By-Problems-Python | 31ecc7367aaabdd2b0ac0af7f63ca5796d70c730 | [
"MIT"
] | null | null | null | def divisorGame(n: int) -> bool:
return n % 2 == 0 | 27 | 32 | 0.574074 | 9 | 54 | 3.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.259259 | 54 | 2 | 33 | 27 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
4aa7ed8676ed50488b6e338368153702c796410c | 181 | py | Python | authentication/socialaccount/providers/foursquare/urls.py | vo0doO/pydj-persweb | efcd6b7090230f7c0b9ec056008f6d1d9e876ed9 | [
"CC0-1.0"
] | null | null | null | authentication/socialaccount/providers/foursquare/urls.py | vo0doO/pydj-persweb | efcd6b7090230f7c0b9ec056008f6d1d9e876ed9 | [
"CC0-1.0"
] | 4 | 2020-05-06T17:22:00.000Z | 2021-12-13T20:43:30.000Z | authentication/socialaccount/providers/foursquare/urls.py | vo0doO/pydj-persweb | efcd6b7090230f7c0b9ec056008f6d1d9e876ed9 | [
"CC0-1.0"
] | null | null | null | from authentication.socialaccount.providers.oauth2.urls import default_urlpatterns
from .provider import FoursquareProvider
urlpatterns = default_urlpatterns(FoursquareProvider)
| 25.857143 | 82 | 0.878453 | 17 | 181 | 9.235294 | 0.647059 | 0.229299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005988 | 0.077348 | 181 | 6 | 83 | 30.166667 | 0.934132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
434f72393e2b00d39e15d73b93a0ca056032f388 | 1,308 | py | Python | networking_cisco/services/trunk/trunkstubs.py | Tehsmash/networking-cisco | fdbd79a832fe090f3c4c7bd7a4f0ec0c349d4d16 | [
"Apache-2.0"
] | 1 | 2019-01-19T09:12:49.000Z | 2019-01-19T09:12:49.000Z | networking_cisco/services/trunk/trunkstubs.py | Tehsmash/networking-cisco | fdbd79a832fe090f3c4c7bd7a4f0ec0c349d4d16 | [
"Apache-2.0"
] | null | null | null | networking_cisco/services/trunk/trunkstubs.py | Tehsmash/networking-cisco | fdbd79a832fe090f3c4c7bd7a4f0ec0c349d4d16 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2017 Cisco Systems, 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 r... | 27.25 | 78 | 0.701835 | 173 | 1,308 | 5.213873 | 0.66474 | 0.066519 | 0.066519 | 0.035477 | 0.086475 | 0.086475 | 0.086475 | 0 | 0 | 0 | 0 | 0.007813 | 0.217125 | 1,308 | 47 | 79 | 27.829787 | 0.873047 | 0.571865 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 1 | 0.210526 | false | 0.105263 | 0 | 0.105263 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
4372e2b7c4ea6a67a98506da992a2f14e14d02a0 | 138,825 | py | Python | sdk/python/pulumi_azure_native/servicefabric/v20210701preview/_inputs.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/servicefabric/v20210701preview/_inputs.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/servicefabric/v20210701preview/_inputs.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | 49.474341 | 573 | 0.700688 | 16,488 | 138,825 | 5.7164 | 0.049551 | 0.083096 | 0.04193 | 0.030641 | 0.865679 | 0.780822 | 0.71851 | 0.657694 | 0.626034 | 0.58698 | 0 | 0.002317 | 0.207275 | 138,825 | 2,805 | 574 | 49.491979 | 0.85413 | 0.360094 | 0 | 0.447154 | 1 | 0 | 0.178911 | 0.107393 | 0 | 0 | 0 | 0 | 0 | 1 | 0.215134 | false | 0 | 0.003752 | 0 | 0.338962 | 0.010632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4389cc3b45947e39f60caa0224836ac24c915691 | 151 | py | Python | python/testData/inspections/ArgumentEqualDefault.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/ArgumentEqualDefault.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/ArgumentEqualDefault.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo(a, b = 345, c = 1):
pass
#PY-3261
foo(1,
<weak_warning descr="Argument equals to default parameter value">345<caret></weak_warning>, c=22) | 25.166667 | 97 | 0.688742 | 27 | 151 | 3.777778 | 0.777778 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 0.152318 | 151 | 6 | 97 | 25.166667 | 0.6875 | 0.046358 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.25 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
43a144e028a2c0bad1e8500dfeae31d2de0a7f63 | 93 | py | Python | wiki/admin.py | duplxey/NForum | 990215e5a841ac054fd3c0a167dee37298a70fb8 | [
"MIT"
] | 7 | 2019-11-12T14:01:17.000Z | 2022-01-29T19:17:09.000Z | wiki/admin.py | duplxey/NForum | 990215e5a841ac054fd3c0a167dee37298a70fb8 | [
"MIT"
] | 4 | 2019-12-08T10:03:21.000Z | 2020-04-07T20:27:53.000Z | wiki/admin.py | duplxey/NForum | 990215e5a841ac054fd3c0a167dee37298a70fb8 | [
"MIT"
] | 1 | 2022-01-29T13:44:24.000Z | 2022-01-29T13:44:24.000Z | from django.contrib import admin
from .models import WikiPage
admin.site.register(WikiPage)
| 18.6 | 32 | 0.827957 | 13 | 93 | 5.923077 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 93 | 4 | 33 | 23.25 | 0.927711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
43b74e4727dbf39f89de340422cbf7dc8c64ee25 | 8,873 | py | Python | tests/verifiers_tests/random_tests.py | nathzi1505/DNNV | 16c6e6ecb681ce66196f9274d4a43eede8686319 | [
"MIT"
] | 1 | 2021-07-07T11:06:14.000Z | 2021-07-07T11:06:14.000Z | tests/verifiers_tests/random_tests.py | nathzi1505/DNNV | 16c6e6ecb681ce66196f9274d4a43eede8686319 | [
"MIT"
] | null | null | null | tests/verifiers_tests/random_tests.py | nathzi1505/DNNV | 16c6e6ecb681ce66196f9274d4a43eede8686319 | [
"MIT"
] | null | null | null | import os
import unittest
from dnnv import nn
from dnnv import properties
from dnnv.properties import Symbol
from dnnv.properties.context import get_context
from dnnv.verifiers import SAT, UNSAT, UNKNOWN
from dnnv.verifiers.bab import BaB
from dnnv.verifiers.eran import ERAN
from dnnv.verifiers.marabou import Marabou... | 38.916667 | 88 | 0.509523 | 916 | 8,873 | 4.766376 | 0.111354 | 0.049473 | 0.038937 | 0.043976 | 0.733165 | 0.733165 | 0.733165 | 0.725836 | 0.700641 | 0.700641 | 0 | 0.019338 | 0.393892 | 8,873 | 227 | 89 | 39.088106 | 0.792488 | 0.014764 | 0 | 0.640394 | 0 | 0 | 0.072713 | 0.005267 | 0 | 0 | 0 | 0.004405 | 0.004926 | 1 | 0.049261 | false | 0 | 0.083744 | 0 | 0.147783 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
43ba26eb26f2bb09ccbeffa01aa3b973ab10ac95 | 83 | py | Python | pipen/cli/__init__.py | sthagen/pwwang-pipen | 2d32105511222cff2287e985708e80eba56276c7 | [
"Apache-2.0"
] | 41 | 2017-08-30T10:26:37.000Z | 2020-10-14T01:37:52.000Z | pipen/cli/__init__.py | sthagen/pipen | d9d95288bc895ccf3b492c591c9aca8189c67f4a | [
"Apache-2.0"
] | 39 | 2017-09-22T18:40:17.000Z | 2020-11-04T06:49:42.000Z | pipen/cli/__init__.py | sthagen/pipen | d9d95288bc895ccf3b492c591c9aca8189c67f4a | [
"Apache-2.0"
] | 7 | 2018-07-02T05:57:16.000Z | 2019-12-23T07:43:47.000Z | """Provide CLI for pipen"""
from ._hooks import CLIPlugin
from ._main import main
| 16.6 | 29 | 0.746988 | 12 | 83 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 4 | 30 | 20.75 | 0.857143 | 0.253012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
43d647a7e01d9d8f028d460f8f32445d891c8817 | 90 | py | Python | src/config/__init__.py | colabois/PDBB | e71ffd0b1497bbddb365b3e7db9de8a14f7912a1 | [
"MIT"
] | 1 | 2021-05-13T20:33:14.000Z | 2021-05-13T20:33:14.000Z | src/config/__init__.py | colabois/PDBB | e71ffd0b1497bbddb365b3e7db9de8a14f7912a1 | [
"MIT"
] | null | null | null | src/config/__init__.py | colabois/PDBB | e71ffd0b1497bbddb365b3e7db9de8a14f7912a1 | [
"MIT"
] | null | null | null | from . import config_types
from .base import Config
__all__ = ["Config", "config_types"]
| 18 | 36 | 0.744444 | 12 | 90 | 5.083333 | 0.5 | 0.393443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 90 | 4 | 37 | 22.5 | 0.792208 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
43d65588a09bb93a7741ea7eeb118502e22d8f55 | 73 | py | Python | model/__init__.py | npurson/pytorch-lightning-template | 6a7972242a8b287f861e6a0139fbf38cc954b061 | [
"MIT"
] | 3 | 2022-03-03T02:27:06.000Z | 2022-03-31T08:14:26.000Z | model/__init__.py | npurson/pytorch-lightning-template | 6a7972242a8b287f861e6a0139fbf38cc954b061 | [
"MIT"
] | null | null | null | model/__init__.py | npurson/pytorch-lightning-template | 6a7972242a8b287f861e6a0139fbf38cc954b061 | [
"MIT"
] | null | null | null | from .interface import PLModelInterface
from torchvision.models import *
| 24.333333 | 39 | 0.849315 | 8 | 73 | 7.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 2 | 40 | 36.5 | 0.953846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
78e67c60e22b960df7e99c62433870dd36bcf315 | 172 | py | Python | api_crud/views.py | mainaerick/test-gms | 0e847fa6f40a1b3308f5b66383c3ab61524198fe | [
"MIT"
] | null | null | null | api_crud/views.py | mainaerick/test-gms | 0e847fa6f40a1b3308f5b66383c3ab61524198fe | [
"MIT"
] | null | null | null | api_crud/views.py | mainaerick/test-gms | 0e847fa6f40a1b3308f5b66383c3ab61524198fe | [
"MIT"
] | null | null | null | from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework import status
from django.shortcuts import render, redirect
| 34.4 | 46 | 0.877907 | 24 | 172 | 6.125 | 0.541667 | 0.163265 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098837 | 172 | 4 | 47 | 43 | 0.948387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
78fef8c0ee46b120fdd59174c684ccda0d436e69 | 64 | py | Python | nu/v1/Membranes/Leakages/__init__.py | bullgom/pysnn2 | dad5ae26b029afd5c5bf76fe141249b0f7b7a36c | [
"MIT"
] | null | null | null | nu/v1/Membranes/Leakages/__init__.py | bullgom/pysnn2 | dad5ae26b029afd5c5bf76fe141249b0f7b7a36c | [
"MIT"
] | null | null | null | nu/v1/Membranes/Leakages/__init__.py | bullgom/pysnn2 | dad5ae26b029afd5c5bf76fe141249b0f7b7a36c | [
"MIT"
] | null | null | null | from .Proportional import Proportional
from .Fixed import Fixed
| 21.333333 | 38 | 0.84375 | 8 | 64 | 6.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 39 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
604a30a7267821a1fa85202bf0d45dbd070a2ae3 | 77 | py | Python | tests/imports.py | JessaTehCrow/lynie | 5cdc58f2782de2a7009074774a40bf08c719f171 | [
"MIT"
] | 4 | 2021-09-28T15:16:43.000Z | 2021-11-28T12:37:32.000Z | tests/imports.py | JessaTehCrow/lynie | 5cdc58f2782de2a7009074774a40bf08c719f171 | [
"MIT"
] | 1 | 2021-11-28T12:37:24.000Z | 2021-12-01T01:36:31.000Z | tests/imports.py | JessaTehCrow/lynie | 5cdc58f2782de2a7009074774a40bf08c719f171 | [
"MIT"
] | null | null | null | import random as rand
from string import *
print(rand.choice(ascii_letters)) | 19.25 | 33 | 0.805195 | 12 | 77 | 5.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 77 | 4 | 33 | 19.25 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
60619793f0059b3bdf45cb04f867d1c89006c15b | 169 | py | Python | lgblearn/core/plot/plot_api.py | longgb246/lgblearn | b8275a12df98a2a734e5e38f748d9529b0e8d857 | [
"MIT"
] | null | null | null | lgblearn/core/plot/plot_api.py | longgb246/lgblearn | b8275a12df98a2a734e5e38f748d9529b0e8d857 | [
"MIT"
] | null | null | null | lgblearn/core/plot/plot_api.py | longgb246/lgblearn | b8275a12df98a2a734e5e38f748d9529b0e8d857 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
# @Author : 'longguangbin'
# @Contact : lgb453476610@163.com
# @Date : 2018/11/27
"""
Usage Of 'plot_api' :
"""
from simple_plot import *
| 16.9 | 33 | 0.597633 | 21 | 169 | 4.714286 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 0.201183 | 169 | 9 | 34 | 18.777778 | 0.577778 | 0.733728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
60620bb1e385132947d777c0f95f9276b4a4733c | 152 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/constants.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/constants.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/constants.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | """Backward-compatibility module to provide core-GL constant names"""
from OpenGL.raw.GL._types import *
from OpenGL.arrays._arrayconstants import *
| 38 | 70 | 0.782895 | 20 | 152 | 5.85 | 0.8 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 152 | 3 | 71 | 50.666667 | 0.873134 | 0.414474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
608c8bd17b5d21078e0686481e94e94a86348dd5 | 1,584 | py | Python | figureS2.py | CINPLA/edNEGmodel_analysis | be8854c563376a14ee7d15e51d98d0d82be96a35 | [
"MIT"
] | null | null | null | figureS2.py | CINPLA/edNEGmodel_analysis | be8854c563376a14ee7d15e51d98d0d82be96a35 | [
"MIT"
] | null | null | null | figureS2.py | CINPLA/edNEGmodel_analysis | be8854c563376a14ee7d15e51d98d0d82be96a35 | [
"MIT"
] | null | null | null | import numpy as np
from scipy.ndimage import uniform_filter1d
from scipy.interpolate import interp1d
from functions.currents import *
filename = 'data/figure4.npz'
data = np.load(filename)
t = data['t']
t_fig4, av_I_cap_sn_fig4, av_I_leak_sn_fig4, av_I_pump_sn_fig4, av_I_Na_sn_fig4, av_I_DR_sn_fig4, av_I_stim_sn_fig4... | 66 | 193 | 0.844697 | 376 | 1,584 | 2.87234 | 0.119681 | 0.333333 | 0.388889 | 0.141667 | 0.721296 | 0.72037 | 0.719444 | 0.689815 | 0.675926 | 0.621296 | 0 | 0.052921 | 0.081439 | 1,584 | 23 | 194 | 68.869565 | 0.689347 | 0 | 0 | 0 | 0 | 0 | 0.018939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6099aa0bc51a5ec5c634d70191639b969bf29de5 | 67 | py | Python | GanApp/static/vendor/classes/Image.py | Hecodes98/ProyectosBlanda | b2400cbc95063600c351298b3b6731cebca0c132 | [
"MIT"
] | null | null | null | GanApp/static/vendor/classes/Image.py | Hecodes98/ProyectosBlanda | b2400cbc95063600c351298b3b6731cebca0c132 | [
"MIT"
] | null | null | null | GanApp/static/vendor/classes/Image.py | Hecodes98/ProyectosBlanda | b2400cbc95063600c351298b3b6731cebca0c132 | [
"MIT"
] | null | null | null | class Image:
def __init__(self, content):
self.content = content | 22.333333 | 29 | 0.746269 | 9 | 67 | 5.111111 | 0.666667 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 67 | 3 | 30 | 22.333333 | 0.807018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
60fd1a95902c63a8ba3c07601dca4b61e95c40df | 495 | py | Python | odsparsator/__init__.py | jdum/odsparsator | cf51a0dafbaa03438cdea392a935e4f717b29238 | [
"MIT"
] | 1 | 2021-05-03T20:33:01.000Z | 2021-05-03T20:33:01.000Z | odsparsator/__init__.py | jdum/odsparsator | cf51a0dafbaa03438cdea392a935e4f717b29238 | [
"MIT"
] | null | null | null | odsparsator/__init__.py | jdum/odsparsator | cf51a0dafbaa03438cdea392a935e4f717b29238 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Copyright 2021 Jérôme Dumonteil
# Licence: MIT
# Authors: jerome.dumonteil@gmail.com
"""Generate a json file from an OpenDocument Format .ods file.
When used as a script, odsparsator parses an .ods file and generates a json
file using the odfdo library.
When used as a library, odsparsator pars... | 29.117647 | 76 | 0.779798 | 78 | 495 | 4.923077 | 0.602564 | 0.054688 | 0.046875 | 0.057292 | 0.151042 | 0.151042 | 0 | 0 | 0 | 0 | 0 | 0.009592 | 0.157576 | 495 | 16 | 77 | 30.9375 | 0.911271 | 0.876768 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
880e48f24239e321330335dc7dcbab8909739406 | 234 | py | Python | tributary/streaming/calculations/__init__.py | ceball/tributary | 5e30f90d1a5cc176c0f231f525d9dc5a81353925 | [
"Apache-2.0"
] | null | null | null | tributary/streaming/calculations/__init__.py | ceball/tributary | 5e30f90d1a5cc176c0f231f525d9dc5a81353925 | [
"Apache-2.0"
] | null | null | null | tributary/streaming/calculations/__init__.py | ceball/tributary | 5e30f90d1a5cc176c0f231f525d9dc5a81353925 | [
"Apache-2.0"
] | null | null | null | from .ops import * # noqa: F401, F403
from .rolling import Count as RollingCount, Sum as RollingSum, Min as RollingMin, Max as RollingMax, Average as RollingAverage, SMA, EMA, Last as RollingLast, First as RollingFirst # noqa: F401
| 78 | 194 | 0.764957 | 34 | 234 | 5.264706 | 0.705882 | 0.089385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0.166667 | 234 | 2 | 195 | 117 | 0.871795 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
714cdc8c5cdb5bd57a2138aa6f1db8295979d420 | 79 | py | Python | app/config/dev.py | Gerschtli/betting-game-backend | 4fb38e5316ea6509b4468f8ca11de2f899366abb | [
"MIT"
] | null | null | null | app/config/dev.py | Gerschtli/betting-game-backend | 4fb38e5316ea6509b4468f8ca11de2f899366abb | [
"MIT"
] | 1 | 2021-11-04T16:42:26.000Z | 2021-11-04T16:42:26.000Z | app/config/dev.py | Gerschtli/betting-game-backend | 4fb38e5316ea6509b4468f8ca11de2f899366abb | [
"MIT"
] | null | null | null | SQLALCHEMY_DATABASE_URI = 'mysql://betting_game:testpw@localhost/betting_game'
| 39.5 | 78 | 0.848101 | 10 | 79 | 6.3 | 0.8 | 0.349206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037975 | 79 | 1 | 79 | 79 | 0.828947 | 0 | 0 | 0 | 0 | 0 | 0.632911 | 0.632911 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7177ab4ae1d224a1132774ca583b38399e40cd4d | 144 | py | Python | Modulo-03/ex112/ex112.py | Matheus-Henrique-Burey/Curso-de-Python | 448aebaab96527affa1e45897a662bb0407c11c6 | [
"MIT"
] | null | null | null | Modulo-03/ex112/ex112.py | Matheus-Henrique-Burey/Curso-de-Python | 448aebaab96527affa1e45897a662bb0407c11c6 | [
"MIT"
] | null | null | null | Modulo-03/ex112/ex112.py | Matheus-Henrique-Burey/Curso-de-Python | 448aebaab96527affa1e45897a662bb0407c11c6 | [
"MIT"
] | null | null | null | from utilidadescev import moeda
from utilidadescev import dados
valor = dados.leia_dinheiro('Digite o valor: R$ ')
moeda.resumo(valor, 30, 30)
| 24 | 50 | 0.777778 | 21 | 144 | 5.285714 | 0.619048 | 0.306306 | 0.414414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032 | 0.131944 | 144 | 5 | 51 | 28.8 | 0.856 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
71a8cf2bd378e4b7b798d1cf80909a0a0b8ff0d4 | 39 | py | Python | errors.py | dev-easyshares/mighty | a6cf473fb8cfbf5b92db68c7b068fc8ae2911b8b | [
"MIT"
] | null | null | null | errors.py | dev-easyshares/mighty | a6cf473fb8cfbf5b92db68c7b068fc8ae2911b8b | [
"MIT"
] | 1 | 2022-03-12T00:57:37.000Z | 2022-03-12T00:57:37.000Z | errors.py | dev-easyshares/mighty | a6cf473fb8cfbf5b92db68c7b068fc8ae2911b8b | [
"MIT"
] | null | null | null | class BackendError(Exception):
pass | 19.5 | 30 | 0.769231 | 4 | 39 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 2 | 31 | 19.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
71b97885a3c513c814923366708ad5599910dda4 | 111 | py | Python | dev.py | cafebabel/backlog | 8792eb9a18b6f926bcd7b12b986dfa06e3341bdd | [
"MIT"
] | 4 | 2017-10-10T14:08:43.000Z | 2020-01-26T02:55:50.000Z | dev.py | cafebabel/backlog | 8792eb9a18b6f926bcd7b12b986dfa06e3341bdd | [
"MIT"
] | 409 | 2017-10-10T14:45:11.000Z | 2018-06-28T10:28:06.000Z | dev.py | scopyleft/backlog | 8792eb9a18b6f926bcd7b12b986dfa06e3341bdd | [
"MIT"
] | 1 | 2017-11-09T11:10:54.000Z | 2017-11-09T11:10:54.000Z | from cafebabel import create_app, register_cli
app = create_app('config.DevelopmentConfig')
register_cli(app)
| 22.2 | 46 | 0.828829 | 15 | 111 | 5.866667 | 0.6 | 0.204545 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 111 | 4 | 47 | 27.75 | 0.871287 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
71bcb9adeb45110e66776f9a4eb120a2a69fdb15 | 28 | py | Python | JonSmells/python/test.py | vosslerbr/vscode-snippets | a3893e9a20eee062f49e7eeeee84fdcd0feff531 | [
"MIT"
] | 1 | 2021-08-21T20:30:42.000Z | 2021-08-21T20:30:42.000Z | JonSmells/python/test.py | vosslerbr/vscode-snippets | a3893e9a20eee062f49e7eeeee84fdcd0feff531 | [
"MIT"
] | null | null | null | JonSmells/python/test.py | vosslerbr/vscode-snippets | a3893e9a20eee062f49e7eeeee84fdcd0feff531 | [
"MIT"
] | 1 | 2021-08-21T20:30:44.000Z | 2021-08-21T20:30:44.000Z | # ! TEST FILE, DO NOT DELETE | 28 | 28 | 0.678571 | 5 | 28 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 1 | 28 | 28 | 0.863636 | 0.928571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
71d694a862e5c596032f65043d5adad47356c0a9 | 415 | py | Python | moshmosh/__init__.py | prendradjaja/moshmosh | d252bb24201c7ade6eb059794916b28cb3e9043e | [
"MIT"
] | 114 | 2019-07-12T19:00:20.000Z | 2021-12-02T17:28:36.000Z | moshmosh/__init__.py | prendradjaja/moshmosh | d252bb24201c7ade6eb059794916b28cb3e9043e | [
"MIT"
] | 19 | 2019-07-12T18:34:59.000Z | 2022-01-01T03:37:03.000Z | moshmosh/__init__.py | prendradjaja/moshmosh | d252bb24201c7ade6eb059794916b28cb3e9043e | [
"MIT"
] | 7 | 2019-07-14T23:15:44.000Z | 2021-12-27T21:15:17.000Z | from .ast_compat import ast
from .extension_register import *
from .extensions import template_python
from .extensions import lazy_import
import warnings
with warnings.catch_warnings():
warnings.simplefilter("ignore", category=SyntaxWarning)
from .extensions import pattern_matching
from .extensions impo... | 34.583333 | 60 | 0.814458 | 49 | 415 | 6.734694 | 0.489796 | 0.254545 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137349 | 415 | 11 | 61 | 37.727273 | 0.921788 | 0 | 0 | 0 | 0 | 0 | 0.014851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.818182 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
71dd5f9b44f9c55e8f61b0b7036ccee68f94d57a | 56 | py | Python | imagepy/widgets/histogram/histogram_wgt.py | Pad0y/imagepy | 23f41b64ade02f94b566b0d23a4b6459c1a1578d | [
"BSD-4-Clause"
] | null | null | null | imagepy/widgets/histogram/histogram_wgt.py | Pad0y/imagepy | 23f41b64ade02f94b566b0d23a4b6459c1a1578d | [
"BSD-4-Clause"
] | null | null | null | imagepy/widgets/histogram/histogram_wgt.py | Pad0y/imagepy | 23f41b64ade02f94b566b0d23a4b6459c1a1578d | [
"BSD-4-Clause"
] | null | null | null | from sciwx.plugins.histogram import Histogram as Plugin
| 28 | 55 | 0.857143 | 8 | 56 | 6 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 56 | 1 | 56 | 56 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e0e666b16f856d6d9f53ba6bdc096a445137a8b5 | 264 | py | Python | status/admin.py | AhmedElmawary/erp | c998787c62194e26e10e3cbc61e35935e901e56d | [
"MIT"
] | null | null | null | status/admin.py | AhmedElmawary/erp | c998787c62194e26e10e3cbc61e35935e901e56d | [
"MIT"
] | null | null | null | status/admin.py | AhmedElmawary/erp | c998787c62194e26e10e3cbc61e35935e901e56d | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.utils.translation import ugettext_lazy as _
from .models import (Status, Option, Variation, Type)
# admin.site.register(Status)
# admin.site.register(Option)
# admin.site.register(Variation)
# admin.site.register(Type) | 33 | 55 | 0.795455 | 36 | 264 | 5.777778 | 0.472222 | 0.173077 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094697 | 264 | 8 | 56 | 33 | 0.870293 | 0.424242 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1cb0749e3ba83140a9af740f04b076208db0d6a6 | 2,553 | py | Python | FlatbufSignatureLibrary/Pattern.py | dfraze/sigkit | 1f8e4c5849aa09e216d04d2e2e2b2fe493567fe0 | [
"MIT"
] | 30 | 2020-03-11T21:25:37.000Z | 2021-10-13T20:47:14.000Z | FlatbufSignatureLibrary/Pattern.py | dfraze/sigkit | 1f8e4c5849aa09e216d04d2e2e2b2fe493567fe0 | [
"MIT"
] | 8 | 2020-02-28T00:46:53.000Z | 2022-03-16T02:44:50.000Z | FlatbufSignatureLibrary/Pattern.py | dfraze/sigkit | 1f8e4c5849aa09e216d04d2e2e2b2fe493567fe0 | [
"MIT"
] | 3 | 2020-08-10T21:17:06.000Z | 2022-02-01T15:16:13.000Z | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: FlatbufSignatureLibrary
import flatbuffers
class Pattern(object):
__slots__ = ['_tab']
@classmethod
def GetRootAsPattern(cls, buf, offset):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
... | 35.957746 | 130 | 0.678026 | 311 | 2,553 | 5.424437 | 0.22508 | 0.062241 | 0.182573 | 0.207469 | 0.621221 | 0.615293 | 0.566686 | 0.566686 | 0.566686 | 0.505039 | 0 | 0.016492 | 0.216216 | 2,553 | 70 | 131 | 36.471429 | 0.826587 | 0.061496 | 0 | 0.530612 | 1 | 0 | 0.001676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.020408 | 0.061224 | 0.612245 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1cd1fd0b49623e51375cb9915fb07cc4d7b95b08 | 60 | py | Python | tests/set_path.py | Systemac/discord_astro_bot | 5164503b70aed800f940cd84df434d47095e25a9 | [
"MIT"
] | 3 | 2019-05-19T02:59:46.000Z | 2020-12-12T18:17:24.000Z | tests/set_path.py | Systemac/discord_astro_bot | 5164503b70aed800f940cd84df434d47095e25a9 | [
"MIT"
] | 1 | 2020-07-13T19:31:25.000Z | 2020-07-13T22:02:58.000Z | tests/set_path.py | Systemac/discord_astro_bot | 5164503b70aed800f940cd84df434d47095e25a9 | [
"MIT"
] | 2 | 2019-10-29T09:10:52.000Z | 2022-01-29T17:54:35.000Z | import sys
sys.path.append('dastro_bot/_default_settings')
| 15 | 47 | 0.816667 | 9 | 60 | 5.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 60 | 3 | 48 | 20 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.466667 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1cd7e39169bdc32d3364b5564614cb2f144d7b50 | 266 | py | Python | course-2:combining-building-blocks/subject-2:functions/topic-5:Higher-Order Functions/lesson-2:Functions as arguments.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | null | null | null | course-2:combining-building-blocks/subject-2:functions/topic-5:Higher-Order Functions/lesson-2:Functions as arguments.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | null | null | null | course-2:combining-building-blocks/subject-2:functions/topic-5:Higher-Order Functions/lesson-2:Functions as arguments.py | regnart-tech-club/python | 069df070059de662d4104de8192e45407a7e94ce | [
"Apache-2.0"
] | 1 | 2016-04-03T00:53:37.000Z | 2016-04-03T00:53:37.000Z | def do_stuff(fn, lhs, rhs):
return fn(lhs, rhs)
def add(lhs, rhs):
return lhs + rhs
def multiply(lhs, rhs):
return lhs * rhs
def exponent(lhs, rhs):
return lhs ** rhs
print(do_stuff(add, 2, 3))
print(do_stuff(multiply, 2, 3))
print(do_stuff(exponent, 2, 3))
| 16.625 | 31 | 0.672932 | 49 | 266 | 3.571429 | 0.265306 | 0.274286 | 0.274286 | 0.257143 | 0.502857 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0.027149 | 0.169173 | 266 | 15 | 32 | 17.733333 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.363636 | 0.727273 | 0.272727 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
08fe8ca56511b4058c753af76243d8290f2bfa19 | 53 | py | Python | mne/datasets/hf_sef/__init__.py | fmamashli/mne-python | 52f064415e7c9fa8fe243d22108dcdf3d86505b9 | [
"BSD-3-Clause"
] | 1,953 | 2015-01-17T20:33:46.000Z | 2022-03-30T04:36:34.000Z | mne/datasets/hf_sef/__init__.py | fmamashli/mne-python | 52f064415e7c9fa8fe243d22108dcdf3d86505b9 | [
"BSD-3-Clause"
] | 8,490 | 2015-01-01T13:04:18.000Z | 2022-03-31T23:02:08.000Z | mne/datasets/hf_sef/__init__.py | fmamashli/mne-python | 52f064415e7c9fa8fe243d22108dcdf3d86505b9 | [
"BSD-3-Clause"
] | 1,130 | 2015-01-08T22:39:27.000Z | 2022-03-30T21:44:26.000Z | """HF-SEF dataset."""
from .hf_sef import data_path
| 13.25 | 29 | 0.698113 | 9 | 53 | 3.888889 | 0.777778 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 3 | 30 | 17.666667 | 0.76087 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1c083ee8e064fe4ba0b5540528998288f160d2c1 | 271 | py | Python | ambra_sdk/service/entrypoints/qctask.py | dicomgrid/sdk-python | bb12eed311bad73dfb863917df4dc5cbcd91a447 | [
"Apache-2.0"
] | 9 | 2020-04-20T23:45:44.000Z | 2021-04-18T11:22:17.000Z | ambra_sdk/service/entrypoints/qctask.py | dicomgrid/sdk-python | bb12eed311bad73dfb863917df4dc5cbcd91a447 | [
"Apache-2.0"
] | 13 | 2020-02-08T16:15:05.000Z | 2021-09-13T22:55:28.000Z | ambra_sdk/service/entrypoints/qctask.py | dicomgrid/sdk-python | bb12eed311bad73dfb863917df4dc5cbcd91a447 | [
"Apache-2.0"
] | 6 | 2020-03-25T17:47:45.000Z | 2021-04-18T11:22:19.000Z | from ambra_sdk.service.entrypoints.generated.qctask import \
AsyncQctask as GAsyncQctask
from ambra_sdk.service.entrypoints.generated.qctask import Qctask as GQctask
class Qctask(GQctask):
"""Qctask."""
class AsyncQctask(GAsyncQctask):
"""AsyncQctask."""
| 22.583333 | 76 | 0.763838 | 30 | 271 | 6.833333 | 0.433333 | 0.087805 | 0.117073 | 0.185366 | 0.497561 | 0.497561 | 0.497561 | 0.497561 | 0 | 0 | 0 | 0 | 0.129151 | 271 | 11 | 77 | 24.636364 | 0.868644 | 0.073801 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1c0e817fc0ee1fd35c76cb6fa2a1819c108380ba | 35 | py | Python | stack/__init__.py | carlaTV/annotation_postprocessor | 86d59993cd02720fa07eba8c52356a0fa5855959 | [
"MIT"
] | null | null | null | stack/__init__.py | carlaTV/annotation_postprocessor | 86d59993cd02720fa07eba8c52356a0fa5855959 | [
"MIT"
] | null | null | null | stack/__init__.py | carlaTV/annotation_postprocessor | 86d59993cd02720fa07eba8c52356a0fa5855959 | [
"MIT"
] | null | null | null | from .stack import Stack
del stack
| 11.666667 | 24 | 0.8 | 6 | 35 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 2 | 25 | 17.5 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1c10803a76e37de0b2d0a60ee79145b9543b0dce | 146 | py | Python | qsy/__init__.py | soudy/qsy | 928d40d735f76fe81f39e90f7cb3c6154d366690 | [
"MIT"
] | 26 | 2019-05-02T13:15:09.000Z | 2022-01-21T23:35:46.000Z | qsy/__init__.py | soudy/qsy | 928d40d735f76fe81f39e90f7cb3c6154d366690 | [
"MIT"
] | 1 | 2019-05-02T13:46:15.000Z | 2019-05-02T22:30:51.000Z | qsy/__init__.py | soudy/qsy | 928d40d735f76fe81f39e90f7cb3c6154d366690 | [
"MIT"
] | 1 | 2019-05-26T03:43:52.000Z | 2019-05-26T03:43:52.000Z | from .quantum_register import QuantumRegister
from .classical_register import ClassicalRegister
import qsy.gates as gates
__version__ = '0.4.4'
| 20.857143 | 49 | 0.828767 | 19 | 146 | 6.052632 | 0.684211 | 0.243478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.116438 | 146 | 6 | 50 | 24.333333 | 0.868217 | 0 | 0 | 0 | 0 | 0 | 0.034247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1c1b8cbbb9911756c0be8813675035cd093be12a | 64 | py | Python | knx_stack/decode/knxnet_ip/core/connectionstate/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | 2 | 2021-07-28T07:42:28.000Z | 2022-01-25T18:56:05.000Z | knx_stack/decode/knxnet_ip/core/connectionstate/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | 6 | 2021-07-25T21:36:01.000Z | 2022-02-20T21:11:31.000Z | knx_stack/decode/knxnet_ip/core/connectionstate/__init__.py | majamassarini/knx-stack | 11a9baac6b7600649b5fbca43c93b200b23676b4 | [
"MIT"
] | null | null | null | from knx_stack.decode.knxnet_ip.core.connectionstate import res
| 32 | 63 | 0.875 | 10 | 64 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 64 | 1 | 64 | 64 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1c2dfd57a1efc1a0c1debe4d4a7acaa87383ef5d | 61 | py | Python | auth_main/__init__.py | ajskrilla/PAS_pw_check | 056b09e2975b7e1d00c81180d4bdd71bfac91b4d | [
"Apache-2.0"
] | null | null | null | auth_main/__init__.py | ajskrilla/PAS_pw_check | 056b09e2975b7e1d00c81180d4bdd71bfac91b4d | [
"Apache-2.0"
] | null | null | null | auth_main/__init__.py | ajskrilla/PAS_pw_check | 056b09e2975b7e1d00c81180d4bdd71bfac91b4d | [
"Apache-2.0"
] | null | null | null | #from auth import saveConfig
#from auth_check import sec_test | 30.5 | 32 | 0.852459 | 10 | 61 | 5 | 0.7 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 2 | 32 | 30.5 | 0.925926 | 0.95082 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
98e19749b8d68e7877342a0c1770df0a7cb14482 | 112 | py | Python | RPiserver/scripts/alarm01.py | Chathura-Rathnayake/SoteriaX-RaspberryPi | 292797a40c0ef3593bd2b3ea200d5664b5d2c3c6 | [
"MIT"
] | null | null | null | RPiserver/scripts/alarm01.py | Chathura-Rathnayake/SoteriaX-RaspberryPi | 292797a40c0ef3593bd2b3ea200d5664b5d2c3c6 | [
"MIT"
] | null | null | null | RPiserver/scripts/alarm01.py | Chathura-Rathnayake/SoteriaX-RaspberryPi | 292797a40c0ef3593bd2b3ea200d5664b5d2c3c6 | [
"MIT"
] | null | null | null | import os
os.system('mpg321 /home/pi/RPiserver/alarms/1.mp3')
print("Alarm01 played successfully")
# play sound
| 22.4 | 51 | 0.767857 | 17 | 112 | 5.058824 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068627 | 0.089286 | 112 | 4 | 52 | 28 | 0.77451 | 0.089286 | 0 | 0 | 0 | 0 | 0.65 | 0.31 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
98f5f59c22db6900ada62abb757f90b99148798a | 231 | py | Python | project/apps/portfolio/apps.py | mahdimehrabi/django-portfolio-app | 987bbfe6dce151f1b32e69ee833b71db636e933f | [
"MIT"
] | 4 | 2021-08-11T15:23:32.000Z | 2021-12-31T02:55:33.000Z | project/apps/portfolio/apps.py | mahdimehrabi/django-portfolio-app | 987bbfe6dce151f1b32e69ee833b71db636e933f | [
"MIT"
] | null | null | null | project/apps/portfolio/apps.py | mahdimehrabi/django-portfolio-app | 987bbfe6dce151f1b32e69ee833b71db636e933f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PortfolioConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'project.apps.portfolio'
def ready(self):
import project.apps.portfolio.signals
| 23.1 | 56 | 0.74026 | 27 | 231 | 6.259259 | 0.740741 | 0.130178 | 0.236686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 231 | 9 | 57 | 25.666667 | 0.880208 | 0 | 0 | 0 | 0 | 0 | 0.220779 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
98f8a847d70749f3e847d5357e6652d6fc12b9cb | 56 | py | Python | boa3_test/test_sc/built_in_methods_test/CountStrTooFewArguments.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/built_in_methods_test/CountStrTooFewArguments.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/built_in_methods_test/CountStrTooFewArguments.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | def main(string: str) -> int:
return string.count()
| 18.666667 | 29 | 0.642857 | 8 | 56 | 4.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 56 | 2 | 30 | 28 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
c708e14c9e4a5384e1536813a2d452e4368764ad | 5,588 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtGui/QVector3D.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QVector3D.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QVector3D.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtGui
# from C:\Python27\lib\site-packages\PySide\QtGui.pyd
# by generator 1.147
# no doc
# imports
import PySide.QtCore as __PySide_QtCore
import Shiboken as __Shiboken
class QVector3D(__Shiboken.Object):
# no doc
def crossProduct(self, *args, **kwargs): # real signature un... | 29.104167 | 78 | 0.584467 | 676 | 5,588 | 4.335799 | 0.14497 | 0.221767 | 0.34118 | 0.248379 | 0.767997 | 0.696349 | 0.684408 | 0.684408 | 0.307745 | 0 | 0 | 0.002723 | 0.277022 | 5,588 | 191 | 79 | 29.256545 | 0.722772 | 0.461346 | 0 | 0.480769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.480769 | false | 0.480769 | 0.019231 | 0 | 0.509615 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c738ef5662c09e134b13ea7012e1f43eea8f89c7 | 199 | py | Python | tests/io/test_permissions.py | allenmichael/pyTenable | 8372cfdf3ced99de50227f6fbb37d6db2b26291e | [
"MIT"
] | 1 | 2022-03-01T17:17:19.000Z | 2022-03-01T17:17:19.000Z | tests/io/test_permissions.py | allenmichael/pyTenable | 8372cfdf3ced99de50227f6fbb37d6db2b26291e | [
"MIT"
] | 25 | 2021-11-16T18:41:36.000Z | 2022-03-25T05:43:31.000Z | tests/io/test_permissions.py | allenmichael/pyTenable | 8372cfdf3ced99de50227f6fbb37d6db2b26291e | [
"MIT"
] | 2 | 2022-03-02T12:24:40.000Z | 2022-03-29T05:12:04.000Z | from tenable.errors import *
from ..checker import check, single
import pytest
###
### The permissions module is leveraged exclusively by the
### scanners module. all tests are performed there.
### | 24.875 | 58 | 0.748744 | 26 | 199 | 5.730769 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155779 | 199 | 8 | 59 | 24.875 | 0.886905 | 0.517588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.