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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cb6f435f494c750ba2005c0523c9bcf06ffda1d0 | 31 | py | Python | fuzzer/extensions/__init__.py | bannsec/fuzzer | 3c33c3d00b5f56eb83686f9ca2b50ca294b6e077 | [
"BSD-2-Clause"
] | 1 | 2018-12-07T07:09:41.000Z | 2018-12-07T07:09:41.000Z | fuzzer/extensions/__init__.py | bannsec/fuzzer | 3c33c3d00b5f56eb83686f9ca2b50ca294b6e077 | [
"BSD-2-Clause"
] | null | null | null | fuzzer/extensions/__init__.py | bannsec/fuzzer | 3c33c3d00b5f56eb83686f9ca2b50ca294b6e077 | [
"BSD-2-Clause"
] | null | null | null | from .extender import Extender
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 |
cb8db6b658e86d1183f26bc5f7d4770d98f009fc | 89 | py | Python | ermine/__init__.py | kitfactory/ermine | d2095a52ac7e8feab0846d82077214433202805f | [
"Apache-2.0"
] | null | null | null | ermine/__init__.py | kitfactory/ermine | d2095a52ac7e8feab0846d82077214433202805f | [
"Apache-2.0"
] | null | null | null | ermine/__init__.py | kitfactory/ermine | d2095a52ac7e8feab0846d82077214433202805f | [
"Apache-2.0"
] | null | null | null | from . base import *
from . log import *
from . module import *
from . module2 import *
| 14.833333 | 23 | 0.674157 | 12 | 89 | 5 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.235955 | 89 | 5 | 24 | 17.8 | 0.867647 | 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 |
1db514b8624986a07b81a6aacfd871dd9d9e371f | 229 | py | Python | pybryt/annotations/__init__.py | QPC-database/pybryt | 178a60e27f3c3b65d5ea6f60b208eff288b85d4c | [
"MIT"
] | 1 | 2021-07-06T16:39:38.000Z | 2021-07-06T16:39:38.000Z | pybryt/annotations/__init__.py | QPC-database/pybryt | 178a60e27f3c3b65d5ea6f60b208eff288b85d4c | [
"MIT"
] | null | null | null | pybryt/annotations/__init__.py | QPC-database/pybryt | 178a60e27f3c3b65d5ea6f60b208eff288b85d4c | [
"MIT"
] | null | null | null | """Annotations for marking-up reference implementations"""
from . import invariants
from .annotation import *
from .collection import *
from .complexity import *
from .relation import *
from .type_ import *
from .value import *
| 22.9 | 58 | 0.764192 | 27 | 229 | 6.444444 | 0.555556 | 0.287356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148472 | 229 | 9 | 59 | 25.444444 | 0.892308 | 0.227074 | 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 |
1dc90efa2478d6be49ab51071e70392100570a4c | 88 | py | Python | samples/contacts/ContactsDataset.py | Trevol/Mask_RCNN | 18308082e2c5fd5b4df5d6e40f009b3ebd66c26d | [
"MIT"
] | null | null | null | samples/contacts/ContactsDataset.py | Trevol/Mask_RCNN | 18308082e2c5fd5b4df5d6e40f009b3ebd66c26d | [
"MIT"
] | null | null | null | samples/contacts/ContactsDataset.py | Trevol/Mask_RCNN | 18308082e2c5fd5b4df5d6e40f009b3ebd66c26d | [
"MIT"
] | null | null | null | import os, sys
from mrcnn.utils import Dataset
class ContactsDataset(Dataset):
pass | 17.6 | 31 | 0.784091 | 12 | 88 | 5.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 5 | 32 | 17.6 | 0.932432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1dd63913874c2556b9e99d9f8dc5bdb7ab090d7d | 106 | py | Python | code-aaron/ch5-viewmodels/view_models/account/register_viewmodel.py | ayhteo/web-applications-with-fastapi-course | 160d74c70528fbb803d95e4a80e495ddbd5e9833 | [
"MIT"
] | null | null | null | code-aaron/ch5-viewmodels/view_models/account/register_viewmodel.py | ayhteo/web-applications-with-fastapi-course | 160d74c70528fbb803d95e4a80e495ddbd5e9833 | [
"MIT"
] | null | null | null | code-aaron/ch5-viewmodels/view_models/account/register_viewmodel.py | ayhteo/web-applications-with-fastapi-course | 160d74c70528fbb803d95e4a80e495ddbd5e9833 | [
"MIT"
] | null | null | null | from view_models.shared.viewmodel import ViewModelBase
class RegisterViewModel(ViewModelBase):
pass
| 17.666667 | 54 | 0.830189 | 11 | 106 | 7.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 106 | 5 | 55 | 21.2 | 0.935484 | 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 |
1dd793f708caed212fa2981d8bd3189402d8ae15 | 113 | py | Python | src/data/downloaders/__init__.py | okunator/Dippa | dcbb7056511dd6f66bcc7b095716c385d0b0a8bb | [
"MIT"
] | 13 | 2021-01-25T07:47:03.000Z | 2022-01-20T16:02:51.000Z | src/data/downloaders/__init__.py | okunator/Dippa | dcbb7056511dd6f66bcc7b095716c385d0b0a8bb | [
"MIT"
] | 1 | 2022-02-12T15:03:23.000Z | 2022-02-12T15:03:23.000Z | src/data/downloaders/__init__.py | okunator/Dippa | dcbb7056511dd6f66bcc7b095716c385d0b0a8bb | [
"MIT"
] | null | null | null | from .pannuke_downloader import PANNUKE
from .consep_downloader import CONSEP
from .kumar_downloader import KUMAR | 37.666667 | 39 | 0.876106 | 15 | 113 | 6.4 | 0.4 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 113 | 3 | 40 | 37.666667 | 0.941176 | 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 |
380e81d038e1e9b1899eacb90f74a5be83238f2f | 40 | py | Python | ucrloader/__init__.py | walwe/ucrloader | 453ab7b0ebd8fb25e47afd5d4a843b024ffe1e7f | [
"WTFPL"
] | null | null | null | ucrloader/__init__.py | walwe/ucrloader | 453ab7b0ebd8fb25e47afd5d4a843b024ffe1e7f | [
"WTFPL"
] | null | null | null | ucrloader/__init__.py | walwe/ucrloader | 453ab7b0ebd8fb25e47afd5d4a843b024ffe1e7f | [
"WTFPL"
] | null | null | null | from ._loader import UCRLoader, UCRData
| 20 | 39 | 0.825 | 5 | 40 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
382f63c337fee2c9dbafe26b684355c776c5f156 | 8,649 | py | Python | compatibility_server/test_pip_checker.py | elharo/cloud-opensource-python | 14c05855d23fd13cccda8191c4c4aa1e56c16b1e | [
"Apache-2.0"
] | null | null | null | compatibility_server/test_pip_checker.py | elharo/cloud-opensource-python | 14c05855d23fd13cccda8191c4c4aa1e56c16b1e | [
"Apache-2.0"
] | null | null | null | compatibility_server/test_pip_checker.py | elharo/cloud-opensource-python | 14c05855d23fd13cccda8191c4c4aa1e56c16b1e | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | 34.73494 | 79 | 0.52006 | 900 | 8,649 | 4.738889 | 0.18 | 0.056272 | 0.009144 | 0.031653 | 0.762485 | 0.754045 | 0.732943 | 0.717937 | 0.717937 | 0.693552 | 0 | 0.066546 | 0.362354 | 8,649 | 248 | 80 | 34.875 | 0.7068 | 0.079431 | 0 | 0.722772 | 0 | 0 | 0.19791 | 0.075161 | 0 | 0 | 0 | 0 | 0.039604 | 1 | 0.034653 | false | 0 | 0.024752 | 0 | 0.064356 | 0.004951 | 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 |
69b81ad3758a47d90b528c05d1a79367723d69a5 | 136 | py | Python | home/views.py | ghassen3699/agence_hotel | 971e3bcaa4e1c216fe1cf19db2b9333da6a22698 | [
"Apache-2.0"
] | null | null | null | home/views.py | ghassen3699/agence_hotel | 971e3bcaa4e1c216fe1cf19db2b9333da6a22698 | [
"Apache-2.0"
] | null | null | null | home/views.py | ghassen3699/agence_hotel | 971e3bcaa4e1c216fe1cf19db2b9333da6a22698 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index_page(request) :
return render(request,'home/index.html') | 17 | 44 | 0.75 | 19 | 136 | 5.315789 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154412 | 136 | 8 | 44 | 17 | 0.878261 | 0.169118 | 0 | 0 | 0 | 0 | 0.133929 | 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 |
69cba97965ce44f7e95817ff69cf75d7b7839753 | 23 | py | Python | conv/__init__.py | osgoth/Deadline-bot | aac5b78914be931f81520812667948e356353c8a | [
"MIT"
] | null | null | null | conv/__init__.py | osgoth/Deadline-bot | aac5b78914be931f81520812667948e356353c8a | [
"MIT"
] | null | null | null | conv/__init__.py | osgoth/Deadline-bot | aac5b78914be931f81520812667948e356353c8a | [
"MIT"
] | null | null | null | from .conv import Conv
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
385d8edba245284e134bff8f39cb7464fe5b093f | 492 | py | Python | orb_simulator/errors.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 1 | 2022-01-19T22:49:09.000Z | 2022-01-19T22:49:09.000Z | orb_simulator/errors.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 15 | 2021-11-10T14:25:02.000Z | 2022-02-12T19:17:11.000Z | orb_simulator/errors.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | null | null | null | class OrbisimSemanticError(Exception):
@property
def error_info(self):
return self.args[0]
class OrbisimExecutionError(Exception):
@property
def error_info(self):
return self.args[0]
class OrbisimLexerError(Exception):
@property
def error_info(self):
return self.args[... | 24.6 | 39 | 0.666667 | 56 | 492 | 5.785714 | 0.285714 | 0.169753 | 0.216049 | 0.277778 | 0.623457 | 0.623457 | 0.623457 | 0.623457 | 0.623457 | 0.623457 | 0 | 0.013333 | 0.237805 | 492 | 20 | 40 | 24.6 | 0.850667 | 0 | 0 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0 | 0.263158 | 0.736842 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
38b0d92b20704b137edc0cd257c1e7a9beca023d | 62 | py | Python | src_py/_sdl2/__init__.py | czogran/pygame1 | 1591a3295402f914950ae15039b91136d8bf8f79 | [
"Python-2.0",
"OLDAP-2.3"
] | 2 | 2021-04-03T20:01:35.000Z | 2021-09-09T23:42:21.000Z | src_py/_sdl2/__init__.py | czogran/pygame1 | 1591a3295402f914950ae15039b91136d8bf8f79 | [
"Python-2.0",
"OLDAP-2.3"
] | null | null | null | src_py/_sdl2/__init__.py | czogran/pygame1 | 1591a3295402f914950ae15039b91136d8bf8f79 | [
"Python-2.0",
"OLDAP-2.3"
] | 1 | 2021-01-22T17:35:44.000Z | 2021-01-22T17:35:44.000Z | from .sdl2 import *
from .audio import *
from .video import *
| 15.5 | 20 | 0.709677 | 9 | 62 | 4.888889 | 0.555556 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.193548 | 62 | 3 | 21 | 20.666667 | 0.86 | 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 |
38d14e1a9ab4d24a21bc7273774416bfd31271f1 | 6,109 | py | Python | tests/test_api/test_bookmark.py | yu-iskw/polyaxon-client | af72f30af218a8a027fea1ad966b543c900e0444 | [
"MIT"
] | null | null | null | tests/test_api/test_bookmark.py | yu-iskw/polyaxon-client | af72f30af218a8a027fea1ad966b543c900e0444 | [
"MIT"
] | null | null | null | tests/test_api/test_bookmark.py | yu-iskw/polyaxon-client | af72f30af218a8a027fea1ad966b543c900e0444 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
import httpretty
import json
import uuid
from collections import Mapping
from faker import Faker
from tests.test_api.utils import TestBaseApi
from polyaxon_client.api.base import BaseApiHandler
from polyaxon_client.api.bookmark... | 35.109195 | 95 | 0.562121 | 599 | 6,109 | 5.560935 | 0.148581 | 0.078055 | 0.046232 | 0.063044 | 0.752627 | 0.752627 | 0.733413 | 0.733413 | 0.733413 | 0.733413 | 0 | 0.017667 | 0.323621 | 6,109 | 173 | 96 | 35.312139 | 0.78848 | 0.027173 | 0 | 0.719424 | 0 | 0 | 0.086832 | 0 | 0 | 0 | 0 | 0 | 0.143885 | 1 | 0.043165 | false | 0 | 0.071942 | 0 | 0.122302 | 0.007194 | 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 |
2a1bcab16def68cb585a4250ee4ed2eeef605bb3 | 120 | py | Python | Ekeopara_Praise/Phase 1/Python Basic 1/Day9 Tasks/Task4.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Ekeopara_Praise/Phase 1/Python Basic 1/Day9 Tasks/Task4.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Ekeopara_Praise/Phase 1/Python Basic 1/Day9 Tasks/Task4.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | '''4. Write a Python program to hash a word.'''
def hash_word(word):
return ("#"+word)
print(hash_word('Education')) | 30 | 47 | 0.666667 | 19 | 120 | 4.105263 | 0.631579 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.141667 | 120 | 4 | 48 | 30 | 0.747573 | 0.341667 | 0 | 0 | 0 | 0 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2a3616cda922fdb3c35ad441c19bccd6b9f4051e | 24 | py | Python | run_on_kong.py | payamesfandiari/multiclass_ezp | ea4644d398503331146f4f2aa9800dfbf8c059a6 | [
"MIT"
] | null | null | null | run_on_kong.py | payamesfandiari/multiclass_ezp | ea4644d398503331146f4f2aa9800dfbf8c059a6 | [
"MIT"
] | null | null | null | run_on_kong.py | payamesfandiari/multiclass_ezp | ea4644d398503331146f4f2aa9800dfbf8c059a6 | [
"MIT"
] | null | null | null |
import os,subprocess
| 4.8 | 20 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 4 | 21 | 6 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2a7e0c50948336673dbd8dfde15bd398cce31eab | 44 | py | Python | Calculator/SquareRoot.py | Ra654/Stats-Calculator | 039ecaba3f8bb3ef69bb29e27f9c32d0fe2096b0 | [
"MIT"
] | null | null | null | Calculator/SquareRoot.py | Ra654/Stats-Calculator | 039ecaba3f8bb3ef69bb29e27f9c32d0fe2096b0 | [
"MIT"
] | null | null | null | Calculator/SquareRoot.py | Ra654/Stats-Calculator | 039ecaba3f8bb3ef69bb29e27f9c32d0fe2096b0 | [
"MIT"
] | null | null | null | def squareroot(a):
return float(a) ** .5 | 22 | 25 | 0.613636 | 7 | 44 | 3.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.204545 | 44 | 2 | 25 | 22 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
aaacf8cf1561b3cb5b5fe29bb82daf18df921ea7 | 33 | py | Python | application/routes/__init__.py | agu3rra/flask-starter | 87c42dbd0d7709abb17c90ff794c18256c428b56 | [
"MIT"
] | null | null | null | application/routes/__init__.py | agu3rra/flask-starter | 87c42dbd0d7709abb17c90ff794c18256c428b56 | [
"MIT"
] | null | null | null | application/routes/__init__.py | agu3rra/flask-starter | 87c42dbd0d7709abb17c90ff794c18256c428b56 | [
"MIT"
] | null | null | null | from .users import users_resource | 33 | 33 | 0.878788 | 5 | 33 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 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 |
2ad592860e2c4cbff9b9d647564f3cd5041f1841 | 98 | py | Python | with_abc/stream/dslr_camera.py | ArjanCodes/2022-bridge | 0b00555ca657cc5c222f8125c19efce40fcc754a | [
"MIT"
] | 11 | 2022-02-18T14:08:29.000Z | 2022-03-29T14:31:57.000Z | with_abc/stream/dslr_camera.py | ArjanCodes/2022-bridge | 0b00555ca657cc5c222f8125c19efce40fcc754a | [
"MIT"
] | null | null | null | with_abc/stream/dslr_camera.py | ArjanCodes/2022-bridge | 0b00555ca657cc5c222f8125c19efce40fcc754a | [
"MIT"
] | 4 | 2022-02-21T18:56:48.000Z | 2022-03-11T22:43:31.000Z | from stream.data import BufferData
def dslr_camera() -> BufferData:
return "###DSLRDATA###"
| 16.333333 | 34 | 0.693878 | 11 | 98 | 6.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 98 | 5 | 35 | 19.6 | 0.817073 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
2aecd2f75f51a84d781351ff80fa068522d5081d | 45 | py | Python | rucken_todo/swagger/__init__.py | site15/rucken-todo-django | bf30d4ad43be22bd8383447e07b151d6dc99da72 | [
"MIT"
] | 3 | 2018-06-04T07:36:59.000Z | 2019-10-07T05:33:56.000Z | rucken_todo/swagger/__init__.py | site15/rucken-todo-django-example | bf30d4ad43be22bd8383447e07b151d6dc99da72 | [
"MIT"
] | 428 | 2017-11-24T20:19:39.000Z | 2022-03-26T04:13:25.000Z | rucken_todo/swagger/__init__.py | rucken/todo-django | bf30d4ad43be22bd8383447e07b151d6dc99da72 | [
"MIT"
] | null | null | null | from .renderers import *
from .views import * | 22.5 | 24 | 0.755556 | 6 | 45 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 25 | 22.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
63165c112414282c230d06b122e8e6901cbfd7cd | 71 | py | Python | config/__init__.py | will4906/PatentCrawler | 2550f9e9e7867f96284827ae4a0b6703d43f0c0d | [
"Apache-2.0"
] | 136 | 2017-04-13T09:08:12.000Z | 2022-01-10T21:27:31.000Z | config/__init__.py | chanhomer/PatentCrawler | 5cdc022daa949caeb430ad1d37b6178ca72522cf | [
"Apache-2.0"
] | 11 | 2017-08-14T09:27:32.000Z | 2018-06-06T12:33:26.000Z | config/__init__.py | siyuanCai/patent-crawler | 4d5c69de7286ab2723a2421314a8a9058ee57d99 | [
"Apache-2.0"
] | 75 | 2017-04-16T09:53:34.000Z | 2022-03-30T03:04:59.000Z | # -*- coding: utf-8 -*-
"""
Created on 2018/3/13
@author: will4906
""" | 11.833333 | 23 | 0.56338 | 10 | 71 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20339 | 0.169014 | 71 | 6 | 24 | 11.833333 | 0.474576 | 0.873239 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2dbae5edb8a4b121491015707f99aafed1ef500a | 198 | py | Python | nz_django/day7/middle_ware_demo/front/models.py | gaohj/nzflask_bbs | 36a94c380b78241ed5d1e07edab9618c3e8d477b | [
"Apache-2.0"
] | null | null | null | nz_django/day7/middle_ware_demo/front/models.py | gaohj/nzflask_bbs | 36a94c380b78241ed5d1e07edab9618c3e8d477b | [
"Apache-2.0"
] | 27 | 2020-02-12T07:55:58.000Z | 2022-03-12T00:19:09.000Z | nz_django/day7/middle_ware_demo/front/models.py | gaohj/nzflask_bbs | 36a94c380b78241ed5d1e07edab9618c3e8d477b | [
"Apache-2.0"
] | 2 | 2020-02-18T01:54:55.000Z | 2020-02-21T11:36:28.000Z | from django.db import models
class User(models.Model):
telephone = models.CharField(max_length=11)
password = models.CharField(max_length=50)
username = models.CharField(max_length=50)
| 28.285714 | 47 | 0.757576 | 27 | 198 | 5.444444 | 0.592593 | 0.306122 | 0.367347 | 0.489796 | 0.353742 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.141414 | 198 | 6 | 48 | 33 | 0.829412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2dc4b3d398977b7573bf586110938a32e67f1388 | 4,711 | py | Python | examples/emulator_examples/manual_override.py | ckarageorgkaneen/pybpod-api | ebccef800ae1abf3b6a643ff33166fab2096c780 | [
"MIT"
] | null | null | null | examples/emulator_examples/manual_override.py | ckarageorgkaneen/pybpod-api | ebccef800ae1abf3b6a643ff33166fab2096c780 | [
"MIT"
] | null | null | null | examples/emulator_examples/manual_override.py | ckarageorgkaneen/pybpod-api | ebccef800ae1abf3b6a643ff33166fab2096c780 | [
"MIT"
] | null | null | null | import time
from pybpodapi.protocol import Bpod
import examples.emulator_settings as settings
my_bpod = Bpod(emulator_mode=True)
wait_active_time_ms = 2
# INPUTS - BNC (1, 2)
print("Set BNC1 (Input) to a value")
my_bpod.manual_override(Bpod.ChannelTypes.INPUT,
Bpod.ChannelNames.BNC, channel_numb... | 43.220183 | 78 | 0.687964 | 691 | 4,711 | 4.531114 | 0.130246 | 0.045992 | 0.084318 | 0.14053 | 0.862344 | 0.862344 | 0.832641 | 0.789844 | 0.742255 | 0.742255 | 0 | 0.033378 | 0.21142 | 4,711 | 108 | 79 | 43.62037 | 0.809421 | 0.066653 | 0 | 0.489583 | 0 | 0 | 0.149943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 0.229167 | 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 |
2de9f6ca0075dcd9678cf0eb4cfdd1024a8ccb88 | 7,496 | py | Python | tests/test_expression_searcher.py | beepscore/searcher | 189ac8c2a55030bbcf9f82d9e5b0fb40e6caf03b | [
"MIT"
] | null | null | null | tests/test_expression_searcher.py | beepscore/searcher | 189ac8c2a55030bbcf9f82d9e5b0fb40e6caf03b | [
"MIT"
] | null | null | null | tests/test_expression_searcher.py | beepscore/searcher | 189ac8c2a55030bbcf9f82d9e5b0fb40e6caf03b | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import unittest
from searcher import expression_helper
from searcher import expression_searcher
from os import linesep
class TestExpressionSearcher(unittest.TestCase):
def setUp(self):
pass
# test_search_file
def test_search_file_returns_none(self):
actual = exp... | 44.094118 | 134 | 0.618196 | 800 | 7,496 | 5.39875 | 0.1375 | 0.086131 | 0.129197 | 0.150729 | 0.899745 | 0.846955 | 0.833758 | 0.822413 | 0.787682 | 0.774716 | 0 | 0.014597 | 0.278015 | 7,496 | 169 | 135 | 44.35503 | 0.783444 | 0.033485 | 0 | 0.616071 | 0 | 0 | 0.273004 | 0.220503 | 0 | 0 | 0 | 0 | 0.098214 | 1 | 0.098214 | false | 0.008929 | 0.035714 | 0 | 0.142857 | 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 |
93143f7cf1de9994eab6c902bf5c1e2d01777e82 | 111 | py | Python | eda_quality/__init__.py | imkeines/eda_quality | 6462577af1b23aa14341cfdd0b153e5684e1054c | [
"MIT"
] | null | null | null | eda_quality/__init__.py | imkeines/eda_quality | 6462577af1b23aa14341cfdd0b153e5684e1054c | [
"MIT"
] | null | null | null | eda_quality/__init__.py | imkeines/eda_quality | 6462577af1b23aa14341cfdd0b153e5684e1054c | [
"MIT"
] | null | null | null |
from .inspection import *
from .correction import *
from .manipulation import *
from .GaussianKernel import *
| 18.5 | 29 | 0.774775 | 12 | 111 | 7.166667 | 0.5 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 111 | 5 | 30 | 22.2 | 0.914894 | 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 |
93355e452605b92883bf16c3517a3f9eea5da53c | 165 | py | Python | app/screens/theming.py | zshanahmed/mobileinsight-mobile | ae466c72d17655609539dfec2318b2de5c6786a8 | [
"Apache-2.0"
] | null | null | null | app/screens/theming.py | zshanahmed/mobileinsight-mobile | ae466c72d17655609539dfec2318b2de5c6786a8 | [
"Apache-2.0"
] | null | null | null | app/screens/theming.py | zshanahmed/mobileinsight-mobile | ae466c72d17655609539dfec2318b2de5c6786a8 | [
"Apache-2.0"
] | null | null | null | from . import MobileInsightScreenBase
from kivy.lang import Builder
Builder.load_file('screens/theming.kv')
class ThemingScreen(MobileInsightScreenBase):
pass
| 20.625 | 45 | 0.818182 | 18 | 165 | 7.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 165 | 7 | 46 | 23.571429 | 0.911565 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 |
93460f6229bc222f1a9fc318c3dc925ff4c5077b | 13,439 | py | Python | test/test_oneview_logical_switch.py | nabhajit-ray/oneview-ansible | b31af8a696013bac7a1900748a2fa5ba491fe8e2 | [
"Apache-2.0"
] | 108 | 2016-06-28T18:14:08.000Z | 2022-02-21T09:16:06.000Z | test/test_oneview_logical_switch.py | HPE-Japan-Presales/oneview-ansible | 26eb13354333d862d9e80f07e3fe9bbe2eb59af3 | [
"Apache-2.0"
] | 248 | 2016-07-14T12:50:17.000Z | 2022-02-06T18:57:16.000Z | test/test_oneview_logical_switch.py | HPE-Japan-Presales/oneview-ansible | 26eb13354333d862d9e80f07e3fe9bbe2eb59af3 | [
"Apache-2.0"
] | 88 | 2016-06-29T15:52:44.000Z | 2022-03-10T12:34:41.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
###
# Copyright (2016-2017) Hewlett Packard Enterprise Development LP
#
# Licensed under the Apache License, Version 2.0 (the "License");
# You may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licen... | 40.848024 | 146 | 0.689114 | 1,512 | 13,439 | 5.759921 | 0.135582 | 0.113446 | 0.052704 | 0.074406 | 0.816626 | 0.789298 | 0.773568 | 0.764382 | 0.741072 | 0.725571 | 0 | 0.017901 | 0.214376 | 13,439 | 328 | 147 | 40.972561 | 0.806971 | 0.060942 | 0 | 0.571429 | 0 | 0 | 0.152362 | 0.102025 | 0 | 0 | 0 | 0 | 0.067227 | 1 | 0.067227 | false | 0 | 0.021008 | 0 | 0.092437 | 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 |
936793a389bf4975d395b0020896c359dc476a4b | 95 | py | Python | src/test/test_example.py | jkpawlowski96/TRD-client-api | d85c182981e155e94b185c8f1367841143fd33e0 | [
"Unlicense"
] | null | null | null | src/test/test_example.py | jkpawlowski96/TRD-client-api | d85c182981e155e94b185c8f1367841143fd33e0 | [
"Unlicense"
] | null | null | null | src/test/test_example.py | jkpawlowski96/TRD-client-api | d85c182981e155e94b185c8f1367841143fd33e0 | [
"Unlicense"
] | null | null | null | from .example import helloworld
def test_helloworld():
assert helloworld() == 'helloworld' | 23.75 | 39 | 0.747368 | 10 | 95 | 7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 95 | 4 | 39 | 23.75 | 0.864198 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 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 |
fa7dc2808ca264a693295d91e3034dfdca049399 | 23,446 | py | Python | update-uas/src/test_update_uas.py | johren-hpe/uai-images | 8f83e7c908711bf566242d83a5857711717d52ac | [
"MIT"
] | null | null | null | update-uas/src/test_update_uas.py | johren-hpe/uai-images | 8f83e7c908711bf566242d83a5857711717d52ac | [
"MIT"
] | null | null | null | update-uas/src/test_update_uas.py | johren-hpe/uai-images | 8f83e7c908711bf566242d83a5857711717d52ac | [
"MIT"
] | null | null | null | """
MIT License
(C) Copyright [2021] Hewlett Packard Enterprise Development LP
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use,... | 32.700139 | 79 | 0.672098 | 3,118 | 23,446 | 4.787684 | 0.093329 | 0.102894 | 0.049236 | 0.049303 | 0.815782 | 0.788183 | 0.768623 | 0.752747 | 0.724946 | 0.692926 | 0 | 0.021892 | 0.210953 | 23,446 | 716 | 80 | 32.74581 | 0.785027 | 0.213085 | 0 | 0.621901 | 0 | 0 | 0.161783 | 0.023927 | 0 | 0 | 0 | 0 | 0.072314 | 1 | 0.06405 | false | 0 | 0.010331 | 0 | 0.07438 | 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 |
faae29fb2ab8086ad7e12e23556f88f3f1ad69e7 | 249 | py | Python | Advance_Python/Sockets/IP_Address/Validate_IPV6.py | siddharth-143/Python | 293f4643a3a13e3b82d23fd8922db54dbb0f12bc | [
"MIT"
] | null | null | null | Advance_Python/Sockets/IP_Address/Validate_IPV6.py | siddharth-143/Python | 293f4643a3a13e3b82d23fd8922db54dbb0f12bc | [
"MIT"
] | null | null | null | Advance_Python/Sockets/IP_Address/Validate_IPV6.py | siddharth-143/Python | 293f4643a3a13e3b82d23fd8922db54dbb0f12bc | [
"MIT"
] | null | null | null | # Python program to implement validation of IPV6 address
import ipaddress
# valid IPV6 address
print(ipaddress.ip_address(u'FFFF:9999:2:FDE:257:0:2FAE:112D'))
# invalid IPV6 address
print(ipaddress.ip_address(u'FFFF:10000:2:FDE:257:0:2FAE:112D')) | 27.666667 | 64 | 0.783133 | 42 | 249 | 4.595238 | 0.571429 | 0.170984 | 0.165803 | 0.259067 | 0.569948 | 0.569948 | 0.404145 | 0.404145 | 0 | 0 | 0 | 0.132743 | 0.092369 | 249 | 9 | 64 | 27.666667 | 0.721239 | 0.37751 | 0 | 0 | 0 | 0 | 0.414474 | 0.414474 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
4f0afaeda88677c578c8d1b4bb0354ce9e5f7a41 | 33,805 | py | Python | wavepytools/diag/coherence/singleGratingCoherence_z_scan_multithread.py | APS-XSD-OPT-Group/wavepytools | 25397c099e86a8939cc4ee3a2d266e4f809a1d18 | [
"MIT"
] | 3 | 2019-04-12T18:28:00.000Z | 2020-11-17T18:33:01.000Z | wavepytools/diag/coherence/singleGratingCoherence_z_scan_multithread.py | APS-XSD-OPT-Group/wavepytools | 25397c099e86a8939cc4ee3a2d266e4f809a1d18 | [
"MIT"
] | null | null | null | wavepytools/diag/coherence/singleGratingCoherence_z_scan_multithread.py | APS-XSD-OPT-Group/wavepytools | 25397c099e86a8939cc4ee3a2d266e4f809a1d18 | [
"MIT"
] | 3 | 2019-04-19T16:46:54.000Z | 2021-02-10T18:49:06.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*- #
# #########################################################################
# Copyright (c) 2015, UChicago Argonne, LLC. All rights reserved. #
# #
# Copyright 2015. UChicago Argonne, LLC. Th... | 40.148456 | 175 | 0.462949 | 3,105 | 33,805 | 4.89694 | 0.161031 | 0.012627 | 0.021046 | 0.023676 | 0.761657 | 0.746202 | 0.738902 | 0.73364 | 0.727327 | 0.727327 | 0 | 0.020564 | 0.333974 | 33,805 | 841 | 176 | 40.196195 | 0.654763 | 0.363999 | 0 | 0.715762 | 0 | 0 | 0.112498 | 0.001064 | 0 | 0 | 0 | 0.001189 | 0 | 1 | 0.007752 | false | 0.010336 | 0.03876 | 0 | 0.049096 | 0.041344 | 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 |
87901629fbf86d3aa4c2389359788c616dcb28f1 | 32 | py | Python | website/__init__.py | sedezee/TalosBot | aef00289d53d7a9929b7d33d546b7ac18b2cc1c2 | [
"MIT"
] | 11 | 2016-04-19T01:50:55.000Z | 2020-12-10T00:17:30.000Z | website/__init__.py | sedezee/TalosBot | aef00289d53d7a9929b7d33d546b7ac18b2cc1c2 | [
"MIT"
] | 22 | 2016-04-18T14:49:52.000Z | 2020-12-09T19:39:36.000Z | website/__init__.py | sedezee/TalosBot | aef00289d53d7a9929b7d33d546b7ac18b2cc1c2 | [
"MIT"
] | 6 | 2016-06-30T16:32:08.000Z | 2020-03-19T12:19:25.000Z |
from .talos_server import main
| 10.666667 | 30 | 0.8125 | 5 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 31 | 16 | 0.925926 | 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 |
87a7212821397e6af76f0ecf09f462046a0cf3c1 | 110 | py | Python | crslab/model/generation/__init__.py | Zilize/CRSLab | fb357d0dfb7d2cf7b67b892d98e52032a31ca564 | [
"MIT"
] | 315 | 2021-01-05T06:31:57.000Z | 2022-03-16T21:12:23.000Z | crslab/model/generation/__init__.py | Zilize/CRSLab | fb357d0dfb7d2cf7b67b892d98e52032a31ca564 | [
"MIT"
] | 23 | 2021-01-09T05:43:26.000Z | 2022-03-28T21:05:49.000Z | crslab/model/generation/__init__.py | Zilize/CRSLab | fb357d0dfb7d2cf7b67b892d98e52032a31ca564 | [
"MIT"
] | 71 | 2021-01-05T06:31:59.000Z | 2022-03-06T06:30:35.000Z | from .inspired import *
from .kbrd import *
from .kgsf import *
from .redial import *
from .tgredial import *
| 18.333333 | 23 | 0.727273 | 15 | 110 | 5.333333 | 0.466667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 110 | 5 | 24 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
87f6f58d36fae5764c547be25d4b35ad16b155ed | 25 | py | Python | p2os-master/p2os_dashboard/src/p2os_dashboard/__init__.py | tuw-cpsg/dynamic_mapping | 12c5c9a9e66e16cb451c457d46a4d6cab5e2213b | [
"CC0-1.0"
] | 9 | 2017-12-17T07:43:15.000Z | 2021-10-10T15:03:39.000Z | p2os-master/p2os_dashboard/src/p2os_dashboard/__init__.py | tuw-cpsg/dynamic_mapping | 12c5c9a9e66e16cb451c457d46a4d6cab5e2213b | [
"CC0-1.0"
] | null | null | null | p2os-master/p2os_dashboard/src/p2os_dashboard/__init__.py | tuw-cpsg/dynamic_mapping | 12c5c9a9e66e16cb451c457d46a4d6cab5e2213b | [
"CC0-1.0"
] | 6 | 2016-01-27T03:40:58.000Z | 2021-06-15T08:12:14.000Z | from p2os_frame import *
| 12.5 | 24 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.16 | 25 | 1 | 25 | 25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
35962a4625a2662522536389d4a801482294f85e | 34 | py | Python | rplugin/python3/vimspector_gen/__init__.py | sharksforarms/vimspector-rust-generator | 0468137cbec3d4177c3914ca37b017fe40bbff54 | [
"Unlicense"
] | 4 | 2020-12-01T05:15:28.000Z | 2021-03-12T13:29:57.000Z | rplugin/python3/vimspector_gen/__init__.py | sharksforarms/vimspector-rust-generator | 0468137cbec3d4177c3914ca37b017fe40bbff54 | [
"Unlicense"
] | null | null | null | rplugin/python3/vimspector_gen/__init__.py | sharksforarms/vimspector-rust-generator | 0468137cbec3d4177c3914ca37b017fe40bbff54 | [
"Unlicense"
] | null | null | null | from .plugin import VimspectorGen
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
ea14b8085abc8254e78b5533b373d5b84b18f4d2 | 3,344 | py | Python | SDCUP/uer/encoders/cnn_encoder.py | onlyrico/AliceMind | a6a070b1610e4c4bfe84ee6c4195b2bc4f725ded | [
"Apache-2.0"
] | 4 | 2022-03-12T10:31:21.000Z | 2022-03-29T03:44:24.000Z | SDCUP/uer/encoders/cnn_encoder.py | onlyrico/AliceMind | a6a070b1610e4c4bfe84ee6c4195b2bc4f725ded | [
"Apache-2.0"
] | null | null | null | SDCUP/uer/encoders/cnn_encoder.py | onlyrico/AliceMind | a6a070b1610e4c4bfe84ee6c4195b2bc4f725ded | [
"Apache-2.0"
] | null | null | null | # -*- encoding:utf-8 -*-
import torch
import torch.nn as nn
class CnnEncoder(nn.Module):
def __init__(self, args):
super(CnnEncoder, self).__init__()
self.layers_num = args.layers_num
self.kernel_size = args.kernel_size
self.block_size = args.block_size
self.emb_size = args... | 39.809524 | 105 | 0.635167 | 479 | 3,344 | 4.208768 | 0.123173 | 0.079365 | 0.076389 | 0.080357 | 0.847718 | 0.81994 | 0.81994 | 0.792163 | 0.792163 | 0.792163 | 0 | 0.019037 | 0.230263 | 3,344 | 83 | 106 | 40.289157 | 0.76418 | 0.032895 | 0 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.033333 | 0 | 0.166667 | 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 |
ea6522ee2d7e0aed18084ef3948a64bcccaf1914 | 65 | py | Python | src/hist/general.py | VANRao-Stack/my_hist | 0ddca0593038f7916fb5e7b0bf862dc9a9500e10 | [
"MIT"
] | null | null | null | src/hist/general.py | VANRao-Stack/my_hist | 0ddca0593038f7916fb5e7b0bf862dc9a9500e10 | [
"MIT"
] | null | null | null | src/hist/general.py | VANRao-Stack/my_hist | 0ddca0593038f7916fb5e7b0bf862dc9a9500e10 | [
"MIT"
] | null | null | null | from .core import BaseHist
class Hist(BaseHist):
pass
| 10.833333 | 27 | 0.661538 | 8 | 65 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276923 | 65 | 5 | 28 | 13 | 0.914894 | 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 |
579acb2565b0d6856d082c333a099dcb0c504994 | 50 | py | Python | examples/if.py | joeldentici/python_stepper | ab32c62d0d0333ad901d7329fb198c7a23988007 | [
"MIT"
] | 1 | 2020-11-29T20:00:39.000Z | 2020-11-29T20:00:39.000Z | examples/if.py | joeldentici/python_stepper | ab32c62d0d0333ad901d7329fb198c7a23988007 | [
"MIT"
] | null | null | null | examples/if.py | joeldentici/python_stepper | ab32c62d0d0333ad901d7329fb198c7a23988007 | [
"MIT"
] | null | null | null | if 5 < 2:
3
else:
if True:
4 + 7
4 + 4
5 + 5 | 7.142857 | 9 | 0.42 | 13 | 50 | 1.615385 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.321429 | 0.44 | 50 | 7 | 10 | 7.142857 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
57b831c93ee57118a24f13d0ae2e6c56afec7be7 | 26 | py | Python | Code/Scripts/bmp180/__init__.py | ErickDiaz/tesis_master_ingmate | e0260ea4fd2af9dce8e81748986772018bdfaae6 | [
"MIT"
] | 1 | 2022-01-16T16:50:28.000Z | 2022-01-16T16:50:28.000Z | Code/Scripts/bmp180/__init__.py | ErickDiaz/tesis_master_ingmate | e0260ea4fd2af9dce8e81748986772018bdfaae6 | [
"MIT"
] | 2 | 2021-05-30T03:54:37.000Z | 2021-06-03T03:16:33.000Z | Code/Scripts/bmp180/__init__.py | unir-math-master/tesis_master_ingmate | e0260ea4fd2af9dce8e81748986772018bdfaae6 | [
"MIT"
] | null | null | null | from .bmp180 import bmp180 | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0.115385 | 26 | 1 | 26 | 26 | 0.695652 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
17c143cdc67dcacbbef777c0fc075b8f44bd1933 | 34 | py | Python | tei_reader/__init__.py | UUDigitalHumanitieslab/tei_reader | 6156ec064fb185508ea1c68bd5e9283b6e144db3 | [
"MIT"
] | 13 | 2018-12-24T04:15:09.000Z | 2021-04-30T08:41:02.000Z | tei_reader/__init__.py | UUDigitalHumanitieslab/tei_reader | 6156ec064fb185508ea1c68bd5e9283b6e144db3 | [
"MIT"
] | 4 | 2018-08-01T07:03:38.000Z | 2021-04-29T13:00:22.000Z | tei_reader/__init__.py | UUDigitalHumanitieslab/tei_reader | 6156ec064fb185508ea1c68bd5e9283b6e144db3 | [
"MIT"
] | 1 | 2021-04-30T07:39:15.000Z | 2021-04-30T07:39:15.000Z | from .tei_reader import TeiReader
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
17c17deb5af6664f9f8abf52dd06e010ca28a9d7 | 24,537 | py | Python | src/nidcpower/metadata/functions_addon.py | AlexHearnNI/nimi-python | 39d7c4d9aa66d826c60a5d700982eff173e051e5 | [
"MIT"
] | null | null | null | src/nidcpower/metadata/functions_addon.py | AlexHearnNI/nimi-python | 39d7c4d9aa66d826c60a5d700982eff173e051e5 | [
"MIT"
] | null | null | null | src/nidcpower/metadata/functions_addon.py | AlexHearnNI/nimi-python | 39d7c4d9aa66d826c60a5d700982eff173e051e5 | [
"MIT"
] | null | null | null | # These dictionaries are merged with the extracted function metadata at build time.
# Changes to the metadata should be made here, because functions.py is generated thus any changes get overwritten.
functions_override_metadata = {
}
functions_additional_create_advanced_sequence = {
'FancyCreateAdvancedSequence': ... | 38.339063 | 923 | 0.214941 | 1,063 | 24,537 | 4.710254 | 0.203198 | 0.276812 | 0.325345 | 0.32834 | 0.575594 | 0.557819 | 0.528061 | 0.522668 | 0.493909 | 0.493909 | 0 | 0.00811 | 0.708522 | 24,537 | 639 | 924 | 38.399061 | 0.691974 | 0.007906 | 0 | 0.751181 | 1 | 0.004724 | 0.218817 | 0.097494 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
17fccd872e1412225ec0cad0e008399ddadf29dd | 34 | py | Python | modeling/meta_arch/__init__.py | donnyyou/centerX | 6e381cb669a6014d02e31a43915271237690531c | [
"Apache-2.0"
] | 350 | 2020-12-01T09:55:16.000Z | 2020-12-23T13:47:43.000Z | modeling/meta_arch/__init__.py | powerlic/centerX | 1073753533f26483c3ab053a7d8753708fcacde7 | [
"Apache-2.0"
] | 39 | 2020-12-24T13:42:29.000Z | 2022-02-10T01:09:56.000Z | modeling/meta_arch/__init__.py | powerlic/centerX | 1073753533f26483c3ab053a7d8753708fcacde7 | [
"Apache-2.0"
] | 49 | 2020-12-01T11:39:14.000Z | 2020-12-21T01:45:39.000Z | from .centernet import build_model | 34 | 34 | 0.882353 | 5 | 34 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.935484 | 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 |
aa15b573e0123bc14cb287e3a65253553b0a98a3 | 127 | py | Python | tests/test_cli.py | sulfadimetoxin/oarepo-taxonomies | b8385173614aa711a5e316c8fc24ac065b48aa3d | [
"MIT"
] | null | null | null | tests/test_cli.py | sulfadimetoxin/oarepo-taxonomies | b8385173614aa711a5e316c8fc24ac065b48aa3d | [
"MIT"
] | 9 | 2020-08-24T08:49:15.000Z | 2021-08-05T16:45:23.000Z | tests/test_cli.py | sulfadimetoxin/oarepo-taxonomies | b8385173614aa711a5e316c8fc24ac065b48aa3d | [
"MIT"
] | 1 | 2020-08-20T18:39:43.000Z | 2020-08-20T18:39:43.000Z | def test_init_db(app, db):
assert db.engine.has_table("taxonomy_taxonomy")
assert db.engine.has_table("taxonomy_term")
| 31.75 | 51 | 0.755906 | 20 | 127 | 4.5 | 0.55 | 0.177778 | 0.311111 | 0.377778 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11811 | 127 | 3 | 52 | 42.333333 | 0.803571 | 0 | 0 | 0 | 0 | 0 | 0.23622 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa355c24517f660f67d7c1bdd05cdd0b44af976e | 1,980 | py | Python | tests/test_news.py | kasparov-creat/The-Daily-Planet | d68e2b8fba9e2f23e98054f6e695f9172de969c7 | [
"Unlicense"
] | null | null | null | tests/test_news.py | kasparov-creat/The-Daily-Planet | d68e2b8fba9e2f23e98054f6e695f9172de969c7 | [
"Unlicense"
] | null | null | null | tests/test_news.py | kasparov-creat/The-Daily-Planet | d68e2b8fba9e2f23e98054f6e695f9172de969c7 | [
"Unlicense"
] | null | null | null | import unittest
from app.models import News,Sources,Headlines,Category
class SourceTest(unittest.TestCase):
'''
Test Class to test the behaviour of the Sources class
'''
def setUp(self):
'''
Set up method that will run before every Test
'''
self.source_sources = Sources... | 31.428571 | 185 | 0.644949 | 231 | 1,980 | 5.47619 | 0.225108 | 0.07747 | 0.105138 | 0.079051 | 0.725692 | 0.725692 | 0.725692 | 0.725692 | 0.688538 | 0.688538 | 0 | 0.001338 | 0.244949 | 1,980 | 62 | 186 | 31.935484 | 0.844816 | 0.201515 | 0 | 0.363636 | 0 | 0 | 0.263305 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.363636 | false | 0 | 0.090909 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
aa45672e9d5ce2dd9f7d5e1d85afb6906be8fb81 | 2,244 | py | Python | tests/api/test_cloud_credentials.py | galaxyproject/cloudlaunch-cli | 7641361c93610b29ae8aea180ebe48b64a5a7dac | [
"MIT"
] | 2 | 2018-03-29T14:13:02.000Z | 2018-04-03T09:53:04.000Z | tests/api/test_cloud_credentials.py | galaxyproject/cloudlaunch-cli | 7641361c93610b29ae8aea180ebe48b64a5a7dac | [
"MIT"
] | 15 | 2018-01-09T16:22:17.000Z | 2020-11-19T11:09:18.000Z | tests/api/test_cloud_credentials.py | galaxyproject/cloudlaunch-cli | 7641361c93610b29ae8aea180ebe48b64a5a7dac | [
"MIT"
] | 2 | 2018-10-18T16:17:59.000Z | 2020-11-04T04:17:40.000Z | import copy
import json
import os
import unittest
import tests
from cloudlaunch_cli.api import cloud_credentials
class TestGCPCredentials(unittest.TestCase):
def setUp(self):
# Restore `os.environ` after each test
self.original_environ = copy.deepcopy(os.environ)
def tearDown(self):
... | 38.689655 | 81 | 0.674242 | 276 | 2,244 | 5.268116 | 0.199275 | 0.202201 | 0.148556 | 0.082531 | 0.76066 | 0.717332 | 0.717332 | 0.717332 | 0.717332 | 0.698762 | 0 | 0 | 0.221034 | 2,244 | 57 | 82 | 39.368421 | 0.831808 | 0.016043 | 0 | 0.568182 | 0 | 0 | 0.116954 | 0.062557 | 0 | 0 | 0 | 0 | 0.227273 | 1 | 0.113636 | false | 0 | 0.136364 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3525c1034afe2c69560fc43ca3c7bb98dd2d70e6 | 63 | py | Python | aprendi com guanabara/Ex 001.py | GustinSilva/python | fa1d4213771a2edc8dec8c08d0d19ada44e5e2f2 | [
"MIT"
] | null | null | null | aprendi com guanabara/Ex 001.py | GustinSilva/python | fa1d4213771a2edc8dec8c08d0d19ada44e5e2f2 | [
"MIT"
] | null | null | null | aprendi com guanabara/Ex 001.py | GustinSilva/python | fa1d4213771a2edc8dec8c08d0d19ada44e5e2f2 | [
"MIT"
] | null | null | null | print('Olá, Mundo!')
print('\033[4;31;47mOlá Mundo!!!\033[m')
| 15.75 | 40 | 0.619048 | 11 | 63 | 3.545455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 0.079365 | 63 | 3 | 41 | 21 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3535f143dc8355a3715f72607e6991de858661a3 | 86 | py | Python | demo_impl/webui/api_blueprint/__init__.py | JFF-Bohdan/vrc_t70_demo | 32c9630f3a216d1ddd98d67f36515d2aa0d15569 | [
"MIT"
] | null | null | null | demo_impl/webui/api_blueprint/__init__.py | JFF-Bohdan/vrc_t70_demo | 32c9630f3a216d1ddd98d67f36515d2aa0d15569 | [
"MIT"
] | null | null | null | demo_impl/webui/api_blueprint/__init__.py | JFF-Bohdan/vrc_t70_demo | 32c9630f3a216d1ddd98d67f36515d2aa0d15569 | [
"MIT"
] | null | null | null | from .api_blueprint import api_blueprint
from .routes import *
from .devices import *
| 21.5 | 40 | 0.802326 | 12 | 86 | 5.583333 | 0.5 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 3 | 41 | 28.666667 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
108772fd40b98d306feda873ea68ff628ee22d2d | 33 | py | Python | dnfal/persons/encoding/__init__.py | altest-com/dnfal | d1fb15508c5583aeaa0957fcc3e37634d36bf237 | [
"MIT"
] | null | null | null | dnfal/persons/encoding/__init__.py | altest-com/dnfal | d1fb15508c5583aeaa0957fcc3e37634d36bf237 | [
"MIT"
] | 1 | 2020-03-31T17:04:09.000Z | 2020-03-31T17:04:09.000Z | dnfal/persons/encoding/__init__.py | altest-com/dnfal | d1fb15508c5583aeaa0957fcc3e37634d36bf237 | [
"MIT"
] | null | null | null | from ._encoder import BodyEncoder | 33 | 33 | 0.878788 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 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 |
109dff0e99aaac609e9ecf03356bccc0ac7b35ce | 156 | py | Python | app/testing/__init__.py | Jignesh1996/bcmd-web | 2444352ef235b162531c4995dbef3907b0d83719 | [
"MIT"
] | 1 | 2018-07-16T15:39:41.000Z | 2018-07-16T15:39:41.000Z | app/testing/__init__.py | Jignesh1996/bcmd-web | 2444352ef235b162531c4995dbef3907b0d83719 | [
"MIT"
] | 6 | 2018-07-16T15:55:25.000Z | 2018-11-01T15:14:10.000Z | app/testing/__init__.py | Jignesh1996/bcmd-web | 2444352ef235b162531c4995dbef3907b0d83719 | [
"MIT"
] | 1 | 2021-11-17T04:44:14.000Z | 2021-11-17T04:44:14.000Z | import sys
import os
try:
import bayescmd
except ImportError:
sys.path.append(os.path.relpath(
os.path.dirname(os.path.dirname(__file__))))
| 19.5 | 52 | 0.711538 | 22 | 156 | 4.863636 | 0.545455 | 0.168224 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 156 | 7 | 53 | 22.285714 | 0.829457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 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 |
5e06c33b1be8d07b66b012460161296345f9bb2a | 98 | py | Python | btc_price/__init__.py | asahi417/BitcoinPriceAccumulator | 46d45fc61fb71c128936b11dc4916e7a6a84283c | [
"MIT"
] | 1 | 2020-05-23T09:23:47.000Z | 2020-05-23T09:23:47.000Z | btc_price/__init__.py | asahi417/BitcoinPriceAccumulator | 46d45fc61fb71c128936b11dc4916e7a6a84283c | [
"MIT"
] | null | null | null | btc_price/__init__.py | asahi417/BitcoinPriceAccumulator | 46d45fc61fb71c128936b11dc4916e7a6a84283c | [
"MIT"
] | 1 | 2020-05-23T09:23:25.000Z | 2020-05-23T09:23:25.000Z | from . import db
from . import api
from . import util
from .price_accumulation import Accumulator
| 19.6 | 43 | 0.795918 | 14 | 98 | 5.5 | 0.571429 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 98 | 4 | 44 | 24.5 | 0.939024 | 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 |
5e08a743dde90e2ff4128cbaf620d44027aff3f3 | 294 | py | Python | flownmt/modules/priors/length_predictors/__init__.py | DeNeutoy/flowseq | 8cb4ae00c26fbeb3e1459e3b3b90e7e9a84c3d2b | [
"Apache-2.0"
] | 256 | 2019-08-14T23:26:23.000Z | 2022-03-03T16:52:14.000Z | flownmt/modules/priors/length_predictors/__init__.py | DeNeutoy/flowseq | 8cb4ae00c26fbeb3e1459e3b3b90e7e9a84c3d2b | [
"Apache-2.0"
] | 8 | 2019-10-18T02:54:10.000Z | 2021-10-01T21:30:23.000Z | flownmt/modules/priors/length_predictors/__init__.py | DeNeutoy/flowseq | 8cb4ae00c26fbeb3e1459e3b3b90e7e9a84c3d2b | [
"Apache-2.0"
] | 32 | 2019-09-06T10:02:45.000Z | 2021-12-23T06:44:37.000Z | from flownmt.modules.priors.length_predictors.predictor import LengthPredictor
from flownmt.modules.priors.length_predictors.diff_discretized_mix_logistic import DiffDiscreteMixLogisticLengthPredictor
from flownmt.modules.priors.length_predictors.diff_softmax import DiffSoftMaxLengthPredictor
| 73.5 | 121 | 0.918367 | 31 | 294 | 8.483871 | 0.516129 | 0.125475 | 0.205323 | 0.273764 | 0.486692 | 0.486692 | 0.334601 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 294 | 3 | 122 | 98 | 0.932624 | 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 |
5e31db43a2791b98ce66b4f9474acb2486cd77e2 | 299 | py | Python | webapp/apps/taxbrain/templatetags/strings.py | codekansas/PolicyBrain | 83c459db883536bae70cc78ca92ebdcff554ac2d | [
"MIT"
] | null | null | null | webapp/apps/taxbrain/templatetags/strings.py | codekansas/PolicyBrain | 83c459db883536bae70cc78ca92ebdcff554ac2d | [
"MIT"
] | null | null | null | webapp/apps/taxbrain/templatetags/strings.py | codekansas/PolicyBrain | 83c459db883536bae70cc78ca92ebdcff554ac2d | [
"MIT"
] | null | null | null | from django import template
register = template.Library()
@register.filter
def make_id(name):
return "-".join(name.split())
@register.filter
def block_param_title(dict):
return dict.keys()[0].title()
@register.filter
def block_param_id(dict):
return "-".join(dict.keys()[0].split())
| 18.6875 | 43 | 0.705686 | 42 | 299 | 4.904762 | 0.47619 | 0.203884 | 0.247573 | 0.213592 | 0.262136 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007663 | 0.12709 | 299 | 15 | 44 | 19.933333 | 0.781609 | 0 | 0 | 0.272727 | 0 | 0 | 0.006689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
eaa35dd9c5f78633f5cbe67d138122b54025e6c8 | 383 | py | Python | apsoftz/main/views.py | Ayush21298/apsoftz | ebd2a3aaf770e7edcc03234e3d329ae666c03a55 | [
"MIT"
] | null | null | null | apsoftz/main/views.py | Ayush21298/apsoftz | ebd2a3aaf770e7edcc03234e3d329ae666c03a55 | [
"MIT"
] | null | null | null | apsoftz/main/views.py | Ayush21298/apsoftz | ebd2a3aaf770e7edcc03234e3d329ae666c03a55 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
return render(request,'main/index.html',{})
def about(request):
return render(request,'main/about.html',{})
def contact(request):
return render(request,'main/contact.html',{})
def social(request):
return render(request,'main/social.html',{})
d... | 22.529412 | 49 | 0.699739 | 50 | 383 | 5.36 | 0.3 | 0.242537 | 0.354478 | 0.485075 | 0.559701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127937 | 383 | 16 | 50 | 23.9375 | 0.802395 | 0 | 0 | 0 | 0 | 0 | 0.198433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0.454545 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d80e8dbc698e1051872911929a85f8e50e561618 | 161 | py | Python | examples/plugins/workbench/AcmeLabUsingEggs/src/acme.workbench/acme/workbench/view/api.py | robmcmullen/envisage | 57338fcb0ea69c75bc3c86de18a5967d8e78c6c1 | [
"BSD-3-Clause"
] | 51 | 2015-05-12T01:34:15.000Z | 2022-03-20T19:11:22.000Z | examples/plugins/workbench/AcmeLabUsingEggs/src/acme.workbench/acme/workbench/view/api.py | robmcmullen/envisage | 57338fcb0ea69c75bc3c86de18a5967d8e78c6c1 | [
"BSD-3-Clause"
] | 347 | 2015-02-27T19:51:09.000Z | 2022-03-21T16:03:01.000Z | examples/plugins/workbench/AcmeLabUsingEggs/src/acme.workbench/acme/workbench/view/api.py | robmcmullen/envisage | 57338fcb0ea69c75bc3c86de18a5967d8e78c6c1 | [
"BSD-3-Clause"
] | 11 | 2015-02-11T04:32:54.000Z | 2021-09-13T10:50:05.000Z | from black_view import BlackView
from blue_view import BlueView
from green_view import GreenView
from red_view import RedView
from yellow_view import YellowView
| 26.833333 | 34 | 0.875776 | 25 | 161 | 5.44 | 0.52 | 0.367647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124224 | 161 | 5 | 35 | 32.2 | 0.964539 | 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 |
d8136f7778b97d25e4effe697ff3503762028d34 | 14,203 | py | Python | tests/test_pp.py | martinjzhang/scDRS | 69a9fb4e50dbfa6b1afe0dd222b0d349c5db00eb | [
"MIT"
] | 24 | 2021-09-30T12:31:58.000Z | 2022-03-28T01:14:39.000Z | tests/test_pp.py | martinjzhang/scDRS | 69a9fb4e50dbfa6b1afe0dd222b0d349c5db00eb | [
"MIT"
] | 5 | 2021-09-29T11:20:37.000Z | 2022-03-06T21:53:08.000Z | tests/test_pp.py | martinjzhang/scDRS | 69a9fb4e50dbfa6b1afe0dd222b0d349c5db00eb | [
"MIT"
] | null | null | null | import pytest
import numpy as np
import scipy as sp
import pandas as pd
from scipy import sparse
from .test_method_score_cell_main import load_toy_data
import scdrs
def test_preprocess_sparse_cov():
"""
Test scdrs.pp.preprocess: sparse + cov (implicit-covariate-correction mode)
"""
adata, df_cov, df_g... | 31.010917 | 88 | 0.605788 | 2,158 | 14,203 | 3.66126 | 0.063948 | 0.021769 | 0.062524 | 0.061511 | 0.888495 | 0.834451 | 0.814074 | 0.778129 | 0.757372 | 0.735097 | 0 | 0.014397 | 0.251778 | 14,203 | 458 | 89 | 31.010917 | 0.729086 | 0.084137 | 0 | 0.636923 | 0 | 0 | 0.168934 | 0.040181 | 0 | 0 | 0 | 0.004367 | 0.110769 | 1 | 0.033846 | false | 0 | 0.021538 | 0 | 0.089231 | 0.012308 | 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 |
dc2fcf9c2610a1a29713b7452e451d2375f8a9ff | 81 | py | Python | dcp/data_format/formats/file_system/__init__.py | kvh/dcp | 1332b0fa44e755202d5f13342e834fe165b36ca5 | [
"BSD-3-Clause"
] | 3 | 2021-04-13T22:12:34.000Z | 2021-07-17T19:01:08.000Z | dcp/data_format/formats/file_system/__init__.py | kvh/dcp | 1332b0fa44e755202d5f13342e834fe165b36ca5 | [
"BSD-3-Clause"
] | 1 | 2021-04-13T22:12:21.000Z | 2021-04-13T22:12:21.000Z | dcp/data_format/formats/file_system/__init__.py | kvh/dcp | 1332b0fa44e755202d5f13342e834fe165b36ca5 | [
"BSD-3-Clause"
] | null | null | null | from .arrow_file import *
from .csv_file import *
from .json_lines_file import *
| 20.25 | 30 | 0.777778 | 13 | 81 | 4.538462 | 0.538462 | 0.508475 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 3 | 31 | 27 | 0.855072 | 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 |
dc8bb535dfaa449de4284c067cd98874dc4946d9 | 105 | py | Python | tests/test_xml.py | rickproza/twill | 7a98e4912a8ff929a94e35d35e7a027472ee4f46 | [
"MIT"
] | 13 | 2020-04-18T15:17:58.000Z | 2022-02-24T13:25:46.000Z | tests/test_xml.py | rickproza/twill | 7a98e4912a8ff929a94e35d35e7a027472ee4f46 | [
"MIT"
] | 5 | 2020-04-04T21:16:00.000Z | 2022-02-10T00:26:20.000Z | tests/test_xml.py | rickproza/twill | 7a98e4912a8ff929a94e35d35e7a027472ee4f46 | [
"MIT"
] | 3 | 2020-06-06T17:26:19.000Z | 2022-02-10T00:30:39.000Z | from .utils import execute_script
def test(url):
execute_script('test_xml.twill', initial_url=url)
| 17.5 | 53 | 0.761905 | 16 | 105 | 4.75 | 0.6875 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 105 | 5 | 54 | 21 | 0.835165 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f4acabb06cc21da6459f8b8ab1ba5339604d14d9 | 8,170 | py | Python | main/idf.py | noil-lion/licencePlateRecognition | 6d4010407ab0ece0e4c4ce9e933ee4fdf32b63cf | [
"Apache-2.0"
] | null | null | null | main/idf.py | noil-lion/licencePlateRecognition | 6d4010407ab0ece0e4c4ce9e933ee4fdf32b63cf | [
"Apache-2.0"
] | null | null | null | main/idf.py | noil-lion/licencePlateRecognition | 6d4010407ab0ece0e4c4ce9e933ee4fdf32b63cf | [
"Apache-2.0"
] | null | null | null | import cv2
import numpy as np
import ply
def split(char):
char_clct = []
char_crct = []
for i in range(6):
for k in range(6):
char_clct.append(char[k*8:(k+1)*8, i*4:(i+1)*4])
'''print(len(char_clct))
for p in range(len(char_clct)):
name = 'char{batch}'.format(batch=p)
... | 69.82906 | 205 | 0.425581 | 2,401 | 8,170 | 1.428571 | 0.049146 | 0.312536 | 0.36035 | 0.344023 | 0.702332 | 0.625073 | 0.622157 | 0.425073 | 0.402332 | 0.273761 | 0 | 0.364213 | 0.266707 | 8,170 | 116 | 206 | 70.431034 | 0.208312 | 0.036108 | 0 | 0.1875 | 0 | 0 | 0.003899 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.03125 | 0 | 0.114583 | 0.03125 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f4b9c5e12015c2fe2ee6a8f6bc98b10f881d6de0 | 111 | py | Python | src/level/biome/__init__.py | myrma/Theria | 4c20c95b2e6c8ea66d5e202cf909a7028939e77d | [
"MIT"
] | 1 | 2016-04-12T13:16:29.000Z | 2016-04-12T13:16:29.000Z | src/level/biome/__init__.py | Skolopedrion/Theria | 4c20c95b2e6c8ea66d5e202cf909a7028939e77d | [
"MIT"
] | null | null | null | src/level/biome/__init__.py | Skolopedrion/Theria | 4c20c95b2e6c8ea66d5e202cf909a7028939e77d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# coding: utf-8
from src.level.biome.biome import *
from src.level.biome.plain import * | 22.2 | 35 | 0.738739 | 19 | 111 | 4.315789 | 0.684211 | 0.170732 | 0.292683 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.117117 | 111 | 5 | 36 | 22.2 | 0.816327 | 0.315315 | 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 | 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 |
f4e41837c4ea6aed2dca0ea921575e47dcefe041 | 320 | py | Python | test/completion/thirdparty/PyQt4_.py | DamnWidget/jedi | 4ff8b921a3b252895ed43b9598a5a40f0cbd487c | [
"MIT"
] | 4,213 | 2015-01-02T15:43:22.000Z | 2022-03-31T16:15:01.000Z | test/completion/thirdparty/PyQt4_.py | DamnWidget/jedi | 4ff8b921a3b252895ed43b9598a5a40f0cbd487c | [
"MIT"
] | 1,392 | 2015-01-02T18:43:39.000Z | 2022-03-27T18:43:59.000Z | test/completion/thirdparty/PyQt4_.py | DamnWidget/jedi | 4ff8b921a3b252895ed43b9598a5a40f0cbd487c | [
"MIT"
] | 525 | 2015-01-02T19:07:31.000Z | 2022-03-13T02:03:20.000Z | from PyQt4.QtCore import *
from PyQt4.QtGui import *
#? ['QActionGroup']
QActionGroup
#? ['currentText']
QStyleOptionComboBox().currentText
#? []
QStyleOptionComboBox().currentText.
from PyQt4 import QtGui
#? ['currentText']
QtGui.QStyleOptionComboBox().currentText
#? []
QtGui.QStyleOptionComboBox().currentText.
| 16 | 41 | 0.753125 | 26 | 320 | 9.269231 | 0.307692 | 0.514523 | 0.348548 | 0.390041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010453 | 0.103125 | 320 | 19 | 42 | 16.842105 | 0.829268 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.375 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
76125c1e79f1a5730bf5163f5c6e62e1aa0a24c4 | 1,239 | py | Python | payments/migrations/0017_add_order_customer_fields.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 3 | 2020-10-13T07:58:48.000Z | 2020-12-22T09:41:50.000Z | payments/migrations/0017_add_order_customer_fields.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 422 | 2018-10-25T10:57:05.000Z | 2022-03-30T05:47:14.000Z | payments/migrations/0017_add_order_customer_fields.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 1 | 2020-04-03T07:38:03.000Z | 2020-04-03T07:38:03.000Z | # Generated by Django 3.1 on 2020-12-02 13:09
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("payments", "0016_add_error_status"),
]
operations = [
migrations.AddField(
model_name="order",
name="customer_address"... | 28.159091 | 58 | 0.558515 | 121 | 1,239 | 5.570248 | 0.347107 | 0.160237 | 0.204748 | 0.240356 | 0.732938 | 0.732938 | 0.732938 | 0.61276 | 0.61276 | 0.61276 | 0 | 0.021505 | 0.324455 | 1,239 | 43 | 59 | 28.813953 | 0.783751 | 0.034705 | 0 | 0.648649 | 1 | 0 | 0.130653 | 0.017588 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76309cd26941d6653c200fbbf8ff9e30c3bb186f | 160 | py | Python | conda-4.2/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 130 | 2015-07-28T03:41:21.000Z | 2022-03-16T03:07:41.000Z | conda-4.2/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 119 | 2015-08-01T00:54:06.000Z | 2021-01-05T13:00:46.000Z | conda-4.2/run_test.py | nikicc/anaconda-recipes | 9c611a5854bf41bbc5e7ed9853dc71c0851a62ef | [
"BSD-3-Clause"
] | 72 | 2015-07-29T02:35:56.000Z | 2022-02-26T14:31:15.000Z | import conda
import cio_test
print('conda.__version__: %s' % conda.__version__)
assert conda.__version__ == '4.2.16'
from conda.fetch import handle_proxy_407
| 20 | 50 | 0.78125 | 24 | 160 | 4.583333 | 0.666667 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049296 | 0.1125 | 160 | 7 | 51 | 22.857143 | 0.725352 | 0 | 0 | 0 | 0 | 0 | 0.16875 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
52170ddb9b7fb79afccbf54617ef533c9026eda2 | 142 | py | Python | install_dep.py | anthonyreis/TesteCienciaDados | 56730fc6ecd0bd478968076f763a063b5606122f | [
"MIT"
] | null | null | null | install_dep.py | anthonyreis/TesteCienciaDados | 56730fc6ecd0bd478968076f763a063b5606122f | [
"MIT"
] | null | null | null | install_dep.py | anthonyreis/TesteCienciaDados | 56730fc6ecd0bd478968076f763a063b5606122f | [
"MIT"
] | null | null | null | import os
os.system("pip install sklearn")
os.system("pip install pandas")
os.system("pip install reportlab")
os.system("pip install svglib") | 23.666667 | 34 | 0.760563 | 22 | 142 | 4.909091 | 0.409091 | 0.296296 | 0.407407 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 142 | 6 | 35 | 23.666667 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0.531469 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
525d789f2e883be177be9f3b94135406cba530a1 | 270 | py | Python | cbp/views/__init__.py | ig-rudenko/CbP | a6799a6db926f9726f24bcce4c9a52c6bbe0ceac | [
"Apache-2.0"
] | 1 | 2021-12-20T12:33:18.000Z | 2021-12-20T12:33:18.000Z | cbp/views/__init__.py | ig-rudenko/cbp | a6799a6db926f9726f24bcce4c9a52c6bbe0ceac | [
"Apache-2.0"
] | null | null | null | cbp/views/__init__.py | ig-rudenko/cbp | a6799a6db926f9726f24bcce4c9a52c6bbe0ceac | [
"Apache-2.0"
] | 1 | 2020-07-11T12:37:30.000Z | 2020-07-11T12:37:30.000Z | import cbp.views.auth_group_view
import cbp.views.backup_control_view
import cbp.views.backup_group_view
import cbp.views.config_files_view
import cbp.views.devices_view
import cbp.views.ftp_servers_views
import cbp.views.user_control_view
import cbp.views.zabbix_view
| 27 | 36 | 0.877778 | 46 | 270 | 4.847826 | 0.326087 | 0.32287 | 0.502242 | 0.484305 | 0.484305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062963 | 270 | 9 | 37 | 30 | 0.881423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
526f7ed141b1c5bd3747bc6c980f7b63c863dc15 | 99 | py | Python | app/account/__init__.py | abhisuri97/mhealth | 2d74c9c8298d097f86090e3365652d858c682ffa | [
"MIT"
] | 30 | 2017-11-28T15:22:43.000Z | 2022-03-27T02:00:04.000Z | app/account/__init__.py | abhisuri97/mhealth | 2d74c9c8298d097f86090e3365652d858c682ffa | [
"MIT"
] | 44 | 2016-10-16T00:19:07.000Z | 2017-06-10T16:01:53.000Z | app/account/__init__.py | abhisuri97/mhealth | 2d74c9c8298d097f86090e3365652d858c682ffa | [
"MIT"
] | 15 | 2017-12-26T12:28:55.000Z | 2021-03-01T09:41:35.000Z | from flask import Blueprint
account = Blueprint('account', __name__)
from . import views # noqa
| 16.5 | 40 | 0.747475 | 12 | 99 | 5.833333 | 0.666667 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171717 | 99 | 5 | 41 | 19.8 | 0.853659 | 0.040404 | 0 | 0 | 0 | 0 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
870d2073d78825f35b2073d1905a3502b0c71551 | 113 | py | Python | enthought/envisage/developer/code_browser/code_browser.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/envisage/developer/code_browser/code_browser.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/envisage/developer/code_browser/code_browser.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from envisage.developer.code_browser.code_browser import *
| 28.25 | 58 | 0.858407 | 15 | 113 | 6 | 0.666667 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 113 | 3 | 59 | 37.666667 | 0.882353 | 0.106195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
871c120e2352d880d680199013ccde9b90d880c9 | 123 | py | Python | vis/losses.py | sunalbert/lucid.pytorch | 1bcc87a41c99bef1d64d37116c8a2440d11b0def | [
"MIT"
] | 11 | 2018-06-29T11:48:04.000Z | 2021-03-09T12:33:27.000Z | vis/losses.py | ykwon0407/pytorch-vis | 1bcc87a41c99bef1d64d37116c8a2440d11b0def | [
"MIT"
] | null | null | null | vis/losses.py | ykwon0407/pytorch-vis | 1bcc87a41c99bef1d64d37116c8a2440d11b0def | [
"MIT"
] | 1 | 2020-04-17T14:46:41.000Z | 2020-04-17T14:46:41.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
"""
This file for loss function for 2014 paper from
""" | 17.571429 | 47 | 0.756098 | 22 | 123 | 4.227273 | 0.636364 | 0.354839 | 0.27957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039216 | 0.170732 | 123 | 7 | 48 | 17.571429 | 0.872549 | 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 |
871c8ba02e7c0ef03ccee75501658dc252297924 | 124 | py | Python | FCSAPIAccess/__init__.py | CPSuperstore/FangCloudServicesAPIAccessSDK | 863fd4e8e5fe741a4a32e58dd7964ab97b952502 | [
"Apache-2.0"
] | null | null | null | FCSAPIAccess/__init__.py | CPSuperstore/FangCloudServicesAPIAccessSDK | 863fd4e8e5fe741a4a32e58dd7964ab97b952502 | [
"Apache-2.0"
] | null | null | null | FCSAPIAccess/__init__.py | CPSuperstore/FangCloudServicesAPIAccessSDK | 863fd4e8e5fe741a4a32e58dd7964ab97b952502 | [
"Apache-2.0"
] | null | null | null | from FCSAPIAccess.api_access import FCSAPIAccess
from FCSAPIAccess.scope import Scope
from FCSAPIAccess.exceptions import *
| 31 | 48 | 0.870968 | 15 | 124 | 7.133333 | 0.466667 | 0.448598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 124 | 3 | 49 | 41.333333 | 0.955357 | 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 |
8767ea8460bb16186f303173266e7a6bdfb8d2f1 | 3,999 | py | Python | test/pdes/test_wave.py | gelijergensen/Constrained-Neural-Nets-Workbook | d71049939ace04b8baa672c7a8f632f5e01da24b | [
"MIT"
] | 3 | 2019-09-25T10:04:46.000Z | 2020-03-03T10:04:15.000Z | test/pdes/test_wave.py | gelijergensen/Constrained-Neural-Nets-Workbook | d71049939ace04b8baa672c7a8f632f5e01da24b | [
"MIT"
] | null | null | null | test/pdes/test_wave.py | gelijergensen/Constrained-Neural-Nets-Workbook | d71049939ace04b8baa672c7a8f632f5e01da24b | [
"MIT"
] | 2 | 2019-09-21T21:27:04.000Z | 2021-02-12T19:42:47.000Z | import numpy as np
import torch
from src.pdes import helmholtz_equation, pythagorean_equation
def test_helmholtz_equation():
pde = helmholtz_equation
# unbatched
frequency = torch.rand(1)
phase = torch.rand(1) * 2 * np.pi
amplitude = torch.rand(1) * 100
xb = torch.rand(1, 1, requires_grad=T... | 29.622222 | 91 | 0.567142 | 538 | 3,999 | 4.16171 | 0.14684 | 0.064314 | 0.03573 | 0.075034 | 0.871371 | 0.827602 | 0.811076 | 0.810183 | 0.711032 | 0.711032 | 0 | 0.023641 | 0.259565 | 3,999 | 134 | 92 | 29.843284 | 0.732523 | 0.456614 | 0 | 0.316667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.033333 | 1 | 0.016667 | false | 0 | 0.05 | 0 | 0.066667 | 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 |
5e5abe696427a9fe44643fea81cf7f3be595a70e | 169 | py | Python | utils.py | kupad/ntuple-classifier | 860000806bbedbd704c3900d57d356f4397d2619 | [
"MIT"
] | null | null | null | utils.py | kupad/ntuple-classifier | 860000806bbedbd704c3900d57d356f4397d2619 | [
"MIT"
] | 1 | 2022-01-18T17:11:40.000Z | 2022-01-18T17:11:40.000Z | utils.py | kupad/ntuple-classifier | 860000806bbedbd704c3900d57d356f4397d2619 | [
"MIT"
] | null | null | null | """
Author: Phil Dreizen
Utility functions go here.
"""
import sys
def eprint(*args, **kwargs):
"""print to stderr"""
print(*args, file=sys.stderr, **kwargs)
| 14.083333 | 43 | 0.639053 | 22 | 169 | 4.909091 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183432 | 169 | 11 | 44 | 15.363636 | 0.782609 | 0.372781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
5e7aebab1398eeef75486c1593835387733f901b | 182 | py | Python | auxservice/auth.py | fact-project/restful-auxdb | 795b1b099f7c685de746a2af60ba8454d9340d48 | [
"MIT"
] | 1 | 2016-11-18T15:56:33.000Z | 2016-11-18T15:56:33.000Z | auxservice/auth.py | fact-project/restful-auxdb | 795b1b099f7c685de746a2af60ba8454d9340d48 | [
"MIT"
] | null | null | null | auxservice/auth.py | fact-project/restful-auxdb | 795b1b099f7c685de746a2af60ba8454d9340d48 | [
"MIT"
] | null | null | null | from flask_httpauth import HTTPBasicAuth
from .config import config
auth = HTTPBasicAuth()
@auth.get_password
def get_pw(username):
return config['users'].get(username, None)
| 18.2 | 46 | 0.774725 | 24 | 182 | 5.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 182 | 9 | 47 | 20.222222 | 0.873418 | 0 | 0 | 0 | 0 | 0 | 0.027473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0.166667 | 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 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 6 |
5e819bc0838c980b5bfe7886f47279293fdf230c | 20,046 | py | Python | evaluate.py | maxm897/pentagoAI | 0519b09c4ef4ec314af93b8aabbc5541ef43c0ea | [
"Apache-2.0"
] | 4 | 2018-07-16T03:16:19.000Z | 2022-01-30T19:27:52.000Z | evaluate.py | maxm897/pentagoAI | 0519b09c4ef4ec314af93b8aabbc5541ef43c0ea | [
"Apache-2.0"
] | null | null | null | evaluate.py | maxm897/pentagoAI | 0519b09c4ef4ec314af93b8aabbc5541ef43c0ea | [
"Apache-2.0"
] | null | null | null | #AI.py
#Richard Greenbaum, Karson Daecher, Max Melamed
"""This module contains the AI components of the pentago bot"""
#Points for each board condition
CENTER_BONUS = 5
SEQUENCE2_WEAK = 2
SEQUENCE2_STRONG = 3
SEQUENCE3_WEAK = 10
SEQUENCE3_STRONG = 15
SEQUENCE4 = 20
CENTER_SPREAD1 = .05
CENTER_SPREAD2 = .025
MINVAL = ... | 23.83591 | 168 | 0.596578 | 3,076 | 20,046 | 3.632965 | 0.043888 | 0.128859 | 0.125996 | 0.120268 | 0.743624 | 0.737808 | 0.733512 | 0.705772 | 0.705772 | 0.687517 | 0 | 0.078144 | 0.29587 | 20,046 | 840 | 169 | 23.864286 | 0.713567 | 0.050733 | 0 | 0.85733 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002618 | false | 0 | 0 | 0 | 0.01178 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ed035f3197f4c490dbbbcdbfd0e3f3da5395b2b | 108 | py | Python | modules/modules.py | thecomputerguy/full-speed-python | 6ef6e5006e5a89e67c430cb5320e088e8a3410b0 | [
"MIT"
] | null | null | null | modules/modules.py | thecomputerguy/full-speed-python | 6ef6e5006e5a89e67c430cb5320e088e8a3410b0 | [
"MIT"
] | null | null | null | modules/modules.py | thecomputerguy/full-speed-python | 6ef6e5006e5a89e67c430cb5320e088e8a3410b0 | [
"MIT"
] | null | null | null | import math
print(math.cos(0.0))
print(math.radians(275))
def tell_me_my_name():
return "Varun Sharma"
| 15.428571 | 25 | 0.722222 | 19 | 108 | 3.947368 | 0.789474 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053191 | 0.12963 | 108 | 6 | 26 | 18 | 0.744681 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
0da01f3c4b74ba5f4ce61790d4714d91e9fd8f04 | 39 | py | Python | torchfly_dev/training/distributed/__init__.py | qbetterk/final-project-torchfly | d0fe861e134b2d90c0f9b6d6bbc543a8f64066f4 | [
"MIT"
] | null | null | null | torchfly_dev/training/distributed/__init__.py | qbetterk/final-project-torchfly | d0fe861e134b2d90c0f9b6d6bbc543a8f64066f4 | [
"MIT"
] | null | null | null | torchfly_dev/training/distributed/__init__.py | qbetterk/final-project-torchfly | d0fe861e134b2d90c0f9b6d6bbc543a8f64066f4 | [
"MIT"
] | null | null | null | from .manager import DistributedManager | 39 | 39 | 0.897436 | 4 | 39 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.972222 | 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 |
0db88c7f8a234c890b9bc0e3cb7b855189125cb2 | 1,974 | py | Python | tests/crud/test_crud_profile.py | congdh/fastapi-async-realworld | 608dc6f090f8a02e0a880cef33dca90df78cbfb5 | [
"MIT"
] | null | null | null | tests/crud/test_crud_profile.py | congdh/fastapi-async-realworld | 608dc6f090f8a02e0a880cef33dca90df78cbfb5 | [
"MIT"
] | null | null | null | tests/crud/test_crud_profile.py | congdh/fastapi-async-realworld | 608dc6f090f8a02e0a880cef33dca90df78cbfb5 | [
"MIT"
] | 3 | 2020-10-04T09:37:21.000Z | 2022-02-13T08:57:35.000Z | import pytest
from httpx import AsyncClient
from app import schemas
from app.crud import crud_profile
from tests.utils.profile import assert_profile_with_user
pytestmark = pytest.mark.asyncio
async def test_get_profile_by_username_not_existed(
async_client: AsyncClient,
test_user: schemas.UserDB,
other_... | 31.83871 | 86 | 0.779635 | 279 | 1,974 | 5.154122 | 0.136201 | 0.094576 | 0.11822 | 0.104312 | 0.872045 | 0.865786 | 0.865786 | 0.837969 | 0.82128 | 0.765647 | 0 | 0.003571 | 0.148936 | 1,974 | 61 | 87 | 32.360656 | 0.852381 | 0 | 0 | 0.489796 | 0 | 0 | 0.00152 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 1 | 0 | false | 0 | 0.102041 | 0 | 0.102041 | 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 |
0dc5eeb190f2534c01333a428edaace19a3fd428 | 32 | py | Python | src/14000/14928.py3.py | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | 8 | 2018-04-12T15:54:09.000Z | 2020-06-05T07:41:15.000Z | src/14000/14928.py3.py | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | null | null | null | src/14000/14928.py3.py | upple/BOJ | e6dbf9fd17fa2b458c6a781d803123b14c18e6f1 | [
"MIT"
] | null | null | null | n=int(input())
print(n%20000303) | 16 | 17 | 0.71875 | 6 | 32 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 0.03125 | 32 | 2 | 17 | 16 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0dc8eec120e834c01b1c80391de3bb4e68420fb9 | 140 | py | Python | andes/models/motor/__init__.py | cuihantao/Andes | 6cdc057986c4a8382194ef440b6e92b8dfb77e25 | [
"Apache-2.0"
] | 16 | 2017-06-16T14:21:04.000Z | 2018-08-18T08:52:27.000Z | andes/models/motor/__init__.py | cuihantao/Andes | 6cdc057986c4a8382194ef440b6e92b8dfb77e25 | [
"Apache-2.0"
] | 1 | 2017-12-12T07:51:16.000Z | 2017-12-12T07:51:16.000Z | andes/models/motor/__init__.py | cuihantao/Andes | 6cdc057986c4a8382194ef440b6e92b8dfb77e25 | [
"Apache-2.0"
] | 7 | 2017-12-10T07:32:36.000Z | 2018-09-19T16:38:30.000Z | """
Induction machine models
"""
from andes.models.motor.motor3 import Motor3 # noqa
from andes.models.motor.motor5 import Motor5 # noqa
| 20 | 52 | 0.757143 | 19 | 140 | 5.578947 | 0.526316 | 0.169811 | 0.283019 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.142857 | 140 | 6 | 53 | 23.333333 | 0.85 | 0.25 | 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 | 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 |
0df2b45b1c86efe27c05d82b832d21000e0fd71a | 1,138 | py | Python | proj/preprocessor/error_nii_fix.py | NanYoMy/mmregnet | 50909d39289733264dce14666e9deeecbe858819 | [
"Apache-2.0"
] | 7 | 2021-05-18T05:21:41.000Z | 2022-01-03T07:03:35.000Z | proj/preprocessor/error_nii_fix.py | NanYoMy/mmregnet | 50909d39289733264dce14666e9deeecbe858819 | [
"Apache-2.0"
] | null | null | null | proj/preprocessor/error_nii_fix.py | NanYoMy/mmregnet | 50909d39289733264dce14666e9deeecbe858819 | [
"Apache-2.0"
] | null | null | null |
import numpy as np
import nibabel as nib
def fix_image():
fileobj=nib.load("E:\MIA_CODE_DATA\zhuang_data\MMWHS\MRI\mr-image\mr_train_1002_image.nii.gz")
tmp=fileobj.dataobj
new_tmp=tmp[10:,10:,10:]
img = nib.Nifti1Image(new_tmp, fileobj.affine)
nib.save(img,"E:\MIA_CODE_DATA\zhuang_data\MMWHS\MRI\... | 34.484848 | 98 | 0.717926 | 202 | 1,138 | 3.772277 | 0.227723 | 0.031496 | 0.062992 | 0.094488 | 0.724409 | 0.724409 | 0.724409 | 0.724409 | 0.724409 | 0.724409 | 0 | 0.053946 | 0.120387 | 1,138 | 33 | 99 | 34.484848 | 0.707293 | 0.020211 | 0 | 0.25 | 0 | 0 | 0.411871 | 0.404676 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.041667 | 0.083333 | 0 | 0.166667 | 0.083333 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
21f35e3d07918785a2cb1e7c2e3a5d45b6d28b49 | 31 | py | Python | spec_maker/views/__init__.py | carlcarl/spec_maker | 35b8d32e3d2d37bf1a4deeb49b91592fb070b5f4 | [
"MIT"
] | 1 | 2015-09-25T05:34:01.000Z | 2015-09-25T05:34:01.000Z | spec_maker/views/__init__.py | carlcarl/spec_maker | 35b8d32e3d2d37bf1a4deeb49b91592fb070b5f4 | [
"MIT"
] | null | null | null | spec_maker/views/__init__.py | carlcarl/spec_maker | 35b8d32e3d2d37bf1a4deeb49b91592fb070b5f4 | [
"MIT"
] | null | null | null | from spec_maker_views import *
| 15.5 | 30 | 0.83871 | 5 | 31 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 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 |
df3ece5002c9383322cb5ba226777f17980b09de | 20 | py | Python | devel/lib/python2.7/dist-packages/ian_bot/msg/__init__.py | SpyGuyIan/rosRep | 6d38572a21b5d0c0bb158005a519a39242602c9b | [
"MIT"
] | null | null | null | devel/lib/python2.7/dist-packages/ian_bot/msg/__init__.py | SpyGuyIan/rosRep | 6d38572a21b5d0c0bb158005a519a39242602c9b | [
"MIT"
] | null | null | null | devel/lib/python2.7/dist-packages/ian_bot/msg/__init__.py | SpyGuyIan/rosRep | 6d38572a21b5d0c0bb158005a519a39242602c9b | [
"MIT"
] | null | null | null | from ._PWM import *
| 10 | 19 | 0.7 | 3 | 20 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.8125 | 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 |
df6a2634808c6d61b0526a1d9575c758da788d27 | 106 | py | Python | src/config/views.py | ConnorMac/stokvel.io | 055c3493c8138edc8d2f98e5c928653e5f402307 | [
"MIT"
] | null | null | null | src/config/views.py | ConnorMac/stokvel.io | 055c3493c8138edc8d2f98e5c928653e5f402307 | [
"MIT"
] | 4 | 2017-06-26T10:54:01.000Z | 2017-07-23T20:55:49.000Z | src/config/views.py | ConnorMac/stokvel.io | 055c3493c8138edc8d2f98e5c928653e5f402307 | [
"MIT"
] | null | null | null | from django.http import HttpResponse
def index(request):
return HttpResponse("Welcome to Stokvel!")
| 17.666667 | 46 | 0.764151 | 13 | 106 | 6.230769 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 106 | 5 | 47 | 21.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.179245 | 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 |
10fad3c3724158cf5c150217aef5694918b4e8f4 | 153 | py | Python | reservations/admin.py | Nonse/Feel_Like | 9e4df630034535211f6410da8308647abd41b6d2 | [
"Apache-2.0"
] | null | null | null | reservations/admin.py | Nonse/Feel_Like | 9e4df630034535211f6410da8308647abd41b6d2 | [
"Apache-2.0"
] | null | null | null | reservations/admin.py | Nonse/Feel_Like | 9e4df630034535211f6410da8308647abd41b6d2 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from reservations.models import *
admin.site.register(Company)
admin.site.register(Coach)
admin.site.register(Product)
| 21.857143 | 33 | 0.823529 | 21 | 153 | 6 | 0.571429 | 0.214286 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 153 | 6 | 34 | 25.5 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 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 |
8014b19e300dc91d69ed97a1627181c410573191 | 65 | py | Python | src/trainers/__init__.py | pomelyu/DNNProject | 08fa94788a18c28f867c4ea46e9e18b8f65ee334 | [
"MIT"
] | null | null | null | src/trainers/__init__.py | pomelyu/DNNProject | 08fa94788a18c28f867c4ea46e9e18b8f65ee334 | [
"MIT"
] | null | null | null | src/trainers/__init__.py | pomelyu/DNNProject | 08fa94788a18c28f867c4ea46e9e18b8f65ee334 | [
"MIT"
] | null | null | null | from .gan_trainer import GANTrainer
from .trainer import Trainer
| 21.666667 | 35 | 0.846154 | 9 | 65 | 6 | 0.555556 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 65 | 2 | 36 | 32.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 |
804810eac661f0dacc934c2f94ff6a1cb1bd94a8 | 44 | py | Python | datamanager/utils/__init__.py | alghimo/data-manager | 98c54934cb704c4e980acdfcc2206d740dd1ec03 | [
"Apache-2.0"
] | 1 | 2021-05-22T08:37:17.000Z | 2021-05-22T08:37:17.000Z | datamanager/utils/__init__.py | alghimo/data-manager | 98c54934cb704c4e980acdfcc2206d740dd1ec03 | [
"Apache-2.0"
] | null | null | null | datamanager/utils/__init__.py | alghimo/data-manager | 98c54934cb704c4e980acdfcc2206d740dd1ec03 | [
"Apache-2.0"
] | null | null | null | from .data_converters import DataConverters
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33a1d07bdf0856a514764e224de3b4424ca8f5f4 | 719 | py | Python | test/test_image_op.py | brianlan/image-semantic-segmentation | aef172ed022091b9151f3eef1cc6213bbb122635 | [
"MIT"
] | 3 | 2017-09-14T16:19:46.000Z | 2018-02-28T12:51:31.000Z | test/test_image_op.py | brianlan/image-semantic-segmentation | aef172ed022091b9151f3eef1cc6213bbb122635 | [
"MIT"
] | 1 | 2017-09-14T16:20:14.000Z | 2017-09-14T16:20:14.000Z | test/test_image_op.py | brianlan/kaggle-carvana-semantic-segmentation-unet | aef172ed022091b9151f3eef1cc6213bbb122635 | [
"MIT"
] | null | null | null | import numpy as np
from image_op import run_length_encode, rlencode
def test_run_length_encode():
image = np.array([[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 1, 1, 1, 1, 0, 0],
[0, 1, 1, 1, 1, 1, 1, 0],
[0, 0... | 29.958333 | 48 | 0.30459 | 103 | 719 | 2.048544 | 0.252427 | 0.398104 | 0.511848 | 0.587678 | 0.303318 | 0.279621 | 0.279621 | 0.279621 | 0.279621 | 0.279621 | 0 | 0.242604 | 0.529903 | 719 | 23 | 49 | 31.26087 | 0.381657 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.055556 | false | 0 | 0.111111 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
33bd2bb8d164af95e128188a1beab9991d07b374 | 21,392 | py | Python | src/backend/marsha/websocket/tests/test_consumers_video.py | insad-video/marsha | 1e6a708c74527f50c4aa24d811049492e75f47a0 | [
"MIT"
] | null | null | null | src/backend/marsha/websocket/tests/test_consumers_video.py | insad-video/marsha | 1e6a708c74527f50c4aa24d811049492e75f47a0 | [
"MIT"
] | null | null | null | src/backend/marsha/websocket/tests/test_consumers_video.py | insad-video/marsha | 1e6a708c74527f50c4aa24d811049492e75f47a0 | [
"MIT"
] | null | null | null | """Test for video consumers."""
import json
import random
from uuid import uuid4
from django.test import TransactionTestCase
from asgiref.sync import sync_to_async
from channels.layers import get_channel_layer
from channels.testing import WebsocketCommunicator
from rest_framework_simplejwt.tokens import AccessToken
... | 35.832496 | 90 | 0.537117 | 1,974 | 21,392 | 5.530395 | 0.113475 | 0.047632 | 0.064578 | 0.024915 | 0.810662 | 0.79106 | 0.757168 | 0.72694 | 0.710452 | 0.694513 | 0 | 0.006745 | 0.355413 | 21,392 | 596 | 91 | 35.892617 | 0.784974 | 0.029918 | 0 | 0.643892 | 0 | 0 | 0.159554 | 0.037697 | 0 | 0 | 0 | 0 | 0.057971 | 1 | 0.014493 | false | 0 | 0.028986 | 0 | 0.062112 | 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 |
1d3a3d37f13a6d343271d7c1f767b4de69c8442a | 177 | py | Python | Assignments/Assignment1/cs231n/classifiers/__init__.py | HuangCongQing/CS231n_Spring_2019 | 542056deb11dcd66bb2f08e302a31b50a4b022db | [
"MIT"
] | 29 | 2019-11-06T14:02:02.000Z | 2022-03-13T13:20:01.000Z | Assignments/Assignment1/cs231n/classifiers/__init__.py | HuangCongQing/CS231n_Spring_2019 | 542056deb11dcd66bb2f08e302a31b50a4b022db | [
"MIT"
] | null | null | null | Assignments/Assignment1/cs231n/classifiers/__init__.py | HuangCongQing/CS231n_Spring_2019 | 542056deb11dcd66bb2f08e302a31b50a4b022db | [
"MIT"
] | 11 | 2020-01-31T09:04:06.000Z | 2021-03-28T07:51:22.000Z | from cs231n.classifiers.k_nearest_neighbor import * # 等同于import KNearestNeighbor (即调用class KNearestNeighbor(object):)
from cs231n.classifiers.linear_classifier import *
# 查找路径 | 59 | 119 | 0.836158 | 19 | 177 | 7.631579 | 0.736842 | 0.137931 | 0.289655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037267 | 0.090395 | 177 | 3 | 120 | 59 | 0.863354 | 0.39548 | 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 |
d524df9cc89b47e7074a2b2717418d2b6cde7d30 | 129 | py | Python | action_abs/PolicyClass.py | vishalbelsare/rl_abstraction | cfe628abbee2614ff873713dceb466b293aa7329 | [
"MIT"
] | 25 | 2017-11-16T21:59:58.000Z | 2022-03-23T09:18:26.000Z | action_abs/PolicyClass.py | vishalbelsare/rl_abstraction | cfe628abbee2614ff873713dceb466b293aa7329 | [
"MIT"
] | 1 | 2020-12-10T05:20:01.000Z | 2020-12-18T01:30:23.000Z | action_abs/PolicyClass.py | vishalbelsare/rl_abstraction | cfe628abbee2614ff873713dceb466b293aa7329 | [
"MIT"
] | 7 | 2017-11-16T22:00:05.000Z | 2022-03-10T03:35:59.000Z | class Policy(object):
def __init__(self, action=""):
self.action = action
def get_action(self, state):
return self.action | 18.428571 | 31 | 0.713178 | 18 | 129 | 4.833333 | 0.555556 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155039 | 129 | 7 | 32 | 18.428571 | 0.798165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d59a3b0993eff6c3edfe3d0d6951edebe428fc7c | 126 | py | Python | surrortg/devices/udp/__init__.py | cedricsellin/surrogate | 03f13d297fdd74d7e5d164821039acc38d0b2103 | [
"MIT"
] | 2 | 2020-11-25T00:29:07.000Z | 2020-12-01T20:24:47.000Z | surrortg/devices/udp/__init__.py | cedricsellin/surrogate | 03f13d297fdd74d7e5d164821039acc38d0b2103 | [
"MIT"
] | 1 | 2021-04-10T11:59:23.000Z | 2021-04-10T11:59:23.000Z | surrortg/devices/udp/__init__.py | cedricsellin/surrogate | 03f13d297fdd74d7e5d164821039acc38d0b2103 | [
"MIT"
] | 2 | 2021-01-28T17:43:13.000Z | 2021-03-29T13:19:38.000Z | from .udp_input import UdpInput
from .udp_actuator import UdpActuator
from .udp_bot import UdpBot
from .udp_car import UdpCar
| 25.2 | 37 | 0.84127 | 20 | 126 | 5.1 | 0.55 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 126 | 4 | 38 | 31.5 | 0.927273 | 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 |
6392ef89f5614c02e058003e85400e7eb611438d | 2,383 | py | Python | dojo/unittests/tools/test_twistlock_parser.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 2 | 2021-09-19T23:19:12.000Z | 2022-03-26T10:20:49.000Z | dojo/unittests/tools/test_twistlock_parser.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 562 | 2019-06-21T18:44:38.000Z | 2022-03-28T18:09:08.000Z | dojo/unittests/tools/test_twistlock_parser.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 4 | 2016-09-19T17:33:39.000Z | 2018-12-10T07:55:45.000Z | from django.test import TestCase
from dojo.models import Test
from dojo.tools.twistlock.parser import TwistlockParser
class TestTwistlockParser(TestCase):
def test_parse_file_with_no_vuln(self):
testfile = open("dojo/unittests/scans/twistlock/no_vuln.json")
parser = TwistlockParser()
findi... | 39.065574 | 102 | 0.692405 | 269 | 2,383 | 5.858736 | 0.189591 | 0.031091 | 0.053299 | 0.071066 | 0.871827 | 0.847081 | 0.810914 | 0.768401 | 0.704949 | 0.656726 | 0 | 0.003719 | 0.210239 | 2,383 | 60 | 103 | 39.716667 | 0.833688 | 0 | 0 | 0.576923 | 0 | 0 | 0.185061 | 0.185061 | 0 | 0 | 0 | 0 | 0.134615 | 1 | 0.134615 | false | 0 | 0.057692 | 0 | 0.211538 | 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 |
6397187f917f6afccd70467379dd8ccc71917350 | 24 | py | Python | python_code/cutils/dataflow/__init__.py | IBM/oct-glaucoma-vf-estimate | ea79352547f33fe05ee532ab9faad6a5e4811a76 | [
"Apache-2.0"
] | null | null | null | python_code/cutils/dataflow/__init__.py | IBM/oct-glaucoma-vf-estimate | ea79352547f33fe05ee532ab9faad6a5e4811a76 | [
"Apache-2.0"
] | null | null | null | python_code/cutils/dataflow/__init__.py | IBM/oct-glaucoma-vf-estimate | ea79352547f33fe05ee532ab9faad6a5e4811a76 | [
"Apache-2.0"
] | null | null | null | from .dataflow 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 |
63b3a232a676d66218d7f51fea78d406dbd6295e | 7,392 | py | Python | tudouNLP/models/predict.py | Qyy2737242319/emotion-analysis-based-on-BERT | 22414acb442315fd205f30fa83d2fcdd2679ea97 | [
"MIT"
] | 1 | 2022-01-14T07:53:42.000Z | 2022-01-14T07:53:42.000Z | tudouNLP/models/predict.py | Qyy2737242319/emotion-analysis-based-on-BERT | 22414acb442315fd205f30fa83d2fcdd2679ea97 | [
"MIT"
] | null | null | null | tudouNLP/models/predict.py | Qyy2737242319/emotion-analysis-based-on-BERT | 22414acb442315fd205f30fa83d2fcdd2679ea97 | [
"MIT"
] | null | null | null | import os
import shutil
from tudouNLP.tools import ner_predict_utils
from tudouNLP.tools import tag_predict_utils
from tudouNLP.tools import sentiment_predict_utils
class tagger(object):
def __init__(self, model_dir):
self._work_path = os.getcwd()
self._module_path = os.path.dirname(__file__)
... | 39.111111 | 91 | 0.533279 | 799 | 7,392 | 4.653317 | 0.155194 | 0.061323 | 0.035503 | 0.02582 | 0.868209 | 0.842926 | 0.776493 | 0.757934 | 0.713287 | 0.701183 | 0 | 0.004663 | 0.361742 | 7,392 | 189 | 92 | 39.111111 | 0.783383 | 0.021104 | 0 | 0.69281 | 0 | 0 | 0.069829 | 0.025719 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052288 | false | 0 | 0.03268 | 0 | 0.130719 | 0.013072 | 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 |
63bf32a3079e89d425547dc227bb1ce6c53417fe | 87 | py | Python | ebmlite/__init__.py | MideTechnology/ebmlite | 6ec6a258028d7234b002617dd4e2ffc2b32c2c54 | [
"MIT"
] | 9 | 2018-10-24T18:20:24.000Z | 2022-02-26T23:01:54.000Z | ebmlite/__init__.py | MideTechnology/ebmlite | 6ec6a258028d7234b002617dd4e2ffc2b32c2c54 | [
"MIT"
] | 77 | 2018-10-24T18:18:39.000Z | 2022-03-30T13:50:33.000Z | ebmlite/__init__.py | MideTechnology/ebmlite | 6ec6a258028d7234b002617dd4e2ffc2b32c2c54 | [
"MIT"
] | 3 | 2018-10-24T18:20:35.000Z | 2021-01-15T10:19:36.000Z | from .core import *
from .core import SCHEMA_PATH, SCHEMATA, __all__
name = "ebmlite"
| 17.4 | 48 | 0.747126 | 12 | 87 | 5 | 0.75 | 0.266667 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 87 | 4 | 49 | 21.75 | 0.821918 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 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 |
8925d99810de3e5cd5705adc35fc70b58e5f3fb4 | 269 | py | Python | density-based/MoINN/modules/__init__.py | ramonpeter/UnbinnedMeasurements | 31c0a8125d48216718c22721cba63544d6b8897a | [
"MIT"
] | 4 | 2021-04-26T18:11:19.000Z | 2022-03-15T08:04:01.000Z | density-based/MoINN/modules/__init__.py | ramonpeter/UnbinnedMeasurements | 31c0a8125d48216718c22721cba63544d6b8897a | [
"MIT"
] | null | null | null | density-based/MoINN/modules/__init__.py | ramonpeter/UnbinnedMeasurements | 31c0a8125d48216718c22721cba63544d6b8897a | [
"MIT"
] | null | null | null | # Import the base class first
from MoINN.modules.base import *
# Then all inheriting modules
from MoINN.modules.coupling_layers import *
from MoINN.modules.fixed_permutation import *
from MoINN.modules.subnetworks import *
from MoINN.modules.all_in_one_block import *
| 29.888889 | 45 | 0.817844 | 39 | 269 | 5.512821 | 0.487179 | 0.209302 | 0.372093 | 0.306977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118959 | 269 | 8 | 46 | 33.625 | 0.907173 | 0.204461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
89a3890046149bbb8aee621e5ec34b3f64c79a9f | 40 | py | Python | python/python/array-reverse/array_reverse.py | iggy18/data-structures-and-algorithms | 700ef727ca7656724120a1873af4bd4bce5962f4 | [
"MIT"
] | null | null | null | python/python/array-reverse/array_reverse.py | iggy18/data-structures-and-algorithms | 700ef727ca7656724120a1873af4bd4bce5962f4 | [
"MIT"
] | null | null | null | python/python/array-reverse/array_reverse.py | iggy18/data-structures-and-algorithms | 700ef727ca7656724120a1873af4bd4bce5962f4 | [
"MIT"
] | null | null | null | def flip(array):
return array[::-1]
| 13.333333 | 22 | 0.6 | 6 | 40 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.2 | 40 | 2 | 23 | 20 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
98459e7b2c920b78e7dd32be02e55868d4d9d31c | 103 | py | Python | infra-task/app/app.py | Rahul1804/cnid-tech-tests | 3a8cb96c15f050540e334a1034fdc0c377f3216f | [
"MIT"
] | null | null | null | infra-task/app/app.py | Rahul1804/cnid-tech-tests | 3a8cb96c15f050540e334a1034fdc0c377f3216f | [
"MIT"
] | null | null | null | infra-task/app/app.py | Rahul1804/cnid-tech-tests | 3a8cb96c15f050540e334a1034fdc0c377f3216f | [
"MIT"
] | null | null | null | import time
import os
from flask import Flask
@app.route('/')
def hello():
return 'Hello World!'
| 11.444444 | 25 | 0.679612 | 15 | 103 | 4.666667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194175 | 103 | 8 | 26 | 12.875 | 0.843373 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 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 |
9855765fa0bda2c5112bf75aca86dbf5c9ec6660 | 101 | py | Python | tasks/__init__.py | RobertCsordas/tcf | da20530dfb4336deddfbe5e79d62e72d1dc2580e | [
"MIT"
] | 5 | 2021-12-14T21:38:08.000Z | 2022-03-10T06:56:57.000Z | tasks/__init__.py | RobertCsordas/tcf | da20530dfb4336deddfbe5e79d62e72d1dc2580e | [
"MIT"
] | null | null | null | tasks/__init__.py | RobertCsordas/tcf | da20530dfb4336deddfbe5e79d62e72d1dc2580e | [
"MIT"
] | 1 | 2021-10-19T00:03:47.000Z | 2021-10-19T00:03:47.000Z | from .task import Task
from .task_db import task, get_task, args, register_args
from . import simple
| 25.25 | 56 | 0.792079 | 17 | 101 | 4.529412 | 0.470588 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 101 | 3 | 57 | 33.666667 | 0.895349 | 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 |
986ab550848f5395e5f1f5fa32091d9181d4e949 | 11,521 | py | Python | tests/unit/python/foglamp/plugins/south/coap_listen/test_coap_listen.py | ashwinscale/FogLAMP | dac6f286d31978b6ce00303df8398ea5b2031d79 | [
"Apache-2.0"
] | null | null | null | tests/unit/python/foglamp/plugins/south/coap_listen/test_coap_listen.py | ashwinscale/FogLAMP | dac6f286d31978b6ce00303df8398ea5b2031d79 | [
"Apache-2.0"
] | 1 | 2018-05-10T16:04:34.000Z | 2018-05-10T16:04:34.000Z | tests/unit/python/foglamp/plugins/south/coap_listen/test_coap_listen.py | ashwinscale/FogLAMP | dac6f286d31978b6ce00303df8398ea5b2031d79 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# FOGLAMP_BEGIN
# See: http://foglamp.readthedocs.io/
# FOGLAMP_END
"""Unit test for foglamp.plugins.south.coap_listen.coap_listen.py"""
import copy
import json
import pytest
import asyncio
import cbor2
import aiocoap.error
from aiocoap import message, numbers
from unittest.mock import call, p... | 38.149007 | 125 | 0.62104 | 1,350 | 11,521 | 5.111111 | 0.151111 | 0.044928 | 0.026087 | 0.033478 | 0.827101 | 0.825362 | 0.803188 | 0.78 | 0.774348 | 0.745217 | 0 | 0.028085 | 0.239736 | 11,521 | 301 | 126 | 38.275748 | 0.759676 | 0.049214 | 0 | 0.643154 | 0 | 0 | 0.256845 | 0.037359 | 0 | 0 | 0 | 0.003322 | 0.153527 | 1 | 0.016598 | false | 0 | 0.041494 | 0 | 0.062241 | 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 |
f6910c72a523b7148b952c41a01e019c974b235c | 44 | py | Python | tests/__init__.py | NayakwadiS/htmllogger | 0d2148a4126d2a0c6a2239a58d7fb124f4072a9c | [
"MIT"
] | 1 | 2020-01-24T11:56:07.000Z | 2020-01-24T11:56:07.000Z | tests/__init__.py | NayakwadiS/htmllogger | 0d2148a4126d2a0c6a2239a58d7fb124f4072a9c | [
"MIT"
] | null | null | null | tests/__init__.py | NayakwadiS/htmllogger | 0d2148a4126d2a0c6a2239a58d7fb124f4072a9c | [
"MIT"
] | 1 | 2021-07-18T02:55:16.000Z | 2021-07-18T02:55:16.000Z | from htmllogger.Htmllogger import Htmllogger | 44 | 44 | 0.909091 | 5 | 44 | 8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f69d47a1b7330793d1732f6e4f654bea806cd9bc | 86 | py | Python | toolbox/__init__.py | redfast00/euler | 98fc49a1fcb8b49415cc4384952a6447378bd4f4 | [
"MIT"
] | null | null | null | toolbox/__init__.py | redfast00/euler | 98fc49a1fcb8b49415cc4384952a6447378bd4f4 | [
"MIT"
] | null | null | null | toolbox/__init__.py | redfast00/euler | 98fc49a1fcb8b49415cc4384952a6447378bd4f4 | [
"MIT"
] | null | null | null | from .prime import *
from .fibonacci import *
from .iter import *
from .misc import *
| 17.2 | 24 | 0.72093 | 12 | 86 | 5.166667 | 0.5 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 86 | 4 | 25 | 21.5 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6a1bb8a2f5ac7afc746b3301ee7b991892f7b19 | 9,408 | py | Python | tests/test_render_table.py | hyeonukbhin/bootstrap-flask | 42bd57dbd5ac802a13afd6bbd9e5136a4b1e8f5b | [
"BSD-3-Clause"
] | null | null | null | tests/test_render_table.py | hyeonukbhin/bootstrap-flask | 42bd57dbd5ac802a13afd6bbd9e5136a4b1e8f5b | [
"BSD-3-Clause"
] | null | null | null | tests/test_render_table.py | hyeonukbhin/bootstrap-flask | 42bd57dbd5ac802a13afd6bbd9e5136a4b1e8f5b | [
"BSD-3-Clause"
] | null | null | null | from flask import render_template_string, request
from flask_sqlalchemy import SQLAlchemy
from flask_wtf import CSRFProtect
class TestPagination:
def test_render_simple_table(self, app, client):
db = SQLAlchemy(app)
class Message(db.Model):
id = db.Column(db.Integer, primary_key=True)... | 40.727273 | 116 | 0.529443 | 1,039 | 9,408 | 4.655438 | 0.103946 | 0.031011 | 0.047137 | 0.023155 | 0.769692 | 0.731652 | 0.710978 | 0.701675 | 0.701675 | 0.701675 | 0 | 0.007246 | 0.339923 | 9,408 | 230 | 117 | 40.904348 | 0.771659 | 0 | 0 | 0.730964 | 0 | 0 | 0.321003 | 0.097895 | 0 | 0 | 0 | 0 | 0.13198 | 1 | 0.086294 | false | 0 | 0.050761 | 0.015228 | 0.22335 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.