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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a08ccfe614948d4971b8700be2b7f11aadcc0794 | 22 | py | Python | torchsample/functions/__init__.py | wangg12/torchsample | a3ef27d65162862e90ff5d00e3f440238323f34d | [
"MIT"
] | 2 | 2021-01-14T12:18:11.000Z | 2021-02-02T09:06:43.000Z | affine/__init__.py | justinalsing/affine | b24b15784d0ca615d3624b3acb4e0bace87ef48a | [
"MIT"
] | null | null | null | affine/__init__.py | justinalsing/affine | b24b15784d0ca615d3624b3acb4e0bace87ef48a | [
"MIT"
] | null | null | null | from .affine import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0927572e2df96596d0a22126fb89dc832ecae66 | 119 | py | Python | src/quicknlp/__init__.py | dailai/quick-nlp | d27ae90c0788d0899af7f45b323ca64ed0c33868 | [
"MIT"
] | null | null | null | src/quicknlp/__init__.py | dailai/quick-nlp | d27ae90c0788d0899af7f45b323ca64ed0c33868 | [
"MIT"
] | null | null | null | src/quicknlp/__init__.py | dailai/quick-nlp | d27ae90c0788d0899af7f45b323ca64ed0c33868 | [
"MIT"
] | null | null | null | from .data import SpacyTokenizer, S2SModelData, DialogueAnalysis, HierarchicalModelData
from .utils import print_batch
| 39.666667 | 87 | 0.865546 | 12 | 119 | 8.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.092437 | 119 | 2 | 88 | 59.5 | 0.935185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
262d69d1dae167832448451baca0ef020716ad06 | 26 | py | Python | models/__init__.py | relax-space/flask-api | 3f3dfa3ccf03d6751d9789bc5ae33a0c17d5d004 | [
"Apache-2.0"
] | null | null | null | models/__init__.py | relax-space/flask-api | 3f3dfa3ccf03d6751d9789bc5ae33a0c17d5d004 | [
"Apache-2.0"
] | null | null | null | models/__init__.py | relax-space/flask-api | 3f3dfa3ccf03d6751d9789bc5ae33a0c17d5d004 | [
"Apache-2.0"
] | null | null | null | from models.util import *
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd0e42a383a3c1bc772856b56ca083d7f0c34ed4 | 42 | py | Python | Pixelinfo.py | TheExiledTheory/LeagueTwistedFate | 44d397f24b5612ebb609d5d232afabf3b7bba2e7 | [
"Unlicense"
] | null | null | null | Pixelinfo.py | TheExiledTheory/LeagueTwistedFate | 44d397f24b5612ebb609d5d232afabf3b7bba2e7 | [
"Unlicense"
] | null | null | null | Pixelinfo.py | TheExiledTheory/LeagueTwistedFate | 44d397f24b5612ebb609d5d232afabf3b7bba2e7 | [
"Unlicense"
] | null | null | null | import mouseinfo
mouseinfo.mouseInfo() | 14 | 21 | 0.785714 | 4 | 42 | 8.25 | 0.5 | 1.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 3 | 21 | 14 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 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 | 6 |
cd37f7c431014c103184df121e0eca5095edf2d6 | 34 | py | Python | djackal/model_mixins/__init__.py | jrog612/djackal | f46733f69f7a2e796ac611700ac5ffe20b7f0927 | [
"MIT"
] | null | null | null | djackal/model_mixins/__init__.py | jrog612/djackal | f46733f69f7a2e796ac611700ac5ffe20b7f0927 | [
"MIT"
] | null | null | null | djackal/model_mixins/__init__.py | jrog612/djackal | f46733f69f7a2e796ac611700ac5ffe20b7f0927 | [
"MIT"
] | null | null | null | from .bind_mixin import BindMixin
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd6a84d74370fd5cc50bd2c95fc108d60ff3fe45 | 38 | py | Python | views/helpers/__init__.py | ray2060/mathquiz | ebe0952f1768f382d0c4ae50c470a045a3446e0c | [
"MIT"
] | null | null | null | views/helpers/__init__.py | ray2060/mathquiz | ebe0952f1768f382d0c4ae50c470a045a3446e0c | [
"MIT"
] | null | null | null | views/helpers/__init__.py | ray2060/mathquiz | ebe0952f1768f382d0c4ae50c470a045a3446e0c | [
"MIT"
] | null | null | null | from .db import *
from .quiz import *
| 12.666667 | 19 | 0.684211 | 6 | 38 | 4.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 2 | 20 | 19 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26bd87d6a92b9bc35fbe0810838e6276bd4cc92e | 27 | py | Python | src/euler_python_package/euler_python/medium/p430.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p430.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p430.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem430():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
26f510ac5aa8b1e1069a46d9c1b5fec3cf88ad1e | 36 | py | Python | adidnsdump/__init__.py | absolomb/adidnsdump | a145c8ab2ef9444f8c09c014e464056f6dcb32c8 | [
"MIT"
] | 513 | 2019-04-25T16:10:47.000Z | 2022-03-25T03:07:48.000Z | adidnsdump/__init__.py | absolomb/adidnsdump | a145c8ab2ef9444f8c09c014e464056f6dcb32c8 | [
"MIT"
] | 13 | 2019-04-26T07:05:30.000Z | 2020-12-02T20:25:31.000Z | adidnsdump/__init__.py | absolomb/adidnsdump | a145c8ab2ef9444f8c09c014e464056f6dcb32c8 | [
"MIT"
] | 72 | 2019-04-25T17:08:23.000Z | 2022-03-30T16:24:27.000Z | from adidnsdump.dnsdump import main
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f870614b3b7ca23e252a518e1204227392e117dc | 184 | py | Python | utility/__init__.py | tencent-ailab/GrndPodcastSum | 3e1806669e1fdbc3134e9bb3ccd1dedeb341bc8f | [
"Apache-2.0"
] | 8 | 2022-03-04T06:33:03.000Z | 2022-03-29T10:42:40.000Z | utility/__init__.py | tencent-ailab/GrndPodcastSum | 3e1806669e1fdbc3134e9bb3ccd1dedeb341bc8f | [
"Apache-2.0"
] | null | null | null | utility/__init__.py | tencent-ailab/GrndPodcastSum | 3e1806669e1fdbc3134e9bb3ccd1dedeb341bc8f | [
"Apache-2.0"
] | 2 | 2022-03-04T07:05:52.000Z | 2022-03-07T05:10:26.000Z | from .input_output import *
from .parallel import DataParallelModel, DataParallelCriterion
from .detokenize_trick import *
from .generation_tricks import *
from .prepare_data import *
| 30.666667 | 62 | 0.831522 | 21 | 184 | 7.095238 | 0.619048 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11413 | 184 | 5 | 63 | 36.8 | 0.91411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f8b41fbd819f9f8128c7d488ee1e1634e2dc34dd | 95 | py | Python | lib/Connection.py | sedukull/ConnectionPool | 056824eff8acda2598805bf5b241532d107c465b | [
"MIT"
] | null | null | null | lib/Connection.py | sedukull/ConnectionPool | 056824eff8acda2598805bf5b241532d107c465b | [
"MIT"
] | null | null | null | lib/Connection.py | sedukull/ConnectionPool | 056824eff8acda2598805bf5b241532d107c465b | [
"MIT"
] | null | null | null | class Connection(object):
def open(self):
pass
def close(self):
pass
| 11.875 | 25 | 0.547368 | 11 | 95 | 4.727273 | 0.727273 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357895 | 95 | 7 | 26 | 13.571429 | 0.852459 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f8b82a24e6b4b94a9352ce983e2e22854355d93c | 4,431 | py | Python | viz.py | zheshiyige/Learning-Diverse-Stochastic-Human-Action-Generators-by-Learning-Smooth-Latent-Transitions | 825e4bcc788eed1a034f5063331e9791a369222b | [
"MIT"
] | 16 | 2019-12-28T15:47:12.000Z | 2022-03-21T03:11:41.000Z | viz.py | zheshiyige/Learning-Diverse-Stochastic-Human-Action-Generators-by-Learning-Smooth-Latent-Transitions | 825e4bcc788eed1a034f5063331e9791a369222b | [
"MIT"
] | 2 | 2020-03-19T04:52:27.000Z | 2020-03-25T03:00:16.000Z | viz.py | zheshiyige/Learning-Diverse-Stochastic-Human-Action-Generators-by-Learning-Smooth-Latent-Transitions | 825e4bcc788eed1a034f5063331e9791a369222b | [
"MIT"
] | 2 | 2020-04-30T06:55:04.000Z | 2021-06-28T07:02:48.000Z |
"""Functions to visualize human poses"""
import matplotlib.pyplot as plt
import data_utils
import numpy as np
import h5py
import os
from mpl_toolkits.mplot3d import Axes3D
def show2Dpose(channels, ax, lcolor="#3498db", rcolor="#e74c3c", add_labels=False):
"""
Visualize a 2d skeleton
Args
channels: 64x1 ve... | 32.580882 | 132 | 0.620402 | 770 | 4,431 | 3.497403 | 0.188312 | 0.019309 | 0.023394 | 0.026736 | 0.830672 | 0.815819 | 0.815819 | 0.815819 | 0.79948 | 0.79948 | 0 | 0.08414 | 0.230196 | 4,431 | 135 | 133 | 32.822222 | 0.705365 | 0.262695 | 0 | 0.640625 | 0 | 0 | 0.065107 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 1 | 0.046875 | false | 0 | 0.09375 | 0 | 0.140625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3e3df33e7efb3f5ad944ab1b2cbb06dea98d3780 | 36,745 | py | Python | speckley/test/python/run_specialOnSpeckley.py | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null | speckley/test/python/run_specialOnSpeckley.py | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | 1 | 2019-01-14T03:07:43.000Z | 2019-01-14T03:07:43.000Z | speckley/test/python/run_specialOnSpeckley.py | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null |
##############################################################################
#
# Copyright (c) 2003-2018 by The University of Queensland
# http://www.uq.edu.au
#
# Primary Business: Queensland, Australia
# Licensed under the Apache License, version 2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Development unt... | 50.82296 | 269 | 0.498081 | 4,382 | 36,745 | 4.145139 | 0.060246 | 0.028518 | 0.014534 | 0.022297 | 0.89749 | 0.876844 | 0.861154 | 0.850253 | 0.823167 | 0.803072 | 0 | 0.086659 | 0.355586 | 36,745 | 722 | 270 | 50.893352 | 0.680434 | 0.028875 | 0 | 0.685624 | 0 | 0.00158 | 0.10604 | 0 | 0 | 0 | 0 | 0 | 0.093207 | 1 | 0.042654 | false | 0 | 0.011058 | 0 | 0.060032 | 0.00158 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3e424e88147b39c8cc26c3bc25c7df6527ca0965 | 1,704 | py | Python | tests/test_util_reflection_fs.py | jonathancross/specter-desktop | 0178aa3879134415d63d62098b7f4f1b17db1d13 | [
"MIT"
] | null | null | null | tests/test_util_reflection_fs.py | jonathancross/specter-desktop | 0178aa3879134415d63d62098b7f4f1b17db1d13 | [
"MIT"
] | null | null | null | tests/test_util_reflection_fs.py | jonathancross/specter-desktop | 0178aa3879134415d63d62098b7f4f1b17db1d13 | [
"MIT"
] | null | null | null | import os
from pathlib import Path
from cryptoadvance.specter.util.reflection_fs import (
search_dirs_in_path,
detect_extension_style_in_cwd,
)
from typing import List
def test_search_dir_in_cwd():
plist: List[Path] = search_dirs_in_path(Path("./tests/xtestdata_testextensions"))
assert len(plist) == 2... | 27.047619 | 108 | 0.660211 | 189 | 1,704 | 5.566138 | 0.253968 | 0.119772 | 0.239544 | 0.206274 | 0.795627 | 0.741445 | 0.741445 | 0.741445 | 0.648289 | 0.648289 | 0 | 0.008689 | 0.257042 | 1,704 | 62 | 109 | 27.483871 | 0.822275 | 0 | 0 | 0.403509 | 0 | 0 | 0.358779 | 0.340575 | 0 | 0 | 0 | 0 | 0.192982 | 1 | 0.035088 | false | 0 | 0.070175 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4a83d4b597e3b382a86913d431ac0af6e2983ce | 17,806 | py | Python | NoteBook/CONSTANTS.py | PlayerG9/MassFiles | 63aa1c24109dcd9def9eb7691c337f1176731436 | [
"MIT"
] | 1 | 2021-06-28T12:35:09.000Z | 2021-06-28T12:35:09.000Z | NoteBook/CONSTANTS.py | PlayerG9/MassFiles | 63aa1c24109dcd9def9eb7691c337f1176731436 | [
"MIT"
] | null | null | null | NoteBook/CONSTANTS.py | PlayerG9/MassFiles | 63aa1c24109dcd9def9eb7691c337f1176731436 | [
"MIT"
] | null | null | null | import sys as __sys
import os as __os
from enum import Enum as __Enum
# if getattr(__sys, 'frozen', False):
# APPDIR = __os.path.dirname(__sys.executable)
# else:
# APPDIR = __os.path.dirname()
CODEDIR = __os.path.dirname(__file__)
if getattr(__sys, 'frozen', False):
CODEDIR = __os.path.join(CODEDIR, 'Not... | 593.533333 | 11,477 | 0.92817 | 1,092 | 17,806 | 15.10348 | 0.50641 | 0.032741 | 0.037046 | 0.04608 | 0.156491 | 0.141211 | 0.13824 | 0.123568 | 0.118717 | 0.103438 | 0 | 0.177268 | 0.005841 | 17,806 | 29 | 11,478 | 614 | 0.754435 | 0.009267 | 0 | 0 | 0 | 0.133333 | 0.975787 | 0.973972 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.466667 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4b1cf17b339d4a10920f52b3f38069aca4600aa | 4,603 | py | Python | pclib/rtl/arbiters.py | belang/pymtl | 4a96738724b007cbd684753aed0ac3de5b5dbebb | [
"BSD-3-Clause"
] | 206 | 2015-01-05T21:53:56.000Z | 2022-03-14T08:04:49.000Z | pclib/rtl/arbiters.py | belang/pymtl | 4a96738724b007cbd684753aed0ac3de5b5dbebb | [
"BSD-3-Clause"
] | 84 | 2015-01-25T19:57:33.000Z | 2021-05-11T15:46:56.000Z | pclib/rtl/arbiters.py | belang/pymtl | 4a96738724b007cbd684753aed0ac3de5b5dbebb | [
"BSD-3-Clause"
] | 99 | 2015-02-17T17:43:44.000Z | 2022-02-14T17:58:18.000Z | #=======================================================================
# arbiters.py
#=======================================================================
'''Collection of arbiter implementations based on vc-Arbiters.'''
from pymtl import *
from pclib.rtl import Mux, RegEnRst
#-------------------------------... | 29.132911 | 72 | 0.466 | 550 | 4,603 | 3.78 | 0.163636 | 0.087542 | 0.06734 | 0.05291 | 0.770082 | 0.763348 | 0.763348 | 0.74026 | 0.714767 | 0.714767 | 0 | 0.015291 | 0.247013 | 4,603 | 157 | 73 | 29.318471 | 0.584535 | 0.313057 | 0 | 0.873418 | 0 | 0 | 0.004499 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088608 | false | 0 | 0.025316 | 0.025316 | 0.164557 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4d1ea12da2b0f3be5ba8f854c550253f3aa2fca | 43 | py | Python | 01-DesenvolvimentoDeSistemas/02-LinguagensDeProgramacao/01-Python/01-ListaDeExercicios/02-Aluno/AlexNunes/exerc001.py | moacirsouza/nadas | ad98d73b4281d1581fd2b2a9d29001acb426ee56 | [
"MIT"
] | 1 | 2020-07-03T13:54:18.000Z | 2020-07-03T13:54:18.000Z | 01-DesenvolvimentoDeSistemas/02-LinguagensDeProgramacao/01-Python/01-ListaDeExercicios/02-Aluno/AlexNunes/exerc001.py | moacirsouza/nadas | ad98d73b4281d1581fd2b2a9d29001acb426ee56 | [
"MIT"
] | null | null | null | 01-DesenvolvimentoDeSistemas/02-LinguagensDeProgramacao/01-Python/01-ListaDeExercicios/02-Aluno/AlexNunes/exerc001.py | moacirsouza/nadas | ad98d73b4281d1581fd2b2a9d29001acb426ee56 | [
"MIT"
] | null | null | null | # Printar "Olá mundo!"
print('Olá mundo!') | 21.5 | 23 | 0.651163 | 6 | 43 | 4.666667 | 0.666667 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 2 | 24 | 21.5 | 0.756757 | 0.465116 | 0 | 0 | 0 | 0 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
901320cb4fec1d54c9f3093636f16e05c2ad75a4 | 24 | py | Python | chunkflow/chunk/__init__.py | fcollman/chunkflow | 5834d406d4fc3579bae37edfb50a11dc67f4a1a3 | [
"Apache-2.0"
] | 36 | 2019-03-20T21:58:15.000Z | 2022-03-28T08:40:59.000Z | chunkflow/chunk/__init__.py | fcollman/chunkflow | 5834d406d4fc3579bae37edfb50a11dc67f4a1a3 | [
"Apache-2.0"
] | 96 | 2019-01-23T14:49:18.000Z | 2022-03-21T19:54:20.000Z | chunkflow/chunk/__init__.py | fcollman/chunkflow | 5834d406d4fc3579bae37edfb50a11dc67f4a1a3 | [
"Apache-2.0"
] | 7 | 2019-03-25T19:32:19.000Z | 2021-07-20T19:39:03.000Z | from .base import Chunk
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
901f5fa6099f47e5f9a77a495f1380d7c3679fb9 | 26 | py | Python | milk/supervised/precluster_learner.py | luispedro/milk | abc2a28b526c199414d42c0a26092938968c3caf | [
"MIT"
] | 284 | 2015-01-21T09:07:55.000Z | 2022-03-19T07:39:17.000Z | milk/supervised/precluster_learner.py | pursh2002/milk | abc2a28b526c199414d42c0a26092938968c3caf | [
"MIT"
] | 6 | 2015-04-22T15:17:44.000Z | 2018-04-22T16:06:24.000Z | milk/supervised/precluster_learner.py | pursh2002/milk | abc2a28b526c199414d42c0a26092938968c3caf | [
"MIT"
] | 109 | 2015-02-03T07:39:59.000Z | 2022-01-16T00:16:13.000Z | from .precluster import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90334f47569559cc0c1f862ec39b88036404d7cc | 2,334 | py | Python | cosmoslib/utils/cg.py | guanyilun/cosmo-codes | a1fb44a1b61211a237080949ce4bfa9e7604083f | [
"MIT"
] | 1 | 2019-08-30T04:07:29.000Z | 2019-08-30T04:07:29.000Z | cosmoslib/utils/cg.py | guanyilun/cosmoslib | a1fb44a1b61211a237080949ce4bfa9e7604083f | [
"MIT"
] | null | null | null | cosmoslib/utils/cg.py | guanyilun/cosmoslib | a1fb44a1b61211a237080949ce4bfa9e7604083f | [
"MIT"
] | null | null | null | """try to implement a conjugate gradient method following
following: https://www.cs.cmu.edu/~quake-papers/painless-conjugate-gradient.pdf
"""
def CG(A, b, x0, eps=0.01, imax=50):
"""Solve linear system Ax = b, starting from x0.
The iterative process stops when the residue falls below eps.
Eq. 45 - 49.
... | 25.369565 | 79 | 0.551414 | 364 | 2,334 | 3.453297 | 0.293956 | 0.089101 | 0.047733 | 0.012729 | 0.776452 | 0.776452 | 0.719173 | 0.719173 | 0.719173 | 0.626889 | 0 | 0.028646 | 0.341902 | 2,334 | 91 | 80 | 25.648352 | 0.789714 | 0.461011 | 0 | 0.780488 | 0 | 0 | 0.010667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0 | 0 | 0.097561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9048b61b65549cb15ecd16bde0f5442e26a9dd03 | 26,041 | py | Python | src/lightning_classes/datamodule_ventilator_heng.py | Erlemar/ventilator_kaggle_models | 216e5fcfde28cd20773d0ccf996fff3ff1775921 | [
"MIT"
] | 3 | 2021-12-12T18:07:08.000Z | 2022-03-06T17:15:24.000Z | src/lightning_classes/datamodule_ventilator_heng.py | Erlemar/ventilator_kaggle_models | 216e5fcfde28cd20773d0ccf996fff3ff1775921 | [
"MIT"
] | 1 | 2022-03-05T20:11:08.000Z | 2022-03-05T20:11:08.000Z | src/lightning_classes/datamodule_ventilator_heng.py | Erlemar/ventilator_kaggle_models | 216e5fcfde28cd20773d0ccf996fff3ff1775921 | [
"MIT"
] | null | null | null | import gc
import os
import numpy as np
import pandas as pd
import pytorch_lightning as pl
from omegaconf import DictConfig
from sklearn.model_selection import KFold
from sklearn.preprocessing import RobustScaler
from torch.utils.data import DataLoader
from src.utils.technical_utils import load_obj
class VentilatorD... | 54.479079 | 282 | 0.582313 | 3,752 | 26,041 | 3.706023 | 0.058635 | 0.053506 | 0.08479 | 0.077526 | 0.830349 | 0.82064 | 0.788997 | 0.757497 | 0.729809 | 0.726573 | 0 | 0.027203 | 0.229254 | 26,041 | 477 | 283 | 54.593291 | 0.665587 | 0.03433 | 0 | 0.531088 | 0 | 0 | 0.231743 | 0.014208 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025907 | false | 0.002591 | 0.025907 | 0 | 0.072539 | 0.002591 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
904a8a7dffe8de86f27490328ca7f61e1e1fa218 | 122 | py | Python | python/testData/refactoring/move/class/before/src/lib1.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/move/class/before/src/lib1.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/move/class/before/src/lib1.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class URLOpener(object):
def __init__(self, x):
self.x = x
def urlopen(self):
return file(self.x) | 20.333333 | 27 | 0.581967 | 17 | 122 | 3.941176 | 0.588235 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295082 | 122 | 6 | 27 | 20.333333 | 0.77907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
395df03d419ff2719fb23c3a31431a45b972af73 | 22 | py | Python | scripts/portal/BPReturn_Hillah.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/BPReturn_Hillah.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/BPReturn_Hillah.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | sm.warp(262010000, 0)
| 11 | 21 | 0.727273 | 4 | 22 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.090909 | 22 | 1 | 22 | 22 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
397599e9487583be3edc373401916f4c5501f9a3 | 141 | py | Python | app/aicos_reporter/__init__.py | muhiza/digital.cooperative | f57a749e10796b6e00920b21809ab56b9274d944 | [
"Unlicense"
] | null | null | null | app/aicos_reporter/__init__.py | muhiza/digital.cooperative | f57a749e10796b6e00920b21809ab56b9274d944 | [
"Unlicense"
] | null | null | null | app/aicos_reporter/__init__.py | muhiza/digital.cooperative | f57a749e10796b6e00920b21809ab56b9274d944 | [
"Unlicense"
] | null | null | null | from flask import Blueprint
aicos_reporter = Blueprint('aicos_reporter', __name__,
template_folder='templates')
from . import views
| 20.142857 | 54 | 0.765957 | 16 | 141 | 6.3125 | 0.6875 | 0.277228 | 0.435644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156028 | 141 | 6 | 55 | 23.5 | 0.84874 | 0 | 0 | 0 | 0 | 0 | 0.163121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 6 |
39cf59ccf8a117219f54c7256e4b314864515192 | 41 | py | Python | taf/testlib/ui_onpss_shell/__init__.py | stepanandr/taf | 75cb85861f8e9703bab7dc6195f3926b8394e3d0 | [
"Apache-2.0"
] | 10 | 2016-12-16T00:05:58.000Z | 2018-10-30T17:48:25.000Z | taf/testlib/ui_onpss_shell/__init__.py | stepanandr/taf | 75cb85861f8e9703bab7dc6195f3926b8394e3d0 | [
"Apache-2.0"
] | 40 | 2017-01-04T23:07:05.000Z | 2018-04-16T19:52:02.000Z | taf/testlib/ui_onpss_shell/__init__.py | stepanandr/taf | 75cb85861f8e9703bab7dc6195f3926b8394e3d0 | [
"Apache-2.0"
] | 23 | 2016-12-30T05:03:53.000Z | 2020-04-01T08:40:24.000Z |
from .ui_onpss_shell import UiOnpssShell | 20.5 | 40 | 0.878049 | 6 | 41 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 2 | 40 | 20.5 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f2ec806909df07b756ec91fd818a8874fc68ba49 | 1,206 | py | Python | apps/wagtail/home/migrations/0011_auto_20210317_1749.py | aadrm/breakoutwagtail | cf4ce09153adf2b5e14f15ffbc82bda754d427b3 | [
"MIT"
] | null | null | null | apps/wagtail/home/migrations/0011_auto_20210317_1749.py | aadrm/breakoutwagtail | cf4ce09153adf2b5e14f15ffbc82bda754d427b3 | [
"MIT"
] | null | null | null | apps/wagtail/home/migrations/0011_auto_20210317_1749.py | aadrm/breakoutwagtail | cf4ce09153adf2b5e14f15ffbc82bda754d427b3 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2021-03-17 17:49
from django.db import migrations, models
import wagtail.core.fields
class Migration(migrations.Migration):
dependencies = [
('home', '0010_homepage_our_rooms_header'),
]
operations = [
migrations.AddField(
model_name='homepage'... | 30.15 | 75 | 0.597015 | 130 | 1,206 | 5.346154 | 0.338462 | 0.069065 | 0.165468 | 0.194245 | 0.735252 | 0.735252 | 0.735252 | 0.735252 | 0.735252 | 0.57554 | 0 | 0.026807 | 0.288557 | 1,206 | 39 | 76 | 30.923077 | 0.783217 | 0.037313 | 0 | 0.606061 | 1 | 0 | 0.13805 | 0.025884 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
84086f36bc3cccdc88f4b87ee79c768fbf0991f0 | 37 | py | Python | src/utils/__init__.py | caveman1234/tpython-kinter | 159879c7c2dcb7f1af1876fe3b76a3466e3ac7b3 | [
"MIT"
] | null | null | null | src/utils/__init__.py | caveman1234/tpython-kinter | 159879c7c2dcb7f1af1876fe3b76a3466e3ac7b3 | [
"MIT"
] | null | null | null | src/utils/__init__.py | caveman1234/tpython-kinter | 159879c7c2dcb7f1af1876fe3b76a3466e3ac7b3 | [
"MIT"
] | null | null | null | from utils.index import func as func1 | 37 | 37 | 0.837838 | 7 | 37 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.135135 | 37 | 1 | 37 | 37 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
843b38fe7b4294eab95918fbaacc49a1c5ac1da9 | 1,806 | py | Python | alembic/versions/97bba2b7506c_.py | reo7sp/vk-channelify | 06e513d8aef456bc91b927102d542fb444cf8502 | [
"MIT"
] | 21 | 2017-05-01T11:25:59.000Z | 2022-03-01T20:10:15.000Z | alembic/versions/97bba2b7506c_.py | reo7sp/vk-channelify | 06e513d8aef456bc91b927102d542fb444cf8502 | [
"MIT"
] | 6 | 2017-05-06T01:55:30.000Z | 2018-06-27T20:00:26.000Z | alembic/versions/97bba2b7506c_.py | reo7sp/vk-channelify | 06e513d8aef456bc91b927102d542fb444cf8502 | [
"MIT"
] | 3 | 2017-05-30T12:13:41.000Z | 2018-03-17T18:18:46.000Z | """empty message
Revision ID: 97bba2b7506c
Revises: 215a632cdf23
Create Date: 2017-07-09 17:05:36.617297
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '97bba2b7506c'
down_revision = '215a632cdf23'
branch_labels = None
depends_on = None
def upgrade():
# ... | 31.684211 | 65 | 0.616279 | 198 | 1,806 | 5.383838 | 0.292929 | 0.065666 | 0.121951 | 0.150094 | 0.732645 | 0.732645 | 0.732645 | 0.719512 | 0.719512 | 0.71576 | 0 | 0.037707 | 0.265781 | 1,806 | 56 | 66 | 32.25 | 0.766214 | 0.163344 | 0 | 0.789474 | 0 | 0 | 0.189959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.052632 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ffdfd47bbeacd90779f9b6083ac2e2d2ff111c60 | 133 | py | Python | examples/kvm/commands/migrate.py | StarryInternet/python-clg | d60e2a3f9f2271b50a278af18e9dfbd08a0901d9 | [
"MIT"
] | 25 | 2015-02-23T16:40:58.000Z | 2021-07-11T16:37:29.000Z | examples/kvm/commands/migrate.py | StarryInternet/python-clg | d60e2a3f9f2271b50a278af18e9dfbd08a0901d9 | [
"MIT"
] | 6 | 2015-02-18T00:16:00.000Z | 2021-11-30T14:43:42.000Z | examples/kvm/commands/migrate.py | StarryInternet/python-clg | d60e2a3f9f2271b50a278af18e9dfbd08a0901d9 | [
"MIT"
] | 3 | 2015-03-21T18:49:09.000Z | 2021-06-24T20:06:13.000Z | # -*- coding: utf-8 -*-
"""Command for deploying a new guest."""
from pprint import pprint
def main(args):
pprint(vars(args))
| 14.777778 | 40 | 0.639098 | 19 | 133 | 4.473684 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.18797 | 133 | 8 | 41 | 16.625 | 0.777778 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
ffdfeb4c9e02d4c0f76c18b3dd9319617114b047 | 145 | py | Python | ws/__init__.py | classAndrew/valor | b68a72b76c111e22d8df8d56a2923185f057fc2a | [
"MIT"
] | null | null | null | ws/__init__.py | classAndrew/valor | b68a72b76c111e22d8df8d56a2923185f057fc2a | [
"MIT"
] | null | null | null | ws/__init__.py | classAndrew/valor | b68a72b76c111e22d8df8d56a2923185f057fc2a | [
"MIT"
] | 1 | 2021-11-28T00:45:25.000Z | 2021-11-28T00:45:25.000Z | from .terr_track import _register_terr_track
from valor import Valor
async def register_all(valor: Valor):
await _register_terr_track(valor) | 29 | 44 | 0.827586 | 22 | 145 | 5.090909 | 0.454545 | 0.241071 | 0.303571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124138 | 145 | 5 | 45 | 29 | 0.88189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fff56d002f5ce5bacde9b7a8a7eaaa874444b813 | 5,186 | py | Python | Gromov_Wasserstein/spiral/mini_batch_gw.py | kilianFatras/unbisad_minibatch_sinkhorn_GAN | cd21033e5bbf974283fcb1b88e586270e5a6ba7e | [
"MIT"
] | 6 | 2021-03-15T12:14:27.000Z | 2022-03-18T05:14:04.000Z | Gromov_Wasserstein/spiral/mini_batch_gw.py | kilianFatras/unbisad_minibatch_sinkhorn_GAN | cd21033e5bbf974283fcb1b88e586270e5a6ba7e | [
"MIT"
] | null | null | null | Gromov_Wasserstein/spiral/mini_batch_gw.py | kilianFatras/unbisad_minibatch_sinkhorn_GAN | cd21033e5bbf974283fcb1b88e586270e5a6ba7e | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pylab as pl
import ot
from utils import mini_batch, update_gamma
import scipy
def calculate_expectation_gamma(a, b, all_comb_s, all_comb_t, bs_s, bs_t, M1, M2,lambd=0.5, method='emd'):
'''Compute the expectation of mini batch gamma'''
nb_comb_s = np.shape(all_comb_s)[0]
... | 39.892308 | 142 | 0.578288 | 846 | 5,186 | 3.204492 | 0.096927 | 0.033198 | 0.026558 | 0.026558 | 0.890446 | 0.876429 | 0.876429 | 0.876429 | 0.876429 | 0.876429 | 0 | 0.027379 | 0.288662 | 5,186 | 129 | 143 | 40.20155 | 0.707509 | 0.070189 | 0 | 0.666667 | 0 | 0 | 0.03005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.052083 | 0 | 0.135417 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
081b76d7c9e325343da56dd4c6025745e6711211 | 3,999 | py | Python | tests.py | lukecyca/BoxMaker | 6d722a1aa9de888d1f94db75a79f46ce9641105f | [
"MIT"
] | 20 | 2016-03-03T05:50:12.000Z | 2021-01-04T13:36:51.000Z | tests.py | lukecyca/BoxMaker | 6d722a1aa9de888d1f94db75a79f46ce9641105f | [
"MIT"
] | 5 | 2017-07-17T09:27:43.000Z | 2018-04-10T09:07:42.000Z | tests.py | lukecyca/BoxMaker | 6d722a1aa9de888d1f94db75a79f46ce9641105f | [
"MIT"
] | 9 | 2017-02-26T13:32:43.000Z | 2019-06-18T09:56:12.000Z | import unittest
import BMLib
class TestBoxMaker(unittest.TestCase):
def test_genHorizontalLinePoints(self):
expected = [
(0, 0),
(4, 0),
(4, 1),
(8, 1),
(8, 0),
(12, 0),
(12, 1),
(16, 1),
(16, 0),
... | 22.59322 | 68 | 0.275819 | 386 | 3,999 | 2.839378 | 0.072539 | 0.032847 | 0.024635 | 0.191606 | 0.687044 | 0.687044 | 0.653285 | 0.653285 | 0.619526 | 0.619526 | 0 | 0.209086 | 0.543136 | 3,999 | 176 | 69 | 22.721591 | 0.390805 | 0 | 0 | 0.802395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041916 | 1 | 0.041916 | false | 0 | 0.011976 | 0 | 0.05988 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f28862a8563cecebf5ac891a3b67d6c52033a323 | 134 | py | Python | avatar/emulators/s2e/__init__.py | gitttt/avatar-python-private | aa33ac9f37b7a1d79943ac89109f3f9e38cf3736 | [
"ECL-2.0",
"Apache-2.0"
] | 30 | 2017-09-05T18:21:57.000Z | 2022-01-13T08:23:49.000Z | avatar/emulators/s2e/__init__.py | gitttt/avatar-python-private | aa33ac9f37b7a1d79943ac89109f3f9e38cf3736 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2016-12-08T13:17:53.000Z | 2016-12-08T13:27:36.000Z | avatar/emulators/s2e/__init__.py | K-atc/avatar-python | c6d74f85f63333e3031e1f5e208d3f90e316a9e4 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2017-09-26T07:36:50.000Z | 2020-10-31T00:47:08.000Z | from avatar.emulators.s2e.s2e_emulator import S2EEmulator
def init_s2e_emulator(system):
system.set_emulator(S2EEmulator(system)) | 33.5 | 57 | 0.835821 | 18 | 134 | 6 | 0.611111 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04065 | 0.08209 | 134 | 4 | 58 | 33.5 | 0.837398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f2b3fb2106b462224807450669c8d148bdc06f5f | 2,854 | py | Python | 1524. Number of Sub-arrays With Odd Sum.py | Nriver/leetcode | e0b30fae8a31513172fcbd13d67eded8922ba785 | [
"MIT"
] | null | null | null | 1524. Number of Sub-arrays With Odd Sum.py | Nriver/leetcode | e0b30fae8a31513172fcbd13d67eded8922ba785 | [
"MIT"
] | null | null | null | 1524. Number of Sub-arrays With Odd Sum.py | Nriver/leetcode | e0b30fae8a31513172fcbd13d67eded8922ba785 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author: zengjq
# @Date: 2020-10-21 17:04:13
# @Last Modified by: zengjq
# @Last Modified time: 2020-10-22 09:06:50
class Solution:
# 注意sub array是指连续的某几个数
# 太慢
def numOfSubarrays1(self, arr):
res = 0
for i in range(0, len(arr)):
for j in range(i+1,... | 109.769231 | 2,258 | 0.635249 | 856 | 2,854 | 2.117991 | 0.158879 | 0.013238 | 0.044126 | 0.027579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.566692 | 0.059566 | 2,854 | 26 | 2,258 | 109.769231 | 0.108793 | 0.094604 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4b59e2672c5767b571389778f26b230a0ded59b2 | 10,156 | py | Python | automatization_of_data_mining_project/nan_value_filler/test/test_nan_value_filler.py | Sale1996/automatization_of_data_mining_project | 223aec59231586563a3b125bff064f8420630a8f | [
"MIT"
] | null | null | null | automatization_of_data_mining_project/nan_value_filler/test/test_nan_value_filler.py | Sale1996/automatization_of_data_mining_project | 223aec59231586563a3b125bff064f8420630a8f | [
"MIT"
] | null | null | null | automatization_of_data_mining_project/nan_value_filler/test/test_nan_value_filler.py | Sale1996/automatization_of_data_mining_project | 223aec59231586563a3b125bff064f8420630a8f | [
"MIT"
] | null | null | null | import unittest
import pandas
from pandas._testing import assert_frame_equal
from data_set_info_data_class.data_class.data_set_info import DataSetInfo
from nan_value_filler.depedency_injector.container import Container
from nan_value_filler.exceptions.nan_value_filler_exceptions import WrongInputFormatError
class N... | 56.73743 | 134 | 0.569712 | 1,195 | 10,156 | 4.395816 | 0.079498 | 0.106606 | 0.131925 | 0.05178 | 0.871312 | 0.870741 | 0.869027 | 0.869027 | 0.869027 | 0.864839 | 0 | 0.062131 | 0.316955 | 10,156 | 178 | 135 | 57.05618 | 0.695113 | 0 | 0 | 0.694656 | 0 | 0 | 0.07178 | 0.009551 | 0 | 0 | 0 | 0 | 0.114504 | 1 | 0.114504 | false | 0.007634 | 0.045802 | 0 | 0.198473 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4b8eeb5d1dcab82cff85bbb3729981bc725f668c | 2,703 | py | Python | Source Code/train_val.py | nowtryz/SubUnet | 881fdcf1a3e95378cd3ecd2f64aef41258fb62d2 | [
"MIT"
] | null | null | null | Source Code/train_val.py | nowtryz/SubUnet | 881fdcf1a3e95378cd3ecd2f64aef41258fb62d2 | [
"MIT"
] | null | null | null | Source Code/train_val.py | nowtryz/SubUnet | 881fdcf1a3e95378cd3ecd2f64aef41258fb62d2 | [
"MIT"
] | null | null | null | from torch import nn
from metrics import Metrics
from utils import to_var, getTargetSegmentation
def single_output_training(net: nn.Module, batch_idx, images, labels, epoch_metrics: Metrics):
# -- The CNN makes its predictions (forward pass)
net_predictions = net(images)
# -- Compute the loss --#
se... | 38.614286 | 101 | 0.721051 | 327 | 2,703 | 5.681957 | 0.149847 | 0.09042 | 0.064586 | 0.081808 | 0.867061 | 0.867061 | 0.861679 | 0.861679 | 0.792788 | 0.792788 | 0 | 0.0055 | 0.192749 | 2,703 | 69 | 102 | 39.173913 | 0.846013 | 0.216796 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138889 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4bc0006339d7f143ed856f9a30f44ac98bda7ce0 | 7,097 | py | Python | loldib/getratings/models/NA/na_blitzcrank/na_blitzcrank_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_blitzcrank/na_blitzcrank_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_blitzcrank/na_blitzcrank_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Blitzcrank_Jng_Aatrox(Ratings):
pass
class NA_Blitzcrank_Jng_Ahri(Ratings):
pass
class NA_Blitzcrank_Jng_Akali(Ratings):
pass
class NA_Blitzcrank_Jng_Alistar(Ratings):
pass
class NA_Blitzcrank_Jng_Amumu(Ratings):
pass
class NA_Blitzcrank... | 17.019185 | 47 | 0.784839 | 972 | 7,097 | 5.304527 | 0.151235 | 0.187355 | 0.455004 | 0.535299 | 0.823701 | 0.823701 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156545 | 7,097 | 416 | 48 | 17.060096 | 0.861343 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
29c2b941344f8c8142ac72289c6d73878f6e866a | 103 | py | Python | source/LambdaLayers/ci3x_common.py | maheel/aws-security-hub-automated-response-and-remediation | 5a556b6dca13bb333d2196e196e3be534345c815 | [
"Apache-2.0"
] | null | null | null | source/LambdaLayers/ci3x_common.py | maheel/aws-security-hub-automated-response-and-remediation | 5a556b6dca13bb333d2196e196e3be534345c815 | [
"Apache-2.0"
] | null | null | null | source/LambdaLayers/ci3x_common.py | maheel/aws-security-hub-automated-response-and-remediation | 5a556b6dca13bb333d2196e196e3be534345c815 | [
"Apache-2.0"
] | 2 | 2021-11-08T04:05:48.000Z | 2021-11-08T04:55:53.000Z | def common_function():
print('This is coming from the common function')
return 'Hello Common'
| 20.6 | 52 | 0.708738 | 14 | 103 | 5.142857 | 0.785714 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203884 | 103 | 4 | 53 | 25.75 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0.495146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.666667 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
29e42f1ab806563a1aad0810a7e6a3a79c995405 | 76 | py | Python | mail/__init__.py | sunlightlabs/elenas_inbox | dee64ef0c438fad38f02646bfd252adcff042cd2 | [
"BSD-3-Clause"
] | 5 | 2015-10-30T21:40:05.000Z | 2021-03-02T02:09:47.000Z | mail/__init__.py | sunlightlabs/elenas_inbox | dee64ef0c438fad38f02646bfd252adcff042cd2 | [
"BSD-3-Clause"
] | null | null | null | mail/__init__.py | sunlightlabs/elenas_inbox | dee64ef0c438fad38f02646bfd252adcff042cd2 | [
"BSD-3-Clause"
] | 1 | 2019-03-19T17:32:58.000Z | 2019-03-19T17:32:58.000Z | def timedelta_to_days(td):
return td.days + (td.seconds / (60*60*24.0))
| 25.333333 | 48 | 0.657895 | 14 | 76 | 3.428571 | 0.714286 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 0.157895 | 76 | 2 | 49 | 38 | 0.640625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
4b09528b776ba6cf4ca12063a33fee4bb7a0681b | 6,150 | py | Python | legal-api/migrations/versions/442829649a2a_.py | argush3/lear | 804820ea93a9ca44d1a474ce7a903bb0a808aacb | [
"Apache-2.0"
] | 8 | 2019-06-19T16:16:15.000Z | 2021-08-28T23:56:40.000Z | legal-api/migrations/versions/442829649a2a_.py | argush3/lear | 804820ea93a9ca44d1a474ce7a903bb0a808aacb | [
"Apache-2.0"
] | 796 | 2019-03-07T19:25:50.000Z | 2022-03-31T20:32:57.000Z | legal-api/migrations/versions/442829649a2a_.py | argush3/lear | 804820ea93a9ca44d1a474ce7a903bb0a808aacb | [
"Apache-2.0"
] | 82 | 2019-01-30T20:06:14.000Z | 2022-03-29T20:38:31.000Z | """empty message
Revision ID: 442829649a2a
Revises: c17d77b30bdb
Create Date: 2020-03-27 14:38:28.567013
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '442829649a2a'
down_revision = 'c17d77b30bdb'
branch_labels = None
depends_on = None
def upgrade():
# ... | 58.571429 | 135 | 0.73626 | 834 | 6,150 | 5.147482 | 0.09952 | 0.07454 | 0.104356 | 0.139762 | 0.907524 | 0.863732 | 0.854181 | 0.825064 | 0.770557 | 0.650594 | 0 | 0.013055 | 0.103252 | 6,150 | 104 | 136 | 59.134615 | 0.765367 | 0.047967 | 0 | 0.395349 | 0 | 0 | 0.315916 | 0.145067 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.023256 | 0 | 0.046512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9a72c4e3fc76fcdf035c26c3cf51a743d1e5495 | 2,435 | py | Python | cogs/owner.py | runarsf/discord-threads | 324701ff2e1503546cab6c28687acd69ff98d428 | [
"MIT"
] | null | null | null | cogs/owner.py | runarsf/discord-threads | 324701ff2e1503546cab6c28687acd69ff98d428 | [
"MIT"
] | null | null | null | cogs/owner.py | runarsf/discord-threads | 324701ff2e1503546cab6c28687acd69ff98d428 | [
"MIT"
] | null | null | null | import discord
import asyncio
from discord.ext import commands
from config import log
class Owner(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command(name='load', hidden=True)
@commands.is_owner()
@commands.guild_only()
async def _load(self, ctx, *, cog... | 38.046875 | 111 | 0.598768 | 261 | 2,435 | 5.494253 | 0.210728 | 0.055788 | 0.094142 | 0.112971 | 0.813808 | 0.791492 | 0.791492 | 0.743375 | 0.715481 | 0.715481 | 0 | 0 | 0.283368 | 2,435 | 63 | 112 | 38.650794 | 0.816619 | 0.035729 | 0 | 0.611111 | 0 | 0 | 0.024518 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.185185 | 0 | 0.240741 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9ba0fc9177c270a71966bda2707120420059cb3 | 37,883 | py | Python | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/57.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/57.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int14000000000000001e/57.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3168
passenger_arriving = (
(3, 6, 9, 6, 1, 0, 8, 5, 3, 4, 5, 0), # 0
(4, 10, 5, 4, 2, 0, 4, 5, 6, 5, 3, 0), # 1
(4, 6, 6, 4, 2, 0, 6, 12, 3, 6, 1, 0), # 2
(3, 6, 9, 1, 2, 0, 2, 10, 1, 5, 0, 0), # 3
(5, 6, 8, 6, 3, 0, 2, 7, 9, 4, 1, 0), # 4
(4, 5, 6, 2, 2, 0, 4, 8, 3, 4,... | 113.083582 | 212 | 0.729061 | 5,147 | 37,883 | 5.363901 | 0.229454 | 0.312953 | 0.247754 | 0.469429 | 0.327876 | 0.327876 | 0.327876 | 0.327876 | 0.327876 | 0.327876 | 0 | 0.818994 | 0.119156 | 37,883 | 334 | 213 | 113.422156 | 0.008361 | 0.031967 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9c229c9435f2b80966f3228fd4b67240356ef71 | 96 | py | Python | venv/lib/python3.8/site-packages/jedi/inference/recursion.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/jedi/inference/recursion.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/jedi/inference/recursion.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/61/09/db/ed4ca8eafe8212ad9a3f6221d457a1154629cf998026312c24e0fe497b | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9e9c67b176d9f4e02176213bb5b18800d98f535 | 27,360 | py | Python | cat/migrations/0017_auto.py | uq-eresearch/uqam | b15e480e6c6e530c6d50a950ed289fce2ee53ef3 | [
"BSD-3-Clause"
] | 1 | 2017-12-14T12:49:39.000Z | 2017-12-14T12:49:39.000Z | cat/migrations/0017_auto.py | uq-eresearch/uqam | b15e480e6c6e530c6d50a950ed289fce2ee53ef3 | [
"BSD-3-Clause"
] | 7 | 2017-11-23T23:34:45.000Z | 2017-11-23T23:35:08.000Z | cat/migrations/0017_auto.py | uq-eresearch/uqam | b15e480e6c6e530c6d50a950ed289fce2ee53ef3 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding index on 'MuseumObject', fields ['public']
db.create_index('cat_museumobject', ['public'])
de... | 86.309148 | 202 | 0.558041 | 2,743 | 27,360 | 5.44732 | 0.086766 | 0.112435 | 0.195824 | 0.279748 | 0.809396 | 0.779548 | 0.767099 | 0.731094 | 0.664704 | 0.543769 | 0 | 0.010626 | 0.184795 | 27,360 | 317 | 203 | 86.309148 | 0.659299 | 0.004496 | 0 | 0.303922 | 0 | 0 | 0.598553 | 0.318829 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006536 | false | 0.003268 | 0.013072 | 0 | 0.029412 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a01ce6a8408a3cce514203c815d226308e9abeb | 19,781 | py | Python | azure-mgmt-datafactory/azure/mgmt/datafactory/operations/pipelines_operations.py | JonathanGailliez/azure-sdk-for-python | f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b | [
"MIT"
] | 1 | 2021-09-07T18:36:04.000Z | 2021-09-07T18:36:04.000Z | azure-mgmt-datafactory/azure/mgmt/datafactory/operations/pipelines_operations.py | JonathanGailliez/azure-sdk-for-python | f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b | [
"MIT"
] | 2 | 2019-10-02T23:37:38.000Z | 2020-10-02T01:17:31.000Z | azure-mgmt-datafactory/azure/mgmt/datafactory/operations/pipelines_operations.py | JonathanGailliez/azure-sdk-for-python | f0f051bfd27f8ea512aea6fc0c3212ee9ee0029b | [
"MIT"
] | 1 | 2019-06-17T22:18:23.000Z | 2019-06-17T22:18:23.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 50.205584 | 194 | 0.664375 | 2,223 | 19,781 | 5.705803 | 0.098066 | 0.035872 | 0.040208 | 0.028382 | 0.844213 | 0.817171 | 0.806055 | 0.779486 | 0.758988 | 0.746689 | 0 | 0.008305 | 0.220818 | 19,781 | 393 | 195 | 50.333333 | 0.814637 | 0.277691 | 0 | 0.680412 | 0 | 0.020619 | 0.200179 | 0.107193 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036082 | false | 0 | 0.020619 | 0 | 0.118557 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a03e836b62578fdd162fffe059513eabf9e532f | 36 | py | Python | Language Skills/Python/Unit 04 Functions/01 Functions/Review/18-Modules.py | rhyep/Python_tutorials | f5c8a64b91802b005dfe7dd9035f8d8daae8c3e3 | [
"MIT"
] | 346 | 2016-02-22T20:21:10.000Z | 2022-01-27T20:55:53.000Z | Language Skills/Python/Unit 4/1-Functions/Review/18-Modules.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | 55 | 2016-04-07T13:58:44.000Z | 2020-06-25T12:20:24.000Z | Language Skills/Python/Unit 4/1-Functions/Review/18-Modules.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | 477 | 2016-02-21T06:17:02.000Z | 2021-12-22T10:08:01.000Z | import math
print math.sqrt(13689)
| 9 | 22 | 0.777778 | 6 | 36 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0.138889 | 36 | 3 | 23 | 12 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
8a1dcf1a21574ab4ef002268a52debb318fedad8 | 193 | py | Python | ncephes/test/test_misc.py | glimix/ncephes | 7dbe0e547b9095da5e6b2701e56744f5b61a43f8 | [
"MIT"
] | 2 | 2017-09-08T07:09:28.000Z | 2019-04-21T19:15:26.000Z | ncephes/test/test_misc.py | limix/ncephes-py | 7dbe0e547b9095da5e6b2701e56744f5b61a43f8 | [
"MIT"
] | 4 | 2017-09-18T14:27:51.000Z | 2018-10-02T09:54:47.000Z | ncephes/test/test_misc.py | glimix/ncephes | 7dbe0e547b9095da5e6b2701e56744f5b61a43f8 | [
"MIT"
] | 1 | 2018-09-29T19:11:49.000Z | 2018-09-29T19:11:49.000Z | from __future__ import unicode_literals
from numpy.testing import assert_almost_equal
from ncephes import lbeta
def test_lbeta():
assert_almost_equal(lbeta(10, 3), -6.4922398350204711)
| 19.3 | 58 | 0.80829 | 27 | 193 | 5.407407 | 0.666667 | 0.164384 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 0.129534 | 193 | 9 | 59 | 21.444444 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a4c25443d67d9420a4712e5307f0de637ef9bb0 | 75 | py | Python | toyecdsa/toyrand.py | nmahendru/ecdsa | bb34eb4ece9e6915f8c2401dda0f2a7089a6ede9 | [
"Apache-2.0"
] | null | null | null | toyecdsa/toyrand.py | nmahendru/ecdsa | bb34eb4ece9e6915f8c2401dda0f2a7089a6ede9 | [
"Apache-2.0"
] | null | null | null | toyecdsa/toyrand.py | nmahendru/ecdsa | bb34eb4ece9e6915f8c2401dda0f2a7089a6ede9 | [
"Apache-2.0"
] | 1 | 2021-02-18T18:41:43.000Z | 2021-02-18T18:41:43.000Z | import secrets
def int_sample(below):
return secrets.randbelow(below) | 15 | 35 | 0.773333 | 10 | 75 | 5.7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 75 | 5 | 35 | 15 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
8a4fe73af9591a9f0823ffc26ed3146dfdff7996 | 236 | py | Python | dropblock/__init__.py | transcendentsky/dropblock | d84871b5dc515c4ac24aa0338f03ec08bf800079 | [
"MIT"
] | 2 | 2018-12-24T06:05:42.000Z | 2019-03-18T08:16:35.000Z | dropblock/__init__.py | transcendentsky/dropblock | d84871b5dc515c4ac24aa0338f03ec08bf800079 | [
"MIT"
] | null | null | null | dropblock/__init__.py | transcendentsky/dropblock | d84871b5dc515c4ac24aa0338f03ec08bf800079 | [
"MIT"
] | 2 | 2018-12-18T07:57:09.000Z | 2019-05-21T13:17:16.000Z | from .dropblock import DropBlock2D, DropBlock3D, DropBlock2DMix, DropChannel, DropCBlock
from .scheduler import LinearScheduler
__all__ = ['DropBlock2D', 'DropBlock3D', 'LinearScheduler', 'DropBlock2DMix', 'DropChannel', 'DropCBlock']
| 47.2 | 106 | 0.800847 | 19 | 236 | 9.736842 | 0.578947 | 0.237838 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027907 | 0.088983 | 236 | 4 | 107 | 59 | 0.832558 | 0 | 0 | 0 | 0 | 0 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a5476e35ddcbfabe5716181aacb6255fda06123 | 22 | py | Python | torchlab/layer/__init__.py | MarvinTeichmann/TorchLab | d837dfddf893559a259f31a1980986033665cac3 | [
"MIT"
] | 3 | 2019-08-29T00:23:28.000Z | 2020-12-07T11:13:54.000Z | torchlab/layer/__init__.py | MarvinTeichmann/TorchLab | d837dfddf893559a259f31a1980986033665cac3 | [
"MIT"
] | null | null | null | torchlab/layer/__init__.py | MarvinTeichmann/TorchLab | d837dfddf893559a259f31a1980986033665cac3 | [
"MIT"
] | null | null | null | from . import dilated
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a59bd2df14d50e50ebcd6cd99ed8a1c172aeb5e | 54 | py | Python | code/dataset/__init__.py | arp95/vit_image_qc | 460e4959023e0115bf47440b9c922640f374904d | [
"MIT"
] | null | null | null | code/dataset/__init__.py | arp95/vit_image_qc | 460e4959023e0115bf47440b9c922640f374904d | [
"MIT"
] | null | null | null | code/dataset/__init__.py | arp95/vit_image_qc | 460e4959023e0115bf47440b9c922640f374904d | [
"MIT"
] | null | null | null | from .qc_1channel import *
from .qc_5channel import *
| 18 | 26 | 0.777778 | 8 | 54 | 5 | 0.625 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.148148 | 54 | 2 | 27 | 27 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a8e9a15fc7c1e4c5c5f312dc1b3fd55a0735d1d | 57 | py | Python | scratchnetwork/layers/avoidfreeze.py | adriaciurana/scrath-network | 43ef74033b8a6d1a0981d9795dd49947c4debd96 | [
"MIT"
] | 2 | 2019-11-20T14:43:33.000Z | 2020-03-15T21:08:44.000Z | scratchnetwork/layers/avoidfreeze.py | adriaciurana/scrath-network | 43ef74033b8a6d1a0981d9795dd49947c4debd96 | [
"MIT"
] | null | null | null | scratchnetwork/layers/avoidfreeze.py | adriaciurana/scrath-network | 43ef74033b8a6d1a0981d9795dd49947c4debd96 | [
"MIT"
] | null | null | null | from .layer import Layer
class AvoidFreeze(Layer):
pass
| 14.25 | 25 | 0.789474 | 8 | 57 | 5.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 57 | 3 | 26 | 19 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8a946b6bb775cbc88313ea22bee1f71621263085 | 90 | py | Python | module/chapter02/adder2.py | chiwoongMOON/202111PythonGrammarStudy | 1be9b24e524935a0f0a0af59a18338a147002850 | [
"MIT"
] | null | null | null | module/chapter02/adder2.py | chiwoongMOON/202111PythonGrammarStudy | 1be9b24e524935a0f0a0af59a18338a147002850 | [
"MIT"
] | null | null | null | module/chapter02/adder2.py | chiwoongMOON/202111PythonGrammarStudy | 1be9b24e524935a0f0a0af59a18338a147002850 | [
"MIT"
] | 1 | 2021-11-18T11:49:51.000Z | 2021-11-18T11:49:51.000Z | def adder(num1, num2):
return num1 + num2
def main():
print(adder(5, 3))
main()
| 11.25 | 22 | 0.588889 | 14 | 90 | 3.785714 | 0.642857 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.244444 | 90 | 7 | 23 | 12.857143 | 0.691176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.6 | 0.2 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8a9b7e9ed54197e5ac066c84eae2d6a46cc877f5 | 8,022 | py | Python | tests/test_gateway.py | 29next/next-theme-kit | 8abe7234c0fcf8af6004385ee28d9fb29bcaef9c | [
"MIT"
] | 7 | 2021-05-26T11:57:20.000Z | 2021-06-13T09:57:46.000Z | tests/test_gateway.py | 29next/next-theme-kit | 8abe7234c0fcf8af6004385ee28d9fb29bcaef9c | [
"MIT"
] | 1 | 2021-05-25T00:11:16.000Z | 2021-05-25T02:18:56.000Z | tests/test_gateway.py | 29next/theme-kit | 8abe7234c0fcf8af6004385ee28d9fb29bcaef9c | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import call, MagicMock, patch
from ntk.gateway import Gateway
class TestGateway(unittest.TestCase):
def setUp(self):
self.store = 'http://simple.com'
self.apikey = 'apikey'
self.gateway = Gateway(self.store, self.apikey)
self.mock_img_file = Mag... | 39.910448 | 116 | 0.627026 | 943 | 8,022 | 5.169671 | 0.115589 | 0.076718 | 0.069744 | 0.090256 | 0.827692 | 0.812923 | 0.805744 | 0.801846 | 0.764308 | 0.683077 | 0 | 0.004441 | 0.242084 | 8,022 | 200 | 117 | 40.11 | 0.797368 | 0.058215 | 0 | 0.557252 | 0 | 0.038168 | 0.261143 | 0.031857 | 0 | 0 | 0 | 0 | 0.145038 | 1 | 0.061069 | false | 0 | 0.022901 | 0 | 0.091603 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8acf2cbde1e002e534eaefbbab17324463b8ef44 | 1,069 | py | Python | src/cone/zodb/__init__.py | conestack/cone.zodb | eb1170b42deb3da598204f563589f37f3e79d3b1 | [
"BSD-2-Clause"
] | null | null | null | src/cone/zodb/__init__.py | conestack/cone.zodb | eb1170b42deb3da598204f563589f37f3e79d3b1 | [
"BSD-2-Clause"
] | null | null | null | src/cone/zodb/__init__.py | conestack/cone.zodb | eb1170b42deb3da598204f563589f37f3e79d3b1 | [
"BSD-2-Clause"
] | null | null | null | from cone.zodb.catalog import CatalogAware
from cone.zodb.catalog import CatalogIndexer
from cone.zodb.catalog import CatalogProvidingEntry
from cone.zodb.catalog import CatalogProxy
from cone.zodb.common import ZODBEntryPrincipalACL
from cone.zodb.common import ZODBPrincipalACL
from cone.zodb.entry import zodb_entry_f... | 42.76 | 54 | 0.865295 | 162 | 1,069 | 5.598765 | 0.216049 | 0.211687 | 0.31753 | 0.264609 | 0.762955 | 0.366042 | 0.158765 | 0 | 0 | 0 | 0 | 0 | 0.089804 | 1,069 | 24 | 55 | 44.541667 | 0.932169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ad3155c7c0ca6e7e46e33db42cf363fd13dbd49 | 15,394 | py | Python | test/test_error_cases.py | lanthias/bson-numpy | 1b46ad39fc03a34b468c9605c7a7d804f77bc70e | [
"Apache-2.0"
] | 34 | 2017-06-09T21:12:14.000Z | 2022-03-20T04:18:54.000Z | test/test_error_cases.py | lanthias/bson-numpy | 1b46ad39fc03a34b468c9605c7a7d804f77bc70e | [
"Apache-2.0"
] | 56 | 2017-06-12T10:05:09.000Z | 2021-05-03T21:08:13.000Z | test/test_error_cases.py | lanthias/bson-numpy | 1b46ad39fc03a34b468c9605c7a7d804f77bc70e | [
"Apache-2.0"
] | 12 | 2017-09-06T19:21:48.000Z | 2021-03-09T19:03:11.000Z | import bson
import bsonnumpy
import numpy as np
from test import TestToNdarray, unittest
class TestErrors(TestToNdarray):
dtype = np.dtype([('x', np.int32), ('y', np.int32)])
bson_docs = [bson._dict_to_bson(
doc, False, bson.DEFAULT_CODEC_OPTIONS) for doc in [
bson.SON([("x", i), ("y", -i)]) ... | 41.493261 | 79 | 0.553008 | 1,910 | 15,394 | 4.260209 | 0.089005 | 0.043013 | 0.089837 | 0.124616 | 0.832494 | 0.805579 | 0.779034 | 0.757773 | 0.736758 | 0.657245 | 0 | 0.029138 | 0.302196 | 15,394 | 370 | 80 | 41.605405 | 0.728356 | 0.031441 | 0 | 0.545139 | 0 | 0 | 0.08738 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.069444 | false | 0 | 0.013889 | 0 | 0.135417 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76d9bc1e65dcd0c0045e754d154ead38299be135 | 26 | py | Python | chap2_the_field/__init__.py | lastone9182/CodingtheMatrix | b0d67e26940e59e51a7e2760b734c7de50490e1a | [
"MIT"
] | 3 | 2018-01-11T07:48:06.000Z | 2020-04-27T20:49:02.000Z | chap2_the_field/__init__.py | lastone9182/CodingtheMatrix | b0d67e26940e59e51a7e2760b734c7de50490e1a | [
"MIT"
] | null | null | null | chap2_the_field/__init__.py | lastone9182/CodingtheMatrix | b0d67e26940e59e51a7e2760b734c7de50490e1a | [
"MIT"
] | 1 | 2021-01-26T07:25:48.000Z | 2021-01-26T07:25:48.000Z | from _chap2_sol import *
| 13 | 25 | 0.769231 | 4 | 26 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.192308 | 26 | 1 | 26 | 26 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76ec7653c58d28b02aef5afb32688398d2230516 | 240 | py | Python | tests/mock_c_as_py/pyparsing.py | evhub/cpyparsing | 71d04dd1bd2828430a78e4909ffd0509b38585a6 | [
"MIT"
] | 20 | 2017-07-05T05:48:03.000Z | 2021-06-14T20:04:13.000Z | tests/mock_c_as_py/pyparsing.py | evhub/cpyparsing | 71d04dd1bd2828430a78e4909ffd0509b38585a6 | [
"MIT"
] | 5 | 2018-12-31T14:17:23.000Z | 2021-12-09T03:54:08.000Z | tests/mock_c_as_py/pyparsing.py | evhub/cpyparsing | 71d04dd1bd2828430a78e4909ffd0509b38585a6 | [
"MIT"
] | 3 | 2019-09-24T17:47:06.000Z | 2021-06-14T18:07:23.000Z | """
Mock of cPyparsing as Python pyparsing for the sake of timing comparison.
"""
print("pyparsing -> cPyparsing mock loaded")
from cPyparsing import *
from cPyparsing import __version__, _trim_arity
from cPyparsing import pyparsing_test
| 24 | 73 | 0.795833 | 31 | 240 | 5.935484 | 0.612903 | 0.228261 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141667 | 240 | 9 | 74 | 26.666667 | 0.893204 | 0.304167 | 0 | 0 | 0 | 0 | 0.220126 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76f69b5c50f8744a623030fe3a98bcc3549a94ab | 4,152 | py | Python | tests/test_main.py | HubBucket-Team/gimme-aws-creds | 14b2ab4ba6762ccfefe6421ea16051a93ab45afe | [
"Apache-2.0"
] | 1 | 2019-07-29T19:08:06.000Z | 2019-07-29T19:08:06.000Z | tests/test_main.py | VonRosenchild/gimme-aws-creds | 14b2ab4ba6762ccfefe6421ea16051a93ab45afe | [
"Apache-2.0"
] | null | null | null | tests/test_main.py | VonRosenchild/gimme-aws-creds | 14b2ab4ba6762ccfefe6421ea16051a93ab45afe | [
"Apache-2.0"
] | 1 | 2019-07-29T19:07:54.000Z | 2019-07-29T19:07:54.000Z | import unittest
from mock import patch
from gimme_aws_creds.main import GimmeAWSCreds, RoleSet
class TestMain(unittest.TestCase):
APP_INFO = [
RoleSet(idp='idp', role='test1'),
RoleSet(idp='idp', role='test2')
]
AWS_INFO = [
{'name': 'test1'},
{'name': 'test2'}
]
... | 34.31405 | 114 | 0.68738 | 514 | 4,152 | 5.233463 | 0.114786 | 0.041636 | 0.05316 | 0.114498 | 0.863569 | 0.821933 | 0.754275 | 0.736803 | 0.709665 | 0.669888 | 0 | 0.010174 | 0.195087 | 4,152 | 120 | 115 | 34.6 | 0.794734 | 0 | 0 | 0.418605 | 0 | 0 | 0.085019 | 0 | 0 | 0 | 0 | 0 | 0.244186 | 1 | 0.186047 | false | 0 | 0.034884 | 0 | 0.255814 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a02199230febe44a99979cef04c6debf6806ca2 | 2,173 | py | Python | test/main4.py | zahiruddinnorzain/zpiano | 308825864924c050de057de8c1b828753af4a718 | [
"MIT"
] | null | null | null | test/main4.py | zahiruddinnorzain/zpiano | 308825864924c050de057de8c1b828753af4a718 | [
"MIT"
] | null | null | null | test/main4.py | zahiruddinnorzain/zpiano | 308825864924c050de057de8c1b828753af4a718 | [
"MIT"
] | null | null | null | import pygame
import random
import time
class bunyi:
def a(self):
return pygame.mixer.music.load("../wav/a1.wav")
#pygame.mixer.music.play()
def a1(self):
return pygame.mixer.music.load("../wav/a1s.wav")
#pygame.mixer.music.play()
def b(self):
return pygame.mixer.music.load("../wav/b1.wav")
#pygame.... | 17.246032 | 119 | 0.629084 | 368 | 2,173 | 3.703804 | 0.190217 | 0.217902 | 0.316948 | 0.215701 | 0.626559 | 0.583272 | 0.354365 | 0.06383 | 0.06383 | 0.06383 | 0 | 0.025779 | 0.14312 | 2,173 | 125 | 120 | 17.384 | 0.70623 | 0.355269 | 0 | 0 | 0 | 0 | 0.117776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.053571 | 0.25 | 0.571429 | 0.035714 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0a2d8c98e5651cb126eeac0cdfea286b3d970bc8 | 29 | py | Python | beir/losses/__init__.py | svakulenk0/beir | 16f3554c45b33a2c7dd47fe6e67c93055626c074 | [
"Apache-2.0"
] | null | null | null | beir/losses/__init__.py | svakulenk0/beir | 16f3554c45b33a2c7dd47fe6e67c93055626c074 | [
"Apache-2.0"
] | null | null | null | beir/losses/__init__.py | svakulenk0/beir | 16f3554c45b33a2c7dd47fe6e67c93055626c074 | [
"Apache-2.0"
] | null | null | null | from .bpr_loss import BPRLoss | 29 | 29 | 0.862069 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a2fcc2cbeb433a93f39c087eada5017f7c5cccd | 95 | py | Python | 8kyu/function3_multiplying_two_numbers.py | nhsz/codewars | 82703959e910254d6feff4162f78c6dbd7a1c3ed | [
"MIT"
] | 1 | 2018-12-02T23:04:38.000Z | 2018-12-02T23:04:38.000Z | 8kyu/function3_multiplying_two_numbers.py | nhsz/codewars | 82703959e910254d6feff4162f78c6dbd7a1c3ed | [
"MIT"
] | null | null | null | 8kyu/function3_multiplying_two_numbers.py | nhsz/codewars | 82703959e910254d6feff4162f78c6dbd7a1c3ed | [
"MIT"
] | null | null | null | # http://www.codewars.com/kata/523b66342d0c301ae400003b/
def multiply(a, b):
return a * b
| 19 | 56 | 0.705263 | 13 | 95 | 5.153846 | 0.846154 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.147368 | 95 | 4 | 57 | 23.75 | 0.604938 | 0.568421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0a3fd3291d32daeb36ddfcbc6c3aea5b53e7c013 | 7,181 | py | Python | zerver/webhooks/splunk/tests.py | acguglielmo/zulip | 97ed71ca699c3abd1c2584cc3c6a8370430ae2f6 | [
"Apache-2.0"
] | 1 | 2021-11-26T04:49:14.000Z | 2021-11-26T04:49:14.000Z | zerver/webhooks/splunk/tests.py | hcxiong/zulip | bf22eefedebd50b25f32b22988217c13a89b65d1 | [
"Apache-2.0"
] | 7 | 2020-09-06T14:54:30.000Z | 2022-02-10T18:51:14.000Z | zerver/webhooks/splunk/tests.py | hcxiong/zulip | bf22eefedebd50b25f32b22988217c13a89b65d1 | [
"Apache-2.0"
] | 9 | 2019-11-04T18:59:29.000Z | 2022-03-22T17:46:37.000Z | # -*- coding: utf-8 -*-
from zerver.lib.test_classes import WebhookTestCase
class SplunkHookTests(WebhookTestCase):
STREAM_NAME = 'splunk'
URL_TEMPLATE = "/api/v1/external/splunk?api_key={api_key}&stream={stream}"
FIXTURE_DIR_NAME = 'splunk'
def test_splunk_search_one_result(self) -> None:
s... | 66.490741 | 628 | 0.655758 | 975 | 7,181 | 4.602051 | 0.152821 | 0.056831 | 0.026744 | 0.040116 | 0.858034 | 0.858034 | 0.851794 | 0.843994 | 0.836862 | 0.822153 | 0 | 0.057883 | 0.242167 | 7,181 | 107 | 629 | 67.11215 | 0.76663 | 0.032865 | 0 | 0.521739 | 0 | 0.130435 | 0.51261 | 0.1065 | 0 | 0 | 0 | 0 | 0 | 1 | 0.130435 | false | 0 | 0.014493 | 0.014493 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a489f819e4b75361d28c561390f0b46789787a6 | 3,591 | py | Python | python/phonenumbers/data/region_MM.py | squadrun/python-phonenumbers | b60ebefd6e2fbe058b742a5fd527e5aaa6cf3203 | [
"Apache-2.0"
] | 1 | 2020-03-25T20:40:32.000Z | 2020-03-25T20:40:32.000Z | python/phonenumbers/data/region_MM.py | squadrun/python-phonenumbers | b60ebefd6e2fbe058b742a5fd527e5aaa6cf3203 | [
"Apache-2.0"
] | 5 | 2020-03-24T16:37:25.000Z | 2021-06-10T21:24:54.000Z | upibo-venv/Lib/site-packages/phonenumbers/data/region_MM.py | smbpgroup/upibo | 625dcda9f9692c62aeb9fe8f7123a5d407c610ae | [
"BSD-3-Clause"
] | null | null | null | """Auto-generated file, do not edit by hand. MM metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_MM = PhoneMetadata(id='MM', country_code=95, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='[1-7]\\d{5,8}|8\\d{5,9}|9(?:[279]\\d{0,2}... | 171 | 1,002 | 0.563074 | 699 | 3,591 | 2.775393 | 0.16166 | 0.024742 | 0.013918 | 0.041753 | 0.498969 | 0.408247 | 0.363402 | 0.348454 | 0.276289 | 0.250515 | 0 | 0.173746 | 0.055973 | 3,591 | 20 | 1,003 | 179.55 | 0.398525 | 0.014759 | 0 | 0 | 1 | 0.222222 | 0.492356 | 0.421857 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a7782361f53084aa156deffb467c3dc6845b6c1 | 47 | py | Python | solaris/utils/__init__.py | dannyjeck-matroid/solaris | 463d220c1fe14f811cbbbf528a7353022538006e | [
"Apache-2.0"
] | null | null | null | solaris/utils/__init__.py | dannyjeck-matroid/solaris | 463d220c1fe14f811cbbbf528a7353022538006e | [
"Apache-2.0"
] | null | null | null | solaris/utils/__init__.py | dannyjeck-matroid/solaris | 463d220c1fe14f811cbbbf528a7353022538006e | [
"Apache-2.0"
] | 1 | 2021-06-07T17:04:36.000Z | 2021-06-07T17:04:36.000Z | from . import cli, config, core, geo, io, tile
| 23.5 | 46 | 0.680851 | 8 | 47 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 1 | 47 | 47 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a8fd848a2fdeb838a4faed65b3dff8eb012e248 | 312 | py | Python | scpc/__init__.py | thomasgibson/scpc | dbe08feeccd728ecef20f206df3ac6340a49f1f1 | [
"MIT"
] | 1 | 2018-10-31T23:58:17.000Z | 2018-10-31T23:58:17.000Z | scpc/__init__.py | thomasgibson/scpc | dbe08feeccd728ecef20f206df3ac6340a49f1f1 | [
"MIT"
] | null | null | null | scpc/__init__.py | thomasgibson/scpc | dbe08feeccd728ecef20f206df3ac6340a49f1f1 | [
"MIT"
] | null | null | null | from scpc.sccg import SCCG # noqa: F401
from scpc.hybridmixed import HybridizationPC # noqa: F401
from scpc.sc_hybrid import HybridSCPC # noqa: F401
from scpc.vertical_hybridization import VerticalHybridizationPC # noqa: F401
| 62.4 | 77 | 0.596154 | 30 | 312 | 6.133333 | 0.466667 | 0.173913 | 0.195652 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.365385 | 312 | 4 | 78 | 78 | 0.868687 | 0.137821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6aa8f384d1e4a615df6ed6e731c0350c65141912 | 169 | py | Python | flack/utils.py | carlskeide/flack | c2c44fa063ffcef453a8c52dd687e87cba7ba74a | [
"MIT"
] | null | null | null | flack/utils.py | carlskeide/flack | c2c44fa063ffcef453a8c52dd687e87cba7ba74a | [
"MIT"
] | null | null | null | flack/utils.py | carlskeide/flack | c2c44fa063ffcef453a8c52dd687e87cba7ba74a | [
"MIT"
] | null | null | null | # coding=utf-8
__all__ = ["slack_username", ]
def slack_username(user_id: str) -> str:
""" Generate a slack username macro """
return "<@{}>".format(user_id)
| 18.777778 | 43 | 0.633136 | 22 | 169 | 4.5 | 0.681818 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.183432 | 169 | 8 | 44 | 21.125 | 0.710145 | 0.272189 | 0 | 0 | 1 | 0 | 0.163793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
6ab69719633a55fe69d9e4a6919d458cd48c0546 | 35,830 | py | Python | fattureincloud_python_sdk/api/archive_api.py | fattureincloud/fattureincloud-python-sdk | f3a40fac345751014ea389680efdaef90f03bac1 | [
"MIT"
] | 2 | 2022-02-17T08:33:17.000Z | 2022-03-22T09:27:00.000Z | fattureincloud_python_sdk/api/archive_api.py | fattureincloud/fattureincloud-python-sdk | f3a40fac345751014ea389680efdaef90f03bac1 | [
"MIT"
] | null | null | null | fattureincloud_python_sdk/api/archive_api.py | fattureincloud/fattureincloud-python-sdk | f3a40fac345751014ea389680efdaef90f03bac1 | [
"MIT"
] | null | null | null | """
Fatture in Cloud API v2 - API Reference
Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. # noq... | 38.198294 | 278 | 0.50854 | 3,302 | 35,830 | 5.273471 | 0.085403 | 0.037214 | 0.017918 | 0.018607 | 0.844312 | 0.803365 | 0.780796 | 0.761787 | 0.7356 | 0.719175 | 0 | 0.003495 | 0.409126 | 35,830 | 937 | 279 | 38.239061 | 0.818998 | 0.370611 | 0 | 0.662921 | 0 | 0 | 0.23884 | 0.064081 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011236 | false | 0 | 0.017657 | 0 | 0.040128 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6adced3c9b85daebe3e5d8086ac9b5184781f7f0 | 9,100 | py | Python | test/promises/test_2_2_2.py | MeerkatLabs/sleekpromises | f31d2bf4ae57fa30d77e6aa0c91b146131d599e6 | [
"BSD-3-Clause"
] | null | null | null | test/promises/test_2_2_2.py | MeerkatLabs/sleekpromises | f31d2bf4ae57fa30d77e6aa0c91b146131d599e6 | [
"BSD-3-Clause"
] | 1 | 2020-04-10T22:02:55.000Z | 2020-04-10T22:02:55.000Z | test/promises/test_2_2_2.py | MeerkatLabs/sleekpromises | f31d2bf4ae57fa30d77e6aa0c91b146131d599e6 | [
"BSD-3-Clause"
] | null | null | null | """
2.2.2: If `onFulfilled` is a function
https://github.com/promises-aplus/promises-tests/blob/2.1.1/lib/tests/2.2.2.js
"""
import threading
from sleekxmpp.test import SleekTest
class Promise_2_2_2_1_TestCase(SleekTest):
"""
2.2.2.1: it must be called after `promise` is fulfilled, with `promise`'s fulfillme... | 26.530612 | 118 | 0.62 | 1,043 | 9,100 | 5.241611 | 0.1093 | 0.10664 | 0.06146 | 0.084507 | 0.857875 | 0.799159 | 0.787818 | 0.747393 | 0.697457 | 0.668374 | 0 | 0.017745 | 0.263077 | 9,100 | 342 | 119 | 26.608187 | 0.797495 | 0.055495 | 0 | 0.828431 | 0 | 0 | 0.079175 | 0.016163 | 0 | 0 | 0 | 0 | 0.127451 | 1 | 0.191176 | false | 0 | 0.02451 | 0 | 0.259804 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0aa0850f06958016a37f078133464289ac323979 | 35 | py | Python | text_brutal.py | brutalic/pynet_brutal | 2afb94430dc9a19eeaf075460494a44e93fab683 | [
"Apache-2.0"
] | null | null | null | text_brutal.py | brutalic/pynet_brutal | 2afb94430dc9a19eeaf075460494a44e93fab683 | [
"Apache-2.0"
] | null | null | null | text_brutal.py | brutalic/pynet_brutal | 2afb94430dc9a19eeaf075460494a44e93fab683 | [
"Apache-2.0"
] | null | null | null | print "Testing for test branch!\n"
| 17.5 | 34 | 0.742857 | 6 | 35 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.742857 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0aa1a16fb15cfd6d68687099370138cf4b1c0e1e | 46 | py | Python | rec/__init__.py | iawia002/rec | 04637c2d68e5997efbd326eae912ef3b585b4dd8 | [
"MIT"
] | 2 | 2018-03-29T03:03:19.000Z | 2019-12-19T12:55:27.000Z | rec/__init__.py | iawia002/rec | 04637c2d68e5997efbd326eae912ef3b585b4dd8 | [
"MIT"
] | 1 | 2018-01-14T09:11:46.000Z | 2018-01-14T09:11:46.000Z | rec/__init__.py | iawia002/rec | 04637c2d68e5997efbd326eae912ef3b585b4dd8 | [
"MIT"
] | null | null | null | # coding=utf-8
from .domain import * # noqa
| 11.5 | 29 | 0.652174 | 7 | 46 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.217391 | 46 | 3 | 30 | 15.333333 | 0.805556 | 0.369565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c0e3c54faf07ce45971d590b3efea02eb491053 | 161 | py | Python | garage/envs/mujoco/gather/ant_gather_env.py | shadiakiki1986/garage | 095bb5d25b32df1d44b47e99a78a9b01796941d9 | [
"MIT"
] | 3 | 2019-08-11T22:26:55.000Z | 2020-11-28T10:23:50.000Z | garage/envs/mujoco/gather/ant_gather_env.py | shadiakiki1986/garage | 095bb5d25b32df1d44b47e99a78a9b01796941d9 | [
"MIT"
] | null | null | null | garage/envs/mujoco/gather/ant_gather_env.py | shadiakiki1986/garage | 095bb5d25b32df1d44b47e99a78a9b01796941d9 | [
"MIT"
] | 2 | 2019-08-11T22:30:14.000Z | 2021-03-25T02:57:50.000Z | from garage.envs.mujoco import AntEnv
from garage.envs.mujoco.gather import GatherEnv
class AntGatherEnv(GatherEnv):
MODEL_CLASS = AntEnv
ORI_IND = 6
| 17.888889 | 47 | 0.770186 | 22 | 161 | 5.545455 | 0.636364 | 0.163934 | 0.229508 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.167702 | 161 | 8 | 48 | 20.125 | 0.902985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c10b4d4affbf4763ade255f4b9a04f1b9b39dad | 9,022 | py | Python | ckan/tests/lib/test_auth_tkt.py | Datatourisme/DATAtourisme.ma | 82c3f12ae93cd694fb8c064ea5d1eef4e3a3a21d | [
"Apache-2.0"
] | 2,805 | 2015-01-02T18:13:15.000Z | 2022-03-31T03:35:01.000Z | ckan/tests/lib/test_auth_tkt.py | Datatourisme/DATAtourisme.ma | 82c3f12ae93cd694fb8c064ea5d1eef4e3a3a21d | [
"Apache-2.0"
] | 3,801 | 2015-01-02T11:05:36.000Z | 2022-03-31T19:24:37.000Z | ckan/tests/lib/test_auth_tkt.py | cascaoSDC/ckan | 75a08caa7c688ce70229dfea7070cc667a15c5e8 | [
"BSD-3-Clause"
] | 1,689 | 2015-01-02T19:46:43.000Z | 2022-03-28T14:59:43.000Z | # encoding: utf-8
"""
Test the added methods used by this subclass of
repoze.who.plugins.auth_tkt.AuthTktCookiePlugin
Subclassing FunctionalTestBase ensures the original config is restored
after each test.
"""
import pytest
from ckan.lib.repoze_plugins.auth_tkt import make_plugin
def _sorted_cookie_values(cookies)... | 37.435685 | 101 | 0.670472 | 1,171 | 9,022 | 4.940222 | 0.085397 | 0.031115 | 0.031115 | 0.020743 | 0.863959 | 0.839931 | 0.833189 | 0.821435 | 0.765946 | 0.756785 | 0 | 0.019989 | 0.179339 | 9,022 | 240 | 102 | 37.591667 | 0.761345 | 0.149523 | 0 | 0.54 | 0 | 0.12 | 0.350639 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 1 | 0.1 | false | 0 | 0.013333 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c5c68142d63c531ec3c6db6f3216864d07b1f76 | 204 | py | Python | v2/backend/blog/views/__init__.py | jonfairbanks/rtsp-nvr | c770c77e74a062c63fb5e2419bc00a17543da332 | [
"MIT"
] | 558 | 2017-10-04T14:33:18.000Z | 2022-03-24T21:25:08.000Z | v2/backend/blog/views/__init__.py | jonfairbanks/rtsp-nvr | c770c77e74a062c63fb5e2419bc00a17543da332 | [
"MIT"
] | 22 | 2018-04-29T04:25:49.000Z | 2021-08-02T17:26:02.000Z | v2/backend/blog/views/__init__.py | jonfairbanks/rtsp-nvr | c770c77e74a062c63fb5e2419bc00a17543da332 | [
"MIT"
] | 127 | 2017-11-14T19:47:27.000Z | 2022-03-24T21:25:12.000Z | from .article_resource import ArticleResource
from .blueprint import blog
from .category_resource import CategoryResource
from .series_resource import SeriesResource
from .tag_resource import TagResource
| 34 | 47 | 0.877451 | 24 | 204 | 7.291667 | 0.541667 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 204 | 5 | 48 | 40.8 | 0.951087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c8997f3f3dbb6fe9bf27e4ad6f66d0c8bf2ad78 | 283 | py | Python | cctbx/xray/structure_factors/__init__.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 155 | 2016-11-23T12:52:16.000Z | 2022-03-31T15:35:44.000Z | cctbx/xray/structure_factors/__init__.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 590 | 2016-12-10T11:31:18.000Z | 2022-03-30T23:10:09.000Z | cctbx/xray/structure_factors/__init__.py | dperl-sol/cctbx_project | b9e390221a2bc4fd00b9122e97c3b79c632c6664 | [
"BSD-3-Clause-LBNL"
] | 115 | 2016-11-15T08:17:28.000Z | 2022-02-09T15:30:14.000Z | from __future__ import absolute_import, division, print_function
from cctbx.xray.structure_factors.misc import *
from cctbx.xray.structure_factors.gradient_flags import *
from cctbx.xray.structure_factors.from_scatterers import *
from cctbx.xray.structure_factors.gradients import *
| 47.166667 | 64 | 0.858657 | 38 | 283 | 6.078947 | 0.421053 | 0.155844 | 0.225108 | 0.380952 | 0.580087 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077739 | 283 | 5 | 65 | 56.6 | 0.885057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ce6a01baf94a167cbc4f88376f2817915f4f878 | 9,340 | py | Python | aml_module/tests/test_error_input.py | sccc19/anomalydetector | a963ef8d7f30971e99d21a748d059e26f2163b09 | [
"MIT"
] | null | null | null | aml_module/tests/test_error_input.py | sccc19/anomalydetector | a963ef8d7f30971e99d21a748d059e26f2163b09 | [
"MIT"
] | null | null | null | aml_module/tests/test_error_input.py | sccc19/anomalydetector | a963ef8d7f30971e99d21a748d059e26f2163b09 | [
"MIT"
] | 1 | 2020-07-30T13:14:04.000Z | 2020-07-30T13:14:04.000Z | import sys
sys.path.append('../')
import unittest
import numpy as np
import pandas as pd
import shutil
import os
from azureml.studio.core.io.data_frame_directory import save_data_frame_to_directory
from azureml.studio.core.error import UserError
import invoker
class TestErrorInput(unittest.TestCase):
def setUp(s... | 55.928144 | 190 | 0.62666 | 1,070 | 9,340 | 5.020561 | 0.142056 | 0.041884 | 0.060499 | 0.033507 | 0.815525 | 0.785182 | 0.776061 | 0.776061 | 0.776061 | 0.776061 | 0 | 0.034309 | 0.279122 | 9,340 | 166 | 191 | 56.26506 | 0.763553 | 0 | 0 | 0.578231 | 0 | 0.020408 | 0.13833 | 0.039722 | 0 | 0 | 0 | 0 | 0.07483 | 1 | 0.095238 | false | 0 | 0.061224 | 0 | 0.163265 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7cefc1efea60e00ae3926b23b44721560a7383e4 | 44,244 | py | Python | manila/tests/api/v2/test_share_groups.py | LiviaCavalcanti/manila | 05a6c7480054e2bdb5c8f820f52d2583ee8aee0d | [
"Apache-2.0"
] | 1 | 2020-01-21T11:18:14.000Z | 2020-01-21T11:18:14.000Z | manila/tests/api/v2/test_share_groups.py | viroel/manila | fbcabd2c03985000bd9b4d4d9a4478bc0b784efa | [
"Apache-2.0"
] | 6 | 2021-02-11T16:09:43.000Z | 2022-03-15T09:56:25.000Z | manila/tests/api/v2/test_share_groups.py | viroel/manila | fbcabd2c03985000bd9b4d4d9a4478bc0b784efa | [
"Apache-2.0"
] | 1 | 2021-02-23T05:52:11.000Z | 2021-02-23T05:52:11.000Z | # Copyright 2015 Alex Meade
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | 43.249267 | 79 | 0.654959 | 5,325 | 44,244 | 5.047136 | 0.053333 | 0.109763 | 0.03691 | 0.046138 | 0.852694 | 0.819095 | 0.784268 | 0.76946 | 0.751079 | 0.725406 | 0 | 0.003112 | 0.244643 | 44,244 | 1,022 | 80 | 43.291585 | 0.801077 | 0.015595 | 0 | 0.616587 | 0 | 0 | 0.100476 | 0.023408 | 0 | 0 | 0 | 0 | 0.149038 | 1 | 0.06851 | false | 0 | 0.026442 | 0.001202 | 0.102163 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b44a5d0618470a8f43d24dc762c61f5386a0712 | 113 | py | Python | cloudshell/tg/breaking_point/flows/exceptions.py | QualiSystems/cloudshell-tg-breaking-point | 15399c231c0b51df492ddd4a7854f42a5f81a3da | [
"Apache-2.0"
] | null | null | null | cloudshell/tg/breaking_point/flows/exceptions.py | QualiSystems/cloudshell-tg-breaking-point | 15399c231c0b51df492ddd4a7854f42a5f81a3da | [
"Apache-2.0"
] | 9 | 2017-04-25T09:16:43.000Z | 2019-07-31T08:55:47.000Z | cloudshell/tg/breaking_point/flows/exceptions.py | QualiSystems/cloudshell-tg-breaking-point | 15399c231c0b51df492ddd4a7854f42a5f81a3da | [
"Apache-2.0"
] | null | null | null | from cloudshell.tg.breaking_point.bp_exception import BPException
class BPFlowException(BPException):
pass
| 18.833333 | 65 | 0.831858 | 13 | 113 | 7.076923 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 113 | 5 | 66 | 22.6 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
862b2265a4a0c3d2e33f90cd77d00d8f6d835a5b | 5,283 | py | Python | pgmpy/tests/test_estimators/test_StructureScore.py | akleinau/pgmpy | c98084b6c933952b92ec5a92d36a65ef33cf50dd | [
"MIT"
] | 2,144 | 2015-01-05T21:25:04.000Z | 2022-03-31T08:24:15.000Z | pgmpy/tests/test_estimators/test_StructureScore.py | vishalbelsare/pgmpy | 24279929a28082ea994c52f3d165ca63fc56b02b | [
"MIT"
] | 1,181 | 2015-01-04T18:19:44.000Z | 2022-03-30T17:21:19.000Z | pgmpy/tests/test_estimators/test_StructureScore.py | vishalbelsare/pgmpy | 24279929a28082ea994c52f3d165ca63fc56b02b | [
"MIT"
] | 777 | 2015-01-01T11:13:27.000Z | 2022-03-28T12:31:57.000Z | import unittest
import pandas as pd
from pgmpy.models import BayesianNetwork
from pgmpy.estimators import BDeuScore, BDsScore, BicScore, K2Score
class TestBDeuScore(unittest.TestCase):
def setUp(self):
self.d1 = pd.DataFrame(
data={"A": [0, 0, 1], "B": [0, 1, 0], "C": [1, 1, 0], "D": ["X", "... | 37.735714 | 87 | 0.569184 | 654 | 5,283 | 4.51682 | 0.140673 | 0.016249 | 0.015234 | 0.012187 | 0.810427 | 0.77522 | 0.744753 | 0.744753 | 0.743737 | 0.703791 | 0 | 0.071572 | 0.246262 | 5,283 | 139 | 88 | 38.007194 | 0.670266 | 0.048079 | 0 | 0.603604 | 0 | 0 | 0.087234 | 0.032264 | 0 | 0 | 0 | 0 | 0.126126 | 1 | 0.135135 | false | 0 | 0.036036 | 0 | 0.207207 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8638a4f2f68537b94813b1c041c672d75e40cd00 | 5,642 | py | Python | commands/scout_commands.py | valvenya/HAHA-NO-UR | 85f3369e9489cdc4d8b67efd54bed24a9f2bddb4 | [
"MIT"
] | 12 | 2017-06-06T05:40:36.000Z | 2022-02-25T08:39:36.000Z | commands/scout_commands.py | valvenya/HAHA-NO-UR | 85f3369e9489cdc4d8b67efd54bed24a9f2bddb4 | [
"MIT"
] | 77 | 2017-05-16T03:24:53.000Z | 2022-03-11T23:17:04.000Z | commands/scout_commands.py | valvenya/HAHA-NO-UR | 85f3369e9489cdc4d8b67efd54bed24a9f2bddb4 | [
"MIT"
] | 9 | 2017-05-17T23:53:07.000Z | 2022-03-03T21:36:04.000Z | from discord.ext import commands
from bot import HahaNoUR
from core.scout_handler import ScoutHandler, ScoutImage
from core.checks import check_mongo
class Scout:
"""
A class to hold all Scout commands.
"""
def __init__(self, bot: HahaNoUR):
self.bot = bot
async def __handle_result(self... | 35.708861 | 72 | 0.576569 | 657 | 5,642 | 4.87519 | 0.203957 | 0.028411 | 0.054948 | 0.048704 | 0.781767 | 0.748361 | 0.713394 | 0.713394 | 0.704027 | 0.704027 | 0 | 0.016385 | 0.296881 | 5,642 | 157 | 73 | 35.936306 | 0.791026 | 0.006203 | 0 | 0.463768 | 0 | 0 | 0.047984 | 0.015308 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014493 | false | 0.086957 | 0.057971 | 0 | 0.101449 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
863a24cd79950205d709d7689f533e98f4af05e4 | 48 | py | Python | tests/tasks/transform/__init__.py | vlad-mois/prefect | 5427ddb2e49dc4732ad034c58ed2604ea1faa4a3 | [
"Apache-2.0"
] | 3 | 2021-11-09T10:46:58.000Z | 2022-03-11T04:22:35.000Z | tests/tasks/transform/__init__.py | vlad-mois/prefect | 5427ddb2e49dc4732ad034c58ed2604ea1faa4a3 | [
"Apache-2.0"
] | 8 | 2021-10-11T16:42:59.000Z | 2022-03-31T08:42:24.000Z | tests/tasks/transform/__init__.py | vlad-mois/prefect | 5427ddb2e49dc4732ad034c58ed2604ea1faa4a3 | [
"Apache-2.0"
] | 1 | 2022-03-11T04:22:40.000Z | 2022-03-11T04:22:40.000Z | import pytest
pytest.importorskip("transform")
| 12 | 32 | 0.8125 | 5 | 48 | 7.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 3 | 33 | 16 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8649f99868101fb73b8b004d67f4fe7408170500 | 35 | py | Python | control_limits/datasets/synthetic_data/__init__.py | papelero/control-limit-search | c3b8dfbc22e1c895f7e868f9243e21cee7599444 | [
"MIT"
] | null | null | null | control_limits/datasets/synthetic_data/__init__.py | papelero/control-limit-search | c3b8dfbc22e1c895f7e868f9243e21cee7599444 | [
"MIT"
] | null | null | null | control_limits/datasets/synthetic_data/__init__.py | papelero/control-limit-search | c3b8dfbc22e1c895f7e868f9243e21cee7599444 | [
"MIT"
] | null | null | null | from .data_loader import load_data
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86981efb3f0aa23c9c3badc81b5315c1e09881d0 | 124 | py | Python | app/views/index/__init__.py | Dimona-Loves-Animals/foster-vrm | f0047838a66dc44d37d9bbf5beb4783f29b93257 | [
"Apache-2.0"
] | null | null | null | app/views/index/__init__.py | Dimona-Loves-Animals/foster-vrm | f0047838a66dc44d37d9bbf5beb4783f29b93257 | [
"Apache-2.0"
] | null | null | null | app/views/index/__init__.py | Dimona-Loves-Animals/foster-vrm | f0047838a66dc44d37d9bbf5beb4783f29b93257 | [
"Apache-2.0"
] | null | null | null | from app import app; from app.views import *
@app.route("/")
def index():
return render.template('index', name='world') | 24.8 | 49 | 0.677419 | 18 | 124 | 4.666667 | 0.666667 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 124 | 5 | 49 | 24.8 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0.088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
86a77d0c6ae35ab97b77056b41654bec1444158c | 56 | py | Python | tests/test_arena.py | python-upskill/levelup | 89655a560b83956e4d696914907158177ce47c1e | [
"BSD-3-Clause"
] | 1 | 2020-04-24T05:47:20.000Z | 2020-04-24T05:47:20.000Z | tests/test_arena.py | radowit/levelup | 89655a560b83956e4d696914907158177ce47c1e | [
"BSD-3-Clause"
] | 7 | 2020-04-27T16:16:05.000Z | 2020-04-28T13:46:21.000Z | tests/test_arena.py | radowit/levelup | 89655a560b83956e4d696914907158177ce47c1e | [
"BSD-3-Clause"
] | null | null | null | import arena
def test_dummy():
assert arena.WORKS
| 9.333333 | 22 | 0.714286 | 8 | 56 | 4.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 56 | 5 | 23 | 11.2 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86c23f4fc8e17235a75805a06f2f896281b03a1e | 1,451 | py | Python | torchelie/loss/gan/standard.py | Vermeille/Torchelie | 43957d83238372ae6436aac90127865c2040b76c | [
"MIT"
] | 117 | 2019-07-14T20:39:48.000Z | 2021-10-17T19:16:48.000Z | torchelie/loss/gan/standard.py | Vermeille/Torchelie | 43957d83238372ae6436aac90127865c2040b76c | [
"MIT"
] | 41 | 2019-12-06T23:56:44.000Z | 2021-08-02T09:13:30.000Z | torchelie/loss/gan/standard.py | Vermeille/Torchelie | 43957d83238372ae6436aac90127865c2040b76c | [
"MIT"
] | 13 | 2019-09-22T00:46:54.000Z | 2021-04-09T15:53:15.000Z | r"""
Standard, non saturating, GAN loss from the original GAN paper
https://arxiv.org/abs/1406.2661
:math:`L_D(x_r, x_f) = - \log(1 - D(x_f)) - \log D(x_r)`
:math:`L_G(x_f) = -\log D(x_f)`
"""
import torch
import torch.nn.functional as F
def real(x: torch.Tensor, reduce: str = 'mean') -> torch.Tensor:
if isin... | 27.903846 | 69 | 0.591316 | 224 | 1,451 | 3.78125 | 0.254464 | 0.085006 | 0.09209 | 0.063754 | 0.79575 | 0.779221 | 0.779221 | 0.779221 | 0.779221 | 0.779221 | 0 | 0.016334 | 0.240524 | 1,451 | 51 | 70 | 28.45098 | 0.752269 | 0.128187 | 0 | 0.722222 | 0 | 0 | 0.114558 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.083333 | false | 0 | 0.055556 | 0 | 0.472222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86c752b1f61609ed1fc33fb42ba991e11db527a1 | 186 | py | Python | PyTorchHelperBot/helperbot/utils.py | Usernamezhx/yt8m-2019 | 911d3252697e03a91c16a1dad1f9e96c59bc53f2 | [
"MIT"
] | 33 | 2019-10-12T11:18:40.000Z | 2022-03-08T01:08:25.000Z | PyTorchHelperBot/helperbot/utils.py | Usernamezhx/yt8m-2019 | 911d3252697e03a91c16a1dad1f9e96c59bc53f2 | [
"MIT"
] | 5 | 2019-11-08T06:29:16.000Z | 2020-10-20T01:51:21.000Z | PyTorchHelperBot/helperbot/utils.py | ceshine/yt8m-2019 | 1a91f1199637ec4ab0636c5702004ecbdbbcd19f | [
"MIT"
] | 10 | 2019-12-30T09:34:44.000Z | 2022-03-04T15:32:35.000Z | import torch.nn as nn
class Lambda(nn.Module):
def __init__(self, func):
super().__init__()
self.func = func
def forward(self, x):
return self.func(x)
| 16.909091 | 29 | 0.591398 | 26 | 186 | 3.923077 | 0.576923 | 0.235294 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284946 | 186 | 10 | 30 | 18.6 | 0.766917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
86ea5c71ec4823da97b008c7256b19677f7d1145 | 12,123 | py | Python | PE2LGP/Modulo_construcao_regras/elementos_sintaticos.py | ineslacerda/PE2LGP-Translator | 6ff22da887444d8be6cd50b3c3cdc3ce5bd2449a | [
"MIT"
] | 1 | 2021-12-16T13:13:19.000Z | 2021-12-16T13:13:19.000Z | PE2LGP/Modulo_construcao_regras/elementos_sintaticos.py | ineslacerda/PE2LGP-Translator | 6ff22da887444d8be6cd50b3c3cdc3ce5bd2449a | [
"MIT"
] | null | null | null | PE2LGP/Modulo_construcao_regras/elementos_sintaticos.py | ineslacerda/PE2LGP-Translator | 6ff22da887444d8be6cd50b3c3cdc3ce5bd2449a | [
"MIT"
] | null | null | null | def estrutura_sintatica_frase(dependencies_tags, pred_tags, dep_words, frase):
"""
Define a ordem frásica da frase em português (ex: "SVO") com base nas relações de dependência retornadas pelo SpaCy.
:param dependencies_tags: lista com as etiquetas de dependencia da frase dadas pelo SpaCy
:param pred_tags: lista co... | 40.142384 | 153 | 0.737441 | 1,997 | 12,123 | 4.215824 | 0.08012 | 0.099774 | 0.079107 | 0.109752 | 0.858891 | 0.842855 | 0.836441 | 0.817912 | 0.791068 | 0.765293 | 0 | 0.001261 | 0.149633 | 12,123 | 302 | 154 | 40.142384 | 0.815404 | 0.237153 | 0 | 0.65641 | 0 | 0 | 0.04751 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015385 | false | 0 | 0 | 0 | 0.025641 | 0.020513 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81103530e493940cad5a58a5a701e862c942db39 | 406 | py | Python | kopernik/backend.py | ewindisch/kopernik | e7b457fbeb05460ca7e9d32a4bb27010ec9f2077 | [
"Apache-2.0"
] | null | null | null | kopernik/backend.py | ewindisch/kopernik | e7b457fbeb05460ca7e9d32a4bb27010ec9f2077 | [
"Apache-2.0"
] | null | null | null | kopernik/backend.py | ewindisch/kopernik | e7b457fbeb05460ca7e9d32a4bb27010ec9f2077 | [
"Apache-2.0"
] | null | null | null | class CrudBackend(object):
def __init__(self):
pass
def create(self, key, data=None):
return NotImplementedError()
def read(self, key):
return NotImplementedError()
def update(self, key, data):
return NotImplementedError()
def delete(self, key):
return Not... | 21.368421 | 37 | 0.635468 | 41 | 406 | 6.170732 | 0.439024 | 0.13834 | 0.442688 | 0.379447 | 0.27668 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268473 | 406 | 18 | 38 | 22.555556 | 0.851852 | 0 | 0 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0.076923 | 0 | 0.384615 | 0.923077 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
813a35dad75c4d1e4545bf4d6e5805ebffecfc9b | 200 | py | Python | icekit_events/plugins/event_content_listing/models.py | ic-labs/django-icekit | c507ea5b1864303732c53ad7c5800571fca5fa94 | [
"MIT"
] | 52 | 2016-09-13T03:50:58.000Z | 2022-02-23T16:25:08.000Z | icekit_events/plugins/event_content_listing/models.py | ic-labs/django-icekit | c507ea5b1864303732c53ad7c5800571fca5fa94 | [
"MIT"
] | 304 | 2016-08-11T14:17:30.000Z | 2020-07-22T13:35:18.000Z | icekit_events/plugins/event_content_listing/models.py | ic-labs/django-icekit | c507ea5b1864303732c53ad7c5800571fca5fa94 | [
"MIT"
] | 12 | 2016-09-21T18:46:35.000Z | 2021-02-15T19:37:50.000Z | from .abstract_models import AbstractEventContentListingItem
class EventContentListingItem(AbstractEventContentListingItem):
"""
An embedded listing of event content items.
"""
pass
| 22.222222 | 63 | 0.775 | 16 | 200 | 9.625 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | 200 | 8 | 64 | 25 | 0.927711 | 0.215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
814192f4357c018a999a8c4f58bd2a00718239a4 | 6,908 | py | Python | fenetpp/ltr/models/kys/predictor_wrapper.py | Jee-King/FENet- | 4c2230275acb0bb77e07a07606bc0ba5038ed39c | [
"MIT"
] | 3 | 2021-12-02T11:34:37.000Z | 2021-12-19T09:30:10.000Z | fenetpp/ltr/models/kys/predictor_wrapper.py | Jee-King/FENet- | 4c2230275acb0bb77e07a07606bc0ba5038ed39c | [
"MIT"
] | null | null | null | fenetpp/ltr/models/kys/predictor_wrapper.py | Jee-King/FENet- | 4c2230275acb0bb77e07a07606bc0ba5038ed39c | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from ltr.models.kys.utils import shift_features
class PredictorWrapper(nn.Module):
def __init__(self, cost_volume, predictor):
super().__init__()
self.cost_volume = cost_volume
self.predictor = predictor
self.fix_coordinate_shift = True
def ... | 45.150327 | 139 | 0.632021 | 909 | 6,908 | 4.449945 | 0.09681 | 0.093449 | 0.124598 | 0.09246 | 0.832386 | 0.800989 | 0.787145 | 0.787145 | 0.774289 | 0.774289 | 0 | 0.025272 | 0.255356 | 6,908 | 153 | 140 | 45.150327 | 0.761081 | 0.00304 | 0 | 0.563636 | 0 | 0 | 0.061147 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.027273 | 0 | 0.118182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8143daff66f385f3959887938ae54239a222e108 | 242 | py | Python | readingapi/__init__.py | jamietr1/reading-api | aa0a2dbdca740ebb6fcde47d66c838578cd86304 | [
"MIT"
] | null | null | null | readingapi/__init__.py | jamietr1/reading-api | aa0a2dbdca740ebb6fcde47d66c838578cd86304 | [
"MIT"
] | null | null | null | readingapi/__init__.py | jamietr1/reading-api | aa0a2dbdca740ebb6fcde47d66c838578cd86304 | [
"MIT"
] | null | null | null | import os
from os import expanduser
READING_DAT = expanduser("~") + "/Scripts/reading-tools/reading.dat"
AUTHORS_DAT = expanduser("~") + "/Scripts/reading-tools/authors.dat"
LENGTH_DAT = expanduser("~") + "/Scripts/reading-tools/length.dat"
| 34.571429 | 68 | 0.735537 | 30 | 242 | 5.833333 | 0.333333 | 0.222857 | 0.342857 | 0.462857 | 0.548571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 242 | 6 | 69 | 40.333333 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0.429752 | 0.417355 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d4c09568cab388bbf604721842f2e40ac637930a | 110 | py | Python | spark/spark_controler/__init__.py | kcrandall/Kaggle_Mercedes_Manufacturing | f1a2827f7aa145c1df057ab5035cff45e877e785 | [
"MIT"
] | 9 | 2017-10-19T22:21:16.000Z | 2022-03-02T21:37:51.000Z | spark/spark_controler/__init__.py | kcrandall/Kaggle_Mercedes_Manufacturing | f1a2827f7aa145c1df057ab5035cff45e877e785 | [
"MIT"
] | null | null | null | spark/spark_controler/__init__.py | kcrandall/Kaggle_Mercedes_Manufacturing | f1a2827f7aa145c1df057ab5035cff45e877e785 | [
"MIT"
] | 5 | 2018-07-12T21:05:21.000Z | 2021-04-18T14:15:34.000Z | from . import *
# from ec2_instance_data_dict import ec2_data_dict
# from emr_controller import EMRController
| 27.5 | 50 | 0.836364 | 16 | 110 | 5.375 | 0.5625 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.127273 | 110 | 3 | 51 | 36.666667 | 0.875 | 0.809091 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4c173686d2df92ddbc4ddac7aa6a7ce03b5fde5 | 12,941 | py | Python | kmip/tests/unit/core/messages/payloads/test_create_key_pair.py | smira/PyKMIP | 54f3688a14bcc442b270765e21732b77d18b2a72 | [
"Apache-2.0"
] | null | null | null | kmip/tests/unit/core/messages/payloads/test_create_key_pair.py | smira/PyKMIP | 54f3688a14bcc442b270765e21732b77d18b2a72 | [
"Apache-2.0"
] | null | null | null | kmip/tests/unit/core/messages/payloads/test_create_key_pair.py | smira/PyKMIP | 54f3688a14bcc442b270765e21732b77d18b2a72 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2014 The Johns Hopkins University/Applied Physics Laboratory
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICEN... | 42.153094 | 79 | 0.673518 | 1,420 | 12,941 | 5.852113 | 0.112676 | 0.161613 | 0.154031 | 0.103971 | 0.85716 | 0.834657 | 0.799639 | 0.738267 | 0.684838 | 0.674489 | 0 | 0.042111 | 0.238467 | 12,941 | 306 | 80 | 42.29085 | 0.801116 | 0.047601 | 0 | 0.730435 | 0 | 0.043478 | 0.194395 | 0.119009 | 0 | 0 | 0 | 0 | 0.078261 | 1 | 0.117391 | false | 0 | 0.021739 | 0 | 0.147826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4ea9355f1995ae9a91562dcc07c532c138a6df6 | 17,307 | py | Python | det3d/core/bbox/geometry.py | hrrauf/Structure-Aware-Det-3D | b445bb67d6e397e028a396c2968e67cdba287d27 | [
"Apache-2.0"
] | 382 | 2020-12-05T06:46:28.000Z | 2022-03-29T17:40:58.000Z | det3d/core/bbox/geometry.py | hrrauf/Structure-Aware-Det-3D | b445bb67d6e397e028a396c2968e67cdba287d27 | [
"Apache-2.0"
] | 28 | 2020-12-08T07:50:57.000Z | 2022-03-20T03:54:43.000Z | det3d/core/bbox/geometry.py | hrrauf/Structure-Aware-Det-3D | b445bb67d6e397e028a396c2968e67cdba287d27 | [
"Apache-2.0"
] | 57 | 2020-12-10T02:19:03.000Z | 2022-03-19T09:49:38.000Z | import numba
import numpy as np
@numba.njit
def _points_count_convex_polygon_3d_jit(
points, polygon_surfaces, normal_vec, d, num_surfaces=None
):
"""count points in 3d convex polygons.
Args:
points: [num_points, 3] array.
polygon_surfaces: [num_polygon, max_num_surfaces,
max_n... | 37.78821 | 85 | 0.552609 | 2,473 | 17,307 | 3.665588 | 0.064294 | 0.065527 | 0.047876 | 0.027799 | 0.83166 | 0.810811 | 0.801324 | 0.776944 | 0.763596 | 0.763596 | 0 | 0.046404 | 0.313919 | 17,307 | 457 | 86 | 37.870897 | 0.717029 | 0.257988 | 0 | 0.637584 | 0 | 0 | 0.001933 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053691 | false | 0 | 0.006711 | 0.003356 | 0.11745 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
079aaeee32aa467385abbd1da29efa573f870af0 | 2,888 | py | Python | AutomationFramework/tests/hardware/test_hw_port.py | sbarguil/Testing-framework | f3ef69f1c4f0aeafd02e222d846162c711783b15 | [
"Apache-2.0"
] | 1 | 2020-04-23T15:22:16.000Z | 2020-04-23T15:22:16.000Z | AutomationFramework/tests/hardware/test_hw_port.py | sbarguil/Testing-framework | f3ef69f1c4f0aeafd02e222d846162c711783b15 | [
"Apache-2.0"
] | 44 | 2020-08-13T19:35:41.000Z | 2021-03-01T09:08:00.000Z | AutomationFramework/tests/hardware/test_hw_port.py | sbarguil/Testing-framework | f3ef69f1c4f0aeafd02e222d846162c711783b15 | [
"Apache-2.0"
] | 6 | 2020-04-23T15:29:38.000Z | 2022-03-03T14:23:38.000Z | import pytest
from AutomationFramework.page_objects.hardware.hardware import Hardware
from AutomationFramework.page_objects.interfaces.interfaces import Interfaces
from AutomationFramework.tests.base_test import BaseTest
class TestHardwarePort(BaseTest):
test_case_file = 'hw_port.yml'
@pytest.mark.parametriz... | 67.162791 | 117 | 0.58795 | 290 | 2,888 | 5.296552 | 0.17931 | 0.143229 | 0.104167 | 0.083333 | 0.839844 | 0.839844 | 0.809896 | 0.809896 | 0.763021 | 0.763021 | 0 | 0.002113 | 0.344529 | 2,888 | 42 | 118 | 68.761905 | 0.809297 | 0 | 0 | 0.611111 | 0 | 0 | 0.151316 | 0.07964 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07c3095bd0e284800333717fccabbac04f34fb4a | 36 | py | Python | febraban/cnab240/statement/__init__.py | netosjb/febraban-python | a546fa3353d2db1546df60f6f8cc26c7c862c743 | [
"MIT"
] | 3 | 2021-05-04T16:07:24.000Z | 2022-03-06T22:08:37.000Z | febraban/cnab240/statement/__init__.py | netosjb/febraban-python | a546fa3353d2db1546df60f6f8cc26c7c862c743 | [
"MIT"
] | 2 | 2021-03-01T00:06:57.000Z | 2021-03-01T00:14:55.000Z | febraban/cnab240/statement/__init__.py | netosjb/febraban-python | a546fa3353d2db1546df60f6f8cc26c7c862c743 | [
"MIT"
] | 1 | 2021-08-18T03:05:43.000Z | 2021-08-18T03:05:43.000Z | from .parser import StatementParser
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed01e7419dc4717e64bf9199079aa14b9fdec43d | 78 | py | Python | valverangequery/__init__.py | incontestableness/valve-range-query | fe8b8f05965fdd613008080420094cc622a4d80f | [
"MIT"
] | 1 | 2021-03-24T17:47:28.000Z | 2021-03-24T17:47:28.000Z | valverangequery/__init__.py | incontestableness/valve-range-query | fe8b8f05965fdd613008080420094cc622a4d80f | [
"MIT"
] | null | null | null | valverangequery/__init__.py | incontestableness/valve-range-query | fe8b8f05965fdd613008080420094cc622a4d80f | [
"MIT"
] | null | null | null | from .source_packet import *
from .map_lib import *
from .player_lib import *
| 19.5 | 28 | 0.769231 | 12 | 78 | 4.75 | 0.583333 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 3 | 29 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed090a4eb3602a1cab846ec55cd9ad48867455a0 | 224 | py | Python | tests/conftest.py | ovidner/openmdao-scop | 040ed417f69a216ee3e1e69fb6b87feaf7c6cd17 | [
"MIT"
] | null | null | null | tests/conftest.py | ovidner/openmdao-scop | 040ed417f69a216ee3e1e69fb6b87feaf7c6cd17 | [
"MIT"
] | 1 | 2020-11-16T10:33:48.000Z | 2020-11-16T10:33:48.000Z | tests/conftest.py | ovidner/openmdao-scop | 040ed417f69a216ee3e1e69fb6b87feaf7c6cd17 | [
"MIT"
] | null | null | null | import os
import hypothesis
import numpy as np
import pytest
np.seterr(all="warn")
hypothesis.settings.register_profile("fast", max_examples=5)
hypothesis.settings.register_profile("debugger", report_multiple_bugs=False)
| 20.363636 | 76 | 0.821429 | 31 | 224 | 5.774194 | 0.709677 | 0.201117 | 0.290503 | 0.368715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004854 | 0.080357 | 224 | 10 | 77 | 22.4 | 0.864078 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed3ee8cf5d1004a6e0d49857245235427f47de3b | 159 | py | Python | src/message_form/message_response.py | Sujin1135/slackbot-event-handler | cea4f9a8df46b230f8da93d59a7878c1cc68de0b | [
"MIT"
] | null | null | null | src/message_form/message_response.py | Sujin1135/slackbot-event-handler | cea4f9a8df46b230f8da93d59a7878c1cc68de0b | [
"MIT"
] | null | null | null | src/message_form/message_response.py | Sujin1135/slackbot-event-handler | cea4f9a8df46b230f8da93d59a7878c1cc68de0b | [
"MIT"
] | null | null | null | from enum import Enum
from src.message_form.get_message_form import get_message_form
class MessageResponse(Enum):
WELCOME = get_message_form('welcome')
| 19.875 | 62 | 0.811321 | 23 | 159 | 5.304348 | 0.434783 | 0.360656 | 0.344262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125786 | 159 | 7 | 63 | 22.714286 | 0.877698 | 0 | 0 | 0 | 0 | 0 | 0.044025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed559932f67d1034f4d98b1a696bcf46b18a477e | 156 | py | Python | import_me/__init__.py | kvbrg/import_me | 7676818e629f64c80601a0feee09acc0b3532eb9 | [
"MIT"
] | null | null | null | import_me/__init__.py | kvbrg/import_me | 7676818e629f64c80601a0feee09acc0b3532eb9 | [
"MIT"
] | null | null | null | import_me/__init__.py | kvbrg/import_me | 7676818e629f64c80601a0feee09acc0b3532eb9 | [
"MIT"
] | null | null | null | from import_me.parsers.xlsx import BaseXLSXParser
from import_me.columns import Column
from import_me.exceptions import StopParsing
__version__ = '0.2.5'
| 22.285714 | 49 | 0.833333 | 23 | 156 | 5.347826 | 0.608696 | 0.243902 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021583 | 0.108974 | 156 | 6 | 50 | 26 | 0.863309 | 0 | 0 | 0 | 0 | 0 | 0.032051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c64100b1e6d02621f468dafdd052f90f6e6b2fc | 104 | py | Python | excript/lista4/q21.py | victorers1/anotacoes_curso_python | c4ef56bcfc7e3baa3944fc2962e8217c6d720b0e | [
"MIT"
] | null | null | null | excript/lista4/q21.py | victorers1/anotacoes_curso_python | c4ef56bcfc7e3baa3944fc2962e8217c6d720b0e | [
"MIT"
] | null | null | null | excript/lista4/q21.py | victorers1/anotacoes_curso_python | c4ef56bcfc7e3baa3944fc2962e8217c6d720b0e | [
"MIT"
] | null | null | null | def func1():
def func2():
return True
return func2()
if(func1()):
print("Acabou")
| 11.555556 | 19 | 0.528846 | 12 | 104 | 4.583333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.307692 | 104 | 8 | 20 | 13 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.166667 | 0.666667 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.