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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5f7becb75aa2c7d062b9cadd32263fbdb828e255 | 4,211 | py | Python | tests/test_region_parsers.py | michael-kotliar/MAnorm | df9f7159072d98743390197a6cfceb565c8f8e09 | [
"BSD-3-Clause"
] | 22 | 2017-12-27T06:46:25.000Z | 2021-01-22T03:22:19.000Z | tests/test_region_parsers.py | michael-kotliar/MAnorm | df9f7159072d98743390197a6cfceb565c8f8e09 | [
"BSD-3-Clause"
] | 22 | 2018-01-15T09:32:50.000Z | 2021-11-07T07:42:40.000Z | tests/test_region_parsers.py | michael-kotliar/MAnorm | df9f7159072d98743390197a6cfceb565c8f8e09 | [
"BSD-3-Clause"
] | 8 | 2017-11-08T13:16:20.000Z | 2021-08-03T07:23:46.000Z | import os
from manorm.region import load_manorm_peaks
def test_bed_parser(data_dir):
peaks = load_manorm_peaks(os.path.join(data_dir, 'test_peaks.bed'),
format='bed')
assert peaks.chroms == ['chr1', 'chr2', 'chr9']
assert peaks.size == 4
assert peaks.fetch('chr1')[0].sta... | 42.535354 | 78 | 0.626692 | 588 | 4,211 | 4.418367 | 0.12415 | 0.279446 | 0.369515 | 0.230947 | 0.874134 | 0.874134 | 0.749808 | 0.749808 | 0.749808 | 0.749808 | 0 | 0.131032 | 0.188079 | 4,211 | 98 | 79 | 42.969388 | 0.628839 | 0 | 0 | 0.563218 | 0 | 0 | 0.104488 | 0.009974 | 0 | 0 | 0 | 0 | 0.804598 | 1 | 0.057471 | false | 0 | 0.022989 | 0 | 0.08046 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
5f8759dfd7c8199e57ee96674e385021bb904e0c | 213 | py | Python | vanir/plugins/new_coin_bot/admin.py | guanana/vanir | b0bb9c874795a5803e6437ff0105ea036f1ae7b6 | [
"Apache-2.0"
] | 1 | 2022-01-19T07:11:05.000Z | 2022-01-19T07:11:05.000Z | vanir/plugins/new_coin_bot/admin.py | guanana/vanir | b0bb9c874795a5803e6437ff0105ea036f1ae7b6 | [
"Apache-2.0"
] | 10 | 2021-11-07T14:17:07.000Z | 2022-03-30T18:24:48.000Z | vanir/plugins/new_coin_bot/admin.py | guanana/vanir | b0bb9c874795a5803e6437ff0105ea036f1ae7b6 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from vanir.plugins.new_coin_bot.models import BinanceNewToken, NewCoinConfig
admin.site.register(NewCoinConfig)
admin.site.register(BinanceNewToken)
| 26.625 | 76 | 0.84507 | 27 | 213 | 6.592593 | 0.62963 | 0.202247 | 0.247191 | 0.337079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 213 | 7 | 77 | 30.428571 | 0.912821 | 0.122066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 7 |
5fa81baf9cc11be5f8de249420fcee32d7c1076a | 2,815 | py | Python | tests/test_if.py | orsinium-labs/deal-solver | 8983f783b4a069cfd70b44e526e7cb14c237796a | [
"MIT"
] | 8 | 2021-07-07T16:34:54.000Z | 2022-02-15T15:28:39.000Z | tests/test_if.py | orsinium-labs/deal-solver | 8983f783b4a069cfd70b44e526e7cb14c237796a | [
"MIT"
] | null | null | null | tests/test_if.py | orsinium-labs/deal-solver | 8983f783b4a069cfd70b44e526e7cb14c237796a | [
"MIT"
] | null | null | null | from deal_solver import Conclusion
from .helpers import prove_f
def test_if_then():
theorem = prove_f("""
def f():
if True:
a = 2
else:
a = 3
assert a == 2
""")
assert theorem.conclusion is Conclusion.OK
def test_if_else():
... | 20.851852 | 48 | 0.492007 | 333 | 2,815 | 3.975976 | 0.123123 | 0.058912 | 0.081571 | 0.226586 | 0.867825 | 0.867825 | 0.818731 | 0.770393 | 0.756798 | 0.614804 | 0 | 0.013309 | 0.412789 | 2,815 | 134 | 49 | 21.007463 | 0.787659 | 0 | 0 | 0.788991 | 0 | 0 | 0.506927 | 0 | 0 | 0 | 0 | 0 | 0.220183 | 1 | 0.110092 | false | 0.018349 | 0.018349 | 0 | 0.201835 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 8 |
5fd48d1fda45059c70a64bb70fce404e86c2159c | 116 | py | Python | gsfpy/timespec.py | irewolepeter/gsfpy_USM_Implementation | c4614ac3f7d833eb86ea38c7708108b130f96612 | [
"MIT"
] | 7 | 2020-07-01T07:12:19.000Z | 2022-01-20T20:39:57.000Z | gsfpy/timespec.py | irewolepeter/gsfpy_USM_Implementation | c4614ac3f7d833eb86ea38c7708108b130f96612 | [
"MIT"
] | 36 | 2020-06-23T09:10:15.000Z | 2022-03-22T10:27:58.000Z | gsfpy/timespec.py | irewolepeter/gsfpy_USM_Implementation | c4614ac3f7d833eb86ea38c7708108b130f96612 | [
"MIT"
] | 2 | 2021-02-07T13:21:52.000Z | 2021-06-24T19:16:16.000Z | from gsfpy import mirror_default_gsf_version_submodule
mirror_default_gsf_version_submodule(globals(), "timespec")
| 29 | 59 | 0.87931 | 15 | 116 | 6.266667 | 0.666667 | 0.276596 | 0.340426 | 0.489362 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060345 | 116 | 3 | 60 | 38.666667 | 0.862385 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
3993e863ff7a02806f36e463a2cd1da942cbcc97 | 44 | pyw | Python | make_gui_exe/text2cc_tk.pyw | dlehman83/text2cc | 303798993590bceaeb5238a6cce82893c37cdfc7 | [
"BSD-3-Clause"
] | 1 | 2021-02-12T09:34:07.000Z | 2021-02-12T09:34:07.000Z | make_gui_exe/text2cc_tk.pyw | dlehman83/text2cc | 303798993590bceaeb5238a6cce82893c37cdfc7 | [
"BSD-3-Clause"
] | null | null | null | make_gui_exe/text2cc_tk.pyw | dlehman83/text2cc | 303798993590bceaeb5238a6cce82893c37cdfc7 | [
"BSD-3-Clause"
] | null | null | null | import text2cc.gui.tk
text2cc.gui.tk.main()
| 14.666667 | 21 | 0.772727 | 8 | 44 | 4.25 | 0.625 | 0.588235 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.068182 | 44 | 2 | 22 | 22 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
39cf020c6906915dd290c1812fe91ad14f31133f | 12,929 | py | Python | lib/space/src.py | Juniper/YAPT | b1a54998867c70352001415d5e4b70408480dab9 | [
"BSD-3-Clause"
] | 33 | 2018-05-17T04:16:56.000Z | 2021-11-25T21:21:02.000Z | lib/space/src.py | Juniper/YAPT | b1a54998867c70352001415d5e4b70408480dab9 | [
"BSD-3-Clause"
] | 4 | 2021-01-10T20:45:31.000Z | 2021-09-23T23:21:16.000Z | lib/space/src.py | Juniper/YAPT | b1a54998867c70352001415d5e4b70408480dab9 | [
"BSD-3-Clause"
] | 8 | 2018-09-19T12:18:54.000Z | 2021-01-10T03:49:10.000Z | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
# Copyright (c) 2018 Juniper Networks, Inc.
# All rights reserved.
# Use is subject to license terms.
#
# Author: cklewar
import abc
import requests
from requests import Request, Session
from lib.logmsg import LogSpace as logmsg
import lib.constants as c
f... | 54.783898 | 132 | 0.414108 | 1,035 | 12,929 | 5.021256 | 0.142029 | 0.14239 | 0.190495 | 0.270926 | 0.800462 | 0.772369 | 0.772369 | 0.772369 | 0.751587 | 0.751587 | 0 | 0.003587 | 0.223683 | 12,929 | 235 | 133 | 55.017021 | 0.514197 | 0.022043 | 0 | 0.744681 | 0 | 0 | 0.380956 | 0.294285 | 0 | 0 | 0 | 0.004255 | 0 | 1 | 0.047872 | false | 0.015957 | 0.031915 | 0 | 0.12766 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 9 |
39dbfa23d3aaeccd4f4570efa1ab458eab0ba225 | 134 | py | Python | stable_baselines/sac1/__init__.py | createamind/stable-baselines | 663f2cd71560c53ebe01e41e560386dd9568f50f | [
"MIT"
] | 1 | 2020-10-20T06:13:15.000Z | 2020-10-20T06:13:15.000Z | stable_baselines/sac1/__init__.py | createamind/stable-baselines | 663f2cd71560c53ebe01e41e560386dd9568f50f | [
"MIT"
] | null | null | null | stable_baselines/sac1/__init__.py | createamind/stable-baselines | 663f2cd71560c53ebe01e41e560386dd9568f50f | [
"MIT"
] | null | null | null | from stable_baselines.sac1.sac1 import SAC1
from stable_baselines.sac1.policies import MlpPolicy, CnnPolicy, LnMlpPolicy, LnCnnPolicy
| 44.666667 | 89 | 0.865672 | 17 | 134 | 6.705882 | 0.588235 | 0.175439 | 0.333333 | 0.403509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03252 | 0.08209 | 134 | 2 | 90 | 67 | 0.894309 | 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 | 1 | 0 | 0 | 7 |
f2e7a757adc8ce40455b0909ae7ef13b1a4f7b04 | 120 | py | Python | 6 kyu/Last nonzero digit of factorial.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | 6 kyu/Last nonzero digit of factorial.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | 6 kyu/Last nonzero digit of factorial.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def last_digit(n):
return 1 if n<=1 else 6*[1, 1, 2, 6, 4, 4, 4, 8, 4, 6][n%10]*3**(n//5%4)*last_digit(n//5)%10
| 40 | 96 | 0.508333 | 32 | 120 | 1.84375 | 0.46875 | 0.305085 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221053 | 0.208333 | 120 | 3 | 97 | 40 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 1 | null | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
fffc56239631cb80c9eaf81ea0817e255f890a90 | 9,598 | py | Python | old/lib/test/games/ttt/ttt_game_state_test.py | feiooo/games-puzzles-algorithms | 66d97135d163fb04e820338068d9bd9e12d907e9 | [
"MIT"
] | null | null | null | old/lib/test/games/ttt/ttt_game_state_test.py | feiooo/games-puzzles-algorithms | 66d97135d163fb04e820338068d9bd9e12d907e9 | [
"MIT"
] | null | null | null | old/lib/test/games/ttt/ttt_game_state_test.py | feiooo/games-puzzles-algorithms | 66d97135d163fb04e820338068d9bd9e12d907e9 | [
"MIT"
] | null | null | null | from games_puzzles_algorithms.games.ttt.game_state import BoardValues, GameState
def assert_no_winner(patient):
assert(patient.score(BoardValues.X) is None)
assert(patient.score(BoardValues.O) is None)
assert(patient.winner() is None)
def assert_X_wins(patient):
assert(patient.score(BoardValues.X) i... | 28.39645 | 80 | 0.581684 | 1,263 | 9,598 | 4.209818 | 0.098179 | 0.136543 | 0.211021 | 0.273086 | 0.812864 | 0.798759 | 0.762836 | 0.724845 | 0.691932 | 0.660147 | 0 | 0.030471 | 0.24776 | 9,598 | 337 | 81 | 28.480712 | 0.705956 | 0.058762 | 0 | 0.681818 | 0 | 0 | 0.087802 | 0.021248 | 0 | 0 | 0 | 0 | 0.310606 | 1 | 0.090909 | false | 0.003788 | 0.003788 | 0 | 0.094697 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
080dd87ef967eb8a145e532cfafc5e23f18f2a1d | 18,029 | py | Python | tests/test_controller.py | ClNo/safe-chicken | 8ee6d6746f9a660ae7f1ffb6a5483b459307e19e | [
"MIT"
] | 2 | 2021-01-21T17:45:31.000Z | 2021-01-31T01:51:51.000Z | tests/test_controller.py | ClNo/safe-chicken | 8ee6d6746f9a660ae7f1ffb6a5483b459307e19e | [
"MIT"
] | null | null | null | tests/test_controller.py | ClNo/safe-chicken | 8ee6d6746f9a660ae7f1ffb6a5483b459307e19e | [
"MIT"
] | null | null | null | from datetime import datetime
from safechicken import timecontrol
from safechicken.controller import Controller
class Dispatcher:
def __init__(self, current_datetime_iso):
self.expired = 0
self.erroro_code = 0
self.err_str = ''
self.command_out = {}
self.current_datetime =... | 55.645062 | 156 | 0.7037 | 2,536 | 18,029 | 4.826893 | 0.065852 | 0.078425 | 0.150315 | 0.182665 | 0.904665 | 0.889552 | 0.878196 | 0.86488 | 0.842333 | 0.835144 | 0 | 0.070238 | 0.161351 | 18,029 | 323 | 157 | 55.817337 | 0.739352 | 0.087914 | 0 | 0.770213 | 0 | 0 | 0.380813 | 0.025843 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.046809 | false | 0 | 0.012766 | 0.004255 | 0.068085 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 8 |
f25ff4475b39f96c369a532921032792d62804a0 | 198 | py | Python | mygame/dev/game/assets/level01.py | edgarjcfn/koding-game-starterkit | 8034407476f12e41a3f1bd39c78551e29990d9d3 | [
"MIT"
] | 3 | 2015-04-29T18:58:16.000Z | 2019-05-29T07:54:32.000Z | mygame/dev/game/assets/level01.py | edgarjcfn/koding-game-starterkit | 8034407476f12e41a3f1bd39c78551e29990d9d3 | [
"MIT"
] | null | null | null | mygame/dev/game/assets/level01.py | edgarjcfn/koding-game-starterkit | 8034407476f12e41a3f1bd39c78551e29990d9d3 | [
"MIT"
] | 1 | 2018-10-24T14:50:51.000Z | 2018-10-24T14:50:51.000Z | import mygame
char = mygame.Character();
char.turnRight();
char.moveForward(1);
char.turnRight();
char.moveForward(1);
char.turnRight();
char.moveForward(1);
char.turnRight();
char.moveForward(1);
| 16.5 | 26 | 0.742424 | 25 | 198 | 5.88 | 0.28 | 0.353742 | 0.462585 | 0.761905 | 0.789116 | 0.789116 | 0.789116 | 0.789116 | 0.789116 | 0.789116 | 0 | 0.021739 | 0.070707 | 198 | 11 | 27 | 18 | 0.777174 | 0 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 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 | 10 |
29b2eef08a99a46fc25ac729b7735f99d5ecf83b | 4,511 | py | Python | python/test/test_zero.py | EQt/treelas | 24a5cebf101180822198806c0a4131b0efb7a36d | [
"MIT"
] | 3 | 2020-06-18T13:31:26.000Z | 2021-04-05T17:42:56.000Z | python/test/test_zero.py | EQt/treelas | 24a5cebf101180822198806c0a4131b0efb7a36d | [
"MIT"
] | null | null | null | python/test/test_zero.py | EQt/treelas | 24a5cebf101180822198806c0a4131b0efb7a36d | [
"MIT"
] | null | null | null | """
Test latent nodes (i.e. `mu[i] = 0`);
in particular that decreasing lambdas are handled correctly.
"""
import numpy as np
import pytest
from treelas import TreeInstance
from treelas._treelas import __asan__
def test_nan():
"""`y` contains `NaN`"""
t = TreeInstance(y=np.array( [0., np.nan, np.nan]),
... | 33.414815 | 77 | 0.477278 | 728 | 4,511 | 2.928571 | 0.131868 | 0.098499 | 0.078799 | 0.054878 | 0.810038 | 0.791745 | 0.756098 | 0.756098 | 0.755159 | 0.714822 | 0 | 0.070377 | 0.307027 | 4,511 | 134 | 78 | 33.664179 | 0.611644 | 0.085569 | 0 | 0.75 | 0 | 0.038462 | 0.092903 | 0.042385 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.067308 | false | 0 | 0.038462 | 0 | 0.115385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
29df76aafdabcb013105fb74904f968e6799ef64 | 47 | py | Python | mailserver/txmailserver/__init__.py | lp-programming/txmailserver | f68b01e5d062dfae0e8d872fb9c91d9bcea2323c | [
"MIT"
] | null | null | null | mailserver/txmailserver/__init__.py | lp-programming/txmailserver | f68b01e5d062dfae0e8d872fb9c91d9bcea2323c | [
"MIT"
] | null | null | null | mailserver/txmailserver/__init__.py | lp-programming/txmailserver | f68b01e5d062dfae0e8d872fb9c91d9bcea2323c | [
"MIT"
] | null | null | null | from . import reactor
from . import reflection
| 15.666667 | 24 | 0.787234 | 6 | 47 | 6.166667 | 0.666667 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 25 | 23.5 | 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 | 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 | 7 |
d9a53fbbde9da198f55950ae67a8c5243a637760 | 12,159 | py | Python | Script-http-socks4/3.py | Alpha-Demon404/RE-14 | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 39 | 2020-02-26T09:44:36.000Z | 2022-03-23T00:18:25.000Z | Script-http-socks4/3.py | B4BY-DG/reverse-enginnering | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 15 | 2020-05-14T10:07:26.000Z | 2022-01-06T02:55:32.000Z | Script-http-socks4/3.py | B4BY-DG/reverse-enginnering | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 41 | 2020-03-16T22:36:38.000Z | 2022-03-17T14:47:19.000Z | import marshal,zlib,base64,dis
exe=(marshal.loads(zlib.decompress(base64.b16decode("789CCD9CE9AE2CD95185B3078331982AC04D263954CEF39C9569030284C1603060066386964002D7950779C0EE4402FEC203F0427E363837C2DFF6BE4248EEE6DCDB741F55D7C9618F112B56ACD8A7BFE6FCE89F1FBA8EF3DB4FFFFDE0FB5F749CC7D3CF5BCEE36DE7F18EF378D7797CC279FC945CF9... | 3,039.75 | 12,114 | 0.998026 | 16 | 12,159 | 758.4375 | 0.625 | 0.000989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.632168 | 0.000329 | 12,159 | 3 | 12,115 | 4,053 | 0.366187 | 0 | 0 | 0 | 0 | 0 | 0.991529 | 0.991529 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
d9aac6e9c228d980b5896494b700ac61866fe397 | 181 | py | Python | platform/hwconf_data/mgm11/modules/PIN/PIN_Snippets.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | null | null | null | platform/hwconf_data/mgm11/modules/PIN/PIN_Snippets.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T02:36:22.000Z | 2020-08-25T02:36:22.000Z | platform/hwconf_data/mgm11/modules/PIN/PIN_Snippets.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T01:56:04.000Z | 2020-08-25T01:56:04.000Z | """
Generated from a template
"""
import mgm11.PythonSnippet.RuntimeModel as RuntimeModel
from mgm11.modules.PIN.PIN_Defs import PORT_PINS
def activate_runtime():
pass
| 10.647059 | 55 | 0.756906 | 23 | 181 | 5.826087 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02649 | 0.165746 | 181 | 16 | 56 | 11.3125 | 0.860927 | 0.138122 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
d9f1055674b269d01e6bfe1866f55f7f42b73139 | 211,863 | py | Python | msgraph/cli/command_modules/sites/azext_sites/generated/_params.py | microsoftgraph/msgraph-cli-archived | 489f70bf4ede1ce67b84bfb31e66da3e4db76062 | [
"MIT"
] | null | null | null | msgraph/cli/command_modules/sites/azext_sites/generated/_params.py | microsoftgraph/msgraph-cli-archived | 489f70bf4ede1ce67b84bfb31e66da3e4db76062 | [
"MIT"
] | 22 | 2022-03-29T22:54:37.000Z | 2022-03-29T22:55:27.000Z | msgraph/cli/command_modules/sites/azext_sites/generated/_params.py | microsoftgraph/msgraph-cli-archived | 489f70bf4ede1ce67b84bfb31e66da3e4db76062 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause... | 74.363987 | 134 | 0.650217 | 27,885 | 211,863 | 4.80979 | 0.019939 | 0.126893 | 0.111787 | 0.097121 | 0.978206 | 0.977848 | 0.974732 | 0.967678 | 0.967678 | 0.966739 | 0 | 0.000328 | 0.207511 | 211,863 | 2,848 | 135 | 74.390098 | 0.798492 | 0.00253 | 0 | 0.901371 | 0 | 0.008378 | 0.44956 | 0.076463 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000381 | false | 0 | 0.001142 | 0 | 0.001523 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8a066deefbdb950c69247545d1a2b0440170e4f3 | 33,838 | py | Python | sdk/lusid/api/reference_portfolio_api.py | fossabot/lusid-sdk-python | 154a0232a00026d79379aec7196555f24d742ade | [
"MIT"
] | null | null | null | sdk/lusid/api/reference_portfolio_api.py | fossabot/lusid-sdk-python | 154a0232a00026d79379aec7196555f24d742ade | [
"MIT"
] | null | null | null | sdk/lusid/api/reference_portfolio_api.py | fossabot/lusid-sdk-python | 154a0232a00026d79379aec7196555f24d742ade | [
"MIT"
] | null | null | null | # coding: utf-8
"""
LUSID API
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 0.11.2321
Contact: info@finbourne.com
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility lib... | 57.352542 | 398 | 0.653319 | 3,967 | 33,838 | 5.335518 | 0.066297 | 0.043088 | 0.070112 | 0.027969 | 0.938156 | 0.928517 | 0.911367 | 0.898658 | 0.887556 | 0.863744 | 0 | 0.01603 | 0.266239 | 33,838 | 589 | 399 | 57.449915 | 0.836441 | 0.417814 | 0 | 0.680556 | 1 | 0.0625 | 0.322818 | 0.121492 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.017361 | 0 | 0.079861 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a1c9238f8102a05f16e9409558e2fceb2f7fb09 | 8,773 | py | Python | tests/test_success_range_above.py | Bernardo-MG/wargame_analysis_jupyter_notebook | db13838ce0f8c6dcbc160259c1ee0ae258b51ba7 | [
"MIT"
] | null | null | null | tests/test_success_range_above.py | Bernardo-MG/wargame_analysis_jupyter_notebook | db13838ce0f8c6dcbc160259c1ee0ae258b51ba7 | [
"MIT"
] | null | null | null | tests/test_success_range_above.py | Bernardo-MG/wargame_analysis_jupyter_notebook | db13838ce0f8c6dcbc160259c1ee0ae258b51ba7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from decimal import Decimal
from scripts.probability import roll_success_range
"""
Max shots script tests.
"""
__author__ = 'Bernardo Martínez Garrido'
__license__ = 'MIT'
class TestZeroToTenAboveNotEqual(unittest.TestCase):
"""
Tests the chance to go above with the... | 25.502907 | 93 | 0.627607 | 1,258 | 8,773 | 4.194754 | 0.063593 | 0.10631 | 0.154633 | 0.198977 | 0.9314 | 0.931021 | 0.920599 | 0.869054 | 0.804434 | 0.788895 | 0 | 0.059746 | 0.229226 | 8,773 | 343 | 94 | 25.577259 | 0.720645 | 0.041035 | 0 | 0.48125 | 0 | 0 | 0.032266 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 1 | 0.3125 | false | 0 | 0.01875 | 0 | 0.3625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8a3da151e11ff976d5e21ea35ff74cc6cbcf3be3 | 177 | py | Python | functions/registration/__init__.py | hsokooti/RegNet | 28a8b6132677bb58e9fc811c0dd15d78913c7e86 | [
"Apache-2.0"
] | 187 | 2018-01-08T11:37:12.000Z | 2022-03-03T06:26:43.000Z | functions/registration/__init__.py | hsokooti/RegNet | 28a8b6132677bb58e9fc811c0dd15d78913c7e86 | [
"Apache-2.0"
] | 15 | 2018-01-27T07:12:41.000Z | 2021-08-22T12:37:30.000Z | functions/registration/__init__.py | hsokooti/RegNet | 28a8b6132677bb58e9fc811c0dd15d78913c7e86 | [
"Apache-2.0"
] | 60 | 2018-01-09T13:00:32.000Z | 2021-06-15T03:02:36.000Z | from .multi_stage import multi_stage
from .multi_stage import calculate_jacobian
from .multi_stage_error import multi_stage_error
__version__ = "0.3.0"
__author__ = "hsokooti"
| 25.285714 | 48 | 0.830508 | 26 | 177 | 5.038462 | 0.461538 | 0.381679 | 0.320611 | 0.305344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018987 | 0.107345 | 177 | 6 | 49 | 29.5 | 0.810127 | 0 | 0 | 0 | 0 | 0 | 0.073446 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8a748b0f539d083ccd52908bf91537ba4d02d653 | 44,215 | py | Python | Data/Packages/backrefs/st3/backrefs/uniprops/unidata/age.py | koery/win-sublime | 1b16cbe9858eced52567971286109250df787d36 | [
"MIT"
] | 182 | 2017-03-05T07:43:13.000Z | 2022-03-15T13:09:07.000Z | Data/Packages/backrefs/st3/backrefs/uniprops/unidata/age.py | koery/win-sublime | 1b16cbe9858eced52567971286109250df787d36 | [
"MIT"
] | null | null | null | Data/Packages/backrefs/st3/backrefs/uniprops/unidata/age.py | koery/win-sublime | 1b16cbe9858eced52567971286109250df787d36 | [
"MIT"
] | 16 | 2017-03-07T11:01:27.000Z | 2022-01-08T09:21:01.000Z | """Unicode Properties (autogen)."""
from __future__ import unicode_literals
unicode_age = {
"1.1": "\u0000-\u01f5\u01fa-\u0217\u0250-\u02a8\u02b0-\u02de\u02e0-\u02e9\u0300-\u0345\u0360-\u0361\u0374-\u0375\u037a\u037e\u0384-\u038a\u038c\u038e-\u03a1\u03a3-\u03ce\u03d0-\u03d6\u03da\u03dc\u03de\u03e0\u03e2-\u03f3\u04... | 1,300.441176 | 8,087 | 0.801176 | 5,921 | 44,215 | 5.98176 | 0.483702 | 0.001016 | 0.000847 | 0.001129 | 0.509007 | 0.479643 | 0.44915 | 0.405274 | 0.377266 | 0.347789 | 0 | 0.468218 | 0.004071 | 44,215 | 33 | 8,088 | 1,339.848485 | 0.336096 | 0.000656 | 0 | 0 | 1 | 0.83871 | 0.991059 | 0.988615 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.032258 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8a77ddd79e29e81a0a27e327023eb27f7ff2af1e | 16,065 | py | Python | pyradiomicsFeatureExtraction.py | ntnu-mr-cancer/SegmentationQualityControl | ee8531eb867d3046b287790303d0bbcbc8b61504 | [
"MIT"
] | 2 | 2021-07-22T09:14:00.000Z | 2022-01-07T10:07:17.000Z | pyradiomicsFeatureExtraction.py | ntnu-mr-cancer/SegmentationQualityControl | ee8531eb867d3046b287790303d0bbcbc8b61504 | [
"MIT"
] | null | null | null | pyradiomicsFeatureExtraction.py | ntnu-mr-cancer/SegmentationQualityControl | ee8531eb867d3046b287790303d0bbcbc8b61504 | [
"MIT"
] | 3 | 2021-03-10T13:45:25.000Z | 2022-01-28T13:47:31.000Z | # -*- coding: utf-8 -*-
"""
Created on Mon Mar 12 15:55:07 2018
@author: mattjise
Modified by Mohammed Sunoqrot March 2020
"""
import radiomics
import SimpleITK as sitk
import numpy as np
import math
import json
import os
import sys
def getSettings(image_array_in,mask_array_in,nr_bins):
intensit... | 41.404639 | 108 | 0.734765 | 1,892 | 16,065 | 6.048626 | 0.067653 | 0.066061 | 0.040371 | 0.026914 | 0.913579 | 0.869102 | 0.862723 | 0.847868 | 0.847868 | 0.847868 | 0 | 0.007447 | 0.138998 | 16,065 | 387 | 109 | 41.511628 | 0.81991 | 0.03629 | 0 | 0.879365 | 0 | 0 | 0.030355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006349 | false | 0 | 0.022222 | 0 | 0.034921 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8a9a325185f4b20eb87b0d5980ea4981fc72cc8d | 11,100 | py | Python | tests/operators/test_agnostic_stats_check.py | guohui-gao/astro | 4e63302bc5c69401b10568598c4ff738e21563f5 | [
"Apache-2.0"
] | null | null | null | tests/operators/test_agnostic_stats_check.py | guohui-gao/astro | 4e63302bc5c69401b10568598c4ff738e21563f5 | [
"Apache-2.0"
] | null | null | null | tests/operators/test_agnostic_stats_check.py | guohui-gao/astro | 4e63302bc5c69401b10568598c4ff738e21563f5 | [
"Apache-2.0"
] | null | null | null | """
Unittest module to test Operators.
Requires the unittest, pytest, and requests-mock Python libraries.
"""
import logging
import os
import pathlib
import unittest.mock
from airflow.models import DAG
from airflow.utils import timezone
# Import Operator
import astro.sql as aql
from astro.sql.table import Table
fr... | 34.796238 | 84 | 0.521532 | 1,118 | 11,100 | 4.886404 | 0.105546 | 0.080542 | 0.093355 | 0.041186 | 0.91598 | 0.915431 | 0.90756 | 0.906645 | 0.887424 | 0.88413 | 0 | 0.0102 | 0.364054 | 11,100 | 318 | 85 | 34.90566 | 0.763706 | 0.02964 | 0 | 0.845878 | 0 | 0 | 0.164459 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 1 | 0.050179 | false | 0.003584 | 0.032258 | 0 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
0a59d0d1fbfd0c8d4a0b30af852aa7dfae390d0c | 58,839 | py | Python | Library/learningstudio/content/service.py | lileeayee/LearningStudio-Libraries-Python | d073cd8a4b221458789592900651566b797b6125 | [
"Apache-2.0"
] | null | null | null | Library/learningstudio/content/service.py | lileeayee/LearningStudio-Libraries-Python | d073cd8a4b221458789592900651566b797b6125 | [
"Apache-2.0"
] | null | null | null | Library/learningstudio/content/service.py | lileeayee/LearningStudio-Libraries-Python | d073cd8a4b221458789592900651566b797b6125 | [
"Apache-2.0"
] | null | null | null | """
LearningStudio RESTful API Libraries
These libraries make it easier to use the LearningStudio Course APIs.
Full Documentation is provided with the library.
Need Help or Have Questions?
Please use the PDN Developer Community at https://community.pdn.pearson.com
:category LearningStudio Course APIs
:a... | 48.149755 | 187 | 0.651966 | 5,966 | 58,839 | 6.332048 | 0.053637 | 0.019324 | 0.026127 | 0.0234 | 0.848612 | 0.834185 | 0.787596 | 0.750668 | 0.716706 | 0.672155 | 0 | 0.002371 | 0.268716 | 58,839 | 1,221 | 188 | 48.189189 | 0.875593 | 0.007019 | 0 | 0.309677 | 0 | 0.012903 | 0.096273 | 0.085388 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.009677 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a6aab4f6b272b830dbe0ea131a0598bea111da9 | 15,216 | py | Python | tests/test_scorecard.py | nehaljwani/optbinning | ee98684f3d25e35cf5efa2ef724844397e851294 | [
"Apache-2.0"
] | 1 | 2021-02-09T02:49:32.000Z | 2021-02-09T02:49:32.000Z | tests/test_scorecard.py | nehaljwani/optbinning | ee98684f3d25e35cf5efa2ef724844397e851294 | [
"Apache-2.0"
] | null | null | null | tests/test_scorecard.py | nehaljwani/optbinning | ee98684f3d25e35cf5efa2ef724844397e851294 | [
"Apache-2.0"
] | null | null | null | """
Scorecard testing.
"""
# Guillermo Navas-Palencia <g.navas.palencia@gmail.com>
# Copyright (C) 2020
import pandas as pd
import numpy as np
from pytest import approx, raises
from contextlib import redirect_stdout
from optbinning import BinningProcess
from optbinning import Scorecard
from sklearn.datasets import... | 34.660592 | 79 | 0.650565 | 1,677 | 15,216 | 5.692904 | 0.09362 | 0.105583 | 0.083796 | 0.076254 | 0.850215 | 0.805279 | 0.783492 | 0.761496 | 0.758772 | 0.747041 | 0 | 0.031621 | 0.241391 | 15,216 | 438 | 80 | 34.739726 | 0.79546 | 0.006046 | 0 | 0.737342 | 0 | 0 | 0.048164 | 0.004499 | 0 | 0 | 0 | 0 | 0.060127 | 1 | 0.050633 | false | 0 | 0.037975 | 0 | 0.088608 | 0.012658 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6abda239daff253a89a8c12d277464d34caed46f | 19,584 | py | Python | tests/test_triggear_heart.py | futuresimple/triggear | d6b8511ba8550225e7c34bd52232327b2b89d972 | [
"MIT"
] | 14 | 2017-08-17T16:48:26.000Z | 2019-07-10T12:11:49.000Z | tests/test_triggear_heart.py | futuresimple/triggear | d6b8511ba8550225e7c34bd52232327b2b89d972 | [
"MIT"
] | null | null | null | tests/test_triggear_heart.py | futuresimple/triggear | d6b8511ba8550225e7c34bd52232327b2b89d972 | [
"MIT"
] | null | null | null | import asyncio
import logging
import pytest
from mockito import mock, expect, when, captor
from app.clients.async_client import AsyncClientNotFoundException, AsyncClientException
from app.clients.github_client import GithubClient
from app.clients.jenkins_client import JenkinsClient
from app.clients.jenkinses_clients ... | 58.285714 | 140 | 0.672028 | 2,053 | 19,584 | 6.070141 | 0.067706 | 0.055368 | 0.059381 | 0.033542 | 0.899374 | 0.8883 | 0.87835 | 0.874178 | 0.871048 | 0.865672 | 0 | 0.001669 | 0.234988 | 19,584 | 335 | 141 | 58.459701 | 0.830129 | 0.000715 | 0 | 0.758007 | 0 | 0 | 0.057958 | 0 | 0 | 0 | 0 | 0 | 0.007117 | 1 | 0 | false | 0 | 0.049822 | 0 | 0.053381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6ad7ca0fb95153a08764d46dbe1d38ea936fc1c8 | 550 | py | Python | eval_medseg_timm-regnetx_002_ElasticTransform.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_medseg_timm-regnetx_002_ElasticTransform.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_medseg_timm-regnetx_002_ElasticTransform.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import os
ls=["python main.py --configs configs/eval_medseg_unetplusplus_timm-regnetx_002_0_ElasticTransform.yml",
"python main.py --configs configs/eval_medseg_unetplusplus_timm-regnetx_002_1_ElasticTransform.yml",
"python main.py --configs configs/eval_medseg_unetplusplus_timm-regnetx_002_2_ElasticTransform.yml",
"p... | 50 | 104 | 0.849091 | 80 | 550 | 5.4625 | 0.3 | 0.114416 | 0.1373 | 0.217391 | 0.883295 | 0.883295 | 0.883295 | 0.883295 | 0.883295 | 0.883295 | 0 | 0.038536 | 0.056364 | 550 | 11 | 105 | 50 | 0.803468 | 0 | 0 | 0 | 0 | 0 | 0.880218 | 0.653358 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6aec6d15efca6df5de45497bf618ed17c05ebef4 | 3,461 | py | Python | WebMirror/management/rss_parser_funcs/feed_parse_extractNutty.py | fake-name/ReadableWebProxy | ed5c7abe38706acc2684a1e6cd80242a03c5f010 | [
"BSD-3-Clause"
] | 193 | 2016-08-02T22:04:35.000Z | 2022-03-09T20:45:41.000Z | WebMirror/management/rss_parser_funcs/feed_parse_extractNutty.py | fake-name/ReadableWebProxy | ed5c7abe38706acc2684a1e6cd80242a03c5f010 | [
"BSD-3-Clause"
] | 533 | 2016-08-23T20:48:23.000Z | 2022-03-28T15:55:13.000Z | WebMirror/management/rss_parser_funcs/feed_parse_extractNutty.py | rrosajp/ReadableWebProxy | ed5c7abe38706acc2684a1e6cd80242a03c5f010 | [
"BSD-3-Clause"
] | 19 | 2015-08-13T18:01:08.000Z | 2021-07-12T17:13:09.000Z | def extractNutty(item):
"""
"""
vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])
if not (chp or vol) or 'preview' in item['title'].lower():
return None
if 'A Mistaken Marriage Match' in item['tags'] and 'a generation of military counselor' in item['tags']:
return buildReleaseMessag... | 73.638298 | 154 | 0.701242 | 431 | 3,461 | 5.62413 | 0.150812 | 0.07797 | 0.147277 | 0.190594 | 0.818069 | 0.785066 | 0.773515 | 0.743399 | 0.72236 | 0.72236 | 0 | 0 | 0.185207 | 3,461 | 47 | 155 | 73.638298 | 0.859574 | 0 | 0 | 0.171429 | 0 | 0 | 0.492036 | 0.056183 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0 | 0 | 0.342857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
0a793afff0abf0102307b1aea2bc5f4c1b28fdfa | 10,907 | py | Python | tests/integration/proxy/v1/service/session/test_participant.py | fefi95/twilio-python | b9bfea293b6133fe84d4d8d3ac4e2a75381c3881 | [
"MIT"
] | 1 | 2019-12-30T21:46:55.000Z | 2019-12-30T21:46:55.000Z | tests/integration/proxy/v1/service/session/test_participant.py | fefi95/twilio-python | b9bfea293b6133fe84d4d8d3ac4e2a75381c3881 | [
"MIT"
] | null | null | null | tests/integration/proxy/v1/service/session/test_participant.py | fefi95/twilio-python | b9bfea293b6133fe84d4d8d3ac4e2a75381c3881 | [
"MIT"
] | null | null | null | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from tests import IntegrationTestCase
from tests.holodeck import Request
from twilio.base.exceptions import TwilioException
from twilio.http.response import Response
class ParticipantTestCase(Integ... | 47.837719 | 229 | 0.610709 | 734 | 10,907 | 8.948229 | 0.145777 | 0.036541 | 0.034105 | 0.040499 | 0.919762 | 0.919762 | 0.898143 | 0.890073 | 0.890073 | 0.890073 | 0 | 0.040534 | 0.28523 | 10,907 | 227 | 230 | 48.048458 | 0.80195 | 0.009994 | 0 | 0.762887 | 1 | 0.020619 | 0.279113 | 0.158375 | 0 | 0 | 0 | 0 | 0.14433 | 1 | 0.103093 | false | 0 | 0.041237 | 0 | 0.154639 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0aa0480e8215a283e8c5a0fbca27a9eb4b220f29 | 85,771 | py | Python | cloudmersive_convert_api_client/api/merge_document_api.py | Cloudmersive/Cloudmersive.APIClient.Python.Convert | dba2fe7257229ebdacd266531b3724552c651009 | [
"Apache-2.0"
] | 3 | 2018-07-25T23:04:34.000Z | 2021-08-10T16:43:10.000Z | cloudmersive_convert_api_client/api/merge_document_api.py | Cloudmersive/Cloudmersive.APIClient.Python.Convert | dba2fe7257229ebdacd266531b3724552c651009 | [
"Apache-2.0"
] | 3 | 2020-11-23T10:46:48.000Z | 2021-12-30T14:09:34.000Z | cloudmersive_convert_api_client/api/merge_document_api.py | Cloudmersive/Cloudmersive.APIClient.Python.Convert | dba2fe7257229ebdacd266531b3724552c651009 | [
"Apache-2.0"
] | 2 | 2020-01-07T09:48:01.000Z | 2020-11-23T10:47:00.000Z | # coding: utf-8
"""
convertapi
Convert API lets you effortlessly convert file formats and types. # noqa: E501
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 ... | 48.816733 | 233 | 0.643376 | 10,643 | 85,771 | 4.954994 | 0.021329 | 0.046875 | 0.0446 | 0.057342 | 0.990765 | 0.990689 | 0.990689 | 0.989248 | 0.989248 | 0.989248 | 0 | 0.028452 | 0.273053 | 85,771 | 1,756 | 234 | 48.844533 | 0.817341 | 0.398107 | 0 | 0.856389 | 1 | 0 | 0.237185 | 0.045892 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030623 | false | 0 | 0.004224 | 0 | 0.080253 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0aaf4d1384e974bfa228df8b2ae0e2a97264e7fc | 165 | py | Python | src/amuse/support/data/particles.py | rknop/amuse | 85d5bdcc29cfc87dc69d91c264101fafd6658aec | [
"Apache-2.0"
] | 131 | 2015-06-04T09:06:57.000Z | 2022-02-01T12:11:29.000Z | src/amuse/support/data/particles.py | rknop/amuse | 85d5bdcc29cfc87dc69d91c264101fafd6658aec | [
"Apache-2.0"
] | 690 | 2015-10-17T12:18:08.000Z | 2022-03-31T16:15:58.000Z | src/amuse/support/data/particles.py | rieder/amuse | 3ac3b6b8f922643657279ddee5c8ab3fc0440d5e | [
"Apache-2.0"
] | 102 | 2015-01-22T10:00:29.000Z | 2022-02-09T13:29:43.000Z | import warnings
from amuse.datamodel.particles import *
warnings.warn("amuse.support.data.particles has moved to amuse.datamodel.particles", DeprecationWarning)
| 20.625 | 104 | 0.818182 | 20 | 165 | 6.75 | 0.65 | 0.207407 | 0.340741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09697 | 165 | 7 | 105 | 23.571429 | 0.90604 | 0 | 0 | 0 | 0 | 0 | 0.411043 | 0.325153 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0ab1e4f45233efa7a67cfedf31fb59f9de0e8546 | 173 | py | Python | cvxpy/reductions/dgp2dcp/atom_canonicalizers/one_minus_pos_canon.py | QiuWJX/cvxpy | fd1c225b0cdf541618e292cae1a4c7ea25ddc934 | [
"ECL-2.0",
"Apache-2.0"
] | 3,285 | 2015-01-03T04:02:29.000Z | 2021-04-19T14:51:29.000Z | cvxpy/reductions/dgp2dcp/atom_canonicalizers/one_minus_pos_canon.py | QiuWJX/cvxpy | fd1c225b0cdf541618e292cae1a4c7ea25ddc934 | [
"ECL-2.0",
"Apache-2.0"
] | 1,138 | 2015-01-01T19:40:14.000Z | 2021-04-18T23:37:31.000Z | cvxpy/reductions/dgp2dcp/atom_canonicalizers/one_minus_pos_canon.py | phschiele/cvxpy | a43aed7447b87f6d0fbc6f71ae5c7b84183f3369 | [
"ECL-2.0",
"Apache-2.0"
] | 765 | 2015-01-02T19:29:39.000Z | 2021-04-20T00:50:43.000Z | from cvxpy.atoms.elementwise.exp import exp
from cvxpy.atoms.elementwise.log import log
def one_minus_pos_canon(expr, args):
return log(expr._ones - exp(args[0])), []
| 24.714286 | 45 | 0.751445 | 28 | 173 | 4.5 | 0.607143 | 0.142857 | 0.222222 | 0.396825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.127168 | 173 | 6 | 46 | 28.833333 | 0.827815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
0ac117cb475c2f7356accd5e697b7d953dd9e1e4 | 124 | py | Python | censere/actions/__init__.py | nhi-vanye/mars-censere | 65678b7bc102e2adff2f78f8b3a13ba84cdf0a01 | [
"BSD-4-Clause"
] | null | null | null | censere/actions/__init__.py | nhi-vanye/mars-censere | 65678b7bc102e2adff2f78f8b3a13ba84cdf0a01 | [
"BSD-4-Clause"
] | null | null | null | censere/actions/__init__.py | nhi-vanye/mars-censere | 65678b7bc102e2adff2f78f8b3a13ba84cdf0a01 | [
"BSD-4-Clause"
] | null | null | null | #pylint: disable=unused-import
from .families import make as make_families
from .families import breakup as break_families
| 24.8 | 47 | 0.830645 | 18 | 124 | 5.611111 | 0.555556 | 0.237624 | 0.356436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 124 | 4 | 48 | 31 | 0.926606 | 0.233871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0acffc5c1321f6165faa0c2b6ae19d0aaac73641 | 4,881 | py | Python | parsing/tests/test_basic.py | sprymix/parsing | 4f9602e54e035ace5fe04bfdfd117eb89be9e865 | [
"MIT"
] | 29 | 2015-08-06T10:16:11.000Z | 2020-12-29T06:03:05.000Z | parsing/tests/test_basic.py | MagicStack/parsing | 4f9602e54e035ace5fe04bfdfd117eb89be9e865 | [
"MIT"
] | 1 | 2017-04-18T18:43:05.000Z | 2017-04-18T18:46:59.000Z | parsing/tests/test_basic.py | MagicStack/parsing | 4f9602e54e035ace5fe04bfdfd117eb89be9e865 | [
"MIT"
] | 7 | 2015-06-08T07:38:37.000Z | 2021-06-01T19:21:22.000Z | import unittest
import parsing
class TestParsing(unittest.TestCase):
def test_basic_a(self):
class TestParser(parsing.Lr):
def __init__(self, spec):
parsing.Lr.__init__(self, spec)
from parsing.tests.specs import a
spec = parsing.Spec(a)
parser = Test... | 29.762195 | 72 | 0.567712 | 587 | 4,881 | 4.60477 | 0.097104 | 0.207547 | 0.097669 | 0.062153 | 0.833518 | 0.81872 | 0.813541 | 0.777654 | 0.763226 | 0.763226 | 0 | 0.0057 | 0.28109 | 4,881 | 163 | 73 | 29.944785 | 0.764605 | 0 | 0 | 0.732824 | 0 | 0 | 0.03278 | 0 | 0 | 0 | 0 | 0 | 0.145038 | 1 | 0.091603 | false | 0 | 0.068702 | 0 | 0.21374 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 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 | 8 |
0ad609c00b3d1ed72c8b8e8d60bcbd8404ac20b7 | 3,547 | py | Python | segmentron/utils/filesystem.py | ruijieren98/SegmenTron | e0973c4088be0e5c43d1959b2e0d0bfcb92a4f0e | [
"Apache-2.0"
] | null | null | null | segmentron/utils/filesystem.py | ruijieren98/SegmenTron | e0973c4088be0e5c43d1959b2e0d0bfcb92a4f0e | [
"Apache-2.0"
] | null | null | null | segmentron/utils/filesystem.py | ruijieren98/SegmenTron | e0973c4088be0e5c43d1959b2e0d0bfcb92a4f0e | [
"Apache-2.0"
] | null | null | null | """Filesystem utility functions."""
from __future__ import absolute_import
import os
import errno
import torch
import logging
from ..config import cfg
def save_checkpoint(model, epoch, optimizer=None, lr_scheduler=None, is_best=False):
"""Save Checkpoint"""
directory = os.path.expanduser(cfg.TRAIN.MODEL_SAVE_... | 37.734043 | 102 | 0.608965 | 423 | 3,547 | 4.914894 | 0.196217 | 0.046176 | 0.03848 | 0.073112 | 0.835979 | 0.835979 | 0.834055 | 0.834055 | 0.834055 | 0.834055 | 0 | 0.000776 | 0.273471 | 3,547 | 93 | 103 | 38.139785 | 0.805976 | 0.081759 | 0 | 0.708333 | 0 | 0 | 0.068912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.083333 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0af8f645e9808c1fd7f0691921108e2905ce6aa9 | 12,610 | py | Python | openGaussBase/testcase/SQL/DDL/partition/Opengauss_Function_DDL_Partition_Case0067.py | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/SQL/DDL/partition/Opengauss_Function_DDL_Partition_Case0067.py | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/SQL/DDL/partition/Opengauss_Function_DDL_Partition_Case0067.py | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | """
Copyright (c) 2022 Huawei Technologies Co.,Ltd.
openGauss is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, W... | 45.359712 | 127 | 0.516971 | 1,413 | 12,610 | 4.431706 | 0.135173 | 0.056052 | 0.08863 | 0.068988 | 0.828649 | 0.828649 | 0.816512 | 0.816512 | 0.816512 | 0.806771 | 0 | 0.05003 | 0.337431 | 12,610 | 278 | 128 | 45.359712 | 0.699461 | 0.040285 | 0 | 0.872247 | 0 | 0.0837 | 0.636573 | 0.106705 | 0 | 0 | 0 | 0 | 0.105727 | 1 | 0.013216 | false | 0 | 0.030837 | 0 | 0.048458 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7c129bac1a74987be0caeac85f7961ef383a0c4b | 23,361 | py | Python | tests/test_extras_mm_fields.py | fyntex/lib-cl-sii-python | b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34 | [
"MIT"
] | 8 | 2020-03-07T19:58:40.000Z | 2021-12-15T13:47:40.000Z | tests/test_extras_mm_fields.py | fyntex/lib-cl-sii-python | b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34 | [
"MIT"
] | 141 | 2020-01-17T22:47:35.000Z | 2022-03-31T18:29:47.000Z | tests/test_extras_mm_fields.py | fyntex/lib-cl-sii-python | b6ffb72be1f173a1d2e44b17ae5c08caf96ebf34 | [
"MIT"
] | 3 | 2020-03-07T20:30:02.000Z | 2021-03-22T03:14:26.000Z | from datetime import date, datetime
import unittest
import marshmallow
from cl_sii.extras.mm_fields import (
RcvPeriodoTributario, RcvPeriodoTributarioField,
RcvTipoDocto, RcvTipoDoctoField,
Rut, RutField,
TipoDteEnum, TipoDteField,
)
class RutFieldTest(unittest.TestCase):
def setUp(self) -> No... | 37.317891 | 128 | 0.615813 | 2,678 | 23,361 | 5.175504 | 0.048544 | 0.091847 | 0.050794 | 0.087879 | 0.939033 | 0.906205 | 0.883405 | 0.859091 | 0.835859 | 0.834704 | 0 | 0.023461 | 0.262874 | 23,361 | 625 | 129 | 37.3776 | 0.781417 | 0.031934 | 0 | 0.742981 | 0 | 0 | 0.110792 | 0 | 0 | 0 | 0 | 0 | 0.24406 | 1 | 0.069114 | false | 0 | 0.008639 | 0 | 0.138229 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7c1501f3597edc79348f3fb3f93547e3e5a1eb99 | 22,849 | py | Python | example/migrations/0001_initial.py | sasriawesome/django_trumbo | 28372409837a9e97158428e3beb1ed1c74e8860c | [
"MIT"
] | 2 | 2020-05-24T00:40:42.000Z | 2021-05-31T02:27:41.000Z | example/migrations/0001_initial.py | sasriawesome/django_trumbo | 28372409837a9e97158428e3beb1ed1c74e8860c | [
"MIT"
] | null | null | null | example/migrations/0001_initial.py | sasriawesome/django_trumbo | 28372409837a9e97158428e3beb1ed1c74e8860c | [
"MIT"
] | null | null | null | # Generated by Django 3.0.5 on 2020-05-20 17:06
from django.conf import settings
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
mi... | 90.670635 | 383 | 0.632063 | 2,506 | 22,849 | 5.626496 | 0.094972 | 0.087376 | 0.040426 | 0.049858 | 0.869858 | 0.865248 | 0.84617 | 0.826596 | 0.821206 | 0.796667 | 0 | 0.011358 | 0.198521 | 22,849 | 251 | 384 | 91.031873 | 0.758587 | 0.001969 | 0 | 0.602459 | 1 | 0 | 0.235155 | 0.00307 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02459 | 0 | 0.040984 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7c1709ad80495d11c66f5c0f4c663b58139d1135 | 1,747 | py | Python | 20200303_萌新赛-劝退警告_常规套娃/hx.py | ctfwiki/subject_misc_ctfshow | 2a51f5bc12e9c136841f9cc3ef88ed53df952054 | [
"MIT"
] | 16 | 2020-09-26T06:17:57.000Z | 2022-03-03T15:41:07.000Z | 20200303_萌新赛-劝退警告_常规套娃/hx.py | ctfwiki/subject_misc_ctfshow | 2a51f5bc12e9c136841f9cc3ef88ed53df952054 | [
"MIT"
] | null | null | null | 20200303_萌新赛-劝退警告_常规套娃/hx.py | ctfwiki/subject_misc_ctfshow | 2a51f5bc12e9c136841f9cc3ef88ed53df952054 | [
"MIT"
] | 6 | 2020-08-30T09:09:08.000Z | 2021-11-28T02:09:39.000Z | (lambda __print, __g, __y, __operator: [[[[[[(check(0), None)[1] for __g['check'], check.__name__ in [(lambda x: (lambda __l: [[(lambda __sentinel, __after, __items: __y(lambda __this: lambda: (lambda __i: [[(lambda __sentinel, __after, __items: __y(lambda __this: lambda: (lambda __i: [[__this() for __l['n'] in [(__ope... | 873.5 | 1,746 | 0.587865 | 280 | 1,747 | 3.089286 | 0.275 | 0.041619 | 0.028902 | 0.055491 | 0.386127 | 0.386127 | 0.386127 | 0.284393 | 0.284393 | 0.284393 | 0 | 0.061185 | 0.101889 | 1,747 | 1 | 1,747 | 1,747 | 0.490121 | 0 | 0 | 0 | 0 | 1 | 0.107041 | 0.038924 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 9 |
7c96c6e5d03d07337f23ac4c8c4ab08d3d92e71d | 121 | py | Python | HelloPython.py | DickZhang1008/HelloGit | 0338730f1210b2a719d0e4f88878a9b5f8cb6791 | [
"Apache-2.0"
] | null | null | null | HelloPython.py | DickZhang1008/HelloGit | 0338730f1210b2a719d0e4f88878a9b5f8cb6791 | [
"Apache-2.0"
] | null | null | null | HelloPython.py | DickZhang1008/HelloGit | 0338730f1210b2a719d0e4f88878a9b5f8cb6791 | [
"Apache-2.0"
] | null | null | null |
print("我能中100万")
print("我能中100万")
print("我能中100万")
print("我能中100万")
print("我能中100万")
print("我能中100万")
print('可以,哈哈哈哈') | 12.1 | 16 | 0.68595 | 15 | 121 | 5.533333 | 0.266667 | 0.86747 | 1.228916 | 1.445783 | 0.927711 | 0.927711 | 0.927711 | 0.927711 | 0.927711 | 0.927711 | 0 | 0.160714 | 0.07438 | 121 | 10 | 17 | 12.1 | 0.580357 | 0 | 0 | 0.857143 | 0 | 0 | 0.404959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 13 |
7c97dc8aa5218e5e3b148f725d3223d4c8a658da | 181 | py | Python | pycspr/factory/__init__.py | momipsl/pycspr | 82c1ca003525a3d205d2aa3b7da5d1ecd275e9b5 | [
"Apache-2.0"
] | 2 | 2021-04-14T13:49:20.000Z | 2021-07-06T22:07:02.000Z | pycspr/factory/__init__.py | momipsl/pycspr | 82c1ca003525a3d205d2aa3b7da5d1ecd275e9b5 | [
"Apache-2.0"
] | null | null | null | pycspr/factory/__init__.py | momipsl/pycspr | 82c1ca003525a3d205d2aa3b7da5d1ecd275e9b5 | [
"Apache-2.0"
] | 1 | 2021-04-15T12:52:42.000Z | 2021-04-15T12:52:42.000Z | import pycspr.factory.accounts as accounts
import pycspr.factory.cl_type_info as cl_type_info
import pycspr.factory.cl_type_info as cl_type
import pycspr.factory.deploys as deploys
| 36.2 | 50 | 0.867403 | 31 | 181 | 4.83871 | 0.290323 | 0.32 | 0.506667 | 0.28 | 0.493333 | 0.493333 | 0.493333 | 0.493333 | 0.493333 | 0 | 0 | 0 | 0.088398 | 181 | 4 | 51 | 45.25 | 0.909091 | 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 | 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 | 7 |
7cb9ad937fe3033dddc9d60316f80fae28ae3705 | 87,986 | py | Python | setup.py | fitter22/python-pcl | 3162310300a0b82bcfcbb8492545858bc8cf879c | [
"BSD-3-Clause"
] | null | null | null | setup.py | fitter22/python-pcl | 3162310300a0b82bcfcbb8492545858bc8cf879c | [
"BSD-3-Clause"
] | null | null | null | setup.py | fitter22/python-pcl | 3162310300a0b82bcfcbb8492545858bc8cf879c | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import print_function
from collections import defaultdict
from Cython.Distutils import build_ext
from distutils.core import setup
from distutils.extension import Extension
# from Cython.Build import cythonize # MacOS NG
from setuptools import setup, find_packages, Exten... | 97.653718 | 3,707 | 0.670027 | 9,047 | 87,986 | 6.246933 | 0.075495 | 0.243825 | 0.007591 | 0.007927 | 0.898967 | 0.883644 | 0.86832 | 0.850308 | 0.840824 | 0.834702 | 0 | 0.014657 | 0.178824 | 87,986 | 900 | 3,708 | 97.762222 | 0.76755 | 0.379094 | 0 | 0.59436 | 0 | 0.002169 | 0.379442 | 0.085064 | 0 | 0 | 0 | 0.001111 | 0 | 1 | 0.004338 | false | 0.030369 | 0.047722 | 0 | 0.056399 | 0.041215 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 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 | 8 |
7cdadc65317a51c6a7e6476ec09e9dde2398d057 | 155 | py | Python | cmyt/colormaps/pixel_blue.py | yt-project/cmyt | 566ba60864b838827c51f2bddcd93efff97fde05 | [
"BSD-3-Clause-Clear"
] | 3 | 2021-07-15T17:30:03.000Z | 2021-07-16T01:09:01.000Z | cmyt/colormaps/pixel_blue.py | yt-project/cmyt | 566ba60864b838827c51f2bddcd93efff97fde05 | [
"BSD-3-Clause-Clear"
] | 20 | 2021-07-15T17:09:46.000Z | 2022-02-07T09:35:54.000Z | cmyt/colormaps/pixel_blue.py | yt-project/cmyt | 566ba60864b838827c51f2bddcd93efff97fde05 | [
"BSD-3-Clause-Clear"
] | 2 | 2021-07-15T13:26:03.000Z | 2021-07-15T13:29:08.000Z | data = {
"red": ((0.0, 0.0, 0.0), (1.0, 0.2, 0.2)),
"green": ((0.0, 0.0, 0.0), (1.0, 0.2, 0.2)),
"blue": ((0.0, 0.0, 0.0), (1.0, 1.0, 1.0)),
}
| 25.833333 | 48 | 0.335484 | 40 | 155 | 1.3 | 0.175 | 0.653846 | 0.692308 | 0.692308 | 0.692308 | 0.615385 | 0.615385 | 0.615385 | 0.461538 | 0.461538 | 0 | 0.305085 | 0.23871 | 155 | 5 | 49 | 31 | 0.135593 | 0 | 0 | 0 | 0 | 0 | 0.077419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 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 | 7 |
6b00f7f1475d6dac52789d562d37ad7c9d974839 | 405 | py | Python | ChoateStudentHelp/__init__.py | brianHarder/choateStudentHelp | d0787e0f256688683fd12727e75031d953efa1e7 | [
"MIT"
] | null | null | null | ChoateStudentHelp/__init__.py | brianHarder/choateStudentHelp | d0787e0f256688683fd12727e75031d953efa1e7 | [
"MIT"
] | null | null | null | ChoateStudentHelp/__init__.py | brianHarder/choateStudentHelp | d0787e0f256688683fd12727e75031d953efa1e7 | [
"MIT"
] | null | null | null | from ChoateStudentHelp.ChoateStudentHelp_module import Math
from ChoateStudentHelp.ChoateStudentHelp_module import standardizedTest
from ChoateStudentHelp.ChoateStudentHelp_module import stocks
from ChoateStudentHelp.ChoateStudentHelp_module import fortune_teller
from ChoateStudentHelp.ChoateStudentHelp_module impo... | 67.5 | 72 | 0.916049 | 39 | 405 | 9.282051 | 0.333333 | 0.348066 | 0.629834 | 0.729282 | 0.828729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069136 | 405 | 6 | 73 | 67.5 | 0.960212 | 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 | 1 | 1 | 0 | 0 | 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 | 8 |
6b05b7a9ca599032cbd31cb52a4fbf75a3def12a | 63,634 | py | Python | shadowsocks/obfsplugin/auth.py | metecyu/shadowsocksr | 1f472d6975a1f40f80dfd53e41455b92b2fe1e48 | [
"Apache-2.0"
] | null | null | null | shadowsocks/obfsplugin/auth.py | metecyu/shadowsocksr | 1f472d6975a1f40f80dfd53e41455b92b2fe1e48 | [
"Apache-2.0"
] | null | null | null | shadowsocks/obfsplugin/auth.py | metecyu/shadowsocksr | 1f472d6975a1f40f80dfd53e41455b92b2fe1e48 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#
# Copyright 2015-2015 breakwa11
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | 42.995946 | 204 | 0.561209 | 8,380 | 63,634 | 4.029236 | 0.037709 | 0.06255 | 0.079491 | 0.033052 | 0.896964 | 0.869688 | 0.847801 | 0.813801 | 0.788153 | 0.774204 | 0 | 0.031312 | 0.324968 | 63,634 | 1,479 | 205 | 43.025017 | 0.754743 | 0.013483 | 0 | 0.774268 | 0 | 0 | 0.049373 | 0.000751 | 0 | 0 | 0.008618 | 0.000676 | 0.00077 | 1 | 0.075501 | false | 0.002311 | 0.014638 | 0.014638 | 0.231895 | 0.00077 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6b1a9dc5da7b47ba175a74c1e0b26ccaf251664f | 164 | py | Python | tests/test_hello.py | cuencandres/minpkg | 0779328777fd1bc32f678c5054a3c48c50ea5d8b | [
"MIT"
] | null | null | null | tests/test_hello.py | cuencandres/minpkg | 0779328777fd1bc32f678c5054a3c48c50ea5d8b | [
"MIT"
] | null | null | null | tests/test_hello.py | cuencandres/minpkg | 0779328777fd1bc32f678c5054a3c48c50ea5d8b | [
"MIT"
] | 1 | 2020-01-17T18:41:21.000Z | 2020-01-17T18:41:21.000Z | from minpkg import say_hello, say_goodbye
def test_say_hello():
assert say_hello() == 'hello'
def test_say_goodbye():
assert say_goodbye() == 'Goodbye!!'
| 20.5 | 41 | 0.707317 | 23 | 164 | 4.695652 | 0.391304 | 0.222222 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164634 | 164 | 7 | 42 | 23.428571 | 0.788321 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
6b40649b97c201deea23d0c75bea49f836ef8c05 | 15,822 | py | Python | wo/cli/plugins/stack_services.py | xwang0929/WordOps | d608e78bebcfe3041bd86c8cc6d379e4023368a0 | [
"MIT"
] | 1 | 2020-03-30T16:09:50.000Z | 2020-03-30T16:09:50.000Z | wo/cli/plugins/stack_services.py | xwang0929/WordOps | d608e78bebcfe3041bd86c8cc6d379e4023368a0 | [
"MIT"
] | null | null | null | wo/cli/plugins/stack_services.py | xwang0929/WordOps | d608e78bebcfe3041bd86c8cc6d379e4023368a0 | [
"MIT"
] | null | null | null | import os
from cement.core.controller import CementBaseController, expose
from wo.core.logging import Log
from wo.core.services import WOService
from wo.core.variables import WOVar
class WOStackStatusController(CementBaseController):
class Meta:
label = 'stack_services'
stacked_on = 'stack'
... | 37.140845 | 78 | 0.49861 | 1,728 | 15,822 | 4.525463 | 0.051505 | 0.044757 | 0.064706 | 0.080563 | 0.916368 | 0.886573 | 0.884015 | 0.884015 | 0.884015 | 0.874297 | 0 | 0.021437 | 0.377892 | 15,822 | 425 | 79 | 37.228235 | 0.773037 | 0.010113 | 0 | 0.907563 | 0 | 0 | 0.203686 | 0.010559 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014006 | false | 0 | 0.014006 | 0 | 0.033613 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
864d7b64cc0bbe629da71f707b1ca0deab7b6c70 | 49 | py | Python | test/run/t115.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t115.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t115.py | csev/skulpt | 9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | a = [1,2,3,4,5,6]
b = [9,9,9]
a[1:2] = b
print a
| 9.8 | 17 | 0.428571 | 17 | 49 | 1.235294 | 0.588235 | 0.190476 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289474 | 0.22449 | 49 | 4 | 18 | 12.25 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 1 | 1 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
86a415606c878336805fc01729d68d48b0dc052a | 4,941 | py | Python | app/test/test_config.py | Andrea-MariaDB/Flask-REST-Server-Repository | f5d1ceffeb3456b200b90e4f05d7430aa3f1eea4 | [
"MIT"
] | 5 | 2019-09-18T11:48:16.000Z | 2021-11-09T11:24:12.000Z | app/test/test_config.py | prakharlovesdata/vogo-hack-server | 2ea407325b5842800f30906b23d74dd60c6de711 | [
"MIT"
] | 11 | 2019-09-13T07:14:25.000Z | 2021-06-02T00:54:06.000Z | app/test/test_config.py | prakharlovesdata/vogo-hack-server | 2ea407325b5842800f30906b23d74dd60c6de711 | [
"MIT"
] | 3 | 2019-10-11T09:36:04.000Z | 2019-12-20T10:17:32.000Z | """
Tests the app.main.config module.
"""
from flask import current_app
from flask_testing import TestCase
from manage import app
class TestBaseConfig(TestCase):
"""
Testclass for testing BaseConfig class.
This class checks if certain basic settings are
available for the app.
Following test met... | 33.612245 | 70 | 0.707144 | 677 | 4,941 | 5.085672 | 0.15805 | 0.031368 | 0.020912 | 0.031368 | 0.825443 | 0.789137 | 0.734534 | 0.734534 | 0.701133 | 0.657566 | 0 | 0 | 0.240235 | 4,941 | 146 | 71 | 33.842466 | 0.917155 | 0.625987 | 0 | 0.3125 | 0 | 0 | 0.15 | 0.121429 | 0 | 0 | 0 | 0 | 0.28125 | 1 | 0.25 | false | 0 | 0.09375 | 0 | 0.59375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
86c950fbfaaa82f9e9013344b9adb307129c7287 | 10,574 | py | Python | src/genie/libs/parser/iosxe/tests/ShowSpanningTreeSummary/cli/equal/golden_output_1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowSpanningTreeSummary/cli/equal/golden_output_1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowSpanningTreeSummary/cli/equal/golden_output_1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"backbone_fast": False,
"bpdu_filter": False,
"bpdu_guard": False,
"bridge_assurance": True,
"configured_pathcost": {"method": "short"},
"etherchannel_misconfig_guard": True,
"extended_system_id": True,
"loop_guard": False,
"mode": {
"rapid_pvst": {
... | 29.049451 | 276 | 0.319368 | 667 | 10,574 | 4.956522 | 0.152924 | 0.130672 | 0.275862 | 0.275862 | 0.711434 | 0.711434 | 0.711434 | 0.711434 | 0.711434 | 0.711434 | 0 | 0.114568 | 0.550123 | 10,574 | 363 | 277 | 29.129477 | 0.580408 | 0 | 0 | 0.661157 | 0 | 0.002755 | 0.294023 | 0.004729 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 8 |
86f97bcb88d0db39e0c7a880a46b740ac81492d6 | 3,347 | py | Python | tests/test_predictionquery.py | Duke-GCB/PredictionsDB | 066278425890288d9e430a46096a347453301b08 | [
"MIT"
] | null | null | null | tests/test_predictionquery.py | Duke-GCB/PredictionsDB | 066278425890288d9e430a46096a347453301b08 | [
"MIT"
] | 57 | 2016-09-16T15:23:49.000Z | 2021-09-07T15:20:22.000Z | tests/test_predictionquery.py | Duke-GCB/PredictionsDB | 066278425890288d9e430a46096a347453301b08 | [
"MIT"
] | 1 | 2016-09-09T20:03:48.000Z | 2016-09-09T20:03:48.000Z | from unittest import TestCase
from pred.queries.predictionquery import PredictionQuery
QUERY_BASE = """SET search_path TO %s,public;
select
max(common_name) as common_name,
string_agg(name, '; ') as name,
case WHEN max(value) > abs(min(value)) THEN
round(max(value), 4)
ELSE
round(min(value), 4)
end as max_value,
m... | 29.619469 | 101 | 0.650134 | 440 | 3,347 | 4.722727 | 0.188636 | 0.051973 | 0.038499 | 0.036574 | 0.854187 | 0.838787 | 0.810876 | 0.786814 | 0.771896 | 0.751203 | 0 | 0.039939 | 0.22199 | 3,347 | 112 | 102 | 29.883929 | 0.758065 | 0 | 0 | 0.77451 | 0 | 0.019608 | 0.475179 | 0.047249 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.029412 | false | 0 | 0.019608 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8119c042a348be12973c5298ba16bff6dd97dacc | 2,357 | py | Python | library/cactus-test.py | kausalyamahadevan/knitout-frontend-py | 1a0414a88db698383dda7e9b45ec1293948b369b | [
"MIT"
] | null | null | null | library/cactus-test.py | kausalyamahadevan/knitout-frontend-py | 1a0414a88db698383dda7e9b45ec1293948b369b | [
"MIT"
] | null | null | null | library/cactus-test.py | kausalyamahadevan/knitout-frontend-py | 1a0414a88db698383dda7e9b45ec1293948b369b | [
"MIT"
] | null | null | null | import knitout
import gabrielle
k = knitout.Writer('1 2 3 4 5 6')
# for n in range(0, 121):
# k.drop(f'f{n}')
# for n in range(120, -1, -1):
# k.drop(f'b{n}')
# gabrielle.shapeImgToKnitout(k, 'graphics/cactus.png')
# k.write('cactus-test.k')
# gabrielle.shapeImgToKnitout(k, 'graphics/cactus.png', 2)
# k.write('... | 38.016129 | 132 | 0.737378 | 340 | 2,357 | 5.111765 | 0.141176 | 0.254315 | 0.264097 | 0.342348 | 0.837745 | 0.812428 | 0.68412 | 0.60702 | 0.502302 | 0.502302 | 0 | 0.039359 | 0.072974 | 2,357 | 62 | 133 | 38.016129 | 0.756064 | 0.855325 | 0 | 0 | 0 | 0 | 0.252459 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
8127fb5a6394c5b7a7a042f8224bba0bd394736f | 458 | py | Python | django_base_model/signals.py | dukic-dev/django-base-model | 58494d4d128a8362166a58adbc557a21abdff471 | [
"MIT"
] | null | null | null | django_base_model/signals.py | dukic-dev/django-base-model | 58494d4d128a8362166a58adbc557a21abdff471 | [
"MIT"
] | null | null | null | django_base_model/signals.py | dukic-dev/django-base-model | 58494d4d128a8362166a58adbc557a21abdff471 | [
"MIT"
] | null | null | null | import django.dispatch
base_create = django.dispatch.Signal(providing_args=["obj", "user"])
base_update = django.dispatch.Signal(providing_args=["objs", "user"])
base_delete = django.dispatch.Signal(providing_args=["obj", "user"])
base_bulk_create = django.dispatch.Signal(providing_args=["objs", "user"])
base_bulk_de... | 45.8 | 74 | 0.766376 | 60 | 458 | 5.6 | 0.233333 | 0.291667 | 0.357143 | 0.517857 | 0.916667 | 0.916667 | 0.845238 | 0.845238 | 0.291667 | 0 | 0 | 0 | 0.061135 | 458 | 9 | 75 | 50.888889 | 0.781395 | 0 | 0 | 0 | 0 | 0 | 0.100437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8143cfd9750d7e005610f613685b07d8f6ca809d | 135 | py | Python | desafio/desafio107.py | henriquekirchheck/Curso-em-video-Python | 1a29f68515313af85c8683f626ba35f8fcdd10e7 | [
"MIT"
] | null | null | null | desafio/desafio107.py | henriquekirchheck/Curso-em-video-Python | 1a29f68515313af85c8683f626ba35f8fcdd10e7 | [
"MIT"
] | null | null | null | desafio/desafio107.py | henriquekirchheck/Curso-em-video-Python | 1a29f68515313af85c8683f626ba35f8fcdd10e7 | [
"MIT"
] | null | null | null | from utils import moeda
print(moeda.aumentar(100, 50))
print(moeda.diminuir(100, 50))
print(moeda.dobro(100))
print(moeda.metade(100)) | 22.5 | 30 | 0.762963 | 22 | 135 | 4.681818 | 0.5 | 0.38835 | 0.194175 | 0.291262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128 | 0.074074 | 135 | 6 | 31 | 22.5 | 0.696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.8 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
d4c63427c2510b8eb50620988339aa4b3284f4ec | 838 | py | Python | api/lib/decorator.py | lilixiang/cmdb | d60857c26b9b81c8a33b72548b637cbde8782fe1 | [
"MIT"
] | 1 | 2020-02-15T00:13:45.000Z | 2020-02-15T00:13:45.000Z | api/lib/decorator.py | lilixiang/cmdb | d60857c26b9b81c8a33b72548b637cbde8782fe1 | [
"MIT"
] | 1 | 2019-11-19T13:52:16.000Z | 2019-11-19T13:52:16.000Z | api/lib/decorator.py | lilixiang/cmdb | d60857c26b9b81c8a33b72548b637cbde8782fe1 | [
"MIT"
] | 1 | 2019-10-31T07:55:20.000Z | 2019-10-31T07:55:20.000Z | # -*- coding:utf-8 -*-
from functools import wraps
from flask import abort
from flask import request
def kwargs_required(*required_args):
def decorate(func):
@wraps(func)
def wrapper(*args, **kwargs):
for arg in required_args:
if arg not in kwargs:
... | 23.277778 | 79 | 0.576372 | 98 | 838 | 4.867347 | 0.295918 | 0.100629 | 0.062893 | 0.096436 | 0.767296 | 0.767296 | 0.767296 | 0.767296 | 0.767296 | 0.767296 | 0 | 0.015873 | 0.323389 | 838 | 35 | 80 | 23.942857 | 0.825397 | 0.023866 | 0 | 0.695652 | 0 | 0 | 0.063725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.130435 | 0 | 0.73913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
d4ce69bc41a23da536c0b01ac97cba4bb837c83d | 103 | py | Python | docs/source/examples/test_func.py | harupy/sphinx-plotly-directive | 1a95a2c5dde0ff177647fb3f5aecb9b86c29a91c | [
"MIT"
] | 12 | 2020-10-21T13:18:19.000Z | 2022-01-21T13:44:31.000Z | docs/source/examples/test_func.py | harupy/sphinx-plotly-directive | 1a95a2c5dde0ff177647fb3f5aecb9b86c29a91c | [
"MIT"
] | 1 | 2020-10-19T15:04:18.000Z | 2020-10-24T08:19:56.000Z | docs/source/examples/test_func.py | harupy/sphinx-plotly-directive | 1a95a2c5dde0ff177647fb3f5aecb9b86c29a91c | [
"MIT"
] | null | null | null | import plotly.express as px
def func():
return px.scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16])
| 17.166667 | 60 | 0.563107 | 22 | 103 | 2.636364 | 0.818182 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 0.223301 | 103 | 5 | 61 | 20.6 | 0.5875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
d4d28fce7617d11532d69066dbfb0b649a1c1bb7 | 2,570 | py | Python | switchport.py | sekozzi/switchport-python | 2db921d0a64f16a441da237ab0be92e7cc98d344 | [
"Apache-2.0"
] | null | null | null | switchport.py | sekozzi/switchport-python | 2db921d0a64f16a441da237ab0be92e7cc98d344 | [
"Apache-2.0"
] | null | null | null | switchport.py | sekozzi/switchport-python | 2db921d0a64f16a441da237ab0be92e7cc98d344 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import os, re, sys, subprocess, shlex
versioncheck = sys.version_info[0]
interface = str(sys.argv[1])
def switchportV2(interface):
cmd = "tcpdump -nn -v -i {0} -s 1500 -c 1 'ether[20:2] == 0x2000'".format(interface)
p1 = subprocess.Popen(shlex.split(cmd), stdout=subprocess.PIPE, stderr=s... | 33.376623 | 126 | 0.587938 | 382 | 2,570 | 3.95288 | 0.206806 | 0.023841 | 0.015894 | 0.015894 | 0.822517 | 0.815894 | 0.815894 | 0.815894 | 0.815894 | 0.815894 | 0 | 0.046397 | 0.211673 | 2,570 | 76 | 127 | 33.815789 | 0.698914 | 0.131128 | 0 | 0.807018 | 0 | 0.070175 | 0.185085 | 0.103324 | 0 | 0 | 0.005391 | 0 | 0 | 1 | 0.035088 | false | 0 | 0.017544 | 0 | 0.052632 | 0.105263 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d4f4584a62463f8463454c770280c5e15553b569 | 8,157 | py | Python | tests/examples/minlplib/nvs23.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 2 | 2021-07-03T13:19:10.000Z | 2022-02-06T10:48:13.000Z | tests/examples/minlplib/nvs23.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 1 | 2021-07-04T14:52:14.000Z | 2021-07-15T10:17:11.000Z | tests/examples/minlplib/nvs23.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | null | null | null | # MINLP written by GAMS Convert at 04/21/18 13:52:43
#
# Equation counts
# Total E G L N X C B
# 10 1 9 0 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 76.95283 | 120 | 0.420988 | 2,078 | 8,157 | 1.652551 | 0.053417 | 0.069889 | 0.074549 | 0.036401 | 0.830227 | 0.812464 | 0.774316 | 0.743739 | 0.654921 | 0.426034 | 0 | 0.242354 | 0.314576 | 8,157 | 105 | 121 | 77.685714 | 0.371848 | 0.083364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013699 | 0 | 0.013699 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
be141fc6db8a847177491010e9f5e30f868d6a1b | 58,565 | py | Python | test/integration/component/test_vpc_routers.py | lafferty/cshv3 | ee0ff7ac240bd24e19db6bd3fb9869dd087442ba | [
"Apache-2.0"
] | 2 | 2015-05-19T05:04:30.000Z | 2016-09-07T00:33:17.000Z | test/integration/component/test_vpc_routers.py | lafferty/cshv3 | ee0ff7ac240bd24e19db6bd3fb9869dd087442ba | [
"Apache-2.0"
] | null | null | null | test/integration/component/test_vpc_routers.py | lafferty/cshv3 | ee0ff7ac240bd24e19db6bd3fb9869dd087442ba | [
"Apache-2.0"
] | 2 | 2017-07-07T14:49:03.000Z | 2018-07-31T06:38:42.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 43.934734 | 130 | 0.436165 | 5,003 | 58,565 | 5.037577 | 0.092744 | 0.031544 | 0.03571 | 0.018569 | 0.831885 | 0.81776 | 0.808158 | 0.795858 | 0.77955 | 0.767686 | 0 | 0.017226 | 0.494476 | 58,565 | 1,332 | 131 | 43.967718 | 0.834054 | 0.137232 | 0 | 0.716229 | 0 | 0 | 0.129335 | 0.004335 | 0 | 0 | 0 | 0 | 0.051506 | 1 | 0.025267 | false | 0.001944 | 0.008746 | 0.000972 | 0.059281 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
be1a64d1072edb02eda7bca8774b0fe000f88be8 | 5,202 | py | Python | utils/mobjects/Object_Border.py | AStarySky/manim_sandbox | b1827c321337dbf0717f1806727e22528413f49a | [
"MIT"
] | 366 | 2020-03-06T13:50:13.000Z | 2022-03-25T07:40:34.000Z | utils/mobjects/Object_Border.py | AStarySky/manim_sandbox | b1827c321337dbf0717f1806727e22528413f49a | [
"MIT"
] | 3 | 2020-03-16T00:52:04.000Z | 2020-12-18T13:30:33.000Z | utils/mobjects/Object_Border.py | AStarySky/manim_sandbox | b1827c321337dbf0717f1806727e22528413f49a | [
"MIT"
] | 82 | 2020-03-15T01:45:02.000Z | 2022-03-23T05:45:00.000Z | # from widcardw
#
#
# 这个Border写的太草了...
# CtrlT是会自动更新的, 只要传入一个物件, 就可以像TrackedPath一样用
# 但是我感觉不是特别好, 还不如用下面那个NoneUpdate的, 加个lambda become岂不美哉
# 或许对于作业4有点帮助吧
# 还有, 不许吐槽我为什么不用for循环, 我本来就只会硬刚
# 说不定今后有时间再加一个center_point呢
from manimlib.imports import *
class CtrlT(VGroup):
CONFIG = {"buff": SMALL_BUFF, "black_bg": False,
... | 50.019231 | 116 | 0.535179 | 610 | 5,202 | 4.286885 | 0.106557 | 0.08413 | 0.091778 | 0.130784 | 0.907839 | 0.885277 | 0.885277 | 0.885277 | 0.882983 | 0.882983 | 0 | 0.053643 | 0.329873 | 5,202 | 103 | 117 | 50.504854 | 0.6965 | 0.037486 | 0 | 0.784091 | 0 | 0 | 0.059247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.011364 | 0 | 0.079545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
be22e09aca2707788c31299717ade3f8991c8d8c | 8,018 | py | Python | landlab/components/erosion_deposition/tests/test_general_erodep.py | sequence-dev/landlab | a84fbf67a46de08bf8b6758bb316bff3423e746c | [
"MIT"
] | 1 | 2019-06-01T07:39:49.000Z | 2019-06-01T07:39:49.000Z | landlab/components/erosion_deposition/tests/test_general_erodep.py | sequence-dev/landlab | a84fbf67a46de08bf8b6758bb316bff3423e746c | [
"MIT"
] | null | null | null | landlab/components/erosion_deposition/tests/test_general_erodep.py | sequence-dev/landlab | a84fbf67a46de08bf8b6758bb316bff3423e746c | [
"MIT"
] | null | null | null | from landlab import RasterModelGrid, HexModelGrid
from landlab.components import ErosionDeposition, FlowAccumulator
import numpy as np
from numpy import testing
import pytest
def test_Ff_bad_vals():
"""
Test that instantiating ErosionDeposition with a F_f value > 1 throws a
ValueError.
"""
#set ... | 39.890547 | 87 | 0.541033 | 964 | 8,018 | 4.26971 | 0.144191 | 0.036443 | 0.058309 | 0.063168 | 0.88241 | 0.874879 | 0.861273 | 0.845238 | 0.817784 | 0.817784 | 0 | 0.052208 | 0.364555 | 8,018 | 200 | 88 | 40.09 | 0.755643 | 0.174857 | 0 | 0.816 | 0 | 0 | 0.109692 | 0.076769 | 0 | 0 | 0 | 0 | 0.024 | 1 | 0.04 | false | 0 | 0.04 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
be26629952c541950e5c829110212f8373a9f372 | 248 | py | Python | sfc_cae/__init__.py | acse-jy220/FPC-CAE | 6e2fa3ec31795e66abdfe8faa01ffe36cc1e6b7a | [
"Apache-2.0"
] | null | null | null | sfc_cae/__init__.py | acse-jy220/FPC-CAE | 6e2fa3ec31795e66abdfe8faa01ffe36cc1e6b7a | [
"Apache-2.0"
] | null | null | null | sfc_cae/__init__.py | acse-jy220/FPC-CAE | 6e2fa3ec31795e66abdfe8faa01ffe36cc1e6b7a | [
"Apache-2.0"
] | 2 | 2021-07-25T16:37:29.000Z | 2021-07-27T21:10:22.000Z | """A ready-to-use, self-adjusting space-filling-curve (variational) convolutional autoencoder"""
from .utils import *
from .sfc_cae import *
from .sfc_cae_md import *
from .sfc_cae_adaptive import *
from .structured import *
from .training import * | 35.428571 | 96 | 0.774194 | 35 | 248 | 5.342857 | 0.6 | 0.26738 | 0.208556 | 0.256684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 248 | 7 | 97 | 35.428571 | 0.857798 | 0.362903 | 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 | 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 | 7 |
076c934dc1dfa43557975cbd5365ab5e81dc2079 | 128 | py | Python | c_elegans_wiring/sub_modules/graph/graph_builder/__init__.py | adrameshiu/c-elegans-wiring | 5eff187bbec6991864f73f3f4652b98225eab8e8 | [
"MIT"
] | 1 | 2021-06-10T21:46:35.000Z | 2021-06-10T21:46:35.000Z | c_elegans_wiring/sub_modules/graph/graph_builder/__init__.py | adrameshiu/Celegans-search | 5eff187bbec6991864f73f3f4652b98225eab8e8 | [
"MIT"
] | null | null | null | c_elegans_wiring/sub_modules/graph/graph_builder/__init__.py | adrameshiu/Celegans-search | 5eff187bbec6991864f73f3f4652b98225eab8e8 | [
"MIT"
] | null | null | null | # # allows other modules to import files from .graph, etc.
from .main_graph_builder import *
from .class_graph_builder import *
| 32 | 58 | 0.78125 | 19 | 128 | 5.052632 | 0.631579 | 0.25 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148438 | 128 | 3 | 59 | 42.666667 | 0.880734 | 0.421875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
076fbf423111356e6db094b8e8ea8821e18ddb8d | 39,991 | py | Python | assets/useragent/mozilla.py | ice-melt/python-lib | 345e34fff7386d91acbb03a01fd4127c5dfed037 | [
"MIT"
] | 74 | 2018-07-31T05:04:26.000Z | 2021-02-18T05:51:22.000Z | assets/useragent/mozilla.py | ice-melt/python-lib | 345e34fff7386d91acbb03a01fd4127c5dfed037 | [
"MIT"
] | null | null | null | assets/useragent/mozilla.py | ice-melt/python-lib | 345e34fff7386d91acbb03a01fd4127c5dfed037 | [
"MIT"
] | 39 | 2018-08-30T07:02:51.000Z | 2021-03-22T11:47:01.000Z | mozilla = [
'Mozilla/5.0 (Windows; U; Windows NT 6.1; rv:2.2) Gecko/20110201',
'Mozilla/5.0 (Windows; U; Windows NT 6.1; it; rv:2.0b4) Gecko/20100818',
'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a3pre) Gecko/20070330',
'Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko',
'Mozi... | 77.652427 | 146 | 0.62424 | 8,325 | 39,991 | 2.997958 | 0.04973 | 0.047039 | 0.185351 | 0.092836 | 0.898469 | 0.888573 | 0.878436 | 0.862088 | 0.844499 | 0.825066 | 0 | 0.257358 | 0.161486 | 39,991 | 515 | 147 | 77.652427 | 0.486923 | 0 | 0 | 0.054369 | 0 | 0.994175 | 0.897054 | 0.009577 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
07a1d5cf6580db8face1a1145edeab61b609b660 | 169 | py | Python | basic/__init__.py | magland/pyms | 9baddaacfa48094a33056e31ff0e80fe98970f9a | [
"Apache-2.0"
] | 1 | 2018-03-29T15:12:57.000Z | 2018-03-29T15:12:57.000Z | basic/__init__.py | magland/pyms | 9baddaacfa48094a33056e31ff0e80fe98970f9a | [
"Apache-2.0"
] | null | null | null | basic/__init__.py | magland/pyms | 9baddaacfa48094a33056e31ff0e80fe98970f9a | [
"Apache-2.0"
] | null | null | null | from .p_compute_templates import *
from .p_extract_clips import *
from .p_extract_geom import *
from .p_extract_timeseries import *
from .p_normalize_channels import *
| 28.166667 | 35 | 0.816568 | 25 | 169 | 5.12 | 0.44 | 0.195313 | 0.34375 | 0.421875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12426 | 169 | 5 | 36 | 33.8 | 0.864865 | 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 | 1 | 0 | 0 | 7 |
07e9a3736fed23399c2846cec65ed88298b0ebc5 | 131 | py | Python | kaggler/feature_selection/__init__.py | ppstacy/Kaggler | 4fedc30153a4a74343fdec91468b96372873ebac | [
"MIT"
] | 743 | 2015-02-11T15:47:17.000Z | 2022-03-29T06:58:57.000Z | kaggler/feature_selection/__init__.py | Drimdave/Kaggler | 2a8027b534d881619fab8f095cff8876c6b39c55 | [
"MIT"
] | 40 | 2015-03-16T17:44:40.000Z | 2022-03-06T05:40:11.000Z | kaggler/feature_selection/__init__.py | Drimdave/Kaggler | 2a8027b534d881619fab8f095cff8876c6b39c55 | [
"MIT"
] | 178 | 2015-02-11T20:43:26.000Z | 2021-11-27T12:46:35.000Z | from .feature_selection import DropInactive
from .feature_selection import DropLowInfo
__all__ = ['DropInactive', 'DropLowInfo']
| 21.833333 | 43 | 0.816794 | 13 | 131 | 7.769231 | 0.538462 | 0.217822 | 0.39604 | 0.514851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10687 | 131 | 5 | 44 | 26.2 | 0.863248 | 0 | 0 | 0 | 0 | 0 | 0.175573 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ed0057ed57aa10a9819c204029cd531ca94bacf3 | 8,881 | py | Python | official/nlp/keras_nlp/layers/on_device_embedding_test.py | akshit-protonn/models | 38c8c6fe4144c93d6aadd19981c2b90570c29eba | [
"Apache-2.0"
] | 8 | 2021-12-30T06:07:14.000Z | 2022-02-10T14:49:13.000Z | official/nlp/keras_nlp/layers/on_device_embedding_test.py | akshit-protonn/models | 38c8c6fe4144c93d6aadd19981c2b90570c29eba | [
"Apache-2.0"
] | 62 | 2021-06-09T00:47:27.000Z | 2021-09-24T09:06:58.000Z | official/nlp/keras_nlp/layers/on_device_embedding_test.py | akshit-protonn/models | 38c8c6fe4144c93d6aadd19981c2b90570c29eba | [
"Apache-2.0"
] | 2 | 2021-08-17T22:07:17.000Z | 2021-12-25T12:25:47.000Z | # Copyright 2021 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 41.5 | 101 | 0.742146 | 1,249 | 8,881 | 5.048038 | 0.141713 | 0.079937 | 0.026963 | 0.021412 | 0.851229 | 0.851229 | 0.849326 | 0.847423 | 0.847423 | 0.847423 | 0 | 0.017351 | 0.182299 | 8,881 | 213 | 102 | 41.694836 | 0.850868 | 0.307623 | 0 | 0.866667 | 0 | 0 | 0.009843 | 0 | 0 | 0 | 0 | 0 | 0.096296 | 1 | 0.066667 | false | 0 | 0.02963 | 0 | 0.103704 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ed2d041168bea96cee5b50310c56380377498662 | 570 | py | Python | train_ricord1a_timm-regnetx_002_gaussian_blur.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | train_ricord1a_timm-regnetx_002_gaussian_blur.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | train_ricord1a_timm-regnetx_002_gaussian_blur.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import os
ls=["python main.py --configs configs/train_ricord1a_unetplusplus_timm-regnetx_002_fold0_gaussian_blur.yml",
"python main.py --configs configs/train_ricord1a_unetplusplus_timm-regnetx_002_fold1_gaussian_blur.yml",
"python main.py --configs configs/train_ricord1a_unetplusplus_timm-regnetx_002_fold2_gaussian_b... | 51.818182 | 108 | 0.854386 | 85 | 570 | 5.317647 | 0.294118 | 0.110619 | 0.132743 | 0.210177 | 0.85177 | 0.85177 | 0.85177 | 0.85177 | 0.85177 | 0.85177 | 0 | 0.046382 | 0.054386 | 570 | 11 | 109 | 51.818182 | 0.792208 | 0 | 0 | 0 | 0 | 0 | 0.884413 | 0.665499 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ed324b3cc4c245e36abfe1a2c5c7bf412ab9bfd7 | 3,378 | py | Python | python/testData/inspections/PyUnboundLocalVariableInspection/TooLargeToAnalyze.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyUnboundLocalVariableInspection/TooLargeToAnalyze.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyUnboundLocalVariableInspection/TooLargeToAnalyze.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | f1 = 10
print(f1)
if f1:
a1 = 1
a2 = 2
a3 = 3
a4 = 4
a5 = 5
a6 = 6
elif f1:
print(f1)
print(f1)
print(f1)
print(f1)
print(f1)
a1 = 1
a2 = 2
a3 = 3
a4 = 4
a5 = 5
elif f1:
print(f1)
print(f1)
print(f1)
print(f1)
print(f1)
print(f1)
... | 11.373737 | 13 | 0.582297 | 589 | 3,378 | 3.339559 | 0.03056 | 0.946619 | 1.207931 | 1.843416 | 0.989832 | 0.989832 | 0.989832 | 0.989832 | 0.989832 | 0.989832 | 0 | 0.125396 | 0.251628 | 3,378 | 297 | 14 | 11.373737 | 0.65269 | 0 | 0 | 0.986441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.901695 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 1 | 0 | 11 |
ed35bc2f2f5bb81b718140ac6afd93e90cfb3a1f | 110 | py | Python | gym_snake/envs/__init__.py | Gregory-Eales/gym-snake | 55c9b2e7d0400ba901eadc09355f6136bf1579cb | [
"MIT"
] | null | null | null | gym_snake/envs/__init__.py | Gregory-Eales/gym-snake | 55c9b2e7d0400ba901eadc09355f6136bf1579cb | [
"MIT"
] | null | null | null | gym_snake/envs/__init__.py | Gregory-Eales/gym-snake | 55c9b2e7d0400ba901eadc09355f6136bf1579cb | [
"MIT"
] | null | null | null | from gym_snake.envs.snake_env import SnakeEnv
from gym_snake.envs.snake_extrahard_env import SnakeExtraHardEnv | 55 | 64 | 0.9 | 17 | 110 | 5.529412 | 0.529412 | 0.148936 | 0.255319 | 0.340426 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063636 | 110 | 2 | 64 | 55 | 0.912621 | 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 | 1 | 0 | 0 | 7 |
ed45942adb1bb0ea9919f4df313d66aa1fe170e7 | 5,328 | py | Python | tests/command_test.py | Lissandre/stakkr | 9948b3daa4e94cbce80376f24bae4f850c3bc4ca | [
"Apache-2.0"
] | null | null | null | tests/command_test.py | Lissandre/stakkr | 9948b3daa4e94cbce80376f24bae4f850c3bc4ca | [
"Apache-2.0"
] | null | null | null | tests/command_test.py | Lissandre/stakkr | 9948b3daa4e94cbce80376f24bae4f850c3bc4ca | [
"Apache-2.0"
] | null | null | null | import io
import os
import re
import sys
import unittest
from contextlib import redirect_stdout
from stakkr.command import launch_cmd_displays_output
base_dir = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, base_dir + '/../')
# https://docs.python.org/3/library/unittest.html#assert-methods
class Com... | 28.956522 | 90 | 0.58765 | 639 | 5,328 | 4.677621 | 0.156495 | 0.048177 | 0.091 | 0.123118 | 0.822683 | 0.809301 | 0.799264 | 0.799264 | 0.780863 | 0.780863 | 0 | 0.001356 | 0.308183 | 5,328 | 183 | 91 | 29.114754 | 0.80955 | 0.053491 | 0 | 0.785714 | 0 | 0 | 0.033976 | 0 | 0 | 0 | 0 | 0.005464 | 0.107143 | 1 | 0.057143 | false | 0 | 0.1 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ed6fb6df75d06313f4d24356855e82c8f3e7c651 | 124 | py | Python | pybasicbayes/util/__init__.py | dhb2128/pybasicbayes | 61f65ad6c781288605ec5f7347efcc5dbd73c4fc | [
"MIT"
] | 122 | 2015-02-11T11:54:47.000Z | 2021-10-31T16:45:55.000Z | pybasicbayes/util/__init__.py | dhb2128/pybasicbayes | 61f65ad6c781288605ec5f7347efcc5dbd73c4fc | [
"MIT"
] | 30 | 2015-02-27T00:22:14.000Z | 2022-01-06T17:46:26.000Z | pybasicbayes/util/__init__.py | dhb2128/pybasicbayes | 61f65ad6c781288605ec5f7347efcc5dbd73c4fc | [
"MIT"
] | 51 | 2015-02-16T21:24:32.000Z | 2021-11-02T15:38:16.000Z | from __future__ import absolute_import
__all__ = ['general','plot','stats','text']
from . import general, plot, stats, text
| 31 | 43 | 0.741935 | 16 | 124 | 5.1875 | 0.5625 | 0.26506 | 0.385542 | 0.481928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 124 | 3 | 44 | 41.333333 | 0.754545 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ed786e6112b3b072bad417e1e2a4f9519202c222 | 18,787 | py | Python | gnosis/safe/tests/test_safe_create2_tx.py | gosuto-ai/gnosis-py | 637ce5c92f208f0e1d4f5e0687c10f378cfdff56 | [
"MIT"
] | 1 | 2021-10-21T06:43:52.000Z | 2021-10-21T06:43:52.000Z | gnosis/safe/tests/test_safe_create2_tx.py | HonzaDajc/gnosis-py | a2ab705f98479c4e46ca2b225a4bc75a773d69a7 | [
"MIT"
] | null | null | null | gnosis/safe/tests/test_safe_create2_tx.py | HonzaDajc/gnosis-py | a2ab705f98479c4e46ca2b225a4bc75a773d69a7 | [
"MIT"
] | 2 | 2021-07-14T10:02:16.000Z | 2021-08-02T22:04:41.000Z | import logging
from django.test import TestCase
from eth_account import Account
from gnosis.eth.contracts import get_safe_contract, get_safe_V1_0_0_contract
from ..safe_create2_tx import SafeCreate2TxBuilder
from .safe_test_case import SafeTestCaseMixin
from .utils import generate_salt_nonce
logger = logging.getLo... | 58.52648 | 132 | 0.561612 | 1,809 | 18,787 | 5.443339 | 0.075732 | 0.082868 | 0.096679 | 0.045699 | 0.871331 | 0.86016 | 0.831421 | 0.813547 | 0.809587 | 0.79476 | 0 | 0.011443 | 0.372013 | 18,787 | 320 | 133 | 58.709375 | 0.82319 | 0.012455 | 0 | 0.806691 | 0 | 0.003717 | 0.020433 | 0 | 0 | 0 | 0 | 0 | 0.219331 | 1 | 0.022305 | false | 0 | 0.026022 | 0 | 0.052045 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
92bc92121d7877f23c1312e7f7d9da993158000b | 88,012 | py | Python | sfof/python/euclid/dm/_dtd.py | sfarrens/sfof | f887abc0dbd1587fd7fbc7148b4704d1b5f4cdac | [
"MIT"
] | 13 | 2017-06-15T16:56:29.000Z | 2021-12-08T20:44:39.000Z | sfof/python/euclid/dm/_dtd.py | umikanero/sfof | 9aa7b09ccb12311a68373e4e516dee82fa5c428e | [
"MIT"
] | 6 | 2020-05-30T07:40:59.000Z | 2020-11-30T12:25:14.000Z | sfof/python/euclid/dm/_dtd.py | umikanero/sfof | 9aa7b09ccb12311a68373e4e516dee82fa5c428e | [
"MIT"
] | 4 | 2018-02-24T02:12:24.000Z | 2021-06-03T07:22:15.000Z | # /home/sartor/pymodule/euclid/dm/_dtd.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:b271ffc25c73f887dbff4e054cfd41e733c35b7f
# Generated 2014-07-24 16:26:39.931170 by PyXB version 1.2.3
# Namespace http://euclid.esa.org/schema/bas/dtd [xmlns:dtd]
import pyxb
import pyxb.binding
import pyxb.binding.saxer
import io... | 60.656099 | 339 | 0.767043 | 11,317 | 88,012 | 5.781568 | 0.046214 | 0.040517 | 0.041571 | 0.061623 | 0.858826 | 0.843894 | 0.812532 | 0.794712 | 0.786551 | 0.739814 | 0 | 0.026966 | 0.10886 | 88,012 | 1,450 | 340 | 60.697931 | 0.80727 | 0.07474 | 0 | 0.502756 | 1 | 0.185226 | 0.284167 | 0.24756 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.034179 | null | null | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
92d79b7cfb1111cf79a5b879bdc0bdfbaae38d76 | 218,204 | py | Python | services/core/src/oci_cli_blockstorage/generated/blockstorage_cli.py | andrewtvuong/oci-cli | 7673a808613308a4899c7026964fa2383c30c397 | [
"Apache-2.0"
] | null | null | null | services/core/src/oci_cli_blockstorage/generated/blockstorage_cli.py | andrewtvuong/oci-cli | 7673a808613308a4899c7026964fa2383c30c397 | [
"Apache-2.0"
] | null | null | null | services/core/src/oci_cli_blockstorage/generated/blockstorage_cli.py | andrewtvuong/oci-cli | 7673a808613308a4899c7026964fa2383c30c397 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
from __future__ import print_function
import click
import oci # noqa: F401
import six # noqa: F401
import sys # noqa: F401
from oci_cli import cli_constants # noqa: F401
from oci_cli import cli_util
from oci_cli import j... | 71.542295 | 694 | 0.728071 | 31,179 | 218,204 | 4.902915 | 0.01857 | 0.03503 | 0.028489 | 0.014836 | 0.976503 | 0.9714 | 0.96183 | 0.954111 | 0.945731 | 0.931444 | 0 | 0.002853 | 0.164617 | 218,204 | 3,049 | 695 | 71.565759 | 0.835773 | 0.027566 | 0 | 0.842915 | 0 | 0.112146 | 0.457393 | 0.029008 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027126 | false | 0.029555 | 0.010931 | 0 | 0.038057 | 0.000405 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
92da891874db4b4e17a4134d71687df1ba569834 | 27,270 | py | Python | stubs.min/System/__init___parts/Math.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/System/__init___parts/Math.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/__init___parts/Math.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class Math(object):
""" Provides constants and static methods for trigonometric,logarithmic,and other common mathematical functions. """
@staticmethod
def Abs(value):
"""
Abs(value: Single) -> Single
Returns the absolute value of a single-precision floating-point number.
value: A number ... | 35.507813 | 118 | 0.676384 | 3,906 | 27,270 | 4.719662 | 0.066564 | 0.040683 | 0.029509 | 0.034934 | 0.833523 | 0.784161 | 0.751505 | 0.692596 | 0.640683 | 0.602658 | 0 | 0.023329 | 0.258086 | 27,270 | 767 | 119 | 35.554107 | 0.887851 | 0.864943 | 0 | 0.468468 | 0 | 0 | 0.082937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.234234 | false | 0.234234 | 0 | 0 | 0.27027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
136a9ecf326f653eb63bd6476ddc5300198cdca4 | 3,433 | py | Python | test/test_gits_sync.py | oaaky/GITS | 2254f298df158b5d085015c4cf9b542b059b3a6c | [
"MIT"
] | 2 | 2020-11-11T08:45:07.000Z | 2021-09-02T18:36:21.000Z | test/test_gits_sync.py | oaaky/GITS | 2254f298df158b5d085015c4cf9b542b059b3a6c | [
"MIT"
] | 24 | 2020-10-01T16:55:05.000Z | 2020-10-27T02:51:25.000Z | test/test_gits_sync.py | oaaky/GITS | 2254f298df158b5d085015c4cf9b542b059b3a6c | [
"MIT"
] | 15 | 2020-10-02T03:43:30.000Z | 2021-10-01T03:48:32.000Z | import argparse
import os
import sys
sys.path.insert(1, os.getcwd())
from gits_sync import gits_sync
from mock import patch, Mock
def parse_args(args):
parser = argparse.ArgumentParser()
return parser.parse_args(args)
@patch("argparse.ArgumentParser.parse_args",
return_value=argparse.Namespace(sour... | 33.656863 | 105 | 0.7291 | 466 | 3,433 | 5.060086 | 0.148069 | 0.093299 | 0.047498 | 0.054283 | 0.891009 | 0.891009 | 0.891009 | 0.891009 | 0.873198 | 0.862595 | 0 | 0.001733 | 0.159336 | 3,433 | 101 | 106 | 33.990099 | 0.815315 | 0.083309 | 0 | 0.767123 | 0 | 0 | 0.236876 | 0.143876 | 0 | 0 | 0 | 0 | 0.109589 | 1 | 0.068493 | false | 0 | 0.068493 | 0 | 0.150685 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1392fe3e1be64eaca6abf26910b770843a5e6c74 | 48,371 | py | Python | graphql/language/tests/test_visitor.py | ThanksBoomerang/graphql-core-legacy | 6e2fbccdec655ce9122b84d3808c14242c4e6b96 | [
"MIT"
] | 8 | 2020-03-23T21:34:02.000Z | 2021-11-12T11:27:45.000Z | graphql/language/tests/test_visitor.py | ThanksBoomerang/graphql-core-legacy | 6e2fbccdec655ce9122b84d3808c14242c4e6b96 | [
"MIT"
] | 17 | 2020-03-14T22:22:29.000Z | 2022-03-16T19:26:37.000Z | graphql/language/tests/test_visitor.py | ThanksBoomerang/graphql-core-legacy | 6e2fbccdec655ce9122b84d3808c14242c4e6b96 | [
"MIT"
] | 17 | 2020-03-23T12:06:23.000Z | 2022-02-13T05:33:32.000Z | from graphql.language.ast import (
Document,
Field,
Name,
OperationDefinition,
SelectionSet,
)
from graphql.language.parser import parse
from graphql.language.printer import print_ast
from graphql.language.visitor import (
BREAK,
REMOVE,
ParallelVisitor,
TypeInfoVisitor,
Visitor,... | 40.376461 | 88 | 0.50154 | 4,682 | 48,371 | 5.070056 | 0.033533 | 0.0618 | 0.041621 | 0.030795 | 0.890387 | 0.843373 | 0.816244 | 0.796487 | 0.780773 | 0.760974 | 0 | 0.003333 | 0.292882 | 48,371 | 1,197 | 89 | 40.410192 | 0.690679 | 0.068326 | 0 | 0.765504 | 0 | 0 | 0.276264 | 0 | 0 | 0 | 0 | 0 | 0.028101 | 1 | 0.054264 | false | 0 | 0.01938 | 0 | 0.107558 | 0.001938 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
13a41edd3c4f4b97f6dbc2d960202fd14d839f6b | 49,903 | py | Python | venv/lib/python3.8/site-packages/spaceone/api/inventory/v1/cloud_service_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/inventory/v1/cloud_service_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/inventory/v1/cloud_service_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: spaceone/api/inventory/v1/cloud_service.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as... | 54.066089 | 5,243 | 0.769373 | 6,470 | 49,903 | 5.626275 | 0.048223 | 0.045052 | 0.075683 | 0.074337 | 0.831877 | 0.796879 | 0.787622 | 0.725867 | 0.699302 | 0.680127 | 0 | 0.042209 | 0.107929 | 49,903 | 922 | 5,244 | 54.124729 | 0.775501 | 0.021882 | 0 | 0.702202 | 1 | 0.008111 | 0.259269 | 0.225574 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00927 | 0 | 0.00927 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
13b5ccd05f6c1d1c936ed0eb30ad6fa04036ac14 | 1,060 | py | Python | python/src/tests/t_autoflush.py | atrsoftgmbh/atrshmlog | 4ca1a2cc6ff26890a02d74db378e597353f197d3 | [
"Apache-2.0"
] | null | null | null | python/src/tests/t_autoflush.py | atrsoftgmbh/atrshmlog | 4ca1a2cc6ff26890a02d74db378e597353f197d3 | [
"Apache-2.0"
] | null | null | null | python/src/tests/t_autoflush.py | atrsoftgmbh/atrshmlog | 4ca1a2cc6ff26890a02d74db378e597353f197d3 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
#
# $Id:$
#
# We test a bit of the atrshmlog here.
#
# This is for the first starter, so only the basic things.
import sys
import atrshmlog
r = atrshmlog.attach()
print('attach : ' + str(r) + ' : ')
id = atrshmlog.get_autoflush()
print('autoflush : ' + str(id) + ' : ')
oldid = atrshmlog.set_aut... | 16.5625 | 58 | 0.621698 | 129 | 1,060 | 4.992248 | 0.27907 | 0.217391 | 0.263975 | 0.214286 | 0.75 | 0.75 | 0.75 | 0.75 | 0.75 | 0.743789 | 0 | 0.006977 | 0.188679 | 1,060 | 63 | 59 | 16.825397 | 0.74186 | 0.121698 | 0 | 0.615385 | 0 | 0 | 0.17679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.461538 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
b91f2d3fddc4918458d2f820bef661269ede4812 | 24,690 | py | Python | sdk/python/pulumi_scaleway/loadbalancer_frontend.py | stack72/pulumi-scaleway | 0242d1f058046f86fe4ea6f106872ecd08d10c3b | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2020-10-16T09:09:05.000Z | 2022-03-24T21:32:17.000Z | sdk/python/pulumi_scaleway/loadbalancer_frontend.py | stack72/pulumi-scaleway | 0242d1f058046f86fe4ea6f106872ecd08d10c3b | [
"ECL-2.0",
"Apache-2.0"
] | 34 | 2020-10-29T17:38:13.000Z | 2022-03-31T13:33:47.000Z | sdk/python/pulumi_scaleway/loadbalancer_frontend.py | stack72/pulumi-scaleway | 0242d1f058046f86fe4ea6f106872ecd08d10c3b | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2022-01-13T18:46:32.000Z | 2022-02-28T03:58:36.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 41.356784 | 182 | 0.598947 | 2,628 | 24,690 | 5.42618 | 0.088661 | 0.08331 | 0.065778 | 0.060168 | 0.862272 | 0.847756 | 0.838429 | 0.823913 | 0.810168 | 0.791234 | 0 | 0.010833 | 0.297124 | 24,690 | 596 | 183 | 41.426175 | 0.810879 | 0.403362 | 0 | 0.724528 | 1 | 0 | 0.108608 | 0.027881 | 0 | 0 | 0 | 0 | 0 | 1 | 0.158491 | false | 0.003774 | 0.026415 | 0 | 0.279245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b92a0b1f3222c8e2c4a8f441f7c23b827da34ed9 | 38,453 | py | Python | tests/mock_github.py | mogul/github-issue-lifecycle | c31a753b904799c57a7468bf590a280e8be3bb6f | [
"CC0-1.0"
] | 1 | 2017-06-08T11:37:21.000Z | 2017-06-08T11:37:21.000Z | tests/mock_github.py | mogul/github-issue-lifecycle | c31a753b904799c57a7468bf590a280e8be3bb6f | [
"CC0-1.0"
] | 2 | 2016-10-20T20:39:17.000Z | 2016-10-20T20:45:50.000Z | tests/mock_github.py | mogul/github-issue-lifecycle | c31a753b904799c57a7468bf590a280e8be3bb6f | [
"CC0-1.0"
] | 3 | 2016-10-20T20:32:06.000Z | 2021-02-15T10:00:02.000Z | import re
import requests
events_url_pattern = re.compile(r'issues/(\d+)/events')
def requests_get_stub(*args, **kwargs):
response = requests.get.return_value
if '/doesnot/exist/' in args[0]:
response.status_code = 404
response.ok = False
response.text = 'Repo not found'
ret... | 43.449718 | 79 | 0.610928 | 4,649 | 38,453 | 4.92579 | 0.052484 | 0.130306 | 0.150349 | 0.232358 | 0.930873 | 0.930742 | 0.926201 | 0.920306 | 0.915328 | 0.906026 | 0 | 0.043767 | 0.188334 | 38,453 | 884 | 80 | 43.498869 | 0.689949 | 0 | 0 | 0.848 | 0 | 0.033143 | 0.675708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001143 | false | 0 | 0.002286 | 0 | 0.005714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b978ebef515116570b2de3de0b095c38e443e199 | 38,175 | py | Python | src/layers.py | Sharut/Bilinear-Linformer | 025e2ffefe8bb57092cd4a912ea66ec3d65997e0 | [
"MIT"
] | null | null | null | src/layers.py | Sharut/Bilinear-Linformer | 025e2ffefe8bb57092cd4a912ea66ec3d65997e0 | [
"MIT"
] | null | null | null | src/layers.py | Sharut/Bilinear-Linformer | 025e2ffefe8bb57092cd4a912ea66ec3d65997e0 | [
"MIT"
] | null | null | null | #
# For licensing see accompanying LICENSE file.
# Copyright (C) 2019 Apple Inc. All Rights Reserved.
#
'''Capsule in PyTorch
TBD
'''
import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
import math
from .bilinear_sparse_routing import BilinearSparseRouting, BilinearRo... | 48.879641 | 214 | 0.591146 | 4,923 | 38,175 | 4.287629 | 0.071704 | 0.056282 | 0.081865 | 0.036005 | 0.847072 | 0.831959 | 0.808509 | 0.795338 | 0.787284 | 0.770371 | 0 | 0.015409 | 0.318324 | 38,175 | 780 | 215 | 48.942308 | 0.795681 | 0.129928 | 0 | 0.746094 | 0 | 0 | 0.011071 | 0 | 0 | 0 | 0 | 0.003846 | 0 | 1 | 0.074219 | false | 0 | 0.013672 | 0.015625 | 0.164063 | 0.003906 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b9e628c7670538883c0224471419833f2f3273e0 | 22,331 | py | Python | datadog_checks_base/tests/openmetrics/test_transformers/test_histogram.py | vbarbaresi/integrations-core | ab26ab1cd6c28a97c1ad1177093a93659658c7aa | [
"BSD-3-Clause"
] | null | null | null | datadog_checks_base/tests/openmetrics/test_transformers/test_histogram.py | vbarbaresi/integrations-core | ab26ab1cd6c28a97c1ad1177093a93659658c7aa | [
"BSD-3-Clause"
] | null | null | null | datadog_checks_base/tests/openmetrics/test_transformers/test_histogram.py | vbarbaresi/integrations-core | ab26ab1cd6c28a97c1ad1177093a93659658c7aa | [
"BSD-3-Clause"
] | null | null | null | # (C) Datadog, Inc. 2020-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
import pytest
from datadog_checks.dev.testing import requires_py3
from ..utils import get_check
pytestmark = [
requires_py3,
pytest.mark.openmetrics,
pytest.mark.openmetrics_transformers,
... | 48.971491 | 118 | 0.685907 | 3,196 | 22,331 | 4.47184 | 0.049124 | 0.086412 | 0.064652 | 0.094039 | 0.945144 | 0.938287 | 0.930171 | 0.920655 | 0.920095 | 0.920025 | 0 | 0.083615 | 0.166674 | 22,331 | 455 | 119 | 49.079121 | 0.6844 | 0.005777 | 0 | 0.755344 | 0 | 0.068884 | 0.648556 | 0.335451 | 0 | 0 | 0 | 0 | 0.114014 | 1 | 0.014252 | false | 0 | 0.007126 | 0 | 0.021378 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b9ecbee7ad731407ca361a14a9a038541cfa19a6 | 12,520 | py | Python | lib/ocr_correction.py | jarobyte91/post_ocr_correction | bae2e601c838a23cc31a82e10ed5cd1b10ccdac6 | [
"MIT"
] | 3 | 2021-11-15T08:29:39.000Z | 2021-12-20T21:56:54.000Z | lib/ocr_correction.py | jarobyte91/post_ocr_correction | bae2e601c838a23cc31a82e10ed5cd1b10ccdac6 | [
"MIT"
] | 3 | 2021-11-15T08:29:36.000Z | 2022-01-06T13:52:34.000Z | lib/ocr_correction.py | jarobyte91/post_ocr_correction | bae2e601c838a23cc31a82e10ed5cd1b10ccdac6 | [
"MIT"
] | 1 | 2021-11-08T20:15:52.000Z | 2021-11-08T20:15:52.000Z | from collections import Counter
import re
from math import exp
from metrics import levenshtein
import pandas as pd
from timeit import default_timer as t
from tqdm.notebook import tqdm
######################
# weighting functions
######################
def uniform(j, window_size):
return 1.0
def triangle(j, windo... | 49.68254 | 132 | 0.478195 | 1,156 | 12,520 | 4.956747 | 0.102076 | 0.101222 | 0.082897 | 0.069808 | 0.8363 | 0.828447 | 0.798429 | 0.776789 | 0.776789 | 0.776789 | 0 | 0.011163 | 0.413259 | 12,520 | 251 | 133 | 49.880478 | 0.768854 | 0.006629 | 0 | 0.816964 | 0 | 0 | 0.088736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026786 | false | 0 | 0.03125 | 0.004464 | 0.084821 | 0.049107 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b9f10df4ccd0e8fe899f5d96f5c7af4a1aeb1aeb | 1,248 | py | Python | decorators.py | munhanha/mtg-random | 30211f1c1824db41b0e4b6e237db2fccca9c43a8 | [
"BSD-3-Clause"
] | null | null | null | decorators.py | munhanha/mtg-random | 30211f1c1824db41b0e4b6e237db2fccca9c43a8 | [
"BSD-3-Clause"
] | null | null | null | decorators.py | munhanha/mtg-random | 30211f1c1824db41b0e4b6e237db2fccca9c43a8 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib.auth.decorators import user_passes_test
from django.contrib.auth import REDIRECT_FIELD_NAME
def is_staff(function=None, redirect_field_name=REDIRECT_FIELD_NAME, login_url=None):
"""
Decorator for views that checks that the user is staff, redirecting
to the log-in page if necessary.
Possi... | 28.363636 | 90 | 0.741186 | 169 | 1,248 | 5.213018 | 0.272189 | 0.132804 | 0.173666 | 0.113507 | 0.817253 | 0.817253 | 0.817253 | 0.817253 | 0.817253 | 0.817253 | 0 | 0 | 0.163462 | 1,248 | 44 | 91 | 28.363636 | 0.84387 | 0.379006 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.15 | 0.1 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
6a2603a2e44e85b57497520e7ff7bbfac46d9f5b | 7,326 | py | Python | customplotting.py | JAmarel/FilmThickness | 5c98580bd36b823448750ae008c838d0b49c5938 | [
"MIT"
] | null | null | null | customplotting.py | JAmarel/FilmThickness | 5c98580bd36b823448750ae008c838d0b49c5938 | [
"MIT"
] | null | null | null | customplotting.py | JAmarel/FilmThickness | 5c98580bd36b823448750ae008c838d0b49c5938 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
def HSM_Plot(RedIntensity,GreenIntensity,BlueIntensity,RedSTD,GreenSTD,BlueSTD,ExposureTimes):
"""Plots intensity values as recorded from imagej histograms vs ExposureTime.
Parameters
----------
RedIntensity: (N+1,) array.
Numpy array containi... | 35.391304 | 128 | 0.643871 | 1,063 | 7,326 | 4.377234 | 0.160865 | 0.034386 | 0.05158 | 0.038685 | 0.864174 | 0.856007 | 0.856007 | 0.828498 | 0.816677 | 0.792177 | 0 | 0.038945 | 0.20789 | 7,326 | 207 | 129 | 35.391304 | 0.762881 | 0.217854 | 0 | 0.776119 | 0 | 0 | 0.105903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029851 | false | 0 | 0.014925 | 0 | 0.052239 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e04ea17508243d8784ae7454a0e7b1014875f9a3 | 17,989 | py | Python | lib/_shr.py | zal-byte/SashinKakushi | 51d703855d4ade04d08c91b7618c65c27652267a | [
"MIT"
] | 1 | 2021-10-02T04:55:06.000Z | 2021-10-02T04:55:06.000Z | lib/_shr.py | zal-byte/SashinKakushi | 51d703855d4ade04d08c91b7618c65c27652267a | [
"MIT"
] | null | null | null | lib/_shr.py | zal-byte/SashinKakushi | 51d703855d4ade04d08c91b7618c65c27652267a | [
"MIT"
] | null | null | null | from pfpfpf import pyarmor_runtime
pyarmor_runtime()
__pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x09\x00\x61\x0d\x0d\x0a\x08\x2d\xa0\x01\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\x3a\x11\x00\x00\x00\x00\x00\x18\x47\x4b\xc7\x6a\xbf\xa8\xac\x6c\xa1\xdf\xc4\xa9\x8a\x2a\x78\x39\x00\x00\... | 4,497.25 | 17,935 | 0.750292 | 4,486 | 17,989 | 3.005573 | 0.059073 | 0.008455 | 0.008678 | 0.00712 | 0.002893 | 0.00178 | 0.00178 | 0 | 0 | 0 | 0 | 0.311012 | 0.0005 | 17,989 | 3 | 17,936 | 5,996.333333 | 0.438877 | 0 | 0 | 0 | 0 | 0.333333 | 0.99483 | 0.99483 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
164c6a736a37306e21f3b70be77bf916caee8bea | 33,182 | py | Python | scmer/_owlqn.py | KChen-lab/marker-selection | 3d6b015655095540ba3a0ab7e8682d4355065ad5 | [
"MIT"
] | 26 | 2020-12-04T05:10:47.000Z | 2022-02-25T02:26:27.000Z | scmer/_owlqn.py | KChen-lab/marker-selection | 3d6b015655095540ba3a0ab7e8682d4355065ad5 | [
"MIT"
] | 1 | 2021-01-23T21:29:03.000Z | 2021-01-24T12:04:12.000Z | scmer/_owlqn.py | KChen-lab/marker-selection | 3d6b015655095540ba3a0ab7e8682d4355065ad5 | [
"MIT"
] | 1 | 2021-11-19T00:38:10.000Z | 2021-11-19T00:38:10.000Z | import torch
from functools import reduce
from torch.optim.optimizer import Optimizer
from typing import Union
import numpy as np
def _cubic_interpolate(x1, f1, g1, x2, f2, g2, bounds=None):
# ported from https://github.com/torch/optim/blob/master/polyinterp.lua
# Compute bounds of interpolation area
if b... | 36.951002 | 142 | 0.514285 | 4,068 | 33,182 | 3.997542 | 0.10767 | 0.027549 | 0.014758 | 0.015742 | 0.820563 | 0.812016 | 0.792953 | 0.792953 | 0.787419 | 0.779916 | 0 | 0.017791 | 0.369869 | 33,182 | 897 | 143 | 36.992196 | 0.75996 | 0.241848 | 0 | 0.786596 | 0 | 0 | 0.030758 | 0 | 0 | 0 | 0 | 0 | 0.007055 | 1 | 0.037037 | false | 0 | 0.008818 | 0.007055 | 0.082892 | 0.008818 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1670fb8697e7e4f8f6138107ed519fe058aa9428 | 105 | py | Python | apraw/models/__init__.py | DankDumpster/APRAW | 4d301a4dc400edfb9e4562600062970ac4e7eb25 | [
"MIT"
] | 2 | 2020-04-21T23:44:19.000Z | 2020-04-22T00:24:36.000Z | apraw/models/__init__.py | DankDumpster/APRAW | 4d301a4dc400edfb9e4562600062970ac4e7eb25 | [
"MIT"
] | null | null | null | apraw/models/__init__.py | DankDumpster/APRAW | 4d301a4dc400edfb9e4562600062970ac4e7eb25 | [
"MIT"
] | 1 | 2020-04-21T19:10:37.000Z | 2020-04-21T19:10:37.000Z | from .redditor import Redditor
from .subreddits import Subreddits
from .reddit.redditor import Redditor | 35 | 37 | 0.838095 | 13 | 105 | 6.769231 | 0.384615 | 0.318182 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 3 | 37 | 35 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 7 |
168712f3667cd14e28b7cf1eb726dc1aae9a6767 | 2,991 | py | Python | project/tests/scripts/big_tests.py | LeDron12/c2eo | 4f0dc6ed79df0739bd834eda6a0f77f3caf4292c | [
"MIT"
] | 12 | 2021-08-05T12:12:09.000Z | 2022-03-08T13:33:53.000Z | project/tests/scripts/big_tests.py | LeDron12/c2eo | 4f0dc6ed79df0739bd834eda6a0f77f3caf4292c | [
"MIT"
] | 26 | 2021-08-23T10:25:37.000Z | 2022-03-30T12:56:08.000Z | project/tests/scripts/big_tests.py | LeDron12/c2eo | 4f0dc6ed79df0739bd834eda6a0f77f3caf4292c | [
"MIT"
] | 12 | 2021-08-17T09:20:07.000Z | 2022-03-31T13:37:28.000Z | from utests import unittest
from system_vars import *
import fun
class BigTests(unittest.TestCase):
def test_global_integer_vars(self):
fun.showname()
c_types = []
values = []
for _type in integer:
c_types += [_type]*7
values += [_type[-1], _type[-2], _type[... | 38.346154 | 86 | 0.51655 | 376 | 2,991 | 3.87234 | 0.119681 | 0.090659 | 0.061813 | 0.068681 | 0.930632 | 0.930632 | 0.930632 | 0.930632 | 0.930632 | 0.930632 | 0 | 0.043651 | 0.325978 | 2,991 | 77 | 87 | 38.844156 | 0.678571 | 0 | 0 | 0.885714 | 0 | 0 | 0.02006 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 1 | 0.057143 | false | 0 | 0.042857 | 0 | 0.114286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
16a67e9ba32dad890b0ed6a6df134ccabb5e31ca | 1,517 | py | Python | slavdict/dictionary/migrations/0038_auto_20180928_1556.py | slavdict/slavdict | 893886b80de413cb2bb6c0af5adba9c55aa6a7af | [
"CC0-1.0"
] | 1 | 2022-01-17T17:26:25.000Z | 2022-01-17T17:26:25.000Z | slavdict/dictionary/migrations/0038_auto_20180928_1556.py | slavdict/slavdict | 893886b80de413cb2bb6c0af5adba9c55aa6a7af | [
"CC0-1.0"
] | 8 | 2020-02-12T13:26:05.000Z | 2022-02-10T19:28:07.000Z | slavdict/dictionary/migrations/0038_auto_20180928_1556.py | slavdict/slavdict | 893886b80de413cb2bb6c0af5adba9c55aa6a7af | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.15 on 2018-09-28 15:56
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('dictionary', '0037_auto_20180901_0953'),
]
operations = [
migrations.AlterField(
model_name='meaning'... | 72.238095 | 1,144 | 0.651285 | 217 | 1,517 | 4.520737 | 0.391705 | 0.071356 | 0.061162 | 0.061162 | 0.155963 | 0.130479 | 0.103976 | 0.103976 | 0.103976 | 0.103976 | 0 | 0.389341 | 0.109427 | 1,517 | 20 | 1,145 | 75.85 | 0.336788 | 0.045485 | 0 | 0 | 1 | 0.25 | 0.620069 | 0.525952 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
16b0958e539fa1021c1417fa09f683ffae405da8 | 10,170 | py | Python | ethereum/accounts.py | sudohostname/ETH | abb3e73e3bb895308f16ae26cdaf4c326fee6eef | [
"MIT"
] | null | null | null | ethereum/accounts.py | sudohostname/ETH | abb3e73e3bb895308f16ae26cdaf4c326fee6eef | [
"MIT"
] | null | null | null | ethereum/accounts.py | sudohostname/ETH | abb3e73e3bb895308f16ae26cdaf4c326fee6eef | [
"MIT"
] | null | null | null | import requests as req
# accountslist = ["0x00000000219ab540356cbb839cbe05303d7705fa", "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
# "0xda9dfa130df4de4673b89022ee50ff26f6ea73cf","0x73bceb1cd57c711feac4224d062b0f6ff338501e","0xbe0eb53f46cd790cd13851d5eff43d12404d33e8","0x9bf4001d307dfd62b26a2f1307ee0c0307632d59","0x4... | 221.086957 | 4,419 | 0.914749 | 380 | 10,170 | 24.428947 | 0.365789 | 0.005171 | 0.010988 | 0.012281 | 0.950124 | 0.950124 | 0.950124 | 0.950124 | 0.943876 | 0.943876 | 0 | 0.523303 | 0.021042 | 10,170 | 45 | 4,420 | 226 | 0.4091 | 0.522026 | 0 | 0 | 0 | 0.263158 | 0.915342 | 0.893867 | 0 | 0 | 0.867231 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.052632 | 0 | 0.157895 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
16bcb1ab4c1b73b5d93272c8f2d769065f67d62c | 1,847 | py | Python | test/test_commands.py | nens/threedidepth | dbe38acc745202f39741b607000f3d3b1611d434 | [
"BSD-3-Clause"
] | null | null | null | test/test_commands.py | nens/threedidepth | dbe38acc745202f39741b607000f3d3b1611d434 | [
"BSD-3-Clause"
] | 16 | 2020-10-08T14:49:19.000Z | 2022-02-28T15:58:33.000Z | test/test_commands.py | nens/threedidepth | dbe38acc745202f39741b607000f3d3b1611d434 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from unittest import mock
import sys
from threedidepth import commands
def test_command(tmpdir):
depth_path = tmpdir.join("waterdepth.tif")
depth_path.ensure(file=True) # "touch" the file
with mock.patch("threedidepth.commands.calculate_waterdepth") as wd:
args = ["three... | 31.844828 | 78 | 0.567948 | 205 | 1,847 | 4.917073 | 0.278049 | 0.039683 | 0.064484 | 0.056548 | 0.848214 | 0.821429 | 0.821429 | 0.821429 | 0.821429 | 0.740079 | 0 | 0.007776 | 0.303736 | 1,847 | 57 | 79 | 32.403509 | 0.77605 | 0.029778 | 0 | 0.74 | 0 | 0 | 0.106264 | 0.04698 | 0 | 0 | 0 | 0 | 0.06 | 1 | 0.04 | false | 0 | 0.06 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
16c7abe823b990928d1630374a84d00e6615705f | 98 | py | Python | app/solver/__init__.py | muhammadzpw/python-8puzzle | e2fc5e790e8d5faa2e2fdb13a0a96b9e10f941ae | [
"MIT"
] | null | null | null | app/solver/__init__.py | muhammadzpw/python-8puzzle | e2fc5e790e8d5faa2e2fdb13a0a96b9e10f941ae | [
"MIT"
] | null | null | null | app/solver/__init__.py | muhammadzpw/python-8puzzle | e2fc5e790e8d5faa2e2fdb13a0a96b9e10f941ae | [
"MIT"
] | null | null | null | from app.solver.astar import *
from app.solver.solver import *
from app.solver.bestfirst import *
| 24.5 | 34 | 0.785714 | 15 | 98 | 5.133333 | 0.4 | 0.272727 | 0.506494 | 0.493506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 3 | 35 | 32.666667 | 0.895349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
bcb74410429a49642b124642e30add8117f0ab53 | 6,896 | py | Python | interfacecosmology/halomassfunction.py | rbiswas4/FluctuationsInCosmology | ecc973cea3a2516dfcd8efca080824539e920277 | [
"MIT"
] | null | null | null | interfacecosmology/halomassfunction.py | rbiswas4/FluctuationsInCosmology | ecc973cea3a2516dfcd8efca080824539e920277 | [
"MIT"
] | null | null | null | interfacecosmology/halomassfunction.py | rbiswas4/FluctuationsInCosmology | ecc973cea3a2516dfcd8efca080824539e920277 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#import utils
import numpy as np
import psutils as psu
import massfunctions as mf
def ____dndlnM ( M ,
ps ,
z = 0. ,
khmin = 1.0e-5,
khmax = 2.0 ,
logkhint = 0.005 ,
bgtype = "cb",
powerspectrumfile = "LCDM_matterpower.dat" ,
cosmo = None,
deltac = 1.686 ,
fittingform = "Bhattac... | 22.910299 | 72 | 0.629785 | 934 | 6,896 | 4.609208 | 0.171306 | 0.007433 | 0.018815 | 0.006969 | 0.925203 | 0.918235 | 0.914983 | 0.905459 | 0.905459 | 0.905459 | 0 | 0.051536 | 0.25435 | 6,896 | 300 | 73 | 22.986667 | 0.785687 | 0.517401 | 0 | 0.939759 | 0 | 0 | 0.075339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018072 | false | 0 | 0.018072 | 0 | 0.054217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
bcd6ec7b98415149bbe59ba0b377b106d95f151a | 97 | py | Python | OnePy/portfolio/myportfolio.py | sibuzu/OnePy | 464fca1c68a10f90ad128da3bfb03f05d2fc24bc | [
"MIT"
] | null | null | null | OnePy/portfolio/myportfolio.py | sibuzu/OnePy | 464fca1c68a10f90ad128da3bfb03f05d2fc24bc | [
"MIT"
] | null | null | null | OnePy/portfolio/myportfolio.py | sibuzu/OnePy | 464fca1c68a10f90ad128da3bfb03f05d2fc24bc | [
"MIT"
] | null | null | null | from OnePy.portfolio.portfoliobase import PortfolioBase
class Portfolio(PortfolioBase):
pass | 24.25 | 55 | 0.835052 | 10 | 97 | 8.1 | 0.7 | 0.54321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 97 | 4 | 56 | 24.25 | 0.94186 | 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 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
bceb8b728e66f3dee035f06dfd61e32824aa34f6 | 18,717 | py | Python | sajawal tech doxing tool/Attack.py | SajawalAslam/sajawal-tech-doxing-tool | 50bc547085a7febaa27c3787707fdfad4d1b7c64 | [
"MIT"
] | null | null | null | sajawal tech doxing tool/Attack.py | SajawalAslam/sajawal-tech-doxing-tool | 50bc547085a7febaa27c3787707fdfad4d1b7c64 | [
"MIT"
] | null | null | null | sajawal tech doxing tool/Attack.py | SajawalAslam/sajawal-tech-doxing-tool | 50bc547085a7febaa27c3787707fdfad4d1b7c64 | [
"MIT"
] | null | null | null | from pytransform import pyarmor_runtime
pyarmor_runtime()
__pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x09\x00\x61\x0d\x0d\x0a\x08\x2d\xa0\x01\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\xef\x11\x00\x00\x00\x00\x00\x18\x89\xdf\x78\x75\xec\xd7\xa0\xf1\x47\x3b\x71\x23\xa1\xf6\xf4\x9c\x00... | 6,239 | 18,659 | 0.750387 | 4,667 | 18,717 | 3.006428 | 0.056782 | 0.008125 | 0.008339 | 0.006842 | 0.00278 | 0.001711 | 0.001711 | 0 | 0 | 0 | 0 | 0.314608 | 0.000427 | 18,717 | 3 | 18,659 | 6,239 | 0.435352 | 0 | 0 | 0 | 0 | 0.333333 | 0.994764 | 0.994764 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
bcef1ecaff2afed43474645d90ce8865417b3b17 | 11,557 | py | Python | testing/testing_script.py | ShawonBarman/Blood-and-Platelet-Management-System | 0a1d4be41d42eca69dd8f8f3ed6ba7b15bcf5fc1 | [
"MIT"
] | null | null | null | testing/testing_script.py | ShawonBarman/Blood-and-Platelet-Management-System | 0a1d4be41d42eca69dd8f8f3ed6ba7b15bcf5fc1 | [
"MIT"
] | null | null | null | testing/testing_script.py | ShawonBarman/Blood-and-Platelet-Management-System | 0a1d4be41d42eca69dd8f8f3ed6ba7b15bcf5fc1 | [
"MIT"
] | null | null | null | from pyhtmlreport import Report
from selenium import webdriver
from selenium.webdriver.common.by import By
import time
report = Report()
driver = webdriver.Chrome(executable_path="F:\\Python program\\BPMS\\testing\\driver\\chromedriver.exe")
driver.maximize_window()
report.setup(
report_folder=r'F:\Python program\BP... | 25.739421 | 104 | 0.663927 | 1,475 | 11,557 | 5.104407 | 0.091525 | 0.078895 | 0.107584 | 0.063089 | 0.902643 | 0.870634 | 0.861336 | 0.827467 | 0.713375 | 0.679107 | 0 | 0.028161 | 0.204205 | 11,557 | 448 | 105 | 25.796875 | 0.790475 | 0.011595 | 0 | 0.658163 | 0 | 0 | 0.304893 | 0.086198 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.056122 | 0.010204 | 0 | 0.010204 | 0.010204 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
4c0286a5b6ee6de2fe72778259b5c5177e0bdf8e | 98 | py | Python | src/linearAlgebra/vector/sum_of_squares.py | DiyazY/datascience-study | c738ba4ba1570f750ba5cb4bb31e4fb4a9e8d9ef | [
"MIT"
] | null | null | null | src/linearAlgebra/vector/sum_of_squares.py | DiyazY/datascience-study | c738ba4ba1570f750ba5cb4bb31e4fb4a9e8d9ef | [
"MIT"
] | null | null | null | src/linearAlgebra/vector/sum_of_squares.py | DiyazY/datascience-study | c738ba4ba1570f750ba5cb4bb31e4fb4a9e8d9ef | [
"MIT"
] | null | null | null | from dot import dot
def sum_of_squares(v):
return dot(v, v)
# print(sum_of_squares([1,2,3])) | 16.333333 | 32 | 0.683673 | 20 | 98 | 3.15 | 0.65 | 0.15873 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.163265 | 98 | 6 | 32 | 16.333333 | 0.731707 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
4c4e2b036ecbfdf7dd655079d5a88be757de6d83 | 6,529 | py | Python | pyhouse/test/test_house.py | yusueliu/ut-pood-python | 230fc0f744248d4c40e82f45544d4a8f1a28c870 | [
"MIT"
] | null | null | null | pyhouse/test/test_house.py | yusueliu/ut-pood-python | 230fc0f744248d4c40e82f45544d4a8f1a28c870 | [
"MIT"
] | null | null | null | pyhouse/test/test_house.py | yusueliu/ut-pood-python | 230fc0f744248d4c40e82f45544d4a8f1a28c870 | [
"MIT"
] | 1 | 2020-04-30T14:21:48.000Z | 2020-04-30T14:21:48.000Z | import unittest
import pytest
from pyhouse.lib.house import House, PirateHouse
class PirateHouseTest(unittest.TestCase):
def setUp(self):
self.tale = PirateHouse()
def test_line_1(self):
expected = "Thar be the house that Jack built.\n"
self.assertEqual(expected, self.tale.line(1))
c... | 70.204301 | 438 | 0.744831 | 1,164 | 6,529 | 4.146048 | 0.073883 | 0.02901 | 0.062163 | 0.082884 | 0.934107 | 0.900332 | 0.892872 | 0.877953 | 0.877953 | 0.866142 | 0 | 0.006233 | 0.213662 | 6,529 | 93 | 439 | 70.204301 | 0.933775 | 0 | 0 | 0.092308 | 0 | 0.276923 | 0.725727 | 0 | 0 | 0 | 0 | 0 | 0.215385 | 1 | 0.246154 | false | 0 | 0.046154 | 0 | 0.323077 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.