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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8d66e13517e687ecbc68bc0ddf272a7a3bd886ff | 136 | py | Python | app/utility/list_util.py | wangzaogen/Coder123 | 6b56ea40291694c869c5823938d1892c75a62dff | [
"Apache-2.0"
] | null | null | null | app/utility/list_util.py | wangzaogen/Coder123 | 6b56ea40291694c869c5823938d1892c75a62dff | [
"Apache-2.0"
] | null | null | null | app/utility/list_util.py | wangzaogen/Coder123 | 6b56ea40291694c869c5823938d1892c75a62dff | [
"Apache-2.0"
] | null | null | null |
def split_list(big_list , max_split: int):
for i in range(0, len(big_list), max_split):
yield big_list[i: i+max_split]
| 15.111111 | 48 | 0.654412 | 25 | 136 | 3.28 | 0.52 | 0.256098 | 0.243902 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.227941 | 136 | 8 | 49 | 17 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8da4bf129001b2a1ee3a95346b6c95dabf5d4784 | 144 | py | Python | raritan/rpc/opaque/bulkrpc.py | daxm/raritan-pdu-json-rpc | 9593d165290e93db5676c884aac138aebb983cbd | [
"BSD-3-Clause"
] | null | null | null | raritan/rpc/opaque/bulkrpc.py | daxm/raritan-pdu-json-rpc | 9593d165290e93db5676c884aac138aebb983cbd | [
"BSD-3-Clause"
] | null | null | null | raritan/rpc/opaque/bulkrpc.py | daxm/raritan-pdu-json-rpc | 9593d165290e93db5676c884aac138aebb983cbd | [
"BSD-3-Clause"
] | 2 | 2021-02-24T00:45:25.000Z | 2021-11-29T17:27:19.000Z | class JsonObject:
@staticmethod
def decode(json, agent):
return json
@staticmethod
def encode(obj):
return obj
| 16 | 28 | 0.611111 | 15 | 144 | 5.866667 | 0.666667 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.319444 | 144 | 8 | 29 | 18 | 0.897959 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.714286 | 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 |
a5c04edf20bb6c8bb443717e7efaae6d061c8dde | 34 | py | Python | src/amuse/community/evtwin2sse/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | src/amuse/community/evtwin2sse/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | 12 | 2021-11-15T09:13:03.000Z | 2022-02-02T14:53:04.000Z | src/amuse/community/evtwin2sse/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | from .interface import Evtwin2sse
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
57176f191a59f86daa81aa90442d3836ccf76c53 | 224 | py | Python | Network/__init__.py | muziing/NetAssist_PyQt | 316219d21cbafd589f010192a2587d4dd2a2d8a5 | [
"MIT"
] | 25 | 2021-04-13T05:30:36.000Z | 2022-03-23T00:15:33.000Z | Network/__init__.py | muziing/NetAssist_PyQt | 316219d21cbafd589f010192a2587d4dd2a2d8a5 | [
"MIT"
] | null | null | null | Network/__init__.py | muziing/NetAssist_PyQt | 316219d21cbafd589f010192a2587d4dd2a2d8a5 | [
"MIT"
] | 11 | 2021-04-10T08:03:45.000Z | 2022-03-31T06:03:22.000Z | from Network.Tcp import TcpLogic
from Network.Udp import UdpLogic, get_host_ip
from Network.WebServer import WebLogic
class NetworkLogic(TcpLogic, UdpLogic, WebLogic):
"""
综合了TCP UDP WebServer 的类
"""
pass
| 18.666667 | 49 | 0.741071 | 28 | 224 | 5.857143 | 0.607143 | 0.20122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191964 | 224 | 11 | 50 | 20.363636 | 0.906077 | 0.102679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
939a0339182a7efd9f2b5cc0960ea0ce5b9d69ef | 143 | py | Python | beneficiary_sys/beneficiary_system/doctype/cash_receipt/test_cash_receipt.py | samiawad97/beneficiary_sys | e4f2e720aac41b443ea90ba20f893547ad17a75e | [
"MIT"
] | null | null | null | beneficiary_sys/beneficiary_system/doctype/cash_receipt/test_cash_receipt.py | samiawad97/beneficiary_sys | e4f2e720aac41b443ea90ba20f893547ad17a75e | [
"MIT"
] | null | null | null | beneficiary_sys/beneficiary_system/doctype/cash_receipt/test_cash_receipt.py | samiawad97/beneficiary_sys | e4f2e720aac41b443ea90ba20f893547ad17a75e | [
"MIT"
] | null | null | null | # Copyright (c) 2021, s97 and Contributors
# See license.txt
# import frappe
import unittest
class TestCashreceipt(unittest.TestCase):
pass
| 15.888889 | 42 | 0.776224 | 18 | 143 | 6.166667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.146853 | 143 | 8 | 43 | 17.875 | 0.860656 | 0.48951 | 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 |
93a50f674972263e8c5bd9776246645bbbdf4392 | 143 | py | Python | operators/__init__.py | Darkblader24/material-combiner-addon | ff76134e904fc7543ea18cd6ca82c12a39bdafa9 | [
"MIT"
] | 192 | 2018-08-21T21:57:45.000Z | 2022-03-31T14:37:54.000Z | operators/__init__.py | vinhowe/material-combiner-addon | 2087d7f8dd35e5824d56aed70ad989fd48f224cb | [
"MIT"
] | 34 | 2018-08-21T10:20:00.000Z | 2022-03-22T19:54:47.000Z | operators/__init__.py | vinhowe/material-combiner-addon | 2087d7f8dd35e5824d56aed70ad989fd48f224cb | [
"MIT"
] | 30 | 2018-08-21T08:39:03.000Z | 2022-03-28T00:36:07.000Z | from . import browser
from . import get_pillow
from .combiner import combiner
from .ui import combine_list
from .ui import multicombine_list
| 17.875 | 33 | 0.811189 | 21 | 143 | 5.380952 | 0.47619 | 0.176991 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 143 | 7 | 34 | 20.428571 | 0.933884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9e08e361396beb5fef3cc7861ec6b4425b8434e5 | 24 | py | Python | TermTk/TTkTypes/__init__.py | UltraStudioLTD/pyTermTk | a1e96b0e7f43906b9fda0b16f19f427919a055c2 | [
"MIT"
] | 1 | 2022-02-28T16:33:25.000Z | 2022-02-28T16:33:25.000Z | TermTk/TTkTypes/__init__.py | UltraStudioLTD/pyTermTk | a1e96b0e7f43906b9fda0b16f19f427919a055c2 | [
"MIT"
] | null | null | null | TermTk/TTkTypes/__init__.py | UltraStudioLTD/pyTermTk | a1e96b0e7f43906b9fda0b16f19f427919a055c2 | [
"MIT"
] | null | null | null | from .viewitem import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 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 |
9e1bd90a72effe1eb421266ec40b613697803c02 | 37 | py | Python | models/losses/__init__.py | vitalwarley/vision | 394af650dda80fbf5214a29d26f3d3c2081cb578 | [
"MIT"
] | null | null | null | models/losses/__init__.py | vitalwarley/vision | 394af650dda80fbf5214a29d26f3d3c2081cb578 | [
"MIT"
] | null | null | null | models/losses/__init__.py | vitalwarley/vision | 394af650dda80fbf5214a29d26f3d3c2081cb578 | [
"MIT"
] | null | null | null | from .losses import contrastive_loss
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
f5818894b9086acab17cef1c9294ffa1ff0fa355 | 111 | py | Python | mlcl/testing/__init__.py | tmplxz/carelabels | 7e9b93ffa05d6f3e6a598ffb79cef3df7aecac68 | [
"MIT"
] | null | null | null | mlcl/testing/__init__.py | tmplxz/carelabels | 7e9b93ffa05d6f3e6a598ffb79cef3df7aecac68 | [
"MIT"
] | null | null | null | mlcl/testing/__init__.py | tmplxz/carelabels | 7e9b93ffa05d6f3e6a598ffb79cef3df7aecac68 | [
"MIT"
] | null | null | null | from .tester import ImplementationProfiling, ImplementationReliabilityTesting, ImplementationRobustnessTesting
| 55.5 | 110 | 0.918919 | 6 | 111 | 17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 111 | 1 | 111 | 111 | 0.971429 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
19232d040408846049223b341aa20206b04e5857 | 94 | py | Python | src/models/__init__.py | nav13n/multimodal-learning | 283d09989ab5e547acc881547276e03e00c0ff39 | [
"MIT"
] | 1 | 2021-09-07T21:42:53.000Z | 2021-09-07T21:42:53.000Z | src/models/__init__.py | nav13n/multimodal-learning | 283d09989ab5e547acc881547276e03e00c0ff39 | [
"MIT"
] | null | null | null | src/models/__init__.py | nav13n/multimodal-learning | 283d09989ab5e547acc881547276e03e00c0ff39 | [
"MIT"
] | null | null | null | from .modules import LanguageAndVisionConcat, SemiLanguageAndVisionConcat, HatefulMemesUniter
| 47 | 93 | 0.904255 | 6 | 94 | 14.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 94 | 1 | 94 | 94 | 0.965909 | 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 |
27257886eac2eb895c49ba70cd8f5ad50dafc1ac | 57 | py | Python | facade/__init__.py | Volentix/crowdfund-vtx-calculator | 473fbd48cff4254d0755d9246b2e209135a983b8 | [
"MIT"
] | null | null | null | facade/__init__.py | Volentix/crowdfund-vtx-calculator | 473fbd48cff4254d0755d9246b2e209135a983b8 | [
"MIT"
] | null | null | null | facade/__init__.py | Volentix/crowdfund-vtx-calculator | 473fbd48cff4254d0755d9246b2e209135a983b8 | [
"MIT"
] | null | null | null | from .calculate_transaction import TransactionCalculator
| 28.5 | 56 | 0.912281 | 5 | 57 | 10.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 1 | 57 | 57 | 0.962264 | 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 |
27885bbfc7d5bdfb1da44c64eae510a3a36ace04 | 228 | py | Python | src/onevision/factory/__init__.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | 2 | 2022-03-28T09:46:38.000Z | 2022-03-28T14:12:32.000Z | src/onevision/factory/__init__.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | src/onevision/factory/__init__.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
"""
from __future__ import annotations
from .builder import *
from .factory import *
from .optimizer_factory import *
from .registry import *
from .scheduler_factory import *
| 16.285714 | 34 | 0.710526 | 28 | 228 | 5.571429 | 0.571429 | 0.25641 | 0.217949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005208 | 0.157895 | 228 | 13 | 35 | 17.538462 | 0.807292 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
27caa2d06a0a3975e00100500d0f1740e9a603d5 | 256 | py | Python | syncany/taskers/core/option.py | snower/syncany | 32d32907a155618678d5b2335cd8a70192ed1e6f | [
"MIT"
] | 5 | 2018-08-15T13:45:30.000Z | 2021-03-18T01:51:47.000Z | syncany/taskers/core/option.py | snower/syncany | 32d32907a155618678d5b2335cd8a70192ed1e6f | [
"MIT"
] | null | null | null | syncany/taskers/core/option.py | snower/syncany | 32d32907a155618678d5b2335cd8a70192ed1e6f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# 2021/11/6
# create by: snower
class DataValuerLoaderOption:
pass
class DataValuerOutputerOption:
def __init__(self, changed_require_update=False):
self.changed_require_update = changed_require_update
| 21.333333 | 61 | 0.707031 | 28 | 256 | 6.107143 | 0.714286 | 0.245614 | 0.350877 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.203125 | 256 | 11 | 62 | 23.272727 | 0.79902 | 0.191406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
27e3ef3fa78cdabfd8da901231742c4f38fc9f83 | 220 | py | Python | xfields/fieldmaps/__init__.py | xbuffat/xfields | 2b51a544d0b15d98789fe4b14cf0104998607377 | [
"MIT"
] | 1 | 2021-09-07T14:34:22.000Z | 2021-09-07T14:34:22.000Z | xfields/fieldmaps/__init__.py | xbuffat/xfields | 2b51a544d0b15d98789fe4b14cf0104998607377 | [
"MIT"
] | 16 | 2021-03-12T11:28:57.000Z | 2021-08-17T19:52:40.000Z | xfields/fieldmaps/__init__.py | xbuffat/xfields | 2b51a544d0b15d98789fe4b14cf0104998607377 | [
"MIT"
] | 5 | 2021-06-16T12:45:22.000Z | 2022-01-07T15:24:09.000Z | from .interpolated import TriLinearInterpolatedFieldMap
from .interpolated import TriLinearInterpolatedFieldMapData
from .bigaussian import BiGaussianFieldMap, mean_and_std
from .bigaussian import BiGaussianFieldMapData
| 44 | 59 | 0.9 | 19 | 220 | 10.315789 | 0.578947 | 0.163265 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077273 | 220 | 4 | 60 | 55 | 0.965517 | 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 | 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 |
fdb6b807f501dcbc05f883bac123c231eb6f2431 | 83 | py | Python | opendart/__init__.py | JehunYoo/opendart | c88105baf85af57d006cc2404d192aaf9baf73cc | [
"MIT"
] | null | null | null | opendart/__init__.py | JehunYoo/opendart | c88105baf85af57d006cc2404d192aaf9baf73cc | [
"MIT"
] | 2 | 2021-07-12T10:59:20.000Z | 2021-07-13T02:06:27.000Z | opendart/__init__.py | JehunYoo/opendart | c88105baf85af57d006cc2404d192aaf9baf73cc | [
"MIT"
] | null | null | null | from opendart.auth.api import DartAPI
from opendart.objects.corp import Corporation | 41.5 | 45 | 0.86747 | 12 | 83 | 6 | 0.75 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084337 | 83 | 2 | 45 | 41.5 | 0.947368 | 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 |
fdcfb336eada937034579be65f8f52ebc0ad97e3 | 9,577 | py | Python | tests/test_visualization.py | rafaeldelrey/optuna | c56302ae103b5f045e42314e8f9d636aeb632ea2 | [
"MIT"
] | null | null | null | tests/test_visualization.py | rafaeldelrey/optuna | c56302ae103b5f045e42314e8f9d636aeb632ea2 | [
"MIT"
] | null | null | null | tests/test_visualization.py | rafaeldelrey/optuna | c56302ae103b5f045e42314e8f9d636aeb632ea2 | [
"MIT"
] | null | null | null | import pytest
from optuna.distributions import UniformDistribution
from optuna.study import create_study
from optuna.trial import Trial # NOQA
from optuna import visualization
from optuna.visualization import _get_contour_plot
from optuna.visualization import _get_intermediate_plot
from optuna.visualization import _g... | 29.109422 | 72 | 0.584212 | 1,281 | 9,577 | 4.206089 | 0.068696 | 0.100223 | 0.083705 | 0.085189 | 0.839272 | 0.814217 | 0.764477 | 0.75167 | 0.744061 | 0.694135 | 0 | 0.050536 | 0.260311 | 9,577 | 328 | 73 | 29.198171 | 0.710051 | 0.087919 | 0 | 0.65 | 0 | 0 | 0.069556 | 0 | 0 | 0 | 0 | 0 | 0.245833 | 1 | 0.058333 | false | 0 | 0.045833 | 0 | 0.129167 | 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 |
8bf77e99790aa3c90202997e48bcbabb954ff7ae | 234 | py | Python | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/unconfigconfig/igmp/unconfigconfig.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/unconfigconfig/igmp/unconfigconfig.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/unconfigconfig/igmp/unconfigconfig.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | '''Implementation for Igmp unconfigconfig triggers'''
# Genie Libs
from genie.libs.sdk.triggers.unconfigconfig.unconfigconfig import TriggerUnconfigConfig
class TriggerUnconfigConfigPimNeighborFilter(TriggerUnconfigConfig):
pass
| 23.4 | 87 | 0.850427 | 20 | 234 | 9.95 | 0.7 | 0.090452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 234 | 9 | 88 | 26 | 0.929907 | 0.252137 | 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 |
e31592766ba174ae4d13ad8b9da3f4ab879f310c | 82,858 | py | Python | visualize.py | AlaaALatif/bjorn | 3bc4c2b5b5f6b18c93513721f5df96c47ba68ec8 | [
"MIT"
] | null | null | null | visualize.py | AlaaALatif/bjorn | 3bc4c2b5b5f6b18c93513721f5df96c47ba68ec8 | [
"MIT"
] | null | null | null | visualize.py | AlaaALatif/bjorn | 3bc4c2b5b5f6b18c93513721f5df96c47ba68ec8 | [
"MIT"
] | null | null | null | import re
import datetime as dt
import numpy as np
import pandas as pd
from path import Path
from PIL import Image
import base64
from io import BytesIO
import plotly
import plotly.express as px
import plotly.graph_objects as go
from plotly.subplots import make_subplots
from skimage import io
import onion_trees as ot
im... | 59.311382 | 152 | 0.536762 | 9,930 | 82,858 | 4.262638 | 0.055086 | 0.026956 | 0.015593 | 0.018191 | 0.863211 | 0.832688 | 0.796754 | 0.759568 | 0.732659 | 0.698899 | 0 | 0.032261 | 0.297075 | 82,858 | 1,397 | 153 | 59.311382 | 0.694487 | 0.055746 | 0 | 0.627888 | 0 | 0.007968 | 0.204431 | 0.013414 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022311 | false | 0 | 0.016733 | 0.000797 | 0.062151 | 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 |
e328bc29f0d1d33d31dba4a1df528be10eaecda2 | 43 | py | Python | packages/RemoteInput/__init__.py | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 7 | 2016-02-13T18:47:23.000Z | 2020-07-03T13:47:49.000Z | packages/RemoteInput/__init__.py | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 1 | 2018-06-13T04:55:27.000Z | 2021-11-05T05:52:51.000Z | packages/RemoteInput/__init__.py | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 4 | 2016-02-15T13:32:46.000Z | 2019-12-12T17:22:31.000Z | from gii.core import *
import RemoteInput
| 10.75 | 22 | 0.790698 | 6 | 43 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 3 | 23 | 14.333333 | 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 |
e3361e59035361ae6b99794d377c0a57d7bf1d54 | 84 | py | Python | benchmark/lambda/django_test.py | open-lambda/s19-lambda | 0c210d5fcb50e87ac8a037c81092f7dd64b5c022 | [
"Apache-2.0"
] | 3 | 2019-04-09T20:52:48.000Z | 2020-12-07T01:52:22.000Z | benchmark/lambda/django_test.py | open-lambda/s19-lambda | 0c210d5fcb50e87ac8a037c81092f7dd64b5c022 | [
"Apache-2.0"
] | 3 | 2019-03-27T08:41:31.000Z | 2019-06-04T02:06:09.000Z | benchmark/lambda/django_test.py | open-lambda/s19-lambda | 0c210d5fcb50e87ac8a037c81092f7dd64b5c022 | [
"Apache-2.0"
] | 1 | 2019-03-28T03:26:10.000Z | 2019-03-28T03:26:10.000Z | #!/usr/bin/python
import time
import django
def django_test():
time.sleep(0.1)
| 12 | 19 | 0.702381 | 14 | 84 | 4.142857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 0.154762 | 84 | 6 | 20 | 14 | 0.788732 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b69de7922cfa18a45ab66aa3caeb5d2e89ce457 | 207 | py | Python | molsysmt/tools/file_mdcrd/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tools/file_mdcrd/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tools/file_mdcrd/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | from .is_file_mdcrd import is_file_mdcrd
from .to_molsysmt_MolSys import to_molsysmt_MolSys
from .to_molsysmt_Topology import to_molsysmt_Topology
from .to_molsysmt_Trajectory import to_molsysmt_Trajectory
| 34.5 | 58 | 0.898551 | 32 | 207 | 5.3125 | 0.3125 | 0.352941 | 0.247059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082126 | 207 | 5 | 59 | 41.4 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 |
8b6c16da76b8d229f3386fe823928fe6f94f6d9a | 179 | py | Python | amocrm_asterisk_ng/infrastructure/key_value_storage/core/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/infrastructure/key_value_storage/core/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/infrastructure/key_value_storage/core/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | from .IKeyValueStorage import IKeyValueStorage
from .IKeyValueStorageFactory import IKeyValueStorageFactory
from .InitializableKeyValueStorage import InitializableKeyValueStorage
| 44.75 | 70 | 0.916201 | 12 | 179 | 13.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067039 | 179 | 3 | 71 | 59.666667 | 0.982036 | 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 |
8b8078f5730ffd4c65bacfa7eb4636b7463e1983 | 126 | py | Python | uamobile/data/cidr/softbank.py | SandySalvatore/uamobile | 51c637effc65b863c8f1897d971a13bb099bdb84 | [
"MIT"
] | null | null | null | uamobile/data/cidr/softbank.py | SandySalvatore/uamobile | 51c637effc65b863c8f1897d971a13bb099bdb84 | [
"MIT"
] | null | null | null | uamobile/data/cidr/softbank.py | SandySalvatore/uamobile | 51c637effc65b863c8f1897d971a13bb099bdb84 | [
"MIT"
] | null | null | null | DATA = [ '123.108.237.112/28',
'123.108.239.224/28',
'202.253.96.144/28',
'202.253.99.144/28',
'210.228.189.188/30']
| 18 | 30 | 0.571429 | 26 | 126 | 2.769231 | 0.692308 | 0.166667 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.623853 | 0.134921 | 126 | 6 | 31 | 21 | 0.036697 | 0 | 0 | 0 | 0 | 0 | 0.704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
47af15ec2e6e6477668d1811b01b5141ce9f2440 | 99 | py | Python | apps/core/models/signals/__init__.py | sparcs-kaist/new-ara-api | 63998da575cb148347708199fe1345c4e7ee3e1b | [
"MIT"
] | 19 | 2017-09-13T07:51:58.000Z | 2022-03-28T11:04:03.000Z | apps/core/models/signals/__init__.py | sparcs-kaist/new-ara-api | 63998da575cb148347708199fe1345c4e7ee3e1b | [
"MIT"
] | 147 | 2017-09-14T13:45:30.000Z | 2022-03-14T15:54:09.000Z | apps/core/models/signals/__init__.py | sparcs-kaist/new-ara-api | 63998da575cb148347708199fe1345c4e7ee3e1b | [
"MIT"
] | 5 | 2019-08-31T13:13:30.000Z | 2021-03-26T15:46:38.000Z | from .comment import *
from .block import *
from .on_delete_cascade import *
from .report import *
| 19.8 | 32 | 0.757576 | 14 | 99 | 5.214286 | 0.571429 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 4 | 33 | 24.75 | 0.879518 | 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 |
47cf6763693e82ce699da0343b5760eadd85d4cf | 236 | py | Python | funciones.py | Ruizdev7/pyEjercicios | 83ab29cd49089b1a5f363d9ae900f883bd7d0664 | [
"MIT"
] | 1 | 2021-12-20T01:50:29.000Z | 2021-12-20T01:50:29.000Z | funciones.py | Ruizdev7/pyEjercicios | 83ab29cd49089b1a5f363d9ae900f883bd7d0664 | [
"MIT"
] | null | null | null | funciones.py | Ruizdev7/pyEjercicios | 83ab29cd49089b1a5f363d9ae900f883bd7d0664 | [
"MIT"
] | null | null | null | def mensaje():
print("Estoy aprendiendo python")
print("Estoy aprendiendo python")
print("Estoy aprendiendo python")
mensaje()
mensaje()
mensaje()
print("Ejecutando codigo fuera del cuerpo de la funcion")
mensaje()
| 15.733333 | 57 | 0.699153 | 27 | 236 | 6.111111 | 0.518519 | 0.181818 | 0.381818 | 0.490909 | 0.490909 | 0.490909 | 0.490909 | 0.490909 | 0 | 0 | 0 | 0 | 0.186441 | 236 | 14 | 58 | 16.857143 | 0.859375 | 0 | 0 | 0.777778 | 0 | 0 | 0.510638 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0 | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9a612c2b00b654551e432dbc689e4bd4cb55a0db | 47 | py | Python | WebKit/Testing/URL/test5join2/url1.py | PeaceWorksTechnologySolutions/w4py | 74f5a03a63f1a93563502b908474aefaae2abda2 | [
"MIT"
] | 18 | 2016-08-01T20:15:59.000Z | 2019-12-24T16:00:03.000Z | WebKit/Testing/URL/test5join2/url1.py | WebwareForPython/w4py | bba08f5974d49f5da7e88abe3eeda1037d0824a3 | [
"MIT"
] | 6 | 2016-09-13T05:48:45.000Z | 2020-01-09T18:29:12.000Z | WebKit/Testing/URL/test5join2/url1.py | WebwareForPython/w4py | bba08f5974d49f5da7e88abe3eeda1037d0824a3 | [
"MIT"
] | 6 | 2016-09-16T14:32:29.000Z | 2020-01-03T18:52:16.000Z | from Testing.URL.util import Inspector as url1
| 23.5 | 46 | 0.829787 | 8 | 47 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.12766 | 47 | 1 | 47 | 47 | 0.926829 | 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 |
9a66e1efa5d07486c9f5651960d0fe2c3c4baacb | 6,735 | py | Python | tests/test_select_device.py | Mitko-Kerezov/ns-sublime-plugin | c2ded8bea952162ba38e9378c5d3ddaace9bea20 | [
"Apache-2.0"
] | 1 | 2020-05-07T15:15:43.000Z | 2020-05-07T15:15:43.000Z | tests/test_select_device.py | Mitko-Kerezov/ns-sublime-plugin | c2ded8bea952162ba38e9378c5d3ddaace9bea20 | [
"Apache-2.0"
] | null | null | null | tests/test_select_device.py | Mitko-Kerezov/ns-sublime-plugin | c2ded8bea952162ba38e9378c5d3ddaace9bea20 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from unittest.mock import patch
from sys import modules
from json import loads
devices_data = ["""
{"identifier":"192.168.56.101:5555",
"displayName":"vbox86p",
"model":"Nexus_6P_API_23",
"version":"6.0",
"ven... | 40.818182 | 144 | 0.659837 | 713 | 6,735 | 5.814867 | 0.152875 | 0.065123 | 0.072359 | 0.086831 | 0.875302 | 0.854317 | 0.818138 | 0.798119 | 0.775446 | 0.775446 | 0 | 0.009547 | 0.253452 | 6,735 | 164 | 145 | 41.067073 | 0.815036 | 0 | 0 | 0.61157 | 0 | 0 | 0.15787 | 0.106985 | 0 | 0 | 0 | 0 | 0.140496 | 1 | 0.181818 | false | 0 | 0.033058 | 0.024793 | 0.297521 | 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 |
9a6b6406eb8da539b4366df1553150640dc289dd | 5,390 | py | Python | ao/upcloud/tests/test_storage.py | ZuluPro/ao | 00afffc044a7242401a7c4e216d65b2b11d8b0c0 | [
"BSD-3-Clause"
] | null | null | null | ao/upcloud/tests/test_storage.py | ZuluPro/ao | 00afffc044a7242401a7c4e216d65b2b11d8b0c0 | [
"BSD-3-Clause"
] | null | null | null | ao/upcloud/tests/test_storage.py | ZuluPro/ao | 00afffc044a7242401a7c4e216d65b2b11d8b0c0 | [
"BSD-3-Clause"
] | null | null | null | from mock import patch
from rest_framework.test import APITestCase
from rest_framework.reverse import reverse
from ao.upcloud import factories
from ao.core import fields
class ListStorageTest(APITestCase):
url = reverse('upcloud:storage-list')
def test_list_empty(self):
response = self.client.get(sel... | 36.917808 | 100 | 0.642115 | 582 | 5,390 | 5.883162 | 0.120275 | 0.056075 | 0.028914 | 0.055199 | 0.818341 | 0.72868 | 0.709696 | 0.70035 | 0.70035 | 0.70035 | 0 | 0.008658 | 0.228571 | 5,390 | 145 | 101 | 37.172414 | 0.814815 | 0 | 0 | 0.641667 | 0 | 0 | 0.099629 | 0.029314 | 0 | 0 | 0 | 0 | 0.258333 | 1 | 0.075 | false | 0 | 0.041667 | 0 | 0.25 | 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 |
d03a9749d26b4424763ebfe898254e8a02d38088 | 112 | py | Python | visigoth/utils/format/__init__.py | visigoths/visigoth | c5297148209d630f6668f0e5ba3039a8856d8320 | [
"MIT"
] | null | null | null | visigoth/utils/format/__init__.py | visigoths/visigoth | c5297148209d630f6668f0e5ba3039a8856d8320 | [
"MIT"
] | 1 | 2021-01-26T16:55:48.000Z | 2021-09-03T15:29:14.000Z | visigoth/utils/format/__init__.py | visigoths/visigoth | c5297148209d630f6668f0e5ba3039a8856d8320 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .value_formatter import ValueFormatter
from .chart_formatter import ChartFormatter | 28 | 43 | 0.785714 | 13 | 112 | 6.615385 | 0.769231 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.116071 | 112 | 4 | 44 | 28 | 0.858586 | 0.1875 | 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 |
d048b0166cfa1e273a8f835c0545940ebf8d57e6 | 1,284 | py | Python | tests/operator/test-operators/aws/ec2_meta/test_operator_aws_ec2_meta.py | insight-infrastructure/cookiecutter | 5e77a6f59786759cf1b469e7bd827b6d340a31c6 | [
"BSD-3-Clause"
] | 8 | 2020-06-15T18:49:24.000Z | 2021-04-15T10:34:24.000Z | tests/operator/test-operators/aws/ec2_meta/test_operator_aws_ec2_meta.py | insight-infrastructure/cookiecutter | 5e77a6f59786759cf1b469e7bd827b6d340a31c6 | [
"BSD-3-Clause"
] | 19 | 2020-06-28T16:03:56.000Z | 2020-10-07T15:52:06.000Z | tests/operator/test-operators/aws/ec2_meta/test_operator_aws_ec2_meta.py | insight-infrastructure/nukikata | 5e77a6f59786759cf1b469e7bd827b6d340a31c6 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""Tests dict input objects for `cookiecutter.operator.aws.ec2_meta` module."""
import os
from cookiecutter.main import cookiecutter
def test_operator_aws_ec2_meta(monkeypatch, tmpdir):
"""Verify the operator call works successfully."""
monkeypatch.chdir(os.path.abspath(os.path.dirna... | 32.1 | 88 | 0.71028 | 161 | 1,284 | 5.391304 | 0.298137 | 0.041475 | 0.092166 | 0.138249 | 0.81106 | 0.81106 | 0.724654 | 0.724654 | 0.724654 | 0.724654 | 0 | 0.010979 | 0.148754 | 1,284 | 39 | 89 | 32.923077 | 0.783166 | 0.454829 | 0 | 0.307692 | 0 | 0 | 0.094955 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.153846 | false | 0 | 0.153846 | 0 | 0.307692 | 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 |
d07597624fb1f0d5abca02c5643e86480bf384a5 | 30 | py | Python | solutions/sol_00_01.py | adityarn/MAV110_PythonModule | c3ee6457ba0e4d2cae04f3f6a138d0b473bb4f8e | [
"MIT"
] | 2 | 2021-11-25T13:08:27.000Z | 2021-11-25T13:08:30.000Z | solutions/sol_00_01.py | adityarn/MAV110_PythonModule | c3ee6457ba0e4d2cae04f3f6a138d0b473bb4f8e | [
"MIT"
] | null | null | null | solutions/sol_00_01.py | adityarn/MAV110_PythonModule | c3ee6457ba0e4d2cae04f3f6a138d0b473bb4f8e | [
"MIT"
] | null | null | null | print("My name is Jane Doe!")
| 15 | 29 | 0.666667 | 6 | 30 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 1 | 30 | 30 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 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 |
d0ae5a684b8db65319a1b94da8fe20e6d472d3d7 | 102 | py | Python | keras_mixnets/__init__.py | shenhao2954988368/keras_mixnets | 851ba966e425b73833f2cb92d8a4f73f67200809 | [
"MIT"
] | 45 | 2019-07-26T15:50:37.000Z | 2021-08-05T01:45:47.000Z | keras_mixnets/__init__.py | shenhao2954988368/keras_mixnets | 851ba966e425b73833f2cb92d8a4f73f67200809 | [
"MIT"
] | 6 | 2019-08-15T06:27:23.000Z | 2020-07-09T21:29:27.000Z | keras_mixnets/__init__.py | shenhao2954988368/keras_mixnets | 851ba966e425b73833f2cb92d8a4f73f67200809 | [
"MIT"
] | 11 | 2019-07-29T03:39:45.000Z | 2021-08-05T01:56:48.000Z | from keras_mixnets.mixnets import *
from keras_mixnets.config import BlockArgs
__version__ = '0.1.0'
| 20.4 | 42 | 0.803922 | 15 | 102 | 5.066667 | 0.6 | 0.236842 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.117647 | 102 | 4 | 43 | 25.5 | 0.811111 | 0 | 0 | 0 | 0 | 0 | 0.04902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4be17a34cca4c76cbe821065e1aef52615c9cde5 | 6,998 | py | Python | api/desecapi/tests/test_tokens.py | peterthomassen/desec-stack | 436e48e8fc3f55ecf0b0e6a57a735a899a736f19 | [
"MIT"
] | null | null | null | api/desecapi/tests/test_tokens.py | peterthomassen/desec-stack | 436e48e8fc3f55ecf0b0e6a57a735a899a736f19 | [
"MIT"
] | null | null | null | api/desecapi/tests/test_tokens.py | peterthomassen/desec-stack | 436e48e8fc3f55ecf0b0e6a57a735a899a736f19 | [
"MIT"
] | null | null | null | from rest_framework import status
from desecapi.models import Token
from desecapi.tests.base import DomainOwnerTestCase
class TokenPermittedTestCase(DomainOwnerTestCase):
def setUp(self):
super().setUp()
self.token.perm_manage_tokens = True
self.token.save()
self.token2 = self.cr... | 43.7375 | 116 | 0.632038 | 890 | 6,998 | 4.807865 | 0.146067 | 0.034354 | 0.084132 | 0.105165 | 0.801589 | 0.786632 | 0.771909 | 0.736621 | 0.719327 | 0.684739 | 0 | 0.024769 | 0.226922 | 6,998 | 159 | 117 | 44.012579 | 0.766174 | 0.010574 | 0 | 0.661417 | 0 | 0 | 0.119636 | 0 | 0 | 0 | 0 | 0 | 0.267717 | 1 | 0.125984 | false | 0 | 0.023622 | 0 | 0.165354 | 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 |
4bf164b55935b727a2e57b95bd65cb6c74ec39bd | 6,276 | py | Python | log.py | KirieHaruna/web_scanner | 4ff69f74c79c2a97b30f58b5879654f6db1aaa42 | [
"MIT"
] | null | null | null | log.py | KirieHaruna/web_scanner | 4ff69f74c79c2a97b30f58b5879654f6db1aaa42 | [
"MIT"
] | null | null | null | log.py | KirieHaruna/web_scanner | 4ff69f74c79c2a97b30f58b5879654f6db1aaa42 | [
"MIT"
] | 1 | 2020-04-14T11:45:16.000Z | 2020-04-14T11:45:16.000Z | import time
import logging
import logging.config
from colors import blue_green,purple,red,green,blue,end
time = time.strftime('%Y-%m-%d %H:%M:%S')
def factory_logger(logger_type, target, formatter):
if logger_type in ["StreamLogger", "STMPLogger"]:
config = {
'version': 1,
'disa... | 30.614634 | 120 | 0.347833 | 412 | 6,276 | 5.245146 | 0.223301 | 0.058306 | 0.061083 | 0.059232 | 0.811199 | 0.797779 | 0.797779 | 0.797779 | 0.797779 | 0.73577 | 0 | 0.000591 | 0.460644 | 6,276 | 204 | 121 | 30.764706 | 0.637814 | 0.101657 | 0 | 0.533898 | 0 | 0.016949 | 0.38769 | 0.093131 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008475 | false | 0 | 0.033898 | 0 | 0.050847 | 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 |
ef28183302d9264052a60002c0af7d8d1ccdadad | 42 | py | Python | project1/test/subtest/subfile1.py | Marantesss/feup-sope-proj | 6f372a17bce022ffb5034f5511873e6051c7132e | [
"MIT"
] | 1 | 2019-06-05T11:23:34.000Z | 2019-06-05T11:23:34.000Z | project1/test/subtest1/subfile1.py | Marantesss/feup-sope-proj | 6f372a17bce022ffb5034f5511873e6051c7132e | [
"MIT"
] | null | null | null | project1/test/subtest1/subfile1.py | Marantesss/feup-sope-proj | 6f372a17bce022ffb5034f5511873e6051c7132e | [
"MIT"
] | 1 | 2019-06-03T11:25:44.000Z | 2019-06-03T11:25:44.000Z | print("You're a curious one, aren't you?") | 42 | 42 | 0.690476 | 9 | 42 | 3.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0.767442 | 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 |
ef4160be9c5d948fbc47ae273c11e9adc7ef025c | 30 | py | Python | kams/__init__.py | GameDungeon/KAMS | c6f3e97eb5e9d03a0bc291d929b752eb06f5334a | [
"MIT"
] | null | null | null | kams/__init__.py | GameDungeon/KAMS | c6f3e97eb5e9d03a0bc291d929b752eb06f5334a | [
"MIT"
] | null | null | null | kams/__init__.py | GameDungeon/KAMS | c6f3e97eb5e9d03a0bc291d929b752eb06f5334a | [
"MIT"
] | null | null | null | from .utils.datatypes import * | 30 | 30 | 0.8 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef5d91d8118f998397cbfb43b88fef7bccfa75da | 1,633 | py | Python | colorof-client.py | tyoungman/ColorOf-Python-Client | 86ecf8977291c98b4d6950f16131ab4733665855 | [
"Apache-2.0"
] | null | null | null | colorof-client.py | tyoungman/ColorOf-Python-Client | 86ecf8977291c98b4d6950f16131ab4733665855 | [
"Apache-2.0"
] | null | null | null | colorof-client.py | tyoungman/ColorOf-Python-Client | 86ecf8977291c98b4d6950f16131ab4733665855 | [
"Apache-2.0"
] | null | null | null | import requests
#Examples of Unauthenticated request to Colorof API
#python colorof-client.py
#Search - GET /search
#Define parameter array. http://api.colorof.com has more details on search fields
PARAMS= {
'query' : "flower",
'hex' : "e29f11",
'accuracy' : "4",
'format' : "json",
'user_id' ... | 22.067568 | 81 | 0.655236 | 235 | 1,633 | 4.523404 | 0.26383 | 0.045155 | 0.092192 | 0.111947 | 0.780809 | 0.761994 | 0.761994 | 0.761994 | 0.761994 | 0.712135 | 0 | 0.016629 | 0.189835 | 1,633 | 73 | 82 | 22.369863 | 0.786848 | 0.42131 | 0 | 0.85 | 0 | 0 | 0.364909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025 | 0 | 0.025 | 0.2 | 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 |
3242ebc955034ea76e86904a300a02c22c2840a8 | 26 | py | Python | sjtuface/core/api/views.py | vinx13/sjtuface-web | ea50591fa4dd15d27eef0a8e3e5c10c045d42707 | [
"Apache-2.0"
] | 2 | 2019-03-15T02:23:34.000Z | 2020-06-26T11:18:37.000Z | backend/similar_results.py | wuxianliang/StockBrain | 371188035b898760446a0e6c957dd05e7abdf60a | [
"MIT"
] | 2 | 2016-08-15T14:54:42.000Z | 2017-04-13T05:50:04.000Z | sjtuface/core/api/views.py | vinx13/sjtuface-web | ea50591fa4dd15d27eef0a8e3e5c10c045d42707 | [
"Apache-2.0"
] | null | null | null | from flask import jsonify
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 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 |
32755541d627ddb909ff5ca7c079d57a36b55a6f | 41 | py | Python | tests/__init__.py | rbbonfim/pagarme-python | a7079fbdd01bd855ea09f89847d6374b499be76b | [
"MIT"
] | 79 | 2015-08-25T14:43:34.000Z | 2021-12-01T18:16:54.000Z | tests/__init__.py | rbbonfim/pagarme-python | a7079fbdd01bd855ea09f89847d6374b499be76b | [
"MIT"
] | 103 | 2015-09-15T15:24:14.000Z | 2021-12-20T22:52:02.000Z | tests/__init__.py | rbbonfim/pagarme-python | a7079fbdd01bd855ea09f89847d6374b499be76b | [
"MIT"
] | 53 | 2015-09-11T12:06:26.000Z | 2022-02-23T02:59:57.000Z | from tests.resources import pagarme_test
| 20.5 | 40 | 0.878049 | 6 | 41 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.945946 | 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 |
3281877a8c540a3fb97a6c02851962e0edec0a25 | 205 | py | Python | core/modules/schedulers/__init__.py | FelixFu520/DAO | ac30bad4503408e771bc28c77dd8a20c18c15a05 | [
"MIT"
] | null | null | null | core/modules/schedulers/__init__.py | FelixFu520/DAO | ac30bad4503408e771bc28c77dd8a20c18c15a05 | [
"MIT"
] | null | null | null | core/modules/schedulers/__init__.py | FelixFu520/DAO | ac30bad4503408e771bc28c77dd8a20c18c15a05 | [
"MIT"
] | null | null | null | from .cos_lr import cos_lr
from .multistep_lr import multistep_lr
from .warm_cos_lr import warm_cos_lr
from .yolox_warm_cos import yolox_warm_cos
from .yolox_semi_warm_cos_lr import yolox_semi_warm_cos_lr
| 34.166667 | 58 | 0.878049 | 40 | 205 | 4 | 0.2 | 0.1875 | 0.225 | 0.1875 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 205 | 5 | 59 | 41 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32c1abb306ce46b5762e8a3a8eaf66c1f98892a1 | 45 | py | Python | notebooks/Python3-Language/07-Modules and Packages/MainPackage/main_script.py | binakot/Python3-Course | c555fc7376c45f4b2dedb6d57363c0070831c1e1 | [
"MIT"
] | null | null | null | notebooks/Python3-Language/07-Modules and Packages/MainPackage/main_script.py | binakot/Python3-Course | c555fc7376c45f4b2dedb6d57363c0070831c1e1 | [
"MIT"
] | null | null | null | notebooks/Python3-Language/07-Modules and Packages/MainPackage/main_script.py | binakot/Python3-Course | c555fc7376c45f4b2dedb6d57363c0070831c1e1 | [
"MIT"
] | null | null | null | def hello_main():
print('Hello from Main')
| 15 | 25 | 0.688889 | 7 | 45 | 4.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 3 | 26 | 15 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3eb09f745b4df698eb63a33312c6cfeed97bfa22 | 73 | py | Python | ProTO/CREAD.py | engineerscodes/PROTO-SEEK | f46a8a04f9a04151241015cc98cc79bfb4df0209 | [
"MIT"
] | 1 | 2021-06-05T08:45:48.000Z | 2021-06-05T08:45:48.000Z | ProTO/CREAD.py | engineerscodes/PROTO-SEEK | f46a8a04f9a04151241015cc98cc79bfb4df0209 | [
"MIT"
] | null | null | null | ProTO/CREAD.py | engineerscodes/PROTO-SEEK | f46a8a04f9a04151241015cc98cc79bfb4df0209 | [
"MIT"
] | null | null | null |
EMAIL="XXXXXXXXXXXXXXXXXXXXXX"
PASS="zVgFZPSaxcTkQssJsxfddwsxccrhqdQsy"
| 18.25 | 40 | 0.876712 | 4 | 73 | 16 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 73 | 3 | 41 | 24.333333 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0.763889 | 0.763889 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
411d1d366dd08a3b9c3ebdd321a962ec830daea8 | 237 | py | Python | _includes/src/super_operations.py | andgineer/masterandrey.com | 8e47518acb9f230675db2b1a490074f89b253f48 | [
"MIT"
] | null | null | null | _includes/src/super_operations.py | andgineer/masterandrey.com | 8e47518acb9f230675db2b1a490074f89b253f48 | [
"MIT"
] | 2 | 2017-06-10T02:44:55.000Z | 2018-06-15T13:55:54.000Z | _includes/src/super_operations.py | masterandrey/masterandrey.com | 8e47518acb9f230675db2b1a490074f89b253f48 | [
"MIT"
] | 1 | 2019-07-16T20:41:36.000Z | 2019-07-16T20:41:36.000Z | class Parent:
def __getitem__(self, idx):
return 0
class Child(Parent):
def index_super(self, idx):
return super()[idx]
kid = Child()
print(f'kid[0]: {kid[0]}')
print(f'kid.index_super(0): {kid.index_super(0)}') | 21.545455 | 50 | 0.624473 | 37 | 237 | 3.810811 | 0.378378 | 0.212766 | 0.184397 | 0.198582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026178 | 0.194093 | 237 | 11 | 50 | 21.545455 | 0.712042 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.222222 | 0.666667 | 0.222222 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f5c9b4413911f01ede2138fa69aaf59f213c00e0 | 200 | py | Python | packages/watchmen-pipeline-kernel/src/watchmen_pipeline_kernel/pipeline/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-pipeline-kernel/src/watchmen_pipeline_kernel/pipeline/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-pipeline-kernel/src/watchmen_pipeline_kernel/pipeline/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | from .monitor_log_invoker import create_monitor_log_pipeline_invoker
from .pipeline_invoker import try_to_invoke_pipelines, try_to_invoke_pipelines_async
from .pipeline_trigger import PipelineTrigger
| 50 | 84 | 0.915 | 28 | 200 | 6 | 0.5 | 0.119048 | 0.130952 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065 | 200 | 3 | 85 | 66.666667 | 0.898396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f5db1f64a32ce87ef076d073a51457727f8970cf | 273 | py | Python | biblepaycentral/overview/models.py | Lichtsucher/biblepaycentral | 0575c9c6851bd87d35d8cda9840301ee510698e8 | [
"MIT"
] | 3 | 2018-03-18T22:36:20.000Z | 2020-02-13T15:52:25.000Z | biblepaycentral/overview/models.py | Lichtsucher/biblepaycentral | 0575c9c6851bd87d35d8cda9840301ee510698e8 | [
"MIT"
] | null | null | null | biblepaycentral/overview/models.py | Lichtsucher/biblepaycentral | 0575c9c6851bd87d35d8cda9840301ee510698e8 | [
"MIT"
] | 1 | 2018-10-16T10:51:11.000Z | 2018-10-16T10:51:11.000Z | from cms.models.pluginmodel import CMSPlugin
from django.db import models
class BiblepayPoDCLeaderboardModel(CMSPlugin):
entries_count = models.IntegerField(default=8)
class BiblepayLastBlocksModel(CMSPlugin):
entries_count = models.IntegerField(default=8) | 34.125 | 51 | 0.805861 | 29 | 273 | 7.517241 | 0.551724 | 0.146789 | 0.192661 | 0.247706 | 0.431193 | 0.431193 | 0.431193 | 0 | 0 | 0 | 0 | 0.008368 | 0.124542 | 273 | 8 | 52 | 34.125 | 0.903766 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f5f601c732b7a2845d155fa6c6afaf95d262321d | 128 | py | Python | data_mine/nlp/allen_ai_drop/constants.py | SebiSebi/DataMine | d2dd9ed7e2608918dd2908fa29238f600c768eb3 | [
"Apache-2.0"
] | 9 | 2020-07-01T21:53:36.000Z | 2020-12-15T08:49:08.000Z | data_mine/nlp/allen_ai_drop/constants.py | ChewKokWah/DataMine | d2dd9ed7e2608918dd2908fa29238f600c768eb3 | [
"Apache-2.0"
] | 7 | 2020-04-04T19:30:16.000Z | 2020-06-26T12:18:10.000Z | data_mine/nlp/allen_ai_drop/constants.py | ChewKokWah/DataMine | d2dd9ed7e2608918dd2908fa29238f600c768eb3 | [
"Apache-2.0"
] | 2 | 2020-03-21T13:55:27.000Z | 2020-07-01T21:53:38.000Z | import os
from data_mine.utils import datamine_cache_dir
DROP_CACHE_DIR = os.path.join(datamine_cache_dir(), "ALLEN_AI_DROP")
| 21.333333 | 68 | 0.820313 | 22 | 128 | 4.363636 | 0.636364 | 0.25 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 128 | 5 | 69 | 25.6 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de250d53b1290865056ed352f1d926ce000f373d | 69,787 | py | Python | ad_observatory_api_backend/db_functions.py | OnlinePoliticalTransparency/Facebook-Political-Ad-Landscape-Notifications | e69637584ba89ef86256ff10906dde10dda5720d | [
"MIT"
] | null | null | null | ad_observatory_api_backend/db_functions.py | OnlinePoliticalTransparency/Facebook-Political-Ad-Landscape-Notifications | e69637584ba89ef86256ff10906dde10dda5720d | [
"MIT"
] | 3 | 2021-06-05T00:09:26.000Z | 2021-09-08T03:00:03.000Z | ad_observatory_api_backend/db_functions.py | OnlinePoliticalTransparency/Facebook-Political-Ad-Landscape-Notifications | e69637584ba89ef86256ff10906dde10dda5720d | [
"MIT"
] | null | null | null | """Encapsulation of database read, write, and update logic."""
from collections import defaultdict, namedtuple
import logging
import os
import psycopg2
import psycopg2.extras
from psycopg2 import sql
_DEFAULT_PAGE_SIZE = 250
AD_START_DATE_CLAUSE = sql.SQL(
'(ad_delivery_start_time >= %(start_date)s OR last_acti... | 52.909022 | 101 | 0.641251 | 8,841 | 69,787 | 4.674584 | 0.039475 | 0.037456 | 0.027415 | 0.027124 | 0.848069 | 0.810056 | 0.774826 | 0.738482 | 0.716972 | 0.69217 | 0 | 0.001601 | 0.275209 | 69,787 | 1,318 | 102 | 52.949165 | 0.815464 | 0.104504 | 0 | 0.582237 | 0 | 0 | 0.310242 | 0.120406 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070175 | false | 0.006579 | 0.006579 | 0 | 0.174342 | 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 |
de691737f0bdfeae992cf0aced35290e37a73022 | 146 | py | Python | handler.py | bathicodes/Distributor | c24879ef142798fb0dcdb7fe9ca5e7dbcc3f3168 | [
"MIT"
] | null | null | null | handler.py | bathicodes/Distributor | c24879ef142798fb0dcdb7fe9ca5e7dbcc3f3168 | [
"MIT"
] | null | null | null | handler.py | bathicodes/Distributor | c24879ef142798fb0dcdb7fe9ca5e7dbcc3f3168 | [
"MIT"
] | null | null | null | import platform
import folder_maker
import folder_checker
def handler():
folder_maker.create_folder()
folder_checker.check()
handler() | 16.222222 | 32 | 0.773973 | 18 | 146 | 6 | 0.5 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 146 | 9 | 33 | 16.222222 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.571429 | 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 |
de93f569fd24792d2e5643876e813e232da0d1db | 69 | py | Python | kl_participants/models/__init__.py | fcqpl/kl-backend | 0acad7fcb48ce27427f42197ba842a1d4742075d | [
"MIT"
] | 5 | 2020-03-24T09:02:53.000Z | 2020-10-31T08:03:33.000Z | kl_participants/models/__init__.py | fcqpl/kl-backend | 0acad7fcb48ce27427f42197ba842a1d4742075d | [
"MIT"
] | 18 | 2020-03-25T10:51:17.000Z | 2020-12-21T16:32:59.000Z | kl_participants/models/__init__.py | fcqpl/kl-backend | 0acad7fcb48ce27427f42197ba842a1d4742075d | [
"MIT"
] | 1 | 2020-04-08T10:03:30.000Z | 2020-04-08T10:03:30.000Z | from .group import *
from .moderator import *
from .student import *
| 17.25 | 24 | 0.73913 | 9 | 69 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 25 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
deb60c84f00d426c1285077beeb2c7946bf770d6 | 39 | py | Python | src/netorch/models/walkbased/__init__.py | so-link/networkembedding.torch | 05cdcbab685047bb8c327d455d7d2aabf16637ac | [
"MIT"
] | 4 | 2019-09-04T02:50:04.000Z | 2019-10-11T07:41:03.000Z | src/netorch/models/walkbased/__init__.py | so-link/NetworkEmbedding_Torch | 05cdcbab685047bb8c327d455d7d2aabf16637ac | [
"MIT"
] | 2 | 2019-06-25T08:43:15.000Z | 2019-11-02T12:55:08.000Z | src/netorch/models/walkbased/__init__.py | so-link/networkembedding.torch | 05cdcbab685047bb8c327d455d7d2aabf16637ac | [
"MIT"
] | 1 | 2019-10-11T07:41:06.000Z | 2019-10-11T07:41:06.000Z | #coding:utf-8
from .walkbased import * | 13 | 24 | 0.74359 | 6 | 39 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.128205 | 39 | 3 | 24 | 13 | 0.823529 | 0.307692 | 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 |
7237c644c2ce1cd08981a76f2d0b69d19fcdc634 | 84 | py | Python | BanditSim/action_selections/__init__.py | AJB0211/BanditSim | 5426486b40c35492049b09f9b57eb18ad5d6ce63 | [
"MIT"
] | null | null | null | BanditSim/action_selections/__init__.py | AJB0211/BanditSim | 5426486b40c35492049b09f9b57eb18ad5d6ce63 | [
"MIT"
] | null | null | null | BanditSim/action_selections/__init__.py | AJB0211/BanditSim | 5426486b40c35492049b09f9b57eb18ad5d6ce63 | [
"MIT"
] | null | null | null | from .epsilon_greedy import epsilon_greedy_action
from .greedy import greedy_action
| 28 | 49 | 0.880952 | 12 | 84 | 5.833333 | 0.416667 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 84 | 2 | 50 | 42 | 0.921053 | 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 |
a0e1e334eb8b726b628ce0d906744faff426b98f | 8,305 | py | Python | app/api.py | joeflack4/just-a-dash | 3fabb6e5e69e5f1a9ea07cf58b7496d3a64b0c8a | [
"MIT"
] | 3 | 2019-06-27T13:29:07.000Z | 2019-12-19T17:09:48.000Z | app/api.py | joeflack4/just-a-dash | 3fabb6e5e69e5f1a9ea07cf58b7496d3a64b0c8a | [
"MIT"
] | null | null | null | app/api.py | joeflack4/just-a-dash | 3fabb6e5e69e5f1a9ea07cf58b7496d3a64b0c8a | [
"MIT"
] | 2 | 2019-06-29T16:04:01.000Z | 2019-12-07T15:27:13.000Z | from flask.ext.login import current_user
from flask.ext.restless import ProcessingException
# - Note: If IDE shows weak warning '**kwargs unused', that is technically untrue. Calling function will use.
class ApiAuth:
@classmethod
def logged_in(cls, **kwargs):
user_logged_in = False
if not cur... | 45.13587 | 116 | 0.589043 | 872 | 8,305 | 5.363532 | 0.079128 | 0.099209 | 0.100064 | 0.077186 | 0.909344 | 0.894591 | 0.894591 | 0.894591 | 0.88561 | 0.84242 | 0 | 0.010291 | 0.333052 | 8,305 | 183 | 117 | 45.382514 | 0.834086 | 0.012884 | 0 | 0.685535 | 0 | 0 | 0.175329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.132075 | false | 0 | 0.012579 | 0.006289 | 0.163522 | 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 |
9d2e97c48f090fb61302d559fd995eed3de1dfd9 | 27 | py | Python | webplane/starter_app_template/boot/hello.py | joaompinto/webplane | 87c4132421ac249a4945dbc5fe43b3b904cd3286 | [
"MIT"
] | null | null | null | webplane/starter_app_template/boot/hello.py | joaompinto/webplane | 87c4132421ac249a4945dbc5fe43b3b904cd3286 | [
"MIT"
] | null | null | null | webplane/starter_app_template/boot/hello.py | joaompinto/webplane | 87c4132421ac249a4945dbc5fe43b3b904cd3286 | [
"MIT"
] | 1 | 2020-04-20T11:27:52.000Z | 2020-04-20T11:27:52.000Z |
def boot():
print("")
| 6.75 | 13 | 0.444444 | 3 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 27 | 3 | 14 | 9 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9d34e9fc19de7e2e838d50acc9ec5aa4367b02f5 | 68 | py | Python | tests/test_utils.py | roxell/squad-client | e889f1adccce2be0eddfdee4b318672a82a53538 | [
"MIT"
] | null | null | null | tests/test_utils.py | roxell/squad-client | e889f1adccce2be0eddfdee4b318672a82a53538 | [
"MIT"
] | null | null | null | tests/test_utils.py | roxell/squad-client | e889f1adccce2be0eddfdee4b318672a82a53538 | [
"MIT"
] | null | null | null | from unittest import TestCase
class UtilsTest(TestCase):
pass
| 11.333333 | 29 | 0.764706 | 8 | 68 | 6.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 68 | 5 | 30 | 13.6 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9d49304a737008b53191f8e1aeb04dc49217e0be | 252 | py | Python | muvimaker/editor/dialogues/__init__.py | JannisNe/muvi_maker | 5599789ccd12402f273a05b7421f03503087ab9b | [
"MIT"
] | 2 | 2021-06-11T08:56:18.000Z | 2021-12-18T11:40:05.000Z | muvimaker/editor/dialogues/__init__.py | JannisNe/muvimaker | 5599789ccd12402f273a05b7421f03503087ab9b | [
"MIT"
] | 49 | 2021-06-10T12:20:51.000Z | 2022-03-01T09:03:42.000Z | muvimaker/editor/dialogues/__init__.py | JannisNe/muvimaker | 5599789ccd12402f273a05b7421f03503087ab9b | [
"MIT"
] | null | null | null | from .scratchdir_dialogue import ScratchDirDialogue
from .open_project_dialogue import OpenProjectDialogue
from .new_file_dialogue import NewFileDialogue
from .add_sound_dialogue import SoundDialogue
from .add_picture_dialogue import AddPictureDialogue | 50.4 | 54 | 0.904762 | 29 | 252 | 7.551724 | 0.551724 | 0.319635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075397 | 252 | 5 | 55 | 50.4 | 0.939914 | 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 |
19bb666a7d3000b951f3c969c7aaa4dc269a0fba | 189 | py | Python | automation/behave/features/environment.py | jmt-transloc/python_automation_frameworks | e25d893d16ef68e06a0b08cc0f27d287bec512b3 | [
"MIT"
] | null | null | null | automation/behave/features/environment.py | jmt-transloc/python_automation_frameworks | e25d893d16ef68e06a0b08cc0f27d287bec512b3 | [
"MIT"
] | 4 | 2021-06-02T00:37:48.000Z | 2021-06-02T00:48:51.000Z | automation/behave/features/environment.py | jmt-transloc/python_automation_frameworks | e25d893d16ef68e06a0b08cc0f27d287bec512b3 | [
"MIT"
] | null | null | null | from selenium import webdriver
def before_all(context):
context.browser = webdriver.Chrome()
context.browser.implicitly_wait(10)
def after_all(context):
context.browser.quit() | 23.625 | 40 | 0.761905 | 24 | 189 | 5.875 | 0.625 | 0.297872 | 0.241135 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01227 | 0.137566 | 189 | 8 | 41 | 23.625 | 0.852761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
19d72dd97cb2aac570915290b841ee2ccd0d4d4e | 35 | py | Python | inclearn/__init__.py | romilbhardwaj/incremental_learning.pytorch | 77097ef4dd4fc6b6c35d13ef66856d6f8a15598d | [
"MIT"
] | 3 | 2019-07-01T14:43:05.000Z | 2019-12-27T13:26:52.000Z | inclearn/__init__.py | rahulvigneswaran/incremental_learning.pytorch | 786ecda7dbce5977894737d61cd5e3a30f61aac6 | [
"MIT"
] | null | null | null | inclearn/__init__.py | rahulvigneswaran/incremental_learning.pytorch | 786ecda7dbce5977894737d61cd5e3a30f61aac6 | [
"MIT"
] | null | null | null | from inclearn import parser, train
| 17.5 | 34 | 0.828571 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.966667 | 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 |
19e28a557b9a892052ed90939b1c38f5f672ec24 | 30,669 | py | Python | helium/planner/tests/views/apis/testcasehomeworkviews.py | HeliumEdu/platform | 54b82a40c21fd14d1b7f37d5f2afb51eea2f8cf5 | [
"MIT"
] | 15 | 2018-01-02T00:44:58.000Z | 2022-03-19T21:38:29.000Z | helium/planner/tests/views/apis/testcasehomeworkviews.py | HeliumEdu/platform | 54b82a40c21fd14d1b7f37d5f2afb51eea2f8cf5 | [
"MIT"
] | 327 | 2017-11-24T22:36:07.000Z | 2022-02-10T08:09:08.000Z | helium/planner/tests/views/apis/testcasehomeworkviews.py | HeliumEdu/platform | 54b82a40c21fd14d1b7f37d5f2afb51eea2f8cf5 | [
"MIT"
] | 3 | 2018-05-04T17:57:58.000Z | 2021-11-18T13:58:46.000Z | import datetime
import json
from urllib.parse import quote
from dateutil import parser
from django.urls import reverse
from django.utils import timezone
from rest_framework import status
from rest_framework.test import APITestCase
from helium.auth.tests.helpers import userhelper
from helium.planner.models import Home... | 52.968912 | 119 | 0.599302 | 3,051 | 30,669 | 5.743363 | 0.07473 | 0.076585 | 0.060834 | 0.077213 | 0.902015 | 0.866176 | 0.836272 | 0.810364 | 0.78377 | 0.779204 | 0 | 0.030182 | 0.297793 | 30,669 | 578 | 120 | 53.060554 | 0.783479 | 0.008445 | 0 | 0.667391 | 0 | 0 | 0.144104 | 0.066568 | 0 | 0 | 0 | 0 | 0.123913 | 1 | 0.045652 | false | 0 | 0.023913 | 0 | 0.071739 | 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 |
19e70a27c078bf23d47e6aa9db884491c0a7fb71 | 176 | py | Python | train.py | Aeroraven/self-supervised-3d-tasks | d2e466482cd4ea03d98e5af8fbde0d1855d3d8c2 | [
"Apache-2.0"
] | null | null | null | train.py | Aeroraven/self-supervised-3d-tasks | d2e466482cd4ea03d98e5af8fbde0d1855d3d8c2 | [
"Apache-2.0"
] | null | null | null | train.py | Aeroraven/self-supervised-3d-tasks | d2e466482cd4ea03d98e5af8fbde0d1855d3d8c2 | [
"Apache-2.0"
] | null | null | null | from self_supervised_3d_tasks.train import main
from self_supervised_3d_tasks.adaptive.gpu_adapt import gpu_autogrow
if __name__ == "__main__":
gpu_autogrow()
main()
| 25.142857 | 69 | 0.795455 | 25 | 176 | 4.92 | 0.56 | 0.130081 | 0.292683 | 0.325203 | 0.406504 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.136364 | 176 | 6 | 70 | 29.333333 | 0.796053 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
c22ad8db345be96d397a203f44d16b32f71090de | 139 | py | Python | democrasite/webiscite/tests/conftest.py | mfosterw/cookiestocracy | 6912e9e7c3006024d0fbee61dce5c48e63e9e231 | [
"MIT"
] | null | null | null | democrasite/webiscite/tests/conftest.py | mfosterw/cookiestocracy | 6912e9e7c3006024d0fbee61dce5c48e63e9e231 | [
"MIT"
] | 9 | 2021-07-18T17:16:42.000Z | 2022-03-31T00:19:14.000Z | democrasite/webiscite/tests/conftest.py | mfosterw/cookiestocracy | 6912e9e7c3006024d0fbee61dce5c48e63e9e231 | [
"MIT"
] | null | null | null | import pytest
from ..models import Bill
from .factories import BillFactory
@pytest.fixture
def bill() -> Bill:
return BillFactory()
| 13.9 | 34 | 0.741007 | 17 | 139 | 6.058824 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172662 | 139 | 9 | 35 | 15.444444 | 0.895652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 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 |
c239b7af1831c21273234076bffd5c354b8c9440 | 76 | py | Python | torch_pruning/prune/__init__.py | Trouble404/Torch-Pruning | 80e07f66c220ac0ec52f0e19a4a71e8865d28952 | [
"MIT"
] | 468 | 2019-12-16T01:10:37.000Z | 2022-03-31T12:23:21.000Z | torch_pruning/prune/__init__.py | Trouble404/Torch-Pruning | 80e07f66c220ac0ec52f0e19a4a71e8865d28952 | [
"MIT"
] | 53 | 2020-03-08T07:42:34.000Z | 2022-03-25T11:33:41.000Z | torch_pruning/prune/__init__.py | Trouble404/Torch-Pruning | 80e07f66c220ac0ec52f0e19a4a71e8865d28952 | [
"MIT"
] | 96 | 2020-01-08T18:39:47.000Z | 2022-03-31T01:39:28.000Z | from .structured import *
from .unstructured import *
from . import strategy | 25.333333 | 27 | 0.789474 | 9 | 76 | 6.666667 | 0.555556 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 3 | 28 | 25.333333 | 0.923077 | 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 |
dfd12aa05e8c7399bdb3d182004e1c4baf389c28 | 40,417 | py | Python | decaf2many/lang/JavaLexer.py | adsharma/decaf2many | 63bff8e64b4ca4df5cbfc5083a10a4af92c92bef | [
"MIT"
] | 2 | 2021-08-12T04:44:52.000Z | 2021-09-21T18:20:00.000Z | decaf2many/lang/JavaLexer.py | adsharma/decaf2many | 63bff8e64b4ca4df5cbfc5083a10a4af92c92bef | [
"MIT"
] | null | null | null | decaf2many/lang/JavaLexer.py | adsharma/decaf2many | 63bff8e64b4ca4df5cbfc5083a10a4af92c92bef | [
"MIT"
] | 2 | 2021-09-21T18:20:05.000Z | 2022-03-13T09:14:28.000Z | # Generated from JavaLexer.g4 by ANTLR 4.7.2
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2r")
buf.write("\u03c4\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\... | 63.053042 | 103 | 0.571641 | 8,748 | 40,417 | 2.630087 | 0.160722 | 0.133171 | 0.071584 | 0.076669 | 0.304068 | 0.214795 | 0.139256 | 0.124522 | 0.123305 | 0.116134 | 0 | 0.345763 | 0.150036 | 40,417 | 640 | 104 | 63.151563 | 0.323989 | 0.001039 | 0 | 0.009631 | 1 | 0.629213 | 0.642144 | 0.58433 | 0 | 0 | 0 | 0 | 0.006421 | 1 | 0.00321 | false | 0 | 0.012841 | 0 | 0.211878 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5f2a6d2e8fdf23bee3188e3d7bf91db39d9ad212 | 5,444 | py | Python | app/api/tests/test_views_unit.py | OpenLXP/openlxp-xss | 91c311aa5398a2c8d9d539e925f0647d11af84e5 | [
"Apache-2.0"
] | null | null | null | app/api/tests/test_views_unit.py | OpenLXP/openlxp-xss | 91c311aa5398a2c8d9d539e925f0647d11af84e5 | [
"Apache-2.0"
] | 2 | 2021-07-20T15:38:06.000Z | 2022-03-16T14:38:10.000Z | app/api/tests/test_views_unit.py | OpenLXP/openlxp-xss | 91c311aa5398a2c8d9d539e925f0647d11af84e5 | [
"Apache-2.0"
] | null | null | null | import json
from unittest.mock import patch
from django.test import tag
from django.urls import reverse
from rest_framework import status
from .test_setup import TestSetUp
@tag('unit')
class ViewTests(TestSetUp):
def test_schemaledger_requests_no_param(self):
"""Test that making a get request to the sc... | 44.260163 | 79 | 0.674871 | 636 | 5,444 | 5.628931 | 0.163522 | 0.067598 | 0.061453 | 0.089106 | 0.812011 | 0.777095 | 0.765922 | 0.75419 | 0.75419 | 0.75419 | 0 | 0.010359 | 0.237509 | 5,444 | 122 | 80 | 44.622951 | 0.852084 | 0.135378 | 0 | 0.6375 | 0 | 0 | 0.144975 | 0.087639 | 0 | 0 | 0 | 0 | 0.1625 | 1 | 0.0875 | false | 0 | 0.075 | 0 | 0.175 | 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 |
5f37b9a47f1513b46cbd6fee541a3b3e071512fb | 27 | py | Python | profit/sur/__init__.py | krystophny/unsur | 6f1f6faebae640dbbd724db42fb6343f884face6 | [
"MIT"
] | 2 | 2019-09-08T20:52:17.000Z | 2019-11-05T15:36:06.000Z | profit/sur/__init__.py | krystophny/redmod | cfef0aa4f1498615c8ad3c814e939b6ab78abff6 | [
"MIT"
] | 3 | 2019-07-26T08:08:50.000Z | 2019-07-26T09:17:03.000Z | profit/sur/__init__.py | krystophny/redmod | cfef0aa4f1498615c8ad3c814e939b6ab78abff6 | [
"MIT"
] | null | null | null | from .sur import Surrogate
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a02d864111ce8bf32d920173d5f737c483d3ee8b | 34,256 | py | Python | applications/tests/test_applications_mutations.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 3 | 2020-10-13T07:58:48.000Z | 2020-12-22T09:41:50.000Z | applications/tests/test_applications_mutations.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 422 | 2018-10-25T10:57:05.000Z | 2022-03-30T05:47:14.000Z | applications/tests/test_applications_mutations.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 1 | 2020-04-03T07:38:03.000Z | 2020-04-03T07:38:03.000Z | import random
import pytest
from django.core import mail
from berth_reservations.tests.factories import CustomerProfileFactory
from berth_reservations.tests.utils import (
assert_doesnt_exist,
assert_field_missing,
assert_in_errors,
assert_not_enough_permissions,
create_api_client,
)
from customer... | 30.585714 | 103 | 0.662512 | 3,068 | 34,256 | 7.052803 | 0.079531 | 0.098346 | 0.074314 | 0.020519 | 0.833303 | 0.790785 | 0.760514 | 0.743507 | 0.726084 | 0.68181 | 0 | 0.007248 | 0.246876 | 34,256 | 1,119 | 104 | 30.613047 | 0.831466 | 0.002832 | 0 | 0.61522 | 0 | 0 | 0.226526 | 0.066608 | 0 | 0 | 0 | 0 | 0.073955 | 1 | 0.033226 | false | 0 | 0.016077 | 0 | 0.049303 | 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 |
a03c0887eecf1462cd211a0c2d45548d4392750f | 3,468 | py | Python | pychesscom/endpoints/match.py | vopani/pychesscom | d6236153f12ffeff857d05de59c3c1eeafcc2a65 | [
"Apache-2.0"
] | 3 | 2021-02-16T07:15:25.000Z | 2021-07-15T05:26:26.000Z | pychesscom/endpoints/match.py | vopani/pychesscom | d6236153f12ffeff857d05de59c3c1eeafcc2a65 | [
"Apache-2.0"
] | null | null | null | pychesscom/endpoints/match.py | vopani/pychesscom | d6236153f12ffeff857d05de59c3c1eeafcc2a65 | [
"Apache-2.0"
] | 1 | 2021-03-09T20:03:17.000Z | 2021-03-09T20:03:17.000Z | from pychesscom.clients.base_client import BaseClient
from pychesscom.utils.response import Response
from pychesscom.utils.route import Route
class Match:
"""
Class for handling endpoints of team match information.
Args:
client(BaseClient): HTTP client for API requests
"""
def __init__(se... | 28.661157 | 108 | 0.609862 | 418 | 3,468 | 4.949761 | 0.141148 | 0.054132 | 0.038666 | 0.029 | 0.845336 | 0.845336 | 0.845336 | 0.844369 | 0.816336 | 0.784437 | 0 | 0.008258 | 0.301615 | 3,468 | 120 | 109 | 28.9 | 0.845995 | 0.03316 | 0 | 0.363636 | 0 | 0 | 0.089888 | 0.074906 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.136364 | 0 | 0.409091 | 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 |
a06a29d24799fe2a30f8322771827ecd8a3afeac | 6,029 | py | Python | smacha/test/smacha_test_examples/random_outcomes.py | ReconCell/smacha | 253215a35d2d091bf50c28c1ba876209b82d2400 | [
"BSD-3-Clause"
] | 16 | 2019-04-16T07:44:30.000Z | 2022-03-10T08:04:45.000Z | smacha/test/smacha_test_examples/random_outcomes.py | ReconCell/smacha | 253215a35d2d091bf50c28c1ba876209b82d2400 | [
"BSD-3-Clause"
] | 2 | 2019-07-18T09:11:00.000Z | 2019-09-26T10:21:26.000Z | smacha/test/smacha_test_examples/random_outcomes.py | ReconCell/smacha | 253215a35d2d091bf50c28c1ba876209b82d2400 | [
"BSD-3-Clause"
] | 2 | 2019-08-21T20:14:54.000Z | 2019-09-19T13:26:34.000Z | #!/usr/bin/env python
import smach
import random
class RandomOutcomeState(smach.State):
def __init__(self, input_keys = ['outcome'], output_keys = ['outcome'], callbacks = {}, outcomes=['succeeded']):
smach.State.__init__(self, input_keys=input_keys, output_keys=output_keys, outcomes=outcomes)
... | 36.101796 | 141 | 0.572732 | 663 | 6,029 | 4.841629 | 0.102564 | 0.04486 | 0.043614 | 0.037383 | 0.819315 | 0.780997 | 0.780997 | 0.752336 | 0.752336 | 0.699377 | 0 | 0.008019 | 0.317466 | 6,029 | 167 | 142 | 36.101796 | 0.772053 | 0.020236 | 0 | 0.694915 | 0 | 0 | 0.061664 | 0.016263 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076271 | false | 0 | 0.016949 | 0 | 0.161017 | 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 |
a096a1386310bdca1d98f110fd0cfb251958ce55 | 117 | py | Python | scripts/generate_build.py | covariant/addons-server | 41e6ee9e426facb19a1e1ca8d40277cb6f94a7da | [
"BSD-3-Clause"
] | 843 | 2016-02-09T13:00:37.000Z | 2022-03-20T19:17:06.000Z | scripts/generate_build.py | covariant/addons-server | 41e6ee9e426facb19a1e1ca8d40277cb6f94a7da | [
"BSD-3-Clause"
] | 10,187 | 2016-02-05T23:51:05.000Z | 2022-03-31T15:24:44.000Z | scripts/generate_build.py | covariant/addons-server | 41e6ee9e426facb19a1e1ca8d40277cb6f94a7da | [
"BSD-3-Clause"
] | 551 | 2016-02-08T20:32:16.000Z | 2022-03-15T16:49:24.000Z | #!/usr/bin/env python
import uuid
# Generate build id for Dockerfile.deploy
print('BUILD_ID = "%s"' % uuid.uuid4())
| 19.5 | 41 | 0.700855 | 18 | 117 | 4.5 | 0.833333 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.136752 | 117 | 5 | 42 | 23.4 | 0.792079 | 0.512821 | 0 | 0 | 1 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
26320f1a2767f2932bf701e35372f8cf4e59a4e6 | 9,392 | py | Python | template_engines/tests/test_template_tags/test_pdf_tags.py | Terralego/django-template-engines | 8bb195921e1df6a7f87d696897fac7c77ae7159d | [
"MIT"
] | 7 | 2019-08-08T15:17:38.000Z | 2021-04-23T06:52:51.000Z | template_engines/tests/test_template_tags/test_pdf_tags.py | Terralego/django-template-engines | 8bb195921e1df6a7f87d696897fac7c77ae7159d | [
"MIT"
] | 53 | 2019-07-03T12:55:28.000Z | 2020-10-15T12:09:32.000Z | template_engines/tests/test_template_tags/test_pdf_tags.py | Terralego/django-template-engines | 8bb195921e1df6a7f87d696897fac7c77ae7159d | [
"MIT"
] | 2 | 2019-07-16T15:59:38.000Z | 2022-03-17T23:45:53.000Z | import base64
import io
from unittest import mock
from django.template import Context, Template
from django.template.exceptions import TemplateSyntaxError
from django.test import TestCase
from requests.exceptions import ConnectionError
from template_engines.tests.settings import IMAGE_PATH
@mock.patch('secrets.toke... | 54.604651 | 122 | 0.688565 | 1,186 | 9,392 | 5.171164 | 0.108769 | 0.080874 | 0.073047 | 0.049568 | 0.852927 | 0.83548 | 0.807598 | 0.805805 | 0.795695 | 0.756074 | 0 | 0.019044 | 0.17813 | 9,392 | 171 | 123 | 54.923977 | 0.775489 | 0 | 0 | 0.594595 | 0 | 0 | 0.22583 | 0.030877 | 0 | 0 | 0 | 0 | 0.182432 | 1 | 0.108108 | false | 0 | 0.054054 | 0 | 0.175676 | 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 |
268055a8af70a48e09800ed29c2a89f51f4d8167 | 2,592 | py | Python | plugins/digitalocean/test/fixtures/tags.py | someengineering/resoto | ee17313f5376e9797ed305e7fdb62d40139a6608 | [
"Apache-2.0"
] | 126 | 2022-01-13T18:22:03.000Z | 2022-03-31T11:03:14.000Z | plugins/digitalocean/test/fixtures/tags.py | someengineering/resoto | ee17313f5376e9797ed305e7fdb62d40139a6608 | [
"Apache-2.0"
] | 110 | 2022-01-13T22:27:55.000Z | 2022-03-30T22:26:50.000Z | plugins/digitalocean/test/fixtures/tags.py | someengineering/resoto | ee17313f5376e9797ed305e7fdb62d40139a6608 | [
"Apache-2.0"
] | 8 | 2022-01-15T10:28:16.000Z | 2022-03-30T16:38:21.000Z | tags = [
{
"name": "droplet_tag",
"resources": {
"count": 10,
"last_tagged_uri": "https://api.digitalocean.com/v2/droplets/246753544",
"droplets": {
"count": 7,
"last_tagged_uri": "https://api.digitalocean.com/v2/droplets/246753544"... | 31.609756 | 117 | 0.432099 | 217 | 2,592 | 5.032258 | 0.198157 | 0.159341 | 0.083333 | 0.115385 | 0.882784 | 0.882784 | 0.882784 | 0.882784 | 0.846154 | 0.846154 | 0 | 0.090741 | 0.375 | 2,592 | 81 | 118 | 32 | 0.583333 | 0 | 0 | 0.567901 | 0 | 0.037037 | 0.442515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
cd8ee919f340d43fae5160d55bfe85d84d2ffb25 | 4,795 | py | Python | cnns/foolbox/foolbox_2_3_0/tests/attacks/test_batch_attacks_hsja.py | anonymous-user-commits/perturb-net | 66fc7c4a1234fa34b92bcc85751f0a6e23d80a23 | [
"MIT"
] | 12 | 2021-07-27T07:18:24.000Z | 2022-03-09T13:52:20.000Z | cnns/foolbox/foolbox_2_3_0/tests/attacks/test_batch_attacks_hsja.py | anonymous-user-commits/perturb-net | 66fc7c4a1234fa34b92bcc85751f0a6e23d80a23 | [
"MIT"
] | 2 | 2021-08-03T09:21:33.000Z | 2021-12-29T14:25:30.000Z | cnns/foolbox/foolbox_2_3_0/tests/attacks/test_batch_attacks_hsja.py | anonymous-user-commits/perturb-net | 66fc7c4a1234fa34b92bcc85751f0a6e23d80a23 | [
"MIT"
] | 3 | 2021-11-18T14:46:40.000Z | 2022-01-03T15:47:23.000Z | import numpy as np
from foolbox.attacks import HopSkipJumpAttack, BoundaryAttackPlusPlus
from foolbox.attacks import BlendedUniformNoiseAttack
from foolbox.distances import Linf
def test_attack(bn_model, bn_criterion, bn_images, bn_labels):
attack = HopSkipJumpAttack(bn_model, bn_criterion)
advs = attack(bn_... | 33.068966 | 85 | 0.695099 | 642 | 4,795 | 4.945483 | 0.133956 | 0.062992 | 0.059528 | 0.105827 | 0.826772 | 0.808819 | 0.783937 | 0.773228 | 0.76252 | 0.749921 | 0 | 0.023112 | 0.223983 | 4,795 | 144 | 86 | 33.298611 | 0.830153 | 0 | 0 | 0.691667 | 0 | 0 | 0.018352 | 0.013139 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.083333 | false | 0 | 0.033333 | 0 | 0.116667 | 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 |
cd937350d42e8267e5c9cdb07a97bc7d9ae9d596 | 570 | py | Python | tests/__init__.py | HarshCasper/contentful.py | aeaa97b8dc004c87dba0592d3e59dcf16443d8c6 | [
"MIT"
] | 50 | 2015-01-14T17:30:28.000Z | 2022-01-18T03:46:10.000Z | tests/__init__.py | HarshCasper/contentful.py | aeaa97b8dc004c87dba0592d3e59dcf16443d8c6 | [
"MIT"
] | 45 | 2015-01-19T20:12:15.000Z | 2022-03-23T08:41:04.000Z | tests/__init__.py | HarshCasper/contentful.py | aeaa97b8dc004c87dba0592d3e59dcf16443d8c6 | [
"MIT"
] | 46 | 2015-07-07T18:58:32.000Z | 2022-03-23T11:27:11.000Z | import sys
import os
from .asset_test import *
from .client_test import *
from .content_type_cache_test import *
from .content_type_field_types_test import *
from .content_type_field_test import *
from .content_type_test import *
from .deleted_asset_test import *
from .deleted_entry_test import *
from .entry_test impor... | 25.909091 | 44 | 0.794737 | 87 | 570 | 4.885057 | 0.298851 | 0.376471 | 0.494118 | 0.197647 | 0.258824 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 0.002008 | 0.126316 | 570 | 21 | 45 | 27.142857 | 0.851406 | 0 | 0 | 0 | 0 | 0 | 0.003509 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.947368 | 0 | 0.947368 | 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 |
f81d119efbe6408fdcf6d139b083c01a6dc15154 | 103 | py | Python | pddlenv/search/__init__.py | harshakokel/pddlenv | 773421ecd5df59503153bda7b3e1a6e0dcd30262 | [
"MIT"
] | null | null | null | pddlenv/search/__init__.py | harshakokel/pddlenv | 773421ecd5df59503153bda7b3e1a6e0dcd30262 | [
"MIT"
] | null | null | null | pddlenv/search/__init__.py | harshakokel/pddlenv | 773421ecd5df59503153bda7b3e1a6e0dcd30262 | [
"MIT"
] | 1 | 2021-06-09T15:59:23.000Z | 2021-06-09T15:59:23.000Z | from pddlenv.search.greedy import GreedyBestFirst
from pddlenv.search.hillclimbing import HillClimbing
| 34.333333 | 52 | 0.883495 | 12 | 103 | 7.583333 | 0.583333 | 0.241758 | 0.373626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 103 | 2 | 53 | 51.5 | 0.957895 | 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 | 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 |
f83474cb911aa22f9db26bb3ca11b96ad9cf1123 | 93 | py | Python | tests/test_util.py | Shimada666/super-stream | b4b297594d98f3808b9d022f6f70b7cbb3d4fcba | [
"MIT"
] | 2 | 2022-02-25T01:29:25.000Z | 2022-02-27T01:01:45.000Z | tests/test_util.py | Shimada666/super-stream | b4b297594d98f3808b9d022f6f70b7cbb3d4fcba | [
"MIT"
] | null | null | null | tests/test_util.py | Shimada666/super-stream | b4b297594d98f3808b9d022f6f70b7cbb3d4fcba | [
"MIT"
] | null | null | null | from src.superstream.util import identity
def test_identity():
assert identity(1) == 1
| 15.5 | 41 | 0.731183 | 13 | 93 | 5.153846 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.172043 | 93 | 5 | 42 | 18.6 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f847966a4c32d55f359966b06b6702588e0226c1 | 33 | py | Python | impartial/__init__.py | georg-wolflein/impartial | a53819cefcb74a57e3c1148a6b8fa88aed9264d4 | [
"Apache-2.0"
] | null | null | null | impartial/__init__.py | georg-wolflein/impartial | a53819cefcb74a57e3c1148a6b8fa88aed9264d4 | [
"Apache-2.0"
] | null | null | null | impartial/__init__.py | georg-wolflein/impartial | a53819cefcb74a57e3c1148a6b8fa88aed9264d4 | [
"Apache-2.0"
] | null | null | null | from .impartial import impartial
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f86eb86abe0c3519952af94a13787057c399e2af | 159 | py | Python | api/v1/utilities/__init__.py | UCCNetsoc/cloud | d3f87c7868ef7615a5836a2a3ba09bfd1dffed1d | [
"BSD-3-Clause"
] | 9 | 2021-02-07T19:49:49.000Z | 2021-12-05T20:52:25.000Z | api/v1/utilities/__init__.py | UCCNetsoc/admin | d3f87c7868ef7615a5836a2a3ba09bfd1dffed1d | [
"BSD-3-Clause"
] | 18 | 2020-09-07T16:04:40.000Z | 2020-11-05T01:50:14.000Z | api/v1/utilities/__init__.py | UCCNetsoc/admin | d3f87c7868ef7615a5836a2a3ba09bfd1dffed1d | [
"BSD-3-Clause"
] | 4 | 2020-09-29T12:03:22.000Z | 2020-10-17T21:33:16.000Z | from . import auth
from . import su
from . import webhook
from . import captcha
from . import yaml
from . import password
from . import shell
from . import ssh | 19.875 | 22 | 0.754717 | 24 | 159 | 5 | 0.416667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194969 | 159 | 8 | 23 | 19.875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
e41b8f515a691ceeb8ebe1d37e0894793075704a | 3,169 | py | Python | kolibri_http_server/kolibri_bof_eip.py | m1kemu/ExploitDev | 4a51a6bc83577c619a626fe037a885e007ef3f31 | [
"MIT"
] | null | null | null | kolibri_http_server/kolibri_bof_eip.py | m1kemu/ExploitDev | 4a51a6bc83577c619a626fe037a885e007ef3f31 | [
"MIT"
] | null | null | null | kolibri_http_server/kolibri_bof_eip.py | m1kemu/ExploitDev | 4a51a6bc83577c619a626fe037a885e007ef3f31 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# Author: Michael Music
# Date: 3/24/2019
# Description: Kolibri HTTP Server v2.0 EIP Overwrite BOF + egghunter
# Exercise in egghunter BOFs following Fuzzysecurity's tutorial
# Tested on Windows XP
import socket
import os
import sys
# EIP at 515
# ESP at 519
# EDI at 507
# JMP ESP at 0x7c9d30d7 ... | 36.011364 | 69 | 0.669296 | 656 | 3,169 | 3.230183 | 0.257622 | 0.025484 | 0.029731 | 0.028315 | 0.036338 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318213 | 0.081729 | 3,169 | 87 | 70 | 36.425287 | 0.409966 | 0.094983 | 0 | 0 | 0 | 0.507463 | 0.727496 | 0.62662 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.044776 | 0 | 0.044776 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90125cab84ac7833efaf4e9a62b0c525d5c6ff89 | 187 | py | Python | utils/location.py | neptunedays9/holiday-spots-chatbot-py | b90ef759159baa05575873f9e52b766fe8b1449a | [
"MIT"
] | null | null | null | utils/location.py | neptunedays9/holiday-spots-chatbot-py | b90ef759159baa05575873f9e52b766fe8b1449a | [
"MIT"
] | null | null | null | utils/location.py | neptunedays9/holiday-spots-chatbot-py | b90ef759159baa05575873f9e52b766fe8b1449a | [
"MIT"
] | null | null | null |
from geotext import GeoText
def GetLocation(text):
# places = GeoText("London is a great city")
# places = GeoText(text)
# return places.cities
return "Not implemented"
| 20.777778 | 48 | 0.684492 | 23 | 187 | 5.565217 | 0.695652 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224599 | 187 | 8 | 49 | 23.375 | 0.882759 | 0.459893 | 0 | 0 | 0 | 0 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
5f82c728a77f104c4648f38c823fb933bc0eebbc | 70 | py | Python | photorename/command_line.py | JorDunn/photorename | 4fc34f21c9acd459925f0b0c74088c454f996b97 | [
"MIT"
] | null | null | null | photorename/command_line.py | JorDunn/photorename | 4fc34f21c9acd459925f0b0c74088c454f996b97 | [
"MIT"
] | null | null | null | photorename/command_line.py | JorDunn/photorename | 4fc34f21c9acd459925f0b0c74088c454f996b97 | [
"MIT"
] | null | null | null | from photorename.photorename import rename
def main():
rename()
| 11.666667 | 42 | 0.728571 | 8 | 70 | 6.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 70 | 5 | 43 | 14 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
5f83b4682177b65eea6627224f5d4705d0383948 | 121 | py | Python | src/models/functions/sigmoid.py | takedarts/DenseResNet | d5f9c143ed3c484436a2a5bac366c3795e5d47ec | [
"MIT"
] | 3 | 2022-02-03T13:25:12.000Z | 2022-02-04T16:12:23.000Z | src/models/functions/sigmoid.py | takedarts/DenseResNet | d5f9c143ed3c484436a2a5bac366c3795e5d47ec | [
"MIT"
] | null | null | null | src/models/functions/sigmoid.py | takedarts/DenseResNet | d5f9c143ed3c484436a2a5bac366c3795e5d47ec | [
"MIT"
] | 1 | 2022-02-04T12:28:02.000Z | 2022-02-04T12:28:02.000Z | import torch.nn as nn
def h_sigmoid(x, inplace=False):
return nn.functional.relu6(x + 3, inplace=inplace) / 6
| 20.166667 | 59 | 0.677686 | 20 | 121 | 4.05 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.206612 | 121 | 5 | 60 | 24.2 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3980de8c0be9a58428a312a27a97758eb94ac2f0 | 2,273 | py | Python | tests/task_tests/test_task_delete.py | Monal5031/timemandy | 49e8e00ba29cccb142e365d1b482f3bc3108c2ff | [
"MIT"
] | 1 | 2018-09-16T20:44:09.000Z | 2018-09-16T20:44:09.000Z | tests/task_tests/test_task_delete.py | Monal5031/timemandy | 49e8e00ba29cccb142e365d1b482f3bc3108c2ff | [
"MIT"
] | 3 | 2018-09-17T03:55:09.000Z | 2018-09-30T16:52:27.000Z | tests/task_tests/test_task_delete.py | Monal5031/timemandy | 49e8e00ba29cccb142e365d1b482f3bc3108c2ff | [
"MIT"
] | 1 | 2018-09-30T12:58:10.000Z | 2018-09-30T12:58:10.000Z | from tests import TimeManagerTestCase
from tests.utils import login, create_task, send_delete_request, send_get_request
class TestTaskDelete(TimeManagerTestCase):
def delete_task(self, task_id, token=None):
return send_delete_request(self, 'api/v1/tasks/' + str(task_id), token=token)
def check_task_d... | 43.711538 | 85 | 0.672239 | 301 | 2,273 | 4.870432 | 0.17608 | 0.068213 | 0.095498 | 0.136426 | 0.77558 | 0.767394 | 0.767394 | 0.767394 | 0.725102 | 0.696453 | 0 | 0.024229 | 0.201056 | 2,273 | 51 | 86 | 44.568627 | 0.78304 | 0 | 0 | 0.651163 | 0 | 0 | 0.131104 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 1 | 0.162791 | false | 0.232558 | 0.046512 | 0.023256 | 0.255814 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
39bc1323fe431df9a96b68d09fc48e3ef572ab58 | 168 | py | Python | hw/vlad_yancharski/test_3.py | alexander-sidorov/qap-05 | 6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c | [
"MIT"
] | 9 | 2021-12-10T21:30:07.000Z | 2022-02-25T21:32:34.000Z | hw/vlad_yancharski/test_3.py | alexander-sidorov/qap-05 | 6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c | [
"MIT"
] | 22 | 2021-12-11T08:46:58.000Z | 2022-02-02T15:56:37.000Z | hw/vlad_yancharski/test_3.py | alexander-sidorov/qap-05 | 6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c | [
"MIT"
] | 8 | 2021-12-11T09:15:45.000Z | 2022-02-02T08:09:09.000Z | from hw.vlad_yancharski.func_3 import f1
from hw.vlad_yancharski.func_3 import g2
def test_f1() -> None:
assert f1() is None # type: ignore
assert g2() == 4
| 21 | 40 | 0.696429 | 29 | 168 | 3.862069 | 0.586207 | 0.107143 | 0.178571 | 0.357143 | 0.553571 | 0.553571 | 0.553571 | 0 | 0 | 0 | 0 | 0.059701 | 0.202381 | 168 | 7 | 41 | 24 | 0.776119 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
39c1d85e492e46aa2d9ef6fc1bd955005c76555d | 60 | py | Python | util/custom_layers.py | CornellDataScience/Genomics | 05ef2e877d2b168ebb99866b620fdb01733eee45 | [
"MIT"
] | null | null | null | util/custom_layers.py | CornellDataScience/Genomics | 05ef2e877d2b168ebb99866b620fdb01733eee45 | [
"MIT"
] | null | null | null | util/custom_layers.py | CornellDataScience/Genomics | 05ef2e877d2b168ebb99866b620fdb01733eee45 | [
"MIT"
] | null | null | null | from keras import backend as K
from keras.layers import GRU
| 20 | 30 | 0.816667 | 11 | 60 | 4.454545 | 0.727273 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 60 | 2 | 31 | 30 | 0.98 | 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 |
39e8f0807ec18b2b28dbe510b64bee1b308f55b9 | 23 | py | Python | granite/orchestrator/test.py | raplonu/granite | b11c3ff89c983d35bcd8fa793ffb704e6f2d38ab | [
"MIT"
] | null | null | null | granite/orchestrator/test.py | raplonu/granite | b11c3ff89c983d35bcd8fa793ffb704e6f2d38ab | [
"MIT"
] | null | null | null | granite/orchestrator/test.py | raplonu/granite | b11c3ff89c983d35bcd8fa793ffb704e6f2d38ab | [
"MIT"
] | null | null | null | from utils import meta
| 11.5 | 22 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 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 |
39ed9238fb6ef205e1e5fab1ffdb2ab8206b299b | 12,269 | py | Python | parser/test_graph_transformer.py | joeflack4/knowledge-graph-change-language | cf8d73bdcd86c6eb9e0482ea37ddfff0aaadc837 | [
"CC0-1.0"
] | 12 | 2021-06-18T04:08:18.000Z | 2022-03-28T15:06:15.000Z | parser/test_graph_transformer.py | joeflack4/knowledge-graph-change-language | cf8d73bdcd86c6eb9e0482ea37ddfff0aaadc837 | [
"CC0-1.0"
] | 20 | 2021-04-27T02:15:20.000Z | 2022-03-21T21:11:00.000Z | parser/test_graph_transformer.py | joeflack4/knowledge-graph-change-language | cf8d73bdcd86c6eb9e0482ea37ddfff0aaadc837 | [
"CC0-1.0"
] | 4 | 2021-05-25T06:37:52.000Z | 2022-01-07T17:44:01.000Z | import unittest
from rdflib.namespace import CSVW, DC, DCAT, DCTERMS, DOAP, FOAF, ODRL2, ORG, OWL, \
PROF, PROV, RDF, RDFS, SDO, SH, SKOS, SOSA, SSN, TIME, \
VOID, XMLNS, XSD
from rdflib import URIRef, BNode, Literal
from rdflib.compare import to_isomorphic, graph... | 35.665698 | 130 | 0.647812 | 1,366 | 12,269 | 5.727672 | 0.103953 | 0.042178 | 0.053681 | 0.042945 | 0.849565 | 0.823236 | 0.813267 | 0.804064 | 0.779269 | 0.717152 | 0 | 0.003408 | 0.234575 | 12,269 | 343 | 131 | 35.769679 | 0.829731 | 0.119407 | 0 | 0.691176 | 0 | 0.02451 | 0.186245 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 1 | 0.068627 | false | 0 | 0.039216 | 0 | 0.156863 | 0.02451 | 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 |
8435c84dfcbd91f1b6dee6dbd678dcab8c952b2e | 127 | py | Python | backend/api/__init__.py | HarishGuragol/Hack-eye-need-a-break | b116a80665692ab09f3fd54a9ae5bd5f2ba45b39 | [
"MIT"
] | null | null | null | backend/api/__init__.py | HarishGuragol/Hack-eye-need-a-break | b116a80665692ab09f3fd54a9ae5bd5f2ba45b39 | [
"MIT"
] | null | null | null | backend/api/__init__.py | HarishGuragol/Hack-eye-need-a-break | b116a80665692ab09f3fd54a9ae5bd5f2ba45b39 | [
"MIT"
] | null | null | null | from .eye_data import send_eye_data, get_eye_data
from .user import get_all_users_api
from .sensitvity import send_sensitivity
| 31.75 | 49 | 0.866142 | 22 | 127 | 4.590909 | 0.545455 | 0.207921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 127 | 3 | 50 | 42.333333 | 0.885965 | 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 |
fff99ddf8ec18a899a003558590608ad5ba663dd | 453 | py | Python | day01/main.py | ogun/advent-of-code-2020 | 1dcf268f9f1f6cd7c46d442b6aaa9b19ec5b2cf1 | [
"MIT"
] | 4 | 2020-12-03T13:22:12.000Z | 2020-12-22T21:51:49.000Z | day01/main.py | ogun/advent-of-code-2020 | 1dcf268f9f1f6cd7c46d442b6aaa9b19ec5b2cf1 | [
"MIT"
] | null | null | null | day01/main.py | ogun/advent-of-code-2020 | 1dcf268f9f1f6cd7c46d442b6aaa9b19ec5b2cf1 | [
"MIT"
] | 1 | 2020-12-12T13:41:12.000Z | 2020-12-12T13:41:12.000Z | import itertools
import functools
import operator
import day01.data as data
def part1():
value = data.INPUT
pair = list(x for x in itertools.combinations(value, 2) if sum(x) == 2020)
result = functools.reduce(operator.mul, pair[0])
return result
def part2():
value = data.INPUT
pair = list(x... | 22.65 | 78 | 0.686534 | 67 | 453 | 4.641791 | 0.41791 | 0.057878 | 0.090032 | 0.115756 | 0.733119 | 0.733119 | 0.733119 | 0.733119 | 0.733119 | 0.733119 | 0 | 0.044444 | 0.205298 | 453 | 19 | 79 | 23.842105 | 0.819444 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
0807e12a083ab6a3945103333d4fed797a394634 | 10,326 | py | Python | search/tests/test_helpers.py | uktrade/great-domestic-ui | e4c1e4783d7321e170ecb6fd5f9eb6c30cd21f4c | [
"MIT"
] | null | null | null | search/tests/test_helpers.py | uktrade/great-domestic-ui | e4c1e4783d7321e170ecb6fd5f9eb6c30cd21f4c | [
"MIT"
] | 369 | 2019-02-18T15:53:55.000Z | 2021-06-09T13:17:37.000Z | search/tests/test_helpers.py | uktrade/great-domestic-ui | e4c1e4783d7321e170ecb6fd5f9eb6c30cd21f4c | [
"MIT"
] | 3 | 2019-03-11T12:04:22.000Z | 2020-11-12T15:28:13.000Z | import json
import pytest
from unittest.mock import Mock
from search import helpers
@pytest.mark.parametrize('page,safe_output', (
("2", 2),
("-1", 1),
("abc", 1),
("$password = 1' or '1' = '1", 1),
("'search=keyword'and'1'='1'", 1),
("innocent search'dropdb();", 1),
("{\"script\": \"ctx... | 35.484536 | 75 | 0.410033 | 836 | 10,326 | 4.791866 | 0.172249 | 0.05991 | 0.041937 | 0.050924 | 0.843734 | 0.830754 | 0.798802 | 0.798802 | 0.779331 | 0.779331 | 0 | 0.040757 | 0.463006 | 10,326 | 290 | 76 | 35.606897 | 0.681695 | 0 | 0 | 0.643885 | 0 | 0 | 0.264187 | 0.056363 | 0 | 0 | 0 | 0 | 0.017986 | 1 | 0.017986 | false | 0.003597 | 0.014388 | 0 | 0.032374 | 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 |
082a95a5305a30d45bad87de3a8b20614fefbea6 | 246 | py | Python | python_api/src/api/geom/__init__.py | berkerdemoglu/My3DEngine | 86edd838563a1d0691c1a267f5af62e184db33f5 | [
"CC0-1.0"
] | 1 | 2021-05-10T08:50:45.000Z | 2021-05-10T08:50:45.000Z | python_api/src/api/geom/__init__.py | berkerdemoglu/My3DEngine | 86edd838563a1d0691c1a267f5af62e184db33f5 | [
"CC0-1.0"
] | 4 | 2021-05-10T10:46:04.000Z | 2021-05-11T11:10:36.000Z | python_api/src/api/geom/__init__.py | berkerdemoglu/My3DEngine | 86edd838563a1d0691c1a267f5af62e184db33f5 | [
"CC0-1.0"
] | null | null | null | """
This package defines classes in the berkerdemoglu.engine.graphics.math and
berkerdemoglu.engine.graphics.math.geometry packages.
"""
from .polygon import Polygon
from .vector import Vector
from .projection_settings import ProjectionSettings
| 27.333333 | 74 | 0.829268 | 30 | 246 | 6.766667 | 0.666667 | 0.187192 | 0.26601 | 0.305419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101626 | 246 | 8 | 75 | 30.75 | 0.918552 | 0.520325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0856e84d6f1bab710c16f1f1321910713ea31362 | 1,204 | py | Python | torch_scatter/__init__.py | zuru/pytorch_scatter | d7dbb0807dede6a9a1021ce3dc2bc2972b168a24 | [
"MIT"
] | null | null | null | torch_scatter/__init__.py | zuru/pytorch_scatter | d7dbb0807dede6a9a1021ce3dc2bc2972b168a24 | [
"MIT"
] | null | null | null | torch_scatter/__init__.py | zuru/pytorch_scatter | d7dbb0807dede6a9a1021ce3dc2bc2972b168a24 | [
"MIT"
] | null | null | null | from .scatter import (scatter_sum, scatter_add, scatter_mean, scatter_min,
scatter_max, scatter)
from .segment_csr import (segment_sum_csr, segment_add_csr, segment_mean_csr,
segment_min_csr, segment_max_csr, segment_csr,
gather_csr)
from .segmen... | 28.666667 | 77 | 0.63206 | 138 | 1,204 | 4.913043 | 0.15942 | 0.162242 | 0.050147 | 0.058997 | 0.840708 | 0.840708 | 0.840708 | 0.840708 | 0.840708 | 0.672566 | 0 | 0.003413 | 0.269934 | 1,204 | 41 | 78 | 29.365854 | 0.767918 | 0 | 0 | 0 | 0 | 0 | 0.289037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.102564 | 0 | 0.102564 | 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 |
08572727f40965cf75ca73c58a2430e76c342bfc | 70 | py | Python | nocd/nn/__init__.py | sckangz/overlapping-community-detection | 414856fd0d8f61d5bbeec06deb60c3e7b477a342 | [
"MIT"
] | 91 | 2019-09-27T04:46:09.000Z | 2022-03-31T11:57:20.000Z | nocd/nn/__init__.py | wrnge/overlapping-community-detection | 414856fd0d8f61d5bbeec06deb60c3e7b477a342 | [
"MIT"
] | 9 | 2019-12-03T07:28:10.000Z | 2022-01-07T14:08:24.000Z | nocd/nn/__init__.py | wrnge/overlapping-community-detection | 414856fd0d8f61d5bbeec06deb60c3e7b477a342 | [
"MIT"
] | 31 | 2019-10-06T03:13:11.000Z | 2022-03-22T05:41:02.000Z | from .decoder import *
from .gcn import *
from .imrpoved_gcn import *
| 17.5 | 27 | 0.742857 | 10 | 70 | 5.1 | 0.5 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 3 | 28 | 23.333333 | 0.87931 | 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 |
4b2eea6cf4ba03b867dc08924cc439e7899bfbdf | 26,446 | py | Python | UnsupervisedNodeClassification/Transform/transform_model.py | HKUST-KnowComp/DualMessagePassing | d29d627be2a8c8f24b52e3db2c383e33a059aaa7 | [
"MIT"
] | 12 | 2021-12-06T02:31:17.000Z | 2022-03-11T15:17:57.000Z | UnsupervisedNodeClassification/Transform/transform_model.py | HKUST-KnowComp/DualMessagePassing | d29d627be2a8c8f24b52e3db2c383e33a059aaa7 | [
"MIT"
] | null | null | null | UnsupervisedNodeClassification/Transform/transform_model.py | HKUST-KnowComp/DualMessagePassing | d29d627be2a8c8f24b52e3db2c383e33a059aaa7 | [
"MIT"
] | null | null | null | import os
import shutil
import numpy as np
from collections import defaultdict
data_folder, model_folder = '../Data', '../Model'
node_file, link_file, label_file = 'node.dat', 'link.dat', 'label.dat'
info_file, meta_file = 'info.dat', 'meta.dat'
seed_node_file = 'seed_node.dat'
def seed_node_generate(dataset, model... | 42.246006 | 143 | 0.606746 | 3,740 | 26,446 | 4.04385 | 0.03984 | 0.083311 | 0.048135 | 0.033325 | 0.900952 | 0.87781 | 0.854205 | 0.81612 | 0.79635 | 0.781936 | 0 | 0.007643 | 0.233192 | 26,446 | 626 | 144 | 42.246006 | 0.738153 | 0 | 0 | 0.666667 | 0 | 0.007707 | 0.279238 | 0.19541 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032755 | false | 0 | 0.007707 | 0 | 0.073218 | 0.071291 | 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 |
4b6eae9a9e459d468228b81ad2175ec72541bdbe | 181 | py | Python | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/l10n_fr/__init__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | 1 | 2019-12-19T01:53:13.000Z | 2019-12-19T01:53:13.000Z | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/l10n_fr/__init__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | null | null | null | apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/l10n_fr/__init__.py | gtfarng/Odoo_migrade | 9cc28fae4c379e407645248a29d22139925eafe7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
# Copyright (c) 2008 JAILLET Simon - CrysaLEAD - www.crysalead.fr
import models
| 25.857143 | 74 | 0.718232 | 26 | 181 | 5 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033557 | 0.176796 | 181 | 6 | 75 | 30.166667 | 0.838926 | 0.872928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b7b62fbed9c037a720fe7831a97ca13d56c492d | 683 | py | Python | process/data_process.py | quanbingDG/sharper | 4cd5c6b3238d5e430d5986829cc4e0bb47ab3dff | [
"MIT"
] | null | null | null | process/data_process.py | quanbingDG/sharper | 4cd5c6b3238d5e430d5986829cc4e0bb47ab3dff | [
"MIT"
] | 2 | 2021-01-13T03:39:15.000Z | 2021-01-19T08:50:18.000Z | process/data_process.py | quanbingDG/sharper | 4cd5c6b3238d5e430d5986829cc4e0bb47ab3dff | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2021/1/9 10:34 下午
# @Author : quanbing
# @Email : quanbinks@sina.com
# @File : data_process.py
from pandas import Series
class DataProcess:
@staticmethod
def cut_head(series: Series, per=.01):
return series[series >= series.quantile(per)]
@staticmethod
def c... | 22.766667 | 92 | 0.63104 | 86 | 683 | 4.953488 | 0.511628 | 0.28169 | 0.169014 | 0.169014 | 0.333333 | 0.333333 | 0.248826 | 0.248826 | 0.248826 | 0 | 0 | 0.039848 | 0.228404 | 683 | 29 | 93 | 23.551724 | 0.768501 | 0.172767 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0.117647 | 0.058824 | 0.176471 | 0.588235 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
29b020a59c4db1fcfd7fdb044def12f248a59597 | 10,243 | py | Python | paper-experiments/geometric-learning/models.py | llucid-97/dfa-scales-to-modern-deep-learning | 66efb4b4ef8a378bf01ea0e5e6794d6bb4380c97 | [
"MIT"
] | 63 | 2020-06-24T07:50:15.000Z | 2022-03-09T09:33:02.000Z | paper-experiments/geometric-learning/models.py | thegregyang/dfa-scales-to-modern-deep-learning | 66efb4b4ef8a378bf01ea0e5e6794d6bb4380c97 | [
"MIT"
] | 3 | 2020-06-28T08:58:34.000Z | 2020-08-07T08:41:54.000Z | paper-experiments/geometric-learning/models.py | thegregyang/dfa-scales-to-modern-deep-learning | 66efb4b4ef8a378bf01ea0e5e6794d6bb4380c97 | [
"MIT"
] | 9 | 2020-06-27T16:42:58.000Z | 2021-09-10T03:39:36.000Z | import torch
import torch.nn.functional as F
from torch_geometric.nn import GCNConv, ChebConv, SplineConv, GATConv, DNAConv
from tinydfa import DFALayer, DFA
class ChebNet(torch.nn.Module):
def __init__(self, num_features, num_classes):
super(ChebNet, self).__init__()
self.conv1 = ChebConv(num_f... | 40.646825 | 100 | 0.645026 | 1,520 | 10,243 | 4.121053 | 0.070395 | 0.066092 | 0.047893 | 0.04917 | 0.900064 | 0.884579 | 0.877075 | 0.859674 | 0.854566 | 0.806194 | 0 | 0.024771 | 0.223567 | 10,243 | 251 | 101 | 40.808765 | 0.762857 | 0.017866 | 0 | 0.695431 | 0 | 0 | 0.003282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142132 | false | 0 | 0.020305 | 0 | 0.294416 | 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 |
4b031e5b85c1d482aebab979bc9ced54bcfc8e4d | 7,502 | py | Python | q2_fondue/tests/test_get_all.py | misialq/q2-fondue | a7a541ee017381b34d38ef766de39d5d62588465 | [
"BSD-3-Clause"
] | 10 | 2022-03-21T16:07:22.000Z | 2022-03-31T09:33:48.000Z | q2_fondue/tests/test_get_all.py | misialq/q2-fondue | a7a541ee017381b34d38ef766de39d5d62588465 | [
"BSD-3-Clause"
] | null | null | null | q2_fondue/tests/test_get_all.py | misialq/q2-fondue | a7a541ee017381b34d38ef766de39d5d62588465 | [
"BSD-3-Clause"
] | 4 | 2022-03-21T06:51:44.000Z | 2022-03-29T15:56:14.000Z | # ----------------------------------------------------------------------------
# Copyright (c) 2022, Bokulich Laboratories.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# --------------------------------------------------------... | 40.994536 | 78 | 0.630232 | 878 | 7,502 | 5.077449 | 0.187927 | 0.034096 | 0.046658 | 0.047106 | 0.849933 | 0.841633 | 0.829969 | 0.815164 | 0.814266 | 0.814266 | 0 | 0.020141 | 0.245535 | 7,502 | 182 | 79 | 41.21978 | 0.767491 | 0.136364 | 0 | 0.613139 | 0 | 0 | 0.187656 | 0.119531 | 0 | 0 | 0 | 0 | 0.087591 | 1 | 0.014599 | false | 0 | 0.080292 | 0 | 0.109489 | 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 |
4b10546c643db0b490c2297bf6706aefee92a6b8 | 898 | py | Python | spot/user_client.py | karkuspeter/habitat-challenge | 4b61be2b24b43d03246c94435febc691b6172ab6 | [
"MIT"
] | null | null | null | spot/user_client.py | karkuspeter/habitat-challenge | 4b61be2b24b43d03246c94435febc691b6172ab6 | [
"MIT"
] | null | null | null | spot/user_client.py | karkuspeter/habitat-challenge | 4b61be2b24b43d03246c94435febc691b6172ab6 | [
"MIT"
] | null | null | null | import asyncio
import websockets
async def user_client():
uri = "ws://10.8.0.3:8765"
# uri = "ws://localhost:8765"
async with websockets.connect(uri) as websocket:
while True:
name = input("Command ")
await websocket.send(name)
print(f"> {name}")
g... | 23.025641 | 62 | 0.551225 | 102 | 898 | 4.735294 | 0.352941 | 0.082816 | 0.05383 | 0.066253 | 0.919255 | 0.919255 | 0.919255 | 0.919255 | 0.919255 | 0.919255 | 0 | 0.041074 | 0.2951 | 898 | 38 | 63 | 23.631579 | 0.721959 | 0.487751 | 0 | 0 | 0 | 0 | 0.105023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 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 |
4b158f3841e26291108a9b473d22ec77b0b6183f | 17,058 | py | Python | test/asam_protocol_layer_test.py | Sauci/Xcp | e20e1871e7c4e91333b6214e15befabd344302de | [
"BSD-3-Clause"
] | 1 | 2022-02-08T19:07:23.000Z | 2022-02-08T19:07:23.000Z | test/asam_protocol_layer_test.py | Sauci/Xcp | e20e1871e7c4e91333b6214e15befabd344302de | [
"BSD-3-Clause"
] | null | null | null | test/asam_protocol_layer_test.py | Sauci/Xcp | e20e1871e7c4e91333b6214e15befabd344302de | [
"BSD-3-Clause"
] | 2 | 2022-02-01T22:27:59.000Z | 2022-02-20T06:12:44.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from unittest.mock import ANY
import pytest
from .parameter import *
from .conftest import XcpTest
@pytest.mark.parametrize('max_cto, address_granularity', ((1, 'WORD'),
(3, 'WORD'),
... | 65.10687 | 120 | 0.592567 | 1,964 | 17,058 | 4.774949 | 0.088086 | 0.158882 | 0.203135 | 0.230326 | 0.8553 | 0.78119 | 0.722969 | 0.660909 | 0.628599 | 0.61591 | 0 | 0.056308 | 0.303494 | 17,058 | 261 | 121 | 65.356322 | 0.733019 | 0.002462 | 0 | 0.418182 | 0 | 0 | 0.037969 | 0.006877 | 0 | 0 | 0.028682 | 0 | 0.081818 | 1 | 0.081818 | false | 0 | 0.018182 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9c31b55ed2eaf1f3311ad667e328dd93684ffbb | 166 | py | Python | graph_computing/models/maximum_independent_set.py | lightondust/graphlandQ | 554fe0ed505e65379ded09ae3b8ca412cb3c7a61 | [
"MIT"
] | 3 | 2019-04-25T12:41:04.000Z | 2020-11-21T12:05:57.000Z | graph_computing/models/maximum_independent_set.py | lightondust/graphQ | 554fe0ed505e65379ded09ae3b8ca412cb3c7a61 | [
"MIT"
] | 16 | 2019-04-25T06:06:23.000Z | 2019-09-01T15:40:41.000Z | graph_computing/models/maximum_independent_set.py | lightondust/graphQ | 554fe0ed505e65379ded09ae3b8ca412cb3c7a61 | [
"MIT"
] | 1 | 2019-04-26T06:25:34.000Z | 2019-04-26T06:25:34.000Z | import dwave_networkx as dnx
def maximum_independent_set(graph, sampler, params=None):
res = dnx.maximum_independent_set(graph, sampler)
return res, 'node'
| 23.714286 | 57 | 0.76506 | 23 | 166 | 5.304348 | 0.695652 | 0.295082 | 0.344262 | 0.42623 | 0.540984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150602 | 166 | 6 | 58 | 27.666667 | 0.865248 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a1726606a6ace60b773303f168819b766317bff | 22,533 | py | Python | search/services/index/tests/tests.py | f380cedric/arxiv-search | 3d438cd82fb804db6ace55444aecdaa2dd772b05 | [
"MIT"
] | null | null | null | search/services/index/tests/tests.py | f380cedric/arxiv-search | 3d438cd82fb804db6ace55444aecdaa2dd772b05 | [
"MIT"
] | null | null | null | search/services/index/tests/tests.py | f380cedric/arxiv-search | 3d438cd82fb804db6ace55444aecdaa2dd772b05 | [
"MIT"
] | null | null | null | """Tests for :mod:`search.services.index`."""
from unittest import TestCase, mock
from datetime import datetime, timedelta
from search.services import index
from search.services.index import advanced
from search.services.index.util import wildcard_escape, Q_
from search.domain import (
SortBy,
SortOrder,
... | 39.881416 | 79 | 0.583855 | 2,286 | 22,533 | 5.51881 | 0.102362 | 0.076094 | 0.064204 | 0.069911 | 0.824746 | 0.800095 | 0.784242 | 0.749524 | 0.711795 | 0.711795 | 0 | 0.021305 | 0.298007 | 22,533 | 564 | 80 | 39.952128 | 0.776268 | 0.073758 | 0 | 0.652632 | 0 | 0 | 0.155812 | 0.04387 | 0 | 0 | 0 | 0 | 0.149474 | 1 | 0.037895 | false | 0 | 0.012632 | 0 | 0.061053 | 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.