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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a3fb2f42b23009d24c3827d423f2e6341a5aabbc | 253 | py | Python | functions/getNeighborhood.py | pvalls/startup-job-coding-challenge | 841e044d15a45f2a8930d854a9589c0d04db3ce6 | [
"MIT"
] | null | null | null | functions/getNeighborhood.py | pvalls/startup-job-coding-challenge | 841e044d15a45f2a8930d854a9589c0d04db3ce6 | [
"MIT"
] | null | null | null | functions/getNeighborhood.py | pvalls/startup-job-coding-challenge | 841e044d15a45f2a8930d854a9589c0d04db3ce6 | [
"MIT"
] | null | null | null | def getNeighborhood(city, neighborhood_name):
neighborhood_names = [neighborhood_dictionary['neighborhood'] for neighborhood_dictionary in city]
neighborhood_index = neighborhood_names.index(neighborhood_name)
return city[neighborhood_index] | 63.25 | 102 | 0.83004 | 26 | 253 | 7.769231 | 0.423077 | 0.237624 | 0.207921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102767 | 253 | 4 | 103 | 63.25 | 0.889868 | 0 | 0 | 0 | 0 | 0 | 0.047244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
430ea42e692a878aae73b2663cd4d2ba4e96935c | 208 | py | Python | collections/__init__.py | cwaitt/zse | 4330397ddf84dafaa0af7bddd25756e008cb3ff5 | [
"MIT"
] | 3 | 2021-07-08T19:38:40.000Z | 2022-02-18T10:51:11.000Z | collections/__init__.py | cwaitt/zse | 4330397ddf84dafaa0af7bddd25756e008cb3ff5 | [
"MIT"
] | null | null | null | collections/__init__.py | cwaitt/zse | 4330397ddf84dafaa0af7bddd25756e008cb3ff5 | [
"MIT"
] | 6 | 2020-09-29T18:19:54.000Z | 2022-03-18T14:44:15.000Z | from zse.collections.framework import framework
from zse.collections.framework import get_ring_sizes
from zse.collections.framework import get_all_fws
__all__ = ['framework','get_ring_sizes','get_all_fws']
| 29.714286 | 54 | 0.836538 | 30 | 208 | 5.4 | 0.333333 | 0.12963 | 0.333333 | 0.5 | 0.648148 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081731 | 208 | 6 | 55 | 34.666667 | 0.848168 | 0 | 0 | 0 | 0 | 0 | 0.163462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4314f9791b2c86036416b87e0e855126c19f16a0 | 254 | py | Python | src/diffjson/searchpath/exceptions.py | nfwprod/diffjson | ad7ea15c42e25f16f610491e95da3d0b2e35d654 | [
"MIT"
] | 1 | 2021-02-13T08:24:52.000Z | 2021-02-13T08:24:52.000Z | src/diffjson/searchpath/exceptions.py | nfwstg/diffjson | 52cb24e5629797b32c23e7971d36d111a6817121 | [
"MIT"
] | 3 | 2021-03-13T06:44:27.000Z | 2021-04-21T16:45:43.000Z | src/diffjson/searchpath/exceptions.py | nfwstg/diffjson | 52cb24e5629797b32c23e7971d36d111a6817121 | [
"MIT"
] | 4 | 2021-03-13T06:39:30.000Z | 2021-04-24T04:52:36.000Z | class LocationPathFormatError(Exception):
pass
class LocationStepFormatError(Exception):
pass
class NodenameFormatError(Exception):
pass
class PredicateFormatError(Exception):
pass
class PredicatesFormatError(Exception):
pass
| 13.368421 | 41 | 0.771654 | 20 | 254 | 9.8 | 0.4 | 0.331633 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169291 | 254 | 18 | 42 | 14.111111 | 0.92891 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
431eee2c301e5ca4c70a21998faa6062379687a4 | 88 | py | Python | matchtransactions/__main__.py | phizzl3/MatchTransactions | 5e497ca4609c0ffec27fabebaac9d466cf9cd708 | [
"MIT"
] | null | null | null | matchtransactions/__main__.py | phizzl3/MatchTransactions | 5e497ca4609c0ffec27fabebaac9d466cf9cd708 | [
"MIT"
] | null | null | null | matchtransactions/__main__.py | phizzl3/MatchTransactions | 5e497ca4609c0ffec27fabebaac9d466cf9cd708 | [
"MIT"
] | null | null | null | import match_transactions
if __name__ == "__main__":
match_transactions.main()
| 17.6 | 29 | 0.727273 | 9 | 88 | 6 | 0.666667 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 5 | 30 | 17.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
43295704da9e9d752f509b2ebf92615ace1fecc1 | 177 | py | Python | elm/data_loader/__init__.py | jinxu06/gsubsampling | 2e0cace553cf43835709a34a11f9c15b08c15004 | [
"Apache-2.0"
] | 12 | 2021-06-11T12:17:58.000Z | 2021-12-16T07:36:47.000Z | elm/data_loader/__init__.py | jinxu06/gsubsampling | 2e0cace553cf43835709a34a11f9c15b08c15004 | [
"Apache-2.0"
] | null | null | null | elm/data_loader/__init__.py | jinxu06/gsubsampling | 2e0cace553cf43835709a34a11f9c15b08c15004 | [
"Apache-2.0"
] | 1 | 2022-01-31T19:39:06.000Z | 2022-01-31T19:39:06.000Z | from .dsprites import DSpritesDataModule
from .multi_dsprites import MultiDSpritesDataModule
from .fashion_mnist import FashionMNISTDataModule
from .clevr import ClevrDataModule | 44.25 | 51 | 0.892655 | 18 | 177 | 8.666667 | 0.611111 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 177 | 4 | 52 | 44.25 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4a331ce9d3fd7406dfc8c98aef532f1e2a6f8964 | 92 | py | Python | diatonicPy.py | lzqlzzq/diatonicPy | bfe130a39f4f88b07ac0de85788feeb1510c2f6b | [
"MIT"
] | null | null | null | diatonicPy.py | lzqlzzq/diatonicPy | bfe130a39f4f88b07ac0de85788feeb1510c2f6b | [
"MIT"
] | null | null | null | diatonicPy.py | lzqlzzq/diatonicPy | bfe130a39f4f88b07ac0de85788feeb1510c2f6b | [
"MIT"
] | null | null | null |
from pitch import GenericPitch, Pitch
from interval import AbstractInterval, Interval
| 18.4 | 48 | 0.804348 | 10 | 92 | 7.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 4 | 49 | 23 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4a7633bec0f5bf5f501d9bea3970c51164d4aeb6 | 206 | py | Python | facebook_hateful_memes_detector/models/text_models/__init__.py | faizanahemad/facebook-hateful-memes | 1f7febf65f5fc4ed4aeb476d5383437f677fbc19 | [
"MIT"
] | 9 | 2020-07-28T20:33:04.000Z | 2022-01-28T16:51:40.000Z | facebook_hateful_memes_detector/models/text_models/__init__.py | faizanahemad/facebook-hateful-memes | 1f7febf65f5fc4ed4aeb476d5383437f677fbc19 | [
"MIT"
] | 3 | 2021-06-08T21:36:37.000Z | 2021-09-08T02:03:07.000Z | facebook_hateful_memes_detector/models/text_models/__init__.py | faizanahemad/facebook-hateful-memes | 1f7febf65f5fc4ed4aeb476d5383437f677fbc19 | [
"MIT"
] | 1 | 2020-08-26T08:13:25.000Z | 2020-08-26T08:13:25.000Z | from .LangFeatures import LangFeaturesModel
from .Albert import AlbertClassifer
from .Fasttext1DCNN import Fasttext1DCNNModel
from .BERTClassifier import BERTClassifier
from .FasttextCNN import FasttextCNN
| 34.333333 | 45 | 0.878641 | 20 | 206 | 9.05 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.097087 | 206 | 5 | 46 | 41.2 | 0.962366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
43545c4cb5a4107f77f74f576c0be03f410cfab7 | 147 | py | Python | src/crosswalk/__init__.py | jiaweih/CrossWalk | 434664ce72cd8ccdf80ced89c8fb109cc0e4417f | [
"MIT"
] | 1 | 2020-06-25T21:51:20.000Z | 2020-06-25T21:51:20.000Z | src/crosswalk/__init__.py | jiaweih/CrossWalk | 434664ce72cd8ccdf80ced89c8fb109cc0e4417f | [
"MIT"
] | null | null | null | src/crosswalk/__init__.py | jiaweih/CrossWalk | 434664ce72cd8ccdf80ced89c8fb109cc0e4417f | [
"MIT"
] | 2 | 2020-06-16T23:35:05.000Z | 2020-06-25T21:51:22.000Z | # -*- coding: utf-8 -*-
"""
crosswalk
~~~~~~~~~
`crosswalk` package.
"""
from .data import *
from .model import *
from . import utils
| 13.363636 | 24 | 0.537415 | 15 | 147 | 5.266667 | 0.666667 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.244898 | 147 | 10 | 25 | 14.7 | 0.702703 | 0.435374 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
43598e503ccf14648f8551021f178fe6b6ace793 | 6,489 | py | Python | tests/cli/history/test_history_list.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | tests/cli/history/test_history_list.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | tests/cli/history/test_history_list.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | import datetime
from pytest_cases import THIS_MODULE, parametrize_with_cases
from statue.cli import statue_cli
from tests.util import evaluation_mock
def case_empty_history():
additional_flags = []
evaluations = []
output = "No previous evaluations.\n"
return additional_flags, evaluations, output
... | 31.965517 | 85 | 0.631838 | 758 | 6,489 | 5.216359 | 0.135884 | 0.065756 | 0.060698 | 0.072838 | 0.78958 | 0.770865 | 0.745574 | 0.729894 | 0.706626 | 0.667425 | 0 | 0.100397 | 0.263215 | 6,489 | 202 | 86 | 32.123762 | 0.726626 | 0 | 0 | 0.666667 | 0 | 0.062147 | 0.133919 | 0 | 0 | 0 | 0 | 0 | 0.011299 | 1 | 0.045198 | false | 0 | 0.022599 | 0 | 0.107345 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
43a427e02616b8a21337aa2eede1057f015aafe0 | 12,776 | py | Python | IOverticalGrid.py | nilodna/model2roms | 14a5494303d8539bc7c7b018f8d56336c649bf8c | [
"MIT"
] | null | null | null | IOverticalGrid.py | nilodna/model2roms | 14a5494303d8539bc7c7b018f8d56336c649bf8c | [
"MIT"
] | null | null | null | IOverticalGrid.py | nilodna/model2roms | 14a5494303d8539bc7c7b018f8d56336c649bf8c | [
"MIT"
] | 1 | 2021-06-29T14:58:23.000Z | 2021-06-29T14:58:23.000Z |
from datetime import datetime
import numpy as np
import warnings
__author__ = 'Trond Kristiansen'
__email__ = 'me@trondkristiansen.com'
__created__ = datetime(2008, 8, 15)
__modified__ = datetime(2015, 7, 25)
__version__ = "1.5"
__status__ = "Development"
'''
Various vertical coordinates
Presently, only oc... | 33.270833 | 268 | 0.542423 | 1,911 | 12,776 | 3.4427 | 0.100471 | 0.068399 | 0.04256 | 0.036176 | 0.77945 | 0.766378 | 0.74373 | 0.737346 | 0.736738 | 0.70725 | 0 | 0.020698 | 0.326863 | 12,776 | 383 | 269 | 33.357702 | 0.744302 | 0.081559 | 0 | 0.671642 | 0 | 0.003731 | 0.036893 | 0.002035 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078358 | false | 0 | 0.011194 | 0 | 0.115672 | 0.007463 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
43b896a8470f7ae6f3baa1cfae375d512fd3ed3e | 109 | py | Python | python/803.bricks-falling-when-hit.py | stavanmehta/leetcode | 1224e43ce29430c840e65daae3b343182e24709c | [
"Apache-2.0"
] | null | null | null | python/803.bricks-falling-when-hit.py | stavanmehta/leetcode | 1224e43ce29430c840e65daae3b343182e24709c | [
"Apache-2.0"
] | null | null | null | python/803.bricks-falling-when-hit.py | stavanmehta/leetcode | 1224e43ce29430c840e65daae3b343182e24709c | [
"Apache-2.0"
] | null | null | null | class Solution:
def hitBricks(self, grid: List[List[int]], hits: List[List[int]]) -> List[int]:
| 27.25 | 83 | 0.605505 | 15 | 109 | 4.4 | 0.6 | 0.318182 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211009 | 109 | 3 | 84 | 36.333333 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
43c26f81b5aae5c41524f022af1322b2973bc903 | 296 | py | Python | featuretools/tests/primitive_tests/primitives_to_install/custom_mean.py | Featuretools/featuretools | 365abd9519d2eec8eec75936644a7b865d4ef40a | [
"BSD-3-Clause"
] | 4,299 | 2017-09-09T02:41:29.000Z | 2019-10-10T05:41:11.000Z | featuretools/tests/primitive_tests/primitives_to_install/custom_mean.py | Featuretools/featuretools | 365abd9519d2eec8eec75936644a7b865d4ef40a | [
"BSD-3-Clause"
] | 729 | 2017-09-22T01:54:48.000Z | 2019-10-09T15:36:17.000Z | featuretools/tests/primitive_tests/primitives_to_install/custom_mean.py | Featuretools/featuretools | 365abd9519d2eec8eec75936644a7b865d4ef40a | [
"BSD-3-Clause"
] | 532 | 2017-09-13T14:18:22.000Z | 2019-10-08T06:13:46.000Z | from woodwork.column_schema import ColumnSchema
from featuretools.primitives.base import AggregationPrimitive
class CustomMean(AggregationPrimitive):
name = "custom_mean"
input_types = [ColumnSchema(semantic_tags={"numeric"})]
return_type = ColumnSchema(semantic_tags={"numeric"})
| 29.6 | 61 | 0.793919 | 30 | 296 | 7.633333 | 0.733333 | 0.174672 | 0.209607 | 0.270742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114865 | 296 | 9 | 62 | 32.888889 | 0.874046 | 0 | 0 | 0 | 0 | 0 | 0.084459 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
43c409a670270cb0ddec3af078a7d4bdaaa5db3e | 4,359 | py | Python | utils/mean_dist_calculator.py | hubmapconsortium/vccf-visualization-2022- | 77538cbccd50d54554f06880b2b004bfa52cb882 | [
"MIT"
] | null | null | null | utils/mean_dist_calculator.py | hubmapconsortium/vccf-visualization-2022- | 77538cbccd50d54554f06880b2b004bfa52cb882 | [
"MIT"
] | null | null | null | utils/mean_dist_calculator.py | hubmapconsortium/vccf-visualization-2022- | 77538cbccd50d54554f06880b2b004bfa52cb882 | [
"MIT"
] | 1 | 2022-03-25T14:37:42.000Z | 2022-03-25T14:37:42.000Z | import statistics
target_root_path = r"G:\GE\skin_12_data"
print("Region", end='')
for i in range(5):
print("\t\tAverage\tMedian\t%", end='')
print()
cell_types = ['all', 'CD68', 'T-Helper', 'T-Killer', 'T-Reg']
region_list = [11, 3, 8, 9, 1, 12, 5, 4, 2, 10, 7]
for region_id in region_list:
target_file_path... | 33.022727 | 78 | 0.560679 | 551 | 4,359 | 4.297641 | 0.127042 | 0.054054 | 0.035473 | 0.046453 | 0.779139 | 0.779139 | 0.76647 | 0.76647 | 0.752534 | 0.752534 | 0 | 0.015049 | 0.25304 | 4,359 | 131 | 79 | 33.274809 | 0.712224 | 0.635467 | 0 | 0.102564 | 0 | 0 | 0.104388 | 0.034574 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.025641 | 0.230769 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
43ca4cbc5cd3a61e33f0a500db093e24b50f7183 | 899 | py | Python | dspylib/tests/date/test_time_units_from_seconds.py | dsears/dspylib | c6b74fa0c530ce4c29fbdd09bfb1b463722bb24d | [
"Apache-2.0"
] | 1 | 2017-03-24T14:59:17.000Z | 2017-03-24T14:59:17.000Z | dspylib/tests/date/test_time_units_from_seconds.py | dsears/dspylib | c6b74fa0c530ce4c29fbdd09bfb1b463722bb24d | [
"Apache-2.0"
] | 1 | 2017-03-24T21:51:18.000Z | 2017-03-24T21:51:18.000Z | dspylib/tests/date/test_time_units_from_seconds.py | dsears/dspylib | c6b74fa0c530ce4c29fbdd09bfb1b463722bb24d | [
"Apache-2.0"
] | null | null | null | from dspylib.date import time_units_from_seconds
def test_time_units_from_seconds():
assert time_units_from_seconds(0) == "0 seconds"
assert time_units_from_seconds(1) == "1 second"
assert time_units_from_seconds(89) == "1 minute"
assert time_units_from_seconds(90) == "2 minutes"
assert time_units_from_secon... | 47.315789 | 58 | 0.758621 | 145 | 899 | 4.344828 | 0.296552 | 0.242857 | 0.350794 | 0.539683 | 0.663492 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0.119441 | 0.124583 | 899 | 18 | 59 | 49.944444 | 0.681067 | 0 | 0 | 0 | 0 | 0 | 0.123471 | 0 | 0 | 0 | 0 | 0 | 0.882353 | 1 | 0.058824 | true | 0 | 0.058824 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
78fbe649afa7e387cb094a7564eff3eab0497c39 | 415 | py | Python | ver1_0/openassembly/redis_func.py | fragro/Open-Assembly | e9679ff5e7ae9881fa5781d763288ed2f40b014d | [
"BSD-3-Clause"
] | 1 | 2015-11-05T08:22:19.000Z | 2015-11-05T08:22:19.000Z | ver1_0/openassembly/redis_func.py | fragro/Open-Assembly | e9679ff5e7ae9881fa5781d763288ed2f40b014d | [
"BSD-3-Clause"
] | null | null | null | ver1_0/openassembly/redis_func.py | fragro/Open-Assembly | e9679ff5e7ae9881fa5781d763288ed2f40b014d | [
"BSD-3-Clause"
] | 1 | 2018-02-03T18:25:41.000Z | 2018-02-03T18:25:41.000Z | import redis
import settings
def redis_client():
"""Get a redis client."""
if settings.BROKER_PASSWORD != '':
return redis.Redis(settings.BROKER_HOST, settings.BROKER_PORT, settings.BROKER_DB,
password=settings.BROKER_PASSWORD, socket_timeout=0.5)
else:
return redis.Redis(setting... | 27.666667 | 87 | 0.696386 | 52 | 415 | 5.346154 | 0.365385 | 0.402878 | 0.158273 | 0.172662 | 0.489209 | 0.489209 | 0.489209 | 0.489209 | 0.489209 | 0.489209 | 0 | 0.012085 | 0.20241 | 415 | 14 | 88 | 29.642857 | 0.827795 | 0.045783 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0.222222 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
600a4350c1aa8387dd1637ae1d3e2a2e21a74e58 | 32 | py | Python | python/testData/refactoring/move/packageImport/before/src/lib1/mod1.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/move/packageImport/before/src/lib1/mod1.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/move/packageImport/before/src/lib1/mod1.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def k(x):
return lambda y: x | 16 | 22 | 0.59375 | 7 | 32 | 2.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28125 | 32 | 2 | 22 | 16 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
603520677d60d0d936a7c349f10c7101dc470bd5 | 71 | py | Python | convert_codemeta/__init__.py | caltechlibrary/convert_codemeta | 337e39338bcce4f0f201fe03500061ab14b2ae5c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-11-14T15:41:49.000Z | 2021-04-06T07:22:53.000Z | convert_codemeta/__init__.py | caltechlibrary/convert_codemeta | 337e39338bcce4f0f201fe03500061ab14b2ae5c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2019-11-14T16:37:47.000Z | 2019-12-12T00:04:48.000Z | convert_codemeta/__init__.py | caltechlibrary/convert_codemeta | 337e39338bcce4f0f201fe03500061ab14b2ae5c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2022-02-07T14:28:55.000Z | 2022-02-07T14:28:55.000Z | from .validate import validate_codemeta
from .convert import crosswalk
| 23.666667 | 39 | 0.859155 | 9 | 71 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 40 | 35.5 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
604be99530756d16d175d49db61d6e3717427d1a | 45 | py | Python | Server/python/src/__init__.py | dtracers/Development-Graph | db95318c9465410264b4e9854f16850cbb4c3cda | [
"Apache-2.0"
] | null | null | null | Server/python/src/__init__.py | dtracers/Development-Graph | db95318c9465410264b4e9854f16850cbb4c3cda | [
"Apache-2.0"
] | 1 | 2015-03-17T19:37:10.000Z | 2015-03-17T19:37:10.000Z | Server/python/src/__init__.py | dtracers/Development-Graph | db95318c9465410264b4e9854f16850cbb4c3cda | [
"Apache-2.0"
] | null | null | null | def createNewProject(form):
print "blah!" | 22.5 | 27 | 0.711111 | 5 | 45 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 28 | 22.5 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6077ce14573fb2ae329040185e36f0a39afdd2f1 | 19 | py | Python | test.py | zuochen33/pointnet2 | 3d6a1737c28d7cb35f9720c8a65123e164ec04e9 | [
"MIT"
] | null | null | null | test.py | zuochen33/pointnet2 | 3d6a1737c28d7cb35f9720c8a65123e164ec04e9 | [
"MIT"
] | null | null | null | test.py | zuochen33/pointnet2 | 3d6a1737c28d7cb35f9720c8a65123e164ec04e9 | [
"MIT"
] | null | null | null | print("aaaaaaaa")
| 6.333333 | 17 | 0.684211 | 2 | 19 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 19 | 2 | 18 | 9.5 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
60acc50e2a5d763eed0583651cce83274ac50669 | 187 | py | Python | resource_management/apps/employees/admin.py | lmann4/cis526-final-project | 7fe34b258cd4e7742cdccc3f2d90fb331361debe | [
"MIT"
] | null | null | null | resource_management/apps/employees/admin.py | lmann4/cis526-final-project | 7fe34b258cd4e7742cdccc3f2d90fb331361debe | [
"MIT"
] | 4 | 2017-04-12T19:06:21.000Z | 2017-04-19T19:08:34.000Z | resource_management/apps/employees/admin.py | lmann4/cis526-final-project | 7fe34b258cd4e7742cdccc3f2d90fb331361debe | [
"MIT"
] | null | null | null | from django.contrib import admin
from apps.employees.models import Employee, Position, Schedule
admin.site.register(Employee)
admin.site.register(Position)
admin.site.register(Schedule)
| 26.714286 | 62 | 0.834225 | 25 | 187 | 6.24 | 0.52 | 0.173077 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074866 | 187 | 6 | 63 | 31.166667 | 0.901734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
880845af2a83c399ea40422a47d509134d04ff38 | 4,770 | py | Python | tests/test_parser.py | douglas/shopidown | eb6cf2543a825b7580484ce82a15c5bfea305286 | [
"MIT"
] | 1 | 2016-07-16T21:22:41.000Z | 2016-07-16T21:22:41.000Z | tests/test_parser.py | douglas/shopidown | eb6cf2543a825b7580484ce82a15c5bfea305286 | [
"MIT"
] | null | null | null | tests/test_parser.py | douglas/shopidown | eb6cf2543a825b7580484ce82a15c5bfea305286 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
test_shopidown
----------------------------------
Tests for `shopidown` module.
"""
import textwrap
from shopidown.parser import Parser
parser = Parser()
def test_title():
""" Tests that a title parsers to h1 tag """
assert parser.parse("# Title *italic* **bold**") == "<h1>Title <em... | 18.416988 | 110 | 0.562055 | 650 | 4,770 | 4.046154 | 0.103077 | 0.085171 | 0.053232 | 0.041065 | 0.787452 | 0.776046 | 0.751711 | 0.692395 | 0.652852 | 0.603802 | 0 | 0.030943 | 0.275052 | 4,770 | 258 | 111 | 18.488372 | 0.729612 | 0.134591 | 0 | 0.823529 | 0 | 0 | 0.635866 | 0.032379 | 0 | 0 | 0 | 0 | 0.071895 | 1 | 0.071895 | false | 0 | 0.013072 | 0 | 0.084967 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 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 | 5 |
714c270dd59c3cbe48e33a95302f82604e69450d | 47 | py | Python | pyngeso/exceptions.py | atsangarides/pyngeso | 88bf875aa145176b9045e58cfd22eb375aa26d2a | [
"MIT"
] | null | null | null | pyngeso/exceptions.py | atsangarides/pyngeso | 88bf875aa145176b9045e58cfd22eb375aa26d2a | [
"MIT"
] | null | null | null | pyngeso/exceptions.py | atsangarides/pyngeso | 88bf875aa145176b9045e58cfd22eb375aa26d2a | [
"MIT"
] | null | null | null | class UnsuccessfulRequest(Exception):
pass
| 15.666667 | 37 | 0.787234 | 4 | 47 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 38 | 23.5 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
71698500e7071760ff1ceefeaf43403015d5ad1d | 109 | py | Python | src/xmlsec/rsa_x509_pem/pyasn1/codec/der/decoder.py | fredrikt/pyXMLSecurity | 002740e414f470eab7f460fbd4cff24820e054a7 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/xmlsec/rsa_x509_pem/pyasn1/codec/der/decoder.py | fredrikt/pyXMLSecurity | 002740e414f470eab7f460fbd4cff24820e054a7 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/xmlsec/rsa_x509_pem/pyasn1/codec/der/decoder.py | fredrikt/pyXMLSecurity | 002740e414f470eab7f460fbd4cff24820e054a7 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | # DER decoder
from ...type import univ
from ..cer import decoder
decode = decoder.Decoder(decoder.codecMap)
| 18.166667 | 42 | 0.761468 | 15 | 109 | 5.533333 | 0.6 | 0.337349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 5 | 43 | 21.8 | 0.882979 | 0.100917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
716e5bc14db1d8ba8e6a472c1cbddddb57db977e | 56 | py | Python | 01-python/outdoors/park.py | JamesKunstle/bootstrap_open_source_workflow | c6e02f76188b1040af7647fec89b54fd0a43ed10 | [
"MIT"
] | null | null | null | 01-python/outdoors/park.py | JamesKunstle/bootstrap_open_source_workflow | c6e02f76188b1040af7647fec89b54fd0a43ed10 | [
"MIT"
] | null | null | null | 01-python/outdoors/park.py | JamesKunstle/bootstrap_open_source_workflow | c6e02f76188b1040af7647fec89b54fd0a43ed10 | [
"MIT"
] | null | null | null | def draw_park():
print("park not found")
return
| 14 | 27 | 0.625 | 8 | 56 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 56 | 3 | 28 | 18.666667 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 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 | 0 | 1 | 0 | 0 | 5 |
717c31812bdf67e93cd92b2fcd5e4c31295f6d7d | 6,685 | py | Python | method_doc_tests.py | FlameHorizon/vba-docgen | 5f7585fccb9706b66ee31081bf593b308682f6ac | [
"MIT"
] | null | null | null | method_doc_tests.py | FlameHorizon/vba-docgen | 5f7585fccb9706b66ee31081bf593b308682f6ac | [
"MIT"
] | 6 | 2020-05-21T19:24:33.000Z | 2020-05-24T09:32:18.000Z | method_doc_tests.py | FlameHorizon/vba-docgen | 5f7585fccb9706b66ee31081bf593b308682f6ac | [
"MIT"
] | 1 | 2021-05-24T22:16:17.000Z | 2021-05-24T22:16:17.000Z | import unittest
from method_doc import MethodDoc
class TestMethodDoc(unittest.TestCase):
def test_init(self):
expected = '# Foo.Bar () Method\n\n'
actual = MethodDoc('Foo', 'Bar ()').build()
self.assertEqual(expected, actual)
def test_buildReturnsDocWithDescription(self):
expe... | 38.866279 | 86 | 0.515034 | 703 | 6,685 | 4.829303 | 0.091038 | 0.032401 | 0.074227 | 0.100736 | 0.812666 | 0.800295 | 0.778498 | 0.721649 | 0.682769 | 0.667452 | 0 | 0.00137 | 0.344951 | 6,685 | 171 | 87 | 39.093567 | 0.773921 | 0 | 0 | 0.7 | 0 | 0 | 0.375617 | 0.021541 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.078571 | false | 0 | 0.014286 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
71b2e07600d324a8b11930a652b5ddfd5fb02568 | 42 | py | Python | tests/__init__.py | laserkelvin/astrochem_ml | 1385e481525681943e50467af58f317401747acd | [
"MIT"
] | null | null | null | tests/__init__.py | laserkelvin/astrochem_ml | 1385e481525681943e50467af58f317401747acd | [
"MIT"
] | 2 | 2021-11-18T01:33:22.000Z | 2021-11-18T14:04:43.000Z | tests/__init__.py | laserkelvin/astrochem_ml | 1385e481525681943e50467af58f317401747acd | [
"MIT"
] | null | null | null | """Unit test package for astrochem_ml."""
| 21 | 41 | 0.714286 | 6 | 42 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.783784 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e0cdc4da770c4b3b10597b039cd4b01901b26148 | 87 | py | Python | vdgo_backend/bypass/apps.py | Aruta1ru/web-vdgo | 1c26649300b6cbb770117a7a9daccd949da8a265 | [
"MIT"
] | null | null | null | vdgo_backend/bypass/apps.py | Aruta1ru/web-vdgo | 1c26649300b6cbb770117a7a9daccd949da8a265 | [
"MIT"
] | null | null | null | vdgo_backend/bypass/apps.py | Aruta1ru/web-vdgo | 1c26649300b6cbb770117a7a9daccd949da8a265 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BypassConfig(AppConfig):
name = 'bypass'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.666667 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
46049aca38e2c37ca3f41ab029222c28791007a4 | 2,571 | py | Python | project_checker/tests/reporttest.py | zuzannnaobajtek/github-cmake-project-checker | 1406c2247bbbecb490bc5000c7fa521b9bf96ec0 | [
"MIT"
] | 1 | 2017-05-17T21:21:54.000Z | 2017-05-17T21:21:54.000Z | project_checker/tests/reporttest.py | zuzannnaobajtek/github-cmake-project-checker | 1406c2247bbbecb490bc5000c7fa521b9bf96ec0 | [
"MIT"
] | 13 | 2018-03-28T15:36:17.000Z | 2018-04-25T16:44:00.000Z | project_checker/tests/reporttest.py | zuzannnaobajtek/github-cmake-project-checker | 1406c2247bbbecb490bc5000c7fa521b9bf96ec0 | [
"MIT"
] | 15 | 2017-05-31T11:44:20.000Z | 2018-04-19T15:03:35.000Z | from unittest import TestCase
from unittest.mock import MagicMock
from project_checker.checker.filesystem import Report
class ReportTest(TestCase):
def test_result_ranking_of_two_labs(self):
report = self.report_labs(['lab1_ex1=0', 'lab1_ex2=2'])
self.assertEqual('ok;0', report.to_result_ranking(... | 50.411765 | 120 | 0.668222 | 377 | 2,571 | 4.209549 | 0.145889 | 0.074984 | 0.088217 | 0.113422 | 0.7908 | 0.776938 | 0.776938 | 0.725898 | 0.725898 | 0.68368 | 0 | 0.077102 | 0.162583 | 2,571 | 50 | 121 | 51.42 | 0.660009 | 0 | 0 | 0.475 | 0 | 0 | 0.22676 | 0 | 0 | 0 | 0 | 0 | 0.175 | 1 | 0.2 | false | 0 | 0.075 | 0 | 0.325 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1cb08cc15ab7490121ca8547a5030855047eeca8 | 342 | py | Python | main/signals.py | curenamo/ssmreleva | 6e50b8819713c81f42a638dfbe9aa37bd943400f | [
"BSD-2-Clause"
] | 123 | 2015-01-08T09:21:05.000Z | 2021-11-14T19:45:23.000Z | main/signals.py | cybernetics/formhub | 578fc2c5e9febe8dc68b37f7d2e85a76dc2c4c04 | [
"BSD-2-Clause"
] | 16 | 2015-02-13T16:56:42.000Z | 2021-02-20T23:58:43.000Z | main/signals.py | cybernetics/formhub | 578fc2c5e9febe8dc68b37f7d2e85a76dc2c4c04 | [
"BSD-2-Clause"
] | 110 | 2015-01-19T14:34:06.000Z | 2021-02-01T14:55:11.000Z | from django.contrib.auth.models import User
from django.db.models.signals import post_save
def set_api_permissions(sender, instance=None, created=False, **kwargs):
from utils.user_auth import set_api_permissions_for_user
if created:
set_api_permissions_for_user(instance)
post_save.connect(set_api_perm... | 34.2 | 72 | 0.809942 | 51 | 342 | 5.137255 | 0.490196 | 0.091603 | 0.259542 | 0.175573 | 0.183206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116959 | 342 | 9 | 73 | 38 | 0.86755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1cbf414bdc027e1c2e3953bdf0a939f63a77cfee | 64,845 | py | Python | tests/toot_samples.py | muellermartin/moa | 8c794b2cb854c1b25570fbb3082e83a9a088c773 | [
"MIT"
] | 238 | 2017-11-20T16:51:43.000Z | 2021-03-10T23:35:13.000Z | tests/toot_samples.py | muellermartin/moa | 8c794b2cb854c1b25570fbb3082e83a9a088c773 | [
"MIT"
] | 149 | 2017-11-08T06:44:44.000Z | 2021-02-01T20:21:23.000Z | tests/toot_samples.py | muellermartin/moa | 8c794b2cb854c1b25570fbb3082e83a9a088c773 | [
"MIT"
] | 14 | 2017-11-21T13:54:01.000Z | 2021-03-10T17:01:53.000Z | import datetime
from datetime import timezone
from dateutil.tz import tzutc
boost = {'_pagination_prev': {'_pagination_endpoint': '/api/v1/accounts/6717/statuses',
'_pagination_method': 'GET',
'since_id': 98972270904179914},
... | 86.230053 | 2,773 | 0.348508 | 4,232 | 64,845 | 5.228497 | 0.140359 | 0.050843 | 0.076558 | 0.029963 | 0.757265 | 0.723776 | 0.713653 | 0.691599 | 0.687079 | 0.674967 | 0 | 0.084124 | 0.542987 | 64,845 | 751 | 2,774 | 86.344874 | 0.662122 | 0 | 0 | 0.678474 | 0 | 0.038147 | 0.341399 | 0.029578 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004087 | 0 | 0.004087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1cf206f165c00b0c5c4633e0fa62e26add60371b | 86 | py | Python | instance/config.py | mungai-joel/Blog | c1eb64030086b7361bbdaa98c639112ae288d137 | [
"Unlicense"
] | null | null | null | instance/config.py | mungai-joel/Blog | c1eb64030086b7361bbdaa98c639112ae288d137 | [
"Unlicense"
] | null | null | null | instance/config.py | mungai-joel/Blog | c1eb64030086b7361bbdaa98c639112ae288d137 | [
"Unlicense"
] | null | null | null | SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://moonguy:notmoonguy@localhost/blog'
| 43 | 84 | 0.825581 | 9 | 86 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.05814 | 86 | 2 | 85 | 43 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0.632184 | 0.632184 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
08fd2622b9996ab5d4c888607219f73069436e83 | 27,875 | py | Python | webserver/app/main/controller/document_controller.py | pansila/Auto-Test-System | bfe51a277466939a32daa08f27a89cf3c1900def | [
"MIT"
] | 14 | 2019-02-19T01:31:08.000Z | 2021-12-12T12:56:08.000Z | webserver/app/main/controller/document_controller.py | pansila/Auto-Test-System | bfe51a277466939a32daa08f27a89cf3c1900def | [
"MIT"
] | 2 | 2020-03-10T12:12:10.000Z | 2020-03-10T12:12:10.000Z | webserver/app/main/controller/document_controller.py | pansila/Auto-Test-System | bfe51a277466939a32daa08f27a89cf3c1900def | [
"MIT"
] | 4 | 2019-07-09T02:00:13.000Z | 2020-08-18T14:04:24.000Z | import aiofiles
import asyncio
import base64
import json
import datetime
import subprocess
import os
import shutil
from pathlib import Path
from sanic_openapi import doc
from sanic.response import json, file
from sanic import Blueprint
from sanic.views import HTTPMethodView
from async_files.utils import async_wraps
f... | 40.634111 | 177 | 0.63548 | 3,345 | 27,875 | 5.13154 | 0.079522 | 0.048937 | 0.063967 | 0.088844 | 0.806874 | 0.764696 | 0.730556 | 0.705214 | 0.687271 | 0.674163 | 0 | 0.002397 | 0.251803 | 27,875 | 685 | 178 | 40.693431 | 0.820627 | 0.002798 | 0 | 0.688119 | 0 | 0.00165 | 0.087579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0033 | false | 0 | 0.034653 | 0 | 0.158416 | 0.0033 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1c07b295e10c08e7228aa1ec6fb2b3677497e104 | 3,162 | py | Python | src/source/test_cleaning.py | hinha/kalkula-extension | 57163eaf55d0a734e65afe8af6bb35fe07c03b55 | [
"MIT"
] | null | null | null | src/source/test_cleaning.py | hinha/kalkula-extension | 57163eaf55d0a734e65afe8af6bb35fe07c03b55 | [
"MIT"
] | null | null | null | src/source/test_cleaning.py | hinha/kalkula-extension | 57163eaf55d0a734e65afe8af6bb35fe07c03b55 | [
"MIT"
] | null | null | null | import unittest
import hashlib
from . import cleaning
def FILE(file_name):
# Open,close, read file and calculate MD5 on its contents
prop = b""
readable_hash = hashlib.md5()
with open(".data/" + file_name, "rb") as f:
prop += bytearray(f.read())
for byte_block in iter(lambda: f.read(4... | 31.939394 | 83 | 0.626502 | 392 | 3,162 | 4.905612 | 0.193878 | 0.093604 | 0.061882 | 0.065523 | 0.793552 | 0.770671 | 0.770671 | 0.770671 | 0.770671 | 0.767551 | 0 | 0.074074 | 0.265655 | 3,162 | 98 | 84 | 32.265306 | 0.754091 | 0.017394 | 0 | 0.662162 | 0 | 0 | 0.181643 | 0.084058 | 0 | 0 | 0 | 0 | 0.202703 | 1 | 0.121622 | false | 0 | 0.040541 | 0 | 0.202703 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1c0d31542fca61610c44233ca203070382223f69 | 417 | py | Python | tests/fixtures/suites.py | heylouiz/spidermon | 3ae2c46d1cf5b46efb578798b881264be3e68394 | [
"BSD-3-Clause"
] | 2 | 2019-10-03T16:47:11.000Z | 2022-02-22T11:56:02.000Z | tests/fixtures/suites.py | heylouiz/spidermon | 3ae2c46d1cf5b46efb578798b881264be3e68394 | [
"BSD-3-Clause"
] | 23 | 2019-05-30T20:27:38.000Z | 2019-08-20T07:23:09.000Z | tests/fixtures/suites.py | heylouiz/spidermon | 3ae2c46d1cf5b46efb578798b881264be3e68394 | [
"BSD-3-Clause"
] | 1 | 2022-03-24T03:01:19.000Z | 2022-03-24T03:01:19.000Z | from __future__ import absolute_import
from spidermon import MonitorSuite
from .cases import *
class EmptySuite(MonitorSuite):
pass
class Suite01(MonitorSuite):
monitors = [Monitor01]
class Suite02(MonitorSuite):
monitors = [Suite01, Monitor02]
class Suite03(MonitorSuite):
monitors = [Suite01,... | 16.038462 | 55 | 0.745803 | 41 | 417 | 7.463415 | 0.414634 | 0.261438 | 0.264706 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075362 | 0.172662 | 417 | 25 | 56 | 16.68 | 0.811594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 0.230769 | 0 | 0.923077 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
1c0f780f655f8bf61c4185249b66a4546dfdfb8f | 107 | py | Python | test/test_import.py | csyben/PYRO-NN-Layers | 9bec5ccaf62eb1fec01c1668ba1a6375673f8b12 | [
"Apache-2.0"
] | 24 | 2019-03-12T10:07:59.000Z | 2022-01-07T09:37:43.000Z | test/test_import.py | theHamsta/PYRO-NN-Layers | c776c3d7315f483937a7cebf667c6d491ecd57e6 | [
"Apache-2.0"
] | 6 | 2019-06-19T15:45:48.000Z | 2021-07-14T18:39:48.000Z | test/test_import.py | theHamsta/PYRO-NN-Layers | c776c3d7315f483937a7cebf667c6d491ecd57e6 | [
"Apache-2.0"
] | 10 | 2019-04-20T09:09:17.000Z | 2021-05-06T09:25:10.000Z | import sys
from os.path import join,dirname
sys.path.insert(0,dirname(__file__))
import pyronn_layers_dev
| 17.833333 | 36 | 0.82243 | 18 | 107 | 4.555556 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.093458 | 107 | 5 | 37 | 21.4 | 0.835052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1c2810076267faf13adba1ab729b2c286ab3d05b | 169 | py | Python | gif/start.py | MisterZhouZhou/pythonLearn | 8933c7a6d444d3d86a173984e6cf4c08dbf84039 | [
"Apache-2.0"
] | 1 | 2019-07-09T09:59:39.000Z | 2019-07-09T09:59:39.000Z | gif/start.py | MisterZhouZhou/pythonLearn | 8933c7a6d444d3d86a173984e6cf4c08dbf84039 | [
"Apache-2.0"
] | null | null | null | gif/start.py | MisterZhouZhou/pythonLearn | 8933c7a6d444d3d86a173984e6cf4c08dbf84039 | [
"Apache-2.0"
] | null | null | null | import subprocess
if __name__ == '__main__':
subprocess.call("python3 index.py -p /Users/zhouwei/Desktop/python/pythonLearn/gif/test.jpg -t 16 -s 1.25", shell=True) | 42.25 | 123 | 0.739645 | 26 | 169 | 4.5 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.112426 | 169 | 4 | 123 | 42.25 | 0.74 | 0 | 0 | 0 | 0 | 0.333333 | 0.564706 | 0.317647 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1c466d37b86970653faf38b62fdf0da523eb0c8b | 284 | py | Python | src/Distiller/textbrewer/distillers.py | haroldNLP/Distiller | f3ab5f94a9092fca1e2bdb9f486e66fd0b24bcfd | [
"MIT"
] | 2 | 2022-03-21T08:02:02.000Z | 2022-03-21T08:29:07.000Z | src/Distiller/textbrewer/distillers.py | haroldNLP/Distiller | f3ab5f94a9092fca1e2bdb9f486e66fd0b24bcfd | [
"MIT"
] | null | null | null | src/Distiller/textbrewer/distillers.py | haroldNLP/Distiller | f3ab5f94a9092fca1e2bdb9f486e66fd0b24bcfd | [
"MIT"
] | null | null | null | from .distiller_train import BasicTrainer
from .distiller_basic import BasicDistiller
from .distiller_general import GeneralDistiller
from .distiller_multitask import MultiTaskDistiller
from .distiller_multiteacher import MultiTeacherDistiller
from .distiller_emd import EMDDistiller
| 40.571429 | 57 | 0.894366 | 30 | 284 | 8.266667 | 0.5 | 0.314516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 284 | 6 | 58 | 47.333333 | 0.953846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
98dff5ba2a957906ca64c316dabab348cffccf3c | 86 | py | Python | src/hub/dataload/sources/uniprot/__init__.py | biothings/biothings.species | 77733e178e52277b3d2394e80ed5c133f2929c19 | [
"Apache-2.0"
] | null | null | null | src/hub/dataload/sources/uniprot/__init__.py | biothings/biothings.species | 77733e178e52277b3d2394e80ed5c133f2929c19 | [
"Apache-2.0"
] | 4 | 2019-02-13T16:03:47.000Z | 2021-10-17T23:10:34.000Z | src/hub/dataload/sources/uniprot/__init__.py | biothings/biothings.species | 77733e178e52277b3d2394e80ed5c133f2929c19 | [
"Apache-2.0"
] | 3 | 2017-06-12T18:34:35.000Z | 2021-04-12T07:49:57.000Z | from .dumper import UniprotSpeciesDumper
from .uploader import UniprotSpeciesUploader
| 28.666667 | 44 | 0.883721 | 8 | 86 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 45 | 43 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c720eb8fb601ffd196ee2c975b85e06eccaaed92 | 153 | py | Python | Whole-App-Acceleration/apps/resnet50/build_flow/DPUCADF8H_u200/scripts/utility/readme_gen/gs_summary_subdir.py | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 848 | 2019-12-03T00:16:17.000Z | 2022-03-31T22:53:17.000Z | dsa/WAA-TRD/proj/build/classification-pre_DPUv3int8/scripts/utility/readme_gen/gs_summary_subdir.py | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 656 | 2019-12-03T00:48:46.000Z | 2022-03-31T18:41:54.000Z | dsa/WAA-TRD/proj/build/classification-pre_DPUv3int8/scripts/utility/readme_gen/gs_summary_subdir.py | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 506 | 2019-12-03T00:46:26.000Z | 2022-03-30T10:34:56.000Z | #!/usr/bin/env python
import os, re
import fnmatch
import json
import sys
sys.path.append(".")
import gs_summary_util
gs_summary_util.genReadMe2(".")
| 12.75 | 31 | 0.75817 | 24 | 153 | 4.666667 | 0.666667 | 0.160714 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.117647 | 153 | 11 | 32 | 13.909091 | 0.822222 | 0.130719 | 0 | 0 | 0 | 0 | 0.015152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c72d023a35b00761814722cbdc05736f6e658dd0 | 79 | py | Python | tests/pruebas2.py | a-domingu/discern | 785edfb90187c358e67592c70a8299bdf86ab410 | [
"Apache-2.0"
] | null | null | null | tests/pruebas2.py | a-domingu/discern | 785edfb90187c358e67592c70a8299bdf86ab410 | [
"Apache-2.0"
] | null | null | null | tests/pruebas2.py | a-domingu/discern | 785edfb90187c358e67592c70a8299bdf86ab410 | [
"Apache-2.0"
] | null | null | null | import pruebas, prueba_simple
print(pruebas.Clase1_1().Clase1_2().firstn(5))
| 15.8 | 46 | 0.772152 | 12 | 79 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 0.075949 | 79 | 4 | 47 | 19.75 | 0.726027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
c7334d48217e176b7d099ef1eb2fe3dc5b5b2d0a | 104,707 | py | Python | wo/cli/plugins/stack.py | cdk-comp/WordOps | d1f0ccc7202d43c90ee7640f7acd4b7c3c158ee1 | [
"MIT"
] | null | null | null | wo/cli/plugins/stack.py | cdk-comp/WordOps | d1f0ccc7202d43c90ee7640f7acd4b7c3c158ee1 | [
"MIT"
] | null | null | null | wo/cli/plugins/stack.py | cdk-comp/WordOps | d1f0ccc7202d43c90ee7640f7acd4b7c3c158ee1 | [
"MIT"
] | 2 | 2021-01-02T07:49:51.000Z | 2022-03-26T15:58:50.000Z | """Stack Plugin for WordOps"""
from cement.core.controller import CementBaseController, expose
from cement.core import handler, hook
from wo.cli.plugins.site_functions import *
from wo.core.variables import WOVariables
from wo.core.aptget import WOAptGet
from wo.core.download import WODownload
from wo.core.shellexec i... | 55.400529 | 271 | 0.467027 | 10,323 | 104,707 | 4.646421 | 0.064904 | 0.066945 | 0.037778 | 0.05529 | 0.817992 | 0.776983 | 0.738497 | 0.70908 | 0.67691 | 0.634734 | 0 | 0.027619 | 0.418367 | 104,707 | 1,890 | 272 | 55.400529 | 0.759971 | 0.019664 | 0 | 0.631062 | 0 | 0.003069 | 0.251604 | 0.095244 | 0 | 0 | 0.000527 | 0 | 0 | 1 | 0.004911 | false | 0.012277 | 0.020258 | 0 | 0.02701 | 0.001842 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c748ee3363bc89e6bf07b6638056bff521f79e66 | 403 | py | Python | ginger/forms/formatters.py | vivsh/django-ginger | d293109becc72845a23f2aeb732ed808a7a67d69 | [
"MIT"
] | null | null | null | ginger/forms/formatters.py | vivsh/django-ginger | d293109becc72845a23f2aeb732ed808a7a67d69 | [
"MIT"
] | null | null | null | ginger/forms/formatters.py | vivsh/django-ginger | d293109becc72845a23f2aeb732ed808a7a67d69 | [
"MIT"
] | null | null | null | from collections import defaultdict
registry = defaultdict(dict)
def register(model_class, **kwargs):
return
class Column(object):
pass
class Second(object):
def format(self, value, **context):
return
class Dollar(object):
def format(self):
pass
class Delegate(object):
... | 12.59375 | 39 | 0.655087 | 47 | 403 | 5.595745 | 0.531915 | 0.125475 | 0.171103 | 0.21673 | 0.18251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245658 | 403 | 32 | 40 | 12.59375 | 0.865132 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0.176471 | 0.058824 | 0.176471 | 0.764706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
c77cb4315e3c831e4a020c880d2124d326286d5e | 6,220 | py | Python | tests/metarl/tf/models/test_cnn_model.py | icml2020submission6857/metarl | 9b66cefa2b6bcb6a38096d629ce8853b47c7171d | [
"MIT"
] | 2 | 2020-03-15T14:35:15.000Z | 2021-02-15T16:38:00.000Z | tests/metarl/tf/models/test_cnn_model.py | icml2020submission6857/metarl | 9b66cefa2b6bcb6a38096d629ce8853b47c7171d | [
"MIT"
] | null | null | null | tests/metarl/tf/models/test_cnn_model.py | icml2020submission6857/metarl | 9b66cefa2b6bcb6a38096d629ce8853b47c7171d | [
"MIT"
] | 1 | 2020-02-24T03:04:23.000Z | 2020-02-24T03:04:23.000Z | import pickle
import numpy as np
import pytest
import tensorflow as tf
from metarl.tf.models import CNNModel
from metarl.tf.models import CNNModelWithMaxPooling
from tests.fixtures import TfGraphTestCase
class TestCNNModel(TfGraphTestCase):
def setup_method(self):
super().setup_method()
self.bat... | 39.617834 | 77 | 0.53328 | 757 | 6,220 | 4.165126 | 0.163804 | 0.017761 | 0.01903 | 0.019981 | 0.790993 | 0.741199 | 0.724707 | 0.715192 | 0.713923 | 0.712972 | 0 | 0.05752 | 0.318006 | 6,220 | 156 | 78 | 39.871795 | 0.685761 | 0.039711 | 0 | 0.626984 | 0 | 0 | 0.040792 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 1 | 0.031746 | false | 0 | 0.055556 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c78f7cf855f6694576552a3e0d900f2e7fd893aa | 106 | py | Python | monitor/monitor/__init__.py | michix99/IubhUpMonitor | bdd12df3c0def7537bbf4a30a66f116af9f4cb2d | [
"MIT"
] | null | null | null | monitor/monitor/__init__.py | michix99/IubhUpMonitor | bdd12df3c0def7537bbf4a30a66f116af9f4cb2d | [
"MIT"
] | null | null | null | monitor/monitor/__init__.py | michix99/IubhUpMonitor | bdd12df3c0def7537bbf4a30a66f116af9f4cb2d | [
"MIT"
] | null | null | null | from .Utils import create_json, read_json
from .Website import Website
from .monitor_class import Monitor
| 26.5 | 41 | 0.839623 | 16 | 106 | 5.375 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 106 | 3 | 42 | 35.333333 | 0.924731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c7c9a08fe4309fc0b12a8e32ffe7a6fab0dcafd4 | 90 | py | Python | exercicios/__init__.py | RafaelGomides/VemPython | 88e5b82c007a5c5a18ffd3a369444709a99d6a3c | [
"Unlicense"
] | null | null | null | exercicios/__init__.py | RafaelGomides/VemPython | 88e5b82c007a5c5a18ffd3a369444709a99d6a3c | [
"Unlicense"
] | null | null | null | exercicios/__init__.py | RafaelGomides/VemPython | 88e5b82c007a5c5a18ffd3a369444709a99d6a3c | [
"Unlicense"
] | null | null | null | # Projeto: VemPython/__init__.py
# Autor: rafael
# Data: 19/03/18 - 16:06
# Objetivo: TODO | 22.5 | 32 | 0.7 | 14 | 90 | 4.214286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 0.144444 | 90 | 4 | 33 | 22.5 | 0.636364 | 0.911111 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.25 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c7d0152e01234acc5d8aa99e3513234f722f452c | 19 | py | Python | posthog/version.py | lharress/posthog | 73809d54b14ffc1b6ad6f600e0e4f06ab3090cb1 | [
"MIT"
] | null | null | null | posthog/version.py | lharress/posthog | 73809d54b14ffc1b6ad6f600e0e4f06ab3090cb1 | [
"MIT"
] | null | null | null | posthog/version.py | lharress/posthog | 73809d54b14ffc1b6ad6f600e0e4f06ab3090cb1 | [
"MIT"
] | null | null | null | VERSION = "1.30.0"
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c7f279d16c578c60ff43bb92f7e26683b5d5e405 | 1,474 | py | Python | vg/test_cross.py | lace/vx | 33134cae43d7729b6128b198119e1593035066ae | [
"BSD-2-Clause"
] | 100 | 2019-01-18T05:08:34.000Z | 2022-03-24T09:59:11.000Z | vg/test_cross.py | lace/vg | bece5191756b43378e882fd1fdf0ffa45a06e467 | [
"BSD-2-Clause"
] | 153 | 2018-11-16T17:44:28.000Z | 2022-03-10T23:33:50.000Z | vg/test_cross.py | lace/vx | 33134cae43d7729b6128b198119e1593035066ae | [
"BSD-2-Clause"
] | 14 | 2019-05-17T15:05:52.000Z | 2022-03-09T08:42:53.000Z | import numpy as np
import pytest
import vg
def test_cross():
v1 = np.array([1.0, 2.0, 3.0])
v2 = np.array([4.0, 5.0, 6.0])
expected = np.array([-3.0, 6.0, -3.0])
np.testing.assert_array_almost_equal(vg.cross(v1, v2), expected)
np.testing.assert_array_almost_equal(vg.cross(v2, v1), -expected)
d... | 28.901961 | 85 | 0.569878 | 289 | 1,474 | 2.820069 | 0.152249 | 0.111656 | 0.03681 | 0.029448 | 0.784049 | 0.770552 | 0.770552 | 0.770552 | 0.770552 | 0.744785 | 0 | 0.130619 | 0.200136 | 1,474 | 50 | 86 | 29.48 | 0.560645 | 0 | 0 | 0.529412 | 0 | 0 | 0.075305 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.117647 | false | 0 | 0.088235 | 0 | 0.205882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1bf0990e8a7afa26612eb4f8b749a1dfc9a4adf9 | 43 | py | Python | tests/__init__.py | kwang1971/stockwatching | b7fab92505ec0804004322022c89287985e8d375 | [
"MIT"
] | null | null | null | tests/__init__.py | kwang1971/stockwatching | b7fab92505ec0804004322022c89287985e8d375 | [
"MIT"
] | null | null | null | tests/__init__.py | kwang1971/stockwatching | b7fab92505ec0804004322022c89287985e8d375 | [
"MIT"
] | null | null | null | """Unit test package for stockwatching."""
| 21.5 | 42 | 0.72093 | 5 | 43 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.815789 | 0.837209 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4000202843e285527500d074fb79077946690da0 | 46 | py | Python | tests/plans/reloadplan/ready.py | buzztroll/cloudinit.d | 9fcc7c489b646e76f2b7360c0d807dae88d9cc0f | [
"Apache-2.0"
] | null | null | null | tests/plans/reloadplan/ready.py | buzztroll/cloudinit.d | 9fcc7c489b646e76f2b7360c0d807dae88d9cc0f | [
"Apache-2.0"
] | null | null | null | tests/plans/reloadplan/ready.py | buzztroll/cloudinit.d | 9fcc7c489b646e76f2b7360c0d807dae88d9cc0f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import sys
sys.exit(0)
| 9.2 | 21 | 0.695652 | 9 | 46 | 3.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.130435 | 46 | 4 | 22 | 11.5 | 0.775 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4005d1015406a13c65033cb9afb694758b3abbed | 94 | py | Python | source/Calculator/Array_Sort.py | afarahi/XTRA | 6550b216264abaa3ed705835aca0981f2934e069 | [
"MIT"
] | 2 | 2018-11-01T12:38:56.000Z | 2019-10-22T07:02:54.000Z | source/Calculator/Array_Sort.py | afarahi/XTRA | 6550b216264abaa3ed705835aca0981f2934e069 | [
"MIT"
] | null | null | null | source/Calculator/Array_Sort.py | afarahi/XTRA | 6550b216264abaa3ed705835aca0981f2934e069 | [
"MIT"
] | null | null | null | def Sorting_array_data(A,i):
B = sorted(A, key=lambda a_entry: a_entry[i])
return B
| 18.8 | 50 | 0.659574 | 18 | 94 | 3.222222 | 0.666667 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 94 | 4 | 51 | 23.5 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
4009ced76f8d594eda33f26bb9738e059c9389e4 | 79 | py | Python | donatello/__init__.py | welchbj/donatello | a64e3998a46d8b5d54d3ab759435ae4124dfff93 | [
"MIT"
] | 2 | 2019-09-10T14:28:02.000Z | 2020-05-29T04:37:01.000Z | donatello/__init__.py | welchbj/donatello | a64e3998a46d8b5d54d3ab759435ae4124dfff93 | [
"MIT"
] | null | null | null | donatello/__init__.py | welchbj/donatello | a64e3998a46d8b5d54d3ab759435ae4124dfff93 | [
"MIT"
] | null | null | null | from .encode import ( # noqa
encode_x86_32)
# TODO: all the other exports
| 19.75 | 29 | 0.696203 | 12 | 79 | 4.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.227848 | 79 | 3 | 30 | 26.333333 | 0.803279 | 0.405063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4047f0f6914fe2017a7907eebda8594514da8969 | 196 | py | Python | se_layers/__init__.py | ioanvl/1d_squeeze_excitation | f422dc4b8e7de6239a6fb7d1688048db5053e733 | [
"MIT"
] | null | null | null | se_layers/__init__.py | ioanvl/1d_squeeze_excitation | f422dc4b8e7de6239a6fb7d1688048db5053e733 | [
"MIT"
] | null | null | null | se_layers/__init__.py | ioanvl/1d_squeeze_excitation | f422dc4b8e7de6239a6fb7d1688048db5053e733 | [
"MIT"
] | null | null | null | from .se_layers import ChannelSELayer1d, SpatialSELayer1d, ChannelSpatialSELayer1d
__all__ = ['ChannelSELayer1d',
'SpatialSELayer1d',
'ChannelSpatialSELayer1d',
] | 32.666667 | 82 | 0.693878 | 11 | 196 | 11.909091 | 0.727273 | 0.48855 | 0.839695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039735 | 0.229592 | 196 | 6 | 83 | 32.666667 | 0.827815 | 0 | 0 | 0 | 0 | 0 | 0.279188 | 0.116751 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
404dae880cd4fbaec4855067bde103cecea4b93c | 193 | py | Python | gdf_tests/__main__.py | dunkgray/gdf | 7b39f0c90cf63d501b36ea9d754269616d79e0d4 | [
"Apache-2.0"
] | 7 | 2015-08-27T09:20:55.000Z | 2019-06-27T14:00:11.000Z | gdf_tests/__main__.py | alex-ip/gdf | 7b39f0c90cf63d501b36ea9d754269616d79e0d4 | [
"Apache-2.0"
] | null | null | null | gdf_tests/__main__.py | alex-ip/gdf | 7b39f0c90cf63d501b36ea9d754269616d79e0d4 | [
"Apache-2.0"
] | 5 | 2015-05-13T05:58:13.000Z | 2019-12-09T00:36:11.000Z | import test_arguments
import test_config_file
import test_database
import test_gdf
# Run all tests
test_arguments.main()
test_config_file.main()
test_database.main()
test_gdf.main()
| 17.545455 | 24 | 0.792746 | 29 | 193 | 4.931034 | 0.37931 | 0.27972 | 0.195804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139896 | 193 | 10 | 25 | 19.3 | 0.861446 | 0.067358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
40dd784373debb56d7c9c93e837a17e735d14148 | 3,137 | py | Python | data/train/python/40dd784373debb56d7c9c93e837a17e735d14148menu.py | harshp8l/deep-learning-lang-detection | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/train/python/40dd784373debb56d7c9c93e837a17e735d14148menu.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/train/python/40dd784373debb56d7c9c93e837a17e735d14148menu.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | response.title = settings.title
response.subtitle = settings.subtitle
response.meta.author = '%(author)s <%(author_email)s>' % settings
response.meta.keywords = settings.keywords
response.meta.description = settings.description
response.menu = [
(T('Home'),URL('default','index')==URL(),URL('default','index'),[]),
(T('C... | 82.552632 | 123 | 0.670704 | 420 | 3,137 | 4.77381 | 0.07619 | 0.299252 | 0.194514 | 0.246384 | 0.666334 | 0.261845 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023908 | 3,137 | 37 | 124 | 84.783784 | 0.654801 | 0.810328 | 0 | 0 | 0 | 0 | 0.281195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40e3b2eab8cfb39301a6a0dce5d869a6cd8807ed | 9,566 | py | Python | tests/test_sifter_sqlite.py | Mikea1985/orbit_cheby | cbc743fffa0ec6415ea17149c7768cd5fbe567f8 | [
"MIT"
] | null | null | null | tests/test_sifter_sqlite.py | Mikea1985/orbit_cheby | cbc743fffa0ec6415ea17149c7768cd5fbe567f8 | [
"MIT"
] | 12 | 2020-08-05T18:11:34.000Z | 2021-07-16T18:25:07.000Z | tests/test_sifter_sqlite.py | Mikea1985/orbit_cheby | cbc743fffa0ec6415ea17149c7768cd5fbe567f8 | [
"MIT"
] | 1 | 2021-06-23T15:41:32.000Z | 2021-06-23T15:41:32.000Z | # -*- coding: utf-8 -*-
# cheby_checker/tests/test_sqlite
'''
--------------------------------------------------------------
tests of sifter's sqlite functions
Jan 2020
Matt Payne & Mike Alexandersen
--------------------------------------------------------------
'''
# Import third-party pac... | 37.960317 | 93 | 0.660882 | 1,293 | 9,566 | 4.62181 | 0.12761 | 0.10241 | 0.120482 | 0.099398 | 0.756024 | 0.729585 | 0.729585 | 0.720549 | 0.713688 | 0.713688 | 0 | 0.00611 | 0.195902 | 9,566 | 251 | 94 | 38.111554 | 0.770801 | 0.221305 | 0 | 0.671642 | 0 | 0 | 0.068886 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 1 | 0.059701 | false | 0 | 0.029851 | 0 | 0.089552 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
905b0d4d395d245d250fe27d245afa6ff376a1dd | 603 | py | Python | tests/test_mppcommand.py | Inqbus/mpp-solar | 899c98785f8f58a431c04162eb653c41d043fca0 | [
"MIT"
] | null | null | null | tests/test_mppcommand.py | Inqbus/mpp-solar | 899c98785f8f58a431c04162eb653c41d043fca0 | [
"MIT"
] | null | null | null | tests/test_mppcommand.py | Inqbus/mpp-solar | 899c98785f8f58a431c04162eb653c41d043fca0 | [
"MIT"
] | null | null | null | import unittest
from mppsolar import mppcommand
from builtins import bytes
class test_mppcommand(unittest.TestCase):
def test_crc(self):
""" Test crc function generates correct crc """
self.assertListEqual(mppcommand.crc(bytes('QPIGS', 'utf-8')), [183, 169])
self.assertListEqual(mppcommand... | 43.071429 | 84 | 0.668325 | 76 | 603 | 5.276316 | 0.460526 | 0.236908 | 0.361596 | 0.399002 | 0.461347 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.159204 | 603 | 13 | 85 | 46.384615 | 0.714004 | 0.064677 | 0 | 0 | 1 | 0 | 0.08813 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.1 | false | 0 | 0.3 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
90a623d1b6652c78cad17cba8175991a2e33a2dc | 410 | py | Python | visualization.py | hynekdav/semi-supervised-VOS | 6b29baef2e4fd018502fb434e978e8e924fb84b1 | [
"MIT"
] | null | null | null | visualization.py | hynekdav/semi-supervised-VOS | 6b29baef2e4fd018502fb434e978e8e924fb84b1 | [
"MIT"
] | 2 | 2022-01-13T03:45:31.000Z | 2022-03-12T00:57:40.000Z | visualization.py | hynekdav/semi-supervised-VOS | 6b29baef2e4fd018502fb434e978e8e924fb84b1 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
# ! python3
import click
from src.visualization.overlay import overlay_command
from src.visualization.prediction_only import prediction_only_command
from src.visualization.side_by_side import side_by_side_command
@click.group(name='cli')
def cli():
pass
cli.add_command(overlay_comma... | 18.636364 | 69 | 0.804878 | 59 | 410 | 5.288136 | 0.355932 | 0.067308 | 0.192308 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.102439 | 410 | 21 | 70 | 19.52381 | 0.842391 | 0.080488 | 0 | 0 | 0 | 0 | 0.008021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0.090909 | 0.363636 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
90ad7d17c02755a881530ed8328a383053d6373b | 123 | py | Python | bbs_langtypes/admin.py | TakeshiOkamoto/mpp_bbs_dj | 0a91c9bf3e1450dc6d062f0beeba263faa33b1e3 | [
"MIT"
] | null | null | null | bbs_langtypes/admin.py | TakeshiOkamoto/mpp_bbs_dj | 0a91c9bf3e1450dc6d062f0beeba263faa33b1e3 | [
"MIT"
] | null | null | null | bbs_langtypes/admin.py | TakeshiOkamoto/mpp_bbs_dj | 0a91c9bf3e1450dc6d062f0beeba263faa33b1e3 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import LangType
admin.site.register(LangType)
| 17.571429 | 32 | 0.804878 | 17 | 123 | 5.823529 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 6 | 33 | 20.5 | 0.925234 | 0.211382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
90bee37ed35ad40264d484a02761d2ea60b709da | 485 | py | Python | src/core/schemas/token.py | ConnectAPI/Gateway | 95fc283ff8c730353709ebe14f613e74821c45a5 | [
"MIT"
] | null | null | null | src/core/schemas/token.py | ConnectAPI/Gateway | 95fc283ff8c730353709ebe14f613e74821c45a5 | [
"MIT"
] | null | null | null | src/core/schemas/token.py | ConnectAPI/Gateway | 95fc283ff8c730353709ebe14f613e74821c45a5 | [
"MIT"
] | null | null | null | from typing import List
from secrets import token_urlsafe
from datetime import datetime
from pydantic import BaseModel, Field
class NewTokenForm(BaseModel):
scopes: List[str] = Field(default_factory=list)
class Token(BaseModel):
tid: str = Field(default_factory=lambda: token_urlsafe(15))
refresh_token:... | 26.944444 | 73 | 0.762887 | 64 | 485 | 5.640625 | 0.4375 | 0.132964 | 0.210526 | 0.182825 | 0.221607 | 0.221607 | 0.221607 | 0 | 0 | 0 | 0 | 0.009732 | 0.152577 | 485 | 17 | 74 | 28.529412 | 0.868613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
90f4efb037a06d47b28cd5de6df852d474d488eb | 52 | py | Python | icarus/__init__.py | lybroman/Icarus | cc57d68b28a62dd02656ebd339aef534dc429fa8 | [
"MIT"
] | null | null | null | icarus/__init__.py | lybroman/Icarus | cc57d68b28a62dd02656ebd339aef534dc429fa8 | [
"MIT"
] | null | null | null | icarus/__init__.py | lybroman/Icarus | cc57d68b28a62dd02656ebd339aef534dc429fa8 | [
"MIT"
] | null | null | null | from app import Icarus
from suitcase import Suitcase | 26 | 29 | 0.865385 | 8 | 52 | 5.625 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 2 | 29 | 26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
90ff24ac7aa19ba91936b10177874ae9e3b74247 | 214 | py | Python | utilities/uuid.py | merretbuurman/rapydo-utils | 54cdbf2f39f262f50057656e04d47f19c5b56b11 | [
"MIT"
] | 3 | 2017-06-01T17:18:29.000Z | 2019-04-16T21:46:04.000Z | utilities/uuid.py | merretbuurman/rapydo-utils | 54cdbf2f39f262f50057656e04d47f19c5b56b11 | [
"MIT"
] | 20 | 2017-07-13T07:59:13.000Z | 2019-10-02T12:49:09.000Z | utilities/uuid.py | merretbuurman/rapydo-utils | 54cdbf2f39f262f50057656e04d47f19c5b56b11 | [
"MIT"
] | 3 | 2018-05-30T13:46:24.000Z | 2019-08-22T13:51:03.000Z | # -*- coding: utf-8 -*-
"""
Handling IDs in a more secure way
"""
import uuid
def getUUID():
return str(uuid.uuid4())
def getUUIDfromString(string):
return str(uuid.uuid5(uuid.NAMESPACE_URL, string))
| 13.375 | 54 | 0.663551 | 29 | 214 | 4.862069 | 0.758621 | 0.12766 | 0.184397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017143 | 0.182243 | 214 | 15 | 55 | 14.266667 | 0.788571 | 0.261682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
291c44e8c0ca8267aaae56febe5643f38ad17ab3 | 2,814 | py | Python | dagster_toolkit/tests/test_environment_dict.py | ib-da-ncirl/dagster_toolkit | fbe5eec1ab3b36198dd2c4bc441792d6c7a54d76 | [
"MIT"
] | null | null | null | dagster_toolkit/tests/test_environment_dict.py | ib-da-ncirl/dagster_toolkit | fbe5eec1ab3b36198dd2c4bc441792d6c7a54d76 | [
"MIT"
] | null | null | null | dagster_toolkit/tests/test_environment_dict.py | ib-da-ncirl/dagster_toolkit | fbe5eec1ab3b36198dd2c4bc441792d6c7a54d76 | [
"MIT"
] | null | null | null | from unittest import TestCase
from environ import EnvironmentDict
class TestEnvironmentDict(TestCase):
def test_add_solid(self):
environ = EnvironmentDict()
environ.add_solid('new_solid')
self.assertTrue('solids' in environ._e_dict.keys())
self.assertTrue('new_solid' in environ._... | 52.111111 | 132 | 0.679815 | 357 | 2,814 | 5.039216 | 0.081232 | 0.102279 | 0.153419 | 0.155642 | 0.850472 | 0.809339 | 0.760978 | 0.674263 | 0.654808 | 0.654808 | 0 | 0 | 0.145345 | 2,814 | 53 | 133 | 53.09434 | 0.748025 | 0 | 0 | 0.414634 | 0 | 0 | 0.245558 | 0 | 0 | 0 | 0 | 0 | 0.560976 | 1 | 0.121951 | false | 0 | 0.04878 | 0 | 0.195122 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
29360fe7f58b1c9e51134c4e7c95d9de924beafb | 43 | py | Python | papermill_report/__main__.py | ariadnext/papermill_report | 624526a32319842caf8414b50a4d0691312c1784 | [
"BSD-3-Clause"
] | 13 | 2020-12-04T09:34:56.000Z | 2022-03-14T15:31:40.000Z | papermill_report/__main__.py | ariadnext/papermill_report | 624526a32319842caf8414b50a4d0691312c1784 | [
"BSD-3-Clause"
] | null | null | null | papermill_report/__main__.py | ariadnext/papermill_report | 624526a32319842caf8414b50a4d0691312c1784 | [
"BSD-3-Clause"
] | null | null | null | from .papermill_report import main
main()
| 10.75 | 34 | 0.790698 | 6 | 43 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 3 | 35 | 14.333333 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2977dc368e847330f9f668e95e8ba52b94333999 | 46 | py | Python | je_editor/ui/ui_event/auto_save/__init__.py | JE-Chen/je_editor | 2f18dedb6f0eb27c38668dc53f520739c8d5c6c6 | [
"MIT"
] | 1 | 2021-12-10T14:57:15.000Z | 2021-12-10T14:57:15.000Z | je_editor/ui/ui_event/auto_save/__init__.py | JE-Chen/je_editor | 2f18dedb6f0eb27c38668dc53f520739c8d5c6c6 | [
"MIT"
] | null | null | null | je_editor/ui/ui_event/auto_save/__init__.py | JE-Chen/je_editor | 2f18dedb6f0eb27c38668dc53f520739c8d5c6c6 | [
"MIT"
] | null | null | null | from je_editor.ui.ui_event.auto_save import *
| 23 | 45 | 0.826087 | 9 | 46 | 3.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
297f7ca6f350ccef31b5714b73fbfc22d1788b64 | 59 | py | Python | action/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | action/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | action/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | from . import calculate_coordinates, generate_blender_file
| 29.5 | 58 | 0.881356 | 7 | 59 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 59 | 1 | 59 | 59 | 0.907407 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
465046cb6336f51ec637d1e733b96d84cfc73ec5 | 8,259 | py | Python | tests/infrastructure/sqlalechemy/repositories/test_base_repository.py | digitalservice4germany/erica | 7e07d88f3db78ab6e4f7cccad8dfef2a4b3a71b2 | [
"MIT"
] | 3 | 2022-01-31T15:17:17.000Z | 2022-03-01T16:15:47.000Z | tests/infrastructure/sqlalechemy/repositories/test_base_repository.py | digitalservice4germany/erica | 7e07d88f3db78ab6e4f7cccad8dfef2a4b3a71b2 | [
"MIT"
] | 59 | 2022-01-31T14:04:20.000Z | 2022-03-31T20:08:47.000Z | tests/infrastructure/sqlalechemy/repositories/test_base_repository.py | digitalservice4germany/erica | 7e07d88f3db78ab6e4f7cccad8dfef2a4b3a71b2 | [
"MIT"
] | 1 | 2022-03-10T09:24:28.000Z | 2022-03-10T09:24:28.000Z | from abc import ABC
from unittest.mock import MagicMock, call
from uuid import uuid4, UUID
import pytest
from erica.domain.repositories.base_repository_interface import BaseRepositoryInterface
from erica.infrastructure.sqlalchemy.repositories.base_repository import BaseRepository, EntityNotFoundError
from tests.infra... | 49.753012 | 146 | 0.782056 | 955 | 8,259 | 6.277487 | 0.129843 | 0.153461 | 0.184153 | 0.214846 | 0.758966 | 0.745955 | 0.729608 | 0.696747 | 0.665555 | 0.645538 | 0 | 0.005901 | 0.138273 | 8,259 | 165 | 147 | 50.054545 | 0.836448 | 0.009323 | 0 | 0.441441 | 0 | 0 | 0.032645 | 0.004402 | 0 | 0 | 0 | 0 | 0.108108 | 1 | 0.126126 | false | 0 | 0.063063 | 0 | 0.243243 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4664dc735f138fa97cdbb7b044ec0b44f3a80e27 | 90 | py | Python | setup_files/tests/unitary_tests.py | AnthoOzier/ktest | de9273575986a2b578bdb894703f397e5d7749c7 | [
"MIT"
] | null | null | null | setup_files/tests/unitary_tests.py | AnthoOzier/ktest | de9273575986a2b578bdb894703f397e5d7749c7 | [
"MIT"
] | null | null | null | setup_files/tests/unitary_tests.py | AnthoOzier/ktest | de9273575986a2b578bdb894703f397e5d7749c7 | [
"MIT"
] | null | null | null | import unittest
from ktest import Tester
class TestTester(unittest.TestCase):
test
| 12.857143 | 36 | 0.777778 | 11 | 90 | 6.363636 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 6 | 37 | 15 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
467a7428a4820184c04fed21707e80a485235a4b | 2,782 | py | Python | tests/test_sorting_reversing.py | grantps/superhelp | d8e861bf1ad91571ac23b9c833a8cd461bb1952f | [
"MIT"
] | 27 | 2020-05-17T20:48:43.000Z | 2022-01-08T21:32:30.000Z | tests/test_sorting_reversing.py | grantps/superhelp | d8e861bf1ad91571ac23b9c833a8cd461bb1952f | [
"MIT"
] | null | null | null | tests/test_sorting_reversing.py | grantps/superhelp | d8e861bf1ad91571ac23b9c833a8cd461bb1952f | [
"MIT"
] | null | null | null | from textwrap import dedent
from tests import check_as_expected
ROOT = 'superhelp.helpers.sorting_reversing_help.'
def test_misc():
test_conf = [
(
dedent("""\
pet = 'cat'
"""),
{
ROOT + 'sorting_reversing_overview': 0,
ROOT ... | 27.27451 | 66 | 0.387491 | 233 | 2,782 | 4.317597 | 0.223176 | 0.159046 | 0.178926 | 0.250497 | 0.82008 | 0.814115 | 0.802187 | 0.695825 | 0.695825 | 0.689861 | 0 | 0.019741 | 0.471963 | 2,782 | 101 | 67 | 27.544554 | 0.665078 | 0.003954 | 0 | 0.59375 | 0 | 0 | 0.473456 | 0.111593 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010417 | false | 0 | 0.020833 | 0 | 0.03125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4686335ba402d0083d7da29190b97e3ce3edc1fa | 169 | py | Python | allauth/socialaccount/providers/doximity/urls.py | mina-gaid/scp-stock-forcasting | 38e1cd303d4728a987df117f666ce194e241ed1a | [
"MIT"
] | 1 | 2018-04-06T21:36:59.000Z | 2018-04-06T21:36:59.000Z | allauth/socialaccount/providers/doximity/urls.py | mina-gaid/scp-stock-forcasting | 38e1cd303d4728a987df117f666ce194e241ed1a | [
"MIT"
] | 6 | 2020-06-05T18:44:19.000Z | 2022-01-13T00:48:56.000Z | allauth/socialaccount/providers/doximity/urls.py | mina-gaid/scp-stock-forcasting | 38e1cd303d4728a987df117f666ce194e241ed1a | [
"MIT"
] | null | null | null | from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
from .provider import DoximityProvider
urlpatterns = default_urlpatterns(DoximityProvider)
| 28.166667 | 75 | 0.87574 | 17 | 169 | 8.588235 | 0.647059 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.076923 | 169 | 5 | 76 | 33.8 | 0.929487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
46aaeb7c961aca1f90d800327c55dcad41831464 | 96 | py | Python | services/postgres/shared_functions/run_migrations.py | buckmaxwell/jukebox | 3b04fd1e38e9d3f57d86cf6695bcc3d8e8126681 | [
"MIT"
] | 1 | 2020-08-11T16:19:49.000Z | 2020-08-11T16:19:49.000Z | services/postgres/shared_functions/run_migrations.py | buckmaxwell/jukebox | 3b04fd1e38e9d3f57d86cf6695bcc3d8e8126681 | [
"MIT"
] | 39 | 2020-05-06T05:27:19.000Z | 2022-02-27T08:35:36.000Z | services/postgres/shared_functions/run_migrations.py | buckmaxwell/jukebox | 3b04fd1e38e9d3f57d86cf6695bcc3d8e8126681 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from migrator import run_migrations
run_migrations("shared_functions")
| 16 | 35 | 0.8125 | 13 | 96 | 5.769231 | 0.846154 | 0.346667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.09375 | 96 | 5 | 36 | 19.2 | 0.850575 | 0.21875 | 0 | 0 | 0 | 0 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
46af8406c76913a5bf75c4e378946405e1b2dd88 | 63 | py | Python | 03/3 - The Great Escape.py | Surferlul/csc-python-solutions | bea99e5e1e344d17fb2cb29d8bcbc6b108e24cee | [
"MIT"
] | null | null | null | 03/3 - The Great Escape.py | Surferlul/csc-python-solutions | bea99e5e1e344d17fb2cb29d8bcbc6b108e24cee | [
"MIT"
] | null | null | null | 03/3 - The Great Escape.py | Surferlul/csc-python-solutions | bea99e5e1e344d17fb2cb29d8bcbc6b108e24cee | [
"MIT"
] | null | null | null | print("A double-quote's escaped using a backslash, e.g. \\\"")
| 31.5 | 62 | 0.666667 | 11 | 63 | 3.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 1 | 63 | 63 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0.825397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
314021fe8c6e889618a59529e0adf623c31c3083 | 113 | py | Python | bnbphoneticparser/__init__.py | porimol/BengaliPhoneticParser | 27ed428f92adc5b2662e26b8652d2b611f1ab33c | [
"MIT"
] | 18 | 2018-04-06T17:10:37.000Z | 2021-01-29T13:09:19.000Z | bnbphoneticparser/__init__.py | porimol/BengaliPhoneticParser | 27ed428f92adc5b2662e26b8652d2b611f1ab33c | [
"MIT"
] | 4 | 2018-04-07T05:59:41.000Z | 2020-10-27T06:20:56.000Z | bnbphoneticparser/__init__.py | porimol/BengaliPhoneticParser | 27ed428f92adc5b2662e26b8652d2b611f1ab33c | [
"MIT"
] | 8 | 2018-04-06T17:03:23.000Z | 2021-02-08T15:33:05.000Z | # coding=utf-8
from .bengalitobanglish import BengaliToBanglish
from .banglishtobengali import BanglishToBengali
| 28.25 | 48 | 0.867257 | 11 | 113 | 8.909091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.088496 | 113 | 3 | 49 | 37.666667 | 0.941748 | 0.106195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
316a040544c141e22bcd9dda11ce231257174bd4 | 379 | py | Python | two_fer.py | caiocampos/Python-Random-Stuff | 5e9005e7dec776e9af0c407d063624d041d3c84c | [
"MIT"
] | null | null | null | two_fer.py | caiocampos/Python-Random-Stuff | 5e9005e7dec776e9af0c407d063624d041d3c84c | [
"MIT"
] | null | null | null | two_fer.py | caiocampos/Python-Random-Stuff | 5e9005e7dec776e9af0c407d063624d041d3c84c | [
"MIT"
] | null | null | null | def two_fer_va(name=None):
if name is None:
name = 'you'
return f'One for {name}, one for me.'
def two_fer_vb(name=None):
return f'One for {"you" if name is None else name}, one for me.'
def two_fer_vc(name=None):
return f'One for {name or "you"}, one for me.'
def two_fer_vd(name='you'):
... | 25.266667 | 68 | 0.641161 | 75 | 379 | 3.093333 | 0.253333 | 0.206897 | 0.155172 | 0.224138 | 0.676724 | 0.659483 | 0.405172 | 0.275862 | 0.275862 | 0.275862 | 0 | 0 | 0.224274 | 379 | 15 | 69 | 25.266667 | 0.789116 | 0 | 0 | 0.181818 | 0 | 0 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 5 |
3175ed5ccd91a2f9a965b022fd6e977698b559e3 | 94 | py | Python | api/models/__init__.py | p0lygun/astounding-arapaimas | f82dbb2ec75ab7d98da6a46a1276c12583048b3c | [
"MIT"
] | null | null | null | api/models/__init__.py | p0lygun/astounding-arapaimas | f82dbb2ec75ab7d98da6a46a1276c12583048b3c | [
"MIT"
] | 19 | 2021-07-11T10:02:08.000Z | 2021-07-20T14:58:29.000Z | api/models/__init__.py | p0lygun/astounding-arapaimas | f82dbb2ec75ab7d98da6a46a1276c12583048b3c | [
"MIT"
] | null | null | null | from api.models.game import Game # noqa: F401
from api.models.user import User # noqa: F401
| 31.333333 | 46 | 0.744681 | 16 | 94 | 4.375 | 0.5 | 0.2 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.170213 | 94 | 2 | 47 | 47 | 0.820513 | 0.223404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
31884eca75e1a3469faae7b5ec3c052da83623ad | 209 | py | Python | TradzQAI/core/__init__.py | kkuette/AI_project | 1f46cb2536b24cb3716250f1e9705daa76af4f60 | [
"Apache-2.0"
] | 164 | 2017-11-24T13:07:04.000Z | 2022-03-10T04:54:46.000Z | TradzQAI/core/__init__.py | kkuette/AI_project | 1f46cb2536b24cb3716250f1e9705daa76af4f60 | [
"Apache-2.0"
] | 21 | 2018-09-29T10:27:10.000Z | 2019-06-12T07:01:58.000Z | TradzQAI/core/__init__.py | kkuette/AI_project | 1f46cb2536b24cb3716250f1e9705daa76af4f60 | [
"Apache-2.0"
] | 49 | 2018-05-09T17:28:52.000Z | 2022-02-27T04:50:45.000Z | from .environnement import Local_env
from .environnement import Live_env
from .worker import Local_Worker
from .worker import Live_Worker
from .session import Local_session
from .session import Live_session
| 23.222222 | 36 | 0.84689 | 30 | 209 | 5.7 | 0.266667 | 0.192982 | 0.269006 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124402 | 209 | 8 | 37 | 26.125 | 0.934426 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
318c474bee597309cbea1796dfd3e9c2886e6e75 | 173 | py | Python | custom_components/local_luftdaten/__init__.py | Aulos/local_luftdaten | b7ea6bc60605579b50046c191788bba9e8135889 | [
"MIT"
] | 163 | 2020-08-01T12:19:46.000Z | 2022-03-28T09:04:57.000Z | custom_components/local_luftdaten/__init__.py | Aulos/local_luftdaten | b7ea6bc60605579b50046c191788bba9e8135889 | [
"MIT"
] | 81 | 2020-08-04T00:28:46.000Z | 2022-03-29T15:48:51.000Z | custom_components/local_luftdaten/__init__.py | Aulos/local_luftdaten | b7ea6bc60605579b50046c191788bba9e8135889 | [
"MIT"
] | 28 | 2020-08-02T12:02:24.000Z | 2022-03-22T00:07:34.000Z | """
Support for local Luftdaten sensors.
Copyright (c) 2019 Mario Villavecchia
Licensed under MIT. All rights reserved.
https://github.com/lichtteil/local_luftdaten/
"""
| 17.3 | 45 | 0.768786 | 22 | 173 | 6 | 0.909091 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02649 | 0.127168 | 173 | 9 | 46 | 19.222222 | 0.847682 | 0.947977 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
319b9adbab5a4b6eb430e22e6d8084d79c8b32fa | 1,132 | py | Python | pythonScript/process/__init__.py | ulsdevteam/ccvgd-database | b9068d4d50ed9140a8a0d320363bf244a73fdb9f | [
"MIT"
] | 1 | 2021-09-08T14:49:52.000Z | 2021-09-08T14:49:52.000Z | pythonScript/process/__init__.py | ulsdevteam/ccvgd-database | b9068d4d50ed9140a8a0d320363bf244a73fdb9f | [
"MIT"
] | 3 | 2020-10-22T20:02:46.000Z | 2021-07-28T20:53:28.000Z | pythonScript/process/__init__.py | ulsdevteam/ccvgd-database | b9068d4d50ed9140a8a0d320363bf244a73fdb9f | [
"MIT"
] | null | null | null |
from process.process_csv_Village_Information import create_csv_village_and_address, create_csv_city_county_province
from process.process_Category import create_csv_category
from process.process_csv_Economy_Yearly_Range import create_csv_economy_economyUnit
from process.process_csv_Education_Yearly_Range import create_... | 80.857143 | 115 | 0.940813 | 150 | 1,132 | 6.54 | 0.28 | 0.12844 | 0.238532 | 0.256881 | 0.20999 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04682 | 1,132 | 14 | 116 | 80.857143 | 0.909175 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
31e4a493d5ac20fbe86f141b3a761e3c8813b9f1 | 34 | py | Python | grafana_script/__init__.py | NETHINKS/cmdbToGrafana | 056e872a26c3578562546aa94a7d71bd6e78d7a2 | [
"MIT"
] | 1 | 2019-12-17T14:45:57.000Z | 2019-12-17T14:45:57.000Z | grafana_script/__init__.py | pkremser/cmdbToGrafana | 056e872a26c3578562546aa94a7d71bd6e78d7a2 | [
"MIT"
] | null | null | null | grafana_script/__init__.py | pkremser/cmdbToGrafana | 056e872a26c3578562546aa94a7d71bd6e78d7a2 | [
"MIT"
] | null | null | null | # pylint: disable=too-many-locals
| 17 | 33 | 0.764706 | 5 | 34 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.83871 | 0.911765 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
73005427c76fcef869587323f0bd319ac9d917a8 | 45 | py | Python | processor/__init__.py | SeongSuKim95/Re-ID-baseline | b145bba712492f7a93cd3771e007fa694b1c44b6 | [
"MIT"
] | 297 | 2021-03-26T14:29:47.000Z | 2021-09-10T11:33:56.000Z | PASS_transreid/processor/__init__.py | CASIA-IVA-Lab/PASS-reID | 46dc6d25f4396e35ac1a766ad2dcaa580beccf15 | [
"Apache-2.0"
] | 31 | 2019-06-13T02:03:22.000Z | 2021-12-30T03:55:46.000Z | PASS_transreid/processor/__init__.py | CASIA-IVA-Lab/PASS-reID | 46dc6d25f4396e35ac1a766ad2dcaa580beccf15 | [
"Apache-2.0"
] | 71 | 2019-06-17T01:10:08.000Z | 2022-03-03T06:51:48.000Z | from .processor import do_train, do_inference | 45 | 45 | 0.866667 | 7 | 45 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 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 | 0 | 0 | 0 | 5 |
7301d5874a512e00fff36892577cdea81f0d9b9b | 149 | py | Python | imdb_rest/movies/__init__.py | ExtRemoSolutions/imdb-importer | bec5272c7f457fc7412ebd7051bd041dd1288d81 | [
"MIT"
] | null | null | null | imdb_rest/movies/__init__.py | ExtRemoSolutions/imdb-importer | bec5272c7f457fc7412ebd7051bd041dd1288d81 | [
"MIT"
] | null | null | null | imdb_rest/movies/__init__.py | ExtRemoSolutions/imdb-importer | bec5272c7f457fc7412ebd7051bd041dd1288d81 | [
"MIT"
] | null | null | null | from flask import Blueprint
# Create blueprint for movies module
mod_movies = Blueprint('movies', __name__)
from imdb_rest.movies.movies import *
| 18.625 | 42 | 0.791946 | 20 | 149 | 5.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14094 | 149 | 7 | 43 | 21.285714 | 0.875 | 0.228188 | 0 | 0 | 0 | 0 | 0.053097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
732a48903b514a9e4b804fa4ab7bd97ca2b78095 | 3,316 | py | Python | structure/migrations/0033_auto_20201110_0856.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 21 | 2016-01-20T09:33:14.000Z | 2021-12-20T19:19:45.000Z | structure/migrations/0033_auto_20201110_0856.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 75 | 2016-02-26T16:29:58.000Z | 2022-03-21T12:35:13.000Z | structure/migrations/0033_auto_20201110_0856.py | pszgaspar/protwis | 4989a67175ef3c95047d795c843cf6b9cf4141fa | [
"Apache-2.0"
] | 77 | 2016-01-22T08:44:26.000Z | 2022-02-01T15:54:56.000Z | # Generated by Django 3.0.3 on 2020-11-10 07:56
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('structure', '0032_structure_author_state'),
]
operations = [
migrations.RemoveField(
model_name... | 34.905263 | 154 | 0.593486 | 297 | 3,316 | 6.454545 | 0.23569 | 0.079812 | 0.239437 | 0.274909 | 0.805425 | 0.803339 | 0.606155 | 0.44288 | 0.44288 | 0.44288 | 0 | 0.016281 | 0.29614 | 3,316 | 94 | 155 | 35.276596 | 0.805056 | 0.013571 | 0 | 0.681818 | 1 | 0 | 0.175283 | 0.015601 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022727 | 0 | 0.056818 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7348275eb96b8773c594f909a3edcdd1f53bfa85 | 61 | py | Python | mnistetude/network/__init__.py | aram-father/mnist-etude | 3f9196a7ae3447c3412507896c3dc3ae81f9d7d0 | [
"BSD-2-Clause"
] | null | null | null | mnistetude/network/__init__.py | aram-father/mnist-etude | 3f9196a7ae3447c3412507896c3dc3ae81f9d7d0 | [
"BSD-2-Clause"
] | 1 | 2022-03-18T03:14:13.000Z | 2022-03-18T03:14:13.000Z | mnistetude/network/__init__.py | aram-father/mnist-etude | 3f9196a7ae3447c3412507896c3dc3ae81f9d7d0 | [
"BSD-2-Clause"
] | null | null | null | from .multi_layer_perceptron import *
from .inetwork import * | 30.5 | 37 | 0.819672 | 8 | 61 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 2 | 38 | 30.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
735da70919b85a80d0956dfe607c01ea1fe0addb | 142 | py | Python | tubelib/src/twitch/__init__.py | FoxyRabbit67/enigma2-plugins | f6b94012726931fdf28e80a26226aec612b350de | [
"Linux-OpenIB"
] | 41 | 2016-01-21T17:54:44.000Z | 2021-06-26T05:54:41.000Z | tubelib/src/twitch/__init__.py | FoxyRabbit67/enigma2-plugins | f6b94012726931fdf28e80a26226aec612b350de | [
"Linux-OpenIB"
] | 22 | 2016-11-16T11:25:26.000Z | 2021-12-13T09:13:06.000Z | tubelib/src/twitch/__init__.py | FoxyRabbit67/enigma2-plugins | f6b94012726931fdf28e80a26226aec612b350de | [
"Linux-OpenIB"
] | 62 | 2016-02-05T22:55:48.000Z | 2022-03-12T21:48:22.000Z | import sys
sys.argv = ["enigma2"] #HACKFIX FOR argparse reading sys.argv[0] wihtout checking sys.argc
import TwitchChannelListServiceProvider | 35.5 | 90 | 0.816901 | 18 | 142 | 6.444444 | 0.722222 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015748 | 0.105634 | 142 | 4 | 91 | 35.5 | 0.897638 | 0.464789 | 0 | 0 | 0 | 0 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b425949cd1e98727d096486dbda047346d5a060a | 231 | py | Python | takeoff/generators/api/__init__.py | themarceloribeiro/takeoff-py | dfa4c58ccd9146f82ffe4d5f76aa2a258d3c0d7c | [
"MIT"
] | null | null | null | takeoff/generators/api/__init__.py | themarceloribeiro/takeoff-py | dfa4c58ccd9146f82ffe4d5f76aa2a258d3c0d7c | [
"MIT"
] | null | null | null | takeoff/generators/api/__init__.py | themarceloribeiro/takeoff-py | dfa4c58ccd9146f82ffe4d5f76aa2a258d3c0d7c | [
"MIT"
] | null | null | null | from .api_project_generator import ApiProjectGenerator
from .api_model_generator import ApiModelGenerator
from .api_authentication_generator import ApiAuthenticationGenerator
from .api_resource_generator import ApiResourceGenerator | 57.75 | 68 | 0.917749 | 24 | 231 | 8.5 | 0.5 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064935 | 231 | 4 | 69 | 57.75 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b4470b68277369bf054845955970e8a850527240 | 72 | py | Python | client/makieta.py | ILoveMuffins/WWW-MVC-_test | d2085ca555c343302fff71e547d9b0aba704026a | [
"MIT"
] | null | null | null | client/makieta.py | ILoveMuffins/WWW-MVC-_test | d2085ca555c343302fff71e547d9b0aba704026a | [
"MIT"
] | null | null | null | client/makieta.py | ILoveMuffins/WWW-MVC-_test | d2085ca555c343302fff71e547d9b0aba704026a | [
"MIT"
] | null | null | null |
class Makieta:
def __init__(self, dane):
self.dane = dane
| 12 | 29 | 0.597222 | 9 | 72 | 4.333333 | 0.666667 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305556 | 72 | 5 | 30 | 14.4 | 0.78 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
b45aadfc8eebaa435e326ec73097818b8266bd3e | 121 | py | Python | src/walking_habits/exceptions.py | V3RON/walking-habits | 5c06fb4e53816f9e016bab034262a11bbade7ae3 | [
"MIT"
] | null | null | null | src/walking_habits/exceptions.py | V3RON/walking-habits | 5c06fb4e53816f9e016bab034262a11bbade7ae3 | [
"MIT"
] | null | null | null | src/walking_habits/exceptions.py | V3RON/walking-habits | 5c06fb4e53816f9e016bab034262a11bbade7ae3 | [
"MIT"
] | 1 | 2020-01-09T20:55:39.000Z | 2020-01-09T20:55:39.000Z | class Walking_HabitsBaseException(Exception):
pass
class InvalidLayoutError(Walking_HabitsBaseException):
pass
| 17.285714 | 54 | 0.818182 | 10 | 121 | 9.7 | 0.6 | 0.536082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 121 | 6 | 55 | 20.166667 | 0.92381 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
81ebc6cdcdd305f009eca57223c6dd9f9edc69db | 138 | py | Python | tests/basics/int_bytes_long.py | ARF1/micropython | dacba223889746ea809dc9cbaa563a2573712f15 | [
"MIT"
] | 8 | 2017-01-08T19:45:01.000Z | 2020-09-07T04:39:10.000Z | tests/basics/int_bytes_long.py | ARF1/micropython | dacba223889746ea809dc9cbaa563a2573712f15 | [
"MIT"
] | null | null | null | tests/basics/int_bytes_long.py | ARF1/micropython | dacba223889746ea809dc9cbaa563a2573712f15 | [
"MIT"
] | 6 | 2017-10-26T20:07:56.000Z | 2021-05-27T00:19:51.000Z | b = bytes(range(20))
il = int.from_bytes(b, "little")
ib = int.from_bytes(b, "big")
print(il)
print(ib)
print(il.to_bytes(20, "little"))
| 17.25 | 32 | 0.65942 | 26 | 138 | 3.384615 | 0.461538 | 0.159091 | 0.272727 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.115942 | 138 | 7 | 33 | 19.714286 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
81ecb8c486d3c3fb068c758c8a47c2d3e553e204 | 946 | py | Python | swagger/broker-client/test/test_api_response.py | tarehart/RLBotTwitchBroker | 3c82a2d08a97faa2406fa1c3ffbb196a10416152 | [
"MIT"
] | 2 | 2020-05-27T17:41:35.000Z | 2020-05-29T20:59:04.000Z | swagger/broker-client/test/test_api_response.py | tarehart/RLBotTwitchBroker | 3c82a2d08a97faa2406fa1c3ffbb196a10416152 | [
"MIT"
] | 1 | 2020-10-13T23:45:06.000Z | 2020-10-13T23:45:06.000Z | swagger/broker-client/test/test_api_response.py | tarehart/RLBotTwitchBroker | 3c82a2d08a97faa2406fa1c3ffbb196a10416152 | [
"MIT"
] | 2 | 2020-06-07T14:52:33.000Z | 2020-06-22T12:14:39.000Z | # coding: utf-8
"""
RLBot Twitch Broker
Allows custom Rocket League bots to register themselves with a central broker. # noqa: E501
OpenAPI spec version: 1.0.0
Contact: rlbotofficial@gmail.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_i... | 23.65 | 96 | 0.714588 | 115 | 946 | 5.669565 | 0.6 | 0.067485 | 0.104294 | 0.105828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017287 | 0.205074 | 946 | 39 | 97 | 24.25641 | 0.849734 | 0.489429 | 0 | 0.214286 | 0 | 0 | 0.018141 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
c304273810300198a7ca5b9e582f7f034a97ada5 | 38 | py | Python | particles/foreign_distributions/__init__.py | maxjcohen/particles | 359128679cdffe3985adad4028db4cf7b3aed076 | [
"MIT"
] | null | null | null | particles/foreign_distributions/__init__.py | maxjcohen/particles | 359128679cdffe3985adad4028db4cf7b3aed076 | [
"MIT"
] | null | null | null | particles/foreign_distributions/__init__.py | maxjcohen/particles | 359128679cdffe3985adad4028db4cf7b3aed076 | [
"MIT"
] | null | null | null | from .torch import torch_distribution
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 | 0 | 0 | 0 | 5 |
c30ab9b78b790ad75c2cd17722fc96b44494e134 | 14,306 | py | Python | permutations.py | YanshuHu/combinatorics-oj1 | 551286aaac63094b74a3bbb00462a1bd696608fd | [
"Apache-2.0"
] | null | null | null | permutations.py | YanshuHu/combinatorics-oj1 | 551286aaac63094b74a3bbb00462a1bd696608fd | [
"Apache-2.0"
] | null | null | null | permutations.py | YanshuHu/combinatorics-oj1 | 551286aaac63094b74a3bbb00462a1bd696608fd | [
"Apache-2.0"
] | null | null | null | # lst1 = [8,3,9,6,4,7,5,2,1]
# lst2 = [10,11,12,8,3,9,6,4,7,5,2,1]
# lst3 = [8,9,3,6,7,4,5,2,1]
# lst4 = [8,3,9,6,4,7,5,2,1]
# lst = [7, 2, 6, 4, 2, 3, 2, 1]
# lst5 = [14, 4, 8, 17, 16, 2, 12, 6, 18, 3, 10, 13, 9, 5, 1, 11, 19, 15, 7, 20]
# lst6 = [1, 17, 11, 20, 7, 15, 13, 10, 6, 16, 12, 19, 8, 18, 5, 3, 4, 14, 9, 2]
... | 28.612 | 80 | 0.504893 | 2,207 | 14,306 | 3.085184 | 0.057997 | 0.048465 | 0.034366 | 0.019386 | 0.78969 | 0.754443 | 0.731826 | 0.707446 | 0.690997 | 0.657365 | 0 | 0.04938 | 0.334685 | 14,306 | 499 | 81 | 28.669339 | 0.666001 | 0.141829 | 0 | 0.757653 | 0 | 0 | 0.001903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048469 | false | 0 | 0 | 0 | 0.094388 | 0.007653 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c31a9fec5f0da5caa5e0f4d5dc66854b532acfd2 | 148 | py | Python | python_plsql/__init__.py | LatvianPython/python_plsql | 26d8b51be5250ef195c5fc8777fde874b52626e4 | [
"MIT"
] | 3 | 2019-11-08T21:39:24.000Z | 2020-11-02T19:06:03.000Z | python_plsql/__init__.py | LatvianPython/python_plsql | 26d8b51be5250ef195c5fc8777fde874b52626e4 | [
"MIT"
] | null | null | null | python_plsql/__init__.py | LatvianPython/python_plsql | 26d8b51be5250ef195c5fc8777fde874b52626e4 | [
"MIT"
] | 1 | 2020-02-16T12:09:47.000Z | 2020-02-16T12:09:47.000Z | from cx_Oracle import DatabaseError
from .client import Database
from .client import NotFound
__all__ = ["Database", "NotFound", "DatabaseError"]
| 21.142857 | 51 | 0.783784 | 17 | 148 | 6.529412 | 0.529412 | 0.18018 | 0.288288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 148 | 6 | 52 | 24.666667 | 0.860465 | 0 | 0 | 0 | 0 | 0 | 0.195946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c321dc356211c87f793fe1df65d036b97639551d | 44 | py | Python | lib/exceptions.py | sschwetz/network_tech | fc65166e71bfdb5a0e99ca7e7ce9f7814b92869b | [
"Apache-2.0"
] | 73 | 2017-05-04T06:35:20.000Z | 2022-02-03T13:57:00.000Z | lib/exceptions.py | sschwetz/network_tech | fc65166e71bfdb5a0e99ca7e7ce9f7814b92869b | [
"Apache-2.0"
] | 35 | 2017-11-09T16:28:48.000Z | 2022-01-12T08:15:48.000Z | lib/exceptions.py | sschwetz/network_tech | fc65166e71bfdb5a0e99ca7e7ce9f7814b92869b | [
"Apache-2.0"
] | 20 | 2017-11-08T05:07:59.000Z | 2021-12-09T17:41:06.000Z | class InvalidPassword(Exception):
pass
| 11 | 33 | 0.75 | 4 | 44 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 3 | 34 | 14.666667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c34ac6ba82e3c98c21fda4f0a45d0f3f6a4e9b7c | 15,095 | py | Python | Wrappers/Python/test/test_PluginsTigre_General.py | samdporter/CIL | cd37de8e3d757674f61236f9943792d106bab428 | [
"Apache-2.0"
] | null | null | null | Wrappers/Python/test/test_PluginsTigre_General.py | samdporter/CIL | cd37de8e3d757674f61236f9943792d106bab428 | [
"Apache-2.0"
] | null | null | null | Wrappers/Python/test/test_PluginsTigre_General.py | samdporter/CIL | cd37de8e3d757674f61236f9943792d106bab428 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# This work is part of the Core Imaging Library (CIL) developed by CCPi
# (Collaborative Computational Project in Tomographic Imaging), with
# substantial contributions by UKRI-STFC and University of Manchester.
# Licensed under the Apache License, Version 2.0 (the "License");
# you... | 47.024922 | 168 | 0.669228 | 2,046 | 15,095 | 4.70088 | 0.120235 | 0.095654 | 0.098253 | 0.150655 | 0.789249 | 0.75078 | 0.75078 | 0.740175 | 0.704408 | 0.676024 | 0 | 0.02043 | 0.212057 | 15,095 | 320 | 169 | 47.171875 | 0.788213 | 0.061212 | 0 | 0.600962 | 0 | 0 | 0.033072 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.057692 | false | 0 | 0.038462 | 0 | 0.105769 | 0.004808 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c377ae1623975639ed8321262ccbf34198c97dba | 272 | py | Python | tflib/__init__.py | tonyshao5/Tensorflow-up | f8f8fce9436c40cad298f6211db2be3a18480bad | [
"MIT"
] | 50 | 2017-10-14T15:04:45.000Z | 2022-02-28T13:44:26.000Z | tflib/__init__.py | tonyshao5/Tensorflow-up | f8f8fce9436c40cad298f6211db2be3a18480bad | [
"MIT"
] | 1 | 2019-05-16T18:22:46.000Z | 2019-05-27T22:26:57.000Z | tflib/__init__.py | tonyshao5/Tensorflow-up | f8f8fce9436c40cad298f6211db2be3a18480bad | [
"MIT"
] | 17 | 2018-06-19T07:19:29.000Z | 2021-04-04T16:56:03.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from tflib.checkpoint import *
from tflib.data import *
from tflib.ops import *
from tflib.utils import *
from tflib.variable import *
from tflib.vision import *
| 24.727273 | 38 | 0.819853 | 38 | 272 | 5.5 | 0.368421 | 0.287081 | 0.358852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136029 | 272 | 10 | 39 | 27.2 | 0.889362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.111111 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6f1ece75a11c1aeb453e622b1b66fd8ba42377ac | 39 | py | Python | mpf/file_interfaces/__init__.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 163 | 2015-01-25T02:19:50.000Z | 2022-03-26T12:00:28.000Z | mpf/file_interfaces/__init__.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 1,086 | 2015-03-23T19:53:17.000Z | 2022-03-24T20:46:11.000Z | mpf/file_interfaces/__init__.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 148 | 2015-01-28T02:31:39.000Z | 2022-03-22T13:54:01.000Z | """Contains config file interfaces."""
| 19.5 | 38 | 0.717949 | 4 | 39 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.8 | 0.820513 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f20dabcce2256826a0d68d4739f5092d1c5a317 | 104 | py | Python | spinesTS/preprocessing/__init__.py | BirchKwok/spinesTS | b88ec333f41f58979e0570177d1fdc364d976056 | [
"Apache-2.0"
] | 2 | 2021-08-15T09:29:37.000Z | 2022-03-10T13:56:13.000Z | spinesTS/preprocessing/__init__.py | BirchKwok/spinesTS | b88ec333f41f58979e0570177d1fdc364d976056 | [
"Apache-2.0"
] | null | null | null | spinesTS/preprocessing/__init__.py | BirchKwok/spinesTS | b88ec333f41f58979e0570177d1fdc364d976056 | [
"Apache-2.0"
] | null | null | null | from ._split_seq import split_series, train_test_split_ts
from ._gaussian_rank import GaussRankScaler
| 34.666667 | 58 | 0.865385 | 15 | 104 | 5.466667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 104 | 2 | 59 | 52 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6f25984ed6beab502d525a983fd9ddd1c6aab74b | 328 | py | Python | app/utils/errors/__init__.py | Jajc09/sifco-api | ef1af2a48513695f7a7a5a82d0d96d1c256908f3 | [
"MIT"
] | null | null | null | app/utils/errors/__init__.py | Jajc09/sifco-api | ef1af2a48513695f7a7a5a82d0d96d1c256908f3 | [
"MIT"
] | null | null | null | app/utils/errors/__init__.py | Jajc09/sifco-api | ef1af2a48513695f7a7a5a82d0d96d1c256908f3 | [
"MIT"
] | null | null | null | # rutas de las diferentes clases a ejecutar dentro de errors
from app.utils.errors.NotFoundException import NotFoundException
from app.utils.errors.BadRequestException import BadRequestException
from app.utils.errors.KeyErrorException import KeyErrorException
from app.utils.errors.BadLengthException import BadLengthE... | 46.857143 | 68 | 0.875 | 38 | 328 | 7.552632 | 0.447368 | 0.097561 | 0.167247 | 0.250871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 328 | 7 | 69 | 46.857143 | 0.956667 | 0.176829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6f2abcce44f7453fcda82d2ce0bc931ba3f8e9b7 | 996 | py | Python | tests/.stage2_default/verify.d/test_mysql.py | exphost/exphost.mysql_content | 6f58cf432af4eb113a7d64c0e44057c6658e05ec | [
"MIT"
] | null | null | null | tests/.stage2_default/verify.d/test_mysql.py | exphost/exphost.mysql_content | 6f58cf432af4eb113a7d64c0e44057c6658e05ec | [
"MIT"
] | 1 | 2021-09-23T23:33:37.000Z | 2021-09-23T23:33:37.000Z | tests/test_centos8_default/verify.d/test_mysql.py | exphost/exphost.mysql_content | 6f58cf432af4eb113a7d64c0e44057c6658e05ec | [
"MIT"
] | null | null | null | def test_mysql_process(host):
assert host.service("my_db-mysql").is_running
assert host.service("my_db-mysql").is_enabled
def test_check_mysql_access(host):
assert host.run("mysql --protocol=tcp -h 127.0.0.1 -u u1 -P 13306 -ppassword1 db1").succeeded
assert host.run("mysql --protocol=tcp -h 127.0.0.1 -... | 62.25 | 220 | 0.706827 | 175 | 996 | 3.931429 | 0.285714 | 0.130814 | 0.132267 | 0.172965 | 0.677326 | 0.677326 | 0.677326 | 0.59593 | 0.59593 | 0.59593 | 0 | 0.116414 | 0.13755 | 996 | 15 | 221 | 66.4 | 0.684517 | 0 | 0 | 0 | 0 | 0.583333 | 0.580321 | 0.053213 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0.25 | false | 0.583333 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6f367084bf2be1d95f6f14f61ae14586c79f8950 | 1,952 | py | Python | python/mlad/api/base.py | onetop21/MLAppDeploy | 42e5fa6b58b0fb90043feb85af7ae8da9159bfc8 | [
"MIT"
] | null | null | null | python/mlad/api/base.py | onetop21/MLAppDeploy | 42e5fa6b58b0fb90043feb85af7ae8da9159bfc8 | [
"MIT"
] | 209 | 2020-09-14T11:54:35.000Z | 2022-03-30T09:26:33.000Z | python/mlad/api/base.py | onetop21/MLAppDeploy | 42e5fa6b58b0fb90043feb85af7ae8da9159bfc8 | [
"MIT"
] | null | null | null | import requests
from typing import Optional, Dict
from .exception import raise_error
class APIBase:
def __init__(self, config, prefix):
self.baseurl = f'{config.apiserver.address}/api/v1/{prefix}'
self.headers = {'session': config.session}
self.raise_error = raise_error
def _get(se... | 42.434783 | 92 | 0.600922 | 248 | 1,952 | 4.669355 | 0.185484 | 0.082902 | 0.096718 | 0.058722 | 0.791883 | 0.791883 | 0.791883 | 0.746114 | 0.746114 | 0.746114 | 0 | 0.006369 | 0.276127 | 1,952 | 45 | 93 | 43.377778 | 0.813163 | 0 | 0 | 0.555556 | 0 | 0 | 0.066086 | 0.021516 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138889 | false | 0 | 0.083333 | 0 | 0.361111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f41c8369be058a2004ab367c70b5043fd21f7b8 | 55 | py | Python | agents/__init__.py | InesVogel/Connect4 | 9528115515fb33d107ebc26d4141a1d3effdca5e | [
"MIT"
] | null | null | null | agents/__init__.py | InesVogel/Connect4 | 9528115515fb33d107ebc26d4141a1d3effdca5e | [
"MIT"
] | null | null | null | agents/__init__.py | InesVogel/Connect4 | 9528115515fb33d107ebc26d4141a1d3effdca5e | [
"MIT"
] | null | null | null | from .common import initialize_game_state, next_player
| 27.5 | 54 | 0.872727 | 8 | 55 | 5.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 55 | 1 | 55 | 55 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.