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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8eb5051f9e22eb17c84911041d0ca26223d6a3ee | 35 | py | Python | mocmg/__init__.py | KyleVaughn/mocmg | 228f1ab751c5f584b51cd047bd9b37e2252eb629 | [
"MIT"
] | null | null | null | mocmg/__init__.py | KyleVaughn/mocmg | 228f1ab751c5f584b51cd047bd9b37e2252eb629 | [
"MIT"
] | null | null | null | mocmg/__init__.py | KyleVaughn/mocmg | 228f1ab751c5f584b51cd047bd9b37e2252eb629 | [
"MIT"
] | null | null | null | from .initialize import initialize
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ecccbaa1e35ec5efff17a98d9443b091b64e4e6 | 47 | py | Python | txjsonrpc/scripts/getVersion.py | aborilov/txjsonrpc | 9501ab023a51ca6f3e37fcad3c9c9ff04223986b | [
"MIT"
] | null | null | null | txjsonrpc/scripts/getVersion.py | aborilov/txjsonrpc | 9501ab023a51ca6f3e37fcad3c9c9ff04223986b | [
"MIT"
] | 1 | 2015-08-26T06:26:48.000Z | 2015-08-26T11:17:21.000Z | txjsonrpc/scripts/getVersion.py | aborilov/txjsonrpc | 9501ab023a51ca6f3e37fcad3c9c9ff04223986b | [
"MIT"
] | null | null | null | from txjsonrpc import meta
print meta.version
| 11.75 | 26 | 0.829787 | 7 | 47 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 3 | 27 | 15.666667 | 0.975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d6ff014ddb8494aef9139c8e80a06a868f746205 | 63 | py | Python | cache/__init__.py | inktrap/async-cache | ebf289bdcd468e41638880c9b4fdabca858ae20b | [
"MIT"
] | 31 | 2020-04-27T13:15:00.000Z | 2022-03-11T07:44:30.000Z | cache/__init__.py | inktrap/async-cache | ebf289bdcd468e41638880c9b4fdabca858ae20b | [
"MIT"
] | 11 | 2020-04-27T12:28:37.000Z | 2022-03-09T09:42:52.000Z | cache/__init__.py | inktrap/async-cache | ebf289bdcd468e41638880c9b4fdabca858ae20b | [
"MIT"
] | 15 | 2020-05-03T14:52:48.000Z | 2022-02-25T15:50:49.000Z | from .async_lru import AsyncLRU
from .async_ttl import AsyncTTL | 31.5 | 31 | 0.857143 | 10 | 63 | 5.2 | 0.7 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 63 | 2 | 32 | 31.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d922a5357db7f5d19332f0b419bec7ca00fb729e | 2,997 | py | Python | tests/test_iterators/test_batches.py | theRealSuperMario/edflow | 550e294ff9844c11dfe35d6920b705bde0add35f | [
"MIT"
] | 23 | 2019-04-04T07:52:57.000Z | 2022-02-02T03:11:07.000Z | tests/test_iterators/test_batches.py | theRealSuperMario/edflow | 550e294ff9844c11dfe35d6920b705bde0add35f | [
"MIT"
] | 149 | 2019-04-04T09:53:01.000Z | 2020-07-21T16:55:32.000Z | tests/test_iterators/test_batches.py | ArWeHei/edflow | 3383cfbc42a43e906bc7781ad05714fd4fc9616e | [
"MIT"
] | 12 | 2019-04-04T07:52:58.000Z | 2020-08-28T12:30:03.000Z | import pytest
import numpy as np
from edflow.iterators import batches
from edflow.util import get_leaf_names, retrieve
def test_batch_to_canvas():
x = np.ones((9, 100, 100, 3))
canvas = batches.batch_to_canvas(x)
assert canvas.shape == (300, 300, 3)
canvas = batches.batch_to_canvas(x, cols=5)
ass... | 25.184874 | 73 | 0.523857 | 463 | 2,997 | 3.220302 | 0.12743 | 0.032193 | 0.064386 | 0.072435 | 0.880617 | 0.851107 | 0.816901 | 0.816901 | 0.753186 | 0.753186 | 0 | 0.074444 | 0.264932 | 2,997 | 118 | 74 | 25.398305 | 0.60236 | 0 | 0 | 0.696203 | 0 | 0 | 0.016016 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 1 | 0.088608 | false | 0 | 0.050633 | 0 | 0.139241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9499e093bbc0fba2648a3e4db4b3875d4b1766a | 60 | py | Python | wpcv/plp/__init__.py | Peiiii/wpcv | 56ed5327b921c52cd666c76bc204ac9ee5e5d150 | [
"MIT"
] | null | null | null | wpcv/plp/__init__.py | Peiiii/wpcv | 56ed5327b921c52cd666c76bc204ac9ee5e5d150 | [
"MIT"
] | null | null | null | wpcv/plp/__init__.py | Peiiii/wpcv | 56ed5327b921c52cd666c76bc204ac9ee5e5d150 | [
"MIT"
] | null | null | null | from .base import *
from .utils import *
from .data import * | 20 | 20 | 0.716667 | 9 | 60 | 4.777778 | 0.555556 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 60 | 3 | 21 | 20 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79b1613727303a9c7c5cf7e5ac623dc960062b06 | 161 | py | Python | models/__init__.py | dspoka/mnm | f212e8d5697a4556c6469d469a2930b203667828 | [
"MIT"
] | 1 | 2021-07-08T04:18:30.000Z | 2021-07-08T04:18:30.000Z | models/__init__.py | dspoka/mnm | f212e8d5697a4556c6469d469a2930b203667828 | [
"MIT"
] | 1 | 2021-08-24T03:36:53.000Z | 2021-08-24T03:36:53.000Z | models/__init__.py | dspoka/mnm | f212e8d5697a4556c6469d469a2930b203667828 | [
"MIT"
] | 1 | 2021-07-08T04:18:32.000Z | 2021-07-08T04:18:32.000Z | from .gmm_bert import GMMBert
from .exponent_bert import ExponentBert
from .log_bert import LogBert
from .flow_bert import FlowBert
from .dis_bert import DisBert | 32.2 | 39 | 0.850932 | 25 | 161 | 5.28 | 0.52 | 0.378788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118012 | 161 | 5 | 40 | 32.2 | 0.929577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ddae88ae54e171093ed26975f51f8dcb7379ab8 | 25 | py | Python | examples/import_example/example_resource.py | alisaifee/hug | bfd9b56fb5ce2a8c994219fa5941c28bc7f37bab | [
"MIT"
] | null | null | null | examples/import_example/example_resource.py | alisaifee/hug | bfd9b56fb5ce2a8c994219fa5941c28bc7f37bab | [
"MIT"
] | null | null | null | examples/import_example/example_resource.py | alisaifee/hug | bfd9b56fb5ce2a8c994219fa5941c28bc7f37bab | [
"MIT"
] | null | null | null | def hi():
return "hi" | 12.5 | 15 | 0.52 | 4 | 25 | 3.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28 | 25 | 2 | 15 | 12.5 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
8ddcf730b5073825e7c0d30b75197fd2e5e78d9d | 1,050 | py | Python | tests/test_main_handler.py | MazeFX/irdb | bf71c18d70aa2f999cfd63b5ebdc735cf3848eea | [
"MIT"
] | null | null | null | tests/test_main_handler.py | MazeFX/irdb | bf71c18d70aa2f999cfd63b5ebdc735cf3848eea | [
"MIT"
] | null | null | null | tests/test_main_handler.py | MazeFX/irdb | bf71c18d70aa2f999cfd63b5ebdc735cf3848eea | [
"MIT"
] | null | null | null | import pytest
import urllib
import tornado
@pytest.mark.gen_test
def test_main_handler_get(http_client, base_url):
with pytest.raises(tornado.httpclient.HTTPClientError):
response = yield http_client.fetch(base_url, follow_redirects=False)
@pytest.mark.gen_test
def test_main_handler_post(http_client, ba... | 28.378378 | 78 | 0.757143 | 143 | 1,050 | 5.300699 | 0.244755 | 0.105541 | 0.068602 | 0.08971 | 0.886544 | 0.886544 | 0.886544 | 0.886544 | 0.794195 | 0.794195 | 0 | 0 | 0.13619 | 1,050 | 36 | 79 | 29.166667 | 0.835722 | 0 | 0 | 0.521739 | 0 | 0 | 0.029552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.130435 | 0 | 0.304348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8dded1ed081be73e31b1a7064b301ca5ae2453a2 | 96 | py | Python | 8kyu/function1_hello_world.py | nhsz/codewars | 82703959e910254d6feff4162f78c6dbd7a1c3ed | [
"MIT"
] | 1 | 2018-12-02T23:04:38.000Z | 2018-12-02T23:04:38.000Z | 8kyu/function1_hello_world.py | nhsz/codewars | 82703959e910254d6feff4162f78c6dbd7a1c3ed | [
"MIT"
] | null | null | null | 8kyu/function1_hello_world.py | nhsz/codewars | 82703959e910254d6feff4162f78c6dbd7a1c3ed | [
"MIT"
] | null | null | null | # http://www.codewars.com/kata/523b4ff7adca849afe000035/
def greet():
return "hello world"
| 19.2 | 56 | 0.729167 | 11 | 96 | 6.363636 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.125 | 96 | 4 | 57 | 24 | 0.666667 | 0.5625 | 0 | 0 | 0 | 0 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5c1d0e70f29c7838d81e6ee102358ef9b46a9191 | 249 | py | Python | trame/layouts/__init__.py | DavidBerger98/trame | 60d521338559d4c9434073ed3818afd9f1411a90 | [
"BSD-3-Clause"
] | null | null | null | trame/layouts/__init__.py | DavidBerger98/trame | 60d521338559d4c9434073ed3818afd9f1411a90 | [
"BSD-3-Clause"
] | null | null | null | trame/layouts/__init__.py | DavidBerger98/trame | 60d521338559d4c9434073ed3818afd9f1411a90 | [
"BSD-3-Clause"
] | null | null | null | from .core import (
AbstractLayout,
FullScreenPage,
SinglePage,
SinglePageWithDrawer,
update_layout,
)
__all__ = [
"AbstractLayout",
"FullScreenPage",
"SinglePage",
"SinglePageWithDrawer",
"update_layout",
]
| 15.5625 | 27 | 0.654618 | 16 | 249 | 9.8125 | 0.625 | 0.356688 | 0.484076 | 0.738854 | 0.89172 | 0.89172 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240964 | 249 | 15 | 28 | 16.6 | 0.830688 | 0 | 0 | 0 | 0 | 0 | 0.285141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
30abaed2520de216a22346dafe09ee6cff668059 | 100 | py | Python | cgtools/mesh/intersections.py | tneumann/cgtools | 8f77b6a4642fe79ac85b8449ebd3f72ea0e56032 | [
"MIT"
] | 10 | 2019-05-02T14:08:32.000Z | 2021-03-15T16:07:19.000Z | cgtools/mesh/intersections.py | tneumann/cgtools | 8f77b6a4642fe79ac85b8449ebd3f72ea0e56032 | [
"MIT"
] | null | null | null | cgtools/mesh/intersections.py | tneumann/cgtools | 8f77b6a4642fe79ac85b8449ebd3f72ea0e56032 | [
"MIT"
] | 3 | 2019-05-02T14:08:33.000Z | 2021-02-10T03:47:29.000Z | from ._intersections_ext import ray_mesh_intersect, closest_points_on_mesh, ray_mesh_intersect_fast
| 50 | 99 | 0.91 | 15 | 100 | 5.4 | 0.733333 | 0.17284 | 0.395062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 100 | 1 | 100 | 100 | 0.861702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a509f3786cfa89d874ae7dd75d54f89602c3c5a4 | 80 | py | Python | azrael/__init__.py | xyla-io/azrael | b0c484ff963b850ac89a54f55e2c61873be38768 | [
"MIT"
] | null | null | null | azrael/__init__.py | xyla-io/azrael | b0c484ff963b850ac89a54f55e2c61873be38768 | [
"MIT"
] | null | null | null | azrael/__init__.py | xyla-io/azrael | b0c484ff963b850ac89a54f55e2c61873be38768 | [
"MIT"
] | null | null | null | from azrael.api import SnapchatAPI
from azrael.reporting import SnapchatReporter | 40 | 45 | 0.8875 | 10 | 80 | 7.1 | 0.7 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 80 | 2 | 45 | 40 | 0.972603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb4ef5762e1a5352a28e4e8fdc9c8c1364ae7de4 | 36 | py | Python | precision_search/trainer/__init__.py | EmbeddedML-EDAGroup/Q-PPG | ed42829d0a456db4f0b31d63ba8b22ba483c7b08 | [
"Apache-2.0"
] | 1 | 2021-12-18T21:04:29.000Z | 2021-12-18T21:04:29.000Z | precision_search/trainer/__init__.py | EmbeddedML-EDAGroup/Q-PPG | ed42829d0a456db4f0b31d63ba8b22ba483c7b08 | [
"Apache-2.0"
] | null | null | null | precision_search/trainer/__init__.py | EmbeddedML-EDAGroup/Q-PPG | ed42829d0a456db4f0b31d63ba8b22ba483c7b08 | [
"Apache-2.0"
] | null | null | null | from .TEMPONetDaliaTrainer import *
| 18 | 35 | 0.833333 | 3 | 36 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb767a5e5e13120b4d2be427d3bf92e19bda6223 | 49,963 | py | Python | profiles/e_confirmation/xb_request/_ext.py | getodacu/eSENS-eDocument | e43bc9800070421de389d4826245dc0a48d387c4 | [
"MIT"
] | null | null | null | profiles/e_confirmation/xb_request/_ext.py | getodacu/eSENS-eDocument | e43bc9800070421de389d4826245dc0a48d387c4 | [
"MIT"
] | null | null | null | profiles/e_confirmation/xb_request/_ext.py | getodacu/eSENS-eDocument | e43bc9800070421de389d4826245dc0a48d387c4 | [
"MIT"
] | null | null | null | # ./_ext.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:d82937bf083ca454ba5857f319e6717eabb00597
# Generated 2015-02-11 21:35:49.974620 by PyXB version 1.2.4 using Python 2.6.9.final.0
# Namespace urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2 [xmlns:ext]
from __future__ import unicode_lit... | 66.974531 | 485 | 0.790405 | 5,335 | 49,963 | 7.244236 | 0.069166 | 0.058528 | 0.027324 | 0.039743 | 0.775383 | 0.758564 | 0.754683 | 0.747878 | 0.728679 | 0.685779 | 0 | 0.016095 | 0.103397 | 49,963 | 745 | 486 | 67.06443 | 0.846642 | 0.225007 | 0 | 0.516411 | 1 | 0.137856 | 0.273764 | 0.235305 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010941 | false | 0 | 0.085339 | 0 | 0.334792 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
691d15409beaf40cf348ad6ae1ec0db46056750b | 251 | py | Python | cfpq_data/graphs/utils/__init__.py | viabzalov/CFPQ_Data | 67239c876897d04ba2f4ef88a75fd4a38a494efa | [
"Apache-2.0"
] | 8 | 2020-03-30T17:47:31.000Z | 2022-01-27T13:36:39.000Z | cfpq_data/graphs/utils/__init__.py | viabzalov/CFPQ_Data | 67239c876897d04ba2f4ef88a75fd4a38a494efa | [
"Apache-2.0"
] | 27 | 2019-10-21T09:31:08.000Z | 2021-11-07T03:19:15.000Z | cfpq_data/graphs/utils/__init__.py | viabzalov/CFPQ_Data | 67239c876897d04ba2f4ef88a75fd4a38a494efa | [
"Apache-2.0"
] | 14 | 2019-10-18T12:49:47.000Z | 2021-08-03T14:20:17.000Z | from cfpq_data.graphs.utils.change_edges import *
from cfpq_data.graphs.utils.filter_edges import *
from cfpq_data.graphs.utils.nodes_to_integers import *
from cfpq_data.graphs.utils.get_labels import *
from cfpq_data.graphs.utils.find_label import *
| 41.833333 | 54 | 0.840637 | 41 | 251 | 4.878049 | 0.390244 | 0.2 | 0.3 | 0.45 | 0.745 | 0.63 | 0.34 | 0 | 0 | 0 | 0 | 0 | 0.079681 | 251 | 5 | 55 | 50.2 | 0.865801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6955a6ea9fd8fc0658d5de7b9eb2c4664c9443c7 | 47 | py | Python | esprit/__init__.py | tuub/esprit | 3811a091ce6bd39f6001d698d6866e01be924086 | [
"Apache-2.0"
] | null | null | null | esprit/__init__.py | tuub/esprit | 3811a091ce6bd39f6001d698d6866e01be924086 | [
"Apache-2.0"
] | null | null | null | esprit/__init__.py | tuub/esprit | 3811a091ce6bd39f6001d698d6866e01be924086 | [
"Apache-2.0"
] | null | null | null | import mappings, models, raw, dao, util, tasks
| 23.5 | 46 | 0.744681 | 7 | 47 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 1 | 47 | 47 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15db8fd49b5c05ea29e139414c53b8615dfee98b | 41 | py | Python | playserver/wsgi.py | ollien/playserver | 9043c4ae92e382a4c5f83cfd77db21b0dff39404 | [
"MIT"
] | null | null | null | playserver/wsgi.py | ollien/playserver | 9043c4ae92e382a4c5f83cfd77db21b0dff39404 | [
"MIT"
] | null | null | null | playserver/wsgi.py | ollien/playserver | 9043c4ae92e382a4c5f83cfd77db21b0dff39404 | [
"MIT"
] | null | null | null | from webserver import app as application
| 20.5 | 40 | 0.853659 | 6 | 41 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 1 | 41 | 41 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15e868d3c6e5688470c408b311414e1914859682 | 230 | py | Python | qroutes/__init__.py | fillet54/qroutes | b411b19d6d9a45227ab7f6fab569c2571bef412a | [
"MIT"
] | null | null | null | qroutes/__init__.py | fillet54/qroutes | b411b19d6d9a45227ab7f6fab569c2571bef412a | [
"MIT"
] | null | null | null | qroutes/__init__.py | fillet54/qroutes | b411b19d6d9a45227ab7f6fab569c2571bef412a | [
"MIT"
] | null | null | null | from .router import wsgi_adapter, site_handler, route_context
from .router import wrap_query_params, wrap_json_response, wrap_config
from .router import redirect, resource_response, not_found_response
from .router import GET, POST | 57.5 | 70 | 0.856522 | 34 | 230 | 5.470588 | 0.617647 | 0.215054 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095652 | 230 | 4 | 71 | 57.5 | 0.894231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c646a813827bb17386525bc8dda9481d1c853d06 | 3,060 | py | Python | tests/test_user_input.py | raulpy271/pyfunge | e2bea42f0a86579ff7884ce62129eb15f46f9580 | [
"MIT"
] | 2 | 2021-12-05T12:47:09.000Z | 2022-03-16T23:37:54.000Z | tests/test_user_input.py | raulpy271/pyfunge | e2bea42f0a86579ff7884ce62129eb15f46f9580 | [
"MIT"
] | null | null | null | tests/test_user_input.py | raulpy271/pyfunge | e2bea42f0a86579ff7884ce62129eb15f46f9580 | [
"MIT"
] | null | null | null | from unittest import TestCase, mock
from src.interpreter import BefungeInterpreter
from src import exceptions
from tests.mock.stdout_mock import StdoutMock
class TestGetIntegerCommand(TestCase):
def test_get_integer(self):
code = '& .@'
inputMock = mock.Mock()
stdout_mock = StdoutMock()
... | 35.581395 | 80 | 0.654248 | 317 | 3,060 | 6.11041 | 0.157729 | 0.113578 | 0.057821 | 0.075891 | 0.816211 | 0.77078 | 0.77078 | 0.77078 | 0.77078 | 0.77078 | 0 | 0.003444 | 0.24085 | 3,060 | 85 | 81 | 36 | 0.830392 | 0 | 0 | 0.689189 | 0 | 0 | 0.012426 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 1 | 0.094595 | false | 0 | 0.054054 | 0 | 0.175676 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c647fb255eedfbd1fa37c06669a290a918f6f90d | 399 | py | Python | zenithml/tf/layers/__init__.py | zenith-ml/zenithml | b2e68d31f9649d5477f8321b4394822f6f3a8e0c | [
"MIT"
] | null | null | null | zenithml/tf/layers/__init__.py | zenith-ml/zenithml | b2e68d31f9649d5477f8321b4394822f6f3a8e0c | [
"MIT"
] | 1 | 2022-03-07T16:29:32.000Z | 2022-03-07T16:29:32.000Z | zenithml/tf/layers/__init__.py | zenith-ml/zenithml | b2e68d31f9649d5477f8321b4394822f6f3a8e0c | [
"MIT"
] | null | null | null | from zenithml.tf.layers.preprocess.numerical import NumericalLayer
from zenithml.tf.layers.preprocess.normalizers import MinMaxNormalizeLayer, LogNormalizeLayer, BucketizedLayer
from zenithml.tf.layers.preprocess.nhotencoder import NHotEncodingLayer
from zenithml.tf.layers.preprocess.embedding import EmbeddingLayer
fro... | 66.5 | 110 | 0.889724 | 43 | 399 | 8.232558 | 0.44186 | 0.169492 | 0.19774 | 0.282486 | 0.423729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055138 | 399 | 5 | 111 | 79.8 | 0.938992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d690688f05a9e8e3db91681792e131be41f16f1e | 82 | py | Python | src/articles/api/views/__init__.py | samrika25/TRAVIS_HEROKU_GIT | bcae6d0422d9a0369810944a91dd03db7df0d058 | [
"MIT"
] | null | null | null | src/articles/api/views/__init__.py | samrika25/TRAVIS_HEROKU_GIT | bcae6d0422d9a0369810944a91dd03db7df0d058 | [
"MIT"
] | 4 | 2021-03-30T12:35:36.000Z | 2021-06-10T18:11:24.000Z | src/articles/api/views/__init__.py | samrika25/TRAVIS_HEROKU_GIT | bcae6d0422d9a0369810944a91dd03db7df0d058 | [
"MIT"
] | 2 | 2021-02-07T16:16:36.000Z | 2021-07-13T05:26:51.000Z | from .DetailAPIView import *
from .ListAPIView import *
from .VoteAPIView import * | 27.333333 | 28 | 0.792683 | 9 | 82 | 7.222222 | 0.555556 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134146 | 82 | 3 | 29 | 27.333333 | 0.915493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d6a9b32369132483a231a5188c8cc88556090183 | 1,841 | py | Python | interface/funcion_tabla.py | osim-microgrid-tool/osim_islanded_microgrids_sizing | 63738ddf418e4023f3b64dc1f0aba6f079710bc8 | [
"MIT"
] | 2 | 2021-07-27T13:56:18.000Z | 2021-07-27T13:56:23.000Z | interface/funcion_tabla.py | wropero-enersinc/osim_microrredes | 407ce32683043dbc0356fa0b2edaf537b0098b71 | [
"MIT"
] | null | null | null | interface/funcion_tabla.py | wropero-enersinc/osim_microrredes | 407ce32683043dbc0356fa0b2edaf537b0098b71 | [
"MIT"
] | 1 | 2021-07-25T23:03:27.000Z | 2021-07-25T23:03:27.000Z | # -*- coding: utf-8 -*-
"""
Created on Wed Dec 19 08:52:01 2018
@author: WILMER ROPERO C
"""
def tabla(df2,self):
df2=df2.fillna(value="")
# df1="lo que deberia quedar"
# CREANDO LA TABLA
[dfy,dfx]=df2.shape
data=[]
for xx in r... | 26.681159 | 105 | 0.589354 | 224 | 1,841 | 4.816964 | 0.28125 | 0.066728 | 0.189064 | 0.100093 | 0.931418 | 0.743281 | 0.743281 | 0.743281 | 0.650602 | 0.650602 | 0 | 0.03653 | 0.286257 | 1,841 | 69 | 105 | 26.681159 | 0.784627 | 0.104291 | 0 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.05 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d6c7c7e440d05ccd264d541f93d9bcb29a9eaa71 | 26,562 | py | Python | SBaaS_quantification/lims_quantitationMethod_io.py | dmccloskey/SBaaS_quantification | b2a9c7a9a0d318f22ff20e311f94c213852ba914 | [
"MIT"
] | null | null | null | SBaaS_quantification/lims_quantitationMethod_io.py | dmccloskey/SBaaS_quantification | b2a9c7a9a0d318f22ff20e311f94c213852ba914 | [
"MIT"
] | null | null | null | SBaaS_quantification/lims_quantitationMethod_io.py | dmccloskey/SBaaS_quantification | b2a9c7a9a0d318f22ff20e311f94c213852ba914 | [
"MIT"
] | null | null | null | import json
import re
from SBaaS_LIMS.lims_calibratorsAndMixes_query import lims_calibratorsAndMixes_query
from SBaaS_LIMS.lims_sample_query import lims_sample_query
from .lims_quantitationMethod_query import lims_quantitationMethod_query
from .stage01_quantification_MQResultsTable_query import stage01_quantification_... | 55.453027 | 248 | 0.568933 | 2,531 | 26,562 | 5.709996 | 0.122876 | 0.024218 | 0.011071 | 0.016192 | 0.789095 | 0.781345 | 0.777678 | 0.770066 | 0.767091 | 0.756989 | 0 | 0.019146 | 0.311761 | 26,562 | 479 | 249 | 55.453027 | 0.771402 | 0.080378 | 0 | 0.82266 | 0 | 0 | 0.234245 | 0.019062 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014778 | false | 0 | 0.036946 | 0 | 0.064039 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d6f0df11339336a64b02ad81bb5a40e56109f92b | 27 | py | Python | __init__.py | mnbv1775/random_x | b8e1b98108a5b612ada7906d85b964b951a86e30 | [
"MIT"
] | null | null | null | __init__.py | mnbv1775/random_x | b8e1b98108a5b612ada7906d85b964b951a86e30 | [
"MIT"
] | null | null | null | __init__.py | mnbv1775/random_x | b8e1b98108a5b612ada7906d85b964b951a86e30 | [
"MIT"
] | null | null | null | from random_x.main import * | 27 | 27 | 0.814815 | 5 | 27 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba9cd7adcc4ace5c613c19323e8589e50cd36596 | 22 | py | Python | src/hissp/__init__.py | brandonwillard/hissp | 24bbc1efcd68dd47eecd955375abf6a7b1a98b45 | [
"Apache-2.0"
] | null | null | null | src/hissp/__init__.py | brandonwillard/hissp | 24bbc1efcd68dd47eecd955375abf6a7b1a98b45 | [
"Apache-2.0"
] | null | null | null | src/hissp/__init__.py | brandonwillard/hissp | 24bbc1efcd68dd47eecd955375abf6a7b1a98b45 | [
"Apache-2.0"
] | null | null | null | from .repl import repl | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bac39de67bbf1561a91f52dd1514181c7f466ba6 | 1,467 | py | Python | src/kemokrw/transfer_db_key.py | Kemok-Repos/kemokrw | bfe2a82e2ef5d3580ed5dfe65129b30bd3fc4971 | [
"MIT"
] | null | null | null | src/kemokrw/transfer_db_key.py | Kemok-Repos/kemokrw | bfe2a82e2ef5d3580ed5dfe65129b30bd3fc4971 | [
"MIT"
] | null | null | null | src/kemokrw/transfer_db_key.py | Kemok-Repos/kemokrw | bfe2a82e2ef5d3580ed5dfe65129b30bd3fc4971 | [
"MIT"
] | null | null | null | from kemokrw.transfer import Transfer
class DbKeyTransfer(Transfer):
"""Clase DbKeyTransfer implementación de la clase Transfer.
La clase se encarga de transferir y asegurar información de base de datos a base de datos
usando el siguiente algoritmo y una columna(s) de llave primaria (Tablas transaccional... | 31.891304 | 111 | 0.708248 | 195 | 1,467 | 5.302564 | 0.533333 | 0.019342 | 0.017408 | 0.03675 | 0.135397 | 0.135397 | 0.135397 | 0.135397 | 0.135397 | 0.135397 | 0 | 0.005405 | 0.243354 | 1,467 | 45 | 112 | 32.6 | 0.926126 | 0.858214 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
bac5732601d1c2c7c86f18c4a9e3c58cb468524a | 138 | py | Python | src/datahub/src/common/config.py | mibrl12/data-monitor-poc | 26127ede9aae7e86aa6f170ea06acedc0c9bd4fd | [
"MIT"
] | null | null | null | src/datahub/src/common/config.py | mibrl12/data-monitor-poc | 26127ede9aae7e86aa6f170ea06acedc0c9bd4fd | [
"MIT"
] | null | null | null | src/datahub/src/common/config.py | mibrl12/data-monitor-poc | 26127ede9aae7e86aa6f170ea06acedc0c9bd4fd | [
"MIT"
] | null | null | null | import os
MONGO_DBNAME = os.environ.get('MONGO_DBNAME', 'actuals')
MONGO_URL = os.environ.get('MONGO_URL', 'mongodb://localhost:27017')
| 23 | 68 | 0.73913 | 20 | 138 | 4.9 | 0.55 | 0.22449 | 0.244898 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039683 | 0.086957 | 138 | 5 | 69 | 27.6 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0.384058 | 0.181159 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2424c5c68f64adf88c68b2b13155fd75a7b3ac19 | 77 | py | Python | src/monkey/evaluator/__init__.py | nischalshrestha/Monkey- | eed7b7a14238d3035f45b18f6939e6f28047703a | [
"MIT"
] | 6 | 2019-02-15T16:45:54.000Z | 2021-10-01T00:19:00.000Z | src/monkey/evaluator/__init__.py | nischalshrestha/Monkey- | eed7b7a14238d3035f45b18f6939e6f28047703a | [
"MIT"
] | 4 | 2018-11-24T23:57:03.000Z | 2020-02-16T05:16:25.000Z | src/monkey/evaluator/__init__.py | nischalshrestha/Monkey- | eed7b7a14238d3035f45b18f6939e6f28047703a | [
"MIT"
] | 1 | 2020-11-27T10:35:44.000Z | 2020-11-27T10:35:44.000Z | from .evaluator import *
from .builtins import *
from .quote_unquote import * | 25.666667 | 28 | 0.779221 | 10 | 77 | 5.9 | 0.6 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 77 | 3 | 28 | 25.666667 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2438b50851b1164e64830748ab8d298b3daec220 | 5,425 | py | Python | tests/DeviceNoPinsTest.py | bazwilliams/openhomedevice | 8733a7ca016296c19416c4029937b46fd5067521 | [
"MIT"
] | 9 | 2017-04-22T03:28:58.000Z | 2022-02-19T21:13:21.000Z | tests/DeviceNoPinsTest.py | bazwilliams/openhomedevice | 8733a7ca016296c19416c4029937b46fd5067521 | [
"MIT"
] | 13 | 2017-04-06T15:24:15.000Z | 2021-04-22T23:41:30.000Z | tests/DeviceNoPinsTest.py | bazwilliams/openhomedevice | 8733a7ca016296c19416c4029937b46fd5067521 | [
"MIT"
] | 4 | 2017-04-25T12:53:02.000Z | 2021-04-03T22:06:36.000Z | import unittest
import os
import asyncio
from openhomedevice.device import Device
from aioresponses import aioresponses
def async_test(coro):
def wrapper(*args, **kwargs):
loop = asyncio.new_event_loop()
try:
return loop.run_until_complete(coro(*args, **kwargs))
finally:
... | 39.311594 | 124 | 0.544147 | 580 | 5,425 | 5.058621 | 0.177586 | 0.102249 | 0.144853 | 0.171779 | 0.729721 | 0.715406 | 0.715406 | 0.715406 | 0.715406 | 0.715406 | 0 | 0.18314 | 0.315576 | 5,425 | 137 | 125 | 39.59854 | 0.607056 | 0 | 0 | 0.395349 | 0 | 0.186047 | 0.448295 | 0.003871 | 0 | 0 | 0 | 0 | 0.007752 | 1 | 0.015504 | false | 0 | 0.03876 | 0 | 0.085271 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
243ae24448796fbe13a5f517193cb6d5233375a7 | 116 | py | Python | qop/tests/test_grassmann.py | refraction-ray/qop | 2a3f05105b575e88683349f70bf97da26b8d6441 | [
"MIT"
] | 2 | 2021-01-02T03:12:50.000Z | 2021-03-31T12:19:19.000Z | qop/tests/test_grassmann.py | refraction-ray/qop | 2a3f05105b575e88683349f70bf97da26b8d6441 | [
"MIT"
] | null | null | null | qop/tests/test_grassmann.py | refraction-ray/qop | 2a3f05105b575e88683349f70bf97da26b8d6441 | [
"MIT"
] | 1 | 2020-07-15T18:08:29.000Z | 2020-07-15T18:08:29.000Z | from qop.grassmann import *
def test_grassmann_number():
assert (1 + g(0) * g(1)) ** 2 == 1 - 2 * g(1) * g(0)
| 19.333333 | 56 | 0.551724 | 21 | 116 | 2.952381 | 0.571429 | 0.064516 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.241379 | 116 | 5 | 57 | 23.2 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79e326da5535688dacedfa2e97e5b657c8aabefa | 128 | py | Python | docxlatex/__init__.py | hrushikeshrv/docxlatex | 16c368dad2d7ff7d7bce6d0f2ac7063cefa57c0b | [
"MIT"
] | 2 | 2021-05-31T04:02:09.000Z | 2021-11-02T06:58:01.000Z | docxlatex/__init__.py | hrushikeshrv/docxlatex | 16c368dad2d7ff7d7bce6d0f2ac7063cefa57c0b | [
"MIT"
] | null | null | null | docxlatex/__init__.py | hrushikeshrv/docxlatex | 16c368dad2d7ff7d7bce6d0f2ac7063cefa57c0b | [
"MIT"
] | null | null | null | __version__ = '0.1.6'
from docxlatex.docxlatex import Document
from docxlatex import tagparsers
from docxlatex import cleaners
| 21.333333 | 40 | 0.828125 | 17 | 128 | 6 | 0.588235 | 0.382353 | 0.372549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 0.125 | 128 | 5 | 41 | 25.6 | 0.883929 | 0 | 0 | 0 | 0 | 0 | 0.039063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0376bb6da29dc03b80dbf39bc9eccb6be7cc6c9e | 249 | py | Python | my_image.py | A02l01/INFEST | 6cb201a745ea8c780d2b00f68124f2ae892d3ef4 | [
"MIT"
] | null | null | null | my_image.py | A02l01/INFEST | 6cb201a745ea8c780d2b00f68124f2ae892d3ef4 | [
"MIT"
] | null | null | null | my_image.py | A02l01/INFEST | 6cb201a745ea8c780d2b00f68124f2ae892d3ef4 | [
"MIT"
] | null | null | null | def image_split(inp):
return inp[:,:,0],inp[:,:,1],inp[:,:,2]
def remove_background(image_layer):
threshold_back = 100
image_layer[image_layer<threshold_back]=0
return image_layer
def get_middle(x1,y1,x2,y2):
return (x1+x2)*0.5,(y1+y2)*0.5
| 19.153846 | 42 | 0.706827 | 45 | 249 | 3.711111 | 0.466667 | 0.239521 | 0.227545 | 0.275449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084821 | 0.100402 | 249 | 12 | 43 | 20.75 | 0.660714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cef6dd68987fc6587c0950c45cde440329e0086e | 38,023 | py | Python | instances/passenger_demand/pas-20210421-2109-int18e/86.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/86.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int18e/86.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 4177
passenger_arriving = (
(5, 5, 6, 5, 2, 0, 10, 15, 7, 3, 5, 0), # 0
(7, 9, 6, 8, 2, 0, 9, 14, 7, 4, 4, 0), # 1
(5, 8, 8, 5, 0, 0, 16, 9, 11, 8, 0, 0), # 2
(4, 12, 13, 4, 3, 0, 8, 13, 2, 4, 0, 0), # 3
(2, 13, 12, 6, 2, 0, 9, 2, 6, 2, 1, 0), # 4
(6, 9, 15, 6, 2, 0, 10,... | 113.501493 | 213 | 0.730058 | 5,147 | 38,023 | 5.391102 | 0.239751 | 0.311374 | 0.246504 | 0.467061 | 0.326798 | 0.326366 | 0.326366 | 0.326366 | 0.326366 | 0.326366 | 0 | 0.81975 | 0.118718 | 38,023 | 334 | 214 | 113.841317 | 0.008326 | 0.031849 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cef952a4a2bcdf6a9b8b72d13917596b616cde0e | 82 | py | Python | pycroscopy/simulation/__init__.py | kbschliep/pycroscopy | 4f18e7b453aca496e611603616112c1a1a524beb | [
"MIT"
] | 1 | 2021-11-13T05:15:58.000Z | 2021-11-13T05:15:58.000Z | pycroscopy/simulation/__init__.py | kbschliep/pycroscopy | 4f18e7b453aca496e611603616112c1a1a524beb | [
"MIT"
] | null | null | null | pycroscopy/simulation/__init__.py | kbschliep/pycroscopy | 4f18e7b453aca496e611603616112c1a1a524beb | [
"MIT"
] | null | null | null | from . import afm_calculations, afm_lib
__all__ = ['afm_calculations', 'afm_lib'] | 27.333333 | 41 | 0.768293 | 11 | 82 | 5 | 0.545455 | 0.545455 | 0.654545 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 82 | 3 | 41 | 27.333333 | 0.753425 | 0 | 0 | 0 | 0 | 0 | 0.277108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3018884ff85a0d3ef8d8304110575b6304b61bf3 | 2,807 | py | Python | epytope/Data/pssms/smmpmbec/mat/B_40_02_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/B_40_02_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/B_40_02_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_40_02_11 = {0: {'A': 0.078, 'C': 0.001, 'E': 0.007, 'D': 0.019, 'G': 0.005, 'F': -0.068, 'I': -0.042, 'H': -0.015, 'K': -0.013, 'M': -0.139, 'L': -0.099, 'N': -0.017, 'Q': 0.022, 'P': 0.115, 'S': 0.065, 'R': 0.048, 'T': 0.069, 'W': -0.033, 'V': 0.021, 'Y': -0.024}, 1: {'A': 0.093, 'C': -0.028, 'E': -0.195, 'D': -0.10... | 2,807 | 2,807 | 0.394727 | 679 | 2,807 | 1.627393 | 0.191458 | 0.01991 | 0.00905 | 0.01086 | 0.135747 | 0 | 0 | 0 | 0 | 0 | 0 | 0.374575 | 0.162095 | 2,807 | 1 | 2,807 | 2,807 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0.079416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
306c93496d438a3087629cd5622ce78d5a2dda73 | 2,883 | py | Python | dec.py | aman-17/RABIN_CRYPTOSYSTEM | 83c8fb07f0bd8387206960b5bd85633da69e6af5 | [
"Apache-2.0"
] | 2 | 2021-11-27T06:51:51.000Z | 2021-11-28T17:45:14.000Z | dec.py | aman-17/RABIN_CRYPTOSYSTEM | 83c8fb07f0bd8387206960b5bd85633da69e6af5 | [
"Apache-2.0"
] | null | null | null | dec.py | aman-17/RABIN_CRYPTOSYSTEM | 83c8fb07f0bd8387206960b5bd85633da69e6af5 | [
"Apache-2.0"
] | 2 | 2021-11-11T12:38:00.000Z | 2021-11-28T17:46:14.000Z | import prime
import Rabin
import sys
from termcolor import colored, cprint
def delete_space(string):
lst = string.split(' ')
output = ''
for i in lst:
output += i
return output
def add_space(string):
string = string[::-1]
string = ' '.join(string[i:i + 8] for i in range(0, len(string... | 51.482143 | 136 | 0.263961 | 171 | 2,883 | 4.274854 | 0.298246 | 0.131327 | 0.213406 | 0.27907 | 0.391245 | 0.350205 | 0.350205 | 0.350205 | 0.350205 | 0.350205 | 0 | 0.010278 | 0.19008 | 2,883 | 55 | 137 | 52.418182 | 0.302784 | 0.005897 | 0 | 0.421053 | 0 | 0 | 0.633964 | 0.436675 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.105263 | 0 | 0.210526 | 0.526316 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
306f83f179be49ec3cc5d05a5e3ac7746e8fb6b1 | 34 | py | Python | lesson2/consts.py | eyalsus/netanya-cyber-2022a | 626dd7c1331cac8e7f654fade7ab8ca108faaf4c | [
"MIT"
] | null | null | null | lesson2/consts.py | eyalsus/netanya-cyber-2022a | 626dd7c1331cac8e7f654fade7ab8ca108faaf4c | [
"MIT"
] | null | null | null | lesson2/consts.py | eyalsus/netanya-cyber-2022a | 626dd7c1331cac8e7f654fade7ab8ca108faaf4c | [
"MIT"
] | null | null | null | ABC = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 34 | 34 | 0.852941 | 2 | 34 | 14.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 34 | 1 | 34 | 34 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0.742857 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0669921a5ed21aed9737c7f3b3fcfed43bb68f2a | 20 | py | Python | __init__.py | keyme/ihextools | 43cb6a51943d25bd8b71cefe3d1f985e3ad6a0a9 | [
"MIT"
] | null | null | null | __init__.py | keyme/ihextools | 43cb6a51943d25bd8b71cefe3d1f985e3ad6a0a9 | [
"MIT"
] | 1 | 2017-01-09T21:30:09.000Z | 2017-01-09T22:22:17.000Z | __init__.py | keyme/ihextools | 43cb6a51943d25bd8b71cefe3d1f985e3ad6a0a9 | [
"MIT"
] | 1 | 2017-01-09T21:25:20.000Z | 2017-01-09T21:25:20.000Z | from .ihex import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
066e4ccc42425cbbab100f7ec7bc04c2bfe8ea57 | 35 | py | Python | ravel/ext/falcon/__init__.py | gigaquads/pybiz | e9654592246be06a777934e889e03407c5c1673e | [
"MIT"
] | 2 | 2021-02-26T15:30:44.000Z | 2021-05-22T14:06:17.000Z | ravel/ext/falcon/__init__.py | gigaquads/ravel | e9654592246be06a777934e889e03407c5c1673e | [
"MIT"
] | null | null | null | ravel/ext/falcon/__init__.py | gigaquads/ravel | e9654592246be06a777934e889e03407c5c1673e | [
"MIT"
] | null | null | null | from .service import FalconService
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
06afeb203407bdbe3046acb9485d16cf89fae787 | 10,721 | py | Python | tests/unit/test_endpoints.py | davidweterings/wagtail-tag-manager | 224a493170ace2fc6a5f92839b1eeddbe7671293 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/test_endpoints.py | davidweterings/wagtail-tag-manager | 224a493170ace2fc6a5f92839b1eeddbe7671293 | [
"BSD-3-Clause"
] | null | null | null | tests/unit/test_endpoints.py | davidweterings/wagtail-tag-manager | 224a493170ace2fc6a5f92839b1eeddbe7671293 | [
"BSD-3-Clause"
] | 1 | 2021-01-05T12:44:56.000Z | 2021-01-05T12:44:56.000Z | import json
from http.cookies import SimpleCookie
import pytest
from tests.factories.tag import (
TagFactory,
tag_lazy_marketing,
tag_lazy_necessary,
tag_lazy_statistics,
tag_lazy_preferences,
tag_instant_marketing,
tag_instant_statistics,
tag_instant_preferences,
)
from tests.factorie... | 29.212534 | 83 | 0.604235 | 1,175 | 10,721 | 5.359149 | 0.076596 | 0.021915 | 0.053994 | 0.064793 | 0.837224 | 0.807051 | 0.768302 | 0.750516 | 0.747658 | 0.740035 | 0 | 0.008602 | 0.251842 | 10,721 | 366 | 84 | 29.29235 | 0.776462 | 0 | 0 | 0.654723 | 0 | 0 | 0.18655 | 0.066785 | 0 | 0 | 0 | 0 | 0.205212 | 1 | 0.026059 | false | 0.029316 | 0.026059 | 0 | 0.052117 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2309f2e732e7eef9a05fe39dcf238a6a57809fdc | 30,222 | py | Python | bom/tests.py | FixturFab/django-bomf | e6d7fec98197632cfa90f43c87b1bef60e09e874 | [
"MIT"
] | null | null | null | bom/tests.py | FixturFab/django-bomf | e6d7fec98197632cfa90f43c87b1bef60e09e874 | [
"MIT"
] | 7 | 2021-02-02T22:50:43.000Z | 2022-02-10T15:49:29.000Z | bom/tests.py | FixturFab/django-bomf | e6d7fec98197632cfa90f43c87b1bef60e09e874 | [
"MIT"
] | 1 | 2020-07-18T20:10:39.000Z | 2020-07-18T20:10:39.000Z | from django.test import TestCase, Client, TransactionTestCase
from django.urls import reverse
from django.contrib.auth.models import User
from unittest import skip
from re import finditer
from .helpers import create_some_fake_parts, create_a_fake_organization, create_a_fake_part_revision, \
create_a_fake_subpart,... | 42.209497 | 150 | 0.641122 | 3,626 | 30,222 | 5.12824 | 0.084391 | 0.048938 | 0.05808 | 0.092014 | 0.824308 | 0.792525 | 0.766496 | 0.72299 | 0.692122 | 0.672762 | 0 | 0.02467 | 0.23013 | 30,222 | 715 | 151 | 42.268531 | 0.77453 | 0.031236 | 0 | 0.576336 | 0 | 0 | 0.173173 | 0.045498 | 0 | 0 | 0 | 0.001399 | 0.187023 | 1 | 0.072519 | false | 0.05916 | 0.015267 | 0 | 0.093511 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
23674bd4025214371fb1b5bf1ddc91cb4cc882e0 | 6,381 | py | Python | deepchem/utils/sequence_utils.py | saithat/deepchem | 0267a69933d7861e2fbce0d2b6e43a25c863684f | [
"MIT"
] | null | null | null | deepchem/utils/sequence_utils.py | saithat/deepchem | 0267a69933d7861e2fbce0d2b6e43a25c863684f | [
"MIT"
] | null | null | null | deepchem/utils/sequence_utils.py | saithat/deepchem | 0267a69933d7861e2fbce0d2b6e43a25c863684f | [
"MIT"
] | null | null | null | from logging import raiseExceptions
import os
import subprocess
def system_call(command):
""" Wrapper for system command call """
p = subprocess.Popen([command], stdout=subprocess.PIPE, shell=True)
return p.stdout.read()
def hhblits(dataset_path,
database=None,
data_dir=None,
... | 32.065327 | 145 | 0.658361 | 861 | 6,381 | 4.771196 | 0.192799 | 0.03408 | 0.024343 | 0.020448 | 0.827897 | 0.826193 | 0.811587 | 0.790166 | 0.790166 | 0.790166 | 0 | 0.008537 | 0.228961 | 6,381 | 198 | 146 | 32.227273 | 0.826423 | 0.433161 | 0 | 0.695652 | 0 | 0.021739 | 0.10246 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.054348 | 0 | 0.141304 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2374d19438124e3c65d8162f25192ff4f5e894fb | 3,854 | py | Python | saleor/graphql/giftcard/tests/mutations/test_gift_card_bulk_deactivate.py | fairhopeweb/saleor | 9ac6c22652d46ba65a5b894da5f1ba5bec48c019 | [
"CC-BY-4.0"
] | 15,337 | 2015-01-12T02:11:52.000Z | 2021-10-05T19:19:29.000Z | saleor/graphql/giftcard/tests/mutations/test_gift_card_bulk_deactivate.py | fairhopeweb/saleor | 9ac6c22652d46ba65a5b894da5f1ba5bec48c019 | [
"CC-BY-4.0"
] | 7,486 | 2015-02-11T10:52:13.000Z | 2021-10-06T09:37:15.000Z | saleor/graphql/giftcard/tests/mutations/test_gift_card_bulk_deactivate.py | fairhopeweb/saleor | 9ac6c22652d46ba65a5b894da5f1ba5bec48c019 | [
"CC-BY-4.0"
] | 5,864 | 2015-01-16T14:52:54.000Z | 2021-10-05T23:01:15.000Z | import graphene
from .....giftcard import GiftCardEvents
from .....giftcard.models import GiftCard, GiftCardEvent
from ....tests.utils import assert_no_permission, get_graphql_content
MUTATION_GIFT_CARD_BULK_DEACTIVATE = """
mutation GiftCardBulkDeactivate($ids: [ID]!) {
giftCardBulkDeactivate(ids: $ids) ... | 26.57931 | 87 | 0.669953 | 468 | 3,854 | 5.166667 | 0.147436 | 0.115798 | 0.044665 | 0.081886 | 0.83416 | 0.814309 | 0.814309 | 0.777916 | 0.763441 | 0.732837 | 0 | 0.001351 | 0.231967 | 3,854 | 144 | 88 | 26.763889 | 0.815541 | 0.016347 | 0 | 0.609524 | 0 | 0 | 0.0937 | 0.032028 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.038095 | false | 0 | 0.038095 | 0 | 0.07619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2376ba57256e944f24deb2408099e55f2ae11472 | 110 | py | Python | demodocusfw/web/controller/__init__.py | dchud/demodocus | e37040af521bc56a61fea6327fae111268b81497 | [
"Apache-2.0"
] | 7 | 2020-11-17T15:02:32.000Z | 2022-02-18T23:53:23.000Z | demodocusfw/web/controller/__init__.py | dchud/demodocus | e37040af521bc56a61fea6327fae111268b81497 | [
"Apache-2.0"
] | 20 | 2020-11-02T13:40:40.000Z | 2020-11-30T14:09:01.000Z | demodocusfw/web/controller/__init__.py | dchud/demodocus | e37040af521bc56a61fea6327fae111268b81497 | [
"Apache-2.0"
] | 4 | 2020-11-02T18:48:24.000Z | 2020-11-20T18:31:29.000Z | from .controller_reduced import ControllerReduced
from .multicontroller_reduced import MultiControllerReduced
| 36.666667 | 59 | 0.909091 | 10 | 110 | 9.8 | 0.7 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 110 | 2 | 60 | 55 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88da21a57509fa4b615d5fb7d477d5942639aa5f | 35 | py | Python | config/__init__.py | ryuji0123/statistics_demo | c0b13ea73b351bdff24c492696e53f9eed04dba6 | [
"MIT"
] | null | null | null | config/__init__.py | ryuji0123/statistics_demo | c0b13ea73b351bdff24c492696e53f9eed04dba6 | [
"MIT"
] | 2 | 2021-03-22T11:30:59.000Z | 2021-10-16T00:58:19.000Z | config/__init__.py | ryuji0123/statistics_demo | c0b13ea73b351bdff24c492696e53f9eed04dba6 | [
"MIT"
] | 1 | 2021-05-09T03:12:26.000Z | 2021-05-09T03:12:26.000Z | from config.const import FIGS_ROOT
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88e6b0871745c58132437fd580eb4b87df49080f | 230 | py | Python | app/core/__init__.py | vralex/RumbleRunner | eb9889daf90846176af292d4e7411c41dac885c8 | [
"MIT"
] | 2 | 2022-01-26T15:06:02.000Z | 2022-02-03T05:14:52.000Z | app/core/__init__.py | vralex/RumbleRunner | eb9889daf90846176af292d4e7411c41dac885c8 | [
"MIT"
] | 1 | 2022-02-07T23:50:26.000Z | 2022-02-07T23:50:26.000Z | app/core/__init__.py | vralex/RumbleRunner | eb9889daf90846176af292d4e7411c41dac885c8 | [
"MIT"
] | 1 | 2022-02-07T23:19:16.000Z | 2022-02-07T23:19:16.000Z | from app.core.game_ranking import GameRankingHelpers
from app.core.game_session import GameSessionHelpers
from app.core.player import PlayerHelpers
from app.core.trueskill import TrueSkillMatchup, TrueSkillClient, TrueSkillParams
| 46 | 81 | 0.878261 | 28 | 230 | 7.142857 | 0.535714 | 0.14 | 0.22 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 230 | 4 | 82 | 57.5 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88f7c6d1a9a7337ff59e4361e706f1eec619931a | 26 | py | Python | randomstate/prng/xorshift128/__init__.py | bashtage/ng-numpy-randomstate | b397db9cb8688b291fc40071ab043009dfa05a85 | [
"Apache-2.0",
"BSD-3-Clause"
] | 43 | 2016-02-11T03:38:16.000Z | 2022-02-03T10:00:15.000Z | randomstate/prng/xorshift128/__init__.py | bashtage/pcg-python | b397db9cb8688b291fc40071ab043009dfa05a85 | [
"Apache-2.0",
"BSD-3-Clause"
] | 31 | 2015-12-26T19:47:36.000Z | 2018-12-10T15:55:46.000Z | randomstate/prng/xorshift128/__init__.py | bashtage/ng-numpy-randomstate | b397db9cb8688b291fc40071ab043009dfa05a85 | [
"Apache-2.0",
"BSD-3-Clause"
] | 11 | 2016-04-28T02:00:38.000Z | 2020-08-07T10:33:10.000Z | from .xorshift128 import * | 26 | 26 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.115385 | 26 | 1 | 26 | 26 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0013a4310991cf32d4cfcfd8f1d67c292d52dcd8 | 48 | py | Python | deepnodal/python/devices/__init__.py | Bhumbra/DeepNodal | 33afb2efa5e78ae6558ce60a36bb87c186c1f448 | [
"BSD-3-Clause"
] | 1 | 2019-01-06T09:49:42.000Z | 2019-01-06T09:49:42.000Z | deepnodal/python/devices/__init__.py | Bhumbra/DeepNodal | 33afb2efa5e78ae6558ce60a36bb87c186c1f448 | [
"BSD-3-Clause"
] | 3 | 2020-10-14T14:43:33.000Z | 2022-02-09T23:46:40.000Z | deepnodal/python/devices/__init__.py | Bhumbra/DeepNodal | 33afb2efa5e78ae6558ce60a36bb87c186c1f448 | [
"BSD-3-Clause"
] | null | null | null | from deepnodal.python.devices.gputemps import *
| 24 | 47 | 0.833333 | 6 | 48 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0015ed4dafbf60d0c3f3059ef5cf5b70e2b3027f | 32 | py | Python | examples/math.sinh/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.sinh/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/math.sinh/ex1.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | import math
print(math.sinh(1))
| 10.666667 | 19 | 0.75 | 6 | 32 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.09375 | 32 | 2 | 20 | 16 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
001d025cd6a4dfb43f764cfe19e15a85a4a6ddb5 | 23 | py | Python | pyreutil/__init__.py | michsun/pyreutil | 34e6e9edd77c723a2f40efce37ad38b812c08e9f | [
"MIT"
] | null | null | null | pyreutil/__init__.py | michsun/pyreutil | 34e6e9edd77c723a2f40efce37ad38b812c08e9f | [
"MIT"
] | null | null | null | pyreutil/__init__.py | michsun/pyreutil | 34e6e9edd77c723a2f40efce37ad38b812c08e9f | [
"MIT"
] | null | null | null | from .pyreutil import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0047acfc744233a853e2269d36139ec2769c8b97 | 44 | py | Python | test.py | panandicoding/audioeventclassification | d28f826ec149a61a5670243961399d48a7b03381 | [
"Apache-2.0"
] | null | null | null | test.py | panandicoding/audioeventclassification | d28f826ec149a61a5670243961399d48a7b03381 | [
"Apache-2.0"
] | null | null | null | test.py | panandicoding/audioeventclassification | d28f826ec149a61a5670243961399d48a7b03381 | [
"Apache-2.0"
] | null | null | null | import numpy
import scipy
import sklearn
| 11 | 15 | 0.795455 | 6 | 44 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 44 | 3 | 16 | 14.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cc943b82c9ee2094e53024c9dcd996275ee5d385 | 49 | py | Python | python/test-data/testWrongKeywordArg.py | Panteon32Om/write-your-python-program | 615b73113466c1c8f901fad0a076b480f62ad437 | [
"BSD-3-Clause"
] | null | null | null | python/test-data/testWrongKeywordArg.py | Panteon32Om/write-your-python-program | 615b73113466c1c8f901fad0a076b480f62ad437 | [
"BSD-3-Clause"
] | null | null | null | python/test-data/testWrongKeywordArg.py | Panteon32Om/write-your-python-program | 615b73113466c1c8f901fad0a076b480f62ad437 | [
"BSD-3-Clause"
] | null | null | null | def foo(kw: int) -> int:
return kw
foo(x=4)
| 9.8 | 24 | 0.55102 | 10 | 49 | 2.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.265306 | 49 | 4 | 25 | 12.25 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
aef95dd5abb8a50cd61d3d361e7fed2ceedab4b8 | 5,946 | py | Python | nuggetbot/decorators.py | LimeProgramming/NuggetBot4.0 | 05fdb8db35d158c25be87d1403814b6ada9549cc | [
"MIT"
] | null | null | null | nuggetbot/decorators.py | LimeProgramming/NuggetBot4.0 | 05fdb8db35d158c25be87d1403814b6ada9549cc | [
"MIT"
] | null | null | null | nuggetbot/decorators.py | LimeProgramming/NuggetBot4.0 | 05fdb8db35d158c25be87d1403814b6ada9549cc | [
"MIT"
] | null | null | null | """
----~~~~~ NuggetBot ~~~~~----
Written By Calamity Lime#8500
Disclaimer
-----------
NuggetBots source code as been shared for the purposes of transparency on the FurSail discord server and educational purposes.
Running your own instance of this bot is not recommended.
FurSail Invite URL: http://discord.gg/QMEgfcg
... | 30.80829 | 131 | 0.644803 | 836 | 5,946 | 4.433014 | 0.155502 | 0.067458 | 0.068268 | 0.052617 | 0.745548 | 0.745548 | 0.745548 | 0.730977 | 0.724231 | 0.694549 | 0 | 0.000901 | 0.252943 | 5,946 | 192 | 132 | 30.96875 | 0.833408 | 0.158258 | 0 | 0.788136 | 0 | 0 | 0.073866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101695 | false | 0 | 0.042373 | 0 | 0.364407 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4e3f83677cba8d74c13f7aa1814c30c63e092b06 | 207 | py | Python | geoconvert/deptfr.py | yolocodefrench/geoconvert | 1697f80e8ea634beb11a25a846151009400f7cac | [
"MIT"
] | null | null | null | geoconvert/deptfr.py | yolocodefrench/geoconvert | 1697f80e8ea634beb11a25a846151009400f7cac | [
"MIT"
] | null | null | null | geoconvert/deptfr.py | yolocodefrench/geoconvert | 1697f80e8ea634beb11a25a846151009400f7cac | [
"MIT"
] | null | null | null | # -*- coding: utf8 -*-
# Kept for compabitilities
from .convert import zipcode_to_dept_name as cp2dept
from .convert import address_to_zipcode as adr2cp
from .convert import dept_name_to_zipcode as dept2cp
| 29.571429 | 52 | 0.806763 | 31 | 207 | 5.129032 | 0.548387 | 0.207547 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022346 | 0.135266 | 207 | 6 | 53 | 34.5 | 0.865922 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9db47943d1d3f9d00256c0e04b32406c3bce5b40 | 186 | py | Python | cpu/hooks/__init__.py | serend1p1ty/core-pytorch-utils | 626e4ec586656788204656779a80f374f888256b | [
"MIT"
] | 65 | 2021-09-25T14:52:16.000Z | 2022-03-20T06:17:06.000Z | cpu/hooks/__init__.py | serend1p1ty/core-pytorch-utils | 626e4ec586656788204656779a80f374f888256b | [
"MIT"
] | 1 | 2022-01-05T08:25:51.000Z | 2022-01-05T11:15:14.000Z | cpu/hooks/__init__.py | serend1p1ty/core-pytorch-utils | 626e4ec586656788204656779a80f374f888256b | [
"MIT"
] | 9 | 2021-12-24T02:20:05.000Z | 2022-02-08T11:23:44.000Z | from .checkpoint_hook import CheckpointerHook
from .eval_hook import EvalHook
from .hookbase import HookBase
from .logger_hook import LoggerHook
from .lr_update_hook import LRUpdateHook
| 31 | 45 | 0.865591 | 25 | 186 | 6.24 | 0.52 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 186 | 5 | 46 | 37.2 | 0.939759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
060edcdfee8b794987ff6118c1bd294ed2ec2b95 | 148 | py | Python | frnz/analytics.py | alfranz/frnz-sample | 2a4227936bb4ecb32c84c9063ffdf8077facceaf | [
"MIT"
] | 1 | 2020-10-09T14:41:35.000Z | 2020-10-09T14:41:35.000Z | frnz/analytics.py | alfranz/frnz-sample | 2a4227936bb4ecb32c84c9063ffdf8077facceaf | [
"MIT"
] | null | null | null | frnz/analytics.py | alfranz/frnz-sample | 2a4227936bb4ecb32c84c9063ffdf8077facceaf | [
"MIT"
] | null | null | null | import pandas as pd
from typing import Dict
def count_missing(dataframe: pd.DataFrame) -> Dict[str, int]:
return dict(dataframe.isna().sum())
| 21.142857 | 61 | 0.72973 | 22 | 148 | 4.863636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 148 | 6 | 62 | 24.666667 | 0.849206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 6 |
ae42c11cede0f3a7fa84fd759a018971e2966c69 | 35 | py | Python | gerenciador/anuncios/utils/__init__.py | diogo-alves/gerenciador_anuncios | fc62a818d803594ba0c31c755cbb83c165c1488f | [
"MIT"
] | null | null | null | gerenciador/anuncios/utils/__init__.py | diogo-alves/gerenciador_anuncios | fc62a818d803594ba0c31c755cbb83c165c1488f | [
"MIT"
] | null | null | null | gerenciador/anuncios/utils/__init__.py | diogo-alves/gerenciador_anuncios | fc62a818d803594ba0c31c755cbb83c165c1488f | [
"MIT"
] | null | null | null | from .calculadora import * # noqa
| 17.5 | 34 | 0.714286 | 4 | 35 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 1 | 35 | 35 | 0.892857 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
887a65e9f2078b2e0c9c88ecba18aa7f68f8faa7 | 200 | py | Python | signalwire/relay/calling/results/detect_result.py | ramarketing/signalwire-python | c0663bdd0454faaa39f42af7c936cea1d43e1842 | [
"MIT"
] | 23 | 2018-12-19T14:48:18.000Z | 2022-01-11T03:58:36.000Z | signalwire/relay/calling/results/detect_result.py | ramarketing/signalwire-python | c0663bdd0454faaa39f42af7c936cea1d43e1842 | [
"MIT"
] | 13 | 2018-10-17T12:57:54.000Z | 2021-09-01T21:46:01.000Z | signalwire/relay/calling/results/detect_result.py | ramarketing/signalwire-python | c0663bdd0454faaa39f42af7c936cea1d43e1842 | [
"MIT"
] | 12 | 2020-01-21T14:29:43.000Z | 2022-01-11T07:48:06.000Z | from . import BaseResult
class DetectResult(BaseResult):
@property
def detect_type(self):
return self.component.detect_type
@property
def result(self):
return self.component.result
| 16.666667 | 37 | 0.745 | 24 | 200 | 6.125 | 0.541667 | 0.14966 | 0.190476 | 0.312925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 200 | 11 | 38 | 18.181818 | 0.890909 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
887c2b676d2c3bd3c60ce00c1ece9af89223c99e | 45 | py | Python | test.py | zinizio/gxuyw-Introduction-to-Open-Source | 8408a968954bc247e3a320d7a938e210014b2f93 | [
"Apache-2.0"
] | null | null | null | test.py | zinizio/gxuyw-Introduction-to-Open-Source | 8408a968954bc247e3a320d7a938e210014b2f93 | [
"Apache-2.0"
] | null | null | null | test.py | zinizio/gxuyw-Introduction-to-Open-Source | 8408a968954bc247e3a320d7a938e210014b2f93 | [
"Apache-2.0"
] | null | null | null | print ('this is my intro to open source lab') | 45 | 45 | 0.733333 | 9 | 45 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 1 | 45 | 45 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0.76087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
887fa313da9e16195c656b08e5da3d373a980585 | 110 | py | Python | pyapdl/plot.py | JorgeDeLosSantos/pyapdl | 6a9842808b01121032515d01bdb3d055661b849a | [
"MIT"
] | 16 | 2016-03-31T10:43:27.000Z | 2022-01-14T02:07:17.000Z | pyapdl/plot.py | JorgeDeLosSantos/pyapdl | 6a9842808b01121032515d01bdb3d055661b849a | [
"MIT"
] | null | null | null | pyapdl/plot.py | JorgeDeLosSantos/pyapdl | 6a9842808b01121032515d01bdb3d055661b849a | [
"MIT"
] | 9 | 2017-03-05T18:18:04.000Z | 2022-01-16T10:53:20.000Z | # -*- coding: utf-8 -*-
def numbering_nodes():
return "/PNUM,NODE,1"
if __name__ == '__main__':
pass
| 15.714286 | 26 | 0.590909 | 14 | 110 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.209091 | 110 | 6 | 27 | 18.333333 | 0.62069 | 0.190909 | 0 | 0 | 0 | 0 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0.25 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
889fe01092fb781500e17e9255309abbf1bb304a | 240 | py | Python | smartlearner/interfaces/__init__.py | havaeimo/smartlearner | 9fa0d4e757310b185e5c0d2ff43279d21ab4cb17 | [
"BSD-3-Clause"
] | null | null | null | smartlearner/interfaces/__init__.py | havaeimo/smartlearner | 9fa0d4e757310b185e5c0d2ff43279d21ab4cb17 | [
"BSD-3-Clause"
] | null | null | null | smartlearner/interfaces/__init__.py | havaeimo/smartlearner | 9fa0d4e757310b185e5c0d2ff43279d21ab4cb17 | [
"BSD-3-Clause"
] | null | null | null | from .batch_scheduler import BatchScheduler
from .dataset import Dataset
from .model import Model
from .loss import Loss
from .task import Task
from .direction_modifier import DirectionModifier
from .direction_modifier import ParamModifier
| 30 | 49 | 0.854167 | 31 | 240 | 6.516129 | 0.419355 | 0.128713 | 0.207921 | 0.267327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 240 | 7 | 50 | 34.285714 | 0.95283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88ac9af76a8bb6d4e46e7dfcdb9d71739fb01c62 | 70 | py | Python | 06_Python_API/Code/api_keys.py | contactgokul/Bootcamps | 40b3f70e1ab76d51f4934a91d43e45b0f2d0275f | [
"MIT"
] | null | null | null | 06_Python_API/Code/api_keys.py | contactgokul/Bootcamps | 40b3f70e1ab76d51f4934a91d43e45b0f2d0275f | [
"MIT"
] | null | null | null | 06_Python_API/Code/api_keys.py | contactgokul/Bootcamps | 40b3f70e1ab76d51f4934a91d43e45b0f2d0275f | [
"MIT"
] | null | null | null | # OpenWeatherMap API Key
api_key = "9e7d5f00f272daba023775397adcb79c"
| 23.333333 | 44 | 0.842857 | 6 | 70 | 9.666667 | 0.666667 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301587 | 0.1 | 70 | 2 | 45 | 35 | 0.619048 | 0.314286 | 0 | 0 | 0 | 0 | 0.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
88b7a8a5127fd46f4188cb90182042928ff767a2 | 30 | py | Python | lib/net/__init__.py | yaopengUSTC/mbit-skin-cancer | a82a87b2abebaf724dbe2a7b7e833c434c1b56a0 | [
"MIT"
] | 3 | 2022-01-23T05:27:43.000Z | 2022-03-08T07:29:25.000Z | lib/net/__init__.py | yaopengUSTC/mbit-skin-cancer | a82a87b2abebaf724dbe2a7b7e833c434c1b56a0 | [
"MIT"
] | null | null | null | lib/net/__init__.py | yaopengUSTC/mbit-skin-cancer | a82a87b2abebaf724dbe2a7b7e833c434c1b56a0 | [
"MIT"
] | null | null | null | from .network import Network
| 15 | 29 | 0.8 | 4 | 30 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 1 | 30 | 30 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee0f98d359cd2b3c5033e1e21b2cf0d223eb9dc9 | 205,527 | py | Python | .qt_for_python/rcc/resources.py | CS3250-Ctrl-Intelligence/Team-Project_Python | 6b8fef2b09628666a198f4c86f5c8226eabed406 | [
"CC0-1.0"
] | 3 | 2022-03-01T10:23:12.000Z | 2022-03-05T01:38:01.000Z | .qt_for_python/rcc/resources.py | CS3250-Ctrl-Intelligence/Team-Project_Python | 6b8fef2b09628666a198f4c86f5c8226eabed406 | [
"CC0-1.0"
] | 18 | 2022-02-25T17:53:49.000Z | 2022-03-19T03:31:11.000Z | .qt_for_python/rcc/resources.py | CS3250-Ctrl-Intelligence/Team-Project_Python | 6b8fef2b09628666a198f4c86f5c8226eabed406 | [
"CC0-1.0"
] | null | null | null | # Resource object code (Python 3)
# Created by: object code
# Created by: The Resource Compiler for Qt version 5.15.2
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore
qt_resource_data = b"\
\x00\x00\x01n\
<\
svg xmlns=\x22http:\
//www.w3.org/200\
0/svg\x22 width=\x2224\
\x22 height=\x... | 22.376375 | 96 | 0.673916 | 42,365 | 205,527 | 3.26876 | 0.038947 | 0.095233 | 0.059792 | 0.053206 | 0.867462 | 0.829969 | 0.787061 | 0.742239 | 0.674208 | 0.587756 | 0 | 0.324579 | 0.095545 | 205,527 | 9,184 | 97 | 22.378811 | 0.420383 | 0.000798 | 0 | 0.621389 | 0 | 0.05091 | 0 | 0 | 0 | 0 | 0.000039 | 0 | 0 | 1 | 0.000218 | false | 0.000109 | 0.000109 | 0 | 0.000327 | 0.000109 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ee25f5a6455567441965b2e56b627fdb750866d7 | 26 | py | Python | openmmml/models/__init__.py | jthorton/openmm-ml | 94b111922d4e18846204fc3909bdad77c1e1966a | [
"MIT"
] | 15 | 2021-02-23T19:53:39.000Z | 2022-03-04T01:11:18.000Z | openmmml/models/__init__.py | jthorton/openmm-ml | 94b111922d4e18846204fc3909bdad77c1e1966a | [
"MIT"
] | 22 | 2021-02-13T23:51:02.000Z | 2022-03-30T17:53:12.000Z | openmmml/models/__init__.py | jthorton/openmm-ml | 94b111922d4e18846204fc3909bdad77c1e1966a | [
"MIT"
] | 9 | 2021-02-10T20:55:46.000Z | 2022-03-15T21:20:52.000Z | from . import anipotential | 26 | 26 | 0.846154 | 3 | 26 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ee528f81db7c9c23cf12e909e7f3a42a61d41071 | 80 | py | Python | tests/test_plugin.py | frictionlessdata/livemark-ckan | eed9c59138f0e50b1c429e4120e04a956ac90fc4 | [
"MIT"
] | 1 | 2021-09-09T07:34:24.000Z | 2021-09-09T07:34:24.000Z | tests/test_plugin.py | frictionlessdata/livemark-ckan | eed9c59138f0e50b1c429e4120e04a956ac90fc4 | [
"MIT"
] | null | null | null | tests/test_plugin.py | frictionlessdata/livemark-ckan | eed9c59138f0e50b1c429e4120e04a956ac90fc4 | [
"MIT"
] | null | null | null | from livemark_ckan import CkanPlugin
def test_plugin():
assert CkanPlugin
| 13.333333 | 36 | 0.7875 | 10 | 80 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 80 | 5 | 37 | 16 | 0.924242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c9b107b13ab88cbc38c192d0be4ae65240c2dd87 | 194 | py | Python | tests/pytest/session_overrides/session_locale/conftest.py | tactlabs/randum | 11274a52d206f9fcc2ec1a8935257d93fd83fe66 | [
"MIT"
] | null | null | null | tests/pytest/session_overrides/session_locale/conftest.py | tactlabs/randum | 11274a52d206f9fcc2ec1a8935257d93fd83fe66 | [
"MIT"
] | null | null | null | tests/pytest/session_overrides/session_locale/conftest.py | tactlabs/randum | 11274a52d206f9fcc2ec1a8935257d93fd83fe66 | [
"MIT"
] | null | null | null | import pytest
from tests.pytest.session_overrides.session_locale import _MODULE_LOCALES
@pytest.fixture(scope='session', autouse=True)
def randum_session_locale():
return _MODULE_LOCALES
| 21.555556 | 73 | 0.824742 | 25 | 194 | 6.08 | 0.64 | 0.171053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097938 | 194 | 8 | 74 | 24.25 | 0.868571 | 0 | 0 | 0 | 0 | 0 | 0.036082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c9e26f71c21e1b936ddd8814ed57561253feb0c4 | 345 | py | Python | bindings/python/tests/compiler_xla_test.py | tucker824/iree | bd675b997e78d0aa204ac94fffa99113e09bbef1 | [
"Apache-2.0"
] | null | null | null | bindings/python/tests/compiler_xla_test.py | tucker824/iree | bd675b997e78d0aa204ac94fffa99113e09bbef1 | [
"Apache-2.0"
] | null | null | null | bindings/python/tests/compiler_xla_test.py | tucker824/iree | bd675b997e78d0aa204ac94fffa99113e09bbef1 | [
"Apache-2.0"
] | null | null | null | l086jXnOFE4BtKQlonKnUg+VY1GYfjn3PlxLmSqeVotZ4EuiAMTRmf5+72mmbZZF4OYRQy4ORTJsO2Lt/QsW8VSvG5vQKpjflbbMObnXBVoTrkvHd1i/xYqBUsktc9t4/jn2WW5MROuLwrYvo6gnjHRy6gmPQqxC9RBvC7DXptoYwekEWRh0D5BZ/88slO4iQJ7C+cA0/0fzjIePXkeacQumgZuYLZLnV4+TH9vAQmL4yh4OUnePCcuwG7X74/SlKA065fJIaPqpAE35FC0qaAULRE5E5tdVlWTiwjT1GSFgH2vo18Y7978tgm8D3QhX... | 172.5 | 344 | 0.962319 | 11 | 345 | 30.181818 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174419 | 0.002899 | 345 | 1 | 345 | 345 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c9e73d146170d414590c340742db4e7823e30078 | 138 | py | Python | drizm_commons/google/__init__.py | drizm-team/python-commons | 55e14754222cc1aa8a6c9137f75d529158864fee | [
"MIT"
] | null | null | null | drizm_commons/google/__init__.py | drizm-team/python-commons | 55e14754222cc1aa8a6c9137f75d529158864fee | [
"MIT"
] | 2 | 2021-01-01T19:45:33.000Z | 2021-03-03T13:25:41.000Z | drizm_commons/google/__init__.py | drizm-team/python-commons | 55e14754222cc1aa8a6c9137f75d529158864fee | [
"MIT"
] | null | null | null | from .token import force_obtain_id_token
from .testing import TestStorageBucket
__all__ = ["force_obtain_id_token", "TestStorageBucket"]
| 27.6 | 56 | 0.833333 | 17 | 138 | 6.176471 | 0.529412 | 0.209524 | 0.247619 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094203 | 138 | 4 | 57 | 34.5 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.275362 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c9f013880681af1ec170a493272e1750c2b113b3 | 2,592 | py | Python | utests/is_operator.py | CreativeBlockchainDevelopers/tezos-artblocks | a25dee4cff6e3c0a49565435a473717b37af01eb | [
"MIT"
] | 2 | 2021-11-12T09:56:40.000Z | 2022-03-21T22:33:25.000Z | utests/is_operator.py | CreativeBlockchainDevelopers/tezos-artblocks | a25dee4cff6e3c0a49565435a473717b37af01eb | [
"MIT"
] | null | null | null | utests/is_operator.py | CreativeBlockchainDevelopers/tezos-artblocks | a25dee4cff6e3c0a49565435a473717b37af01eb | [
"MIT"
] | null | null | null | def run_tests_is_operator(config):
scenario = sp.test_scenario()
admin, [alice, bob] = get_addresses()
op = sp.test_account("Operator")
scenario.h1("Is operator tests")
scenario.table_of_contents()
#-----------------------------------------------------
scenario.h2("Non-existing token, no... | 33.230769 | 74 | 0.577932 | 283 | 2,592 | 5.109541 | 0.151943 | 0.033195 | 0.094053 | 0.138313 | 0.887967 | 0.869986 | 0.869986 | 0.869986 | 0.869986 | 0.852697 | 0 | 0.007129 | 0.188272 | 2,592 | 77 | 75 | 33.662338 | 0.680133 | 0.122685 | 0 | 0.666667 | 0 | 0 | 0.094797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018519 | false | 0 | 0 | 0 | 0.018519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4e4b2e20f6b3c5958c5dcab4df41a984929ff67b | 57 | py | Python | password_store/__init__.py | cjwatson/py-password-store | 4ee5db0d7cef2da7c2137d3ee08923adc74a41bb | [
"MIT"
] | null | null | null | password_store/__init__.py | cjwatson/py-password-store | 4ee5db0d7cef2da7c2137d3ee08923adc74a41bb | [
"MIT"
] | null | null | null | password_store/__init__.py | cjwatson/py-password-store | 4ee5db0d7cef2da7c2137d3ee08923adc74a41bb | [
"MIT"
] | 1 | 2022-03-16T11:22:42.000Z | 2022-03-16T11:22:42.000Z | # TODO unit testing
from .credentials import Credentials | 19 | 36 | 0.824561 | 7 | 57 | 6.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 3 | 36 | 19 | 0.959184 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4e8443da98b9f1c5c8ef1e2400b4cce509ec7155 | 64 | py | Python | addon/__init__.py | BlueGreenMagick/review-with-mouse | 4ec9dceac0f183786771294643583df36aff3d47 | [
"MIT"
] | 8 | 2020-01-20T15:59:35.000Z | 2022-01-23T22:46:14.000Z | addon/__init__.py | BlueGreenMagick/review-with-mouse | 4ec9dceac0f183786771294643583df36aff3d47 | [
"MIT"
] | 16 | 2020-01-15T19:42:29.000Z | 2022-03-18T12:14:45.000Z | addon/__init__.py | BlueGreenMagick/Hotmouse-Review | 72dba71bbbcf8ef6112a36c877b0aa7d4fe18a70 | [
"MIT"
] | 1 | 2020-12-19T12:28:01.000Z | 2020-12-19T12:28:01.000Z | from . import firstrun
from . import config
from . import event
| 16 | 22 | 0.765625 | 9 | 64 | 5.444444 | 0.555556 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 23 | 21.333333 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4e966748b9377788e7f662a6aef3eb0907834079 | 7,276 | py | Python | data.py | allePansera/Cimone-Monitoring | f7a9b62753d4b5981f2a6539e3ed6206d6e31705 | [
"MIT"
] | null | null | null | data.py | allePansera/Cimone-Monitoring | f7a9b62753d4b5981f2a6539e3ed6206d6e31705 | [
"MIT"
] | null | null | null | data.py | allePansera/Cimone-Monitoring | f7a9b62753d4b5981f2a6539e3ed6206d6e31705 | [
"MIT"
] | null | null | null | import pzgram
import request
import urllib
import bs4 as bs
import datetime
contUsi = 0
bot = pzgram.Bot("821759300:AAFObxDxOpQkuhalssk39Pz1FHMFN5CWhPI")
class Telegram:
def __init__(self,periodo,clima,temp,wind):
self.temp = temp
self.wind = wind
self.clima = clima
self.perio... | 32.627803 | 128 | 0.595107 | 934 | 7,276 | 4.58137 | 0.172377 | 0.032718 | 0.033653 | 0.059827 | 0.798084 | 0.779855 | 0.779855 | 0.779855 | 0.769806 | 0.769806 | 0 | 0.053501 | 0.201072 | 7,276 | 222 | 129 | 32.774775 | 0.682608 | 0.107889 | 0 | 0.733333 | 0 | 0.026667 | 0.186759 | 0.007214 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053333 | false | 0.013333 | 0.033333 | 0 | 0.093333 | 0.026667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4eaece7fae0f828ee2bcec9bb2ed2cc864f7877e | 492 | py | Python | packages/pyright-internal/src/tests/samples/with4.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 4,391 | 2019-05-07T01:18:57.000Z | 2022-03-31T20:45:44.000Z | packages/pyright-internal/src/tests/samples/with4.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 2,740 | 2019-05-07T03:29:30.000Z | 2022-03-31T12:57:46.000Z | packages/pyright-internal/src/tests/samples/with4.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 455 | 2019-05-07T12:55:14.000Z | 2022-03-31T17:09:15.000Z | # This sample tests that parentheses are allowed in with statements
# if using Python 3.9 and later.
from tempfile import TemporaryFile
# This should generate an error
with (TemporaryFile() as a, TemporaryFile() as b):
pass
# This should generate an error
with (TemporaryFile() as c, ):
pass
# This should ge... | 19.68 | 67 | 0.71748 | 66 | 492 | 5.348485 | 0.469697 | 0.240793 | 0.203966 | 0.226629 | 0.526912 | 0.526912 | 0.526912 | 0.526912 | 0.271955 | 0 | 0 | 0.005089 | 0.20122 | 492 | 24 | 68 | 20.5 | 0.89313 | 0.439024 | 0 | 0.454545 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.454545 | 0.090909 | 0 | 0.090909 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4ebfe370c0dbe8a2ea651630de0435d9d7787085 | 5,945 | py | Python | tests/utils/test_split.py | albertogaspar/dts | 9fcad2c672cdcf5d2c6bd005dae05afc65f97e58 | [
"MIT"
] | 139 | 2019-09-09T12:20:41.000Z | 2022-03-28T06:21:43.000Z | tests/utils/test_split.py | yfh15882384041/dts | 9fcad2c672cdcf5d2c6bd005dae05afc65f97e58 | [
"MIT"
] | 4 | 2019-12-15T11:40:31.000Z | 2020-08-02T16:06:05.000Z | tests/utils/test_split.py | yfh15882384041/dts | 9fcad2c672cdcf5d2c6bd005dae05afc65f97e58 | [
"MIT"
] | 37 | 2019-08-31T00:50:33.000Z | 2022-02-07T12:25:18.000Z | import numpy as np
from dts.utils.split import *
import unittest
class TestSplit(unittest.TestCase):
def __init__(self,*args,**kwargs):
self.X = np.random.uniform(0., 10., size=(10000,10))
super().__init__(*args,**kwargs)
def test_simple_split(self):
test_len = 4000
res = sim... | 46.085271 | 103 | 0.659209 | 882 | 5,945 | 4.188209 | 0.077098 | 0.06091 | 0.086627 | 0.074445 | 0.920141 | 0.904169 | 0.888468 | 0.860314 | 0.849215 | 0.829995 | 0 | 0.043237 | 0.210261 | 5,945 | 129 | 104 | 46.085271 | 0.743557 | 0 | 0 | 0.692308 | 0 | 0 | 0.001345 | 0 | 0 | 0 | 0 | 0 | 0.288462 | 1 | 0.048077 | false | 0 | 0.028846 | 0 | 0.086538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4ec54cdf3e0bc2a47a071a571b988adbbf842efc | 24 | py | Python | surge/__init__.py | joshp-f/surgetypes-python | ec5926ceab0e3cd8532e6c3e0cebb7dacb153cee | [
"MIT"
] | null | null | null | surge/__init__.py | joshp-f/surgetypes-python | ec5926ceab0e3cd8532e6c3e0cebb7dacb153cee | [
"MIT"
] | null | null | null | surge/__init__.py | joshp-f/surgetypes-python | ec5926ceab0e3cd8532e6c3e0cebb7dacb153cee | [
"MIT"
] | null | null | null | from .surge import trace | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
14e973b60a7a4a7945c15ca81592ecdece122ec3 | 10,438 | py | Python | tests/unit/test_topology.py | oglok/CPU-Manager-for-Kubernetes | 503f37dcb20452699ce789b6628fa3ebeb9ffb54 | [
"Apache-2.0"
] | 152 | 2018-05-24T02:19:41.000Z | 2022-03-23T08:39:11.000Z | tests/unit/test_topology.py | oglok/CPU-Manager-for-Kubernetes | 503f37dcb20452699ce789b6628fa3ebeb9ffb54 | [
"Apache-2.0"
] | 64 | 2018-05-30T13:09:40.000Z | 2021-12-29T14:00:25.000Z | tests/unit/test_topology.py | oglok/CPU-Manager-for-Kubernetes | 503f37dcb20452699ce789b6628fa3ebeb9ffb54 | [
"Apache-2.0"
] | 78 | 2018-05-22T13:26:54.000Z | 2022-02-20T22:33:07.000Z | # Copyright (c) 2017 Intel Corporation
#
# 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 or agreed to i... | 31.345345 | 80 | 0.635275 | 1,872 | 10,438 | 3.457799 | 0.091346 | 0.022555 | 0.020392 | 0.021628 | 0.792214 | 0.772748 | 0.748494 | 0.746331 | 0.732736 | 0.723312 | 0 | 0.095117 | 0.207319 | 10,438 | 332 | 81 | 31.439759 | 0.687213 | 0.105097 | 0 | 0.671815 | 0 | 0.011583 | 0.257916 | 0.046367 | 0 | 0 | 0 | 0 | 0.432432 | 1 | 0.030888 | false | 0 | 0.003861 | 0 | 0.034749 | 0.011583 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
14eefdc9272e26eb369af87eb096a8169aa0bee5 | 40 | py | Python | tests/test_naive_cookiecutter.py | ickc/naive-cookiecutter | ff24f4229cbe0dd7b1c5bac682ad4096313dd755 | [
"BSD-3-Clause"
] | null | null | null | tests/test_naive_cookiecutter.py | ickc/naive-cookiecutter | ff24f4229cbe0dd7b1c5bac682ad4096313dd755 | [
"BSD-3-Clause"
] | null | null | null | tests/test_naive_cookiecutter.py | ickc/naive-cookiecutter | ff24f4229cbe0dd7b1c5bac682ad4096313dd755 | [
"BSD-3-Clause"
] | null | null | null | def test_naive_cookiecutter():
pass
| 13.333333 | 30 | 0.75 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 31 | 20 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
090f5a851953159d60eb53f0dd7c2e8d65dee6b1 | 14,440 | py | Python | test/test_examples_app.py | wugi/remi | 44903c9a2155974c2121d36037734bc4b7a4e2f3 | [
"Apache-2.0"
] | 1 | 2019-10-17T11:29:30.000Z | 2019-10-17T11:29:30.000Z | test/test_examples_app.py | wugi/remi | 44903c9a2155974c2121d36037734bc4b7a4e2f3 | [
"Apache-2.0"
] | null | null | null | test/test_examples_app.py | wugi/remi | 44903c9a2155974c2121d36037734bc4b7a4e2f3 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import unittest
import remi.gui as gui
import sys
import os.path
import time
try:
from mock_server_and_request import MockServer, MockRequest
from html_validator import assertValidHTML
except ValueError:
from .mock_server_and_request import MockServer, MockRequest
from .html_val... | 28.258317 | 80 | 0.643006 | 1,774 | 14,440 | 5.094701 | 0.076099 | 0.058863 | 0.082983 | 0.121708 | 0.824519 | 0.817106 | 0.817106 | 0.69241 | 0.679796 | 0.679796 | 0 | 0.018351 | 0.241482 | 14,440 | 510 | 81 | 28.313725 | 0.806811 | 0.003878 | 0 | 0.76 | 0 | 0 | 0.022389 | 0 | 0 | 0 | 0 | 0 | 0.0675 | 1 | 0.25 | false | 0 | 0.085 | 0 | 0.3975 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
092d32d44da07aec3c83f91200bb0e2412046fa6 | 93 | py | Python | src/roughsets_base/__init__.py | darekjk/roughsets-base | f63f0e064610b07517c686557a6be53439a6286e | [
"BSD-3-Clause"
] | 1 | 2022-02-05T21:23:14.000Z | 2022-02-05T21:23:14.000Z | src/roughsets_base/__init__.py | darekjk/roughsets-base | f63f0e064610b07517c686557a6be53439a6286e | [
"BSD-3-Clause"
] | 1 | 2022-02-23T09:10:27.000Z | 2022-03-09T19:30:36.000Z | src/roughsets_base/__init__.py | darekjk/roughsets-base | f63f0e064610b07517c686557a6be53439a6286e | [
"BSD-3-Clause"
] | null | null | null | """
"""
from roughsets_base.roughset_si import RoughSetSI
def setup():
pass
| 9.3 | 50 | 0.612903 | 10 | 93 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27957 | 93 | 9 | 51 | 10.333333 | 0.820896 | 0 | 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 | 0 | 0 | 0 | 6 |
09480d6fcdfb7975c08f8c6c7351598d26821af4 | 5,842 | py | Python | CS108FwUpgrade.py | cslrfid/CS108-Linux-Python-USB-App | a75faa410d4c439bbcc9bb0b3850478d6703f5d4 | [
"MIT"
] | null | null | null | CS108FwUpgrade.py | cslrfid/CS108-Linux-Python-USB-App | a75faa410d4c439bbcc9bb0b3850478d6703f5d4 | [
"MIT"
] | null | null | null | CS108FwUpgrade.py | cslrfid/CS108-Linux-Python-USB-App | a75faa410d4c439bbcc9bb0b3850478d6703f5d4 | [
"MIT"
] | null | null | null | import BTCommands
import SLCommands
import RFIDCommands
import USBSocket
import CRC
import HID
import utils
import Constants
def GetBTVersion(handle):
command = BTCommands.GetVersion()
if not USBSocket.TransmitData(handle, command):
print("Device failed to transmit data.")
return ""
if HI... | 33.00565 | 139 | 0.507189 | 566 | 5,842 | 5.217314 | 0.176678 | 0.033525 | 0.023705 | 0.044023 | 0.810362 | 0.797833 | 0.77616 | 0.764307 | 0.739926 | 0.739926 | 0 | 0.048679 | 0.384629 | 5,842 | 177 | 140 | 33.00565 | 0.77274 | 0 | 0 | 0.697368 | 0 | 0 | 0.099606 | 0 | 0 | 0 | 0.005477 | 0 | 0 | 1 | 0.026316 | false | 0 | 0.052632 | 0 | 0.230263 | 0.164474 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
118f474d0480650d5902aea6c9bb01964e146fd7 | 828,203 | py | Python | examples/grids/grid_uri/acdc/cigre_europe_residential.py | pydae/pydae | 8076bcfeb2cdc865a5fc58561ff8d246d0ed7d9d | [
"MIT"
] | 1 | 2020-12-20T03:45:26.000Z | 2020-12-20T03:45:26.000Z | examples/grids/grid_uri/acdc/cigre_europe_residential.py | pydae/pydae | 8076bcfeb2cdc865a5fc58561ff8d246d0ed7d9d | [
"MIT"
] | null | null | null | examples/grids/grid_uri/acdc/cigre_europe_residential.py | pydae/pydae | 8076bcfeb2cdc865a5fc58561ff8d246d0ed7d9d | [
"MIT"
] | null | null | null | import numpy as np
import numba
import scipy.optimize as sopt
import json
sin = np.sin
cos = np.cos
atan2 = np.arctan2
sqrt = np.sqrt
sign = np.sign
class cigre_europe_residential_class:
def __init__(self):
self.t_end = 10.000000
self.Dt = 0.0010000
self.decimation = 10.000000
... | 71.532475 | 2,443 | 0.672678 | 161,876 | 828,203 | 3.104203 | 0.003966 | 0.149697 | 0.138234 | 0.092156 | 0.983837 | 0.977419 | 0.960708 | 0.561658 | 0.559045 | 0.557475 | 0 | 0.480437 | 0.17462 | 828,203 | 11,577 | 2,444 | 71.538654 | 0.254656 | 0.002763 | 0 | 0.301897 | 0 | 0 | 0.008279 | 0.000164 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00374 | false | 0.000178 | 0.000356 | 0.000178 | 0.006323 | 0.000534 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
11e398edb26a5ba69223af5fc58d6e42b5338387 | 98 | py | Python | external/AR/ltr/models/backbone/__init__.py | tzhhhh123/Stark | eaf7df3baf27ac064938f831211ae64659bc6808 | [
"MIT"
] | 376 | 2021-03-27T12:29:17.000Z | 2022-03-29T01:22:15.000Z | external/AR/ltr/models/backbone/__init__.py | wp8733684/Stark | ba59f9596b06bc687d726f991e1e7fce8af6b5a5 | [
"MIT"
] | 75 | 2021-03-31T12:44:45.000Z | 2022-03-28T09:02:57.000Z | external/AR/ltr/models/backbone/__init__.py | wp8733684/Stark | ba59f9596b06bc687d726f991e1e7fce8af6b5a5 | [
"MIT"
] | 82 | 2021-03-26T10:07:57.000Z | 2022-03-29T11:08:27.000Z | from .resnet import resnet18, resnet50, resnet_baby
from .resnet18_vggm import resnet18_vggmconv1
| 32.666667 | 51 | 0.857143 | 13 | 98 | 6.230769 | 0.615385 | 0.345679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 0.102041 | 98 | 2 | 52 | 49 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e10259afa1a4148d6948f0d4b9b7ff6f1a952afb | 29 | py | Python | src/py_trees_ros_publisher/py_trees_ros_publisher/__init__.py | hodgespodge/BTWatcher | 931b92d5ec2e7afffb211a1fd0a0474cd49875b9 | [
"MIT"
] | null | null | null | src/py_trees_ros_publisher/py_trees_ros_publisher/__init__.py | hodgespodge/BTWatcher | 931b92d5ec2e7afffb211a1fd0a0474cd49875b9 | [
"MIT"
] | null | null | null | src/py_trees_ros_publisher/py_trees_ros_publisher/__init__.py | hodgespodge/BTWatcher | 931b92d5ec2e7afffb211a1fd0a0474cd49875b9 | [
"MIT"
] | null | null | null | from . import topic_publisher | 29 | 29 | 0.862069 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e11919c902d4bb1da95a10e79279a8ba01f5b24c | 61 | py | Python | compliance_clock/models/__init__.py | rangera/driverClock | a073b893f7680ee59ae4731eaa8532752a4332d6 | [
"MIT"
] | null | null | null | compliance_clock/models/__init__.py | rangera/driverClock | a073b893f7680ee59ae4731eaa8532752a4332d6 | [
"MIT"
] | null | null | null | compliance_clock/models/__init__.py | rangera/driverClock | a073b893f7680ee59ae4731eaa8532752a4332d6 | [
"MIT"
] | null | null | null | from .event_model import Event
from .clock_model import Clock | 30.5 | 30 | 0.852459 | 10 | 61 | 5 | 0.5 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 2 | 31 | 30.5 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0116fd044eed8c695f201753c41b60997519652a | 157 | py | Python | corehq/apps/receiverwrapper/exceptions.py | dslowikowski/commcare-hq | ad8885cf8dab69dc85cb64f37aeaf06106124797 | [
"BSD-3-Clause"
] | 1 | 2017-02-10T03:14:51.000Z | 2017-02-10T03:14:51.000Z | corehq/apps/receiverwrapper/exceptions.py | dslowikowski/commcare-hq | ad8885cf8dab69dc85cb64f37aeaf06106124797 | [
"BSD-3-Clause"
] | null | null | null | corehq/apps/receiverwrapper/exceptions.py | dslowikowski/commcare-hq | ad8885cf8dab69dc85cb64f37aeaf06106124797 | [
"BSD-3-Clause"
] | null | null | null | class LocalSubmissionError(Exception):
pass
class RepeaterException(Exception):
pass
class DuplicateFormatException(RepeaterException):
pass
| 14.272727 | 50 | 0.783439 | 12 | 157 | 10.25 | 0.5 | 0.211382 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159236 | 157 | 10 | 51 | 15.7 | 0.931818 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
011e58d40bbc36db49a05925cfdf6bb0a34391b3 | 418 | py | Python | tests/test_lambda_project.py | dazza-codes/aws-lambda-layer-packing | c13ada51df00ea0f3203f4d0d6610de7f4bef13a | [
"Apache-2.0"
] | null | null | null | tests/test_lambda_project.py | dazza-codes/aws-lambda-layer-packing | c13ada51df00ea0f3203f4d0d6610de7f4bef13a | [
"Apache-2.0"
] | 4 | 2020-11-27T18:05:19.000Z | 2020-11-30T17:36:49.000Z | tests/test_lambda_project.py | dazza-codes/aws-lambda-layer-packing | c13ada51df00ea0f3203f4d0d6610de7f4bef13a | [
"Apache-2.0"
] | null | null | null | """
Test the lambda_project package
"""
from types import ModuleType
import lambda_project
from lambda_project.check_imports import check_libs
def test_lambda_project():
assert isinstance(lambda_project, ModuleType)
def test_lambda_project_version():
assert isinstance(lambda_project.version, ModuleType)
... | 19.904762 | 57 | 0.796651 | 53 | 418 | 5.981132 | 0.320755 | 0.328076 | 0.208202 | 0.274448 | 0.227129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133971 | 418 | 20 | 58 | 20.9 | 0.875691 | 0.074163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.3 | true | 0 | 0.3 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
0144872934304a456edbf536614e81f5aa215b5d | 226 | py | Python | posthog/models/filters/session_recordings_filter.py | csmatar/posthog | 4587cfe18625f302726c531f06a32c18e9749e9d | [
"MIT"
] | 7,409 | 2020-02-09T23:18:10.000Z | 2022-03-31T22:36:25.000Z | posthog/models/filters/session_recordings_filter.py | csmatar/posthog | 4587cfe18625f302726c531f06a32c18e9749e9d | [
"MIT"
] | 5,709 | 2020-02-09T23:26:13.000Z | 2022-03-31T20:20:01.000Z | posthog/models/filters/session_recordings_filter.py | csmatar/posthog | 4587cfe18625f302726c531f06a32c18e9749e9d | [
"MIT"
] | 647 | 2020-02-13T17:50:55.000Z | 2022-03-31T11:24:19.000Z | from posthog.models import Filter
from posthog.models.filters.mixins.session_recordings import PersonUUIDMixin, SessionRecordingsMixin
class SessionRecordingsFilter(SessionRecordingsMixin, PersonUUIDMixin, Filter):
pass
| 32.285714 | 100 | 0.862832 | 21 | 226 | 9.238095 | 0.666667 | 0.113402 | 0.175258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088496 | 226 | 6 | 101 | 37.666667 | 0.941748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
017f1a7ea987c4978a9f06388428b4a19f3f78a5 | 1,572 | py | Python | neural network/training sets/keras-binary-classification.py | dlminvestments/dlm-metallb | 4bdc800e3b9a1717b94146aa90fe3d5921d28cd8 | [
"Apache-2.0"
] | null | null | null | neural network/training sets/keras-binary-classification.py | dlminvestments/dlm-metallb | 4bdc800e3b9a1717b94146aa90fe3d5921d28cd8 | [
"Apache-2.0"
] | 306 | 2021-04-29T14:59:04.000Z | 2022-03-30T19:27:37.000Z | neural network/training sets/keras-binary-classification.py | dlminvestments/dlm-metallb | 4bdc800e3b9a1717b94146aa90fe3d5921d28cd8 | [
"Apache-2.0"
] | null | null | null | properties = list(df.columns.values)
properties.remove('Activity')
print(properties)
X = df[properties]
y = df['Activity']
from sklearn.model_selection import train_test_split
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.3, random_state=0)
model = keras.Sequential([
keras.layers.Flatten(inp... | 32.081633 | 88 | 0.729644 | 240 | 1,572 | 4.6 | 0.254167 | 0.07971 | 0.086957 | 0.065217 | 0.867754 | 0.867754 | 0.824275 | 0.824275 | 0.646739 | 0.646739 | 0 | 0.017544 | 0.129771 | 1,572 | 48 | 89 | 32.75 | 0.789474 | 0 | 0 | 0.829268 | 0 | 0 | 0.082697 | 0.013995 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.146341 | 0 | 0.146341 | 0.04878 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
019031018528824e571b5b4b36966cb00acb5523 | 10,265 | py | Python | data/reanalysis_data/download-scripts/download_vwind_sigma995.py | Skye777/transformer | 177834bcb55e59f8ea0fbe666734c148effbec8d | [
"Apache-2.0"
] | null | null | null | data/reanalysis_data/download-scripts/download_vwind_sigma995.py | Skye777/transformer | 177834bcb55e59f8ea0fbe666734c148effbec8d | [
"Apache-2.0"
] | null | null | null | data/reanalysis_data/download-scripts/download_vwind_sigma995.py | Skye777/transformer | 177834bcb55e59f8ea0fbe666734c148effbec8d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#################################################################
# Python Script to retrieve 164 online Data files of 'ds131.2',
# total 4.48G. This script uses 'requests' to download data.
#
# Highlight this script by Select All, Copy and Paste it into a file;
# make the file executable and run ... | 43.495763 | 88 | 0.758305 | 1,440 | 10,265 | 4.934722 | 0.221528 | 0.323107 | 0.415424 | 0.458767 | 0.72094 | 0.72094 | 0.009851 | 0 | 0 | 0 | 0 | 0.07724 | 0.124696 | 10,265 | 235 | 89 | 43.680851 | 0.713634 | 0.05017 | 0 | 0.047393 | 0 | 0 | 0.722777 | 0.702165 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004739 | false | 0.023697 | 0.014218 | 0 | 0.018957 | 0.018957 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6d7eb098fd703a7c22f0e5c8ac6a03360d618152 | 115 | py | Python | game/game.py | Riciardos/wheatley-o-tron | 68dea4d36c5f6b3ca1fb1bc79be3ffe1630cecde | [
"MIT"
] | null | null | null | game/game.py | Riciardos/wheatley-o-tron | 68dea4d36c5f6b3ca1fb1bc79be3ffe1630cecde | [
"MIT"
] | null | null | null | game/game.py | Riciardos/wheatley-o-tron | 68dea4d36c5f6b3ca1fb1bc79be3ffe1630cecde | [
"MIT"
] | null | null | null |
class Game:
def __init__(self, game_id, game_state):
self._game_id = game_id
self._game_state = game_state
| 14.375 | 41 | 0.73913 | 19 | 115 | 3.842105 | 0.368421 | 0.328767 | 0.273973 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 115 | 7 | 42 | 16.428571 | 0.768421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6d8e9a76c7cd98baf49475636364a12ee09054ae | 29 | py | Python | repository/user.py | M-U-I-N-D-O/muindo-server | bbb3acfad164c51c4ab0910037cb6f45dcb7a0a5 | [
"MIT"
] | null | null | null | repository/user.py | M-U-I-N-D-O/muindo-server | bbb3acfad164c51c4ab0910037cb6f45dcb7a0a5 | [
"MIT"
] | 7 | 2021-06-17T12:08:52.000Z | 2021-06-28T15:07:31.000Z | repository/user.py | M-U-I-N-D-O/muindo-server | bbb3acfad164c51c4ab0910037cb6f45dcb7a0a5 | [
"MIT"
] | 1 | 2021-06-18T04:42:11.000Z | 2021-06-18T04:42:11.000Z | from model.models import User | 29 | 29 | 0.862069 | 5 | 29 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6dd2b6df3b58412d9cd4f272e48f93dcf71344f9 | 9,017 | py | Python | amd64-linux/lib/python/mod_440gp_devices_commands.py | qiyancos/Simics-3.0.31 | 9bd52d5abad023ee87a37306382a338abf7885f1 | [
"BSD-4-Clause",
"FSFAP"
] | 1 | 2020-06-15T10:41:18.000Z | 2020-06-15T10:41:18.000Z | amd64-linux/lib/python/mod_440gp_devices_commands.py | qiyancos/Simics-3.0.31 | 9bd52d5abad023ee87a37306382a338abf7885f1 | [
"BSD-4-Clause",
"FSFAP"
] | null | null | null | amd64-linux/lib/python/mod_440gp_devices_commands.py | qiyancos/Simics-3.0.31 | 9bd52d5abad023ee87a37306382a338abf7885f1 | [
"BSD-4-Clause",
"FSFAP"
] | 3 | 2020-08-10T10:25:02.000Z | 2021-09-12T01:12:09.000Z | from cli import *
from string import *
import nic_common
import sim_commands
nic_common.new_nic_commands("ppc440gp-emac")
#
# ------------------------ info -----------------------
#
sim_commands.new_info_command("ppc440gp-emac", nic_common.get_nic_info)
#
# ------------------------ status -----------------------
... | 35.781746 | 87 | 0.576023 | 1,052 | 9,017 | 4.79943 | 0.091255 | 0.047534 | 0.047534 | 0.063379 | 0.891464 | 0.839968 | 0.839968 | 0.839968 | 0.839968 | 0.70608 | 0 | 0.03997 | 0.267495 | 9,017 | 251 | 88 | 35.924303 | 0.724451 | 0.012088 | 0 | 0.663594 | 0 | 0 | 0.273565 | 0.05842 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050691 | false | 0 | 0.018433 | 0 | 0.073733 | 0.138249 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6de45347b77a27b12c81dc21c5d468c01f9e76da | 63 | py | Python | moco/utils/__init__.py | Lee-Gihun/MixCo-Mixup-Contrast | 1d8eacce057d385f187ee07b0365c9e4e1670981 | [
"MIT"
] | 40 | 2020-11-15T08:19:06.000Z | 2022-01-20T13:19:54.000Z | moco/utils/__init__.py | sungnyun/Mixco-Mixup-Contrast | 1d8eacce057d385f187ee07b0365c9e4e1670981 | [
"MIT"
] | 3 | 2021-04-14T02:41:11.000Z | 2022-01-11T04:51:22.000Z | moco/utils/__init__.py | sungnyun/Mixco-Mixup-Contrast | 1d8eacce057d385f187ee07b0365c9e4e1670981 | [
"MIT"
] | 7 | 2020-11-15T08:17:31.000Z | 2022-03-22T09:57:28.000Z | from .utils import *
from .loss_fn import *
from .args import * | 21 | 22 | 0.730159 | 10 | 63 | 4.5 | 0.6 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 3 | 23 | 21 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
09bf8ffcbd3fe5b603b88049675ef4ec838c4183 | 183 | py | Python | bhabana/models/bottle_softmax.py | dashayushman/bhabana | 7438505e20be53a4c524324abf9cf8985d0fc684 | [
"Apache-2.0"
] | null | null | null | bhabana/models/bottle_softmax.py | dashayushman/bhabana | 7438505e20be53a4c524324abf9cf8985d0fc684 | [
"Apache-2.0"
] | null | null | null | bhabana/models/bottle_softmax.py | dashayushman/bhabana | 7438505e20be53a4c524324abf9cf8985d0fc684 | [
"Apache-2.0"
] | null | null | null | import torch.nn as nn
from bhabana.models import Bottle
class BottleSoftmax(Bottle, nn.Softmax):
''' Perform the reshape routine before and after a softmax operation'''
pass | 26.142857 | 75 | 0.754098 | 26 | 183 | 5.307692 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174863 | 183 | 7 | 76 | 26.142857 | 0.913907 | 0.349727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
09c1d9c2e71e6d06c37285d31abe7649fc9901f5 | 8,530 | py | Python | strenum/__init__.py | erperreault/StrEnum | 6efe32db49e352a97c51f9c28eec574439a181a0 | [
"MIT"
] | 28 | 2019-10-22T09:01:45.000Z | 2022-03-28T18:22:57.000Z | strenum/__init__.py | erperreault/StrEnum | 6efe32db49e352a97c51f9c28eec574439a181a0 | [
"MIT"
] | 7 | 2020-05-20T06:11:14.000Z | 2021-10-13T06:37:54.000Z | strenum/__init__.py | erperreault/StrEnum | 6efe32db49e352a97c51f9c28eec574439a181a0 | [
"MIT"
] | 5 | 2019-06-25T17:56:33.000Z | 2022-03-18T01:14:31.000Z | import enum
from ._version import get_versions
from ._name_mangler import _NameMangler
__version__ = get_versions()["version"]
__version_info__ = tuple(int(n) for n in __version__.partition("+")[0].split("."))
del get_versions
_name_mangler = _NameMangler()
# The first argument to the `_generate_next_value_` functio... | 26.165644 | 83 | 0.614654 | 959 | 8,530 | 5.248175 | 0.137643 | 0.100735 | 0.07431 | 0.056825 | 0.727797 | 0.71369 | 0.71369 | 0.706934 | 0.698788 | 0.694417 | 0 | 0.006267 | 0.270457 | 8,530 | 325 | 84 | 26.246154 | 0.802507 | 0.657093 | 0 | 0.240741 | 0 | 0 | 0.033107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.055556 | 0.259259 | 0.851852 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
09d99a1809fc7ebef52fee391172d0f07471509e | 1,056 | py | Python | tests/common/test_wrappers.py | jungtaekkim/bayeso | d11c9ff8037cf7fd3f9b41362eaab120f1224c71 | [
"MIT"
] | 76 | 2018-01-18T03:03:14.000Z | 2022-02-07T06:41:41.000Z | tests/common/test_wrappers.py | POSTECH-CVLab/bayeso | d11c9ff8037cf7fd3f9b41362eaab120f1224c71 | [
"MIT"
] | 20 | 2018-06-29T16:48:03.000Z | 2021-04-19T00:30:57.000Z | tests/common/test_wrappers.py | POSTECH-CVLab/bayeso | d11c9ff8037cf7fd3f9b41362eaab120f1224c71 | [
"MIT"
] | 4 | 2020-01-07T06:24:17.000Z | 2021-06-11T06:21:42.000Z | #
# author: Jungtaek Kim (jtkim@postech.ac.kr)
# last updated: July 8, 2021
#
"""test_wrappers"""
def test_import_run_single_round_with_all_initial_information():
from bayeso.wrappers import run_single_round_with_all_initial_information
import bayeso.wrappers
print(run_single_round_with_all_initial_infor... | 30.171429 | 77 | 0.821023 | 139 | 1,056 | 5.791367 | 0.215827 | 0.134161 | 0.208696 | 0.178882 | 0.719255 | 0.719255 | 0.612422 | 0.293168 | 0 | 0 | 0 | 0.005382 | 0.120265 | 1,056 | 34 | 78 | 31.058824 | 0.861141 | 0.079545 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1137c51a660f031d2978a587aa428c8f8e1019c7 | 2,482 | py | Python | FileWrangler/test_FileWrangler.py | ag-sd/py | 160a9db3e372eb840f88efc643b6348f6e65a652 | [
"Apache-2.0"
] | 1 | 2021-04-04T04:19:00.000Z | 2021-04-04T04:19:00.000Z | FileWrangler/test_FileWrangler.py | ag-sd/py | 160a9db3e372eb840f88efc643b6348f6e65a652 | [
"Apache-2.0"
] | 4 | 2021-09-08T03:08:38.000Z | 2022-03-12T00:56:13.000Z | FileWrangler/test_FileWrangler.py | ag-sd/py | 160a9db3e372eb840f88efc643b6348f6e65a652 | [
"Apache-2.0"
] | null | null | null | from FileWrangler.FileWranglerCore import ConfigKeys, _DEFAULT_REGEX, _create_key, _DEFAULT_SPLITTER, _UNKNOWN_KEY, \
KeyType
def test__create_key_simple_regex():
file = "123 - 345 - 123.jpg"
config = {
ConfigKeys.append_date: False,
ConfigKeys.key_token_string: _DEFAULT_REGEX,
Con... | 28.528736 | 117 | 0.663981 | 292 | 2,482 | 5.267123 | 0.130137 | 0.177503 | 0.163849 | 0.118336 | 0.850455 | 0.814044 | 0.790637 | 0.770481 | 0.770481 | 0.687256 | 0 | 0.032856 | 0.239726 | 2,482 | 86 | 118 | 28.860465 | 0.782194 | 0 | 0 | 0.611111 | 0 | 0 | 0.067284 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 1 | 0.097222 | false | 0 | 0.013889 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fefb29542e3e436130e2367c2b69489c09cff608 | 46 | py | Python | experiment/research/measure/__init__.py | prijatelj/bayesian_eval_ground_truth-free | c0e569c78d63beb79f5e1e727c322293c3584323 | [
"MIT"
] | 1 | 2021-12-26T05:55:46.000Z | 2021-12-26T05:55:46.000Z | experiment/research/measure/__init__.py | prijatelj/bayesian_eval_ground_truth-free | c0e569c78d63beb79f5e1e727c322293c3584323 | [
"MIT"
] | null | null | null | experiment/research/measure/__init__.py | prijatelj/bayesian_eval_ground_truth-free | c0e569c78d63beb79f5e1e727c322293c3584323 | [
"MIT"
] | null | null | null | from experiment.research.measure import kldiv
| 23 | 45 | 0.869565 | 6 | 46 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3a3ee1be29fea3bc0526483c9d7823d08f733a36 | 313 | py | Python | contract/models/__init__.py | pcs2216/modulos_atani | e3c1c5ce979113e043ed020a2d678665fb9412b0 | [
"Apache-2.0"
] | null | null | null | contract/models/__init__.py | pcs2216/modulos_atani | e3c1c5ce979113e043ed020a2d678665fb9412b0 | [
"Apache-2.0"
] | null | null | null | contract/models/__init__.py | pcs2216/modulos_atani | e3c1c5ce979113e043ed020a2d678665fb9412b0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import account_analytic_contract
from . import account_analytic_account
from . import account_analytic_invoice_line
from . import account_analytic_contract_line
from . import account_invoice
from . import res_partner
| 31.3 | 63 | 0.795527 | 45 | 313 | 5.266667 | 0.511111 | 0.253165 | 0.35865 | 0.421941 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01083 | 0.115016 | 313 | 9 | 64 | 34.777778 | 0.844765 | 0.265176 | 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 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.