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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6db5b6d93d3bab109000d401f74c43844544e312 | 153 | py | Python | third_party/PSM/models/__init__.py | zwxu064/RANP | 92135583e0ced21fa5634823b289c5aea366de21 | [
"MIT"
] | 9 | 2020-11-17T08:44:55.000Z | 2022-02-14T12:02:32.000Z | third_party/PSM/models/__init__.py | zwxu064/RANP | 92135583e0ced21fa5634823b289c5aea366de21 | [
"MIT"
] | null | null | null | third_party/PSM/models/__init__.py | zwxu064/RANP | 92135583e0ced21fa5634823b289c5aea366de21 | [
"MIT"
] | 1 | 2021-03-17T02:34:12.000Z | 2021-03-17T02:34:12.000Z | # import sys
# sys.path.append('models')
from .basic import PSMNet as basic
from .stackhourglass import PSMNet as stackhourglass
from .submodule import * | 30.6 | 52 | 0.79085 | 21 | 153 | 5.761905 | 0.52381 | 0.198347 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130719 | 153 | 5 | 53 | 30.6 | 0.909774 | 0.235294 | 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 |
6df2591c911e63a48078219820ab5d13f8d6fe2f | 27 | py | Python | algo/impala/nn.py | xlnwel/grl | 7d42bb2e78bc3e7b7c3ebbcf356a4d1cf12abebf | [
"Apache-2.0"
] | 5 | 2021-09-04T14:50:39.000Z | 2022-03-13T09:53:09.000Z | algo/impala/nn.py | xlnwel/d2rl | 7d42bb2e78bc3e7b7c3ebbcf356a4d1cf12abebf | [
"Apache-2.0"
] | null | null | null | algo/impala/nn.py | xlnwel/d2rl | 7d42bb2e78bc3e7b7c3ebbcf356a4d1cf12abebf | [
"Apache-2.0"
] | 2 | 2022-01-25T09:32:01.000Z | 2022-03-13T09:53:14.000Z | from algo.ppo2.nn import *
| 13.5 | 26 | 0.740741 | 5 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.148148 | 27 | 1 | 27 | 27 | 0.826087 | 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 |
a3074177d314393cd58ca2761f4fd0440636aafa | 29 | py | Python | adapow2/__init__.py | 2bright/adapow2 | 5f06c18ba95a61dc910ab5ad28b490c44841ae3b | [
"Apache-2.0"
] | null | null | null | adapow2/__init__.py | 2bright/adapow2 | 5f06c18ba95a61dc910ab5ad28b490c44841ae3b | [
"Apache-2.0"
] | null | null | null | adapow2/__init__.py | 2bright/adapow2 | 5f06c18ba95a61dc910ab5ad28b490c44841ae3b | [
"Apache-2.0"
] | 1 | 2019-05-13T03:12:54.000Z | 2019-05-13T03:12:54.000Z | from .Adapow2 import Adapow2
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
110408886858184d04b820a79a7033e1ae3b5d21 | 10,791 | py | Python | analytics/log4shell/test_detection.py | raymundl/kestrel-analytics | 1f3440ff1f879388995ec1fdc0fd272de9f3e986 | [
"Apache-2.0"
] | 1 | 2021-05-28T02:56:15.000Z | 2021-05-28T02:56:15.000Z | analytics/log4shell/test_detection.py | raymundl/kestrel-analytics | 1f3440ff1f879388995ec1fdc0fd272de9f3e986 | [
"Apache-2.0"
] | null | null | null | analytics/log4shell/test_detection.py | raymundl/kestrel-analytics | 1f3440ff1f879388995ec1fdc0fd272de9f3e986 | [
"Apache-2.0"
] | null | null | null | import base64
import gzip
from unlog4shell import check_url
#Below tests cribbed from https://github.com/JasonKeirstead/log4shell-detector/blob/main/tests/test_detection.py
TEST_STRINGS_POSITIVE = [
"aHR0cC1uaW8tODAtZXhlYy0xMyBXQVJOIEVycm9yIGxvb2tpbmcgdXAgSk5ESSByZXNvdXJjZSBbbGRhcDovLzE5Mi4xNjguMS4xNToxMzM3L2VdL... | 196.2 | 4,787 | 0.951626 | 175 | 10,791 | 58.422857 | 0.371429 | 0.009683 | 0.009292 | 0.004988 | 0.049883 | 0.045677 | 0.045677 | 0.039124 | 0.039124 | 0.030908 | 0 | 0.145893 | 0.031971 | 10,791 | 54 | 4,788 | 199.833333 | 0.832855 | 0.010286 | 0 | 0.159091 | 0 | 0 | 0.898492 | 0.880607 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068182 | 0 | 0.068182 | 0.068182 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
11064bb695ed982e0373eab5024ea5ff539ade2a | 153 | py | Python | codewars/7kyu/amrlotfy77/Opposite number/test_bench.py | ictcubeMENA/Training_one | dff6bee96ba42babe4888e5cf9a9448a6fd93fc3 | [
"MIT"
] | null | null | null | codewars/7kyu/amrlotfy77/Opposite number/test_bench.py | ictcubeMENA/Training_one | dff6bee96ba42babe4888e5cf9a9448a6fd93fc3 | [
"MIT"
] | 2 | 2019-01-22T10:53:42.000Z | 2019-01-31T08:02:48.000Z | codewars/7kyu/amrlotfy77/Opposite number/test_bench.py | ictcubeMENA/Training_one | dff6bee96ba42babe4888e5cf9a9448a6fd93fc3 | [
"MIT"
] | 13 | 2019-01-22T10:37:42.000Z | 2019-01-25T13:30:43.000Z | from main import opposite
def test1(benchmark):
assert benchmark(opposite, 1) == -1
def test(benchmark):
assert benchmark(opposite, 1) == -1
| 15.3 | 39 | 0.686275 | 20 | 153 | 5.25 | 0.5 | 0.285714 | 0.457143 | 0.609524 | 0.647619 | 0.647619 | 0 | 0 | 0 | 0 | 0 | 0.04065 | 0.196078 | 153 | 9 | 40 | 17 | 0.813008 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3a12117b8141f6d68b324436d4a4fc38ed0f8724 | 32 | py | Python | spam/__init__.py | Lucky-Mano/Poetry_C_Extension_Example | 3d95d253063eb46e94cb9b1666e2463a9b7d0401 | [
"CC0-1.0"
] | 3 | 2020-07-03T11:31:31.000Z | 2021-01-12T01:04:38.000Z | spam/__init__.py | Lucky-Mano/Poetry_C_Extension_Example | 3d95d253063eb46e94cb9b1666e2463a9b7d0401 | [
"CC0-1.0"
] | null | null | null | spam/__init__.py | Lucky-Mano/Poetry_C_Extension_Example | 3d95d253063eb46e94cb9b1666e2463a9b7d0401 | [
"CC0-1.0"
] | null | null | null | from .ext import system # noqa
| 16 | 31 | 0.71875 | 5 | 32 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 1 | 32 | 32 | 0.92 | 0.125 | 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 |
3a28c7987ddc1970c07eb4409099a73184673c8a | 364 | py | Python | applications.py | anytizer/generate.py | e5e1d53453c76499b5030ca006e695c78acddbd3 | [
"MIT"
] | null | null | null | applications.py | anytizer/generate.py | e5e1d53453c76499b5030ca006e695c78acddbd3 | [
"MIT"
] | null | null | null | applications.py | anytizer/generate.py | e5e1d53453c76499b5030ca006e695c78acddbd3 | [
"MIT"
] | null | null | null | #!/bin/python
# Mockup test applications
# Complete with your own business logics here.
class _SOMETHING:
def something(self):
return False
class application(_SOMETHING):
member = None
def something(self, data=[]):
return False
class password(_SOMETHING):
member = None
def som... | 16.545455 | 46 | 0.662088 | 41 | 364 | 5.804878 | 0.560976 | 0.151261 | 0.201681 | 0.184874 | 0.420168 | 0.420168 | 0.420168 | 0.420168 | 0.420168 | 0 | 0 | 0 | 0.247253 | 364 | 21 | 47 | 17.333333 | 0.868613 | 0.225275 | 0 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0 | 0.272727 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
3a571744a54308069baa14e5981040a27598070c | 99 | py | Python | amulet/api/chunk/blocks.py | architectdrone/Amulet-Core | 7c533b09ce730e787e76d4f5cccfc52fae2d0e3a | [
"MIT"
] | null | null | null | amulet/api/chunk/blocks.py | architectdrone/Amulet-Core | 7c533b09ce730e787e76d4f5cccfc52fae2d0e3a | [
"MIT"
] | null | null | null | amulet/api/chunk/blocks.py | architectdrone/Amulet-Core | 7c533b09ce730e787e76d4f5cccfc52fae2d0e3a | [
"MIT"
] | null | null | null | from amulet.api.chunk.partial_array import PartialNDArray
class Blocks(PartialNDArray):
pass
| 16.5 | 57 | 0.808081 | 12 | 99 | 6.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 5 | 58 | 19.8 | 0.918605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
28a3b299dd2244114758a2266bd05bf429880aa8 | 175 | py | Python | oc_lit_review/website/admin.py | PabloLec/oc_litreview | ba60c40b1973e84b1c72fbf91ad1255d4f9dce7f | [
"MIT"
] | null | null | null | oc_lit_review/website/admin.py | PabloLec/oc_litreview | ba60c40b1973e84b1c72fbf91ad1255d4f9dce7f | [
"MIT"
] | 1 | 2022-03-03T15:25:08.000Z | 2022-03-03T15:25:08.000Z | oc_lit_review/website/admin.py | PabloLec/oc_litreview | ba60c40b1973e84b1c72fbf91ad1255d4f9dce7f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Ticket)
admin.site.register(Review)
admin.site.register(UserFollows)
admin.site.register(Profile)
| 19.444444 | 32 | 0.811429 | 24 | 175 | 5.916667 | 0.5 | 0.253521 | 0.478873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 175 | 8 | 33 | 21.875 | 0.881988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e928f993330d40ea4f2e8fd6fff5b9aea84e18f2 | 259 | py | Python | api/__init__.py | ezchat/backend | ac6ff93156ff5363084c356165f1e6d3e5684675 | [
"Apache-2.0"
] | 3 | 2019-03-31T14:41:02.000Z | 2019-04-05T06:45:59.000Z | api/__init__.py | ezchat/backend | ac6ff93156ff5363084c356165f1e6d3e5684675 | [
"Apache-2.0"
] | 1 | 2021-01-29T15:50:20.000Z | 2021-01-29T15:50:20.000Z | api/__init__.py | ezchat/backend | ac6ff93156ff5363084c356165f1e6d3e5684675 | [
"Apache-2.0"
] | null | null | null | # pylint: disable=no-name-in-module
from api.api import Api, UserApi # noqa: F401
from api.guild import Guild # noqa: F401
from api.channel import Channel # noqa: F401
from api.dm import DirectMessages # noqa: F401
from api.base import Base # noqa: F401
| 37 | 47 | 0.745174 | 42 | 259 | 4.595238 | 0.404762 | 0.181347 | 0.248705 | 0.310881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.169884 | 259 | 6 | 48 | 43.166667 | 0.827907 | 0.339768 | 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 |
3a5fbcc511b45056bec89be572938dd389da0af3 | 890,767 | py | Python | OpenPIL/drugClassDataset.py | Dosewolf/OpenPIL | 0ef70923c4122268c210d567b1cae5a39278a7f4 | [
"Apache-2.0"
] | null | null | null | OpenPIL/drugClassDataset.py | Dosewolf/OpenPIL | 0ef70923c4122268c210d567b1cae5a39278a7f4 | [
"Apache-2.0"
] | null | null | null | OpenPIL/drugClassDataset.py | Dosewolf/OpenPIL | 0ef70923c4122268c210d567b1cae5a39278a7f4 | [
"Apache-2.0"
] | null | null | null | classes = {'Cyclooxygenase Inhibitors': ['Aspirin', 'Indomethacin', 'Ibuprofen', 'Diclofenac', 'Diclofenac sodium', 'Naproxen', 'Celecoxib', 'Ketoprofen', 'Piroxicam', 'Sodium salicylate', 'Rofecoxib', 'Ketorolac', 'Ketorolac tromethamine', 'Nordihydroguaiaretic acid', 'Flurbiprofen', 'Sulindac', 'N-(2-Cyclohexyloxy-4-... | 296,922.333333 | 890,765 | 0.74902 | 79,963 | 890,767 | 8.343884 | 0.121644 | 0.008606 | 0.002248 | 0.001416 | 0.398563 | 0.339558 | 0.294338 | 0.263096 | 0.236548 | 0.21435 | 0 | 0.018127 | 0.074567 | 890,767 | 2 | 890,766 | 445,383.5 | 0.791245 | 0 | 0 | 0 | 0 | 287 | 0.793907 | 0.09685 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3a829e2eb38cab3eda1e2ae09470ef30a7e50470 | 79 | py | Python | simpeggpr/__init__.py | genanshao/simpegGPR | fa9f96ddf14dc079e82d8d2dcd330f589a21f9e6 | [
"MIT"
] | 3 | 2017-07-27T14:38:26.000Z | 2021-09-14T14:28:46.000Z | simpeggpr/__init__.py | simpeg/simpegGPR | fa9f96ddf14dc079e82d8d2dcd330f589a21f9e6 | [
"MIT"
] | null | null | null | simpeggpr/__init__.py | simpeg/simpegGPR | fa9f96ddf14dc079e82d8d2dcd330f589a21f9e6 | [
"MIT"
] | 7 | 2015-05-06T15:06:44.000Z | 2021-09-14T09:55:45.000Z | from GPRTimeSurvey import *
from GPRTimeTEz import *
from GPRTimeTMz import *
| 15.8 | 27 | 0.797468 | 9 | 79 | 7 | 0.555556 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 4 | 28 | 19.75 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3a8d1bb4a835d3718c4c9be930f283a4c1a71849 | 94 | py | Python | segmate/api/__init__.py | justacid/segmate | 7b66b207ca353805f7ad9c7e003645cd2cbc227a | [
"MIT"
] | null | null | null | segmate/api/__init__.py | justacid/segmate | 7b66b207ca353805f7ad9c7e003645cd2cbc227a | [
"MIT"
] | null | null | null | segmate/api/__init__.py | justacid/segmate | 7b66b207ca353805f7ad9c7e003645cd2cbc227a | [
"MIT"
] | null | null | null | from ..editor.editortool import EditorTool as Plugin
from . import widgets
from . import util
| 23.5 | 52 | 0.797872 | 13 | 94 | 5.769231 | 0.615385 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 3 | 53 | 31.333333 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c912ebb4e332c03e175967cb4e013fb7ae42daca | 203 | py | Python | pfunk/loading.py | jefford-qwigo/pfunk | 7888d309b4d7d5982f88e80b7646e9df87bb324d | [
"Apache-2.0"
] | null | null | null | pfunk/loading.py | jefford-qwigo/pfunk | 7888d309b4d7d5982f88e80b7646e9df87bb324d | [
"Apache-2.0"
] | null | null | null | pfunk/loading.py | jefford-qwigo/pfunk | 7888d309b4d7d5982f88e80b7646e9df87bb324d | [
"Apache-2.0"
] | null | null | null | from faunadb.client import FaunaClient
from faunadb import query as q
from envs import env
super_client = FaunaClient(secret=env('FAUNA_SUPER_SECRET'))
client = FaunaClient(secret=env('FAUNA_SECRET')) | 25.375 | 60 | 0.807882 | 29 | 203 | 5.517241 | 0.448276 | 0.1375 | 0.2875 | 0.325 | 0.3875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108374 | 203 | 8 | 61 | 25.375 | 0.883978 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3111d4c7107c68cfe6fd8739a3bbfa51e5fe719 | 3,605 | py | Python | phr/ubigeo/api/serializers.py | richardqa/django-ex | e5b8585f28a97477150ac5daf5e55c74b70d87da | [
"CC0-1.0"
] | null | null | null | phr/ubigeo/api/serializers.py | richardqa/django-ex | e5b8585f28a97477150ac5daf5e55c74b70d87da | [
"CC0-1.0"
] | null | null | null | phr/ubigeo/api/serializers.py | richardqa/django-ex | e5b8585f28a97477150ac5daf5e55c74b70d87da | [
"CC0-1.0"
] | null | null | null | # coding=utf-8
from rest_framework_json_api import serializers
from phr.ubigeo.models import (
UbigeoContinente, UbigeoDepartamento, UbigeoDistrito, UbigeoLocalidad, UbigeoPais, UbigeoProvincia,
)
class ListaUbigeoContienteSerializer(serializers.ModelSerializer):
class Meta:
model = UbigeoContinente
... | 40.055556 | 117 | 0.712344 | 310 | 3,605 | 7.974194 | 0.151613 | 0.087379 | 0.150485 | 0.169903 | 0.76335 | 0.745146 | 0.745146 | 0.727346 | 0.727346 | 0.727346 | 0 | 0.00034 | 0.184189 | 3,605 | 89 | 118 | 40.505618 | 0.84019 | 0.006657 | 0 | 0.612903 | 0 | 0 | 0.346003 | 0.160984 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.419355 | 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 |
a335dc38f383766aa7a95fdea22221db43c17b6f | 45 | py | Python | src/kaa/easings.py | PawelRoman/kaa | 555b8d0c06cdb1052d7adfb8f11b233e749bdda2 | [
"MIT"
] | 1 | 2020-04-30T12:51:26.000Z | 2020-04-30T12:51:26.000Z | src/kaa/easings.py | PawelRoman/kaa | 555b8d0c06cdb1052d7adfb8f11b233e749bdda2 | [
"MIT"
] | null | null | null | src/kaa/easings.py | PawelRoman/kaa | 555b8d0c06cdb1052d7adfb8f11b233e749bdda2 | [
"MIT"
] | null | null | null | from ._kaa import Easing, ease, ease_between
| 22.5 | 44 | 0.8 | 7 | 45 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 1 | 45 | 45 | 0.871795 | 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 |
6e82bf29079588e25e4813b056330ec9dbf872e9 | 1,072 | py | Python | yasss/test/test_sudoku_solver.py | BenjaDiaz/YASSS | 68c6310d9e0c70eb55114f940b2b30ad148a6b02 | [
"MIT"
] | 1 | 2019-05-20T23:24:03.000Z | 2019-05-20T23:24:03.000Z | yasss/test/test_sudoku_solver.py | BenjaDiaz/YASSS | 68c6310d9e0c70eb55114f940b2b30ad148a6b02 | [
"MIT"
] | null | null | null | yasss/test/test_sudoku_solver.py | BenjaDiaz/YASSS | 68c6310d9e0c70eb55114f940b2b30ad148a6b02 | [
"MIT"
] | null | null | null | from unittest import TestCase
from yasss.src.solver import SudokuSolver
class TestSudokuSolver(TestCase):
def test_solve(self):
hard = [[0, 2, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 6, 0, 0, 0, 0, 3],
[0, 7, 4, 0, 8, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 3, 0, 0, 2],
... | 38.285714 | 48 | 0.31903 | 189 | 1,072 | 1.804233 | 0.148148 | 0.258065 | 0.29912 | 0.328446 | 0.158358 | 0.158358 | 0.111437 | 0.111437 | 0.111437 | 0.058651 | 0 | 0.288256 | 0.475746 | 1,072 | 27 | 49 | 39.703704 | 0.318505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.041667 | false | 0 | 0.083333 | 0 | 0.166667 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
42beec693a23f07ee7bd24dd357d5331dfa20a50 | 24 | py | Python | cnsproject/encoding/__init__.py | NimaVahdat/SNN-Framework- | 59c3b307b6930647f187a0e105cc7f191d8dd6c0 | [
"MIT"
] | null | null | null | cnsproject/encoding/__init__.py | NimaVahdat/SNN-Framework- | 59c3b307b6930647f187a0e105cc7f191d8dd6c0 | [
"MIT"
] | null | null | null | cnsproject/encoding/__init__.py | NimaVahdat/SNN-Framework- | 59c3b307b6930647f187a0e105cc7f191d8dd6c0 | [
"MIT"
] | null | null | null | from . import encoders
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 1 | 24 | 24 | 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 |
42c5f2e4d540781faca30c3408244d84a1610469 | 86 | py | Python | userprofile/models.py | Xlj100512/myblog | f170d621539a118af02a0ee5a2392f9f0c2a6b05 | [
"MIT"
] | null | null | null | userprofile/models.py | Xlj100512/myblog | f170d621539a118af02a0ee5a2392f9f0c2a6b05 | [
"MIT"
] | null | null | null | userprofile/models.py | Xlj100512/myblog | f170d621539a118af02a0ee5a2392f9f0c2a6b05 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class UserLoginForm:
pass | 17.2 | 28 | 0.767442 | 12 | 86 | 5.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 86 | 5 | 29 | 17.2 | 0.942857 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2850082eba3cc4f3e3ee1027b5d4ac61ad924309 | 236 | py | Python | tests/test_trainers/__init__.py | matrig/genrl | 25eb018f18a9a1d0865c16e5233a2a7ccddbfd78 | [
"MIT"
] | 390 | 2020-05-03T17:34:02.000Z | 2022-03-05T11:29:07.000Z | tests/test_trainers/__init__.py | matrig/genrl | 25eb018f18a9a1d0865c16e5233a2a7ccddbfd78 | [
"MIT"
] | 306 | 2020-05-03T05:53:53.000Z | 2022-03-12T00:27:28.000Z | tests/test_trainers/__init__.py | matrig/genrl | 25eb018f18a9a1d0865c16e5233a2a7ccddbfd78 | [
"MIT"
] | 64 | 2020-05-05T20:23:30.000Z | 2022-03-30T08:43:10.000Z | from tests.test_trainers.test_bandit_trainer import TestBanditTrainer # noqa
from tests.test_trainers.test_classical_trainer import TestClassicalTrainer # noqa
from tests.test_trainers.test_deep_trainer import TestDeepTrainer # noqa
| 59 | 83 | 0.872881 | 30 | 236 | 6.566667 | 0.433333 | 0.137056 | 0.19797 | 0.319797 | 0.42132 | 0.294416 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088983 | 236 | 3 | 84 | 78.666667 | 0.916279 | 0.059322 | 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 |
954b9416a836d75652428eaca327a92a814d359e | 23,397 | py | Python | fslib/_tests/test_fs_filepicker.py | ReimarBauer/fs_filepicker | bfa2b709b95867471adba1988abee69837beb156 | [
"Apache-2.0"
] | 4 | 2018-04-04T10:55:01.000Z | 2020-12-05T13:00:04.000Z | fslib/_tests/test_fs_filepicker.py | ReimarBauer/fs_filepicker | bfa2b709b95867471adba1988abee69837beb156 | [
"Apache-2.0"
] | 13 | 2017-10-16T14:51:21.000Z | 2018-04-15T06:47:42.000Z | fslib/_tests/test_fs_filepicker.py | ReimarBauer/fs_filepicker | bfa2b709b95867471adba1988abee69837beb156 | [
"Apache-2.0"
] | 1 | 2017-11-10T19:41:29.000Z | 2017-11-10T19:41:29.000Z | # -*- coding: utf-8 -*-
"""
fslib._tests.test_fs_filepicker
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests fslib.fs_filepicker
This file is part of fs_filepicker.
:copyright: Copyright 2017-2018 Reimar Bauer
:license: APACHE-2.0, see LICENSE for details.
Licensed under the Apache License, Version... | 43.247689 | 118 | 0.673206 | 2,784 | 23,397 | 5.486351 | 0.092672 | 0.125049 | 0.180306 | 0.109467 | 0.808564 | 0.775108 | 0.747414 | 0.717952 | 0.687115 | 0.665314 | 0 | 0.005005 | 0.214386 | 23,397 | 540 | 119 | 43.327778 | 0.825962 | 0.038509 | 0 | 0.687225 | 0 | 0 | 0.056421 | 0.025175 | 0 | 0 | 0 | 0 | 0.127753 | 1 | 0.103524 | false | 0 | 0.024229 | 0 | 0.145374 | 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 |
956e048b81adc4dcc49833385a4dfc0ebcdb680b | 326 | py | Python | src/flask_cognito_lib/services/__init__.py | mblackgeo/flask-cognito-lib | 4a58b5da33f67c77a0b16764b19761623368a04a | [
"MIT"
] | 2 | 2022-03-24T16:07:55.000Z | 2022-03-24T19:54:51.000Z | src/flask_cognito_lib/services/__init__.py | mblackgeo/flask-cognito-lib | 4a58b5da33f67c77a0b16764b19761623368a04a | [
"MIT"
] | 1 | 2022-03-30T14:27:27.000Z | 2022-03-30T14:27:27.000Z | src/flask_cognito_lib/services/__init__.py | mblackgeo/flask-cognito-lib | 4a58b5da33f67c77a0b16764b19761623368a04a | [
"MIT"
] | null | null | null | from flask_cognito_lib.config import Config
from flask_cognito_lib.services.cognito_svc import CognitoService
from flask_cognito_lib.services.token_svc import TokenService
def cognito_service_factory(cfg: Config):
return CognitoService(cfg=cfg)
def token_service_factory(cfg: Config):
return TokenService(cfg... | 27.166667 | 65 | 0.837423 | 45 | 326 | 5.8 | 0.355556 | 0.103448 | 0.183908 | 0.218391 | 0.429119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104294 | 326 | 11 | 66 | 29.636364 | 0.893836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.428571 | 0.285714 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9583d25bc451bf22dc01252afd6cfe5892717d63 | 32 | py | Python | ddns_manager/cli/error_handler/__init__.py | hbontempo-br/ddns-manager | 3d78ba540d433146fc61b4243c62a519830c1fb4 | [
"MIT"
] | null | null | null | ddns_manager/cli/error_handler/__init__.py | hbontempo-br/ddns-manager | 3d78ba540d433146fc61b4243c62a519830c1fb4 | [
"MIT"
] | 15 | 2021-06-30T16:05:38.000Z | 2021-07-11T16:14:29.000Z | ddns_manager/cli/error_handler/__init__.py | hbontempo-br/ddns-manager | 3d78ba540d433146fc61b4243c62a519830c1fb4 | [
"MIT"
] | null | null | null | from .base import error_handler
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 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 |
95987272f4bff26c07d051b626d25421eb07c2ca | 313 | py | Python | openproblems/tasks/dimensionality_reduction/datasets/human_blood_nestorowa2016.py | bendemeo/SingleCellOpenProblems | e4c009f8c232bdae4c9e20b8e435d0fe474b3daf | [
"MIT"
] | 134 | 2020-08-19T07:35:56.000Z | 2021-05-19T11:37:50.000Z | openproblems/tasks/dimensionality_reduction/datasets/human_blood_nestorowa2016.py | bendemeo/SingleCellOpenProblems | e4c009f8c232bdae4c9e20b8e435d0fe474b3daf | [
"MIT"
] | 175 | 2020-08-17T15:26:06.000Z | 2021-05-14T11:03:46.000Z | openproblems/tasks/dimensionality_reduction/datasets/human_blood_nestorowa2016.py | LuckyMD/SingleCellOpenProblems | 0ae39db494557e1dd9f28e59dda765527191eee1 | [
"MIT"
] | 46 | 2020-10-08T21:11:37.000Z | 2021-04-25T07:05:28.000Z | from ....data.human_blood_nestorowa2016 import load_human_blood_nestorowa2016
from ....tools.decorators import dataset
@dataset(
"Human blood (HSCs and differentiation thereof). Nestorowa, et al. Blood. 2016"
)
def human_blood_nestorowa2016(test=False):
return load_human_blood_nestorowa2016(test=test)
| 31.3 | 83 | 0.798722 | 40 | 313 | 6 | 0.55 | 0.208333 | 0.383333 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071942 | 0.111821 | 313 | 9 | 84 | 34.777778 | 0.791367 | 0 | 0 | 0 | 0 | 0 | 0.246006 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.571429 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
95d37e1b765c79b348623b0848c9f96f4d78b4df | 845,913 | py | Python | Test Suite/test_script_ud.py | Sayeedsalam/UDPetrarch-for-Python3 | e6c58e927f9ce214b2f94527a07cc6acefda4304 | [
"MIT"
] | 17 | 2017-02-21T17:20:17.000Z | 2021-07-23T18:53:00.000Z | Test Suite/test_script_ud.py | Sayeedsalam/UDPetrarch-for-Python3 | e6c58e927f9ce214b2f94527a07cc6acefda4304 | [
"MIT"
] | 60 | 2017-04-15T01:28:09.000Z | 2019-01-29T20:31:49.000Z | Test Suite/test_script_ud.py | Sayeedsalam/UDPetrarch-for-Python3 | e6c58e927f9ce214b2f94527a07cc6acefda4304 | [
"MIT"
] | 12 | 2016-10-26T16:25:24.000Z | 2021-11-09T16:01:40.000Z | #! /usr/bin/env python
# -*- coding: utf-8 -*-
import petrarch_ud, PETRglobals, PETRreader, utilities, codecs, PETRgraph
import sys
import csv
# Get the Output File Name
file_out = sys.argv[1]
outfile = open(file_out, 'wb')
fout_report = csv.writer(outfile)
config = utilities._get_data('data/config/', 'PETR_config.... | 47.395394 | 320 | 0.653464 | 126,356 | 845,913 | 4.175615 | 0.013264 | 0.064593 | 0.025837 | 0.035242 | 0.933224 | 0.919009 | 0.871863 | 0.835556 | 0.788112 | 0.734641 | 0 | 0.059171 | 0.200659 | 845,913 | 17,847 | 321 | 47.39805 | 0.721123 | 0.015336 | 0 | 0.629084 | 0 | 0.021607 | 0.539511 | 0.062281 | 0 | 0 | 0 | 0 | 0.000118 | 1 | 0.017015 | false | 0.008301 | 0.000177 | 0 | 0.017486 | 0.050397 | 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 |
25677555031489743ac456edf75fecaa77c4f8ad | 35 | py | Python | src/rationalnets/__init__.py | yonesuke/RationalNets | 46bd133b199933bf96652c0f512bbb7315239fb4 | [
"MIT"
] | null | null | null | src/rationalnets/__init__.py | yonesuke/RationalNets | 46bd133b199933bf96652c0f512bbb7315239fb4 | [
"MIT"
] | null | null | null | src/rationalnets/__init__.py | yonesuke/RationalNets | 46bd133b199933bf96652c0f512bbb7315239fb4 | [
"MIT"
] | null | null | null | from rationalnets.rational import * | 35 | 35 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 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 |
c2b57ec0b520106eaca8c882584369af8757435f | 32 | py | Python | entropylab/dashboard/pages/results/__init__.py | qguyk/entropy | e43077026c83fe84de022cf8636b2c9d42f1d330 | [
"BSD-3-Clause"
] | null | null | null | entropylab/dashboard/pages/results/__init__.py | qguyk/entropy | e43077026c83fe84de022cf8636b2c9d42f1d330 | [
"BSD-3-Clause"
] | null | null | null | entropylab/dashboard/pages/results/__init__.py | qguyk/entropy | e43077026c83fe84de022cf8636b2c9d42f1d330 | [
"BSD-3-Clause"
] | 1 | 2022-03-29T11:47:31.000Z | 2022-03-29T11:47:31.000Z | from . import layout, callbacks
| 16 | 31 | 0.78125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.925926 | 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 |
c2cf5dfc3e2a60ce4e3148d91d016d60996dafaa | 27 | py | Python | src/euler_python_package/euler_python/medium/p438.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p438.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p438.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem438():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 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 |
6c6b92d21f80dbc941e9f272dec63b9b9cddaf80 | 2,310 | py | Python | test/ermpath-microscopy-test.py | informatics-isi-edu/ermrest | 1a4002c94c46b43089f704a65a6d2be8730396fd | [
"Apache-2.0"
] | 4 | 2015-04-27T21:25:54.000Z | 2022-01-15T18:56:37.000Z | test/ermpath-microscopy-test.py | informatics-isi-edu/ermrest | 1a4002c94c46b43089f704a65a6d2be8730396fd | [
"Apache-2.0"
] | 215 | 2015-05-06T23:59:19.000Z | 2022-02-07T23:37:56.000Z | test/ermpath-microscopy-test.py | informatics-isi-edu/ermrest | 1a4002c94c46b43089f704a65a6d2be8730396fd | [
"Apache-2.0"
] | 8 | 2015-08-26T19:23:39.000Z | 2018-06-13T00:18:52.000Z | #!/usr/bin/python
import sys
import psycopg2
from ermrest import sanepg2, model
from ermrest.url import url_parse_func
# this test uses default database for user calling test, i.e. one named by username
conn = psycopg2.connect(database='', connection_factory=sanepg2.connection)
m = model.introspect(conn)
#print m.sc... | 38.5 | 94 | 0.688745 | 335 | 2,310 | 4.671642 | 0.244776 | 0.205751 | 0.220447 | 0.308626 | 0.553355 | 0.497764 | 0.396805 | 0.325879 | 0.325879 | 0.244089 | 0 | 0.015905 | 0.129004 | 2,310 | 59 | 95 | 39.152542 | 0.761928 | 0.155411 | 0 | 0 | 0 | 0.097561 | 0.611025 | 0.59763 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.097561 | null | null | 0.146341 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6c81ae8664daa2992d57017f8d6a4e1b64d34950 | 32 | py | Python | tests/operators/conftest.py | sgissinger/grappa | 51157a828d5cfdc731cada9b16255eaaf1cabbe6 | [
"MIT"
] | 137 | 2017-03-28T10:19:07.000Z | 2022-01-30T19:21:32.000Z | tests/operators/conftest.py | sgissinger/grappa | 51157a828d5cfdc731cada9b16255eaaf1cabbe6 | [
"MIT"
] | 47 | 2017-03-19T23:08:48.000Z | 2021-01-25T15:18:10.000Z | tests/operators/conftest.py | grappa-project/grappa | f1861e1572e68f031977e86a5d9eba1957bd164e | [
"MIT"
] | 17 | 2017-03-28T10:39:13.000Z | 2021-07-23T20:50:15.000Z | from .. import conftest # noqa
| 16 | 31 | 0.6875 | 4 | 32 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 1 | 32 | 32 | 0.88 | 0.125 | 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 |
66af5e044c4419ab91b5c1ff1969cf75bab8ed5f | 107 | py | Python | consus/location.py | bitbyt3r/consus | 4a27ecb9f3983f4243f6acdb8228af7ff043c67f | [
"MIT"
] | null | null | null | consus/location.py | bitbyt3r/consus | 4a27ecb9f3983f4243f6acdb8228af7ff043c67f | [
"MIT"
] | null | null | null | consus/location.py | bitbyt3r/consus | 4a27ecb9f3983f4243f6acdb8228af7ff043c67f | [
"MIT"
] | null | null | null | from flask_restful import Resource
class Location(Resource):
pass
class Locations(Resource):
pass | 15.285714 | 34 | 0.766355 | 13 | 107 | 6.230769 | 0.692308 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17757 | 107 | 7 | 35 | 15.285714 | 0.920455 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
66efa5ed7908c6254dac369fc506e3996d32fe1f | 77 | py | Python | solution/retrieval/dense/__init__.py | taeukkkim/temp | 91c90fe5da4678424d8aacacbf15773dc624021d | [
"MIT"
] | 5 | 2021-11-10T09:44:42.000Z | 2022-03-20T06:14:42.000Z | solution/retrieval/dense/__init__.py | taeukkkim/temp | 91c90fe5da4678424d8aacacbf15773dc624021d | [
"MIT"
] | null | null | null | solution/retrieval/dense/__init__.py | taeukkkim/temp | 91c90fe5da4678424d8aacacbf15773dc624021d | [
"MIT"
] | 7 | 2021-11-10T23:54:03.000Z | 2022-01-03T02:55:50.000Z | from .dpr import DensePassageRetrieval
from .colbert import ColBERTRetrieval
| 25.666667 | 38 | 0.87013 | 8 | 77 | 8.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 2 | 39 | 38.5 | 0.971014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
dd14037a78a66ce95ee732f6ce7ded31508e11f0 | 5,242 | py | Python | dqn/ops.py | Richardxxxxxxx/DQN-tensorflow | e4672f0402d2232002ea3e6c0ae9caf89c71a674 | [
"MIT"
] | null | null | null | dqn/ops.py | Richardxxxxxxx/DQN-tensorflow | e4672f0402d2232002ea3e6c0ae9caf89c71a674 | [
"MIT"
] | null | null | null | dqn/ops.py | Richardxxxxxxx/DQN-tensorflow | e4672f0402d2232002ea3e6c0ae9caf89c71a674 | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.contrib.layers.python.layers import initializers
def clipped_error(x):
# Huber loss
try:
return tf.select(tf.abs(x) < 1.0, 0.5 * tf.square(x), tf.abs(x) - 0.5)
except:
return tf.where(tf.abs(x) < 1.0, 0.5 * tf.square(x), tf.abs(x) - 0.5)
def conv2d(x,
o... | 38.262774 | 117 | 0.667493 | 764 | 5,242 | 4.362565 | 0.137435 | 0.057606 | 0.046805 | 0.034203 | 0.805281 | 0.777078 | 0.777078 | 0.777078 | 0.777078 | 0.777078 | 0 | 0.017004 | 0.181038 | 5,242 | 136 | 118 | 38.544118 | 0.759376 | 0.232163 | 0 | 0.518987 | 0 | 0 | 0.021042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088608 | false | 0 | 0.025316 | 0 | 0.265823 | 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 |
dd5d5f0455eadd3a4bdcb3b5611d797f7222f625 | 102 | py | Python | tests/views/__init__.py | ArunReghunathan/mongo_eng | e25ce614a5d0015b48b8a54daaae00600eb4e264 | [
"BSD-3-Clause"
] | 671 | 2015-01-02T15:13:53.000Z | 2022-03-18T22:09:54.000Z | tests/views/__init__.py | ArunReghunathan/mongo_eng | e25ce614a5d0015b48b8a54daaae00600eb4e264 | [
"BSD-3-Clause"
] | 116 | 2015-01-09T21:49:30.000Z | 2022-02-02T07:28:49.000Z | tests/views/__init__.py | ArunReghunathan/mongo_eng | e25ce614a5d0015b48b8a54daaae00600eb4e264 | [
"BSD-3-Clause"
] | 268 | 2015-01-02T18:41:27.000Z | 2022-03-27T15:21:03.000Z | #!/usr/bin/env python
# coding=utf-8
from __future__ import absolute_import, division, print_function
| 25.5 | 64 | 0.803922 | 15 | 102 | 5.066667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.098039 | 102 | 3 | 65 | 34 | 0.815217 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
06bb7a091b487c6a91ba37654ca513fc29228f72 | 39 | py | Python | svnTree/__init__.py | Nizarazo/instl | d04e9aede292caa1174447189a423726fa3bb97f | [
"BSD-3-Clause"
] | 8 | 2015-06-10T12:33:11.000Z | 2022-02-19T03:02:56.000Z | svnTree/__init__.py | Nizarazo/instl | d04e9aede292caa1174447189a423726fa3bb97f | [
"BSD-3-Clause"
] | 13 | 2016-12-27T09:02:20.000Z | 2022-02-07T08:49:24.000Z | svnTree/__init__.py | Nizarazo/instl | d04e9aede292caa1174447189a423726fa3bb97f | [
"BSD-3-Clause"
] | 6 | 2015-09-24T21:20:46.000Z | 2021-06-23T12:58:31.000Z | from .svnTable import SVNTable, SVNRow
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6649167bce67c8ebb649370f8fe570e15be298c3 | 11,506 | py | Python | sopnmf/cli.py | anbai106/pyOPNMF | 6fc72f2eefccc7d4cd563e03511563fb502b42eb | [
"MIT"
] | null | null | null | sopnmf/cli.py | anbai106/pyOPNMF | 6fc72f2eefccc7d4cd563e03511563fb502b42eb | [
"MIT"
] | null | null | null | sopnmf/cli.py | anbai106/pyOPNMF | 6fc72f2eefccc7d4cd563e03511563fb502b42eb | [
"MIT"
] | 1 | 2022-03-30T22:52:47.000Z | 2022-03-30T22:52:47.000Z | import argparse
__author__ = "Junhao Wen"
__copyright__ = "Copyright 2019-2020 The CBICA & SBIA Lab"
__credits__ = ["Junhao Wen"]
__license__ = "See LICENSE file"
__version__ = "0.1.0"
__maintainer__ = "Junhao Wen"
__email__ = "junhao.wen89@gmail.com"
__status__ = "Development"
def opnmf_func(args):
"""
The d... | 29.502564 | 122 | 0.586042 | 1,291 | 11,506 | 4.964369 | 0.1433 | 0.067093 | 0.070994 | 0.114682 | 0.840537 | 0.801373 | 0.774536 | 0.728195 | 0.728195 | 0.722422 | 0 | 0.004156 | 0.247175 | 11,506 | 389 | 123 | 29.578406 | 0.735742 | 0.041544 | 0 | 0.654545 | 0 | 0 | 0.354787 | 0.013518 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018182 | false | 0 | 0.018182 | 0 | 0.04 | 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 |
b0cf409b5cd8e91f4df81a64d57c229a4dad2d81 | 95 | py | Python | cogs/moderation.py | OSAlt/nya-chan-bot | bb0b9a941034f8e043078b1f0e5780af2bb18b41 | [
"MIT"
] | 3 | 2017-07-25T17:02:20.000Z | 2019-06-14T00:07:30.000Z | cogs/moderation.py | OSAlt/nya-chan-bot | bb0b9a941034f8e043078b1f0e5780af2bb18b41 | [
"MIT"
] | 14 | 2017-07-09T21:43:41.000Z | 2019-09-22T02:08:17.000Z | cogs/moderation.py | OSAlt/nya-chan-bot | bb0b9a941034f8e043078b1f0e5780af2bb18b41 | [
"MIT"
] | 6 | 2017-07-09T21:07:02.000Z | 2019-06-18T04:07:09.000Z | from bot.cog_base import Base
import discord
class setup(Base, name="Moderation"):
pass
| 11.875 | 37 | 0.736842 | 14 | 95 | 4.928571 | 0.785714 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178947 | 95 | 7 | 38 | 13.571429 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
b0e421d9b8d5ef7850899d858b0825216ccbdad2 | 60 | py | Python | waterbutler/providers/nextcloudinstitutions/__init__.py | KakeruMizuno/RDM-waterbutler | 58ecd801385a7572d1ed56568a31f701291c4e3e | [
"Apache-2.0"
] | null | null | null | waterbutler/providers/nextcloudinstitutions/__init__.py | KakeruMizuno/RDM-waterbutler | 58ecd801385a7572d1ed56568a31f701291c4e3e | [
"Apache-2.0"
] | 9 | 2018-04-13T04:57:46.000Z | 2019-08-20T13:58:02.000Z | waterbutler/providers/nextcloudinstitutions/__init__.py | KakeruMizuno/RDM-waterbutler | 58ecd801385a7572d1ed56568a31f701291c4e3e | [
"Apache-2.0"
] | 6 | 2018-09-29T13:49:26.000Z | 2022-01-27T04:35:12.000Z | from .provider import NextcloudInstitutionsProvider # noqa
| 30 | 59 | 0.85 | 5 | 60 | 10.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 60 | 1 | 60 | 60 | 0.962264 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9fda0647e913395e68c499c77f731a42bad4a1ca | 163 | py | Python | Frepap_Alternativa/funca.py | Frepap3/Frepap_Alternativa | c7e08390db25684b6dc048682954a3212a0143a0 | [
"MIT"
] | null | null | null | Frepap_Alternativa/funca.py | Frepap3/Frepap_Alternativa | c7e08390db25684b6dc048682954a3212a0143a0 | [
"MIT"
] | null | null | null | Frepap_Alternativa/funca.py | Frepap3/Frepap_Alternativa | c7e08390db25684b6dc048682954a3212a0143a0 | [
"MIT"
] | null | null | null | import random
def add_one(number):
return print(number + 1)
def dimelo():
return print('habla')
def numero():
return print(random.randint(1,100))
| 12.538462 | 39 | 0.662577 | 23 | 163 | 4.652174 | 0.608696 | 0.308411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.202454 | 163 | 12 | 40 | 13.583333 | 0.784615 | 0 | 0 | 0 | 0 | 0 | 0.030864 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0.428571 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 6 |
b047369a08c5c4323eecfd7b1bad03406681187b | 129 | py | Python | z42/zapp/_WEB/misc/config/make/make.py | jumploop/collection_python | f66f18dc5ae50fce95679e0f4aee5e28b2543432 | [
"MIT"
] | null | null | null | z42/zapp/_WEB/misc/config/make/make.py | jumploop/collection_python | f66f18dc5ae50fce95679e0f4aee5e28b2543432 | [
"MIT"
] | null | null | null | z42/zapp/_WEB/misc/config/make/make.py | jumploop/collection_python | f66f18dc5ae50fce95679e0f4aee5e28b2543432 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import _env
from z42.web.boot.make_config import make_config
make_config(__file__)
| 21.5 | 48 | 0.744186 | 21 | 129 | 4.190476 | 0.714286 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026087 | 0.108527 | 129 | 5 | 49 | 25.8 | 0.73913 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c6dc4f0fa3290e91b55704200396ec7740ab49d0 | 38 | py | Python | {{cookiecutter.github_repository}}/{{cookiecutter.package_name}}/__init__.py | codingjoe/python-template | 9aaf8b24e67f21b43b04228bd3d2d739a44535fa | [
"MIT"
] | 1 | 2019-06-29T10:08:05.000Z | 2019-06-29T10:08:05.000Z | {{cookiecutter.github_repository}}/{{cookiecutter.package_name}}/__init__.py | codingjoe/python-template | 9aaf8b24e67f21b43b04228bd3d2d739a44535fa | [
"MIT"
] | null | null | null | {{cookiecutter.github_repository}}/{{cookiecutter.package_name}}/__init__.py | codingjoe/python-template | 9aaf8b24e67f21b43b04228bd3d2d739a44535fa | [
"MIT"
] | null | null | null | """{{ cookiecutter.description }}."""
| 19 | 37 | 0.605263 | 2 | 38 | 11.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.657143 | 0.815789 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
05b964e52e81f13e0e9bdbb8ee59d5f95065ffe2 | 2,832 | py | Python | cloudframe/tests/api/test_flask.py | cloudken/faas-api | 81daba3464bb918ac1b87e42331c61134dfa7aba | [
"Apache-2.0"
] | null | null | null | cloudframe/tests/api/test_flask.py | cloudken/faas-api | 81daba3464bb918ac1b87e42331c61134dfa7aba | [
"Apache-2.0"
] | null | null | null | cloudframe/tests/api/test_flask.py | cloudken/faas-api | 81daba3464bb918ac1b87e42331c61134dfa7aba | [
"Apache-2.0"
] | 1 | 2021-11-30T15:00:04.000Z | 2021-11-30T15:00:04.000Z |
from flask import json
import mock
from six.moves import http_client
from cloudframe.common import exception
from cloudframe.manager.manager import FunctionManager
from cloudframe.tests.api.base import ApiTestCase
class TestFlaskAPIServers(ApiTestCase):
def setUp(self):
super(TestFlaskAPIServers, self).... | 42.909091 | 97 | 0.647952 | 345 | 2,832 | 5.15942 | 0.214493 | 0.040449 | 0.049438 | 0.062921 | 0.804494 | 0.804494 | 0.804494 | 0.804494 | 0.804494 | 0.688764 | 0 | 0.009607 | 0.228107 | 2,832 | 65 | 98 | 43.569231 | 0.804666 | 0 | 0 | 0.678571 | 0 | 0 | 0.169551 | 0.063582 | 0 | 0 | 0 | 0 | 0.160714 | 1 | 0.107143 | false | 0 | 0.107143 | 0 | 0.232143 | 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 |
05ba28f5ccbf6a7fe191ef0f3e2ea60695cc61ff | 32 | py | Python | fileutils/__init__.py | harshavardhana/bungee-plugins | d1042b4fd3654890d67393ed65e0064bb30086f8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | fileutils/__init__.py | harshavardhana/bungee-plugins | d1042b4fd3654890d67393ed65e0064bb30086f8 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-03-05T13:16:30.000Z | 2021-03-05T15:20:22.000Z | fileutils/__init__.py | harshavardhana/bungee-plugins | d1042b4fd3654890d67393ed65e0064bb30086f8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from fileutils.meta import FILE
| 16 | 31 | 0.84375 | 5 | 32 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
05d621788851ba5077acb6c4561f728987ff940e | 1,453 | py | Python | src/nodeStatusService/decorators.py | nagasudhirpulla/wrldc_scada_files_db_ingestion | cf2fb29117063414105240daed7ca41765cefb49 | [
"MIT"
] | null | null | null | src/nodeStatusService/decorators.py | nagasudhirpulla/wrldc_scada_files_db_ingestion | cf2fb29117063414105240daed7ca41765cefb49 | [
"MIT"
] | 3 | 2019-12-20T08:54:07.000Z | 2021-06-02T03:39:23.000Z | src/nodeStatusService/decorators.py | nagasudhirpulla/wrldc_scada_files_db_ingestion | cf2fb29117063414105240daed7ca41765cefb49 | [
"MIT"
] | null | null | null | import werkzeug
from functools import wraps
from flask import request
from src.nodeStatusService.idSrvUtils import validateJwt
# def validate_bearer_jwt(f):
# @wraps(f)
# def decorated_view(*args, **kwargs):
# idSrvDiscoEndPnt = ""
# audience = ""
# try:
# encodedJwt: str =... | 37.25641 | 79 | 0.613902 | 134 | 1,453 | 6.552239 | 0.320896 | 0.063781 | 0.077449 | 0.145786 | 0.703872 | 0.703872 | 0.703872 | 0.703872 | 0.703872 | 0.703872 | 0 | 0 | 0.286304 | 1,453 | 38 | 80 | 38.236842 | 0.846673 | 0.409498 | 0 | 0.105263 | 0 | 0 | 0.032067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.210526 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
af083d575929f8a19639894da2c3ff8aae43761d | 8,023 | py | Python | data_utils/utils.py | Abdulah-Fawaz/Benchmarking-Surface-DL | 9693379f26d57f9aabf28b973f40a9f6f627d26f | [
"MIT"
] | 2 | 2021-12-04T07:04:56.000Z | 2021-12-13T16:28:50.000Z | data_utils/utils.py | Abdulah-Fawaz/Benchmarking-Surface-DL | 9693379f26d57f9aabf28b973f40a9f6f627d26f | [
"MIT"
] | 1 | 2021-12-21T09:36:11.000Z | 2022-01-25T10:26:43.000Z | data_utils/utils.py | Abdulah-Fawaz/Benchmarking-Surface-DL | 9693379f26d57f9aabf28b973f40a9f6f627d26f | [
"MIT"
] | 1 | 2022-02-27T17:38:19.000Z | 2022-02-27T17:38:19.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Nov 28 13:43:16 2020
@author: fa19
"""
import numpy as np
import torch
from data_utils.MyDataLoader import My_dHCP_Data, My_dHCP_Data_Graph
from utils import import_from
import matplotlib.pyplot as plt
import sys
def load_dataset_arrays(args):
... | 37.143519 | 118 | 0.617724 | 938 | 8,023 | 5.002132 | 0.139659 | 0.044757 | 0.061381 | 0.02046 | 0.837383 | 0.798806 | 0.79497 | 0.780691 | 0.772165 | 0.753197 | 0 | 0.011317 | 0.295151 | 8,023 | 215 | 119 | 37.316279 | 0.818391 | 0.025427 | 0 | 0.651852 | 0 | 0 | 0.009221 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081481 | false | 0 | 0.066667 | 0 | 0.222222 | 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 |
af1ac7259c079262cc9831440cbdd38e4ca22c66 | 361 | py | Python | src/libtakiyasha/exceptions.py | nukemiko/takiyasha | d0e2ebab2a476646313a1fd412f55b9d1300ea87 | [
"MIT"
] | 15 | 2022-01-16T16:13:20.000Z | 2022-03-27T15:30:51.000Z | src/libtakiyasha/exceptions.py | nukemiko/takiyasha | d0e2ebab2a476646313a1fd412f55b9d1300ea87 | [
"MIT"
] | null | null | null | src/libtakiyasha/exceptions.py | nukemiko/takiyasha | d0e2ebab2a476646313a1fd412f55b9d1300ea87 | [
"MIT"
] | 2 | 2022-01-20T18:59:07.000Z | 2022-01-26T08:09:15.000Z | from __future__ import annotations
class TakiyashaException(Exception):
pass
class DecryptException(TakiyashaException):
pass
class FileTypeMismatchError(TakiyashaException):
pass
class UnsupportedFileType(TakiyashaException):
pass
class InvalidDataError(DecryptException):
pass
class Val... | 13.884615 | 48 | 0.789474 | 28 | 361 | 10.035714 | 0.464286 | 0.160142 | 0.288256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160665 | 361 | 25 | 49 | 14.44 | 0.927393 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.461538 | 0.076923 | 0 | 0.538462 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
aface7f2a38398bffb960d8321f015a062cb8096 | 34 | py | Python | joatu/settings/dev.py | moileretour/joatu | 9d18cb58b4280235688e269be6fd2d34b77ccead | [
"MIT"
] | 1 | 2018-05-01T04:54:36.000Z | 2018-05-01T04:54:36.000Z | joatu/settings/dev.py | moileretour/joatu | 9d18cb58b4280235688e269be6fd2d34b77ccead | [
"MIT"
] | null | null | null | joatu/settings/dev.py | moileretour/joatu | 9d18cb58b4280235688e269be6fd2d34b77ccead | [
"MIT"
] | 3 | 2018-04-13T18:28:32.000Z | 2018-05-01T01:38:38.000Z | from joatu.settings.base import *
| 17 | 33 | 0.794118 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
afae85cae1593e7ec3ea00632b4e4212b12b27c3 | 109 | py | Python | spotpuppy/rotation/__init__.py | JoshPattman/Spot-Puppy-Lib | 90172c269ccaf7feefe55257606e0c519871a66d | [
"MIT"
] | 1 | 2021-11-16T13:24:16.000Z | 2021-11-16T13:24:16.000Z | spotpuppy/rotation/__init__.py | JoshPattman/spotpuppy | 90172c269ccaf7feefe55257606e0c519871a66d | [
"MIT"
] | null | null | null | spotpuppy/rotation/__init__.py | JoshPattman/spotpuppy | 90172c269ccaf7feefe55257606e0c519871a66d | [
"MIT"
] | null | null | null | from . import dummy_rotation_sensor
from . import rotation_sensor_base
#from . import mpu6050_rotation_sensor | 36.333333 | 38 | 0.862385 | 15 | 109 | 5.866667 | 0.466667 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.100917 | 109 | 3 | 38 | 36.333333 | 0.857143 | 0.33945 | 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 |
afb715d9a973c67c1d7058c12cfbb8d6102b36b6 | 6,401 | py | Python | tests/test_clicktocalls.py | diarmuidw/PyKazoo | 4b6e22c56400c6da1cdd6949c27b687b51712017 | [
"MIT"
] | 3 | 2015-10-16T07:45:38.000Z | 2016-05-19T18:11:42.000Z | tests/test_clicktocalls.py | diarmuidw/PyKazoo | 4b6e22c56400c6da1cdd6949c27b687b51712017 | [
"MIT"
] | 35 | 2015-08-29T17:33:05.000Z | 2021-06-06T15:53:52.000Z | tests/test_clicktocalls.py | diarmuidw/PyKazoo | 4b6e22c56400c6da1cdd6949c27b687b51712017 | [
"MIT"
] | 10 | 2015-08-29T17:33:51.000Z | 2021-06-04T20:54:56.000Z | import pykazoo.clicktocalls
import pykazoo.restrequest
from unittest import TestCase
from unittest.mock import create_autospec
mock_rest_request = create_autospec(pykazoo.restrequest.RestRequest)
class TestDevices(TestCase):
def setUp(self):
self.mock_rest_request = mock_rest_request
self.click_... | 48.862595 | 79 | 0.525387 | 669 | 6,401 | 4.57997 | 0.068759 | 0.132507 | 0.140013 | 0.099217 | 0.867167 | 0.835836 | 0.827024 | 0.78688 | 0.754896 | 0.737924 | 0 | 0.0064 | 0.414154 | 6,401 | 130 | 80 | 49.238462 | 0.810667 | 0 | 0 | 0.5 | 0 | 0 | 0.036244 | 0.007186 | 0 | 0 | 0 | 0 | 0.134615 | 1 | 0.144231 | false | 0 | 0.038462 | 0 | 0.192308 | 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 |
afc7aaa7659b32d0a17eda9940c3cd244d4f79f9 | 588 | py | Python | Tests Nose/tests/tests_funciones.py | txtbits/daw-python | 5dde1207e2791e90aa5e9ce2b6afc4116129efab | [
"MIT"
] | null | null | null | Tests Nose/tests/tests_funciones.py | txtbits/daw-python | 5dde1207e2791e90aa5e9ce2b6afc4116129efab | [
"MIT"
] | null | null | null | Tests Nose/tests/tests_funciones.py | txtbits/daw-python | 5dde1207e2791e90aa5e9ce2b6afc4116129efab | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
'''
Ejemplos de test con nose
'''
from funciones import *
def test_cuenta_vocales():
assert cuenta_vocales('casa') == 2
assert cuenta_vocales('CASA') == 2
def test_cuenta_vocales_vacia():
assert cuenta_vocales('sdfg') == 0
def test_cuenta_vocales_acento():
assert cuenta_vocal... | 23.52 | 44 | 0.690476 | 75 | 588 | 5.12 | 0.4 | 0.440104 | 0.395833 | 0.260417 | 0.299479 | 0.174479 | 0.174479 | 0.174479 | 0 | 0 | 0 | 0.018557 | 0.17517 | 588 | 25 | 45 | 23.52 | 0.773196 | 0.079932 | 0 | 0 | 0 | 0 | 0.086142 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.357143 | true | 0 | 0.071429 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bb6eef42732fa37955c79fb4c155133e4ee15e48 | 37,148 | py | Python | tests/core/full_node/test_blockchain_transactions.py | DONG-Jason/chia-blockchain | 27b28d62f6b315e45bc00231e007c775f07a414a | [
"Apache-2.0"
] | null | null | null | tests/core/full_node/test_blockchain_transactions.py | DONG-Jason/chia-blockchain | 27b28d62f6b315e45bc00231e007c775f07a414a | [
"Apache-2.0"
] | null | null | null | tests/core/full_node/test_blockchain_transactions.py | DONG-Jason/chia-blockchain | 27b28d62f6b315e45bc00231e007c775f07a414a | [
"Apache-2.0"
] | null | null | null | import asyncio
import pytest
from src.consensus.blockchain import ReceiveBlockResult
from src.protocols import full_node_protocol
from src.types.condition_opcodes import ConditionOpcode
from src.types.condition_var_pair import ConditionVarPair
from src.types.spend_bundle import SpendBundle
from src.util.errors import ... | 39.944086 | 120 | 0.679956 | 4,702 | 37,148 | 4.972565 | 0.057635 | 0.063641 | 0.034344 | 0.030281 | 0.840426 | 0.807664 | 0.792567 | 0.767717 | 0.759848 | 0.734271 | 0 | 0.022 | 0.245047 | 37,148 | 929 | 121 | 39.987083 | 0.811695 | 0.442177 | 0 | 0.63285 | 0 | 0 | 0.00987 | 0 | 0 | 0 | 0 | 0 | 0.070048 | 1 | 0.002415 | false | 0 | 0.02657 | 0 | 0.031401 | 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 |
a52b3d30665d462bcdd95ee82bc874c2f6de4da0 | 6,128 | py | Python | tests/modules/io/conftest.py | volodymyrPivoshenko/configflow | 2158c8395c4913b836c2a27e38c51f5ec519323b | [
"MIT"
] | 8 | 2022-01-25T09:06:34.000Z | 2022-03-28T14:55:45.000Z | tests/modules/io/conftest.py | volodymyrPivoshenko/configflow | 2158c8395c4913b836c2a27e38c51f5ec519323b | [
"MIT"
] | 23 | 2022-01-23T15:15:00.000Z | 2022-03-28T21:47:15.000Z | tests/modules/io/conftest.py | volodymyrPivoshenko/configflow | 2158c8395c4913b836c2a27e38c51f5ec519323b | [
"MIT"
] | 1 | 2022-03-15T21:08:19.000Z | 2022-03-15T21:08:19.000Z | """Tests configuration."""
import typing
import pytest
DictType = typing.Dict[str, typing.Any]
@pytest.fixture(scope="module")
def expected_ini_dict() -> DictType:
"""Get the expected dictionary - content of the fixture file."""
return {
"databases.postgres": {
"user": "admin",
... | 37.139394 | 99 | 0.521051 | 492 | 6,128 | 6.416667 | 0.193089 | 0.03421 | 0.053215 | 0.076022 | 0.817232 | 0.817232 | 0.783339 | 0.783339 | 0.761799 | 0.713019 | 0 | 0.017391 | 0.324413 | 6,128 | 164 | 100 | 37.365854 | 0.745169 | 0.032148 | 0 | 0.421769 | 0 | 0 | 0.518951 | 0.292047 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020408 | false | 0.040816 | 0.013605 | 0 | 0.054422 | 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 |
a59f6fb2115c868120c79a6ba506d12cbd5099dc | 22 | py | Python | tensormap-server/run_tests.py | AvikantSrivastava/tensormap | 4a2c15e571ab1cc0d791dbbf135c81df58a6f91d | [
"Apache-2.0"
] | 34 | 2019-01-29T21:13:33.000Z | 2020-09-09T15:23:35.000Z | tensormap-server/run_tests.py | AvikantSrivastava/tensormap | 4a2c15e571ab1cc0d791dbbf135c81df58a6f91d | [
"Apache-2.0"
] | 83 | 2019-01-30T09:06:14.000Z | 2020-07-05T18:12:25.000Z | tensormap-server/run_tests.py | AvikantSrivastava/tensormap | 4a2c15e571ab1cc0d791dbbf135c81df58a6f91d | [
"Apache-2.0"
] | 87 | 2019-02-24T09:48:41.000Z | 2020-08-08T17:00:06.000Z | from app import tests
| 11 | 21 | 0.818182 | 4 | 22 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 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 |
3c33f6cb59c1a98e556a1cd149f6fd5b1dd9e768 | 187 | py | Python | Command Line Programs/weather.py | misterMackW/Automate-the-Boring-Stuff-with-Python | 63a1f06fe1b3a47b842fa4764e8d7a90496d7c06 | [
"MIT"
] | null | null | null | Command Line Programs/weather.py | misterMackW/Automate-the-Boring-Stuff-with-Python | 63a1f06fe1b3a47b842fa4764e8d7a90496d7c06 | [
"MIT"
] | 1 | 2019-01-15T19:40:58.000Z | 2019-01-15T19:40:58.000Z | Command Line Programs/weather.py | mackenzieweaver/Automate-the-Boring-Stuff-with-Python | 63a1f06fe1b3a47b842fa4764e8d7a90496d7c06 | [
"MIT"
] | null | null | null | #! python3
# open the local weather page
import webbrowser
webbrowser.open('https://www.google.com/search?q=weather&oq=weather&aqs=chrome..69i57.3235j0j7&sourceid=chrome&ie=UTF-8')
| 31.166667 | 122 | 0.759358 | 28 | 187 | 5.071429 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 0.090909 | 187 | 5 | 123 | 37.4 | 0.764706 | 0.197861 | 0 | 0 | 0 | 0.5 | 0.713287 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3c464bef91bb9cda084c1fdce597884bdad99ace | 35 | py | Python | zbxepics/logging/__init__.py | sasaki77/zabbix-epics-py | c3371f5b0834492fddabb41317c99126571c59e4 | [
"MIT"
] | null | null | null | zbxepics/logging/__init__.py | sasaki77/zabbix-epics-py | c3371f5b0834492fddabb41317c99126571c59e4 | [
"MIT"
] | null | null | null | zbxepics/logging/__init__.py | sasaki77/zabbix-epics-py | c3371f5b0834492fddabb41317c99126571c59e4 | [
"MIT"
] | null | null | null | from .logger import Logger, logger
| 17.5 | 34 | 0.8 | 5 | 35 | 5.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3c7b2b001e3e221cd7a0abace788abb98e9d2bf0 | 32,976 | py | Python | quark/tests/plugin_modules/test_ports.py | jkoelker/quark | 522d800cfb8fef2627baf3bceb7389604bd2d4ce | [
"Apache-2.0"
] | null | null | null | quark/tests/plugin_modules/test_ports.py | jkoelker/quark | 522d800cfb8fef2627baf3bceb7389604bd2d4ce | [
"Apache-2.0"
] | 11 | 2015-09-10T21:20:04.000Z | 2015-09-10T21:20:05.000Z | quark/tests/plugin_modules/test_ports.py | jkoelker/quark | 522d800cfb8fef2627baf3bceb7389604bd2d4ce | [
"Apache-2.0"
] | null | null | null | # Copyright 2013 Openstack Foundation
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | 46.314607 | 79 | 0.572841 | 3,987 | 32,976 | 4.490594 | 0.066968 | 0.041164 | 0.022118 | 0.031836 | 0.812947 | 0.777033 | 0.743353 | 0.703083 | 0.677726 | 0.665159 | 0 | 0.024547 | 0.313137 | 32,976 | 711 | 80 | 46.379747 | 0.765916 | 0.025564 | 0 | 0.628981 | 0 | 0 | 0.098195 | 0.014932 | 0 | 0 | 0 | 0 | 0.136943 | 0 | null | null | 0 | 0.012739 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3c7de1d715ee7c3f14d6f0c5f392e7ee9e5146ab | 36 | py | Python | src/utils/livelossplot/__init__.py | yohann84L/faster_rcnn_test_case | c960790629462a94c1934c8efc59e494d392410c | [
"MIT"
] | null | null | null | src/utils/livelossplot/__init__.py | yohann84L/faster_rcnn_test_case | c960790629462a94c1934c8efc59e494d392410c | [
"MIT"
] | null | null | null | src/utils/livelossplot/__init__.py | yohann84L/faster_rcnn_test_case | c960790629462a94c1934c8efc59e494d392410c | [
"MIT"
] | null | null | null | from .generic_plot import PlotLosses | 36 | 36 | 0.888889 | 5 | 36 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b1b961eeae101bcb7471c119ea5e424a10be92fe | 234,554 | py | Python | manga2epub3/epub3.py | Nantor/manga2epub3 | 9002b484c63416a2cf9d884f00aa7cbeff3b0213 | [
"MIT"
] | null | null | null | manga2epub3/epub3.py | Nantor/manga2epub3 | 9002b484c63416a2cf9d884f00aa7cbeff3b0213 | [
"MIT"
] | null | null | null | manga2epub3/epub3.py | Nantor/manga2epub3 | 9002b484c63416a2cf9d884f00aa7cbeff3b0213 | [
"MIT"
] | null | null | null | import base64
import mimetypes
import os
import string
import uuid
import zipfile
from datetime import datetime
class Epub3:
__path2container_xml = "META-INF/container.xml"
__path2package_opf = "EPUB/package.opf"
__path2nav_xhtml = "EPUB/xhtml/nav.xhtml"
__path2title_xhtml = "EPUB/xhtml/t... | 1,617.613793 | 225,966 | 0.953908 | 8,180 | 234,554 | 27.319315 | 0.858435 | 0.000439 | 0.000573 | 0.000439 | 0.005343 | 0.00439 | 0.00311 | 0.0023 | 0.001835 | 0.001835 | 0 | 0.155205 | 0.007001 | 234,554 | 144 | 225,967 | 1,628.847222 | 0.804265 | 0.000286 | 0 | 0.142857 | 0 | 0.02381 | 0.973248 | 0.966655 | 0.015873 | 1 | 0 | 0 | 0 | 1 | 0.103175 | false | 0 | 0.055556 | 0.031746 | 0.404762 | 0.015873 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b1fa6375e62576f767321f403fef9a6cad11e3cb | 11,653 | py | Python | moviesdbapi/tests/test_api.py | sratatata/netguru-movies | 33337fc71ae7a2ba8fcb48f9b08820532b2a5e78 | [
"Unlicense"
] | 1 | 2019-03-03T22:25:24.000Z | 2019-03-03T22:25:24.000Z | moviesdbapi/tests/test_api.py | sratatata/netguru-movies | 33337fc71ae7a2ba8fcb48f9b08820532b2a5e78 | [
"Unlicense"
] | 13 | 2018-07-29T15:46:56.000Z | 2021-06-10T20:46:51.000Z | moviesdbapi/tests/test_api.py | sratatata/netguru-movies | 33337fc71ae7a2ba8fcb48f9b08820532b2a5e78 | [
"Unlicense"
] | 1 | 2020-05-09T16:01:01.000Z | 2020-05-09T16:01:01.000Z | from unittest import skip
from django.test import TestCase, tag
from django.urls import reverse
from rest_framework import status
from rest_framework.test import APIClient
from moviesdbapi.models import Movie
from moviesdbapi.serializers import MovieSerializer, CommentSerializer
EMPTY_BODY = ""
EXISTING_MOVIE_TITLE... | 46.612 | 119 | 0.697503 | 1,475 | 11,653 | 5.265085 | 0.088814 | 0.053567 | 0.08975 | 0.097862 | 0.819598 | 0.806722 | 0.804018 | 0.775303 | 0.761267 | 0.71504 | 0 | 0.010513 | 0.159272 | 11,653 | 249 | 120 | 46.799197 | 0.782178 | 0.033125 | 0 | 0.579545 | 0 | 0 | 0.111932 | 0 | 0 | 0 | 0 | 0 | 0.261364 | 1 | 0.125 | false | 0 | 0.039773 | 0 | 0.176136 | 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 |
5904700316933083c9996ee5e132c620f25014e0 | 23 | py | Python | numba/core/runtime/__init__.py | auderson/numba | 3d67c9850ab56457f418cf40af6245fd9c337705 | [
"BSD-2-Clause"
] | 6,620 | 2015-01-04T08:51:04.000Z | 2022-03-31T12:52:18.000Z | numba/core/runtime/__init__.py | auderson/numba | 3d67c9850ab56457f418cf40af6245fd9c337705 | [
"BSD-2-Clause"
] | 6,457 | 2015-01-04T03:18:41.000Z | 2022-03-31T17:38:42.000Z | numba/core/runtime/__init__.py | auderson/numba | 3d67c9850ab56457f418cf40af6245fd9c337705 | [
"BSD-2-Clause"
] | 930 | 2015-01-25T02:33:03.000Z | 2022-03-30T14:10:32.000Z | from .nrt import rtsys
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3cb31cce2f95bb4cecaa61b3ea53061f1bbe9d1b | 95 | py | Python | jumpscale/tools/alerthandler/__init__.py | zaibon/js-ng | 8b63c04757d1432ed4aa588500a113610701de14 | [
"Apache-2.0"
] | 2 | 2021-04-28T10:46:08.000Z | 2021-12-22T12:33:34.000Z | jumpscale/tools/alerthandler/__init__.py | zaibon/js-ng | 8b63c04757d1432ed4aa588500a113610701de14 | [
"Apache-2.0"
] | 321 | 2020-06-15T11:48:21.000Z | 2022-03-29T22:13:33.000Z | jumpscale/tools/alerthandler/__init__.py | zaibon/js-ng | 8b63c04757d1432ed4aa588500a113610701de14 | [
"Apache-2.0"
] | 4 | 2020-06-18T06:19:29.000Z | 2021-07-14T12:54:47.000Z | def export_module_as():
from .alerthandler import AlertsHandler
return AlertsHandler()
| 23.75 | 43 | 0.768421 | 10 | 95 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 95 | 3 | 44 | 31.666667 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3ce2f94e8a51c7857f32fc95dc5384cf712ab385 | 257 | py | Python | catboost/pytest/lib/__init__.py | mityada/test2 | 00df18ecbac8fb724c06b68474df067e81a3d7dd | [
"Apache-2.0"
] | 1 | 2017-08-27T20:55:56.000Z | 2017-08-27T20:55:56.000Z | catboost/pytest/lib/__init__.py | dsferz/machinelearning_yandex | 8fde8314c5c70299ece8b8f00075ddfcd5e07ddf | [
"Apache-2.0"
] | null | null | null | catboost/pytest/lib/__init__.py | dsferz/machinelearning_yandex | 8fde8314c5c70299ece8b8f00075ddfcd5e07ddf | [
"Apache-2.0"
] | 1 | 2018-08-06T14:13:12.000Z | 2018-08-06T14:13:12.000Z | import os
import yatest.common
def data_file(*path):
return yatest.common.source_path(os.path.join("catboost", "pytest", "data", *path))
def local_canonical_file(*args, **kwargs):
return yatest.common.canonical_file(*args, local=True, **kwargs)
| 23.363636 | 87 | 0.727626 | 36 | 257 | 5.055556 | 0.5 | 0.197802 | 0.197802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116732 | 257 | 10 | 88 | 25.7 | 0.801762 | 0 | 0 | 0 | 0 | 0 | 0.070039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
a732c762bbcae67bae02be058ec9f1f8dcccdb49 | 3,679 | py | Python | tests/test_integration.py | mikedingjan/ecs-deplojo | 0b53dea28ae72939a0ca9873b5046a66ccaf284e | [
"MIT"
] | 12 | 2018-09-18T07:08:09.000Z | 2021-05-26T17:08:42.000Z | tests/test_integration.py | mikedingjan/ecs-deplojo | 0b53dea28ae72939a0ca9873b5046a66ccaf284e | [
"MIT"
] | 13 | 2018-10-30T18:38:23.000Z | 2021-05-27T07:29:22.000Z | tests/test_integration.py | mikedingjan/ecs-deplojo | 0b53dea28ae72939a0ca9873b5046a66ccaf284e | [
"MIT"
] | 4 | 2018-11-28T01:00:06.000Z | 2020-12-29T11:33:46.000Z | import pytest
from click.testing import CliRunner
from ecs_deplojo import cli
def test_cli_execution_existing_service(
example_project, cluster, caplog, connection, definition
):
# Make sure the service exists
retval = connection.ecs.register_task_definition(**definition.as_dict())
task_definition_a... | 35.718447 | 86 | 0.655613 | 438 | 3,679 | 5.39726 | 0.226027 | 0.035533 | 0.043147 | 0.045685 | 0.855753 | 0.812606 | 0.804146 | 0.804146 | 0.804146 | 0.804146 | 0 | 0.013409 | 0.229682 | 3,679 | 102 | 87 | 36.068627 | 0.820748 | 0.015493 | 0 | 0.697674 | 0 | 0.034884 | 0.362255 | 0.008566 | 0 | 0 | 0 | 0 | 0.046512 | 1 | 0.046512 | false | 0 | 0.034884 | 0 | 0.081395 | 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 |
59d11b57d03b691e7cc770bfa1575f96da2be34f | 8,578 | py | Python | tests/integrationtest/test_alerting_notifications.py | ZPascal/grafana_api_sdk | 97c347790200e8e9a2aafd47e322297aa97b964c | [
"Apache-2.0"
] | 2 | 2022-02-01T20:18:48.000Z | 2022-02-02T01:22:14.000Z | tests/integrationtest/test_alerting_notifications.py | ZPascal/grafana_api_sdk | 97c347790200e8e9a2aafd47e322297aa97b964c | [
"Apache-2.0"
] | 5 | 2022-01-12T06:55:54.000Z | 2022-03-26T13:35:50.000Z | tests/integrationtest/test_alerting_notifications.py | ZPascal/grafana_api_sdk | 97c347790200e8e9a2aafd47e322297aa97b964c | [
"Apache-2.0"
] | null | null | null | import os
from unittest import TestCase
from src.grafana_api.model import APIModel
from src.grafana_api.alerting_notifications import AlertingNotifications
class AlertingNotificationsTest(TestCase):
model: APIModel = APIModel(
host=os.environ["GRAFANA_HOST"],
token=os.environ["GRAFANA_TOKEN"],
... | 34.175299 | 88 | 0.536256 | 734 | 8,578 | 5.997275 | 0.10218 | 0.211495 | 0.149932 | 0.109723 | 0.864153 | 0.835075 | 0.805543 | 0.756929 | 0.689914 | 0.644025 | 0 | 0.025562 | 0.35696 | 8,578 | 250 | 89 | 34.312 | 0.77248 | 0 | 0 | 0.550459 | 0 | 0 | 0.205876 | 0.09979 | 0 | 0 | 0 | 0 | 0.045872 | 1 | 0.045872 | false | 0 | 0.018349 | 0 | 0.077982 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
59db80055d7d314ff394250dcc4f78f96ddbb4f0 | 27,877 | py | Python | test/test_slipharden.py | tianjuchen/neml | 61ca3dcefcfb20c3f4405ca0ca2117a5414ca933 | [
"MIT"
] | null | null | null | test/test_slipharden.py | tianjuchen/neml | 61ca3dcefcfb20c3f4405ca0ca2117a5414ca933 | [
"MIT"
] | null | null | null | test/test_slipharden.py | tianjuchen/neml | 61ca3dcefcfb20c3f4405ca0ca2117a5414ca933 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from neml import history, interpolate
from neml.math import tensors, rotations, matrix
from neml.cp import crystallography, slipharden, sliprules
from common import differentiate
from nicediff import *
import unittest
import numpy as np
import numpy.linalg as la
import numpy.random as ra
clas... | 32.681125 | 141 | 0.641819 | 4,603 | 27,877 | 3.802086 | 0.053661 | 0.034284 | 0.028798 | 0.026284 | 0.830638 | 0.792812 | 0.777156 | 0.7567 | 0.742872 | 0.712016 | 0 | 0.055531 | 0.190587 | 27,877 | 852 | 142 | 32.719484 | 0.720085 | 0.018474 | 0 | 0.653291 | 0 | 0 | 0.013204 | 0 | 0 | 0 | 0 | 0 | 0.080257 | 1 | 0.099518 | false | 0 | 0.014446 | 0.001605 | 0.141252 | 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 |
abfbe34f8fbda26ebc6cfa23fda49fcf70d68174 | 68 | py | Python | lw_visutils/__init__.py | wolterlw/lw_visutils | 1487a235c8c0cd71b42758ccb13760a45689889b | [
"MIT"
] | null | null | null | lw_visutils/__init__.py | wolterlw/lw_visutils | 1487a235c8c0cd71b42758ccb13760a45689889b | [
"MIT"
] | null | null | null | lw_visutils/__init__.py | wolterlw/lw_visutils | 1487a235c8c0cd71b42758ccb13760a45689889b | [
"MIT"
] | null | null | null | import lw_visutils.data
import lw_visutils.nn
import lw_visutils.viz | 22.666667 | 23 | 0.882353 | 12 | 68 | 4.75 | 0.5 | 0.421053 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 68 | 3 | 24 | 22.666667 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e60439d373ddb735ca98cd3b2e6d77c21f76049c | 10,109 | py | Python | foreman/data_refinery_foreman/foreman/test_main.py | dongbohu/ccdl_test | be50b7ca35fba28676b594ba3f003b0b581abcb7 | [
"BSD-3-Clause"
] | null | null | null | foreman/data_refinery_foreman/foreman/test_main.py | dongbohu/ccdl_test | be50b7ca35fba28676b594ba3f003b0b581abcb7 | [
"BSD-3-Clause"
] | 3 | 2020-06-05T17:18:10.000Z | 2021-06-10T20:55:12.000Z | foreman/data_refinery_foreman/foreman/test_main.py | dongbohu/ccdl_test | be50b7ca35fba28676b594ba3f003b0b581abcb7 | [
"BSD-3-Clause"
] | null | null | null | from unittest.mock import patch
from datetime import timedelta
from django.utils import timezone
from django.test import TestCase
from data_refinery_foreman.foreman import main
from data_refinery_common.models import (
SurveyJob,
Batch,
File,
BatchStatuses,
DownloaderJob,
ProcessorJob
)
class ... | 37.861423 | 134 | 0.673756 | 1,278 | 10,109 | 5.00626 | 0.133803 | 0.055017 | 0.044701 | 0.054705 | 0.821819 | 0.79728 | 0.789465 | 0.786496 | 0.778056 | 0.761175 | 0 | 0.01161 | 0.233159 | 10,109 | 266 | 135 | 38.003759 | 0.813725 | 0.07251 | 0 | 0.626263 | 0 | 0.005051 | 0.078404 | 0.059044 | 0 | 0 | 0 | 0 | 0.292929 | 1 | 0.070707 | false | 0 | 0.030303 | 0 | 0.121212 | 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 |
e63e37c762c6fee2bb2319ab3a0bb441a0e37c48 | 130 | py | Python | cassiopeia/dto/staticdata/profileicon.py | artemigkh/cassiopeia | fa78cb8f86ea21857916a707d04de6a05498033e | [
"MIT"
] | 437 | 2016-02-15T17:33:40.000Z | 2022-03-30T21:25:41.000Z | cassiopeia/dto/staticdata/profileicon.py | artemigkh/cassiopeia | fa78cb8f86ea21857916a707d04de6a05498033e | [
"MIT"
] | 296 | 2016-02-13T00:04:15.000Z | 2022-03-24T18:56:36.000Z | cassiopeia/dto/staticdata/profileicon.py | artemigkh/cassiopeia | fa78cb8f86ea21857916a707d04de6a05498033e | [
"MIT"
] | 174 | 2016-02-21T16:34:30.000Z | 2022-03-21T20:46:50.000Z | from ..common import DtoObject
class ProfileIconDataDto(DtoObject):
pass
class ProfileIconDetailsDto(DtoObject):
pass
| 13 | 39 | 0.769231 | 12 | 130 | 8.333333 | 0.666667 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 130 | 9 | 40 | 14.444444 | 0.925926 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
e6497c7887d1f9b53f71011a37dea294d29758ea | 171 | py | Python | core/views.py | gauravjot/stockread | 049787013b343f45099b14b5c5de17614951b393 | [
"MIT"
] | null | null | null | core/views.py | gauravjot/stockread | 049787013b343f45099b14b5c5de17614951b393 | [
"MIT"
] | null | null | null | core/views.py | gauravjot/stockread | 049787013b343f45099b14b5c5de17614951b393 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
# main view
def core(request, *args,**kwargs):
return render(request, 'index.html', {})
# other views
| 17.1 | 44 | 0.701754 | 23 | 171 | 5.217391 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169591 | 171 | 9 | 45 | 19 | 0.84507 | 0.263158 | 0 | 0 | 0 | 0 | 0.081967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
055bc2cf85642828cd7cca88f14d9d3cbee89416 | 123 | py | Python | asdf/tags/__init__.py | larrybradley/asdf | b1e0fe6ab7aa319d5939ec2aa78d23822abf6bd4 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | asdf/tags/__init__.py | larrybradley/asdf | b1e0fe6ab7aa319d5939ec2aa78d23822abf6bd4 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | asdf/tags/__init__.py | larrybradley/asdf | b1e0fe6ab7aa319d5939ec2aa78d23822abf6bd4 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# TODO: Import entire tree automatically and make these work like "plugins"?
from . import core
| 17.571429 | 76 | 0.682927 | 17 | 123 | 4.941176 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.195122 | 123 | 6 | 77 | 20.5 | 0.838384 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
0560e571c925ff1e273d43f3d2aab984f9d278f8 | 20 | py | Python | genres.py | jaeyeun97/MusicalStyleTransfer | 0aa9e8763597bf86ff0c13ae96dee75d165c4fc2 | [
"BSD-3-Clause"
] | 1 | 2020-04-14T14:11:14.000Z | 2020-04-14T14:11:14.000Z | genres.py | jaeyeun97/MusicalStyleTransfer | 0aa9e8763597bf86ff0c13ae96dee75d165c4fc2 | [
"BSD-3-Clause"
] | null | null | null | genres.py | jaeyeun97/MusicalStyleTransfer | 0aa9e8763597bf86ff0c13ae96dee75d165c4fc2 | [
"BSD-3-Clause"
] | null | null | null | from util import py
| 10 | 19 | 0.8 | 4 | 20 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 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 |
05806bda28006b548f45b0096ad8bedcee6e43a5 | 21 | py | Python | pyngw/__init__.py | nextgis/pyngw | e1981f6cbf9628b1b0eb00381a087aeb5372b228 | [
"MIT"
] | null | null | null | pyngw/__init__.py | nextgis/pyngw | e1981f6cbf9628b1b0eb00381a087aeb5372b228 | [
"MIT"
] | null | null | null | pyngw/__init__.py | nextgis/pyngw | e1981f6cbf9628b1b0eb00381a087aeb5372b228 | [
"MIT"
] | 1 | 2021-11-02T11:30:53.000Z | 2021-11-02T11:30:53.000Z | from .pyngw import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 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 |
55a91c5252e90ef4185075666e9c61f9afbcbbda | 1,113 | py | Python | day2.py | DasilvaCFelipe/advent_of_code | f155c5b917a366aac86aab2a62a78f30bce91424 | [
"MIT"
] | null | null | null | day2.py | DasilvaCFelipe/advent_of_code | f155c5b917a366aac86aab2a62a78f30bce91424 | [
"MIT"
] | null | null | null | day2.py | DasilvaCFelipe/advent_of_code | f155c5b917a366aac86aab2a62a78f30bce91424 | [
"MIT"
] | null | null | null | with open("data/dataday2.txt") as f: lst=[line.strip() for line in f]
#Part 1
horizontalPos = int()
depth = int()
aim = int()
commands = [{key:int(value)} for key,value in [a.split(" ") for a in lst]]
for command in commands:
if command.get('forward'):
horizontalPos += command.get('forward')
elif comma... | 30.916667 | 82 | 0.637017 | 159 | 1,113 | 4.45912 | 0.257862 | 0.155148 | 0.119887 | 0.067701 | 0.770099 | 0.770099 | 0.770099 | 0.770099 | 0.770099 | 0.770099 | 0 | 0.003348 | 0.194969 | 1,113 | 35 | 83 | 31.8 | 0.787946 | 0.010782 | 0 | 0.785714 | 0 | 0 | 0.302093 | 0.040036 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 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 |
e96f0d3533538f2756b4ec18615d3f0bac6ac77d | 98 | py | Python | pyiacsun/linalg/__init__.py | aasensio/pyiacsun | 56bdaca98461be7b927f8d5fbbc9e64517c889fb | [
"MIT"
] | 5 | 2015-10-30T17:38:13.000Z | 2020-04-04T19:11:34.000Z | pyiacsun/linalg/__init__.py | aasensio/pyiacsun | 56bdaca98461be7b927f8d5fbbc9e64517c889fb | [
"MIT"
] | 2 | 2015-10-15T21:55:46.000Z | 2015-10-16T19:04:54.000Z | pyiacsun/linalg/__init__.py | aasensio/pyiacsun | 56bdaca98461be7b927f8d5fbbc9e64517c889fb | [
"MIT"
] | 2 | 2017-10-18T17:20:31.000Z | 2019-10-10T00:47:36.000Z | from .cholInvert import *
from .fsvd import *
from .optimalSVHT import *
from .rpcaRow import * | 24.5 | 27 | 0.734694 | 12 | 98 | 6 | 0.5 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 98 | 4 | 28 | 24.5 | 0.9 | 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 |
e9af42c0fa99c687e5eb84a1dbff291d1d1d141b | 94 | py | Python | trajectron/visualization/__init__.py | mzahran001/Trajectron-plus-plus | 6cad26fbc4a6ee99d7b72696f7ce4b4ae820dd8d | [
"MIT"
] | 4 | 2021-06-09T17:34:27.000Z | 2021-09-26T14:55:32.000Z | trajectron/visualization/__init__.py | mzahran001/Trajectron-plus-plus | 6cad26fbc4a6ee99d7b72696f7ce4b4ae820dd8d | [
"MIT"
] | null | null | null | trajectron/visualization/__init__.py | mzahran001/Trajectron-plus-plus | 6cad26fbc4a6ee99d7b72696f7ce4b4ae820dd8d | [
"MIT"
] | 2 | 2021-05-11T07:21:59.000Z | 2021-11-06T14:43:47.000Z | from .visualization import visualize_prediction
from .visualization_utils import plot_boxplots | 47 | 47 | 0.904255 | 11 | 94 | 7.454545 | 0.727273 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074468 | 94 | 2 | 48 | 47 | 0.942529 | 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 |
e9cd11ec6554a3427eb6b351e52d4cdd0c576424 | 3,033 | py | Python | pizza_cutter/des_pizza_cutter/tests/test_se_image_wcs_jacobian.py | beckermr/pizza-cutter | 04eefd2d4b2a63975fe809c60b5c8e7e3fcf26c6 | [
"BSD-3-Clause"
] | null | null | null | pizza_cutter/des_pizza_cutter/tests/test_se_image_wcs_jacobian.py | beckermr/pizza-cutter | 04eefd2d4b2a63975fe809c60b5c8e7e3fcf26c6 | [
"BSD-3-Clause"
] | 194 | 2018-10-24T23:40:47.000Z | 2021-11-17T16:02:35.000Z | pizza_cutter/des_pizza_cutter/tests/test_se_image_wcs_jacobian.py | beckermr/pizza-cutter | 04eefd2d4b2a63975fe809c60b5c8e7e3fcf26c6 | [
"BSD-3-Clause"
] | null | null | null | import os
import numpy as np
import pytest
import galsim
from .._se_image import SEImageSlice
@pytest.mark.skipif(
os.environ.get('TEST_DESDATA', None) is None,
reason=(
'SEImageSlice can only be tested if '
'test data is at TEST_DESDATA'))
@pytest.mark.parametrize('x,y', [
(np.ones(10)... | 29.163462 | 69 | 0.634685 | 443 | 3,033 | 4.054176 | 0.182844 | 0.058463 | 0.067372 | 0.033408 | 0.832405 | 0.798441 | 0.784521 | 0.755568 | 0.755568 | 0.755568 | 0 | 0.022817 | 0.248599 | 3,033 | 103 | 70 | 29.446602 | 0.765248 | 0 | 0 | 0.681818 | 0 | 0 | 0.105176 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.034091 | false | 0 | 0.056818 | 0 | 0.090909 | 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 |
7568a5076a9a6088dc613c2434b9b87f971da2bb | 23 | py | Python | xwmt/__init__.py | gmacgilchrist/xwmt | a0a15a69801eaeed7f70b22ae95ba52325fbc479 | [
"MIT"
] | null | null | null | xwmt/__init__.py | gmacgilchrist/xwmt | a0a15a69801eaeed7f70b22ae95ba52325fbc479 | [
"MIT"
] | 3 | 2021-09-20T18:18:38.000Z | 2021-09-23T13:23:59.000Z | xwmt/__init__.py | gmacgilchrist/xwmt | a0a15a69801eaeed7f70b22ae95ba52325fbc479 | [
"MIT"
] | 2 | 2021-09-14T14:32:47.000Z | 2021-09-20T17:46:39.000Z | from .swmt import swmt
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7574153cbd005ecf4e487eca2e14bb9228c43013 | 209 | py | Python | tccli/services/bmlb/__init__.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | tccli/services/bmlb/__init__.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | tccli/services/bmlb/__init__.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from tccli.services.bmlb.bmlb_client import register_arg
from tccli.services.bmlb.bmlb_client import get_actions_info
from tccli.services.bmlb.bmlb_client import AVAILABLE_VERSION_LIST
| 41.8 | 66 | 0.832536 | 32 | 209 | 5.1875 | 0.53125 | 0.162651 | 0.307229 | 0.379518 | 0.668675 | 0.668675 | 0.668675 | 0 | 0 | 0 | 0 | 0.005208 | 0.08134 | 209 | 4 | 67 | 52.25 | 0.859375 | 0.100478 | 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 |
75bf448cf9ea41e9fdb7f1806b1d82f35d843933 | 32,280 | py | Python | tests/test_driver_alchemy_crud.py | victorskl/gen3-indexd | c22ffb1f1472e0732d3b44cd39b1241ff8156cc6 | [
"Apache-2.0"
] | 11 | 2018-05-31T06:29:44.000Z | 2020-10-21T14:09:36.000Z | tests/test_driver_alchemy_crud.py | victorskl/gen3-indexd | c22ffb1f1472e0732d3b44cd39b1241ff8156cc6 | [
"Apache-2.0"
] | 171 | 2017-11-13T16:56:35.000Z | 2022-03-29T19:37:35.000Z | tests/test_driver_alchemy_crud.py | victorskl/gen3-indexd | c22ffb1f1472e0732d3b44cd39b1241ff8156cc6 | [
"Apache-2.0"
] | 25 | 2018-03-06T19:03:24.000Z | 2021-11-27T19:39:49.000Z | import uuid
import sqlite3
import pytest
import tests.util as util
from indexd.index.errors import NoRecordFound
from indexd.index.errors import RevisionMismatch
from indexd.index.errors import MultipleRecordsFound
from indexd.index.drivers.alchemy import SQLAlchemyIndexDriver, IndexRecord
from datetime import da... | 28.924731 | 848 | 0.571716 | 3,610 | 32,280 | 4.977008 | 0.070083 | 0.044526 | 0.034062 | 0.03807 | 0.83837 | 0.815384 | 0.790727 | 0.765793 | 0.741582 | 0.706851 | 0 | 0.024679 | 0.297057 | 32,280 | 1,115 | 849 | 28.950673 | 0.767132 | 0.072367 | 0 | 0.663446 | 0 | 0.00161 | 0.220203 | 0.026813 | 0 | 0 | 0 | 0.000897 | 0.151369 | 1 | 0.061192 | false | 0 | 0.014493 | 0 | 0.075684 | 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 |
f9604e24b12d8e712f3c024e8436affe74d4f9c2 | 256 | py | Python | pygdpr/specifications/not_reached_100_secs_translate_quota_specification.py | GDPRxiv/crawler | 178ef9ff6c3641ba8b761a49e42c2579e453c1ca | [
"MIT"
] | null | null | null | pygdpr/specifications/not_reached_100_secs_translate_quota_specification.py | GDPRxiv/crawler | 178ef9ff6c3641ba8b761a49e42c2579e453c1ca | [
"MIT"
] | 2 | 2022-02-19T06:56:03.000Z | 2022-02-19T07:00:00.000Z | pygdpr/specifications/not_reached_100_secs_translate_quota_specification.py | GDPRxiv/crawler | 178ef9ff6c3641ba8b761a49e42c2579e453c1ca | [
"MIT"
] | null | null | null | class NotReached100SecsTranslateQuotaSpec():
def __init__(self, quota_service):
self.quota_service = quota_service
def is_satisfied_by(self, quota_limit):
return (quota_limit <= self.quota_service.get_chars_per_100_secs_per_user())
| 42.666667 | 84 | 0.765625 | 32 | 256 | 5.5625 | 0.5625 | 0.202247 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02765 | 0.152344 | 256 | 5 | 85 | 51.2 | 0.792627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f988b724511fa730df0dff11993c415335351b44 | 28 | py | Python | src/simulation/test/test.py | PaulAmari/simulation | bfc98d25540f2f38081310da184ea236375ee37c | [
"MIT"
] | null | null | null | src/simulation/test/test.py | PaulAmari/simulation | bfc98d25540f2f38081310da184ea236375ee37c | [
"MIT"
] | null | null | null | src/simulation/test/test.py | PaulAmari/simulation | bfc98d25540f2f38081310da184ea236375ee37c | [
"MIT"
] | null | null | null | # TODO: implement some test
| 14 | 27 | 0.75 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.913043 | 0.892857 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dde33d4c29adf1641ba3c9914da2b7d962a9953f | 174 | py | Python | c1_2_processes/s17_ex1_21.py | zhou-zhenyi/sicp | ee6475d79a486a3bdc458378c55d0721195ea7d6 | [
"MIT"
] | null | null | null | c1_2_processes/s17_ex1_21.py | zhou-zhenyi/sicp | ee6475d79a486a3bdc458378c55d0721195ea7d6 | [
"MIT"
] | null | null | null | c1_2_processes/s17_ex1_21.py | zhou-zhenyi/sicp | ee6475d79a486a3bdc458378c55d0721195ea7d6 | [
"MIT"
] | null | null | null | from util import newl
from s15_divisor import smallest_divisor
newl()
print(smallest_divisor(199))
newl()
print(smallest_divisor(1999))
newl()
print(smallest_divisor(19999)) | 19.333333 | 40 | 0.816092 | 25 | 174 | 5.48 | 0.44 | 0.437956 | 0.372263 | 0.525547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 0.08046 | 174 | 9 | 41 | 19.333333 | 0.76875 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.375 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb147cf2b8972f9add7ce5255033ba42922a36a3 | 127 | py | Python | IOCFramework/exceptions/__init__.py | Dino16m/iocframework | a724923d3835554711017986d2bea04b0bc33232 | [
"MIT"
] | 1 | 2020-08-27T07:57:02.000Z | 2020-08-27T07:57:02.000Z | build/lib/IOCFramework/exceptions/__init__.py | Dino16m/iocframework | a724923d3835554711017986d2bea04b0bc33232 | [
"MIT"
] | null | null | null | build/lib/IOCFramework/exceptions/__init__.py | Dino16m/iocframework | a724923d3835554711017986d2bea04b0bc33232 | [
"MIT"
] | null | null | null | from .BindingResolutionException import BindingResolutionException
from .NameResolutionException import NameResolutionException | 63.5 | 66 | 0.929134 | 8 | 127 | 14.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055118 | 127 | 2 | 67 | 63.5 | 0.983333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3495adaae901218d6abafd6714fdd6ba136b6028 | 197 | py | Python | python/py-regex/validate-a-roman-number.py | feliposz/hackerrank-solutions | fb1d63ca12a0d289362c9b3fb4cb0b79ef73f72f | [
"MIT"
] | null | null | null | python/py-regex/validate-a-roman-number.py | feliposz/hackerrank-solutions | fb1d63ca12a0d289362c9b3fb4cb0b79ef73f72f | [
"MIT"
] | null | null | null | python/py-regex/validate-a-roman-number.py | feliposz/hackerrank-solutions | fb1d63ca12a0d289362c9b3fb4cb0b79ef73f72f | [
"MIT"
] | null | null | null | regex_pattern = r"^M{0,3}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$" # Do not delete 'r'.
# Symbol I V X L C D M
# Value 1 5 10 50 100 500 1000
| 24.625 | 96 | 0.441624 | 44 | 197 | 1.954545 | 0.681818 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192 | 0.365482 | 197 | 7 | 97 | 28.142857 | 0.496 | 0.558376 | 0 | 0 | 0 | 1 | 0.7 | 0.7 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9b448479a5dbb428f430cb16658d6f03bed4be0d | 160 | py | Python | generated-libraries/python/netapp/diagnosis/hm_subsystem.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/diagnosis/hm_subsystem.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/diagnosis/hm_subsystem.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | class HmSubsystem(basestring):
"""
Health Monitor Subsystem
"""
@staticmethod
def get_api_name():
return "hm-subsystem"
| 16 | 31 | 0.575 | 14 | 160 | 6.428571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.325 | 160 | 9 | 32 | 17.777778 | 0.833333 | 0.15 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9ba75c85a25ee8dd7528ed41a9f658af5ca05357 | 146 | py | Python | exercicios-Python/ex003.py | marcelo-py/Exercicios-Python | d654d54821983897dbc377a2d3db97671dd75b5b | [
"MIT"
] | null | null | null | exercicios-Python/ex003.py | marcelo-py/Exercicios-Python | d654d54821983897dbc377a2d3db97671dd75b5b | [
"MIT"
] | null | null | null | exercicios-Python/ex003.py | marcelo-py/Exercicios-Python | d654d54821983897dbc377a2d3db97671dd75b5b | [
"MIT"
] | null | null | null | nome = input('\033[7;30mOlá, como você se chama?\033[m')
print('\033[35mBem vindo, \033[32m{},\033[m \033[35mprazer em te conhecer'.format(nome))
| 48.666667 | 88 | 0.691781 | 26 | 146 | 3.884615 | 0.730769 | 0.079208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 0.09589 | 146 | 2 | 89 | 73 | 0.560606 | 0 | 0 | 0 | 0 | 0.5 | 0.726027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
32e90483e9b845fa93aafe0969fd3ebf3e02054c | 2,695 | py | Python | platforms.py | KasiaWo/Rabbit_Bobble | 89afbaa4f8b46e20ad33e9c410f50c85ddae747b | [
"MIT"
] | null | null | null | platforms.py | KasiaWo/Rabbit_Bobble | 89afbaa4f8b46e20ad33e9c410f50c85ddae747b | [
"MIT"
] | null | null | null | platforms.py | KasiaWo/Rabbit_Bobble | 89afbaa4f8b46e20ad33e9c410f50c85ddae747b | [
"MIT"
] | null | null | null | """
Module for managing platforms.
"""
import pygame
import constants as const
from spritesheet_functions import SpriteSheet
GRASS_LEFT = (576, 360, 70, 40)
GRASS_RIGHT = (576, 216, 70, 40)
GRASS_MIDDLE = (576, 288, 70, 40)
STONE_PLATFORM_LEFT = (432, 720, 70, 40)
STONE_PLATFORM_MI... | 35.933333 | 77 | 0.565492 | 314 | 2,695 | 4.592357 | 0.235669 | 0.160194 | 0.156033 | 0.047157 | 0.816921 | 0.789182 | 0.789182 | 0.789182 | 0.789182 | 0.789182 | 0 | 0.048488 | 0.349536 | 2,695 | 75 | 78 | 35.933333 | 0.774102 | 0.228571 | 0 | 0.648649 | 0 | 0 | 0.03211 | 0.03211 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081081 | false | 0 | 0.081081 | 0 | 0.243243 | 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 |
32fc8b732e6682304aed6e0209bb0d7e6eaa1e6e | 235 | py | Python | miniboone/__init__.py | david-siqi-liu/miniboone | 50316c2f0a1e4ae6cef0518f5c6bba3e61854401 | [
"MIT"
] | null | null | null | miniboone/__init__.py | david-siqi-liu/miniboone | 50316c2f0a1e4ae6cef0518f5c6bba3e61854401 | [
"MIT"
] | null | null | null | miniboone/__init__.py | david-siqi-liu/miniboone | 50316c2f0a1e4ae6cef0518f5c6bba3e61854401 | [
"MIT"
] | null | null | null | import logging
from miniboone.build_features import *
from miniboone.make_dataset import *
from miniboone.preprocessing import *
from miniboone.train_model import *
from miniboone.visualize import *
log = logging.getLogger(__name__)
| 23.5 | 38 | 0.825532 | 29 | 235 | 6.448276 | 0.517241 | 0.347594 | 0.406417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114894 | 235 | 9 | 39 | 26.111111 | 0.899038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 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 |
32ff5820c698a2ea822c9b9e775607704f9ae4dd | 192 | py | Python | src/onevision/models/classification/resnet/__init__.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | 2 | 2022-03-28T09:46:38.000Z | 2022-03-28T14:12:32.000Z | src/onevision/models/classification/resnet/__init__.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | src/onevision/models/classification/resnet/__init__.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
"""
from __future__ import annotations
from .configs import *
from .resnet import *
from .resnet_ibn import *
from .se_resnet_ibn import *
| 14.769231 | 34 | 0.6875 | 26 | 192 | 4.807692 | 0.576923 | 0.24 | 0.256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00625 | 0.166667 | 192 | 12 | 35 | 16 | 0.775 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
fd22f748154434bd6f1b8698598ba5ec27eb5eb4 | 54 | py | Python | python/testData/refactoring/move/updatingNamesInFromImportsRespectsOrder/before/src/dst.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/move/updatingNamesInFromImportsRespectsOrder/before/src/dst.py | Sajaki/intellij-community | 6748af2c40567839d11fd652ec77ba263c074aad | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/refactoring/move/updatingNamesInFromImportsRespectsOrder/before/src/dst.py | bradleesand/intellij-community | 750ff9c10333c9c1278c00dbe8d88c877b1b9749 | [
"Apache-2.0"
] | 1 | 2020-10-15T05:56:42.000Z | 2020-10-15T05:56:42.000Z | from lib import a, c
def another():
return a, c
| 9 | 20 | 0.611111 | 10 | 54 | 3.3 | 0.8 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 54 | 5 | 21 | 10.8 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
fd41205360f6d1331af0d7925f4264a23dd26555 | 32 | py | Python | tests/postag/__init__.py | zavliju/nlp-id | c3dac7d4b79856ad1f80f384af750bfe851fa259 | [
"MIT"
] | 46 | 2019-11-26T00:35:31.000Z | 2022-03-01T08:05:26.000Z | tests/postag/__init__.py | zavliju/nlp-id | c3dac7d4b79856ad1f80f384af750bfe851fa259 | [
"MIT"
] | 1 | 2022-03-13T18:09:02.000Z | 2022-03-13T18:09:02.000Z | tests/postag/__init__.py | zavliju/nlp-id | c3dac7d4b79856ad1f80f384af750bfe851fa259 | [
"MIT"
] | 10 | 2019-11-23T11:25:35.000Z | 2022-03-31T07:11:17.000Z | from nlp_id.postag import PosTag | 32 | 32 | 0.875 | 6 | 32 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.931034 | 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 |
bd0cf73874521c6364434479d33e1712bfafb75d | 18 | py | Python | fasterraster/flo/__init__.py | asenogles/fasterraster | 23330a21082477eb441bd376d9fac34afa9012d7 | [
"BSD-3-Clause"
] | null | null | null | fasterraster/flo/__init__.py | asenogles/fasterraster | 23330a21082477eb441bd376d9fac34afa9012d7 | [
"BSD-3-Clause"
] | null | null | null | fasterraster/flo/__init__.py | asenogles/fasterraster | 23330a21082477eb441bd376d9fac34afa9012d7 | [
"BSD-3-Clause"
] | null | null | null | from .flo import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 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 |
1fa244beb5be4e0575e5a58725fddf891be74772 | 39 | py | Python | api/__init__.py | oscar-davids/verification-classifier | b65546221932036b9cd1e834de4b6fb5e7f39539 | [
"MIT"
] | 8 | 2019-06-06T08:16:45.000Z | 2021-06-26T11:53:48.000Z | api/__init__.py | oscar-davids/verification-classifier | b65546221932036b9cd1e834de4b6fb5e7f39539 | [
"MIT"
] | 95 | 2019-03-27T08:36:01.000Z | 2022-02-10T00:15:20.000Z | api/__init__.py | oscar-davids/verification-classifier | b65546221932036b9cd1e834de4b6fb5e7f39539 | [
"MIT"
] | 8 | 2019-02-28T11:21:46.000Z | 2022-03-21T07:34:20.000Z | from .api import APP, start_dev_server
| 19.5 | 38 | 0.820513 | 7 | 39 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.882353 | 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 |
1fff2dcc68caf009c7d2a336484ff77804865d4d | 104 | py | Python | kmeans/__init__.py | aroques/k-means | 7c85f1e5d25a44d94cedae083b00747ae770bb07 | [
"MIT"
] | null | null | null | kmeans/__init__.py | aroques/k-means | 7c85f1e5d25a44d94cedae083b00747ae770bb07 | [
"MIT"
] | null | null | null | kmeans/__init__.py | aroques/k-means | 7c85f1e5d25a44d94cedae083b00747ae770bb07 | [
"MIT"
] | null | null | null | from .kmeans import KMeans
from .bisecting_kmeans import BisectingKMeans
from .utils import print_report | 34.666667 | 45 | 0.865385 | 14 | 104 | 6.285714 | 0.571429 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 104 | 3 | 46 | 34.666667 | 0.946237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 1 | 0 | 0 | null | 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 |
951ca44b2932ad6ec60a2b4b9ff4ab1633c789af | 127 | py | Python | tests/data/dummy.py | Purefekt/signature_detection | 7fdfb687729f73792f56fd35696fd5abb06eedb8 | [
"MIT"
] | 10 | 2021-04-20T18:48:13.000Z | 2022-02-09T02:53:01.000Z | tests/data/dummy.py | lirilkumar/signature_detection | 7fdfb687729f73792f56fd35696fd5abb06eedb8 | [
"MIT"
] | 5 | 2021-08-13T20:29:19.000Z | 2021-09-15T08:18:58.000Z | tests/data/dummy.py | lirilkumar/signature_detection | 7fdfb687729f73792f56fd35696fd5abb06eedb8 | [
"MIT"
] | 7 | 2021-06-05T19:08:00.000Z | 2022-03-30T07:21:06.000Z | TEST_IMAGE_PATH = "./data/signed_image.jpeg"
TEST_PDF_PATH = "./data/signed_file.pdf"
TEST_TIF_PATH = "./data/signed_image.tif" | 42.333333 | 44 | 0.771654 | 21 | 127 | 4.238095 | 0.428571 | 0.269663 | 0.47191 | 0.426966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062992 | 127 | 3 | 45 | 42.333333 | 0.747899 | 0 | 0 | 0 | 0 | 0 | 0.539063 | 0.539063 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20fa8416c79d403eb076f6deda7b08ee3a8c2a21 | 34 | py | Python | mongomail/db/__init__.py | terrabitz/MongoMail | 8c7321540fde534e29451c603d22dcad4d2b77c5 | [
"MIT"
] | null | null | null | mongomail/db/__init__.py | terrabitz/MongoMail | 8c7321540fde534e29451c603d22dcad4d2b77c5 | [
"MIT"
] | 7 | 2017-07-03T15:31:10.000Z | 2017-07-03T19:07:18.000Z | mongomail/db/__init__.py | terrabitz/MongoMail | 8c7321540fde534e29451c603d22dcad4d2b77c5 | [
"MIT"
] | null | null | null | from .mongo import MongoConnection | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 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 |
1f769b88660b3654366b42d0e7192cf457fb88ec | 36 | py | Python | l17z1.py | hubieva-a/lab17 | b7794247d812a9b8109fa4ccf647cd75c0e61a7e | [
"MIT"
] | null | null | null | l17z1.py | hubieva-a/lab17 | b7794247d812a9b8109fa4ccf647cd75c0e61a7e | [
"MIT"
] | null | null | null | l17z1.py | hubieva-a/lab17 | b7794247d812a9b8109fa4ccf647cd75c0e61a7e | [
"MIT"
] | null | null | null | import point.py
import x_and_y.py
| 12 | 18 | 0.777778 | 8 | 36 | 3.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 2 | 19 | 18 | 0.866667 | 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 |
1f8bb009fa6f813802e4ca4e792a39c0eaec032a | 9,361 | py | Python | tests/test_cli.py | LeadingEDJE/stackmanager | 655c8d586e64e1512a8a6ed179ea71098ea08c42 | [
"MIT"
] | 8 | 2020-07-02T12:35:11.000Z | 2022-01-18T21:59:19.000Z | tests/test_cli.py | LeadingEDJE/stackmanager | 655c8d586e64e1512a8a6ed179ea71098ea08c42 | [
"MIT"
] | 37 | 2020-07-01T15:18:38.000Z | 2022-01-18T21:56:19.000Z | tests/test_cli.py | LeadingEDJE/stackmanager | 655c8d586e64e1512a8a6ed179ea71098ea08c42 | [
"MIT"
] | null | null | null | import pytest
from click.testing import CliRunner
from stackmanager.cli import cli
from stackmanager.config import Config
from unittest.mock import patch
@pytest.fixture
def config():
return Config({})
def test_deploy(config):
with patch('stackmanager.cli.load_config') as load_config:
... | 51.153005 | 121 | 0.579318 | 1,039 | 9,361 | 4.959577 | 0.101059 | 0.065981 | 0.096255 | 0.097031 | 0.804192 | 0.797206 | 0.766738 | 0.765962 | 0.743062 | 0.691442 | 0 | 0.007881 | 0.281594 | 9,361 | 182 | 122 | 51.434066 | 0.758364 | 0 | 0 | 0.520833 | 0 | 0 | 0.207866 | 0.078549 | 0 | 0 | 0 | 0 | 0.298611 | 1 | 0.083333 | false | 0 | 0.034722 | 0.006944 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2f1c4d3dedcb91fc72eba4a74db4a7b06568c3d4 | 2,558 | py | Python | epytope/Data/pssms/smm/mat/B_27_05_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/B_27_05_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/B_27_05_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_27_05_10 = {0: {'A': 0.161, 'C': 0.009, 'E': 0.084, 'D': 0.287, 'G': -0.103, 'F': -0.161, 'I': -0.182, 'H': -0.02, 'K': -0.121, 'M': 0.047, 'L': 0.081, 'N': 0.064, 'Q': 0.087, 'P': 0.242, 'S': 0.099, 'R': -0.61, 'T': 0.218, 'W': -0.172, 'V': 0.02, 'Y': -0.03}, 1: {'A': 0.162, 'C': 0.309, 'E': -0.025, 'D': 0.105, 'G':... | 2,558 | 2,558 | 0.39484 | 618 | 2,558 | 1.62945 | 0.29288 | 0.019861 | 0.00993 | 0.011917 | 0.041708 | 0 | 0 | 0 | 0 | 0 | 0 | 0.374534 | 0.161845 | 2,558 | 1 | 2,558 | 2,558 | 0.095149 | 0 | 0 | 0 | 0 | 0 | 0.079328 | 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 |
2f3b10a11a7dca2293f50e42ac91aeae1a948a63 | 14,398 | py | Python | src/python/LuisaCompute/_internal/runtime.py | Mike-Leo-Smith/LuisaCompute | 232c0039bffb743d3bb5dfffc40d37a39dcd7570 | [
"BSD-3-Clause"
] | 31 | 2020-11-21T08:16:53.000Z | 2021-09-05T13:46:32.000Z | src/python/LuisaCompute/_internal/runtime.py | Mike-Leo-Smith/LuisaCompute | 232c0039bffb743d3bb5dfffc40d37a39dcd7570 | [
"BSD-3-Clause"
] | 1 | 2021-03-08T04:15:26.000Z | 2021-03-19T04:40:02.000Z | src/python/LuisaCompute/_internal/runtime.py | Mike-Leo-Smith/LuisaCompute | 232c0039bffb743d3bb5dfffc40d37a39dcd7570 | [
"BSD-3-Clause"
] | 4 | 2020-12-02T09:41:22.000Z | 2021-03-06T06:36:40.000Z | from ctypes import c_void_p, c_char_p, c_int, c_int32, c_uint32, c_int64, c_uint64, c_size_t
from .config import dll
dll.luisa_compute_free_c_string.restype = None
dll.luisa_compute_free_c_string.argtypes = [c_char_p]
def free_c_string(cs):
dll.luisa_compute_free_c_string(cs.encode())
dll.luisa_compute_contex... | 34.362768 | 200 | 0.829351 | 2,317 | 14,398 | 4.655589 | 0.044022 | 0.115695 | 0.216928 | 0.134606 | 0.963104 | 0.890887 | 0.733197 | 0.603412 | 0.483545 | 0.366645 | 0 | 0.018344 | 0.091332 | 14,398 | 418 | 201 | 34.444976 | 0.806161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.247619 | false | 0 | 0.009524 | 0.138095 | 0.395238 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.