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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e8fda128e2efa4b244ac1cf7137a78a40bc85cf6 | 18 | py | Python | Lib/test/test_compiler/testcorpus/03_list_ex.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 1,886 | 2021-05-03T23:58:43.000Z | 2022-03-31T19:15:58.000Z | Lib/test/test_compiler/testcorpus/03_list_ex.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 70 | 2021-05-04T23:25:35.000Z | 2022-03-31T18:42:08.000Z | Lib/test/test_compiler/testcorpus/03_list_ex.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 52 | 2021-05-04T21:26:03.000Z | 2022-03-08T18:02:56.000Z | [a, *b, *d, a, c]
| 9 | 17 | 0.277778 | 5 | 18 | 1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 18 | 1 | 18 | 18 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3302a01c98ac3067b3004d4adaf059a5754a7cb4 | 40,517 | py | Python | covid_epidemiology/src/models/definitions/us_model_definitions_test.py | DionysisChristopoulos/google-research | 7f59ef421beef32ca16c2a7215be74f7eba01a0f | [
"Apache-2.0"
] | 23,901 | 2018-10-04T19:48:53.000Z | 2022-03-31T21:27:42.000Z | covid_epidemiology/src/models/definitions/us_model_definitions_test.py | DionysisChristopoulos/google-research | 7f59ef421beef32ca16c2a7215be74f7eba01a0f | [
"Apache-2.0"
] | 891 | 2018-11-10T06:16:13.000Z | 2022-03-31T10:42:34.000Z | covid_epidemiology/src/models/definitions/us_model_definitions_test.py | admariner/google-research | 7cee4b22b925581d912e8d993625c180da2a5a4f | [
"Apache-2.0"
] | 6,047 | 2018-10-12T06:31:02.000Z | 2022-03-31T13:59:28.000Z | # coding=utf-8
# Copyright 2021 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | 33.02119 | 79 | 0.549991 | 4,041 | 40,517 | 5.195744 | 0.069042 | 0.08173 | 0.127643 | 0.091446 | 0.904744 | 0.860497 | 0.831539 | 0.800819 | 0.768194 | 0.750762 | 0 | 0.083872 | 0.327591 | 40,517 | 1,226 | 80 | 33.048124 | 0.686793 | 0.017696 | 0 | 0.655905 | 0 | 0 | 0.166369 | 0 | 0 | 0 | 0 | 0 | 0.011045 | 1 | 0.009346 | false | 0 | 0.004248 | 0 | 0.015293 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
331428924c4ed8d0a00e88d52d47d78f60ddad84 | 18,059 | py | Python | sdk/python/pulumi_rancher2/auth_config_free_ipa.py | mitchellmaler/pulumi-rancher2 | e6ca44b58b5b10c12a4e628e61aa8d98330f0863 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_rancher2/auth_config_free_ipa.py | mitchellmaler/pulumi-rancher2 | e6ca44b58b5b10c12a4e628e61aa8d98330f0863 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_rancher2/auth_config_free_ipa.py | mitchellmaler/pulumi-rancher2 | e6ca44b58b5b10c12a4e628e61aa8d98330f0863 | [
"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 json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from . import utilities, tables
class AuthCon... | 57.512739 | 793 | 0.710726 | 2,157 | 18,059 | 5.593417 | 0.097821 | 0.054704 | 0.076917 | 0.059843 | 0.804393 | 0.750269 | 0.714712 | 0.675176 | 0.657522 | 0.636966 | 0 | 0.002617 | 0.195803 | 18,059 | 313 | 794 | 57.696486 | 0.828135 | 0.369345 | 0 | 0.014706 | 1 | 0 | 0.171169 | 0.075142 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029412 | false | 0.058824 | 0.044118 | 0.014706 | 0.323529 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
332881ff5598bbae0500a31fe196a9fb57551da4 | 122 | py | Python | tests/check_profile.py | justengel/pybk8500 | 6a9748033c783a0081ec391359067dfb9dc83760 | [
"MIT"
] | null | null | null | tests/check_profile.py | justengel/pybk8500 | 6a9748033c783a0081ec391359067dfb9dc83760 | [
"MIT"
] | null | null | null | tests/check_profile.py | justengel/pybk8500 | 6a9748033c783a0081ec391359067dfb9dc83760 | [
"MIT"
] | null | null | null | from pybk8500.run_profile import main
# python -m pybk8500.run_profile "./check_profile.csv"
main('./check_profile.csv')
| 24.4 | 54 | 0.778689 | 18 | 122 | 5.055556 | 0.555556 | 0.241758 | 0.395604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072072 | 0.090164 | 122 | 4 | 55 | 30.5 | 0.747748 | 0.42623 | 0 | 0 | 0 | 0 | 0.279412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3355b9121c87a85325bb532b9bb103d7d5260216 | 21 | py | Python | kn3/__init__.py | zodman/kn3 | 11cc69196069e1fda723fc896e17ea79901ff6c2 | [
"BSD-3-Clause"
] | null | null | null | kn3/__init__.py | zodman/kn3 | 11cc69196069e1fda723fc896e17ea79901ff6c2 | [
"BSD-3-Clause"
] | null | null | null | kn3/__init__.py | zodman/kn3 | 11cc69196069e1fda723fc896e17ea79901ff6c2 | [
"BSD-3-Clause"
] | null | null | null | from .kn3 import Kn3
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.190476 | 21 | 1 | 21 | 21 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
33560daf1e366b58a3eb75f066c5c7c9297acc0e | 25 | py | Python | Templates/FuncApp-Http-sql-Example/tools/__init__.py | mmaysami/azure-functions-python | e97b29204af83bc1fc81b886f841fe7b7bc0c8a3 | [
"MIT"
] | null | null | null | Templates/FuncApp-Http-sql-Example/tools/__init__.py | mmaysami/azure-functions-python | e97b29204af83bc1fc81b886f841fe7b7bc0c8a3 | [
"MIT"
] | null | null | null | Templates/FuncApp-Http-sql-Example/tools/__init__.py | mmaysami/azure-functions-python | e97b29204af83bc1fc81b886f841fe7b7bc0c8a3 | [
"MIT"
] | null | null | null | from .tools_math import * | 25 | 25 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
336416883cf2fdc18bbc73b2302d4c934a8dec43 | 39,499 | py | Python | tensorflow_version/net/generator.py | TijmenKort/blindinpainting_vcnet | d1a5467a6beec16450a6ef304ab26c88f4293cb5 | [
"MIT"
] | 40 | 2020-07-31T06:16:37.000Z | 2022-03-14T12:55:54.000Z | tensorflow_version/net/generator.py | TijmenKort/blindinpainting_vcnet | d1a5467a6beec16450a6ef304ab26c88f4293cb5 | [
"MIT"
] | 6 | 2020-07-23T20:52:36.000Z | 2021-05-20T01:38:58.000Z | tensorflow_version/net/generator.py | TijmenKort/blindinpainting_vcnet | d1a5467a6beec16450a6ef304ab26c88f4293cb5 | [
"MIT"
] | 7 | 2020-09-14T14:08:08.000Z | 2022-03-11T14:53:25.000Z | import tensorflow as tf
from net.ops import *
from net.loss import *
from util.util import f2uint
from functools import partial, reduce
from abc import abstractmethod, ABC as AbstractBaseClass
from tensorflow.contrib.framework.python.ops import arg_scope
class BaseNetwork(AbstractBaseClass):
def __init__(self, co... | 53.018792 | 130 | 0.575458 | 5,852 | 39,499 | 3.708476 | 0.050239 | 0.021749 | 0.025067 | 0.026956 | 0.889918 | 0.872316 | 0.860059 | 0.831029 | 0.804995 | 0.75629 | 0 | 0.051422 | 0.283146 | 39,499 | 744 | 131 | 53.090054 | 0.715027 | 0.027823 | 0 | 0.580372 | 0 | 0 | 0.076516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043993 | false | 0.003384 | 0.011844 | 0.001692 | 0.096447 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6847bed2af0e51e2757b804411e0db73023f67d1 | 112 | py | Python | internal/devel/lib/python2.7/dist-packages/pose_graph_msgs/msg/__init__.py | rishabhraaj17/blam_updates | a7fff0d29d99d51d02128af56d504c242e4cdfa9 | [
"BSD-3-Clause"
] | null | null | null | internal/devel/lib/python2.7/dist-packages/pose_graph_msgs/msg/__init__.py | rishabhraaj17/blam_updates | a7fff0d29d99d51d02128af56d504c242e4cdfa9 | [
"BSD-3-Clause"
] | null | null | null | internal/devel/lib/python2.7/dist-packages/pose_graph_msgs/msg/__init__.py | rishabhraaj17/blam_updates | a7fff0d29d99d51d02128af56d504c242e4cdfa9 | [
"BSD-3-Clause"
] | null | null | null | from ._KeyedScan import *
from ._PoseGraph import *
from ._PoseGraphEdge import *
from ._PoseGraphNode import *
| 22.4 | 29 | 0.785714 | 12 | 112 | 7 | 0.5 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 112 | 4 | 30 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6863c550eaec3bc0ea1d7a84d8bb3e36970a474b | 108 | py | Python | model/__init__.py | Cppowboy/StaticHyperNetwork | 63c9cc17d1ebf9809129e736bbfddf1bf0374fdd | [
"Apache-2.0"
] | null | null | null | model/__init__.py | Cppowboy/StaticHyperNetwork | 63c9cc17d1ebf9809129e736bbfddf1bf0374fdd | [
"Apache-2.0"
] | null | null | null | model/__init__.py | Cppowboy/StaticHyperNetwork | 63c9cc17d1ebf9809129e736bbfddf1bf0374fdd | [
"Apache-2.0"
] | null | null | null | from model.utils import ConvWeight
from model.simple_cnn import SimpleCNN
from model.resnet import Resnet50
| 27 | 38 | 0.861111 | 16 | 108 | 5.75 | 0.625 | 0.293478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.111111 | 108 | 3 | 39 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
688f22d0e1b6bb772f8cf5ff99bd5fa66b91b241 | 38 | py | Python | napari/_vispy/__init__.py | ctrueden/napari | 4096e71b7e1fa041a62f4ac2f6853fba60c93e52 | [
"BSD-3-Clause"
] | null | null | null | napari/_vispy/__init__.py | ctrueden/napari | 4096e71b7e1fa041a62f4ac2f6853fba60c93e52 | [
"BSD-3-Clause"
] | 1 | 2019-09-18T22:59:55.000Z | 2019-09-23T16:41:08.000Z | napari/_vispy/__init__.py | ctrueden/napari | 4096e71b7e1fa041a62f4ac2f6853fba60c93e52 | [
"BSD-3-Clause"
] | null | null | null | from .util import create_vispy_visual
| 19 | 37 | 0.868421 | 6 | 38 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
68a08c87197128f30e06562b35b1dd84523134f1 | 70 | py | Python | starter_code/api_keys.py | BluecellChen/python-api-challenge | 2f4f13ab30605e79f99da006ec540354e6af6690 | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | BluecellChen/python-api-challenge | 2f4f13ab30605e79f99da006ec540354e6af6690 | [
"ADSL"
] | null | null | null | starter_code/api_keys.py | BluecellChen/python-api-challenge | 2f4f13ab30605e79f99da006ec540354e6af6690 | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
api_key = "0bd030fc740da7bfa74a2132d1baafb2"
| 23.333333 | 44 | 0.842857 | 6 | 70 | 9.666667 | 0.666667 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253968 | 0.1 | 70 | 2 | 45 | 35 | 0.666667 | 0.314286 | 0 | 0 | 0 | 0 | 0.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 6 |
d7b0dc38b54c0dc4623e901d22cfa8220851fda2 | 87 | py | Python | app/goods/__init__.py | NamelessAshone/trade_system | f4fbd14f84962a22aef41a719d3996d8cd691148 | [
"MIT"
] | 2 | 2018-09-07T02:39:37.000Z | 2018-10-18T13:59:38.000Z | app/goods/__init__.py | NamelessAshone/trade_system | f4fbd14f84962a22aef41a719d3996d8cd691148 | [
"MIT"
] | null | null | null | app/goods/__init__.py | NamelessAshone/trade_system | f4fbd14f84962a22aef41a719d3996d8cd691148 | [
"MIT"
] | null | null | null | from flask import Blueprint
goods = Blueprint('goods', __name__)
from . import views
| 14.5 | 36 | 0.758621 | 11 | 87 | 5.636364 | 0.636364 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 87 | 5 | 37 | 17.4 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
d7fe8996816705351d67f426580a66f8062e2e68 | 168 | py | Python | reforms/fields/__init__.py | boardpack/reforms | 34121cf4d140ed5753e6b2f5b4a4086587d06c81 | [
"MIT"
] | 14 | 2021-08-13T22:37:04.000Z | 2022-03-25T15:30:13.000Z | reforms/fields/__init__.py | boardpack/reforms | 34121cf4d140ed5753e6b2f5b4a4086587d06c81 | [
"MIT"
] | 22 | 2021-06-22T23:41:11.000Z | 2022-03-01T04:05:51.000Z | reforms/fields/__init__.py | boardpack/reforms | 34121cf4d140ed5753e6b2f5b4a4086587d06c81 | [
"MIT"
] | 2 | 2021-09-02T00:27:24.000Z | 2021-11-20T21:43:00.000Z | from .base import BaseField
from .bool_field import BooleanField
from .email_field import EmailField
from .hidden import HiddenField
from .str_field import StringField
| 28 | 36 | 0.85119 | 23 | 168 | 6.086957 | 0.565217 | 0.235714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 168 | 5 | 37 | 33.6 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cc1171fe9758f744aae0836bc3551c72efdaa743 | 34 | py | Python | pydemo/__init__.py | ciiseven/pydemo | 789cc4b26d05c9faf856f6f0ee3956f47c034155 | [
"MIT"
] | null | null | null | pydemo/__init__.py | ciiseven/pydemo | 789cc4b26d05c9faf856f6f0ee3956f47c034155 | [
"MIT"
] | null | null | null | pydemo/__init__.py | ciiseven/pydemo | 789cc4b26d05c9faf856f6f0ee3956f47c034155 | [
"MIT"
] | null | null | null | from .pydemo import version, demo
| 17 | 33 | 0.794118 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cc274bb2b2a2bff06d504b9789bc03f433514768 | 11,339 | py | Python | tests/test_logic.py | masaminh/keiba_fetcher | ff386ba5ee0ac15cd36f8707258051538f781d0c | [
"MIT"
] | null | null | null | tests/test_logic.py | masaminh/keiba_fetcher | ff386ba5ee0ac15cd36f8707258051538f781d0c | [
"MIT"
] | 5 | 2021-03-31T19:29:03.000Z | 2022-03-26T07:11:53.000Z | tests/test_logic.py | masaminh/keiba_fetcher | ff386ba5ee0ac15cd36f8707258051538f781d0c | [
"MIT"
] | null | null | null | """logicのテスト."""
from datetime import datetime, timezone
from unittest import mock
import src.logic as logic
def test_entry():
"""entry()のテスト."""
with mock.patch('src.logic.main_loop') as n:
logic.entry(
'QUEUE',
'BUCKET',
datetime(
2019,
... | 36.814935 | 79 | 0.600053 | 1,532 | 11,339 | 4.280026 | 0.094648 | 0.057038 | 0.041635 | 0.038432 | 0.877535 | 0.844289 | 0.808296 | 0.755833 | 0.746835 | 0.699558 | 0 | 0.045486 | 0.226387 | 11,339 | 307 | 80 | 36.934853 | 0.702006 | 0.042155 | 0 | 0.625 | 0 | 0.081897 | 0.277566 | 0.130608 | 0 | 0 | 0 | 0 | 0.159483 | 1 | 0.077586 | false | 0 | 0.012931 | 0 | 0.090517 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0403ddfadb6c37d892449d0f4f5e3d1604b419f4 | 198 | py | Python | widgets/custombutton.py | JOSBEAK/HangMan-Project | 07233d4a44b3bdaedb1615f0b92d48e5fef50f5b | [
"MIT"
] | 16 | 2021-08-31T04:00:51.000Z | 2022-02-11T00:35:35.000Z | widgets/custombutton.py | JOSBEAK/HangMan-Project | 07233d4a44b3bdaedb1615f0b92d48e5fef50f5b | [
"MIT"
] | null | null | null | widgets/custombutton.py | JOSBEAK/HangMan-Project | 07233d4a44b3bdaedb1615f0b92d48e5fef50f5b | [
"MIT"
] | 1 | 2021-09-25T07:05:07.000Z | 2021-09-25T07:05:07.000Z | from kivymd.uix.button import MDFillRoundFlatIconButton
from kivy.lang.builder import Builder
Builder.load_file('widgets/custombutton.kv')
class CustomButton(MDFillRoundFlatIconButton):
pass
| 22 | 55 | 0.833333 | 22 | 198 | 7.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09596 | 198 | 8 | 56 | 24.75 | 0.916201 | 0 | 0 | 0 | 0 | 0 | 0.116162 | 0.116162 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0423d27e4dba0cfdf8f24d7759d3f79457a99731 | 182 | py | Python | mmhuman3d/data/data_converters/builder.py | ykk648/mmhuman3d | 26af92bcf6abbe1855e1a8a48308621410f9c047 | [
"Apache-2.0"
] | 472 | 2021-12-03T03:12:55.000Z | 2022-03-31T01:33:13.000Z | mmhuman3d/data/data_converters/builder.py | ykk648/mmhuman3d | 26af92bcf6abbe1855e1a8a48308621410f9c047 | [
"Apache-2.0"
] | 127 | 2021-12-03T05:00:14.000Z | 2022-03-31T13:47:33.000Z | mmhuman3d/data/data_converters/builder.py | ykk648/mmhuman3d | 26af92bcf6abbe1855e1a8a48308621410f9c047 | [
"Apache-2.0"
] | 37 | 2021-12-03T03:23:22.000Z | 2022-03-31T08:41:58.000Z | from mmcv.utils import Registry
DATA_CONVERTERS = Registry('data_converters')
def build_data_converter(cfg):
"""Build data converter."""
return DATA_CONVERTERS.build(cfg)
| 20.222222 | 45 | 0.758242 | 23 | 182 | 5.782609 | 0.521739 | 0.315789 | 0.330827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137363 | 182 | 8 | 46 | 22.75 | 0.847134 | 0.115385 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
f0cd913c517f7c74c65a7c557230c8ef807f17c9 | 248 | py | Python | avanzapy/warrant.py | alrevuelta/avanzapy | 5a723607a3e1b5028172239372bb51ad6ac9978e | [
"MIT"
] | 2 | 2021-04-15T13:34:52.000Z | 2021-08-24T17:32:26.000Z | avanzapy/warrant.py | alrevuelta/avanzapy | 5a723607a3e1b5028172239372bb51ad6ac9978e | [
"MIT"
] | null | null | null | avanzapy/warrant.py | alrevuelta/avanzapy | 5a723607a3e1b5028172239372bb51ad6ac9978e | [
"MIT"
] | 1 | 2022-02-03T08:30:44.000Z | 2022-02-03T08:30:44.000Z | from avanzapy.instrument import Instrument
from avanzapy.constants import InstrumentType
class Warrant(Instrument):
def __init__(self, raw_data, historical_data=[]):
super().__init__(InstrumentType.WARRANT, raw_data, historical_data)
| 31 | 75 | 0.790323 | 28 | 248 | 6.571429 | 0.535714 | 0.130435 | 0.184783 | 0.228261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 248 | 7 | 76 | 35.428571 | 0.847926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9bc51c3299f2f01bf178836d259ed6ec983954ab | 873 | py | Python | venv/Lib/site-packages/tensorflow/estimator/export/__init__.py | caiovini/Image_reader_api | 7fae630a17195d3415eb739278ef21a3b58cae76 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/tensorflow/estimator/export/__init__.py | caiovini/Image_reader_api | 7fae630a17195d3415eb739278ef21a3b58cae76 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/tensorflow/estimator/export/__init__.py | caiovini/Image_reader_api | 7fae630a17195d3415eb739278ef21a3b58cae76 | [
"MIT"
] | null | null | null | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/tools/api/generator/create_python_api.py script.
"""Public API for tf.estimator.export namespace.
"""
from __future__ import print_function
from tensorflow.python.estimator.export.export import ServingInputReceiver
from tensorflow.python.estima... | 48.5 | 93 | 0.870561 | 112 | 873 | 6.589286 | 0.383929 | 0.182927 | 0.216802 | 0.314363 | 0.598916 | 0.598916 | 0.598916 | 0.471545 | 0.170732 | 0.170732 | 0 | 0 | 0.069874 | 873 | 17 | 94 | 51.352941 | 0.908867 | 0.189003 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.9 | 0 | 0.9 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9bd8a3c6f6f2e8d599b10b081ace166e5eacf4a3 | 33 | py | Python | twcloud/__init__.py | minimaxir/twcloud | 0251b4872fa17e342db3fdf280aa21d8909e94e4 | [
"MIT"
] | 77 | 2019-11-27T15:54:55.000Z | 2021-06-17T00:25:22.000Z | twcloud/__init__.py | minimaxir/twcloud | 0251b4872fa17e342db3fdf280aa21d8909e94e4 | [
"MIT"
] | 1 | 2021-04-30T06:46:50.000Z | 2021-04-30T06:46:50.000Z | twcloud/__init__.py | minimaxir/twcloud | 0251b4872fa17e342db3fdf280aa21d8909e94e4 | [
"MIT"
] | 3 | 2019-12-20T09:37:41.000Z | 2021-05-14T10:26:04.000Z | from .twcloud import gen_twcloud
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5009a69dc629fb31b5e3b8ac2dbeaeba0175c7ae | 85 | py | Python | dame_flame/utils/__init__.py | saksham-jain01/DAME-FLAME-Python-Package | 1362baeadc05cf7ba368e40b0f2873c758c0c515 | [
"MIT"
] | 43 | 2020-08-10T20:51:49.000Z | 2022-03-09T08:50:37.000Z | dame_flame/utils/__init__.py | saksham-jain01/DAME-FLAME-Python-Package | 1362baeadc05cf7ba368e40b0f2873c758c0c515 | [
"MIT"
] | 31 | 2020-02-11T20:29:26.000Z | 2022-02-26T10:08:17.000Z | dame_flame/utils/__init__.py | saksham-jain01/DAME-FLAME-Python-Package | 1362baeadc05cf7ba368e40b0f2873c758c0c515 | [
"MIT"
] | 22 | 2020-05-07T23:53:53.000Z | 2021-08-05T14:41:59.000Z | """
__init__ file within utils
"""
from . import post_processing
from . import data
| 12.142857 | 29 | 0.729412 | 11 | 85 | 5.181818 | 0.818182 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 6 | 30 | 14.166667 | 0.814286 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac9144137fc8d175f7109d97ce9bb79fac869f41 | 163 | py | Python | api-v2/ContactForm/admin.py | MikeChurvis/mikechurvis.github.io | 4271e5bb555f4ea1d6781f50b4344eb3bec1761c | [
"MIT"
] | 1 | 2022-01-26T16:58:40.000Z | 2022-01-26T16:58:40.000Z | api-v2/ContactForm/admin.py | MikeChurvis/mikechurvis.github.io | 4271e5bb555f4ea1d6781f50b4344eb3bec1761c | [
"MIT"
] | null | null | null | api-v2/ContactForm/admin.py | MikeChurvis/mikechurvis.github.io | 4271e5bb555f4ea1d6781f50b4344eb3bec1761c | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import ContactFormEntry
@admin.register(ContactFormEntry)
class ContactFormEntryAdmin(admin.ModelAdmin):
pass
| 18.111111 | 46 | 0.822086 | 17 | 163 | 7.882353 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116564 | 163 | 8 | 47 | 20.375 | 0.930556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
acf0996ff1266d915aeabb9ef3a8ff306d1e9121 | 43,346 | py | Python | cookbook/lib/python3.7/site-packages/google/cloud/firestore_admin_v1/proto/operation_pb2.py | ethanga12/cookbooktbd | bc310546f4b05d29a24eff79242c252a086d7260 | [
"Apache-2.0"
] | 1 | 2021-01-15T18:00:01.000Z | 2021-01-15T18:00:01.000Z | cookbook/lib/python3.7/site-packages/google/cloud/firestore_admin_v1/proto/operation_pb2.py | ethanga12/cookbooktbd | bc310546f4b05d29a24eff79242c252a086d7260 | [
"Apache-2.0"
] | null | null | null | cookbook/lib/python3.7/site-packages/google/cloud/firestore_admin_v1/proto/operation_pb2.py | ethanga12/cookbooktbd | bc310546f4b05d29a24eff79242c252a086d7260 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/firestore_admin_v1/proto/operation.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf impor... | 36.548061 | 3,531 | 0.643289 | 4,402 | 43,346 | 6.019309 | 0.077465 | 0.035023 | 0.056157 | 0.05812 | 0.78239 | 0.74933 | 0.726648 | 0.68136 | 0.631241 | 0.619315 | 0 | 0.034161 | 0.265907 | 43,346 | 1,185 | 3,532 | 36.578903 | 0.798554 | 0.019863 | 0 | 0.773169 | 1 | 0.001765 | 0.289889 | 0.187082 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030891 | 0 | 0.030891 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a055acaf4366c021268f052cf314f579e9bd0b2 | 53 | py | Python | utils/__init__.py | yz-cnsdqz/MOJO-release | 476b40c8111861c6ab6b193a68e634d9aeb4e407 | [
"MIT"
] | 58 | 2021-06-18T17:00:06.000Z | 2022-03-20T12:21:12.000Z | utils/__init__.py | wei-mao-2019/gsps | 7f8de905f49bc739747174ade343a431ec8fe74e | [
"MIT"
] | 5 | 2021-09-10T07:04:38.000Z | 2022-01-18T17:35:00.000Z | utils/__init__.py | wei-mao-2019/gsps | 7f8de905f49bc739747174ade343a431ec8fe74e | [
"MIT"
] | 3 | 2021-06-24T04:04:07.000Z | 2021-06-30T14:22:54.000Z | from utils.torch import *
from utils.logger import *
| 17.666667 | 26 | 0.773585 | 8 | 53 | 5.125 | 0.625 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 53 | 2 | 27 | 26.5 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c58db1de5dd3e74aa98dd90c1772bbb4f25314a7 | 29,308 | py | Python | tests/e2e/test_api.py | linearcombination/DOC | 4478e55ec81426c15a2c402cb838e76d79741c03 | [
"MIT"
] | null | null | null | tests/e2e/test_api.py | linearcombination/DOC | 4478e55ec81426c15a2c402cb838e76d79741c03 | [
"MIT"
] | 1 | 2022-03-28T17:44:24.000Z | 2022-03-28T17:44:24.000Z | tests/e2e/test_api.py | linearcombination/DOC | 4478e55ec81426c15a2c402cb838e76d79741c03 | [
"MIT"
] | 3 | 2022-01-14T02:55:44.000Z | 2022-02-23T00:17:51.000Z | """This module provides tests for the application's FastAPI API."""
import os
import pathlib
import bs4
import pytest
import requests
from fastapi.testclient import TestClient
from document.config import settings
from document.entrypoints.app import app
def check_finished_document_with_verses_success(
response... | 39.445491 | 182 | 0.454279 | 2,682 | 29,308 | 4.59657 | 0.077927 | 0.076898 | 0.066191 | 0.052401 | 0.871269 | 0.869403 | 0.842959 | 0.839228 | 0.830062 | 0.816272 | 0 | 0.000544 | 0.435069 | 29,308 | 742 | 183 | 39.498652 | 0.744036 | 0.080968 | 0 | 0.606688 | 0 | 0.012739 | 0.22253 | 0.061365 | 0 | 0 | 0 | 0 | 0.017516 | 1 | 0.02707 | false | 0 | 0.012739 | 0 | 0.039809 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5f366c4d5915e47fa5fd120e4814e1570d052cc | 88 | py | Python | conftest.py | marcinliebiediew/order_book | 3587f1790cfa10ac77dffa1833e99a75991b8d11 | [
"MIT"
] | 1 | 2022-03-12T10:51:07.000Z | 2022-03-12T10:51:07.000Z | conftest.py | marcinliebiediew/order_book | 3587f1790cfa10ac77dffa1833e99a75991b8d11 | [
"MIT"
] | null | null | null | conftest.py | marcinliebiediew/order_book | 3587f1790cfa10ac77dffa1833e99a75991b8d11 | [
"MIT"
] | null | null | null | import pytest
from src import app as _app
@pytest.fixture
def app():
return _app
| 9.777778 | 27 | 0.715909 | 14 | 88 | 4.357143 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 88 | 8 | 28 | 11 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c5f6f7689a4d4e984e34a0d7c4a6e50fbbd43cd1 | 47 | py | Python | theanompi/__init__.py | uoguelph-mlrg/Theano-MPI | 4bf0ebc167967dc3cb0969d4b12e304ef11d724a | [
"ECL-2.0"
] | 65 | 2016-05-27T02:29:42.000Z | 2022-03-29T20:17:29.000Z | theanompi/__init__.py | afcarl/Theano-MPI | 4bf0ebc167967dc3cb0969d4b12e304ef11d724a | [
"ECL-2.0"
] | 19 | 2016-05-27T21:18:55.000Z | 2019-03-23T07:02:44.000Z | theanompi/__init__.py | afcarl/Theano-MPI | 4bf0ebc167967dc3cb0969d4b12e304ef11d724a | [
"ECL-2.0"
] | 30 | 2016-05-27T02:29:44.000Z | 2019-05-17T04:46:17.000Z | from theanompi.rules import BSP, EASGD, GOSGD
| 15.666667 | 45 | 0.787234 | 7 | 47 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 46 | 23.5 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a84ffefe6cbd2b56c83b2a919f479d116ae7d176 | 65 | py | Python | ml3d/datasets/augment/__init__.py | kylevedder/Open3D-ML | 87ec50ed81d531377b1bb27e5c16f964201eadb0 | [
"MIT"
] | 447 | 2020-10-14T23:16:41.000Z | 2021-07-27T06:57:45.000Z | ml3d/datasets/augment/__init__.py | kylevedder/Open3D-ML | 87ec50ed81d531377b1bb27e5c16f964201eadb0 | [
"MIT"
] | 118 | 2020-10-14T10:20:37.000Z | 2021-07-27T12:23:18.000Z | ml3d/datasets/augment/__init__.py | kylevedder/Open3D-ML | 87ec50ed81d531377b1bb27e5c16f964201eadb0 | [
"MIT"
] | 80 | 2020-10-14T17:35:48.000Z | 2021-07-23T08:48:17.000Z | from .augmentation import SemsegAugmentation, ObjdetAugmentation
| 32.5 | 64 | 0.892308 | 5 | 65 | 11.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 65 | 1 | 65 | 65 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a853842bb9e8acd8990827cefe74e98a64b6060c | 3,707 | py | Python | score_zeroshot_gpt2.py | peterwestuw/FactualAblation | 258228b8dbd4ced635a841417cfaa2d7edc9af8e | [
"MIT"
] | 2 | 2022-03-24T03:21:12.000Z | 2022-03-24T03:51:55.000Z | score_zeroshot_gpt2.py | peterwestuw/FactualAblation | 258228b8dbd4ced635a841417cfaa2d7edc9af8e | [
"MIT"
] | null | null | null | score_zeroshot_gpt2.py | peterwestuw/FactualAblation | 258228b8dbd4ced635a841417cfaa2d7edc9af8e | [
"MIT"
] | null | null | null | from FA_data_utils import get_FA_synthetic_dataset, get_FA_wiki_dataset
from transformers import GPT2Tokenizer, GPT2LMHeadModel
from tqdm import tqdm
from zeroshot_example_utils import get_nll_list, tokenize_for_gpt2_zs, get_truncated_inputs_gpt2_zs
import math
###
# Load Factual Ablation datasets
###
FA_wiki_dataset ... | 37.826531 | 126 | 0.720798 | 554 | 3,707 | 4.593863 | 0.17148 | 0.051866 | 0.037721 | 0.033399 | 0.829862 | 0.802358 | 0.802358 | 0.802358 | 0.802358 | 0.802358 | 0 | 0.019533 | 0.15754 | 3,707 | 98 | 127 | 37.826531 | 0.795389 | 0.268411 | 0 | 0.680851 | 0 | 0 | 0.080256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.106383 | 0 | 0.106383 | 0.297872 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a865fb258c4549d3631e243609c07ce295534203 | 65 | py | Python | projectile/tools/__init__.py | Vayel/projectile | f9a7cba9cc1f07f1e6ea8aad9e7567e0a3ba03e7 | [
"MIT"
] | null | null | null | projectile/tools/__init__.py | Vayel/projectile | f9a7cba9cc1f07f1e6ea8aad9e7567e0a3ba03e7 | [
"MIT"
] | 9 | 2016-12-28T20:36:57.000Z | 2017-01-04T15:29:41.000Z | projectile/tools/__init__.py | Vayel/projectile | f9a7cba9cc1f07f1e6ea8aad9e7567e0a3ba03e7 | [
"MIT"
] | null | null | null | from .google import *
from .drive import *
from .trello import *
| 16.25 | 21 | 0.723077 | 9 | 65 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 22 | 21.666667 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a868a8da332ca1e83077c2e7bd45f7474abc3f71 | 72 | py | Python | collections/nemo_nlp/nemo_nlp/utils/__init__.py | luungoc2005/NeMo | 5e1d9cba4d245135023396479a52a951a911b2a8 | [
"Apache-2.0"
] | null | null | null | collections/nemo_nlp/nemo_nlp/utils/__init__.py | luungoc2005/NeMo | 5e1d9cba4d245135023396479a52a951a911b2a8 | [
"Apache-2.0"
] | null | null | null | collections/nemo_nlp/nemo_nlp/utils/__init__.py | luungoc2005/NeMo | 5e1d9cba4d245135023396479a52a951a911b2a8 | [
"Apache-2.0"
] | null | null | null | from .callbacks import *
from .metrics import *
from .nlp_utils import * | 24 | 24 | 0.763889 | 10 | 72 | 5.4 | 0.6 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 72 | 3 | 25 | 24 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a89d05b17cf217e39a1011aa38136c310367f1b7 | 213 | py | Python | test/test_main.py | michaelbarton/nucleotides-cli | 04c94773a9186dc67a887e91e3cdc9ba4a41d3fc | [
"BSD-3-Clause-LBNL"
] | null | null | null | test/test_main.py | michaelbarton/nucleotides-cli | 04c94773a9186dc67a887e91e3cdc9ba4a41d3fc | [
"BSD-3-Clause-LBNL"
] | null | null | null | test/test_main.py | michaelbarton/nucleotides-cli | 04c94773a9186dc67a887e91e3cdc9ba4a41d3fc | [
"BSD-3-Clause-LBNL"
] | null | null | null | import nose.tools as nose
import nucleotides.main as main
import nucleotides.command.fetch_data
def test_command():
nose.assert_equal(main.select_command('fetch-data'), nucleotides.command.fetch_data)
| 26.625 | 88 | 0.788732 | 30 | 213 | 5.433333 | 0.466667 | 0.220859 | 0.294479 | 0.331288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122066 | 213 | 7 | 89 | 30.428571 | 0.871658 | 0 | 0 | 0 | 0 | 0 | 0.046948 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7637e03234348522fcd3d788416863b5bb628129 | 19,601 | py | Python | psono/restapi/tests/mfa_google_authenticator.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 48 | 2018-04-19T15:50:58.000Z | 2022-01-23T15:58:11.000Z | psono/restapi/tests/mfa_google_authenticator.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 9 | 2018-09-13T14:56:18.000Z | 2020-01-17T16:44:33.000Z | psono/restapi/tests/mfa_google_authenticator.py | dirigeant/psono-server | a18c5b3c4d8bbbe4ecf1615b210d99fb77752205 | [
"Apache-2.0",
"CC0-1.0"
] | 11 | 2019-09-20T11:53:47.000Z | 2021-07-18T22:41:31.000Z | from django.urls import reverse
from django.utils import timezone
from django.conf import settings
from django.contrib.auth.hashers import make_password
from rest_framework import status
from datetime import timedelta
import random
import string
import binascii
import os
import hashlib
import pyotp
import bcrypt
import... | 35.12724 | 163 | 0.664915 | 2,316 | 19,601 | 5.325561 | 0.090674 | 0.059024 | 0.035025 | 0.034052 | 0.822847 | 0.772256 | 0.762121 | 0.735528 | 0.718096 | 0.710475 | 0 | 0.021478 | 0.239886 | 19,601 | 557 | 164 | 35.190305 | 0.806363 | 0.06515 | 0 | 0.606232 | 0 | 0 | 0.077583 | 0.04692 | 0.002833 | 0 | 0 | 0 | 0.082153 | 1 | 0.065156 | false | 0.011331 | 0.056657 | 0 | 0.127479 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76603d7fc0f19b5da06e126c1b5a04eb16f15c9a | 1,753 | py | Python | tests/database/test_databaes_universe.py | evetrivia/thanatos | 664c12a8ccf4d27ab0e06e0969bbb6381f74789c | [
"MIT"
] | 1 | 2015-08-03T14:30:18.000Z | 2015-08-03T14:30:18.000Z | tests/database/test_databaes_universe.py | evetrivia/thanatos | 664c12a8ccf4d27ab0e06e0969bbb6381f74789c | [
"MIT"
] | 14 | 2015-05-05T22:37:43.000Z | 2015-07-31T04:45:14.000Z | tests/database/test_databaes_universe.py | evetrivia/thanatos | 664c12a8ccf4d27ab0e06e0969bbb6381f74789c | [
"MIT"
] | null | null | null |
import mock
import unittest2
from thanatos.database import universe
class DatabaseUniverseTestCase(unittest2.TestCase):
def setUp(self):
pass
@mock.patch('thanatos.database.universe.execute_sql')
def test_get_all_regions(self, mock_execute_sql):
""" """
mock_db_connection = ... | 34.372549 | 113 | 0.705077 | 222 | 1,753 | 5.135135 | 0.18018 | 0.105263 | 0.110526 | 0.105263 | 0.857018 | 0.852632 | 0.803509 | 0.803509 | 0.757018 | 0.757018 | 0 | 0.011111 | 0.178551 | 1,753 | 51 | 114 | 34.372549 | 0.780556 | 0 | 0 | 0.4 | 0 | 0 | 0.141782 | 0.104167 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.133333 | false | 0.033333 | 0.1 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7699c06fdee5b52a0fbf1178a29a246da5332e18 | 2,542 | py | Python | courses/src/mark_app/tests.py | yuramorozov01/courses_system | 582532b2a2753d89642e1e8dbee0f369774638b1 | [
"Apache-2.0"
] | null | null | null | courses/src/mark_app/tests.py | yuramorozov01/courses_system | 582532b2a2753d89642e1e8dbee0f369774638b1 | [
"Apache-2.0"
] | null | null | null | courses/src/mark_app/tests.py | yuramorozov01/courses_system | 582532b2a2753d89642e1e8dbee0f369774638b1 | [
"Apache-2.0"
] | null | null | null | from base_app.tests import BaseTestCase
from django.urls import reverse
class MarkEndPointTestCase(BaseTestCase):
def test_add_mark_to_task(self):
course_id, lecture_id, task_statement_id, task_id = self.create_task()
jwt = self.auth('qqq')
data = {
'mark_value': 9,
}
... | 31.775 | 78 | 0.521637 | 290 | 2,542 | 4.237931 | 0.196552 | 0.068348 | 0.084622 | 0.125305 | 0.809601 | 0.794955 | 0.762408 | 0.737998 | 0.737998 | 0.737998 | 0 | 0.010468 | 0.361133 | 2,542 | 79 | 79 | 32.177215 | 0.746305 | 0 | 0 | 0.633803 | 0 | 0 | 0.1369 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 1 | 0.042254 | false | 0 | 0.028169 | 0 | 0.084507 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4fa17151a45f6743ec328b2ce352648f51418311 | 219 | py | Python | src/user/admin.py | EducationalBot/EduBotAPIServer | f571a0acd8e5348bba04febc17606c29511ebef7 | [
"MIT"
] | 1 | 2021-11-08T21:25:27.000Z | 2021-11-08T21:25:27.000Z | src/user/admin.py | EducationalBot/EduBotAPIServer | f571a0acd8e5348bba04febc17606c29511ebef7 | [
"MIT"
] | null | null | null | src/user/admin.py | EducationalBot/EduBotAPIServer | f571a0acd8e5348bba04febc17606c29511ebef7 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as UserAdminInterface
from user.models import User
class UserAdmin(UserAdminInterface):
pass
admin.site.register(User, UserAdmin)
| 19.909091 | 69 | 0.817352 | 28 | 219 | 6.392857 | 0.535714 | 0.111732 | 0.189944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 219 | 10 | 70 | 21.9 | 0.932292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4fa503fd2613b8f0ec3e467d869c251ea51b77e0 | 5,641 | py | Python | tests/unit/series6/test_interface.py | n0mn0m/circuit_roomba | 6b33c524951d348b0eba6a8e01d26d5adc2b1886 | [
"MIT"
] | 1 | 2021-09-07T08:00:22.000Z | 2021-09-07T08:00:22.000Z | tests/unit/series6/test_interface.py | n0mn0m/circuit_roomba | 6b33c524951d348b0eba6a8e01d26d5adc2b1886 | [
"MIT"
] | null | null | null | tests/unit/series6/test_interface.py | n0mn0m/circuit_roomba | 6b33c524951d348b0eba6a8e01d26d5adc2b1886 | [
"MIT"
] | 1 | 2021-09-07T08:01:51.000Z | 2021-09-07T08:01:51.000Z | import unittest
from unittest import mock
from circuitroomba.series6 import interface, opcode
class Test_interface(unittest.TestCase):
"""
interface is initialized in each test to prevent carrying over
any state or history from test to test.
"""
def setUp(self) -> None:
self.board = mock.... | 38.114865 | 87 | 0.669208 | 677 | 5,641 | 5.45938 | 0.138848 | 0.082792 | 0.130952 | 0.172619 | 0.798431 | 0.766234 | 0.747836 | 0.747836 | 0.744318 | 0.744318 | 0 | 0.013102 | 0.201737 | 5,641 | 147 | 88 | 38.37415 | 0.807684 | 0.018082 | 0 | 0.516949 | 0 | 0 | 0.169958 | 0.157456 | 0 | 0 | 0.000725 | 0 | 0.118644 | 1 | 0.101695 | false | 0.025424 | 0.025424 | 0 | 0.135593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4fa623a4a1b533bfbc6adede7e167575569a86fc | 160 | py | Python | src/tasks/lesson03/domzad_three.py | vadimkondratovich/asd | 5f2db494f739ea663795c5d4a924ced942cb1852 | [
"MIT"
] | null | null | null | src/tasks/lesson03/domzad_three.py | vadimkondratovich/asd | 5f2db494f739ea663795c5d4a924ced942cb1852 | [
"MIT"
] | 8 | 2021-01-10T09:38:54.000Z | 2021-02-28T12:33:58.000Z | src/tasks/lesson03/domzad_three.py | vadimkondratovich/asd | 5f2db494f739ea663795c5d4a924ced942cb1852 | [
"MIT"
] | null | null | null | word = input("Введите строку: ")
if len(word) > 5:
print(len(word))
elif len(word) < 5:
print("Need more!")
elif len(word) == 5:
print("It's five")
| 20 | 32 | 0.58125 | 26 | 160 | 3.576923 | 0.538462 | 0.301075 | 0.258065 | 0.419355 | 0.365591 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.2125 | 160 | 7 | 33 | 22.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4fa81748e8fcca6150114323a53827735b187c74 | 797 | py | Python | 2-aml-pytorch-samples/download-dataset.py | szjarek/articles-AzureML-with-Python | d414a898855e74b79cdf0d06ded3d31844197aed | [
"MIT"
] | null | null | null | 2-aml-pytorch-samples/download-dataset.py | szjarek/articles-AzureML-with-Python | d414a898855e74b79cdf0d06ded3d31844197aed | [
"MIT"
] | null | null | null | 2-aml-pytorch-samples/download-dataset.py | szjarek/articles-AzureML-with-Python | d414a898855e74b79cdf0d06ded3d31844197aed | [
"MIT"
] | null | null | null | import os
import urllib.request
DATA_FOLDER = 'datasets/mnist-data'
DATASET_BASE_URL = 'https://azureopendatastorage.blob.core.windows.net/mnist/'
os.makedirs(DATA_FOLDER, exist_ok=True)
urllib.request.urlretrieve(
os.path.join(DATASET_BASE_URL, 'train-images-idx3-ubyte.gz'),
filename=os.path.join(DATA_FOLDE... | 39.85 | 78 | 0.757842 | 119 | 797 | 4.932773 | 0.285714 | 0.081772 | 0.136286 | 0.177172 | 0.725724 | 0.725724 | 0.725724 | 0.725724 | 0.725724 | 0.69506 | 0 | 0.010944 | 0.082811 | 797 | 20 | 79 | 39.85 | 0.792066 | 0 | 0 | 0.235294 | 0 | 0 | 0.295739 | 0.12782 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96ca5bcdb4886e8e3e0e186cb8a1432ed7d3da93 | 13,523 | py | Python | transfer.py | BboyHanat/Real-Time-Video-Transfer | 9fd2ecfcb1495b0c28a43a0c9e5de2228690975c | [
"MIT"
] | 2 | 2019-12-03T13:46:09.000Z | 2022-02-12T02:27:05.000Z | transfer.py | BboyHanat/Real-Time-Video-Transfer | 9fd2ecfcb1495b0c28a43a0c9e5de2228690975c | [
"MIT"
] | 1 | 2022-01-16T08:50:01.000Z | 2022-01-16T08:50:01.000Z | transfer.py | BboyHanat/Real-Time-Video-Transfer | 9fd2ecfcb1495b0c28a43a0c9e5de2228690975c | [
"MIT"
] | null | null | null | import logging
from logging.handlers import TimedRotatingFileHandler
import os
import torch.optim as optim
from torchvision import transforms
from PIL import Image
from transform_net import TransformNet
from style_network import *
from loss_network import *
from dataset import get_loader, get_image_loader
from optica... | 44.778146 | 184 | 0.527915 | 1,718 | 13,523 | 3.926077 | 0.121653 | 0.046701 | 0.030245 | 0.007116 | 0.810378 | 0.795997 | 0.759822 | 0.759822 | 0.71401 | 0.707784 | 0 | 0.052745 | 0.349479 | 13,523 | 302 | 185 | 44.778146 | 0.713993 | 0.059972 | 0 | 0.637555 | 0 | 0.004367 | 0.084463 | 0.025528 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026201 | false | 0 | 0.052402 | 0 | 0.09607 | 0.052402 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96cdbbf381a4a8d78d2d713ca51f6d9fc07c348b | 38 | py | Python | vnpy_sgit/gateway/__init__.py | Edanflame/vnpy_sgit | 818d5d29db88ce5388bda755ecab78aafb617849 | [
"MIT"
] | null | null | null | vnpy_sgit/gateway/__init__.py | Edanflame/vnpy_sgit | 818d5d29db88ce5388bda755ecab78aafb617849 | [
"MIT"
] | 3 | 2021-11-05T00:27:18.000Z | 2021-12-06T02:47:03.000Z | vnpy_sgit/gateway/__init__.py | Edanflame/vnpy_sgit | 818d5d29db88ce5388bda755ecab78aafb617849 | [
"MIT"
] | 2 | 2021-10-09T02:13:48.000Z | 2021-10-19T02:41:15.000Z | from .sgit_gateway import SgitGateway
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
96d860959e1bb2251eb2b943c5a9de153e5287a9 | 150 | py | Python | zunzun/http_kernel/__init__.py | aprezcuba24/zunzun | cc294d9dfb84695be0ed1425cf946a0f4ea644a9 | [
"MIT"
] | null | null | null | zunzun/http_kernel/__init__.py | aprezcuba24/zunzun | cc294d9dfb84695be0ed1425cf946a0f4ea644a9 | [
"MIT"
] | null | null | null | zunzun/http_kernel/__init__.py | aprezcuba24/zunzun | cc294d9dfb84695be0ed1425cf946a0f4ea644a9 | [
"MIT"
] | null | null | null | from .kernel import HttpKernel # noqa
from .router import Router # noqa
from .request import Request # noqa
from .response import Response # noqa
| 30 | 38 | 0.76 | 20 | 150 | 5.7 | 0.4 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186667 | 150 | 4 | 39 | 37.5 | 0.934426 | 0.126667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4fcb5159644c85b3569fb844cebc4d82cb2b1757 | 5,077 | py | Python | tests/cli/config/test_config_fix_versions.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | tests/cli/config/test_config_fix_versions.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | tests/cli/config/test_config_fix_versions.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | from statue.cli.cli import statue_cli
from tests.constants import COMMAND1, COMMAND2
from tests.util import command_builder_mock, dummy_version, dummy_versions
def test_config_fix_version_with_no_installed_packages(
cli_runner, mock_build_configuration_from_file, mock_configuration_path
):
command_builder1, c... | 36.007092 | 88 | 0.771125 | 602 | 5,077 | 6.081395 | 0.116279 | 0.065556 | 0.072111 | 0.085223 | 0.874351 | 0.842939 | 0.830921 | 0.801147 | 0.801147 | 0.786397 | 0 | 0.016302 | 0.154225 | 5,077 | 140 | 89 | 36.264286 | 0.836283 | 0 | 0 | 0.695652 | 0 | 0 | 0.049242 | 0 | 0 | 0 | 0 | 0 | 0.208696 | 1 | 0.052174 | false | 0 | 0.026087 | 0 | 0.078261 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b25c360fd0fe4bc747eb537a0f93f86c3101b72 | 32 | py | Python | geosearch/__init__.py | shansixiong/geosearch | cd1eade5309d59a0a97cae92c4e55e7428d5aa32 | [
"MIT"
] | 4 | 2020-09-23T11:25:48.000Z | 2022-01-02T19:03:27.000Z | geosearch/__init__.py | shansixiong/geosearch | cd1eade5309d59a0a97cae92c4e55e7428d5aa32 | [
"MIT"
] | 1 | 2018-04-06T13:07:31.000Z | 2018-04-06T13:07:31.000Z | geosearch/__init__.py | shansixiong/geosearch | cd1eade5309d59a0a97cae92c4e55e7428d5aa32 | [
"MIT"
] | null | null | null | from .geosearch import geoSearch | 32 | 32 | 0.875 | 4 | 32 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c6dae23c3ea9a8f7c91382c0e7764860d27cc8f | 34 | py | Python | source/sagemaker/sagemaker_graph_fraud_detection/container_build/__init__.py | awslabs/sagemaker-graph-fraud-detection | 35e4203dd6ec7298c12361140013b487765cbd11 | [
"Apache-2.0"
] | 60 | 2020-04-15T22:34:14.000Z | 2022-03-31T18:04:19.000Z | source/sagemaker/sagemaker_graph_fraud_detection/container_build/__init__.py | sojiadeshina/sagemaker-graph-fraud-detection | 1a6fd57c32dea104cd26be3352494adbb8fcb0b5 | [
"Apache-2.0"
] | null | null | null | source/sagemaker/sagemaker_graph_fraud_detection/container_build/__init__.py | sojiadeshina/sagemaker-graph-fraud-detection | 1a6fd57c32dea104cd26be3352494adbb8fcb0b5 | [
"Apache-2.0"
] | 23 | 2020-05-15T15:30:56.000Z | 2022-02-25T20:30:52.000Z | from .container_build import build | 34 | 34 | 0.882353 | 5 | 34 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ca9598fa1f841eb69865c71500e5f94509dd198 | 181 | py | Python | python_cloud_system/mysite/helloapp/views.py | MiracleWong/MoocStudy | e22c6e69b77b98b6d71b52d90321aa442d726ffa | [
"MIT"
] | null | null | null | python_cloud_system/mysite/helloapp/views.py | MiracleWong/MoocStudy | e22c6e69b77b98b6d71b52d90321aa442d726ffa | [
"MIT"
] | null | null | null | python_cloud_system/mysite/helloapp/views.py | MiracleWong/MoocStudy | e22c6e69b77b98b6d71b52d90321aa442d726ffa | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def hello(request):
return HttpResponse("Hello World, I'm coming soon ...")
| 22.625 | 59 | 0.756906 | 25 | 181 | 5.48 | 0.8 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154696 | 181 | 7 | 60 | 25.857143 | 0.895425 | 0.127072 | 0 | 0 | 0 | 0 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
8cb9440f206ea0ebce437e84fc467a55077b587a | 196 | py | Python | Temp.py | AlPus108/Python_lessons | 0e96117d9a8b76fd651e137fc126ddedaa6accd9 | [
"MIT"
] | null | null | null | Temp.py | AlPus108/Python_lessons | 0e96117d9a8b76fd651e137fc126ddedaa6accd9 | [
"MIT"
] | null | null | null | Temp.py | AlPus108/Python_lessons | 0e96117d9a8b76fd651e137fc126ddedaa6accd9 | [
"MIT"
] | null | null | null |
number_list = [1, 2, 3, 4, 5]
number_list_iterator = iter(number_list)
print(number_list_iterator.__next__())
print(number_list_iterator.__next__())
print(next(number_list_iterator))
adult = | 19.6 | 40 | 0.770408 | 29 | 196 | 4.586207 | 0.413793 | 0.451128 | 0.541353 | 0.345865 | 0.443609 | 0.443609 | 0 | 0 | 0 | 0 | 0 | 0.028409 | 0.102041 | 196 | 10 | 41 | 19.6 | 0.727273 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8cebda1dada5940d93276ad6a72b2112f51c79db | 19,604 | py | Python | skills/dff_gaming_skill/dialogflows/flows/gaming/flow.py | oserikov/dream | 109ba2df799025dcdada1fddbb7380e1c03100eb | [
"Apache-2.0"
] | 34 | 2021-08-18T14:51:44.000Z | 2022-03-10T14:14:48.000Z | skills/dff_gaming_skill/dialogflows/flows/gaming/flow.py | oserikov/dream | 109ba2df799025dcdada1fddbb7380e1c03100eb | [
"Apache-2.0"
] | 27 | 2021-08-30T14:42:09.000Z | 2022-03-17T22:11:45.000Z | skills/dff_gaming_skill/dialogflows/flows/gaming/flow.py | oserikov/dream | 109ba2df799025dcdada1fddbb7380e1c03100eb | [
"Apache-2.0"
] | 40 | 2021-08-22T07:13:32.000Z | 2022-03-29T11:45:32.000Z | # %%
import logging
import os
from functools import partial
import sentry_sdk
from dff import dialogflow_extension
import common.dialogflow_framework.utils.state as state_utils
import dialogflows.common.shared_memory_ops as gaming_memory
import dialogflows.flows.gaming.intents as gaming_intents
import dialogflows.fl... | 50.525773 | 142 | 0.702969 | 2,240 | 19,604 | 5.523661 | 0.0875 | 0.115413 | 0.098925 | 0.069345 | 0.866968 | 0.847733 | 0.825022 | 0.777742 | 0.738301 | 0.678089 | 0 | 0.000616 | 0.088757 | 19,604 | 387 | 143 | 50.656331 | 0.692006 | 0.010457 | 0 | 0.400612 | 0 | 0 | 0.01493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045872 | 0 | 0.045872 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
50f7dd32985dea14f025fd905bb3e7efe797b109 | 54 | py | Python | tasks/data_loading/__init__.py | thefirebanks/policy-data-analyzer | 670a4ea72ab71975b84c4a4ec43d573371c4a986 | [
"RSA-MD"
] | 13 | 2020-12-11T12:10:20.000Z | 2021-04-27T22:54:25.000Z | tasks/data_loading/__init__.py | thefirebanks/policy-data-analyzer | 670a4ea72ab71975b84c4a4ec43d573371c4a986 | [
"RSA-MD"
] | 40 | 2020-11-24T06:48:53.000Z | 2021-04-28T05:20:37.000Z | tasks/data_loading/__init__.py | thefirebanks/policy-data-analyzer | 670a4ea72ab71975b84c4a4ec43d573371c4a986 | [
"RSA-MD"
] | 5 | 2020-11-26T08:23:05.000Z | 2021-04-19T18:08:20.000Z | from .src.s3_client import *
from .src.utils import *
| 18 | 28 | 0.740741 | 9 | 54 | 4.333333 | 0.666667 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.148148 | 54 | 2 | 29 | 27 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0fac305a5973da7dbd70463ee110428d37d8290a | 35 | py | Python | bikeshed/stringEnum/__init__.py | saschanaz/bikeshed | fb1e763a4f49852a7dabe8d783c6980416b238ef | [
"CC0-1.0"
] | 775 | 2015-01-06T16:58:59.000Z | 2022-03-31T23:49:10.000Z | bikeshed/stringEnum/__init__.py | saschanaz/bikeshed | fb1e763a4f49852a7dabe8d783c6980416b238ef | [
"CC0-1.0"
] | 1,495 | 2015-01-06T01:06:00.000Z | 2022-03-31T20:16:13.000Z | bikeshed/stringEnum/__init__.py | frivoal/bikeshed | 132fff3bd80d0059b5a2ac0cd4e3317db34dec12 | [
"CC0-1.0"
] | 196 | 2015-01-26T23:56:59.000Z | 2022-03-23T20:35:59.000Z | from .StringEnum import StringEnum
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0fb41aff5675088cfe6f89ad826a5a7e0c9819fd | 1,187 | py | Python | 1-9/4. parse_ranges/parse_ranges.py | dcragusa/PythonMorsels | 5f75b51a68769036e4004e9ccdada6b220124ab6 | [
"MIT"
] | 1 | 2021-11-30T05:03:24.000Z | 2021-11-30T05:03:24.000Z | 1-9/4. parse_ranges/parse_ranges.py | dcragusa/PythonMorsels | 5f75b51a68769036e4004e9ccdada6b220124ab6 | [
"MIT"
] | null | null | null | 1-9/4. parse_ranges/parse_ranges.py | dcragusa/PythonMorsels | 5f75b51a68769036e4004e9ccdada6b220124ab6 | [
"MIT"
] | 2 | 2021-04-18T05:26:43.000Z | 2021-11-28T18:46:43.000Z | # def parse_ranges(input_string):
#
# output = []
# ranges = [item.strip() for item in input_string.split(',')]
#
# for item in ranges:
# start, end = [int(i) for i in item.split('-')]
# output.extend(range(start, end + 1))
#
# return output
# def parse_ranges(input_string):
#
# ran... | 26.977273 | 69 | 0.536647 | 157 | 1,187 | 3.955414 | 0.159236 | 0.141707 | 0.086957 | 0.122383 | 0.89372 | 0.853462 | 0.813205 | 0.813205 | 0.813205 | 0.813205 | 0 | 0.006046 | 0.303286 | 1,187 | 43 | 70 | 27.604651 | 0.744861 | 0.642797 | 0 | 0 | 0 | 0 | 0.015152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0fc0d0d499365d7ed67bf3c8d6f6eecde1a1514c | 127 | py | Python | simplelib.py | mlangc/demo-python-package | c649724e31f102042176bd50ed1bbef14b8dff74 | [
"Apache-2.0"
] | null | null | null | simplelib.py | mlangc/demo-python-package | c649724e31f102042176bd50ed1bbef14b8dff74 | [
"Apache-2.0"
] | null | null | null | simplelib.py | mlangc/demo-python-package | c649724e31f102042176bd50ed1bbef14b8dff74 | [
"Apache-2.0"
] | null | null | null | import version_query
def simple_fun(x):
return x * x
def get_version():
return version_query.predict_version_str()
| 12.7 | 46 | 0.732283 | 19 | 127 | 4.578947 | 0.578947 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188976 | 127 | 9 | 47 | 14.111111 | 0.84466 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0fe399cc34b67ecfbbf1bb8401af561776b4a914 | 4,655 | py | Python | tests/rest/test_api_execute_logs.py | DmitryRibalka/monitorrent | f329d4bca151360d29e93d5369a1d21268d8998f | [
"WTFPL"
] | 465 | 2015-08-31T09:16:41.000Z | 2022-03-12T10:33:04.000Z | tests/rest/test_api_execute_logs.py | DmitryRibalka/monitorrent | f329d4bca151360d29e93d5369a1d21268d8998f | [
"WTFPL"
] | 340 | 2015-07-18T17:31:54.000Z | 2022-03-30T15:16:25.000Z | tests/rest/test_api_execute_logs.py | DmitryRibalka/monitorrent | f329d4bca151360d29e93d5369a1d21268d8998f | [
"WTFPL"
] | 87 | 2015-07-18T10:52:24.000Z | 2022-03-27T09:52:35.000Z | from builtins import range
import json
import falcon
from mock import MagicMock
from ddt import ddt, data
from tests import RestTestBase
from monitorrent.rest.execute_logs import ExecuteLogs
class ExecuteLogsTest(RestTestBase):
def test_get_all(self):
entries = [{}, {}, {}]
count = 3
log_... | 38.155738 | 109 | 0.67884 | 596 | 4,655 | 5.159396 | 0.151007 | 0.078699 | 0.068293 | 0.085854 | 0.846179 | 0.846179 | 0.835447 | 0.835447 | 0.835447 | 0.772033 | 0 | 0.015127 | 0.190548 | 4,655 | 121 | 110 | 38.471074 | 0.800955 | 0.03072 | 0 | 0.546667 | 0 | 0 | 0.170439 | 0 | 0 | 0 | 0 | 0 | 0.36 | 1 | 0.053333 | false | 0 | 0.093333 | 0.013333 | 0.173333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e83d4a4a930feec475942c2348a3afef2148f193 | 2,281 | py | Python | tests/features/sort_test.py | YouTwitFace/babi | 3697e931aefbe09178fc0441d403c5040ecfc4cd | [
"MIT"
] | null | null | null | tests/features/sort_test.py | YouTwitFace/babi | 3697e931aefbe09178fc0441d403c5040ecfc4cd | [
"MIT"
] | null | null | null | tests/features/sort_test.py | YouTwitFace/babi | 3697e931aefbe09178fc0441d403c5040ecfc4cd | [
"MIT"
] | null | null | null | import pytest
from testing.runner import and_exit
from testing.runner import trigger_command_mode
@pytest.fixture
def unsorted(tmpdir):
f = tmpdir.join('f')
f.write('d\nb\nc\na\n')
return f
def test_sort_entire_file(run, unsorted):
with run(str(unsorted)) as h, and_exit(h):
trigger_command_... | 27.817073 | 61 | 0.606313 | 368 | 2,281 | 3.548913 | 0.173913 | 0.082695 | 0.058959 | 0.045942 | 0.820827 | 0.803982 | 0.803982 | 0.767228 | 0.767228 | 0.753446 | 0 | 0.007403 | 0.230162 | 2,281 | 81 | 62 | 28.160494 | 0.736333 | 0 | 0 | 0.692308 | 0 | 0 | 0.097326 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 1 | 0.107692 | false | 0 | 0.046154 | 0 | 0.169231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e89e6ea0d75b7f30db55d51788f82a3762301c81 | 81 | py | Python | beluga/optimlib/__init__.py | dHannasch/beluga | 519e1ca2a43a86bc47737c45484288b2bacc1338 | [
"MIT"
] | null | null | null | beluga/optimlib/__init__.py | dHannasch/beluga | 519e1ca2a43a86bc47737c45484288b2bacc1338 | [
"MIT"
] | null | null | null | beluga/optimlib/__init__.py | dHannasch/beluga | 519e1ca2a43a86bc47737c45484288b2bacc1338 | [
"MIT"
] | null | null | null | from .optimlib import *
from .indirect import *
from .diffyg_deprecated import *
| 20.25 | 32 | 0.777778 | 10 | 81 | 6.2 | 0.6 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 3 | 33 | 27 | 0.898551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3afbf0090bfd132657b99030b72abdd5eb7bc5b6 | 38 | py | Python | tests/__init__.py | ShadowStalker13/TextStatistics | 5535ffa8319c324af1c3444514b19c17dd088cb7 | [
"MIT"
] | null | null | null | tests/__init__.py | ShadowStalker13/TextStatistics | 5535ffa8319c324af1c3444514b19c17dd088cb7 | [
"MIT"
] | null | null | null | tests/__init__.py | ShadowStalker13/TextStatistics | 5535ffa8319c324af1c3444514b19c17dd088cb7 | [
"MIT"
] | null | null | null | from .Test import TextStatisticsTests
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d724fbe81a1e80c8ceaf57bd96c710e78ca39f1f | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/typing/tests/data/pass/scalars.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/typing/tests/data/pass/scalars.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/typing/tests/data/pass/scalars.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/3e/db/5b/c251d36230455d3360c1ee199bd7490cb4a38c419b0ccc2f47d0725d23 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d73fb1732bf41af1581997a28a5e107c2880ef99 | 17,839 | py | Python | reservations/tests/test_allocation_solver.py | Sukriva/tilavarauspalvelu-core | 42443082f61a1f92fc8a9315806fafabf7f64513 | [
"MIT"
] | null | null | null | reservations/tests/test_allocation_solver.py | Sukriva/tilavarauspalvelu-core | 42443082f61a1f92fc8a9315806fafabf7f64513 | [
"MIT"
] | null | null | null | reservations/tests/test_allocation_solver.py | Sukriva/tilavarauspalvelu-core | 42443082f61a1f92fc8a9315806fafabf7f64513 | [
"MIT"
] | null | null | null | import datetime
import pytest
from applications.models import EventReservationUnit
from reservations.allocation_models import AllocationData
from reservations.allocation_solver import AllocationSolver
@pytest.mark.django_db
def test_when_matching_unit_in_application_and_application_round_can_be_allocated(
appli... | 29.63289 | 102 | 0.479567 | 1,428 | 17,839 | 5.677171 | 0.095238 | 0.096707 | 0.088812 | 0.126187 | 0.874306 | 0.865425 | 0.841495 | 0.822006 | 0.797089 | 0.797089 | 0 | 0.027226 | 0.429677 | 17,839 | 601 | 103 | 29.682196 | 0.769609 | 0.008128 | 0 | 0.599609 | 0 | 0 | 0.073314 | 0.013057 | 0 | 0 | 0 | 0 | 0.060547 | 1 | 0.025391 | false | 0 | 0.009766 | 0 | 0.035156 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d74b82548c593703cafa748dfd48f2a89970db9a | 4,751 | py | Python | bridges/tests/api/surveys_url_questions/test_surveys_url_questions_question_id_delete.py | pegasystems/building-bridges | 1a278df62c56421ab08b9ad14395fe9bf57cd32f | [
"MIT"
] | 20 | 2021-04-14T13:03:49.000Z | 2022-03-29T17:56:26.000Z | bridges/tests/api/surveys_url_questions/test_surveys_url_questions_question_id_delete.py | pegasystems/building-bridges | 1a278df62c56421ab08b9ad14395fe9bf57cd32f | [
"MIT"
] | 50 | 2021-04-16T17:32:14.000Z | 2022-03-04T12:27:37.000Z | bridges/tests/api/surveys_url_questions/test_surveys_url_questions_question_id_delete.py | pegasystems/building-bridges | 1a278df62c56421ab08b9ad14395fe9bf57cd32f | [
"MIT"
] | 2 | 2021-07-23T01:52:38.000Z | 2022-03-30T15:42:32.000Z | import json
from http import HTTPStatus
from mockupdb import MockupDB, go, Command, OpReply
from json import dumps
import datetime
from bridges.tests.api.basic_test import BasicTest
import bridges.api.logic
QUESTION_ENDPOINT = 'surveys/test-1/questions/'
class DeleteQuestionTest(BasicTest):
def test_normal(self... | 38.008 | 98 | 0.529783 | 441 | 4,751 | 5.496599 | 0.199546 | 0.049917 | 0.063531 | 0.043317 | 0.804043 | 0.791254 | 0.765677 | 0.765677 | 0.765677 | 0.765677 | 0 | 0.006408 | 0.343086 | 4,751 | 124 | 99 | 38.314516 | 0.770266 | 0.03473 | 0 | 0.626168 | 0 | 0 | 0.189904 | 0.054633 | 0 | 0 | 0 | 0 | 0.046729 | 1 | 0.046729 | false | 0 | 0.065421 | 0 | 0.121495 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d76e2ff6886ecff60da674a05e7693fe4aecf301 | 165 | py | Python | mdgenerate/__init__.py | nielsmde/mdgenerate | 6633f6d8f5255620ba8ec5169509b99a31b03ae5 | [
"MIT"
] | 1 | 2020-11-14T18:54:43.000Z | 2020-11-14T18:54:43.000Z | mdgenerate/__init__.py | nielsmde/mdgenerate | 6633f6d8f5255620ba8ec5169509b99a31b03ae5 | [
"MIT"
] | null | null | null | mdgenerate/__init__.py | nielsmde/mdgenerate | 6633f6d8f5255620ba8ec5169509b99a31b03ae5 | [
"MIT"
] | null | null | null |
__version__ = '1.0'
from .mdgenerate import grompp, submit, process
from .confine import generate_spherical_water, generate_slit_water, generate_cylindrical_water
| 27.5 | 94 | 0.836364 | 21 | 165 | 6.095238 | 0.714286 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.10303 | 165 | 5 | 95 | 33 | 0.851351 | 0 | 0 | 0 | 1 | 0 | 0.018293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d78d82dccc7dd497150cc32018e4464d39163867 | 81 | py | Python | gui/screens/paymentpage.py | tonymorony/ChannelsCC-GUI | 07df3706f8a250738311773eaf130fd8ebced64a | [
"MIT"
] | 1 | 2018-12-12T12:18:57.000Z | 2018-12-12T12:18:57.000Z | gui/screens/paymentpage.py | tonymorony/ChannelsCC-GUI | 07df3706f8a250738311773eaf130fd8ebced64a | [
"MIT"
] | null | null | null | gui/screens/paymentpage.py | tonymorony/ChannelsCC-GUI | 07df3706f8a250738311773eaf130fd8ebced64a | [
"MIT"
] | null | null | null | from kivy.uix.screenmanager import Screen
class PaymentPage(Screen):
pass
| 11.571429 | 41 | 0.765432 | 10 | 81 | 6.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 81 | 6 | 42 | 13.5 | 0.925373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d790c36d08ce6cd37655f9644725b32f183e0b56 | 222 | py | Python | src/baboon_tracking/mixins/intersected_frames_mixin.py | radioactivebean0/baboon-tracking | 062351c514073aac8e1207b8b46ca89ece987928 | [
"MIT"
] | 6 | 2019-07-15T19:10:59.000Z | 2022-02-01T04:25:26.000Z | src/baboon_tracking/mixins/intersected_frames_mixin.py | radioactivebean0/baboon-tracking | 062351c514073aac8e1207b8b46ca89ece987928 | [
"MIT"
] | 86 | 2019-07-02T17:59:46.000Z | 2022-02-01T23:23:08.000Z | src/baboon_tracking/mixins/intersected_frames_mixin.py | radioactivebean0/baboon-tracking | 062351c514073aac8e1207b8b46ca89ece987928 | [
"MIT"
] | 7 | 2019-10-16T12:58:21.000Z | 2022-03-08T00:31:32.000Z | """
Mixin for returning the intersected frames.
"""
class IntersectedFramesMixin:
"""
Mixin for returning the intersected frames.
"""
def __init__(self):
self.intersected_frames = []
| 17.076923 | 48 | 0.621622 | 20 | 222 | 6.65 | 0.55 | 0.383459 | 0.255639 | 0.300752 | 0.556391 | 0.556391 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279279 | 222 | 12 | 49 | 18.5 | 0.83125 | 0.391892 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ad9280cc418fc6bc4397b0f0c9410e5880823a62 | 307 | py | Python | fairing/backend/kubernetes/__init__.py | cheyang/fairing | 51083730090874b188c001d06b47e3fa817a321a | [
"Apache-2.0"
] | null | null | null | fairing/backend/kubernetes/__init__.py | cheyang/fairing | 51083730090874b188c001d06b47e3fa817a321a | [
"Apache-2.0"
] | null | null | null | fairing/backend/kubernetes/__init__.py | cheyang/fairing | 51083730090874b188c001d06b47e3fa817a321a | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
from kubernetes import client, config
from .manager import KubeManager, TF_JOB_VERSION
| 34.111111 | 48 | 0.879479 | 40 | 307 | 6.15 | 0.525 | 0.203252 | 0.325203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100977 | 307 | 8 | 49 | 38.375 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0.125 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d10264878891853fa9eeaa591080c7292400c4ed | 4,057 | py | Python | test/unit/test_ensureloggroup.py | jlhood/json-lambda-logs-to-kinesis-firehose | 15cd6120c578fc751f97d4209b66bd06713b1682 | [
"MIT"
] | 2 | 2019-10-25T18:21:24.000Z | 2021-03-17T13:51:07.000Z | test/unit/test_ensureloggroup.py | jlhood/json-lambda-logs-to-kinesis-firehose | 15cd6120c578fc751f97d4209b66bd06713b1682 | [
"MIT"
] | null | null | null | test/unit/test_ensureloggroup.py | jlhood/json-lambda-logs-to-kinesis-firehose | 15cd6120c578fc751f97d4209b66bd06713b1682 | [
"MIT"
] | 1 | 2020-01-21T22:29:00.000Z | 2020-01-21T22:29:00.000Z | import pytest
import botocore
import ensureloggroup
LOG_GROUP_NAME = 'myLogGroup'
PHYSICAL_RESOURCE_ID = 'someUUID'
@pytest.fixture
def mock_cw_logs(mocker):
mocker.patch.object(ensureloggroup, 'CW_LOGS')
return ensureloggroup.CW_LOGS
def test_create_log_group_no_exist(mock_cw_logs, mocker):
mocker.pa... | 26.00641 | 90 | 0.655903 | 402 | 4,057 | 6.243781 | 0.136816 | 0.079681 | 0.066932 | 0.086056 | 0.895219 | 0.866932 | 0.851793 | 0.835857 | 0.780478 | 0.780478 | 0 | 0.001639 | 0.248213 | 4,057 | 155 | 91 | 26.174194 | 0.821311 | 0 | 0 | 0.533333 | 0 | 0 | 0.108948 | 0.014789 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.075 | false | 0 | 0.025 | 0.008333 | 0.116667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7eae7709ac93a4f431dc888f7a47b2f44f85601c | 2,775 | py | Python | entente/landmarks/test_symmetrize_landmarks.py | metabolize/entente | c1b16bb7c7fb83b31db4e8ddaf65f1504374fe7a | [
"MIT"
] | 4 | 2019-05-09T17:11:58.000Z | 2022-01-28T20:27:39.000Z | entente/landmarks/test_symmetrize_landmarks.py | metabolize/entente | c1b16bb7c7fb83b31db4e8ddaf65f1504374fe7a | [
"MIT"
] | 94 | 2018-10-02T15:45:55.000Z | 2021-07-14T14:20:38.000Z | entente/landmarks/test_symmetrize_landmarks.py | metabolize/entente | c1b16bb7c7fb83b31db4e8ddaf65f1504374fe7a | [
"MIT"
] | 3 | 2019-01-21T00:59:24.000Z | 2022-01-28T20:26:28.000Z | from entente.landmarks.symmetrize_landmarks import (
symmetrize_landmarks_using_plane,
symmetrize_landmarks_using_topology,
)
import numpy as np
from polliwog import Plane
import pytest
from vg.compat import v1 as vg
from ..test_symmetry import create_seat_and_arm_mesh
def test_symmetrize_landmarks_using_plan... | 41.41791 | 87 | 0.742703 | 392 | 2,775 | 5.007653 | 0.181122 | 0.125828 | 0.146714 | 0.114111 | 0.846154 | 0.811004 | 0.760571 | 0.760571 | 0.760571 | 0.736628 | 0 | 0.086522 | 0.133694 | 2,775 | 66 | 88 | 42.045455 | 0.730033 | 0 | 0 | 0.479167 | 0 | 0 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.104167 | false | 0 | 0.125 | 0 | 0.229167 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7eb0a2c107a5cbc760a30b88c516867ccf8a958e | 168 | py | Python | molsysmt/tools/molsysmt_TrajectoryDict/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tools/molsysmt_TrajectoryDict/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tools/molsysmt_TrajectoryDict/__init__.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | from .is_molsysmt_TrajectoryDict import is_molsysmt_TrajectoryDict
from .to_molsysmt_Trajectory import to_molsysmt_Trajectory
from .to_file_trjpk import to_file_trjpk
| 33.6 | 66 | 0.904762 | 24 | 168 | 5.833333 | 0.375 | 0.142857 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077381 | 168 | 4 | 67 | 42 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7eb149f43a85f6811374fedaefdf80f0b23944ec | 34 | py | Python | python/eda/eda/components/_3M/__init__.py | 32bitmicro/EDA | 476a7f6dda23a494788bfdfaa27dff7082a80d6d | [
"BSD-3-Clause"
] | 1 | 2019-06-05T20:01:19.000Z | 2019-06-05T20:01:19.000Z | python/eda/eda/components/_3M/__init__.py | 32bitmicro/EDA | 476a7f6dda23a494788bfdfaa27dff7082a80d6d | [
"BSD-3-Clause"
] | null | null | null | python/eda/eda/components/_3M/__init__.py | 32bitmicro/EDA | 476a7f6dda23a494788bfdfaa27dff7082a80d6d | [
"BSD-3-Clause"
] | null | null | null | from eda.components._3M import *
| 11.333333 | 32 | 0.764706 | 5 | 34 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.147059 | 34 | 2 | 33 | 17 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e29a0d748034b8487d7829d44ae35c8834a6572 | 481 | py | Python | demos/workshop-demo/helpers.py | v-jaswel/cognitive-services-personalizer-samples | 3c476ed5345ccb33a25321358213e30ccd83269b | [
"MIT"
] | 44 | 2019-05-07T03:12:53.000Z | 2022-03-22T19:30:35.000Z | demos/workshop-demo/helpers.py | v-jaswel/cognitive-services-personalizer-samples | 3c476ed5345ccb33a25321358213e30ccd83269b | [
"MIT"
] | 27 | 2019-07-05T20:04:25.000Z | 2019-08-05T18:21:58.000Z | demos/workshop-demo/helpers.py | v-jaswel/cognitive-services-personalizer-samples | 3c476ed5345ccb33a25321358213e30ccd83269b | [
"MIT"
] | 65 | 2019-05-03T18:20:18.000Z | 2022-03-16T10:48:18.000Z | class SlidingAverage:
def __init__(self, window_size):
self.index = 0
self.values = [0] * window_size
def _previous(self):
return self.values[(self.index + len(self.values) - 1) % len(self.values)]
def update(self, value):
self.values[self.index] = self._previous() + value
... | 34.357143 | 84 | 0.611227 | 63 | 481 | 4.52381 | 0.269841 | 0.280702 | 0.182456 | 0.2 | 0.347368 | 0.231579 | 0.231579 | 0.231579 | 0 | 0 | 0 | 0.013624 | 0.237006 | 481 | 14 | 84 | 34.357143 | 0.762943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7ec052a15a717ccc19f3da41a7733eddf759704d | 4,588 | py | Python | tests/autoscaling/test_pause_service_autoscaler.py | sobolevn/paasta | 8b87e0b13816c09b3d063b6d3271e6c7627fd264 | [
"Apache-2.0"
] | 1,711 | 2015-11-10T18:04:56.000Z | 2022-03-23T08:53:16.000Z | tests/autoscaling/test_pause_service_autoscaler.py | sobolevn/paasta | 8b87e0b13816c09b3d063b6d3271e6c7627fd264 | [
"Apache-2.0"
] | 1,689 | 2015-11-10T17:59:04.000Z | 2022-03-31T20:46:46.000Z | tests/autoscaling/test_pause_service_autoscaler.py | sobolevn/paasta | 8b87e0b13816c09b3d063b6d3271e6c7627fd264 | [
"Apache-2.0"
] | 267 | 2015-11-10T19:17:16.000Z | 2022-02-08T20:59:52.000Z | import mock
import paasta_tools.paastaapi.models as paastamodels
from paasta_tools.autoscaling.pause_service_autoscaler import (
delete_service_autoscale_pause_time,
)
from paasta_tools.autoscaling.pause_service_autoscaler import (
get_service_autoscale_pause_time,
)
from paasta_tools.autoscaling.pause_service... | 41.333333 | 86 | 0.787053 | 629 | 4,588 | 5.292528 | 0.09539 | 0.060078 | 0.113548 | 0.135176 | 0.870832 | 0.8465 | 0.804446 | 0.780715 | 0.764494 | 0.732652 | 0 | 0.013443 | 0.124455 | 4,588 | 110 | 87 | 41.709091 | 0.815285 | 0 | 0 | 0.553191 | 0 | 0 | 0.141892 | 0.108108 | 0 | 0 | 0 | 0 | 0.180851 | 1 | 0.053191 | false | 0 | 0.053191 | 0 | 0.106383 | 0.06383 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d2491b9e7e51f282d5d9e142522bd76cfe79d2c | 83 | py | Python | transcription/alex_da-default/ml/exceptions.py | UFAL-DSG/django-crowdflower-annotations | 76f5e35dc3029030b73a7bebd54e0f46474958c1 | [
"Apache-2.0"
] | 11 | 2015-05-22T08:07:05.000Z | 2019-11-13T12:29:52.000Z | transcription/alex_da-default/ml/exceptions.py | UFAL-DSG/django-crowdflower-annotations | 76f5e35dc3029030b73a7bebd54e0f46474958c1 | [
"Apache-2.0"
] | null | null | null | transcription/alex_da-default/ml/exceptions.py | UFAL-DSG/django-crowdflower-annotations | 76f5e35dc3029030b73a7bebd54e0f46474958c1 | [
"Apache-2.0"
] | null | null | null | from alex_da import AlexException
class NBListException(AlexException):
pass
| 13.833333 | 37 | 0.807229 | 9 | 83 | 7.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 5 | 38 | 16.6 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7d4ddd1d1e30f1760d2abcb8cc1351b76275d353 | 829 | py | Python | relfs/relfs/fuse/symlink.py | matus-chochlik/various | 2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b | [
"MIT"
] | 1 | 2020-10-25T12:28:50.000Z | 2020-10-25T12:28:50.000Z | relfs/relfs/fuse/symlink.py | matus-chochlik/various | 2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b | [
"MIT"
] | null | null | null | relfs/relfs/fuse/symlink.py | matus-chochlik/various | 2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b | [
"MIT"
] | null | null | null | # coding=utf-8
#------------------------------------------------------------------------------#
import os
import time
import fuse
import errno
from .item import RelFuseItem
#------------------------------------------------------------------------------#
class Symlink(RelFuseItem):
# --------------------------------... | 34.541667 | 80 | 0.289505 | 44 | 829 | 5.090909 | 0.522727 | 0.178571 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010959 | 0.119421 | 829 | 23 | 81 | 36.043478 | 0.29589 | 0.568154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.384615 | 0.153846 | 0.846154 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
70c628eb0e5f52cf95f887e936a852a57371a48a | 6,297 | py | Python | items.py | rullmann/bundlewrap-nfs-server | e2392c80c5c687d5f0306625dca8943164396953 | [
"MIT"
] | null | null | null | items.py | rullmann/bundlewrap-nfs-server | e2392c80c5c687d5f0306625dca8943164396953 | [
"MIT"
] | null | null | null | items.py | rullmann/bundlewrap-nfs-server | e2392c80c5c687d5f0306625dca8943164396953 | [
"MIT"
] | null | null | null | pkg_dnf = {
'nfs-utils': {},
'libnfsidmap': {},
}
svc_systemd = {
'nfs-server': {
'needs': ['pkg_dnf:nfs-utils'],
},
'rpcbind': {
'needs': ['pkg_dnf:nfs-utils'],
},
'rpc-statd': {
'needs': ['pkg_dnf:nfs-utils'],
},
'nfs-idmapd': {
'needs': ['pkg_dnf:n... | 46.301471 | 107 | 0.550103 | 621 | 6,297 | 5.384863 | 0.112721 | 0.078947 | 0.059211 | 0.09689 | 0.842404 | 0.80622 | 0.736842 | 0.707835 | 0.707835 | 0.677931 | 0 | 0.000866 | 0.266635 | 6,297 | 135 | 108 | 46.644444 | 0.723257 | 0 | 0 | 0.323077 | 0 | 0 | 0.481658 | 0.117834 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
70f6376afcc4f51fb81d91a0923b3454f9a70bc9 | 49 | py | Python | redditbot/bot/__init__.py | aatrubilin/subredditbot | adb761aab9e7c7fe075de8815cf46a4feb7aef4c | [
"MIT"
] | null | null | null | redditbot/bot/__init__.py | aatrubilin/subredditbot | adb761aab9e7c7fe075de8815cf46a4feb7aef4c | [
"MIT"
] | null | null | null | redditbot/bot/__init__.py | aatrubilin/subredditbot | adb761aab9e7c7fe075de8815cf46a4feb7aef4c | [
"MIT"
] | null | null | null | from .mq_bot import MQBot
from . import handlers
| 16.333333 | 25 | 0.795918 | 8 | 49 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 26 | 24.5 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
70f9c76bd4d2170b44299e71149c19c36523b167 | 85 | py | Python | src/helpers/__init__.py | micro-infrastructure/adaptor-srm2local | 92c66753262f405c8466b5d37de305e6332859a2 | [
"MIT"
] | 1 | 2020-01-17T09:20:01.000Z | 2020-01-17T09:20:01.000Z | Services/core-xyz/src/helpers/__init__.py | recap/MicroInfrastructure | 4e8baf6d2a29344b10d6d3d57d01fc24fef16342 | [
"MIT"
] | null | null | null | Services/core-xyz/src/helpers/__init__.py | recap/MicroInfrastructure | 4e8baf6d2a29344b10d6d3d57d01fc24fef16342 | [
"MIT"
] | null | null | null | from helpers.b64 import base64_dict, base64_str
from helpers.json import json_respone | 42.5 | 47 | 0.870588 | 14 | 85 | 5.071429 | 0.642857 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 0.094118 | 85 | 2 | 48 | 42.5 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb3ac979514b4a3a688c2f38628a76682af0f174 | 27 | py | Python | hugo2lunr/__init__.py | IMTorgDemo/Hugo2lunr | 402f2c1b6604d03690041e6785f0feea303fa31d | [
"BSD-2-Clause"
] | null | null | null | hugo2lunr/__init__.py | IMTorgDemo/Hugo2lunr | 402f2c1b6604d03690041e6785f0feea303fa31d | [
"BSD-2-Clause"
] | null | null | null | hugo2lunr/__init__.py | IMTorgDemo/Hugo2lunr | 402f2c1b6604d03690041e6785f0feea303fa31d | [
"BSD-2-Clause"
] | null | null | null | from .hugo2lunr import main | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.111111 | 27 | 1 | 27 | 27 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cb764501b239d35138334de98c67a64b17005c0b | 124 | py | Python | mxmrt/unittest/main.py | KunyFox/MRTv2 | 7b7a156be6f99082964227babd9e157708255b2c | [
"Apache-2.0"
] | 6 | 2019-07-04T09:42:53.000Z | 2021-12-28T13:19:48.000Z | mxmrt/unittest/main.py | KunyFox/MRTv2 | 7b7a156be6f99082964227babd9e157708255b2c | [
"Apache-2.0"
] | 4 | 2019-06-27T08:05:18.000Z | 2021-09-09T18:59:11.000Z | cvm/unittest/main.py | CortexFoundation/tvm-cvm | d8941dc60a51dd27a6d2accc1eff2eced3b3640d | [
"Apache-2.0"
] | null | null | null | import sys
from ops import *
from passes import *
if __name__ == "__main__":
unittest.main(argv=sys.argv, verbosity=5)
| 17.714286 | 45 | 0.717742 | 18 | 124 | 4.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.169355 | 124 | 6 | 46 | 20.666667 | 0.776699 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1dc9a61f70b05ce0822d3c8c9bb91ca0413eed53 | 38 | py | Python | flask_server/__init__.py | LeiQiao/Parasite-Plugins | 96a20819f2cf625f22e06be9dc03a997291e1fc6 | [
"MIT"
] | null | null | null | flask_server/__init__.py | LeiQiao/Parasite-Plugins | 96a20819f2cf625f22e06be9dc03a997291e1fc6 | [
"MIT"
] | null | null | null | flask_server/__init__.py | LeiQiao/Parasite-Plugins | 96a20819f2cf625f22e06be9dc03a997291e1fc6 | [
"MIT"
] | null | null | null | from .flask_server import FlaskServer
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3831e61b84da801229f7e8e0186b751bd826f3e7 | 1,476 | py | Python | Python_Basics/04_Nested_Conditional_Statements/07_Trade_Comissions.py | Dochko0/Python | e9612c4e842cfd3d9a733526cc7485765ef2238f | [
"MIT"
] | null | null | null | Python_Basics/04_Nested_Conditional_Statements/07_Trade_Comissions.py | Dochko0/Python | e9612c4e842cfd3d9a733526cc7485765ef2238f | [
"MIT"
] | null | null | null | Python_Basics/04_Nested_Conditional_Statements/07_Trade_Comissions.py | Dochko0/Python | e9612c4e842cfd3d9a733526cc7485765ef2238f | [
"MIT"
] | null | null | null | town = input().lower()
sell_count = float(input())
if 0<=sell_count<=500:
if town == "sofia":
comission = sell_count*0.05
print(f'{comission:.2f}')
elif town=="varna":
comission = sell_count * 0.045
print(f'{comission:.2f}')
elif town == "plovdiv":
comission = sell_c... | 27.849057 | 38 | 0.549458 | 185 | 1,476 | 4.291892 | 0.167568 | 0.192695 | 0.27204 | 0.287154 | 0.836272 | 0.836272 | 0.836272 | 0.693955 | 0.604534 | 0.503778 | 0 | 0.073055 | 0.285908 | 1,476 | 53 | 39 | 27.849057 | 0.680266 | 0 | 0 | 0.730769 | 0 | 0 | 0.184834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.326923 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6997766165f57ea6bc42b80127429fbbb1ee8145 | 1,330 | py | Python | client/swagger_client/models/__init__.py | kakwa/certascale | 0df8da0f518506500117152fd0e28ee3286949af | [
"MIT"
] | null | null | null | client/swagger_client/models/__init__.py | kakwa/certascale | 0df8da0f518506500117152fd0e28ee3286949af | [
"MIT"
] | null | null | null | client/swagger_client/models/__init__.py | kakwa/certascale | 0df8da0f518506500117152fd0e28ee3286949af | [
"MIT"
] | 2 | 2020-11-04T03:07:00.000Z | 2020-11-05T08:14:33.000Z | # coding: utf-8
# flake8: noqa
"""
certascale API
Certascale API documentation # noqa: E501
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import models into model package
from swagger_client.models.ac... | 39.117647 | 79 | 0.861654 | 167 | 1,330 | 6.634731 | 0.341317 | 0.158845 | 0.245487 | 0.33213 | 0.471119 | 0.124549 | 0 | 0 | 0 | 0 | 0 | 0.006639 | 0.093985 | 1,330 | 33 | 80 | 40.30303 | 0.912863 | 0.160902 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
69b6d586758415b51bd6222616a7281a5a3b5a77 | 32 | py | Python | reth/reth/algorithm/pg/__init__.py | sosp2021/Reth | 10c032f44a25049355ebdd97a2cb3299e8c3fb82 | [
"MIT"
] | null | null | null | reth/reth/algorithm/pg/__init__.py | sosp2021/Reth | 10c032f44a25049355ebdd97a2cb3299e8c3fb82 | [
"MIT"
] | 1 | 2021-08-10T02:58:58.000Z | 2021-08-10T02:58:58.000Z | reth/reth/algorithm/pg/__init__.py | sosp2021/reth | 10c032f44a25049355ebdd97a2cb3299e8c3fb82 | [
"MIT"
] | null | null | null | from .pg_solver import PGSolver
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
38ddc03eb323bf6a2e78b80ee5d4426bd997d286 | 269 | py | Python | snmpagent_unity/unity_impl/VolumeRaidLevels.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:14:59.000Z | 2019-10-02T17:47:59.000Z | snmpagent_unity/unity_impl/VolumeRaidLevels.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:26:29.000Z | 2019-10-11T18:56:54.000Z | snmpagent_unity/unity_impl/VolumeRaidLevels.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 1 | 2019-10-03T21:09:17.000Z | 2019-10-03T21:09:17.000Z | class VolumeRaidLevels(object):
def read_get(self, name, idx_name, unity_client):
return unity_client.get_lun_raid_type(idx_name)
class VolumeRaidLevelsColumn(object):
def get_idx(self, name, idx, unity_client):
return unity_client.get_luns()
| 29.888889 | 55 | 0.747212 | 37 | 269 | 5.108108 | 0.459459 | 0.232804 | 0.116402 | 0.232804 | 0.328042 | 0.328042 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163569 | 269 | 8 | 56 | 33.625 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2a1e1cef18774e1b320c6420c1ddf3be36316c6b | 18,009 | py | Python | swiss_army_keras/_model_deeplab_v3_plus.py | waterviewsrl/swiss-army-keras | 49578f1a45761229756a8adbfcf692728039dc3b | [
"MIT"
] | 1 | 2022-02-23T13:54:22.000Z | 2022-02-23T13:54:22.000Z | swiss_army_keras/_model_deeplab_v3_plus.py | waterviewsrl/swiss-army-keras | 49578f1a45761229756a8adbfcf692728039dc3b | [
"MIT"
] | null | null | null | swiss_army_keras/_model_deeplab_v3_plus.py | waterviewsrl/swiss-army-keras | 49578f1a45761229756a8adbfcf692728039dc3b | [
"MIT"
] | null | null | null |
from __future__ import absolute_import
from multiprocessing.spawn import prepare
from sklearn import preprocessing
from swiss_army_keras.layer_utils import *
from swiss_army_keras.activations import GELU, Snake
from swiss_army_keras._backbone_zoo import backbone_zoo, bach_norm_checker
from swiss_army_keras._model_un... | 43.711165 | 143 | 0.640291 | 2,235 | 18,009 | 4.944519 | 0.138255 | 0.034838 | 0.016469 | 0.01665 | 0.80599 | 0.775133 | 0.75052 | 0.747806 | 0.747806 | 0.747806 | 0 | 0.029173 | 0.2672 | 18,009 | 411 | 144 | 43.817518 | 0.808214 | 0.431173 | 0 | 0.540816 | 0 | 0 | 0.029357 | 0.011139 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02551 | false | 0 | 0.066327 | 0 | 0.117347 | 0.02551 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa83178a1f6aee51f60c3a5725f54dff28ef952f | 7,540 | py | Python | src/marketing/models.py | caesarorz/complete-ecommerce | 35493812167c208c166df3048190a9988adf6bb0 | [
"MIT"
] | null | null | null | src/marketing/models.py | caesarorz/complete-ecommerce | 35493812167c208c166df3048190a9988adf6bb0 | [
"MIT"
] | null | null | null | src/marketing/models.py | caesarorz/complete-ecommerce | 35493812167c208c166df3048190a9988adf6bb0 | [
"MIT"
] | null | null | null | from django.conf import settings
from django.db import models
from django.db.models.signals import post_save, pre_save
from .utils import Mailchimp
class MarketingPreference(models.Model):
user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
subscribed ... | 36.601942 | 106 | 0.672546 | 774 | 7,540 | 6.297158 | 0.098191 | 0.083709 | 0.073861 | 0.090275 | 0.940501 | 0.905006 | 0.895363 | 0.893311 | 0.887772 | 0.8254 | 0 | 0.000341 | 0.222149 | 7,540 | 205 | 107 | 36.780488 | 0.830691 | 0.416844 | 0 | 0.297872 | 0 | 0 | 0.076895 | 0.041877 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.085106 | 0.021277 | 0.340426 | 0.234043 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
aa8ee35924e810f57b70a9053c8e175b2eb5b02a | 96 | py | Python | venv/lib/python3.8/site-packages/virtualenv/run/__init__.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/virtualenv/run/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/virtualenv/run/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/c9/1b/ba/2a853b246972839cc54dae756a260a22adfab54a61c47687ce649d8db5 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2a9bd8ffb99e7f94e5e4e24efff8989882144ace | 41 | py | Python | second/mayank_scripts/prac.py | mayanks888/second.pytorch | 02d37885a543ee46516648dcab7db8f5d677a179 | [
"MIT"
] | null | null | null | second/mayank_scripts/prac.py | mayanks888/second.pytorch | 02d37885a543ee46516648dcab7db8f5d677a179 | [
"MIT"
] | null | null | null | second/mayank_scripts/prac.py | mayanks888/second.pytorch | 02d37885a543ee46516648dcab7db8f5d677a179 | [
"MIT"
] | null | null | null | # import mayavi.api
import open3d as o3d
| 13.666667 | 20 | 0.780488 | 7 | 41 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.170732 | 41 | 2 | 21 | 20.5 | 0.882353 | 0.414634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2aa0f838d83977d295045a182f65dbb931118fb0 | 19,151 | py | Python | sdk/python/pulumi_azure_native/provider.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/provider.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/provider.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** 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 _utilities
__al... | 53.049861 | 209 | 0.674586 | 2,336 | 19,151 | 5.244863 | 0.077055 | 0.082599 | 0.079987 | 0.080803 | 0.837741 | 0.778159 | 0.732697 | 0.68144 | 0.650343 | 0.618675 | 0 | 0.000068 | 0.236646 | 19,151 | 360 | 210 | 53.197222 | 0.838019 | 0.257428 | 0 | 0.417671 | 1 | 0 | 0.111364 | 0.041935 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116466 | false | 0.068273 | 0.02008 | 0 | 0.192771 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
630801c27149171cd88e85dbf66f0d5a3556338c | 47,201 | py | Python | pirates/leveleditor/worldData/rambleshack_building_int_tavern.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/rambleshack_building_int_tavern.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/rambleshack_building_int_tavern.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.rambleshack_building_int_tavern
from pandac.PandaModules import Point3, VBase3, Vec4
objectStruct = {'Obje... | 6,743 | 46,781 | 0.667931 | 6,501 | 47,201 | 4.814644 | 0.128134 | 0.027476 | 0.029712 | 0.02607 | 0.658466 | 0.498243 | 0.442939 | 0.395176 | 0.384888 | 0.383802 | 0 | 0.336548 | 0.068579 | 47,201 | 7 | 46,782 | 6,743 | 0.375398 | 0.005021 | 0 | 0 | 0 | 0 | 0.501661 | 0.253556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6308cdba07d669eed5899f6447b37eccfe0c63ca | 154 | py | Python | randomwordgenerator/__init__.py | Npascetti/RandomWordGenerator | d32f085d8511d9f67c057e049a5a8b1c17361800 | [
"MIT"
] | 3 | 2016-11-09T19:59:41.000Z | 2019-11-26T03:07:36.000Z | randomwordgenerator/__init__.py | Npascetti/RandomWordGenerator | d32f085d8511d9f67c057e049a5a8b1c17361800 | [
"MIT"
] | 3 | 2018-09-29T21:13:21.000Z | 2021-01-12T02:02:43.000Z | randomwordgenerator/__init__.py | Npascetti/RandomWordGenerator | d32f085d8511d9f67c057e049a5a8b1c17361800 | [
"MIT"
] | 2 | 2018-08-06T21:49:56.000Z | 2019-10-26T13:29:00.000Z | import os
import sys
_THIS_DIR_NAME = os.path.dirname(__file__)
_THIS_DIR_ABS_PATH = os.path.realpath(_THIS_DIR_NAME)
sys.path.append(_THIS_DIR_ABS_PATH) | 25.666667 | 53 | 0.837662 | 28 | 154 | 3.964286 | 0.428571 | 0.252252 | 0.198198 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 154 | 6 | 54 | 25.666667 | 0.776224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6314c1819e66d3661d9284a7c6efe0ab322baa43 | 1,906 | py | Python | sahl/util/git.py | karimpedia/sahl | 6ad89618e63789e3d1cb8512084d616a81a6f74f | [
"MIT"
] | null | null | null | sahl/util/git.py | karimpedia/sahl | 6ad89618e63789e3d1cb8512084d616a81a6f74f | [
"MIT"
] | null | null | null | sahl/util/git.py | karimpedia/sahl | 6ad89618e63789e3d1cb8512084d616a81a6f74f | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Tue Jul 23 16:10:19 2017
@author: ks
"""
# ======================================================================================================================
# -------------------------------------------------------------------------------------------... | 59.5625 | 120 | 0.171039 | 65 | 1,906 | 4.876923 | 0.646154 | 0.063091 | 0.056782 | 0.107256 | 0.264984 | 0.264984 | 0.264984 | 0.264984 | 0 | 0 | 0 | 0.008264 | 0.047744 | 1,906 | 31 | 121 | 61.483871 | 0.166391 | 0.859916 | 0 | 0 | 0 | 0 | 0.159184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2d6d0fc5cf3bca48306b93858536308fa9a083cc | 69 | py | Python | lib/lib/utils/__init__.py | trouleau/noisy-hawkes-cumulants | a183a766807a714ca4338f09249d4ddc4e9a11a7 | [
"MIT"
] | 1 | 2021-07-22T05:16:13.000Z | 2021-07-22T05:16:13.000Z | lib/lib/utils/__init__.py | trouleau/noisy-hawkes-cumulants | a183a766807a714ca4338f09249d4ddc4e9a11a7 | [
"MIT"
] | null | null | null | lib/lib/utils/__init__.py | trouleau/noisy-hawkes-cumulants | a183a766807a714ca4338f09249d4ddc4e9a11a7 | [
"MIT"
] | null | null | null | from . import metrics
from . import cumulants
from . import plotting
| 17.25 | 23 | 0.782609 | 9 | 69 | 6 | 0.555556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 24 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2deb94a57917065f72be1958f715f8694beddee7 | 22 | py | Python | Modules/vms/dscdef/dscdef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | 2 | 2021-10-06T15:46:53.000Z | 2022-01-26T02:58:54.000Z | Modules/vms/dscdef/dscdef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | null | null | null | Modules/vms/dscdef/dscdef.py | vmssoftware/cpython | b5d2c7f578d33963798a02ca32f0c151c908aa7c | [
"0BSD"
] | null | null | null | from _dscdef import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
93152e94b0c4ab82605dd22422044271e8fceb44 | 27 | py | Python | dpipe/medim/hsv.py | samokhinv/deep_pipe | 9461b02f5f32c3e9f24490619ebccf417979cffc | [
"MIT"
] | null | null | null | dpipe/medim/hsv.py | samokhinv/deep_pipe | 9461b02f5f32c3e9f24490619ebccf417979cffc | [
"MIT"
] | null | null | null | dpipe/medim/hsv.py | samokhinv/deep_pipe | 9461b02f5f32c3e9f24490619ebccf417979cffc | [
"MIT"
] | null | null | null | from dpipe.im.hsv import *
| 13.5 | 26 | 0.740741 | 5 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9316f43f6465c00ad6c141120a0b36299d51ae03 | 11,998 | py | Python | model.py | tushartushar/designite_util | 1443b401d336acdcaf4e3d9a5ea4a41be85c825d | [
"Apache-2.0"
] | null | null | null | model.py | tushartushar/designite_util | 1443b401d336acdcaf4e3d9a5ea4a41be85c825d | [
"Apache-2.0"
] | null | null | null | model.py | tushartushar/designite_util | 1443b401d336acdcaf4e3d9a5ea4a41be85c825d | [
"Apache-2.0"
] | null | null | null | import re
from constants import *
class Type:
def __init__(self, project_name, package_name, type_name, file_path, start_line_no):
self.project_name = project_name
self.package_name = package_name
self.type_name = type_name
self.file_path = file_path
self.start_line_no = s... | 47.422925 | 360 | 0.580513 | 1,560 | 11,998 | 4.201282 | 0.104487 | 0.061794 | 0.071407 | 0.041196 | 0.864968 | 0.824382 | 0.757705 | 0.731767 | 0.706744 | 0.687672 | 0 | 0.022107 | 0.310052 | 11,998 | 252 | 361 | 47.611111 | 0.76963 | 0.06101 | 0 | 0.660377 | 0 | 0 | 0.032892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075472 | false | 0 | 0.009434 | 0.014151 | 0.160377 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
931d81e8dd2d58de4aba1123beed746c10fc06cc | 19,505 | py | Python | tests/executor/test_serial.py | adir-intsights/sergeant | 76229b045309a3d795ac760d9f08da04b5e0a750 | [
"MIT"
] | null | null | null | tests/executor/test_serial.py | adir-intsights/sergeant | 76229b045309a3d795ac760d9f08da04b5e0a750 | [
"MIT"
] | null | null | null | tests/executor/test_serial.py | adir-intsights/sergeant | 76229b045309a3d795ac760d9f08da04b5e0a750 | [
"MIT"
] | null | null | null | import unittest
import unittest.mock
import time
import sergeant.worker
import sergeant.executor
import sergeant.config
class SerialTestCase(
unittest.TestCase,
):
def setUp(
self,
):
self.worker = unittest.mock.MagicMock()
self.worker.config = sergeant.config.WorkerConfig(
... | 30.960317 | 73 | 0.593591 | 2,022 | 19,505 | 5.453511 | 0.054896 | 0.145098 | 0.098667 | 0.089598 | 0.917657 | 0.880112 | 0.830598 | 0.824431 | 0.802938 | 0.776004 | 0 | 0.003056 | 0.312125 | 19,505 | 629 | 74 | 31.009539 | 0.818812 | 0 | 0 | 0.637782 | 0 | 0 | 0.018047 | 0 | 0 | 0 | 0 | 0 | 0.239168 | 1 | 0.038128 | false | 0 | 0.010399 | 0 | 0.05026 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9324cdbc46662d10025be3c4ece77d315da7b86b | 179 | py | Python | test/TaskReporter/__init__.py | paulondc/chilopoda | 046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4 | [
"MIT"
] | 2 | 2019-09-24T18:56:27.000Z | 2021-02-07T04:58:49.000Z | test/TaskReporter/__init__.py | paulondc/kombi | 046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4 | [
"MIT"
] | 20 | 2019-02-16T04:21:13.000Z | 2019-03-09T21:21:21.000Z | test/TaskReporter/__init__.py | paulondc/kombi | 046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4 | [
"MIT"
] | 3 | 2019-11-15T05:16:32.000Z | 2021-09-28T21:28:29.000Z | from .ColumnsTaskReporterTest import ColumnsTaskReporterTest
from .DetailedTaskReporterTest import DetailedTaskReporterTest
from .JsonTaskReporterTest import JsonTaskReporterTest
| 44.75 | 62 | 0.916201 | 12 | 179 | 13.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067039 | 179 | 3 | 63 | 59.666667 | 0.982036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa8b3ef5b625c42301e955bd217c837c539d7b37 | 233 | py | Python | mcmf.py | mathpresso/Flo | c17b2aa8044c4323d9aa4aa8589f42f7a8817745 | [
"MIT"
] | null | null | null | mcmf.py | mathpresso/Flo | c17b2aa8044c4323d9aa4aa8589f42f7a8817745 | [
"MIT"
] | null | null | null | mcmf.py | mathpresso/Flo | c17b2aa8044c4323d9aa4aa8589f42f7a8817745 | [
"MIT"
] | null | null | null | import mcmfModule
print(
mcmfModule.mcmf(
"夏期講習B日程t数復習(文型)1①三角関数8月27日(火)①t講習問題】sinθ−cosθ=½{1}{2}が成り立つとき,sinθ,co∞θの値を求めよ。",
"夏期講習B日程t数復習(文型)2①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①①",
4,
)
)
| 23.3 | 88 | 0.695279 | 27 | 233 | 6.148148 | 0.777778 | 0.156627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.314136 | 0.180258 | 233 | 9 | 89 | 25.888889 | 0.528796 | 0 | 0 | 0 | 0 | 0.125 | 0.613734 | 0.613734 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0.125 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fad23f93d774ed6f32327e2d3d9e1ae866ca597f | 4,356 | py | Python | saleor/plugins/sendgrid/tests/test_plugin.py | greentornado/saleor | 7f58917957a23c4dd90b47214a4500c91c735dee | [
"CC-BY-4.0"
] | 3 | 2021-06-22T12:38:18.000Z | 2021-07-11T15:01:57.000Z | saleor/plugins/sendgrid/tests/test_plugin.py | greentornado/saleor | 7f58917957a23c4dd90b47214a4500c91c735dee | [
"CC-BY-4.0"
] | 111 | 2021-06-30T08:51:06.000Z | 2022-03-28T04:48:49.000Z | saleor/plugins/sendgrid/tests/test_plugin.py | aminziadna/saleor | 2e78fb5bcf8b83a6278af02551a104cfa555a1fb | [
"CC-BY-4.0"
] | 6 | 2021-11-08T16:43:05.000Z | 2022-03-22T17:31:16.000Z | from dataclasses import asdict
from unittest.mock import MagicMock, patch
import pytest
from django.core.exceptions import ValidationError
from ....core.notify_events import AdminNotifyEvent, UserNotifyEvent
from ...models import PluginConfiguration
from ..plugin import EVENT_MAP
def test_get_event_map():
for e... | 32.029412 | 79 | 0.75023 | 529 | 4,356 | 5.661626 | 0.151229 | 0.106845 | 0.08414 | 0.05409 | 0.752588 | 0.749249 | 0.719866 | 0.719866 | 0.719866 | 0.698498 | 0 | 0.00387 | 0.169421 | 4,356 | 135 | 80 | 32.266667 | 0.823936 | 0 | 0 | 0.55 | 0 | 0 | 0.100551 | 0.08494 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.07 | false | 0.15 | 0.07 | 0 | 0.14 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
877f66191b16230a8077a1e28fd39ab635b3ae68 | 42 | py | Python | __init__.py | penrin/audioproc | ac3df5015d87f2a1e2a7a86ac7f5b75ae8314c03 | [
"MIT"
] | 2 | 2018-09-18T08:55:26.000Z | 2020-01-24T04:31:25.000Z | __init__.py | penrin/audioproc | ac3df5015d87f2a1e2a7a86ac7f5b75ae8314c03 | [
"MIT"
] | null | null | null | __init__.py | penrin/audioproc | ac3df5015d87f2a1e2a7a86ac7f5b75ae8314c03 | [
"MIT"
] | null | null | null | # coding: utf-8
from .audioproc import *
| 10.5 | 24 | 0.690476 | 6 | 42 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.190476 | 42 | 3 | 25 | 14 | 0.823529 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
87ab43416abb351c95af0a973ddf4a7430e9a1f2 | 28,137 | py | Python | testsuite/test_directed_un_weighted_graph.py | trycatchhorn/PyAlgDat | 85f8c7550630cf31b5e4472fd593956c9d96c078 | [
"MIT"
] | null | null | null | testsuite/test_directed_un_weighted_graph.py | trycatchhorn/PyAlgDat | 85f8c7550630cf31b5e4472fd593956c9d96c078 | [
"MIT"
] | null | null | null | testsuite/test_directed_un_weighted_graph.py | trycatchhorn/PyAlgDat | 85f8c7550630cf31b5e4472fd593956c9d96c078 | [
"MIT"
] | null | null | null | #!/usr/bin/env py.test
"""
Test directed unweighted graph.
"""
import unittest
import copy
from py_alg_dat import dfs_edge_classification
from py_alg_dat import graph
from py_alg_dat import graph_edge
from py_alg_dat import graph_vertex
class TestDirectedUnWeightedGraph(unittest.TestCase):
"""
Test directe... | 39.188022 | 94 | 0.647581 | 3,713 | 28,137 | 4.595475 | 0.046324 | 0.072789 | 0.063295 | 0.056379 | 0.893161 | 0.852722 | 0.744887 | 0.712243 | 0.679775 | 0.609858 | 0 | 0.041574 | 0.252834 | 28,137 | 717 | 95 | 39.242678 | 0.770061 | 0.091197 | 0 | 0.583158 | 0 | 0 | 0.004159 | 0 | 0 | 0 | 0 | 0 | 0.050526 | 0 | null | null | 0 | 0.012632 | null | null | 0.002105 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
87be4387a82b4c163c9058a83e88b7b1f78e3979 | 82 | py | Python | configs/NoC/noc_config.py | Maiux92/gem5-NVM-multiple-memory-spaces | 0996bfd34638a7f3f05382cc1e7a813a177eed7f | [
"MIT"
] | 3 | 2021-04-24T16:08:00.000Z | 2022-03-22T22:07:40.000Z | configs/NoC/noc_config.py | Maiux92/gem5-NVM-multiple-memory-spaces | 0996bfd34638a7f3f05382cc1e7a813a177eed7f | [
"MIT"
] | null | null | null | configs/NoC/noc_config.py | Maiux92/gem5-NVM-multiple-memory-spaces | 0996bfd34638a7f3f05382cc1e7a813a177eed7f | [
"MIT"
] | 1 | 2021-03-25T16:55:08.000Z | 2021-03-25T16:55:08.000Z | noc_config = [
["c", "c"],
["c", "c"],
["n", "v"],
#["c", "n"],
]
| 11.714286 | 16 | 0.219512 | 10 | 82 | 1.7 | 0.5 | 0.352941 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.341463 | 82 | 6 | 17 | 13.666667 | 0.314815 | 0.134146 | 0 | 0.4 | 0 | 0 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.