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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d1f311807379af0e44d3a92b78c48e68bd3314bb | 98 | py | Python | mysite/storehouse/apis/views/__init__.py | othmankurdi/storehouse | c702abac6ad7bceef59913485ae7ead4f0f884d7 | [
"MIT"
] | null | null | null | mysite/storehouse/apis/views/__init__.py | othmankurdi/storehouse | c702abac6ad7bceef59913485ae7ead4f0f884d7 | [
"MIT"
] | 3 | 2021-11-28T10:18:00.000Z | 2021-11-28T10:39:55.000Z | mysite/storehouse/apis/views/__init__.py | othmankurdi/storehouse | c702abac6ad7bceef59913485ae7ead4f0f884d7 | [
"MIT"
] | null | null | null | from ._user import UserView
from ._category import CategoryView
from ._product import ProductView
| 24.5 | 35 | 0.846939 | 12 | 98 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 3 | 36 | 32.666667 | 0.930233 | 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 |
ae2f269d8e3b2b34bfbc2f98c4d7af13e2e35ea5 | 101 | py | Python | server/backend/app/db/utils/__init__.py | chemetc/maskcam | 4841c2c49235844765e8c2164f5dd03a7d28bdad | [
"MIT"
] | 179 | 2021-03-16T15:15:49.000Z | 2022-03-30T14:13:14.000Z | server/backend/app/db/utils/__init__.py | chemetc/maskcam | 4841c2c49235844765e8c2164f5dd03a7d28bdad | [
"MIT"
] | 22 | 2021-04-10T17:04:47.000Z | 2022-03-15T22:48:16.000Z | server/backend/app/db/utils/__init__.py | chemetc/maskcam | 4841c2c49235844765e8c2164f5dd03a7d28bdad | [
"MIT"
] | 63 | 2021-03-24T13:35:32.000Z | 2022-02-23T10:10:42.000Z | from .enums import StatisticTypeEnum
from .utils import convert_timestamp_to_datetime, get_enum_type
| 33.666667 | 63 | 0.881188 | 14 | 101 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 101 | 2 | 64 | 50.5 | 0.913043 | 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 |
ae7072011b1b0725667362b68186c16e02907b59 | 103 | py | Python | pythonx/lints/sh/__init__.py | maralla/validator.vim | fd5ec0891cbd035bd572e74d684b8afd852b87bf | [
"MIT"
] | 255 | 2016-09-08T12:12:26.000Z | 2022-03-10T01:50:06.000Z | pythonx/lints/sh/__init__.py | maralla/vim-fixup | fd5ec0891cbd035bd572e74d684b8afd852b87bf | [
"MIT"
] | 56 | 2016-09-09T05:53:24.000Z | 2020-11-11T16:02:05.000Z | pythonx/lints/sh/__init__.py | maralla/vim-linter | fd5ec0891cbd035bd572e74d684b8afd852b87bf | [
"MIT"
] | 23 | 2016-09-09T13:37:51.000Z | 2019-04-08T22:31:24.000Z | # -*- coding: utf-8 -*-
from .sh import ShLint # noqa
from .shellcheck import ShellcheckLint # noqa
| 20.6 | 46 | 0.679612 | 13 | 103 | 5.384615 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.194175 | 103 | 4 | 47 | 25.75 | 0.831325 | 0.300971 | 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 |
881e1f558a2d7a8c337dcb8a6d540f63717c008a | 68 | py | Python | graystillplays.py | KaynWest/graystillplays-python-module | 513e2f67c840ea6a9d06737f8ef5e14a7b31a499 | [
"Apache-2.0"
] | null | null | null | graystillplays.py | KaynWest/graystillplays-python-module | 513e2f67c840ea6a9d06737f8ef5e14a7b31a499 | [
"Apache-2.0"
] | null | null | null | graystillplays.py | KaynWest/graystillplays-python-module | 513e2f67c840ea6a9d06737f8ef5e14a7b31a499 | [
"Apache-2.0"
] | null | null | null | def nophysics():
print("We don't need physics where we're going")
| 17 | 49 | 0.705882 | 12 | 68 | 4 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 3 | 50 | 22.666667 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.573529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
885072872ef109d95c17482f73f985b37b9810c3 | 118 | py | Python | shared/tasks.py | ByK95/discount_code | 76b7babfbccaa211d842f7b0f5c55e88e7c355cb | [
"MIT"
] | 1 | 2022-01-20T10:30:05.000Z | 2022-01-20T10:30:05.000Z | shared/tasks.py | ByK95/discount_code | 76b7babfbccaa211d842f7b0f5c55e88e7c355cb | [
"MIT"
] | null | null | null | shared/tasks.py | ByK95/discount_code | 76b7babfbccaa211d842f7b0f5c55e88e7c355cb | [
"MIT"
] | null | null | null | import os
from celery import Celery
celery = Celery("web", broker=os.environ["CELERY_BROKER_URL"], backend="rpc://")
| 23.6 | 80 | 0.737288 | 17 | 118 | 5 | 0.588235 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 4 | 81 | 29.5 | 0.801887 | 0 | 0 | 0 | 0 | 0 | 0.220339 | 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 |
8858863c8ab74a30a2943b67ffa2e55b853ccf36 | 52 | py | Python | experiment_tracker/__init__.py | MarkusZopf/Experiment-Tracker | 02744a32bef4f0019af8cf3658de9628513661b5 | [
"MIT"
] | 3 | 2020-07-23T11:18:57.000Z | 2021-03-27T22:33:28.000Z | experiment_tracker/__init__.py | MarkusZopf/Experiment-Tracker | 02744a32bef4f0019af8cf3658de9628513661b5 | [
"MIT"
] | null | null | null | experiment_tracker/__init__.py | MarkusZopf/Experiment-Tracker | 02744a32bef4f0019af8cf3658de9628513661b5 | [
"MIT"
] | null | null | null | from experiment_tracker.Experiment import Experiment | 52 | 52 | 0.923077 | 6 | 52 | 7.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.959184 | 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 |
88606ca6764ffb135cf685129a85888ac95e94ce | 402 | gyp | Python | binding.gyp | tauu/win-audio | 5ccb6a4c1e8b6eb336ba11d1568edd4a5ecd0de1 | [
"MIT"
] | null | null | null | binding.gyp | tauu/win-audio | 5ccb6a4c1e8b6eb336ba11d1568edd4a5ecd0de1 | [
"MIT"
] | null | null | null | binding.gyp | tauu/win-audio | 5ccb6a4c1e8b6eb336ba11d1568edd4a5ecd0de1 | [
"MIT"
] | null | null | null | {
"targets": [
{
"target_name": "audio",
'conditions': [
['OS=="win"', {
"sources": ["audio-napi.cc"],
"cflags" : [ "-lole32", "-loleaut32"]
}],
['OS=="linux"', {
"sources": ["audio-napi_dummy.cc"]
}],
['OS=="mac"', {
... | 20.1 | 48 | 0.340796 | 28 | 402 | 4.785714 | 0.571429 | 0.268657 | 0.358209 | 0.313433 | 0.343284 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017167 | 0.420398 | 402 | 19 | 49 | 21.157895 | 0.55794 | 0 | 0 | 0.263158 | 0 | 0 | 0.409922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
886f0bc4004d64a5332c6afb24dfcc22367b8725 | 174 | py | Python | uf/third.py | dumpmemory/unif | a301d7207791664fb107edda607c55f2d50dd17d | [
"Apache-2.0"
] | null | null | null | uf/third.py | dumpmemory/unif | a301d7207791664fb107edda607c55f2d50dd17d | [
"Apache-2.0"
] | null | null | null | uf/third.py | dumpmemory/unif | a301d7207791664fb107edda607c55f2d50dd17d | [
"Apache-2.0"
] | null | null | null | """ Version control of dependencies. """
import tensorflow as tf
if tf.__version__.startswith("2"):
import tensorflow.compat.v1 as tf
tf.disable_eager_execution()
| 19.333333 | 40 | 0.729885 | 23 | 174 | 5.26087 | 0.695652 | 0.264463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.16092 | 174 | 8 | 41 | 21.75 | 0.815068 | 0.183908 | 0 | 0 | 0 | 0 | 0.007463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
888d80ebf6ecf7607f89ac742b73ffbe57d097b6 | 1,440 | py | Python | python/anyascii/_data/_0d1.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_0d1.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_0d1.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b='Tyal Tyalg Tyalm Tyalb Tyals Tyalt Tyalp Tyalh Tyam Tyab Tyabs Tyas Tyass Tyang Tyaj Tyach Tyak Tyat Tyap Tyah Tyae Tyaeg Tyaekk Tyaegs Tyaen Tyaenj Tyaenh Tyaed Tyael Tyaelg Tyaelm Tyaelb Tyaels Tyaelt Tyaelp Tyaelh Tyaem Tyaeb Tyaebs Tyaes Tyaess Tyaeng Tyaej Tyaech Tyaek Tyaet Tyaep Tyaeh Teo Teog Teokk Teogs Teo... | 1,440 | 1,440 | 0.820833 | 257 | 1,440 | 4.599222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177083 | 1,440 | 1 | 1,440 | 1,440 | 0.997468 | 0 | 0 | 0 | 0 | 1 | 0.99653 | 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 |
88aaac76c87445923cb8b5add3c69ab4982e771e | 211 | py | Python | tools/short_all.py | jcrocholl/nxdom | 16e93561a0cc5b5aa5be88d60c2d19d018d92dfa | [
"MIT"
] | 14 | 2015-02-25T18:03:32.000Z | 2021-11-16T11:10:44.000Z | tools/short_all.py | jcrocholl/nxdom | 16e93561a0cc5b5aa5be88d60c2d19d018d92dfa | [
"MIT"
] | null | null | null | tools/short_all.py | jcrocholl/nxdom | 16e93561a0cc5b5aa5be88d60c2d19d018d92dfa | [
"MIT"
] | null | null | null | #!/usr/bin/env python
LETTERS = 'abcdefghijklmnopqrstuvwxyz'
for c1 in LETTERS:
for c2 in LETTERS:
for c3 in LETTERS:
for c4 in LETTERS:
print ''.join((c1, c2, c3, c4))
| 21.1 | 47 | 0.57346 | 28 | 211 | 4.321429 | 0.5 | 0.297521 | 0.297521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055944 | 0.322275 | 211 | 9 | 48 | 23.444444 | 0.79021 | 0.094787 | 0 | 0 | 0 | 0 | 0.136842 | 0.136842 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
88b13c4085766f836676ece937081cd869a1beb7 | 304 | py | Python | test/integration/version-5/testinfra/test_kibana.py | sensidev/kibana-formula | 73e6f085d9d45a08d59669bffc983cc48d30cb98 | [
"Apache-2.0"
] | 10 | 2016-11-01T14:57:39.000Z | 2021-11-28T21:00:03.000Z | test/integration/version-5/testinfra/test_kibana.py | sensidev/kibana-formula | 73e6f085d9d45a08d59669bffc983cc48d30cb98 | [
"Apache-2.0"
] | 22 | 2016-09-05T13:46:40.000Z | 2022-01-13T16:47:24.000Z | test/integration/version-5/testinfra/test_kibana.py | sensidev/kibana-formula | 73e6f085d9d45a08d59669bffc983cc48d30cb98 | [
"Apache-2.0"
] | 50 | 2016-08-02T05:51:56.000Z | 2021-11-28T21:00:04.000Z | import testinfra
def test_package_in_installed(Package):
kibana = Package('kibana')
assert kibana.is_installed
assert kibana.version.startswith('5.')
def test_service_is_running_and_enabled(Service):
kibana = Service('kibana')
assert kibana.is_running
assert kibana.is_enabled
| 23.384615 | 49 | 0.759868 | 39 | 304 | 5.641026 | 0.435897 | 0.218182 | 0.190909 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003891 | 0.154605 | 304 | 12 | 50 | 25.333333 | 0.85214 | 0 | 0 | 0 | 0 | 0 | 0.046053 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
88b2181f7da7d917a5b19f0c1a49e19f7f3716b5 | 33 | py | Python | tkcomponents/__init__.py | immijimmi/tkcomponents | c9f5d08ddf6d78a80927fa89727e71eb3e09715f | [
"MIT"
] | null | null | null | tkcomponents/__init__.py | immijimmi/tkcomponents | c9f5d08ddf6d78a80927fa89727e71eb3e09715f | [
"MIT"
] | null | null | null | tkcomponents/__init__.py | immijimmi/tkcomponents | c9f5d08ddf6d78a80927fa89727e71eb3e09715f | [
"MIT"
] | null | null | null | from .component import Component
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ee0323c6c88f356ac323383e4ac98f810a717ae7 | 143 | py | Python | edit/core/hook/evaluation/__init__.py | tpoisonooo/basicVSR_mge | 53df836a7dcc075083ef7c9ff7cabea69fec3192 | [
"Apache-2.0"
] | 28 | 2021-03-23T09:00:33.000Z | 2022-03-10T03:55:00.000Z | edit/core/hook/evaluation/__init__.py | tpoisonooo/basicVSR_mge | 53df836a7dcc075083ef7c9ff7cabea69fec3192 | [
"Apache-2.0"
] | 2 | 2021-04-17T20:08:55.000Z | 2022-02-01T17:48:55.000Z | edit/core/hook/evaluation/__init__.py | tpoisonooo/basicVSR_mge | 53df836a7dcc075083ef7c9ff7cabea69fec3192 | [
"Apache-2.0"
] | 5 | 2021-05-19T07:35:56.000Z | 2022-01-13T02:11:50.000Z | from .metrics import (connectivity, gradient_error, mse, niqe, psnr, ssim, sad, reorder_image, fid, lpips)
from .eval_hooks import EvalIterHook | 71.5 | 106 | 0.797203 | 20 | 143 | 5.55 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111888 | 143 | 2 | 107 | 71.5 | 0.874016 | 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 |
ee17930aa680a1631657e231ed3ccb4570e33c64 | 28 | py | Python | pyiArduinoI2Crelay/__init__.py | tremaru/Py_iarduino_I2C_Relay | a2caefb84dc52f97c72b7c71dd7abf8e2f63c800 | [
"MIT"
] | null | null | null | pyiArduinoI2Crelay/__init__.py | tremaru/Py_iarduino_I2C_Relay | a2caefb84dc52f97c72b7c71dd7abf8e2f63c800 | [
"MIT"
] | null | null | null | pyiArduinoI2Crelay/__init__.py | tremaru/Py_iarduino_I2C_Relay | a2caefb84dc52f97c72b7c71dd7abf8e2f63c800 | [
"MIT"
] | 1 | 2021-11-09T13:16:14.000Z | 2021-11-09T13:16:14.000Z | name = "pyiArduinoI2Crelay"
| 14 | 27 | 0.785714 | 2 | 28 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.107143 | 28 | 1 | 28 | 28 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ee1df833d45c4dca461db279278e1910ab6110fb | 144 | py | Python | task_error.py | paritajohari/TaskPlanner | fb931e53293cf0d1ae3145b050559a57dc93c427 | [
"MIT"
] | null | null | null | task_error.py | paritajohari/TaskPlanner | fb931e53293cf0d1ae3145b050559a57dc93c427 | [
"MIT"
] | null | null | null | task_error.py | paritajohari/TaskPlanner | fb931e53293cf0d1ae3145b050559a57dc93c427 | [
"MIT"
] | null | null | null | class TaskError(Exception):
def __init__(self, msg):
self.msg = msg
def print_msg(self):
return ("Exception raised: ", self.msg)
| 14.4 | 41 | 0.659722 | 19 | 144 | 4.736842 | 0.526316 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 144 | 10 | 42 | 14.4 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.124138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0.2 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ee34edae869222fc5c2aeba65da6caca09ef010c | 36 | py | Python | common/__init__.py | delpapa/CritSORN | cdad55d55f39e04f568ca1bc0c6036bec8db08fb | [
"MIT"
] | null | null | null | common/__init__.py | delpapa/CritSORN | cdad55d55f39e04f568ca1bc0c6036bec8db08fb | [
"MIT"
] | null | null | null | common/__init__.py | delpapa/CritSORN | cdad55d55f39e04f568ca1bc0c6036bec8db08fb | [
"MIT"
] | null | null | null | import utils
utils.backup(__file__)
| 12 | 22 | 0.833333 | 5 | 36 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 2 | 23 | 18 | 0.787879 | 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 |
ee3785eaedffed4ab3623bb25b5e5a939db130dc | 296 | py | Python | muscle_manager_protocol/__init__.py | DongweiYe/muscle3 | 0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0 | [
"Apache-2.0"
] | 11 | 2018-03-12T10:43:46.000Z | 2020-06-01T10:58:56.000Z | muscle_manager_protocol/__init__.py | DongweiYe/muscle3 | 0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0 | [
"Apache-2.0"
] | 85 | 2018-03-03T15:10:56.000Z | 2022-03-18T14:05:14.000Z | muscle_manager_protocol/__init__.py | DongweiYe/muscle3 | 0c2fcf5f62995b8639fc84ce1b983c8a8e6248d0 | [
"Apache-2.0"
] | 6 | 2018-03-12T10:47:11.000Z | 2022-02-03T13:44:07.000Z | import os
import sys
# The gRPC generated code contains an absolute import. So either it
# needs to be in the top-level directory, or the user needs to modify
# their PYTHONPATH environment variable, or we add it to the path here.
sys.path.append(os.path.dirname(os.path.expanduser(__file__)))
| 32.888889 | 71 | 0.777027 | 51 | 296 | 4.431373 | 0.686275 | 0.061947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155405 | 296 | 8 | 72 | 37 | 0.904 | 0.685811 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ee3b6c302c663efbea4d850eed169962f6559d39 | 401 | py | Python | backend/userapp/models.py | Lenend-KPU/LBS-Platform | 75ba24db8969248e74e9d974638977de1c0bc36a | [
"MIT"
] | 15 | 2020-12-23T13:56:49.000Z | 2021-12-10T11:04:23.000Z | backend/userapp/models.py | Lenend-KPU/LBS-Platform | 75ba24db8969248e74e9d974638977de1c0bc36a | [
"MIT"
] | 41 | 2021-03-19T07:51:48.000Z | 2021-11-22T09:45:46.000Z | backend/userapp/models.py | Lenend-KPU/LBS-Platform | 75ba24db8969248e74e9d974638977de1c0bc36a | [
"MIT"
] | 3 | 2021-03-24T15:18:24.000Z | 2021-09-11T14:51:35.000Z | from django.db import models
max_length = 100
class User(models.Model):
user_name = models.CharField(max_length=max_length)
# 헬퍼 함수를 통해 해시로 변환한 값
user_password = models.CharField(max_length=max_length)
user_email = models.CharField(max_length=max_length, unique=True)
user_address = models.CharFie... | 26.733333 | 69 | 0.735661 | 59 | 401 | 4.711864 | 0.508475 | 0.291367 | 0.258993 | 0.345324 | 0.47482 | 0.47482 | 0 | 0 | 0 | 0 | 0 | 0.009036 | 0.17207 | 401 | 14 | 70 | 28.642857 | 0.828313 | 0.047382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.111111 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 5 |
ee54821dca0e380b159e533f4578aa42f3b1b2ad | 75 | py | Python | tcli.py | farooq-teqniqly/typer-cli | 2c24c62e9e31cfc84d11a8019eae04be0ef5b013 | [
"MIT"
] | null | null | null | tcli.py | farooq-teqniqly/typer-cli | 2c24c62e9e31cfc84d11a8019eae04be0ef5b013 | [
"MIT"
] | null | null | null | tcli.py | farooq-teqniqly/typer-cli | 2c24c62e9e31cfc84d11a8019eae04be0ef5b013 | [
"MIT"
] | null | null | null | from tcli import create_cli
if __name__ == "__main__":
create_cli()()
| 15 | 27 | 0.693333 | 10 | 75 | 4.2 | 0.8 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186667 | 75 | 4 | 28 | 18.75 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ee64536e1ba8d43629ec9cd3fd49a1fcb76e2d4d | 201,094 | py | Python | countyFDARestaurants.py | tgadf/census | d9ebaba6823cb537735d77bcaea5e411b2725d9b | [
"MIT"
] | null | null | null | countyFDARestaurants.py | tgadf/census | d9ebaba6823cb537735d77bcaea5e411b2725d9b | [
"MIT"
] | null | null | null | countyFDARestaurants.py | tgadf/census | d9ebaba6823cb537735d77bcaea5e411b2725d9b | [
"MIT"
] | null | null | null | def getCountyFDARestaurantsData(county):
data = {"01001": {"FFRPTH14": 0.649878148, "FSRPTH14": 0.523512952}, "01003": {"FFRPTH14": 0.659633903, "FSRPTH14": 1.104387065}, "01005": {"FFRPTH14": 0.818239298, "FSRPTH14": 0.55789043}, "01007": {"FFRPTH14": 0.22216297899999998, "FSRPTH14": 0.22216297899999998}, "01009": {"... | 25,136.75 | 200,982 | 0.687246 | 22,014 | 201,094 | 6.277869 | 0.408104 | 0.196084 | 0.011577 | 0.020839 | 0.02971 | 0.00492 | 0 | 0 | 0 | 0 | 0 | 0.541647 | 0.078257 | 201,094 | 7 | 200,983 | 28,727.714286 | 0.203947 | 0 | 0 | 0 | 0 | 0 | 0.32822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ee735b67bc86acbfb2a7fb6d5c4dc1ea7b4a9dd6 | 140 | py | Python | classify.py | Social-Developers-Club/cfc-model-server | 52e5681f725cd22ce5133d5709356b21560ab0f5 | [
"Apache-2.0"
] | null | null | null | classify.py | Social-Developers-Club/cfc-model-server | 52e5681f725cd22ce5133d5709356b21560ab0f5 | [
"Apache-2.0"
] | null | null | null | classify.py | Social-Developers-Club/cfc-model-server | 52e5681f725cd22ce5133d5709356b21560ab0f5 | [
"Apache-2.0"
] | 1 | 2020-03-23T00:12:29.000Z | 2020-03-23T00:12:29.000Z | """
IDE: PyCharm
Project: semantic-match-classifier
Author: Robin
Filename: classify.py
Date: 21.03.2020
TODO: load model and classify
"""
| 14 | 34 | 0.75 | 20 | 140 | 5.25 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.128571 | 140 | 9 | 35 | 15.555556 | 0.795082 | 0.928571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.111111 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ee7e6405ccb264561cc573695c0780404d9fa04a | 144 | py | Python | votingbooth/votingbooth/views.py | msexauer/ask-meanything | 7b5279246df03c37beab09de193705c3c4d9a8ee | [
"MIT"
] | null | null | null | votingbooth/votingbooth/views.py | msexauer/ask-meanything | 7b5279246df03c37beab09de193705c3c4d9a8ee | [
"MIT"
] | null | null | null | votingbooth/votingbooth/views.py | msexauer/ask-meanything | 7b5279246df03c37beab09de193705c3c4d9a8ee | [
"MIT"
] | null | null | null | from django.http import HttpResponse, HttpResponseRedirect, HttpRequest
def redirect_to_home(request):
return HttpResponseRedirect('admin') | 36 | 71 | 0.833333 | 15 | 144 | 7.866667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 144 | 4 | 72 | 36 | 0.907692 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
c9a6bb95a55c66fa1ea19fa5d277f0d820ec844b | 19 | py | Python | Submissions/German Bodenbender/test.py | germanbodenbender/Programming_with_python_2021 | e94beb538aff7822e0cffe256e6409def5534a4e | [
"Apache-2.0"
] | null | null | null | Submissions/German Bodenbender/test.py | germanbodenbender/Programming_with_python_2021 | e94beb538aff7822e0cffe256e6409def5534a4e | [
"Apache-2.0"
] | null | null | null | Submissions/German Bodenbender/test.py | germanbodenbender/Programming_with_python_2021 | e94beb538aff7822e0cffe256e6409def5534a4e | [
"Apache-2.0"
] | null | null | null | #test pepe
#caramba | 9.5 | 10 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 19 | 2 | 11 | 9.5 | 0.882353 | 0.842105 | 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 |
c9be428fcde987cfcbac63eaedcfe3b9361c192d | 42,000 | py | Python | trainShape.py | bsrvasulu/patternRecognitionCNNModel | 03e81e633f7edee306bf8305f72325db4359991d | [
"MIT"
] | 1 | 2020-03-18T16:02:06.000Z | 2020-03-18T16:02:06.000Z | trainShape.py | bsrvasulu/patternRecognitionCNNModel | 03e81e633f7edee306bf8305f72325db4359991d | [
"MIT"
] | null | null | null | trainShape.py | bsrvasulu/patternRecognitionCNNModel | 03e81e633f7edee306bf8305f72325db4359991d | [
"MIT"
] | 1 | 2020-03-18T16:02:07.000Z | 2020-03-18T16:02:07.000Z | # -*- coding: utf-8 -*-
"""
Created on Fri Jan 4 12:53:03 2019
@author: Sreenivasulu Bachu
"""
import numpy as np
import tensorflow as tf
from keras.models import *
from keras.layers import Input, merge, Conv2D, MaxPooling2D, UpSampling2D, Dropout, Cropping2D, core, ZeroPadding2D, BatchNormalization, Activation, Fla... | 41.832669 | 187 | 0.500619 | 4,964 | 42,000 | 4.062853 | 0.073127 | 0.010908 | 0.012693 | 0.01428 | 0.793187 | 0.765768 | 0.750496 | 0.724712 | 0.704135 | 0.695409 | 0 | 0.037053 | 0.354214 | 42,000 | 1,004 | 188 | 41.832669 | 0.706522 | 0.076619 | 0 | 0.633452 | 0 | 0 | 0.091775 | 0.035401 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060498 | false | 0 | 0.037367 | 0.003559 | 0.135231 | 0.096085 | 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 |
c9d23ca0d87aee2941eb4ca969bbf28e98802bd9 | 955 | py | Python | benches/test_ops_gf.py | senk8/crypto-math | 91c7b02a28e91190089b0213065498ce3c6b2e18 | [
"MIT"
] | 1 | 2022-01-01T07:48:29.000Z | 2022-01-01T07:48:29.000Z | benches/test_ops_gf.py | senk8/crypto-math | 91c7b02a28e91190089b0213065498ce3c6b2e18 | [
"MIT"
] | null | null | null | benches/test_ops_gf.py | senk8/crypto-math | 91c7b02a28e91190089b0213065498ce3c6b2e18 | [
"MIT"
] | null | null | null | import crypto_math as gf
import pytest
ITERATION = 10**4
'''
def test_add(benchmark):
F7 = gf.GF(7)
F7_4 = gf.field_extension(F7,4)
x = F7_4([1,2])
y = F7_4([2,4])
def f():
_ = x + y
benchmark(f)
def test_sub(benchmark):
F7 = gf.GF(7)
F7_4 = gf.field_extension(F7,4)
x = F7... | 17.363636 | 35 | 0.510995 | 172 | 955 | 2.639535 | 0.162791 | 0.132159 | 0.066079 | 0.077093 | 0.781938 | 0.781938 | 0.781938 | 0.781938 | 0.781938 | 0.781938 | 0 | 0.110942 | 0.310995 | 955 | 55 | 36 | 17.363636 | 0.579027 | 0 | 0 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.15 | 0 | 0.35 | 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 |
a000454b5e18e27637b12b1a0f9b89cc478a5f3d | 250 | py | Python | Curso-em-video/Aula_107/teste.py | JhonAI13/Curso_python | 27dedb0effa2c26140f46392e993b8e7a27d6eb3 | [
"MIT"
] | null | null | null | Curso-em-video/Aula_107/teste.py | JhonAI13/Curso_python | 27dedb0effa2c26140f46392e993b8e7a27d6eb3 | [
"MIT"
] | null | null | null | Curso-em-video/Aula_107/teste.py | JhonAI13/Curso_python | 27dedb0effa2c26140f46392e993b8e7a27d6eb3 | [
"MIT"
] | null | null | null | import moeda
p = float(input('Digite o preço: R$'))
print(f"""A metade de {moeda.moeda(p)} é {moeda.moeda(moeda.dobro(p))}.
O dobro de {moeda.moeda(p)} é {moeda.moeda(moeda.metade(p))}.
Aumentando 10%, temos {moeda.moeda(moeda.aumentar(p, 10))}""")
| 35.714286 | 71 | 0.672 | 44 | 250 | 3.818182 | 0.454545 | 0.47619 | 0.267857 | 0.154762 | 0.345238 | 0.345238 | 0.345238 | 0.345238 | 0 | 0 | 0 | 0.017857 | 0.104 | 250 | 6 | 72 | 41.666667 | 0.732143 | 0 | 0 | 0 | 0 | 0.4 | 0.8 | 0.364 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a0094293746599eccfebc640bc28cab5d5880add | 25 | py | Python | dymos/phase/__init__.py | kaushikponnapalli/dymos | 3fba91d0fc2c0e8460717b1bec80774676287739 | [
"Apache-2.0"
] | 104 | 2018-09-08T16:52:27.000Z | 2022-03-10T23:35:30.000Z | dymos/phase/__init__.py | kaushikponnapalli/dymos | 3fba91d0fc2c0e8460717b1bec80774676287739 | [
"Apache-2.0"
] | 628 | 2018-06-27T20:32:59.000Z | 2022-03-31T19:24:32.000Z | dymos/phase/__init__.py | kaushikponnapalli/dymos | 3fba91d0fc2c0e8460717b1bec80774676287739 | [
"Apache-2.0"
] | 46 | 2018-06-27T20:54:07.000Z | 2021-12-19T07:23:32.000Z | from .phase import Phase
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4e5b77ad5f1dc65b2fdbea632c71361385bfab2b | 171 | py | Python | indexer/src/annotators/id_annotator.py | alliance-genome/agr_archive_initial_prototype | 8559303de20e55886cc5bc7c2153f9357fc0ca2f | [
"MIT"
] | 9 | 2016-10-03T16:10:39.000Z | 2016-10-10T16:22:52.000Z | indexer/src/annotators/id_annotator.py | alliance-genome/agr | 8559303de20e55886cc5bc7c2153f9357fc0ca2f | [
"MIT"
] | 168 | 2017-02-06T17:07:20.000Z | 2017-08-23T21:23:55.000Z | indexer/src/annotators/id_annotator.py | alliance-genome/agr_prototype | 8559303de20e55886cc5bc7c2153f9357fc0ca2f | [
"MIT"
] | 12 | 2016-10-04T22:01:48.000Z | 2017-02-01T21:17:33.000Z | class DoAnnotator:
# get the gene, disease_dataset in bulk, do_dataset
@staticmethod
def attach_annotations(id, dataset):
return dataset[id]
| 21.375 | 55 | 0.666667 | 20 | 171 | 5.55 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269006 | 171 | 7 | 56 | 24.428571 | 0.888 | 0.28655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4e707d0fdd09752450c1f3d990948788b8cfcd28 | 336 | py | Python | pages/widgets.py | isergart/gradient | 837d882f5ab07f2a9847d0212698cdc2d9312125 | [
"MIT"
] | null | null | null | pages/widgets.py | isergart/gradient | 837d882f5ab07f2a9847d0212698cdc2d9312125 | [
"MIT"
] | null | null | null | pages/widgets.py | isergart/gradient | 837d882f5ab07f2a9847d0212698cdc2d9312125 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django import forms
class Editor(forms.Textarea):
"""CKEditor widget"""
class Media:
css = {'all': ('pages/ckeditor/init/styles.css',)}
js = ('admin/js/vendor/jquery/jquery.min.js', 'pages/ckeditor/ckeditor.js', 'pages/ckeditor/adapters/jquery.js', 'pages/ckeditor/... | 33.6 | 152 | 0.64881 | 44 | 336 | 4.954545 | 0.545455 | 0.238532 | 0.206422 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003509 | 0.151786 | 336 | 9 | 153 | 37.333333 | 0.761404 | 0.113095 | 0 | 0 | 0 | 0 | 0.530822 | 0.520548 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
4e9a62ee17a233ca162c9263e3f86f3276434f80 | 190 | py | Python | 0x04-python-more_data_structures/6-print_sorted_dictionary.py | omarcherni007/holbertonschool-higher_level_programming | 65f3430ab0310f85368d73cb72e139631e8c6f1e | [
"MIT"
] | 1 | 2022-01-04T11:07:56.000Z | 2022-01-04T11:07:56.000Z | 0x04-python-more_data_structures/6-print_sorted_dictionary.py | omarcherni007/holbertonschool-higher_level_programming | 65f3430ab0310f85368d73cb72e139631e8c6f1e | [
"MIT"
] | null | null | null | 0x04-python-more_data_structures/6-print_sorted_dictionary.py | omarcherni007/holbertonschool-higher_level_programming | 65f3430ab0310f85368d73cb72e139631e8c6f1e | [
"MIT"
] | null | null | null | #!/usr/bin/python3
def print_sorted_dictionary(a_dictionary):
sorted_dictionary = sorted(a_dictionary.items())
for k, v in sorted_dictionary:
print('{0}: {1}'.format(k, v))
| 27.142857 | 52 | 0.684211 | 27 | 190 | 4.592593 | 0.592593 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.163158 | 190 | 6 | 53 | 31.666667 | 0.761006 | 0.089474 | 0 | 0 | 0 | 0 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
4ebdc90109d2acf88d7c53aac6becc87d89bbb77 | 101 | py | Python | yaost/__init__.py | ariloulaleelay/yaost | 3dd692c830dc3077b0f6b89de57e9e1433570f2b | [
"MIT"
] | 2 | 2020-04-05T11:18:24.000Z | 2020-08-03T12:08:13.000Z | yaost/__init__.py | ariloulaleelay/yaost | 3dd692c830dc3077b0f6b89de57e9e1433570f2b | [
"MIT"
] | null | null | null | yaost/__init__.py | ariloulaleelay/yaost | 3dd692c830dc3077b0f6b89de57e9e1433570f2b | [
"MIT"
] | 1 | 2020-04-05T11:18:00.000Z | 2020-04-05T11:18:00.000Z | from .project import Project # noqa
from .base import Vector # noqa
from .path import Path # noqa
| 25.25 | 36 | 0.732673 | 15 | 101 | 4.933333 | 0.466667 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207921 | 101 | 3 | 37 | 33.666667 | 0.925 | 0.138614 | 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 |
4ec4de4cfb3cf182f11e7e7c9a917533d588a80a | 1,026 | py | Python | FizzBuzz/test_fizzbuzz.py | asfelix/wtdd | 38ffc47ae230727dcc64f29eda44df173579c30d | [
"Apache-2.0"
] | null | null | null | FizzBuzz/test_fizzbuzz.py | asfelix/wtdd | 38ffc47ae230727dcc64f29eda44df173579c30d | [
"Apache-2.0"
] | null | null | null | FizzBuzz/test_fizzbuzz.py | asfelix/wtdd | 38ffc47ae230727dcc64f29eda44df173579c30d | [
"Apache-2.0"
] | 1 | 2019-11-12T02:59:59.000Z | 2019-11-12T02:59:59.000Z | import unittest
from fizzbuzz import robot
class FizzBuzzTest(unittest.TestCase):
def test_say_1_when_1(self):
self.assertEqual(robot(1), '1')
def test_say_2_when_2(self):
self.assertEqual(robot(2), '2')
def test_say_4_when_4(self):
self.assertEqual(robot(4), '4')
def test_... | 24.428571 | 47 | 0.658869 | 154 | 1,026 | 4.077922 | 0.181818 | 0.133758 | 0.191083 | 0.458599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066502 | 0.208577 | 1,026 | 41 | 48 | 25.02439 | 0.706897 | 0 | 0 | 0 | 0 | 0 | 0.049708 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.444444 | false | 0 | 0.074074 | 0 | 0.555556 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
14db0560125a2f126db95baf43e186914ffab209 | 110 | py | Python | study/w3resource/exercises/python-basic/031 - 060/python-basic - 053.py | gustavomarquezinho/python | e36779aa5c4bfaf88c587f05db5bd447fd41e4a2 | [
"MIT"
] | null | null | null | study/w3resource/exercises/python-basic/031 - 060/python-basic - 053.py | gustavomarquezinho/python | e36779aa5c4bfaf88c587f05db5bd447fd41e4a2 | [
"MIT"
] | null | null | null | study/w3resource/exercises/python-basic/031 - 060/python-basic - 053.py | gustavomarquezinho/python | e36779aa5c4bfaf88c587f05db5bd447fd41e4a2 | [
"MIT"
] | null | null | null | # 053 - Write a python program to access environment variables.
from os import environ
print(environ['PATH']) | 27.5 | 63 | 0.772727 | 16 | 110 | 5.3125 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.145455 | 110 | 4 | 64 | 27.5 | 0.87234 | 0.554545 | 0 | 0 | 0 | 0 | 0.083333 | 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 |
090c1f68c5035d91d9285cf7d463c94a3c7b2ec2 | 987 | py | Python | ros/src/map_collector/src/common.py | jkulhanek/robot-visual-navigation | ddc63df38d326e9225981bf89608043c77d950e8 | [
"MIT"
] | 13 | 2020-11-01T05:04:58.000Z | 2022-03-23T00:15:54.000Z | ros/src/map_collector/src/common.py | leefree-GIT/robot-visual-navigation | ddc63df38d326e9225981bf89608043c77d950e8 | [
"MIT"
] | 5 | 2021-03-31T13:12:11.000Z | 2022-03-29T09:25:55.000Z | ros/src/map_collector/src/common.py | leefree-GIT/robot-visual-navigation | ddc63df38d326e9225981bf89608043c77d950e8 | [
"MIT"
] | 5 | 2021-02-25T03:19:03.000Z | 2022-03-23T00:16:03.000Z | class Proxy(object):
def __init__(self, inner):
object.__setattr__(
self,
"_obj",
inner
)
#
# proxying (special cases)
#
def __getattribute__(self, name):
value = getattr(object.__getattribute__(self, "_obj"), name)
if callable(val... | 28.2 | 68 | 0.601824 | 100 | 987 | 5.18 | 0.3 | 0.108108 | 0.297297 | 0.337838 | 0.330116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273556 | 987 | 35 | 69 | 28.2 | 0.722455 | 0.024316 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32 | false | 0 | 0 | 0.16 | 0.56 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
092d9fb5ab6f2cc369f7239812eacff14b572ad0 | 508 | py | Python | tests/test_vexmpp.py | nicfit/vexmpp | e67070d2822da8356345976fb15d365935b550a6 | [
"MIT"
] | null | null | null | tests/test_vexmpp.py | nicfit/vexmpp | e67070d2822da8356345976fb15d365935b550a6 | [
"MIT"
] | 349 | 2017-02-18T22:48:17.000Z | 2021-12-13T19:50:23.000Z | tests/test_vexmpp.py | nicfit/vexmpp | e67070d2822da8356345976fb15d365935b550a6 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import vexmpp
"""
test_vexmpp
----------------------------------
Tests for `vexmpp` module.
"""
def test_metadata():
assert vexmpp.version
assert vexmpp.__about__.__license__
assert vexmpp.__about__.__project_name__
assert vexmpp.__about__.__author__
assert vexmpp.__about_... | 24.190476 | 44 | 0.712598 | 53 | 508 | 5.509434 | 0.415094 | 0.369863 | 0.465753 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002304 | 0.145669 | 508 | 20 | 45 | 25.4 | 0.670507 | 0.041339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.818182 | 1 | 0.090909 | true | 0 | 0.090909 | 0 | 0.181818 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0960831046536c7369256d0c80d07eb1d8ba8d90 | 69 | py | Python | task01.py | gadamslr/PythonTest | e9bb057818fc4e024aab603fc240e52bc8292291 | [
"CC0-1.0"
] | null | null | null | task01.py | gadamslr/PythonTest | e9bb057818fc4e024aab603fc240e52bc8292291 | [
"CC0-1.0"
] | null | null | null | task01.py | gadamslr/PythonTest | e9bb057818fc4e024aab603fc240e52bc8292291 | [
"CC0-1.0"
] | null | null | null | def hello():
print("Hello world ")
return "Hello world"
hello()
| 11.5 | 23 | 0.637681 | 9 | 69 | 4.888889 | 0.555556 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202899 | 69 | 5 | 24 | 13.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
116e75d9ed0c49434106a0b6bfe0b052b52592df | 4,281 | py | Python | testcases/indicator_tests/savitzkygolaytests.py | quantwizard-com/pythonbacktest | 7056c2804c30ca571eb43dc1ae4cc3d537f6613e | [
"Apache-2.0"
] | null | null | null | testcases/indicator_tests/savitzkygolaytests.py | quantwizard-com/pythonbacktest | 7056c2804c30ca571eb43dc1ae4cc3d537f6613e | [
"Apache-2.0"
] | null | null | null | testcases/indicator_tests/savitzkygolaytests.py | quantwizard-com/pythonbacktest | 7056c2804c30ca571eb43dc1ae4cc3d537f6613e | [
"Apache-2.0"
] | null | null | null | import unittest
import random
from pythonbacktest.indicator import SavitzkyGolay
from scipy.signal import savgol_filter
class SavitzkyGolayTests(unittest.TestCase):
def test_10singlevalues(self):
sg_indicator = SavitzkyGolay(window_size=3, polyorder=1, level=1)
test_data = [t for t in range(0, 9)... | 35.97479 | 103 | 0.690493 | 551 | 4,281 | 5.032668 | 0.157895 | 0.103137 | 0.095204 | 0.057699 | 0.789037 | 0.747566 | 0.73819 | 0.710061 | 0.710061 | 0.710061 | 0 | 0.026683 | 0.229619 | 4,281 | 118 | 104 | 36.279661 | 0.81413 | 0.04812 | 0 | 0.486486 | 0 | 0 | 0.001967 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 1 | 0.094595 | false | 0.027027 | 0.054054 | 0 | 0.162162 | 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 |
119477ec95f872983b7c60921ee299022b4f88c9 | 154 | py | Python | tests/installation_test.py | Fladdimir/casymda | 6cf599bed2229c4aff9bca31350604b38ef76138 | [
"MIT"
] | 19 | 2020-04-18T14:47:37.000Z | 2022-03-26T14:18:21.000Z | tests/installation_test.py | Fladdimir/casymda | 6cf599bed2229c4aff9bca31350604b38ef76138 | [
"MIT"
] | 4 | 2020-03-17T21:01:58.000Z | 2021-09-24T21:07:25.000Z | tests/installation_test.py | Fladdimir/casymda | 6cf599bed2229c4aff9bca31350604b38ef76138 | [
"MIT"
] | 4 | 2020-05-09T16:31:57.000Z | 2022-01-23T09:11:19.000Z | """test the installation"""
from casymda import __version__
def test_version():
"""version should not be none"""
assert __version__ is not None
| 19.25 | 36 | 0.714286 | 20 | 154 | 5.05 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188312 | 154 | 7 | 37 | 22 | 0.808 | 0.311688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
11a0a1f2ebe3c2a46c23f28631fa879d3e57d676 | 7,082 | py | Python | cohesity_management_sdk/cohesity_client.py | sachinthakare-cohesity/management-sdk-python | c95f67b7d387d5bab8392be43190e598280ae7b5 | [
"MIT"
] | null | null | null | cohesity_management_sdk/cohesity_client.py | sachinthakare-cohesity/management-sdk-python | c95f67b7d387d5bab8392be43190e598280ae7b5 | [
"MIT"
] | null | null | null | cohesity_management_sdk/cohesity_client.py | sachinthakare-cohesity/management-sdk-python | c95f67b7d387d5bab8392be43190e598280ae7b5 | [
"MIT"
] | null | null | null | # Copyright 2019 Cohesity Inc.
# -*- coding: utf-8 -*-
from cohesity_management_sdk.decorators import lazy_property
from cohesity_management_sdk.configuration import Configuration
from cohesity_management_sdk.http.auth.auth_manager import AuthManager
from cohesity_management_sdk.controllers.alerts import Alerts
from ... | 28.788618 | 86 | 0.743858 | 769 | 7,082 | 6.612484 | 0.141743 | 0.106195 | 0.19469 | 0.221239 | 0.311504 | 0.084956 | 0 | 0 | 0 | 0 | 0 | 0.000882 | 0.199096 | 7,082 | 245 | 87 | 28.906122 | 0.895628 | 0.012426 | 0 | 0.21875 | 0 | 0 | 0.002719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.223958 | false | 0.015625 | 0.244792 | 0.21875 | 0.703125 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
11a9573fe6fb2059fe2ca583ba745fe3732f0a95 | 185 | py | Python | jarvis_discord/__init__.py | upsilon-group/jarvis-discord | 9113703fd3811541eb17cae461f9b52bc10417fa | [
"MIT"
] | 1 | 2018-08-30T23:34:09.000Z | 2018-08-30T23:34:09.000Z | jarvis_discord/__init__.py | upsilon-group/jarvis-discord | 9113703fd3811541eb17cae461f9b52bc10417fa | [
"MIT"
] | 10 | 2020-07-09T06:27:53.000Z | 2021-06-25T15:26:07.000Z | jarvis_discord/__init__.py | Luoskate/jarvis-discord | 9113703fd3811541eb17cae461f9b52bc10417fa | [
"MIT"
] | 1 | 2020-07-31T15:22:19.000Z | 2020-07-31T15:22:19.000Z | """Jarvis Discord BOT.
AUTHOR : Luoskate
VERSION : 1.1
"""
from .config import Config
from .utils import JarvisHelpCommand
from .converters import GuildConverter
from .embeds import *
| 18.5 | 38 | 0.772973 | 23 | 185 | 6.217391 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.145946 | 185 | 9 | 39 | 20.555556 | 0.892405 | 0.281081 | 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 |
11c25b6c9ae3a39fb64a4fbc08133c7cb763228e | 268 | py | Python | AutoMark/admin.py | tyanakiev/AutoMark | 4e44a9f7c448f02bc4abc05c7a45a67fc71aa3f9 | [
"MIT"
] | 1 | 2018-02-25T06:43:13.000Z | 2018-02-25T06:43:13.000Z | AutoMark/admin.py | tyanakiev/AutoMark | 4e44a9f7c448f02bc4abc05c7a45a67fc71aa3f9 | [
"MIT"
] | 4 | 2021-04-17T03:55:49.000Z | 2022-02-10T10:29:08.000Z | AutoMark/admin.py | tyanakiev/AutoMark | 4e44a9f7c448f02bc4abc05c7a45a67fc71aa3f9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from AutoMark.models import InstagramAccount, InstagramSettings, InstagramCeleryTask
# Register your models here.
admin.site.register(InstagramAccount)
admin.site.register(InstagramSettings)
admin.site.register(InstagramCeleryTask)
| 26.8 | 84 | 0.854478 | 28 | 268 | 8.178571 | 0.5 | 0.117904 | 0.222707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078358 | 268 | 9 | 85 | 29.777778 | 0.927126 | 0.097015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 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 |
11d53a6a65b5fb8a9ecff1613387bc3bfbe0b1e4 | 351 | py | Python | heliosburn/django/hbproject/webui/exceptions.py | thecodeteam/heliosburn | 513f6335c9788948d82e5c9285d7869f3ff4cc10 | [
"MIT"
] | null | null | null | heliosburn/django/hbproject/webui/exceptions.py | thecodeteam/heliosburn | 513f6335c9788948d82e5c9285d7869f3ff4cc10 | [
"MIT"
] | null | null | null | heliosburn/django/hbproject/webui/exceptions.py | thecodeteam/heliosburn | 513f6335c9788948d82e5c9285d7869f3ff4cc10 | [
"MIT"
] | 1 | 2020-09-17T18:19:05.000Z | 2020-09-17T18:19:05.000Z | class UnauthorizedException(Exception):
pass
class BadRequestException(Exception):
pass
class NotFoundException(Exception):
pass
class RedirectException(Exception):
pass
class ServerErrorException(Exception):
pass
class UnexpectedException(Exception):
pass
class LocationHeaderNotFoun... | 13.5 | 49 | 0.769231 | 28 | 351 | 9.642857 | 0.357143 | 0.337037 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17094 | 351 | 26 | 50 | 13.5 | 0.927835 | 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 |
eec391a83b8061e2bdf8066313189671d0bfb64b | 57 | py | Python | datadog/threadstats/__init__.py | Censio/datadogpy | 0a52e54cd104caa99b822f0cc14237ab7f01539f | [
"BSD-3-Clause"
] | 2 | 2017-02-17T19:58:58.000Z | 2018-02-13T17:55:49.000Z | datadog/threadstats/__init__.py | Censio/datadogpy | 0a52e54cd104caa99b822f0cc14237ab7f01539f | [
"BSD-3-Clause"
] | null | null | null | datadog/threadstats/__init__.py | Censio/datadogpy | 0a52e54cd104caa99b822f0cc14237ab7f01539f | [
"BSD-3-Clause"
] | null | null | null | from datadog.threadstats.base import ThreadStats # noqa
| 28.5 | 56 | 0.824561 | 7 | 57 | 6.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 57 | 1 | 57 | 57 | 0.94 | 0.070175 | 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 |
eede27936282c2fd08fce082f85254841f4f8175 | 149 | py | Python | w2vembeddings/__init__.py | LG-1/w2vembeddings | 9daccecbc1ee788a97da6e7d4efe5bebd7bdb045 | [
"MIT"
] | 1 | 2019-01-07T03:56:30.000Z | 2019-01-07T03:56:30.000Z | w2vembeddings/__init__.py | LG-1/w2vembeddings | 9daccecbc1ee788a97da6e7d4efe5bebd7bdb045 | [
"MIT"
] | null | null | null | w2vembeddings/__init__.py | LG-1/w2vembeddings | 9daccecbc1ee788a97da6e7d4efe5bebd7bdb045 | [
"MIT"
] | null | null | null | __version__ = '0.1.2'
from w2vembeddings.embedding import Embedding
from w2vembeddings.w2vemb import EMB
from w2vembeddings.managedb import ManageDB
| 29.8 | 45 | 0.845638 | 19 | 149 | 6.421053 | 0.578947 | 0.418033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052239 | 0.100671 | 149 | 4 | 46 | 37.25 | 0.858209 | 0 | 0 | 0 | 0 | 0 | 0.033557 | 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 |
e122dac2cd41e3f94b7fb47033366e052b400d3d | 249 | py | Python | src/pandas_profiling_study/report/presentation/flavours/html/warnings.py | lucasiscoviciMoon/pandas-profiling-study | 142d3b0f5e3139cdb531819f637a407682fa5684 | [
"MIT"
] | null | null | null | src/pandas_profiling_study/report/presentation/flavours/html/warnings.py | lucasiscoviciMoon/pandas-profiling-study | 142d3b0f5e3139cdb531819f637a407682fa5684 | [
"MIT"
] | null | null | null | src/pandas_profiling_study/report/presentation/flavours/html/warnings.py | lucasiscoviciMoon/pandas-profiling-study | 142d3b0f5e3139cdb531819f637a407682fa5684 | [
"MIT"
] | 1 | 2020-04-25T15:20:39.000Z | 2020-04-25T15:20:39.000Z | from .....report.presentation.core.warnings import Warnings
from .....report.presentation.flavours.html import templates
class HTMLWarnings(Warnings):
def render(self):
return templates.template("warnings.html").render(**self.content)
| 31.125 | 73 | 0.751004 | 28 | 249 | 6.678571 | 0.607143 | 0.106952 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11245 | 249 | 7 | 74 | 35.571429 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.052209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
014db594ef6a914035d1d74272ee7c621b846fc9 | 131 | py | Python | qcdb/intf_dftd3/__init__.py | nuwandesilva/qcdb | b47fb2ed550fc4176198ddb1dbea3724d6704d23 | [
"BSD-3-Clause"
] | 1 | 2019-02-20T20:18:02.000Z | 2019-02-20T20:18:02.000Z | qcdb/iface_dftd3/__init__.py | vivacebelles/qcdb | 5bbdcb5c833277647a36bb0a5982abb56bf29b20 | [
"BSD-3-Clause"
] | null | null | null | qcdb/iface_dftd3/__init__.py | vivacebelles/qcdb | 5bbdcb5c833277647a36bb0a5982abb56bf29b20 | [
"BSD-3-Clause"
] | null | null | null | from .dashparam import dashcoeff, full_dash_keys, dash_alias, dash_server, dftd3_list
from .runner import run_dftd3, alt_run_dftd3
| 43.666667 | 85 | 0.847328 | 21 | 131 | 4.904762 | 0.666667 | 0.15534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025424 | 0.099237 | 131 | 2 | 86 | 65.5 | 0.847458 | 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 |
0160dd81ab2cde2489cd2dc785b027c1e64a7553 | 73 | py | Python | input/helpers/__init__.py | ml-boringtao/rnn | d7c7fd3ced77d7db061e4077a3532f74d2788886 | [
"MIT"
] | 3 | 2018-03-24T15:28:18.000Z | 2021-07-26T11:42:28.000Z | input/helpers/__init__.py | ml-boringtao/rnn | d7c7fd3ced77d7db061e4077a3532f74d2788886 | [
"MIT"
] | null | null | null | input/helpers/__init__.py | ml-boringtao/rnn | d7c7fd3ced77d7db061e4077a3532f74d2788886 | [
"MIT"
] | 2 | 2020-10-20T14:48:01.000Z | 2021-02-09T14:51:31.000Z | from .hdf5datasetwriter import HDF5DatasetWriter
from .utils import Utils | 36.5 | 48 | 0.876712 | 8 | 73 | 8 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.09589 | 73 | 2 | 49 | 36.5 | 0.939394 | 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 |
0166c34232d06377747bd515afc5dfe5ec7bd48a | 24,716 | py | Python | pair-classifier/tests/tests.py | kingdido999/bugswarm | 8ff2b3e71ca2598c354e8481c6b887cd5988816a | [
"BSD-3-Clause"
] | 18 | 2019-12-27T06:53:39.000Z | 2022-03-03T03:05:35.000Z | pair-classifier/tests/tests.py | kingdido999/bugswarm | 8ff2b3e71ca2598c354e8481c6b887cd5988816a | [
"BSD-3-Clause"
] | 13 | 2020-01-10T17:11:38.000Z | 2021-12-13T20:34:38.000Z | pair-classifier/tests/tests.py | kingdido999/bugswarm | 8ff2b3e71ca2598c354e8481c6b887cd5988816a | [
"BSD-3-Clause"
] | 10 | 2020-01-10T17:36:57.000Z | 2021-09-13T19:51:43.000Z | import unittest
import sys
sys.path.append("../")
from pair_classifier.classify_bugs import process_error # noqa: E402
class Test(unittest.TestCase):
@staticmethod
def read_file_to_list(log_path):
lines = []
with open(log_path) as f:
for line in f:
lines.append(li... | 45.517495 | 119 | 0.676404 | 3,185 | 24,716 | 4.859655 | 0.086342 | 0.09478 | 0.090709 | 0.049748 | 0.787763 | 0.76276 | 0.746931 | 0.736529 | 0.731878 | 0.705324 | 0 | 0.032453 | 0.223297 | 24,716 | 542 | 120 | 45.601476 | 0.773819 | 0.082376 | 0 | 0.607539 | 0 | 0 | 0.116385 | 0.015365 | 0 | 0 | 0 | 0 | 0.044346 | 1 | 0.126386 | false | 0 | 0.008869 | 0 | 0.13969 | 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 |
017a4ec011344f593f110821e2a3e44ea03f74bd | 116 | py | Python | bot/plugins/__init__.py | invincibleJai/osio-chatbot | 312bb38d027ba52757c33cf1c5c9c4514e20aa75 | [
"Apache-2.0"
] | 2 | 2018-08-10T16:45:54.000Z | 2020-08-12T04:56:32.000Z | bot/plugins/__init__.py | invincibleJai/osio-chatbot | 312bb38d027ba52757c33cf1c5c9c4514e20aa75 | [
"Apache-2.0"
] | 9 | 2020-01-28T22:23:26.000Z | 2022-02-09T23:51:52.000Z | plugins/mattermost/__init__.py | ravsa/osio-chatbot-backend | 31574898ed51ea553ab5102fc5093d20ee11c049 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Initialize package."""
from .mattermost import mattermost_runner
| 19.333333 | 41 | 0.689655 | 14 | 116 | 5.642857 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.12069 | 116 | 5 | 42 | 23.2 | 0.754902 | 0.543103 | 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 |
6d6be976f40c681e448365f94bed9ca4198f23b9 | 117 | py | Python | RT_Group/main/admin.py | DiForzza/site_one | 440efe197e1ecaab3416460f1827738d160e48b6 | [
"Apache-2.0"
] | null | null | null | RT_Group/main/admin.py | DiForzza/site_one | 440efe197e1ecaab3416460f1827738d160e48b6 | [
"Apache-2.0"
] | null | null | null | RT_Group/main/admin.py | DiForzza/site_one | 440efe197e1ecaab3416460f1827738d160e48b6 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Task, Test
admin.site.register(Task)
admin.site.register(Test)
| 19.5 | 32 | 0.803419 | 18 | 117 | 5.222222 | 0.555556 | 0.191489 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 5 | 33 | 23.4 | 0.895238 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
6d740f70557c3248f205ce078ff07e81db75828f | 105 | py | Python | atcoder/pbc2019a.py | tomato-300yen/coding | db6f440a96d8c83f486005c650461a69f27e3926 | [
"MIT"
] | null | null | null | atcoder/pbc2019a.py | tomato-300yen/coding | db6f440a96d8c83f486005c650461a69f27e3926 | [
"MIT"
] | null | null | null | atcoder/pbc2019a.py | tomato-300yen/coding | db6f440a96d8c83f486005c650461a69f27e3926 | [
"MIT"
] | null | null | null | A, B, C = map(int, input().split())
print("Yes" if (A <= C and C <= B) or (B <= C and C <= A) else "No")
| 35 | 68 | 0.485714 | 23 | 105 | 2.217391 | 0.608696 | 0.078431 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 105 | 2 | 69 | 52.5 | 0.6375 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
6d8b4a619d1414b62c1b73a0213acb786caa0581 | 1,081 | py | Python | test/test_nmf.py | mariolpantunes/nmf | 5f481bacc5c54beba31fc041aeacce63f63791db | [
"MIT"
] | null | null | null | test/test_nmf.py | mariolpantunes/nmf | 5f481bacc5c54beba31fc041aeacce63f63791db | [
"MIT"
] | null | null | null | test/test_nmf.py | mariolpantunes/nmf | 5f481bacc5c54beba31fc041aeacce63f63791db | [
"MIT"
] | null | null | null | import unittest
import numpy as np
import nmf.nmf as nmf
class TestSum(unittest.TestCase):
def test_nmf_mu_00(self):
X = np.random.rand(5,5)
Xr, W, H, cost = nmf.nmf_mu(X, k=2)
np.testing.assert_almost_equal(X, Xr, decimal=0)
def test_nmf_mu_kl_00(self):
X = np.random.rand... | 30.885714 | 67 | 0.580019 | 207 | 1,081 | 2.826087 | 0.207729 | 0.08547 | 0.08547 | 0.102564 | 0.747009 | 0.719658 | 0.719658 | 0.719658 | 0.719658 | 0.712821 | 0 | 0.073801 | 0.247919 | 1,081 | 34 | 68 | 31.794118 | 0.645756 | 0 | 0 | 0.346154 | 0 | 0 | 0.007401 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 1 | 0.192308 | false | 0 | 0.115385 | 0 | 0.346154 | 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 |
098ac9ae3edc273135ad871861c7b93b32dbf246 | 8,848 | py | Python | src/players/migrations/0024_rename_tmp_to_player.py | reddcoin-project/ReddConnect | 5c212683de6b80b81fd15ed05239c3a1b46c3afd | [
"BSD-3-Clause"
] | 2 | 2019-02-24T00:20:47.000Z | 2020-04-24T15:50:31.000Z | src/players/migrations/0024_rename_tmp_to_player.py | reddcoin-project/ReddConnect | 5c212683de6b80b81fd15ed05239c3a1b46c3afd | [
"BSD-3-Clause"
] | null | null | null | src/players/migrations/0024_rename_tmp_to_player.py | reddcoin-project/ReddConnect | 5c212683de6b80b81fd15ed05239c3a1b46c3afd | [
"BSD-3-Clause"
] | 1 | 2019-01-05T15:51:37.000Z | 2019-01-05T15:51:37.000Z | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
db.rename_table('players_playerdbtmp', 'players_playerdb')
db.rename_table('players_playerdbtmp_groups', 'pl... | 79.711712 | 187 | 0.590981 | 940 | 8,848 | 5.378723 | 0.121277 | 0.099684 | 0.171677 | 0.245253 | 0.792919 | 0.739122 | 0.714201 | 0.714201 | 0.695411 | 0.658228 | 0 | 0.009878 | 0.176198 | 8,848 | 110 | 188 | 80.436364 | 0.68377 | 0.002373 | 0 | 0.485437 | 0 | 0 | 0.597167 | 0.33847 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019417 | false | 0.019417 | 0.038835 | 0 | 0.087379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
09b85e2525b9b4dc25e388085ed4a6db6a1370f5 | 178 | py | Python | yb_backend/introspection.py | yugabyte/yb-django | 5d05896b4f6062102fe534922c9154a54a3c01d8 | [
"Apache-2.0"
] | 5 | 2021-10-30T19:00:12.000Z | 2022-02-26T04:54:03.000Z | yb_backend/introspection.py | yugabyte/yb-django | 5d05896b4f6062102fe534922c9154a54a3c01d8 | [
"Apache-2.0"
] | null | null | null | yb_backend/introspection.py | yugabyte/yb-django | 5d05896b4f6062102fe534922c9154a54a3c01d8 | [
"Apache-2.0"
] | null | null | null | from django.db.backends.postgresql.introspection import (
DatabaseIntrospection as PGDatabaseIntrospection,
)
class DatabaseIntrospection(PGDatabaseIntrospection):
pass | 25.428571 | 57 | 0.831461 | 14 | 178 | 10.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 178 | 7 | 58 | 25.428571 | 0.936709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
61d365cad64a1a3785ca78e5c451f67949a9cda4 | 73 | py | Python | 2483.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | 6 | 2021-04-13T00:33:43.000Z | 2022-02-10T10:23:59.000Z | 2483.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | null | null | null | 2483.py | heltonricardo/URI | 160cca22d94aa667177c9ebf2a1c9864c5e55b41 | [
"MIT"
] | 3 | 2021-03-23T18:42:24.000Z | 2022-02-10T10:24:07.000Z | print('Feliz nat', end='')
print('a' * int(input()), end='')
print('l!')
| 18.25 | 33 | 0.534247 | 11 | 73 | 3.545455 | 0.727273 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 3 | 34 | 24.333333 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
61d969a36b8a4befeaf9c49d05885f4b782de22e | 83 | py | Python | testing/example_scripts/marks/marks_considered_keywords/test_marks_as_keywords.py | tinkerlin/pytest | bed3918cbc800682681a26c163f4cb0868b3a612 | [
"MIT"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | testing/example_scripts/marks/marks_considered_keywords/test_marks_as_keywords.py | tinkerlin/pytest | bed3918cbc800682681a26c163f4cb0868b3a612 | [
"MIT"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | testing/example_scripts/marks/marks_considered_keywords/test_marks_as_keywords.py | tinkerlin/pytest | bed3918cbc800682681a26c163f4cb0868b3a612 | [
"MIT"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | # -*- coding: utf-8 -*-
import pytest
@pytest.mark.foo
def test_mark():
pass
| 10.375 | 23 | 0.614458 | 12 | 83 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.204819 | 83 | 7 | 24 | 11.857143 | 0.742424 | 0.253012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
61ef4122e83df463d5cfbbe365944fa6d26ac63c | 181 | py | Python | igit/models/__init__.py | jmosbacher/igit | 62b613fd5bed28b603160dc998c02106ee4fdef0 | [
"Apache-2.0"
] | null | null | null | igit/models/__init__.py | jmosbacher/igit | 62b613fd5bed28b603160dc998c02106ee4fdef0 | [
"Apache-2.0"
] | 107 | 2021-06-28T02:10:11.000Z | 2022-03-30T02:38:03.000Z | igit/models/__init__.py | jmosbacher/igit | 62b613fd5bed28b603160dc998c02106ee4fdef0 | [
"Apache-2.0"
] | null | null | null | from intervaltree import Interval, IntervalTree
from .blob import Blob
from .packet import ObjectPacket
from .reference import *
from .repo import RepoIndex
from .user import User
| 22.625 | 47 | 0.81768 | 24 | 181 | 6.166667 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143646 | 181 | 7 | 48 | 25.857143 | 0.954839 | 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 |
111d3a2309885f7003f6ce937ad9313d5cd29785 | 174 | py | Python | torchio/data/__init__.py | nwschurink/torchio | 9cb4319200ca328102a370d58b39be1c3b0b4cdc | [
"MIT"
] | 1 | 2020-03-19T08:30:18.000Z | 2020-03-19T08:30:18.000Z | torchio/data/__init__.py | nwschurink/torchio | 9cb4319200ca328102a370d58b39be1c3b0b4cdc | [
"MIT"
] | null | null | null | torchio/data/__init__.py | nwschurink/torchio | 9cb4319200ca328102a370d58b39be1c3b0b4cdc | [
"MIT"
] | null | null | null | from .queue import Queue
from .sampler import ImageSampler, LabelSampler
from .images import ImagesDataset, Image, Subject
from .inference import GridSampler, GridAggregator
| 34.8 | 50 | 0.83908 | 20 | 174 | 7.3 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 174 | 4 | 51 | 43.5 | 0.948052 | 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 |
113585a8cad3c9d4e0ae67e6620cef7a46fbb8c7 | 206 | py | Python | Programiz/Swap Two Variables/Using a temporary variable/Sol.py | Pandz18/C-Programs | 9d9b47516d3f65d348f9f72b9c0edda8246e9fab | [
"MIT"
] | null | null | null | Programiz/Swap Two Variables/Using a temporary variable/Sol.py | Pandz18/C-Programs | 9d9b47516d3f65d348f9f72b9c0edda8246e9fab | [
"MIT"
] | null | null | null | Programiz/Swap Two Variables/Using a temporary variable/Sol.py | Pandz18/C-Programs | 9d9b47516d3f65d348f9f72b9c0edda8246e9fab | [
"MIT"
] | null | null | null | a=int(input("Enter value of a"))
b=int(input("Enter value of b"))
print("Value of a " + str(a))
print("Value of b " + str(b))
temp=a
a=b
b=temp
print("Value of a " + str(a))
print("Value of b " + str(b))
| 17.166667 | 32 | 0.601942 | 44 | 206 | 2.818182 | 0.227273 | 0.33871 | 0.387097 | 0.290323 | 0.870968 | 0.548387 | 0.548387 | 0.548387 | 0.548387 | 0.548387 | 0 | 0 | 0.179612 | 206 | 11 | 33 | 18.727273 | 0.733728 | 0 | 0 | 0.444444 | 0 | 0 | 0.368932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
11369634159761d8771829f1d4a7b0dc4f1a31e1 | 111 | py | Python | pysharpen/methods/sharpening/__init__.py | Vladimir-Kozub/pansharpen | 2d6210e09fd1630e66980e6cd539879be17068bf | [
"MIT"
] | 1 | 2021-06-01T21:07:31.000Z | 2021-06-01T21:07:31.000Z | pysharpen/methods/sharpening/__init__.py | Vladimir-Kozub/pansharpen | 2d6210e09fd1630e66980e6cd539879be17068bf | [
"MIT"
] | 6 | 2019-12-30T10:40:44.000Z | 2021-07-30T19:53:58.000Z | pysharpen/methods/sharpening/__init__.py | Vladimir-Kozub/pansharpen | 2d6210e09fd1630e66980e6cd539879be17068bf | [
"MIT"
] | 3 | 2019-10-28T14:54:11.000Z | 2021-03-02T13:33:22.000Z | from .brovey import BroveyPansharpening
from .gihs import GIHSPansharpening
from .ihs import IHSPansharpening | 37 | 40 | 0.855856 | 12 | 111 | 7.916667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117117 | 111 | 3 | 41 | 37 | 0.969388 | 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 |
113b254e5f08aa02f89286dc490c91acd7aaa166 | 278 | py | Python | datas/models.py | sear-azazel/monitoring | 88e7d31ddf3258da0b45f735ced147a331af720c | [
"MIT"
] | null | null | null | datas/models.py | sear-azazel/monitoring | 88e7d31ddf3258da0b45f735ced147a331af720c | [
"MIT"
] | null | null | null | datas/models.py | sear-azazel/monitoring | 88e7d31ddf3258da0b45f735ced147a331af720c | [
"MIT"
] | null | null | null | from django.db import models
from django.utils import timezone
class Recognition(models.Model):
recognition_text = models.CharField(max_length=200)
recognition_date = models.DateTimeField(default=timezone.now)
pub_date = models.DateTimeField(default=timezone.now)
| 30.888889 | 65 | 0.798561 | 35 | 278 | 6.228571 | 0.571429 | 0.091743 | 0.211009 | 0.275229 | 0.376147 | 0.376147 | 0 | 0 | 0 | 0 | 0 | 0.012245 | 0.118705 | 278 | 8 | 66 | 34.75 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
114794698d39a92cd98dd2345707b44af967f977 | 168 | py | Python | kafka-consumer/consumer/utils/__init__.py | shiv12095/realtimeviz | ee2bf10b5f9467212f9a9ce8957d80456ebd0259 | [
"MIT"
] | 1 | 2021-03-03T13:54:15.000Z | 2021-03-03T13:54:15.000Z | backend/server/utils/__init__.py | shiv12095/realtimeviz | ee2bf10b5f9467212f9a9ce8957d80456ebd0259 | [
"MIT"
] | null | null | null | backend/server/utils/__init__.py | shiv12095/realtimeviz | ee2bf10b5f9467212f9a9ce8957d80456ebd0259 | [
"MIT"
] | 1 | 2021-03-03T13:59:48.000Z | 2021-03-03T13:59:48.000Z | from .file_utils import FileUtils
from .time_utils import TimeUtils
from .logger import Logger
from .constants import Constants
from .server_config import ServerConfig
| 28 | 39 | 0.85119 | 23 | 168 | 6.086957 | 0.521739 | 0.157143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 168 | 5 | 40 | 33.6 | 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 |
1158d87622ef2fbcb541262d539f76e2716bba86 | 120 | py | Python | enthought/developer/features/dock_control_feature.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/developer/features/dock_control_feature.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/developer/features/dock_control_feature.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from etsdevtools.developer.features.dock_control_feature import *
| 30 | 65 | 0.866667 | 15 | 120 | 6.466667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091667 | 120 | 3 | 66 | 40 | 0.889908 | 0.1 | 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 |
1161087c38bade0b901629b0f87206fbc4f24c3d | 632 | py | Python | bigo_test/complexity.py | nvn-nil/bigo_test | e2bd45f84315d27368a6ef19ae720ee7a4fb2f93 | [
"MIT"
] | null | null | null | bigo_test/complexity.py | nvn-nil/bigo_test | e2bd45f84315d27368a6ef19ae720ee7a4fb2f93 | [
"MIT"
] | null | null | null | bigo_test/complexity.py | nvn-nil/bigo_test | e2bd45f84315d27368a6ef19ae720ee7a4fb2f93 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from big_o import complexities
class BaseComplexity:
pass
class Constant(complexities.Constant, BaseComplexity):
pass
class Linear(complexities.Linear, BaseComplexity):
pass
class Quadratic(complexities.Quadratic, BaseComplexity):
pass
class Cubic(complexities.Cubic, Ba... | 16.205128 | 62 | 0.765823 | 59 | 632 | 8.186441 | 0.322034 | 0.335404 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001873 | 0.155063 | 632 | 38 | 63 | 16.631579 | 0.902622 | 0.033228 | 0 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.473684 | 0.052632 | 0 | 0.526316 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
fefc22d24a61890feac7b1479718ddb745ef172c | 121 | py | Python | lcs/strategies/action_selection/__init__.py | Gab0/pyalcs | da68f8ef454939d45b53f5ac53c1c5fd40e65ffc | [
"MIT"
] | null | null | null | lcs/strategies/action_selection/__init__.py | Gab0/pyalcs | da68f8ef454939d45b53f5ac53c1c5fd40e65ffc | [
"MIT"
] | null | null | null | lcs/strategies/action_selection/__init__.py | Gab0/pyalcs | da68f8ef454939d45b53f5ac53c1c5fd40e65ffc | [
"MIT"
] | null | null | null | from .EpsilonGreedy import EpsilonGreedy
from .ActionDelay import ActionDelay
from .KnowledgeArray import KnowledgeArray
| 30.25 | 42 | 0.876033 | 12 | 121 | 8.833333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099174 | 121 | 3 | 43 | 40.333333 | 0.972477 | 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 |
3a0b75850859dd62b7e114acaae6336d0c75b24f | 159 | py | Python | h5Nastran/h5Nastran/__init__.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 293 | 2015-03-22T20:22:01.000Z | 2022-03-14T20:28:24.000Z | h5Nastran/h5Nastran/__init__.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 512 | 2015-03-14T18:39:27.000Z | 2022-03-31T16:15:43.000Z | h5Nastran/h5Nastran/__init__.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 136 | 2015-03-19T03:26:06.000Z | 2022-03-25T22:14:54.000Z | from __future__ import print_function, absolute_import
from .exceptions import pyNastranReadBdfError, pyNastranWriteBdfError
from .h5nastran import H5Nastran
| 31.8 | 69 | 0.880503 | 16 | 159 | 8.375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.09434 | 159 | 4 | 70 | 39.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 |
3a4bdf012eecdc16c5bd589165a8f2fedad6878a | 6,042 | py | Python | tests/utils/test_procrustes.py | greenfieldvision/psiz | 37068530a78e08792e827ee55cf55e627add115e | [
"Apache-2.0"
] | 21 | 2020-04-03T21:10:05.000Z | 2021-12-02T01:31:11.000Z | tests/utils/test_procrustes.py | greenfieldvision/psiz | 37068530a78e08792e827ee55cf55e627add115e | [
"Apache-2.0"
] | 14 | 2020-04-10T00:48:02.000Z | 2021-05-25T18:06:55.000Z | tests/utils/test_procrustes.py | rgerkin/psiz | d540738462b6436a08a472d5e349ca2b813e6d47 | [
"Apache-2.0"
] | 4 | 2020-10-13T16:46:14.000Z | 2021-11-10T00:08:47.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 The PsiZ Authors. 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... | 29.910891 | 78 | 0.649619 | 885 | 6,042 | 4.303955 | 0.171751 | 0.044106 | 0.036755 | 0.066159 | 0.770806 | 0.76398 | 0.758729 | 0.758729 | 0.751116 | 0.751116 | 0 | 0.075559 | 0.215823 | 6,042 | 201 | 79 | 30.059701 | 0.728366 | 0.344091 | 0 | 0.621359 | 0 | 0 | 0.001548 | 0 | 0 | 0 | 0 | 0 | 0.067961 | 1 | 0.07767 | false | 0 | 0.029126 | 0 | 0.116505 | 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 |
3a4d22904a112f6cc1a23268abe7747d535296b8 | 90,572 | py | Python | venv/lib/python3.8/site-packages/mogp_emulator/MeanFunction.py | AndrewKirby2/data_synthesis | 656858137a348fd5dcb57bcd04bdfece2b9eac1b | [
"MIT"
] | 21 | 2021-01-20T07:02:12.000Z | 2022-03-30T21:09:04.000Z | venv/lib/python3.8/site-packages/mogp_emulator/MeanFunction.py | AndrewKirby2/data_synthesis | 656858137a348fd5dcb57bcd04bdfece2b9eac1b | [
"MIT"
] | 114 | 2019-04-25T14:53:11.000Z | 2021-01-06T17:07:41.000Z | venv/lib/python3.8/site-packages/mogp_emulator/MeanFunction.py | AndrewKirby2/data_synthesis | 656858137a348fd5dcb57bcd04bdfece2b9eac1b | [
"MIT"
] | 8 | 2021-02-02T08:56:12.000Z | 2022-02-15T10:03:15.000Z | """
**MeanFunction Module**
The MeanFunction module contains classes used for constructing mean functions for GP emulators.
A base ``MeanBase`` class is provided, which implements basic operations to combine fixed
functions and fitting parameters. The basic operations ``f1 + f2``, ``f1*f2``, ``f1**f2``
and ``f1(f2)`` ... | 45.354031 | 105 | 0.642461 | 12,697 | 90,572 | 4.544774 | 0.046389 | 0.042631 | 0.021211 | 0.01123 | 0.787384 | 0.768304 | 0.7525 | 0.736574 | 0.722398 | 0.703942 | 0 | 0.009526 | 0.281367 | 90,572 | 1,996 | 106 | 45.376754 | 0.877043 | 0.68975 | 0 | 0.526992 | 0 | 0 | 0.097325 | 0 | 0 | 0 | 0 | 0 | 0.03599 | 1 | 0.179949 | false | 0 | 0.010283 | 0 | 0.380463 | 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 |
3a52e34d437749ccd259783e2bfa67cbe68fa911 | 6,552 | py | Python | aqsa_apps/import_from_file/views_check_csv_backup.py | yulaymusin/aqsa | e691c5827f9f341c73cb318cfde7920a1afb1c88 | [
"MIT"
] | 13 | 2018-10-11T19:31:15.000Z | 2022-02-13T10:42:43.000Z | aqsa_apps/import_from_file/views_check_csv_backup.py | yulaymusin/aqsa | e691c5827f9f341c73cb318cfde7920a1afb1c88 | [
"MIT"
] | 7 | 2020-06-05T19:15:29.000Z | 2022-02-10T06:53:59.000Z | aqsa_apps/import_from_file/views_check_csv_backup.py | yulaymusin/aqsa | e691c5827f9f341c73cb318cfde7920a1afb1c88 | [
"MIT"
] | 4 | 2019-01-23T06:16:32.000Z | 2022-03-04T20:31:13.000Z | # Author of Aqsa: Yulay Musin
from django.contrib.auth.decorators import login_required
from django.shortcuts import get_object_or_404
from . import models as m
from . import viewxins_check_csv_backup as vxccb
from . import forms as f
from django.shortcuts import render
from django.utils.translation import ugettext as ... | 44.876712 | 119 | 0.719017 | 946 | 6,552 | 4.572939 | 0.134249 | 0.110957 | 0.15534 | 0.039297 | 0.772538 | 0.742718 | 0.736939 | 0.704808 | 0.694868 | 0.68331 | 0 | 0.005035 | 0.181624 | 6,552 | 145 | 120 | 45.186207 | 0.801753 | 0.036325 | 0 | 0.454545 | 0 | 0 | 0.160063 | 0.046593 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054545 | false | 0 | 0.527273 | 0 | 0.636364 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3a5871eb1c1dd62974c0d991fca245412e2d17c2 | 120 | py | Python | graph/model/__init__.py | KMU-AELAB/LayoutNet_pytorch | a3a325c41ee10b556c8d258b2d3a1909d913a507 | [
"MIT"
] | null | null | null | graph/model/__init__.py | KMU-AELAB/LayoutNet_pytorch | a3a325c41ee10b556c8d258b2d3a1909d913a507 | [
"MIT"
] | null | null | null | graph/model/__init__.py | KMU-AELAB/LayoutNet_pytorch | a3a325c41ee10b556c8d258b2d3a1909d913a507 | [
"MIT"
] | null | null | null | from .encoder import Encoder
from .decoder import Edge, Corner
from .regressor import Regressor
from .model import Model | 30 | 33 | 0.825 | 17 | 120 | 5.823529 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 120 | 4 | 34 | 30 | 0.951923 | 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 |
28aaf024670c00df056dab6a7883f6ca311141ff | 190 | py | Python | molotov/__init__.py | tarekziade/molotov | e7e6f030892cc1244a886be96da7479eab689d52 | [
"Apache-2.0"
] | 10 | 2017-08-28T09:49:13.000Z | 2021-11-09T11:59:18.000Z | molotov/__init__.py | tarekziade/molotov | e7e6f030892cc1244a886be96da7479eab689d52 | [
"Apache-2.0"
] | null | null | null | molotov/__init__.py | tarekziade/molotov | e7e6f030892cc1244a886be96da7479eab689d52 | [
"Apache-2.0"
] | null | null | null | try:
from molotov import patch # NOQA
from molotov.fmwk import scenario # NOQA
except ImportError:
pass # first import
__version__ = '0.1'
| 23.75 | 58 | 0.563158 | 20 | 190 | 5.15 | 0.75 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0.384211 | 190 | 7 | 59 | 27.142857 | 0.863248 | 0.115789 | 0 | 0 | 0 | 0 | 0.018293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
28ca3a74e35d63029544a42b5e41674186417713 | 96 | py | Python | venv/lib/python3.8/site-packages/setuptools/_vendor/packaging/version.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/setuptools/_vendor/packaging/version.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/setuptools/_vendor/packaging/version.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/fd/f2/d1/36b16bc5870755fca8f2f93d8fcb3a24cf0dff1b12c5516be91272728f | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.385417 | 0 | 96 | 1 | 96 | 96 | 0.510417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
28d1fc4c3b112d327ee7bbccaf7f0c0e45aca3e5 | 113 | py | Python | src/evolvepy/__init__.py | EltonCN/evolvepy | 4489264d6c03ea4f3c23ea665fdf12fe4ead1ccc | [
"MIT"
] | 1 | 2022-01-13T21:11:53.000Z | 2022-01-13T21:11:53.000Z | src/evolvepy/__init__.py | EltonCN/evolvepy | 4489264d6c03ea4f3c23ea665fdf12fe4ead1ccc | [
"MIT"
] | null | null | null | src/evolvepy/__init__.py | EltonCN/evolvepy | 4489264d6c03ea4f3c23ea665fdf12fe4ead1ccc | [
"MIT"
] | null | null | null | from .evolver import Evolver
from .configurable import Configurable
from . import generator, evaluator, callbacks | 37.666667 | 45 | 0.840708 | 13 | 113 | 7.307692 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 113 | 3 | 45 | 37.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 |
e915ceae2b275ad3703c60d4db614efff8adb558 | 196 | py | Python | temperature_web_control/plugin/__init__.py | JQIamo/temperature-control-app | 7ba91e8a7caa0506b0daf1d6394eb07d400182b9 | [
"MIT"
] | null | null | null | temperature_web_control/plugin/__init__.py | JQIamo/temperature-control-app | 7ba91e8a7caa0506b0daf1d6394eb07d400182b9 | [
"MIT"
] | null | null | null | temperature_web_control/plugin/__init__.py | JQIamo/temperature-control-app | 7ba91e8a7caa0506b0daf1d6394eb07d400182b9 | [
"MIT"
] | null | null | null | import os
from temperature_web_control.utils import list_all_modules
# Automatically load available drivers
plugins = list_all_modules("(.*)_plugin", os.path.dirname(os.path.abspath(__file__))) | 28 | 85 | 0.811224 | 27 | 196 | 5.481481 | 0.740741 | 0.094595 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086735 | 196 | 7 | 85 | 28 | 0.826816 | 0.183673 | 0 | 0 | 0 | 0 | 0.069182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e9211ece6b65016817755e46b413560a11b9429c | 156 | py | Python | src/numberGenerator/rng.py | pooyadav/cpso-for-nn-training | f643d00e37a6500126561c429263c94f09d870e9 | [
"MIT"
] | 1 | 2020-01-19T00:27:42.000Z | 2020-01-19T00:27:42.000Z | src/numberGenerator/rng.py | Sharzy92/cpso-for-nn-training | f643d00e37a6500126561c429263c94f09d870e9 | [
"MIT"
] | null | null | null | src/numberGenerator/rng.py | Sharzy92/cpso-for-nn-training | f643d00e37a6500126561c429263c94f09d870e9 | [
"MIT"
] | 2 | 2019-11-18T14:52:51.000Z | 2020-01-19T00:27:26.000Z | import random
from numberGenerator.ng import NG
class RNG(NG):
def __init__(self):
pass
def random(self):
return random.random() | 14.181818 | 33 | 0.647436 | 20 | 156 | 4.85 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 156 | 11 | 34 | 14.181818 | 0.850877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.285714 | 0.142857 | 0.857143 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
3a620f4b2bd9fc9e84bac171539e6b0aab7d31ed | 357 | py | Python | p2p/exchange/__init__.py | wschwab/trinity | f94c1aa1642dd5d83eb6a89e48205abda234de79 | [
"MIT"
] | null | null | null | p2p/exchange/__init__.py | wschwab/trinity | f94c1aa1642dd5d83eb6a89e48205abda234de79 | [
"MIT"
] | 2 | 2019-04-30T06:22:12.000Z | 2019-06-14T04:27:18.000Z | p2p/exchange/__init__.py | wschwab/trinity | f94c1aa1642dd5d83eb6a89e48205abda234de79 | [
"MIT"
] | null | null | null | from .abc import ExchangeAPI, PerformanceAPI, ValidatorAPI # noqa: F401
from .exchange import BaseExchange # noqa: F401
from .logic import ExchangeLogic # noqa: F401
from .normalizers import BaseNormalizer, NoopNormalizer # noqa: F401
from .tracker import BasePerformanceTracker # noqa: F401
from .validator import ... | 51 | 72 | 0.798319 | 41 | 357 | 6.902439 | 0.487805 | 0.169611 | 0.212014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.142857 | 357 | 6 | 73 | 59.5 | 0.866013 | 0.182073 | 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 |
3a9eb863c19594799283402a2121dbf1dbbdff58 | 92 | py | Python | sqaodpy/sqaod/common/__init__.py | rickyHong/Qubo-GPU-repl | a2bea6857885d318cd3aa6b6ed37dc6e7f011433 | [
"Apache-2.0"
] | 51 | 2018-01-04T06:26:07.000Z | 2022-03-31T12:05:16.000Z | sqaodpy/sqaod/common/__init__.py | rickyHong/Qubo-GPU-repl | a2bea6857885d318cd3aa6b6ed37dc6e7f011433 | [
"Apache-2.0"
] | 63 | 2018-02-21T10:57:26.000Z | 2020-10-20T18:25:25.000Z | sqaodpy/sqaod/common/__init__.py | rickyHong/Qubo-GPU-repl | a2bea6857885d318cd3aa6b6ed37dc6e7f011433 | [
"Apache-2.0"
] | 15 | 2018-01-18T16:56:15.000Z | 2021-09-16T12:19:43.000Z | from .common import *
from .summary import *
from . import checkers
from . import docstring
| 18.4 | 23 | 0.76087 | 12 | 92 | 5.833333 | 0.5 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 4 | 24 | 23 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3acbf3b5a2c313d13873fcbb521b75e5e21fdd6b | 447 | py | Python | python/src/constants/main.py | wagmiog/scripts | 80aab6f4de064a83db120daaf3959166385195c1 | [
"MIT"
] | 2 | 2021-12-31T18:40:42.000Z | 2021-12-31T18:43:23.000Z | python/src/constants/main.py | anongothdev/scripts | 6406bc23f1482312a8ad006218de4c6372d6e725 | [
"MIT"
] | null | null | null | python/src/constants/main.py | anongothdev/scripts | 6406bc23f1482312a8ad006218de4c6372d6e725 | [
"MIT"
] | null | null | null | # PNG ADDRESS
PNG = "0x60781C2586D68229fde47564546784ab3fACA982"
# PGL PNG/AVAX
LP_PNG_AVAX = "0xd7538cABBf8605BdE1f4901B47B8D42c61DE0367"
# FACTORY ADDRESS
FACTORY = '0xefa94DE7a4656D787667C749f7E1223D71E9FD88'
# STAKING CONTRACTS
# EARN AVAX
STAKING_AVAX = "0xD49B406A7A29D64e081164F6C3353C599A2EeAE9"
# EARN OOE
STAKI... | 34.384615 | 60 | 0.856823 | 32 | 447 | 11.8125 | 0.53125 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.396088 | 0.085011 | 447 | 13 | 60 | 34.384615 | 0.528117 | 0.196868 | 0 | 0 | 0 | 0 | 0.715909 | 0.715909 | 0 | 0 | 0.715909 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
aaf1ca13b30e68af546ae723a0359703d1476571 | 116 | py | Python | math-and-algorithm/059.py | silphire/training-with-books | bd07f7376996828b6cb4000d654cdc5f53d1c589 | [
"MIT"
] | null | null | null | math-and-algorithm/059.py | silphire/training-with-books | bd07f7376996828b6cb4000d654cdc5f53d1c589 | [
"MIT"
] | 4 | 2020-01-04T14:05:45.000Z | 2020-01-19T14:53:03.000Z | math-and-algorithm/059.py | silphire/training-with-books | bd07f7376996828b6cb4000d654cdc5f53d1c589 | [
"MIT"
] | null | null | null | # https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_ay
print([6, 2, 4, 8][int(input()) % 4])
| 29 | 76 | 0.706897 | 20 | 116 | 3.95 | 0.8 | 0.177215 | 0.405063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046729 | 0.077586 | 116 | 3 | 77 | 38.666667 | 0.691589 | 0.637931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
c908689edf617dc2b6de048930b09b793d2062e6 | 360 | py | Python | src/top_sites_check/interface.py | deeso/top-sites-check | f128c68476a6366f4155a05140fda04ec60e0204 | [
"Apache-2.0"
] | null | null | null | src/top_sites_check/interface.py | deeso/top-sites-check | f128c68476a6366f4155a05140fda04ec60e0204 | [
"Apache-2.0"
] | null | null | null | src/top_sites_check/interface.py | deeso/top-sites-check | f128c68476a6366f4155a05140fda04ec60e0204 | [
"Apache-2.0"
] | null | null | null |
class ServiceInterface(object):
def __init__(self, **kargs):
pass
def update(self, **kargs):
raise Exception("Not implemented for this class")
def load(self, **kargs):
raise Exception("Not implemented for this class")
def check(self, domain=None, **kargs):
raise Exce... | 24 | 57 | 0.644444 | 43 | 360 | 5.302326 | 0.44186 | 0.118421 | 0.25 | 0.289474 | 0.653509 | 0.653509 | 0.653509 | 0.653509 | 0.45614 | 0.45614 | 0 | 0 | 0.241667 | 360 | 14 | 58 | 25.714286 | 0.835165 | 0 | 0 | 0.333333 | 0 | 0 | 0.250696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.111111 | 0 | 0 | 0.555556 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
c9109658e516b1a084b257c6bcefb8c3f97fa7b6 | 41 | py | Python | e2j2/exceptions.py | TheLastProject/e2j2 | 4d2071f6d974e383fe54400a7d4082d968449011 | [
"MIT"
] | 9 | 2019-05-23T09:46:01.000Z | 2020-09-01T06:50:23.000Z | e2j2/exceptions.py | TheLastProject/e2j2 | 4d2071f6d974e383fe54400a7d4082d968449011 | [
"MIT"
] | 5 | 2017-08-21T12:14:02.000Z | 2019-10-23T11:43:53.000Z | e2j2/exceptions.py | TheLastProject/e2j2 | 4d2071f6d974e383fe54400a7d4082d968449011 | [
"MIT"
] | 2 | 2017-08-07T07:05:45.000Z | 2019-10-18T13:06:11.000Z | class E2j2Exception(Exception):
pass
| 13.666667 | 31 | 0.756098 | 4 | 41 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.170732 | 41 | 2 | 32 | 20.5 | 0.852941 | 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 |
c912e9404e24aa48ed3fd2dbd984fb56ce7ec5db | 66 | py | Python | pandas_genomics/io/plink/__init__.py | tomszar/pandas-genomics | 13cd67c9e3a43e29420fc153ccf1cc60a6c7c009 | [
"BSD-3-Clause"
] | 38 | 2020-09-22T18:41:18.000Z | 2022-02-14T19:39:54.000Z | pandas_genomics/io/plink/__init__.py | tomszar/pandas-genomics | 13cd67c9e3a43e29420fc153ccf1cc60a6c7c009 | [
"BSD-3-Clause"
] | 24 | 2020-10-23T14:15:25.000Z | 2022-02-14T19:42:05.000Z | pandas_genomics/io/plink/__init__.py | tomszar/pandas-genomics | 13cd67c9e3a43e29420fc153ccf1cc60a6c7c009 | [
"BSD-3-Clause"
] | 8 | 2020-10-22T21:12:03.000Z | 2021-11-02T14:26:14.000Z | from .from_plink import from_plink
from .to_plink import to_plink
| 22 | 34 | 0.848485 | 12 | 66 | 4.333333 | 0.333333 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 35 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c91c969a159f16a09cf5fd8cf5943cc5de03d806 | 602 | py | Python | allure-pytest-bdd/test/links_tests/links_test.py | Duisus/allure-python | 09402db43da00bb3edb59767d5cc3826457c3f1a | [
"Apache-2.0"
] | 1 | 2021-01-08T12:52:32.000Z | 2021-01-08T12:52:32.000Z | allure-pytest-bdd/test/links_tests/links_test.py | Duisus/allure-python | 09402db43da00bb3edb59767d5cc3826457c3f1a | [
"Apache-2.0"
] | null | null | null | allure-pytest-bdd/test/links_tests/links_test.py | Duisus/allure-python | 09402db43da00bb3edb59767d5cc3826457c3f1a | [
"Apache-2.0"
] | null | null | null | from pytest_bdd import scenario
@scenario("links_features\\link_issue_test_case_link.feature", "Default link")
def test_default_link():
pass
@scenario("links_features\\link_issue_test_case_link.feature", "Issue link")
def test_issue_link():
pass
@scenario("links_features\\link_issue_test_case_link.feature... | 22.296296 | 80 | 0.772425 | 87 | 602 | 4.942529 | 0.218391 | 0.151163 | 0.244186 | 0.232558 | 0.455814 | 0.455814 | 0.37907 | 0.37907 | 0.37907 | 0.265116 | 0 | 0 | 0.111296 | 602 | 26 | 81 | 23.153846 | 0.803738 | 0 | 0 | 0.3125 | 0 | 0 | 0.486711 | 0.375415 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | true | 0.3125 | 0.0625 | 0 | 0.375 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c928a3e3455dfa05750ddf525003a68980ae0788 | 157 | py | Python | ifm3d_ros_msgs/utils/ifm3d_ros_utils/__init__.py | lovepark/ifm3d-ros | 335b0a75cc3e289723fa41a5dddbb32ae7adacf8 | [
"Apache-2.0"
] | 9 | 2017-10-17T13:34:01.000Z | 2018-10-14T16:17:00.000Z | ifm3d_ros_msgs/utils/ifm3d_ros_utils/__init__.py | lovepark/ifm3d-ros | 335b0a75cc3e289723fa41a5dddbb32ae7adacf8 | [
"Apache-2.0"
] | 10 | 2017-04-03T14:10:55.000Z | 2018-10-30T08:59:31.000Z | ifm3d_ros_msgs/utils/ifm3d_ros_utils/__init__.py | lovepark/ifm3d-ros | 335b0a75cc3e289723fa41a5dddbb32ae7adacf8 | [
"Apache-2.0"
] | 14 | 2017-05-01T18:45:12.000Z | 2018-10-18T12:09:00.000Z | # SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021 ifm electronic, gmbh
from ._DumpClient import DumpClient
from ._ConfigClient import ConfigClient
| 26.166667 | 41 | 0.802548 | 20 | 157 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.121019 | 157 | 5 | 42 | 31.4 | 0.855072 | 0.477707 | 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 |
a344b3d03d0de9d4a69945176f852c4a940915ec | 27 | py | Python | mk.py | mk-knight23/Text-to-Speech | a9a3e5f98a6c56408112a6277ab171574667088c | [
"MIT"
] | null | null | null | mk.py | mk-knight23/Text-to-Speech | a9a3e5f98a6c56408112a6277ab171574667088c | [
"MIT"
] | null | null | null | mk.py | mk-knight23/Text-to-Speech | a9a3e5f98a6c56408112a6277ab171574667088c | [
"MIT"
] | null | null | null | print("kazi")
print(98*96) | 13.5 | 14 | 0.666667 | 5 | 27 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0.074074 | 27 | 2 | 15 | 13.5 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 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 |
a38191a9b0d8ea3824d1db0498233b4f975cdf19 | 14,345 | py | Python | backend/api/views/RolProyectoViewSet.py | kukiamarilla/polijira | 510dbc1473db973ac71fc68fa5a9b758b90a780b | [
"MIT"
] | 1 | 2022-03-02T02:28:49.000Z | 2022-03-02T02:28:49.000Z | backend/api/views/RolProyectoViewSet.py | kukiamarilla/polijira | 510dbc1473db973ac71fc68fa5a9b758b90a780b | [
"MIT"
] | 22 | 2021-09-01T17:44:25.000Z | 2021-10-07T19:39:09.000Z | backend/api/views/RolProyectoViewSet.py | kukiamarilla/polijira | 510dbc1473db973ac71fc68fa5a9b758b90a780b | [
"MIT"
] | null | null | null | from django.db import transaction
from backend.api.decorators import FormValidator
from rest_framework.decorators import action
from backend.api.serializers import RolProyectoSerializer, PermisoProyectoSerializer
from backend.api.models import Usuario, Proyecto, PermisoProyecto, RolProyecto, Miembro
from rest_framework... | 45.977564 | 101 | 0.593935 | 1,430 | 14,345 | 5.834965 | 0.11049 | 0.063758 | 0.084372 | 0.104027 | 0.787872 | 0.760307 | 0.747483 | 0.747483 | 0.736817 | 0.724113 | 0 | 0.009733 | 0.319554 | 14,345 | 311 | 102 | 46.125402 | 0.845098 | 0.082328 | 0 | 0.645299 | 0 | 0 | 0.175335 | 0.03138 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029915 | false | 0 | 0.034188 | 0 | 0.230769 | 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 |
6e793cbdbdcad886ae6fbef5aeee1e88788ce9dd | 136 | py | Python | server/api/models/__init__.py | koiic/favorite-things | f34944dfbc78e454c6245b76f036f6dd24d018eb | [
"MIT"
] | null | null | null | server/api/models/__init__.py | koiic/favorite-things | f34944dfbc78e454c6245b76f036f6dd24d018eb | [
"MIT"
] | 5 | 2020-07-17T10:43:13.000Z | 2022-02-26T12:16:12.000Z | server/api/models/__init__.py | koiic/favorite-things | f34944dfbc78e454c6245b76f036f6dd24d018eb | [
"MIT"
] | null | null | null | from .audit import Audit
from .category import Category
from .favorite import Favorite
from .user import User
from .database import db
| 19.428571 | 30 | 0.808824 | 20 | 136 | 5.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154412 | 136 | 6 | 31 | 22.666667 | 0.956522 | 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 |
6e990cd39c3f94ba36b0a62c92cb3bd6181d8a96 | 1,625 | py | Python | tests/utils/test_ZeropadLayer.py | jamesjiang52/Reshade | ddc87424c50030b4606c4eb5ec61b4be1d4cad98 | [
"MIT"
] | null | null | null | tests/utils/test_ZeropadLayer.py | jamesjiang52/Reshade | ddc87424c50030b4606c4eb5ec61b4be1d4cad98 | [
"MIT"
] | null | null | null | tests/utils/test_ZeropadLayer.py | jamesjiang52/Reshade | ddc87424c50030b4606c4eb5ec61b4be1d4cad98 | [
"MIT"
] | null | null | null | import reshade as rs
class TestZeropadLayer:
def test_ZeropadLayer(self):
inputs = rs.ConnectionLayer(depth=2, height=3, width=3)
inputs.values = [
[[1, 2, 3],
[4, 5, 6],
[7, 8, 9]],
[[10, 11, 12],
[13, 14, 15],
[16, 17, ... | 29.017857 | 64 | 0.329231 | 259 | 1,625 | 2.061776 | 0.146718 | 0.479401 | 0.640449 | 0.779026 | 0.750936 | 0.569288 | 0.434457 | 0.385768 | 0.385768 | 0.385768 | 0 | 0.276498 | 0.465846 | 1,625 | 55 | 65 | 29.545455 | 0.33871 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 1 | 0.021739 | false | 0 | 0.021739 | 0 | 0.065217 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6e9b79f9a74fd53e00de482157a0696bd4ebd2e6 | 137 | py | Python | Draw/random_shapes.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | Draw/random_shapes.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | Draw/random_shapes.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | # 生成具有随机形状的图像,并用边框标记。
import skimage.draw
image, labels = skimage.draw.random_shapes((32, 32), max_shapes=3)
print(image)
print(labels)
| 19.571429 | 66 | 0.766423 | 20 | 137 | 5.15 | 0.65 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040323 | 0.094891 | 137 | 6 | 67 | 22.833333 | 0.790323 | 0.138686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6eaed71022cce7d261feb988ee4cff688b390a70 | 12 | py | Python | Lib/test/test_compiler/testcorpus/95_annotation_module.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 1,886 | 2021-05-03T23:58:43.000Z | 2022-03-31T19:15:58.000Z | Lib/test/test_compiler/testcorpus/95_annotation_module.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 70 | 2021-05-04T23:25:35.000Z | 2022-03-31T18:42:08.000Z | Lib/test/test_compiler/testcorpus/95_annotation_module.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 52 | 2021-05-04T21:26:03.000Z | 2022-03-08T18:02:56.000Z | z: int = 5
| 4 | 10 | 0.416667 | 3 | 12 | 1.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.416667 | 12 | 2 | 11 | 6 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6e20bb4d243ca51a54bf6d82a760d4031fb587a3 | 75 | py | Python | app/backend/callbacks/__init__.py | Arthurdb1999/dash-plotly-example | a54dce5e233aab75746a433665a4a958a77e4b58 | [
"MIT"
] | null | null | null | app/backend/callbacks/__init__.py | Arthurdb1999/dash-plotly-example | a54dce5e233aab75746a433665a4a958a77e4b58 | [
"MIT"
] | null | null | null | app/backend/callbacks/__init__.py | Arthurdb1999/dash-plotly-example | a54dce5e233aab75746a433665a4a958a77e4b58 | [
"MIT"
] | null | null | null | # Lista de callbacks
from app.backend.callbacks.callbacks_main import *
| 12.5 | 50 | 0.786667 | 10 | 75 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 75 | 5 | 51 | 15 | 0.90625 | 0.24 | 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 |
6e27ca4ff4e87d0ff72c7412eb2284448a407d8a | 17,075 | py | Python | DonaldTrump.py | lanceculnane/DonaldTrumpVa | 7151087894b654e1f96e4875575f2093bdd58258 | [
"CC0-1.0"
] | null | null | null | DonaldTrump.py | lanceculnane/DonaldTrumpVa | 7151087894b654e1f96e4875575f2093bdd58258 | [
"CC0-1.0"
] | null | null | null | DonaldTrump.py | lanceculnane/DonaldTrumpVa | 7151087894b654e1f96e4875575f2093bdd58258 | [
"CC0-1.0"
] | null | null | null | ####Donald Trump estimation game haahhaaha
# this is based on his assertion that he will
# personally answer calls of any veterans who are
# having trouble navigating the VA system
# it estimates how many days he will spend in his
# presidency (if elected) answering VA calls
print """
WWMxxxxxMWWWMMMMMWWWMMxxxMMMMMMx... | 126.481481 | 236 | 0.63672 | 1,327 | 17,075 | 8.188395 | 0.415222 | 0.010123 | 0.004417 | 0.006442 | 0.019418 | 0.008283 | 0 | 0 | 0 | 0 | 0 | 0.005524 | 0.035139 | 17,075 | 134 | 237 | 127.425373 | 0.654021 | 0.018272 | 0 | 0.056 | 0 | 0.408 | 0.973736 | 0.868979 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.176 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6e432dce570efc715e8c14b346f01ec1acd4dce9 | 106 | py | Python | jhu_primitives/nearest_neighbor_nomination/__init__.py | remram44/primitives-interfaces | f6d305d6f65fc8c89c14bef6f2b8b4d86d44005b | [
"Apache-2.0"
] | null | null | null | jhu_primitives/nearest_neighbor_nomination/__init__.py | remram44/primitives-interfaces | f6d305d6f65fc8c89c14bef6f2b8b4d86d44005b | [
"Apache-2.0"
] | 23 | 2017-09-20T08:12:13.000Z | 2022-03-01T01:49:11.000Z | jhu_primitives/nearest_neighbor_nomination/__init__.py | remram44/primitives-interfaces | f6d305d6f65fc8c89c14bef6f2b8b4d86d44005b | [
"Apache-2.0"
] | 8 | 2018-05-14T18:44:38.000Z | 2021-03-18T19:53:23.000Z | from __future__ import absolute_import
from .nearest_neighbor_nomination import NearestNeighborNomination
| 35.333333 | 66 | 0.915094 | 11 | 106 | 8.181818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 106 | 2 | 67 | 53 | 0.918367 | 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 |
282c52b3a4f06321ff046f748599c948542d4b70 | 403 | py | Python | ismo/samples/sample_generator_factory.py | kjetil-lye/iterative_surrogate_optimization | f5de412daab1180612837f4c950203ad87d62f7e | [
"MIT"
] | 6 | 2020-10-20T14:03:50.000Z | 2021-11-02T15:08:55.000Z | ismo/samples/sample_generator_factory.py | kjetil-lye/iterative_surrogate_optimization | f5de412daab1180612837f4c950203ad87d62f7e | [
"MIT"
] | 3 | 2020-11-13T19:04:10.000Z | 2022-02-10T02:12:18.000Z | ismo/samples/sample_generator_factory.py | kjetil-lye/iterative_surrogate_optimization | f5de412daab1180612837f4c950203ad87d62f7e | [
"MIT"
] | 3 | 2020-10-20T14:03:53.000Z | 2021-03-19T23:11:34.000Z | from ismo.samples import MonteCarlo, Sobol
class SampleGeneratorFactory(object):
def __init__(self):
self.known_names = {
'monte-carlo' : MonteCarlo,
'sobol' : Sobol
}
def create_sample_generator(self, name):
return self.known_names[name]()
def create_sample_... | 23.705882 | 65 | 0.677419 | 42 | 403 | 6.214286 | 0.5 | 0.137931 | 0.241379 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 403 | 16 | 66 | 25.1875 | 0.841935 | 0 | 0 | 0 | 0 | 0 | 0.039702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.181818 | 0.636364 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
284f6f4b7078afb237f57370ce346f793b581a77 | 2,786 | py | Python | tests/test_roi.py | betatim/cornerstone_widget | c22fafd4d8fe148f6b2349518188eb0bee5f18f1 | [
"Apache-2.0"
] | 24 | 2018-09-07T10:40:07.000Z | 2022-02-01T21:18:00.000Z | tests/test_roi.py | betatim/cornerstone_widget | c22fafd4d8fe148f6b2349518188eb0bee5f18f1 | [
"Apache-2.0"
] | 26 | 2018-09-04T16:32:46.000Z | 2018-10-08T09:11:50.000Z | tests/test_roi.py | betatim/cornerstone_widget | c22fafd4d8fe148f6b2349518188eb0bee5f18f1 | [
"Apache-2.0"
] | 3 | 2018-09-17T12:56:16.000Z | 2019-12-03T06:30:34.000Z | import json
from cornerstone_widget import get_bbox_handles
_test_bbox_json = """
{"imageIdToolState": {"": {"rectangleRoi": {"data": [{"visible": true, "active": false, "invalidated": false, "handles": {"start": {"x": 553.3138489596392, "y": 449.722433543228, "highlight": true, "active": false}, "end": {"x": 835.556... | 121.130435 | 1,429 | 0.668342 | 327 | 2,786 | 5.590214 | 0.363914 | 0.066193 | 0.065646 | 0.078775 | 0.51477 | 0.47046 | 0.455142 | 0.420131 | 0.370897 | 0.328228 | 0 | 0.22008 | 0.106246 | 2,786 | 22 | 1,430 | 126.636364 | 0.514056 | 0 | 0 | 0 | 0 | 0.117647 | 0.824838 | 0.085068 | 0 | 0 | 0 | 0 | 0.411765 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2856ba22f26fa86ccc6cbca6d7fa1f6e37c3c73e | 1,867 | py | Python | correlations/tests/corr3d_test.py | FilippoAleotti/Dwarf-Tensorflow | 3b44d3a791b75e93f8d1cabded736440ce84bca0 | [
"Apache-2.0"
] | 16 | 2019-12-04T14:42:07.000Z | 2022-03-22T05:06:01.000Z | correlations/tests/corr3d_test.py | FilippoAleotti/Dwarf-Tensorflow | 3b44d3a791b75e93f8d1cabded736440ce84bca0 | [
"Apache-2.0"
] | 10 | 2020-04-12T03:26:25.000Z | 2022-03-12T00:14:16.000Z | correlations/tests/corr3d_test.py | FilippoAleotti/Dwarf-Tensorflow | 3b44d3a791b75e93f8d1cabded736440ce84bca0 | [
"Apache-2.0"
] | 3 | 2020-03-08T01:50:44.000Z | 2020-07-10T07:51:47.000Z | import tensorflow as tf
import numpy as np
from external_packages.correlation3D.ops import correlation3D as cuda_corr
from correlations.correlation3D import correlation3D as native_corr
import os
class Corr3DTest(tf.test.TestCase):
def test_equals_mdd0(self):
x = np.random.rand(2,480,640,128)
y =... | 49.131579 | 148 | 0.667381 | 293 | 1,867 | 3.976109 | 0.228669 | 0.072103 | 0.066953 | 0.072961 | 0.733047 | 0.733047 | 0.712446 | 0.712446 | 0.712446 | 0.712446 | 0 | 0.059794 | 0.220675 | 1,867 | 38 | 149 | 49.131579 | 0.740893 | 0 | 0 | 0.529412 | 0 | 0 | 0.004283 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 1 | 0.058824 | false | 0 | 0.147059 | 0 | 0.235294 | 0.029412 | 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 |
28a394aad03f9fc8db0394d5e951a8cc4603fc0e | 183 | py | Python | autofaiss/__init__.py | rom1504/autofaiss | d61c15bb1ad49e94ab29bd05b280d49387431ece | [
"Apache-2.0"
] | 195 | 2021-05-04T17:33:36.000Z | 2022-03-31T20:35:13.000Z | autofaiss/__init__.py | rom1504/autofaiss | d61c15bb1ad49e94ab29bd05b280d49387431ece | [
"Apache-2.0"
] | 69 | 2021-06-11T20:31:40.000Z | 2022-03-31T21:48:27.000Z | autofaiss/__init__.py | rom1504/autofaiss | d61c15bb1ad49e94ab29bd05b280d49387431ece | [
"Apache-2.0"
] | 20 | 2021-07-31T12:09:03.000Z | 2022-03-10T10:29:54.000Z | # pylint: disable=unused-import,missing-docstring
from autofaiss.external.quantize import build_index, score_index, tune_index
from autofaiss.version import __author__, __version__
| 30.5 | 76 | 0.846995 | 23 | 183 | 6.26087 | 0.695652 | 0.180556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087432 | 183 | 5 | 77 | 36.6 | 0.862275 | 0.256831 | 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 |
9542f0a667b0870153b36e4402dd5a711fa0476e | 3,225 | py | Python | ingenico/direct/sdk/merchant/i_merchant_client.py | Ingenico/direct-sdk-python3 | d2b30b8e8afb307153a1f19ac4c054d5344449ce | [
"Apache-2.0"
] | null | null | null | ingenico/direct/sdk/merchant/i_merchant_client.py | Ingenico/direct-sdk-python3 | d2b30b8e8afb307153a1f19ac4c054d5344449ce | [
"Apache-2.0"
] | 1 | 2021-03-30T12:55:39.000Z | 2021-04-08T08:23:27.000Z | ingenico/direct/sdk/merchant/i_merchant_client.py | Ingenico/direct-sdk-python3 | d2b30b8e8afb307153a1f19ac4c054d5344449ce | [
"Apache-2.0"
] | null | null | null | #
# This class was auto-generated from the API references found at
# https://support.direct.ingenico.com/documentation/api/reference/
#
from abc import ABC, abstractmethod
from ingenico.direct.sdk.merchant.hostedcheckout.hosted_checkout_client import HostedCheckoutClient
from ingenico.direct.sdk.merchant.hostedtokeniza... | 34.677419 | 128 | 0.724341 | 311 | 3,225 | 7.395498 | 0.221865 | 0.109565 | 0.133043 | 0.195652 | 0.332609 | 0.14087 | 0 | 0 | 0 | 0 | 0 | 0.003371 | 0.172093 | 3,225 | 92 | 129 | 35.054348 | 0.858052 | 0.427597 | 0 | 0.310345 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.310345 | false | 0 | 0.344828 | 0 | 0.689655 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
957e6f56b79c08e6ede44a3ddbbbefc525a1a548 | 299 | py | Python | tests/__init__.py | actively-ai/fastcluster | 569c3e38e749ba2f3c3a665a04f5f8e0a71d6d37 | [
"BSD-2-Clause"
] | 92 | 2016-03-12T09:27:31.000Z | 2022-03-20T23:48:45.000Z | tests/__init__.py | actively-ai/fastcluster | 569c3e38e749ba2f3c3a665a04f5f8e0a71d6d37 | [
"BSD-2-Clause"
] | 27 | 2016-04-28T04:51:51.000Z | 2022-02-27T13:50:29.000Z | tests/__init__.py | actively-ai/fastcluster | 569c3e38e749ba2f3c3a665a04f5f8e0a71d6d37 | [
"BSD-2-Clause"
] | 29 | 2016-03-16T14:18:26.000Z | 2022-03-30T23:26:34.000Z | import unittest
class fastcluster_test(unittest.TestCase):
def test(self):
from tests.test import test
test(10)
def test_nan(self):
from tests.nantest import test
test()
def test_vector(self):
from tests.vectortest import test
test(10)
| 19.933333 | 42 | 0.632107 | 38 | 299 | 4.894737 | 0.394737 | 0.112903 | 0.209677 | 0.172043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018957 | 0.294314 | 299 | 14 | 43 | 21.357143 | 0.862559 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.363636 | 0 | 0.727273 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
958d1996892cade235bfddc20013a54273b03436 | 2,615 | py | Python | tests/test_alpha_geodesic.py | ISMHinoLab/geodesical_skew_divergence | 293648a30e86bdd14749af5b107f1d3687d67700 | [
"MIT"
] | 7 | 2021-04-01T09:21:49.000Z | 2022-03-24T05:28:22.000Z | tests/test_alpha_geodesic.py | ISMHinoLab/geodesical_skew_divergence | 293648a30e86bdd14749af5b107f1d3687d67700 | [
"MIT"
] | 21 | 2021-04-01T02:56:54.000Z | 2021-05-07T01:02:09.000Z | tests/test_alpha_geodesic.py | ISMHinoLab/geodesical_skew_divergence | 293648a30e86bdd14749af5b107f1d3687d67700 | [
"MIT"
] | 2 | 2021-04-12T15:00:17.000Z | 2021-04-26T03:10:26.000Z | import unittest
import torch
from gs_divergence.alpha_geodesic import alpha_geodesic
class TestAlphaGeodesic(unittest.TestCase):
def test_alpha_minus_1(self):
a = torch.Tensor([1, 2, 3])
b = torch.Tensor([4, 5, 6])
g = alpha_geodesic(a, b, alpha=-1, lmd=0.5)
self.assertTrue(torch... | 30.406977 | 80 | 0.532314 | 462 | 2,615 | 2.9329 | 0.108225 | 0.032472 | 0.073801 | 0.118081 | 0.772694 | 0.748339 | 0.735055 | 0.735055 | 0.735055 | 0.705535 | 0 | 0.089052 | 0.269981 | 2,615 | 85 | 81 | 30.764706 | 0.620744 | 0 | 0 | 0.5 | 0 | 0 | 0.002294 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.05 | 0 | 0.233333 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.