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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
701cbccff96afd040f18c66bc6a8c5dfc0e024df | 107 | py | Python | igmtools/plot/__init__.py | cwfinn/igmtools | 6e14973fd1e69d5e7bd7c40f93ffe11e2cd41990 | [
"BSD-3-Clause"
] | null | null | null | igmtools/plot/__init__.py | cwfinn/igmtools | 6e14973fd1e69d5e7bd7c40f93ffe11e2cd41990 | [
"BSD-3-Clause"
] | null | null | null | igmtools/plot/__init__.py | cwfinn/igmtools | 6e14973fd1e69d5e7bd7c40f93ffe11e2cd41990 | [
"BSD-3-Clause"
] | 1 | 2019-11-19T04:45:38.000Z | 2019-11-19T04:45:38.000Z | from .general import *
from .special import *
from .utils import *
from .velplot_utils import VelocityPlot
| 21.4 | 39 | 0.785047 | 14 | 107 | 5.928571 | 0.5 | 0.361446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149533 | 107 | 4 | 40 | 26.75 | 0.912088 | 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 |
707a6f4d16810739b22393b79fe8f9f207878fbc | 62 | py | Python | vectorai/models/deployed/__init__.py | boba-and-beer/vectorai | 5244968e4a3622f6c536e96e1fa25719634e5b45 | [
"Apache-2.0"
] | 255 | 2020-09-30T12:32:20.000Z | 2022-03-19T16:12:35.000Z | vectorai/models/deployed/__init__.py | boba-and-beer/vectorai | 5244968e4a3622f6c536e96e1fa25719634e5b45 | [
"Apache-2.0"
] | 20 | 2020-10-01T06:14:35.000Z | 2021-04-12T07:22:57.000Z | vectorai/models/deployed/__init__.py | boba-and-beer/vectorai | 5244968e4a3622f6c536e96e1fa25719634e5b45 | [
"Apache-2.0"
] | 33 | 2020-10-01T20:52:39.000Z | 2022-03-18T07:17:25.000Z | from .text import *
from .audio import *
from .image import *
| 15.5 | 20 | 0.709677 | 9 | 62 | 4.888889 | 0.555556 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 62 | 3 | 21 | 20.666667 | 0.88 | 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 |
562d922513e6927d5c2cf81e597297d172a79bd8 | 167 | py | Python | commands/handler.py | 13ace37/python-discord | 2245e4984668020236cbd0a0e937318b30afbb02 | [
"MIT"
] | null | null | null | commands/handler.py | 13ace37/python-discord | 2245e4984668020236cbd0a0e937318b30afbb02 | [
"MIT"
] | null | null | null | commands/handler.py | 13ace37/python-discord | 2245e4984668020236cbd0a0e937318b30afbb02 | [
"MIT"
] | null | null | null | from importlib import import_module
def run(command, args):
__command__ = import_module("commands." + command, "./" + command + ".py")
__command__.run(args)
| 23.857143 | 78 | 0.688623 | 19 | 167 | 5.526316 | 0.526316 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167665 | 167 | 6 | 79 | 27.833333 | 0.755396 | 0 | 0 | 0 | 0 | 0 | 0.083832 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
56835a07399a2fd39e30a02aca7c70ef543cade1 | 95 | py | Python | lcopt_cv/__init__.py | pjamesjoyce/lcopt_cv | d2545481d5a2e8805f6381d2bb6c9dea8a4404a2 | [
"BSD-3-Clause"
] | 3 | 2019-11-20T08:41:04.000Z | 2022-03-23T06:41:01.000Z | lcopt_cv/__init__.py | pjamesjoyce/lcopt_cv | d2545481d5a2e8805f6381d2bb6c9dea8a4404a2 | [
"BSD-3-Clause"
] | null | null | null | lcopt_cv/__init__.py | pjamesjoyce/lcopt_cv | d2545481d5a2e8805f6381d2bb6c9dea8a4404a2 | [
"BSD-3-Clause"
] | 1 | 2022-03-23T06:06:42.000Z | 2022-03-23T06:06:42.000Z | from .grab_flow_chart import *
from .heuristics import *
from .send_to_lcopt import LcoptWriter | 31.666667 | 38 | 0.831579 | 14 | 95 | 5.357143 | 0.714286 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 3 | 38 | 31.666667 | 0.892857 | 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 |
3b1e23159f009a4648f2a992ec9bf4208e78909e | 69 | py | Python | binrelay/__init__.py | nathanjackson/binrelay | 20420e58e7188723916e7b69cdfad8642dd36134 | [
"MIT"
] | 4 | 2019-09-06T11:55:10.000Z | 2021-09-03T11:37:22.000Z | binrelay/__init__.py | nathanjackson/binrelay | 20420e58e7188723916e7b69cdfad8642dd36134 | [
"MIT"
] | null | null | null | binrelay/__init__.py | nathanjackson/binrelay | 20420e58e7188723916e7b69cdfad8642dd36134 | [
"MIT"
] | null | null | null | from .tep import *
from .utils import *
from .race_analysis import *
| 17.25 | 28 | 0.73913 | 10 | 69 | 5 | 0.6 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 29 | 23 | 0.877193 | 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 |
3b3cea5a764a22a5ef15bcc15ffeee7a7fabe492 | 267 | py | Python | zxp/models/__init__.py | tomsherborne/zx-parse | 574b2d7618ad6981cd59d42842e6d1dceddfdc8e | [
"MIT"
] | 7 | 2022-02-28T11:49:35.000Z | 2022-03-11T06:14:33.000Z | zxp/models/__init__.py | tomsherborne/zx-parse | 574b2d7618ad6981cd59d42842e6d1dceddfdc8e | [
"MIT"
] | null | null | null | zxp/models/__init__.py | tomsherborne/zx-parse | 574b2d7618ad6981cd59d42842e6d1dceddfdc8e | [
"MIT"
] | null | null | null | from zxp.models.seq2seq_multihead import Seq2SeqMultiHead
from zxp.models.composed_seq2seq_kwargs import ComposedSeq2SeqKW
from zxp.models.seq2seq_singlehead_lambda import Seq2SeqSingleHeadLambda
from zxp.models.seq2seq_multihead_lambda import Seq2SeqMultiHeadLambda
| 53.4 | 72 | 0.910112 | 31 | 267 | 7.612903 | 0.451613 | 0.118644 | 0.220339 | 0.254237 | 0.245763 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031873 | 0.059925 | 267 | 4 | 73 | 66.75 | 0.908367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8e9cb83efa45038c272da71319f1e291f0d06d35 | 31 | py | Python | pagerank/__init__.py | HyungJiny/datascience_pagerank | 4efb954aab1461b2b56408d498c8404cb72c5201 | [
"Apache-2.0"
] | null | null | null | pagerank/__init__.py | HyungJiny/datascience_pagerank | 4efb954aab1461b2b56408d498c8404cb72c5201 | [
"Apache-2.0"
] | null | null | null | pagerank/__init__.py | HyungJiny/datascience_pagerank | 4efb954aab1461b2b56408d498c8404cb72c5201 | [
"Apache-2.0"
] | null | null | null | from ._pagerank import pagerank | 31 | 31 | 0.870968 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ea6a81b36ac407ad5073ea0f1b71f42bf46f213 | 45 | py | Python | models/__init__.py | SeoroMin/NLP_DL_pytorch | eede067dddebe9ec2a71cfd9fd92fb72cda139e9 | [
"MIT"
] | 28 | 2019-12-17T15:17:20.000Z | 2022-03-20T05:29:58.000Z | models/__init__.py | SeoroMin/NLP_DL_pytorch | eede067dddebe9ec2a71cfd9fd92fb72cda139e9 | [
"MIT"
] | null | null | null | models/__init__.py | SeoroMin/NLP_DL_pytorch | eede067dddebe9ec2a71cfd9fd92fb72cda139e9 | [
"MIT"
] | 11 | 2020-03-03T15:32:50.000Z | 2022-01-14T11:50:28.000Z | from .vgg import *
from .studentnet import *
| 15 | 25 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 26 | 22.5 | 0.891892 | 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 |
d9036d0d71f139ae37bcf5c3f11910506874b4b2 | 120 | py | Python | trustybrowser/__init__.py | coco673/TrustyBrowser | e88f09c0e7899d53eac266f9c83d2f8949303e0f | [
"Beerware"
] | null | null | null | trustybrowser/__init__.py | coco673/TrustyBrowser | e88f09c0e7899d53eac266f9c83d2f8949303e0f | [
"Beerware"
] | null | null | null | trustybrowser/__init__.py | coco673/TrustyBrowser | e88f09c0e7899d53eac266f9c83d2f8949303e0f | [
"Beerware"
] | null | null | null | from .SSLTester import *
from .Reports import *
from .Statistics import *
from .tlslite import *
from .plugins import *
| 20 | 25 | 0.75 | 15 | 120 | 6 | 0.466667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 120 | 5 | 26 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d921c7f7aeeb06c9036ee5b1f013d65be3a85e08 | 49 | py | Python | vishack/core/__init__.py | gw-vis/vishack | 02d5068f276f44f89edc7fd0ff1897ef820460ff | [
"MIT"
] | null | null | null | vishack/core/__init__.py | gw-vis/vishack | 02d5068f276f44f89edc7fd0ff1897ef820460ff | [
"MIT"
] | 16 | 2020-09-21T18:10:26.000Z | 2020-10-23T05:06:45.000Z | vishack/core/__init__.py | gw-vis/vishack | 02d5068f276f44f89edc7fd0ff1897ef820460ff | [
"MIT"
] | 1 | 2020-09-21T09:07:43.000Z | 2020-09-21T09:07:43.000Z | from .healthcheck import *
from .config import *
| 16.333333 | 26 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 27 | 24.5 | 0.902439 | 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 |
d948bff132ad34a6c09dafe031ce5e3d0c85cf07 | 23,108 | py | Python | test/test_lookout.py | Ormod/pglookout | b98dd362edeb17dfd5de8025029b2c3d79cafd87 | [
"Apache-2.0"
] | null | null | null | test/test_lookout.py | Ormod/pglookout | b98dd362edeb17dfd5de8025029b2c3d79cafd87 | [
"Apache-2.0"
] | null | null | null | test/test_lookout.py | Ormod/pglookout | b98dd362edeb17dfd5de8025029b2c3d79cafd87 | [
"Apache-2.0"
] | null | null | null | """
pglookout
Copyright (c) 2014 F-Secure
See LICENSE for details
"""
from pglookout.pglookout import PgLookout, parse_iso_datetime, get_iso_timestamp
try:
from mock import Mock # pylint: disable=F0401
except: # py3k import location
from unittest.mock import Mock
from unittest import TestCase
import datetime
... | 61.786096 | 129 | 0.656915 | 2,920 | 23,108 | 4.787329 | 0.080479 | 0.087417 | 0.024465 | 0.057086 | 0.851205 | 0.819944 | 0.785035 | 0.757279 | 0.741755 | 0.728378 | 0 | 0.048154 | 0.253202 | 23,108 | 373 | 130 | 61.951743 | 0.761894 | 0.045525 | 0 | 0.571429 | 0 | 0 | 0.131505 | 0.064617 | 0 | 0 | 0 | 0 | 0.139456 | 1 | 0.081633 | false | 0 | 0.02381 | 0.003401 | 0.112245 | 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 |
d980549bd777e5583c0c740a1b5bf5ba3b719cde | 97 | py | Python | src/veiws/sc/__init__.py | FrostyBonny/MSDevoDevelop | 9e6f0685806c26d3e294fb976e422f67ab581124 | [
"MIT"
] | 1 | 2019-05-15T03:17:27.000Z | 2019-05-15T03:17:27.000Z | src/veiws/sc/__init__.py | FrostyBonny/MSDevoDevelop | 9e6f0685806c26d3e294fb976e422f67ab581124 | [
"MIT"
] | null | null | null | src/veiws/sc/__init__.py | FrostyBonny/MSDevoDevelop | 9e6f0685806c26d3e294fb976e422f67ab581124 | [
"MIT"
] | null | null | null | from flask import Blueprint
sc = Blueprint('sc', __name__, url_prefix='/sc')
from . import veiw | 19.4 | 48 | 0.731959 | 14 | 97 | 4.714286 | 0.642857 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 97 | 5 | 49 | 19.4 | 0.795181 | 0 | 0 | 0 | 0 | 0 | 0.05102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
d984fdb350535292557f8ccd3e0954e08f82b84f | 134 | py | Python | source/log.py | Titan4ik/enrichment_collector | 9fca3f4bb780d33197cd7a75bb1579450dccf68e | [
"Apache-2.0"
] | null | null | null | source/log.py | Titan4ik/enrichment_collector | 9fca3f4bb780d33197cd7a75bb1579450dccf68e | [
"Apache-2.0"
] | null | null | null | source/log.py | Titan4ik/enrichment_collector | 9fca3f4bb780d33197cd7a75bb1579450dccf68e | [
"Apache-2.0"
] | null | null | null | def debug(text):
print(f"DEBUG! {text}")
def warn(text):
print(f"WARN! {text}")
def error(text):
print(f"ERROR! {text}") | 16.75 | 27 | 0.589552 | 21 | 134 | 3.761905 | 0.333333 | 0.341772 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186567 | 134 | 8 | 28 | 16.75 | 0.724771 | 0 | 0 | 0 | 0 | 0 | 0.281481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
797f2ea914f0001c9a9896321ef12031f45b7d92 | 135 | py | Python | apps/home/views.py | WouterVdS/BosvogelWebPlatform | 4388d6fd98645ffb7c1470718d42dab43b953b95 | [
"MIT"
] | 1 | 2019-02-05T20:14:41.000Z | 2019-02-05T20:14:41.000Z | apps/home/views.py | WouterVdS/BosvogelWebPlatform | 4388d6fd98645ffb7c1470718d42dab43b953b95 | [
"MIT"
] | 157 | 2019-02-12T18:07:28.000Z | 2022-02-10T07:14:24.000Z | apps/home/views.py | WouterVdS/BosvogelWebPlatform | 4388d6fd98645ffb7c1470718d42dab43b953b95 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request, 'home/landing.html', {'title_suffix': ' - Home'})
| 22.5 | 76 | 0.711111 | 17 | 135 | 5.588235 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140741 | 135 | 5 | 77 | 27 | 0.818966 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 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 |
798775a7ffffb0e2faea1699fb09446afccfd4fe | 206 | py | Python | src/bulir/__init__.py | ayharano/bulir | 9463d8965adc9c6b6f332f4d3993cc5f8a0ad01c | [
"MIT"
] | null | null | null | src/bulir/__init__.py | ayharano/bulir | 9463d8965adc9c6b6f332f4d3993cc5f8a0ad01c | [
"MIT"
] | 5 | 2021-03-31T19:42:44.000Z | 2021-12-14T03:58:13.000Z | src/bulir/__init__.py | ayharano/bulir | 9463d8965adc9c6b6f332f4d3993cc5f8a0ad01c | [
"MIT"
] | null | null | null | from .bulir import (
BrazilianLawsuitIDsRetriever,
retrieve_brazilian_uf_lawsuit_ids,
__version__,
)
__all__ = [
"BrazilianLawsuitIDsRetriever",
"retrieve_brazilian_uf_lawsuit_ids",
]
| 17.166667 | 40 | 0.752427 | 17 | 206 | 8.176471 | 0.647059 | 0.517986 | 0.647482 | 0.676259 | 0.820144 | 0.820144 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174757 | 206 | 11 | 41 | 18.727273 | 0.817647 | 0 | 0 | 0 | 0 | 0 | 0.296117 | 0.296117 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
79bdb48f592f1a20c31cf62c16ecc94a2e7988fb | 2,310 | py | Python | tests/test_commands_xargs.py | mikeboers/aque | 4215fd01ab2a0fd88aeac7f2d69b4c888caa7aa1 | [
"BSD-3-Clause"
] | 1 | 2019-05-01T15:26:54.000Z | 2019-05-01T15:26:54.000Z | tests/test_commands_xargs.py | mikeboers/aque | 4215fd01ab2a0fd88aeac7f2d69b4c888caa7aa1 | [
"BSD-3-Clause"
] | null | null | null | tests/test_commands_xargs.py | mikeboers/aque | 4215fd01ab2a0fd88aeac7f2d69b4c888caa7aa1 | [
"BSD-3-Clause"
] | null | null | null | from . import *
class TestXargsCommand(BrokerTestCase):
def test_basic_usage(self):
path = os.path.join(self.sandbox, 'one.txt')
out = self_check_output(['xargs', '-v', 'bash', '-c', 'echo $AQUE_TID >> "%s"' % path], stdin='1\n')
tids = [int(x) for x in out.strip().split()]
self.... | 45.294118 | 122 | 0.561905 | 351 | 2,310 | 3.595442 | 0.168091 | 0.028526 | 0.035658 | 0.049921 | 0.942155 | 0.942155 | 0.942155 | 0.942155 | 0.942155 | 0.942155 | 0 | 0.015385 | 0.212121 | 2,310 | 50 | 123 | 46.2 | 0.678022 | 0 | 0 | 0.631579 | 0 | 0 | 0.132525 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 1 | 0.078947 | false | 0 | 0.026316 | 0 | 0.131579 | 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 |
79c7086ebf0f7afd345cfd7d52fcc4b0edf01232 | 33 | py | Python | FogifySDK/src/FogifySDK/__init__.py | UCY-LINC-LAB/fogify | 80dee9e2079ef45c49a6cd6629a3bf0b31461afb | [
"Apache-2.0"
] | 21 | 2020-11-09T07:47:07.000Z | 2022-02-13T10:58:10.000Z | FogifySDK/src/FogifySDK/__init__.py | UCY-LINC-LAB/fogify | 80dee9e2079ef45c49a6cd6629a3bf0b31461afb | [
"Apache-2.0"
] | 7 | 2020-12-16T13:47:23.000Z | 2021-06-14T12:21:43.000Z | FogifySDK/src/FogifySDK/__init__.py | UCY-LINC-LAB/fogify | 80dee9e2079ef45c49a6cd6629a3bf0b31461afb | [
"Apache-2.0"
] | 3 | 2020-11-18T07:27:53.000Z | 2021-05-27T14:42:57.000Z | from .FogifySDK import FogifySDK
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
8db7389960bb7ee3f7c1582b8eaa0a3db68892f1 | 47 | py | Python | src/compiler/test_exprs.py | amitashukla/databass-public | e7eb03076c9331f8fc815040b99f27409ded44d7 | [
"MIT"
] | null | null | null | src/compiler/test_exprs.py | amitashukla/databass-public | e7eb03076c9331f8fc815040b99f27409ded44d7 | [
"MIT"
] | null | null | null | src/compiler/test_exprs.py | amitashukla/databass-public | e7eb03076c9331f8fc815040b99f27409ded44d7 | [
"MIT"
] | null | null | null | from exprs import *
# TODO: Amit WRITE TESTS
| 9.4 | 24 | 0.702128 | 7 | 47 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 47 | 4 | 25 | 11.75 | 0.916667 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8df0cff727986b7474149732b9e2d1334627a01d | 131 | py | Python | tests/inline_test_resources/7/expected.py | thesynman/pybricksdev | 6f34cfb7a5f26628fe3cedae1ce51ee6024f57b9 | [
"MIT"
] | null | null | null | tests/inline_test_resources/7/expected.py | thesynman/pybricksdev | 6f34cfb7a5f26628fe3cedae1ce51ee6024f57b9 | [
"MIT"
] | null | null | null | tests/inline_test_resources/7/expected.py | thesynman/pybricksdev | 6f34cfb7a5f26628fe3cedae1ce51ee6024f57b9 | [
"MIT"
] | null | null | null | importA__foo = 'fxxx' # importA#1
importB__bar = 'bar2' # importB#1
print(importA__foo) # script#3
print(importB__bar) # script#4
| 21.833333 | 33 | 0.732824 | 20 | 131 | 4.4 | 0.55 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04386 | 0.129771 | 131 | 5 | 34 | 26.2 | 0.72807 | 0.251908 | 0 | 0 | 0 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
5c20e9850adc75f727b082398e1b036af63e49b2 | 6,926 | py | Python | tests/integration/routes/test_interactive.py | lyft/omnibot | 8e9000e872595010e4c3e294e2df39a33f05d491 | [
"Apache-2.0"
] | 72 | 2019-11-21T00:02:18.000Z | 2022-01-20T02:23:09.000Z | tests/integration/routes/test_interactive.py | lyft/omnibot | 8e9000e872595010e4c3e294e2df39a33f05d491 | [
"Apache-2.0"
] | 30 | 2019-11-22T04:24:57.000Z | 2021-09-24T22:50:12.000Z | tests/integration/routes/test_interactive.py | lyft/omnibot | 8e9000e872595010e4c3e294e2df39a33f05d491 | [
"Apache-2.0"
] | 6 | 2019-12-26T00:37:41.000Z | 2021-04-09T04:21:17.000Z | import json
from typing import Any, Dict # noqa: F401
from unittest.mock import MagicMock
from flask import Response # noqa: F401
from werkzeug.test import Client
from tests.data import get_mock_data
from tests.integration.routes import get_test_bot
_ENDPOINT = "/api/v1/slack/interactive"
def test_dialog_submiss... | 40.034682 | 111 | 0.640485 | 825 | 6,926 | 5.12 | 0.128485 | 0.049716 | 0.045455 | 0.043087 | 0.801847 | 0.776515 | 0.760417 | 0.760417 | 0.736032 | 0.736032 | 0 | 0.007267 | 0.245019 | 6,926 | 172 | 112 | 40.267442 | 0.800535 | 0.006208 | 0 | 0.578947 | 0 | 0 | 0.213434 | 0.096685 | 0 | 0 | 0 | 0 | 0.243421 | 1 | 0.052632 | false | 0 | 0.046053 | 0 | 0.098684 | 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 |
5c2d8db11875bd256e7f4418a3cbe07fd6c4da36 | 5,320 | py | Python | scriptures/tests/test_scripture_ref.py | samuelbradshaw/python-lds-scriptures | 2770697e97b299b3fb0ecfcc8ac295c050dc743b | [
"MIT"
] | null | null | null | scriptures/tests/test_scripture_ref.py | samuelbradshaw/python-lds-scriptures | 2770697e97b299b3fb0ecfcc8ac295c050dc743b | [
"MIT"
] | null | null | null | scriptures/tests/test_scripture_ref.py | samuelbradshaw/python-lds-scriptures | 2770697e97b299b3fb0ecfcc8ac295c050dc743b | [
"MIT"
] | 1 | 2020-02-27T19:04:07.000Z | 2020-02-27T19:04:07.000Z | import unittest
from scriptures import ScriptureRef
class TestScriptureRef(unittest.TestCase):
def test_no_args(self):
with self.assertRaises(TypeError):
ScriptureRef()
def test_no_book(self):
self.assert_scripture_ref(ScriptureRef(testament='ot'), 'ot', None, None, None)
def ... | 56 | 184 | 0.649436 | 700 | 5,320 | 4.785714 | 0.087143 | 0.18806 | 0.134328 | 0.155821 | 0.751343 | 0.743284 | 0.728358 | 0.710746 | 0.68806 | 0.65194 | 0 | 0.047035 | 0.172744 | 5,320 | 94 | 185 | 56.595745 | 0.714156 | 0 | 0 | 0.213333 | 0 | 0 | 0.05282 | 0 | 0 | 0 | 0 | 0 | 0.493333 | 1 | 0.253333 | false | 0 | 0.026667 | 0 | 0.293333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c33ba458c896033b09dbd0c7cfe81115976127f | 32,810 | py | Python | Lib/MS_LIB_Options.py | JaneliaSciComp/MetaSegmenter | 6db3e8e26677b49be999773daee6ea475985df55 | [
"Unlicense"
] | null | null | null | Lib/MS_LIB_Options.py | JaneliaSciComp/MetaSegmenter | 6db3e8e26677b49be999773daee6ea475985df55 | [
"Unlicense"
] | null | null | null | Lib/MS_LIB_Options.py | JaneliaSciComp/MetaSegmenter | 6db3e8e26677b49be999773daee6ea475985df55 | [
"Unlicense"
] | null | null | null | #
# Copyright (C) 2015 by Howard Hughes Medical Institute.
import os, sys
ms_home = os.environ['MS_HOME'] # where source code is located
ms_data = os.environ['MS_DATA'] # dir for initial input data and final output
ms_temp = os.environ['MS_TEMP'] # dir for intermediate data files
rh_home = os.environ['RHOANA_HOME'] # ... | 97.35905 | 202 | 0.659067 | 4,453 | 32,810 | 4.71974 | 0.077251 | 0.093353 | 0.155588 | 0.046058 | 0.850692 | 0.834753 | 0.815292 | 0.805776 | 0.793072 | 0.792596 | 0 | 0.009299 | 0.121609 | 32,810 | 336 | 203 | 97.64881 | 0.719951 | 0.038433 | 0 | 0.613475 | 0 | 0.017731 | 0.438812 | 0.010912 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053191 | false | 0.003546 | 0.003546 | 0 | 0.109929 | 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 |
5c377392aa1ad668ffd8173947188daafab53917 | 9,646 | py | Python | OOP/OOP_HOMEWORK_3/LEVELS.py | GabrielGrigore17/University_Work | c680b0edf94b88aa74a6919c4d397e6d7ddedd50 | [
"CC0-1.0"
] | null | null | null | OOP/OOP_HOMEWORK_3/LEVELS.py | GabrielGrigore17/University_Work | c680b0edf94b88aa74a6919c4d397e6d7ddedd50 | [
"CC0-1.0"
] | null | null | null | OOP/OOP_HOMEWORK_3/LEVELS.py | GabrielGrigore17/University_Work | c680b0edf94b88aa74a6919c4d397e6d7ddedd50 | [
"CC0-1.0"
] | null | null | null | level_1 = [
"HHHHKAQ S",
"XXXXXXXXXXXXXXXXXXXXXXXXX",
"XP XXXXXXXE XXXXX",
"X XXXXXXX XXXXXX XXXXX",
"X XX XX XXXXX",
"X XX XXXX EXX",
"X XXXX XX XXX XX",
"X CXX XX XXXXXX XX XX",
"XXXX X XX XXXX XX XX",
"XF X X... | 30.14375 | 33 | 0.217292 | 714 | 9,646 | 2.918768 | 0.103641 | 0.306142 | 0.433301 | 0.560461 | 0.466411 | 0.458253 | 0.451536 | 0.391555 | 0.391555 | 0.355086 | 0 | 0.003013 | 0.690338 | 9,646 | 319 | 34 | 30.238245 | 0.694677 | 0 | 0 | 0.760518 | 0 | 0 | 0.743935 | 0.0565 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c47a84cd2af7dd72e83d4d6d2daacf4792c446b | 68 | py | Python | tests/pitch_test.py | monicaoyugi/0ne-minute-pitch | 2ad3999404e4f2f8c045f936ad126d16b24fee33 | [
"MIT"
] | null | null | null | tests/pitch_test.py | monicaoyugi/0ne-minute-pitch | 2ad3999404e4f2f8c045f936ad126d16b24fee33 | [
"MIT"
] | null | null | null | tests/pitch_test.py | monicaoyugi/0ne-minute-pitch | 2ad3999404e4f2f8c045f936ad126d16b24fee33 | [
"MIT"
] | null | null | null | from app.models import Pitch,User
from app import db
import unittest | 22.666667 | 33 | 0.838235 | 12 | 68 | 4.75 | 0.666667 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 68 | 3 | 34 | 22.666667 | 0.966102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
30954fe802d93998becfe81d11f7ae39f82ed7f2 | 231 | py | Python | applications/FemToDemApplication/python_scripts/KratosFemDemCoupledApplication.py | AndreaVoltan/MyKratos7.0 | e977752722e8ef1b606f25618c4bf8fd04c434cc | [
"BSD-4-Clause"
] | 2 | 2020-04-30T19:13:08.000Z | 2021-04-14T19:40:47.000Z | applications/FemToDemApplication/python_scripts/KratosFemDemCoupledApplication.py | Jacklwln/Kratos | 12ffe332622d7e8ea3e4a10bc061beb9d8e6e8de | [
"BSD-4-Clause"
] | 1 | 2020-04-30T19:19:09.000Z | 2020-05-02T14:22:36.000Z | applications/FemToDemApplication/python_scripts/KratosFemDemCoupledApplication.py | Jacklwln/Kratos | 12ffe332622d7e8ea3e4a10bc061beb9d8e6e8de | [
"BSD-4-Clause"
] | 1 | 2020-06-12T08:51:24.000Z | 2020-06-12T08:51:24.000Z | import KratosMultiphysics
import KratosMultiphysics.SolidMechanicsApplication
import KratosMultiphysics.FemToDemApplication
import CouplingFemDem
model = KratosMultiphysics.Model()
CouplingFemDem.FEMDEM_Solution(model).Run() | 33 | 52 | 0.87013 | 18 | 231 | 11.111111 | 0.5 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 231 | 7 | 53 | 33 | 0.938967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3095c97a657822a27ee0829ea48476858e44989a | 3,221 | py | Python | apps/DBUtils/sql_utils.py | vikkyB2/UserMaintenance | 0ae9db17d694ae67ac82145524cae4a1f69d54c6 | [
"MIT"
] | null | null | null | apps/DBUtils/sql_utils.py | vikkyB2/UserMaintenance | 0ae9db17d694ae67ac82145524cae4a1f69d54c6 | [
"MIT"
] | null | null | null | apps/DBUtils/sql_utils.py | vikkyB2/UserMaintenance | 0ae9db17d694ae67ac82145524cae4a1f69d54c6 | [
"MIT"
] | null | null | null | import mysql.connector
import psycopg2
import psycopg2.extras
import json
import traceback
from apps.DBUtils.config import config
import logging
#from apps.Utils.logger import configLogger
#log = configLogger(logging.getLogger(__name__))
def excecuteFetchoneQuery(query):
logging.debug(query)
myre... | 25.975806 | 73 | 0.581496 | 326 | 3,221 | 5.726994 | 0.208589 | 0.026781 | 0.080343 | 0.072309 | 0.720407 | 0.720407 | 0.720407 | 0.720407 | 0.720407 | 0.720407 | 0 | 0.004204 | 0.3353 | 3,221 | 124 | 74 | 25.975806 | 0.867819 | 0.12077 | 0 | 0.723404 | 0 | 0 | 0.074129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053191 | false | 0 | 0.074468 | 0 | 0.180851 | 0.053191 | 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 |
30bcbbda638bc8bb25c7c1532dbfe2a9ec234755 | 9,395 | py | Python | desafio/tests.py | vinigfer/desafio_telesaude | 14bbf33343f52f1fb2795e47aa4a001083152c1b | [
"MIT"
] | null | null | null | desafio/tests.py | vinigfer/desafio_telesaude | 14bbf33343f52f1fb2795e47aa4a001083152c1b | [
"MIT"
] | null | null | null | desafio/tests.py | vinigfer/desafio_telesaude | 14bbf33343f52f1fb2795e47aa4a001083152c1b | [
"MIT"
] | null | null | null | from django.test import TestCase
from django.core.urlresolvers import reverse
from django.db import IntegrityError
from .models import Solicitante, Teleconsultor, Solicitacao
from datetime import datetime
class SolicitanteTests(TestCase):
def test_create(self):
Solicitante.objects.create(nome="Jose", em... | 47.690355 | 80 | 0.574348 | 846 | 9,395 | 6.242317 | 0.135934 | 0.040901 | 0.061352 | 0.071577 | 0.812914 | 0.769362 | 0.756864 | 0.745692 | 0.741716 | 0.704791 | 0 | 0.053727 | 0.314529 | 9,395 | 196 | 81 | 47.933673 | 0.766304 | 0 | 0 | 0.692308 | 0 | 0 | 0.178819 | 0 | 0 | 0 | 0 | 0 | 0.177515 | 1 | 0.094675 | false | 0 | 0.029586 | 0 | 0.147929 | 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 |
30d7de0a0830f48a6a09d044d0cf34b8149d0bad | 39 | py | Python | yibanApi/__init__.py | awefight/yibanApi | 57bf9b821fb5b5154e8df7a3f7f4bdb2245dfcbf | [
"MIT"
] | 5 | 2018-09-10T05:44:18.000Z | 2019-10-30T14:14:55.000Z | yibanApi/__init__.py | awefight/yibanApi | 57bf9b821fb5b5154e8df7a3f7f4bdb2245dfcbf | [
"MIT"
] | 1 | 2018-05-11T14:25:43.000Z | 2018-05-11T14:25:43.000Z | yibanApi/__init__.py | vincijy/yibanApi | 57bf9b821fb5b5154e8df7a3f7f4bdb2245dfcbf | [
"MIT"
] | null | null | null |
from .yibanApi import AccessToken, api | 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 38 | 19.5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb80a16e80905299a6f0a0fa985c95be18d2c8a3 | 201 | py | Python | tests/functional/util/__init__.py | JrGoodle/clowder | 864afacfc7122e937f7087e233c61d05fd007af2 | [
"MIT"
] | 12 | 2016-02-12T02:37:24.000Z | 2021-01-04T05:14:12.000Z | tests/functional/util/__init__.py | JrGoodle/clowder | 864afacfc7122e937f7087e233c61d05fd007af2 | [
"MIT"
] | 370 | 2015-07-06T22:59:08.000Z | 2021-10-01T14:58:17.000Z | tests/functional/util/__init__.py | JrGoodle/clowder | 864afacfc7122e937f7087e233c61d05fd007af2 | [
"MIT"
] | 3 | 2015-10-22T18:45:31.000Z | 2018-10-16T15:30:30.000Z | from .clowder import *
from .command import *
from .connectivity import *
from .file_system import *
from .formatting import *
from .git import *
from .scenario_info import *
from .validation import *
| 22.333333 | 28 | 0.761194 | 26 | 201 | 5.807692 | 0.461538 | 0.463576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159204 | 201 | 8 | 29 | 25.125 | 0.893491 | 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 |
eba2c30ba8b81093aa90f69a5765e37433b546e0 | 174 | py | Python | dlvi/vp/__init__.py | llefolgo/dlvi | 2301a04a68668ab9eacc8196d90ea2a001486796 | [
"MIT"
] | 2 | 2022-01-07T14:42:36.000Z | 2022-03-22T10:19:29.000Z | dlvi/vp/__init__.py | llefolgo/dlvi | 2301a04a68668ab9eacc8196d90ea2a001486796 | [
"MIT"
] | null | null | null | dlvi/vp/__init__.py | llefolgo/dlvi | 2301a04a68668ab9eacc8196d90ea2a001486796 | [
"MIT"
] | null | null | null | from .structured_gmm import GMMVariationalParameters
from .structured_mvn import GaussianVariationalParameters
from .diagonal_mvn import DiagonalGaussianVariationalParameters | 58 | 63 | 0.91954 | 15 | 174 | 10.466667 | 0.6 | 0.178344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063218 | 174 | 3 | 63 | 58 | 0.96319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d6d7c1da4edfc93aa12b3a2e80272c098ccea1dd | 148 | py | Python | bert/utils/functions.py | nlp-greyfoss/nlp-algorithms | 7fc269dbab03b8712ab4d1a9fbc9fcb1e375c749 | [
"Apache-2.0"
] | null | null | null | bert/utils/functions.py | nlp-greyfoss/nlp-algorithms | 7fc269dbab03b8712ab4d1a9fbc9fcb1e375c749 | [
"Apache-2.0"
] | null | null | null | bert/utils/functions.py | nlp-greyfoss/nlp-algorithms | 7fc269dbab03b8712ab4d1a9fbc9fcb1e375c749 | [
"Apache-2.0"
] | null | null | null | import math
import torch
def swish(x):
return x * torch.sigmoid(x)
def gelu(x):
return x * 0.5 * (1.0 + torch.erf(x / math.sqrt(2.0)))
| 12.333333 | 58 | 0.594595 | 28 | 148 | 3.142857 | 0.535714 | 0.159091 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053097 | 0.236486 | 148 | 11 | 59 | 13.454545 | 0.725664 | 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 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
ba97d74e022d4febeff016cdfe49c69377d0575f | 111 | py | Python | sigProfilerPlotting/version.py | xtmgah/SigProfilerPlotting | 8fbef65cbf74a1b07f2aa524ab5f624ca0869e52 | [
"BSD-2-Clause"
] | 1 | 2020-06-18T19:06:46.000Z | 2020-06-18T19:06:46.000Z | sigProfilerPlotting/version.py | xtmgah/SigProfilerPlotting | 8fbef65cbf74a1b07f2aa524ab5f624ca0869e52 | [
"BSD-2-Clause"
] | 1 | 2021-07-21T20:52:57.000Z | 2021-07-21T20:52:57.000Z | sigProfilerPlotting/version.py | xtmgah/SigProfilerPlotting | 8fbef65cbf74a1b07f2aa524ab5f624ca0869e52 | [
"BSD-2-Clause"
] | null | null | null |
# THIS FILE IS GENERATED FROM SIGPROFILERPLOTTING SETUP.PY
short_version = '1.1.6'
version = '1.1.6'
| 18.5 | 58 | 0.675676 | 17 | 111 | 4.352941 | 0.705882 | 0.216216 | 0.243243 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.216216 | 111 | 6 | 59 | 18.5 | 0.781609 | 0.504505 | 0 | 0 | 1 | 0 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bad30df1e7f318cc1bc2a80188a3651655adf5db | 23 | py | Python | SUDP/__init__.py | artegoser/sUDP | c2e8f0a2fdd535fd9ff1a165c93b275762bff142 | [
"MIT"
] | 1 | 2021-01-21T08:37:55.000Z | 2021-01-21T08:37:55.000Z | SUDP/__init__.py | artegoser/sUDP | c2e8f0a2fdd535fd9ff1a165c93b275762bff142 | [
"MIT"
] | null | null | null | SUDP/__init__.py | artegoser/sUDP | c2e8f0a2fdd535fd9ff1a165c93b275762bff142 | [
"MIT"
] | null | null | null | from SUDP.SUDP import * | 23 | 23 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
241af8bd2cbea067c4d6e5d5306b0e60a2159c48 | 177 | py | Python | plugins/automator/tool.py | RIDCorix/UPD | 8694d119181a4afffafbfbab510f697399c1ea13 | [
"MIT"
] | null | null | null | plugins/automator/tool.py | RIDCorix/UPD | 8694d119181a4afffafbfbab510f697399c1ea13 | [
"MIT"
] | null | null | null | plugins/automator/tool.py | RIDCorix/UPD | 8694d119181a4afffafbfbab510f697399c1ea13 | [
"MIT"
] | null | null | null | from upd.extension import Tool
class Automator(Tool):
def get_id(self):
return 'automator'
def get_name(self):
return 'Automator'
tool = Automator()
| 14.75 | 30 | 0.649718 | 22 | 177 | 5.136364 | 0.590909 | 0.230089 | 0.336283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254237 | 177 | 11 | 31 | 16.090909 | 0.856061 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.857143 | 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 |
242a7d83d36bd1ed71c505ceebbd2efeea9bbbbf | 128 | py | Python | mysite/registrator/context_processors.py | nMustaki/ducotedesrochesbrunes | 721064b8380ad301cc84b7daf07736f3437c2615 | [
"MIT"
] | null | null | null | mysite/registrator/context_processors.py | nMustaki/ducotedesrochesbrunes | 721064b8380ad301cc84b7daf07736f3437c2615 | [
"MIT"
] | null | null | null | mysite/registrator/context_processors.py | nMustaki/ducotedesrochesbrunes | 721064b8380ad301cc84b7daf07736f3437c2615 | [
"MIT"
] | null | null | null | from django.conf import settings
def subscribe_enabled(request):
return {"SUBSCRIBE_ENABLED": settings.SUBSCRIBE_ENABLED}
| 21.333333 | 60 | 0.804688 | 15 | 128 | 6.666667 | 0.666667 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117188 | 128 | 5 | 61 | 25.6 | 0.884956 | 0 | 0 | 0 | 0 | 0 | 0.132813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
245ed5707ddf0413ccf8ada8d899cd5b81ef8965 | 134 | py | Python | katas/kyu_5/by_the_power_set_of_castle_grayskull.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_5/by_the_power_set_of_castle_grayskull.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_5/by_the_power_set_of_castle_grayskull.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | from itertools import combinations
def power(lst):
return [list(b) for a in xrange(len(lst) + 1) for b in combinations(lst, a)]
| 22.333333 | 80 | 0.701493 | 23 | 134 | 4.086957 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.186567 | 134 | 5 | 81 | 26.8 | 0.853211 | 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 |
79ebdec25823625ab6cc9040e3c499a71e12c16a | 569 | py | Python | HttpPy/Logger/generics.py | hound672/HttpPy | 888e49ae84315c8f76323163125ec5a04e6eeed6 | [
"MIT"
] | 7 | 2019-02-01T21:35:15.000Z | 2022-02-06T03:22:45.000Z | HttpPy/Logger/generics.py | hound672/HttpPy | 888e49ae84315c8f76323163125ec5a04e6eeed6 | [
"MIT"
] | 3 | 2019-02-19T17:14:20.000Z | 2021-02-08T08:40:50.000Z | HttpPy/Logger/generics.py | hound672/HttpPy | 888e49ae84315c8f76323163125ec5a04e6eeed6 | [
"MIT"
] | 1 | 2020-04-01T09:25:50.000Z | 2020-04-01T09:25:50.000Z | from colorama import Fore
def log_main(*args, **kwargs):
__print_colorama(Fore.CYAN, *args, **kwargs)
def log_success(*args, **kwargs):
__print_colorama(Fore.GREEN, *args, **kwargs)
def log_accent(*args, **kwargs):
__print_colorama(Fore.MAGENTA, *args, **kwargs)
def log_error(*args, **kwargs):
_... | 21.884615 | 62 | 0.674868 | 73 | 569 | 4.945205 | 0.315068 | 0.304709 | 0.207756 | 0.31856 | 0.373961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140598 | 569 | 25 | 63 | 22.76 | 0.738241 | 0 | 0 | 0 | 0 | 0 | 0.010545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0.076923 | 0 | 0.538462 | 0.538462 | 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 | 0 | 1 | 1 | 0 | 6 |
031eef69f077f5d3f8c477c0bffdf8fb2a94e500 | 105 | py | Python | CodeWars/Python/7 kyu/Credit Card Mask/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/7 kyu/Credit Card Mask/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/7 kyu/Credit Card Mask/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | # return masked string
def maskify(cc):
return cc if len(cc) <= 4 else '#' * (len(cc) - 4) + cc[-4:] | 35 | 65 | 0.561905 | 18 | 105 | 3.277778 | 0.555556 | 0.152542 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.228571 | 105 | 3 | 65 | 35 | 0.691358 | 0.190476 | 0 | 0 | 0 | 0 | 0.011905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
035bfed1f6d8fdab6bf28eaaad6fb06ec6df5518 | 39 | py | Python | pymode/__init__.py | dwallace0723/pymode | 1f83589a0c1c5da68d480bec55ba51b7be82b696 | [
"MIT"
] | 3 | 2018-04-28T02:29:53.000Z | 2021-09-07T05:35:48.000Z | pymode/__init__.py | dwallace0723/pymode | 1f83589a0c1c5da68d480bec55ba51b7be82b696 | [
"MIT"
] | 3 | 2018-03-06T22:08:21.000Z | 2018-12-19T03:46:35.000Z | pymode/__init__.py | dwallace0723/pymode | 1f83589a0c1c5da68d480bec55ba51b7be82b696 | [
"MIT"
] | 2 | 2018-04-25T17:26:47.000Z | 2019-03-15T13:39:40.000Z | from pymode.client import Mode # noqa
| 19.5 | 38 | 0.769231 | 6 | 39 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 1 | 39 | 39 | 0.9375 | 0.102564 | 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 |
03689c1a2b594878445f2e4a9e363044e590cba6 | 68 | py | Python | TkinterTests/args_playground.py | GabrielGrigore17/Python_Small_Projects | 2d9e03b1bf20d1e58a12807160a47effa77ba7c5 | [
"CC0-1.0"
] | null | null | null | TkinterTests/args_playground.py | GabrielGrigore17/Python_Small_Projects | 2d9e03b1bf20d1e58a12807160a47effa77ba7c5 | [
"CC0-1.0"
] | null | null | null | TkinterTests/args_playground.py | GabrielGrigore17/Python_Small_Projects | 2d9e03b1bf20d1e58a12807160a47effa77ba7c5 | [
"CC0-1.0"
] | null | null | null | def add(*args):
return sum(args)
print(add(1, 2, 3, 4, 5, 6))
| 11.333333 | 28 | 0.544118 | 14 | 68 | 2.642857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 0.235294 | 68 | 5 | 29 | 13.6 | 0.596154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
302420c6590b856aa3ffa010b15a808fa29bbd79 | 265 | py | Python | faasmcli/faasmcli/util/codegen.py | J-Heinemann/faasm | 6a7472d73ef7cc18e63617c72715c8775afd11a9 | [
"Apache-2.0"
] | 1 | 2021-03-03T09:54:21.000Z | 2021-03-03T09:54:21.000Z | faasmcli/faasmcli/util/codegen.py | J-Heinemann/faasm | 6a7472d73ef7cc18e63617c72715c8775afd11a9 | [
"Apache-2.0"
] | null | null | null | faasmcli/faasmcli/util/codegen.py | J-Heinemann/faasm | 6a7472d73ef7cc18e63617c72715c8775afd11a9 | [
"Apache-2.0"
] | null | null | null | from faasmcli.util.shell import find_command
def find_codegen_shared_lib():
return find_command("codegen_shared_obj")
def find_codegen_func(wamr=False):
if wamr:
return find_command("wamrc")
else:
return find_command("codegen_func")
| 20.384615 | 45 | 0.728302 | 36 | 265 | 5.027778 | 0.527778 | 0.243094 | 0.281768 | 0.265193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184906 | 265 | 12 | 46 | 22.083333 | 0.837963 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
303706d2b8a0ef0d165c39241281a325ddf8564b | 111 | py | Python | utils/__init__.py | PPGod95/FIDTM | b5582c5cc485496d85af2043ffd6e4266f354f3b | [
"MIT"
] | null | null | null | utils/__init__.py | PPGod95/FIDTM | b5582c5cc485496d85af2043ffd6e4266f354f3b | [
"MIT"
] | null | null | null | utils/__init__.py | PPGod95/FIDTM | b5582c5cc485496d85af2043ffd6e4266f354f3b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
@Project :
@FileName:
@Author :penghr
@Time :202x/xx/xx xx:xx
@Desc :
"""
| 12.333333 | 26 | 0.513514 | 14 | 111 | 4.071429 | 0.785714 | 0.210526 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0.234234 | 111 | 8 | 27 | 13.875 | 0.623529 | 0.90991 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
307ee52cad25488117a884fcaa3c08a7a49b0dec | 53 | py | Python | backend/loader/model/udjob.py | prisms-center/materialscommons.org | 421bd977dc83dc572a60606b5e3c1d8f2b0a7566 | [
"MIT"
] | 6 | 2015-09-25T20:07:30.000Z | 2021-03-07T02:41:35.000Z | backend/loader/model/udjob.py | materials-commons/materialscommons.org | 421bd977dc83dc572a60606b5e3c1d8f2b0a7566 | [
"MIT"
] | 770 | 2015-03-04T17:13:31.000Z | 2019-05-03T13:55:57.000Z | backend/loader/model/udjob.py | prisms-center/materialscommons.org | 421bd977dc83dc572a60606b5e3c1d8f2b0a7566 | [
"MIT"
] | 3 | 2016-06-23T19:36:20.000Z | 2020-09-06T12:26:00.000Z | import rethinkdb as r
class UDJob(object):
pass
| 10.6 | 21 | 0.716981 | 8 | 53 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 53 | 4 | 22 | 13.25 | 0.926829 | 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 |
0653832a60b1cf3cf4e966d3fbb321403f6855ea | 113 | py | Python | my_function/app.py | fatsushi/modern-pipeline-demo | 0c3f3daa7ddb2b0162436253730c48e306bbf9b7 | [
"MIT"
] | null | null | null | my_function/app.py | fatsushi/modern-pipeline-demo | 0c3f3daa7ddb2b0162436253730c48e306bbf9b7 | [
"MIT"
] | null | null | null | my_function/app.py | fatsushi/modern-pipeline-demo | 0c3f3daa7ddb2b0162436253730c48e306bbf9b7 | [
"MIT"
] | null | null | null | import json
def lambda_handler(event, context):
return json.dumps({'message':'Hello from SAM and the CDK!'}) | 28.25 | 64 | 0.725664 | 17 | 113 | 4.764706 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 113 | 4 | 64 | 28.25 | 0.835052 | 0 | 0 | 0 | 0 | 0 | 0.298246 | 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 |
065c4af75f6f24d765b72e83b0ba08212800a0aa | 224 | py | Python | syft/frameworks/keras/__init__.py | Rishav1/PySyft | f620ee12727b52b19a317f263789830b57ee2539 | [
"Apache-2.0"
] | 2 | 2019-05-29T13:09:02.000Z | 2019-06-14T17:40:51.000Z | syft/frameworks/keras/__init__.py | Rishav1/PySyft | f620ee12727b52b19a317f263789830b57ee2539 | [
"Apache-2.0"
] | 3 | 2019-05-24T01:16:56.000Z | 2019-09-18T13:02:30.000Z | syft/frameworks/keras/__init__.py | Rishav1/PySyft | f620ee12727b52b19a317f263789830b57ee2539 | [
"Apache-2.0"
] | 1 | 2022-03-12T08:04:34.000Z | 2022-03-12T08:04:34.000Z | import syft
if syft.dependency_check.tfe_available:
from syft.frameworks.keras import layers
from syft.frameworks.keras import model
from syft.frameworks.keras.hook import KerasHook
__all__ = ["KerasHook"]
| 24.888889 | 52 | 0.767857 | 29 | 224 | 5.724138 | 0.517241 | 0.144578 | 0.325301 | 0.415663 | 0.349398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165179 | 224 | 8 | 53 | 28 | 0.887701 | 0 | 0 | 0 | 0 | 0 | 0.040179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
ebf3f13528b6218ff0bbed3ff096a6f905e27fbe | 4,263 | py | Python | tests/api/test_api_stock.py | doccccu/rqalpha | 4356e31be2cf4c787ec8e742b2f2c7fda7f741d2 | [
"Apache-2.0"
] | 17 | 2017-04-20T05:17:25.000Z | 2020-09-30T08:58:03.000Z | tests/api/test_api_stock.py | cjhfly/rqalpha | 4356e31be2cf4c787ec8e742b2f2c7fda7f741d2 | [
"Apache-2.0"
] | 1 | 2017-11-12T01:24:06.000Z | 2019-09-19T08:50:38.000Z | tests/api/test_api_stock.py | cjhfly/rqalpha | 4356e31be2cf4c787ec8e742b2f2c7fda7f741d2 | [
"Apache-2.0"
] | 17 | 2017-04-17T08:17:00.000Z | 2020-10-25T01:56:49.000Z | #!/usr/bin/env python
# encoding: utf-8
import inspect
import datetime
def test_order_shares():
def init(context):
pass
def handle_bar(context, bar_dict):
pass
def test_order_shares():
from rqalpha.api import order_shares, get_order, SIDE, LimitOrder
def init(context):
conte... | 37.069565 | 97 | 0.688951 | 560 | 4,263 | 5.026786 | 0.114286 | 0.085968 | 0.042629 | 0.040497 | 0.845115 | 0.818472 | 0.797158 | 0.731794 | 0.699112 | 0.699112 | 0 | 0.036036 | 0.21886 | 4,263 | 114 | 98 | 37.394737 | 0.809309 | 0.008445 | 0 | 0.75 | 0 | 0 | 0.014675 | 0 | 0 | 0 | 0 | 0 | 0.23913 | 1 | 0.195652 | false | 0.043478 | 0.076087 | 0 | 0.271739 | 0.01087 | 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 |
23651d401ea59519526b2c3f556b4b892fcbc248 | 4,064 | py | Python | tests/unit/dataactvalidator/test_b9_award_financial.py | chambers-brian/SIG_Digital-Strategy_SI_ODP_Backend | 3de8cedf69d5a0c9fad8239734bd6291cf583936 | [
"CC0-1.0"
] | null | null | null | tests/unit/dataactvalidator/test_b9_award_financial.py | chambers-brian/SIG_Digital-Strategy_SI_ODP_Backend | 3de8cedf69d5a0c9fad8239734bd6291cf583936 | [
"CC0-1.0"
] | null | null | null | tests/unit/dataactvalidator/test_b9_award_financial.py | chambers-brian/SIG_Digital-Strategy_SI_ODP_Backend | 3de8cedf69d5a0c9fad8239734bd6291cf583936 | [
"CC0-1.0"
] | null | null | null | from tests.unit.dataactcore.factories.staging import AwardFinancialFactory
from tests.unit.dataactcore.factories.domain import ProgramActivityFactory
from tests.unit.dataactvalidator.utils import number_of_errors, query_columns
_FILE = 'b9_award_financial'
def test_column_headers(database):
expected_subset = {'... | 53.473684 | 117 | 0.684547 | 461 | 4,064 | 5.67679 | 0.167028 | 0.137562 | 0.108903 | 0.079098 | 0.800535 | 0.775315 | 0.775315 | 0.775315 | 0.775315 | 0.775315 | 0 | 0.021485 | 0.221211 | 4,064 | 75 | 118 | 54.186667 | 0.805371 | 0.074311 | 0 | 0.590909 | 0 | 0 | 0.096791 | 0.025134 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.068182 | false | 0 | 0.068182 | 0 | 0.136364 | 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 |
237cfe8f55ca4634b73891a20bcc94318d5ad6e5 | 80 | py | Python | power_perceiver/load_raw/data_sources/__init__.py | openclimatefix/power_perceiver | bafcdfaf6abf42fbab09da641479f74709ddd395 | [
"MIT"
] | null | null | null | power_perceiver/load_raw/data_sources/__init__.py | openclimatefix/power_perceiver | bafcdfaf6abf42fbab09da641479f74709ddd395 | [
"MIT"
] | 33 | 2022-02-16T07:51:41.000Z | 2022-03-31T11:24:11.000Z | power_perceiver/load_raw/data_sources/__init__.py | openclimatefix/power_perceiver | bafcdfaf6abf42fbab09da641479f74709ddd395 | [
"MIT"
] | null | null | null | from power_perceiver.load_raw.data_sources.raw_data_source import RawDataSource
| 40 | 79 | 0.9125 | 12 | 80 | 5.666667 | 0.833333 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 80 | 1 | 80 | 80 | 0.894737 | 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 |
88db8aa8fde9c15f0e24248a65848a773e490431 | 147 | py | Python | bayesiancoresets/__init__.py | trevorcampbell/hilbert-coresets | 63354127953a432c0f35087cf5b75166f652a5f5 | [
"MIT"
] | 118 | 2018-02-10T21:33:57.000Z | 2022-03-22T14:20:53.000Z | bayesiancoresets/__init__.py | trevorcampbell/hilbert-coresets | 63354127953a432c0f35087cf5b75166f652a5f5 | [
"MIT"
] | 3 | 2018-09-07T16:13:22.000Z | 2020-04-11T14:35:47.000Z | bayesiancoresets/__init__.py | trevorcampbell/hilbert-coresets | 63354127953a432c0f35087cf5b75166f652a5f5 | [
"MIT"
] | 30 | 2018-03-11T02:37:55.000Z | 2022-01-31T14:51:37.000Z | from .coreset import HilbertCoreset, SparseVICoreset, BatchPSVICoreset, UniformSamplingCoreset
from .projector import BlackBoxProjector, Projector
| 49 | 94 | 0.877551 | 12 | 147 | 10.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 147 | 2 | 95 | 73.5 | 0.955556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88f778fa2141be2b2349c8fd3c299498da4df452 | 69 | py | Python | textexploration/broker/__init__.py | textexploration/python-textexploration | 1f72b9fbf06afa5a980f10b92367e45c4d53e9f7 | [
"Apache-2.0"
] | null | null | null | textexploration/broker/__init__.py | textexploration/python-textexploration | 1f72b9fbf06afa5a980f10b92367e45c4d53e9f7 | [
"Apache-2.0"
] | null | null | null | textexploration/broker/__init__.py | textexploration/python-textexploration | 1f72b9fbf06afa5a980f10b92367e45c4d53e9f7 | [
"Apache-2.0"
] | null | null | null | from .broker import *
from .request import *
from .response import *
| 17.25 | 23 | 0.73913 | 9 | 69 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 24 | 23 | 0.894737 | 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 |
cc7000cfec7d98be8744be339353cd55766c6a92 | 92 | py | Python | api/metrics/__init__.py | stmharry/interpretable-report-gen | c4518b613526f76ef84e1dc58b4939b315e80cd9 | [
"MIT"
] | 2 | 2020-12-16T07:43:57.000Z | 2021-07-09T01:15:30.000Z | api/metrics/__init__.py | stmharry/interpretable-report-gen | c4518b613526f76ef84e1dc58b4939b315e80cd9 | [
"MIT"
] | 3 | 2021-06-08T21:34:27.000Z | 2021-09-08T02:02:28.000Z | api/metrics/__init__.py | stmharry/interpretable-report-gen | c4518b613526f76ef84e1dc58b4939b315e80cd9 | [
"MIT"
] | null | null | null | from api.metrics.nlp import CiderD, Bleu, Rouge
from api.metrics.clinical import MentionSim
| 30.666667 | 47 | 0.826087 | 14 | 92 | 5.428571 | 0.714286 | 0.184211 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 92 | 2 | 48 | 46 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
aedc0efa582031d76ef6db0e1d7ad5ea0f3dbf9d | 1,927 | py | Python | SciComputing with Python/TextAnalyzer/langData.py | evtodorov/aerospace | 54a1b58c3c0b02c0eaa3aef14d0e732d7f867566 | [
"MIT"
] | null | null | null | SciComputing with Python/TextAnalyzer/langData.py | evtodorov/aerospace | 54a1b58c3c0b02c0eaa3aef14d0e732d7f867566 | [
"MIT"
] | null | null | null | SciComputing with Python/TextAnalyzer/langData.py | evtodorov/aerospace | 54a1b58c3c0b02c0eaa3aef14d0e732d7f867566 | [
"MIT"
] | null | null | null | '''
language data about the text analyzer
includes english, german, french, dutch
'''
# Distribution of word length [0letters, 1letter, 2letters, 3letters,...]
wordDistr_english = [0, 1.377, 17.63, 21.212, 9.641, 10.468, 7.162, 6.887, 9.366, 5.509, 2.754, 2.754, 4.683, 0, 0, 0.55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,... | 128.466667 | 246 | 0.551635 | 514 | 1,927 | 2.052529 | 0.344358 | 0.254028 | 0.344076 | 0.432227 | 0.145024 | 0.145024 | 0.145024 | 0.145024 | 0.145024 | 0.145024 | 0 | 0.502535 | 0.181111 | 1,927 | 14 | 247 | 137.642857 | 0.166033 | 0.099637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 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 |
aee9922c863362b730e47fcc0064df69f32d9eba | 43 | py | Python | pyaqadvisor/__init__.py | davidmantillanyc/pyaqadvisor | afc94e3fc231cb456bf183ff3d2a0b1b21cdb902 | [
"MIT"
] | 5 | 2016-10-03T16:09:08.000Z | 2021-04-25T13:43:51.000Z | pyaqadvisor/__init__.py | davidmantillanyc/pyaqadvisor | afc94e3fc231cb456bf183ff3d2a0b1b21cdb902 | [
"MIT"
] | 1 | 2016-10-03T04:37:27.000Z | 2016-10-03T04:37:27.000Z | pyaqadvisor/__init__.py | davidmantillanyc/pyaqadvisor | afc94e3fc231cb456bf183ff3d2a0b1b21cdb902 | [
"MIT"
] | 1 | 2017-09-12T12:49:02.000Z | 2017-09-12T12:49:02.000Z | from pyaqadvisor.api import Tank, Stocking
| 21.5 | 42 | 0.837209 | 6 | 43 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d91f60549dec112fedaff265663808afc3ef827 | 3,301 | py | Python | pyres/test/test_episode.py | jima80525/pyres | b61e93ad8c1cf1dd2f77788035b72f9b3a4e3190 | [
"MIT"
] | 1 | 2016-09-26T07:48:26.000Z | 2016-09-26T07:48:26.000Z | pyres/test/test_episode.py | jima80525/pyres | b61e93ad8c1cf1dd2f77788035b72f9b3a4e3190 | [
"MIT"
] | null | null | null | pyres/test/test_episode.py | jima80525/pyres | b61e93ad8c1cf1dd2f77788035b72f9b3a4e3190 | [
"MIT"
] | null | null | null | """ Test the Episode module """
import time
import pytest
import pyres.episode
class TestEpisode(object):
""" test the open functionality """
def test_all_params(self):
""" set all parameters """
assert self
episode = pyres.episode.Episode(
date=time.localtime(),
... | 31.438095 | 78 | 0.551045 | 369 | 3,301 | 4.815718 | 0.173442 | 0.129432 | 0.126055 | 0.051773 | 0.787845 | 0.772088 | 0.772088 | 0.748452 | 0.727068 | 0.727068 | 0 | 0.013037 | 0.372614 | 3,301 | 104 | 79 | 31.740385 | 0.845002 | 0.256589 | 0 | 0.722222 | 0 | 0 | 0.061352 | 0 | 0 | 0 | 0 | 0 | 0.361111 | 1 | 0.055556 | false | 0 | 0.041667 | 0 | 0.111111 | 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 |
9de9c14143f723d81fa02d60bac12201ee87539e | 44 | py | Python | smallpebble/misc/__init__.py | malleshi-9025/SmallPebble | 3b1eb340f39b0b8728668c2c6c8d1eadbcad4f10 | [
"Apache-2.0"
] | null | null | null | smallpebble/misc/__init__.py | malleshi-9025/SmallPebble | 3b1eb340f39b0b8728668c2c6c8d1eadbcad4f10 | [
"Apache-2.0"
] | null | null | null | smallpebble/misc/__init__.py | malleshi-9025/SmallPebble | 3b1eb340f39b0b8728668c2c6c8d1eadbcad4f10 | [
"Apache-2.0"
] | null | null | null | from smallpebble.misc.data import load_data
| 22 | 43 | 0.863636 | 7 | 44 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.925 | 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 |
d177a82eebd15cba657649d346034e0f10a399ba | 64 | py | Python | app/pytests/cleanupObjCreatedDuringRun.py | FindOut/dc-app-performance-toolkit | efd908afe82c43801c6b30dfce7d44c6075870c0 | [
"Apache-2.0"
] | 1 | 2020-05-04T09:19:13.000Z | 2020-05-04T09:19:13.000Z | app/pytests/cleanupObjCreatedDuringRun.py | FindOut/dc-app-performance-toolkit | efd908afe82c43801c6b30dfce7d44c6075870c0 | [
"Apache-2.0"
] | 1 | 2021-05-29T09:34:46.000Z | 2021-05-29T09:34:46.000Z | app/pytests/cleanupObjCreatedDuringRun.py | FindOut/dc-app-performance-toolkit | efd908afe82c43801c6b30dfce7d44c6075870c0 | [
"Apache-2.0"
] | null | null | null | import os
os.system('pytest -sq deleteObjCreatedDuringRun.py')
| 16 | 52 | 0.796875 | 8 | 64 | 6.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 64 | 3 | 53 | 21.333333 | 0.87931 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d19e16f4e181f9a837f3b6d4cdfbb8fdeb499145 | 37 | py | Python | code/abc055_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc055_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc055_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | n=int(input())
print(n*800-n//15*200) | 18.5 | 22 | 0.648649 | 9 | 37 | 2.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.027027 | 37 | 2 | 22 | 18.5 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d19e8f28866efa2ce7c2f27f6974c9cfb0be7d46 | 31 | py | Python | gcp/airflow/dags/tasks/__init__.py | k2k1422/airflow | 065dee55345637134d87b9add7f4819200f6668e | [
"Apache-2.0"
] | null | null | null | gcp/airflow/dags/tasks/__init__.py | k2k1422/airflow | 065dee55345637134d87b9add7f4819200f6668e | [
"Apache-2.0"
] | null | null | null | gcp/airflow/dags/tasks/__init__.py | k2k1422/airflow | 065dee55345637134d87b9add7f4819200f6668e | [
"Apache-2.0"
] | null | null | null | print("Inside dag folder init") | 31 | 31 | 0.774194 | 5 | 31 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0609e2290c49e2f189779bab856f2f8d2fc7d3d8 | 362 | py | Python | adjacent-memory-shellcode-starter/exploit.py | gptt916/D27-Computer-and-Network-Security | 80d82f78316b53f04290cc078d5f0b361958d183 | [
"MIT"
] | null | null | null | adjacent-memory-shellcode-starter/exploit.py | gptt916/D27-Computer-and-Network-Security | 80d82f78316b53f04290cc078d5f0b361958d183 | [
"MIT"
] | null | null | null | adjacent-memory-shellcode-starter/exploit.py | gptt916/D27-Computer-and-Network-Security | 80d82f78316b53f04290cc078d5f0b361958d183 | [
"MIT"
] | null | null | null | #input 2 overflows into input 1 which has the address of input 2 + 100,
#which should get it into the middle of the NOP sled and go towrads the shellcode
input1 ="\x90"*300 + "\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x89\xe2\x53\x89\xe1\xb0\x0b\xcd\x80" + "\x90"*179 + "\x9c\xc6\xff\xff"
input2... | 36.2 | 157 | 0.696133 | 70 | 362 | 3.6 | 0.714286 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20712 | 0.146409 | 362 | 9 | 158 | 40.222222 | 0.608414 | 0.417127 | 0 | 0 | 0 | 0.333333 | 0.608696 | 0.483092 | 0.333333 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ae04cf5b1bf180e25aba405cfde81cba09f02e43 | 18,814 | py | Python | tests/atomistics/structure/test_pyscal.py | dgehringer/pyiron_atomistics | f8f2d573a483e802c8e5840998a0769378b95e31 | [
"BSD-3-Clause"
] | 14 | 2021-01-18T10:03:56.000Z | 2022-03-01T20:59:35.000Z | tests/atomistics/structure/test_pyscal.py | dgehringer/pyiron_atomistics | f8f2d573a483e802c8e5840998a0769378b95e31 | [
"BSD-3-Clause"
] | 569 | 2018-04-12T06:37:14.000Z | 2022-03-31T18:06:27.000Z | tests/atomistics/structure/test_pyscal.py | srmnitc/pyiron_atomistics | 2c8052b082f2c4fb6f6291ac2b1f801ea7ab1567 | [
"BSD-3-Clause"
] | 6 | 2018-10-23T09:48:48.000Z | 2022-02-13T12:13:00.000Z | # coding: utf-8
# Copyright (c) Max-Planck-Institut für Eisenforschung GmbH - Computational Materials Design (CM) Department
# Distributed under the terms of "New BSD License", see the LICENSE file.
import unittest
import numpy as np
import pyscal.core as pc
from pyiron_atomistics.atomistics.structure.atoms import Ato... | 61.283388 | 125 | 0.697831 | 2,696 | 18,814 | 4.622033 | 0.080119 | 0.093893 | 0.046224 | 0.053928 | 0.807961 | 0.7822 | 0.776101 | 0.720087 | 0.696814 | 0.696814 | 0 | 0.013996 | 0.175933 | 18,814 | 306 | 126 | 61.48366 | 0.789732 | 0.018709 | 0 | 0.359073 | 0 | 0 | 0.061009 | 0.025371 | 0 | 0 | 0 | 0 | 0.478764 | 1 | 0.057915 | false | 0 | 0.030888 | 0 | 0.096525 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ae8c880993e8f002e20e92cb5428df8fc23afa67 | 25,503 | py | Python | resourcedirectory_test.py | lukasheim/CoAPthon | 30ab3a853ddc497711047c3fe8a971bd608183ca | [
"MIT"
] | 2 | 2018-05-28T12:39:38.000Z | 2018-05-28T21:34:04.000Z | resourcedirectory_test.py | lukasheim/CoAPthon | 30ab3a853ddc497711047c3fe8a971bd608183ca | [
"MIT"
] | null | null | null | resourcedirectory_test.py | lukasheim/CoAPthon | 30ab3a853ddc497711047c3fe8a971bd608183ca | [
"MIT"
] | 1 | 2018-05-29T21:05:10.000Z | 2018-05-29T21:05:10.000Z | import unittest
import threading
import socket
import re
import random
from time import sleep
from coapthon.resource_directory.resourceDirectory import ResourceDirectory
from coapthon.messages.response import Response
from coapthon.messages.request import Request
from coapthon import defines
from coapthon.serializer im... | 42.153719 | 117 | 0.598047 | 3,053 | 25,503 | 4.875532 | 0.074353 | 0.040645 | 0.046087 | 0.036547 | 0.805307 | 0.80262 | 0.788176 | 0.773799 | 0.759221 | 0.747665 | 0 | 0.026647 | 0.267184 | 25,503 | 604 | 118 | 42.22351 | 0.769811 | 0.003568 | 0 | 0.699248 | 0 | 0.069549 | 0.224291 | 0.195443 | 0 | 0 | 0 | 0 | 0.016917 | 1 | 0.039474 | false | 0.00188 | 0.024436 | 0 | 0.067669 | 0.031955 | 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 |
8840ba49d11a71d95064df5d0a22e6399d7ceeb0 | 34 | py | Python | Server/Code/logic/user/__init__.py | HueyPark/Unreal-Knights | 9a08dd15c65d8853f1322bf6de4b892cd88c571a | [
"MIT"
] | null | null | null | Server/Code/logic/user/__init__.py | HueyPark/Unreal-Knights | 9a08dd15c65d8853f1322bf6de4b892cd88c571a | [
"MIT"
] | null | null | null | Server/Code/logic/user/__init__.py | HueyPark/Unreal-Knights | 9a08dd15c65d8853f1322bf6de4b892cd88c571a | [
"MIT"
] | null | null | null | from .user_logic import UserLogic
| 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 |
8844f98aa27bc5365dfdf9b4212f7aaf47eed84c | 28 | py | Python | app/singleton/__init__.py | monosloth/console | a47e1479320a18a4b5716e87ee275985ebd5825f | [
"MIT"
] | null | null | null | app/singleton/__init__.py | monosloth/console | a47e1479320a18a4b5716e87ee275985ebd5825f | [
"MIT"
] | null | null | null | app/singleton/__init__.py | monosloth/console | a47e1479320a18a4b5716e87ee275985ebd5825f | [
"MIT"
] | null | null | null | from . parser import Parser
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
885790a75fc6cf4bd5470bee507f2691b1ac2c9c | 20 | py | Python | experiment/__init__.py | ngxingyu/Domain-Transfer-for-Punctuation-Retrieval | f5aa0ea0946c68aaf7fcf49a5085e6c823766a2f | [
"Apache-2.0"
] | 1 | 2021-05-06T11:51:33.000Z | 2021-05-06T11:51:33.000Z | experiment/__init__.py | ngxingyu/Domain-Transfer-for-Punctuation-Retrieval | f5aa0ea0946c68aaf7fcf49a5085e6c823766a2f | [
"Apache-2.0"
] | null | null | null | experiment/__init__.py | ngxingyu/Domain-Transfer-for-Punctuation-Retrieval | f5aa0ea0946c68aaf7fcf49a5085e6c823766a2f | [
"Apache-2.0"
] | null | null | null | import core, models
| 10 | 19 | 0.8 | 3 | 20 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88849c73133f15e489143e5548ffcd8485b074a6 | 167 | py | Python | nmigen/__init__.py | psumesh/nmigen | 7d611b8fc1d9e58853ff268ec38ff8f4131a9774 | [
"BSD-2-Clause"
] | 528 | 2020-01-28T18:21:00.000Z | 2021-12-09T06:27:51.000Z | nmigen/__init__.py | DX-MON/nmigen | a6a13dd612ee1c9215719c70a5aa410a8775ffdb | [
"BSD-2-Clause"
] | 360 | 2020-01-28T18:34:30.000Z | 2021-12-10T08:03:32.000Z | nmigen/__init__.py | DX-MON/nmigen | a6a13dd612ee1c9215719c70a5aa410a8775ffdb | [
"BSD-2-Clause"
] | 100 | 2020-02-06T21:55:46.000Z | 2021-11-25T19:20:44.000Z | from amaranth import *
from amaranth import __all__
import warnings
warnings.warn("instead of nmigen, use amaranth",
DeprecationWarning, stacklevel=2)
| 20.875 | 48 | 0.742515 | 19 | 167 | 6.315789 | 0.684211 | 0.2 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.197605 | 167 | 7 | 49 | 23.857143 | 0.88806 | 0 | 0 | 0 | 0 | 0 | 0.185629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
8893d3a642b580837d9228677e0102faa5cf3cf4 | 3,548 | py | Python | test_vxhr.py | VUIIS/vxhr | 094785c97fbdcb17b34c821d5998a62d0f4c6c64 | [
"MIT"
] | 2 | 2015-06-21T03:50:41.000Z | 2016-03-06T05:11:18.000Z | test_vxhr.py | VUIIS/vxhr | 094785c97fbdcb17b34c821d5998a62d0f4c6c64 | [
"MIT"
] | null | null | null | test_vxhr.py | VUIIS/vxhr | 094785c97fbdcb17b34c821d5998a62d0f4c6c64 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
""" test_data.py
Test data functions
"""
__author__ = 'Scott Burns <scott.s.burns@vanderbilt.edu>'
__copyright__ = 'Copyright 2014 Vanderbilt University. All Rights Reserved'
import pandas as pd
from datetime import datetime
from vxhr import data
test_data = """record... | 64.509091 | 131 | 0.729143 | 593 | 3,548 | 4.141653 | 0.214165 | 0.09772 | 0.078176 | 0.17101 | 0.740228 | 0.699104 | 0.633143 | 0.372557 | 0.372557 | 0.355863 | 0 | 0.27432 | 0.06708 | 3,548 | 54 | 132 | 65.703704 | 0.467674 | 0.021421 | 0 | 0 | 0 | 0.5 | 0.807681 | 0.765521 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.075 | false | 0 | 0.075 | 0 | 0.15 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
88a4582ace3e729cf46ac0d4aeb492f6f0bb6067 | 106 | py | Python | contentready_oip/www/thank-you/index.py | Open-Innovation-Platform-OIP/contentready_oip | f425ab0d2c5d53414c0410038dc460acd6d198bf | [
"MIT"
] | null | null | null | contentready_oip/www/thank-you/index.py | Open-Innovation-Platform-OIP/contentready_oip | f425ab0d2c5d53414c0410038dc460acd6d198bf | [
"MIT"
] | null | null | null | contentready_oip/www/thank-you/index.py | Open-Innovation-Platform-OIP/contentready_oip | f425ab0d2c5d53414c0410038dc460acd6d198bf | [
"MIT"
] | null | null | null | import frappe
from contentready_oip import api
def get_context(context):
context.title = 'Thank you!' | 21.2 | 32 | 0.773585 | 15 | 106 | 5.333333 | 0.8 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 106 | 5 | 33 | 21.2 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
31f460021b9fd31fe39ec6307698aa60559f50cf | 39,655 | py | Python | tokenizer/grammars/Java/JavaLexer.py | poikilos/CodeTokenizer | 6f99c5feb44db2e498c4d0d90deaf79907e41fb5 | [
"MIT"
] | 7 | 2019-07-27T08:12:53.000Z | 2022-02-25T06:07:54.000Z | grammers/Java/JavaLexer.py | Ikuyadeu/CodeTokenizer | b553d629b955efd0f3aa8b7f7e0d88c77296d3ae | [
"MIT"
] | 2 | 2021-04-15T01:26:35.000Z | 2021-04-15T02:04:48.000Z | tokenizer/grammars/Java/JavaLexer.py | poikilos/CodeTokenizer | 6f99c5feb44db2e498c4d0d90deaf79907e41fb5 | [
"MIT"
] | 2 | 2020-06-17T22:19:49.000Z | 2021-04-15T01:05:44.000Z | # Generated from JavaLexer.g4 by ANTLR 4.8
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2q")
buf.write("\u03b1\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6... | 62.844691 | 103 | 0.570924 | 8,584 | 39,655 | 2.626631 | 0.160648 | 0.134031 | 0.072914 | 0.079656 | 0.308644 | 0.205393 | 0.141793 | 0.126314 | 0.123875 | 0.116956 | 0 | 0.346452 | 0.150347 | 39,655 | 630 | 104 | 62.944444 | 0.322738 | 0.001009 | 0 | 0.009804 | 1 | 0.632353 | 0.641892 | 0.583954 | 0 | 0 | 0 | 0 | 0.006536 | 1 | 0.003268 | false | 0 | 0.013072 | 0 | 0.214052 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ee3e26a466ebefd53447b719afa65b539b53ca02 | 2,479 | py | Python | ematmap/groupby_dulr.py | ihgazni2/ematmap | e5aca1db403b2765f8d1ceefc29b721f14f72339 | [
"MIT"
] | null | null | null | ematmap/groupby_dulr.py | ihgazni2/ematmap | e5aca1db403b2765f8d1ceefc29b721f14f72339 | [
"MIT"
] | null | null | null | ematmap/groupby_dulr.py | ihgazni2/ematmap | e5aca1db403b2765f8d1ceefc29b721f14f72339 | [
"MIT"
] | null | null | null | import ematmap.groupby_engine as engine
@engine.dulr_wrap
def f_groupby_e(d):
return(engine.f_groupby_e(d))
@engine.dulr_wrap
def x_groupby_e(d):
'''
input d = {'x':<value>}
'''
return(engine.x_groupby_e(d))
@engine.dulr_wrap
def y_groupby_e(d):
return(engine.y_groupby_e(d))
@engine.d... | 15.591195 | 39 | 0.733764 | 444 | 2,479 | 3.745496 | 0.099099 | 0.298256 | 0.335538 | 0.316897 | 0.847865 | 0.469032 | 0.469032 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 2,479 | 158 | 40 | 15.689873 | 0.775653 | 0.009278 | 0 | 0.329787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.329787 | false | 0 | 0.010638 | 0.319149 | 0.340426 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 6 |
ee7be24f7422c142c17d1dafa42b33050eb1052c | 143 | py | Python | src/pynwm/hydroshare/hs_constants.py | tyjmadsen/pynwm_v1 | 3e2e3b8f65ca3c0a21dbe57e3cd00e054957b794 | [
"MIT"
] | 19 | 2016-09-01T17:00:12.000Z | 2022-02-02T12:36:35.000Z | src/pynwm/hydroshare/hs_constants.py | tyjmadsen/pynwm_v1 | 3e2e3b8f65ca3c0a21dbe57e3cd00e054957b794 | [
"MIT"
] | 9 | 2016-06-23T15:21:55.000Z | 2019-05-17T21:42:44.000Z | src/pynwm/hydroshare/hs_constants.py | tyjmadsen/pynwm_v1 | 3e2e3b8f65ca3c0a21dbe57e3cd00e054957b794 | [
"MIT"
] | 6 | 2016-07-04T15:12:36.000Z | 2020-11-18T16:20:24.000Z | HS_DATA_EXPLORER_URI = 'https://appsdev.hydroshare.org/apps/nwm-data-explorer/'
HS_API_URI = 'https://apps.hydroshare.org/apps/nwm-forecasts/'
| 47.666667 | 79 | 0.783217 | 22 | 143 | 4.863636 | 0.545455 | 0.224299 | 0.317757 | 0.373832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041958 | 143 | 2 | 80 | 71.5 | 0.781022 | 0 | 0 | 0 | 0 | 0 | 0.706294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c98cb5b5f5b01516cd1048061fe8f36e59e80087 | 74 | py | Python | hackerrank/Python/Mod Divmod/solution.py | ATrain951/01.python-com_Qproject | c164dd093954d006538020bdf2e59e716b24d67c | [
"MIT"
] | 4 | 2020-07-24T01:59:50.000Z | 2021-07-24T15:14:08.000Z | hackerrank prob/8.modDiv.py | kingRovo/PythonCodingChalenge | b62938592df10ccafec9930b69c14c778e19ad37 | [
"bzip2-1.0.6"
] | null | null | null | hackerrank prob/8.modDiv.py | kingRovo/PythonCodingChalenge | b62938592df10ccafec9930b69c14c778e19ad37 | [
"bzip2-1.0.6"
] | null | null | null | print('{0}\n{1}\n({0}, {1})'.format(*divmod(int(input()), int(input()))))
| 37 | 73 | 0.527027 | 13 | 74 | 3 | 0.615385 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.040541 | 74 | 1 | 74 | 74 | 0.492958 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a00ecf709dc0dac35386e9c0ead9f2b20faa0298 | 123 | py | Python | src/cogs/__init__.py | solevis/PSS-Fleet-Helper | 4d36a31b4737a53964cde1625a3d6ff2c04bd76a | [
"MIT"
] | 1 | 2022-01-11T11:52:36.000Z | 2022-01-11T11:52:36.000Z | src/cogs/__init__.py | solevis/PSS-Fleet-Helper | 4d36a31b4737a53964cde1625a3d6ff2c04bd76a | [
"MIT"
] | 16 | 2021-10-08T10:15:21.000Z | 2022-01-23T12:59:03.000Z | src/cogs/__init__.py | solevis/PSS-Fleet-Helper | 4d36a31b4737a53964cde1625a3d6ff2c04bd76a | [
"MIT"
] | 1 | 2022-02-07T19:48:26.000Z | 2022-02-07T19:48:26.000Z | from . import about
from . import chatlogger
from . import reactionroles
from . import rolemanagement
from . import utility | 24.6 | 28 | 0.804878 | 15 | 123 | 6.6 | 0.466667 | 0.505051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154472 | 123 | 5 | 29 | 24.6 | 0.951923 | 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 |
4e60983486357f93bc68e75df030296eac8300ad | 186 | py | Python | tests/test_search.py | Artanis/icecrate | 2655998734b9cc8bb2137349eac0d4fda659a6b4 | [
"BSD-2-Clause"
] | 1 | 2015-11-05T18:45:35.000Z | 2015-11-05T18:45:35.000Z | tests/test_search.py | Artanis/icecrate | 2655998734b9cc8bb2137349eac0d4fda659a6b4 | [
"BSD-2-Clause"
] | 2 | 2019-06-20T22:32:47.000Z | 2019-06-20T22:32:47.000Z | tests/test_search.py | Artanis/icecrate | 2655998734b9cc8bb2137349eac0d4fda659a6b4 | [
"BSD-2-Clause"
] | null | null | null | from unittest.mock import MagicMock, patch
from nose.tools import assert_equal
from icecrate import search
# erm... what?
# TODO: Write code worth unit testing in the search module.
| 18.6 | 59 | 0.774194 | 28 | 186 | 5.107143 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 186 | 9 | 60 | 20.666667 | 0.922581 | 0.376344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.333333 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4e91987c7cdf908eed5ae87e2b36b214be4de0e1 | 6,546 | py | Python | hyperion/util/integrate.py | bluescarni/hyperion | 4a0d33fcbd3943b5bcfbd318f11e199d2498956d | [
"BSD-2-Clause"
] | 2 | 2015-05-14T17:26:16.000Z | 2019-03-13T17:33:18.000Z | hyperion/util/integrate.py | bluescarni/hyperion | 4a0d33fcbd3943b5bcfbd318f11e199d2498956d | [
"BSD-2-Clause"
] | null | null | null | hyperion/util/integrate.py | bluescarni/hyperion | 4a0d33fcbd3943b5bcfbd318f11e199d2498956d | [
"BSD-2-Clause"
] | null | null | null | from __future__ import print_function, division
import numpy as np
from .interpolate import interp1d_fast, \
interp1d_fast_loglin, \
interp1d_fast_linlog, \
interp1d_fast_loglog
from ._integrate_core import _integrate, \
... | 27.275 | 79 | 0.563703 | 971 | 6,546 | 3.735324 | 0.087539 | 0.019851 | 0.028674 | 0.013234 | 0.866281 | 0.831541 | 0.831541 | 0.831541 | 0.791839 | 0.791839 | 0 | 0.037761 | 0.320348 | 6,546 | 239 | 80 | 27.389121 | 0.777478 | 0.294225 | 0 | 0.688889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.02963 | 0 | 0.22963 | 0.007407 | 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 |
4e9e2802501aa1d883237e9206e422f42822433c | 144 | py | Python | mundo_01_fundamentos/ex030.py | icarofilho/estudonauta_python | f122f217edc8938ee3e3a2aeffb892a8c38300c6 | [
"MIT"
] | null | null | null | mundo_01_fundamentos/ex030.py | icarofilho/estudonauta_python | f122f217edc8938ee3e3a2aeffb892a8c38300c6 | [
"MIT"
] | null | null | null | mundo_01_fundamentos/ex030.py | icarofilho/estudonauta_python | f122f217edc8938ee3e3a2aeffb892a8c38300c6 | [
"MIT"
] | null | null | null | num = int(input(" Digite um nuemro inteiro qualquer: "))
print("Número digitado é par.") if num % 2 == 0 else print("Número digitado é ímpar.") | 48 | 86 | 0.6875 | 23 | 144 | 4.304348 | 0.782609 | 0.222222 | 0.383838 | 0.40404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.166667 | 144 | 3 | 86 | 48 | 0.808333 | 0 | 0 | 0 | 0 | 0 | 0.565517 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4ea1ecd4df8a0537ea250496425ce8143c1dadbe | 23 | py | Python | discordy/__init__.py | NiumXp/discordy | 1365ceb2a2fc6ec6adf8155729b2ace52888ec08 | [
"MIT"
] | null | null | null | discordy/__init__.py | NiumXp/discordy | 1365ceb2a2fc6ec6adf8155729b2ace52888ec08 | [
"MIT"
] | null | null | null | discordy/__init__.py | NiumXp/discordy | 1365ceb2a2fc6ec6adf8155729b2ace52888ec08 | [
"MIT"
] | null | null | null | from .gateway import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 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 |
4ec87601761c24403483329876a8f0569bd3c2d2 | 968 | py | Python | source/brackets.py | mark-koren/bracket_pool_outcome_generator | f8b7901c09f6f8180493008f8945c778ea601ed6 | [
"MIT"
] | null | null | null | source/brackets.py | mark-koren/bracket_pool_outcome_generator | f8b7901c09f6f8180493008f8945c778ea601ed6 | [
"MIT"
] | null | null | null | source/brackets.py | mark-koren/bracket_pool_outcome_generator | f8b7901c09f6f8180493008f8945c778ea601ed6 | [
"MIT"
] | null | null | null | mark_koren_16 = [1, 1, 1, 1,
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
1, 0, 0, 0,
0, 0, 0, 0,
1, 1, 0, 0,
1, 1, 1, 0,
0, 0, 0, 0,
1, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
1, 0, 0, 0,
]
mark_kor... | 14.235294 | 34 | 0.327479 | 189 | 968 | 1.582011 | 0.079365 | 0.682274 | 0.87291 | 1.003344 | 0.528428 | 0.51505 | 0.461538 | 0.461538 | 0.424749 | 0.424749 | 0 | 0.323643 | 0.466942 | 968 | 67 | 35 | 14.447761 | 0.255814 | 0 | 0 | 0.692308 | 0 | 0 | 0.053886 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
14f98899cc890ec19e30e497e6906c3fe80b08ae | 55 | py | Python | patma_regex/__init__.py | femoiseev/patma-regex | ed0baf83c5f942848f829aaf12fa1109accc9743 | [
"MIT"
] | 4 | 2020-07-02T02:37:09.000Z | 2020-08-20T11:20:58.000Z | patma_regex/__init__.py | femoiseev/patma-regex | ed0baf83c5f942848f829aaf12fa1109accc9743 | [
"MIT"
] | null | null | null | patma_regex/__init__.py | femoiseev/patma-regex | ed0baf83c5f942848f829aaf12fa1109accc9743 | [
"MIT"
] | null | null | null | from patma_regex.patma_regex_wrapper import PatmaRegex
| 27.5 | 54 | 0.909091 | 8 | 55 | 5.875 | 0.75 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.921569 | 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 |
0942c10e6633d1927271869450a6e4a9ef5de6c7 | 24 | py | Python | newportXPS/__init__.py | tox1c90/newportXPS | 77bc88ec9c5fc847e2016dab725bdde5f8b92808 | [
"MIT"
] | null | null | null | newportXPS/__init__.py | tox1c90/newportXPS | 77bc88ec9c5fc847e2016dab725bdde5f8b92808 | [
"MIT"
] | null | null | null | newportXPS/__init__.py | tox1c90/newportXPS | 77bc88ec9c5fc847e2016dab725bdde5f8b92808 | [
"MIT"
] | 1 | 2021-06-04T09:58:23.000Z | 2021-06-04T09:58:23.000Z | from .driver import XPS
| 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 |
11985bd9924c056bf9611373eb6ab12f2eb513ef | 15,388 | py | Python | tests/loan-openings/test_LoanOpeningsNegative.py | DryptoBZX/contractsV2 | 3ee0b7669902ff6b9422440289ddc52f679e636b | [
"Apache-2.0"
] | 177 | 2020-06-13T01:41:04.000Z | 2022-03-28T06:26:53.000Z | tests/loan-openings/test_LoanOpeningsNegative.py | DryptoBZX/contractsV2 | 3ee0b7669902ff6b9422440289ddc52f679e636b | [
"Apache-2.0"
] | 31 | 2020-08-14T14:30:37.000Z | 2022-03-15T15:36:25.000Z | tests/loan-openings/test_LoanOpeningsNegative.py | DryptoBZX/contractsV2 | 3ee0b7669902ff6b9422440289ddc52f679e636b | [
"Apache-2.0"
] | 38 | 2020-06-24T22:24:40.000Z | 2022-03-26T00:27:14.000Z | #!/usr/bin/python3
import pytest
from brownie import Wei, reverts
from helpers import getLoanId, setupLoanPool
@pytest.fixture(scope="module")
def setLoanPool(Constants, bzx, accounts):
setupLoanPool(Constants, bzx, accounts[1], accounts[2])
@pytest.fixture(scope="module")
def linkDaiMarginParamsId(Constants, LI... | 34.81448 | 136 | 0.596309 | 1,328 | 15,388 | 6.85241 | 0.097892 | 0.085714 | 0.131868 | 0.111538 | 0.78978 | 0.772527 | 0.772527 | 0.753736 | 0.729341 | 0.729341 | 0 | 0.036067 | 0.275669 | 15,388 | 441 | 137 | 34.893424 | 0.78037 | 0.090265 | 0 | 0.767263 | 0 | 0 | 0.130579 | 0 | 0 | 0 | 0.001078 | 0.002268 | 0 | 1 | 0.053708 | false | 0 | 0.007673 | 0 | 0.074169 | 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 |
11a47451577f59209ac159578dd26e9172291738 | 66 | py | Python | Projetos/core/models/pessoa.py | Froise/Impacta-LMS | 9d68da88cfb442feea2ca518a4c025292e41dd80 | [
"Unlicense"
] | null | null | null | Projetos/core/models/pessoa.py | Froise/Impacta-LMS | 9d68da88cfb442feea2ca518a4c025292e41dd80 | [
"Unlicense"
] | null | null | null | Projetos/core/models/pessoa.py | Froise/Impacta-LMS | 9d68da88cfb442feea2ca518a4c025292e41dd80 | [
"Unlicense"
] | null | null | null | from django.db import models
class Pessoa(models.Model):
pass | 16.5 | 28 | 0.757576 | 10 | 66 | 5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 66 | 4 | 29 | 16.5 | 0.909091 | 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 |
11b78f33de686f44c5363af3dfffd8efd3450e96 | 148 | py | Python | algoexpert/easy/NthFibonacci.py | dawar-s/algo-ds-sol-python | c455bb43dd68e177e5c744383c2d17888f4efe1b | [
"MIT"
] | null | null | null | algoexpert/easy/NthFibonacci.py | dawar-s/algo-ds-sol-python | c455bb43dd68e177e5c744383c2d17888f4efe1b | [
"MIT"
] | null | null | null | algoexpert/easy/NthFibonacci.py | dawar-s/algo-ds-sol-python | c455bb43dd68e177e5c744383c2d17888f4efe1b | [
"MIT"
] | null | null | null | def getNthFib(n, dic={1: 0, 2: 1}):
if n in dic:
return dic[n]
dic[n] = getNthFib(n-1, dic) + getNthFib(n-2, dic)
return dic[n]
| 24.666667 | 54 | 0.540541 | 28 | 148 | 2.857143 | 0.357143 | 0.375 | 0.3 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 0.277027 | 148 | 5 | 55 | 29.6 | 0.691589 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
11cd6ebdf3f3c67e970ee5fed8586fbae6e61005 | 100 | py | Python | clusterings/__init__.py | NoelShin/selfmask | 396e0a3636b29591f505b6711be45eabe292919a | [
"MIT"
] | 11 | 2022-03-24T02:45:33.000Z | 2022-03-30T02:53:33.000Z | clusterings/__init__.py | NoelShin/selfmask | 396e0a3636b29591f505b6711be45eabe292919a | [
"MIT"
] | 2 | 2022-03-25T11:08:34.000Z | 2022-03-30T14:13:26.000Z | clusterings/__init__.py | NoelShin/selfmask | 396e0a3636b29591f505b6711be45eabe292919a | [
"MIT"
] | 1 | 2022-03-30T02:53:35.000Z | 2022-03-30T02:53:35.000Z | from clusterings.kmeans import KMeansClustering
from clusterings.spectral import SpectralClustering
| 33.333333 | 51 | 0.9 | 10 | 100 | 9 | 0.7 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 2 | 52 | 50 | 0.978261 | 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 |
11f286b694c2181149ad17b0043d7029c849c22c | 140 | py | Python | project/src/modules/cli_exe.py | devashrlucas/OIET_Data_DB | 4659b3c63dbed43f5c6066784691cdf5e0a8fedc | [
"MIT"
] | null | null | null | project/src/modules/cli_exe.py | devashrlucas/OIET_Data_DB | 4659b3c63dbed43f5c6066784691cdf5e0a8fedc | [
"MIT"
] | 5 | 2020-10-12T15:26:24.000Z | 2021-03-26T15:26:54.000Z | project/src/modules/cli_exe.py | devashrlucas/OIET_Data_DB | 4659b3c63dbed43f5c6066784691cdf5e0a8fedc | [
"MIT"
] | null | null | null | # from sqlalchemy_utils.functions import database
import database
import data_files
if __name__ == "__main__":
database
data_files | 17.5 | 49 | 0.778571 | 17 | 140 | 5.764706 | 0.647059 | 0.285714 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 140 | 8 | 50 | 17.5 | 0.844828 | 0.335714 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
eed24eb7fcf16f27290997c1c66d848ba64271e9 | 85,340 | py | Python | DevsNest/b_eLearnings/JSON_Axios_Server/test.py | VikashK21/Coders_Life | 89af8bba2163d6331b760de33786caa49892da33 | [
"MIT"
] | 1 | 2021-11-30T10:30:16.000Z | 2021-11-30T10:30:16.000Z | DevsNest/b_eLearnings/JSON_Axios_Server/test.py | VikashK21/Coders_Life | 89af8bba2163d6331b760de33786caa49892da33 | [
"MIT"
] | null | null | null | DevsNest/b_eLearnings/JSON_Axios_Server/test.py | VikashK21/Coders_Life | 89af8bba2163d6331b760de33786caa49892da33 | [
"MIT"
] | null | null | null | def maxOperations(nums, k):
n = 0
sto = 0
while n<len(nums):
if k>nums[n]:
for i in range(len(nums)):
if nums[i]==k-nums[n] and n!=i:
nums.pop(i)
nums.pop(n)
sto+=1
break
else:
... | 3,879.090909 | 84,888 | 0.656152 | 29,112 | 85,340 | 1.923468 | 0.004259 | 0.000857 | 0.000268 | 0.00025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.655975 | 0.00266 | 85,340 | 21 | 84,889 | 4,063.809524 | 0.001927 | 0.000387 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0 | 0 | 0.111111 | 0.055556 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1060599b2d875fb97e99f3527a3a5d14cf4c8c3 | 104 | py | Python | backend/util/request/order_insert/__init__.py | willrp/willorders-ws | de0757d8888dab41095c93500a6a88c813755530 | [
"MIT"
] | null | null | null | backend/util/request/order_insert/__init__.py | willrp/willorders-ws | de0757d8888dab41095c93500a6a88c813755530 | [
"MIT"
] | null | null | null | backend/util/request/order_insert/__init__.py | willrp/willorders-ws | de0757d8888dab41095c93500a6a88c813755530 | [
"MIT"
] | null | null | null | from .order_insert_request import OrderInsertRequest
from .order_insert_schema import OrderInsertSchema
| 34.666667 | 52 | 0.903846 | 12 | 104 | 7.5 | 0.666667 | 0.2 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 104 | 2 | 53 | 52 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
0131b8730608b68c3e77775dc73caae05b85b749 | 26,041 | py | Python | tripletClassification.py | DSRnD/UMLs | a524bc45bc3f2dc8b4a90f73f69e23ee36ba8be9 | [
"MIT"
] | null | null | null | tripletClassification.py | DSRnD/UMLs | a524bc45bc3f2dc8b4a90f73f69e23ee36ba8be9 | [
"MIT"
] | null | null | null | tripletClassification.py | DSRnD/UMLs | a524bc45bc3f2dc8b4a90f73f69e23ee36ba8be9 | [
"MIT"
] | null | null | null | import argparse
import os
import torch
import pandas as pd
from sklearn.metrics import accuracy_score, f1_score
import warnings
warnings.filterwarnings("ignore")
import torch
from torch.nn import functional as F
import numpy as np
import random
def Rand(start, end, num, trueTails):
negative = []
... | 42.901153 | 207 | 0.576092 | 3,241 | 26,041 | 4.389077 | 0.087319 | 0.02594 | 0.027487 | 0.025308 | 0.836063 | 0.815747 | 0.793884 | 0.787909 | 0.783269 | 0.772794 | 0 | 0.020181 | 0.307361 | 26,041 | 607 | 208 | 42.901153 | 0.768476 | 0.117737 | 0 | 0.686375 | 0 | 0 | 0.039603 | 0.003194 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041131 | false | 0 | 0.025707 | 0.002571 | 0.11054 | 0.033419 | 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 |
0161d43359efccb035dadc97273d2ace44814a56 | 282 | py | Python | tests/dataset/simple/not_constant.py | hugovk/reiz.io | 26b93fc1e58097bcb97989e916f549a04eb14cae | [
"Apache-2.0"
] | 43 | 2020-09-20T09:37:06.000Z | 2021-11-12T11:56:27.000Z | tests/dataset/simple/not_constant.py | hugovk/reiz.io | 26b93fc1e58097bcb97989e916f549a04eb14cae | [
"Apache-2.0"
] | 37 | 2020-09-20T09:37:49.000Z | 2021-06-25T11:08:38.000Z | tests/dataset/simple/not_constant.py | hugovk/reiz.io | 26b93fc1e58097bcb97989e916f549a04eb14cae | [
"Apache-2.0"
] | 4 | 2020-10-04T13:47:06.000Z | 2022-01-02T19:35:13.000Z | def foo():
return print(bar) # reiz: tp
def foo():
return baz + quux # reiz: tp
def foo():
return lambda: rollo # reiz: tp
def foo():
return "x" + "y" # reiz: tp
def foo():
return "x"
def bar():
return 200000
def baz():
return 2000000e12
| 10.444444 | 36 | 0.542553 | 40 | 282 | 3.825 | 0.375 | 0.196078 | 0.392157 | 0.313725 | 0.48366 | 0.248366 | 0 | 0 | 0 | 0 | 0 | 0.07772 | 0.315603 | 282 | 26 | 37 | 10.846154 | 0.715026 | 0.124113 | 0 | 0.357143 | 0 | 0 | 0.012397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0.071429 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6d948a1da0f6f2dd2b31f9489749195ccdb2374b | 190 | py | Python | fb_wall/blog/views.py | AbdelrahmanRabiee/paymob-wall-app | 6d04f45aeb8bf97c815c0b37ba5396c606898b74 | [
"MIT"
] | null | null | null | fb_wall/blog/views.py | AbdelrahmanRabiee/paymob-wall-app | 6d04f45aeb8bf97c815c0b37ba5396c606898b74 | [
"MIT"
] | 5 | 2020-06-05T19:55:32.000Z | 2021-09-08T00:48:58.000Z | fb_wall/blog/views.py | AbdelrahmanRabiee/paymob-wall-app | 6d04f45aeb8bf97c815c0b37ba5396c606898b74 | [
"MIT"
] | null | null | null | from django.views.generic import TemplateView
class TimeLine(TemplateView):
template_name = 'posts/index.html'
class AddPost(TemplateView):
template_name = 'posts/add_post.html'
| 19 | 45 | 0.768421 | 23 | 190 | 6.217391 | 0.695652 | 0.27972 | 0.335664 | 0.405594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 190 | 9 | 46 | 21.111111 | 0.871951 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
6dd92846239be993a93875704b2a028c473a3a63 | 28 | py | Python | PlanetExpress/settings/settings.py | flexion/Planet-Express | 1a3fdc11e9f2c5e977375e60bf69b97b3449bf32 | [
"MIT"
] | null | null | null | PlanetExpress/settings/settings.py | flexion/Planet-Express | 1a3fdc11e9f2c5e977375e60bf69b97b3449bf32 | [
"MIT"
] | null | null | null | PlanetExpress/settings/settings.py | flexion/Planet-Express | 1a3fdc11e9f2c5e977375e60bf69b97b3449bf32 | [
"MIT"
] | null | null | null | from local_settings import * | 28 | 28 | 0.857143 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.92 | 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 |
09834f0095d41f24892933e9195b680840711ab9 | 95 | py | Python | parlai/agents/transformer/generator_distilled.py | luungoc2005/ParlAI | 6434f8c5d975d7dc3586d8e978a29c6667a0ed7b | [
"MIT"
] | null | null | null | parlai/agents/transformer/generator_distilled.py | luungoc2005/ParlAI | 6434f8c5d975d7dc3586d8e978a29c6667a0ed7b | [
"MIT"
] | null | null | null | parlai/agents/transformer/generator_distilled.py | luungoc2005/ParlAI | 6434f8c5d975d7dc3586d8e978a29c6667a0ed7b | [
"MIT"
] | null | null | null | from .transformer import TorchDistilledGeneratorAgent as GeneratorDistilledAgent # noqa: F401
| 47.5 | 94 | 0.863158 | 8 | 95 | 10.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.105263 | 95 | 1 | 95 | 95 | 0.929412 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
098fe709d76c3e0ce00ffc9e2d23da4161499fed | 41 | py | Python | qt_binder/qt/QtScript.py | Qt-Widgets/qt_binding-traits | 16c7a9ee439ff35d4d027c797ae1d05453a5fc06 | [
"BSD-3-Clause"
] | 15 | 2015-09-02T11:16:50.000Z | 2021-06-24T04:00:52.000Z | qt_binder/qt/QtScript.py | Qt-Widgets/qt_binding-traits | 16c7a9ee439ff35d4d027c797ae1d05453a5fc06 | [
"BSD-3-Clause"
] | 54 | 2015-09-02T10:45:49.000Z | 2020-11-30T13:01:05.000Z | qt_binder/qt/QtScript.py | Qt-Widgets/qt_binding-traits | 16c7a9ee439ff35d4d027c797ae1d05453a5fc06 | [
"BSD-3-Clause"
] | 3 | 2015-09-16T17:23:50.000Z | 2016-07-23T05:35:55.000Z | from pyface.qt.QtScript import * # noqa
| 20.5 | 40 | 0.731707 | 6 | 41 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 1 | 41 | 41 | 0.882353 | 0.097561 | 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 |
112a2d63c84f135ee91ac36dc4982b484ba66e26 | 54 | py | Python | controllers/pyar.py | bkahlerventer/web2congress | 30463ef05a64b95f9ec8a5575e1f45a99986b607 | [
"BSD-3-Clause"
] | 3 | 2016-12-29T23:02:35.000Z | 2021-07-01T01:10:12.000Z | controllers/pyar.py | reingart/web2conf | a5e01d9fc2c25b271db7cee528faef58a46e7106 | [
"BSD-3-Clause"
] | null | null | null | controllers/pyar.py | reingart/web2conf | a5e01d9fc2c25b271db7cee528faef58a46e7106 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf8
def index(): return plugin_flatpage()
| 13.5 | 37 | 0.722222 | 7 | 54 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.148148 | 54 | 3 | 38 | 18 | 0.804348 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | true | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3a12332380af98b1ec35c7870ac00f17b9e7318f | 27 | py | Python | robo/__init__.py | krzychu960713/TS_Automat_prj | 5db647f9fb481e7c6e683b51513a139f8073b0ef | [
"MIT"
] | null | null | null | robo/__init__.py | krzychu960713/TS_Automat_prj | 5db647f9fb481e7c6e683b51513a139f8073b0ef | [
"MIT"
] | null | null | null | robo/__init__.py | krzychu960713/TS_Automat_prj | 5db647f9fb481e7c6e683b51513a139f8073b0ef | [
"MIT"
] | null | null | null | from . import robotFunction | 27 | 27 | 0.851852 | 3 | 27 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.958333 | 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 |
3a2823f8e7bf147e80eb829ac08194347a2efb68 | 264 | py | Python | wrapmail/abstract_sender.py | alperen21/Wrapmail | f9b907b29c187faf080662ed00545d32c0de3d41 | [
"MIT"
] | null | null | null | wrapmail/abstract_sender.py | alperen21/Wrapmail | f9b907b29c187faf080662ed00545d32c0de3d41 | [
"MIT"
] | null | null | null | wrapmail/abstract_sender.py | alperen21/Wrapmail | f9b907b29c187faf080662ed00545d32c0de3d41 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class Abstract_Sender(ABC):
@abstractmethod
def __init__(self):
pass
@abstractmethod
def start_service(self):
pass
@abstractmethod
def send(self, mail):
self.start_service() | 18.857143 | 35 | 0.643939 | 28 | 264 | 5.821429 | 0.535714 | 0.312883 | 0.269939 | 0.306748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280303 | 264 | 14 | 36 | 18.857143 | 0.857895 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.181818 | 0.090909 | 0 | 0.454545 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3a5c6fcae6fd147da20946cdfd74a1365cde65c0 | 272 | py | Python | swagger_marshmallow_codegen/tests/legacy_dst/02additional.py | Danil-Grigorev/swagger-marshmallow-codegen | 4c077f6e1ef535bcbdbf1f643f97bc4cbc62c0e8 | [
"MIT"
] | 49 | 2017-02-05T17:32:18.000Z | 2022-01-30T13:20:22.000Z | swagger_marshmallow_codegen/tests/legacy_dst/02additional.py | Danil-Grigorev/swagger-marshmallow-codegen | 4c077f6e1ef535bcbdbf1f643f97bc4cbc62c0e8 | [
"MIT"
] | 62 | 2016-12-27T15:38:28.000Z | 2021-09-30T02:47:00.000Z | swagger_marshmallow_codegen/tests/legacy_dst/02additional.py | Danil-Grigorev/swagger-marshmallow-codegen | 4c077f6e1ef535bcbdbf1f643f97bc4cbc62c0e8 | [
"MIT"
] | 10 | 2017-07-19T12:38:25.000Z | 2020-04-07T09:11:22.000Z | from marshmallow import (
Schema,
fields,
)
class S(Schema):
x = fields.Dict(keys=fields.String(), values=fields.Integer())
y = fields.Dict(keys=fields.String(), values=fields.Integer())
z = fields.Dict(keys=fields.String(), values=fields.Integer())
| 24.727273 | 66 | 0.672794 | 35 | 272 | 5.228571 | 0.428571 | 0.163934 | 0.229508 | 0.327869 | 0.737705 | 0.737705 | 0.737705 | 0.737705 | 0 | 0 | 0 | 0 | 0.158088 | 272 | 10 | 67 | 27.2 | 0.799127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 6 |
3aa7b43254aa2ab7da5685becce647a08830dc30 | 45 | py | Python | pymtl3_net/torusnet/__init__.py | cornell-brg/ocn-posh | 7f8bfd800627364cfc37dc5d6a36333ee2e48c99 | [
"BSD-3-Clause"
] | 3 | 2019-06-07T13:27:06.000Z | 2019-07-16T19:00:23.000Z | pymtl3_net/torusnet/__init__.py | cornell-brg/ocn-posh | 7f8bfd800627364cfc37dc5d6a36333ee2e48c99 | [
"BSD-3-Clause"
] | 12 | 2019-07-23T02:29:31.000Z | 2019-07-25T11:07:00.000Z | pymtl3_net/torusnet/__init__.py | cornell-brg/posh-ocn | 7f8bfd800627364cfc37dc5d6a36333ee2e48c99 | [
"BSD-3-Clause"
] | null | null | null | from .TorusNetworkRTL import TorusNetworkRTL
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 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 |
3ad27a30bfaf699592533392e3033e571c98a5e3 | 5,545 | py | Python | src/tests/functional/orga/test_mail.py | td00/pretalx | aff450de9420fca167e04345fa24ee7140fae819 | [
"Apache-2.0"
] | null | null | null | src/tests/functional/orga/test_mail.py | td00/pretalx | aff450de9420fca167e04345fa24ee7140fae819 | [
"Apache-2.0"
] | null | null | null | src/tests/functional/orga/test_mail.py | td00/pretalx | aff450de9420fca167e04345fa24ee7140fae819 | [
"Apache-2.0"
] | null | null | null | import pytest
from pretalx.mail.models import MailTemplate, QueuedMail
@pytest.mark.django_db
def test_orga_can_view_pending_mails(orga_client, event, mail, other_mail):
response = orga_client.get(event.orga_urls.outbox)
assert response.status_code == 200
assert mail.subject in response.content.decode()
... | 39.892086 | 143 | 0.752209 | 781 | 5,545 | 5.058899 | 0.101152 | 0.080992 | 0.064794 | 0.072893 | 0.87674 | 0.82207 | 0.816755 | 0.777525 | 0.695773 | 0.614528 | 0 | 0.016166 | 0.141028 | 5,545 | 138 | 144 | 40.181159 | 0.813353 | 0 | 0 | 0.542857 | 0 | 0 | 0.038233 | 0 | 0 | 0 | 0 | 0 | 0.457143 | 1 | 0.152381 | false | 0 | 0.019048 | 0 | 0.171429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aaff06fd5a0745a9318d43e82a3b71234e66ee17 | 4,331 | py | Python | copyCDMFiles4Entities.py | judysu1983/PythonMBSi | 9481bf1409a888c3f8511bcd05718ea81a063fa1 | [
"bzip2-1.0.6"
] | null | null | null | copyCDMFiles4Entities.py | judysu1983/PythonMBSi | 9481bf1409a888c3f8511bcd05718ea81a063fa1 | [
"bzip2-1.0.6"
] | null | null | null | copyCDMFiles4Entities.py | judysu1983/PythonMBSi | 9481bf1409a888c3f8511bcd05718ea81a063fa1 | [
"bzip2-1.0.6"
] | null | null | null | import shutil, os
files=["CustomerService","Foundation","Group","Organization","Person","Purchase","Sales","SurveySecurity"]
langs=["sr-Latn-RS", "sv", "th", "tr", "uk", "vi", "zh-Hans", "zh-Hant", "bg", "ca-ES", "cs", "da", "de", "el", "es", "et", "eu", "fi", "fr", "gl", "hi", "hr-HR", "hu", "id", "it", "ja", "kk", ... | 53.469136 | 297 | 0.643039 | 589 | 4,331 | 4.70798 | 0.205433 | 0.054093 | 0.064912 | 0.047602 | 0.84313 | 0.808871 | 0.783988 | 0.758745 | 0.723044 | 0.660656 | 0 | 0.017232 | 0.155853 | 4,331 | 80 | 298 | 54.1375 | 0.741247 | 0.721773 | 0 | 0 | 0 | 0 | 0.358948 | 0.088979 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.153846 | 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 |
c930e44e6f00f4c69aa0b88e6cabc28fe14da959 | 165 | py | Python | src/get_nth_even_number.py | thejohnjensen/code-katas | 67f745912c88ca3cb023d8fc4539be55a4bb1958 | [
"MIT"
] | null | null | null | src/get_nth_even_number.py | thejohnjensen/code-katas | 67f745912c88ca3cb023d8fc4539be55a4bb1958 | [
"MIT"
] | null | null | null | src/get_nth_even_number.py | thejohnjensen/code-katas | 67f745912c88ca3cb023d8fc4539be55a4bb1958 | [
"MIT"
] | null | null | null | """ Kata: Get nth Even Number
Best Solution:
def nth_even(n):
return 2 * (n - 1);
"""
def nth_even(n):
"""Return nth even number."""
return 2 * n - 2
| 13.75 | 33 | 0.563636 | 27 | 165 | 3.37037 | 0.444444 | 0.307692 | 0.285714 | 0.241758 | 0.373626 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033058 | 0.266667 | 165 | 11 | 34 | 15 | 0.719008 | 0.642424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.