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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5939ee11ff67ec65e4804c78a1e6684fc71b4f3b | 47 | py | Python | Helper/SystemHelper.py | vuthithuhuyen/milk-pasteurization-prediction | 44e0e228f53d61c0a2fa1ed12c4803fd20ac3aad | [
"Apache-2.0"
] | 2 | 2022-02-10T02:10:27.000Z | 2022-02-11T07:43:01.000Z | Helper/SystemHelper.py | vuthithuhuyen/milk-pasteurization-prediction | 44e0e228f53d61c0a2fa1ed12c4803fd20ac3aad | [
"Apache-2.0"
] | null | null | null | Helper/SystemHelper.py | vuthithuhuyen/milk-pasteurization-prediction | 44e0e228f53d61c0a2fa1ed12c4803fd20ac3aad | [
"Apache-2.0"
] | 1 | 2022-02-10T02:10:29.000Z | 2022-02-10T02:10:29.000Z | import sys
def ExitProgram():
sys.exit(0) | 9.4 | 18 | 0.659574 | 7 | 47 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.212766 | 47 | 5 | 19 | 9.4 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
59490c72d4e0b9edae2fcde2a34d5ffbcae1262f | 210 | py | Python | func/character.py | aronabot/arona_bot | 22fee12a1c026c2788b6f3b8358bd01c592ae13f | [
"MIT"
] | 1 | 2021-11-12T14:45:53.000Z | 2021-11-12T14:45:53.000Z | func/character.py | aronabot/arona_bot | 22fee12a1c026c2788b6f3b8358bd01c592ae13f | [
"MIT"
] | null | null | null | func/character.py | aronabot/arona_bot | 22fee12a1c026c2788b6f3b8358bd01c592ae13f | [
"MIT"
] | 1 | 2021-03-17T15:45:05.000Z | 2021-03-17T15:45:05.000Z | from discord.ext import commands
import arona
class Character(commands.Cog):
def __init__(self, arona: arona.Arona):
pass
def setup(arona: arona.Arona):
arona.add_cog(Character(arona)) | 23.333333 | 44 | 0.7 | 28 | 210 | 5.071429 | 0.535714 | 0.352113 | 0.316901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 210 | 9 | 45 | 23.333333 | 0.845238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.285714 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
3cd0d51e07a7987e1a8a488badcbf767ba1c03b7 | 2,662 | py | Python | tests/dicts/test_update.py | skippyprime/configs | f40bc01f1f00e32038e3aeeaa04dec600f9378f8 | [
"Apache-2.0"
] | null | null | null | tests/dicts/test_update.py | skippyprime/configs | f40bc01f1f00e32038e3aeeaa04dec600f9378f8 | [
"Apache-2.0"
] | null | null | null | tests/dicts/test_update.py | skippyprime/configs | f40bc01f1f00e32038e3aeeaa04dec600f9378f8 | [
"Apache-2.0"
] | null | null | null | import pytest
from assertpy import assert_that
def test_update_with_mapping():
from figtree.dictconfig import DictConfiguration
conf = DictConfiguration({
'one': 'a'
})
conf['two.child.grandchild'] = 1
assert_that(conf).is_equal_to({
'one': 'a',
'two': {
'ch... | 19.573529 | 58 | 0.592412 | 284 | 2,662 | 5.376761 | 0.15493 | 0.05239 | 0.11002 | 0.141454 | 0.937132 | 0.937132 | 0.903733 | 0.903733 | 0.820563 | 0.815324 | 0 | 0.004734 | 0.285875 | 2,662 | 135 | 59 | 19.718519 | 0.798527 | 0.053719 | 0 | 0.730337 | 0 | 0 | 0.112216 | 0.031039 | 0 | 0 | 0 | 0 | 0.089888 | 1 | 0.089888 | false | 0 | 0.11236 | 0 | 0.202247 | 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 |
59686280b98b79a6acd0fcd8b621b2188e8b59ca | 32 | py | Python | src/my_package/my_package/submodule_c/c.py | DarkTrick/python_project_template | 80657bcc34c53c3e70f4166408d855de494473e3 | [
"CC0-1.0"
] | null | null | null | src/my_package/my_package/submodule_c/c.py | DarkTrick/python_project_template | 80657bcc34c53c3e70f4166408d855de494473e3 | [
"CC0-1.0"
] | null | null | null | src/my_package/my_package/submodule_c/c.py | DarkTrick/python_project_template | 80657bcc34c53c3e70f4166408d855de494473e3 | [
"CC0-1.0"
] | null | null | null | def c():
return "c was called" | 16 | 23 | 0.625 | 6 | 32 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 2 | 23 | 16 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
59d04f49cf5bbc7594eb37bd3f9e618dc4a771da | 38 | py | Python | src/lib/atexit.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/atexit.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/atexit.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("atexit")
| 19 | 37 | 0.763158 | 6 | 38 | 4 | 0.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 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 |
ab72d7cd081e9fbef17a09d25a9c68d6eb207a41 | 105 | py | Python | weld-python/weld/grizzly/__init__.py | tustvold/weld | dcbba9a45ae2a190b31badec530ea54a58437606 | [
"BSD-3-Clause"
] | 2,912 | 2017-03-16T19:32:54.000Z | 2022-03-30T09:03:11.000Z | weld-python/weld/grizzly/__init__.py | QiangHeisenberg/weld | 0926f84f6f4361e40842fcd6e00b7afdcc10a87f | [
"BSD-3-Clause"
] | 285 | 2017-03-16T18:01:00.000Z | 2021-08-12T10:58:23.000Z | weld-python/weld/grizzly/__init__.py | QiangHeisenberg/weld | 0926f84f6f4361e40842fcd6e00b7afdcc10a87f | [
"BSD-3-Clause"
] | 272 | 2017-03-17T06:28:58.000Z | 2022-02-24T04:22:02.000Z |
from weld.grizzly.core.frame import GrizzlyDataFrame
from weld.grizzly.core.series import GrizzlySeries
| 26.25 | 52 | 0.857143 | 14 | 105 | 6.428571 | 0.642857 | 0.177778 | 0.333333 | 0.422222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 105 | 3 | 53 | 35 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
abcf7c152d610e462501c5e2a1cc4d297a418a7c | 53 | py | Python | Contests/Wannafly/day5/2.py | DCTewi/My-Codes | 9904f8057ec96e21cbc8cf9c62a49658a0f6d392 | [
"MIT"
] | null | null | null | Contests/Wannafly/day5/2.py | DCTewi/My-Codes | 9904f8057ec96e21cbc8cf9c62a49658a0f6d392 | [
"MIT"
] | null | null | null | Contests/Wannafly/day5/2.py | DCTewi/My-Codes | 9904f8057ec96e21cbc8cf9c62a49658a0f6d392 | [
"MIT"
] | null | null | null | import math
print(1/math.sqrt(3))
print(math.sqrt(3)) | 17.666667 | 21 | 0.735849 | 11 | 53 | 3.545455 | 0.545455 | 0.410256 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 0.056604 | 53 | 3 | 22 | 17.666667 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
2802009c39b331c19da5878fb22adac45b00c88e | 19,220 | py | Python | tests/makeOverallTextAnalysis.py | ttm/gmaneLegacy | df9e0926c93358abdb632f7f9ce891330959c835 | [
"Unlicense"
] | 1 | 2019-04-25T16:31:12.000Z | 2019-04-25T16:31:12.000Z | tests/makeOverallTextAnalysis.py | ttm/gmaneLegacy | df9e0926c93358abdb632f7f9ce891330959c835 | [
"Unlicense"
] | null | null | null | tests/makeOverallTextAnalysis.py | ttm/gmaneLegacy | df9e0926c93358abdb632f7f9ce891330959c835 | [
"Unlicense"
] | null | null | null | import os
import gmaneLegacy as g
TDIR="/home/r/repos/artigoTextoNasRedes3/tables/SI2/"
files=os.listdir(TDIR)
files = [i for i in files if 'wnPOSInline2-n-' in i and 'tag' not in i]
adict = {1:{}, 2:{}, 3:{}}
for afile in files:
text = open(TDIR+afile,'r').read().replace('\\hline\\hline\\hline',
'\\h... | 36.332703 | 93 | 0.476275 | 2,782 | 19,220 | 3.231488 | 0.045291 | 0.048053 | 0.056062 | 0.087208 | 0.972748 | 0.960067 | 0.960067 | 0.960067 | 0.960067 | 0.960067 | 0 | 0.04232 | 0.316441 | 19,220 | 528 | 94 | 36.401515 | 0.641955 | 0.01051 | 0 | 0.944099 | 0 | 0 | 0.063029 | 0.012172 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004141 | 0 | 0.004141 | 0.041408 | 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 |
e6299b6cdf9f0f48473b770cb71341f2acaf6702 | 36,478 | py | Python | brownie/tests/test_exchange.py | SuperZooper3/AstroSwap | 86441eb099c8b518441cd9bb58bf8ac75e5709c1 | [
"MIT"
] | 1 | 2022-02-10T05:38:20.000Z | 2022-02-10T05:38:20.000Z | brownie/tests/test_exchange.py | SuperZooper3/AstroSwap | 86441eb099c8b518441cd9bb58bf8ac75e5709c1 | [
"MIT"
] | null | null | null | brownie/tests/test_exchange.py | SuperZooper3/AstroSwap | 86441eb099c8b518441cd9bb58bf8ac75e5709c1 | [
"MIT"
] | 1 | 2022-02-18T13:08:58.000Z | 2022-02-18T13:08:58.000Z | from scripts.helpers import smart_get_account, LOCAL_BLOCKCHAIN_ENVIRONMENTS, calculate_liquidity_pool_output
from scripts.runAstroSwap import deploy_erc20 , exchange_from_address
from brownie import network, accounts, config, AstroSwapExchange, AstroSwapFactory
import pytest
from random import randint
# All the excha... | 39.393089 | 179 | 0.661632 | 4,226 | 36,478 | 5.631803 | 0.061051 | 0.030756 | 0.026555 | 0.04979 | 0.844916 | 0.80105 | 0.772521 | 0.754538 | 0.748193 | 0.711849 | 0 | 0.06538 | 0.193267 | 36,478 | 926 | 180 | 39.393089 | 0.743374 | 0.094468 | 0 | 0.722461 | 0 | 0 | 0.073711 | 0.001278 | 0 | 0 | 0.001278 | 0 | 0.105866 | 1 | 0.051502 | false | 0 | 0.007153 | 0 | 0.060086 | 0.014306 | 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 |
e63bd12e80850b731f42225110c2f6ff1de50def | 5,873 | gyp | Python | third_party/cld/cld.gyp | zachlatta/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | 1 | 2021-09-24T22:49:10.000Z | 2021-09-24T22:49:10.000Z | third_party/cld/cld.gyp | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | third_party/cld/cld.gyp | changbai1980/chromium | c4625eefca763df86471d798ee5a4a054b4716ae | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'includes': [
'../../build/common.gypi',
],
'conditions': [
['OS=="win"', {
'targets': [
{
'target_name': 'cld',
... | 55.40566 | 105 | 0.656223 | 750 | 5,873 | 4.896 | 0.174667 | 0.170752 | 0.21732 | 0.25 | 0.759532 | 0.751906 | 0.71378 | 0.71378 | 0.71378 | 0.56781 | 0 | 0.032133 | 0.210455 | 5,873 | 105 | 106 | 55.933333 | 0.759758 | 0.027073 | 0 | 0.108911 | 0 | 0 | 0.729422 | 0.67303 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
e653ce8ccaf0760fc330c4172704848a0ec0a3e8 | 21,668 | py | Python | sdk/python/pulumi_alicloud/rocketmq/dnat_entry.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/rocketmq/dnat_entry.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/rocketmq/dnat_entry.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.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... | 43.336 | 304 | 0.638638 | 2,690 | 21,668 | 4.951673 | 0.0829 | 0.078453 | 0.097748 | 0.074324 | 0.876502 | 0.854354 | 0.831982 | 0.797823 | 0.765691 | 0.753904 | 0 | 0.011084 | 0.254707 | 21,668 | 499 | 305 | 43.422846 | 0.813735 | 0.375438 | 0 | 0.635338 | 1 | 0 | 0.101685 | 0.003012 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0.003759 | 0.018797 | 0 | 0.270677 | 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 |
052e4c47c6e2dcdfb761c327311252c09a2a0b74 | 54 | py | Python | nri/nri/models/__init__.py | take-cheeze/models | 3ded8fd062c57f20f6154cac2dd0d998181de755 | [
"MIT"
] | 112 | 2018-04-18T07:13:03.000Z | 2022-03-11T03:36:34.000Z | nri/nri/models/__init__.py | take-cheeze/models | 3ded8fd062c57f20f6154cac2dd0d998181de755 | [
"MIT"
] | 16 | 2018-05-11T11:41:08.000Z | 2021-04-24T03:50:54.000Z | nri/nri/models/__init__.py | take-cheeze/models | 3ded8fd062c57f20f6154cac2dd0d998181de755 | [
"MIT"
] | 45 | 2018-04-18T07:13:06.000Z | 2021-12-22T03:46:18.000Z | from nri.models import cnn
from nri.models import mlp
| 18 | 26 | 0.814815 | 10 | 54 | 4.4 | 0.6 | 0.318182 | 0.590909 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
0577982e959baa7ba68bfe5d0a4dfaed4ae8cd88 | 119 | py | Python | util/__init__.py | eyalbetzalel/flowplusplus | e6650aafcb8bc41e386996cf2fa15608a9f90c92 | [
"MIT"
] | 33 | 2019-02-19T08:28:09.000Z | 2022-03-29T03:55:14.000Z | util/__init__.py | eyalbetzalel/flowplusplus | e6650aafcb8bc41e386996cf2fa15608a9f90c92 | [
"MIT"
] | 5 | 2019-10-01T10:12:41.000Z | 2021-07-16T04:45:58.000Z | util/__init__.py | eyalbetzalel/flowplusplus | e6650aafcb8bc41e386996cf2fa15608a9f90c92 | [
"MIT"
] | 11 | 2019-02-19T08:32:14.000Z | 2021-09-15T21:13:32.000Z | from util.array_util import *
from util.norm_util import *
from util.optim_util import *
from util.shell_util import *
| 23.8 | 29 | 0.798319 | 20 | 119 | 4.55 | 0.35 | 0.351648 | 0.461538 | 0.593407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134454 | 119 | 4 | 30 | 29.75 | 0.883495 | 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 |
0588821bf1e8a92d50a85216bc57b4b9a0b6097a | 181 | py | Python | {{ cookiecutter.project_name }}/{{ cookiecutter.package_slug }}/__init__.py | mysketches/data-science-blueprint | 385d6ae8a21e32e99a453bf4e10ee006c007ca38 | [
"MIT"
] | 11 | 2020-05-09T04:58:22.000Z | 2021-09-18T04:42:34.000Z | {{ cookiecutter.project_name }}/{{ cookiecutter.package_slug }}/__init__.py | mysketches/data-science-blueprint | 385d6ae8a21e32e99a453bf4e10ee006c007ca38 | [
"MIT"
] | null | null | null | {{ cookiecutter.project_name }}/{{ cookiecutter.package_slug }}/__init__.py | mysketches/data-science-blueprint | 385d6ae8a21e32e99a453bf4e10ee006c007ca38 | [
"MIT"
] | 2 | 2020-05-08T15:48:17.000Z | 2021-12-28T14:41:57.000Z | from .operator.dataframe import tolower
from .operator.dataframe import toupper
from .operator.generator import generate
__all__ = [
'tolower',
'toupper',
'generate'
]
| 18.1 | 40 | 0.729282 | 19 | 181 | 6.736842 | 0.473684 | 0.28125 | 0.328125 | 0.421875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176796 | 181 | 9 | 41 | 20.111111 | 0.85906 | 0 | 0 | 0 | 1 | 0 | 0.121547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
e9ae27cc4ab755e401923cac5fb864725a7cc753 | 45 | py | Python | QtSpreadSheet/__init__.py | kevinfol/QtSpreadSheet | 08d57025bab7f0addf7ea37843b0ed7eb3682a54 | [
"MIT"
] | null | null | null | QtSpreadSheet/__init__.py | kevinfol/QtSpreadSheet | 08d57025bab7f0addf7ea37843b0ed7eb3682a54 | [
"MIT"
] | null | null | null | QtSpreadSheet/__init__.py | kevinfol/QtSpreadSheet | 08d57025bab7f0addf7ea37843b0ed7eb3682a54 | [
"MIT"
] | null | null | null | from .QtSpreadSheet import QSpreadSheetWidget | 45 | 45 | 0.911111 | 4 | 45 | 10.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.97619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
75694e69cd7faed406cfcb4b208fcdc8e7662476 | 284 | py | Python | layoutlmft/layoutlmft/models/layoutxlm/__init__.py | Maria-philna/unilm | 5550a335c6d2ae5838b1a90e50cb46f81edcd50f | [
"MIT"
] | 5,129 | 2019-09-30T11:21:03.000Z | 2022-03-31T22:35:12.000Z | layoutlmft/layoutlmft/models/layoutxlm/__init__.py | Maria-philna/unilm | 5550a335c6d2ae5838b1a90e50cb46f81edcd50f | [
"MIT"
] | 604 | 2019-10-05T00:39:46.000Z | 2022-03-31T11:12:07.000Z | layoutlmft/layoutlmft/models/layoutxlm/__init__.py | Maria-philna/unilm | 5550a335c6d2ae5838b1a90e50cb46f81edcd50f | [
"MIT"
] | 1,034 | 2019-09-30T15:01:32.000Z | 2022-03-31T06:14:50.000Z | from .configuration_layoutxlm import LayoutXLMConfig
from .modeling_layoutxlm import LayoutXLMForRelationExtraction, LayoutXLMForTokenClassification, LayoutXLMModel
from .tokenization_layoutxlm import LayoutXLMTokenizer
from .tokenization_layoutxlm_fast import LayoutXLMTokenizerFast
| 56.8 | 111 | 0.915493 | 23 | 284 | 11.086957 | 0.565217 | 0.176471 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06338 | 284 | 4 | 112 | 71 | 0.958647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 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 |
757c74795ac2894193b8a614067085ae5a124a22 | 122 | py | Python | models/__init__.py | AdrianCurtin/BRITS | 82c8b137fc2364f512259d6c858bcae7dfd8d286 | [
"MIT"
] | null | null | null | models/__init__.py | AdrianCurtin/BRITS | 82c8b137fc2364f512259d6c858bcae7dfd8d286 | [
"MIT"
] | null | null | null | models/__init__.py | AdrianCurtin/BRITS | 82c8b137fc2364f512259d6c858bcae7dfd8d286 | [
"MIT"
] | null | null | null | from . import rits_i
from . import brits_i
from . import rits
from . import brits
from . import gru_d
from . import m_rnn
| 17.428571 | 21 | 0.754098 | 22 | 122 | 4 | 0.409091 | 0.681818 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 122 | 6 | 22 | 20.333333 | 0.897959 | 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 |
75a4478b19e17acf033df64e696a14640ee4a75e | 1,099 | py | Python | tests/selecting/test_skip_while.py | sixty-north/les_iterables | 755cdde4dd9e3d56ce2f424ff0619bde7064e897 | [
"MIT"
] | 2 | 2020-07-04T22:21:10.000Z | 2021-12-10T14:38:18.000Z | tests/selecting/test_skip_while.py | sixty-north/les_iterables | 755cdde4dd9e3d56ce2f424ff0619bde7064e897 | [
"MIT"
] | 1 | 2020-05-26T12:01:50.000Z | 2020-05-26T12:01:50.000Z | tests/selecting/test_skip_while.py | sixty-north/les_iterables | 755cdde4dd9e3d56ce2f424ff0619bde7064e897 | [
"MIT"
] | null | null | null | from les_iterables.selecting import skip_while
def test_skip_while_empty():
actual = list(skip_while([], lambda x: x%2 == 0))
assert actual == []
def test_skip_while_leaving_empty():
actual = list(skip_while([4], lambda x: x%2 == 0))
assert actual == []
def test_skip_while_none_to_skip_yielding_on... | 27.475 | 66 | 0.655141 | 187 | 1,099 | 3.545455 | 0.171123 | 0.230769 | 0.13273 | 0.193062 | 0.864253 | 0.788839 | 0.785822 | 0.785822 | 0.38914 | 0.241327 | 0 | 0.050619 | 0.191083 | 1,099 | 40 | 67 | 27.475 | 0.695163 | 0 | 0 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32 | 1 | 0.32 | false | 0 | 0.04 | 0 | 0.36 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f98f0adef984f4b61d1aa014483dbc558876d78a | 1,587 | py | Python | panda/apps/shipping/methods.py | siyecao22162/Panda | d6e6ab9dd2d735422879cc48cac79a4b3731d679 | [
"BSD-3-Clause"
] | null | null | null | panda/apps/shipping/methods.py | siyecao22162/Panda | d6e6ab9dd2d735422879cc48cac79a4b3731d679 | [
"BSD-3-Clause"
] | 1 | 2017-07-28T19:35:07.000Z | 2017-07-28T19:35:07.000Z | panda/apps/shipping/methods.py | siyecao22162/Panda | d6e6ab9dd2d735422879cc48cac79a4b3731d679 | [
"BSD-3-Clause"
] | null | null | null | #-*- coding: utf-8 -*-
from oscar.apps.shipping import methods
from decimal import Decimal as D
from oscar.core import prices
class StandardLunch(methods.Base):
code = 'standard lunch'
name = 'A MIDI DANS 3 JOURS'
charge_per_order = D('3.00')
threshold = D('14.99')
description = "Livraison à mi... | 27.842105 | 80 | 0.595463 | 208 | 1,587 | 4.447115 | 0.326923 | 0.045405 | 0.043243 | 0.108108 | 0.752432 | 0.752432 | 0.752432 | 0.752432 | 0.752432 | 0.752432 | 0 | 0.055606 | 0.308759 | 1,587 | 56 | 81 | 28.339286 | 0.787603 | 0.10586 | 0 | 0.702703 | 0 | 0 | 0.156294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.081081 | 0 | 0.567568 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
ddb4845c614755583819a0ab94e7ce5e4324949e | 4,226 | py | Python | refinery/bnpy/bnpy-dev/tests/ioutil/TestModelReader.py | csa0001/Refinery | 0d5de8fc3d680a2c79bd0e9384b506229787c74f | [
"MIT"
] | 103 | 2015-01-13T00:48:14.000Z | 2021-11-08T10:53:22.000Z | refinery/bnpy/bnpy-dev/tests/ioutil/TestModelReader.py | csa0001/Refinery | 0d5de8fc3d680a2c79bd0e9384b506229787c74f | [
"MIT"
] | 7 | 2015-02-21T04:03:40.000Z | 2021-08-23T20:24:54.000Z | refinery/bnpy/bnpy-dev/tests/ioutil/TestModelReader.py | csa0001/Refinery | 0d5de8fc3d680a2c79bd0e9384b506229787c74f | [
"MIT"
] | 27 | 2015-01-23T00:54:31.000Z | 2020-12-30T14:30:50.000Z | '''
Unit tests for ModelReader.py
'''
from bnpy.ioutil import ModelWriter, ModelReader
from bnpy import HModel
from bnpy.data import XData
import numpy as np
import unittest
class TestModelReaderEMK1(unittest.TestCase):
def shortDescription(self):
return None
def setUp(self):
PRNG = np.random.RandomState(... | 36.119658 | 96 | 0.690487 | 600 | 4,226 | 4.795 | 0.186667 | 0.072993 | 0.043796 | 0.04171 | 0.904762 | 0.904762 | 0.904762 | 0.904762 | 0.904762 | 0.904762 | 0 | 0.013036 | 0.183152 | 4,226 | 116 | 97 | 36.431034 | 0.820394 | 0.039517 | 0 | 0.851852 | 0 | 0 | 0.043588 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0 | null | null | 0 | 0.061728 | null | null | 0.012346 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
dde71dbcc5cdeadf231e776b7f443e380e619387 | 342 | py | Python | tests/conftest.py | scottbelden/avrobase | 4ee00d083a0a477b8406cdce9f86c4f9e7ad3346 | [
"Apache-2.0"
] | 1 | 2016-08-28T08:33:01.000Z | 2016-08-28T08:33:01.000Z | tests/conftest.py | scottbelden/avrobase | 4ee00d083a0a477b8406cdce9f86c4f9e7ad3346 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | scottbelden/avrobase | 4ee00d083a0a477b8406cdce9f86c4f9e7ad3346 | [
"Apache-2.0"
] | null | null | null | import pytest
from avrobase.record import create_record_class
from primitive_schemas import all_schemas as all_primitive_schemas
@pytest.fixture
def BooleanClass():
return create_record_class(all_primitive_schemas['boolean_schema'])
@pytest.fixture
def IntClass():
return create_record_class(all_primitive_s... | 22.8 | 71 | 0.830409 | 45 | 342 | 5.955556 | 0.422222 | 0.238806 | 0.190299 | 0.171642 | 0.313433 | 0.313433 | 0.313433 | 0 | 0 | 0 | 0 | 0 | 0.102339 | 342 | 14 | 72 | 24.428571 | 0.872964 | 0 | 0 | 0.222222 | 0 | 0 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
fb22bfd899b9d29e7fc253d983db7ec1fdf4e807 | 2,296 | py | Python | tests/testsamples/joint.py | Anthony102899/Lego-ImageGenerator | 52b19c8bb20f77a3394675e7c037c943a50c1e15 | [
"Unlicense"
] | 1 | 2022-03-20T10:23:38.000Z | 2022-03-20T10:23:38.000Z | tests/testsamples/joint.py | Anthony102899/Lego-ImageGenerator | 52b19c8bb20f77a3394675e7c037c943a50c1e15 | [
"Unlicense"
] | null | null | null | tests/testsamples/joint.py | Anthony102899/Lego-ImageGenerator | 52b19c8bb20f77a3394675e7c037c943a50c1e15 | [
"Unlicense"
] | null | null | null | import numpy as np
from solvers.rigidity_solver.models import Model, Joint, Beam
_beams = [
Beam(np.array([
[0, 0, 0],
[0, 0, 1],
[1, 0, 0],
]) + np.array([1, 0, 0])),
Beam(np.array([
[0, 0, 0],
[0, 0, 1],
[0, 1, 0],
]) + np.array([0, 1, 0])),
]
_beams = ... | 20.140351 | 61 | 0.461672 | 299 | 2,296 | 3.374582 | 0.110368 | 0.067393 | 0.134787 | 0.107037 | 0.836472 | 0.824579 | 0.804757 | 0.733399 | 0.719524 | 0.685828 | 0 | 0.07367 | 0.361498 | 2,296 | 113 | 62 | 20.318584 | 0.614598 | 0 | 0 | 0.772277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059406 | false | 0 | 0.019802 | 0 | 0.138614 | 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 |
fb3073ebe3a05912c696dd324280bbbad37f93d6 | 458 | py | Python | base_report_to_printer/tests/__init__.py | Chief0-0/Localizacion_ERP_V12 | f59e56564e29525f772b59db7fef7c7cde347336 | [
"Apache-2.0"
] | null | null | null | base_report_to_printer/tests/__init__.py | Chief0-0/Localizacion_ERP_V12 | f59e56564e29525f772b59db7fef7c7cde347336 | [
"Apache-2.0"
] | null | null | null | base_report_to_printer/tests/__init__.py | Chief0-0/Localizacion_ERP_V12 | f59e56564e29525f772b59db7fef7c7cde347336 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import test_printing_job
from . import test_printing_printer
from . import test_printing_printer_tray
from . import test_printing_server
from . import test_printing_tray
from . import test_report
from . import tes... | 32.714286 | 68 | 0.829694 | 71 | 458 | 5.014085 | 0.450704 | 0.280899 | 0.393258 | 0.432584 | 0.244382 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014778 | 0.113537 | 458 | 13 | 69 | 35.230769 | 0.862069 | 0.20524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.7 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
fb322b4620c362b5cfc8574163e49e90a2547bfb | 80,843 | py | Python | ray_elegantrl/net.py | GyChou/ray_elegant_carla | 16de9f297e24b564ec19d9cf3e9293450ac78cdd | [
"MIT"
] | null | null | null | ray_elegantrl/net.py | GyChou/ray_elegant_carla | 16de9f297e24b564ec19d9cf3e9293450ac78cdd | [
"MIT"
] | null | null | null | ray_elegantrl/net.py | GyChou/ray_elegant_carla | 16de9f297e24b564ec19d9cf3e9293450ac78cdd | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import numpy as np
import torch.nn.functional as F
from torch.distributions import MultivariateNormal, Normal, Categorical
from scipy.stats import beta as scipy_beta
from scipy.optimize import fmin
"""
Modify [ElegantRL](https://github.com/AI4Finance-LLC/ElegantRL)
by https://github.... | 48.612748 | 119 | 0.600324 | 11,432 | 80,843 | 3.981368 | 0.032015 | 0.040075 | 0.031902 | 0.040602 | 0.903416 | 0.880062 | 0.854334 | 0.841898 | 0.82107 | 0.802373 | 0 | 0.017494 | 0.268186 | 80,843 | 1,662 | 120 | 48.641998 | 0.751834 | 0.331321 | 0 | 0.724653 | 0 | 0 | 0.000151 | 0 | 0 | 0 | 0 | 0.000602 | 0 | 1 | 0.139808 | false | 0 | 0.007471 | 0.01174 | 0.284952 | 0.003202 | 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 |
fb350e85aaccb1fefa233cdfe784a3576507d4ea | 45,062 | py | Python | sdk/python/pulumi_wavefront/alert.py | pulumi/pulumi-wavefront | 1d199d386ee241fa2ef94553e6cae1359ec9ccf6 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-02-20T09:48:33.000Z | 2022-02-20T09:48:33.000Z | sdk/python/pulumi_wavefront/alert.py | pulumi/pulumi-wavefront | 1d199d386ee241fa2ef94553e6cae1359ec9ccf6 | [
"ECL-2.0",
"Apache-2.0"
] | 40 | 2020-08-12T08:37:24.000Z | 2022-03-31T15:51:17.000Z | sdk/python/pulumi_wavefront/alert.py | pulumi/pulumi-wavefront | 1d199d386ee241fa2ef94553e6cae1359ec9ccf6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # 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 ... | 47.634249 | 134 | 0.651724 | 5,372 | 45,062 | 5.306776 | 0.050819 | 0.101866 | 0.077592 | 0.048618 | 0.946226 | 0.937982 | 0.924723 | 0.914761 | 0.912972 | 0.900274 | 0 | 0.001803 | 0.249123 | 45,062 | 945 | 135 | 47.684656 | 0.840732 | 0.377924 | 0 | 0.856275 | 1 | 0 | 0.095654 | 0.036033 | 0 | 0 | 0 | 0 | 0 | 1 | 0.165992 | false | 0.002024 | 0.010121 | 0 | 0.275304 | 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 |
34b53af51d7c951adf22c52537a1d910eeef31f7 | 5,802 | py | Python | QC/models.py | phcavelar/graph-odenet | cba1224c041e53ea221e31bf9103ef950b8bd460 | [
"MIT"
] | 4 | 2019-12-10T18:49:03.000Z | 2022-02-16T03:21:30.000Z | QC/models.py | phcavelar/graph-odenet | cba1224c041e53ea221e31bf9103ef950b8bd460 | [
"MIT"
] | 1 | 2020-11-04T04:41:09.000Z | 2021-01-07T18:52:37.000Z | QC/models.py | phcavelar/graph-odenet | cba1224c041e53ea221e31bf9103ef950b8bd460 | [
"MIT"
] | 2 | 2020-04-03T12:05:33.000Z | 2020-10-10T11:57:48.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from torchdiffeq import odeint_adjoint as odeint
from mpnn import MPNN_enn_edge as MPNN_enn
from set2set import Set2Set
from layers import EdgeEncoderMLP, EdgeGraphConvolution
from torch_scatter import scatter_add
class MPNN_ENN_Sum(nn.Module):
def... | 41.148936 | 136 | 0.614099 | 745 | 5,802 | 4.554362 | 0.111409 | 0.091954 | 0.129679 | 0.10728 | 0.876805 | 0.876805 | 0.857353 | 0.857353 | 0.847333 | 0.847333 | 0 | 0.01727 | 0.281455 | 5,802 | 140 | 137 | 41.442857 | 0.796594 | 0.053602 | 0 | 0.82906 | 0 | 0 | 0.017557 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068376 | false | 0 | 0.068376 | 0 | 0.205128 | 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 |
34badf3548ee29a23516c04b397b47d0dc060611 | 17,230 | py | Python | whisperlib/common/base/callback/print_callback.py | cpopescu/whispercast | dd4ee1d4fa2e3436fc2387240eb3f5622749d944 | [
"BSD-3-Clause"
] | null | null | null | whisperlib/common/base/callback/print_callback.py | cpopescu/whispercast | dd4ee1d4fa2e3436fc2387240eb3f5622749d944 | [
"BSD-3-Clause"
] | null | null | null | whisperlib/common/base/callback/print_callback.py | cpopescu/whispercast | dd4ee1d4fa2e3436fc2387240eb3f5622749d944 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python
#
# Copyright (c) 2009, Whispersoft s.r.l.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this l... | 31.157324 | 111 | 0.576669 | 2,615 | 17,230 | 3.751434 | 0.075717 | 0.036697 | 0.055046 | 0.100917 | 0.82314 | 0.808053 | 0.789501 | 0.775331 | 0.754434 | 0.70581 | 0 | 0.001409 | 0.176204 | 17,230 | 552 | 112 | 31.213768 | 0.689728 | 0.106326 | 0 | 0.744086 | 0 | 0.055914 | 0.491015 | 0.08203 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.027957 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
34f117fce70642b974bce4037aece6130a6a75e8 | 2,667 | py | Python | ProjectEuler/pr0008.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | ProjectEuler/pr0008.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | ProjectEuler/pr0008.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832.
73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
85861560789112949495459501737958331952853208805511
12540698747158523863050715693290963295227443043557
6689... | 62.023256 | 1,011 | 0.901762 | 122 | 2,667 | 19.672131 | 0.516393 | 0.011667 | 0.013333 | 0.015833 | 0.05 | 0.05 | 0.05 | 0.05 | 0.05 | 0.05 | 0 | 0.82069 | 0.075741 | 2,667 | 43 | 1,012 | 62.023256 | 0.151724 | 0.469816 | 0 | 0 | 0 | 0 | 0.710732 | 0.710732 | 0 | 1 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0 | 0 | 0.071429 | 0.214286 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
34f2926f4188e10cd4486724ad0e24bcab32946a | 4,254 | py | Python | CrimeTypeTrend/crimeTypeClass.py | pauljrodriguezcs/Chicago_Crime_Analysis | 8f385fdfbb8b770631a458edf03f90836f33b674 | [
"MIT"
] | 1 | 2020-02-12T16:25:23.000Z | 2020-02-12T16:25:23.000Z | CrimeTypeTrend/crimeTypeClass.py | pauljrodriguezcs/Chicago_Crime_Analysis | 8f385fdfbb8b770631a458edf03f90836f33b674 | [
"MIT"
] | null | null | null | CrimeTypeTrend/crimeTypeClass.py | pauljrodriguezcs/Chicago_Crime_Analysis | 8f385fdfbb8b770631a458edf03f90836f33b674 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib
import matplotlib.pyplot as plt
import scipy.linalg as la
print("loading CrimeMapPerMonth... ")
CrimeMap = np.loadtxt('LatLongZip.txt',delimiter=',',dtype=float) # load data
print("done ... ")
### Fall
print("loading ... ")
CrimePerZipcode = np.loadtxt('Fall2013to2018.txt',delimi... | 21.059406 | 82 | 0.614716 | 691 | 4,254 | 3.743849 | 0.127352 | 0.037109 | 0.030924 | 0.04252 | 0.892153 | 0.83649 | 0.83649 | 0.83649 | 0.83649 | 0.83649 | 0 | 0.064409 | 0.153268 | 4,254 | 201 | 83 | 21.164179 | 0.653803 | 0.097555 | 0 | 0.89313 | 0 | 0 | 0.122234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030534 | 0 | 0.030534 | 0.198473 | 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 |
9b2c588cd5c877fc050c3f37292f5f8479276525 | 17,312 | py | Python | pysnmp/FNET-OPTIVIEW-WAN-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/FNET-OPTIVIEW-WAN-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/FNET-OPTIVIEW-WAN-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module FNET-OPTIVIEW-WAN-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/FNET-OPTIVIEW-WAN-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 19:00:31 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (def... | 360.666667 | 1,188 | 0.75283 | 1,766 | 17,312 | 7.379955 | 0.094564 | 0.203483 | 0.317809 | 0.367989 | 0.805494 | 0.788614 | 0.788614 | 0.770352 | 0.770352 | 0.770352 | 0 | 0.039483 | 0.056377 | 17,312 | 47 | 1,189 | 368.340426 | 0.758325 | 0.019409 | 0 | 0 | 0 | 0 | 0.575765 | 0.364649 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
9bb2a3c185ff22715f030548bd0e3e563ac7b0de | 18,069 | py | Python | sleuthpr/migrations/0001_initial.py | sleuth-io/sleuth-pr | aecbd8ff993cf77635bbd50dc2a4d7994642f674 | [
"Apache-2.0"
] | 6 | 2020-09-18T07:08:30.000Z | 2020-09-29T18:08:49.000Z | sleuthpr/migrations/0001_initial.py | sleuth-io/sleuth-pr | aecbd8ff993cf77635bbd50dc2a4d7994642f674 | [
"Apache-2.0"
] | null | null | null | sleuthpr/migrations/0001_initial.py | sleuth-io/sleuth-pr | aecbd8ff993cf77635bbd50dc2a4d7994642f674 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.1.1 on 2020-09-29 23:25
import django.db.models.deletion
import django.utils.timezone
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
... | 34.681382 | 102 | 0.345177 | 1,058 | 18,069 | 5.718336 | 0.123819 | 0.090909 | 0.047273 | 0.054545 | 0.766612 | 0.742645 | 0.708264 | 0.700826 | 0.679008 | 0.629587 | 0 | 0.015148 | 0.565222 | 18,069 | 520 | 103 | 34.748077 | 0.754964 | 0.00249 | 0 | 0.72179 | 1 | 0 | 0.08534 | 0.008545 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007782 | 0 | 0.015564 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 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 | 7 |
32ff3f856de53d90ba83cf8960a9f1563aeafc58 | 110,766 | py | Python | tests/test_mssql_specific.py | burakuyar/simple-ddl-parser | f5714e0947a7cb48c202a91969b6e6d0d9a64d24 | [
"MIT"
] | 46 | 2021-03-07T02:21:29.000Z | 2022-03-24T12:45:03.000Z | tests/test_mssql_specific.py | burakuyar/simple-ddl-parser | f5714e0947a7cb48c202a91969b6e6d0d9a64d24 | [
"MIT"
] | 53 | 2021-03-08T08:50:00.000Z | 2022-03-29T06:11:13.000Z | tests/test_mssql_specific.py | burakuyar/simple-ddl-parser | f5714e0947a7cb48c202a91969b6e6d0d9a64d24 | [
"MIT"
] | 12 | 2021-06-21T16:14:17.000Z | 2022-03-25T13:52:35.000Z | from simple_ddl_parser import DDLParser
def test_int_identity_type():
ddl = """
CREATE TABLE sqlserverlist (
id INT IDENTITY (1,1) PRIMARY KEY, -- NOTE
company_id BIGINT ,
)
"""
result = DDLParser(ddl).run(group_by_type=True)
expected = {
"comments": [" NOTE"],
"ddl_p... | 36.08013 | 101 | 0.321254 | 6,674 | 110,766 | 5.179652 | 0.038807 | 0.041916 | 0.074518 | 0.08794 | 0.930631 | 0.915271 | 0.910324 | 0.904336 | 0.89803 | 0.887992 | 0 | 0.011566 | 0.558204 | 110,766 | 3,069 | 102 | 36.091887 | 0.694846 | 0 | 0 | 0.767023 | 0 | 0.002336 | 0.311224 | 0.020439 | 0 | 0 | 0 | 0 | 0.006676 | 1 | 0.006676 | false | 0 | 0.000334 | 0 | 0.007009 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
fd424e59e1fe2378e9c95b0b173194eed13fd9dd | 95 | py | Python | ukpocopy/__init__.py | sephioh/ukpocopy | d5bdaf7c95636fbf0dd5fee1a84ef15ea5541167 | [
"MIT"
] | null | null | null | ukpocopy/__init__.py | sephioh/ukpocopy | d5bdaf7c95636fbf0dd5fee1a84ef15ea5541167 | [
"MIT"
] | 4 | 2020-03-24T17:05:53.000Z | 2020-04-06T19:37:10.000Z | ukpocopy/__init__.py | sephioh/ukpocopy | d5bdaf7c95636fbf0dd5fee1a84ef15ea5541167 | [
"MIT"
] | null | null | null | from ukpocopy import postcodes
from ukpocopy import validators
from ukpocopy import exceptions
| 23.75 | 31 | 0.873684 | 12 | 95 | 6.916667 | 0.5 | 0.433735 | 0.650602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 95 | 3 | 32 | 31.666667 | 1 | 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 |
fd61b9977ba92f99d8a64003d615798a0cedd70f | 11,403 | py | Python | App(BE)/main/api/unit.py | osamhack2021/AI_APP_handylib_devlib | 62cf67e6df280217e3715e2aa425636cefa7dd6f | [
"MIT"
] | 1 | 2021-12-16T10:41:16.000Z | 2021-12-16T10:41:16.000Z | App(BE)/main/api/unit.py | osamhack2021/AI_APP_handylib_devlib | 62cf67e6df280217e3715e2aa425636cefa7dd6f | [
"MIT"
] | 6 | 2021-10-11T06:03:48.000Z | 2021-10-17T09:42:05.000Z | App(BE)/main/api/unit.py | osamhack2021/AI_APP_handylib_devlib | 62cf67e6df280217e3715e2aa425636cefa7dd6f | [
"MIT"
] | null | null | null | #Unit blueprint
from flask import Blueprint, json, Response
from main.models import database
unit_page=Blueprint('unit',__name__)
@unit_page.route('/',methods=['GET'])
def unit_name():
jsl = {'Unit_name': database.client.API_test.unittest.distinct('name') }
resultJson = json.dumps(jsl, ensure_ascii=False)
... | 49.79476 | 167 | 0.577304 | 1,453 | 11,403 | 4.414315 | 0.066758 | 0.061116 | 0.082944 | 0.09604 | 0.944185 | 0.937636 | 0.924228 | 0.908793 | 0.908793 | 0.896944 | 0 | 0.018313 | 0.24818 | 11,403 | 229 | 168 | 49.79476 | 0.72985 | 0.001228 | 0 | 0.825688 | 0 | 0 | 0.153569 | 0.021688 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036697 | false | 0 | 0.009174 | 0 | 0.174312 | 0.009174 | 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 |
b5e0898aac1d25243c26ebcca86577a44a2fb47b | 2,785 | py | Python | test/test_symmetries.py | tud-ccc/mocasin | 6cf0a169e24d65d0fc859398f181dd500f928340 | [
"0BSD"
] | 1 | 2022-03-13T19:27:50.000Z | 2022-03-13T19:27:50.000Z | test/test_symmetries.py | tud-ccc/mocasin | 6cf0a169e24d65d0fc859398f181dd500f928340 | [
"0BSD"
] | null | null | null | test/test_symmetries.py | tud-ccc/mocasin | 6cf0a169e24d65d0fc859398f181dd500f928340 | [
"0BSD"
] | null | null | null | # Copyright (C) 2020 TU Dresden
# Licensed under the ISC license (see LICENSE.txt)
#
# Authors: Felix Teweleit, Andres Goens
import subprocess
import pytest
import filecmp
import os
@pytest.mark.skip(reason="Test just takes too long.")
def test_symmetries_tgff_large(datadir, large_platform):
subprocess.check_cal... | 28.71134 | 83 | 0.557271 | 279 | 2,785 | 5.419355 | 0.272401 | 0.05291 | 0.050265 | 0.068783 | 0.822751 | 0.814153 | 0.814153 | 0.814153 | 0.814153 | 0.724868 | 0 | 0.010471 | 0.314183 | 2,785 | 96 | 84 | 29.010417 | 0.781152 | 0.041652 | 0 | 0.771084 | 0 | 0 | 0.43506 | 0.28979 | 0 | 0 | 0 | 0 | 0.024096 | 1 | 0.024096 | false | 0 | 0.048193 | 0 | 0.072289 | 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 |
bd0b0d0f1610bf1b0024862ef6a4aba25e40f98d | 201 | py | Python | ulmo/usgs/ned/__init__.py | timcera/ulmo | f927a33e1366851aa0656656d0cb0d2068d29c78 | [
"BSD-3-Clause"
] | 3 | 2017-09-17T21:27:48.000Z | 2022-03-15T12:58:53.000Z | ulmo/usgs/ned/__init__.py | timcera/ulmo | f927a33e1366851aa0656656d0cb0d2068d29c78 | [
"BSD-3-Clause"
] | null | null | null | ulmo/usgs/ned/__init__.py | timcera/ulmo | f927a33e1366851aa0656656d0cb0d2068d29c78 | [
"BSD-3-Clause"
] | 3 | 2021-02-23T06:26:00.000Z | 2021-02-23T06:26:18.000Z | """
`National Elevation Dataset`_ services (Raster)
.. _National Elevation Dataset (NED): http://ned.usgs.gov
"""
from .core import get_available_layers, get_raster, get_raster_availability
| 22.333333 | 75 | 0.736318 | 24 | 201 | 5.875 | 0.666667 | 0.241135 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 201 | 8 | 76 | 25.125 | 0.824561 | 0.532338 | 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 |
1feea8d7fff7210b6f911ebb5c5b481a8b398c79 | 102 | py | Python | cloeepy_redis/__init__.py | cloeeai/CloeePy-Redis | 3d2e366016f27572802da509e14b3af88c86d789 | [
"MIT"
] | null | null | null | cloeepy_redis/__init__.py | cloeeai/CloeePy-Redis | 3d2e366016f27572802da509e14b3af88c86d789 | [
"MIT"
] | null | null | null | cloeepy_redis/__init__.py | cloeeai/CloeePy-Redis | 3d2e366016f27572802da509e14b3af88c86d789 | [
"MIT"
] | null | null | null | from cloeepy_redis.cloeepy_redis import CloeePyRedis
def get_plugin_class():
return CloeePyRedis
| 20.4 | 52 | 0.833333 | 13 | 102 | 6.230769 | 0.769231 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 102 | 4 | 53 | 25.5 | 0.910112 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
1ff825769e0a75a55f627b64f5f51eb3159e6436 | 101,371 | py | Python | nova/tests/unit/api/openstack/test_wsgi.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/api/openstack/test_wsgi.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/api/openstack/test_wsgi.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
comment|'# a copy of the License at'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# http://www.apache.org/licenses/L... | 12.272518 | 205 | 0.59081 | 14,397 | 101,371 | 4.089463 | 0.029173 | 0.160813 | 0.106495 | 0.067871 | 0.941691 | 0.918184 | 0.892214 | 0.873684 | 0.848818 | 0.813387 | 0 | 0.005082 | 0.109084 | 101,371 | 8,259 | 206 | 12.274004 | 0.646828 | 0 | 0 | 0.961739 | 0 | 0.000484 | 0.336467 | 0.03503 | 0 | 0 | 0 | 0 | 0.016951 | 0 | null | null | 0.000363 | 0.001816 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1f60d19b19b575376bbede4de3531070e36dcfb6 | 1,305 | py | Python | sound/app/models.py | shazlycode/sound-site | bee61f972eda0ec44b5a8466b0152b56015c307c | [
"bzip2-1.0.6"
] | null | null | null | sound/app/models.py | shazlycode/sound-site | bee61f972eda0ec44b5a8466b0152b56015c307c | [
"bzip2-1.0.6"
] | null | null | null | sound/app/models.py | shazlycode/sound-site | bee61f972eda0ec44b5a8466b0152b56015c307c | [
"bzip2-1.0.6"
] | null | null | null | from django.db import models
# Create your models here.
class Baset(models.Model):
player=models.CharField(max_length=100, default='')
title= models.CharField(max_length=100, verbose_name="اسم السورة")
# source=models.FileField(upload_to='sound',default='non.mp3' )
path=models.CharField(max_length=100... | 29.659091 | 73 | 0.694253 | 170 | 1,305 | 5.117647 | 0.270588 | 0.241379 | 0.289655 | 0.386207 | 0.782759 | 0.782759 | 0.702299 | 0.667816 | 0.667816 | 0.550575 | 0 | 0.04072 | 0.190805 | 1,305 | 44 | 74 | 29.659091 | 0.783144 | 0.0659 | 0 | 0.6 | 0 | 0 | 0.049302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.033333 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
1f66c70fe1eb52872a8a9a3085a80d560e91e639 | 3,410 | py | Python | BreastCancerController.py | iliaskaras/ML-BreastCancer | 5e2bae2d6fd5e76d4164f8be58f9e2951d053d3c | [
"Apache-2.0"
] | null | null | null | BreastCancerController.py | iliaskaras/ML-BreastCancer | 5e2bae2d6fd5e76d4164f8be58f9e2951d053d3c | [
"Apache-2.0"
] | null | null | null | BreastCancerController.py | iliaskaras/ML-BreastCancer | 5e2bae2d6fd5e76d4164f8be58f9e2951d053d3c | [
"Apache-2.0"
] | 1 | 2020-08-31T22:20:46.000Z | 2020-08-31T22:20:46.000Z | from BreastCancerDecisionTreeClf import BreastCancerDecisionTreeClf
from GraphvizCreator import GraphvizCreator
#call maxDepth = 20 ================================================
breastCancerDecisionTree = BreastCancerDecisionTreeClf()
breastCancerDecisionTree.createDecisionTreeClassifier("gini",20)
graphvizCreator... | 35.520833 | 69 | 0.821701 | 171 | 3,410 | 16.385965 | 0.111111 | 0.182013 | 0.267666 | 0.367595 | 0.951106 | 0.912919 | 0.912919 | 0.672377 | 0.672377 | 0.463954 | 0 | 0.006479 | 0.04956 | 3,410 | 95 | 70 | 35.894737 | 0.858069 | 0.097361 | 0 | 0.803279 | 0 | 0 | 0.017909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032787 | 0 | 0.032787 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 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 |
1f8a2b23b8cc9f7f8169fa07ab0b9093651d3e36 | 1,897 | py | Python | tests/test_unit_sh.py | IBM/python-itoolk | 36054a7ebdd8f5556c548d4c315e00e3c8d04904 | [
"MIT"
] | 11 | 2019-01-09T12:31:04.000Z | 2021-08-29T05:26:35.000Z | tests/test_unit_sh.py | jkyeung/python-itoolkit | ca11d532220bb0fff7afca540b46bd179b6f2b2d | [
"MIT"
] | 50 | 2018-12-21T18:52:25.000Z | 2021-05-25T13:38:15.000Z | tests/test_unit_sh.py | jkyeung/python-itoolkit | ca11d532220bb0fff7afca540b46bd179b6f2b2d | [
"MIT"
] | 9 | 2018-12-25T00:02:19.000Z | 2022-02-22T00:58:13.000Z | import xml.etree.ElementTree as ET
from itoolkit import iSh
def test_sh():
cmd = 'ls -l'
key = 'lljqezl'
element = ET.fromstring(iSh(key, cmd).xml_in())
assert(element.tag == 'sh')
assert('error' in element.attrib)
assert(element.attrib['error'] == 'fast')
assert('var' in element.attri... | 21.556818 | 69 | 0.604639 | 254 | 1,897 | 4.444882 | 0.125984 | 0.230292 | 0.132861 | 0.186005 | 0.915855 | 0.915855 | 0.818423 | 0.809566 | 0.809566 | 0.809566 | 0 | 0.001345 | 0.216131 | 1,897 | 87 | 70 | 21.804598 | 0.757902 | 0 | 0 | 0.75 | 0 | 0 | 0.094887 | 0 | 0 | 0 | 0 | 0 | 0.535714 | 1 | 0.089286 | false | 0 | 0.035714 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
1f91221f26945c05a44c475bc67642c44db2b396 | 87 | py | Python | test_file.py | atulrvaghela/test_repository | eea3605c3c88a102b46e7235636aedeaf555d6a1 | [
"MIT"
] | null | null | null | test_file.py | atulrvaghela/test_repository | eea3605c3c88a102b46e7235636aedeaf555d6a1 | [
"MIT"
] | null | null | null | test_file.py | atulrvaghela/test_repository | eea3605c3c88a102b46e7235636aedeaf555d6a1 | [
"MIT"
] | null | null | null | print("This is test file for git repository...")
print("this is edited text test...")
| 21.75 | 48 | 0.689655 | 14 | 87 | 4.285714 | 0.714286 | 0.3 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 3 | 49 | 29 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
1f91eef6de5524bd60144c13025939317f691624 | 93 | py | Python | src/1-prepare/cmftools/nb/__init__.py | DirkEilander/compound_hotspots | f9d7960633be80e8e24d2f2563df367cc3f060c6 | [
"BSD-3-Clause"
] | 1 | 2022-01-17T07:02:13.000Z | 2022-01-17T07:02:13.000Z | src/1-prepare/cmftools/nb/__init__.py | DirkEilander/compound_hotspots | f9d7960633be80e8e24d2f2563df367cc3f060c6 | [
"BSD-3-Clause"
] | null | null | null | src/1-prepare/cmftools/nb/__init__.py | DirkEilander/compound_hotspots | f9d7960633be80e8e24d2f2563df367cc3f060c6 | [
"BSD-3-Clause"
] | 1 | 2022-01-17T02:48:28.000Z | 2022-01-17T02:48:28.000Z | from .nb_io import *
from .dd_ops import *
from .nb_ops import *
from .dd_funcs import *
| 18.6 | 24 | 0.698925 | 16 | 93 | 3.8125 | 0.4375 | 0.491803 | 0.393443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215054 | 93 | 4 | 25 | 23.25 | 0.835616 | 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 |
2f0964a06af37ca793a19c01c4bd42e1f6cbc31d | 47 | py | Python | math_utils.py | mfatihaktas/service-capacity | 5480f6c1a95fdf6e9b49f40be1e5196951982223 | [
"MIT"
] | null | null | null | math_utils.py | mfatihaktas/service-capacity | 5480f6c1a95fdf6e9b49f40be1e5196951982223 | [
"MIT"
] | null | null | null | math_utils.py | mfatihaktas/service-capacity | 5480f6c1a95fdf6e9b49f40be1e5196951982223 | [
"MIT"
] | null | null | null | import math
def mlog(x):
return math.log(x)
| 9.4 | 20 | 0.680851 | 9 | 47 | 3.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 4 | 21 | 11.75 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
c85832cad87a8b8a0946ea0514008c0e7189a457 | 160 | py | Python | Mundo 1/Desafio 1.py | lucashsbarros/Python_Curso | 01f7b5c89636cacc774d38b39951ac2b73272c63 | [
"MIT"
] | null | null | null | Mundo 1/Desafio 1.py | lucashsbarros/Python_Curso | 01f7b5c89636cacc774d38b39951ac2b73272c63 | [
"MIT"
] | null | null | null | Mundo 1/Desafio 1.py | lucashsbarros/Python_Curso | 01f7b5c89636cacc774d38b39951ac2b73272c63 | [
"MIT"
] | null | null | null | nome = input ('Qual o seu nome?')
print ('Olá',nome,'! Que bom que apareceu')
nome = input ('Qual o seu nome?')
print ('Olá',nome,'!' 'Que bom que apareceu')
| 22.857143 | 45 | 0.625 | 26 | 160 | 3.846154 | 0.384615 | 0.18 | 0.26 | 0.28 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.175 | 160 | 6 | 46 | 26.666667 | 0.757576 | 0 | 0 | 0.5 | 0 | 0 | 0.512658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
c0d8ea31732f21e74b02c56bd49f1fcaad9b8772 | 5,320 | py | Python | movements.py | Llana13/Supermarket | 8ecdf2e55e774ad30d21cb2a83b2bb0af005128e | [
"MIT"
] | 1 | 2020-04-20T10:45:58.000Z | 2020-04-20T10:45:58.000Z | movements.py | Llana13/Supermarket | 8ecdf2e55e774ad30d21cb2a83b2bb0af005128e | [
"MIT"
] | null | null | null | movements.py | Llana13/Supermarket | 8ecdf2e55e774ad30d21cb2a83b2bb0af005128e | [
"MIT"
] | null | null | null | import cv2
from classes import Customer
def move_to(customer, target_y, target_x):
# up
if target_y < customer.y and target_x is customer.x:
while not customer.y == target_y:
customer.vy = -10
customer.vx = 0
customer.draw()
customer.move()
... | 33.459119 | 58 | 0.639662 | 821 | 5,320 | 3.997564 | 0.077954 | 0.104205 | 0.243144 | 0.120658 | 0.892139 | 0.890615 | 0.868373 | 0.868373 | 0.855576 | 0.83181 | 0 | 0.045739 | 0.247932 | 5,320 | 158 | 59 | 33.670886 | 0.774556 | 0.086654 | 0 | 0.705426 | 0 | 0 | 0.000833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139535 | false | 0 | 0.015504 | 0 | 0.155039 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 |
23be363209fa860af54f5693dcd2010b0fdd931f | 95,001 | py | Python | ManufacturingNet/models/svm.py | lalitjg/ManufacturingNet | 5a734e90c77ac0757499353fa3e82bcffe12d1f0 | [
"MIT"
] | 9 | 2020-12-07T21:04:44.000Z | 2021-11-23T14:43:28.000Z | ManufacturingNet/models/svm.py | BaratiLab/ManufacturingNet | 5a734e90c77ac0757499353fa3e82bcffe12d1f0 | [
"MIT"
] | null | null | null | ManufacturingNet/models/svm.py | BaratiLab/ManufacturingNet | 5a734e90c77ac0757499353fa3e82bcffe12d1f0 | [
"MIT"
] | 2 | 2021-01-15T18:38:21.000Z | 2021-09-18T01:50:23.000Z | """SVM can train SVC, NuSVC, LinearSVC, SVR, NuSVR, and LinearSVR
models implemented by Scikit-Learn on the given dataset. Before
training, the user is prompted for parameter input. After training,
model metrics are displayed, and the user can make new predictions.
Classification and regression are both supported.
Vie... | 35.06866 | 87 | 0.449701 | 9,088 | 95,001 | 4.50154 | 0.045885 | 0.082058 | 0.027157 | 0.038279 | 0.881716 | 0.853141 | 0.805622 | 0.780958 | 0.742215 | 0.723026 | 0 | 0.009028 | 0.455479 | 95,001 | 2,708 | 88 | 35.08161 | 0.781809 | 0.065936 | 0 | 0.789448 | 0 | 0 | 0.156667 | 0.016306 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026621 | false | 0 | 0.00242 | 0 | 0.064376 | 0.161181 | 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 |
23c88a88bff346586761330bf4fb83822ede6130 | 8,567 | py | Python | tests/unit/cirrus/plugins/builders/pip_virtualenv_test.py | Maxsparrow/cirrus | ae9639daba4f2d8d9285e98d5b11a89eac573f96 | [
"Apache-2.0"
] | 12 | 2016-04-30T16:13:55.000Z | 2021-01-20T23:42:31.000Z | tests/unit/cirrus/plugins/builders/pip_virtualenv_test.py | Maxsparrow/cirrus | ae9639daba4f2d8d9285e98d5b11a89eac573f96 | [
"Apache-2.0"
] | 153 | 2015-02-12T15:25:42.000Z | 2020-03-09T07:16:15.000Z | tests/unit/cirrus/plugins/builders/pip_virtualenv_test.py | Maxsparrow/cirrus | ae9639daba4f2d8d9285e98d5b11a89eac573f96 | [
"Apache-2.0"
] | 7 | 2015-06-15T21:30:38.000Z | 2020-02-17T02:13:00.000Z | #!/usr/bin/env python
"""
tests for VirtualenvPip builder plugin
"""
import unittest
import mock
import tempfile
import os
from cirrus.build import FACTORY
PYPIRC = \
"""
[distutils]
index-servers =
pypi
devpi
[pypi]
repository: https://pypi.python.org/pypi/
username: steve
password: stevespass
[devpi]
repos... | 38.245536 | 123 | 0.657173 | 1,042 | 8,567 | 5.118042 | 0.111324 | 0.046503 | 0.078755 | 0.057754 | 0.843803 | 0.843803 | 0.843803 | 0.836115 | 0.808738 | 0.808738 | 0 | 0.002381 | 0.215478 | 8,567 | 223 | 124 | 38.41704 | 0.791103 | 0.012023 | 0 | 0.759777 | 0 | 0 | 0.291702 | 0.171182 | 0 | 0 | 0 | 0 | 0.061453 | 1 | 0.027933 | false | 0 | 0.027933 | 0 | 0.061453 | 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 |
9b264017ad1b2785a36d0f32a430b293866b18f7 | 2,117 | py | Python | app/hid/keyboard_test.py | limshengli/tinypilot | aeba23e2e108008bea2b7577f16cfef949238648 | [
"MIT"
] | 1,334 | 2020-07-14T01:53:02.000Z | 2021-06-08T09:48:28.000Z | app/hid/keyboard_test.py | limshengli/tinypilot | aeba23e2e108008bea2b7577f16cfef949238648 | [
"MIT"
] | 320 | 2020-07-07T20:18:05.000Z | 2021-06-07T21:18:42.000Z | app/hid/keyboard_test.py | limshengli/tinypilot | aeba23e2e108008bea2b7577f16cfef949238648 | [
"MIT"
] | 124 | 2020-07-23T16:39:06.000Z | 2021-06-04T10:22:53.000Z | import tempfile
import unittest
from hid import keyboard
from hid import keycodes
class KeyboardTest(unittest.TestCase):
def test_send_hid_keycode_to_hid_interface(self):
with tempfile.NamedTemporaryFile() as input_file:
keyboard.send_keystroke(
keyboard_path=input_file.name,... | 39.203704 | 77 | 0.612187 | 261 | 2,117 | 4.720307 | 0.214559 | 0.175325 | 0.211851 | 0.224026 | 0.82711 | 0.774351 | 0.774351 | 0.754058 | 0.754058 | 0.754058 | 0 | 0.067073 | 0.302787 | 2,117 | 53 | 78 | 39.943396 | 0.767615 | 0.076523 | 0 | 0.547619 | 0 | 0 | 0.098462 | 0.098462 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.095238 | false | 0 | 0.095238 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f1c800105e4b0ed688fc4ee1efea355c56ada0d8 | 155 | py | Python | deep_phospho/proteomics_utils/colors/__init__.py | weizhenFrank/DeepPhospho | e720b867528d92f9a1a5ec840484989af2b8eb63 | [
"MIT"
] | 2 | 2021-11-25T01:06:18.000Z | 2021-12-22T06:34:53.000Z | deep_phospho/proteomics_utils/colors/__init__.py | weizhenFrank/DeepPhospho | e720b867528d92f9a1a5ec840484989af2b8eb63 | [
"MIT"
] | null | null | null | deep_phospho/proteomics_utils/colors/__init__.py | weizhenFrank/DeepPhospho | e720b867528d92f9a1a5ec840484989af2b8eb63 | [
"MIT"
] | 1 | 2021-04-26T03:00:48.000Z | 2021-04-26T03:00:48.000Z | from . import precolors_grad
from .precolors_grad import PreColorDict
from . import precolors_single
from . import rgb_hsl
from .rgb_hex import hex_to_rgb
| 25.833333 | 40 | 0.83871 | 24 | 155 | 5.125 | 0.416667 | 0.243902 | 0.308943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 155 | 5 | 41 | 31 | 0.911111 | 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 |
9e97c30f73e1f5ea6575498d6261b3af4a17067d | 2,695 | py | Python | tests/unit/threading_test.py | deckar01/ratelim | d9ee2ba149d4f75e60f2ab4651ccac18d54e7c24 | [
"MIT"
] | 13 | 2020-03-24T23:57:14.000Z | 2021-12-23T14:14:40.000Z | tests/unit/threading_test.py | deckar01/ratelim | d9ee2ba149d4f75e60f2ab4651ccac18d54e7c24 | [
"MIT"
] | 8 | 2020-03-24T13:43:41.000Z | 2021-11-19T21:21:53.000Z | tests/unit/threading_test.py | deckar01/ratelim | d9ee2ba149d4f75e60f2ab4651ccac18d54e7c24 | [
"MIT"
] | 4 | 2020-05-24T20:08:48.000Z | 2021-01-24T05:29:38.000Z | from threading import Thread
from queue import Queue
import unittest
import sqlite3
from ratelimit import limits, RateLimitException
@limits(calls=2, period=10)
def decorate_in_shared(q):
"""
Increment the counter at most once every 10 seconds.
"""
q.put(1)
def decorate_in_thread(q):
"""
Inc... | 28.670213 | 87 | 0.616327 | 322 | 2,695 | 5.065217 | 0.217391 | 0.121398 | 0.05886 | 0.063765 | 0.84488 | 0.84488 | 0.816677 | 0.816677 | 0.816677 | 0.816677 | 0 | 0.019374 | 0.253061 | 2,695 | 93 | 88 | 28.978495 | 0.790859 | 0.038961 | 0 | 0.732394 | 0 | 0 | 0.103165 | 0.060961 | 0 | 0 | 0 | 0 | 0.056338 | 1 | 0.15493 | false | 0 | 0.070423 | 0 | 0.253521 | 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 |
7bc2d75deb50e4f144923e659909e41c0df69c96 | 271 | py | Python | allennlp_models/structured_prediction/__init__.py | matt-peters/allennlp-models | cdd505ed539fdc2b82e4cc0a23eae4bfd3368e7e | [
"Apache-2.0"
] | 402 | 2020-03-11T22:58:35.000Z | 2022-03-29T09:05:27.000Z | allennlp_models/structured_prediction/__init__.py | matt-peters/allennlp-models | cdd505ed539fdc2b82e4cc0a23eae4bfd3368e7e | [
"Apache-2.0"
] | 116 | 2020-03-11T01:26:57.000Z | 2022-03-25T13:03:56.000Z | allennlp_models/structured_prediction/__init__.py | matt-peters/allennlp-models | cdd505ed539fdc2b82e4cc0a23eae4bfd3368e7e | [
"Apache-2.0"
] | 140 | 2020-03-11T00:51:35.000Z | 2022-03-29T09:05:36.000Z | # flake8: noqa: F403
from allennlp_models.structured_prediction.predictors import *
from allennlp_models.structured_prediction.dataset_readers import *
from allennlp_models.structured_prediction.metrics import *
from allennlp_models.structured_prediction.models import *
| 45.166667 | 67 | 0.870849 | 32 | 271 | 7.09375 | 0.40625 | 0.211454 | 0.317181 | 0.493392 | 0.748899 | 0.581498 | 0 | 0 | 0 | 0 | 0 | 0.015936 | 0.073801 | 271 | 5 | 68 | 54.2 | 0.888446 | 0.066421 | 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 |
cdd609c5d04e5f14555c69eb8c5d321431b08db7 | 14,272 | py | Python | pythologistTK/annotation.py | pilarOrtega/pythologistTK | fb970091b952dbf852ed456207c60dd07a24d7a5 | [
"BSD-2-Clause"
] | null | null | null | pythologistTK/annotation.py | pilarOrtega/pythologistTK | fb970091b952dbf852ed456207c60dd07a24d7a5 | [
"BSD-2-Clause"
] | null | null | null | pythologistTK/annotation.py | pilarOrtega/pythologistTK | fb970091b952dbf852ed456207c60dd07a24d7a5 | [
"BSD-2-Clause"
] | 2 | 2020-06-24T13:26:04.000Z | 2020-06-25T07:08:38.000Z | # coding: utf8
"""
Annotation classes
Original author: Arnaud Abreu
"""
from tkinter import *
from tkinter import ttk
from tkinter.filedialog import *
from PIL import ImageTk
from pythologistTK import view
class AnnotationTab:
def __init__(self, master, model):
self.master = master
self.model = m... | 45.022082 | 90 | 0.586183 | 1,326 | 14,272 | 6.297134 | 0.143288 | 0.027784 | 0.026826 | 0.032575 | 0.83497 | 0.813772 | 0.813772 | 0.800958 | 0.793653 | 0.769701 | 0 | 0.009359 | 0.318736 | 14,272 | 316 | 91 | 45.164557 | 0.849429 | 0.064392 | 0 | 0.841463 | 0 | 0 | 0.035275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052846 | false | 0 | 0.020325 | 0 | 0.081301 | 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 |
a81a387c0f8620b9bf7d62ac64648e16758c0794 | 24,129 | py | Python | sdk/python/pulumi_azure/network/virtual_hub_route_table_route.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/network/virtual_hub_route_table_route.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/network/virtual_hub_route_table_route.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.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... | 48.354709 | 268 | 0.673588 | 2,821 | 24,129 | 5.511521 | 0.080468 | 0.067211 | 0.072035 | 0.050939 | 0.8686 | 0.85548 | 0.842423 | 0.817018 | 0.807371 | 0.801582 | 0 | 0.006961 | 0.23192 | 24,129 | 498 | 269 | 48.451807 | 0.831975 | 0.456422 | 0 | 0.659574 | 1 | 0 | 0.105592 | 0.012831 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157447 | false | 0.004255 | 0.021277 | 0 | 0.27234 | 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 |
a821b63268477b19423efae90984eebbb99e26d9 | 40,458 | py | Python | spinnaker_swagger_client/api/v_2_canary_controller_api.py | coveooss/spinnaker_python_client | 6f5ae436798cb4985ada65cd8169fcc9494d048f | [
"Apache-2.0"
] | null | null | null | spinnaker_swagger_client/api/v_2_canary_controller_api.py | coveooss/spinnaker_python_client | 6f5ae436798cb4985ada65cd8169fcc9494d048f | [
"Apache-2.0"
] | null | null | null | spinnaker_swagger_client/api/v_2_canary_controller_api.py | coveooss/spinnaker_python_client | 6f5ae436798cb4985ada65cd8169fcc9494d048f | [
"Apache-2.0"
] | 2 | 2019-10-17T07:49:21.000Z | 2021-08-10T23:12:41.000Z | # coding: utf-8
"""
Spinnaker API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import ... | 42.677215 | 201 | 0.63928 | 4,638 | 40,458 | 5.25787 | 0.043769 | 0.041991 | 0.020668 | 0.026573 | 0.959895 | 0.946691 | 0.933979 | 0.916017 | 0.898384 | 0.891126 | 0 | 0.014013 | 0.275051 | 40,458 | 947 | 202 | 42.722281 | 0.817422 | 0.323175 | 0 | 0.776699 | 1 | 0 | 0.225677 | 0.083067 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036893 | false | 0 | 0.007767 | 0 | 0.099029 | 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 |
b556bfc289bf14b9300d0b66e3f97ca9d8d66189 | 112 | py | Python | tests/test_gevent_functional_fsm.py | benthomasson/gevent-functional-fsm | a721dee45cab9b889c9e22f6b6553c51e3590d55 | [
"Apache-2.0"
] | null | null | null | tests/test_gevent_functional_fsm.py | benthomasson/gevent-functional-fsm | a721dee45cab9b889c9e22f6b6553c51e3590d55 | [
"Apache-2.0"
] | null | null | null | tests/test_gevent_functional_fsm.py | benthomasson/gevent-functional-fsm | a721dee45cab9b889c9e22f6b6553c51e3590d55 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""Tests for `gevent_functional_fsm` package."""
import pytest
def test_1():
pass
| 11.2 | 48 | 0.678571 | 16 | 112 | 4.5625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.169643 | 112 | 9 | 49 | 12.444444 | 0.774194 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
b56341664ddab5cdaf66f1c4800db82f9356e9b4 | 107 | py | Python | argosd/settings.py | danielkoster/argosd | e5952df10b00a95ba9edac9e057f080afe1b4d2d | [
"MIT"
] | 2 | 2016-09-11T14:27:32.000Z | 2017-09-30T13:17:27.000Z | argosd/settings.py | danielkoster/argosd | e5952df10b00a95ba9edac9e057f080afe1b4d2d | [
"MIT"
] | 22 | 2016-09-03T15:27:45.000Z | 2021-03-09T10:54:16.000Z | argosd/settings.py | danielkoster/argosd | e5952df10b00a95ba9edac9e057f080afe1b4d2d | [
"MIT"
] | null | null | null | try:
from argosd.settings_local import *
except ImportError:
from argosd.settings_default import *
| 21.4 | 41 | 0.766355 | 13 | 107 | 6.153846 | 0.692308 | 0.25 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17757 | 107 | 4 | 42 | 26.75 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 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 |
a93057f7a9c4ce3bbf5a0c58b6d64b8a05011a0a | 8,562 | py | Python | Packs/PerimeterX/Integrations/BotDefender/BotDefender_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 799 | 2016-08-02T06:43:14.000Z | 2022-03-31T11:10:11.000Z | Packs/PerimeterX/Integrations/BotDefender/BotDefender_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 9,317 | 2016-08-07T19:00:51.000Z | 2022-03-31T21:56:04.000Z | Packs/PerimeterX/Integrations/BotDefender/BotDefender_test.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 1,297 | 2016-08-04T13:59:00.000Z | 2022-03-31T23:43:06.000Z | from BotDefender import Client, ip, perimeterx_get_investigate_details
from CommonServerPython import Common
HEADERS = {
'Authorization': 'Bearer token',
'Content-Type': 'application/json'
}
MOCK_BASE_URL = "https://api.perimeterx.com/v1/bot-defender/"
def _get_mock_url():
return f'{MOCK_BASE_URL}/invest... | 41.765854 | 118 | 0.588414 | 1,018 | 8,562 | 4.793713 | 0.178782 | 0.081967 | 0.086066 | 0.090164 | 0.828279 | 0.813115 | 0.8125 | 0.78873 | 0.78873 | 0.768238 | 0 | 0.101472 | 0.246087 | 8,562 | 204 | 119 | 41.970588 | 0.654531 | 0 | 0 | 0.728324 | 0 | 0.121387 | 0.429573 | 0.031885 | 0 | 0 | 0 | 0 | 0.034682 | 1 | 0.052023 | false | 0 | 0.011561 | 0.017341 | 0.080925 | 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 |
8d164324e0dd3ea59b288fe2a17a82e66b4bbdba | 14,359 | py | Python | models.py | RobinSmits/Dutch-NLP-Experiments | e7d48cc77650a7600341095ee236ac3760074cfc | [
"MIT"
] | null | null | null | models.py | RobinSmits/Dutch-NLP-Experiments | e7d48cc77650a7600341095ee236ac3760074cfc | [
"MIT"
] | null | null | null | models.py | RobinSmits/Dutch-NLP-Experiments | e7d48cc77650a7600341095ee236ac3760074cfc | [
"MIT"
] | null | null | null | import tensorflow as tf
import tensorflow_addons as tfa
from transformers import *
def ModelCheckpoint(model_name: str)->tf.keras.callbacks.ModelCheckpoint:
return tf.keras.callbacks.ModelCheckpoint(model_name,
monitor = 'val_accuracy',
... | 43.644377 | 158 | 0.598301 | 1,619 | 14,359 | 5.090179 | 0.129092 | 0.039922 | 0.017474 | 0.030093 | 0.824172 | 0.814343 | 0.814343 | 0.804635 | 0.804635 | 0.799175 | 0 | 0.011622 | 0.280939 | 14,359 | 329 | 159 | 43.644377 | 0.786538 | 0.035657 | 0 | 0.778261 | 0 | 0 | 0.032581 | 0.009478 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082609 | false | 0 | 0.013043 | 0.008696 | 0.169565 | 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 |
8d34d8143cb6d3047c2d3f24bc945a928dd64a0e | 294 | py | Python | highcharts/views/__init__.py | nferrari/django-highcharts | 71cff45eb81a31f8d2aa87ec8427cf26cd6a8c03 | [
"BSD-3-Clause"
] | null | null | null | highcharts/views/__init__.py | nferrari/django-highcharts | 71cff45eb81a31f8d2aa87ec8427cf26cd6a8c03 | [
"BSD-3-Clause"
] | null | null | null | highcharts/views/__init__.py | nferrari/django-highcharts | 71cff45eb81a31f8d2aa87ec8427cf26cd6a8c03 | [
"BSD-3-Clause"
] | null | null | null | from highcharts.views.bar import (
HighChartsBarView,
HighChartsStackedView,
HighChartsColumnView,
)
from highcharts.views.line import HighChartsLineView # noqa
from highcharts.views.area import HighChartsAreaView # noqa
from highcharts.views.pie import HighChartsPieView # noqa
| 32.666667 | 60 | 0.806122 | 29 | 294 | 8.172414 | 0.517241 | 0.236287 | 0.320675 | 0.194093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139456 | 294 | 8 | 61 | 36.75 | 0.936759 | 0.047619 | 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 |
8d63b301413a90d7ee440b1cce504e0f935b58c1 | 221 | py | Python | checkers/__init__.py | kdruken/nci-checker-v2 | e37d24e401c01f1bad348ab64160455020828810 | [
"MIT"
] | null | null | null | checkers/__init__.py | kdruken/nci-checker-v2 | e37d24e401c01f1bad348ab64160455020828810 | [
"MIT"
] | null | null | null | checkers/__init__.py | kdruken/nci-checker-v2 | e37d24e401c01f1bad348ab64160455020828810 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from checkers.check import *
from checkers.cf_check import *
from checkers.gdal_check import *
from checkers.hdf5_check import *
from checkers.acdd_check import *
from checkers.netcdf4_check import * | 31.571429 | 36 | 0.809955 | 33 | 221 | 5.272727 | 0.393939 | 0.413793 | 0.431034 | 0.66092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.113122 | 221 | 7 | 36 | 31.571429 | 0.877551 | 0.090498 | 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 |
8d70916a218649661a360911fd068f93928014a5 | 162,782 | py | Python | operators/multicluster-operators-subscription/python/pulumi_pulumi_kubernetes_crds_operators_multicluster_operators_subscription/apps/v1/_inputs.py | pulumi/pulumi-kubernetes-crds | 372c4c0182f6b899af82d6edaad521aa14f22150 | [
"Apache-2.0"
] | null | null | null | operators/multicluster-operators-subscription/python/pulumi_pulumi_kubernetes_crds_operators_multicluster_operators_subscription/apps/v1/_inputs.py | pulumi/pulumi-kubernetes-crds | 372c4c0182f6b899af82d6edaad521aa14f22150 | [
"Apache-2.0"
] | 2 | 2020-09-18T17:12:23.000Z | 2020-12-30T19:40:56.000Z | operators/multicluster-operators-subscription/python/pulumi_pulumi_kubernetes_crds_operators_multicluster_operators_subscription/apps/v1/_inputs.py | pulumi/pulumi-kubernetes-crds | 372c4c0182f6b899af82d6edaad521aa14f22150 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by crd2pulumi. ***
# *** 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
from ... import _utilities, _tables
__all__ = [
'... | 48.971721 | 1,673 | 0.683153 | 19,842 | 162,782 | 5.50005 | 0.031549 | 0.092833 | 0.067093 | 0.059268 | 0.873273 | 0.843291 | 0.820951 | 0.787917 | 0.772688 | 0.755525 | 0 | 0.001269 | 0.210656 | 162,782 | 3,323 | 1,674 | 48.986458 | 0.848067 | 0.363148 | 0 | 0.722768 | 1 | 0 | 0.128861 | 0.06227 | 0 | 0 | 0 | 0.006019 | 0 | 1 | 0.206639 | false | 0 | 0.002338 | 0.02805 | 0.324451 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
571d21b2e7a9acee92c1d9e1ded1642cfa7da088 | 129 | py | Python | proj_hello_world/__init__.py | xzheng902/proj_hello_world | 797daa58864c55bf7ebd9c7f2e46a5a07da4c851 | [
"MIT"
] | null | null | null | proj_hello_world/__init__.py | xzheng902/proj_hello_world | 797daa58864c55bf7ebd9c7f2e46a5a07da4c851 | [
"MIT"
] | null | null | null | proj_hello_world/__init__.py | xzheng902/proj_hello_world | 797daa58864c55bf7ebd9c7f2e46a5a07da4c851 | [
"MIT"
] | null | null | null | # __init__.py
# Mike Zheng
# 6/18/19
# python project example
import proj_hello_world.hello_world, proj_hello_world.simple_math
| 18.428571 | 65 | 0.806202 | 21 | 129 | 4.47619 | 0.761905 | 0.319149 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04386 | 0.116279 | 129 | 6 | 66 | 21.5 | 0.780702 | 0.410853 | 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 |
572f6e8fba55da545877bbd295facd7cfee164c1 | 17,879 | py | Python | test/test_block.py | ComplexArts/pyctrl-core | a72bd53924410c2e7f1e71c8188a0391550febdd | [
"Apache-2.0"
] | null | null | null | test/test_block.py | ComplexArts/pyctrl-core | a72bd53924410c2e7f1e71c8188a0391550febdd | [
"Apache-2.0"
] | null | null | null | test/test_block.py | ComplexArts/pyctrl-core | a72bd53924410c2e7f1e71c8188a0391550febdd | [
"Apache-2.0"
] | null | null | null | import unittest
import numpy
import pyctrl.block as block
class TestUnittestAssertions(unittest.TestCase):
def test_BufferBlock(self):
# no mux, no demux
obj = block.ShortCircuit()
obj.write()
self.assertTrue(obj.read() == ())
obj.write(1)
self.assertTrue(obj.re... | 27.421779 | 120 | 0.492365 | 2,561 | 17,879 | 3.39633 | 0.057399 | 0.165785 | 0.045988 | 0.040009 | 0.851345 | 0.819729 | 0.783973 | 0.73902 | 0.713842 | 0.690848 | 0 | 0.046727 | 0.310532 | 17,879 | 651 | 121 | 27.463902 | 0.658879 | 0.028525 | 0 | 0.70614 | 0 | 0.002193 | 0.032111 | 0.005304 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.030702 | false | 0 | 0.019737 | 0.006579 | 0.059211 | 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 |
939c6914de42dfafe33d747cacea96e9461450ca | 31,373 | py | Python | sdk/python/pulumi_alicloud/ecs/reserved_instance.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/ecs/reserved_instance.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/ecs/reserved_instance.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.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... | 47.534848 | 260 | 0.646607 | 3,881 | 31,373 | 5.060551 | 0.059263 | 0.080092 | 0.084827 | 0.087373 | 0.906976 | 0.894399 | 0.883961 | 0.879582 | 0.87169 | 0.859318 | 0 | 0.006265 | 0.241896 | 31,373 | 659 | 261 | 47.60698 | 0.819501 | 0.394447 | 0 | 0.843501 | 1 | 0 | 0.085427 | 0.002632 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164456 | false | 0.002653 | 0.013263 | 0.007958 | 0.275862 | 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 |
f539feea87c313c93d85279177ed7bdae6b2a9d3 | 25,202 | py | Python | tests/python/test_normal_tx.py | sscqchain/go-xchain | 3d4a3f6f10ce322ab8621d9c7ca51ee9e2bdfcd4 | [
"Apache-2.0"
] | null | null | null | tests/python/test_normal_tx.py | sscqchain/go-xchain | 3d4a3f6f10ce322ab8621d9c7ca51ee9e2bdfcd4 | [
"Apache-2.0"
] | null | null | null | tests/python/test_normal_tx.py | sscqchain/go-xchain | 3d4a3f6f10ce322ab8621d9c7ca51ee9e2bdfcd4 | [
"Apache-2.0"
] | null | null | null | import json
import subprocess
import time
import pytest
from pprint import pprint
from sscqsdk import SscqRPC, SscqTxBuilder, sscq_to_satoshi, Address, SscqPrivateKey
@pytest.fixture(scope="module", autouse=True)
def check_balance(conftest_args):
print("====> check_balance <=======")
sscqrpc = SscqRPC(chaid_... | 36.054363 | 155 | 0.673954 | 3,447 | 25,202 | 4.611256 | 0.064694 | 0.043158 | 0.03435 | 0.028185 | 0.870462 | 0.856559 | 0.836552 | 0.828688 | 0.827996 | 0.821139 | 0 | 0.01662 | 0.214507 | 25,202 | 698 | 156 | 36.106017 | 0.78632 | 0.07797 | 0 | 0.843444 | 0 | 0 | 0.091644 | 0.010586 | 0 | 0 | 0 | 0.001433 | 0.322896 | 1 | 0.019569 | false | 0.021526 | 0.011742 | 0 | 0.031311 | 0.066536 | 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 |
f546f90b74113b1585b96838b6237f677fccf609 | 133 | py | Python | sphinxcontrib/test_reports/__init__.py | lassebn/sphinx-test-reports | 1655c81a3b9e79cd46244810cd7f3ef8fb84c1aa | [
"MIT"
] | 12 | 2019-04-06T14:12:06.000Z | 2021-11-04T21:10:03.000Z | sphinxcontrib/test_reports/__init__.py | lassebn/sphinx-test-reports | 1655c81a3b9e79cd46244810cd7f3ef8fb84c1aa | [
"MIT"
] | 20 | 2018-11-16T09:56:27.000Z | 2022-02-04T22:07:43.000Z | sphinxcontrib/test_reports/__init__.py | lassebn/sphinx-test-reports | 1655c81a3b9e79cd46244810cd7f3ef8fb84c1aa | [
"MIT"
] | 7 | 2018-11-23T14:13:40.000Z | 2021-12-16T14:44:43.000Z | # from sphinxcontrib.test_reports.needs.dyn_functions import Results4Needs
from sphinxcontrib.test_reports.test_reports import setup
| 44.333333 | 74 | 0.887218 | 17 | 133 | 6.705882 | 0.588235 | 0.289474 | 0.368421 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.067669 | 133 | 2 | 75 | 66.5 | 0.91129 | 0.541353 | 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 |
f5647c69481df6b09c86868ee7cf6708a98a56a8 | 6,961 | py | Python | pid/assets.py | PlanetaryResources/pid | ecb146cc26c6ade2863bcdc6d271ead3cbcbbe40 | [
"Apache-2.0"
] | 3 | 2019-06-14T18:05:22.000Z | 2020-01-22T17:38:17.000Z | pid/assets.py | PlanetaryResources/pid | ecb146cc26c6ade2863bcdc6d271ead3cbcbbe40 | [
"Apache-2.0"
] | null | null | null | pid/assets.py | PlanetaryResources/pid | ecb146cc26c6ade2863bcdc6d271ead3cbcbbe40 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Application assets."""
from flask_assets import Bundle, Environment
css = Bundle(
'libs/bootstrap-3.3.0/css/bootstrap.min.css',
'libs/bootflat-2.0.4/css/bootflat.min.css',
'libs/photoswipe-4.1.2/css/photoswipe.css',
'libs/photoswipe-4.1.2/default-skin/default-skin.css',
'... | 54.811024 | 148 | 0.605229 | 944 | 6,961 | 4.45339 | 0.145127 | 0.036632 | 0.043292 | 0.046384 | 0.92745 | 0.92745 | 0.900333 | 0.870599 | 0.826356 | 0.826356 | 0 | 0.044148 | 0.24508 | 6,961 | 126 | 149 | 55.246032 | 0.755852 | 0.159316 | 0 | 0.444444 | 0 | 0.102564 | 0.63483 | 0.557735 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008547 | 0 | 0.008547 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f57e6b3fdcdc9d69dd28bab6eca5336ad63fdc79 | 1,640 | py | Python | tests/unit_tests/test_015_resources_hostgroups.py | Whyrl35/sshportal-api | 1aa437e746f01ba1df48de904466f91a103a11ad | [
"MIT"
] | 1 | 2021-07-06T21:11:06.000Z | 2021-07-06T21:11:06.000Z | tests/unit_tests/test_015_resources_hostgroups.py | Whyrl35/sshportal-api | 1aa437e746f01ba1df48de904466f91a103a11ad | [
"MIT"
] | null | null | null | tests/unit_tests/test_015_resources_hostgroups.py | Whyrl35/sshportal-api | 1aa437e746f01ba1df48de904466f91a103a11ad | [
"MIT"
] | null | null | null | from flask import url_for
def test_hostgroups(client, access_token):
token = access_token
res = client.get(url_for('hostgroups'), headers={'authorization': "Bearer {token}".format(token=token)})
assert res.status_code == 200
assert res.json[0]['id'] == 1
assert res.json[0]['name'] == "default"
... | 37.272727 | 115 | 0.641463 | 228 | 1,640 | 4.535088 | 0.162281 | 0.142166 | 0.188588 | 0.069633 | 0.911025 | 0.865571 | 0.852031 | 0.813346 | 0.813346 | 0.710832 | 0 | 0.02161 | 0.181707 | 1,640 | 43 | 116 | 38.139535 | 0.748882 | 0 | 0 | 0.540541 | 0 | 0 | 0.231707 | 0 | 0 | 0 | 0 | 0 | 0.648649 | 1 | 0.081081 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f5846762b4b1e8b2182306476f6637f1c493461f | 609 | py | Python | src/graph_transpiler/webdnn/frontend/keras/layers/__init__.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | 1 | 2021-04-09T15:55:35.000Z | 2021-04-09T15:55:35.000Z | src/graph_transpiler/webdnn/frontend/keras/layers/__init__.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | src/graph_transpiler/webdnn/frontend/keras/layers/__init__.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | from webdnn.frontend.keras.layers import advanced_activations
from webdnn.frontend.keras.layers import convolutional
from webdnn.frontend.keras.layers import core
from webdnn.frontend.keras.layers import embeddings
from webdnn.frontend.keras.layers import local
from webdnn.frontend.keras.layers import merge
from webdnn... | 46.846154 | 61 | 0.862069 | 85 | 609 | 6.164706 | 0.223529 | 0.229008 | 0.412214 | 0.526718 | 0.801527 | 0.801527 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078818 | 609 | 12 | 62 | 50.75 | 0.934046 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
f5a396047a9739cd1e9e45d41cabac50c9de95e3 | 48,134 | py | Python | great_international/migrations/0011_auto_20190404_1321.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2018-03-20T11:19:07.000Z | 2021-10-05T07:53:11.000Z | great_international/migrations/0011_auto_20190404_1321.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 802 | 2018-02-05T14:16:13.000Z | 2022-02-10T10:59:21.000Z | great_international/migrations/0011_auto_20190404_1321.py | uktrade/directory-cms | 8c8d13ce29ea74ddce7a40f3dd29c8847145d549 | [
"MIT"
] | 6 | 2019-01-22T13:19:37.000Z | 2019-07-01T10:35:26.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.18 on 2019-04-04 13:21
from __future__ import unicode_literals
import core.model_fields
import core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('wagtailima... | 44.943044 | 149 | 0.62407 | 4,823 | 48,134 | 5.979681 | 0.020527 | 0.131068 | 0.167476 | 0.196602 | 0.987656 | 0.987656 | 0.98724 | 0.986824 | 0.986026 | 0.983356 | 0 | 0.0096 | 0.259879 | 48,134 | 1,070 | 150 | 44.985047 | 0.799944 | 0.001434 | 0 | 0.790216 | 1 | 0 | 0.201573 | 0.120511 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004704 | 0 | 0.007526 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
fda739ab5df1d356b2e633019ca5e862975afe3e | 125 | py | Python | serie4/docu/Code/start.py | Koopakiller/Edu-NLA | 8376557cab9f74cedd19ee1573a8c71d7e415dd4 | [
"MIT"
] | null | null | null | serie4/docu/Code/start.py | Koopakiller/Edu-NLA | 8376557cab9f74cedd19ee1573a8c71d7e415dd4 | [
"MIT"
] | null | null | null | serie4/docu/Code/start.py | Koopakiller/Edu-NLA | 8376557cab9f74cedd19ee1573a8c71d7e415dd4 | [
"MIT"
] | null | null | null | def main(file_name="data.txt", n=7):
# Code
pass
if __name__ == "__main__":
main(file_name="data_sym.txt", n=7)
| 17.857143 | 39 | 0.616 | 21 | 125 | 3.142857 | 0.571429 | 0.242424 | 0.363636 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.2 | 125 | 6 | 40 | 20.833333 | 0.64 | 0.032 | 0 | 0 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
e338cf8b18b50f142281acd3fba769c180c7b868 | 9,352 | py | Python | tests/test_vector_index_to_coords.py | lantunes/deepdab | 0e30f102b9d7c37d3691540496b1649f2704d586 | [
"Apache-2.0"
] | 1 | 2019-04-04T02:26:51.000Z | 2019-04-04T02:26:51.000Z | tests/test_vector_index_to_coords.py | lantunes/deepdab | 0e30f102b9d7c37d3691540496b1649f2704d586 | [
"Apache-2.0"
] | null | null | null | tests/test_vector_index_to_coords.py | lantunes/deepdab | 0e30f102b9d7c37d3691540496b1649f2704d586 | [
"Apache-2.0"
] | null | null | null | import unittest
import deepdab
class TestVectorIndexToCoords(unittest.TestCase):
def test_convert_vector_index_to_coordinates_1x1(self):
coordinates = deepdab.convert_vector_index_to_coordinates((1, 1), 0)
self.assertEqual(coordinates, [(0, 1)])
coordinates = deepdab.convert_vector_index... | 60.335484 | 110 | 0.680175 | 1,174 | 9,352 | 5.132027 | 0.041738 | 0.159668 | 0.221079 | 0.245643 | 0.928797 | 0.90888 | 0.893444 | 0.873195 | 0.825892 | 0.783237 | 0 | 0.054719 | 0.183169 | 9,352 | 154 | 111 | 60.727273 | 0.733997 | 0 | 0 | 0.293706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.055944 | false | 0 | 0.013986 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 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 | 9 |
e374d42bd89560a9bbec64d855527670cd850c1d | 60 | py | Python | src/utils/Testing_Folder/Fish/Aliens/AlphaCentauri.py | jonoddram/CodetagCrawler | 6b6eaed738aef91fead3d2aaf3ab96e1cecd0cdf | [
"MIT"
] | null | null | null | src/utils/Testing_Folder/Fish/Aliens/AlphaCentauri.py | jonoddram/CodetagCrawler | 6b6eaed738aef91fead3d2aaf3ab96e1cecd0cdf | [
"MIT"
] | null | null | null | src/utils/Testing_Folder/Fish/Aliens/AlphaCentauri.py | jonoddram/CodetagCrawler | 6b6eaed738aef91fead3d2aaf3ab96e1cecd0cdf | [
"MIT"
] | null | null | null | # EXTERMINATE EXTERMINATE EXTERMINATE
# TODOCTOR EXTERMINATE | 30 | 37 | 0.866667 | 5 | 60 | 10.4 | 0.4 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 60 | 2 | 38 | 30 | 0.962963 | 0.933333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.5 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e375ecb9ac50ceae4b4b6fe0f78e748efdf6224a | 88 | py | Python | src/utils/criterion_functions.py | Hannemit/dog_breed_classifier | 3e9cc6abe8a4dcb91eebcd4aaacaa04502fe9682 | [
"MIT"
] | null | null | null | src/utils/criterion_functions.py | Hannemit/dog_breed_classifier | 3e9cc6abe8a4dcb91eebcd4aaacaa04502fe9682 | [
"MIT"
] | null | null | null | src/utils/criterion_functions.py | Hannemit/dog_breed_classifier | 3e9cc6abe8a4dcb91eebcd4aaacaa04502fe9682 | [
"MIT"
] | null | null | null | import torch.nn as nn
def cross_entropy_loss():
return nn.CrossEntropyLoss()
| 14.666667 | 33 | 0.704545 | 12 | 88 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215909 | 88 | 5 | 34 | 17.6 | 0.869565 | 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 |
8b635f8990663175b0b492d20f35501c7f499db6 | 154 | py | Python | RoIlayer/__init__.py | doanthuyennt/DRRG | 99690dcde3ffb75d6ed5fda61a4078075376a390 | [
"MIT"
] | 227 | 2020-03-09T03:07:42.000Z | 2022-03-12T06:09:06.000Z | RoIlayer/__init__.py | doanthuyennt/DRRG | 99690dcde3ffb75d6ed5fda61a4078075376a390 | [
"MIT"
] | 28 | 2020-09-01T02:19:05.000Z | 2022-01-11T11:51:21.000Z | RoIlayer/__init__.py | doanthuyennt/DRRG | 99690dcde3ffb75d6ed5fda61a4078075376a390 | [
"MIT"
] | 50 | 2020-03-18T01:58:51.000Z | 2022-03-27T08:50:31.000Z | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
import torch
from .rroi_align import RROIAlign
from .rroi_align import rroi_align | 30.8 | 71 | 0.805195 | 23 | 154 | 5.26087 | 0.695652 | 0.223141 | 0.214876 | 0.31405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 154 | 5 | 72 | 30.8 | 0.909774 | 0.448052 | 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 |
8bb66a2e95e70b252a05ec2613305d46f203a942 | 41,267 | py | Python | app/presenter/tests/tests_views_json_ViewGitFeed_commit.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | 10 | 2017-01-13T06:28:04.000Z | 2020-11-18T13:00:26.000Z | app/presenter/tests/tests_views_json_ViewGitFeed_commit.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | null | null | null | app/presenter/tests/tests_views_json_ViewGitFeed_commit.py | imvu/bluesteel | ab52133249a693b3cd2d8593c5d47408a3b0fce6 | [
"MIT"
] | 2 | 2018-03-29T14:10:53.000Z | 2019-11-20T08:21:57.000Z | """ Git Feed Views commit tests """
from django.test import TestCase
from django.test import Client
from django.conf import settings
from django.utils import timezone
from django.contrib.auth.models import User
from app.logic.gitrepo.models.GitProjectModel import GitProjectEntry
from app.logic.gitrepo.models.GitUserMo... | 52.236709 | 238 | 0.703662 | 4,668 | 41,267 | 6.01928 | 0.06084 | 0.054452 | 0.036302 | 0.024664 | 0.888426 | 0.863585 | 0.828529 | 0.810734 | 0.79995 | 0.79479 | 0 | 0.06448 | 0.170209 | 41,267 | 789 | 239 | 52.302915 | 0.756067 | 0.000654 | 0 | 0.701639 | 0 | 0 | 0.127959 | 0.049791 | 0 | 0 | 0 | 0 | 0.214754 | 1 | 0.027869 | false | 0.008197 | 0.05082 | 0 | 0.080328 | 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 |
47920e8fc6771cad129b92c22b005ea6aa82f616 | 2,114 | py | Python | NSIX.py | nfs-tech-bd/NSIX | c6b928a7f2eb5928d3979dffb4de0321ee0fc856 | [
"Apache-2.0"
] | 5 | 2021-02-22T17:12:14.000Z | 2022-01-18T03:55:34.000Z | NSIX.py | nfs-tech-bd/NSIX | c6b928a7f2eb5928d3979dffb4de0321ee0fc856 | [
"Apache-2.0"
] | null | null | null | NSIX.py | nfs-tech-bd/NSIX | c6b928a7f2eb5928d3979dffb4de0321ee0fc856 | [
"Apache-2.0"
] | 1 | 2021-05-11T23:38:24.000Z | 2021-05-11T23:38:24.000Z | import marshal,zlib,base64
exec(marshal.loads(zlib.decompress(base64.b64decode("eJytVm1T20YQXvkNLCAx5IU2L+2lX+rMFBtI2rw0k8YYE1yCzcj20CjpMEI62zJ6cXTymGTIl6b/oB867e/ol/6j/ot29ySBKWTaZnpGx+7t3t7dPrt7Z0Lc0vg9wU/cws7CPwUcAB2AAwwUsFLwTqHBTAe7VpHU7T+xNUR2FsBMzGQTMz8rAK//OGUpphXQlYROgZ5K6DTo6YTOgJ5J6Czo2YTOgZ5L6CnQpxJ6GvTphM6D... | 704.666667 | 2,086 | 0.962157 | 70 | 2,114 | 29.057143 | 0.957143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151113 | 0.001419 | 2,114 | 2 | 2,087 | 1,057 | 0.812411 | 0 | 0 | 0 | 0 | 0.5 | 0.959319 | 0.959319 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
9a0f2bd3f561f3ba7ec6136ee95be224a7910eb0 | 109 | py | Python | deli_counter/test/test_authn_db.py | sandwichcloud/deli-counter | e72ee3966f4457ffbd1d432b3516965075c7c86e | [
"MIT"
] | 1 | 2017-10-19T09:25:29.000Z | 2017-10-19T09:25:29.000Z | deli_counter/test/test_authn_db.py | sandwichcloud/deli-counter | e72ee3966f4457ffbd1d432b3516965075c7c86e | [
"MIT"
] | null | null | null | deli_counter/test/test_authn_db.py | sandwichcloud/deli-counter | e72ee3966f4457ffbd1d432b3516965075c7c86e | [
"MIT"
] | null | null | null | from deli_counter.test.base import DeliTestCase
class TestAuthNDB(DeliTestCase):
pass
# TODO: do this
| 13.625 | 47 | 0.770642 | 14 | 109 | 5.928571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 109 | 7 | 48 | 15.571429 | 0.912088 | 0.119266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
9a59a943e214254dcc428d4ef6da0e8bf9f013ce | 4,856 | py | Python | sympycore/heads/relational.py | radovankavicky/pymaclab | 21da758f64ed0b62969c9289576f677e977cfd98 | [
"Apache-2.0"
] | 96 | 2015-01-25T05:59:56.000Z | 2021-12-29T14:05:22.000Z | sympycore/heads/relational.py | 1zinnur9/pymaclab | 21da758f64ed0b62969c9289576f677e977cfd98 | [
"Apache-2.0"
] | 3 | 2015-12-17T19:25:46.000Z | 2018-06-19T07:05:20.000Z | sympycore/heads/relational.py | 1zinnur9/pymaclab | 21da758f64ed0b62969c9289576f677e977cfd98 | [
"Apache-2.0"
] | 36 | 2016-01-31T15:22:01.000Z | 2021-03-29T07:03:07.000Z |
from __future__ import with_statement
__all__ = ['EQ', 'NE', 'LT', 'LE', 'GT', 'GE']
from ..core import init_module, classes, SymbolicEquality
init_module.import_heads()
init_module.import_numbers()
from .base import Head, BinaryHead, heads_precedence, Expr
class RelationalHead(BinaryHead):
def walk(self, fun... | 27.748571 | 73 | 0.578048 | 625 | 4,856 | 4.352 | 0.1024 | 0.081618 | 0.066176 | 0.086029 | 0.811029 | 0.731618 | 0.724632 | 0.724632 | 0.724632 | 0.724632 | 0 | 0.001758 | 0.297158 | 4,856 | 174 | 74 | 27.908046 | 0.795195 | 0 | 0 | 0.603053 | 0 | 0 | 0.014418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.038168 | 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 |
7bf92a69b195e83bcb5fbfb7a69866db2e08d06a | 2,084 | py | Python | src/sort/bubble_sort.py | grayondream/algorithm-forth | c2c21419ec7c42b10f229ab41ac10edf7afbe956 | [
"Apache-2.0"
] | null | null | null | src/sort/bubble_sort.py | grayondream/algorithm-forth | c2c21419ec7c42b10f229ab41ac10edf7afbe956 | [
"Apache-2.0"
] | null | null | null | src/sort/bubble_sort.py | grayondream/algorithm-forth | c2c21419ec7c42b10f229ab41ac10edf7afbe956 | [
"Apache-2.0"
] | null | null | null | def bubble_sort(l, start, end, hook_func=None):
'''
@brief 冒泡排序算法,排序区间[start, end]
@param l 需要进行排序的list
@param start 开始位置
@param end 结束位置
@param hook_func hook函数这里主要是用作可视化
'''
count = 0
for i in range(start, end + 1):
for j in range(start, end - i):
if ... | 25.414634 | 73 | 0.521113 | 278 | 2,084 | 3.794964 | 0.158273 | 0.034123 | 0.025592 | 0.034123 | 0.867299 | 0.798104 | 0.798104 | 0.798104 | 0.777251 | 0.777251 | 0 | 0.014717 | 0.380518 | 2,084 | 81 | 74 | 25.728395 | 0.802479 | 0.255278 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0 | 0 | 0.133333 | 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 |
d000bc1502e589f3a9f5354316d4814e3c38a030 | 1,323 | py | Python | test/test_pythoscope_localizable.py | h4ck3rm1k3/pythoscope | 0cefb34b86e2e81e29c0b93d27e3d4657db79912 | [
"MIT"
] | null | null | null | test/test_pythoscope_localizable.py | h4ck3rm1k3/pythoscope | 0cefb34b86e2e81e29c0b93d27e3d4657db79912 | [
"MIT"
] | null | null | null | test/test_pythoscope_localizable.py | h4ck3rm1k3/pythoscope | 0cefb34b86e2e81e29c0b93d27e3d4657db79912 | [
"MIT"
] | null | null | null | import unittest
class TestLocalizable(unittest.TestCase):
def test___init__(self):
# localizable = Localizable(project, subpath, created)
assert False # TODO: implement your test here
def test_exists(self):
# localizable = Localizable(project, subpath, created)
# self.assertE... | 36.75 | 68 | 0.685563 | 148 | 1,323 | 5.905405 | 0.25 | 0.048055 | 0.17849 | 0.226545 | 0.813501 | 0.813501 | 0.759725 | 0.718535 | 0.718535 | 0.570938 | 0 | 0 | 0.225246 | 1,323 | 35 | 69 | 37.8 | 0.852683 | 0.58579 | 0 | 0.375 | 0 | 0 | 0.015094 | 0 | 0 | 0 | 0 | 0.028571 | 0.375 | 1 | 0.375 | false | 0 | 0.0625 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d02f987c5347d2247e2d113df7b92d23191487f8 | 163,460 | py | Python | octopus_deploy_swagger_client/octopus_deploy_client/releases_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | octopus_deploy_swagger_client/octopus_deploy_client/releases_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | octopus_deploy_swagger_client/octopus_deploy_client/releases_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Octopus Server API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2019.6.7+Branch.tags-2019.6.7.Sha.aa18dc6809953218c66f57eff7d26481d9b23d6a
Generated by: https://github.com/swagger-api... | 49.789826 | 268 | 0.671755 | 19,472 | 163,460 | 5.299661 | 0.013815 | 0.038529 | 0.025583 | 0.05978 | 0.995019 | 0.995019 | 0.995019 | 0.993914 | 0.993546 | 0.993546 | 0 | 0.012774 | 0.252881 | 163,460 | 3,282 | 269 | 49.804997 | 0.832228 | 0.35375 | 0 | 0.838997 | 1 | 0 | 0.239249 | 0.113744 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036212 | false | 0 | 0.002228 | 0 | 0.092479 | 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 |
d0431b1e4800152399ab8d0e8023c7c39f47a44e | 15,616 | py | Python | rqalpha/examples/extend_api/CtpMod/util.py | hadrianl/rqalpha_kairui | eb0e0de1d69f1a4d6f349d4dc011e1c9eccfe2d8 | [
"Apache-2.0"
] | 2 | 2019-03-06T00:39:45.000Z | 2019-05-26T15:34:03.000Z | rqalpha/examples/extend_api/CtpMod/util.py | hadrianl/rqalpha_kairui | eb0e0de1d69f1a4d6f349d4dc011e1c9eccfe2d8 | [
"Apache-2.0"
] | null | null | null | rqalpha/examples/extend_api/CtpMod/util.py | hadrianl/rqalpha_kairui | eb0e0de1d69f1a4d6f349d4dc011e1c9eccfe2d8 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2018/8/29 0029 11:27
# @Author : Hadrianl
# @File : util
# 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.apach... | 78.472362 | 105 | 0.642802 | 1,808 | 15,616 | 5.165929 | 0.105642 | 0.175375 | 0.068308 | 0.211135 | 0.916702 | 0.89818 | 0.830835 | 0.830835 | 0.830835 | 0.830835 | 0 | 0.060278 | 0.212795 | 15,616 | 198 | 106 | 78.868687 | 0.699504 | 0.040535 | 0 | 0.508475 | 0 | 0 | 0.496351 | 0.275691 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00565 | 0 | 0.00565 | 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 |
d05204fbc1333e52b09d31dec72734f38fdd132f | 141,864 | py | Python | libs/external_libs/gdata.py-1.0.13/src/gdata/test_data.py | google-code-export/django-hotclub | d783a5bbcc06816289565f3eae6d99461188ca4a | [
"MIT"
] | 3 | 2015-12-25T14:45:36.000Z | 2016-11-28T09:58:03.000Z | libs/external_libs/gdata.py-1.0.13/src/gdata/test_data.py | indro/t2c | 56482ad4aed150f29353e054db2c97b567243bf8 | [
"MIT"
] | null | null | null | libs/external_libs/gdata.py-1.0.13/src/gdata/test_data.py | indro/t2c | 56482ad4aed150f29353e054db2c97b567243bf8 | [
"MIT"
] | null | null | null | #!/usr/bin/python
#
# Copyright (C) 2006 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | 58.45241 | 1,518 | 0.688413 | 21,050 | 141,864 | 4.61962 | 0.066698 | 0.05877 | 0.047901 | 0.056354 | 0.86579 | 0.84837 | 0.830065 | 0.806094 | 0.782401 | 0.756671 | 0 | 0.065864 | 0.112023 | 141,864 | 2,426 | 1,519 | 58.476505 | 0.706078 | 0.004018 | 0 | 0.615917 | 0 | 0.240484 | 0.991754 | 0.24211 | 0 | 0 | 0.000057 | 0 | 0 | 1 | 0 | false | 0.000865 | 0.000433 | 0 | 0.000433 | 0.000433 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d09ef96ba6c64ac2e0627c2fe027aec13b78a40a | 239 | py | Python | nmigen/vendor/quicklogic.py | psumesh/nmigen | 7d611b8fc1d9e58853ff268ec38ff8f4131a9774 | [
"BSD-2-Clause"
] | 528 | 2020-01-28T18:21:00.000Z | 2021-12-09T06:27:51.000Z | nmigen/vendor/quicklogic.py | psumesh/nmigen | 7d611b8fc1d9e58853ff268ec38ff8f4131a9774 | [
"BSD-2-Clause"
] | 360 | 2020-01-28T18:34:30.000Z | 2021-12-10T08:03:32.000Z | nmigen/vendor/quicklogic.py | psumesh/nmigen | 7d611b8fc1d9e58853ff268ec38ff8f4131a9774 | [
"BSD-2-Clause"
] | 100 | 2020-02-06T21:55:46.000Z | 2021-11-25T19:20:44.000Z | from amaranth.vendor.quicklogic import *
from amaranth.vendor.quicklogic import __all__
import warnings
warnings.warn("instead of nmigen.vendor.quicklogic, use amaranth.vendor.quicklogic",
DeprecationWarning, stacklevel=2)
| 29.875 | 84 | 0.786611 | 27 | 239 | 6.814815 | 0.555556 | 0.347826 | 0.391304 | 0.304348 | 0.369565 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004854 | 0.138075 | 239 | 7 | 85 | 34.142857 | 0.88835 | 0 | 0 | 0 | 0 | 0 | 0.280335 | 0.213389 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
d0c14fe497d9110b9007fb7eb9747cee777d6768 | 40 | py | Python | service/history/__init__.py | volbil/ethereum-indexer | 5efef3afef07a7afed558983385ebb666f27d5d9 | [
"MIT"
] | null | null | null | service/history/__init__.py | volbil/ethereum-indexer | 5efef3afef07a7afed558983385ebb666f27d5d9 | [
"MIT"
] | null | null | null | service/history/__init__.py | volbil/ethereum-indexer | 5efef3afef07a7afed558983385ebb666f27d5d9 | [
"MIT"
] | null | null | null | from .views import blueprint as history
| 20 | 39 | 0.825 | 6 | 40 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 1 | 40 | 40 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
323ae5b96bc5632cb5beb3be17561a9191465d81 | 110,590 | py | Python | WS2012R2/lisa/tools/middleware_bench/connector.py | bogdancarpusor/lis-test | c8ea3fe90918ed666bd11f8316b97d6d430c6c01 | [
"Apache-2.0"
] | null | null | null | WS2012R2/lisa/tools/middleware_bench/connector.py | bogdancarpusor/lis-test | c8ea3fe90918ed666bd11f8316b97d6d430c6c01 | [
"Apache-2.0"
] | null | null | null | WS2012R2/lisa/tools/middleware_bench/connector.py | bogdancarpusor/lis-test | c8ea3fe90918ed666bd11f8316b97d6d430c6c01 | [
"Apache-2.0"
] | null | null | null | """
Linux on Hyper-V and Azure Test Code, ver. 1.0.0
Copyright (c) Microsoft Corporation
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/LICEN... | 58.022036 | 192 | 0.570061 | 12,592 | 110,590 | 4.869362 | 0.039072 | 0.034934 | 0.026584 | 0.020566 | 0.902031 | 0.896094 | 0.887874 | 0.875707 | 0.863688 | 0.854457 | 0 | 0.012394 | 0.335374 | 110,590 | 1,905 | 193 | 58.052493 | 0.821812 | 0.257998 | 0 | 0.776263 | 0 | 0.004812 | 0.108266 | 0.027849 | 0 | 0 | 0 | 0.00105 | 0 | 1 | 0.019246 | false | 0.008019 | 0.009623 | 0 | 0.029671 | 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 |
3289da8d6255172735e1778cab8bd3ec700d62d2 | 12,395 | py | Python | hallo/modules/channel_control/channel_control.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2022-01-27T13:25:01.000Z | 2022-01-27T13:25:01.000Z | hallo/modules/channel_control/channel_control.py | joshcoales/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 75 | 2015-09-26T18:07:18.000Z | 2022-01-04T07:15:11.000Z | hallo/modules/channel_control/channel_control.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2021-04-10T12:02:47.000Z | 2021-04-10T12:02:47.000Z | from hallo.function import Function
from hallo.inc.commons import Commons
def hallo_has_op(channel):
"""
Checks whether hallo has op in a given channel.
:param channel: channel to check op status for
:type channel: destination.Channel
:return: whether hallo has op
:rtype: bool
"""
serv... | 39.855305 | 87 | 0.590157 | 1,468 | 12,395 | 4.781335 | 0.09673 | 0.081493 | 0.062972 | 0.092606 | 0.802109 | 0.780168 | 0.778601 | 0.761789 | 0.739422 | 0.73415 | 0 | 0.004216 | 0.330214 | 12,395 | 310 | 88 | 39.983871 | 0.841243 | 0.166357 | 0 | 0.534562 | 0 | 0 | 0.161338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046083 | false | 0.16129 | 0.009217 | 0 | 0.202765 | 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 |
32aa481b8ab08dffdcceccd009c3d16b01f629d2 | 118 | py | Python | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/fromImportStatementsData/in_18_several_absolute_from_imports_with_alias.py | JetBrains-Research/Lupa | c105487621564c60cae17395bf32eb40868ceb89 | [
"Apache-2.0"
] | 16 | 2022-01-11T00:32:20.000Z | 2022-03-25T21:40:52.000Z | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/fromImportStatementsData/in_18_several_absolute_from_imports_with_alias.py | nbirillo/Kotlin-Analysis | 73c3b8a59bf40ed932bb512f30b0ff31f251af40 | [
"Apache-2.0"
] | 12 | 2021-07-05T11:42:01.000Z | 2021-12-23T07:57:54.000Z | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/fromImportStatementsData/in_18_several_absolute_from_imports_with_alias.py | nbirillo/Kotlin-Analysis | 73c3b8a59bf40ed932bb512f30b0ff31f251af40 | [
"Apache-2.0"
] | 3 | 2021-09-10T13:21:54.000Z | 2021-11-23T11:37:55.000Z | from src.tasks.task1 import utils as u
from src.tasks.task1 import common as c
from src.tasks.task1 import other as o
| 29.5 | 39 | 0.79661 | 24 | 118 | 3.916667 | 0.5 | 0.223404 | 0.382979 | 0.542553 | 0.734043 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03 | 0.152542 | 118 | 3 | 40 | 39.333333 | 0.91 | 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 |
de532c1e9e44b0b0d244417266bd3869fa30ba42 | 179 | py | Python | hTools2.roboFontExt/lib/Scripts/batch folder/actions.py | frankrolf/hTools2_extension | 9d73b8640c85209853a72f8d4b167768de5e0d60 | [
"BSD-3-Clause"
] | 2 | 2019-12-18T16:12:07.000Z | 2019-12-21T01:19:23.000Z | hTools2.roboFontExt/lib/Scripts/batch folder/actions.py | frankrolf/hTools2_extension | 9d73b8640c85209853a72f8d4b167768de5e0d60 | [
"BSD-3-Clause"
] | null | null | null | hTools2.roboFontExt/lib/Scripts/batch folder/actions.py | frankrolf/hTools2_extension | 9d73b8640c85209853a72f8d4b167768de5e0d60 | [
"BSD-3-Clause"
] | null | null | null | # [h] apply actions
import hTools2.dialogs.folder.actions
import importlib
importlib.reload(hTools2.dialogs.folder.actions)
hTools2.dialogs.folder.actions.actionsFolderDialog()
| 22.375 | 52 | 0.832402 | 21 | 179 | 7.095238 | 0.47619 | 0.281879 | 0.402685 | 0.543624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017964 | 0.067039 | 179 | 7 | 53 | 25.571429 | 0.874252 | 0.094972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 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 |
de6c4fd4951e06589b7187b7283cf9f9a35df7f1 | 4,204 | py | Python | trees_and_graphs/validate_bst/validate_bst_test.py | hanjasn/ctci | 69c8c65d71e7f6e88b669dc402e64a0cf6223fbf | [
"MIT"
] | null | null | null | trees_and_graphs/validate_bst/validate_bst_test.py | hanjasn/ctci | 69c8c65d71e7f6e88b669dc402e64a0cf6223fbf | [
"MIT"
] | null | null | null | trees_and_graphs/validate_bst/validate_bst_test.py | hanjasn/ctci | 69c8c65d71e7f6e88b669dc402e64a0cf6223fbf | [
"MIT"
] | null | null | null | import unittest
from validate_bst import *
class IsBST(unittest.TestCase):
def test_1(self) -> None:
root = BinaryTreeNode(5)
root.insert_in_order(2)
root.insert_in_order(1)
root.insert_in_order(3)
root.insert_in_order(4)
root.insert_in_order(7)
root.insert_in_order(6)
root.insert_in... | 25.634146 | 44 | 0.671741 | 656 | 4,204 | 4.032012 | 0.070122 | 0.241966 | 0.290359 | 0.411342 | 0.95879 | 0.95879 | 0.95879 | 0.928166 | 0.922117 | 0.889603 | 0 | 0.039628 | 0.207659 | 4,204 | 164 | 45 | 25.634146 | 0.754428 | 0 | 0 | 0.931507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 1 | 0.109589 | false | 0 | 0.013699 | 0 | 0.136986 | 0 | 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 | 0 | 0 | 10 |
defa21d3ea4fad6d07f7754becccf322b73642ed | 10,972 | py | Python | python/test_gilded_rose.py | upjohnc/gilded-rose-kata | fb44b66695cf95bc41da415fb1132e1d0dd0ca95 | [
"MIT"
] | null | null | null | python/test_gilded_rose.py | upjohnc/gilded-rose-kata | fb44b66695cf95bc41da415fb1132e1d0dd0ca95 | [
"MIT"
] | null | null | null | python/test_gilded_rose.py | upjohnc/gilded-rose-kata | fb44b66695cf95bc41da415fb1132e1d0dd0ca95 | [
"MIT"
] | null | null | null | import pytest
from gilded_rose import GildedRose, Item
def brie_quality_increase(quality: int) -> int:
return quality + 1
def sell_in_decrease(sell_in: int) -> int:
return sell_in - 1
def default_quality_decrease(quality: int) -> int:
return quality - 1
class TestDefault:
"""
Test basic fun... | 29.41555 | 86 | 0.686748 | 1,533 | 10,972 | 4.727984 | 0.073059 | 0.081126 | 0.051738 | 0.050773 | 0.827125 | 0.806981 | 0.787666 | 0.765866 | 0.708333 | 0.648731 | 0 | 0.017625 | 0.229493 | 10,972 | 372 | 87 | 29.494624 | 0.839721 | 0.301404 | 0 | 0.645161 | 0 | 0 | 0.029408 | 0 | 0 | 0 | 0 | 0 | 0.150538 | 1 | 0.225806 | false | 0.026882 | 0.010753 | 0.016129 | 0.564516 | 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 | 1 | 0 | 0 | 8 |
7211ebf17c73b2346e531bd2a5d3df4855119a28 | 88 | py | Python | AI(BE)/riskout/textrank/__init__.py | dev-taewon-kim/ai_web_RISKOUT_BTS | 6b5650f8ecf068185ad87af62074627aca566018 | [
"MIT"
] | 1 | 2021-11-04T07:54:58.000Z | 2021-11-04T07:54:58.000Z | AI(BE)/riskout/textrank/__init__.py | mslee300/ai_web_RISKOUT_BTS | e01b3d27f68a0187b619920bf5c1f2de0cbc0f7d | [
"MIT"
] | null | null | null | AI(BE)/riskout/textrank/__init__.py | mslee300/ai_web_RISKOUT_BTS | e01b3d27f68a0187b619920bf5c1f2de0cbc0f7d | [
"MIT"
] | null | null | null | from .summarizer import KeywordSummarizer
from .summarizer import KeysentenceSummarizer
| 29.333333 | 45 | 0.886364 | 8 | 88 | 9.75 | 0.625 | 0.358974 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 2 | 46 | 44 | 0.975 | 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 |
72270f632266b9decf2572be31bbea85dfd646fd | 134 | py | Python | mokka/__init__.py | syed-saif/Mokka | 2ba0ed8e202bdf5c04092792ad1f359a692716dd | [
"MIT"
] | 2 | 2020-08-04T08:49:15.000Z | 2020-08-04T16:18:47.000Z | mokka/__init__.py | syed-saif/Mokka | 2ba0ed8e202bdf5c04092792ad1f359a692716dd | [
"MIT"
] | null | null | null | mokka/__init__.py | syed-saif/Mokka | 2ba0ed8e202bdf5c04092792ad1f359a692716dd | [
"MIT"
] | null | null | null | from .app import Mokka
from .router import Router
from .templating import render_template
from .templating import render_from_string | 22.333333 | 42 | 0.843284 | 19 | 134 | 5.789474 | 0.473684 | 0.254545 | 0.363636 | 0.472727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126866 | 134 | 6 | 42 | 22.333333 | 0.940171 | 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 |
723e551fecdd45552385da95e80916d8b74b56d1 | 325 | py | Python | opti_models/models/backbones/__init__.py | IlyaDobrynin/opti_models | 342b87e782650e8803196c52eee2b0d21f1d9576 | [
"MIT"
] | 62 | 2020-09-07T10:30:09.000Z | 2021-12-21T21:27:54.000Z | opti_models/models/backbones/__init__.py | IlyaDobrynin/opti_models | 342b87e782650e8803196c52eee2b0d21f1d9576 | [
"MIT"
] | null | null | null | opti_models/models/backbones/__init__.py | IlyaDobrynin/opti_models | 342b87e782650e8803196c52eee2b0d21f1d9576 | [
"MIT"
] | 2 | 2020-11-06T14:31:30.000Z | 2021-09-26T12:16:10.000Z | from .efficientnet import *
from .genet import genet_large, genet_normal, genet_small
from .mixnet import *
from .mobilenet import *
from .timm_models.timm_regnet import *
from .timm_models.timm_res2net import *
from .timm_models.timm_resnest import *
from .timm_models.timm_resnet import *
from .torchvision_models impo... | 32.5 | 57 | 0.812308 | 46 | 325 | 5.478261 | 0.347826 | 0.277778 | 0.222222 | 0.31746 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003484 | 0.116923 | 325 | 9 | 58 | 36.111111 | 0.874564 | 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 |
a0d86dbb82499e5f4d8c436b5d049253f6b2d11a | 1,445 | py | Python | build.py | soeren-m/pixelpart-plugin-godot3 | e08b2220ff12ae17e4e037ac164e36aab43fd400 | [
"MIT"
] | 1 | 2022-03-22T09:21:51.000Z | 2022-03-22T09:21:51.000Z | build.py | soeren-m/pixelpart-plugin-godot3 | e08b2220ff12ae17e4e037ac164e36aab43fd400 | [
"MIT"
] | null | null | null | build.py | soeren-m/pixelpart-plugin-godot3 | e08b2220ff12ae17e4e037ac164e36aab43fd400 | [
"MIT"
] | null | null | null | import sys
import subprocess
if "platform=windows" in sys.argv:
subprocess.run("scons platform=windows bits=32 target=release generate_bindings=true", shell = True)
subprocess.run("scons platform=windows bits=64 target=release generate_bindings=true", shell = True)
elif "platform=linux" in sys.argv:
subpr... | 57.8 | 117 | 0.781315 | 200 | 1,445 | 5.56 | 0.15 | 0.128597 | 0.178058 | 0.257194 | 0.901079 | 0.901079 | 0.879496 | 0.67446 | 0.67446 | 0.582734 | 0 | 0.01875 | 0.114187 | 1,445 | 25 | 118 | 57.8 | 0.85 | 0 | 0 | 0 | 1 | 0 | 0.608575 | 0.167358 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.105263 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
19ba5cf995a1390225bf312c934058d0f1e6437c | 4,974 | py | Python | ks.py | lullabies777/xuanming | d87025bffc1138982854020882199935f8cc24f7 | [
"MIT"
] | null | null | null | ks.py | lullabies777/xuanming | d87025bffc1138982854020882199935f8cc24f7 | [
"MIT"
] | null | null | null | ks.py | lullabies777/xuanming | d87025bffc1138982854020882199935f8cc24f7 | [
"MIT"
] | null | null | null | from matplotlib import pyplot as plt
import numpy as np
import pandas as pd
def ks_value(preds, labels, n, asc):
# preds is score: asc=1
# preds is prob: asc=0
pred = preds # 预测值
bad = labels # 取1为bad, 0为good
ksds = pd.DataFrame({'bad': bad, 'pred': pred})
ksds['good'] = 1 - ksds.bad
... | 24.994975 | 97 | 0.600523 | 734 | 4,974 | 3.952316 | 0.13079 | 0.075836 | 0.038607 | 0.044123 | 0.877973 | 0.869011 | 0.858325 | 0.844536 | 0.818339 | 0.788004 | 0 | 0.041447 | 0.199638 | 4,974 | 199 | 98 | 24.994975 | 0.687265 | 0.036389 | 0 | 0.787879 | 0 | 0 | 0.156485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020202 | false | 0 | 0.030303 | 0 | 0.070707 | 0.010101 | 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 |
19bcc48ee9fb238f298a5fac6d357b057a29c779 | 4,499 | py | Python | test/unit/test_02_utils.py | au9ustine/cuda_aes | 873e6768f34de1ea07fc71fc33475c9cd09843ea | [
"BSD-3-Clause"
] | 2 | 2015-06-13T01:44:31.000Z | 2016-05-16T03:09:21.000Z | test/unit/test_02_utils.py | au9ustine/cuda_aes | 873e6768f34de1ea07fc71fc33475c9cd09843ea | [
"BSD-3-Clause"
] | 7 | 2015-06-13T02:55:34.000Z | 2015-07-16T16:29:21.000Z | test/unit/test_02_utils.py | au9ustine/cuda_aes | 873e6768f34de1ea07fc71fc33475c9cd09843ea | [
"BSD-3-Clause"
] | null | null | null | import array
import hashlib
import json
import os.path
import ctypes
from ctypes import *
import utils
logger = utils.get_logger('test_02_utils')
def load_shared_library():
my_lib_path = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'..',
'..',
'src', 'cuda_aes_for_py.s... | 95.723404 | 2,813 | 0.766615 | 423 | 4,499 | 7.983452 | 0.257683 | 0.058632 | 0.045306 | 0.286053 | 0.73438 | 0.73438 | 0.73438 | 0.73438 | 0.73438 | 0.73438 | 0 | 0.414296 | 0.085797 | 4,499 | 46 | 2,814 | 97.804348 | 0.406759 | 0 | 0 | 0.2 | 0 | 0.05 | 0.587464 | 0.483663 | 0 | 0 | 0.003556 | 0 | 0.1 | 1 | 0.1 | false | 0 | 0.175 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
19d5530295608b9e1528957831671c3452dddee4 | 351 | py | Python | splunkapi3/model/__init__.py | swimlane/splunkapi3 | 9b12f58f17ea97a1fe8c6ff41e4da466b5e13e32 | [
"MIT"
] | null | null | null | splunkapi3/model/__init__.py | swimlane/splunkapi3 | 9b12f58f17ea97a1fe8c6ff41e4da466b5e13e32 | [
"MIT"
] | null | null | null | splunkapi3/model/__init__.py | swimlane/splunkapi3 | 9b12f58f17ea97a1fe8c6ff41e4da466b5e13e32 | [
"MIT"
] | 3 | 2019-05-31T02:20:05.000Z | 2021-02-22T00:45:53.000Z | from splunkapi3.model.search_create import SearchCreate
from splunkapi3.model.view_edit import ViewEdit
from splunkapi3.model.control_action import ControlAction
from splunkapi3.model.options import Options, Direction, SortMode
from splunkapi3.model.output_mode import OutputMode
from splunkapi3.model.search_result_opti... | 50.142857 | 70 | 0.88604 | 44 | 351 | 6.931818 | 0.477273 | 0.27541 | 0.37377 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018462 | 0.074074 | 351 | 6 | 71 | 58.5 | 0.92 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.