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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11e4ddcea8efcc0d36f4e566590fab3d51e1736b | 556 | py | Python | lib/exputils/plotutils/cm.py | yfukai/exputils | aab7bb69d12887f069e6768144dc767ea82e6306 | [
"MIT"
] | null | null | null | lib/exputils/plotutils/cm.py | yfukai/exputils | aab7bb69d12887f069e6768144dc767ea82e6306 | [
"MIT"
] | null | null | null | lib/exputils/plotutils/cm.py | yfukai/exputils | aab7bb69d12887f069e6768144dc767ea82e6306 | [
"MIT"
] | null | null | null | import seaborn as sns
metro_color=sns.color_palette(["#9caeb7","#e60012","#622886","#f39700","#00a7db","#bb641d","#009944","#a9cc51","#e85298","#0079c2","#d7c447","#b6007a"])
warm_color=sns.color_palette(["#c83b36","#df6a37","#cca044","#b14dbe","#ae366a","#74246b"])
cold_color=sns.color_palette(["#38279e","#3a66ba","#... | 55.6 | 152 | 0.670863 | 87 | 556 | 4.172414 | 0.563218 | 0.110193 | 0.206612 | 0.165289 | 0.258953 | 0.258953 | 0.258953 | 0.258953 | 0 | 0 | 0 | 0.197674 | 0.071942 | 556 | 9 | 153 | 61.777778 | 0.505814 | 0 | 0 | 0 | 0 | 0 | 0.302158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
ee998f66bec14fdc0585e2020485dfd0b79640b5 | 37 | py | Python | Bronze/Bronze_V/14928.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Bronze/Bronze_V/14928.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Bronze/Bronze_V/14928.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | N = int(input())
print(N % 20000303) | 12.333333 | 19 | 0.621622 | 6 | 37 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 0.162162 | 37 | 3 | 19 | 12.333333 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
eef59b6d9871bddf756dcdb0a4f1aed0711c9f83 | 41 | py | Python | photoascii/__init__.py | rosowskimik/photoascii | d03202c773ff4878516c7a9602ae7e274483df8e | [
"MIT"
] | null | null | null | photoascii/__init__.py | rosowskimik/photoascii | d03202c773ff4878516c7a9602ae7e274483df8e | [
"MIT"
] | null | null | null | photoascii/__init__.py | rosowskimik/photoascii | d03202c773ff4878516c7a9602ae7e274483df8e | [
"MIT"
] | null | null | null | from photoascii.app import convert_image
| 20.5 | 40 | 0.878049 | 6 | 41 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e118d6cd319e66212dafb1273e972020b467c195 | 69 | py | Python | coordle/__init__.py | JonasTriki/inf368-exercise-3-coordle | d31951244949ab9042d8af168c6a144b7cec6e7e | [
"MIT"
] | 1 | 2020-04-21T13:54:56.000Z | 2020-04-21T13:54:56.000Z | coordle/__init__.py | JonasTriki/inf368-exercise-3-coordle | d31951244949ab9042d8af168c6a144b7cec6e7e | [
"MIT"
] | null | null | null | coordle/__init__.py | JonasTriki/inf368-exercise-3-coordle | d31951244949ab9042d8af168c6a144b7cec6e7e | [
"MIT"
] | 1 | 2021-08-09T03:35:39.000Z | 2021-08-09T03:35:39.000Z | from . import backend
from . import preprocessing
from . import utils | 23 | 27 | 0.797101 | 9 | 69 | 6.111111 | 0.555556 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 3 | 28 | 23 | 0.948276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
01340b6f3ef9f9f8945a40c92547405e66b722db | 181 | py | Python | tests/handlers/conftest.py | alexander-manley/MLServer | 42eac4715f208f028a8920c984ab296830d90f08 | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 191 | 2020-06-16T18:07:27.000Z | 2022-03-29T05:56:23.000Z | tests/handlers/conftest.py | alexander-manley/MLServer | 42eac4715f208f028a8920c984ab296830d90f08 | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 347 | 2020-08-21T02:22:04.000Z | 2022-03-31T12:27:26.000Z | tests/handlers/conftest.py | alexander-manley/MLServer | 42eac4715f208f028a8920c984ab296830d90f08 | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 56 | 2020-06-22T14:29:25.000Z | 2022-03-25T21:58:48.000Z | import pytest
from mlserver.handlers.custom import CustomHandler
@pytest.fixture
def custom_handler() -> CustomHandler:
return CustomHandler(rest_path="/my-custom-endpoint")
| 20.111111 | 57 | 0.79558 | 21 | 181 | 6.761905 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110497 | 181 | 8 | 58 | 22.625 | 0.881988 | 0 | 0 | 0 | 0 | 0 | 0.104972 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 1 | 1 | 0 | 0 | 6 |
0188c92beb2d85ae0ba114ea5a5188d7e2994578 | 4,110 | py | Python | led.py | djmcg/OrangePI_WIN-Blink-5-LEDs | 7f5bb8a1e3b7bcb134ebf79d49b8419d50b50c38 | [
"MIT"
] | null | null | null | led.py | djmcg/OrangePI_WIN-Blink-5-LEDs | 7f5bb8a1e3b7bcb134ebf79d49b8419d50b50c38 | [
"MIT"
] | null | null | null | led.py | djmcg/OrangePI_WIN-Blink-5-LEDs | 7f5bb8a1e3b7bcb134ebf79d49b8419d50b50c38 | [
"MIT"
] | null | null | null | # OrangePI_WIn Blink 5 LEDs S Stering 5 GPIO for Leds in Python
import os
import time
os.system("echo 37 > /sys/class/gpio/export")
os.system("echo 37 > /sys/class/gpio/export")
os.system("echo out > /sys/class/gpio/gpio37/direction")
os.system("echo 38 > /sys/class/gpio/export")
os.system("echo out > /sys/class/gpio... | 20.969388 | 63 | 0.656204 | 732 | 4,110 | 3.579235 | 0.09153 | 0.259542 | 0.096565 | 0.087023 | 0.887023 | 0.830534 | 0.731679 | 0.699618 | 0.699618 | 0.641603 | 0 | 0.047506 | 0.180535 | 4,110 | 195 | 64 | 21.076923 | 0.730404 | 0.118005 | 0 | 0.806452 | 0 | 0 | 0.230084 | 0.160167 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012903 | 0 | 0.012903 | 0.03871 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6d7373c36be299773c85d85913fdf9900a96db14 | 48 | py | Python | mathevaluator/__init__.py | saimoncse19/bangla-math | 74ee68300098641d180f9507806abec3458504e9 | [
"MIT"
] | null | null | null | mathevaluator/__init__.py | saimoncse19/bangla-math | 74ee68300098641d180f9507806abec3458504e9 | [
"MIT"
] | null | null | null | mathevaluator/__init__.py | saimoncse19/bangla-math | 74ee68300098641d180f9507806abec3458504e9 | [
"MIT"
] | null | null | null | from mathevaluator.benmatheval import Evaluator
| 24 | 47 | 0.895833 | 5 | 48 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.977273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
096aaa56f32422fe6fe6af065e38a1d33df7cd7b | 32 | py | Python | shaner/value/__init__.py | takato86/shaner | e200bfaf27c69aab4a76ab3d589a2bbda4538ca4 | [
"MIT"
] | null | null | null | shaner/value/__init__.py | takato86/shaner | e200bfaf27c69aab4a76ab3d589a2bbda4538ca4 | [
"MIT"
] | null | null | null | shaner/value/__init__.py | takato86/shaner | e200bfaf27c69aab4a76ab3d589a2bbda4538ca4 | [
"MIT"
] | null | null | null | from shaner.value.core import *
| 16 | 31 | 0.78125 | 5 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0974041d91c59fc2ae4479a244e1d16c82eb2dae | 112 | py | Python | chemprop/models/__init__.py | georgelamb19/chempropBayes | 88d660398a772705804568b671b3614c636505aa | [
"MIT"
] | 16 | 2020-09-17T16:23:43.000Z | 2022-02-23T07:54:34.000Z | chemprop/models/__init__.py | georgelamb19/chempropBayes | 88d660398a772705804568b671b3614c636505aa | [
"MIT"
] | null | null | null | chemprop/models/__init__.py | georgelamb19/chempropBayes | 88d660398a772705804568b671b3614c636505aa | [
"MIT"
] | 2 | 2021-05-14T14:22:37.000Z | 2021-07-06T01:06:13.000Z | from .model import MoleculeModel
from .model_bbp import MoleculeModelBBP
from .model_dun import MoleculeModelDUN | 37.333333 | 39 | 0.875 | 14 | 112 | 6.857143 | 0.571429 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 112 | 3 | 40 | 37.333333 | 0.950495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
099d8451b8f4b99bb9eb12bbb05d3db63753fc93 | 817 | py | Python | interface/get_ids.py | Bhaskers-Blu-Org2/multilabel-clustering-audio | 4f2b707095c7e5050c3fffde9638d8d54600cae9 | [
"MIT"
] | 4 | 2019-09-21T07:28:40.000Z | 2021-03-10T19:59:48.000Z | interface/get_ids.py | microsoft/multilabel-clustering-audio | 4f2b707095c7e5050c3fffde9638d8d54600cae9 | [
"MIT"
] | null | null | null | interface/get_ids.py | microsoft/multilabel-clustering-audio | 4f2b707095c7e5050c3fffde9638d8d54600cae9 | [
"MIT"
] | 6 | 2019-11-07T18:51:25.000Z | 2021-04-12T20:39:23.000Z | import os
import random
import sqlite3 as sql
from db_tables import ses, Annotation, Recording, RecordingGroup
audio_file = random.choice(os.listdir('/Users/anaemendezmendez/Documents/NYU_PHD/Mark/code/docs/media/audio/Train_data/1'))
recording_id = ses.query(Recording).filter(Recording.file_name == audio_fi... | 35.521739 | 125 | 0.76989 | 113 | 817 | 5.39823 | 0.327434 | 0.144262 | 0.04918 | 0.068852 | 0.809836 | 0.809836 | 0.809836 | 0.809836 | 0.809836 | 0.809836 | 0 | 0.004082 | 0.100367 | 817 | 23 | 126 | 35.521739 | 0.82585 | 0 | 0 | 0.571429 | 0 | 0.142857 | 0.203518 | 0.203518 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0.214286 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
09c899bba49b004c409cc4642b56248a5701c42b | 100 | py | Python | app/products/models.py | DakobedBard/BaseDjango | 27b475505cf109125333e30a0517a21ee982ed91 | [
"MIT"
] | null | null | null | app/products/models.py | DakobedBard/BaseDjango | 27b475505cf109125333e30a0517a21ee982ed91 | [
"MIT"
] | null | null | null | app/products/models.py | DakobedBard/BaseDjango | 27b475505cf109125333e30a0517a21ee982ed91 | [
"MIT"
] | null | null | null | from django.db import models
from django.urls import reverse
from upload.models import Document
| 12.5 | 34 | 0.81 | 15 | 100 | 5.4 | 0.6 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 100 | 7 | 35 | 14.285714 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
09f899f665adc116ec1a32f92b6a46ce9f57ee7a | 52 | py | Python | hello1.py | yugrocks/abcde | 7b55ea6a7c0420624634f4d608411d09a294899a | [
"MIT"
] | null | null | null | hello1.py | yugrocks/abcde | 7b55ea6a7c0420624634f4d608411d09a294899a | [
"MIT"
] | null | null | null | hello1.py | yugrocks/abcde | 7b55ea6a7c0420624634f4d608411d09a294899a | [
"MIT"
] | 1 | 2018-10-16T17:01:10.000Z | 2018-10-16T17:01:10.000Z | def hello_world():
print("Hello world hoe r u") | 26 | 32 | 0.653846 | 9 | 52 | 3.666667 | 0.777778 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 52 | 2 | 32 | 26 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.365385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
111a7e652b2043457ad4f2a650e2001db0ea25da | 46 | py | Python | fastanalysis/__init__.py | FastTrackOrg/FastAnalysis | fa8e8c72be034c3eb0fa3f40718134f784445a5c | [
"MIT"
] | 2 | 2021-05-07T17:06:51.000Z | 2021-10-12T12:15:28.000Z | fastanalysis/__init__.py | FastTrackOrg/FastAnalysis | fa8e8c72be034c3eb0fa3f40718134f784445a5c | [
"MIT"
] | 1 | 2022-03-12T01:04:18.000Z | 2022-03-12T01:04:18.000Z | fastanalysis/__init__.py | FastTrackOrg/FastAnalysis | fa8e8c72be034c3eb0fa3f40718134f784445a5c | [
"MIT"
] | null | null | null | from .load import Load
from .plot import Plot
| 15.333333 | 22 | 0.782609 | 8 | 46 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
114a7caf2257d42ff28a967b798d69a409e30dd4 | 41 | py | Python | ex111/utilidades/__init__.py | almmessias/CursoPython | 4cec6946f32002cbd5d3b802df11ea1ba74169f5 | [
"MIT"
] | null | null | null | ex111/utilidades/__init__.py | almmessias/CursoPython | 4cec6946f32002cbd5d3b802df11ea1ba74169f5 | [
"MIT"
] | null | null | null | ex111/utilidades/__init__.py | almmessias/CursoPython | 4cec6946f32002cbd5d3b802df11ea1ba74169f5 | [
"MIT"
] | null | null | null | from ex111.utilidades import dado, moeda
| 20.5 | 40 | 0.829268 | 6 | 41 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.121951 | 41 | 1 | 41 | 41 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
febef73af8783e2a4194db65d3ed889ca6607c68 | 36 | wsgi | Python | application.wsgi | direvus/xkcd936 | 638a3dd9031f76e9574201fefa7f6ffcc2e40ba0 | [
"MIT"
] | null | null | null | application.wsgi | direvus/xkcd936 | 638a3dd9031f76e9574201fefa7f6ffcc2e40ba0 | [
"MIT"
] | null | null | null | application.wsgi | direvus/xkcd936 | 638a3dd9031f76e9574201fefa7f6ffcc2e40ba0 | [
"MIT"
] | null | null | null | from code import app as application
| 18 | 35 | 0.833333 | 6 | 36 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 1 | 36 | 36 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fec868579dd831433486da29fd1806ca4c45eeb5 | 4,219 | py | Python | vsa-projects-master/proj05/proj05.py | LaneSherrill/vsa-projects | f329e65865135f0a56ac396bf1a35e41231d728e | [
"MIT"
] | null | null | null | vsa-projects-master/proj05/proj05.py | LaneSherrill/vsa-projects | f329e65865135f0a56ac396bf1a35e41231d728e | [
"MIT"
] | null | null | null | vsa-projects-master/proj05/proj05.py | LaneSherrill/vsa-projects | f329e65865135f0a56ac396bf1a35e41231d728e | [
"MIT"
] | null | null | null | # Name: Lane Sherrill
# Date: June 21, 2017
# proj05: functions and lists
# Part I
def divisors(num):
divider=1
divisornum=0
div=1
divisornum
divlist = []
divr2=0
first=0
last=0
for x in range(0, num):
divr = num / int(div)
div=div+1
if num%divr == 0:
... | 4,219 | 4,219 | 0.544205 | 616 | 4,219 | 3.717532 | 0.191558 | 0.094323 | 0.065502 | 0.052402 | 0.297817 | 0.274236 | 0.260699 | 0.218341 | 0.186026 | 0.186026 | 0 | 0.063176 | 0.320929 | 4,219 | 1 | 4,219 | 4,219 | 0.736126 | 0.984594 | 0 | 0.404255 | 0 | 0 | 0.079817 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.053191 | 0 | null | null | 0.191489 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fedf472168a6d713de90b8b9c153587ba62c0349 | 3,045 | py | Python | MyWork/OldFiles/Beginner/FunctionsWithOutput.py/MultipleReturnValues.py | minefarmer/100-Days-Python | b80b28d299342b490082ac301a0d8b176419f8f9 | [
"Unlicense"
] | null | null | null | MyWork/OldFiles/Beginner/FunctionsWithOutput.py/MultipleReturnValues.py | minefarmer/100-Days-Python | b80b28d299342b490082ac301a0d8b176419f8f9 | [
"Unlicense"
] | null | null | null | MyWork/OldFiles/Beginner/FunctionsWithOutput.py/MultipleReturnValues.py | minefarmer/100-Days-Python | b80b28d299342b490082ac301a0d8b176419f8f9 | [
"Unlicense"
] | null | null | null | # def format_name(f_name, l_name):
# formated_f_name = f_name.title()
# formated_l_name = l_name.title()
# return f"{formated_f_name} {formated_l_name}"
# print("This got printed")
# print(format_name("RicHARD", "MATSON")) # Richard Matson
# def format_name(f_name, l_name):
# formated_f_name ... | 42.887324 | 125 | 0.509031 | 368 | 3,045 | 3.961957 | 0.130435 | 0.096022 | 0.109739 | 0.082305 | 0.872428 | 0.860082 | 0.824417 | 0.824417 | 0.824417 | 0.824417 | 0 | 0 | 0.392447 | 3,045 | 70 | 126 | 43.5 | 0.788108 | 0.609524 | 0 | 0 | 0 | 0 | 0.108963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3a36be5f03068287c04887a640a04fd978cf2df6 | 71 | py | Python | paypal/models.py | itbabu/django-oscar-paypal | 0004fcb416b73529396c746940d5bf2cf8ded6c2 | [
"BSD-3-Clause"
] | 1 | 2019-06-27T13:58:49.000Z | 2019-06-27T13:58:49.000Z | paypal/models.py | itbabu/django-oscar-paypal | 0004fcb416b73529396c746940d5bf2cf8ded6c2 | [
"BSD-3-Clause"
] | null | null | null | paypal/models.py | itbabu/django-oscar-paypal | 0004fcb416b73529396c746940d5bf2cf8ded6c2 | [
"BSD-3-Clause"
] | null | null | null | from paypal.express.models import *
from paypal.payflow.models import * | 35.5 | 35 | 0.816901 | 10 | 71 | 5.8 | 0.6 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 71 | 2 | 36 | 35.5 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3a4aafa5ffce908a63faa011f8b8136a97690dcb | 70 | py | Python | py_tdlib/constructors/top_chat_category_groups.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/top_chat_category_groups.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/top_chat_category_groups.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class topChatCategoryGroups(Type):
pass
| 11.666667 | 34 | 0.785714 | 8 | 70 | 6.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 70 | 5 | 35 | 14 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3a4fe82d2e435f85819aa8534065aa134c556d3e | 4,518 | py | Python | write_gspread.py | ba-san/DL-CV-tools | ae5895a189fde39abe342ec19eaca2f388504b48 | [
"MIT"
] | 1 | 2019-05-22T09:15:40.000Z | 2019-05-22T09:15:40.000Z | write_gspread.py | ba-san/DL-CV-tools | ae5895a189fde39abe342ec19eaca2f388504b48 | [
"MIT"
] | null | null | null | write_gspread.py | ba-san/DL-CV-tools | ae5895a189fde39abe342ec19eaca2f388504b48 | [
"MIT"
] | 1 | 2019-06-19T10:19:55.000Z | 2019-06-19T10:19:55.000Z | # https://qiita.com/akabei/items/0eac37cb852ad476c6b9
import os
import glob
import gspread# https://qiita.com/akabei/items/0eac37cb852ad476c6b9
import os
import glob
import gspread
import pandas as pd
from oauth2client.service_account import ServiceAccountCredentials
global clear_last
clear_last = 1
#def update... | 37.032787 | 152 | 0.738822 | 640 | 4,518 | 4.882813 | 0.173438 | 0.09216 | 0.09792 | 0.05888 | 0.86176 | 0.8208 | 0.78176 | 0.77088 | 0.76064 | 0.73632 | 0 | 0.011866 | 0.123285 | 4,518 | 121 | 153 | 37.338843 | 0.777077 | 0.080124 | 0 | 0.689189 | 0 | 0 | 0.120213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.121622 | 0 | 0.148649 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
28c88339f9a769a1aa3359bce195167d474ab705 | 75 | py | Python | src/invoker.py | leftember/poesmartlootfilter | 4a912dc408299ca162f60ba79448b1985be25ad2 | [
"Apache-2.0"
] | null | null | null | src/invoker.py | leftember/poesmartlootfilter | 4a912dc408299ca162f60ba79448b1985be25ad2 | [
"Apache-2.0"
] | null | null | null | src/invoker.py | leftember/poesmartlootfilter | 4a912dc408299ca162f60ba79448b1985be25ad2 | [
"Apache-2.0"
] | null | null | null | import myConfig
from myConfig import conf
print(conf)
print(myConfig.conf)
| 15 | 25 | 0.826667 | 11 | 75 | 5.636364 | 0.454545 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 4 | 26 | 18.75 | 0.925373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
28d7a1a3e1d8e35ccbab483b7097603d1b388fd0 | 97 | py | Python | app/workers/search/tasks/__init__.py | d3vzer0/reternal-backend | aeeb613c820759212e7aef9150738a66b2882d50 | [
"MIT"
] | 6 | 2019-01-01T23:38:12.000Z | 2021-07-27T03:43:11.000Z | app/workers/search/__init__.py | d3vzer0/reternal-backend | aeeb613c820759212e7aef9150738a66b2882d50 | [
"MIT"
] | 1 | 2020-08-02T00:21:41.000Z | 2020-08-02T00:21:41.000Z | app/workers/search/tasks/__init__.py | d3vzer0/reternal-backend | aeeb613c820759212e7aef9150738a66b2882d50 | [
"MIT"
] | 1 | 2021-07-27T03:43:24.000Z | 2021-07-27T03:43:24.000Z | from app.workers.search.tasks.logsources import *
from app.workers.search.tasks.indices import *
| 32.333333 | 49 | 0.814433 | 14 | 97 | 5.642857 | 0.571429 | 0.177215 | 0.35443 | 0.506329 | 0.632911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 2 | 50 | 48.5 | 0.88764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e90d33ba26bde6d60b4953e07fb8ae962e0acefd | 405 | py | Python | python_programs/sqrt_test.py | vitchyr/QuixBugs | 1fd2c3402e1a2aa3ff9ec22d7ba82c07b59996c2 | [
"MIT"
] | null | null | null | python_programs/sqrt_test.py | vitchyr/QuixBugs | 1fd2c3402e1a2aa3ff9ec22d7ba82c07b59996c2 | [
"MIT"
] | null | null | null | python_programs/sqrt_test.py | vitchyr/QuixBugs | 1fd2c3402e1a2aa3ff9ec22d7ba82c07b59996c2 | [
"MIT"
] | null | null | null | from .sqrt import sqrt
def test_main():
assert sqrt(2, 0.01) == 1.4166666666666665
assert sqrt(3, 0.001) == 1.7321428571428572
assert sqrt(4, 0) == 2.0
assert sqrt(132, 0.01) == 11.489422513833343
assert sqrt(132, 0.1) == 11.489422513833343
assert sqrt(132, 1) == 11.489422513833343
assert ... | 23.823529 | 49 | 0.651852 | 59 | 405 | 4.305085 | 0.40678 | 0.275591 | 0.153543 | 0.318898 | 0.350394 | 0 | 0 | 0 | 0 | 0 | 0 | 0.425466 | 0.204938 | 405 | 16 | 50 | 25.3125 | 0.363354 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0 | 0 | 0 | 0 | 0 | 0.636364 | 1 | 0.090909 | true | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3a63d73673c04775898fd737022f1813f344514d | 24,998 | py | Python | plone-chrigl-debian/src/collective.flattr/collective/flattr/tests/test_flattr_view.py | chrigl/docker-library | 5dc9a2c1f0d81aba42190d3ff0e28c1fab2240d1 | [
"Apache-2.0"
] | null | null | null | plone-chrigl-debian/src/collective.flattr/collective/flattr/tests/test_flattr_view.py | chrigl/docker-library | 5dc9a2c1f0d81aba42190d3ff0e28c1fab2240d1 | [
"Apache-2.0"
] | null | null | null | plone-chrigl-debian/src/collective.flattr/collective/flattr/tests/test_flattr_view.py | chrigl/docker-library | 5dc9a2c1f0d81aba42190d3ff0e28c1fab2240d1 | [
"Apache-2.0"
] | null | null | null | import unittest2 as unittest
import urllib2
from AccessControl import Unauthorized
from plone.app.testing import TEST_USER_ID
from plone.app.testing import setRoles
from zope.component import getUtility
from plone.registry.interfaces import IRegistry
from collective.flattr.interfaces import ICollectiveFlattr
from mocke... | 40.779772 | 340 | 0.604808 | 2,798 | 24,998 | 5.297713 | 0.084703 | 0.069082 | 0.056399 | 0.044998 | 0.837887 | 0.799771 | 0.77373 | 0.744519 | 0.725427 | 0.703164 | 0 | 0.015161 | 0.263861 | 24,998 | 612 | 341 | 40.846405 | 0.790349 | 0.015641 | 0 | 0.650862 | 0 | 0.036638 | 0.223609 | 0.051968 | 0 | 0 | 0 | 0 | 0.157328 | 1 | 0.084052 | false | 0.002155 | 0.068966 | 0.002155 | 0.168103 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3a76f0ddb9df23c789e731e3731e270c625be09e | 51 | py | Python | aarhus/tests/__init__.py | mikedelong/aarhus | 0c0e94fadd65be8428fe3bd2c92928e1b23fc2a1 | [
"Apache-2.0"
] | null | null | null | aarhus/tests/__init__.py | mikedelong/aarhus | 0c0e94fadd65be8428fe3bd2c92928e1b23fc2a1 | [
"Apache-2.0"
] | 7 | 2017-01-13T19:04:57.000Z | 2017-01-23T14:10:53.000Z | aarhus/tests/__init__.py | mikedelong/aarhus | 0c0e94fadd65be8428fe3bd2c92928e1b23fc2a1 | [
"Apache-2.0"
] | null | null | null | import aarhus
import aarhus.aarhus.custom_stopwords | 25.5 | 37 | 0.901961 | 7 | 51 | 6.428571 | 0.571429 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 51 | 2 | 37 | 25.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3ac298ca5170427e606bd431728846b56aa2c0d6 | 8,608 | py | Python | Lib/db/SqlTableDocs.py | jeamick/ares-visual | 3cf5068f874b3f6fe898968b2a7efa86fadca99d | [
"MIT"
] | null | null | null | Lib/db/SqlTableDocs.py | jeamick/ares-visual | 3cf5068f874b3f6fe898968b2a7efa86fadca99d | [
"MIT"
] | 2 | 2019-03-27T00:36:09.000Z | 2019-04-09T00:39:12.000Z | Lib/db/SqlTableDocs.py | jeamick/ares-visual | 3cf5068f874b3f6fe898968b2a7efa86fadca99d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# author: Olivier Noguès
from app import db
import datetime
# -------------------------------------------------------------------------------------------------------------------
# SECTION DEDICATED TO THE DOCUMENTATION
#
class AresDoc(db.Model)... | 48.089385 | 123 | 0.704693 | 1,250 | 8,608 | 4.62 | 0.0896 | 0.108052 | 0.135065 | 0.083117 | 0.88987 | 0.873593 | 0.863723 | 0.716883 | 0.664935 | 0.657489 | 0 | 0.011388 | 0.143123 | 8,608 | 178 | 124 | 48.359551 | 0.771556 | 0.0352 | 0 | 0.532847 | 0 | 0 | 0.037452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051095 | false | 0 | 0.014599 | 0 | 0.810219 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3ac3fe1d355cc25d94fae2e097d826bdfce1cc81 | 7,342 | py | Python | nima/model/data_generator.py | maindolaamit/nima | 3b21396da884216ca66b70cc4a200df6cce695b6 | [
"Apache-2.0"
] | null | null | null | nima/model/data_generator.py | maindolaamit/nima | 3b21396da884216ca66b70cc4a200df6cce695b6 | [
"Apache-2.0"
] | null | null | null | nima/model/data_generator.py | maindolaamit/nima | 3b21396da884216ca66b70cc4a200df6cce695b6 | [
"Apache-2.0"
] | 1 | 2021-12-27T02:34:40.000Z | 2021-12-27T02:34:40.000Z | import os
import numpy as np
import tensorflow.keras as keras
from nima.config import INPUT_SHAPE, CROP_SHAPE, print_msg
from nima.utils import image_utils
from nima.utils.preprocess import normalize_ratings
class TrainDataGenerator(keras.utils.Sequence):
def __init__(self, df, img_directory, x_col, y_col, prep... | 50.287671 | 108 | 0.671071 | 1,052 | 7,342 | 4.507605 | 0.165399 | 0.034163 | 0.021932 | 0.013496 | 0.852805 | 0.852805 | 0.837621 | 0.837621 | 0.837621 | 0.837621 | 0 | 0.00293 | 0.256333 | 7,342 | 145 | 109 | 50.634483 | 0.865568 | 0.376328 | 0 | 0.684211 | 0 | 0 | 0.056384 | 0.016309 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.078947 | 0.026316 | 0.263158 | 0.039474 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3ac7851c48043839516e619b1db9986a143b8705 | 38 | py | Python | s3shutil/__init__.py | 18ijq3l793/s3shutil | bae21c349fc6add0e4cd39eecb621b0f5da34ed6 | [
"MIT"
] | null | null | null | s3shutil/__init__.py | 18ijq3l793/s3shutil | bae21c349fc6add0e4cd39eecb621b0f5da34ed6 | [
"MIT"
] | null | null | null | s3shutil/__init__.py | 18ijq3l793/s3shutil | bae21c349fc6add0e4cd39eecb621b0f5da34ed6 | [
"MIT"
] | null | null | null | from s3shutil.s3shutil import copytree | 38 | 38 | 0.894737 | 5 | 38 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.078947 | 38 | 1 | 38 | 38 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3adda3581d6176782cc1893b4d7008c1cf60d8bc | 9,934 | py | Python | src/eduid_common/config/tests/test_etcd_parser.py | SUNET/eduid-common | d666aec7e47e6b0ccb575d621bb6e9f40bcea4e4 | [
"BSD-3-Clause"
] | 1 | 2016-04-14T13:45:10.000Z | 2016-04-14T13:45:10.000Z | src/eduid_common/config/tests/test_etcd_parser.py | SUNET/eduid-common | d666aec7e47e6b0ccb575d621bb6e9f40bcea4e4 | [
"BSD-3-Clause"
] | 16 | 2017-03-10T11:47:59.000Z | 2020-03-19T13:51:01.000Z | src/eduid_common/config/tests/test_etcd_parser.py | SUNET/eduid-common | d666aec7e47e6b0ccb575d621bb6e9f40bcea4e4 | [
"BSD-3-Clause"
] | 3 | 2016-11-21T11:39:49.000Z | 2019-09-18T12:32:02.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
import unittest
from mock import patch
from nacl import encoding, secret
from eduid_common.config.parsers import decorators
from eduid_common.config.parsers.etcd import EtcdConfigParser
from eduid_common.config.testing import EtcdTemporaryInstance
__au... | 40.546939 | 120 | 0.628951 | 1,302 | 9,934 | 4.50384 | 0.086022 | 0.117667 | 0.057981 | 0.053718 | 0.859141 | 0.831173 | 0.814973 | 0.778649 | 0.774386 | 0.75955 | 0 | 0.002733 | 0.226596 | 9,934 | 244 | 121 | 40.713115 | 0.76051 | 0.007751 | 0 | 0.513661 | 0 | 0 | 0.24518 | 0.02192 | 0 | 0 | 0 | 0 | 0.136612 | 1 | 0.092896 | false | 0 | 0.038251 | 0 | 0.136612 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3aea0c58ce5d9751de8059460a90685c6ce119f5 | 6 | py | Python | python/ql/test/library-tests/PointsTo/new/code/package/module2.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 8,844 | 2019-05-31T15:47:12.000Z | 2022-03-31T18:33:51.000Z | python/ql/test/library-tests/PointsTo/new/code/package/module2.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/test/library-tests/PointsTo/new/code/package/module2.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | x = 0
| 3 | 5 | 0.333333 | 2 | 6 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.5 | 6 | 1 | 6 | 6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aaf89eaa60bcde710dfb2028808ef8c41fad3d5b | 37 | py | Python | 2017-04-06 - Pythonic Code Through 5 Examples/0_lightning_refersher/other.py | skolbin-ssi/WintellectWebinars | 63612580c7c2f7d0c6dca930abba5696b2f40286 | [
"Apache-2.0"
] | 8 | 2019-01-24T19:22:29.000Z | 2019-06-11T17:00:56.000Z | 2017-04-06 - Pythonic Code Through 5 Examples/0_lightning_refersher/other.py | skolbin-ssi/WintellectWebinars | 63612580c7c2f7d0c6dca930abba5696b2f40286 | [
"Apache-2.0"
] | 28 | 2021-03-10T08:24:07.000Z | 2022-03-02T07:26:39.000Z | 2017-04-06 - Pythonic Code Through 5 Examples/0_lightning_refersher/other.py | skolbin-ssi/WintellectWebinars | 63612580c7c2f7d0c6dca930abba5696b2f40286 | [
"Apache-2.0"
] | 2 | 2018-01-23T11:24:44.000Z | 2019-06-06T18:27:32.000Z | import game
print(game.get_guess()) | 9.25 | 23 | 0.756757 | 6 | 37 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 4 | 23 | 9.25 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c915c0c1738f34da8f2b7f0b68b6945f836b2a8e | 45 | py | Python | record_kit/__init__.py | actcwlf/record-kit | 6e204790f630991a9065effa333fa99af3a5c130 | [
"MIT"
] | null | null | null | record_kit/__init__.py | actcwlf/record-kit | 6e204790f630991a9065effa333fa99af3a5c130 | [
"MIT"
] | null | null | null | record_kit/__init__.py | actcwlf/record-kit | 6e204790f630991a9065effa333fa99af3a5c130 | [
"MIT"
] | null | null | null | from .recorder import *
from .parser import * | 22.5 | 23 | 0.755556 | 6 | 45 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 24 | 22.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c9193f8b0462f9aa0b2bf050ad3ca60760a47738 | 29 | py | Python | exercicios/lista1/exercicio2.py | lagcrs/algoritmos | 5ee860c71db8ac2ef8bbe6cc87726938b1ca9c72 | [
"Apache-2.0"
] | null | null | null | exercicios/lista1/exercicio2.py | lagcrs/algoritmos | 5ee860c71db8ac2ef8bbe6cc87726938b1ca9c72 | [
"Apache-2.0"
] | null | null | null | exercicios/lista1/exercicio2.py | lagcrs/algoritmos | 5ee860c71db8ac2ef8bbe6cc87726938b1ca9c72 | [
"Apache-2.0"
] | null | null | null |
print('Meu nome e Larissa') | 14.5 | 27 | 0.689655 | 5 | 29 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 2 | 27 | 14.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c954bc72ad92bc4c5bb2ff34535a99d3c57101a9 | 231 | py | Python | UNP/__init__.py | lizard1998myx/UNP | 4b6c77f081863bee654d38e9e938e8e7c581593e | [
"Apache-2.0"
] | null | null | null | UNP/__init__.py | lizard1998myx/UNP | 4b6c77f081863bee654d38e9e938e8e7c581593e | [
"Apache-2.0"
] | null | null | null | UNP/__init__.py | lizard1998myx/UNP | 4b6c77f081863bee654d38e9e938e8e7c581593e | [
"Apache-2.0"
] | null | null | null | from UNP.Interface import Interface
from UNP.Application import Loginer
def activate():
Interface().keyboard()
def activate_shortcut():
Loginer().active()
def activate_passive():
Loginer().passive()
| 15.4 | 36 | 0.675325 | 24 | 231 | 6.416667 | 0.5 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 231 | 14 | 37 | 16.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | true | 0.25 | 0.25 | 0 | 0.625 | 0 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
c9813d58a4d5780a09abf3a8bf110713740b228b | 173,442 | py | Python | src/ea/sutadapters/GUI/selenium_rc.py | ExtensiveAutomation/extensiveautomation-plugin-gui | 390d29d8c3e96dc817173358a8161767451dba97 | [
"MIT"
] | null | null | null | src/ea/sutadapters/GUI/selenium_rc.py | ExtensiveAutomation/extensiveautomation-plugin-gui | 390d29d8c3e96dc817173358a8161767451dba97 | [
"MIT"
] | null | null | null | src/ea/sutadapters/GUI/selenium_rc.py | ExtensiveAutomation/extensiveautomation-plugin-gui | 390d29d8c3e96dc817173358a8161767451dba97 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding=utf-8 -*-
# -------------------------------------------------------------------
# MIT License
#
# Copyright (c) 2010-2021 Denis MACHARD
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Softwar... | 39.472462 | 2,096 | 0.557304 | 17,044 | 173,442 | 5.628667 | 0.049343 | 0.027727 | 0.03518 | 0.029186 | 0.789639 | 0.769062 | 0.761641 | 0.751822 | 0.744859 | 0.731662 | 0 | 0.0062 | 0.365765 | 173,442 | 4,394 | 2,097 | 39.472462 | 0.865913 | 0.323774 | 0 | 0.59116 | 0 | 0 | 0.034045 | 0.000967 | 0 | 0 | 0 | 0 | 0 | 1 | 0.100061 | false | 0.003069 | 0.01105 | 0 | 0.226519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a31303dd31bd4ee7ec464aae9b77b473605dd2e5 | 112 | py | Python | MathOperations/subtraction.py | mkm99/firstDockerProject | 9a0190216d9be7c2a01b428923ffb0e1c932991b | [
"MIT"
] | null | null | null | MathOperations/subtraction.py | mkm99/firstDockerProject | 9a0190216d9be7c2a01b428923ffb0e1c932991b | [
"MIT"
] | null | null | null | MathOperations/subtraction.py | mkm99/firstDockerProject | 9a0190216d9be7c2a01b428923ffb0e1c932991b | [
"MIT"
] | null | null | null | class Subtraction:
@staticmethod
def subtract(minuend, subtrahend):
return minuend - subtrahend | 22.4 | 38 | 0.705357 | 10 | 112 | 7.9 | 0.8 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 112 | 5 | 39 | 22.4 | 0.918605 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a3170bce998b31fb9eeace88651e2b8b3bab56d7 | 37 | py | Python | appengine_config.py | jinglundong/GuessGame | d6953d279d476c1281d15369ee18135c241441a5 | [
"MIT"
] | null | null | null | appengine_config.py | jinglundong/GuessGame | d6953d279d476c1281d15369ee18135c241441a5 | [
"MIT"
] | null | null | null | appengine_config.py | jinglundong/GuessGame | d6953d279d476c1281d15369ee18135c241441a5 | [
"MIT"
] | null | null | null | from google.appengine.ext import ndb
| 18.5 | 36 | 0.837838 | 6 | 37 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a332a06bfee68be057f4a33d24668014c98c8d10 | 11,275 | py | Python | tests/110_cli_common_options.py | acbaraka/py-html-checker | 41f2831f0cedff35236c13a1b7eb6f5a93fd9e29 | [
"MIT"
] | 1 | 2021-05-13T15:11:11.000Z | 2021-05-13T15:11:11.000Z | tests/110_cli_common_options.py | acbaraka/py-html-checker | 41f2831f0cedff35236c13a1b7eb6f5a93fd9e29 | [
"MIT"
] | 24 | 2019-08-14T14:51:12.000Z | 2022-03-22T20:04:49.000Z | tests/110_cli_common_options.py | acbaraka/py-html-checker | 41f2831f0cedff35236c13a1b7eb6f5a93fd9e29 | [
"MIT"
] | 2 | 2021-05-13T15:11:14.000Z | 2021-07-19T21:27:04.000Z | """
These tests cover shared options for page and site commands. They mockup some
validator, exporter and sitemap methods to just return command lines without
processing or executing anything else.
"""
import logging
import os
import pytest
from click.testing import CliRunner
from html_checker.cli.entrypoint import ... | 28.762755 | 82 | 0.603548 | 1,203 | 11,275 | 5.541147 | 0.159601 | 0.031353 | 0.029253 | 0.045005 | 0.794479 | 0.757276 | 0.735974 | 0.724422 | 0.719322 | 0.719322 | 0 | 0.002803 | 0.272284 | 11,275 | 391 | 83 | 28.836317 | 0.809628 | 0.14439 | 0 | 0.755474 | 0 | 0 | 0.190819 | 0.014842 | 0 | 0 | 0 | 0 | 0.036496 | 1 | 0.040146 | false | 0 | 0.029197 | 0 | 0.083942 | 0.116788 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a338c5ed69e61e1bea17f973ef964ffccd9246d1 | 840 | py | Python | CodeWarsKataStuff/Parenthesis reversal.py | perrymant/CodeWarsKataStuff | 20eb25a3f0070aee5f5ae9a03a656acd5557c021 | [
"MIT"
] | null | null | null | CodeWarsKataStuff/Parenthesis reversal.py | perrymant/CodeWarsKataStuff | 20eb25a3f0070aee5f5ae9a03a656acd5557c021 | [
"MIT"
] | null | null | null | CodeWarsKataStuff/Parenthesis reversal.py | perrymant/CodeWarsKataStuff | 20eb25a3f0070aee5f5ae9a03a656acd5557c021 | [
"MIT"
] | null | null | null | s = "())((("
def solve(s):
if len(s)%2 == 1:
return -1
else:
count = 0
front, back = s[:len(s)//2], s[len(s)//2:]
for i in zip(front, back):
if i == (")", "("):
count += 2
if i == ("(", ")"):
count += 0
else:
... | 19.534884 | 70 | 0.365476 | 102 | 840 | 3.009804 | 0.27451 | 0.078176 | 0.09772 | 0.078176 | 0.807818 | 0.807818 | 0.807818 | 0.807818 | 0.807818 | 0.807818 | 0 | 0.037657 | 0.430952 | 840 | 42 | 71 | 20 | 0.604603 | 0 | 0 | 0.125 | 0 | 0 | 0.026178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0 | 0 | 0.1875 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a34a059c10f2dcecdccb8f0ea81299c7b7e9f1a0 | 43 | py | Python | home/admin.py | R-Wolf/CFD_A_library | b287ed8b2932b0f3b1cf5372f8d3d3494c6439c9 | [
"MIT"
] | 4 | 2017-03-14T05:03:03.000Z | 2019-04-13T05:13:24.000Z | home/admin.py | gpulkit96/CFD_A_library | b287ed8b2932b0f3b1cf5372f8d3d3494c6439c9 | [
"MIT"
] | 1 | 2017-05-18T08:39:46.000Z | 2017-05-18T08:39:46.000Z | home/admin.py | gpulkit96/CFD_A_library | b287ed8b2932b0f3b1cf5372f8d3d3494c6439c9 | [
"MIT"
] | 2 | 2017-03-13T08:54:21.000Z | 2017-05-18T06:24:58.000Z | from django.contrib.admin import AdminSite
| 21.5 | 42 | 0.860465 | 6 | 43 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3518776a6edaa2e16ae6beb04125ae5dc9af16f | 102 | py | Python | behavioral/memento/logic/__init__.py | Kozak24/Patterns | 351d5c11f7c64ce5d58db37b6715fc8f7d31945a | [
"MIT"
] | null | null | null | behavioral/memento/logic/__init__.py | Kozak24/Patterns | 351d5c11f7c64ce5d58db37b6715fc8f7d31945a | [
"MIT"
] | null | null | null | behavioral/memento/logic/__init__.py | Kozak24/Patterns | 351d5c11f7c64ce5d58db37b6715fc8f7d31945a | [
"MIT"
] | null | null | null | from .player_memento import PlayerMemento
from .player import Player
from .caretaker import Caretaker
| 25.5 | 41 | 0.852941 | 13 | 102 | 6.615385 | 0.461538 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 3 | 42 | 34 | 0.955556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6e82b8bdddd7bd17c8de898b49786a6723fc8733 | 268 | py | Python | _/0349_05_Code/admin.py | paullewallencom/javascript-978-1-8495-1034-9 | 7e539d042c644931a9ef2418f66d260a1c6892eb | [
"Apache-2.0"
] | null | null | null | _/0349_05_Code/admin.py | paullewallencom/javascript-978-1-8495-1034-9 | 7e539d042c644931a9ef2418f66d260a1c6892eb | [
"Apache-2.0"
] | null | null | null | _/0349_05_Code/admin.py | paullewallencom/javascript-978-1-8495-1034-9 | 7e539d042c644931a9ef2418f66d260a1c6892eb | [
"Apache-2.0"
] | null | null | null | import django.contrib.admin
import directory.models
import tagging
django.contrib.admin.autodiscover()
django.contrib.admin.site.register(directory.models.Entity)
django.contrib.admin.site.register(directory.models.Location)
tagging.register(directory.models.Entity)
| 29.777778 | 61 | 0.850746 | 34 | 268 | 6.705882 | 0.352941 | 0.22807 | 0.315789 | 0.192982 | 0.394737 | 0.394737 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0.041045 | 268 | 8 | 62 | 33.5 | 0.88716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6e963c476048731431e1fd6141463ac8630a9dec | 154 | py | Python | finml/portfolio_optimization/__init__.py | yanghoonkim/FinML | f112647a20c0012a4973b3ee230dc4a1350deb9a | [
"MIT"
] | 2 | 2021-01-31T07:54:06.000Z | 2021-04-26T05:45:17.000Z | finml/portfolio_optimization/__init__.py | yanghoonkim/FinML | f112647a20c0012a4973b3ee230dc4a1350deb9a | [
"MIT"
] | null | null | null | finml/portfolio_optimization/__init__.py | yanghoonkim/FinML | f112647a20c0012a4973b3ee230dc4a1350deb9a | [
"MIT"
] | 3 | 2021-01-28T06:01:51.000Z | 2021-04-26T05:45:21.000Z | from finml.portfolio_optimization.riskaverse import RiskAverseOptimization
from finml.portfolio_optimization.simplemeanvariance import SimpleMeanVariance
| 51.333333 | 78 | 0.922078 | 14 | 154 | 10 | 0.571429 | 0.128571 | 0.257143 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 154 | 2 | 79 | 77 | 0.958904 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6e9ce0c9ae6d89cf105b7ad135f7dd826afece3f | 8,354 | py | Python | src/stactools/worldclim/commands.py | stactools-packages/worldclim | da81809f610c802f40de101713f12f8433c20b44 | [
"Apache-2.0"
] | null | null | null | src/stactools/worldclim/commands.py | stactools-packages/worldclim | da81809f610c802f40de101713f12f8433c20b44 | [
"Apache-2.0"
] | 6 | 2021-07-09T21:07:54.000Z | 2021-11-01T21:53:50.000Z | src/stactools/worldclim/commands.py | stactools-packages/worldclim | da81809f610c802f40de101713f12f8433c20b44 | [
"Apache-2.0"
] | null | null | null | import logging
import os
import shutil
from glob import glob
import click
from stactools.worldclim import cog, stac
from stactools.worldclim.constants import MONTHLY_DATA_VARIABLES
logger = logging.getLogger(__name__)
def create_worldclim_command(cli):
"""Creates the stactools-worldclim command line utility.""... | 31.171642 | 78 | 0.605818 | 923 | 8,354 | 5.328277 | 0.114843 | 0.05124 | 0.028467 | 0.04209 | 0.836112 | 0.786905 | 0.772875 | 0.752948 | 0.739122 | 0.733835 | 0 | 0 | 0.288604 | 8,354 | 267 | 79 | 31.28839 | 0.827528 | 0.126526 | 0 | 0.625 | 0 | 0 | 0.198169 | 0.025898 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055 | false | 0.005 | 0.035 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
42c5e64ad52a0a82a1b1df63616bd3576ff2035e | 40,931 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_ome_firmware_catalog.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_ome_firmware_catalog.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_ome_firmware_catalog.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Dell EMC OpenManage Ansible Modules
# Version 3.4.0
# Copyright (C) 2019-2021 Dell Inc. or its subsidiaries. All Rights Reserved.
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#
from __future__ import (absolute_import, division, print_functio... | 48.785459 | 126 | 0.566319 | 3,867 | 40,931 | 5.691492 | 0.089992 | 0.029488 | 0.039075 | 0.04689 | 0.849153 | 0.827252 | 0.803989 | 0.789632 | 0.756736 | 0.73529 | 0 | 0.017398 | 0.310523 | 40,931 | 838 | 127 | 48.843675 | 0.762482 | 0.013144 | 0 | 0.689119 | 0 | 0 | 0.293909 | 0.038516 | 0 | 0 | 0 | 0 | 0.044041 | 1 | 0.042746 | false | 0.024611 | 0.012953 | 0 | 0.073834 | 0.001295 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6e3d9fd67b5f7747ab5f342e4ebc73ac2c9bcc92 | 12,420 | py | Python | metric.py | ooooverflow/DigestPath2019 | db7b6a0a86bffbe8f44b5d6aa72b4c76e982c0b8 | [
"Apache-2.0"
] | 1 | 2021-04-22T02:38:38.000Z | 2021-04-22T02:38:38.000Z | metric.py | ooooverflow/DigestPath2019 | db7b6a0a86bffbe8f44b5d6aa72b4c76e982c0b8 | [
"Apache-2.0"
] | 1 | 2020-02-18T12:09:10.000Z | 2021-04-24T16:28:53.000Z | metric.py | ooooverflow/DigestPath2019 | db7b6a0a86bffbe8f44b5d6aa72b4c76e982c0b8 | [
"Apache-2.0"
] | null | null | null | import numpy as np
def compute_overlap(a, b):
"""
Parameters
----------
a: (N, 4) ndarray of float
b: (K, 4) ndarray of float
Returns
-------
overlaps: (N, K) ndarray of overlap between boxes and query_boxes
"""
area = (b[:, 2] - b[:, 0]) * (b[:, 3] - b[:, 1])
... | 33.387097 | 112 | 0.667472 | 1,700 | 12,420 | 4.665882 | 0.096471 | 0.068835 | 0.059002 | 0.01475 | 0.750756 | 0.744579 | 0.728568 | 0.71886 | 0.715204 | 0.708396 | 0 | 0.022176 | 0.219404 | 12,420 | 372 | 113 | 33.387097 | 0.795977 | 0.169002 | 0 | 0.723849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025105 | false | 0 | 0.004184 | 0 | 0.050209 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
281c43516c74dbc7e5b43ed485e8e3bbe48b6072 | 293 | py | Python | client/swagger_client/api/__init__.py | icclab/MasterMind-ServiceManager | d8e0013218bb7a5fa16d1e3c5cff06a6854815f1 | [
"Apache-2.0"
] | null | null | null | client/swagger_client/api/__init__.py | icclab/MasterMind-ServiceManager | d8e0013218bb7a5fa16d1e3c5cff06a6854815f1 | [
"Apache-2.0"
] | null | null | null | client/swagger_client/api/__init__.py | icclab/MasterMind-ServiceManager | d8e0013218bb7a5fa16d1e3c5cff06a6854815f1 | [
"Apache-2.0"
] | 2 | 2018-02-02T17:02:27.000Z | 2021-06-29T07:42:24.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from swagger_client.api.network_api import NetworkApi
from swagger_client.api.stack_api import StackApi
from swagger_client.api.swarm_api import SwarmApi
from swagger_client.api.volume_api import VolumeApi
| 29.3 | 53 | 0.856655 | 44 | 293 | 5.409091 | 0.454545 | 0.184874 | 0.285714 | 0.336134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003817 | 0.105802 | 293 | 9 | 54 | 32.555556 | 0.90458 | 0.139932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2856dc3f258c5e115ab67fe84e608d17bc8c509d | 49 | py | Python | src/stub_module.py | grzegorznowak/tensorflow-rrn-server | 1011ea465c298263fa177ba34ba0db0897985d8f | [
"Unlicense"
] | null | null | null | src/stub_module.py | grzegorznowak/tensorflow-rrn-server | 1011ea465c298263fa177ba34ba0db0897985d8f | [
"Unlicense"
] | 4 | 2018-02-12T11:13:54.000Z | 2018-02-12T20:24:23.000Z | src/stub_module.py | grzegorznowak/tensorflow-rrn-server | 1011ea465c298263fa177ba34ba0db0897985d8f | [
"Unlicense"
] | 1 | 2018-02-11T23:19:47.000Z | 2018-02-11T23:19:47.000Z | def justAStubFunctionForATest():
return 1234 | 24.5 | 33 | 0.77551 | 4 | 49 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0.163265 | 49 | 2 | 34 | 24.5 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
95693e1e7492b0845c1a7d4c968b5a986cddaa6b | 31 | py | Python | projects/thesis/continuous/custom/continuous/continuous_conv/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | projects/thesis/continuous/custom/continuous/continuous_conv/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | projects/thesis/continuous/custom/continuous/continuous_conv/__init__.py | cpark90/rrrcnn | ba66cc391265be76fa3896b66459ff7241b47972 | [
"Apache-2.0"
] | null | null | null | from .continuous_conv import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
957608c2134577c8f3f06313eb7155b55d45d19a | 27 | py | Python | src_old/__init__.py | m0000Amir/BST_BS_types_set | c455aaafa632a0de8a1075262097f042993721c7 | [
"MIT"
] | null | null | null | src_old/__init__.py | m0000Amir/BST_BS_types_set | c455aaafa632a0de8a1075262097f042993721c7 | [
"MIT"
] | 2 | 2020-11-08T19:48:23.000Z | 2022-03-12T00:58:34.000Z | src_old/__init__.py | m0000Amir/BST_BS_types_set | c455aaafa632a0de8a1075262097f042993721c7 | [
"MIT"
] | null | null | null | # TODO: remove this package | 27 | 27 | 0.777778 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0.925926 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
95c5c78e0bfd9662b3a267387462a41d0b30251e | 8,021 | py | Python | DepthGAN/networks/generator_vggnet.py | sharanramjee/single-image-stereo-depth-estimation | 2ec69a3980171189b75c996eca72c053fa6a5fd8 | [
"MIT"
] | null | null | null | DepthGAN/networks/generator_vggnet.py | sharanramjee/single-image-stereo-depth-estimation | 2ec69a3980171189b75c996eca72c053fa6a5fd8 | [
"MIT"
] | null | null | null | DepthGAN/networks/generator_vggnet.py | sharanramjee/single-image-stereo-depth-estimation | 2ec69a3980171189b75c996eca72c053fa6a5fd8 | [
"MIT"
] | null | null | null | from networks.blocks import *
class VggNetMD(nn.Module):
def __init__(self, num_in_layers, num_out_layers=2, normalize=None):
super(VggNetMD, self).__init__()
# encoder
self.conv1 = ConvBlock(num_in_layers, 32, 7, normalize=normalize) # H/2
self.conv2 = ConvBlock(32, 64, 5, n... | 39.707921 | 112 | 0.599801 | 1,021 | 8,021 | 4.629775 | 0.131244 | 0.167548 | 0.139623 | 0.063465 | 0.806008 | 0.775545 | 0.742966 | 0.726888 | 0.69304 | 0.649884 | 0 | 0.116331 | 0.280888 | 8,021 | 201 | 113 | 39.905473 | 0.70319 | 0.035282 | 0 | 0.748299 | 0 | 0 | 0.00415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027211 | false | 0 | 0.006803 | 0 | 0.061224 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
95eeb0ab46a0d71a2ad97ee9e754c560df687d03 | 48,790 | py | Python | diffcal3.py | Anshnrag02/Calculator-Calculus | 16e099c4a505e1757b661c1fe0db74eac320bc94 | [
"MIT"
] | null | null | null | diffcal3.py | Anshnrag02/Calculator-Calculus | 16e099c4a505e1757b661c1fe0db74eac320bc94 | [
"MIT"
] | null | null | null | diffcal3.py | Anshnrag02/Calculator-Calculus | 16e099c4a505e1757b661c1fe0db74eac320bc94 | [
"MIT"
] | null | null | null | from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_dniwindow(object):
def setupUi(self, dniwindow):
dniwindow.setObjectName("dniwindow")
dniwindow.resize(900, 768)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.s... | 35.535324 | 116 | 0.628735 | 5,810 | 48,790 | 5.204991 | 0.028916 | 0.020502 | 0.018452 | 0.043517 | 0.790615 | 0.720347 | 0.713535 | 0.711683 | 0.702292 | 0.700175 | 0 | 0.054492 | 0.213138 | 48,790 | 1,372 | 117 | 35.561224 | 0.733141 | 0 | 0 | 0.740849 | 0 | 0 | 0.291408 | 0.019739 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001464 | false | 0 | 0.001464 | 0 | 0.00366 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
95fcface1d2894449d3d231fce8b70736a29969d | 96 | py | Python | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/util.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/util.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/util.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/f4/61/43/e763c63a0d1ccc9734a1496913cb132551d99e66a6f38b5eabddfcc5e8 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c2a684df7084e028f52ea5c1d4aed2c2dbce8127 | 45 | py | Python | hello_world.py | AmitSuresh/learning-python | f1ea5b9f3659f21504b1b0e452c03239b03cde85 | [
"MIT"
] | null | null | null | hello_world.py | AmitSuresh/learning-python | f1ea5b9f3659f21504b1b0e452c03239b03cde85 | [
"MIT"
] | null | null | null | hello_world.py | AmitSuresh/learning-python | f1ea5b9f3659f21504b1b0e452c03239b03cde85 | [
"MIT"
] | null | null | null | #say hello
print("Hello Python World!!!!") | 15 | 31 | 0.644444 | 6 | 45 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 3 | 31 | 15 | 0.763158 | 0.2 | 0 | 0 | 0 | 0 | 0.647059 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c2ba8e542b46498c70016a06cc0639dcc036abcc | 31,211 | py | Python | tests/test_listener.py | bernard357/shellbot | daf64fbab4085d1591bf9a1aecd06b4fc615d132 | [
"Apache-2.0"
] | 11 | 2017-04-30T18:10:27.000Z | 2021-11-07T16:59:29.000Z | tests/test_listener.py | DataCraft-AI/shellbot | daf64fbab4085d1591bf9a1aecd06b4fc615d132 | [
"Apache-2.0"
] | 38 | 2017-04-20T17:33:05.000Z | 2017-11-10T20:19:07.000Z | tests/test_listener.py | DataCraft-AI/shellbot | daf64fbab4085d1591bf9a1aecd06b4fc615d132 | [
"Apache-2.0"
] | 3 | 2017-04-21T21:14:53.000Z | 2021-07-27T22:01:21.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import unittest
import gc
import json
import logging
import mock
from multiprocessing import Process, Queue
import os
import sys
from threading import Timer
import time
import yaml
from shellbot import Context, Engine, Listener, SpaceFactory, Vibes
from shellbot.events im... | 47.146526 | 243 | 0.685848 | 2,559 | 31,211 | 8.271981 | 0.103165 | 0.031652 | 0.017952 | 0.023621 | 0.863001 | 0.836924 | 0.819114 | 0.801398 | 0.772581 | 0.753496 | 0 | 0.069118 | 0.208708 | 31,211 | 661 | 244 | 47.217852 | 0.78799 | 0.001346 | 0 | 0.621013 | 0 | 0.018762 | 0.492572 | 0.312863 | 0 | 0 | 0 | 0 | 0.133208 | 1 | 0.050657 | false | 0.001876 | 0.02439 | 0 | 0.105066 | 0.003752 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c2c8550bfc6e1c525999f2cf97df790af92c9452 | 169 | py | Python | xbee/backend/__init__.py | PowerFlex/python-xbee-intercept | 0c07f3a5f16f479ad7c925cd31638598030cf5a7 | [
"MIT"
] | 65 | 2015-12-06T02:38:28.000Z | 2017-09-05T16:46:07.000Z | xbee/backend/__init__.py | PowerFlex/python-xbee-intercept | 0c07f3a5f16f479ad7c925cd31638598030cf5a7 | [
"MIT"
] | 44 | 2015-10-23T15:33:54.000Z | 2017-09-01T06:39:50.000Z | xbee/backend/__init__.py | PowerFlex/python-xbee-intercept | 0c07f3a5f16f479ad7c925cd31638598030cf5a7 | [
"MIT"
] | 43 | 2015-12-15T02:52:21.000Z | 2017-06-24T17:14:53.000Z | """
XBee package initalization file
info@n.io
"""
from xbee.backend.ieee import XBee
from xbee.backend.zigbee import ZigBee
from xbee.backend.digimesh import DigiMesh
| 16.9 | 42 | 0.792899 | 25 | 169 | 5.36 | 0.52 | 0.179104 | 0.335821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12426 | 169 | 9 | 43 | 18.777778 | 0.905405 | 0.248521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6c0979dbcc947d029811bc87860b7ceac0569554 | 104 | py | Python | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/utils/api/schema.py | leoyunhyung/cookiecutter-django | 2c906684e964b7d0c2ae571eeba86c19f37f1a08 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/utils/api/schema.py | leoyunhyung/cookiecutter-django | 2c906684e964b7d0c2ae571eeba86c19f37f1a08 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/utils/api/schema.py | leoyunhyung/cookiecutter-django | 2c906684e964b7d0c2ae571eeba86c19f37f1a08 | [
"BSD-3-Clause"
] | null | null | null | from drf_yasg.inspectors import SwaggerAutoSchema
class CustomAutoSchema(SwaggerAutoSchema):
pass
| 17.333333 | 49 | 0.836538 | 10 | 104 | 8.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 5 | 50 | 20.8 | 0.945055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6c2533dc3e3471d9bc209400fed0796203f4547c | 9,985 | py | Python | cheshire3/web/test/testQueryFactory.py | cheshire3/cheshire3 | 306348831ec110229c78a7c5f0f2026a0f394d2c | [
"Python-2.0",
"Unlicense"
] | 3 | 2015-08-02T09:03:28.000Z | 2017-12-06T09:26:14.000Z | cheshire3/web/test/testQueryFactory.py | cheshire3/cheshire3 | 306348831ec110229c78a7c5f0f2026a0f394d2c | [
"Python-2.0",
"Unlicense"
] | 5 | 2015-08-17T01:16:35.000Z | 2015-09-16T21:51:27.000Z | cheshire3/web/test/testQueryFactory.py | cheshire3/cheshire3 | 306348831ec110229c78a7c5f0f2026a0f394d2c | [
"Python-2.0",
"Unlicense"
] | 6 | 2015-05-17T15:32:20.000Z | 2020-04-22T08:43:16.000Z | u"""Cheshire3 Web QueryFactory Unittests.
QueryFactory configurations may be customized by the user. For the purposes
of unittesting, configuration files will be ignored and QueryFactory instances
will be instantiated using configuration data defined within this testing
module, and tests carried out on instances.
"""
... | 35.917266 | 78 | 0.61362 | 971 | 9,985 | 6.236869 | 0.143151 | 0.10568 | 0.1321 | 0.019815 | 0.81572 | 0.797721 | 0.785832 | 0.747193 | 0.722754 | 0.716149 | 0 | 0.006376 | 0.29314 | 9,985 | 278 | 79 | 35.917266 | 0.851658 | 0.154732 | 0 | 0.613208 | 0 | 0 | 0.139338 | 0.022001 | 0 | 0 | 0 | 0 | 0.301887 | 1 | 0.051887 | false | 0 | 0.037736 | 0.009434 | 0.108491 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dd62af95b04f1070eb44f95ad276a30786bb5113 | 32 | py | Python | storage_formats/apache_parquet/python/fastparquet_test/__init__.py | statisticsnorway/microdata-testing | 3b14a2f6f08791a666c659bbdc9cdf9d41a4c23d | [
"Apache-2.0"
] | null | null | null | storage_formats/apache_parquet/python/fastparquet_test/__init__.py | statisticsnorway/microdata-testing | 3b14a2f6f08791a666c659bbdc9cdf9d41a4c23d | [
"Apache-2.0"
] | null | null | null | storage_formats/apache_parquet/python/fastparquet_test/__init__.py | statisticsnorway/microdata-testing | 3b14a2f6f08791a666c659bbdc9cdf9d41a4c23d | [
"Apache-2.0"
] | null | null | null | from .fastparquet_test import *
| 16 | 31 | 0.8125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
06f038d193e36736889068a208f8833e7e41b7a5 | 3,138 | py | Python | basicswap/rpc_xmr.py | tecnovert/basicswap | 6a9e759629ab856b77993bcd2a7cb4fd29c10a1d | [
"MIT"
] | 8 | 2019-07-25T14:55:13.000Z | 2022-02-17T16:02:19.000Z | basicswap/rpc_xmr.py | tecnovert/basicswap | 6a9e759629ab856b77993bcd2a7cb4fd29c10a1d | [
"MIT"
] | 2 | 2021-01-04T07:22:49.000Z | 2021-02-14T13:10:44.000Z | basicswap/rpc_xmr.py | tecnovert/basicswap | 6a9e759629ab856b77993bcd2a7cb4fd29c10a1d | [
"MIT"
] | 11 | 2019-08-02T08:41:37.000Z | 2022-03-27T12:02:27.000Z | # -*- coding: utf-8 -*-
import json
import requests
def callrpc_xmr(rpc_port, auth, method, params=[], rpc_host='127.0.0.1', path='json_rpc', timeout=120):
# auth is a tuple: (username, password)
try:
url = 'http://{}:{}/{}'.format(rpc_host, rpc_port, path)
request_body = {
'metho... | 30.764706 | 148 | 0.593053 | 418 | 3,138 | 4.344498 | 0.169856 | 0.072687 | 0.026432 | 0.029736 | 0.827643 | 0.807269 | 0.7913 | 0.765419 | 0.765419 | 0.765419 | 0 | 0.02851 | 0.262269 | 3,138 | 101 | 149 | 31.069307 | 0.75594 | 0.018802 | 0 | 0.666667 | 0 | 0 | 0.119961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.025641 | 0 | 0.25641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6649f8e57a7599aa28416a4220d47a0ece8e0329 | 103 | py | Python | h2o-py/tests/utils/__init__.py | kyoren/https-github.com-h2oai-h2o-3 | 77b27109c84c4739f9f1b7a3078f8992beefc813 | [
"Apache-2.0"
] | 1 | 2016-09-30T05:58:18.000Z | 2016-09-30T05:58:18.000Z | h2o-py/tests/utils/__init__.py | kyoren/https-github.com-h2oai-h2o-3 | 77b27109c84c4739f9f1b7a3078f8992beefc813 | [
"Apache-2.0"
] | null | null | null | h2o-py/tests/utils/__init__.py | kyoren/https-github.com-h2oai-h2o-3 | 77b27109c84c4739f9f1b7a3078f8992beefc813 | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
# module utils
# from (utils)
from ipynb_demo_runner import *
from utilsPY import *
| 14.714286 | 31 | 0.737864 | 15 | 103 | 4.933333 | 0.733333 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.174757 | 103 | 6 | 32 | 17.166667 | 0.858824 | 0.398058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b07e605ad0d78c18c781d630d9eb94f6e3b76c55 | 7,859 | py | Python | twunnel/generator__ssl.py | jvansteirteghem/twunnel | 6de57636c7a9df03fe8452c5bc57071aad3719a7 | [
"MIT"
] | 16 | 2015-02-09T11:45:05.000Z | 2021-07-22T12:21:25.000Z | twunnel/generator__ssl.py | jvansteirteghem/twunnel | 6de57636c7a9df03fe8452c5bc57071aad3719a7 | [
"MIT"
] | null | null | null | twunnel/generator__ssl.py | jvansteirteghem/twunnel | 6de57636c7a9df03fe8452c5bc57071aad3719a7 | [
"MIT"
] | 7 | 2015-02-23T18:38:17.000Z | 2021-04-15T11:10:19.000Z | # Copyright (c) Jeroen Van Steirteghem
# See LICENSE
import OpenSSL
import time
def generateCertificateAuthority(configuration):
configuration.setdefault("CERTIFICATE", {})
configuration["CERTIFICATE"].setdefault("AUTHORITY", {})
configuration["CERTIFICATE"]["AUTHORITY"].setdefault("FILE", "")
configu... | 56.539568 | 161 | 0.688001 | 799 | 7,859 | 6.604506 | 0.12015 | 0.295623 | 0.212621 | 0.128861 | 0.882509 | 0.782642 | 0.562441 | 0.502748 | 0.373697 | 0.291832 | 0 | 0.011114 | 0.118463 | 7,859 | 139 | 162 | 56.539568 | 0.750577 | 0.006108 | 0 | 0.245763 | 1 | 0 | 0.302856 | 0.040978 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016949 | false | 0.076271 | 0.016949 | 0 | 0.033898 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b08099495b8d943baa39c812185243c1726ae0cb | 141 | py | Python | python/tests/test_pangram.py | matyama/codewars | 3386dbdb1cd3fa6556356591f377a72bf4bba4e6 | [
"MIT"
] | null | null | null | python/tests/test_pangram.py | matyama/codewars | 3386dbdb1cd3fa6556356591f377a72bf4bba4e6 | [
"MIT"
] | null | null | null | python/tests/test_pangram.py | matyama/codewars | 3386dbdb1cd3fa6556356591f377a72bf4bba4e6 | [
"MIT"
] | null | null | null | from codewars.pangram import is_pangram
def test_pangram() -> None:
assert is_pangram('The quick, brown fox jumps over the lazy dog!')
| 23.5 | 70 | 0.744681 | 22 | 141 | 4.636364 | 0.772727 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 141 | 5 | 71 | 28.2 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b0b697bd758110ba8c46d8603f2f69cef35bfdc7 | 33 | py | Python | amocrm_asterisk_ng/scenario/core/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/scenario/core/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/scenario/core/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | from .IScenario import IScenario
| 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 | 1 | 0 | 0 | 6 |
b0e19971674a0b704dc723ef290235b4ba5dd2e4 | 23 | py | Python | messaging_components/brokers/qpid/__init__.py | fgiorgetti/qpid-dispatch-tests | 164c609d28db87692eed53d5361aa1ee5c97375c | [
"Apache-2.0"
] | null | null | null | messaging_components/brokers/qpid/__init__.py | fgiorgetti/qpid-dispatch-tests | 164c609d28db87692eed53d5361aa1ee5c97375c | [
"Apache-2.0"
] | null | null | null | messaging_components/brokers/qpid/__init__.py | fgiorgetti/qpid-dispatch-tests | 164c609d28db87692eed53d5361aa1ee5c97375c | [
"Apache-2.0"
] | null | null | null | from .qpid import Qpid
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ff464f8ac929b04a1fa88f188fd3c5d90d09fcf | 32,710 | py | Python | tests/base/cache_pool_test.py | RevenueCat/meta-memcache-py | 755ecfc4cfbb029d3435590c5f9aa8a8aa2a36e3 | [
"MIT"
] | null | null | null | tests/base/cache_pool_test.py | RevenueCat/meta-memcache-py | 755ecfc4cfbb029d3435590c5f9aa8a8aa2a36e3 | [
"MIT"
] | 4 | 2022-01-10T23:06:43.000Z | 2022-03-08T22:49:39.000Z | tests/base/cache_pool_test.py | RevenueCat/meta-memcache-py | 755ecfc4cfbb029d3435590c5f9aa8a8aa2a36e3 | [
"MIT"
] | null | null | null | import pickle
import zlib
from dataclasses import dataclass
from unittest.mock import MagicMock, call
import pytest
from pytest_mock import MockerFixture
from meta_memcache import CachePool, Key, MemcacheError, SetMode
from meta_memcache.base.base_write_failure_tracker import BaseWriteFailureTracker
from meta_memcach... | 34.32319 | 88 | 0.698074 | 4,573 | 32,710 | 4.686202 | 0.056418 | 0.15483 | 0.080121 | 0.093327 | 0.89272 | 0.881335 | 0.869155 | 0.85133 | 0.84559 | 0.839851 | 0 | 0.019647 | 0.198624 | 32,710 | 952 | 89 | 34.359244 | 0.797848 | 0.002751 | 0 | 0.632226 | 0 | 0 | 0.070885 | 0.004538 | 0 | 0 | 0 | 0 | 0.184502 | 1 | 0.0369 | false | 0.00123 | 0.01722 | 0.00369 | 0.068881 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b011bc8633bd17ed506f12f6b5aba04dbf8e07d2 | 87 | py | Python | afs/lla/CacheManagerLLAError.py | chanke/afspy | 525e7b3b53e58be515f11b83cc59ddb0765ef8e5 | [
"BSD-2-Clause"
] | null | null | null | afs/lla/CacheManagerLLAError.py | chanke/afspy | 525e7b3b53e58be515f11b83cc59ddb0765ef8e5 | [
"BSD-2-Clause"
] | null | null | null | afs/lla/CacheManagerLLAError.py | chanke/afspy | 525e7b3b53e58be515f11b83cc59ddb0765ef8e5 | [
"BSD-2-Clause"
] | null | null | null | from afs.util.AFSError import AFSError
class CacheManagerLLAError(AFSError):
pass
| 17.4 | 38 | 0.804598 | 10 | 87 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 4 | 39 | 21.75 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b0506168d80e31db172bc727c2eb23873b1f83bb | 13,550 | py | Python | laserfiche_api/api/attributes_api.py | Layer8Err/laserfiche_api | 8c9030c8f5cc245b61858bd096a1ad3c58cdbfd2 | [
"BSD-2-Clause"
] | 1 | 2021-06-17T23:51:25.000Z | 2021-06-17T23:51:25.000Z | laserfiche_api/api/attributes_api.py | Layer8Err/laserfiche_api | 8c9030c8f5cc245b61858bd096a1ad3c58cdbfd2 | [
"BSD-2-Clause"
] | null | null | null | laserfiche_api/api/attributes_api.py | Layer8Err/laserfiche_api | 8c9030c8f5cc245b61858bd096a1ad3c58cdbfd2 | [
"BSD-2-Clause"
] | null | null | null | # coding: utf-8
"""
Laserfiche API
Welcome to the Laserfiche API Swagger Playground. You can try out any of our API calls against your live Laserfiche Cloud account. Visit the developer center for more details: <a href=\"https://developer.laserfiche.com\">https://developer.laserfiche.com</a><p><strong>Build# ... | 53.769841 | 736 | 0.674022 | 1,694 | 13,550 | 5.201299 | 0.138135 | 0.032686 | 0.036659 | 0.034956 | 0.896607 | 0.880944 | 0.876858 | 0.860629 | 0.855181 | 0.840767 | 0 | 0.01226 | 0.247528 | 13,550 | 251 | 737 | 53.984064 | 0.851903 | 0.503469 | 0 | 0.6875 | 0 | 0 | 0.210826 | 0.071521 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039063 | false | 0 | 0.03125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b0646df301bf75184eea8336601f5fe48968d8f0 | 156 | py | Python | model/loss.py | mohammadKhalifa/Bi-lateral-multiperspective-matching | 9298f8fee7adb79e45e6700d21f22e8781b0bfe7 | [
"MIT"
] | null | null | null | model/loss.py | mohammadKhalifa/Bi-lateral-multiperspective-matching | 9298f8fee7adb79e45e6700d21f22e8781b0bfe7 | [
"MIT"
] | null | null | null | model/loss.py | mohammadKhalifa/Bi-lateral-multiperspective-matching | 9298f8fee7adb79e45e6700d21f22e8781b0bfe7 | [
"MIT"
] | null | null | null | import torch.nn.functional as F
from torch.nn import BCELoss
def my_loss(y_input, y_target):
loss = BCELoss()
return loss(y_input, y_target)
| 22.285714 | 35 | 0.711538 | 26 | 156 | 4.076923 | 0.576923 | 0.132075 | 0.188679 | 0.207547 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 156 | 6 | 36 | 26 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c690d491755d74bf0544705a76b58dca151c8d9e | 113 | py | Python | testsmainnet/loantoken/test_LoanTokenLogicStandardEvents.py | syuukawa/contractsV2 | 71d7ef458c9d8f98823d1c28f711f7b0e5286520 | [
"Apache-2.0"
] | null | null | null | testsmainnet/loantoken/test_LoanTokenLogicStandardEvents.py | syuukawa/contractsV2 | 71d7ef458c9d8f98823d1c28f711f7b0e5286520 | [
"Apache-2.0"
] | null | null | null | testsmainnet/loantoken/test_LoanTokenLogicStandardEvents.py | syuukawa/contractsV2 | 71d7ef458c9d8f98823d1c28f711f7b0e5286520 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
import pytest
from brownie import *
from fixedint import *
from helpers import setupLoanPool
| 16.142857 | 33 | 0.79646 | 15 | 113 | 6 | 0.666667 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.141593 | 113 | 6 | 34 | 18.833333 | 0.917526 | 0.150442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c6c137ebc7be25480f8135fd743c6d1e0933bc9f | 33 | py | Python | gnfetcher/__init__.py | aadu999/gnfetcher | f080de54ca8028ef44677f3eb7ac28139eee7453 | [
"MIT"
] | null | null | null | gnfetcher/__init__.py | aadu999/gnfetcher | f080de54ca8028ef44677f3eb7ac28139eee7453 | [
"MIT"
] | null | null | null | gnfetcher/__init__.py | aadu999/gnfetcher | f080de54ca8028ef44677f3eb7ac28139eee7453 | [
"MIT"
] | null | null | null | from .gnfetcher import gnfetcher
| 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 | 1 | 0 | 0 | 6 |
05fb40489b18e6e516071861d764f4eada39cf52 | 30 | py | Python | package/numbers/__init__.py | venkateshvsn/patterns | 7e1d1926b40695a65e04c370655c5d79dd63bf6e | [
"MIT"
] | null | null | null | package/numbers/__init__.py | venkateshvsn/patterns | 7e1d1926b40695a65e04c370655c5d79dd63bf6e | [
"MIT"
] | null | null | null | package/numbers/__init__.py | venkateshvsn/patterns | 7e1d1926b40695a65e04c370655c5d79dd63bf6e | [
"MIT"
] | null | null | null | print('patterns of numbers')
| 15 | 29 | 0.733333 | 4 | 30 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
af7946e225c363412c88f52646d73aff467ea4f3 | 42 | py | Python | src/data/__init__.py | gokhankesler/tensorflow-archive | 0625c12e3b63bedcad441a503a342697edb40c78 | [
"MIT"
] | null | null | null | src/data/__init__.py | gokhankesler/tensorflow-archive | 0625c12e3b63bedcad441a503a342697edb40c78 | [
"MIT"
] | null | null | null | src/data/__init__.py | gokhankesler/tensorflow-archive | 0625c12e3b63bedcad441a503a342697edb40c78 | [
"MIT"
] | null | null | null | #!/usr/bin/python
from .get_data import * | 14 | 23 | 0.714286 | 7 | 42 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 3 | 23 | 14 | 0.783784 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
af7bdd577bdc314776603cf42fa549a2c7bdfffb | 35 | py | Python | ctrnn_cpg/__init__.py | Karabazmos/neat-python | f779585553f29aec1513a1260852c9ad24967dbe | [
"BSD-3-Clause"
] | null | null | null | ctrnn_cpg/__init__.py | Karabazmos/neat-python | f779585553f29aec1513a1260852c9ad24967dbe | [
"BSD-3-Clause"
] | null | null | null | ctrnn_cpg/__init__.py | Karabazmos/neat-python | f779585553f29aec1513a1260852c9ad24967dbe | [
"BSD-3-Clause"
] | null | null | null | "Run NEAT algorithm for CTRNN-CPG." | 35 | 35 | 0.771429 | 6 | 35 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.870968 | 0.942857 | 0 | 0 | 0 | 0 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
af890c6c633c4e4bd07f7cfd3ad6f834be7f2ade | 80 | py | Python | lib/candy_editor/qt/controls/SearchView/__init__.py | lihaochen910/Candy | d12cb964768459c22f30c22531d3e1734901e814 | [
"MIT"
] | 1 | 2021-11-06T14:38:37.000Z | 2021-11-06T14:38:37.000Z | lib/candy_editor/qt/controls/SearchView/__init__.py | lihaochen910/Candy | d12cb964768459c22f30c22531d3e1734901e814 | [
"MIT"
] | 5 | 2021-11-06T04:23:06.000Z | 2022-03-12T01:03:25.000Z | lib/candy_editor/qt/controls/SearchView/__init__.py | lihaochen910/Candy | d12cb964768459c22f30c22531d3e1734901e814 | [
"MIT"
] | 1 | 2021-11-07T05:19:51.000Z | 2021-11-07T05:19:51.000Z | from .SearchView import SearchView, requestSearchView, registerSearchEnumerator
| 40 | 79 | 0.8875 | 6 | 80 | 11.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 80 | 1 | 80 | 80 | 0.959459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
afd4e9883df72f97d3a7d58efe59d4913a006bf6 | 224 | py | Python | stellar_model/model/horizon/price.py | MartinThoma/stellar-model | a21969f3d1aac1e95cb32747d54b72a30e21dda9 | [
"Apache-2.0"
] | 8 | 2021-04-25T09:58:39.000Z | 2022-01-22T05:01:37.000Z | stellar_model/model/horizon/price.py | MartinThoma/stellar-model | a21969f3d1aac1e95cb32747d54b72a30e21dda9 | [
"Apache-2.0"
] | 8 | 2021-06-02T12:46:21.000Z | 2021-11-29T01:23:42.000Z | stellar_model/model/horizon/price.py | MartinThoma/stellar-model | a21969f3d1aac1e95cb32747d54b72a30e21dda9 | [
"Apache-2.0"
] | 3 | 2021-07-21T03:58:05.000Z | 2021-08-01T00:03:11.000Z | from pydantic import BaseModel
from pydantic import Field
class Price(BaseModel):
"""
Represents a price
"""
n: int = Field(description="The numerator.")
d: int = Field(description="The denominator.")
| 18.666667 | 50 | 0.674107 | 26 | 224 | 5.807692 | 0.615385 | 0.15894 | 0.238411 | 0.291391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 224 | 11 | 51 | 20.363636 | 0.857955 | 0.080357 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb6a454f9df5b3bcb5d21a18dc27aa89f515a9bc | 39 | py | Python | src/data/transform_data.py | wiflore/ds-template | 94a97fb3ed7588144653eda5a7cf7c9ac91d732f | [
"MIT"
] | null | null | null | src/data/transform_data.py | wiflore/ds-template | 94a97fb3ed7588144653eda5a7cf7c9ac91d732f | [
"MIT"
] | 14 | 2020-12-26T23:41:53.000Z | 2020-12-28T14:32:23.000Z | src/data/transform_data.py | wiflore/ds-template | 94a97fb3ed7588144653eda5a7cf7c9ac91d732f | [
"MIT"
] | 2 | 2021-03-27T00:12:42.000Z | 2021-11-20T12:54:52.000Z | import logging
from pathlib import Path | 19.5 | 24 | 0.871795 | 6 | 39 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 24 | 19.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bbc861f333d742363473afc376945b26b4624186 | 39 | py | Python | amd64-linux/lib/python/mod_ebony_fpga_commands.py | qiyancos/Simics-3.0.31 | 9bd52d5abad023ee87a37306382a338abf7885f1 | [
"BSD-4-Clause",
"FSFAP"
] | 1 | 2020-06-15T10:41:18.000Z | 2020-06-15T10:41:18.000Z | amd64-linux/lib/python/mod_ebony_fpga_commands.py | qiyancos/Simics-3.0.31 | 9bd52d5abad023ee87a37306382a338abf7885f1 | [
"BSD-4-Clause",
"FSFAP"
] | null | null | null | amd64-linux/lib/python/mod_ebony_fpga_commands.py | qiyancos/Simics-3.0.31 | 9bd52d5abad023ee87a37306382a338abf7885f1 | [
"BSD-4-Clause",
"FSFAP"
] | 3 | 2020-08-10T10:25:02.000Z | 2021-09-12T01:12:09.000Z | from cli import *
import sim_commands
| 9.75 | 19 | 0.794872 | 6 | 39 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 3 | 20 | 13 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bbf6cfd9b22ac423cc8ededad1777e3b0693673b | 201 | py | Python | model/helpers/__init__.py | dc-avasilev/testing-api | 3f46406daa7e9145352e8cfba0878b2b3df510c6 | [
"MIT"
] | 1 | 2021-09-13T21:37:58.000Z | 2021-09-13T21:37:58.000Z | model/helpers/__init__.py | dc-avasilev/testing-api | 3f46406daa7e9145352e8cfba0878b2b3df510c6 | [
"MIT"
] | null | null | null | model/helpers/__init__.py | dc-avasilev/testing-api | 3f46406daa7e9145352e8cfba0878b2b3df510c6 | [
"MIT"
] | null | null | null | from .json_helper import (
AlternateJsonEncoder,
JsonHelper
)
from .log_helper import LogHelper
from .logger import Logger
from .xml_helper import XMLHelper
from .yaml_helper import YamlHelper
| 22.333333 | 35 | 0.80597 | 25 | 201 | 6.32 | 0.52 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154229 | 201 | 8 | 36 | 25.125 | 0.929412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.625 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a54854fb7adb5303713ee66af8603ea190f50c8a | 437 | py | Python | tests/test_utils.py | ashlylau/PyStatDP | 42a2497b38b0df6a1528b255e994aa332e41f9ea | [
"MIT"
] | 8 | 2020-07-25T02:54:24.000Z | 2021-02-25T12:56:03.000Z | tests/test_utils.py | ashlylau/PyStatDP | 42a2497b38b0df6a1528b255e994aa332e41f9ea | [
"MIT"
] | 11 | 2020-08-19T08:24:49.000Z | 2021-06-29T05:42:12.000Z | tests/test_utils.py | ashlylau/PyStatDP | 42a2497b38b0df6a1528b255e994aa332e41f9ea | [
"MIT"
] | 7 | 2020-10-19T14:43:55.000Z | 2021-06-05T08:23:43.000Z | from pystatdp.utils import arr_n_check
def test_negative_privacy():
assert arr_n_check(-0.9, 0.5, 3) == (0.4,0.9,1.4)
def test_callable():
assert callable(arr_n_check)
def test_inappropriats_n_checks():
assert arr_n_check(0.9, 0.5, -3) == (0.4,0.9,1.4)
def test_inappropriats_n_checks1():
assert arr_... | 25.705882 | 53 | 0.677346 | 90 | 437 | 3.011111 | 0.277778 | 0.059041 | 0.199262 | 0.221402 | 0.542435 | 0.424354 | 0.361624 | 0.361624 | 0.243542 | 0.243542 | 0 | 0.107527 | 0.148741 | 437 | 16 | 54 | 27.3125 | 0.620968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.454545 | true | 0 | 0.090909 | 0 | 0.545455 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a54a3b4c00161b37ba226676dfc70cbc38823626 | 6 | py | Python | seven.py | 15637945839/first | b92de2797e99f9b0a0fa771ccb27a248397ba405 | [
"MIT"
] | null | null | null | seven.py | 15637945839/first | b92de2797e99f9b0a0fa771ccb27a248397ba405 | [
"MIT"
] | null | null | null | seven.py | 15637945839/first | b92de2797e99f9b0a0fa771ccb27a248397ba405 | [
"MIT"
] | null | null | null | i = 7
| 3 | 5 | 0.333333 | 2 | 6 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.5 | 6 | 1 | 6 | 6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a5a9210a8ccb384442c73a41f8fc32597fd83b08 | 1,120 | py | Python | src/test.py | sihrc/2048-Python-ML | c61a85deb9dcb3a4183c59fb33ef5ca9c9b5a824 | [
"MIT"
] | 1 | 2017-01-03T22:02:44.000Z | 2017-01-03T22:02:44.000Z | src/test.py | sihrc/2048-Python-ML | c61a85deb9dcb3a4183c59fb33ef5ca9c9b5a824 | [
"MIT"
] | null | null | null | src/test.py | sihrc/2048-Python-ML | c61a85deb9dcb3a4183c59fb33ef5ca9c9b5a824 | [
"MIT"
] | null | null | null | import unittest
from model import Model
import numpy as np
class DirectionTests(unittest.TestCase):
def test_up(self):
model = Model()
model.grid = np.array([[0,0,0,0],[0,0,2,0],[0,0,0,0],[0,0,0,0]])
model.up()
self.assertTrue((np.array([[0,0,0,0],[2,0,0,0],[0,0,0,0],[0,0,0,0]]) == ... | 32.941176 | 98 | 0.514286 | 223 | 1,120 | 2.529148 | 0.116592 | 0.368794 | 0.473404 | 0.531915 | 0.746454 | 0.746454 | 0.675532 | 0.675532 | 0.638298 | 0.634752 | 0 | 0.142222 | 0.196429 | 1,120 | 34 | 99 | 32.941176 | 0.484444 | 0 | 0 | 0.307692 | 0 | 0 | 0.007136 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.153846 | false | 0 | 0.115385 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a5b5bc7711b23d1b0dc7479dabc2515097d87663 | 155 | py | Python | ps4you/client/admin.py | bogomaz1987/ps4you | 7222425fb469dd966ba33de11405b9aa5e37ba67 | [
"Apache-2.0"
] | null | null | null | ps4you/client/admin.py | bogomaz1987/ps4you | 7222425fb469dd966ba33de11405b9aa5e37ba67 | [
"Apache-2.0"
] | 2 | 2020-06-05T17:41:58.000Z | 2021-06-01T22:00:29.000Z | ps4you/client/admin.py | bogomaz1987/ps4you | 7222425fb469dd966ba33de11405b9aa5e37ba67 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from client.models import Client
admin.site.register(Client, UserAdmin)
| 22.142857 | 47 | 0.832258 | 22 | 155 | 5.863636 | 0.5 | 0.155039 | 0.263566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103226 | 155 | 6 | 48 | 25.833333 | 0.928058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c22044f77a239e0bc8c2735144d7cc0bff5fff1 | 120 | py | Python | testmath.py | asfanmuhd/py4fun | 2f89a155d28654a140ea557190d8b013d9b5faf7 | [
"Unlicense"
] | null | null | null | testmath.py | asfanmuhd/py4fun | 2f89a155d28654a140ea557190d8b013d9b5faf7 | [
"Unlicense"
] | null | null | null | testmath.py | asfanmuhd/py4fun | 2f89a155d28654a140ea557190d8b013d9b5faf7 | [
"Unlicense"
] | null | null | null | x=int(2)
y=int(2)
z=y**x*y**x
A=z**z
print("wait_._._._._._._._._._._._._._._._._._._._._._._._")
print(A**A)
| 13.333333 | 61 | 0.483333 | 19 | 120 | 1.789474 | 0.421053 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.133333 | 120 | 8 | 62 | 15 | 0.307692 | 0 | 0 | 0 | 0 | 0.166667 | 0.463636 | 0.463636 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3c41a151dffea0d7bbf3a47bb47603d76fb8f42c | 303 | py | Python | electrumsv/wallet_database/migrations/__init__.py | electrumsv/electrumsv | a2d9027ccec338cadfca778888e6ef7f077b1651 | [
"MIT"
] | 136 | 2019-01-10T15:49:09.000Z | 2022-02-20T04:46:39.000Z | electrumsv/wallet_database/migrations/__init__.py | electrumsv/electrumsv | a2d9027ccec338cadfca778888e6ef7f077b1651 | [
"MIT"
] | 790 | 2019-01-07T01:53:35.000Z | 2022-03-30T23:04:28.000Z | electrumsv/wallet_database/migrations/__init__.py | electrumsv/electrumsv | a2d9027ccec338cadfca778888e6ef7f077b1651 | [
"MIT"
] | 65 | 2019-01-10T23:55:30.000Z | 2021-12-19T06:47:13.000Z | from . import migration_0022_create_database
from . import migration_0023_add_wallet_events
from . import migration_0024_account_transactions
from . import migration_0025_invoices
from . import migration_0026_txo_coinbase_flag
from . import migration_0027_tx_refactor2
from . import migration_0028_mapi
| 37.875 | 49 | 0.884488 | 42 | 303 | 5.880952 | 0.571429 | 0.283401 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105455 | 0.092409 | 303 | 7 | 50 | 43.285714 | 0.792727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c5201513ede8a86c4dbaa5b69dc94dbd8c4ae1b | 96 | py | Python | venv/lib/python3.8/site-packages/cachy/helpers.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/cachy/helpers.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cachy/helpers.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/a4/34/86/1fb303d8046fba694f97a2a1c9c14720ffd0424e4ab16440e957ecd3c5 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1af09d5d7ed57fdb98065637e063323216450d5 | 285 | py | Python | algorithms/LearningAlgorithm.py | lucaspg96/pattern-recognition | ba78c90795e9074825436e5cf5d394cedf869225 | [
"MIT"
] | 1 | 2018-11-08T00:59:15.000Z | 2018-11-08T00:59:15.000Z | algorithms/LearningAlgorithm.py | lucaspg96/pattern-recognition | ba78c90795e9074825436e5cf5d394cedf869225 | [
"MIT"
] | null | null | null | algorithms/LearningAlgorithm.py | lucaspg96/pattern-recognition | ba78c90795e9074825436e5cf5d394cedf869225 | [
"MIT"
] | null | null | null | import abc
class LearningAlgorithm():
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
def fit(self,X,Y,itter=100):
return
@abc.abstractmethod
def predict(self,X):
return
@abc.abstractmethod
def score(self,X,Y):
return | 17.8125 | 32 | 0.603509 | 32 | 285 | 5.25 | 0.53125 | 0.303571 | 0.357143 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015075 | 0.301754 | 285 | 16 | 33 | 17.8125 | 0.829146 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b1b6d53f78d7366295c47c4f922b90f1d070c84d | 173 | py | Python | src/learners/__init__.py | data-sachez-2511/pl_classification | 637b85c58d723925ae4d3fce08db2842786c750a | [
"MIT"
] | 8 | 2021-11-13T19:21:36.000Z | 2021-12-14T15:00:16.000Z | src/learners/__init__.py | data-sachez-2511/pl_classification | 637b85c58d723925ae4d3fce08db2842786c750a | [
"MIT"
] | 6 | 2021-11-11T13:05:21.000Z | 2021-12-13T09:59:05.000Z | src/learners/__init__.py | data-sachez-2511/pl_classification | 637b85c58d723925ae4d3fce08db2842786c750a | [
"MIT"
] | null | null | null | from learners.classificator_learner import ClassificatorLearner
from learners.regressor_learner import RegressorLearner
from learners.triplets_learner import TripletsLearner | 57.666667 | 63 | 0.919075 | 18 | 173 | 8.666667 | 0.555556 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063584 | 173 | 3 | 64 | 57.666667 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5932601a32770f3184798cb13a001457cf2bf20a | 35 | py | Python | part4/second.py | MADTeacher/python_basics | 06ae43d8063c1c8426a4fbb53443b6d1ee727951 | [
"MIT"
] | null | null | null | part4/second.py | MADTeacher/python_basics | 06ae43d8063c1c8426a4fbb53443b6d1ee727951 | [
"MIT"
] | null | null | null | part4/second.py | MADTeacher/python_basics | 06ae43d8063c1c8426a4fbb53443b6d1ee727951 | [
"MIT"
] | 4 | 2020-10-04T12:24:14.000Z | 2022-01-16T17:01:59.000Z | def function():
print('second') | 17.5 | 19 | 0.628571 | 4 | 35 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 2 | 19 | 17.5 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
594258bfc74a9198da848394264f3ce2783faed4 | 18 | py | Python | src/bnn/inference/__init__.py | beauCoker/variable_selection | 174278c81192940a3faea76b43384f25c4ba2c13 | [
"MIT"
] | null | null | null | src/bnn/inference/__init__.py | beauCoker/variable_selection | 174278c81192940a3faea76b43384f25c4ba2c13 | [
"MIT"
] | null | null | null | src/bnn/inference/__init__.py | beauCoker/variable_selection | 174278c81192940a3faea76b43384f25c4ba2c13 | [
"MIT"
] | 1 | 2021-03-09T18:09:31.000Z | 2021-03-09T18:09:31.000Z | from . import mcmc | 18 | 18 | 0.777778 | 3 | 18 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3cf892237c320c61ccd7f51376f30b1e58d07a30 | 32 | py | Python | src/ftp_himawari8_hsd/__init__.py | gSasikala/ftp-himawari8-hsd | c83c2e0579ec592d982858c599bd392ea24935f5 | [
"MIT"
] | 5 | 2021-11-20T07:37:49.000Z | 2022-03-18T02:56:02.000Z | src/ftp_himawari8_hsd/__init__.py | gSasikala/ftp-himawari8-hsd | c83c2e0579ec592d982858c599bd392ea24935f5 | [
"MIT"
] | null | null | null | src/ftp_himawari8_hsd/__init__.py | gSasikala/ftp-himawari8-hsd | c83c2e0579ec592d982858c599bd392ea24935f5 | [
"MIT"
] | 1 | 2021-07-05T09:13:13.000Z | 2021-07-05T09:13:13.000Z | from .ftp_himawari8_hsd import * | 32 | 32 | 0.84375 | 5 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.09375 | 32 | 1 | 32 | 32 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a72f370291f1d121e59b9569baa39f942d4ad8fc | 142 | py | Python | pyleecan/Methods/Machine/WindingCW1L/__init__.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | null | null | null | pyleecan/Methods/Machine/WindingCW1L/__init__.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | null | null | null | pyleecan/Methods/Machine/WindingCW1L/__init__.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from ....Methods.Machine.Winding import WindingError
class WindingT2DefNtError(WindingError):
""" """
pass
| 15.777778 | 52 | 0.65493 | 13 | 142 | 7.153846 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0.176056 | 142 | 8 | 53 | 17.75 | 0.777778 | 0.147887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
59a69126470ee61c9fe0a47cc3f3ef0d0ccfb68b | 70 | py | Python | test.py | saninstein/test | cae28125d611224e45408221735a14b38d21c727 | [
"MIT"
] | 1 | 2021-02-11T12:19:12.000Z | 2021-02-11T12:19:12.000Z | test.py | saninstein/test | cae28125d611224e45408221735a14b38d21c727 | [
"MIT"
] | 1 | 2020-05-21T01:40:21.000Z | 2020-05-21T14:52:01.000Z | test.py | saninstein/test | cae28125d611224e45408221735a14b38d21c727 | [
"MIT"
] | null | null | null | from simplesum import ssum
def test():
assert ssum([0, 1]) == 1
| 11.666667 | 28 | 0.614286 | 11 | 70 | 3.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.242857 | 70 | 5 | 29 | 14 | 0.754717 | 0 | 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 | 1 | 0 | 0 | 6 |
59c36e5729cd3d9da44a0604c7b278c759ff175b | 25 | py | Python | scf_add/__init__.py | duyixian1234/scf_add | ec7c1ee4f93c4997b4406c82d5c0ce28a0b09988 | [
"MIT"
] | 1 | 2020-02-21T07:27:58.000Z | 2020-02-21T07:27:58.000Z | scf_add/__init__.py | duyixian1234/scf_add | ec7c1ee4f93c4997b4406c82d5c0ce28a0b09988 | [
"MIT"
] | null | null | null | scf_add/__init__.py | duyixian1234/scf_add | ec7c1ee4f93c4997b4406c82d5c0ce28a0b09988 | [
"MIT"
] | null | null | null | from .command import main | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
abb8ec320cdf70e6557337a6b9e25805651cc198 | 42 | py | Python | __init__.py | obtitus/pysiprefix | 2f7f5ba073baf486242b5ea3b9a984e03ab60981 | [
"Unlicense"
] | null | null | null | __init__.py | obtitus/pysiprefix | 2f7f5ba073baf486242b5ea3b9a984e03ab60981 | [
"Unlicense"
] | null | null | null | __init__.py | obtitus/pysiprefix | 2f7f5ba073baf486242b5ea3b9a984e03ab60981 | [
"Unlicense"
] | null | null | null | from eUnit import *
from siunitx import *
| 14 | 21 | 0.761905 | 6 | 42 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 22 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9eeb74bc0d7439aef50c194ae2530a92923f464 | 8,370 | py | Python | tests/cli/test_show_tree.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | tests/cli/test_show_tree.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | tests/cli/test_show_tree.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | from pathlib import Path
from pytest_cases import THIS_MODULE, parametrize_with_cases
from statue.cli import statue_cli
from statue.commands_filter import CommandsFilter
from statue.context import Context
from tests.constants import (
COMMAND1,
COMMAND2,
COMMAND3,
CONTEXT1,
CONTEXT2,
CONTEXT_H... | 38.219178 | 88 | 0.726882 | 936 | 8,370 | 6.175214 | 0.086538 | 0.056228 | 0.083737 | 0.098962 | 0.833045 | 0.833045 | 0.799135 | 0.799135 | 0.788754 | 0.778028 | 0 | 0.019087 | 0.167503 | 8,370 | 218 | 89 | 38.394495 | 0.810419 | 0 | 0 | 0.53125 | 0 | 0 | 0.139188 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 1 | 0.0625 | false | 0 | 0.036458 | 0 | 0.15625 | 0.130208 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f9f4d6d3bdb526b4117ada26d91a3918a7add5b3 | 49 | py | Python | utils/src/main.py | wangzhefeng/data-analysis | e502ac49ae1bc8287243e1faf51c467cc4d4187c | [
"MIT"
] | null | null | null | utils/src/main.py | wangzhefeng/data-analysis | e502ac49ae1bc8287243e1faf51c467cc4d4187c | [
"MIT"
] | null | null | null | utils/src/main.py | wangzhefeng/data-analysis | e502ac49ae1bc8287243e1faf51c467cc4d4187c | [
"MIT"
] | null | null | null |
import numpy as np
import pandas as pd
| 7 | 20 | 0.632653 | 8 | 49 | 3.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.367347 | 49 | 6 | 21 | 8.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f9fe9fc59ceada91915aa8316b236b87c1bc78e9 | 96 | py | Python | src/huggingmolecules/featurization/__init__.py | chrislybaer/huggingmolecules | 210239ac46b467e900a47e8f4520054636744ca6 | [
"Apache-2.0"
] | 60 | 2021-05-07T16:07:26.000Z | 2022-03-26T19:23:54.000Z | src/huggingmolecules/featurization/__init__.py | gabegomes/huggingmolecules | adc581c97fbc21d9967dd9334afa94b22fb77651 | [
"Apache-2.0"
] | 11 | 2021-05-07T16:01:35.000Z | 2022-03-09T13:06:05.000Z | src/huggingmolecules/featurization/__init__.py | gabegomes/huggingmolecules | adc581c97fbc21d9967dd9334afa94b22fb77651 | [
"Apache-2.0"
] | 12 | 2021-05-20T08:02:25.000Z | 2022-03-10T14:11:36.000Z | from .featurization_grover import GroverFeaturizer
from .featurization_mat import MatFeaturizer
| 32 | 50 | 0.895833 | 10 | 96 | 8.4 | 0.7 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 96 | 2 | 51 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e607261fe95832a23a77be467f4e6bd16ce68cfd | 107 | py | Python | src/circulation_import/__main__.py | vbessonov/circulation-import | f9e2a9112133d5bdcee2d937c70f511c8979702b | [
"MIT"
] | null | null | null | src/circulation_import/__main__.py | vbessonov/circulation-import | f9e2a9112133d5bdcee2d937c70f511c8979702b | [
"MIT"
] | null | null | null | src/circulation_import/__main__.py | vbessonov/circulation-import | f9e2a9112133d5bdcee2d937c70f511c8979702b | [
"MIT"
] | null | null | null | from circulation_import.cli import cli
if __name__ == "__main__":
cli(prog_name="circulation-import")
| 21.4 | 39 | 0.757009 | 14 | 107 | 5.071429 | 0.571429 | 0.478873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 107 | 4 | 40 | 26.75 | 0.763441 | 0 | 0 | 0 | 0 | 0 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e62817278662e26624cc5aa0f89d4cb9e4dc87b1 | 165 | py | Python | reprobench/task_sources/doi/base.py | gorczyca/reprobench | 915c729eec488ce85ff8c65b8b36851c43b1b345 | [
"MIT"
] | 1 | 2019-05-18T12:18:02.000Z | 2019-05-18T12:18:02.000Z | reprobench/task_sources/doi/base.py | gorczyca/reprobench | 915c729eec488ce85ff8c65b8b36851c43b1b345 | [
"MIT"
] | 19 | 2019-03-11T13:35:12.000Z | 2019-07-26T06:54:39.000Z | reprobench/task_sources/doi/base.py | gorczyca/reprobench | 915c729eec488ce85ff8c65b8b36851c43b1b345 | [
"MIT"
] | 4 | 2020-09-28T09:24:38.000Z | 2022-03-18T12:55:20.000Z | class BaseDOIHandler(object):
@classmethod
def is_compatible(cls, doi):
return False
@classmethod
def get_urls(cls, doi):
return []
| 18.333333 | 32 | 0.624242 | 18 | 165 | 5.611111 | 0.722222 | 0.277228 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284848 | 165 | 8 | 33 | 20.625 | 0.855932 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.