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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2299e7cf47da75cd56291fb736b22764f44b82e7 | 166 | py | Python | sbalance/__init__.py | puttsk/slurm-sbalance | 4e46e57104289237ebd649529eb152b05bd8b63c | [
"MIT"
] | 3 | 2019-02-18T07:13:49.000Z | 2021-04-25T11:58:19.000Z | sbalance/__init__.py | thaisc-hpc/slurm-sbalance | f23c3f2c653ed254b70ec80a4d56a025c7f382ca | [
"MIT"
] | 2 | 2020-03-24T16:46:33.000Z | 2020-03-31T01:33:44.000Z | sbalance/__init__.py | thaisc-hpc/slurm-sbalance | f23c3f2c653ed254b70ec80a4d56a025c7f382ca | [
"MIT"
] | 1 | 2020-01-22T07:32:00.000Z | 2020-01-22T07:32:00.000Z | from .sbalance import main
from .config import __version__, __author__, __license__
name = "sbalance"
__all__ = ['__version__', '__author__', '__license__', 'main'] | 27.666667 | 62 | 0.753012 | 17 | 166 | 5.705882 | 0.588235 | 0.268041 | 0.412371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 166 | 6 | 62 | 27.666667 | 0.664384 | 0 | 0 | 0 | 0 | 0 | 0.263473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 5 |
22a2d205aff8289dad59cd545543502f7d11c45b | 112 | py | Python | skimage/viewer/canvastools/__init__.py | RKDSOne/scikit-image | baa67eafcace9cde1b94ad2d467e2f2e0468e759 | [
"BSD-3-Clause"
] | 1 | 2020-12-27T18:42:22.000Z | 2020-12-27T18:42:22.000Z | skimage/viewer/canvastools/__init__.py | RKDSOne/scikit-image | baa67eafcace9cde1b94ad2d467e2f2e0468e759 | [
"BSD-3-Clause"
] | null | null | null | skimage/viewer/canvastools/__init__.py | RKDSOne/scikit-image | baa67eafcace9cde1b94ad2d467e2f2e0468e759 | [
"BSD-3-Clause"
] | 2 | 2015-12-29T17:04:26.000Z | 2020-10-17T15:47:30.000Z | from linetool import LineTool, ThickLineTool
from recttool import RectangleTool
from painttool import PaintTool
| 28 | 44 | 0.875 | 13 | 112 | 7.538462 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116071 | 112 | 3 | 45 | 37.333333 | 0.989899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
22c5d4eb297acc556501fc2f1cea4d08a17817b0 | 311 | py | Python | src/endpoints.py | sarthakgupta072/fcApp | 442b353f2451614b2eca3ee38a70e75e9c0d305c | [
"Apache-2.0"
] | null | null | null | src/endpoints.py | sarthakgupta072/fcApp | 442b353f2451614b2eca3ee38a70e75e9c0d305c | [
"Apache-2.0"
] | null | null | null | src/endpoints.py | sarthakgupta072/fcApp | 442b353f2451614b2eca3ee38a70e75e9c0d305c | [
"Apache-2.0"
] | null | null | null | def getPeople():
""" In practice, here I would have a reference of a collection in the
database. The collection can be stored in a variable like config
of the app, and later retrieved here using current_app module of
Flask. Then on that collection we can perform a query. """
return 'Hello'
| 44.428571 | 73 | 0.720257 | 50 | 311 | 4.46 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228296 | 311 | 6 | 74 | 51.833333 | 0.929167 | 0.803859 | 0 | 0 | 0 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
22c8e67e31f88383130be422dad0a152dc870ca7 | 16 | py | Python | test/login.py | ljh105/django-object | 25db85876bc2e32257253ca40adf9131e675d88d | [
"MIT"
] | null | null | null | test/login.py | ljh105/django-object | 25db85876bc2e32257253ca40adf9131e675d88d | [
"MIT"
] | null | null | null | test/login.py | ljh105/django-object | 25db85876bc2e32257253ca40adf9131e675d88d | [
"MIT"
] | null | null | null | 第一行 立项
num=100
| 5.333333 | 7 | 0.6875 | 4 | 16 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 16 | 2 | 8 | 8 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
22eb64cd4f77163ce6d4aa362a4b625cf967a3e0 | 182 | py | Python | nimare/base/misc.py | Julio-Yanes/NiMARE | 36bb05034041998519814b55fe402489147fdd63 | [
"MIT"
] | null | null | null | nimare/base/misc.py | Julio-Yanes/NiMARE | 36bb05034041998519814b55fe402489147fdd63 | [
"MIT"
] | null | null | null | nimare/base/misc.py | Julio-Yanes/NiMARE | 36bb05034041998519814b55fe402489147fdd63 | [
"MIT"
] | null | null | null | """
Miscellaneous base classes.
"""
from .estimators import Estimator
class Parcellator(Estimator):
"""
Base class for meta-analytic parcellation methods.
"""
pass
| 15.166667 | 54 | 0.686813 | 18 | 182 | 6.944444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208791 | 182 | 11 | 55 | 16.545455 | 0.868056 | 0.428571 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
a3c1d3445bc9458a29dda990f9d434f218ffa249 | 17 | py | Python | neo_autoscript/__init__.py | jakovsch/NEO-Autoscript | 046f1c87595051dabd320b457aa010871eb96f02 | [
"MIT"
] | null | null | null | neo_autoscript/__init__.py | jakovsch/NEO-Autoscript | 046f1c87595051dabd320b457aa010871eb96f02 | [
"MIT"
] | null | null | null | neo_autoscript/__init__.py | jakovsch/NEO-Autoscript | 046f1c87595051dabd320b457aa010871eb96f02 | [
"MIT"
] | null | null | null | # NEO-Autoscript
| 8.5 | 16 | 0.764706 | 2 | 17 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 17 | 1 | 17 | 17 | 0.866667 | 0.823529 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a3daffaf8e7522fcacae64b8e90c05dacd583c55 | 49 | py | Python | app/shops/exceptions.py | ExiledNarwal28/glo-2005-project | 3b5b5f9cdcfe53d1e6e702609587068c4bd3310d | [
"MIT"
] | null | null | null | app/shops/exceptions.py | ExiledNarwal28/glo-2005-project | 3b5b5f9cdcfe53d1e6e702609587068c4bd3310d | [
"MIT"
] | null | null | null | app/shops/exceptions.py | ExiledNarwal28/glo-2005-project | 3b5b5f9cdcfe53d1e6e702609587068c4bd3310d | [
"MIT"
] | 1 | 2020-05-21T10:07:07.000Z | 2020-05-21T10:07:07.000Z | class ShopNotFoundException(Exception):
pass
| 16.333333 | 39 | 0.795918 | 4 | 49 | 9.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 40 | 24.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
43188688def3c5170fde2991efcc940df0795a45 | 240 | py | Python | problems/art/solutions/figlet3.py | lucidsoftware/lucid-programming-competition-2018 | be22bff0f0d1b008f5729c0b6e5e2adb08925c96 | [
"Apache-2.0"
] | 2 | 2019-03-05T22:35:47.000Z | 2019-03-05T22:35:55.000Z | problems/art/solutions/figlet3.py | lucidsoftware/lucid-programming-competition-2018 | be22bff0f0d1b008f5729c0b6e5e2adb08925c96 | [
"Apache-2.0"
] | 2 | 2020-07-16T21:55:43.000Z | 2021-05-08T12:14:05.000Z | problems/art/solutions/figlet3.py | lucidsoftware/lucid-programming-competition-2018 | be22bff0f0d1b008f5729c0b6e5e2adb08925c96 | [
"Apache-2.0"
] | 4 | 2019-03-08T01:42:00.000Z | 2021-01-28T03:01:34.000Z | import sys
(lambda s, n, h, font : print(([font.update({input():[sys.stdin.readline()[:-1] for _ in range(h)]}) for _ in range(n)] and '\n').join(''.join([font[c][r] for c in s]) for r in range(h))))(input(), int(input()), int(input()), {}) | 120 | 229 | 0.5875 | 44 | 240 | 3.159091 | 0.477273 | 0.151079 | 0.143885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004739 | 0.120833 | 240 | 2 | 229 | 120 | 0.654028 | 0 | 0 | 0 | 0 | 0 | 0.008299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
4a65b6425f1991295996c8aba1108e251cecc37f | 392 | py | Python | wqxlib/WQXSample.py | FlippingBinary/wqxlib-python | 5aa1d41384928f1faca47d5984485e2efa93174c | [
"MIT"
] | null | null | null | wqxlib/WQXSample.py | FlippingBinary/wqxlib-python | 5aa1d41384928f1faca47d5984485e2efa93174c | [
"MIT"
] | null | null | null | wqxlib/WQXSample.py | FlippingBinary/wqxlib-python | 5aa1d41384928f1faca47d5984485e2efa93174c | [
"MIT"
] | null | null | null | from .wqx_v3_0 import ReferenceMethod, SampleDescription
class WQXSample(SampleDescription, ReferenceMethod):
def __init__(self):
ReferenceMethod.__init__(self)
SampleDescription.__init__(self)
def __enter__(self):
return self
def __exit__(self, exception_type, excepti... | 28 | 78 | 0.704082 | 40 | 392 | 6.275 | 0.625 | 0.095618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.229592 | 392 | 13 | 79 | 30.153846 | 0.824503 | 0.053571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0.333333 | false | 0.111111 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
4a7e62ff710883029b65d48460504365f109519f | 42 | py | Python | cygraphblas/wrappertypes/ss.py | eriknw/cygraphblas | 81ae37591ec38aa698d5f37716464a6c366076f9 | [
"Apache-2.0"
] | 3 | 2020-09-03T21:47:25.000Z | 2021-08-06T20:24:19.000Z | cygraphblas/wrappertypes/ss.py | eriknw/cygraphblas | 81ae37591ec38aa698d5f37716464a6c366076f9 | [
"Apache-2.0"
] | null | null | null | cygraphblas/wrappertypes/ss.py | eriknw/cygraphblas | 81ae37591ec38aa698d5f37716464a6c366076f9 | [
"Apache-2.0"
] | 2 | 2020-09-03T21:47:52.000Z | 2021-08-06T20:24:20.000Z | from cygraphblas_ss.wrappertypes import *
| 21 | 41 | 0.857143 | 5 | 42 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.921053 | 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 | 0 | 0 | 0 | 5 |
4a95920e1702d7a72347528167dd2cb08a0866f7 | 82 | py | Python | backend/mmlp/middleware/__init__.py | magreiner/MMLP | 23113866d8d0062c8c0e54c7fa5a0bbd0fa15f4e | [
"Apache-2.0"
] | null | null | null | backend/mmlp/middleware/__init__.py | magreiner/MMLP | 23113866d8d0062c8c0e54c7fa5a0bbd0fa15f4e | [
"Apache-2.0"
] | null | null | null | backend/mmlp/middleware/__init__.py | magreiner/MMLP | 23113866d8d0062c8c0e54c7fa5a0bbd0fa15f4e | [
"Apache-2.0"
] | null | null | null | from .CustomMiddleware import CustomMiddleware
from .HandleCORS import HandleCORS
| 27.333333 | 46 | 0.878049 | 8 | 82 | 9 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 82 | 2 | 47 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
4a996dcb4d6e0270c1dfad55788f56fa8b1c540c | 9,755 | py | Python | tests/app/dao/test_service_letter_contact_dao.py | alphagov-mirror/notifications-api | 4a2e47b118c51f0ad45e87c89521f6087b1fcc2f | [
"MIT"
] | 51 | 2016-04-03T23:36:17.000Z | 2022-03-21T20:04:52.000Z | tests/app/dao/test_service_letter_contact_dao.py | alphagov-mirror/notifications-api | 4a2e47b118c51f0ad45e87c89521f6087b1fcc2f | [
"MIT"
] | 1,335 | 2015-12-15T14:28:50.000Z | 2022-03-30T16:24:27.000Z | tests/app/dao/test_service_letter_contact_dao.py | alphagov-mirror/notifications-api | 4a2e47b118c51f0ad45e87c89521f6087b1fcc2f | [
"MIT"
] | 30 | 2016-01-08T19:05:32.000Z | 2021-12-20T16:37:23.000Z | import uuid
import pytest
from sqlalchemy.exc import SQLAlchemyError
from app.dao.service_letter_contact_dao import (
add_letter_contact_for_service,
archive_letter_contact,
dao_get_letter_contact_by_id,
dao_get_letter_contacts_by_service_id,
update_letter_contact,
)
from app.models import Service... | 39.176707 | 118 | 0.788929 | 1,328 | 9,755 | 5.35994 | 0.081325 | 0.200899 | 0.084293 | 0.084012 | 0.804439 | 0.7644 | 0.717336 | 0.695139 | 0.659455 | 0.62349 | 0 | 0.015775 | 0.135725 | 9,755 | 248 | 119 | 39.334677 | 0.82849 | 0 | 0 | 0.411429 | 0 | 0 | 0.073501 | 0 | 0 | 0 | 0 | 0 | 0.251429 | 1 | 0.102857 | false | 0 | 0.034286 | 0 | 0.137143 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 5 |
4ab2edb66b97c8c682623a92ec1dcf320ac21b84 | 239 | py | Python | src/wea/shared_memory/__init__.py | casabre/WrappedExchangeArray.py | 856ca456a59708122503f258e00c0baa46fe0832 | [
"MIT"
] | null | null | null | src/wea/shared_memory/__init__.py | casabre/WrappedExchangeArray.py | 856ca456a59708122503f258e00c0baa46fe0832 | [
"MIT"
] | 1 | 2021-05-18T20:40:19.000Z | 2021-05-18T20:40:19.000Z | src/wea/shared_memory/__init__.py | casabre/wea.py | 856ca456a59708122503f258e00c0baa46fe0832 | [
"MIT"
] | null | null | null | """
Shared Memory Wrapped Exchange Array
"""
from .shared_exchange_array import SharedExchangeArray,\
create_shared_array, attach_shared_array
__all__ = ['SharedExchangeArray',
'create_shared_array', 'attach_shared_array']
| 26.555556 | 56 | 0.769874 | 25 | 239 | 6.8 | 0.44 | 0.258824 | 0.364706 | 0.423529 | 0.623529 | 0.623529 | 0.623529 | 0 | 0 | 0 | 0 | 0 | 0.142259 | 239 | 8 | 57 | 29.875 | 0.829268 | 0.150628 | 0 | 0 | 0 | 0 | 0.292308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4abb12748191f37e3d6a74eb5ff5559ce22dbbd8 | 67 | py | Python | src/flotilla/db/__init__.py | pebble/flotilla | 23d9b3aefd8312879549c50e52ea73f3e3f493be | [
"MIT"
] | 5 | 2016-01-01T15:50:21.000Z | 2018-11-27T17:38:15.000Z | src/flotilla/db/__init__.py | pebble/flotilla | 23d9b3aefd8312879549c50e52ea73f3e3f493be | [
"MIT"
] | 27 | 2015-12-17T07:49:56.000Z | 2018-07-13T15:06:33.000Z | src/flotilla/db/__init__.py | pebble/flotilla | 23d9b3aefd8312879549c50e52ea73f3e3f493be | [
"MIT"
] | 7 | 2015-12-01T22:04:24.000Z | 2021-11-28T13:21:35.000Z | from .tables import DynamoDbTables
from .lock import DynamoDbLocks
| 22.333333 | 34 | 0.850746 | 8 | 67 | 7.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 2 | 35 | 33.5 | 0.966102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
4349240c773878034c728afae7e041cc8cf5f64e | 130 | py | Python | ligolike/__init__.py | grburgess/ligolike | 54a28a39f6b7092212ddf9f259d6e56d1747d608 | [
"BSD-3-Clause"
] | null | null | null | ligolike/__init__.py | grburgess/ligolike | 54a28a39f6b7092212ddf9f259d6e56d1747d608 | [
"BSD-3-Clause"
] | null | null | null | ligolike/__init__.py | grburgess/ligolike | 54a28a39f6b7092212ddf9f259d6e56d1747d608 | [
"BSD-3-Clause"
] | null | null | null | from .healpix_map_like import HEALPixMapLike
from .ligo_map_like import LIGOMapLike
__all__ = ['HEALPixMapLike', 'LIGOMapLike']
| 21.666667 | 44 | 0.815385 | 15 | 130 | 6.533333 | 0.6 | 0.142857 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 130 | 5 | 45 | 26 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
435c4158e9b579d63b88d002ad51317a3ef930e2 | 80 | py | Python | tasks/parsing/train.py | rasmusbergpalm/attend-copy-parse | 4673be36db64e982ceabc1e29ff34a296917f969 | [
"MIT"
] | 8 | 2021-05-11T12:12:23.000Z | 2022-02-10T09:56:14.000Z | tasks/parsing/train.py | karimcossentini/attend-copy-parse | 4acbe7bfc2be1b5c21c197a44b27143a9422b426 | [
"MIT"
] | 3 | 2021-08-11T06:44:56.000Z | 2022-03-14T09:16:03.000Z | tasks/parsing/train.py | rasmusbergpalm/attend-copy-parse | 4673be36db64e982ceabc1e29ff34a296917f969 | [
"MIT"
] | 2 | 2021-05-22T07:41:21.000Z | 2021-05-26T12:39:02.000Z | import trainer
from tasks.parsing.parser import Parser
trainer.train(Parser())
| 16 | 39 | 0.8125 | 11 | 80 | 5.909091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 4 | 40 | 20 | 0.902778 | 0 | 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 | 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 | 5 |
436048a9946b5e53a5477e991acd852d89403ae9 | 1,438 | py | Python | CacheDBWrapper.py | chong601/PyStackOverflow | 0556b7cd74e3bb0c0433aa2f26ea2c1bfe280b85 | [
"MIT"
] | null | null | null | CacheDBWrapper.py | chong601/PyStackOverflow | 0556b7cd74e3bb0c0433aa2f26ea2c1bfe280b85 | [
"MIT"
] | null | null | null | CacheDBWrapper.py | chong601/PyStackOverflow | 0556b7cd74e3bb0c0433aa2f26ea2c1bfe280b85 | [
"MIT"
] | null | null | null | from ExampleStackOverflowRest import Response, db_cache, db
def get_responses_by_page(req, page_number, size_per_page):
if db_cache.check(req):
return db_cache.get(req)
result = db.session.query(Response).paginate(page=page_number, per_page=size_per_page, error_out=False).items
db.session.remove()... | 33.44186 | 120 | 0.700974 | 208 | 1,438 | 4.557692 | 0.163462 | 0.103376 | 0.068565 | 0.084388 | 0.772152 | 0.772152 | 0.772152 | 0.772152 | 0.772152 | 0.772152 | 0 | 0 | 0.197497 | 1,438 | 42 | 121 | 34.238095 | 0.82149 | 0 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0 | 0.03125 | 0.03125 | 0.46875 | 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 | 0 | 0 | 0 | 5 |
4373f91da44b672698d63e450eccd3f30d84bfeb | 79 | py | Python | code/models/stacked_classification.py | ikhlo/LinkPrediction_Kaggle | 377dd1e266111aa71866e62417827d9ef29d140b | [
"MIT"
] | null | null | null | code/models/stacked_classification.py | ikhlo/LinkPrediction_Kaggle | 377dd1e266111aa71866e62417827d9ef29d140b | [
"MIT"
] | null | null | null | code/models/stacked_classification.py | ikhlo/LinkPrediction_Kaggle | 377dd1e266111aa71866e62417827d9ef29d140b | [
"MIT"
] | null | null | null | class StackModel():
def __init__(self, models:list) -> None:
pass | 26.333333 | 45 | 0.607595 | 9 | 79 | 4.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265823 | 79 | 3 | 46 | 26.333333 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
43ad2a2fd420e685447b1dc5a39efe237e51543f | 218 | py | Python | regparser/tree/supplement.py | ascott1/regulations-parser | 1d653ec2d78c9cbfd3b0c651788e5ab14dcc76ca | [
"CC0-1.0"
] | 1 | 2019-12-29T17:52:32.000Z | 2019-12-29T17:52:32.000Z | regparser/tree/supplement.py | ascott1/regulations-parser | 1d653ec2d78c9cbfd3b0c651788e5ab14dcc76ca | [
"CC0-1.0"
] | null | null | null | regparser/tree/supplement.py | ascott1/regulations-parser | 1d653ec2d78c9cbfd3b0c651788e5ab14dcc76ca | [
"CC0-1.0"
] | null | null | null | import re
from regparser.search import find_start
def find_supplement_start(text, supplement='I'):
"""Find the start of the supplement (e.g. Supplement I)"""
return find_start(text, 'Supplement', supplement)
| 27.25 | 62 | 0.743119 | 31 | 218 | 5.096774 | 0.516129 | 0.113924 | 0.240506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 218 | 7 | 63 | 31.142857 | 0.849462 | 0.238532 | 0 | 0 | 0 | 0 | 0.06875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
43b81df9dc3ab9bfd1499b2bf21db072fa236ad8 | 34 | py | Python | settings.py | nathantreid/app-driver-client-python | 6419093632d5cad5a58acf19c602831ad8383e71 | [
"MIT"
] | 1 | 2018-04-10T00:01:55.000Z | 2018-04-10T00:01:55.000Z | settings.py | nathantreid/app-driver-client-python | 6419093632d5cad5a58acf19c602831ad8383e71 | [
"MIT"
] | null | null | null | settings.py | nathantreid/app-driver-client-python | 6419093632d5cad5a58acf19c602831ad8383e71 | [
"MIT"
] | 1 | 2018-04-10T03:24:36.000Z | 2018-04-10T03:24:36.000Z | address = '127.0.0.1'
port = 9000
| 11.333333 | 21 | 0.617647 | 7 | 34 | 3 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 0.176471 | 34 | 2 | 22 | 17 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
60149606a182a0e5e9aa7f912671026acba554d4 | 25 | py | Python | python/testData/psi/ExecPy2.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/psi/ExecPy2.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/psi/ExecPy2.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | exec 'print 1' in {}, {}
| 12.5 | 24 | 0.48 | 4 | 25 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.24 | 25 | 1 | 25 | 25 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
60304a0ae8bc41e52e7de7d725b262b6d6a78088 | 268 | py | Python | ros_programs/devel/lib/python2.7/dist-packages/ros_essentials_cpp/msg/__init__.py | pranavs1911/Robot-Operating-System-ROS-Exercises | 6ca557c588a141dd98eeb4daf90e685dadf70958 | [
"MIT"
] | null | null | null | ros_programs/devel/lib/python2.7/dist-packages/ros_essentials_cpp/msg/__init__.py | pranavs1911/Robot-Operating-System-ROS-Exercises | 6ca557c588a141dd98eeb4daf90e685dadf70958 | [
"MIT"
] | null | null | null | ros_programs/devel/lib/python2.7/dist-packages/ros_essentials_cpp/msg/__init__.py | pranavs1911/Robot-Operating-System-ROS-Exercises | 6ca557c588a141dd98eeb4daf90e685dadf70958 | [
"MIT"
] | null | null | null | from ._FibonacciAction import *
from ._FibonacciActionFeedback import *
from ._FibonacciActionGoal import *
from ._FibonacciActionResult import *
from ._FibonacciFeedback import *
from ._FibonacciGoal import *
from ._FibonacciResult import *
from ._IoTSensor import *
| 29.777778 | 39 | 0.820896 | 24 | 268 | 8.833333 | 0.416667 | 0.330189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 268 | 8 | 40 | 33.5 | 0.898305 | 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 | 0 | 0 | 0 | 5 |
60779fe4786ee3a3f5a85ea9aed7cb626e41f87d | 56 | py | Python | fly/__init__.py | liusong-cn/python | f67933f0879021a595258e09c4cde5ca1f9f6aed | [
"Apache-2.0"
] | 1 | 2019-11-12T13:38:54.000Z | 2019-11-12T13:38:54.000Z | fly/__init__.py | liusong-cn/python | f67933f0879021a595258e09c4cde5ca1f9f6aed | [
"Apache-2.0"
] | null | null | null | fly/__init__.py | liusong-cn/python | f67933f0879021a595258e09c4cde5ca1f9f6aed | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
# @auther: ls
# @date: 2021/10/14 | 18.666667 | 22 | 0.535714 | 9 | 56 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 0.160714 | 56 | 3 | 23 | 18.666667 | 0.446809 | 0.892857 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
60a664e849e60725aa7b62b7c7348b57d76356e8 | 66 | py | Python | test/io_handler_test.py | YuriChayamachi/syaroho-rating | 51a5e830365a3cc3813ada8c6b25c5d4598307fa | [
"MIT"
] | null | null | null | test/io_handler_test.py | YuriChayamachi/syaroho-rating | 51a5e830365a3cc3813ada8c6b25c5d4598307fa | [
"MIT"
] | null | null | null | test/io_handler_test.py | YuriChayamachi/syaroho-rating | 51a5e830365a3cc3813ada8c6b25c5d4598307fa | [
"MIT"
] | null | null | null | from syaroho_rating.io_handler import LocalIOHandler, S3IOHandler
| 33 | 65 | 0.893939 | 8 | 66 | 7.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.075758 | 66 | 1 | 66 | 66 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
60bad4d99603ebcffba356e1adb58938417ec072 | 170 | py | Python | lhotse/features/kaldi/__init__.py | stachu86/lhotse | d5e78154db2d4d52f15aaadc8882f76eb5b77640 | [
"Apache-2.0"
] | 353 | 2020-10-31T10:38:51.000Z | 2022-03-30T05:22:52.000Z | lhotse/features/kaldi/__init__.py | stachu86/lhotse | d5e78154db2d4d52f15aaadc8882f76eb5b77640 | [
"Apache-2.0"
] | 353 | 2020-10-27T23:25:12.000Z | 2022-03-31T22:16:05.000Z | lhotse/features/kaldi/__init__.py | stachu86/lhotse | d5e78154db2d4d52f15aaadc8882f76eb5b77640 | [
"Apache-2.0"
] | 66 | 2020-11-01T06:08:08.000Z | 2022-03-29T02:03:07.000Z | from .extractors import KaldiFbank, KaldiFbankConfig, KaldiMfcc, KaldiMfccConfig
from .layers import Wav2FFT, Wav2LogFilterBank, Wav2LogSpec, Wav2MFCC, Wav2Spec, Wav2Win
| 56.666667 | 88 | 0.847059 | 16 | 170 | 9 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0.094118 | 170 | 2 | 89 | 85 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
60c19bff2e2f028fa56336a80779ba5904101fdc | 120 | py | Python | OpenGLCffi/EGL/EXT/NV/stream_reset.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/EGL/EXT/NV/stream_reset.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/EGL/EXT/NV/stream_reset.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.EGL import params
@params(api='egl', prms=['dpy', 'stream'])
def eglResetStreamNV(dpy, stream):
pass
| 17.142857 | 42 | 0.716667 | 16 | 120 | 5.375 | 0.75 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 120 | 6 | 43 | 20 | 0.811321 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
60d8adc2a3184579ab76379432ec260525a21514 | 132 | py | Python | models/__init__.py | redperiabras/FILIPINEU | 833fd8d44c9d4de94d3433ca810a4a17831343ff | [
"MIT"
] | null | null | null | models/__init__.py | redperiabras/FILIPINEU | 833fd8d44c9d4de94d3433ca810a4a17831343ff | [
"MIT"
] | 1 | 2017-10-30T12:02:44.000Z | 2017-10-30T12:02:44.000Z | models/__init__.py | redperiabras/FILIPINEU | 833fd8d44c9d4de94d3433ca810a4a17831343ff | [
"MIT"
] | 1 | 2020-11-16T07:56:58.000Z | 2020-11-16T07:56:58.000Z | import os
import sys
import pickle
import traceback
from models.en_fl import model as en_fl
from models.fl_en import model as fl_en | 18.857143 | 39 | 0.833333 | 26 | 132 | 4.076923 | 0.423077 | 0.188679 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 7 | 40 | 18.857143 | 0.946429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
60e9b645daa2b7908e0d4d90eb0fbfce9d3305ed | 175 | py | Python | 10_pipeline/sagemaker_mlops/sagemaker-project-modelbuild/tests/test_pipelines.py | dpai/workshop | d4936da77dac759ba2bac95a9584fde8e86c6b2b | [
"Apache-2.0"
] | 2,327 | 2020-03-01T09:47:34.000Z | 2021-11-25T12:38:42.000Z | 10_pipeline/sagemaker_mlops/sagemaker-project-modelbuild/tests/test_pipelines.py | trideau/Data-Science-with-AWS-Workshop | 7dbe7989fa99e88544da8bf262beec907c536093 | [
"Apache-2.0"
] | 209 | 2020-03-01T17:14:12.000Z | 2021-11-08T20:35:42.000Z | 10_pipeline/sagemaker_mlops/sagemaker-project-modelbuild/tests/test_pipelines.py | trideau/Data-Science-with-AWS-Workshop | 7dbe7989fa99e88544da8bf262beec907c536093 | [
"Apache-2.0"
] | 686 | 2020-03-03T17:24:51.000Z | 2021-11-25T23:39:12.000Z | import pytest
@pytest.mark.xfail
def test_that_you_wrote_tests():
assert False, "No tests written"
def test_pipelines_importable():
import pipelines # noqa: F401
| 15.909091 | 36 | 0.748571 | 24 | 175 | 5.208333 | 0.75 | 0.112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02069 | 0.171429 | 175 | 10 | 37 | 17.5 | 0.841379 | 0.057143 | 0 | 0 | 0 | 0 | 0.09816 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.333333 | true | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
60f9f2ebbc7f2834ebc1d1bf9df1b6690971f5f6 | 114 | py | Python | source_code/central_monitor/api/admin.py | Doctor-Venom/Cyber-Oracle | 0cc3475416ea552704f4b1086d850fa90117ccc6 | [
"MIT"
] | null | null | null | source_code/central_monitor/api/admin.py | Doctor-Venom/Cyber-Oracle | 0cc3475416ea552704f4b1086d850fa90117ccc6 | [
"MIT"
] | null | null | null | source_code/central_monitor/api/admin.py | Doctor-Venom/Cyber-Oracle | 0cc3475416ea552704f4b1086d850fa90117ccc6 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Host
admin.site.register(Host) | 19 | 32 | 0.798246 | 17 | 114 | 5.352941 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 6 | 33 | 19 | 0.919192 | 0.22807 | 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 | 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 | 5 |
71691b9a64d08a5d6fbc292845d08721845ef408 | 6,928 | py | Python | tests/test_utils_secrets_vault.py | arup-group/genet | 24bfbee31da6d7951598adb29ddf17d3a08ed5e6 | [
"MIT"
] | 22 | 2020-12-22T11:11:44.000Z | 2022-03-07T16:25:35.000Z | tests/test_utils_secrets_vault.py | tkahng/genet | d5c29ed9e44408b60f55d8de889d7430debc9f04 | [
"MIT"
] | 27 | 2020-12-22T09:45:35.000Z | 2022-03-03T14:52:24.000Z | tests/test_utils_secrets_vault.py | tkahng/genet | d5c29ed9e44408b60f55d8de889d7430debc9f04 | [
"MIT"
] | 7 | 2021-01-02T10:00:05.000Z | 2022-01-06T03:53:43.000Z | from unittest import mock
import os
import boto3
import pytest
from genet.utils import secrets_vault
# pytest's expected error mechanism ('raises' context mgr) is not intuitive and I want to make it clearer
expected_error = pytest.raises
def test_gets_api_key_with_secrets_manager_string_key(mocker):
mocker.patc... | 49.485714 | 119 | 0.74668 | 869 | 6,928 | 5.66168 | 0.195627 | 0.04065 | 0.045732 | 0.079268 | 0.785163 | 0.76687 | 0.746545 | 0.746545 | 0.738008 | 0.72561 | 0 | 0.04418 | 0.150549 | 6,928 | 139 | 120 | 49.841727 | 0.791844 | 0.129042 | 0 | 0.588235 | 0 | 0.039216 | 0.267143 | 0.147933 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.098039 | false | 0 | 0.04902 | 0 | 0.147059 | 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 | 0 | 0 | 0 | 5 |
7186d6e0b5515001d35884a8a93a1dcbf90ff60e | 528 | py | Python | tensorflow/python/platform/app.py | aksaxena80/test | db0b5da485e1d1f23003ee08ed2e191451ee0319 | [
"Apache-2.0"
] | 4 | 2021-06-11T09:43:32.000Z | 2021-11-17T11:15:52.000Z | tensorflow/python/platform/app.py | TheRockStarDBA/tensorflow | db0b5da485e1d1f23003ee08ed2e191451ee0319 | [
"Apache-2.0"
] | null | null | null | tensorflow/python/platform/app.py | TheRockStarDBA/tensorflow | db0b5da485e1d1f23003ee08ed2e191451ee0319 | [
"Apache-2.0"
] | 1 | 2016-01-31T22:49:48.000Z | 2016-01-31T22:49:48.000Z | """Switch between depending on pyglib.app or an OSS replacement."""
from __future__ import absolute_import
# pylint: disable=unused-import
# pylint: disable=g-import-not-at-top
# pylint: disable=wildcard-import
import tensorflow.python.platform
from . import control_imports
if control_imports.USE_OSS and control_import... | 35.2 | 67 | 0.808712 | 74 | 528 | 5.608108 | 0.5 | 0.154217 | 0.231325 | 0.20241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 528 | 14 | 68 | 37.714286 | 0.879237 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
718b54e9838ba69fa2e8bd23af91b28dcb51a108 | 2,084 | py | Python | misago/users/tests/test_user_middleware.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | 1 | 2017-07-25T03:04:36.000Z | 2017-07-25T03:04:36.000Z | misago/users/tests/test_user_middleware.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | null | null | null | misago/users/tests/test_user_middleware.py | HenryChenV/iJiangNan | 68f156d264014939f0302222e16e3125119dd3e3 | [
"MIT"
] | null | null | null | from django.urls import reverse
from misago.users.bans import ban_ip, ban_user
from misago.users.testutils import AuthenticatedUserTestCase
class UserMiddlewareTest(AuthenticatedUserTestCase):
def setUp(self):
super(UserMiddlewareTest, self).setUp()
self.api_link = reverse('misago:api:auth')
... | 33.079365 | 76 | 0.671785 | 269 | 2,084 | 5.070632 | 0.185874 | 0.109971 | 0.168622 | 0.123167 | 0.78739 | 0.78739 | 0.78739 | 0.78739 | 0.78739 | 0.78739 | 0 | 0.021991 | 0.214491 | 2,084 | 62 | 77 | 33.612903 | 0.81124 | 0.114683 | 0 | 0.7 | 0 | 0 | 0.029057 | 0 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.125 | false | 0 | 0.075 | 0 | 0.225 | 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 | 0 | 0 | 0 | 5 |
718ba99aaefc2ef2564f9a6dd3c257befbb9058c | 177 | py | Python | scripts/cogapp/__init__.py | ptrahrens/ReproBLAS | ae50ec6bcb4426af8f08f065c148227b8dcfe763 | [
"BSD-3-Clause"
] | 6 | 2018-10-02T18:51:26.000Z | 2021-03-13T02:23:24.000Z | scripts/cogapp/__init__.py | ptrahrens/ReproBLAS | ae50ec6bcb4426af8f08f065c148227b8dcfe763 | [
"BSD-3-Clause"
] | 6 | 2017-08-01T22:27:28.000Z | 2019-12-20T08:34:48.000Z | scripts/cogapp/__init__.py | ptrahrens/ReproBLAS | ae50ec6bcb4426af8f08f065c148227b8dcfe763 | [
"BSD-3-Clause"
] | 8 | 2017-07-01T22:19:09.000Z | 2022-02-01T21:02:31.000Z | """ Cog code generation tool.
http://nedbatchelder.com/code/cog
Copyright 2004-2015, Ned Batchelder.
"""
from __future__ import absolute_import
from .cogapp import *
| 17.7 | 40 | 0.728814 | 22 | 177 | 5.636364 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054422 | 0.169492 | 177 | 9 | 41 | 19.666667 | 0.789116 | 0.548023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
719a4350281b4fa17e49719dd458a6e7ab2904a4 | 540 | py | Python | Flask/app/models.py | 96486d9b/jianshu | b7c50b0c5bbfd09810177cf7f561e6d04da3d8c6 | [
"Apache-2.0"
] | 3 | 2018-01-25T10:34:11.000Z | 2018-12-27T09:04:23.000Z | Flask/app/models.py | ttcqaq/jianshu | b7c50b0c5bbfd09810177cf7f561e6d04da3d8c6 | [
"Apache-2.0"
] | null | null | null | Flask/app/models.py | ttcqaq/jianshu | b7c50b0c5bbfd09810177cf7f561e6d04da3d8c6 | [
"Apache-2.0"
] | 1 | 2018-09-11T00:04:47.000Z | 2018-09-11T00:04:47.000Z | from app import db
class User(db.Model):
__tablename__ = 'users'
id = db.Column(db.Integer, primary_key=True)
username = db.Column(db.String(32), unique=True)
password = db.Column(db.String(32), nullable=False)
class Book(db.Model):
__tablename__ = 'books'
book_id = db.Column(db.Integer, prima... | 33.75 | 55 | 0.677778 | 81 | 540 | 4.382716 | 0.382716 | 0.202817 | 0.253521 | 0.315493 | 0.507042 | 0.507042 | 0.507042 | 0.332394 | 0.332394 | 0.332394 | 0 | 0.033408 | 0.168519 | 540 | 16 | 56 | 33.75 | 0.757238 | 0 | 0 | 0 | 0 | 0 | 0.018484 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0.071429 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
71ba6e565e87640997db166d05df52483602f3c9 | 75 | py | Python | app.py | marinater/virtual-tab | b98e19b9d5b53bbfcbcf47f09f4424479534b81b | [
"MIT"
] | null | null | null | app.py | marinater/virtual-tab | b98e19b9d5b53bbfcbcf47f09f4424479534b81b | [
"MIT"
] | 30 | 2021-04-19T19:47:09.000Z | 2021-05-01T00:58:50.000Z | app.py | marinater/virtual-tab | b98e19b9d5b53bbfcbcf47f09f4424479534b81b | [
"MIT"
] | 1 | 2021-04-01T18:46:52.000Z | 2021-04-01T18:46:52.000Z | from core.tracking import Tracking
tracking = Tracking()
tracking.start()
| 15 | 34 | 0.786667 | 9 | 75 | 6.555556 | 0.555556 | 0.813559 | 0.813559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 75 | 4 | 35 | 18.75 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
71d97d0577010df6f9b5dd42358941ece872da99 | 74 | py | Python | pm4pymdl/util/parquet_importer/__init__.py | dorian1000/pm4py-mdl | 71e0c2425abb183da293a58d31e25e50137c774f | [
"MIT"
] | 5 | 2021-01-31T22:45:29.000Z | 2022-02-22T14:26:06.000Z | pm4pymdl/util/parquet_importer/__init__.py | Javert899/pm4py-mdl | 4cc875999100f3f1ad60b925a20e40cf52337757 | [
"MIT"
] | 3 | 2021-07-07T15:32:55.000Z | 2021-07-07T16:15:36.000Z | pm4pymdl/util/parquet_importer/__init__.py | dorian1000/pm4py-mdl | 71e0c2425abb183da293a58d31e25e50137c774f | [
"MIT"
] | 9 | 2020-09-23T15:34:11.000Z | 2022-03-17T09:15:40.000Z | from pm4pymdl.util.parquet_importer import versions, importer, parameters
| 37 | 73 | 0.864865 | 9 | 74 | 7 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.081081 | 74 | 1 | 74 | 74 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
e0892a7e20a393d9d28c36080dff390ae28fdd52 | 235 | py | Python | Sacra/__init__.py | thesombady/Sacra | 166cedefba214f1091cfff9846448f0c65429137 | [
"MIT"
] | null | null | null | Sacra/__init__.py | thesombady/Sacra | 166cedefba214f1091cfff9846448f0c65429137 | [
"MIT"
] | 3 | 2020-07-08T16:45:01.000Z | 2020-07-20T21:23:44.000Z | Sacra/__init__.py | thesombady/Sacra | 166cedefba214f1091cfff9846448f0c65429137 | [
"MIT"
] | 1 | 2020-07-15T02:05:40.000Z | 2020-07-15T02:05:40.000Z | from .Renderer.Rederer import RenderError, Renderer2
from .Renderer.Materials import Pinewood, Marble, Stone
from .Renderer.Lightsource import Lightsource
from .BuildGame.BuildWorld.Build import Build
from .EditorApps import Construct
| 39.166667 | 55 | 0.846809 | 28 | 235 | 7.107143 | 0.571429 | 0.180905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004717 | 0.097872 | 235 | 5 | 56 | 47 | 0.933962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
e09c5895ea74c2b05a05b1e754d7d4774b862b73 | 388 | py | Python | application/init_nltk.py | paasovaara/data-crawler | 6eb592f95ab545e11280f61dfde53073b25ebd3c | [
"MIT"
] | null | null | null | application/init_nltk.py | paasovaara/data-crawler | 6eb592f95ab545e11280f61dfde53073b25ebd3c | [
"MIT"
] | null | null | null | application/init_nltk.py | paasovaara/data-crawler | 6eb592f95ab545e11280f61dfde53073b25ebd3c | [
"MIT"
] | null | null | null | import nltk
#https://www.analyticsvidhya.com/blog/2017/01/ultimate-guide-to-understand-implement-natural-language-processing-codes-in-python/
#http://snowball.tartarus.org/algorithms/finnish/stemmer.html
#http://snowballstem.org/
print('Importing nltk, please select appropriate packages. Consider taking all.')
print('(... | 43.111111 | 129 | 0.801546 | 51 | 388 | 6.098039 | 0.901961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016438 | 0.059278 | 388 | 8 | 130 | 48.5 | 0.835616 | 0.546392 | 0 | 0 | 0 | 0 | 0.699422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
e0a24805eaf21442967f2aabe32816e3faf2ab8f | 233 | py | Python | ffai/ai/bots/__init__.py | rainandwind1/ffai_2019 | db32bdb4bbece4b14684c2571de61e1e2ba2b433 | [
"Apache-2.0"
] | null | null | null | ffai/ai/bots/__init__.py | rainandwind1/ffai_2019 | db32bdb4bbece4b14684c2571de61e1e2ba2b433 | [
"Apache-2.0"
] | null | null | null | ffai/ai/bots/__init__.py | rainandwind1/ffai_2019 | db32bdb4bbece4b14684c2571de61e1e2ba2b433 | [
"Apache-2.0"
] | null | null | null | from ffai.ai.bots.testbots.crash_bot import ChrashBot
from ffai.ai.bots.testbots.idle_bot import IdleBot
from ffai.ai.bots.testbots.manipulator_bot import ManipulatorBot
from .proc_bot import ProcBot
from .random_bot import RandomBot | 46.6 | 64 | 0.858369 | 37 | 233 | 5.27027 | 0.459459 | 0.230769 | 0.153846 | 0.215385 | 0.338462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081545 | 233 | 5 | 65 | 46.6 | 0.911215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e0a8f9c167e5212649dc63f6d480b7a715a711e4 | 18 | py | Python | object_detection/Swin/det_necks/__init__.py | no-name-xiaosheng/PaddleViT | 50226a3be5095b3727d3c62d2eab23ef1e9612ec | [
"Apache-2.0"
] | 993 | 2021-08-30T01:58:57.000Z | 2022-03-31T14:03:07.000Z | object_detection/Swin/det_necks/__init__.py | Dongsheng-Bi/PaddleViT | c90a6c8dc3787e69cef3a37b9a260bd59eeff1f7 | [
"Apache-2.0"
] | 120 | 2021-09-03T13:05:32.000Z | 2022-03-29T02:08:22.000Z | object_detection/Swin/det_necks/__init__.py | Dongsheng-Bi/PaddleViT | c90a6c8dc3787e69cef3a37b9a260bd59eeff1f7 | [
"Apache-2.0"
] | 253 | 2021-08-30T08:50:27.000Z | 2022-03-26T09:21:08.000Z | from . import fpn
| 9 | 17 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 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 | 0 | 0 | 0 | 5 |
e0af319af6872ce9c393e2209a57cd29968870e0 | 371 | py | Python | examples/todo/forum_432037.py | rhalbersma/gravon | ad0b4ddefc0448d7bc6c59032089966926b25ee6 | [
"BSL-1.0"
] | 2 | 2018-08-02T16:42:56.000Z | 2019-08-16T07:49:39.000Z | examples/todo/forum_432037.py | rhalbersma/gravon | ad0b4ddefc0448d7bc6c59032089966926b25ee6 | [
"BSL-1.0"
] | null | null | null | examples/todo/forum_432037.py | rhalbersma/gravon | ad0b4ddefc0448d7bc6c59032089966926b25ee6 | [
"BSL-1.0"
] | null | null | null | # Copyright Rein Halbersma 2018-2021.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
# http://forum.stratego.com/topic/357378-strategy-question-findingavoiding-bombs-at-the-end-of-games/?p=432... | 46.375 | 110 | 0.738544 | 55 | 371 | 4.909091 | 0.8 | 0.022222 | 0.066667 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081761 | 0.142857 | 371 | 7 | 111 | 53 | 0.767296 | 0.816712 | 0 | 0 | 0 | 0 | 0.698113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e0b9513bc573bd2283f0d463f8d8da77f0037059 | 3,797 | py | Python | app/auth/forms.py | youralphadevelopers/RedditClone | 14f652fd5f57bb31d6910d0d078c9765b4e3e25e | [
"MIT"
] | null | null | null | app/auth/forms.py | youralphadevelopers/RedditClone | 14f652fd5f57bb31d6910d0d078c9765b4e3e25e | [
"MIT"
] | null | null | null | app/auth/forms.py | youralphadevelopers/RedditClone | 14f652fd5f57bb31d6910d0d078c9765b4e3e25e | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField, BooleanField
from wtforms.validators import DataRequired, Email, Length, Regexp, EqualTo, ValidationError
from app.models import User
class RegisterForm(FlaskForm):
email = StringField('Email', validators=[Da... | 56.671642 | 207 | 0.690545 | 402 | 3,797 | 6.450249 | 0.199005 | 0.13575 | 0.115696 | 0.030081 | 0.749711 | 0.749711 | 0.718473 | 0.704204 | 0.653683 | 0.653683 | 0 | 0.01055 | 0.176192 | 3,797 | 66 | 208 | 57.530303 | 0.818414 | 0 | 0 | 0.415094 | 0 | 0 | 0.166447 | 0.012115 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113208 | false | 0.301887 | 0.075472 | 0 | 0.773585 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1cda06775d72e806cc3752200cc28d2813a1ce68 | 1,732 | py | Python | elastalert/alerter/__init__.py | JasperJuergensen/elastalert | 8033361083b5edad1845ad9b307b8280ef278da7 | [
"Apache-2.0"
] | 2 | 2020-06-19T13:02:19.000Z | 2021-02-11T19:35:46.000Z | elastalert/alerter/__init__.py | JasperJuergensen/elastalert | 8033361083b5edad1845ad9b307b8280ef278da7 | [
"Apache-2.0"
] | 9 | 2020-04-09T15:40:37.000Z | 2022-01-19T17:49:22.000Z | elastalert/alerter/__init__.py | JasperJuergensen/elastalert | 8033361083b5edad1845ad9b307b8280ef278da7 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from elastalert.alerter.alerter import Alerter
from elastalert.alerter.alerta_alerter import AlertaAlerter
from elastalert.alerter.command_alerter import CommandAlerter
from elastalert.alerter.debug_alerter import DebugAlerter
from elastalert.alerter.email_alerter import EmailAlerter
from elastalert.aler... | 57.733333 | 68 | 0.900115 | 205 | 1,732 | 7.434146 | 0.326829 | 0.257218 | 0.385827 | 0.034121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000618 | 0.066397 | 1,732 | 29 | 69 | 59.724138 | 0.941868 | 0.006928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
e81d4868e69905cfe3ca38ae33d713aa16cc27e9 | 66 | py | Python | binary_reader/__init__.py | SutandoTsukai181/PyBinaryReader | 0607f950f17c6e75b437cf0658acaf247592ea18 | [
"MIT"
] | 5 | 2021-04-20T12:57:56.000Z | 2021-07-08T01:48:22.000Z | binary_reader/__init__.py | SutandoTsukai181/PyBinaryReader | 0607f950f17c6e75b437cf0658acaf247592ea18 | [
"MIT"
] | 1 | 2021-04-20T16:30:15.000Z | 2021-04-20T16:30:15.000Z | binary_reader/__init__.py | SutandoTsukai181/PyBinaryReader | 0607f950f17c6e75b437cf0658acaf247592ea18 | [
"MIT"
] | 2 | 2021-04-20T14:40:49.000Z | 2021-07-08T01:48:25.000Z | from .binary_reader import BinaryReader, BrStruct, Endian, Whence
| 33 | 65 | 0.833333 | 8 | 66 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 66 | 1 | 66 | 66 | 0.915254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
e82329a1cd0a0ac38770d593bc12a4096cfe4db1 | 64 | py | Python | tests/model_tests/app/signals.py | if1live/importd | 4b1dd2cc43923f44f2c509a3e4a0568fa3d4f9b2 | [
"BSD-3-Clause"
] | 183 | 2015-01-14T02:15:54.000Z | 2021-04-02T01:31:08.000Z | tests/model_tests/app/signals.py | if1live/importd | 4b1dd2cc43923f44f2c509a3e4a0568fa3d4f9b2 | [
"BSD-3-Clause"
] | 31 | 2015-01-07T16:25:46.000Z | 2021-02-15T08:30:45.000Z | tests/model_tests/app/signals.py | if1live/importd | 4b1dd2cc43923f44f2c509a3e4a0568fa3d4f9b2 | [
"BSD-3-Clause"
] | 23 | 2015-01-05T09:34:55.000Z | 2018-05-17T07:27:36.000Z | from django.conf import settings
settings.SIGNALS_IMPORTED=True | 21.333333 | 32 | 0.875 | 9 | 64 | 6.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078125 | 64 | 3 | 33 | 21.333333 | 0.932203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
e8347c9146ced5d73c0711b799052d66cfd02c88 | 202 | py | Python | Module/Lista 1/Thiago/07.py | Vitor-ORB/algorithms-and-programming-1-ufms | 10821e9b580b78b7f78c27e740f3ead9c6b9f0bd | [
"MIT"
] | 7 | 2021-05-25T16:49:20.000Z | 2022-02-17T11:57:32.000Z | Module/Lista 1/Thiago/07.py | Vitor-ORB/algorithms-and-programming-1-ufms | 10821e9b580b78b7f78c27e740f3ead9c6b9f0bd | [
"MIT"
] | null | null | null | Module/Lista 1/Thiago/07.py | Vitor-ORB/algorithms-and-programming-1-ufms | 10821e9b580b78b7f78c27e740f3ead9c6b9f0bd | [
"MIT"
] | 8 | 2021-05-25T16:49:39.000Z | 2021-09-30T18:02:07.000Z | # Leia uma frase e descubra quantos caracteres existem nesta frase.
# Implemente uma função chamada contaCaracter().
def contaCaracter(str):
return len(str)
print(contaCaracter(input()))
| 22.444444 | 68 | 0.732673 | 24 | 202 | 6.166667 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183168 | 202 | 8 | 69 | 25.25 | 0.89697 | 0.554455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
e837d2178ad692070a0523b725c97c078d9181ef | 16,689 | py | Python | addons/mod.py | NightYoshi370/Kurisu | a4a40498791a6a54f8bec6bc89444dd5a9b5651a | [
"Apache-2.0"
] | null | null | null | addons/mod.py | NightYoshi370/Kurisu | a4a40498791a6a54f8bec6bc89444dd5a9b5651a | [
"Apache-2.0"
] | null | null | null | addons/mod.py | NightYoshi370/Kurisu | a4a40498791a6a54f8bec6bc89444dd5a9b5651a | [
"Apache-2.0"
] | null | null | null | import discord
import json
import re
from discord.ext import commands
from subprocess import call
from sys import argv
class Mod:
"""
Staff commands.
"""
def __init__(self, bot):
self.bot = bot
print('Addon "{}" loaded'.format(self.__class__.__name__))
async def add_restriction(sel... | 51.668731 | 448 | 0.614237 | 2,143 | 16,689 | 4.713019 | 0.120859 | 0.074158 | 0.07604 | 0.038614 | 0.778218 | 0.751188 | 0.72396 | 0.702673 | 0.645743 | 0.642574 | 0 | 0.000723 | 0.254359 | 16,689 | 322 | 449 | 51.829193 | 0.808181 | 0.02247 | 0 | 0.587814 | 0 | 0.017921 | 0.176206 | 0.007074 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007168 | false | 0.078853 | 0.021505 | 0 | 0.039427 | 0.003584 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1c02f9b6664803cf2ba64c8f548bcaab0a303bbf | 36 | py | Python | hello.py | Alfie0226/firstgip | 64d565fe7fa9cd01342e638ea643f26949e8044a | [
"Apache-2.0"
] | null | null | null | hello.py | Alfie0226/firstgip | 64d565fe7fa9cd01342e638ea643f26949e8044a | [
"Apache-2.0"
] | null | null | null | hello.py | Alfie0226/firstgip | 64d565fe7fa9cd01342e638ea643f26949e8044a | [
"Apache-2.0"
] | null | null | null | print('hello python')
print("nice")
| 12 | 21 | 0.694444 | 5 | 36 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 2 | 22 | 18 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1c406cd8fdb1878cf53168c030b0169aa8a44417 | 117,677 | py | Python | tk_ui/admin_program.py | SuperH-0630/HGSSystem | 4bd0b18cec810df4915fea9473adbea6faea4fe2 | [
"MIT"
] | null | null | null | tk_ui/admin_program.py | SuperH-0630/HGSSystem | 4bd0b18cec810df4915fea9473adbea6faea4fe2 | [
"MIT"
] | null | null | null | tk_ui/admin_program.py | SuperH-0630/HGSSystem | 4bd0b18cec810df4915fea9473adbea6faea4fe2 | [
"MIT"
] | null | null | null | import abc
import datetime
import tkinter as tk
import tkinter.ttk as ttk
from tkinter.filedialog import askdirectory, askopenfilename, asksaveasfilename
from math import ceil
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2Tk
from matplotlib.axes import Axes
import numpy as np
from ... | 38.318789 | 120 | 0.591483 | 15,357 | 117,677 | 4.333789 | 0.049684 | 0.033717 | 0.030201 | 0.018391 | 0.804324 | 0.771253 | 0.739279 | 0.713691 | 0.67434 | 0.651877 | 0 | 0.031774 | 0.264784 | 117,677 | 3,070 | 121 | 38.33127 | 0.737477 | 0.005413 | 0 | 0.639201 | 0 | 0 | 0.074954 | 0.006155 | 0 | 0 | 0 | 0 | 0.001248 | 1 | 0.123179 | false | 0.022472 | 0.008739 | 0.000832 | 0.180191 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1c993b015dc72e80eb8ebf3347f9cdf4d29b79b4 | 127 | py | Python | colearning/game/__init__.py | A-Malone/genetic-neural-nets | e8284cc820e6f67a52b4064d7e7320eb29629791 | [
"MIT"
] | null | null | null | colearning/game/__init__.py | A-Malone/genetic-neural-nets | e8284cc820e6f67a52b4064d7e7320eb29629791 | [
"MIT"
] | null | null | null | colearning/game/__init__.py | A-Malone/genetic-neural-nets | e8284cc820e6f67a52b4064d7e7320eb29629791 | [
"MIT"
] | null | null | null | from .player import Player
from .coopgame import CoopGame
from .gameobjects import Move, GameObject
from .bullet import Bullet
| 25.4 | 41 | 0.826772 | 17 | 127 | 6.176471 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133858 | 127 | 4 | 42 | 31.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 | 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 | 5 |
c702ecbaeaabbfc9a35cf83beca3c21e1b2d213e | 76 | py | Python | prismnet/model/__init__.py | sunlei0227/PrismNet | 836c3bf2c1d1b194b7c2d9de0cfb07818d3d76e4 | [
"MIT"
] | 2 | 2020-06-17T13:37:20.000Z | 2021-12-07T11:46:50.000Z | prismnet/model/__init__.py | sunlei0227/PrismNet | 836c3bf2c1d1b194b7c2d9de0cfb07818d3d76e4 | [
"MIT"
] | null | null | null | prismnet/model/__init__.py | sunlei0227/PrismNet | 836c3bf2c1d1b194b7c2d9de0cfb07818d3d76e4 | [
"MIT"
] | null | null | null | from .PrismNet import PrismNet
from .utils import param_num, compute_acc_auc | 38 | 45 | 0.855263 | 12 | 76 | 5.166667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 45 | 38 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
c725c6407f77760af711fa635c86e688296bf270 | 66 | py | Python | vimtips/__init__.py | IngoMeyer441/vimtips | 3c75256277ba33c76b51a337476a241ddc3610fb | [
"MIT"
] | 58 | 2018-04-09T08:11:26.000Z | 2022-02-18T06:52:55.000Z | vimtips/__init__.py | IngoHeimbach/vimtips | 3c75256277ba33c76b51a337476a241ddc3610fb | [
"MIT"
] | 12 | 2018-05-30T10:53:18.000Z | 2019-06-20T04:17:59.000Z | vimtips/__init__.py | IngoHeimbach/vimtips | 3c75256277ba33c76b51a337476a241ddc3610fb | [
"MIT"
] | 5 | 2015-06-16T12:18:07.000Z | 2021-12-14T12:52:53.000Z | from ._version import __version__, __version_info__ # noqa: F401
| 33 | 65 | 0.80303 | 8 | 66 | 5.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.136364 | 66 | 1 | 66 | 66 | 0.701754 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c7323a134a1167a656505108c241a73e79055d04 | 225 | py | Python | 20-fs-ias-lec/groups/09-loraSense/LoRaSense/boot.py | Kyrus1999/BACnet | 5be8e1377252166041bcd0b066cce5b92b077d06 | [
"MIT"
] | 8 | 2020-03-17T21:12:18.000Z | 2021-12-12T15:55:54.000Z | 20-fs-ias-lec/groups/09-loraSense/LoRaSense/boot.py | Kyrus1999/BACnet | 5be8e1377252166041bcd0b066cce5b92b077d06 | [
"MIT"
] | 2 | 2021-07-19T06:18:43.000Z | 2022-02-10T12:17:58.000Z | 20-fs-ias-lec/groups/09-loraSense/LoRaSense/boot.py | Kyrus1999/BACnet | 5be8e1377252166041bcd0b066cce5b92b077d06 | [
"MIT"
] | 25 | 2020-03-20T09:32:45.000Z | 2021-07-18T18:12:59.000Z | ##import lib.lorasense as lorasense
##lorasense = lorasense.LoraSense(mode=1, debug=1)
##lorasense.setupWLAN("CasaSalsi","S@lsi1968")
##lorasense.setupLoRa(start=True)
##lorasense.setupUDP("192.168.1.123",54528, start=True)
| 32.142857 | 55 | 0.755556 | 30 | 225 | 5.666667 | 0.633333 | 0.317647 | 0.317647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099057 | 0.057778 | 225 | 6 | 56 | 37.5 | 0.70283 | 0.928889 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 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 | 5 |
c79b1453442e0f760cef668a989d459d9909d8d4 | 1,646 | py | Python | tests/test_helpers_column.py | quelhasu/pysparkly | 1ef72bdb6a8f0d6fe3d3619df3ef3239b266b1ec | [
"MIT"
] | null | null | null | tests/test_helpers_column.py | quelhasu/pysparkly | 1ef72bdb6a8f0d6fe3d3619df3ef3239b266b1ec | [
"MIT"
] | null | null | null | tests/test_helpers_column.py | quelhasu/pysparkly | 1ef72bdb6a8f0d6fe3d3619df3ef3239b266b1ec | [
"MIT"
] | null | null | null | import pytest
from pyspark.sql import SparkSession, Row
from pyspark.sql import functions as F
import pysparkly
import datetime
def create_df(rows: list, spark: SparkSession):
return spark.createDataFrame(rows)
def test_without_parentheses_content_func(spark: SparkSession):
dataframe = create_df([
Ro... | 33.591837 | 99 | 0.71932 | 207 | 1,646 | 5.492754 | 0.207729 | 0.049252 | 0.126649 | 0.105541 | 0.773087 | 0.773087 | 0.75022 | 0.75022 | 0.75022 | 0.75022 | 0 | 0.00581 | 0.163426 | 1,646 | 49 | 100 | 33.591837 | 0.819898 | 0 | 0 | 0.538462 | 0 | 0 | 0.069217 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 1 | 0.128205 | false | 0 | 0.128205 | 0.025641 | 0.282051 | 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 | 0 | 0 | 0 | 5 |
c7e5a56cc09ac562af016d7ebe22aa571a185bb0 | 75 | py | Python | src/__init__.py | DeNederlandscheBank/data-quality-rules | 311487b8a9c97018c0a4c15ba1f95036c00b9e1a | [
"MIT"
] | 5 | 2020-09-22T07:32:49.000Z | 2021-07-09T19:52:58.000Z | src/__init__.py | DeNederlandscheBank/solvency2-rules | 311487b8a9c97018c0a4c15ba1f95036c00b9e1a | [
"MIT"
] | 27 | 2020-09-01T14:28:36.000Z | 2021-07-13T07:27:33.000Z | src/__init__.py | DeNederlandscheBank/solvency2-rules | 311487b8a9c97018c0a4c15ba1f95036c00b9e1a | [
"MIT"
] | 3 | 2021-01-19T14:59:41.000Z | 2022-03-23T09:51:25.000Z | __version__ = '0.5.1'
from .evaluator import *
from .generateCSV import *
| 15 | 26 | 0.72 | 10 | 75 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.16 | 75 | 4 | 27 | 18.75 | 0.746032 | 0 | 0 | 0 | 1 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
400c44d15cc4f11d5668b4dff7e329b4eab6caf8 | 26 | py | Python | opt/ConstantF.py | camilos-ufm/Compiler | e29f750a13323b59583f4acd7d3a51d3e29cc0e6 | [
"MIT"
] | 1 | 2020-09-20T03:24:24.000Z | 2020-09-20T03:24:24.000Z | opt/ConstantF.py | camilos-ufm/Compiler | e29f750a13323b59583f4acd7d3a51d3e29cc0e6 | [
"MIT"
] | null | null | null | opt/ConstantF.py | camilos-ufm/Compiler | e29f750a13323b59583f4acd7d3a51d3e29cc0e6 | [
"MIT"
] | 1 | 2021-09-20T19:09:52.000Z | 2021-09-20T19:09:52.000Z | class ConstantF:
pass
| 8.666667 | 16 | 0.692308 | 3 | 26 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 26 | 2 | 17 | 13 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
403abc5df7cd6f5a50a285fcabffbe777b102e79 | 38 | py | Python | tests/img.py | raff/gopyr | 924c5f7f687c9396524b709a74d342253ba85411 | [
"MIT"
] | 9 | 2018-10-20T07:34:28.000Z | 2020-04-21T03:03:54.000Z | tests/img.py | raff/gopyr | 924c5f7f687c9396524b709a74d342253ba85411 | [
"MIT"
] | 2 | 2018-10-20T17:47:25.000Z | 2019-11-20T23:30:21.000Z | tests/img.py | raff/gopyr | 924c5f7f687c9396524b709a74d342253ba85411 | [
"MIT"
] | null | null | null | # test imaginary numbers
print(1+3j)
| 9.5 | 24 | 0.736842 | 6 | 38 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.157895 | 38 | 3 | 25 | 12.666667 | 0.8125 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
4088092a2a03b72ccdd8d88ab84ca5d95f7123ad | 34 | py | Python | mariadb/mqtt_mariaDB_connector/__main__.py | akk988/5G-IO-BOX | 597408c858aaca64522f1a9cd2d0e60d67b231a9 | [
"Apache-2.0"
] | 9 | 2019-05-03T16:30:24.000Z | 2021-07-17T07:36:38.000Z | __main__.py | David-Lor/MQTT2MySQL | 25a2f723c9b172ad4a323422ac9ac54be32eb1af | [
"Apache-2.0"
] | 3 | 2021-01-26T04:08:10.000Z | 2021-02-04T04:28:56.000Z | mariadb/mqtt_mariaDB_connector/__main__.py | akk988/5G-IO-BOX | 597408c858aaca64522f1a9cd2d0e60d67b231a9 | [
"Apache-2.0"
] | 6 | 2019-04-17T12:25:23.000Z | 2021-11-07T09:53:13.000Z | from mqtt2mysql import run
run()
| 8.5 | 26 | 0.764706 | 5 | 34 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.176471 | 34 | 3 | 27 | 11.333333 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
40b56f24c8912ea7a8a8be2c45024fca19259a5f | 73 | py | Python | rbacProject/utils/__init__.py | xeroCBW/testmodel | 6000d79f91d11bcf6ba76befb3a94a007231ecdc | [
"MIT"
] | null | null | null | rbacProject/utils/__init__.py | xeroCBW/testmodel | 6000d79f91d11bcf6ba76befb3a94a007231ecdc | [
"MIT"
] | 54 | 2020-06-24T07:12:19.000Z | 2022-03-12T00:43:57.000Z | rbacProject/utils/__init__.py | xeroCBW/testmodel | 6000d79f91d11bcf6ba76befb3a94a007231ecdc | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
# __author__ : RobbieHan
# __data__ : 2017/10/12 | 24.333333 | 24 | 0.616438 | 9 | 73 | 4.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.178082 | 73 | 3 | 25 | 24.333333 | 0.466667 | 0.917808 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40d16beef24c404eb0b154288a3e68a41268ec54 | 52,241 | py | Python | appengine/swarming/proto/api/plugin_prpc_pb2.py | hixio-mh/luci-py | 5e2606b0db8f5dac25e9f84fdf71d103da393894 | [
"Apache-2.0"
] | null | null | null | appengine/swarming/proto/api/plugin_prpc_pb2.py | hixio-mh/luci-py | 5e2606b0db8f5dac25e9f84fdf71d103da393894 | [
"Apache-2.0"
] | 1 | 2022-03-02T11:45:18.000Z | 2022-03-02T11:45:18.000Z | appengine/swarming/proto/api/plugin_prpc_pb2.py | hixio-mh/luci-py | 5e2606b0db8f5dac25e9f84fdf71d103da393894 | [
"Apache-2.0"
] | 1 | 2021-07-23T15:32:55.000Z | 2021-07-23T15:32:55.000Z | # Generated by the pRPC protocol buffer compiler plugin. DO NOT EDIT!
# source: plugin.proto
import base64
import zlib
from google.protobuf import descriptor_pb2
# Includes description of the plugin.proto and all of its transitive
# dependencies. Includes source code info.
FILE_DESCRIPTOR_SET = descriptor_pb2.FileD... | 78.794872 | 82 | 0.881224 | 2,204 | 52,241 | 20.879764 | 0.95735 | 0.001825 | 0.001847 | 0.001369 | 0.001999 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153991 | 0.062977 | 52,241 | 662 | 83 | 78.913897 | 0.786113 | 0.003771 | 0 | 0 | 1 | 0.001531 | 0.905725 | 0.902977 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004594 | 0 | 0.004594 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40d2904ee234418032334393f8a06887e0e13e0f | 54 | py | Python | WEEKS/CD_Sata-Structures/_MISC/misc-examples/04-fileio04.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_MISC/misc-examples/04-fileio04.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/CD_Sata-Structures/_MISC/misc-examples/04-fileio04.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | # lets detect lines with no number on them
import sys
| 18 | 42 | 0.777778 | 10 | 54 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203704 | 54 | 2 | 43 | 27 | 0.976744 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
40d56fdbabf93dc1b75d8b28c158a448ba355eaa | 204 | py | Python | ephypype/interfaces/mne/__init__.py | jasmainak/ephypype | 257603cbb099cef7847a96c8eb141332fb85ebfa | [
"BSD-3-Clause"
] | null | null | null | ephypype/interfaces/mne/__init__.py | jasmainak/ephypype | 257603cbb099cef7847a96c8eb141332fb85ebfa | [
"BSD-3-Clause"
] | null | null | null | ephypype/interfaces/mne/__init__.py | jasmainak/ephypype | 257603cbb099cef7847a96c8eb141332fb85ebfa | [
"BSD-3-Clause"
] | null | null | null | from .spectral import (SpectralConn)
from .power import (Power)
from .preproc import (CompIca)
from .LF_computation import (LFComputation)
from .Inverse_solution import (NoiseCovariance, InverseSolution)
| 34 | 64 | 0.818627 | 23 | 204 | 7.173913 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 204 | 5 | 65 | 40.8 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
40e6ed6f2631e495237f913be4f0c129aa24e867 | 51 | py | Python | built-in/TensorFlow/Research/cv/image_classification/Cars_for_TensorFlow/automl/vega/search_space/networks/pytorch/utils/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | 12 | 2020-12-13T08:34:24.000Z | 2022-03-20T15:17:17.000Z | built-in/TensorFlow/Research/cv/image_classification/Cars_for_TensorFlow/automl/vega/search_space/networks/pytorch/utils/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | 3 | 2021-03-31T20:15:40.000Z | 2022-02-09T23:50:46.000Z | built-in/TensorFlow/Research/cv/image_classification/Darts_for_TensorFlow/automl/vega/search_space/networks/pytorch/utils/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | 2 | 2021-07-10T12:40:46.000Z | 2021-12-17T07:55:15.000Z | from .bbox_utils import *
from .roi_align import *
| 17 | 25 | 0.764706 | 8 | 51 | 4.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 2 | 26 | 25.5 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
905a3d7d4c4dd0cf9d883448d4fa4d7df2c0b6a6 | 165 | py | Python | webhooks/urls.py | KeoH/orchestrapi | 575e66a86c42b5c249fd943bb5f40c8c310139aa | [
"MIT"
] | 1 | 2021-07-05T19:37:37.000Z | 2021-07-05T19:37:37.000Z | webhooks/urls.py | KeoH/orchestrapi | 575e66a86c42b5c249fd943bb5f40c8c310139aa | [
"MIT"
] | 6 | 2020-06-05T19:30:52.000Z | 2021-07-05T19:28:53.000Z | webhooks/urls.py | KeoH/orchestrapi | 575e66a86c42b5c249fd943bb5f40c8c310139aa | [
"MIT"
] | 1 | 2020-05-15T23:58:24.000Z | 2020-05-15T23:58:24.000Z |
from django.urls import path
from .views import manage_repository_webhook
urlpatterns = [
path('<str:repository>/<str:app_id>', manage_repository_webhook),
]
| 18.333333 | 69 | 0.763636 | 21 | 165 | 5.761905 | 0.619048 | 0.264463 | 0.380165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 165 | 8 | 70 | 20.625 | 0.840278 | 0 | 0 | 0 | 0 | 0 | 0.176829 | 0.176829 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 5 |
906869b2098b8949f6ebab67a7a1b73656670213 | 62 | py | Python | python/sit_idcardlib_py/__init__.py | SIT-DigiCre/student-id-card-read-sample | 34650172000f5c3e657727a4fd3c8fef7e67cb4c | [
"MIT"
] | 2 | 2021-04-09T00:20:38.000Z | 2021-04-09T01:29:27.000Z | python/sit_idcardlib_py/__init__.py | SIT-DigiCre/student-id-card-read-sample | 34650172000f5c3e657727a4fd3c8fef7e67cb4c | [
"MIT"
] | null | null | null | python/sit_idcardlib_py/__init__.py | SIT-DigiCre/student-id-card-read-sample | 34650172000f5c3e657727a4fd3c8fef7e67cb4c | [
"MIT"
] | null | null | null | from .sit_id_card import SITIDCard
from .reader import Reader
| 20.666667 | 34 | 0.83871 | 10 | 62 | 5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 35 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
90721b052e9fd756e2d5bf8d1cd6ebde26d602fe | 9,633 | py | Python | Huang2017AdaIN/model.py | czczup/URST | 000ec9f7728f12ffad989ec1d07b1dd579514133 | [
"Apache-2.0"
] | 119 | 2021-03-21T18:30:51.000Z | 2022-03-29T07:28:33.000Z | Huang2017AdaIN/model.py | czczup/URST | 000ec9f7728f12ffad989ec1d07b1dd579514133 | [
"Apache-2.0"
] | 5 | 2021-04-02T14:26:03.000Z | 2022-01-12T12:59:17.000Z | Huang2017AdaIN/model.py | czczup/URST | 000ec9f7728f12ffad989ec1d07b1dd579514133 | [
"Apache-2.0"
] | 16 | 2021-03-21T18:30:53.000Z | 2022-03-29T07:28:34.000Z | import torch.nn as nn
import torch
from function import coral
from function import adaptive_instance_normalization as adain
from function import calc_mean_std
import torch.nn.functional as F
decoder = nn.Sequential(
nn.ReflectionPad2d((1, 1, 1, 1)),
nn.Conv2d(512, 256, (3, 3)),
nn.ReLU(),
nn.Upsample(... | 39.805785 | 116 | 0.600021 | 1,421 | 9,633 | 3.832512 | 0.084448 | 0.02791 | 0.027543 | 0.08722 | 0.813625 | 0.789203 | 0.746603 | 0.729159 | 0.659199 | 0.623026 | 0 | 0.07493 | 0.254645 | 9,633 | 241 | 117 | 39.970954 | 0.683565 | 0.054189 | 0 | 0.684466 | 0 | 0 | 0.011123 | 0 | 0 | 0 | 0 | 0 | 0.038835 | 1 | 0.063107 | false | 0 | 0.029126 | 0 | 0.15534 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9087cdd82acc35cf211009a33a0ff607ad6fa496 | 283 | py | Python | test.py | NightDrivers/PythonStudy | 25c4eafc0c68d0faac06af0e27622c74ff9dac22 | [
"MIT"
] | null | null | null | test.py | NightDrivers/PythonStudy | 25c4eafc0c68d0faac06af0e27622c74ff9dac22 | [
"MIT"
] | null | null | null | test.py | NightDrivers/PythonStudy | 25c4eafc0c68d0faac06af0e27622c74ff9dac22 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import openpyxl
import os
import subprocess
import argparse
import uuid
import re
from script import ShellCommand
import py_compile
if __name__ == '__main__':
print(ShellCommand.excute_shell("cd /usr;pwd;"))
print(ShellCommand.excute_shell("pwd;"))
| 18.866667 | 52 | 0.745583 | 37 | 283 | 5.405405 | 0.648649 | 0.17 | 0.23 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004115 | 0.141343 | 283 | 14 | 53 | 20.214286 | 0.81893 | 0.074205 | 0 | 0 | 0 | 0 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.727273 | 0 | 0.727273 | 0.181818 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9093807df28298b6bd9b15f9914c3baeee24e2b5 | 147 | py | Python | tests/web_platform/CSS2/linebox/test_vertical_align.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/CSS2/linebox/test_vertical_align.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/CSS2/linebox/test_vertical_align.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | 1 | 2020-01-16T01:56:41.000Z | 2020-01-16T01:56:41.000Z | from tests.utils import W3CTestCase
class TestVerticalAlign(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'vertical-align-'))
| 24.5 | 70 | 0.789116 | 16 | 147 | 6.9375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022556 | 0.095238 | 147 | 5 | 71 | 29.4 | 0.81203 | 0 | 0 | 0 | 0 | 0 | 0.10274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
90a42e97a0c9365be7dc84d8b622965abc9f1baa | 44 | py | Python | nautobot_chatops/tests/__init__.py | tanvimoharir/nautobot-plugin-chatops | 8fe984b7918f02eb8015c4c0ae3df889688c7a12 | [
"Apache-2.0"
] | 27 | 2021-02-24T13:27:28.000Z | 2022-03-09T12:01:04.000Z | nautobot_chatops/tests/__init__.py | progala/nautobot-plugin-chatops | 8cf03633ec9f8d1905795577aefc5341fc723700 | [
"Apache-2.0"
] | 83 | 2021-03-11T17:45:22.000Z | 2022-03-18T14:51:29.000Z | nautobot_chatops/tests/__init__.py | progala/nautobot-plugin-chatops | 8cf03633ec9f8d1905795577aefc5341fc723700 | [
"Apache-2.0"
] | 22 | 2021-03-09T18:22:29.000Z | 2022-03-15T13:54:04.000Z | """Test for the nautobot_chatops plugin."""
| 22 | 43 | 0.727273 | 6 | 44 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.794872 | 0.840909 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2913eb12c023ef123677a5f5aaa3d71a524b2089 | 146 | py | Python | main/managers.py | MasterBDX/find-your-api | 23e22093df36574cb81703f315da5bfdf1efc51e | [
"MIT"
] | 2 | 2020-12-31T10:32:18.000Z | 2021-01-01T03:15:30.000Z | main/managers.py | MasterBDX/find-your-api | 23e22093df36574cb81703f315da5bfdf1efc51e | [
"MIT"
] | null | null | null | main/managers.py | MasterBDX/find-your-api | 23e22093df36574cb81703f315da5bfdf1efc51e | [
"MIT"
] | null | null | null | from django.db import models
class APIGuideManager(models.Manager):
def active(self):
return self.get_queryset().filter(active=True) | 24.333333 | 54 | 0.739726 | 19 | 146 | 5.631579 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157534 | 146 | 6 | 54 | 24.333333 | 0.869919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4646e785f55e392d91692eb99a3b10c4bb0ea710 | 6,585 | py | Python | src/tests/test_core/test_entities.py | eugene-p/bcrm | bba6628df6a12ecac8aa6bb50ee86f0c14414939 | [
"Apache-2.0"
] | null | null | null | src/tests/test_core/test_entities.py | eugene-p/bcrm | bba6628df6a12ecac8aa6bb50ee86f0c14414939 | [
"Apache-2.0"
] | 32 | 2019-01-29T18:59:58.000Z | 2019-02-10T23:11:35.000Z | src/tests/test_core/test_entities.py | eugene-p/bcrm | bba6628df6a12ecac8aa6bb50ee86f0c14414939 | [
"Apache-2.0"
] | 4 | 2019-01-29T20:13:11.000Z | 2020-07-11T22:57:08.000Z | # coding: utf-8
# -*- coding: utf-8 -*-
# vim: set fileencoding=utf-8 :
'''
Entity Types Api Tests
==============
'''
import json
from test_entity_types import create_entity_type
entity_stub = {
'entity_type_id': 'test_entity_type_id',
'content': {'content':'content'}
}
def create_entity(client, entity_type_n... | 30.486111 | 109 | 0.67426 | 838 | 6,585 | 4.997613 | 0.090692 | 0.083572 | 0.063037 | 0.068052 | 0.867001 | 0.762416 | 0.716094 | 0.716094 | 0.672636 | 0.661652 | 0 | 0.009051 | 0.194685 | 6,585 | 215 | 110 | 30.627907 | 0.78069 | 0.039484 | 0 | 0.562914 | 0 | 0 | 0.236611 | 0.046523 | 0 | 0 | 0 | 0 | 0.192053 | 1 | 0.10596 | false | 0 | 0.013245 | 0 | 0.125828 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4651e0d16aac345b5c6aed32d43f9f52d2399d0d | 991 | py | Python | prediction/endpoints/utilities.py | EcoJesss/ecosystem-notebooks | 095b2bc59b9749129a454a7b16c97e20d9484fd4 | [
"MIT"
] | null | null | null | prediction/endpoints/utilities.py | EcoJesss/ecosystem-notebooks | 095b2bc59b9749129a454a7b16c97e20d9484fd4 | [
"MIT"
] | null | null | null | prediction/endpoints/utilities.py | EcoJesss/ecosystem-notebooks | 095b2bc59b9749129a454a7b16c97e20d9484fd4 | [
"MIT"
] | null | null | null | CONVERT_JSON_TO_YAML = {
"type": "post",
"endpoint": "/convertJSONtoYAML",
"call_message": "{type} {endpoint}",
"error_message": "{type} {endpoint} {response_code}"
}
CONVERT_RANGE_FROM_TO = {
"type": "get",
"endpoint": "/convertRangeFromTo",
"call_message": "{type} {endpoint}",
"error_message": "{type} {endpoi... | 26.783784 | 53 | 0.660949 | 105 | 991 | 5.92381 | 0.228571 | 0.212219 | 0.366559 | 0.221865 | 0.670418 | 0.602894 | 0.602894 | 0.602894 | 0.602894 | 0.602894 | 0 | 0 | 0.115035 | 991 | 36 | 54 | 27.527778 | 0.709236 | 0 | 0 | 0.5 | 0 | 0 | 0.641776 | 0.0222 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
46b3fc939cee2727a7784669932dd5468ccec84f | 71 | py | Python | my_happy_pandas/core/computation/api.py | ggservice007/my-happy-pandas | 63145d54e452177f7d5b2fc8fdbc1fdf37dd5b16 | [
"Apache-2.0"
] | null | null | null | my_happy_pandas/core/computation/api.py | ggservice007/my-happy-pandas | 63145d54e452177f7d5b2fc8fdbc1fdf37dd5b16 | [
"Apache-2.0"
] | null | null | null | my_happy_pandas/core/computation/api.py | ggservice007/my-happy-pandas | 63145d54e452177f7d5b2fc8fdbc1fdf37dd5b16 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from my_happy_pandas.core.computation.eval import eval
| 17.75 | 54 | 0.816901 | 11 | 71 | 5.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.112676 | 71 | 3 | 55 | 23.666667 | 0.873016 | 0.169014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d3eded0308d895b6822b4e1be75f608e7986312f | 125 | py | Python | recipe/conftest.py | conda-forge/binpickle-feedstock | ba510534da60ade78c341597eea50e613d2510e4 | [
"BSD-3-Clause"
] | 1 | 2020-06-05T22:32:35.000Z | 2020-06-05T22:32:35.000Z | recipe/conftest.py | conda-forge/binpickle-feedstock | ba510534da60ade78c341597eea50e613d2510e4 | [
"BSD-3-Clause"
] | 9 | 2020-06-05T23:32:39.000Z | 2021-11-23T23:02:55.000Z | recipe/conftest.py | conda-forge/binpickle-feedstock | ba510534da60ade78c341597eea50e613d2510e4 | [
"BSD-3-Clause"
] | 2 | 2020-06-05T23:31:39.000Z | 2020-06-06T15:58:07.000Z | import hypothesis
hypothesis.settings.register_profile('package', deadline=1000)
hypothesis.settings.load_profile('package') | 31.25 | 62 | 0.848 | 14 | 125 | 7.428571 | 0.642857 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.04 | 125 | 4 | 63 | 31.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
310d69336af15520596907ba439411732f538c58 | 7,827 | py | Python | cherche/compose/union_inter.py | NicolasBizzozzero/cherche | 3869206438a15ff9c14d3d36468b578f193b9a57 | [
"MIT"
] | 1 | 2022-01-21T21:25:01.000Z | 2022-01-21T21:25:01.000Z | cherche/compose/union_inter.py | NicolasBizzozzero/cherche | 3869206438a15ff9c14d3d36468b578f193b9a57 | [
"MIT"
] | null | null | null | cherche/compose/union_inter.py | NicolasBizzozzero/cherche | 3869206438a15ff9c14d3d36468b578f193b9a57 | [
"MIT"
] | null | null | null | __all__ = ["Intersection", "Union"]
import collections
from .base import Compose
from .pipeline import Pipeline
class UnionIntersection(Compose):
"""Base class for union and intersection."""
def __repr__(self) -> str:
repr = self.__class__.__name__
repr += "\n-----\n"
repr += super()... | 28.053763 | 111 | 0.526 | 794 | 7,827 | 5.110831 | 0.149874 | 0.039428 | 0.0414 | 0.0207 | 0.723509 | 0.717348 | 0.714145 | 0.714145 | 0.708231 | 0.698866 | 0 | 0.010013 | 0.323751 | 7,827 | 278 | 112 | 28.154676 | 0.75666 | 0.498403 | 0 | 0.564103 | 0 | 0 | 0.035921 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102564 | false | 0 | 0.038462 | 0.012821 | 0.269231 | 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 | 0 | 0 | 0 | 5 |
31411e070f835112c932b772c51cc62cd9b5bfb6 | 114 | py | Python | advent_of_code/year2018/day1/part1_frequencies.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 1 | 2020-04-21T11:39:25.000Z | 2020-04-21T11:39:25.000Z | advent_of_code/year2018/day1/part1_frequencies.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 7 | 2020-02-12T01:08:01.000Z | 2022-02-10T11:56:56.000Z | advent_of_code/year2018/day1/part1_frequencies.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | null | null | null | from advent_of_code.util import input_file
with input_file() as file:
print(sum(int(line) for line in file))
| 22.8 | 42 | 0.754386 | 21 | 114 | 3.904762 | 0.761905 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 114 | 4 | 43 | 28.5 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
314ab49a85edb1d8562faefb9fb24380bb4fb7dc | 1,535 | py | Python | MakingMagicHappen/rabbit/models.py | MaeKat/MMRH | 4952194b714c673a93f21f78d7f5256ba674162b | [
"MIT"
] | 1 | 2019-02-26T15:57:19.000Z | 2019-02-26T15:57:19.000Z | MakingMagicHappen/rabbit/models.py | MaeKat/MMRH | 4952194b714c673a93f21f78d7f5256ba674162b | [
"MIT"
] | null | null | null | MakingMagicHappen/rabbit/models.py | MaeKat/MMRH | 4952194b714c673a93f21f78d7f5256ba674162b | [
"MIT"
] | null | null | null | from django.db import models
from django.conf import settings
# Create your models here.
# model for the calendar event
class calendarEvent(models.Model):
user= models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
event_name = models.CharField(max_length= 100, null= False)
event_time = mod... | 42.638889 | 81 | 0.745928 | 204 | 1,535 | 5.446078 | 0.308824 | 0.243024 | 0.291629 | 0.388839 | 0.694869 | 0.640864 | 0.640864 | 0.640864 | 0.640864 | 0.640864 | 0 | 0.029839 | 0.148534 | 1,535 | 36 | 82 | 42.638889 | 0.820199 | 0.05342 | 0 | 0.689655 | 0 | 0 | 0.006897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
314f1a0f98945e256deb29d3eff8f7321c3a22fe | 35 | py | Python | mailgunbot/__init__.py | cochoa0x1/mailgunbot | 77b5b1b93cd7ea355c247232cfd0b24e14225cec | [
"MIT"
] | 1 | 2017-04-09T12:44:25.000Z | 2017-04-09T12:44:25.000Z | mailgunbot/__init__.py | cochoa0x1/mailgunbot | 77b5b1b93cd7ea355c247232cfd0b24e14225cec | [
"MIT"
] | null | null | null | mailgunbot/__init__.py | cochoa0x1/mailgunbot | 77b5b1b93cd7ea355c247232cfd0b24e14225cec | [
"MIT"
] | 1 | 2018-02-25T00:26:54.000Z | 2018-02-25T00:26:54.000Z | from mailgunbot.mailgunbot import * | 35 | 35 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 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 | 0 | 0 | 0 | 5 |
3161e472618aed9b9e13f738b9cfff417c8b99f9 | 1,158 | py | Python | tests/test_strex.py | alex-700/nr-deprecated | f9f8b89ea1b084841a8ab65784eaf68852686b2a | [
"MIT"
] | null | null | null | tests/test_strex.py | alex-700/nr-deprecated | f9f8b89ea1b084841a8ab65784eaf68852686b2a | [
"MIT"
] | 2 | 2016-12-09T16:43:31.000Z | 2018-01-09T00:15:31.000Z | tests/test_strex.py | alex-700/nr-deprecated | f9f8b89ea1b084841a8ab65784eaf68852686b2a | [
"MIT"
] | 3 | 2018-08-20T14:47:58.000Z | 2020-10-13T13:42:35.000Z |
from nose.tools import *
from nr import strex
def test_seek():
s = strex.Scanner("foo\nbar")
assert_equal(s.char, 'f')
assert_equal(s.cursor, strex.Cursor(0, 1, 0))
s.next()
assert_equal(s.char, 'o')
assert_equal(s.cursor, strex.Cursor(1, 1, 1))
s.seek(5)
assert_equal(s.char, 'a')
assert_equal(s.c... | 23.16 | 47 | 0.632988 | 211 | 1,158 | 3.364929 | 0.175355 | 0.340845 | 0.371831 | 0.247887 | 0.778873 | 0.778873 | 0.615493 | 0.615493 | 0.580282 | 0.543662 | 0 | 0.044103 | 0.158031 | 1,158 | 49 | 48 | 23.632653 | 0.684103 | 0.023316 | 0 | 0.527778 | 0 | 0 | 0.038121 | 0 | 0 | 0 | 0 | 0 | 0.611111 | 1 | 0.027778 | false | 0 | 0.055556 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
31be9ac22c495930e5f66d5838d68dc5be590b9b | 71 | py | Python | day2/heaven.py | nikhilsamninan/python-files | 15198459081097058a939b40b5e8ef754e578fe0 | [
"Apache-2.0"
] | null | null | null | day2/heaven.py | nikhilsamninan/python-files | 15198459081097058a939b40b5e8ef754e578fe0 | [
"Apache-2.0"
] | null | null | null | day2/heaven.py | nikhilsamninan/python-files | 15198459081097058a939b40b5e8ef754e578fe0 | [
"Apache-2.0"
] | null | null | null | print('h' in 'heaven')
print('H' not in 'Hell')
print(5 in (1,2,3,4,)) | 23.666667 | 24 | 0.577465 | 16 | 71 | 2.5625 | 0.6875 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 0.140845 | 71 | 3 | 25 | 23.666667 | 0.590164 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
9ee7675da81bd3974a807fe3f8e20cd059d382cb | 62 | py | Python | egs/madcat_arabic/v1/local/models/__init__.py | huangruizhe/waldo_old | 75ead75c3320643888141573f191f5190f9aa203 | [
"Apache-2.0"
] | 12 | 2018-05-07T05:47:37.000Z | 2020-05-15T15:58:43.000Z | egs/madcat_arabic/v1/local/models/__init__.py | huangruizhe/waldo_old | 75ead75c3320643888141573f191f5190f9aa203 | [
"Apache-2.0"
] | 53 | 2018-04-29T20:51:17.000Z | 2018-08-22T07:06:56.000Z | egs/madcat_arabic/v1/local/models/__init__.py | huangruizhe/waldo_old | 75ead75c3320643888141573f191f5190f9aa203 | [
"Apache-2.0"
] | 13 | 2018-04-28T22:00:19.000Z | 2022-01-15T13:24:59.000Z |
from __future__ import absolute_import
from .Unet import *
| 10.333333 | 38 | 0.790323 | 8 | 62 | 5.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 62 | 5 | 39 | 12.4 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
9ef847d2d108d75bd39db8c3ce7b34a35095bdfa | 64 | py | Python | message/__init__.py | paulmchen/cmd2browser | 1b079b05e9a9ef2c306bd86c5fac7f95d82e8005 | [
"Apache-2.0"
] | 1 | 2020-08-09T19:23:11.000Z | 2020-08-09T19:23:11.000Z | message/__init__.py | paulmchen/cmd2browser | 1b079b05e9a9ef2c306bd86c5fac7f95d82e8005 | [
"Apache-2.0"
] | null | null | null | message/__init__.py | paulmchen/cmd2browser | 1b079b05e9a9ef2c306bd86c5fac7f95d82e8005 | [
"Apache-2.0"
] | 2 | 2020-08-09T19:20:43.000Z | 2021-11-21T18:38:35.000Z | # __init__.py
from .message import error_404_msg, error_500_msg
| 21.333333 | 49 | 0.828125 | 11 | 64 | 4.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.109375 | 64 | 2 | 50 | 32 | 0.684211 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7315b8c664d2ae80038ba97ee17efcaaf7c28982 | 258 | py | Python | sandy-disaster-recovery/question_db.py | toddjcrane/crisiscleanup-legacy | 74dbad143ebc3bfae4cc5afc478e43ab4033ff69 | [
"Apache-2.0"
] | 1 | 2017-01-07T21:44:21.000Z | 2017-01-07T21:44:21.000Z | sandy-disaster-recovery/question_db.py | aarontitus/crisiscleanup-legacy | 74dbad143ebc3bfae4cc5afc478e43ab4033ff69 | [
"Apache-2.0"
] | 1 | 2021-03-26T00:25:19.000Z | 2021-03-26T00:25:19.000Z | sandy-disaster-recovery/question_db.py | toddjcrane/crisiscleanup-legacy | 74dbad143ebc3bfae4cc5afc478e43ab4033ff69 | [
"Apache-2.0"
] | 1 | 2017-09-07T09:52:15.000Z | 2017-09-07T09:52:15.000Z |
from google.appengine.ext import db
class MultipleChoiceQuestion(db.Model):
question = db.TextProperty(required=True)
correct_answer = db.TextProperty(required=True)
wrong_answers = db.StringListProperty()
explanation = db.TextProperty()
| 23.454545 | 51 | 0.75969 | 28 | 258 | 6.928571 | 0.678571 | 0.216495 | 0.226804 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147287 | 258 | 10 | 52 | 25.8 | 0.881818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
7327cb3cbe9d12fed439b375fa6beb09cddea943 | 136 | py | Python | postgres_kernel/__main__.py | Basic-Components/postgres_kernel | ea0703202f3fa7d05b8f684efe498895fb9974c8 | [
"MIT"
] | 65 | 2016-06-07T19:26:18.000Z | 2021-09-18T12:53:13.000Z | postgres_kernel/__main__.py | Basic-Components/postgres_kernel | ea0703202f3fa7d05b8f684efe498895fb9974c8 | [
"MIT"
] | 18 | 2017-03-02T14:39:59.000Z | 2020-09-30T09:32:54.000Z | postgres_kernel/__main__.py | Basic-Components/postgres_kernel | ea0703202f3fa7d05b8f684efe498895fb9974c8 | [
"MIT"
] | 18 | 2016-06-07T19:27:23.000Z | 2021-07-01T09:55:19.000Z | from ipykernel.kernelapp import IPKernelApp
from .kernel import PostgresKernel
IPKernelApp.launch_instance(kernel_class=PostgresKernel)
| 34 | 56 | 0.889706 | 15 | 136 | 7.933333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066176 | 136 | 3 | 57 | 45.333333 | 0.937008 | 0 | 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 | 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 | 5 |
7329c44d77f4499bfa1c792a4e1033590862a84a | 28 | py | Python | src/sqlitehelper/__init__.py | 0xtr/minimud_python | 7241e3b904cd39426adbe0d884b0d6782bff82bf | [
"MIT"
] | null | null | null | src/sqlitehelper/__init__.py | 0xtr/minimud_python | 7241e3b904cd39426adbe0d884b0d6782bff82bf | [
"MIT"
] | null | null | null | src/sqlitehelper/__init__.py | 0xtr/minimud_python | 7241e3b904cd39426adbe0d884b0d6782bff82bf | [
"MIT"
] | null | null | null | from . import SQLiteHelper
| 9.333333 | 26 | 0.785714 | 3 | 28 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7339536aaa83939d4aef497c4c526ff5db6b1bde | 33 | py | Python | myfirst/login.py | jjwang-tester/TestFirstUse | 4fb224462818c968b14d2a88a1aa96f8a4f4792e | [
"MIT"
] | null | null | null | myfirst/login.py | jjwang-tester/TestFirstUse | 4fb224462818c968b14d2a88a1aa96f8a4f4792e | [
"MIT"
] | null | null | null | myfirst/login.py | jjwang-tester/TestFirstUse | 4fb224462818c968b14d2a88a1aa96f8a4f4792e | [
"MIT"
] | null | null | null | num =10
num2= 20
num3=30
num4=40
| 6.6 | 8 | 0.69697 | 8 | 33 | 2.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 0.181818 | 33 | 4 | 9 | 8.25 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b40866432554205ee57567afdf2527d666cba5c2 | 49 | py | Python | mbench/intervention/efficacy/__init__.py | sepmein/mBench | 5f2d7115ac8178ca0e076cfceebc75fa8d46127d | [
"BSD-3-Clause"
] | 1 | 2022-03-21T14:18:11.000Z | 2022-03-21T14:18:11.000Z | mbench/intervention/efficacy/__init__.py | sepmein/mBench | 5f2d7115ac8178ca0e076cfceebc75fa8d46127d | [
"BSD-3-Clause"
] | 6 | 2022-03-04T11:37:52.000Z | 2022-03-31T19:13:43.000Z | mbench/intervention/efficacy/__init__.py | sepmein/mBench | 5f2d7115ac8178ca0e076cfceebc75fa8d46127d | [
"BSD-3-Clause"
] | null | null | null | from .converter import Converter, Converter_2022
| 24.5 | 48 | 0.857143 | 6 | 49 | 6.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.102041 | 49 | 1 | 49 | 49 | 0.840909 | 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 | 0 | 0 | 0 | 5 |
b40ab59eea068e82b6ac6d51a00452a5407ee305 | 203 | py | Python | AlgoExpert-Array/Non Constructible Change.py | betaSolver05609/LeetCode | 0e7386e7ead80597e2893ec45f6dc6dfcd5d694b | [
"MIT"
] | null | null | null | AlgoExpert-Array/Non Constructible Change.py | betaSolver05609/LeetCode | 0e7386e7ead80597e2893ec45f6dc6dfcd5d694b | [
"MIT"
] | null | null | null | AlgoExpert-Array/Non Constructible Change.py | betaSolver05609/LeetCode | 0e7386e7ead80597e2893ec45f6dc6dfcd5d694b | [
"MIT"
] | null | null | null | def nonConstructibleChange(coins):
coins.sort()
# Write your code here.
changeable=0
for coin in coins:
if coin>changeable+1:
return changeable+1
changeable+=coin
return changeable+1
| 18.454545 | 34 | 0.719212 | 27 | 203 | 5.407407 | 0.592593 | 0.226027 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02454 | 0.197044 | 203 | 10 | 35 | 20.3 | 0.871166 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b43b6d9f6bc4c15012891f8228d0ea81fad5c4de | 80 | py | Python | src/compas_igs/ui/Rhino/IGS/dev/__plugin__.py | BlockResearchGroup/compas-IGS | b40698466b91c867600b94ae2530b19d336ad1b0 | [
"MIT"
] | 1 | 2021-11-03T23:22:37.000Z | 2021-11-03T23:22:37.000Z | src/compas_igs/ui/Rhino/IGS/dev/__plugin__.py | BlockResearchGroup/compas-IGS | b40698466b91c867600b94ae2530b19d336ad1b0 | [
"MIT"
] | 1 | 2021-11-10T03:27:58.000Z | 2021-11-17T13:51:17.000Z | src/compas_igs/ui/Rhino/IGS/dev/__plugin__.py | BlockResearchGroup/compas-IGS | b40698466b91c867600b94ae2530b19d336ad1b0 | [
"MIT"
] | null | null | null | id = "{3e33b31b-86ac-402c-babf-d3c16962ed33}"
version = "0.1.0.0"
title = "IGS"
| 20 | 45 | 0.6625 | 13 | 80 | 4.076923 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.309859 | 0.1125 | 80 | 3 | 46 | 26.666667 | 0.43662 | 0 | 0 | 0 | 0 | 0 | 0.6 | 0.475 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b4439c039b7ca8c553810fb1ec1b16bf93d91006 | 11,369 | py | Python | filebeat/tests/system/test_harvester.py | consulthys/beats | e72206e43e20f477190ce22e4e8d8aee00155c6a | [
"Apache-2.0"
] | null | null | null | filebeat/tests/system/test_harvester.py | consulthys/beats | e72206e43e20f477190ce22e4e8d8aee00155c6a | [
"Apache-2.0"
] | null | null | null | filebeat/tests/system/test_harvester.py | consulthys/beats | e72206e43e20f477190ce22e4e8d8aee00155c6a | [
"Apache-2.0"
] | null | null | null | from filebeat import BaseTest
import os
import time
"""
Test Harvesters
"""
class Test(BaseTest):
def test_close_renamed(self):
"""
Checks that a file is closed when its renamed / rotated
"""
self.render_config_template(
path=os.path.abspath(self.working_dir) + "/log... | 27.729268 | 104 | 0.558976 | 1,389 | 11,369 | 4.435565 | 0.12743 | 0.051777 | 0.065898 | 0.07726 | 0.788671 | 0.769843 | 0.76124 | 0.736893 | 0.690148 | 0.66223 | 0 | 0.017402 | 0.337849 | 11,369 | 409 | 105 | 27.797066 | 0.80101 | 0.157798 | 0 | 0.738397 | 0 | 0 | 0.096348 | 0.002256 | 0 | 0 | 0 | 0 | 0.046414 | 1 | 0.037975 | false | 0 | 0.012658 | 0 | 0.054852 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
81f27e802ecca9470bc631bc4afd63fb66befa79 | 150 | py | Python | run.py | RemoteCodersAtWork/Personal-Workspace | 4247d406c351c252f0a43a44feece1f16d017762 | [
"MIT"
] | null | null | null | run.py | RemoteCodersAtWork/Personal-Workspace | 4247d406c351c252f0a43a44feece1f16d017762 | [
"MIT"
] | null | null | null | run.py | RemoteCodersAtWork/Personal-Workspace | 4247d406c351c252f0a43a44feece1f16d017762 | [
"MIT"
] | 2 | 2020-11-23T07:19:03.000Z | 2020-12-08T02:46:53.000Z | from app import app
if __name__ == "__main__" :
app.secret_key = "secretkey"
from app import db
db.create_all()
app.run(debug = True) | 21.428571 | 32 | 0.653333 | 22 | 150 | 4 | 0.681818 | 0.159091 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 150 | 7 | 33 | 21.428571 | 0.77193 | 0 | 0 | 0 | 0 | 0 | 0.112583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 5 |
c36addd6ab5fa22991b164afdd0f877e296c2c0e | 53 | py | Python | CodeWithMosth/my_py_package/shipping.py | AymanTareq/Python_Scripts | ae41bd667c4e68f0f7024ec91b3444a082ea98ee | [
"CC0-1.0"
] | null | null | null | CodeWithMosth/my_py_package/shipping.py | AymanTareq/Python_Scripts | ae41bd667c4e68f0f7024ec91b3444a082ea98ee | [
"CC0-1.0"
] | null | null | null | CodeWithMosth/my_py_package/shipping.py | AymanTareq/Python_Scripts | ae41bd667c4e68f0f7024ec91b3444a082ea98ee | [
"CC0-1.0"
] | null | null | null | def calc_shipping():
print("Calculate shipping") | 26.5 | 31 | 0.716981 | 6 | 53 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 53 | 2 | 31 | 26.5 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 0 | 0 | 1 | 0 | 5 |
5ee6bb8cf39dff36d2b85108bb3b115b1935de2e | 15 | py | Python | test1.py | alibumaye81/topes | a63c5c555fcfb11ba55b4b775ac87c1fb51aaf80 | [
"Apache-2.0"
] | null | null | null | test1.py | alibumaye81/topes | a63c5c555fcfb11ba55b4b775ac87c1fb51aaf80 | [
"Apache-2.0"
] | null | null | null | test1.py | alibumaye81/topes | a63c5c555fcfb11ba55b4b775ac87c1fb51aaf80 | [
"Apache-2.0"
] | null | null | null | print('Topes')
| 7.5 | 14 | 0.666667 | 2 | 15 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 15 | 1 | 15 | 15 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6f341ad4ad7c36e6028273b674c48e1b88d7090f | 44 | py | Python | utlib/__init__.py | gilramir/instmake | 7b083a5061be43e9b92bdcf0f3badda7c4107eef | [
"BSD-3-Clause"
] | null | null | null | utlib/__init__.py | gilramir/instmake | 7b083a5061be43e9b92bdcf0f3badda7c4107eef | [
"BSD-3-Clause"
] | null | null | null | utlib/__init__.py | gilramir/instmake | 7b083a5061be43e9b92bdcf0f3badda7c4107eef | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2012 by Cisco Systems, Inc.
| 22 | 43 | 0.704545 | 7 | 44 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.181818 | 44 | 1 | 44 | 44 | 0.75 | 0.931818 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f6e86f430a14c5350094447e8d911702acfa449 | 4,717 | py | Python | tests/test_changepointstudy.py | vishalbelsare/bayesloop | 667db2dbd102629c16bd8675e2b8c4e365de9b28 | [
"MIT"
] | 98 | 2015-10-07T11:18:41.000Z | 2022-03-28T11:09:23.000Z | tests/test_changepointstudy.py | AndreasBauerGit/bayesloop | 166dd18c6f60cab99c28da57048f0520bbe9b188 | [
"MIT"
] | 28 | 2015-09-02T09:20:38.000Z | 2021-12-07T08:53:06.000Z | tests/test_changepointstudy.py | AndreasBauerGit/bayesloop | 166dd18c6f60cab99c28da57048f0520bbe9b188 | [
"MIT"
] | 25 | 2016-12-06T15:15:41.000Z | 2021-10-03T19:14:13.000Z | #!/usr/bin/env python
from __future__ import print_function, division
import bayesloop as bl
import numpy as np
import sympy.stats as stats
class TestTwoParameterModel:
def test_fit_1cp_1bp_2hp(self):
# carry out fit
S = bl.ChangepointStudy()
S.loadData(np.array([1, 2, 3, 4, 5]))
... | 46.70297 | 113 | 0.547806 | 538 | 4,717 | 4.741636 | 0.245353 | 0.025088 | 0.0588 | 0.072129 | 0.786358 | 0.786358 | 0.775382 | 0.775382 | 0.731478 | 0.731478 | 0 | 0.129032 | 0.316515 | 4,717 | 100 | 114 | 47.17 | 0.662221 | 0.070808 | 0 | 0.637681 | 0 | 0 | 0.128146 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 1 | 0.028986 | false | 0 | 0.057971 | 0 | 0.101449 | 0.014493 | 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 | 0 | 0 | 0 | 5 |
489c3ae2d5146bd670041c789278636786ceea0e | 33 | py | Python | src/goa/__main__.py | deeplego/goa | 308e452e871660e38b6350a5833de674de517679 | [
"MIT"
] | null | null | null | src/goa/__main__.py | deeplego/goa | 308e452e871660e38b6350a5833de674de517679 | [
"MIT"
] | null | null | null | src/goa/__main__.py | deeplego/goa | 308e452e871660e38b6350a5833de674de517679 | [
"MIT"
] | null | null | null | from goa import cli
cli.main()
| 6.6 | 19 | 0.69697 | 6 | 33 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 4 | 20 | 8.25 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5b0d952aa7ecee07ef875e24155e1f88c9517bb8 | 85 | py | Python | pysimplecache/__init__.py | brsynth/simplecache | 6bba737bf7216977f7c1a01f4e4732acabc2446e | [
"MIT"
] | null | null | null | pysimplecache/__init__.py | brsynth/simplecache | 6bba737bf7216977f7c1a01f4e4732acabc2446e | [
"MIT"
] | null | null | null | pysimplecache/__init__.py | brsynth/simplecache | 6bba737bf7216977f7c1a01f4e4732acabc2446e | [
"MIT"
] | null | null | null | from pysimplecache.Cache import Cache
from pysimplecache._version import __version__
| 28.333333 | 46 | 0.882353 | 10 | 85 | 7 | 0.5 | 0.485714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 85 | 2 | 47 | 42.5 | 0.909091 | 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 | 0 | 0 | 0 | 5 |
5b17cad0a91a2829b7ed08a5208bfb8a2966c8f5 | 1,649 | py | Python | tests/test_affine.py | mathieubrochard/starcipher | 8cc36f65d88fe24c6ba34863c8bd8188293d392a | [
"MIT"
] | 1 | 2016-10-15T16:33:52.000Z | 2016-10-15T16:33:52.000Z | tests/test_affine.py | mathieubrochard/starcipher | 8cc36f65d88fe24c6ba34863c8bd8188293d392a | [
"MIT"
] | null | null | null | tests/test_affine.py | mathieubrochard/starcipher | 8cc36f65d88fe24c6ba34863c8bd8188293d392a | [
"MIT"
] | null | null | null | import unittest
from starcipher.dictionnary import Dictionnary
from starcipher.affine import Affine
class TestAffine(unittest.TestCase):
def setUp(self):
self._dictionnary = Dictionnary('tests/en.dict')
def test_xgcd(self):
self.assertEqual(Affine.xgcd(7, 3), (1, 1, -2))
se... | 35.085106 | 118 | 0.620376 | 219 | 1,649 | 4.561644 | 0.360731 | 0.21021 | 0.294294 | 0.175175 | 0.374374 | 0.318318 | 0 | 0 | 0 | 0 | 0 | 0.043765 | 0.265616 | 1,649 | 46 | 119 | 35.847826 | 0.781173 | 0 | 0 | 0.081081 | 0 | 0 | 0.164067 | 0 | 0 | 0 | 0 | 0 | 0.405405 | 1 | 0.216216 | false | 0 | 0.081081 | 0 | 0.324324 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5b1fa36075470b0c8bdfc98d1bbd75a7d22a77f7 | 238 | py | Python | espython/settings.py | victormartinez/espython | 1b1f78e39e6e02d1e526ce5b2f52d0c6fdbb2067 | [
"MIT"
] | null | null | null | espython/settings.py | victormartinez/espython | 1b1f78e39e6e02d1e526ce5b2f52d0c6fdbb2067 | [
"MIT"
] | null | null | null | espython/settings.py | victormartinez/espython | 1b1f78e39e6e02d1e526ce5b2f52d0c6fdbb2067 | [
"MIT"
] | null | null | null | from decouple import config
ELASTICSEARCH_HOSTS = config('ELASTICSEARCH_HOSTS', 'elasticsearch')
ELASTICSEARCH_USERNAME = config('ELASTICSEARCH_USERNAME', 'elastic')
ELASTICSEARCH_PASSWORD = config('ELASTICSEARCH_PASSWORD', 'changeme')
| 34 | 69 | 0.823529 | 22 | 238 | 8.636364 | 0.454545 | 0.4 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07563 | 238 | 6 | 70 | 39.666667 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.382353 | 0.184874 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
d28651401e57f284df1d2e90bc09be4a7d934520 | 239 | py | Python | 4 kyu/Square into Squares Protect trees.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | 4 kyu/Square into Squares Protect trees.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | 4 kyu/Square into Squares Protect trees.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def decompose(n):
return helper(n, n**2)
def helper(n, sum, arr=[]):
if sum==0:
return arr[::-1]
for i in range(n-1, -1, -1):
if i**2<=sum:
return helper(i, sum-i**2, arr+[i]) or helper(i, sum, arr) | 29.875 | 71 | 0.497908 | 44 | 239 | 2.704545 | 0.363636 | 0.201681 | 0.168067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0.288703 | 239 | 8 | 71 | 29.875 | 0.652941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.