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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7c63a02f8a8760ebf799987385880dce0b8ed958 | 234 | py | Python | basen/__init__.py | wernersbacher/basen | 2218a14ada3918771628180b2e3c8299b4ce2331 | [
"MIT"
] | null | null | null | basen/__init__.py | wernersbacher/basen | 2218a14ada3918771628180b2e3c8299b4ce2331 | [
"MIT"
] | null | null | null | basen/__init__.py | wernersbacher/basen | 2218a14ada3918771628180b2e3c8299b4ce2331 | [
"MIT"
] | null | null | null | # Copyright (C) 2017-2019 by Vd.
# This file is part of BaseN package.
# BaseN is released under the MIT License (see LICENSE).
from .basen import BaseN
from .int2base import int2base, base2int
def version():
return "2019.03"
| 19.5 | 56 | 0.722222 | 36 | 234 | 4.694444 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089947 | 0.192308 | 234 | 11 | 57 | 21.272727 | 0.804233 | 0.517094 | 0 | 0 | 0 | 0 | 0.06422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
7ce44aa0c07ff7e7e525ede6fb620556d9017f79 | 1,142 | py | Python | tests/test_user.py | Kevson102/Phoenix-Blogs | 78e2728cf050752ad45957887eb52067eda718dd | [
"MIT"
] | null | null | null | tests/test_user.py | Kevson102/Phoenix-Blogs | 78e2728cf050752ad45957887eb52067eda718dd | [
"MIT"
] | null | null | null | tests/test_user.py | Kevson102/Phoenix-Blogs | 78e2728cf050752ad45957887eb52067eda718dd | [
"MIT"
] | null | null | null | import unittest # imports the unittest module
from app.models import User # imports the users class from the user.py file
class TestUsers(unittest.TestCase):
'''
Test class that defines the test cases for the behaviour of the Users class.
Args:
unittest.TestCase: Test case class that helps in creat... | 35.6875 | 110 | 0.652364 | 150 | 1,142 | 4.826667 | 0.426667 | 0.06768 | 0.106354 | 0.18232 | 0.232044 | 0.088398 | 0 | 0 | 0 | 0 | 0 | 0.004603 | 0.239054 | 1,142 | 32 | 111 | 35.6875 | 0.828539 | 0.317863 | 0 | 0 | 0 | 0 | 0.164074 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.214286 | false | 0.071429 | 0.142857 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6b1b5941fddeb76d9b8c358b09292f101f5fe074 | 74 | py | Python | CodeUp/6023.py | chae-heechan/Algorithm_Study | 183a77e2cfe352cd82fb5e988b493082529a73dd | [
"MIT"
] | null | null | null | CodeUp/6023.py | chae-heechan/Algorithm_Study | 183a77e2cfe352cd82fb5e988b493082529a73dd | [
"MIT"
] | null | null | null | CodeUp/6023.py | chae-heechan/Algorithm_Study | 183a77e2cfe352cd82fb5e988b493082529a73dd | [
"MIT"
] | null | null | null | # 시분초 입력받아 분만 출력하기
hour, minute, second = input().split(":")
print(minute) | 24.666667 | 41 | 0.675676 | 11 | 74 | 4.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 74 | 3 | 42 | 24.666667 | 0.78125 | 0.216216 | 0 | 0 | 0 | 0 | 0.017544 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6b20806f78a3c28b65e2e24005e5e3b25de861ce | 7,563 | py | Python | SLpackage/private/pacbio/pythonpkgs/pbsvtools/lib/python2.7/site-packages/pbsv1/independent/repeats.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | 5 | 2022-02-20T07:10:02.000Z | 2022-03-18T17:47:53.000Z | SLpackage/private/pacbio/pythonpkgs/pbsvtools/lib/python2.7/site-packages/pbsv1/independent/repeats.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | null | null | null | SLpackage/private/pacbio/pythonpkgs/pbsvtools/lib/python2.7/site-packages/pbsv1/independent/repeats.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
REPEATS_CONTENT = """\
>ALU
GGCCGGGCGCGGTGGCTCACGCCTGTAATCCCAGCACTTTGGGAGGCCGAGGCGGGAGGA
TTGCTTGAGCCCAGGAGTTCGAGACCAGCCTGGGCAACATAGCGAGACCCCGTCTCTACA
AAAAATACAAAAATTAGCCGGGCGTGGTGGCGCGCGCCTGTAGTCCCAGCTACTCGGGAG
GCTGAGGCAGGAGGATCGCTTGAGCCCAGGAGTTCGAGGCTGCAGTGAGCTATGATCGCG
CCACTGCA... | 56.864662 | 60 | 0.980431 | 136 | 7,563 | 54.470588 | 0.992647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000135 | 0.018115 | 7,563 | 132 | 61 | 57.295455 | 0.997441 | 0 | 0 | 0 | 0 | 0 | 0.991406 | 0.96787 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007634 | 0 | 0.007634 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
860f8f1641cfedbec44aa3e70bdb4ace34ad89ab | 12,607 | py | Python | tensorflow_quantum/core/ops/math_ops/fidelity_op_test.py | quantummind/quantum | fd952d0362c5445eef0da4437fb3e5ebb16b7948 | [
"Apache-2.0"
] | 2 | 2021-09-24T09:41:47.000Z | 2021-10-04T20:55:09.000Z | tensorflow_quantum/core/ops/math_ops/fidelity_op_test.py | quantummind/quantum | fd952d0362c5445eef0da4437fb3e5ebb16b7948 | [
"Apache-2.0"
] | 1 | 2020-03-09T23:26:43.000Z | 2020-03-09T23:26:43.000Z | tensorflow_quantum/core/ops/math_ops/fidelity_op_test.py | quantummind/quantum | fd952d0362c5445eef0da4437fb3e5ebb16b7948 | [
"Apache-2.0"
] | 1 | 2020-04-11T19:31:34.000Z | 2020-04-11T19:31:34.000Z | # Copyright 2020 The TensorFlow Quantum Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | 40.277955 | 80 | 0.588165 | 1,495 | 12,607 | 4.658863 | 0.131104 | 0.04135 | 0.04135 | 0.032735 | 0.788945 | 0.776884 | 0.758507 | 0.742857 | 0.694042 | 0.664896 | 0 | 0.013573 | 0.310383 | 12,607 | 312 | 81 | 40.407051 | 0.787555 | 0.093123 | 0 | 0.638211 | 0 | 0 | 0.03834 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 1 | 0.028455 | false | 0 | 0.028455 | 0 | 0.060976 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
861c890f76b85d973e13f2698627a2ee03fe3e19 | 1,392 | py | Python | boto3_type_annotations/boto3_type_annotations/codecommit/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations/boto3_type_annotations/codecommit/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations/boto3_type_annotations/codecommit/paginator.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Dict
from botocore.paginate import Paginator
class DescribePullRequestEvents(Paginator):
def paginate(self, pullRequestId: str, pullRequestEventType: str = None, actorArn: str = None, PaginationConfig: Dict = None) -> Dict:
pass
class GetCommentsForComparedCommit(Paginator):
def p... | 36.631579 | 192 | 0.724138 | 141 | 1,392 | 7.148936 | 0.248227 | 0.090278 | 0.138889 | 0.166667 | 0.535714 | 0.535714 | 0.256944 | 0.218254 | 0 | 0 | 0 | 0 | 0.180316 | 1,392 | 37 | 193 | 37.621622 | 0.883436 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0.304348 | 0.086957 | 0 | 0.695652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
8627ffa730a235ff3849ef4a70d6058a330c7f48 | 1,872 | py | Python | pymnn/pip_package/MNN/tools/mnn_fb/Reshape.py | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 3 | 2019-12-27T01:10:32.000Z | 2021-05-14T08:10:40.000Z | pymnn/pip_package/MNN/tools/mnn_fb/Reshape.py | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 10 | 2019-07-04T01:40:13.000Z | 2019-10-30T02:38:42.000Z | pymnn/pip_package/MNN/tools/mnn_fb/Reshape.py | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 1 | 2020-03-10T02:17:47.000Z | 2020-03-10T02:17:47.000Z | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: MNN
import flatbuffers
class Reshape(object):
__slots__ = ['_tab']
@classmethod
def GetRootAsReshape(cls, buf, offset):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = Reshape()
... | 34.036364 | 130 | 0.675748 | 230 | 1,872 | 5.365217 | 0.3 | 0.062399 | 0.160454 | 0.170178 | 0.381686 | 0.352512 | 0.28282 | 0.221232 | 0.221232 | 0.221232 | 0 | 0.017735 | 0.21688 | 1,872 | 54 | 131 | 34.666667 | 0.824011 | 0.064637 | 0 | 0.297297 | 1 | 0 | 0.002295 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.297297 | false | 0 | 0.027027 | 0.054054 | 0.621622 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
864175d43defdf0dd20e70af564cca44ebafb4b8 | 13,457 | py | Python | chj/index/JType.py | aemcgraw/CodeHawk-Java | 8e43877d0357579f6509d3fc52c69c2d4568d288 | [
"MIT"
] | null | null | null | chj/index/JType.py | aemcgraw/CodeHawk-Java | 8e43877d0357579f6509d3fc52c69c2d4568d288 | [
"MIT"
] | null | null | null | chj/index/JType.py | aemcgraw/CodeHawk-Java | 8e43877d0357579f6509d3fc52c69c2d4568d288 | [
"MIT"
] | null | null | null | # ------------------------------------------------------------------------------
# CodeHawk Java Analyzer
# Author: Henny Sipma
# ------------------------------------------------------------------------------
# The MIT License (MIT)
#
# Copyright (c) 2016-2019 Kestrel Technology LLC
#
# Permission is hereby granted, fr... | 29.064795 | 90 | 0.678011 | 1,852 | 13,457 | 4.587473 | 0.109071 | 0.076624 | 0.094868 | 0.114878 | 0.735169 | 0.706332 | 0.664548 | 0.640772 | 0.627825 | 0.615819 | 0 | 0.005899 | 0.18117 | 13,457 | 462 | 91 | 29.127706 | 0.765133 | 0.101806 | 0 | 0.52 | 0 | 0 | 0.007463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0.004 | 0.348 | 0.812 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 4 |
864738a7a458e196f5ba5a7c6b4db76f5f8b1965 | 291 | py | Python | ingenico/connect/sdk/param_request.py | festicket/connect-sdk-python3 | c399c6443789dd978f319c89e1ebd387c812a77b | [
"MIT"
] | 12 | 2016-09-26T21:46:31.000Z | 2020-12-23T18:44:54.000Z | ingenico/connect/sdk/param_request.py | festicket/connect-sdk-python3 | c399c6443789dd978f319c89e1ebd387c812a77b | [
"MIT"
] | 3 | 2020-05-02T16:53:02.000Z | 2020-06-02T12:49:51.000Z | ingenico/connect/sdk/param_request.py | festicket/connect-sdk-python3 | c399c6443789dd978f319c89e1ebd387c812a77b | [
"MIT"
] | 11 | 2017-07-16T00:55:28.000Z | 2021-09-24T17:00:49.000Z | class ParamRequest(object):
"""
Represents a set of request parameters.
"""
def to_request_parameters(self):
"""
:return: list[:class:`ingenico.connect.sdk.RequestParam`] representing the HTTP request parameters
"""
raise NotImplementedError
| 26.454545 | 106 | 0.649485 | 28 | 291 | 6.678571 | 0.821429 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247423 | 291 | 10 | 107 | 29.1 | 0.853881 | 0.474227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
8654e681d99c130c92c48982cd46edf3405d0707 | 296 | py | Python | 5.Operators/2.membership_operator.py | Tazri/Python | f7ca625800229c8a7e20b64810d6e162ccb6b09f | [
"DOC"
] | null | null | null | 5.Operators/2.membership_operator.py | Tazri/Python | f7ca625800229c8a7e20b64810d6e162ccb6b09f | [
"DOC"
] | null | null | null | 5.Operators/2.membership_operator.py | Tazri/Python | f7ca625800229c8a7e20b64810d6e162ccb6b09f | [
"DOC"
] | null | null | null | list = ['Apple','Orange','Benana','Mango'];
name = "Md Tazri";
print('"Apple" in list : ',"Apple" in list);
print('"Kiwi" in list : ',"Kiwi" in list);
print('"Water" not in list : ',"Water" not in list);
print("'Md' in name : ",'Md' in name);
print("'Tazri' not in name : ",'Tazri' not in name); | 37 | 52 | 0.594595 | 47 | 296 | 3.744681 | 0.276596 | 0.204545 | 0.1875 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155405 | 296 | 8 | 53 | 37 | 0.704 | 0 | 0 | 0 | 0 | 0 | 0.488215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.714286 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
868d2ac484eff3103da52edb3a5294d8b96a8b40 | 212 | py | Python | ResueltosCOJenPython/1495.py | raulcr98/ProgrammingTeamBookScoobyDoo | 0fcb98e012e0f2db2dda68cbf01b96f567a12578 | [
"MIT"
] | 1 | 2020-03-17T01:44:09.000Z | 2020-03-17T01:44:09.000Z | ResueltosCOJenPython/1495.py | raulcr98/teambook-scooby-doo | 0fcb98e012e0f2db2dda68cbf01b96f567a12578 | [
"MIT"
] | null | null | null | ResueltosCOJenPython/1495.py | raulcr98/teambook-scooby-doo | 0fcb98e012e0f2db2dda68cbf01b96f567a12578 | [
"MIT"
] | null | null | null | import sys
raw_input=lambda:sys.stdin.readline().rstrip()
input=lambda:int(raw_input())
a = int(raw_input())
list = []
while a > 0:
list.append(int(raw_input()))
a -= 1
list.sort()
for i in list:
print i | 13.25 | 46 | 0.665094 | 37 | 212 | 3.702703 | 0.540541 | 0.233577 | 0.240876 | 0.175182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011173 | 0.15566 | 212 | 16 | 47 | 13.25 | 0.75419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 0.090909 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
86a30b755773e53ed9fb1c457b6ab854fa4578f8 | 177 | py | Python | resources/dot_PyCharm/system/python_stubs/cache/4d8444ac16281560bbebafd25ab3df7074617f7fea7b5b79ae4acce4f111640a/cython_runtime.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/4d8444ac16281560bbebafd25ab3df7074617f7fea7b5b79ae4acce4f111640a/cython_runtime.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/4d8444ac16281560bbebafd25ab3df7074617f7fea7b5b79ae4acce4f111640a/cython_runtime.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module cython_runtime
# from C:\Python27\lib\site-packages\pandas\_libs\skiplist.pyd
# by generator 1.147
# no doc
# no imports
# no functions
# no classes
| 17.7 | 62 | 0.740113 | 28 | 177 | 4.607143 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046358 | 0.146893 | 177 | 9 | 63 | 19.666667 | 0.807947 | 0.898305 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
86a4361a23e8cce11270f98f6b2460012e62d3d7 | 102 | py | Python | server/apps/orgtemplate/apps.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | server/apps/orgtemplate/apps.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | server/apps/orgtemplate/apps.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class OrgtemplateConfig(AppConfig):
name = 'apps.orgtemplate'
| 17 | 35 | 0.77451 | 11 | 102 | 7.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 36 | 20.4 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
86b5f4d595a15c4edef1e8fdfd1217400f718857 | 91 | py | Python | src/bot.py | shirin1996/PyBot | 4676ccca6b47fce4d3f20a7e158ea9278eb1b508 | [
"MIT"
] | 1 | 2022-01-30T20:27:31.000Z | 2022-01-30T20:27:31.000Z | src/bot.py | shirinyamani/MsgBot | 0b95cea203ff97d631fba7cbf48c23c76f7d91e9 | [
"MIT"
] | null | null | null | src/bot.py | shirinyamani/MsgBot | 0b95cea203ff97d631fba7cbf48c23c76f7d91e9 | [
"MIT"
] | null | null | null | import telebot
import os
bot = telebot.TeleBot(os.environ['BOT_TOKEN'], parse_mode='HTML') | 22.75 | 65 | 0.769231 | 14 | 91 | 4.857143 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 4 | 65 | 22.75 | 0.819277 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
86c69658b971442f01c858593a8db80f8833c0af | 447 | py | Python | geometry.py | Gowpenful/watson_compute | 7e15bd7b482bf342c66819ea09ae9832488e5e0e | [
"MIT"
] | 1 | 2020-06-03T11:47:11.000Z | 2020-06-03T11:47:11.000Z | geometry.py | Gowpenful/watson_compute | 7e15bd7b482bf342c66819ea09ae9832488e5e0e | [
"MIT"
] | null | null | null | geometry.py | Gowpenful/watson_compute | 7e15bd7b482bf342c66819ea09ae9832488e5e0e | [
"MIT"
] | null | null | null | import sys
from termcolor import cprint
from colorama import init
from pyfiglet import figlet_format
import pyperclip
cprint(figlet_format('Geometry', font='small'), 'blue', attrs=['bold', 'blink'])
cprint('==============================================', 'white', attrs=['blink'])
cprint('Scientific Calculator... | 40.636364 | 83 | 0.550336 | 46 | 447 | 5.304348 | 0.521739 | 0.098361 | 0.106557 | 0.172131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007426 | 0.096197 | 447 | 11 | 84 | 40.636364 | 0.596535 | 0 | 0 | 0.2 | 0 | 0 | 0.399543 | 0.210046 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
86e753cdc1631885c966a27dc78ef60eaff0b0ea | 79,943 | py | Python | sdk/python/pulumi_aws/ecs/outputs.py | RafalSumislawski/pulumi-aws | 7c8a335d327c173aa32c8b3d98816e760db329fa | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/ecs/outputs.py | RafalSumislawski/pulumi-aws | 7c8a335d327c173aa32c8b3d98816e760db329fa | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/ecs/outputs.py | RafalSumislawski/pulumi-aws | 7c8a335d327c173aa32c8b3d98816e760db329fa | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 43.756431 | 348 | 0.669615 | 9,091 | 79,943 | 5.688373 | 0.055989 | 0.015837 | 0.023379 | 0.034169 | 0.766616 | 0.73761 | 0.706824 | 0.65177 | 0.63367 | 0.613579 | 0 | 0.002359 | 0.241697 | 79,943 | 1,826 | 349 | 43.780394 | 0.850695 | 0.318677 | 0 | 0.626655 | 1 | 0.021183 | 0.202594 | 0.091759 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173875 | false | 0 | 0.005296 | 0.001765 | 0.331862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 4 |
86ea66e0e4ef92c7f105de913c5a3cee04059e3f | 244 | py | Python | src/matrix/views.py | SarahLightBourne/matrix-text | b02e1581daea8cb057ce85caa0c1befc9d1c9f18 | [
"MIT"
] | 3 | 2021-11-24T11:22:18.000Z | 2021-11-24T11:22:25.000Z | src/matrix/views.py | SarahLightBourne/matrix-text | b02e1581daea8cb057ce85caa0c1befc9d1c9f18 | [
"MIT"
] | null | null | null | src/matrix/views.py | SarahLightBourne/matrix-text | b02e1581daea8cb057ce85caa0c1befc9d1c9f18 | [
"MIT"
] | null | null | null | from django.views import generic
from django.shortcuts import redirect
def index_view(request):
return redirect('matrix:collection', name='hello')
class CollectionView(generic.TemplateView):
template_name = 'matrix/collection.html'
| 22.181818 | 54 | 0.782787 | 29 | 244 | 6.517241 | 0.724138 | 0.10582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122951 | 244 | 10 | 55 | 24.4 | 0.883178 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 0.090164 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 1 | 0 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
86ec6920991ba94158c928627556a00fb41aebaf | 67 | py | Python | Thesis@3.9.1/Lib/site-packages/django/contrib/humanize/__init__.py | nverbois/TFE21-232 | 7113837b5263b5c508bfc6903cb6982b48aa7ee4 | [
"MIT"
] | null | null | null | Thesis@3.9.1/Lib/site-packages/django/contrib/humanize/__init__.py | nverbois/TFE21-232 | 7113837b5263b5c508bfc6903cb6982b48aa7ee4 | [
"MIT"
] | null | null | null | Thesis@3.9.1/Lib/site-packages/django/contrib/humanize/__init__.py | nverbois/TFE21-232 | 7113837b5263b5c508bfc6903cb6982b48aa7ee4 | [
"MIT"
] | null | null | null | default_app_config = "django.contrib.humanize.apps.HumanizeConfig"
| 33.5 | 66 | 0.850746 | 8 | 67 | 6.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 67 | 1 | 67 | 67 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0.641791 | 0.641791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8105257ee5e98da5c1b7cca25ff487f8b3db74b3 | 112 | py | Python | swap_start/tf_train/special_train/begin3.py | yudongqiu/gomoku | 4a95f2a5008f31fed5cb92c6bd6d55f9669ddd06 | [
"MIT"
] | 3 | 2018-06-12T09:03:41.000Z | 2019-01-14T05:34:57.000Z | swap_start/tf_train/special_train/begin3.py | yudongqiu/gomoku | 4a95f2a5008f31fed5cb92c6bd6d55f9669ddd06 | [
"MIT"
] | null | null | null | swap_start/tf_train/special_train/begin3.py | yudongqiu/gomoku | 4a95f2a5008f31fed5cb92c6bd6d55f9669ddd06 | [
"MIT"
] | null | null | null | # black white black
begin_lib = [[ ( 8,8), ( 4, 12), ( 9, 3)]]#, (6,12), (6,6), (7,11)]]
| 37.333333 | 69 | 0.348214 | 17 | 112 | 2.235294 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211268 | 0.366071 | 112 | 2 | 70 | 56 | 0.323944 | 0.446429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8128c4b73c6024161078f01ea30e68fb0de15baf | 212 | py | Python | aiocloudpayments/endpoints/test.py | drforse/aiocloudpayments | 25b8827250279335d037754dca6978bc79c9b18d | [
"MIT"
] | null | null | null | aiocloudpayments/endpoints/test.py | drforse/aiocloudpayments | 25b8827250279335d037754dca6978bc79c9b18d | [
"MIT"
] | null | null | null | aiocloudpayments/endpoints/test.py | drforse/aiocloudpayments | 25b8827250279335d037754dca6978bc79c9b18d | [
"MIT"
] | null | null | null | from .base import CpEndpoint, Request
class CpTestEndpoint(CpEndpoint):
__returning__ = None
def build_request(self) -> Request:
return Request(endpoint="test", x_request_id=self.x_request_id)
| 23.555556 | 71 | 0.740566 | 26 | 212 | 5.692308 | 0.653846 | 0.108108 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 212 | 8 | 72 | 26.5 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d4e60a32cb0c7b23ef82c4f2bffda54bb007f408 | 5,532 | py | Python | src/mango/test/18-json-sort.py | mtenrero/couchdb-vetcontrol | b7ede3ededdf0072c73f08d8f1217cb723b03f7a | [
"Apache-2.0"
] | 1 | 2022-01-14T20:52:55.000Z | 2022-01-14T20:52:55.000Z | src/mango/test/18-json-sort.py | mtenrero/couchdb-vetcontrol | b7ede3ededdf0072c73f08d8f1217cb723b03f7a | [
"Apache-2.0"
] | 1 | 2017-09-05T15:46:20.000Z | 2017-09-05T15:46:20.000Z | src/mango/test/18-json-sort.py | garrensmith/couchdb | 25838d078b1cf8ef5554f41c0b51d8628ca712ba | [
"Apache-2.0"
] | null | null | null | # 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, software
# distributed under the ... | 44.97561 | 79 | 0.588937 | 726 | 5,532 | 4.380165 | 0.198347 | 0.074843 | 0.07956 | 0.073585 | 0.716981 | 0.715409 | 0.705031 | 0.705031 | 0.677987 | 0.67673 | 0 | 0.013975 | 0.210954 | 5,532 | 122 | 80 | 45.344262 | 0.714548 | 0.093818 | 0 | 0.574468 | 0 | 0 | 0.187962 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 1 | 0.138298 | false | 0 | 0.031915 | 0 | 0.180851 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
be0f2b2dbb35fd337f10ad06c01908cd3c83341f | 14,888 | py | Python | gs_quant/test/api/test_risk_models.py | TopherD1992/gs-quant | 253ed75519abbbe407e17e39ca5ed7340fa010dc | [
"Apache-2.0"
] | 1 | 2021-01-06T06:25:40.000Z | 2021-01-06T06:25:40.000Z | gs_quant/test/api/test_risk_models.py | TopherD1992/gs-quant | 253ed75519abbbe407e17e39ca5ed7340fa010dc | [
"Apache-2.0"
] | null | null | null | gs_quant/test/api/test_risk_models.py | TopherD1992/gs-quant | 253ed75519abbbe407e17e39ca5ed7340fa010dc | [
"Apache-2.0"
] | null | null | null | """
Copyright 2018 Goldman Sachs.
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,
software di... | 32.577681 | 117 | 0.59464 | 1,515 | 14,888 | 5.616502 | 0.125413 | 0.031731 | 0.055941 | 0.085556 | 0.820308 | 0.796451 | 0.786109 | 0.709249 | 0.664003 | 0.591491 | 0 | 0.030131 | 0.27774 | 14,888 | 456 | 118 | 32.649123 | 0.761183 | 0.059713 | 0 | 0.649425 | 0 | 0 | 0.210756 | 0.020983 | 0 | 0 | 0 | 0 | 0.08046 | 1 | 0.04023 | false | 0 | 0.011494 | 0 | 0.051724 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
077c3f033dcd03f41efd0dd18cd8e6fc68737f70 | 17,480 | py | Python | tests/CLI/modules/dedicatedhost_tests.py | rtpg/softlayer-python | c925e581ca7ba3fcf7d5cd495f171c88be9cb78b | [
"MIT"
] | 2 | 2016-07-06T15:31:48.000Z | 2016-07-06T15:40:25.000Z | tests/CLI/modules/dedicatedhost_tests.py | rtpg/softlayer-python | c925e581ca7ba3fcf7d5cd495f171c88be9cb78b | [
"MIT"
] | 73 | 2016-07-05T15:17:51.000Z | 2016-08-18T18:16:29.000Z | tests/CLI/modules/dedicatedhost_tests.py | kyubifire/softlayer-python | bee36eec73474a8b6a1813fbbcc0512f81bf1779 | [
"MIT"
] | null | null | null | """
SoftLayer.tests.CLI.modules.dedicatedhosts_tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:license: MIT, see LICENSE for more details.
"""
import json
import mock
import SoftLayer
from SoftLayer.CLI import exceptions
from SoftLayer.fixtures import SoftLayer_Product_Package
from SoftLayer.fixtures import S... | 42.948403 | 106 | 0.485812 | 1,435 | 17,480 | 5.670383 | 0.156794 | 0.051124 | 0.053705 | 0.044242 | 0.776207 | 0.7445 | 0.710581 | 0.703085 | 0.673098 | 0.63709 | 0 | 0.049795 | 0.400286 | 17,480 | 406 | 107 | 43.054187 | 0.726414 | 0.007494 | 0 | 0.636628 | 0 | 0 | 0.257834 | 0.093139 | 0 | 0 | 0 | 0 | 0.104651 | 1 | 0.055233 | false | 0 | 0.020349 | 0 | 0.081395 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
077cd528140bb01e92e5c146dde49a484c3afcff | 75 | py | Python | utilities/__init__.py | imri0t/ri0t-bot | 35e1f9e67d3c35a2cf06a0db3afc544d853b2c32 | [
"MIT"
] | 2 | 2019-04-08T04:49:31.000Z | 2019-04-17T05:13:36.000Z | utilities/__init__.py | imri0t/ri0t-bot | 35e1f9e67d3c35a2cf06a0db3afc544d853b2c32 | [
"MIT"
] | null | null | null | utilities/__init__.py | imri0t/ri0t-bot | 35e1f9e67d3c35a2cf06a0db3afc544d853b2c32 | [
"MIT"
] | null | null | null | '''package for ri0t-bot utilities'''
#bot source code created by im.ri0t | 25 | 37 | 0.72 | 12 | 75 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.16 | 75 | 3 | 38 | 25 | 0.825397 | 0.866667 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0780bfa58932ffe38571e37966ce23b6092936fe | 44 | py | Python | git2nd/__init__.py | miyagaw61/git2nd | ff159540264dab5cc4afae56227d3063cc2903e0 | [
"MIT"
] | null | null | null | git2nd/__init__.py | miyagaw61/git2nd | ff159540264dab5cc4afae56227d3063cc2903e0 | [
"MIT"
] | null | null | null | git2nd/__init__.py | miyagaw61/git2nd | ff159540264dab5cc4afae56227d3063cc2903e0 | [
"MIT"
] | null | null | null | from .git2nd import *
__version__ = '0.0.1'
| 14.666667 | 21 | 0.681818 | 7 | 44 | 3.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 0.159091 | 44 | 2 | 22 | 22 | 0.594595 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0782acbc58f49684754f2373e5a7a5b3b7f7a8d3 | 93 | py | Python | unitypack/exceptions.py | isombyt/UnityPack | b850a19bbc841d9a191db027040fd66b6e3b3997 | [
"MIT"
] | 633 | 2016-07-25T08:11:44.000Z | 2022-03-03T17:15:46.000Z | unitypack/exceptions.py | isombyt/UnityPack | b850a19bbc841d9a191db027040fd66b6e3b3997 | [
"MIT"
] | 84 | 2016-08-15T16:23:33.000Z | 2022-01-15T15:12:28.000Z | unitypack/exceptions.py | isombyt/UnityPack | b850a19bbc841d9a191db027040fd66b6e3b3997 | [
"MIT"
] | 147 | 2016-07-27T07:50:27.000Z | 2022-03-25T15:16:45.000Z | class UnityPackException(Exception):
pass
class ArchiveNotFound(UnityPackException):
pass
| 15.5 | 42 | 0.83871 | 8 | 93 | 9.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 93 | 5 | 43 | 18.6 | 0.928571 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
078493fa40490745d8789101fe58afb0a05415bf | 1,724 | py | Python | DailyProgrammer/DP20140908A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20140908A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20140908A.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[9/08/2014] Challenge #179 [Easy] You make me happy when clouds are gray...scale
https://www.reddit.com/r/dailyprogrammer/comments/2ftcb8/9082014_challenge_179_easy_you_make_me_happy_when/
#Description
The 'Daily Business' newspaper are a distributor of the most recent news concerning business. They have a proble... | 38.311111 | 118 | 0.766241 | 299 | 1,724 | 4.361204 | 0.568562 | 0.019172 | 0.018405 | 0.029141 | 0.052147 | 0.052147 | 0.052147 | 0.052147 | 0 | 0 | 0 | 0.031735 | 0.177494 | 1,724 | 44 | 119 | 39.181818 | 0.88787 | 0.958237 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
07afe2b36d8e6fcb7bc4fe2d806e8acd0d901e36 | 90 | py | Python | src/bio2bel_sider/__init__.py | AldisiRana/sider | 81b0cb4a40de44922bd69fa407e696d2a0f59922 | [
"MIT"
] | null | null | null | src/bio2bel_sider/__init__.py | AldisiRana/sider | 81b0cb4a40de44922bd69fa407e696d2a0f59922 | [
"MIT"
] | 1 | 2019-10-24T11:52:15.000Z | 2019-10-24T11:52:15.000Z | src/bio2bel_sider/__init__.py | AldisiRana/sider | 81b0cb4a40de44922bd69fa407e696d2a0f59922 | [
"MIT"
] | 1 | 2019-10-24T10:12:57.000Z | 2019-10-24T10:12:57.000Z | # -*- coding: utf-8 -*-
"""Bio2BEL SIDER."""
from .manager import Manager # noqa: F401
| 15 | 42 | 0.6 | 11 | 90 | 4.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 0.188889 | 90 | 5 | 43 | 18 | 0.671233 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
07bc12e2308fc2caaa0f6b8928d7acd49efe4398 | 1,880 | py | Python | build/scripts/check_config_h.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | build/scripts/check_config_h.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | build/scripts/check_config_h.py | HeyLey/catboost | f472aed90604ebe727537d9d4a37147985e10ec2 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | import sys
data = """
#if defined(SIZEOF_LONG)
static_assert(sizeof(long) == SIZEOF_LONG, "fixme 1");
#endif
#if defined(SIZEOF_PTHREAD_T)
#include <pthread.h>
static_assert(sizeof(pthread_t) == SIZEOF_PTHREAD_T, "fixme 2");
#endif
#if defined(SIZEOF_SIZE_T)
#include <stddef.h>
static_assert(sizeof(size_t) == SIZE... | 20.888889 | 68 | 0.726596 | 292 | 1,880 | 4.376712 | 0.205479 | 0.119718 | 0.199531 | 0.250391 | 0.128326 | 0.050078 | 0.050078 | 0 | 0 | 0 | 0 | 0.015006 | 0.11383 | 1,880 | 89 | 69 | 21.123596 | 0.752101 | 0 | 0 | 0.292308 | 0 | 0 | 0.923936 | 0.414362 | 0 | 0 | 0 | 0 | 0.246154 | 1 | 0 | false | 0 | 0.015385 | 0 | 0.015385 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
07ceb6e21ca9ae72fde6ab3787d1b2554ba0769a | 364 | py | Python | lib/python/src/cat/__init__.py | l1905/cat | 31389f98befa8ba7a80599596616ca3aa026f599 | [
"Apache-2.0"
] | null | null | null | lib/python/src/cat/__init__.py | l1905/cat | 31389f98befa8ba7a80599596616ca3aa026f599 | [
"Apache-2.0"
] | null | null | null | lib/python/src/cat/__init__.py | l1905/cat | 31389f98befa8ba7a80599596616ca3aa026f599 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: stdrickforce (Tengyuan Fan)
# Email: <stdrickforce@gmail.com> <fantengyuan@meituan.com>
from .container import * # noqa
from .const import * # noqa
from .transaction import * # noqa
from .event import * # noqa
from .metric import * # noqa
from .cat import... | 21.411765 | 59 | 0.675824 | 46 | 364 | 5.347826 | 0.565217 | 0.284553 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00339 | 0.18956 | 364 | 16 | 60 | 22.75 | 0.830508 | 0.46978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
07d70141a468b0688774bbbe5d50cd2fcc8b41ca | 126 | py | Python | api/config_template.py | ArVID220u/catapedia | 0c6d783db6116619c281cbc2b7e81ff2e44f3cb4 | [
"MIT"
] | null | null | null | api/config_template.py | ArVID220u/catapedia | 0c6d783db6116619c281cbc2b7e81ff2e44f3cb4 | [
"MIT"
] | null | null | null | api/config_template.py | ArVID220u/catapedia | 0c6d783db6116619c281cbc2b7e81ff2e44f3cb4 | [
"MIT"
] | null | null | null | # Configuration file
# Should be copied into `config.py` where real values should be entered
# `config.py` is ignored by git
| 25.2 | 71 | 0.753968 | 20 | 126 | 4.75 | 0.8 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 126 | 4 | 72 | 31.5 | 0.913462 | 0.936508 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
07f3fa382492570e57b12b2153c0a80c1d7283a1 | 291 | py | Python | conans/__init__.py | TyRoXx/conan | 644516b5126f78f46275a9f6a01148183c9d149f | [
"MIT"
] | null | null | null | conans/__init__.py | TyRoXx/conan | 644516b5126f78f46275a9f6a01148183c9d149f | [
"MIT"
] | null | null | null | conans/__init__.py | TyRoXx/conan | 644516b5126f78f46275a9f6a01148183c9d149f | [
"MIT"
] | null | null | null | # Allow conans to import ConanFile from here
# to allow refactors
from conans.model.conan_file import ConanFile
from conans.model.options import Options
from conans.model.settings import Settings
from conans.client.cmake import CMake
from conans.client.gcc import GCC
__version__ = '0.4.0'
| 29.1 | 45 | 0.817869 | 45 | 291 | 5.177778 | 0.422222 | 0.214592 | 0.193133 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.123711 | 291 | 9 | 46 | 32.333333 | 0.901961 | 0.209622 | 0 | 0 | 0 | 0 | 0.022026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
580717d64f6f41da7091e21a5bf3092554c61aab | 3,934 | py | Python | dbaas/dbaas_services/analyzing/migrations/0011_auto__chg_field_analyzerepository_analyzed_at.py | didindinn/database-as-a-service | 747de31ff8546f7874ddd654af860e130afd17a0 | [
"BSD-3-Clause"
] | 303 | 2015-01-08T10:35:54.000Z | 2022-02-28T08:54:06.000Z | dbaas/dbaas_services/analyzing/migrations/0011_auto__chg_field_analyzerepository_analyzed_at.py | nouraellm/database-as-a-service | 5e655c9347bea991b7218a01549f5e44f161d7be | [
"BSD-3-Clause"
] | 124 | 2015-01-14T12:56:15.000Z | 2022-03-22T20:45:11.000Z | dbaas/dbaas_services/analyzing/migrations/0011_auto__chg_field_analyzerepository_analyzed_at.py | nouraellm/database-as-a-service | 5e655c9347bea991b7218a01549f5e44f161d7be | [
"BSD-3-Clause"
] | 110 | 2015-01-02T11:59:48.000Z | 2022-02-28T08:54:06.000Z | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Changing field 'AnalyzeRepository.analyzed_at'
db.alter_column(u'analy... | 69.017544 | 139 | 0.602949 | 419 | 3,934 | 5.486874 | 0.214797 | 0.107873 | 0.182688 | 0.260983 | 0.744672 | 0.726403 | 0.703784 | 0.684646 | 0.443236 | 0.395389 | 0 | 0.012643 | 0.175648 | 3,934 | 57 | 140 | 69.017544 | 0.696269 | 0.029232 | 0 | 0.086957 | 0 | 0 | 0.562631 | 0.313155 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.086957 | 0 | 0.195652 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6af55e4553c5c08a0fea8bdecbe3be8cc62d1168 | 4,981 | py | Python | osgar/drivers/test_sicklidar.py | m3d/osgar_archive_2020 | 556b534e59f8aa9b6c8055e2785c8ae75a1a0a0e | [
"MIT"
] | 12 | 2017-02-16T10:22:59.000Z | 2022-03-20T05:48:06.000Z | osgar/drivers/test_sicklidar.py | m3d/osgar_archive_2020 | 556b534e59f8aa9b6c8055e2785c8ae75a1a0a0e | [
"MIT"
] | 618 | 2016-08-30T04:46:12.000Z | 2022-03-25T16:03:10.000Z | osgar/drivers/test_sicklidar.py | robotika/osgar | 6f4f584d5553ab62c08a1c7bb493fefdc9033173 | [
"MIT"
] | 11 | 2016-08-27T20:02:55.000Z | 2022-03-07T08:53:53.000Z | import unittest
from unittest.mock import MagicMock
from osgar.drivers.sicklidar import SICKLidar
from osgar.bus import Bus
class SICKLidarTest(unittest.TestCase):
def test_start_stop(self):
config = {}
logger = MagicMock()
bus = Bus(logger)
lidar = SICKLidar(config, bus=bus.hand... | 46.12037 | 100 | 0.659105 | 1,111 | 4,981 | 2.928893 | 0.49595 | 0.046097 | 0.058082 | 0.068838 | 0.203135 | 0.203135 | 0.192379 | 0.192379 | 0.176706 | 0.155808 | 0 | 0.450468 | 0.292712 | 4,981 | 107 | 101 | 46.551402 | 0.473176 | 0.018269 | 0 | 0.235955 | 0 | 0.258427 | 0.635898 | 0 | 0 | 0 | 0 | 0.009346 | 0.089888 | 1 | 0.067416 | false | 0 | 0.044944 | 0 | 0.123596 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ed03d9bd6f0b8de7317769246027bd314e8747ca | 199 | py | Python | pyhafas/profile/__init__.py | anjomro/pyhafas | 3cf519bc37f98293c8567b3b3cb52bd705436d47 | [
"MIT"
] | null | null | null | pyhafas/profile/__init__.py | anjomro/pyhafas | 3cf519bc37f98293c8567b3b3cb52bd705436d47 | [
"MIT"
] | null | null | null | pyhafas/profile/__init__.py | anjomro/pyhafas | 3cf519bc37f98293c8567b3b3cb52bd705436d47 | [
"MIT"
] | null | null | null | from .interfaces import ProfileInterface # isort:skip
from .base import BaseProfile
from .db import DBProfile
from .vsn import VSNProfile
from .rkrp import RKRPProfile
from .nasa import NASAProfile
| 28.428571 | 54 | 0.824121 | 26 | 199 | 6.307692 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135678 | 199 | 6 | 55 | 33.166667 | 0.953488 | 0.050251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ed11aabb3fab60d386c533b6aeacbf1508743eaa | 143 | py | Python | ncov/apps/news/apps.py | ExchangeAnn/2019ncov | dbb2c87a6ae4eb50bece9f5b6e2431e89d66f02e | [
"MIT"
] | null | null | null | ncov/apps/news/apps.py | ExchangeAnn/2019ncov | dbb2c87a6ae4eb50bece9f5b6e2431e89d66f02e | [
"MIT"
] | 274 | 2020-02-22T07:54:37.000Z | 2021-06-23T12:48:05.000Z | ncov/apps/news/apps.py | ExchangeAnn/2019ncov | dbb2c87a6ae4eb50bece9f5b6e2431e89d66f02e | [
"MIT"
] | 4 | 2020-02-20T11:19:33.000Z | 2020-09-30T12:40:34.000Z | from django.apps import AppConfig
class NewsConfig(AppConfig):
name = "apps.news"
def ready(self):
import apps.news.signals
| 15.888889 | 33 | 0.685315 | 18 | 143 | 5.444444 | 0.722222 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223776 | 143 | 8 | 34 | 17.875 | 0.882883 | 0 | 0 | 0 | 0 | 0 | 0.062937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ed2f30dd104b0cb0b9bf2b041aa6afdc7f25d560 | 87 | py | Python | eclapp/apps.py | BlackBoxSQL/ecl-intern | 17e82a7d563f1a55f7a3a70bac66cb8582256fd7 | [
"MIT"
] | null | null | null | eclapp/apps.py | BlackBoxSQL/ecl-intern | 17e82a7d563f1a55f7a3a70bac66cb8582256fd7 | [
"MIT"
] | null | null | null | eclapp/apps.py | BlackBoxSQL/ecl-intern | 17e82a7d563f1a55f7a3a70bac66cb8582256fd7 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class EclappConfig(AppConfig):
name = 'eclapp'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ed3e3d29b5f1548f3a99d0b915c55a7d7689d4de | 497 | py | Python | release/stubs.min/System/Diagnostics/__init___parts/DebuggerStepperBoundaryAttribute.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/System/Diagnostics/__init___parts/DebuggerStepperBoundaryAttribute.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/System/Diagnostics/__init___parts/DebuggerStepperBoundaryAttribute.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | class DebuggerStepperBoundaryAttribute(Attribute,_Attribute):
"""
Indicates the code following the attribute is to be executed in run,not step,mode.
DebuggerStepperBoundaryAttribute()
"""
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...... | 35.5 | 215 | 0.734406 | 59 | 497 | 5.40678 | 0.508475 | 0.141066 | 0.15047 | 0.178683 | 0.354232 | 0.354232 | 0.354232 | 0.354232 | 0.354232 | 0.354232 | 0 | 0 | 0.148893 | 497 | 13 | 216 | 38.230769 | 0.754137 | 0.653924 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
ed49e3b34eca5785fdc8dd0e97568b32ea107fe7 | 1,286 | py | Python | api/responses.py | dv-bv/serverless-python-boilerplate | bd3d436b166b59f5b9c8c017b3a8e976ead6aefc | [
"MIT"
] | 10 | 2019-08-16T06:41:53.000Z | 2021-04-06T14:53:11.000Z | api/responses.py | dv-bv/serverless-python-boilerplate | bd3d436b166b59f5b9c8c017b3a8e976ead6aefc | [
"MIT"
] | 1 | 2021-05-08T12:22:54.000Z | 2021-05-08T12:22:54.000Z | api/responses.py | dv-bv/serverless-python-boilerplate | bd3d436b166b59f5b9c8c017b3a8e976ead6aefc | [
"MIT"
] | 7 | 2019-07-29T04:41:25.000Z | 2021-03-24T17:25:57.000Z | import json
from http import HTTPStatus
cors_headers = {
'Access-Control-Allow-Origin': '*',
'Content-Type': 'application/json',
}
def generate_empty_response(status_code):
return {
'headers': cors_headers,
'statusCode': status_code
}
def generate_response(body, status_code):
re... | 31.365854 | 83 | 0.764386 | 156 | 1,286 | 6.019231 | 0.262821 | 0.085197 | 0.067093 | 0.057508 | 0.212993 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136858 | 1,286 | 41 | 84 | 31.365854 | 0.845946 | 0 | 0 | 0 | 1 | 0 | 0.097125 | 0.020979 | 0 | 0 | 0 | 0 | 0 | 1 | 0.290323 | false | 0 | 0.064516 | 0.225806 | 0.677419 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ed516e721748fb0f43660ab05a444732d1a71447 | 2,307 | py | Python | tests/test_gmemcache.py | msabramo/gmemcache | fcfee82672f732c119364bb45015df7b02ff11cb | [
"Apache-2.0"
] | 1 | 2016-03-13T18:37:56.000Z | 2016-03-13T18:37:56.000Z | tests/test_gmemcache.py | msabramo/gmemcache | fcfee82672f732c119364bb45015df7b02ff11cb | [
"Apache-2.0"
] | null | null | null | tests/test_gmemcache.py | msabramo/gmemcache | fcfee82672f732c119364bb45015df7b02ff11cb | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import time
import uuid
from gmemcache import MemcacheConnection
from nose.tools import *
MEMCACHED_SERVER = '127.0.0.1:11211'
_conn = None
def _setup_connection():
global _conn
_conn = MemcacheConnection([MEMCACHED_SERVER])
def _drop_connection():
global _conn
_conn.clo... | 23.783505 | 94 | 0.672735 | 311 | 2,307 | 4.675241 | 0.170418 | 0.082531 | 0.090784 | 0.078404 | 0.742779 | 0.715268 | 0.711829 | 0.711829 | 0.618294 | 0.618294 | 0 | 0.035472 | 0.169051 | 2,307 | 96 | 95 | 24.03125 | 0.723005 | 0.009103 | 0 | 0.597015 | 0 | 0 | 0.058231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.149254 | false | 0 | 0.059701 | 0 | 0.208955 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ed5689fd004cdce446e1c147f6cbe11a539d7d05 | 169 | py | Python | continents/urls.py | brapastor/pygeographic | 3b1522b62bf06430dca007d64a5b71243fdb71f0 | [
"MIT"
] | null | null | null | continents/urls.py | brapastor/pygeographic | 3b1522b62bf06430dca007d64a5b71243fdb71f0 | [
"MIT"
] | null | null | null | continents/urls.py | brapastor/pygeographic | 3b1522b62bf06430dca007d64a5b71243fdb71f0 | [
"MIT"
] | null | null | null | from django.urls import path
from .views import ContinentsView
app_name = 'continents'
urlpatterns = [
path("", ContinentsView.as_view(), name="continents_home"),
]
| 24.142857 | 63 | 0.745562 | 20 | 169 | 6.15 | 0.7 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130178 | 169 | 6 | 64 | 28.166667 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0.147929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ed669f9c6e7b942ee66d8967c41352e03b7eaf31 | 118 | py | Python | django/contrib/auth/signals.py | jpmallarino/django | 659d2421c7adbbcd205604002d521d82d6b0b465 | [
"BSD-3-Clause",
"0BSD"
] | 61,676 | 2015-01-01T00:05:13.000Z | 2022-03-31T20:37:54.000Z | virtual/lib/python3.6/site-packages/django/contrib/auth/signals.py | kahenya-anita/Insta-Clone | 4894e959c17170505e73aee6dc497aeb29d55a71 | [
"MIT"
] | 8,884 | 2015-01-01T00:12:05.000Z | 2022-03-31T19:53:11.000Z | virtual/lib/python3.6/site-packages/django/contrib/auth/signals.py | kahenya-anita/Insta-Clone | 4894e959c17170505e73aee6dc497aeb29d55a71 | [
"MIT"
] | 33,143 | 2015-01-01T02:04:52.000Z | 2022-03-31T19:42:46.000Z | from django.dispatch import Signal
user_logged_in = Signal()
user_login_failed = Signal()
user_logged_out = Signal()
| 19.666667 | 34 | 0.79661 | 17 | 118 | 5.176471 | 0.647059 | 0.340909 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 118 | 5 | 35 | 23.6 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
ed6a636306de178b1954b82072c2d8c118996523 | 235 | py | Python | classes/conversion.py | HisenZhang/IED-tranport-sim | 93c61d92a628ed6f9b5c035a232867e9c5e5de5d | [
"MIT"
] | null | null | null | classes/conversion.py | HisenZhang/IED-tranport-sim | 93c61d92a628ed6f9b5c035a232867e9c5e5de5d | [
"MIT"
] | 7 | 2020-06-07T00:43:26.000Z | 2020-06-19T19:25:45.000Z | classes/conversion.py | HisenZhang/IED-tranport-sim | 93c61d92a628ed6f9b5c035a232867e9c5e5de5d | [
"MIT"
] | null | null | null | from classes.exceptions import ConversionFailure
def MPHtoMPG_Gas(speed):
return 18 # TODO MPG as a function of speed in mph
def MPHtoMPG_Electric(speed):
return 65
def MPGtoMPKWh(mpg):
return 0.029669 * mpg # 1/33.705 | 21.363636 | 55 | 0.73617 | 36 | 235 | 4.75 | 0.75 | 0.128655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089947 | 0.195745 | 235 | 11 | 56 | 21.363636 | 0.814815 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ed7ecaa5916dc439e3f13a11f6920980ae82a28e | 867 | py | Python | scanners/zap-advanced/scanner/zapclient/configuration/zap_configuration_api.py | watchmen-coder/secureCodeBox | ac3482d4ffa6ced7e8251bc7b72144d11ec2d62d | [
"Apache-2.0"
] | 1 | 2021-05-24T08:17:48.000Z | 2021-05-24T08:17:48.000Z | scanners/zap-advanced/scanner/zapclient/configuration/zap_configuration_api.py | watchmen-coder/secureCodeBox | ac3482d4ffa6ced7e8251bc7b72144d11ec2d62d | [
"Apache-2.0"
] | null | null | null | scanners/zap-advanced/scanner/zapclient/configuration/zap_configuration_api.py | watchmen-coder/secureCodeBox | ac3482d4ffa6ced7e8251bc7b72144d11ec2d62d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# SPDX-FileCopyrightText: 2021 iteratec GmbH
#
# SPDX-License-Identifier: Apache-2.0
# -*- coding: utf-8 -*-
import collections
import logging
from .zap_configuration_list import ZapConfigurationList
class ZapConfigurationApi(ZapConfigurationList):
"""This class represent a ZAP specific f... | 29.896552 | 100 | 0.688581 | 93 | 867 | 6.225806 | 0.666667 | 0.117444 | 0.096718 | 0.134715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010264 | 0.213379 | 867 | 28 | 101 | 30.964286 | 0.83871 | 0.464821 | 0 | 0 | 0 | 0 | 0.0775 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
71ec6ce55e082ab50e64afbe24aa942246e2273c | 14,111 | py | Python | amazon_ads_sponsored_products_client/api/snapshots_api.py | wangjoshuah/Amazon-Ads-Sponsored-Products-API-Python-Client | 98a511a0544d28aac06529c13f4921c19ae8ec66 | [
"MIT"
] | null | null | null | amazon_ads_sponsored_products_client/api/snapshots_api.py | wangjoshuah/Amazon-Ads-Sponsored-Products-API-Python-Client | 98a511a0544d28aac06529c13f4921c19ae8ec66 | [
"MIT"
] | null | null | null | amazon_ads_sponsored_products_client/api/snapshots_api.py | wangjoshuah/Amazon-Ads-Sponsored-Products-API-Python-Client | 98a511a0544d28aac06529c13f4921c19ae8ec66 | [
"MIT"
] | null | null | null | """
Amazon Ads API - Sponsored Products
Use the Amazon Ads API for Sponsored Products for campaign, ad group, keyword, negative keyword, and product ad management operations. For more information about Sponsored Products, see the [Sponsored Products Support Center](https://advertising.amazon.com/help?entityId=... | 40.665706 | 422 | 0.550493 | 1,350 | 14,111 | 5.465185 | 0.176296 | 0.101382 | 0.119274 | 0.074546 | 0.756303 | 0.745188 | 0.718352 | 0.707238 | 0.693955 | 0.693955 | 0 | 0.003494 | 0.3712 | 14,111 | 346 | 423 | 40.783237 | 0.828018 | 0.354263 | 0 | 0.578059 | 0 | 0 | 0.278875 | 0.126847 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012658 | false | 0 | 0.029536 | 0 | 0.054852 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71eef99019beb06fa77ad8f9995fa6d2fe9a6390 | 41 | py | Python | tuples/03.py | mallimuondu/python-homworks | 352721a8e77d0b3bdb7a8a54197b6a04e1aec3c0 | [
"MIT"
] | null | null | null | tuples/03.py | mallimuondu/python-homworks | 352721a8e77d0b3bdb7a8a54197b6a04e1aec3c0 | [
"MIT"
] | null | null | null | tuples/03.py | mallimuondu/python-homworks | 352721a8e77d0b3bdb7a8a54197b6a04e1aec3c0 | [
"MIT"
] | null | null | null | a = ("malli", "nesh", "mum")
print(a[-1]) | 20.5 | 28 | 0.487805 | 7 | 41 | 2.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.121951 | 41 | 2 | 29 | 20.5 | 0.527778 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
9c148bb91a0e98bcb4be64d7ba5dada8e1256274 | 1,633 | py | Python | finat/sympy2gem.py | connorjward/FInAT | c979533fb2361e488ae633079bb140b265e91db2 | [
"MIT"
] | 14 | 2015-04-21T07:47:38.000Z | 2022-02-05T15:33:24.000Z | finat/sympy2gem.py | connorjward/FInAT | c979533fb2361e488ae633079bb140b265e91db2 | [
"MIT"
] | 55 | 2015-03-03T12:59:37.000Z | 2021-10-07T15:18:23.000Z | finat/sympy2gem.py | connorjward/FInAT | c979533fb2361e488ae633079bb140b265e91db2 | [
"MIT"
] | 7 | 2016-12-10T16:32:35.000Z | 2021-11-04T17:55:10.000Z | from functools import singledispatch, reduce
import sympy
try:
import symengine
except ImportError:
class Mock:
def __getattribute__(self, name):
return Mock
symengine = Mock()
import gem
@singledispatch
def sympy2gem(node, self):
raise AssertionError("sympy/symengine node expect... | 24.014706 | 89 | 0.755052 | 207 | 1,633 | 5.888889 | 0.246377 | 0.251025 | 0.144381 | 0.106645 | 0.219032 | 0.14192 | 0.091058 | 0 | 0 | 0 | 0 | 0.018789 | 0.120024 | 1,633 | 67 | 90 | 24.373134 | 0.829506 | 0 | 0 | 0 | 0 | 0 | 0.04899 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 1 | 0.212766 | false | 0 | 0.106383 | 0.170213 | 0.510638 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
9c237b9f609d4298570edc2ecb5835b90ac6de6b | 639 | py | Python | Messaging/Packets/Client/Alliance/UnknownAskMessage.py | Kuler2006/BSDS-V40 | 9e9a6e5b36cd5082fe428ebb0279df23d5d9c7b7 | [
"Apache-2.0"
] | 4 | 2021-11-27T16:49:30.000Z | 2021-12-21T13:50:00.000Z | Messaging/Packets/Client/Alliance/UnknownAskMessage.py | Kuler2006/BSDS-V40 | 9e9a6e5b36cd5082fe428ebb0279df23d5d9c7b7 | [
"Apache-2.0"
] | null | null | null | Messaging/Packets/Client/Alliance/UnknownAskMessage.py | Kuler2006/BSDS-V40 | 9e9a6e5b36cd5082fe428ebb0279df23d5d9c7b7 | [
"Apache-2.0"
] | 1 | 2021-12-21T13:38:20.000Z | 2021-12-21T13:38:20.000Z | from Logic.Data.DataManager import Writer
from Logic.Data.DataManager import Reader
from Messaging.Packets.Server.Alliance.AllianceDataMessage import AllianceDataMessage
from Messaging.Packets.Server.Alliance.UnknownLeaderboardAllianceMessage import UnknownLeaderboardAllianceMessage
class UnknownAskMessage(Reader):
... | 31.95 | 113 | 0.762128 | 65 | 639 | 7.338462 | 0.430769 | 0.062893 | 0.054507 | 0.100629 | 0.268344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164319 | 639 | 19 | 114 | 33.631579 | 0.893258 | 0.12989 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.153846 | 0.307692 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
9c3e4a4649f08477e7f87226f4a120e1562dc11c | 85 | py | Python | ghtools/exceptions.py | alphagov/ghtools | be10c9251197c4c170e617f8328c1f94f5f45dca | [
"MIT"
] | 3 | 2015-02-09T12:19:40.000Z | 2016-07-20T18:19:11.000Z | ghtools/exceptions.py | alphagov/ghtools | be10c9251197c4c170e617f8328c1f94f5f45dca | [
"MIT"
] | 3 | 2015-02-06T13:39:31.000Z | 2016-10-03T09:33:33.000Z | ghtools/exceptions.py | alphagov/ghtools | be10c9251197c4c170e617f8328c1f94f5f45dca | [
"MIT"
] | 3 | 2017-10-12T10:33:20.000Z | 2021-04-10T19:55:50.000Z | class GithubError(Exception):
pass
class GithubAPIError(GithubError):
pass
| 12.142857 | 34 | 0.741176 | 8 | 85 | 7.875 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 85 | 6 | 35 | 14.166667 | 0.913043 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
9c782c7bf428d457edf67db105b075491d48af1e | 11,555 | py | Python | lib/networks/vgg16_gan.py | asbe/PoseCNN | 0dc7f4f1d63908a43d5afc1ac4cf327ae88c658c | [
"MIT"
] | null | null | null | lib/networks/vgg16_gan.py | asbe/PoseCNN | 0dc7f4f1d63908a43d5afc1ac4cf327ae88c658c | [
"MIT"
] | null | null | null | lib/networks/vgg16_gan.py | asbe/PoseCNN | 0dc7f4f1d63908a43d5afc1ac4cf327ae88c658c | [
"MIT"
] | 1 | 2018-06-24T14:48:59.000Z | 2018-06-24T14:48:59.000Z | import tensorflow as tf
from networks.network import Network
class vgg16_gan(Network):
def __init__(self, input_format, num_classes, num_units, scales, vertex_reg=False, trainable=True):
self.inputs = []
self.input_format = input_format
self.num_classes = num_classes
self.num_units ... | 61.137566 | 159 | 0.550584 | 1,733 | 11,555 | 3.41431 | 0.069821 | 0.019605 | 0.048673 | 0.079094 | 0.808687 | 0.785871 | 0.753422 | 0.723171 | 0.693426 | 0.580193 | 0 | 0.097794 | 0.301774 | 11,555 | 188 | 160 | 61.462766 | 0.635597 | 0.005712 | 0 | 0.162651 | 0 | 0 | 0.110076 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012048 | false | 0 | 0.012048 | 0 | 0.03012 | 0.006024 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9c80c75ed2a0bbda6d6cead676de2408e85bbd58 | 2,374 | py | Python | python/tests/transformers/split_columns_test.py | blpabhishek/prep-buddy | d663d13a45205777d474a2160716c283c4a864b2 | [
"Apache-2.0"
] | null | null | null | python/tests/transformers/split_columns_test.py | blpabhishek/prep-buddy | d663d13a45205777d474a2160716c283c4a864b2 | [
"Apache-2.0"
] | null | null | null | python/tests/transformers/split_columns_test.py | blpabhishek/prep-buddy | d663d13a45205777d474a2160716c283c4a864b2 | [
"Apache-2.0"
] | 1 | 2018-05-29T16:21:33.000Z | 2018-05-29T16:21:33.000Z | from utils.python_test_case import PySparkTestCase
from pyprepbuddy.rdds.transformable_rdd import TransformableRDD
class SplitColumnsTest(PySparkTestCase):
def test_should_split_given_column_indexes_split_by_delimiter(self):
initial_data_set = self.sc.parallelize(["FirstName LastName MiddleName,850"])
... | 53.954545 | 96 | 0.723673 | 288 | 2,374 | 5.628472 | 0.256944 | 0.054287 | 0.069093 | 0.044417 | 0.762492 | 0.746453 | 0.746453 | 0.704503 | 0.689698 | 0.637878 | 0 | 0.108162 | 0.158804 | 2,374 | 43 | 97 | 55.209302 | 0.703555 | 0 | 0 | 0.4375 | 0 | 0 | 0.25358 | 0.149537 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.125 | false | 0 | 0.0625 | 0 | 0.21875 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
92bf77a7b8b10cb4c9ef114e2b208c57f5cf0aa5 | 1,834 | py | Python | all_tests.py | autumnjolitz/pytypedecl | 7ae0f31917ae9049a7116212b6a1ff5657db9ba0 | [
"Apache-2.0"
] | null | null | null | all_tests.py | autumnjolitz/pytypedecl | 7ae0f31917ae9049a7116212b6a1ff5657db9ba0 | [
"Apache-2.0"
] | null | null | null | all_tests.py | autumnjolitz/pytypedecl | 7ae0f31917ae9049a7116212b6a1ff5657db9ba0 | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8; python-indent:2; indent-tabs-mode:nil -*-
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/... | 36.68 | 110 | 0.780262 | 221 | 1,834 | 6.316742 | 0.515837 | 0.090258 | 0.195559 | 0.164756 | 0.065903 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006349 | 0.141221 | 1,834 | 49 | 111 | 37.428571 | 0.88 | 0.38386 | 0 | 0 | 0 | 0 | 0.007194 | 0 | 0 | 0 | 0 | 0.020408 | 0 | 1 | 0.05 | false | 0 | 0.35 | 0 | 0.45 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
92bfe0007e3093684707e85a025f71a831837252 | 201 | py | Python | aboutus/admin.py | aryamanak10/diner-restaurant-website | 6d2d9de89a73c5535ebf782c4d8bbfc6ca9489fc | [
"MIT"
] | 1 | 2020-05-07T17:18:36.000Z | 2020-05-07T17:18:36.000Z | aboutus/admin.py | aryamanak10/Restaurant-Site-using-Django | 6d2d9de89a73c5535ebf782c4d8bbfc6ca9489fc | [
"MIT"
] | null | null | null | aboutus/admin.py | aryamanak10/Restaurant-Site-using-Django | 6d2d9de89a73c5535ebf782c4d8bbfc6ca9489fc | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import AboutUs, Why_Choose_Us, Chef
# Register your models here.
admin.site.register(AboutUs)
admin.site.register(Why_Choose_Us)
admin.site.register(Chef) | 28.714286 | 48 | 0.820896 | 31 | 201 | 5.193548 | 0.483871 | 0.167702 | 0.31677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 201 | 7 | 49 | 28.714286 | 0.879781 | 0.129353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
92c4f6812b39ef09966ce33cf30ee874c281435a | 167 | py | Python | Course-2:Graphs/scc.py | karenk1010/Coursera-Algorithms-Specialization | 5d293ff6e74e7d6f2090696d21d282e1734f396a | [
"MIT"
] | null | null | null | Course-2:Graphs/scc.py | karenk1010/Coursera-Algorithms-Specialization | 5d293ff6e74e7d6f2090696d21d282e1734f396a | [
"MIT"
] | null | null | null | Course-2:Graphs/scc.py | karenk1010/Coursera-Algorithms-Specialization | 5d293ff6e74e7d6f2090696d21d282e1734f396a | [
"MIT"
] | 2 | 2021-02-04T22:20:15.000Z | 2021-02-11T13:27:24.000Z | #!/usr/bin/python3
"""
implement strongly connected components algorithm using 'SCC.txt' adjusency
list.
Problem answer (first 5): [434821, 968, 459, 313, 211]
"""
| 16.7 | 75 | 0.712575 | 22 | 167 | 5.409091 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13986 | 0.143713 | 167 | 9 | 76 | 18.555556 | 0.692308 | 0.928144 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
92db83cdc943ba3eef48d5dddfb0e0c383df1394 | 111 | py | Python | tests/itunes/examples/functions/mute, muted, unmute/mute.py | andrewp-as-is/itunes.py | 51c7f9d07ed8858970565532c8a26c5a4b78a471 | [
"Unlicense"
] | null | null | null | tests/itunes/examples/functions/mute, muted, unmute/mute.py | andrewp-as-is/itunes.py | 51c7f9d07ed8858970565532c8a26c5a4b78a471 | [
"Unlicense"
] | null | null | null | tests/itunes/examples/functions/mute, muted, unmute/mute.py | andrewp-as-is/itunes.py | 51c7f9d07ed8858970565532c8a26c5a4b78a471 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import itunes
itunes.mute()
print("muted: %s" % itunes.muted())
| 15.857143 | 35 | 0.621622 | 16 | 111 | 4.3125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.135135 | 111 | 6 | 36 | 18.5 | 0.708333 | 0.378378 | 0 | 0 | 0 | 0 | 0.134328 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
92eb40d08825fd6f106133b930720626bba8c898 | 76 | py | Python | alastria_identity/types/presentation.py | alastria/alastria-identity-lib-py | 63ec9d9e60d267c3900d2a827b5d4adb7d265acb | [
"MIT"
] | 1 | 2021-04-22T21:22:15.000Z | 2021-04-22T21:22:15.000Z | alastria_identity/types/presentation.py | alejandroalffer/alastria-identity-lib-py | 4db82fc905fcfa48749cf6908a8dcfb462a5ff81 | [
"MIT"
] | 2 | 2020-12-01T08:50:25.000Z | 2020-12-16T15:10:33.000Z | alastria_identity/types/presentation.py | alejandroalffer/alastria-identity-lib-py | 4db82fc905fcfa48749cf6908a8dcfb462a5ff81 | [
"MIT"
] | 2 | 2020-10-21T11:22:40.000Z | 2021-04-17T15:36:56.000Z | from dataclasses import dataclass
@dataclass
class Presentation:
pass
| 10.857143 | 33 | 0.789474 | 8 | 76 | 7.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 76 | 6 | 34 | 12.666667 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
92f70b6998852a0327670d7059137376953b6d34 | 453 | py | Python | src/cdev/default/output_manager.py | cdev-framework/cdev-sdk | 06cd7b40936ab063d1d8fd1a7d9f6882750e8a96 | [
"BSD-3-Clause-Clear"
] | 2 | 2022-02-28T02:51:59.000Z | 2022-03-24T15:23:18.000Z | src/cdev/default/output_manager.py | cdev-framework/cdev-sdk | 06cd7b40936ab063d1d8fd1a7d9f6882750e8a96 | [
"BSD-3-Clause-Clear"
] | null | null | null | src/cdev/default/output_manager.py | cdev-framework/cdev-sdk | 06cd7b40936ab063d1d8fd1a7d9f6882750e8a96 | [
"BSD-3-Clause-Clear"
] | null | null | null | from rich import print
from typing import List
from core.constructs.output_manager import OutputManager
from ..constructs.project import Project
class CdevOutputManager(OutputManager):
def print_header(self) -> None:
myproject = Project.instance()
print("")
print(f"Project: {myproject.g... | 23.842105 | 87 | 0.704194 | 53 | 453 | 5.849057 | 0.603774 | 0.051613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198676 | 453 | 18 | 88 | 25.166667 | 0.853994 | 0 | 0 | 0.166667 | 0 | 0 | 0.068433 | 0.048565 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.083333 | 0.333333 | 0 | 0.583333 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 4 |
13035de2f4ed7f9ba4aaffa1a58f6ef4053a0215 | 928 | py | Python | Python3/441.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | Python3/441.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | Python3/441.py | rakhi2001/ecom7 | 73790d44605fbd51e8f7e804b9808e364fcfc680 | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
sample 24 ms submission
class Solution:
def arrangeCoins(self, n: int) -> int:
# 1, 2, 3, 4, 5, 6, ...
# n = (steps**2 + steps)/2
# sn = n * (n+1) / 2
sqrt = ... | 29.935484 | 98 | 0.580819 | 87 | 928 | 2.816092 | 0.37931 | 0.02449 | 0.187755 | 0.212245 | 0.4 | 0.4 | 0.4 | 0.4 | 0.4 | 0 | 0 | 0.05153 | 0.330819 | 928 | 30 | 99 | 30.933333 | 0.342995 | 0.085129 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
131e532f3ac414dd95b9e8351f082efeba755f20 | 220 | py | Python | pymachinetalk/application/__init__.py | cerna/pymachinetalk | 8566d064f2162c12ee2d812bd7d0b9dfb3225b7d | [
"MIT"
] | 6 | 2017-06-11T14:26:50.000Z | 2020-06-25T21:56:48.000Z | pymachinetalk/application/__init__.py | cerna/pymachinetalk | 8566d064f2162c12ee2d812bd7d0b9dfb3225b7d | [
"MIT"
] | 9 | 2017-04-07T12:00:04.000Z | 2021-12-22T13:02:49.000Z | pymachinetalk/application/__init__.py | cerna/pymachinetalk | 8566d064f2162c12ee2d812bd7d0b9dfb3225b7d | [
"MIT"
] | 7 | 2016-06-21T13:29:27.000Z | 2020-09-21T16:05:48.000Z | # coding=utf-8
from .constants import *
from .command import ApplicationCommand
from .error import ApplicationError
from .file import ApplicationFile
from .log import ApplicationLog
from .status import ApplicationStatus
| 27.5 | 39 | 0.836364 | 26 | 220 | 7.076923 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005155 | 0.118182 | 220 | 7 | 40 | 31.428571 | 0.943299 | 0.054545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1323873b66770208644c62a724f3445435169c34 | 14,181 | py | Python | hmm_for_baxter_using_only_success_trials/birl_hmm_user_interface.py | birlrobotics/HMM | 6c4231214668d3bf140d4b9b97323bc71f09d17e | [
"BSD-3-Clause"
] | 2 | 2019-01-31T11:14:50.000Z | 2019-07-21T20:33:37.000Z | hmm_for_baxter_using_only_success_trials/birl_hmm_user_interface.py | birlrobotics/HMM | 6c4231214668d3bf140d4b9b97323bc71f09d17e | [
"BSD-3-Clause"
] | null | null | null | hmm_for_baxter_using_only_success_trials/birl_hmm_user_interface.py | birlrobotics/HMM | 6c4231214668d3bf140d4b9b97323bc71f09d17e | [
"BSD-3-Clause"
] | null | null | null | from optparse import OptionParser
import training_config
import util
import ipdb
import os
def warn(*args, **kwargs):
if 'category' in kwargs and kwargs['category'] == DeprecationWarning:
pass
else:
for arg in args:
print arg
import warnings
warnings.warn = warn
def build_p... | 42.972727 | 162 | 0.723644 | 1,832 | 14,181 | 5.075873 | 0.066594 | 0.053447 | 0.096462 | 0.126143 | 0.845252 | 0.802774 | 0.714378 | 0.644048 | 0.576514 | 0.548446 | 0 | 0 | 0.217192 | 14,181 | 329 | 163 | 43.103343 | 0.837672 | 0.007404 | 0 | 0.457249 | 0 | 0 | 0.187864 | 0.102032 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.003717 | 0.074349 | null | null | 0.052045 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
1343d69301b48ac37a3941d5d615a2f1a2b82b98 | 1,999 | py | Python | python/phonenumbers/data/region_LB.py | Eyepea/python-phonenumbers | 0336e191fda80a21ed5c19d5e029ad8c70f620ee | [
"Apache-2.0"
] | 2 | 2019-03-30T02:12:54.000Z | 2021-03-08T18:59:40.000Z | python/phonenumbers/data/region_LB.py | Eyepea/python-phonenumbers | 0336e191fda80a21ed5c19d5e029ad8c70f620ee | [
"Apache-2.0"
] | null | null | null | python/phonenumbers/data/region_LB.py | Eyepea/python-phonenumbers | 0336e191fda80a21ed5c19d5e029ad8c70f620ee | [
"Apache-2.0"
] | 1 | 2018-11-10T03:47:34.000Z | 2018-11-10T03:47:34.000Z | """Auto-generated file, do not edit by hand. LB metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_LB = PhoneMetadata(id='LB', country_code=961, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='[13-9]\\d{6,7}', possible_number_pattern... | 95.190476 | 197 | 0.726363 | 285 | 1,999 | 4.82807 | 0.273684 | 0.226744 | 0.152616 | 0.313953 | 0.498547 | 0.481831 | 0.432413 | 0.419331 | 0.419331 | 0.109012 | 0 | 0.074906 | 0.065033 | 1,999 | 20 | 198 | 99.95 | 0.661316 | 0.026513 | 0 | 0 | 1 | 0.222222 | 0.200515 | 0.117526 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
13453ab152bc0873ad661b290d5d32b0f5257767 | 5,878 | py | Python | tests/ssl/test_ssl.py | wacuuu/workload-collocation-agent | 9250ec2ab8def033e8546481eaed6aca2caad3d3 | [
"Apache-2.0"
] | 40 | 2019-05-16T16:42:33.000Z | 2021-11-18T06:33:03.000Z | tests/ssl/test_ssl.py | wacuuu/workload-collocation-agent | 9250ec2ab8def033e8546481eaed6aca2caad3d3 | [
"Apache-2.0"
] | 72 | 2019-05-09T02:30:25.000Z | 2020-11-17T09:24:44.000Z | tests/ssl/test_ssl.py | ppalucki/owca | 9316f92e2d67f6c37da2dec33e5f769a4c3a465b | [
"Apache-2.0"
] | 26 | 2019-05-20T09:13:38.000Z | 2021-12-15T17:57:21.000Z | # Copyright (c) 2020 Intel Corporation
#
# 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... | 34.988095 | 81 | 0.677271 | 729 | 5,878 | 5.318244 | 0.227709 | 0.059324 | 0.064999 | 0.041269 | 0.70699 | 0.70699 | 0.70699 | 0.686871 | 0.686871 | 0.686871 | 0 | 0.030374 | 0.199047 | 5,878 | 167 | 82 | 35.197605 | 0.793118 | 0.111432 | 0 | 0.769841 | 0 | 0 | 0.151335 | 0.061264 | 0 | 0 | 0 | 0 | 0.015873 | 1 | 0.071429 | false | 0.02381 | 0.055556 | 0 | 0.134921 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1352a3951d18e0957d459403059db0014e5676dc | 1,027 | py | Python | Homework/2.homework/Tests/others/test_bst_print.py | mevljas/Quality_and_testing | 6a39610084b1538eae270682a6842270e8971b7f | [
"MIT"
] | null | null | null | Homework/2.homework/Tests/others/test_bst_print.py | mevljas/Quality_and_testing | 6a39610084b1538eae270682a6842270e8971b7f | [
"MIT"
] | null | null | null | Homework/2.homework/Tests/others/test_bst_print.py | mevljas/Quality_and_testing | 6a39610084b1538eae270682a6842270e8971b7f | [
"MIT"
] | null | null | null | import pexpect2
def test_bst_print():
baza = pexpect2.pexpect()
try:
baza.expect("Enter command: ")
baza.send("use bst")
baza.expect("OK")
baza.expect("Enter command: ")
baza.send("add Andrej Novak 15 2111935500138")
baza.expect("OK")
baza.expect("En... | 21.395833 | 58 | 0.564752 | 115 | 1,027 | 4.904348 | 0.313043 | 0.265957 | 0.18617 | 0.27305 | 0.492908 | 0.492908 | 0.425532 | 0.308511 | 0.308511 | 0.159574 | 0 | 0.088276 | 0.29406 | 1,027 | 47 | 59 | 21.851064 | 0.689655 | 0 | 0 | 0.40625 | 0 | 0 | 0.314815 | 0.042885 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.03125 | 0.03125 | null | null | 0.15625 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
137489f5861a8a84ca36a22b0984fa9f1819db8c | 879 | py | Python | provider.py | CUUATS/cuuatsalg | 0066c18c6606df7dede3627b978047fa5974efa9 | [
"BSD-3-Clause"
] | null | null | null | provider.py | CUUATS/cuuatsalg | 0066c18c6606df7dede3627b978047fa5974efa9 | [
"BSD-3-Clause"
] | 1 | 2018-02-21T15:43:07.000Z | 2018-02-21T15:43:07.000Z | provider.py | CUUATS/cuuatsalg | 0066c18c6606df7dede3627b978047fa5974efa9 | [
"BSD-3-Clause"
] | null | null | null | import os
from qgis.PyQt.QtGui import QIcon
from qgis.core import QgsProcessingProvider
from cuuatsalg.algorithms import CopyNetworkAttributes, \
CreateNetworkMatchTable, CreateProjectFolder
plugin_path = os.path.dirname(__file__)
class CuuatsAlgorithmProvider(QgsProcessingProvider):
def __init__(self):
... | 23.131579 | 64 | 0.658703 | 82 | 879 | 6.890244 | 0.5 | 0.088496 | 0.223009 | 0.067257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253697 | 879 | 37 | 65 | 23.756757 | 0.86128 | 0 | 0 | 0 | 0 | 0 | 0.031854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.259259 | false | 0 | 0.148148 | 0.185185 | 0.62963 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
13831971a63db906d0f10497cb1fd8276e65f8ee | 4,588 | py | Python | var/spack/repos/builtin/packages/intel-mkl/package.py | goungy/spack | ffdde40f56d48c18ca9c45b0599221ef1dab40a2 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | 1 | 2020-06-25T15:25:29.000Z | 2020-06-25T15:25:29.000Z | var/spack/repos/builtin/packages/intel-mkl/package.py | goungy/spack | ffdde40f56d48c18ca9c45b0599221ef1dab40a2 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | var/spack/repos/builtin/packages/intel-mkl/package.py | goungy/spack | ffdde40f56d48c18ca9c45b0599221ef1dab40a2 | [
"ECL-2.0",
"Apache-2.0",
"MIT"
] | null | null | null | # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import sys
from spack import *
class IntelMkl(IntelPackage):
"""Intel Math Kernel Library."""
homepage = "http... | 64.619718 | 108 | 0.751308 | 521 | 4,588 | 6.502879 | 0.309021 | 0.042503 | 0.125443 | 0.165584 | 0.294864 | 0.294864 | 0.294864 | 0.275974 | 0.275974 | 0.275974 | 0 | 0.272705 | 0.114429 | 4,588 | 70 | 109 | 65.542857 | 0.561162 | 0.073017 | 0 | 0 | 0 | 0.320755 | 0.699128 | 0.256543 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037736 | 0 | 0.075472 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
138f6c701103c1f1771823352febd549174e9ed4 | 77 | py | Python | Lec 9/Module3.py | harshp2124/Python-Lectures | a5b8201856201da0eef8d66c35eaceec4e8e1456 | [
"Apache-2.0"
] | null | null | null | Lec 9/Module3.py | harshp2124/Python-Lectures | a5b8201856201da0eef8d66c35eaceec4e8e1456 | [
"Apache-2.0"
] | null | null | null | Lec 9/Module3.py | harshp2124/Python-Lectures | a5b8201856201da0eef8d66c35eaceec4e8e1456 | [
"Apache-2.0"
] | null | null | null | def fn1(a,b):
print("Subtraction=",a-b)
def fn2(c):
print(c) | 11 | 30 | 0.506494 | 13 | 77 | 3 | 0.615385 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036364 | 0.285714 | 77 | 7 | 31 | 11 | 0.672727 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1392f87fb355659a41695eb77a37072ed80d0d7e | 472 | py | Python | Desafio24.py | rsmelocunha/Python-projects | 1740d1cbafb0aebfffeb0bfdb4ccccf0dbd14093 | [
"MIT"
] | null | null | null | Desafio24.py | rsmelocunha/Python-projects | 1740d1cbafb0aebfffeb0bfdb4ccccf0dbd14093 | [
"MIT"
] | null | null | null | Desafio24.py | rsmelocunha/Python-projects | 1740d1cbafb0aebfffeb0bfdb4ccccf0dbd14093 | [
"MIT"
] | null | null | null | cid = input('Digite o nome da cidade onde você nasceu: ').strip() # usa-se o método strip para retirar os espaços vazios antes e depois da frase
print(cid[:5].upper() == 'SANTO') # como a palavra 'santo' possui 5 letras, então foi utilizada a funcionalidade ":5" que vai
# pegar da posi... | 118 | 144 | 0.625 | 70 | 472 | 4.214286 | 0.714286 | 0.047458 | 0.088136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01497 | 0.292373 | 472 | 4 | 145 | 118 | 0.868263 | 0.627119 | 0 | 0 | 0 | 0 | 0.273256 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
13964db6dc0253b6b9518d44f5c5d48a0ddd50ad | 16,347 | py | Python | genbmm/genbmm/sparse.py | harvardnlp/cascaded-generation | d6c5569ca3b2f9d7a5795bd21de4b4eec7b92936 | [
"MIT"
] | 122 | 2020-06-02T01:27:02.000Z | 2021-11-14T17:18:22.000Z | genbmm/genbmm/sparse.py | chenyangh/cascaded-generation | d6c5569ca3b2f9d7a5795bd21de4b4eec7b92936 | [
"MIT"
] | null | null | null | genbmm/genbmm/sparse.py | chenyangh/cascaded-generation | d6c5569ca3b2f9d7a5795bd21de4b4eec7b92936 | [
"MIT"
] | 5 | 2020-06-02T23:56:01.000Z | 2021-06-03T15:28:09.000Z | import torch
has_cuda = False
try:
import _genbmm
has_cuda = True
except ImportError:
pass
def banddiag(orig_x, lu, ld, fill=0):
s1 = list(orig_x.shape)
s2 = list(orig_x.shape)
x = orig_x
s1[-2] = lu
s2[-2] = ld
x = torch.cat(
[
torch.zeros(*s1, device=x.devic... | 30.960227 | 112 | 0.479538 | 2,131 | 16,347 | 3.570624 | 0.061473 | 0.057826 | 0.011565 | 0.017348 | 0.788408 | 0.768301 | 0.742542 | 0.716914 | 0.693521 | 0.67131 | 0 | 0.017029 | 0.392916 | 16,347 | 527 | 113 | 31.018975 | 0.749698 | 0.039824 | 0 | 0.613793 | 0 | 0 | 0.001467 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 1 | 0.064368 | false | 0.002299 | 0.006897 | 0 | 0.156322 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
139ff99767989b07de74409445ae9ab848a6c71a | 159 | py | Python | examples/cherenkov/EventAction.py | yu22mal/geant4_pybind | ff7efc322fe53f39c7ae7ed140861052a92479fd | [
"Unlicense"
] | null | null | null | examples/cherenkov/EventAction.py | yu22mal/geant4_pybind | ff7efc322fe53f39c7ae7ed140861052a92479fd | [
"Unlicense"
] | null | null | null | examples/cherenkov/EventAction.py | yu22mal/geant4_pybind | ff7efc322fe53f39c7ae7ed140861052a92479fd | [
"Unlicense"
] | null | null | null | from geant4_pybind import *
class EventAction(G4UserEventAction):
def __init__(self):
super().__init__()
def EndOfEventAction(self, evt):
pass
| 14.454545 | 37 | 0.716981 | 17 | 159 | 6.176471 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.18239 | 159 | 10 | 38 | 15.9 | 0.792308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
13a2f642225fd09f7ed3a937d3863f4fd311c380 | 4,933 | py | Python | kusanagi/core/payload/cmd/revshell/validator.py | cytopia/kusanagi | 0f2f2f9d84fee0037ee45dc8c1c41adf841e480e | [
"MIT"
] | 13 | 2021-04-10T10:36:01.000Z | 2021-11-22T17:15:10.000Z | kusanagi/core/payload/cmd/revshell/validator.py | FDlucifer/kusanagi | 0f2f2f9d84fee0037ee45dc8c1c41adf841e480e | [
"MIT"
] | null | null | null | kusanagi/core/payload/cmd/revshell/validator.py | FDlucifer/kusanagi | 0f2f2f9d84fee0037ee45dc8c1c41adf841e480e | [
"MIT"
] | 4 | 2021-05-04T19:37:58.000Z | 2021-08-05T06:39:16.000Z | """This file holds the payload yaml validator/definition template."""
VALIDATOR = {
"specification": {
"type": dict,
"required": True,
"childs": {
"payload": {
"type": str,
"required": True,
"allowed": "^(cmd)$",
"c... | 31.825806 | 77 | 0.219947 | 224 | 4,933 | 4.767857 | 0.223214 | 0.292135 | 0.249064 | 0.231273 | 0.690075 | 0.359551 | 0.2397 | 0.166667 | 0.166667 | 0.166667 | 0 | 0.017288 | 0.624772 | 4,933 | 154 | 78 | 32.032468 | 0.559697 | 0.012771 | 0 | 0.585526 | 0 | 0 | 0.198808 | 0.036801 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
13a6f1a95001e1e439f16518bf3b984319a4f53c | 159 | py | Python | config/views.py | fagrimacs/fagrimacs | 471627ff2ead072d1bf04a542d6c47b542b95cba | [
"MIT"
] | null | null | null | config/views.py | fagrimacs/fagrimacs | 471627ff2ead072d1bf04a542d6c47b542b95cba | [
"MIT"
] | 5 | 2020-02-17T11:23:06.000Z | 2021-06-10T19:11:33.000Z | config/views.py | fagrimacs/fagrimacs | 471627ff2ead072d1bf04a542d6c47b542b95cba | [
"MIT"
] | 11 | 2019-12-06T20:05:50.000Z | 2020-03-12T07:32:03.000Z | from django.shortcuts import render
from django.views.generic import TemplateView
class ComingSoonView(TemplateView):
template_name = 'coming-soon.html'
| 22.714286 | 45 | 0.811321 | 19 | 159 | 6.736842 | 0.789474 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119497 | 159 | 6 | 46 | 26.5 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0.100629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
13c1fa3642bbfb694b84f9e00e6cde81e9256d42 | 227 | py | Python | streetview/__init__.py | stanford-policylab/surveilling-surveillance | bbb9a147927a6342eecfe07ffa756b3acdb63f35 | [
"MIT"
] | 8 | 2021-05-21T03:38:52.000Z | 2021-11-21T08:32:41.000Z | streetview/__init__.py | stanford-policylab/surveilling-surveillance | bbb9a147927a6342eecfe07ffa756b3acdb63f35 | [
"MIT"
] | null | null | null | streetview/__init__.py | stanford-policylab/surveilling-surveillance | bbb9a147927a6342eecfe07ffa756b3acdb63f35 | [
"MIT"
] | 1 | 2021-06-13T21:49:14.000Z | 2021-06-13T21:49:14.000Z | from .download import download_streetview_image
from .sample import random_points, random_stratified_points
from .coverage import calculate_coverage
from .zoning import calculate_zone
from .road import calculate_road_length
| 28.375 | 59 | 0.867841 | 30 | 227 | 6.266667 | 0.5 | 0.239362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105727 | 227 | 7 | 60 | 32.428571 | 0.926108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
13de34dd3a17bd24d7be6ce03f31829dea130698 | 4,264 | py | Python | ckanext/example_iconfigurer/tests/test_iconfigurer_toolkit.py | gg2/ckan | d61a533cc330b6050f4957573f58ec912695ed0a | [
"BSD-3-Clause"
] | 2,805 | 2015-01-02T18:13:15.000Z | 2022-03-31T03:35:01.000Z | ckanext/example_iconfigurer/tests/test_iconfigurer_toolkit.py | gg2/ckan | d61a533cc330b6050f4957573f58ec912695ed0a | [
"BSD-3-Clause"
] | 3,801 | 2015-01-02T11:05:36.000Z | 2022-03-31T19:24:37.000Z | ckanext/example_iconfigurer/tests/test_iconfigurer_toolkit.py | cascaoSDC/ckan | 75a08caa7c688ce70229dfea7070cc667a15c5e8 | [
"BSD-3-Clause"
] | 1,689 | 2015-01-02T19:46:43.000Z | 2022-03-28T14:59:43.000Z | # encoding: utf-8
import pytest
import ckan.plugins.toolkit as toolkit
@pytest.mark.usefixtures("clean_db")
class TestIConfigurerToolkitAddCkanAdminTab(object):
"""
Tests for toolkit.add_ckan_admin_tab used by the IConfigurer interface.
"""
def test_add_ckan_admin_tab_updates_config_dict(self):
... | 29.006803 | 75 | 0.529784 | 449 | 4,264 | 4.603563 | 0.144766 | 0.130624 | 0.121916 | 0.145138 | 0.771166 | 0.760523 | 0.749879 | 0.726657 | 0.674407 | 0.674407 | 0 | 0.000368 | 0.363274 | 4,264 | 146 | 76 | 29.205479 | 0.760958 | 0.104597 | 0 | 0.57732 | 0 | 0 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 1 | 0.061856 | false | 0 | 0.020619 | 0 | 0.092784 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
13e65eca252c06bccb6369bd506f941899e836d6 | 7,122 | py | Python | client/verta/tests/test_permissions/test_sharing_old.py | NaiboWang/modeldb | 43faa8266f7134404fe5cb21954a477ed5963300 | [
"Apache-2.0"
] | 1 | 2021-03-26T05:41:34.000Z | 2021-03-26T05:41:34.000Z | client/verta/tests/test_permissions/test_sharing_old.py | NaiboWang/modeldb | 43faa8266f7134404fe5cb21954a477ed5963300 | [
"Apache-2.0"
] | null | null | null | client/verta/tests/test_permissions/test_sharing_old.py | NaiboWang/modeldb | 43faa8266f7134404fe5cb21954a477ed5963300 | [
"Apache-2.0"
] | 1 | 2021-05-04T13:52:09.000Z | 2021-05-04T13:52:09.000Z | """
Original collaboration/sharing tests, before the visibility overhaul.
"""
import pytest
from verta._internal_utils import _utils
pytestmark = pytest.mark.not_oss
class TestProject:
def test_share_project_personal_workspace(self, client, client_2, email_2):
"""
User 1 share a project in pers... | 40.465909 | 134 | 0.714125 | 912 | 7,122 | 5.298246 | 0.100877 | 0.042012 | 0.037252 | 0.084023 | 0.851821 | 0.793874 | 0.720613 | 0.675083 | 0.675083 | 0.645695 | 0 | 0.011295 | 0.204437 | 7,122 | 175 | 135 | 40.697143 | 0.841511 | 0.167369 | 0 | 0.45977 | 0 | 0 | 0.014657 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.126437 | false | 0 | 0.022989 | 0 | 0.206897 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
13f361cbb55f90cacaa197429018d65d0a7c7ae5 | 728 | py | Python | tests/conftest.py | staciekith/mental-unload | 93d2ff29e159020c270b8c97b0d6dc97a1ad16e7 | [
"MIT"
] | null | null | null | tests/conftest.py | staciekith/mental-unload | 93d2ff29e159020c270b8c97b0d6dc97a1ad16e7 | [
"MIT"
] | null | null | null | tests/conftest.py | staciekith/mental-unload | 93d2ff29e159020c270b8c97b0d6dc97a1ad16e7 | [
"MIT"
] | null | null | null | import pytest
import config
from app import create_app, db
from app.adapters.auth0.auth0_adapter import Auth0Adapter
@pytest.fixture(scope='module')
def app():
app = create_app(config.Test)
with app.app_context():
yield app
@pytest.fixture(scope='module')
def app_db(app):
db.drop_all()
with ... | 20.8 | 66 | 0.682692 | 96 | 728 | 5.020833 | 0.34375 | 0.134855 | 0.186722 | 0.19917 | 0.327801 | 0.124481 | 0 | 0 | 0 | 0 | 0 | 0.00678 | 0.18956 | 728 | 35 | 66 | 20.8 | 0.810169 | 0 | 0 | 0.222222 | 0 | 0 | 0.069959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.148148 | 0.111111 | 0.481481 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
b918a0c57c7a8f88610d0cb7c461bfdc7393cd6e | 356 | py | Python | mail/__init__.py | irahorecka/craigslist-housing-subscription | 389c325dc30526eaed4c2333f5dd4d60d7939a13 | [
"MIT"
] | null | null | null | mail/__init__.py | irahorecka/craigslist-housing-subscription | 389c325dc30526eaed4c2333f5dd4d60d7939a13 | [
"MIT"
] | null | null | null | mail/__init__.py | irahorecka/craigslist-housing-subscription | 389c325dc30526eaed4c2333f5dd4d60d7939a13 | [
"MIT"
] | null | null | null | import os
from ._threading import map_threads
from .send_email import write_email
# Check if environment variables exist for sender email and password
if not os.environ.get("EMAIL_USER") or not os.environ.get("EMAIL_PASS"):
raise ValueError(
"No value for 'EMAIL_USER' and/or 'EMAIL_PASS'. Please configure ... | 35.6 | 102 | 0.761236 | 53 | 356 | 4.962264 | 0.584906 | 0.152091 | 0.091255 | 0.114068 | 0.152091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162921 | 356 | 9 | 103 | 39.555556 | 0.88255 | 0.185393 | 0 | 0 | 0 | 0 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.285714 | 0.428571 | 0 | 0.428571 | 0 | 0 | 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 | 0 | 0 | 0 | 4 |
b9272757bcdff4617c3e6868e50e84a6884af822 | 899 | py | Python | Scoreboard.py | rayman42003/INF123-VVPilot | 6087332f2e53a4651dc97bd9c7142cde0fd9cf48 | [
"MIT"
] | null | null | null | Scoreboard.py | rayman42003/INF123-VVPilot | 6087332f2e53a4651dc97bd9c7142cde0fd9cf48 | [
"MIT"
] | null | null | null | Scoreboard.py | rayman42003/INF123-VVPilot | 6087332f2e53a4651dc97bd9c7142cde0fd9cf48 | [
"MIT"
] | null | null | null | '''
Created on May 19, 2014
@author: john
'''
class scoreboard:
def __init__(self):
self.score_map = {}
def add_player(self, ship):
# tuple is (kills, deaths, score)
self.score_map[ship] = (0, 0, 0)
def on_ship_death(self, ship):
if ship in self.score... | 29.966667 | 76 | 0.548387 | 133 | 899 | 3.503759 | 0.263158 | 0.23176 | 0.309013 | 0.206009 | 0.435622 | 0.375536 | 0.375536 | 0.375536 | 0.375536 | 0.304721 | 0 | 0.034146 | 0.315907 | 899 | 30 | 76 | 29.966667 | 0.723577 | 0.034483 | 0 | 0.222222 | 0 | 0 | 0.019488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.055556 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b969210541a1bf0ad0c156ed21f83acaaec0d2f0 | 90 | py | Python | src/applications/payment/apps.py | luisito666/M2-API-REST | 238837c2cbd0e9aadcce29def0dd9935b888047b | [
"MIT"
] | null | null | null | src/applications/payment/apps.py | luisito666/M2-API-REST | 238837c2cbd0e9aadcce29def0dd9935b888047b | [
"MIT"
] | 3 | 2021-04-08T19:14:52.000Z | 2022-03-12T01:05:15.000Z | src/applications/payment/apps.py | luisito666/M2-API-REST | 238837c2cbd0e9aadcce29def0dd9935b888047b | [
"MIT"
] | 1 | 2020-12-25T20:34:09.000Z | 2020-12-25T20:34:09.000Z | from django.apps import AppConfig
class PaymentsConfig(AppConfig):
name = "payment"
| 15 | 33 | 0.755556 | 10 | 90 | 6.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 5 | 34 | 18 | 0.906667 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b976e62eab69136c5eeefe37eaf317e0167e7a9a | 54 | py | Python | python/testData/formatter/sliceAlignment.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/formatter/sliceAlignment.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/formatter/sliceAlignment.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | xs1 = ys[42:
5:
-1]
xs2 = ys[:
2:
3]
xs3 = ys[::
3]
| 4.909091 | 12 | 0.407407 | 12 | 54 | 1.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0.296296 | 54 | 10 | 13 | 5.4 | 0.315789 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 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 | 4 |
b99f26afc94593832247aafee2b5e1c19669c669 | 212 | py | Python | NoChannelBot/core/models/user.py | tolbiluha/NoChannelBot | b27cdc82facfc9a9b80ab4b3bc846f3bc592f5eb | [
"MIT"
] | 7 | 2021-12-10T20:41:37.000Z | 2021-12-12T21:17:31.000Z | NoChannelBot/core/models/user.py | tolbiluha/NoChannelBot | b27cdc82facfc9a9b80ab4b3bc846f3bc592f5eb | [
"MIT"
] | null | null | null | NoChannelBot/core/models/user.py | tolbiluha/NoChannelBot | b27cdc82facfc9a9b80ab4b3bc846f3bc592f5eb | [
"MIT"
] | 1 | 2022-01-26T07:18:31.000Z | 2022-01-26T07:18:31.000Z | from typing import Optional
from pydantic import BaseModel
class UserModel(BaseModel):
id: int
first_name: str
last_name: Optional[str]
username: Optional[str]
language_code: Optional[str]
| 17.666667 | 32 | 0.731132 | 27 | 212 | 5.62963 | 0.62963 | 0.217105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20283 | 212 | 11 | 33 | 19.272727 | 0.899408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b9a852a942fe0b1aa0c6f8bc83902a5117badc7e | 153 | py | Python | app/objects/models.py | zvyap/gulag | 82babc7f698bf42aeac523f4ea52a87a6c539fe7 | [
"MIT"
] | 10 | 2022-02-07T16:11:39.000Z | 2022-03-13T14:05:37.000Z | app/objects/models.py | Miku-Network/gulag | c6a3835ce138a8d27f7efd764e75466c881e105c | [
"MIT"
] | 26 | 2022-03-15T18:39:10.000Z | 2022-03-31T06:57:06.000Z | app/objects/models.py | Miku-Network/gulag | c6a3835ce138a8d27f7efd764e75466c881e105c | [
"MIT"
] | 6 | 2022-03-20T18:52:31.000Z | 2022-03-30T21:55:16.000Z | from __future__ import annotations
from pydantic import BaseModel
class OsuBeatmapRequestForm(BaseModel):
Filenames: list[str]
Ids: list[int]
| 17 | 39 | 0.777778 | 17 | 153 | 6.764706 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163399 | 153 | 8 | 40 | 19.125 | 0.898438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b9b387c5e14bb651aeb5f4e3f21c907e6dfc6671 | 120 | py | Python | app/__init__.py | lzy-106/reci.tech | a9cf426d9d114febd3e4a4339744a036b9ad1f1d | [
"BSD-3-Clause"
] | null | null | null | app/__init__.py | lzy-106/reci.tech | a9cf426d9d114febd3e4a4339744a036b9ad1f1d | [
"BSD-3-Clause"
] | null | null | null | app/__init__.py | lzy-106/reci.tech | a9cf426d9d114febd3e4a4339744a036b9ad1f1d | [
"BSD-3-Clause"
] | null | null | null | from flask import Flask
app = Flask(__name__)
app.secret_key = "super secret key"
from .controllers import controller
| 17.142857 | 35 | 0.783333 | 17 | 120 | 5.235294 | 0.588235 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 120 | 6 | 36 | 20 | 0.872549 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b9da9bd88f03f9130472df90b01ecb1508f24ce7 | 144 | py | Python | projects/golem_e2e/tests/project_suites/access_suite.py | kangchenwei/keyautotest2 | f980d46cabfc128b2099af3d33968f236923063f | [
"MIT"
] | null | null | null | projects/golem_e2e/tests/project_suites/access_suite.py | kangchenwei/keyautotest2 | f980d46cabfc128b2099af3d33968f236923063f | [
"MIT"
] | null | null | null | projects/golem_e2e/tests/project_suites/access_suite.py | kangchenwei/keyautotest2 | f980d46cabfc128b2099af3d33968f236923063f | [
"MIT"
] | null | null | null |
description = 'Verify the user can access a suite by clicking on it in the suite list.'
apps = {}
def setup(self):
pass
def test(data):
| 14.4 | 87 | 0.680556 | 24 | 144 | 4.083333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 144 | 9 | 88 | 16 | 0.882883 | 0 | 0 | 0 | 0 | 0 | 0.496504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.2 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
6a3589f7ec5ec4c9acf6733265887ec24163d4d5 | 445 | py | Python | src/probnum/filtsmooth/gaussfiltsmooth/__init__.py | feimeng93/probnum | 4e46273c0157d26b9be2a7a415ccf69a3691ec22 | [
"MIT"
] | 1 | 2021-04-14T14:17:12.000Z | 2021-04-14T14:17:12.000Z | src/probnum/filtsmooth/gaussfiltsmooth/__init__.py | jzenn/probnum | cb9e5ec07384913049a312ac62cfec88970f1c8d | [
"MIT"
] | 16 | 2021-03-08T07:25:31.000Z | 2022-03-28T21:05:53.000Z | src/probnum/filtsmooth/gaussfiltsmooth/__init__.py | jzenn/probnum | cb9e5ec07384913049a312ac62cfec88970f1c8d | [
"MIT"
] | 2 | 2022-01-23T14:24:08.000Z | 2022-01-29T01:26:47.000Z | from .extendedkalman import ContinuousEKFComponent, DiscreteEKFComponent, EKFComponent
from .iterated_component import IteratedDiscreteComponent
from .kalman import Kalman
from .kalmanposterior import FilteringPosterior, KalmanPosterior, SmoothingPosterior
from .stoppingcriterion import StoppingCriterion
from .unscente... | 55.625 | 87 | 0.894382 | 35 | 445 | 11.342857 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076404 | 445 | 7 | 88 | 63.571429 | 0.965937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6a3e7bba10f4f73b9bfb2798a491be89207b8b2f | 51 | py | Python | source/lib/test.py | aapooya/new | fe33a706852a6196cc16e99efa439923522e33e2 | [
"Python-2.0",
"OLDAP-2.7"
] | 24 | 2015-04-23T17:38:10.000Z | 2022-02-12T08:49:46.000Z | source/lib/test.py | Zhaoyue-real/Mat2py | fe33a706852a6196cc16e99efa439923522e33e2 | [
"Python-2.0",
"OLDAP-2.7"
] | 2 | 2015-07-20T19:45:11.000Z | 2015-07-20T19:49:11.000Z | source/lib/test.py | Zhaoyue-real/Mat2py | fe33a706852a6196cc16e99efa439923522e33e2 | [
"Python-2.0",
"OLDAP-2.7"
] | 9 | 2015-06-08T16:57:38.000Z | 2022-03-19T16:52:30.000Z | def test(curNode):
print "## Hello, World! ##"
| 17 | 31 | 0.568627 | 6 | 51 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 51 | 2 | 32 | 25.5 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0.372549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6a407fdc204068e742a16ecda85974ce771d78d4 | 172 | py | Python | 4chanbot.py | nattycleopatra/py4chanbot | 5ed9b06bde6641d7ff8204176e4b669768baaabd | [
"MIT"
] | 3 | 2016-07-22T02:55:53.000Z | 2016-12-07T14:55:19.000Z | 4chanbot.py | nattycleopatra/py4chanbot | 5ed9b06bde6641d7ff8204176e4b669768baaabd | [
"MIT"
] | 1 | 2016-07-22T02:53:38.000Z | 2016-07-27T04:04:50.000Z | 4chanbot.py | nattycleopatra/py4chanbot | 5ed9b06bde6641d7ff8204176e4b669768baaabd | [
"MIT"
] | null | null | null | #! /usr/bin/env python3
from py4chanbot import ThreadBot
from configparser import ConfigParser
config = ConfigParser()
config.read('config.cfg')
ThreadBot(config).main()
| 19.111111 | 37 | 0.784884 | 21 | 172 | 6.428571 | 0.619048 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.104651 | 172 | 8 | 38 | 21.5 | 0.863636 | 0.127907 | 0 | 0 | 0 | 0 | 0.067114 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6a465e5e0cab7b397740d0b6a32aedfc11090e12 | 2,308 | py | Python | tests/test_nino.py | ukgovdatascience/scrubadub | 9d742628345f3e8867ccbb9e9e0181540850bb88 | [
"MIT"
] | 1 | 2018-11-19T15:37:46.000Z | 2018-11-19T15:37:46.000Z | tests/test_nino.py | ukgovdatascience/scrubadub | 9d742628345f3e8867ccbb9e9e0181540850bb88 | [
"MIT"
] | 1 | 2018-01-26T17:39:54.000Z | 2018-01-26T17:39:54.000Z | tests/test_nino.py | ukgovdatascience/scrubadub | 9d742628345f3e8867ccbb9e9e0181540850bb88 | [
"MIT"
] | 3 | 2019-08-29T11:53:42.000Z | 2021-04-10T19:51:26.000Z | import unittest
from base import BaseTestCase
class NinoTestCase(unittest.TestCase, BaseTestCase):
"""
Test cases for National Insurance Number (NINO) removal. Also provides
test cases for when nino and name detectors clash.
"""
def test_nino(self):
"""
BEFORE: My nino is AB12131... | 28.85 | 75 | 0.597054 | 291 | 2,308 | 4.584192 | 0.257732 | 0.071964 | 0.095952 | 0.083958 | 0.722639 | 0.706147 | 0.670915 | 0.652924 | 0.652924 | 0.652924 | 0 | 0.030284 | 0.313258 | 2,308 | 79 | 76 | 29.21519 | 0.811356 | 0.437608 | 0 | 0.304348 | 0 | 0 | 0.004073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.347826 | false | 0 | 0.130435 | 0 | 0.521739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 1 | 0 | 0 | 4 |
dbfad1295c1b98516a7744ee0f7b1da578062f17 | 211 | py | Python | runners/abs.py | rudi/chat-app | ce80afdfea43cad366bb8b0ccd6341be9da22fa8 | [
"BSD-2-Clause"
] | 3 | 2019-10-25T11:39:51.000Z | 2020-04-28T18:14:55.000Z | runners/abs.py | rudi/chat-app | ce80afdfea43cad366bb8b0ccd6341be9da22fa8 | [
"BSD-2-Clause"
] | 11 | 2020-04-10T10:09:45.000Z | 2020-05-12T14:49:27.000Z | runners/abs.py | rudi/chat-app | ce80afdfea43cad366bb8b0ccd6341be9da22fa8 | [
"BSD-2-Clause"
] | 5 | 2020-04-08T15:32:46.000Z | 2020-05-08T19:14:25.000Z | from runners.output_parser import OutputParser
def setup(oBenchmarkRunner, cores, phys_cores, scenario, memory):
print("ABS!")
def gnuplot(cores, files, results):
OutputParser(files).parse(cores, results)
| 26.375 | 65 | 0.777251 | 26 | 211 | 6.230769 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109005 | 211 | 7 | 66 | 30.142857 | 0.861702 | 0 | 0 | 0 | 0 | 0 | 0.018957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.6 | 0.2 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
e02d8d2f8386373bdcc48a09d334f2ae706a1c25 | 222 | py | Python | Python Basic Foundation Programs/listoperations2.py | gohulnathv3/Python | 96da0b35c5a4067ed31288f3710735405f058f5d | [
"MIT"
] | null | null | null | Python Basic Foundation Programs/listoperations2.py | gohulnathv3/Python | 96da0b35c5a4067ed31288f3710735405f058f5d | [
"MIT"
] | null | null | null | Python Basic Foundation Programs/listoperations2.py | gohulnathv3/Python | 96da0b35c5a4067ed31288f3710735405f058f5d | [
"MIT"
] | null | null | null | p = [1,2,3,4,5,6,7,8,9]
del p[1:3]
print(p[:])
p.remove(8)
print(p[:])
print(p.pop())
p.clear()
print(p[:])
l=[1,3,4,5,6,7]
l.remove(3)
print(l[:])
l.sort()
print(l[:])
l.reverse()
print(l[:])
l.clear()
print(l[:])
| 8.88 | 23 | 0.518018 | 52 | 222 | 2.211538 | 0.346154 | 0.208696 | 0.182609 | 0.069565 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097436 | 0.121622 | 222 | 24 | 24 | 9.25 | 0.492308 | 0 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.470588 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 4 |
e04087cc9cf4d8ce2cf17245ee344942520ed32d | 91 | py | Python | backend/placeapp/apps.py | Lenend-KPU/LBS-Platform | 75ba24db8969248e74e9d974638977de1c0bc36a | [
"MIT"
] | 15 | 2020-12-23T13:56:49.000Z | 2021-12-10T11:04:23.000Z | backend/placeapp/apps.py | Lenend-KPU/LBS-Platform | 75ba24db8969248e74e9d974638977de1c0bc36a | [
"MIT"
] | 41 | 2021-03-19T07:51:48.000Z | 2021-11-22T09:45:46.000Z | backend/placeapp/apps.py | Lenend-KPU/LBS-Platform | 75ba24db8969248e74e9d974638977de1c0bc36a | [
"MIT"
] | 3 | 2021-03-24T15:18:24.000Z | 2021-09-11T14:51:35.000Z | from django.apps import AppConfig
class PlaceappConfig(AppConfig):
name = 'placeapp'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e05669c42c27bdf4523636ea6d4321cb07d3fc4e | 261 | py | Python | nexoclom/solarsystem/__init__.py | mburger-stsci/NExoCloM | c0c81eeb04c5571662f3d86337d84a18f1cd0dcf | [
"BSD-3-Clause"
] | null | null | null | nexoclom/solarsystem/__init__.py | mburger-stsci/NExoCloM | c0c81eeb04c5571662f3d86337d84a18f1cd0dcf | [
"BSD-3-Clause"
] | null | null | null | nexoclom/solarsystem/__init__.py | mburger-stsci/NExoCloM | c0c81eeb04c5571662f3d86337d84a18f1cd0dcf | [
"BSD-3-Clause"
] | 1 | 2018-11-23T20:55:33.000Z | 2018-11-23T20:55:33.000Z | from nexoclom.solarsystem.SSObject import SSObject
from nexoclom.solarsystem.planet_dist import planet_dist
from nexoclom.solarsystem.planet_geometry import planet_geometry
__name__ = 'solarsystem'
__author__ = 'Matthew Burger'
__email__ = 'mburger@stsci.edu'
| 32.625 | 64 | 0.846743 | 31 | 261 | 6.612903 | 0.516129 | 0.17561 | 0.336585 | 0.282927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088123 | 261 | 7 | 65 | 37.285714 | 0.861345 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e05d4b6da00c48e3456be80d1354bef3db028344 | 392 | py | Python | smarty/__init__.py | openforcefield/smarty | 882d54b6d6d0fada748c71789964b07be2210a6a | [
"MIT"
] | 10 | 2018-03-29T15:31:50.000Z | 2022-02-17T14:04:37.000Z | smarty/__init__.py | openforcefield/smarty | 882d54b6d6d0fada748c71789964b07be2210a6a | [
"MIT"
] | 14 | 2017-11-22T21:27:25.000Z | 2019-01-24T04:50:42.000Z | smarty/__init__.py | openforcefield/smarty | 882d54b6d6d0fada748c71789964b07be2210a6a | [
"MIT"
] | 2 | 2019-03-05T22:52:26.000Z | 2022-02-17T14:05:06.000Z | try:
import openeye
# These can only be imported if openeye tools are available
from smarty.atomtyper import *
from smarty.sampler import *
from smarty.utils import *
from smarty.sampler_smirky import *
except Exception as e:
print(e)
print('Warning: Cannot import openeye toolkit; not a... | 28 | 93 | 0.729592 | 53 | 392 | 5.358491 | 0.584906 | 0.176056 | 0.169014 | 0.161972 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 392 | 13 | 94 | 30.153846 | 0.922078 | 0.145408 | 0 | 0 | 0 | 0 | 0.24024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.7 | 0 | 0.7 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0ebab5b6ba33572e99dc11309f3cbc445ef8a28f | 380 | py | Python | ex08.py | Rajab322/lpthw | bde26ca21bd1c72807c93fff15a45a1154ba59d7 | [
"MIT"
] | 329 | 2017-02-25T15:06:58.000Z | 2022-03-31T18:22:21.000Z | ex8.py | dkorzhevin/learn-python3-thw-code | bea1e954d52ed845c3ade7ed87d7bef7de1651ad | [
"MIT"
] | 10 | 2017-02-26T13:55:38.000Z | 2020-02-20T06:10:26.000Z | ex8.py | dkorzhevin/learn-python3-thw-code | bea1e954d52ed845c3ade7ed87d7bef7de1651ad | [
"MIT"
] | 180 | 2017-02-25T20:42:03.000Z | 2022-02-09T05:21:40.000Z | formatter = "{} {} {} {}"
print(formatter.format(1, 2, 3, 4))
print(formatter.format("one", "two", "three", "four"))
print(formatter.format(True, False, False, True))
print(formatter.format(formatter, formatter, formatter, formatter))
print(formatter.format(
"I had this thing.",
"That you could type up right."... | 27.142857 | 67 | 0.652632 | 51 | 380 | 4.862745 | 0.607843 | 0.282258 | 0.403226 | 0.233871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.157895 | 380 | 13 | 68 | 29.230769 | 0.7625 | 0 | 0 | 0 | 0 | 0 | 0.292876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.454545 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0ed9e460df06db0d9eb0489f4da0eb68ba0c4502 | 94 | py | Python | Quiz.py | LordEldak/Vampy-2017-CS | 0754f166c2825c4f9afebb9ddad11ad2bd176133 | [
"MIT"
] | null | null | null | Quiz.py | LordEldak/Vampy-2017-CS | 0754f166c2825c4f9afebb9ddad11ad2bd176133 | [
"MIT"
] | null | null | null | Quiz.py | LordEldak/Vampy-2017-CS | 0754f166c2825c4f9afebb9ddad11ad2bd176133 | [
"MIT"
] | null | null | null | answer = input("What food do you prefer? A: Pizza B: Chicken C: Hamburgers")
if answer == "A"
| 31.333333 | 76 | 0.680851 | 16 | 94 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180851 | 94 | 2 | 77 | 47 | 0.831169 | 0 | 0 | 0 | 0 | 0 | 0.62766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0ee2773c5b2de9a4ee3e33798b45e1c39570fc9b | 251 | py | Python | active_learning/query_strats/regression/__init__.py | WardLT/active-learning | 289f2ef28f6376d697d435014ad03a4e1c0a8ae5 | [
"Apache-2.0"
] | null | null | null | active_learning/query_strats/regression/__init__.py | WardLT/active-learning | 289f2ef28f6376d697d435014ad03a4e1c0a8ae5 | [
"Apache-2.0"
] | null | null | null | active_learning/query_strats/regression/__init__.py | WardLT/active-learning | 289f2ef28f6376d697d435014ad03a4e1c0a8ae5 | [
"Apache-2.0"
] | 1 | 2019-04-29T15:33:52.000Z | 2019-04-29T15:33:52.000Z | """Query strategies specific to regression problems"""
from .greedy import GreedySelection
from .mcal_regression import MCALSelection
from .uncertainty import UncertaintySampling
__all__ = ['GreedySelection', 'MCALSelection', 'UncertaintySampling']
| 31.375 | 69 | 0.820717 | 23 | 251 | 8.73913 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099602 | 251 | 7 | 70 | 35.857143 | 0.889381 | 0.191235 | 0 | 0 | 0 | 0 | 0.238579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0ef20565be9370febdc2a6f0617af9c1ebd6525f | 194 | py | Python | __init__.py | tjpell/ezencoder | b30433cf1f96204acd6c844312bc6e61fe5f3165 | [
"MIT"
] | 2 | 2018-04-07T04:09:45.000Z | 2018-07-30T20:30:53.000Z | __init__.py | tjpell/ezencoder | b30433cf1f96204acd6c844312bc6e61fe5f3165 | [
"MIT"
] | null | null | null | __init__.py | tjpell/ezencoder | b30433cf1f96204acd6c844312bc6e61fe5f3165 | [
"MIT"
] | null | null | null | from ezencoder.target import TargetEncoder
from ezencoder.unknown import UnknownEncoder
from ezencoder.cyclic import CyclicEncoder
__all__ = (target.__all__ + unknown.__all__ + cyclic.__all__) | 32.333333 | 61 | 0.840206 | 22 | 194 | 6.681818 | 0.454545 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 194 | 6 | 61 | 32.333333 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0efaf6e60b7c666e84bbef04126d98e91cf1ec00 | 9,394 | py | Python | mkt/reviewers/tests/test_tasks.py | acidburn0zzz/zamboni | 780fbeb99e240a569a72a1c15410f49b76b3807c | [
"BSD-3-Clause"
] | 1 | 2017-07-14T19:22:39.000Z | 2017-07-14T19:22:39.000Z | mkt/reviewers/tests/test_tasks.py | Acidburn0zzz/zamboni | 780fbeb99e240a569a72a1c15410f49b76b3807c | [
"BSD-3-Clause"
] | 6 | 2021-02-02T23:08:48.000Z | 2021-09-08T02:47:17.000Z | mkt/reviewers/tests/test_tasks.py | Acidburn0zzz/zamboni | 780fbeb99e240a569a72a1c15410f49b76b3807c | [
"BSD-3-Clause"
] | null | null | null | import datetime
from django.conf import settings
import mock
from nose.tools import eq_
import amo
from abuse.models import AbuseReport
from amo.tasks import find_abuse_escalations, find_refund_escalations
from amo.tests import app_factory
from devhub.models import AppLog
from editors.models import EscalationQueue
f... | 41.38326 | 79 | 0.65776 | 1,192 | 9,394 | 5.04698 | 0.145973 | 0.077959 | 0.075798 | 0.102394 | 0.769781 | 0.72889 | 0.718418 | 0.70861 | 0.694315 | 0.686336 | 0 | 0.011657 | 0.232915 | 9,394 | 226 | 80 | 41.566372 | 0.823203 | 0.120077 | 0 | 0.679245 | 0 | 0 | 0.02707 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 1 | 0.106918 | false | 0 | 0.081761 | 0 | 0.213836 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
16097f3ea9cc9e964c39493c4541089fd4cedba5 | 178 | py | Python | bnn_mcmc_examples/datasets/pima/data1/constants.py | papamarkou/bnn_mcmc_examples | 7bb4ecfb33db4c30a8e61e31f528bda0efb24e3d | [
"MIT"
] | 1 | 2021-09-09T15:55:37.000Z | 2021-09-09T15:55:37.000Z | bnn_mcmc_examples/datasets/pima/data1/constants.py | kushagragpt99/bnn_mcmc_examples | 297cdb1e74335860989bebdb4ff6f6322b6adc06 | [
"MIT"
] | null | null | null | bnn_mcmc_examples/datasets/pima/data1/constants.py | kushagragpt99/bnn_mcmc_examples | 297cdb1e74335860989bebdb4ff6f6322b6adc06 | [
"MIT"
] | 1 | 2021-10-05T06:38:57.000Z | 2021-10-05T06:38:57.000Z | # %% Import packages
from bnn_mcmc_examples.datasets import data_paths
# %% Define constants
data_base_name = 'data1'
data_path = data_paths['pima'].joinpath(data_base_name)
| 17.8 | 55 | 0.775281 | 25 | 178 | 5.16 | 0.68 | 0.139535 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.123596 | 178 | 9 | 56 | 19.777778 | 0.820513 | 0.213483 | 0 | 0 | 0 | 0 | 0.065693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
161934b58f7c1472bf59a0ac5c87867facc9a02e | 304 | py | Python | testing/example_scripts/fixtures/custom_item/conftest.py | JarnoRFB/pytest | 44cd8a3a86354b2b686d0b64f2ac328aca574bc7 | [
"MIT"
] | 2,479 | 2018-05-28T14:51:29.000Z | 2022-03-30T14:41:18.000Z | testing/example_scripts/fixtures/custom_item/conftest.py | JarnoRFB/pytest | 44cd8a3a86354b2b686d0b64f2ac328aca574bc7 | [
"MIT"
] | 7,642 | 2018-05-28T09:38:03.000Z | 2022-03-31T20:55:48.000Z | testing/example_scripts/fixtures/custom_item/conftest.py | JarnoRFB/pytest | 44cd8a3a86354b2b686d0b64f2ac328aca574bc7 | [
"MIT"
] | 1,303 | 2018-05-29T14:50:02.000Z | 2022-03-30T17:30:42.000Z | import pytest
class CustomItem(pytest.Item):
def runtest(self):
pass
class CustomFile(pytest.File):
def collect(self):
yield CustomItem.from_parent(name="foo", parent=self)
def pytest_collect_file(path, parent):
return CustomFile.from_parent(fspath=path, parent=parent)
| 19 | 61 | 0.717105 | 39 | 304 | 5.487179 | 0.512821 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177632 | 304 | 15 | 62 | 20.266667 | 0.856 | 0 | 0 | 0 | 0 | 0 | 0.009868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.111111 | 0.111111 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
162f5f00bdafff9bedea86a762cc350c5f2a7389 | 143 | py | Python | Practice/Python/SetAdd().py | avantikasharma/HackerRank-Solutions | a980859ac352688853fcbcf3c7ec6d95685f99ea | [
"MIT"
] | 1 | 2018-07-08T15:44:15.000Z | 2018-07-08T15:44:15.000Z | Practice/Python/SetAdd().py | avantikasharma/HackerRank-Solutions | a980859ac352688853fcbcf3c7ec6d95685f99ea | [
"MIT"
] | null | null | null | Practice/Python/SetAdd().py | avantikasharma/HackerRank-Solutions | a980859ac352688853fcbcf3c7ec6d95685f99ea | [
"MIT"
] | 2 | 2018-08-10T06:49:34.000Z | 2020-10-01T04:50:59.000Z | # Enter your code here. Read input from STDIN. Print output to STDOUT
n=input()
s=set()
for i in range(n):
s.add(raw_input())
print len(s)
| 20.428571 | 69 | 0.685315 | 28 | 143 | 3.464286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 143 | 6 | 70 | 23.833333 | 0.82906 | 0.468531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.