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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1340d0f1ccf1247bf84d8184663b5ee70efb87cc | 15,869 | py | Python | tests/contrib/elasticsearch/test.py | uniq10/dd-trace-py | ca9ce1fe552cf03c2828bcd160e537336aa275d5 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-10-17T14:55:46.000Z | 2020-10-17T14:55:46.000Z | tests/contrib/elasticsearch/test.py | uniq10/dd-trace-py | ca9ce1fe552cf03c2828bcd160e537336aa275d5 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | tests/contrib/elasticsearch/test.py | uniq10/dd-trace-py | ca9ce1fe552cf03c2828bcd160e537336aa275d5 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | import datetime
# project
from ddtrace import Pin
from ddtrace.constants import ANALYTICS_SAMPLE_RATE_KEY
from ddtrace.ext import http
from ddtrace.contrib.elasticsearch import get_traced_transport
from ddtrace.contrib.elasticsearch.elasticsearch import elasticsearch
from ddtrace.contrib.elasticsearch.patch import pat... | 39.6725 | 108 | 0.625874 | 1,942 | 15,869 | 4.968074 | 0.110711 | 0.039179 | 0.045605 | 0.036484 | 0.786795 | 0.764822 | 0.757774 | 0.734142 | 0.721808 | 0.701907 | 0 | 0.019972 | 0.233285 | 15,869 | 399 | 109 | 39.77193 | 0.772993 | 0.065726 | 0 | 0.768116 | 0 | 0 | 0.127444 | 0.008855 | 0 | 0 | 0 | 0 | 0.391304 | 1 | 0.047101 | false | 0.003623 | 0.047101 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
135ac8d2b5df32d0e1cb4f7160d030492c88b456 | 19 | py | Python | dtech_instagram/InstagramAPI/__init__.py | hideki-saito/InstagramAPP_Flask | c3ee6f10d35edb74f0f82f4370faca8f0c25200c | [
"MIT"
] | 126 | 2016-05-18T19:20:32.000Z | 2022-02-12T10:30:50.000Z | dtech_instagram/InstagramAPI/__init__.py | hideki-saito/InstagramAPP_Flask | c3ee6f10d35edb74f0f82f4370faca8f0c25200c | [
"MIT"
] | 41 | 2016-08-07T17:32:37.000Z | 2022-01-13T00:25:31.000Z | dtech_instagram/InstagramAPI/__init__.py | hideki-saito/InstagramAPP_Flask | c3ee6f10d35edb74f0f82f4370faca8f0c25200c | [
"MIT"
] | 61 | 2016-07-07T14:18:38.000Z | 2021-03-28T12:48:26.000Z | from .src import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 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 |
13b45e7bf73f08d06adbb63574de911e7dbfd60a | 174 | py | Python | classes/__init__.py | veken1199/CityLibraries | f1097c7b081acdd74f35c7aa04e2fed2ecb16e85 | [
"MIT"
] | null | null | null | classes/__init__.py | veken1199/CityLibraries | f1097c7b081acdd74f35c7aa04e2fed2ecb16e85 | [
"MIT"
] | 8 | 2019-02-13T03:42:19.000Z | 2022-02-17T19:18:49.000Z | classes/__init__.py | veken1199/CityLibraries | f1097c7b081acdd74f35c7aa04e2fed2ecb16e85 | [
"MIT"
] | null | null | null | from .library_result import *
from .super_map import *
from .api_response import *
from .cache_managers import ImageUrlCacheManager
from .thread_manager import ThreadsManager | 34.8 | 48 | 0.844828 | 22 | 174 | 6.454545 | 0.636364 | 0.211268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109195 | 174 | 5 | 49 | 34.8 | 0.916129 | 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 |
13c637cc92d13aa921c83c3ea7bfaa4fb308d5ac | 92 | py | Python | suite/views/__init__.py | KieranSweeden/fol.io | a6f231e3f9fb96841387b04d72131470c5fc3239 | [
"OLDAP-2.5",
"OLDAP-2.4",
"OLDAP-2.3"
] | null | null | null | suite/views/__init__.py | KieranSweeden/fol.io | a6f231e3f9fb96841387b04d72131470c5fc3239 | [
"OLDAP-2.5",
"OLDAP-2.4",
"OLDAP-2.3"
] | null | null | null | suite/views/__init__.py | KieranSweeden/fol.io | a6f231e3f9fb96841387b04d72131470c5fc3239 | [
"OLDAP-2.5",
"OLDAP-2.4",
"OLDAP-2.3"
] | null | null | null | from .general import *
from .projects import *
from .skills import *
from .profile import *
| 18.4 | 23 | 0.73913 | 12 | 92 | 5.666667 | 0.5 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 92 | 4 | 24 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
13e48d49a384106dcf66a2596ed0f921b570fa74 | 129 | py | Python | lotube/videos/comments/models.py | zurfyx/lotube | d00a456d4aff5a6f4c63dab5d90ba6a3a72e3a3f | [
"MIT"
] | null | null | null | lotube/videos/comments/models.py | zurfyx/lotube | d00a456d4aff5a6f4c63dab5d90ba6a3a72e3a3f | [
"MIT"
] | null | null | null | lotube/videos/comments/models.py | zurfyx/lotube | d00a456d4aff5a6f4c63dab5d90ba6a3a72e3a3f | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from .abstract_models import AbstractComment
class Comment(AbstractComment):
pass
| 16.125 | 44 | 0.829457 | 14 | 129 | 7.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 129 | 7 | 45 | 18.428571 | 0.90991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b965216cf1a4ee443ac722b06c44a1e118d7742e | 184 | py | Python | src/sage/gsl/gsl_array.py | vbraun/sage | 07d6c37d18811e2b377a9689790a7c5e24da16ba | [
"BSL-1.0"
] | 3 | 2016-06-19T14:48:31.000Z | 2022-01-28T08:46:01.000Z | src/sage/gsl/gsl_array.py | rwst/sage | a9d274b9338e6ee24bf35ea8d25875507e51e455 | [
"BSL-1.0"
] | null | null | null | src/sage/gsl/gsl_array.py | rwst/sage | a9d274b9338e6ee24bf35ea8d25875507e51e455 | [
"BSL-1.0"
] | 7 | 2021-11-08T10:01:59.000Z | 2022-03-03T11:25:52.000Z | """
GSL arrays
"""
from sage.misc.superseded import deprecation
deprecation(9084, "the module sage.gsl.gsl_array has moved to sage.libs.gsl.array")
from sage.libs.gsl.array import *
| 20.444444 | 83 | 0.76087 | 29 | 184 | 4.793103 | 0.551724 | 0.172662 | 0.158273 | 0.230216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.119565 | 184 | 8 | 84 | 23 | 0.833333 | 0.054348 | 0 | 0 | 0 | 0 | 0.373494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b97328e65edcfc112343d7c77811cd7f3140fbd4 | 181 | py | Python | pypackage_test/__init__.py | MarinaRuizSO/pypackage_test | c731797ab72c0c1b9686e239f174e0864031b240 | [
"MIT"
] | null | null | null | pypackage_test/__init__.py | MarinaRuizSO/pypackage_test | c731797ab72c0c1b9686e239f174e0864031b240 | [
"MIT"
] | 1 | 2022-02-03T10:08:56.000Z | 2022-02-03T10:08:56.000Z | pypackage_test/__init__.py | MarinaRuizSO/pypackage_test | c731797ab72c0c1b9686e239f174e0864031b240 | [
"MIT"
] | null | null | null | """Top-level package for pypackage-test."""
__author__ = """Marina Ruiz Sanchez-Oro[D[D[D[D[D[D[D[D[D[Dá"""
__email__ = 'marina.ruiz.so@ed.ac.uk'
__version__ = '[0.1.0]'
| 30.166667 | 73 | 0.624309 | 42 | 181 | 2.642857 | 0.52381 | 0.162162 | 0.243243 | 0.288288 | 0.171171 | 0.171171 | 0.171171 | 0.171171 | 0.171171 | 0.171171 | 0 | 0.018182 | 0.088398 | 181 | 5 | 74 | 36.2 | 0.593939 | 0.20442 | 0 | 0 | 0 | 0.333333 | 0.608696 | 0.471014 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9bd9c6dcf451bcb691a6cc2356a653a50c976a3 | 4,012 | py | Python | mmu/viz/contours.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | null | null | null | mmu/viz/contours.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | 11 | 2021-12-08T10:34:17.000Z | 2022-01-20T13:40:05.000Z | mmu/viz/contours.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from mmu.viz.utils import _get_color_hexes
from mmu.viz.utils import _create_pr_legend
from mmu.viz.utils import _create_pr_legend_scatter
def _plot_pr_curve_contours(
precision,
recall,
scores,
prec_grid,
rec_grid,
levels,
labels,
cm... | 29.5 | 90 | 0.63335 | 583 | 4,012 | 4.157804 | 0.200686 | 0.090759 | 0.024752 | 0.029703 | 0.791667 | 0.783003 | 0.783003 | 0.783003 | 0.726898 | 0.69802 | 0 | 0.023553 | 0.259222 | 4,012 | 135 | 91 | 29.718519 | 0.792059 | 0.16002 | 0 | 0.715596 | 0 | 0 | 0.023381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018349 | false | 0 | 0.045872 | 0 | 0.082569 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a12150f9e9ca089dece8b5c10afd093080c9a7b | 22 | py | Python | djamix/__init__.py | djamix/djamix | 36630a3072e084097a071afa4a5de00bf800d3d0 | [
"MIT"
] | 1 | 2018-10-07T11:37:38.000Z | 2018-10-07T11:37:38.000Z | djamix/__init__.py | djamix/djamix | 36630a3072e084097a071afa4a5de00bf800d3d0 | [
"MIT"
] | 4 | 2018-07-19T20:31:07.000Z | 2018-09-21T09:01:46.000Z | djamix/__init__.py | djamix/djamix | 36630a3072e084097a071afa4a5de00bf800d3d0 | [
"MIT"
] | null | null | null | from .djamix import *
| 11 | 21 | 0.727273 | 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 |
6a39d188b4aa2ec334de9297a39ed5cf4e0b2109 | 7,952 | py | Python | models/spa_softmax_v2.py | facexteam/pytorch-cifar | 48abfba662dc41b6f35b70f54f543af658f56be8 | [
"MIT"
] | 1 | 2019-02-19T09:23:26.000Z | 2019-02-19T09:23:26.000Z | models/spa_softmax_v2.py | facexteam/pytorch-cifar | 48abfba662dc41b6f35b70f54f543af658f56be8 | [
"MIT"
] | null | null | null | models/spa_softmax_v2.py | facexteam/pytorch-cifar | 48abfba662dc41b6f35b70f54f543af658f56be8 | [
"MIT"
] | 1 | 2019-02-19T09:23:30.000Z | 2019-02-19T09:23:30.000Z | '''Large margin softmax in PyTorch.
@author: zhaoyafei
'''
from __future__ import print_function
import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
eps = 1e-4
class SpaSoftmax_v2(nn.Module):
def __init__(self, embedding_net, output_size=10, scale=4, m=0.8, b=0):
super... | 31.808 | 91 | 0.545775 | 1,045 | 7,952 | 3.915789 | 0.111005 | 0.089932 | 0.065005 | 0.02566 | 0.832845 | 0.800831 | 0.788856 | 0.773705 | 0.773705 | 0.756843 | 0 | 0.017882 | 0.289738 | 7,952 | 249 | 92 | 31.935743 | 0.706622 | 0.232897 | 0 | 0.628571 | 0 | 0 | 0.068099 | 0.01405 | 0 | 0 | 0 | 0 | 0.028571 | 1 | 0.107143 | false | 0 | 0.035714 | 0.021429 | 0.214286 | 0.092857 | 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 |
e01383ebca3939b6f081bef8dfacd04dff5db547 | 44 | py | Python | app/services/__init__.py | nkthanh98/flask-seed | 353993e11a765c2b9cec8adf63a555580c223981 | [
"MIT"
] | null | null | null | app/services/__init__.py | nkthanh98/flask-seed | 353993e11a765c2b9cec8adf63a555580c223981 | [
"MIT"
] | null | null | null | app/services/__init__.py | nkthanh98/flask-seed | 353993e11a765c2b9cec8adf63a555580c223981 | [
"MIT"
] | null | null | null | # coding=utf-8
from .pet import PetService
| 11 | 27 | 0.75 | 7 | 44 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.159091 | 44 | 3 | 28 | 14.666667 | 0.864865 | 0.272727 | 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 |
e0233310dbcb20dc71886e50fbe1fd4ab519a24c | 226 | py | Python | projects/siamfc-pytorch/siamfc/__init__.py | happywu/mmaction2-CycleContrast | 019734e471dffd1161b7a9c617ba862d2349a96c | [
"Apache-2.0"
] | null | null | null | projects/siamfc-pytorch/siamfc/__init__.py | happywu/mmaction2-CycleContrast | 019734e471dffd1161b7a9c617ba862d2349a96c | [
"Apache-2.0"
] | null | null | null | projects/siamfc-pytorch/siamfc/__init__.py | happywu/mmaction2-CycleContrast | 019734e471dffd1161b7a9c617ba862d2349a96c | [
"Apache-2.0"
] | null | null | null | # from .default_config import default_cfg
# from .siamfc_tracker_v2 import TrackerSiamFC
from .default_config_base import default_cfg
from .siamfc_tracker_base import TrackerSiamFC
__all__ = ['TrackerSiamFC', 'default_cfg']
| 32.285714 | 46 | 0.831858 | 29 | 226 | 6 | 0.37931 | 0.172414 | 0.195402 | 0.229885 | 0.37931 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0.004951 | 0.106195 | 226 | 6 | 47 | 37.666667 | 0.856436 | 0.371681 | 0 | 0 | 0 | 0 | 0.172662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
e0438e173da762b3dcbd2295cc3670168a49de34 | 5,173 | py | Python | tests/pipelines/test_log_pipeline.py | ozgurkara/pydiator_core | 4194e2a27ac4e340447f03975fe3d9765506c868 | [
"MIT"
] | 24 | 2020-12-12T18:27:40.000Z | 2022-03-28T08:00:42.000Z | tests/pipelines/test_log_pipeline.py | ozgurkara/pydiator_core | 4194e2a27ac4e340447f03975fe3d9765506c868 | [
"MIT"
] | null | null | null | tests/pipelines/test_log_pipeline.py | ozgurkara/pydiator_core | 4194e2a27ac4e340447f03975fe3d9765506c868 | [
"MIT"
] | 2 | 2021-10-05T11:55:22.000Z | 2021-11-15T05:53:16.000Z | from unittest import mock
from unittest.mock import MagicMock
from pydiator_core.pipelines.log_pipeline import LogPipeline
from pydiator_core.serializer import SerializerFactory
from tests.base_test_case import BaseTestCase, TestRequest, TestResponse
class TestLogPipeline(BaseTestCase):
def setUp(self):
... | 35.923611 | 108 | 0.700947 | 600 | 5,173 | 5.678333 | 0.135 | 0.080716 | 0.070443 | 0.041092 | 0.828001 | 0.818609 | 0.810097 | 0.778397 | 0.727913 | 0.727913 | 0 | 0.002003 | 0.227914 | 5,173 | 143 | 109 | 36.174825 | 0.851027 | 0.018365 | 0 | 0.7 | 0 | 0 | 0.081044 | 0.071556 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.088889 | false | 0.011111 | 0.055556 | 0 | 0.2 | 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 |
e054f1aa2d7448bd22f85c9ea259665e86547d53 | 226 | py | Python | publish.py | StackStorm/pip-conflict-checker | 937cc909e2263a9a6bbd993e537b43f8e9520aa1 | [
"MIT"
] | 59 | 2015-05-05T02:43:22.000Z | 2021-12-07T13:34:58.000Z | publish.py | StackStorm/pip-conflict-checker | 937cc909e2263a9a6bbd993e537b43f8e9520aa1 | [
"MIT"
] | 8 | 2017-02-10T20:02:31.000Z | 2021-02-01T16:23:54.000Z | publish.py | StackStorm/pip-conflict-checker | 937cc909e2263a9a6bbd993e537b43f8e9520aa1 | [
"MIT"
] | 18 | 2015-05-28T19:25:45.000Z | 2020-10-30T09:02:46.000Z | import subprocess
subprocess.call(['pip', 'install', 'wheel'])
subprocess.call(['python', 'setup.py', 'clean', '--all'])
subprocess.call(['python', 'setup.py', 'register', 'sdist', 'bdist_wheel', 'upload', '-r', 'ambition'])
| 37.666667 | 103 | 0.646018 | 26 | 226 | 5.576923 | 0.653846 | 0.289655 | 0.275862 | 0.344828 | 0.372414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079646 | 226 | 5 | 104 | 45.2 | 0.697115 | 0 | 0 | 0 | 0 | 0 | 0.411504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1609b78a948c20948dfd2a20f81cbdcb62eef163 | 121 | py | Python | pyqt_graphics_video_item_video_player/__init__.py | yjg30737/pyqt-graphics-video-item-video-player | 3ce8f5bfb3e6c3be32d2090df34a3beb18a42237 | [
"MIT"
] | null | null | null | pyqt_graphics_video_item_video_player/__init__.py | yjg30737/pyqt-graphics-video-item-video-player | 3ce8f5bfb3e6c3be32d2090df34a3beb18a42237 | [
"MIT"
] | null | null | null | pyqt_graphics_video_item_video_player/__init__.py | yjg30737/pyqt-graphics-video-item-video-player | 3ce8f5bfb3e6c3be32d2090df34a3beb18a42237 | [
"MIT"
] | null | null | null | from .videoControlWidget import *
from .videoGraphicsView import *
from .videoPlayer import *
from .videoSlider import *
| 24.2 | 33 | 0.801653 | 12 | 121 | 8.083333 | 0.5 | 0.309278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 121 | 4 | 34 | 30.25 | 0.92381 | 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 |
160b1d4b43e57b3517a90b8b27509de7f9b0721b | 131 | py | Python | chesscom/__init__.py | chrka/chesscom-api-and-graphql-bridge | 015a528e04f74fe82d5fde3bcc83568806416f8d | [
"MIT"
] | null | null | null | chesscom/__init__.py | chrka/chesscom-api-and-graphql-bridge | 015a528e04f74fe82d5fde3bcc83568806416f8d | [
"MIT"
] | null | null | null | chesscom/__init__.py | chrka/chesscom-api-and-graphql-bridge | 015a528e04f74fe82d5fde3bcc83568806416f8d | [
"MIT"
] | null | null | null | from .player import lookup_player, Title, Status, titled_players
from .country import lookup_country
from .club import lookup_club
| 32.75 | 64 | 0.839695 | 19 | 131 | 5.578947 | 0.526316 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114504 | 131 | 3 | 65 | 43.666667 | 0.913793 | 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 |
162c2e8a45c6cf048b98ba46007dcd9573fb2fdf | 12,098 | py | Python | saleor/graphql/giftcard/tests/queries/test_gift_card_filtering.py | altankhuyagrio/saleor | cd91227c1580c17ab0ccf86eb5fa9545158f193c | [
"CC-BY-4.0"
] | 6 | 2021-09-20T19:00:30.000Z | 2022-03-19T06:55:35.000Z | saleor/graphql/giftcard/tests/queries/test_gift_card_filtering.py | altankhuyagrio/saleor | cd91227c1580c17ab0ccf86eb5fa9545158f193c | [
"CC-BY-4.0"
] | 201 | 2021-06-07T16:31:47.000Z | 2022-03-21T04:50:43.000Z | saleor/graphql/giftcard/tests/queries/test_gift_card_filtering.py | abenezerBelachew/saleor | 31b68b106991cf4834e3e0f6ae23a043159acf00 | [
"CC-BY-4.0"
] | 1 | 2021-06-13T02:48:37.000Z | 2021-06-13T02:48:37.000Z | import graphene
import pytest
from .....giftcard.models import GiftCard
from ....tests.utils import get_graphql_content, get_graphql_content_from_response
QUERY_GIFT_CARDS = """
query giftCards($filter: GiftCardFilterInput){
giftCards(first: 10, filter: $filter) {
edges {
node ... | 25.523207 | 88 | 0.632171 | 1,439 | 12,098 | 4.913829 | 0.075747 | 0.145948 | 0.042427 | 0.078065 | 0.892802 | 0.878659 | 0.863951 | 0.848819 | 0.843586 | 0.82209 | 0 | 0.008808 | 0.249215 | 12,098 | 473 | 89 | 25.577167 | 0.76968 | 0.015788 | 0 | 0.634667 | 0 | 0 | 0.123926 | 0.014912 | 0 | 0 | 0 | 0 | 0.061333 | 1 | 0.032 | false | 0 | 0.010667 | 0 | 0.042667 | 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 |
163f5c5c16d59c42e4a5f17ad54ff8a84336504e | 3,407 | py | Python | O'REILLY/LightbulbStartWatching.py | kei-academic/CheckiO | 9f4c1fa44704f302ce95f5d9e20c4fa0beda06c3 | [
"MIT"
] | 1 | 2021-12-26T21:52:02.000Z | 2021-12-26T21:52:02.000Z | O'REILLY/LightbulbStartWatching.py | kei-academic/CheckiO | 9f4c1fa44704f302ce95f5d9e20c4fa0beda06c3 | [
"MIT"
] | null | null | null | O'REILLY/LightbulbStartWatching.py | kei-academic/CheckiO | 9f4c1fa44704f302ce95f5d9e20c4fa0beda06c3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from datetime import datetime
from typing import List, Optional
def sum_light(els: List[datetime], start_watching: Optional[datetime] = None) -> int:
"""
how long the light bulb has been turned on
"""
if start_watching is not None:
for i in range(len(els)):
... | 26.207692 | 86 | 0.398004 | 409 | 3,407 | 3.256724 | 0.166259 | 0.342342 | 0.370871 | 0.427928 | 0.68994 | 0.672673 | 0.66967 | 0.614865 | 0.614865 | 0.611111 | 0 | 0.259563 | 0.462871 | 3,407 | 129 | 87 | 26.410853 | 0.468306 | 0.019078 | 0 | 0.535714 | 0 | 0 | 0.026759 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.008929 | false | 0 | 0.017857 | 0 | 0.035714 | 0.026786 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1661a24b37b55d75c724f14fa73d18a44f4a7625 | 24 | py | Python | Modules - Lab/FibonacciSequence/__init__.py | DiyanKalaydzhiev23/Advanced---Python | ed2c60bb887c49e5a87624719633e2b8432f6f6b | [
"MIT"
] | null | null | null | Modules - Lab/FibonacciSequence/__init__.py | DiyanKalaydzhiev23/Advanced---Python | ed2c60bb887c49e5a87624719633e2b8432f6f6b | [
"MIT"
] | null | null | null | Modules - Lab/FibonacciSequence/__init__.py | DiyanKalaydzhiev23/Advanced---Python | ed2c60bb887c49e5a87624719633e2b8432f6f6b | [
"MIT"
] | null | null | null | from .fibonacii import * | 24 | 24 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
168e4a9d13e836f9c36e1df539cdf97de9554103 | 169 | py | Python | plugins/logging_mod.py | surajssd/kube-hunter | 0157ac83ce6a735d4a431e9e3a6d4ec847aa6fc1 | [
"Apache-2.0"
] | 1 | 2019-09-25T12:31:33.000Z | 2019-09-25T12:31:33.000Z | plugins/logging_mod.py | surajssd/kube-hunter | 0157ac83ce6a735d4a431e9e3a6d4ec847aa6fc1 | [
"Apache-2.0"
] | null | null | null | plugins/logging_mod.py | surajssd/kube-hunter | 0157ac83ce6a735d4a431e9e3a6d4ec847aa6fc1 | [
"Apache-2.0"
] | 1 | 2020-08-17T16:05:45.000Z | 2020-08-17T16:05:45.000Z | import logging
# Supress logging from scapy
logging.getLogger("scapy.runtime").setLevel(logging.CRITICAL)
logging.getLogger("scapy.loading").setLevel(logging.CRITICAL)
| 28.166667 | 61 | 0.816568 | 20 | 169 | 6.9 | 0.5 | 0.231884 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059172 | 169 | 5 | 62 | 33.8 | 0.867925 | 0.153846 | 0 | 0 | 0 | 0 | 0.184397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
16a7cc0afcf2dfd519fc09e32bca965bedff9670 | 204 | py | Python | tests/helpers/functions/test_logger.py | racelandshop/integration | 424057dcad30f20ed0276aec07d28b48b2b187be | [
"MIT"
] | null | null | null | tests/helpers/functions/test_logger.py | racelandshop/integration | 424057dcad30f20ed0276aec07d28b48b2b187be | [
"MIT"
] | null | null | null | tests/helpers/functions/test_logger.py | racelandshop/integration | 424057dcad30f20ed0276aec07d28b48b2b187be | [
"MIT"
] | null | null | null | import os
from custom_components.racelandshop.helpers.functions.logger import getLogger
def test_logger():
os.environ["GITHUB_ACTION"] = "value"
getLogger()
del os.environ["GITHUB_ACTION"]
| 20.4 | 77 | 0.75 | 25 | 204 | 5.96 | 0.68 | 0.120805 | 0.201342 | 0.281879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142157 | 204 | 9 | 78 | 22.666667 | 0.851429 | 0 | 0 | 0 | 0 | 0 | 0.151961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
16e605b055adfaeb4be288253fea0c4480da07e7 | 25 | py | Python | stochopy/factory/__init__.py | keurfonluu/stochopy | a566a9db0efbd74e385f8d46fa4ece2ca939e45b | [
"BSD-3-Clause"
] | 36 | 2020-04-27T04:59:51.000Z | 2022-03-29T02:34:44.000Z | stochopy/factory/__init__.py | XiangyuYang-Opt/stochopy | 5f6625c40ec80297dbcd3bd85b5073b9ed6b8cb2 | [
"BSD-3-Clause"
] | 9 | 2020-09-20T08:38:00.000Z | 2021-11-22T08:20:41.000Z | stochopy/factory/__init__.py | XiangyuYang-Opt/stochopy | 5f6625c40ec80297dbcd3bd85b5073b9ed6b8cb2 | [
"BSD-3-Clause"
] | 6 | 2018-04-17T03:54:46.000Z | 2020-03-03T14:15:31.000Z | from .benchmark import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16eef2c62c245f73bc1181339c8208dfd7a7ab8d | 5,148 | py | Python | crds/tests/test_table_effects.py | nden/crds | b72f14cf07531ca70b61daa6b58e762e5899afa4 | [
"BSD-3-Clause"
] | null | null | null | crds/tests/test_table_effects.py | nden/crds | b72f14cf07531ca70b61daa6b58e762e5899afa4 | [
"BSD-3-Clause"
] | null | null | null | crds/tests/test_table_effects.py | nden/crds | b72f14cf07531ca70b61daa6b58e762e5899afa4 | [
"BSD-3-Clause"
] | null | null | null | """This tests, through the use of bestrefs, the functioning of table effects."""
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
import doctest
from crds import tests
from crds.tests import test_config
from crds.bestrefs import BestrefsScript
def dt_table... | 49.028571 | 162 | 0.708236 | 663 | 5,148 | 5.355958 | 0.21267 | 0.068431 | 0.029288 | 0.047311 | 0.737539 | 0.67474 | 0.652211 | 0.640101 | 0.626302 | 0.612222 | 0 | 0.051313 | 0.193667 | 5,148 | 104 | 163 | 49.5 | 0.804144 | 0.834887 | 0 | 0 | 0 | 0 | 0.015209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | true | 0 | 0.533333 | 0 | 0.866667 | 0.133333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc9a8e4a6f64cc0ea803d11914681c7598fe9208 | 151 | py | Python | openprocurement/auctions/core/plugins/awarding/v1/tests/blanks/award_blanks.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 2 | 2016-09-15T20:17:43.000Z | 2017-01-08T03:32:43.000Z | openprocurement/auctions/core/plugins/awarding/v1/tests/blanks/award_blanks.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 183 | 2017-12-21T11:04:37.000Z | 2019-03-27T08:14:34.000Z | openprocurement/auctions/core/plugins/awarding/v1/tests/blanks/award_blanks.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 12 | 2016-09-05T12:07:48.000Z | 2019-02-26T09:24:17.000Z | from zope import deprecation
deprecation.moved('openprocurement.auctions.core.tests.plugins.awarding.v1.tests.blanks.award_blanks', 'version update')
| 37.75 | 120 | 0.834437 | 19 | 151 | 6.578947 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.05298 | 151 | 3 | 121 | 50.333333 | 0.867133 | 0 | 0 | 0 | 0 | 0 | 0.629139 | 0.536424 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bca82c548aa062a5e4c7486f7e41959ecb84f471 | 3,302 | py | Python | tests/routes/test_data.py | dixonwhitmire/connect | 800d821c8f6d6abff6485b43727353b909ef4b76 | [
"Apache-2.0"
] | 33 | 2020-06-16T11:47:03.000Z | 2022-03-24T02:41:00.000Z | tests/routes/test_data.py | dixonwhitmire/connect | 800d821c8f6d6abff6485b43727353b909ef4b76 | [
"Apache-2.0"
] | 470 | 2020-06-12T01:18:43.000Z | 2022-02-20T23:08:00.000Z | tests/routes/test_data.py | dixonwhitmire/connect | 800d821c8f6d6abff6485b43727353b909ef4b76 | [
"Apache-2.0"
] | 30 | 2020-06-12T19:36:09.000Z | 2022-01-31T15:25:35.000Z | """
test_data.py
Tests /data endpoints
"""
import pytest
from connect.exceptions import KafkaMessageNotFoundError
from connect.routes import data
from unittest.mock import Mock
@pytest.fixture
def endpoint_parameters():
return {"dataformat": "EXAMPLE", "partition": 100, "offset": 4561}
@pytest.mark.asyncio
asy... | 37.954023 | 84 | 0.719261 | 413 | 3,302 | 5.479419 | 0.181598 | 0.097658 | 0.07954 | 0.106938 | 0.829872 | 0.829872 | 0.829872 | 0.829872 | 0.794521 | 0.71498 | 0 | 0.012246 | 0.208661 | 3,302 | 86 | 85 | 38.395349 | 0.853808 | 0.010297 | 0 | 0.519231 | 0 | 0 | 0.09721 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 1 | 0.019231 | false | 0 | 0.076923 | 0.019231 | 0.115385 | 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 |
bcc2bab69838d5c5c526d09af6f997a67e35c1b8 | 144 | py | Python | gate/gate_xor.py | shimomura314/Arithmetic-Logic-Unit | a547d2fe4ac3cbc2e38a64d654e26141f4c9c81a | [
"MIT"
] | null | null | null | gate/gate_xor.py | shimomura314/Arithmetic-Logic-Unit | a547d2fe4ac3cbc2e38a64d654e26141f4c9c81a | [
"MIT"
] | null | null | null | gate/gate_xor.py | shimomura314/Arithmetic-Logic-Unit | a547d2fe4ac3cbc2e38a64d654e26141f4c9c81a | [
"MIT"
] | null | null | null | from .gate_and import AND
from .gate_nand import NAND
from .gate_or import OR
def XOR(*x):
if sum(x)%2 == 1:
return 1
return 0 | 16 | 27 | 0.638889 | 27 | 144 | 3.296296 | 0.555556 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038095 | 0.270833 | 144 | 9 | 28 | 16 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.857143 | 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 |
4c278b39f4dee0d22d59456bf01a42802e5217ae | 22 | py | Python | server/templates/Hello.py | AnoTherK-ATK/online-judge-mean | e0dc457756987496c397627e204453ee8909588c | [
"MIT"
] | 23 | 2021-01-18T09:50:05.000Z | 2022-02-23T04:52:26.000Z | server/templates/Hello.py | AnoTherK-ATK/online-judge-mean | e0dc457756987496c397627e204453ee8909588c | [
"MIT"
] | 3 | 2021-01-16T11:15:06.000Z | 2021-09-01T05:47:41.000Z | server/templates/Hello.py | AnoTherK-ATK/online-judge-mean | e0dc457756987496c397627e204453ee8909588c | [
"MIT"
] | 10 | 2021-05-09T12:55:47.000Z | 2022-03-27T13:35:41.000Z | print "Hello, Python!" | 22 | 22 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 22 | 1 | 22 | 22 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4c50c910baa48825b9b7bfd78751b021607b4097 | 10,875 | py | Python | tests/molecular/molecules/constructed_molecule/fixtures/cof.py | andrewtarzia/stk | 1ac2ecbb5c9940fe49ce04cbf5603fd7538c475a | [
"MIT"
] | 21 | 2018-04-12T16:25:24.000Z | 2022-02-14T23:05:43.000Z | tests/molecular/molecules/constructed_molecule/fixtures/cof.py | JelfsMaterialsGroup/stk | 0d3e1b0207aa6fa4d4d5ee8dfe3a29561abb08a2 | [
"MIT"
] | 8 | 2019-03-19T12:36:36.000Z | 2020-11-11T12:46:00.000Z | tests/molecular/molecules/constructed_molecule/fixtures/cof.py | supramolecular-toolkit/stk | 0d3e1b0207aa6fa4d4d5ee8dfe3a29561abb08a2 | [
"MIT"
] | 5 | 2018-08-07T13:00:16.000Z | 2021-11-01T00:55:10.000Z | import pytest
import stk
from ..case_data import CaseData
class CofData:
"""
Data to initialize a COF :class:`.CaseData` instance.
Attributes
----------
topology_graph : :class:`type`
A COF class.
building_blocks : :class:`tuple` of :class:`.BuildingBlock`
The building block... | 31.160458 | 70 | 0.50354 | 1,112 | 10,875 | 4.70054 | 0.101619 | 0.13392 | 0.039985 | 0.088961 | 0.814425 | 0.774249 | 0.729482 | 0.723742 | 0.723742 | 0.708054 | 0 | 0.019347 | 0.391632 | 10,875 | 348 | 71 | 31.25 | 0.770707 | 0.226115 | 0 | 0.688034 | 0 | 0.029915 | 0.052001 | 0.038874 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017094 | false | 0 | 0.012821 | 0 | 0.047009 | 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 |
910dee13ada4f50700344b34cb4ca5f9537d39dc | 7,774 | py | Python | testing/test_checkpoints.py | vincent-antaki/Neuraxle | cef1284a261010c655f8ef02b4fca5b8bb45850c | [
"Apache-2.0"
] | 4 | 2019-06-24T01:06:57.000Z | 2020-08-18T08:16:10.000Z | testing/test_checkpoints.py | Tubbz-alt/Neuraxle | 308f24248cdb242b7e2f6ec7c51daf2ee3e38834 | [
"Apache-2.0"
] | 1 | 2020-02-07T15:08:42.000Z | 2020-02-07T15:08:42.000Z | testing/test_checkpoints.py | Tubbz-alt/Neuraxle | 308f24248cdb242b7e2f6ec7c51daf2ee3e38834 | [
"Apache-2.0"
] | null | null | null | import os
from pickle import dump
from py._path.local import LocalPath
from neuraxle.checkpoints import DefaultCheckpoint
from neuraxle.pipeline import ResumablePipeline
from neuraxle.steps.misc import FitTransformCallbackStep, TapeCallbackFunction
SUMMARY_ID = '6e4419c1957e7772f3957d63bb41efcd'
def test_resumable... | 40.489583 | 112 | 0.721893 | 1,020 | 7,774 | 5.186275 | 0.070588 | 0.083176 | 0.041588 | 0.066541 | 0.853308 | 0.83327 | 0.806427 | 0.802079 | 0.783365 | 0.77259 | 0 | 0.027439 | 0.146771 | 7,774 | 191 | 113 | 40.701571 | 0.770089 | 0 | 0 | 0.635659 | 0 | 0 | 0.109596 | 0.004116 | 0 | 0 | 0 | 0 | 0.24031 | 1 | 0.124031 | false | 0.007752 | 0.046512 | 0 | 0.186047 | 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 |
9114ca9b2103bde294ec6638f4917e3effd45d01 | 45 | py | Python | atlas/emitter/__init__.py | medav/atlas.py | 2f3e382d53bf63d37dcb2ef743b66c294d0e28b2 | [
"MIT"
] | 1 | 2019-02-27T10:50:37.000Z | 2019-02-27T10:50:37.000Z | atlas/emitter/__init__.py | medav/pyatlas | 6e18c54c844303094af15dbd96a9b71c3e245395 | [
"MIT"
] | 4 | 2021-05-04T04:58:13.000Z | 2021-05-04T04:59:08.000Z | atlas/emitter/__init__.py | medav/pyatlas | 6e18c54c844303094af15dbd96a9b71c3e245395 | [
"MIT"
] | 1 | 2021-05-02T01:51:29.000Z | 2021-05-02T01:51:29.000Z | from .emitter import *
from .verilog import * | 22.5 | 22 | 0.755556 | 6 | 45 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 23 | 22.5 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
911d55e5d2d7b5e1adcffba2d86c40524175a0e9 | 46 | py | Python | src/devops_menu/controller/__init__.py | rubelw/devops_menu | 38a8eadb26c5ac90a201fd3af0d09d5165ed8249 | [
"Apache-2.0"
] | 2 | 2020-10-08T21:42:56.000Z | 2021-03-21T08:17:52.000Z | src/devops_menu/controller/__init__.py | rubelw/devops_menu | 38a8eadb26c5ac90a201fd3af0d09d5165ed8249 | [
"Apache-2.0"
] | null | null | null | src/devops_menu/controller/__init__.py | rubelw/devops_menu | 38a8eadb26c5ac90a201fd3af0d09d5165ed8249 | [
"Apache-2.0"
] | null | null | null | from .command_executor import CommandExecutor
| 23 | 45 | 0.891304 | 5 | 46 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.952381 | 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 |
912bcbe1c6bfacd151314fa0952894705897b040 | 9,375 | py | Python | mooring/context_processors.py | jawaidm/moorings | 22db3fa5917fb13cbee144e64529221ef862cb39 | [
"Apache-2.0"
] | null | null | null | mooring/context_processors.py | jawaidm/moorings | 22db3fa5917fb13cbee144e64529221ef862cb39 | [
"Apache-2.0"
] | 2 | 2020-04-30T12:02:15.000Z | 2021-03-19T22:41:46.000Z | mooring/context_processors.py | jawaidm/moorings | 22db3fa5917fb13cbee144e64529221ef862cb39 | [
"Apache-2.0"
] | 6 | 2020-01-13T08:45:09.000Z | 2021-02-24T03:31:02.000Z | from django.conf import settings
from django.core.cache import cache
from mooring import models
from mooring import helpers
import json
def mooring_url(request):
web_url = request.META.get('HTTP_HOST', None)
tg = 'pvs'
if web_url in settings.ROTTNEST_ISLAND_URL:
tg = 'ria'
else:
... | 38.422131 | 171 | 0.651733 | 1,135 | 9,375 | 5.036123 | 0.112775 | 0.044262 | 0.045486 | 0.025192 | 0.914276 | 0.914276 | 0.896956 | 0.896956 | 0.852694 | 0.852694 | 0 | 0.005017 | 0.23456 | 9,375 | 243 | 172 | 38.580247 | 0.791527 | 0.52864 | 0 | 0.343434 | 0 | 0 | 0.217584 | 0.107043 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0.020202 | 0.050505 | 0 | 0.111111 | 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 |
e6c03e7d80599c2f75c5a55d53106de2f52bb214 | 132 | py | Python | pythran/tests/user_defined_import/tiny_project/level/dummy.py | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 1,647 | 2015-01-13T01:45:38.000Z | 2022-03-28T01:23:41.000Z | pythran/tests/user_defined_import/tiny_project/level/dummy.py | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 1,116 | 2015-01-01T09:52:05.000Z | 2022-03-18T21:06:40.000Z | pythran/tests/user_defined_import/tiny_project/level/dummy.py | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 180 | 2015-02-12T02:47:28.000Z | 2022-03-14T10:28:18.000Z | from .. csts import return_cst
from ..level.dummer import twice
#pythran export yummy()
def yummy():
return twice(return_cst())
| 22 | 32 | 0.734848 | 19 | 132 | 5 | 0.631579 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 5 | 33 | 26.4 | 0.848214 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
e6d1ccf6fc0cbd4dbbcb35c6745a74783e78b41a | 105,481 | py | Python | google_appengine/google/appengine/tools/devappserver2/module_test.py | Serag8/Bachelor | 097c0ad2264e9c8790afcdbafa8e7fe8f46410a3 | [
"MIT"
] | null | null | null | google_appengine/google/appengine/tools/devappserver2/module_test.py | Serag8/Bachelor | 097c0ad2264e9c8790afcdbafa8e7fe8f46410a3 | [
"MIT"
] | null | null | null | google_appengine/google/appengine/tools/devappserver2/module_test.py | Serag8/Bachelor | 097c0ad2264e9c8790afcdbafa8e7fe8f46410a3 | [
"MIT"
] | 2 | 2020-07-25T05:03:06.000Z | 2020-11-04T04:55:57.000Z | #!/usr/bin/env python
#
# Copyright 2007 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 37.180472 | 80 | 0.67651 | 11,753 | 105,481 | 5.800562 | 0.048328 | 0.042612 | 0.033884 | 0.024349 | 0.857204 | 0.821516 | 0.763576 | 0.718192 | 0.688474 | 0.660296 | 0 | 0.012378 | 0.216503 | 105,481 | 2,836 | 81 | 37.193583 | 0.812533 | 0.020705 | 0 | 0.734966 | 0 | 0 | 0.039978 | 0.004315 | 0 | 0 | 0 | 0 | 0.061856 | 1 | 0.09579 | false | 0.00043 | 0.012887 | 0.004725 | 0.133162 | 0.002577 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc4edf28dac39757c9fbe4459c51f3d0efa0dbb5 | 100 | py | Python | util/parsing.py | giuseppe/quay | a1b7e4b51974edfe86f66788621011eef2667e6a | [
"Apache-2.0"
] | 2,027 | 2019-11-12T18:05:48.000Z | 2022-03-31T22:25:04.000Z | util/parsing.py | giuseppe/quay | a1b7e4b51974edfe86f66788621011eef2667e6a | [
"Apache-2.0"
] | 496 | 2019-11-12T18:13:37.000Z | 2022-03-31T10:43:45.000Z | util/parsing.py | giuseppe/quay | a1b7e4b51974edfe86f66788621011eef2667e6a | [
"Apache-2.0"
] | 249 | 2019-11-12T18:02:27.000Z | 2022-03-22T12:19:19.000Z | def truthy_bool(param):
return param not in {False, "false", "False", "0", "FALSE", "", "null"}
| 33.333333 | 75 | 0.6 | 14 | 100 | 4.214286 | 0.714286 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.17 | 100 | 2 | 76 | 50 | 0.698795 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fca8fba390c7dd155bcd07c0bcb0b89255c2d1f2 | 2,099 | py | Python | packages/pyright-internal/src/tests/samples/typeVar6.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 4,391 | 2019-05-07T01:18:57.000Z | 2022-03-31T20:45:44.000Z | packages/pyright-internal/src/tests/samples/typeVar6.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 2,740 | 2019-05-07T03:29:30.000Z | 2022-03-31T12:57:46.000Z | packages/pyright-internal/src/tests/samples/typeVar6.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 455 | 2019-05-07T12:55:14.000Z | 2022-03-31T17:09:15.000Z | # This sample tests that generic type variables
# with a bound type properly generate errors. It tests
# both class-defined and function-defined type variables.
from typing import Generic, TypeVar, Union
class Foo:
var1: int
def __call__(self, val: int):
pass
def do_stuff(self) -> int:
... | 18.094828 | 57 | 0.525488 | 264 | 2,099 | 3.931818 | 0.212121 | 0.17341 | 0.312139 | 0.327553 | 0.678227 | 0.646435 | 0.646435 | 0.639692 | 0.639692 | 0.639692 | 0 | 0.025822 | 0.391139 | 2,099 | 115 | 58 | 18.252174 | 0.786385 | 0.340162 | 0 | 0.773585 | 1 | 0 | 0.004402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09434 | false | 0.075472 | 0.018868 | 0.056604 | 0.320755 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5d86907621f8906115faaf4552ee860eae6f1908 | 185,674 | py | Python | glance/tests/unit/v2/test_images_resource.py | arvindn05/glance | 055d15a6ba5d132f649156eac0fc91f4cd2813e4 | [
"Apache-2.0"
] | null | null | null | glance/tests/unit/v2/test_images_resource.py | arvindn05/glance | 055d15a6ba5d132f649156eac0fc91f4cd2813e4 | [
"Apache-2.0"
] | null | null | null | glance/tests/unit/v2/test_images_resource.py | arvindn05/glance | 055d15a6ba5d132f649156eac0fc91f4cd2813e4 | [
"Apache-2.0"
] | null | null | null | # Copyright 2012 OpenStack Foundation.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | 44.579592 | 79 | 0.576742 | 19,307 | 185,674 | 5.312063 | 0.042005 | 0.044169 | 0.035491 | 0.04103 | 0.867024 | 0.841624 | 0.815181 | 0.785433 | 0.758463 | 0.734234 | 0 | 0.018055 | 0.297214 | 185,674 | 4,164 | 80 | 44.590298 | 0.767911 | 0.025275 | 0 | 0.687465 | 0 | 0 | 0.129864 | 0.019411 | 0 | 0 | 0 | 0 | 0.136162 | 1 | 0.089018 | false | 0.001941 | 0.018026 | 0 | 0.113422 | 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 |
5dab1662376a5e53a6942409c9b09120fe39ba6f | 174 | py | Python | mydjango/tausite/admin.py | aborbic/myDjangoProject | 3936c5988fc73a42481fad65de7ea2e671de2664 | [
"MIT"
] | null | null | null | mydjango/tausite/admin.py | aborbic/myDjangoProject | 3936c5988fc73a42481fad65de7ea2e671de2664 | [
"MIT"
] | null | null | null | mydjango/tausite/admin.py | aborbic/myDjangoProject | 3936c5988fc73a42481fad65de7ea2e671de2664 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(Home)
admin.site.register(Announcements)
admin.site.register(Picture)
admin.site.register(Email)
| 19.333333 | 34 | 0.810345 | 24 | 174 | 5.875 | 0.5 | 0.255319 | 0.48227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 174 | 8 | 35 | 21.75 | 0.88125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
5dcebbb82473c965093c475e05b9d994604981c1 | 41 | py | Python | contrib/packaging-python/conda/setvarnumpy.py | lucasw/chrono | e79d8c761c718ecb4c796725cff37026f357da8c | [
"BSD-3-Clause"
] | 1,383 | 2015-02-04T14:17:40.000Z | 2022-03-30T04:58:16.000Z | contrib/packaging-python/conda/setvarnumpy.py | pchaoWT/chrono | fd68d37d1d4ee75230dc1eea78ceff91cca7ac32 | [
"BSD-3-Clause"
] | 245 | 2015-01-11T15:30:51.000Z | 2022-03-30T21:28:54.000Z | contrib/packaging-python/conda/setvarnumpy.py | pchaoWT/chrono | fd68d37d1d4ee75230dc1eea78ceff91cca7ac32 | [
"BSD-3-Clause"
] | 351 | 2015-02-04T14:17:47.000Z | 2022-03-30T04:42:52.000Z | import numpy
print(numpy.get_include())
| 10.25 | 26 | 0.780488 | 6 | 41 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 3 | 27 | 13.666667 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
5dd418c83ab725a2b92d104a6013cf1e80e2849f | 3,378 | py | Python | tests/test_phonenumber.py | knwin/python-myanmar | d1a812178848054d1f8795c3a36630ac33750289 | [
"MIT"
] | 2 | 2019-02-06T14:48:59.000Z | 2019-10-20T15:39:48.000Z | tests/test_phonenumber.py | knwin/python-myanmar | d1a812178848054d1f8795c3a36630ac33750289 | [
"MIT"
] | null | null | null | tests/test_phonenumber.py | knwin/python-myanmar | d1a812178848054d1f8795c3a36630ac33750289 | [
"MIT"
] | 1 | 2019-02-06T14:49:11.000Z | 2019-02-06T14:49:11.000Z | import re
from myanmar import phonenumber as mp
def test_with_mobile_code():
assert re.match(mp.mobile_code_re, "09") is not None
assert re.match(mp.mobile_code_re, "9") is None
assert re.match(mp.mobile_code_re, "") is None
def test_with_country_code():
assert re.match(mp.country_code_re, "+959") i... | 39.27907 | 68 | 0.734754 | 521 | 3,378 | 4.568138 | 0.111324 | 0.117647 | 0.191176 | 0.220588 | 0.815966 | 0.744118 | 0.697059 | 0.587815 | 0.519328 | 0.405882 | 0 | 0.184965 | 0.153345 | 3,378 | 85 | 69 | 39.741176 | 0.647203 | 0 | 0 | 0.031746 | 0 | 0 | 0.130255 | 0 | 0 | 0 | 0 | 0 | 0.809524 | 1 | 0.15873 | true | 0 | 0.031746 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d1acad433e1c92d1f0eb62de419432a684b66ff | 48 | py | Python | xendit/models/recurringpayment/__init__.py | adyaksaw/xendit-python | 47b05f2a6582104a274dc12a172c6421de86febc | [
"MIT"
] | 10 | 2020-10-31T23:34:34.000Z | 2022-03-08T19:08:55.000Z | xendit/models/recurringpayment/__init__.py | adyaksaw/xendit-python | 47b05f2a6582104a274dc12a172c6421de86febc | [
"MIT"
] | 22 | 2020-07-30T14:25:07.000Z | 2022-03-31T03:55:46.000Z | xendit/models/recurringpayment/__init__.py | adyaksaw/xendit-python | 47b05f2a6582104a274dc12a172c6421de86febc | [
"MIT"
] | 11 | 2020-07-28T08:09:40.000Z | 2022-03-18T00:14:02.000Z | from .recurring_payment import RecurringPayment
| 24 | 47 | 0.895833 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 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 |
5d218a6ef8a5b24db6369aba11beba122ea6eecd | 11,783 | py | Python | tests/components/homekit/test_type_switches.py | miccico/core | 14c205384171dee59c1a908f8449f9864778b2dc | [
"Apache-2.0"
] | 6 | 2017-08-02T19:26:39.000Z | 2020-03-14T22:47:41.000Z | tests/components/homekit/test_type_switches.py | miccico/core | 14c205384171dee59c1a908f8449f9864778b2dc | [
"Apache-2.0"
] | 57 | 2020-10-15T06:47:00.000Z | 2022-03-31T06:11:18.000Z | tests/components/homekit/test_type_switches.py | miccico/core | 14c205384171dee59c1a908f8449f9864778b2dc | [
"Apache-2.0"
] | 14 | 2018-08-19T16:28:26.000Z | 2021-09-02T18:26:53.000Z | """Test different accessory types: Switches."""
from datetime import timedelta
import pytest
from homeassistant.components.homekit.const import (
ATTR_VALUE,
TYPE_FAUCET,
TYPE_SHOWER,
TYPE_SPRINKLER,
TYPE_VALVE,
)
from homeassistant.components.homekit.type_switches import Outlet, Switch, Vacuum, V... | 32.913408 | 88 | 0.721293 | 1,795 | 11,783 | 4.406128 | 0.072423 | 0.062713 | 0.093817 | 0.098495 | 0.852952 | 0.833734 | 0.807182 | 0.784549 | 0.757365 | 0.740296 | 0 | 0.009552 | 0.182551 | 11,783 | 357 | 89 | 33.005602 | 0.811566 | 0.020029 | 0 | 0.675182 | 0 | 0 | 0.027765 | 0 | 0 | 0 | 0 | 0 | 0.354015 | 1 | 0 | false | 0 | 0.032847 | 0 | 0.032847 | 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 |
5d26a693d048718ad6893858d64c7c489609f472 | 37 | py | Python | src/coingeckoprice/__init__.py | joshallen64/coingeckoprice | 776e45e6059249ead64a6ed6baf17627c1e8c23b | [
"MIT"
] | 1 | 2022-03-16T22:14:03.000Z | 2022-03-16T22:14:03.000Z | src/coingeckoprice/__init__.py | joshallen64/coingeckoprice | 776e45e6059249ead64a6ed6baf17627c1e8c23b | [
"MIT"
] | null | null | null | src/coingeckoprice/__init__.py | joshallen64/coingeckoprice | 776e45e6059249ead64a6ed6baf17627c1e8c23b | [
"MIT"
] | null | null | null | from .coingeckoprice import CoinPrice | 37 | 37 | 0.891892 | 4 | 37 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 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 |
5d559492e83387c240e2503246f66a32dbdff178 | 50 | py | Python | tests/integration/ext_functions.py | toniwa/tavern | 69e8cf4db7c067f94d3ad480bd8295c1c6c335a6 | [
"MIT"
] | 889 | 2017-11-04T11:43:36.000Z | 2022-03-31T11:37:31.000Z | tests/integration/ext_functions.py | toniwa/tavern | 69e8cf4db7c067f94d3ad480bd8295c1c6c335a6 | [
"MIT"
] | 636 | 2017-11-04T11:43:02.000Z | 2022-03-31T00:02:04.000Z | tests/integration/ext_functions.py | toniwa/tavern | 69e8cf4db7c067f94d3ad480bd8295c1c6c335a6 | [
"MIT"
] | 181 | 2017-12-05T13:51:42.000Z | 2022-03-25T11:34:58.000Z | def return_hello():
return {"hello": "there"}
| 16.666667 | 29 | 0.62 | 6 | 50 | 5 | 0.666667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18 | 50 | 2 | 30 | 25 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
53b10b5d95e8a647f9925da1a1c143f6bb6ac647 | 50 | py | Python | perceiver_jax/__init__.py | sooheon/perceiver-jax | 28d8e49d9e3f69fba5f95cb98b36caaa710b5ede | [
"MIT"
] | 11 | 2021-03-12T08:22:32.000Z | 2021-10-14T09:10:54.000Z | perceiver_jax/__init__.py | sooheon/perceiver-jax | 28d8e49d9e3f69fba5f95cb98b36caaa710b5ede | [
"MIT"
] | 1 | 2021-05-08T01:02:51.000Z | 2021-11-27T09:31:17.000Z | perceiver_jax/__init__.py | sooheon/perceiver-jax | 28d8e49d9e3f69fba5f95cb98b36caaa710b5ede | [
"MIT"
] | null | null | null | from perceiver_jax.perceiver_jax import Perceiver
| 25 | 49 | 0.9 | 7 | 50 | 6.142857 | 0.571429 | 0.55814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.934783 | 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 |
53d14e949381f075cf3d0a3c93822789e169116a | 474 | py | Python | ljpypi_test/sampleCode.py | Leejung8763/ljpypi_test | a9108b3fd65be746de1905e69a45d73d8b1fce30 | [
"MIT"
] | null | null | null | ljpypi_test/sampleCode.py | Leejung8763/ljpypi_test | a9108b3fd65be746de1905e69a45d73d8b1fce30 | [
"MIT"
] | null | null | null | ljpypi_test/sampleCode.py | Leejung8763/ljpypi_test | a9108b3fd65be746de1905e69a45d73d8b1fce30 | [
"MIT"
] | null | null | null | class Calculator:
def __init__(self, par01, par02):
self.par01, self.par02 = par01, par02
print("This is PyPI Uploading Test Code V0.2.0")
print(f"Input parameter is {self.par01, self.par02}")
def add(self):
return self.par01 + self.par02
def substract(self):
return... | 27.882353 | 61 | 0.620253 | 64 | 474 | 4.53125 | 0.390625 | 0.217241 | 0.268966 | 0.372414 | 0.489655 | 0.417241 | 0.32069 | 0 | 0 | 0 | 0 | 0.101744 | 0.274262 | 474 | 17 | 62 | 27.882353 | 0.741279 | 0 | 0 | 0 | 0 | 0 | 0.172632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0 | 0.307692 | 0.769231 | 0.153846 | 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 |
9905ba61a5ed7d0353615ed64e7160a84df9705d | 14,857 | py | Python | tests/twitter/test_views.py | garrettc/django-ditto | fcf15beb8f9b4d61634efd4a88064df12ee16a6f | [
"MIT"
] | 54 | 2016-08-15T17:32:41.000Z | 2022-02-27T03:32:05.000Z | tests/twitter/test_views.py | garrettc/django-ditto | fcf15beb8f9b4d61634efd4a88064df12ee16a6f | [
"MIT"
] | 229 | 2015-07-23T12:50:47.000Z | 2022-03-24T10:33:20.000Z | tests/twitter/test_views.py | garrettc/django-ditto | fcf15beb8f9b4d61634efd4a88064df12ee16a6f | [
"MIT"
] | 8 | 2015-09-10T17:10:35.000Z | 2022-03-25T13:05:01.000Z | from django.urls import reverse
from django.test import TestCase
from ditto.twitter import factories
class ViewTests(TestCase):
def test_home_templates(self):
"The Twitter home page uses the correct templates"
response = self.client.get(reverse("twitter:home"))
self.assertEquals(response.... | 42.207386 | 87 | 0.64367 | 1,635 | 14,857 | 5.688685 | 0.070336 | 0.079024 | 0.03677 | 0.042899 | 0.904849 | 0.867434 | 0.851844 | 0.770025 | 0.741426 | 0.714117 | 0 | 0.01078 | 0.250724 | 14,857 | 351 | 88 | 42.327635 | 0.824739 | 0.074578 | 0 | 0.617162 | 0 | 0 | 0.144736 | 0.021166 | 0 | 0 | 0 | 0 | 0.247525 | 1 | 0.062706 | false | 0 | 0.009901 | 0 | 0.075908 | 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 |
54ce686d8fd7b26dece0c60ba399ee74b034b4e1 | 34 | py | Python | demos/mnist/__init__.py | YblBarry/xshinnosuke | fe71379140910ec073d54fe01f82f8f28f113a98 | [
"MIT"
] | 290 | 2020-07-06T02:13:12.000Z | 2021-01-04T14:23:39.000Z | demos/mnist/__init__.py | YblBarry/xshinnosuke | fe71379140910ec073d54fe01f82f8f28f113a98 | [
"MIT"
] | 1 | 2020-12-03T11:11:48.000Z | 2020-12-03T11:11:48.000Z | demos/mnist/__init__.py | E1eveNn/xshinnosuke | 69da91e0ea5042437edfc31c0e6ff9ef394c6cc9 | [
"MIT"
] | 49 | 2020-07-16T00:27:47.000Z | 2020-11-26T03:03:14.000Z | from .train import go, load_mnist
| 17 | 33 | 0.794118 | 6 | 34 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.896552 | 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 |
54e50aa19890174b6bcdc5d86a20bef73f7d864b | 321 | py | Python | Aulas Python/Exercicios/exe008.py | marcosviniciusbarbosa/Curso-Python | fc6bba3a6d0adfd51d63f789dec83b5d3ac83e4b | [
"MIT"
] | null | null | null | Aulas Python/Exercicios/exe008.py | marcosviniciusbarbosa/Curso-Python | fc6bba3a6d0adfd51d63f789dec83b5d3ac83e4b | [
"MIT"
] | null | null | null | Aulas Python/Exercicios/exe008.py | marcosviniciusbarbosa/Curso-Python | fc6bba3a6d0adfd51d63f789dec83b5d3ac83e4b | [
"MIT"
] | null | null | null | #escreva um programa que leia um valor em metros e o exiba convertido em centímetros e milímetros
n = float(input("Digite quantos metros deseja converter para centímetros e milímetros "))
print('A converesão dos metros {:.0f} para centímetros é de {:.0f} cm e milímetros é de {:.0f} mm '.format(n, (n * 100), (n * 1000))... | 107 | 133 | 0.728972 | 53 | 321 | 4.415094 | 0.641509 | 0.141026 | 0.188034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037175 | 0.161994 | 321 | 3 | 133 | 107 | 0.832714 | 0.299065 | 0 | 0 | 0 | 0.5 | 0.711111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
54e8daf3a953a19ad37b76b5620aa431d792c195 | 184 | py | Python | tests/test_input_thermo_elasticity_ess.py | vondrejc/sfepy | 8e427af699c4b2858eb096510057abb3ae7e28e8 | [
"BSD-3-Clause"
] | null | null | null | tests/test_input_thermo_elasticity_ess.py | vondrejc/sfepy | 8e427af699c4b2858eb096510057abb3ae7e28e8 | [
"BSD-3-Clause"
] | null | null | null | tests/test_input_thermo_elasticity_ess.py | vondrejc/sfepy | 8e427af699c4b2858eb096510057abb3ae7e28e8 | [
"BSD-3-Clause"
] | 2 | 2019-01-14T03:12:34.000Z | 2021-05-25T11:44:50.000Z | input_name = '../examples/thermo_elasticity/thermo_elasticity_ess.py'
output_name = 'test_thermo_elasticity_ess.vtk'
from tests_basic import TestInput
class Test(TestInput):
pass
| 26.285714 | 69 | 0.815217 | 25 | 184 | 5.64 | 0.68 | 0.340426 | 0.269504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 184 | 6 | 70 | 30.666667 | 0.849398 | 0 | 0 | 0 | 0 | 0 | 0.456522 | 0.456522 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
0746aac551a23af3c4cf669fa996beb54fd0b449 | 80 | py | Python | compute.py | ttw2514/compute_task | 7744300be06a47c750cc7d7dfe8a25a38b4d067e | [
"MIT"
] | 1 | 2018-05-03T02:32:31.000Z | 2018-05-03T02:32:31.000Z | compute.py | ttw2514/compute_task | 7744300be06a47c750cc7d7dfe8a25a38b4d067e | [
"MIT"
] | null | null | null | compute.py | ttw2514/compute_task | 7744300be06a47c750cc7d7dfe8a25a38b4d067e | [
"MIT"
] | 1 | 2018-05-03T02:32:34.000Z | 2018-05-03T02:32:34.000Z | import logging
def daily_compute():
logging.info('perform daily computes')
| 16 | 42 | 0.75 | 10 | 80 | 5.9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 80 | 4 | 43 | 20 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
076af02e428b4eec8b29f419b0062f2b9440035f | 30,857 | py | Python | rigid_body_motion/__init__.py | phausamann/rigid-body-motion | 2d4fbb1b949cc0b609a59877d7539af75dad6861 | [
"MIT"
] | 8 | 2021-05-20T02:24:07.000Z | 2022-03-05T17:15:11.000Z | rigid_body_motion/__init__.py | phausamann/rigid-body-motion | 2d4fbb1b949cc0b609a59877d7539af75dad6861 | [
"MIT"
] | 10 | 2019-06-13T09:36:15.000Z | 2022-01-17T16:55:05.000Z | rigid_body_motion/__init__.py | phausamann/rigid-body-motion | 2d4fbb1b949cc0b609a59877d7539af75dad6861 | [
"MIT"
] | 1 | 2021-08-13T10:24:31.000Z | 2021-08-13T10:24:31.000Z | """Top-level package for rigid-body-motion."""
__author__ = """Peter Hausamann"""
__email__ = "peter.hausamann@tum.de"
__version__ = "0.9.0"
# ROS module has to be imported first because of PyKDL
from . import ros # noqa
from . import io, plot # noqa
from .coordinate_systems import (
cartesian_to_polar,
cart... | 31.200202 | 79 | 0.677124 | 3,848 | 30,857 | 5.310811 | 0.080821 | 0.024956 | 0.014191 | 0.018497 | 0.811656 | 0.793306 | 0.767714 | 0.758906 | 0.741339 | 0.731601 | 0 | 0.000792 | 0.263603 | 30,857 | 988 | 80 | 31.231781 | 0.898561 | 0.644035 | 0 | 0.534091 | 0 | 0 | 0.117304 | 0.038259 | 0 | 0 | 0 | 0.001012 | 0 | 1 | 0.03125 | false | 0.002841 | 0.03125 | 0 | 0.125 | 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 |
4aea4913de9727d4962d55cf7a0e724611494252 | 182 | py | Python | hm_pyhelper/constants/shipping.py | KevinWassermann94/hm-pyhelper | b48f500b407d3c2ce8651844bb8a939746847691 | [
"MIT"
] | null | null | null | hm_pyhelper/constants/shipping.py | KevinWassermann94/hm-pyhelper | b48f500b407d3c2ce8651844bb8a939746847691 | [
"MIT"
] | null | null | null | hm_pyhelper/constants/shipping.py | KevinWassermann94/hm-pyhelper | b48f500b407d3c2ce8651844bb8a939746847691 | [
"MIT"
] | null | null | null | DESTINATION_NAME_KEY = 'shipping_destination_label'
DESTINATION_ADD_GATEWAY_TXN_KEY = 'shipping_destination_add_gateway_txn'
DESTINATION_WALLETS_KEY = 'shipping_destination_wallets'
| 45.5 | 72 | 0.901099 | 22 | 182 | 6.727273 | 0.409091 | 0.222973 | 0.445946 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049451 | 182 | 3 | 73 | 60.666667 | 0.855491 | 0 | 0 | 0 | 0 | 0 | 0.494505 | 0.494505 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab1198da8990066e19a5cb62b121c6bb9f2224f2 | 2,713 | py | Python | lib/sqlalchemy/testing/__init__.py | randallk/sqlalchemy | d8ac1e9e6bfc931d2f14f9846d6924106f56b7e6 | [
"MIT"
] | 1 | 2020-02-08T20:04:42.000Z | 2020-02-08T20:04:42.000Z | lib/sqlalchemy/testing/__init__.py | randallk/sqlalchemy | d8ac1e9e6bfc931d2f14f9846d6924106f56b7e6 | [
"MIT"
] | null | null | null | lib/sqlalchemy/testing/__init__.py | randallk/sqlalchemy | d8ac1e9e6bfc931d2f14f9846d6924106f56b7e6 | [
"MIT"
] | null | null | null | # testing/__init__.py
# Copyright (C) 2005-2020 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
from . import config # noqa
from . import mock # noqa
from .assertions import... | 37.680556 | 69 | 0.78216 | 370 | 2,713 | 5.575676 | 0.272973 | 0.213282 | 0.209404 | 0.279205 | 0.375182 | 0.117305 | 0 | 0 | 0 | 0 | 0 | 0.003529 | 0.164394 | 2,713 | 71 | 70 | 38.211268 | 0.906484 | 0.186509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.423729 | 1 | 0.016949 | false | 0 | 0.949153 | 0.016949 | 0.983051 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab3ef1b1530ebda7ef03bb817b6d658a8895bae8 | 7,018 | py | Python | tests/test_filter.py | aeko-empt/ovs-dbg | 1415e10168923c7bf8710dd6a6b47d88a8d83457 | [
"Apache-2.0"
] | 7 | 2021-11-12T16:36:18.000Z | 2022-01-11T06:37:29.000Z | tests/test_filter.py | aeko-empt/ovs-dbg | 1415e10168923c7bf8710dd6a6b47d88a8d83457 | [
"Apache-2.0"
] | 43 | 2021-08-16T23:04:33.000Z | 2022-03-25T07:38:50.000Z | tests/test_filter.py | aeko-empt/ovs-dbg | 1415e10168923c7bf8710dd6a6b47d88a8d83457 | [
"Apache-2.0"
] | 4 | 2021-07-14T13:14:51.000Z | 2021-12-30T12:52:14.000Z | import pytest
from ovs_dbg.filter import OFFilter
from ovs_dbg.ofp import OFPFlowFactory
from ovs_dbg.odp import ODPFlowFactory
ofp_factory = OFPFlowFactory()
odp_factory = ODPFlowFactory()
@pytest.mark.parametrize(
"expr,flow,expected,match",
[
(
"nw_src=192.168.1.1 && tcp_dst=80",
... | 31.053097 | 156 | 0.46224 | 924 | 7,018 | 3.319264 | 0.098485 | 0.06521 | 0.080861 | 0.111184 | 0.872514 | 0.865993 | 0.865993 | 0.857515 | 0.855559 | 0.851321 | 0 | 0.18324 | 0.38957 | 7,018 | 225 | 157 | 31.191111 | 0.53268 | 0.024936 | 0 | 0.689498 | 0 | 0.073059 | 0.391591 | 0.246118 | 0 | 0 | 0.006153 | 0 | 0.013699 | 1 | 0.004566 | false | 0 | 0.018265 | 0 | 0.022831 | 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 |
db3ccd5d108f2df2e2dde193332a5f85df9e8386 | 38 | py | Python | uiza/api_resources/__init__.py | uizaio/api-wrapper-python | e67c162e711857341f7ef5752178219e94f604d3 | [
"MIT"
] | 2 | 2019-04-22T11:39:36.000Z | 2020-05-26T04:01:43.000Z | uiza/api_resources/__init__.py | uizaio/api-wrapper-python | e67c162e711857341f7ef5752178219e94f604d3 | [
"MIT"
] | null | null | null | uiza/api_resources/__init__.py | uizaio/api-wrapper-python | e67c162e711857341f7ef5752178219e94f604d3 | [
"MIT"
] | 2 | 2019-02-11T09:34:03.000Z | 2019-02-12T10:31:41.000Z | from uiza.api_resources.base import *
| 19 | 37 | 0.815789 | 6 | 38 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db3fd06c8c457f59c563a3b517f3691ad4cbb44d | 2,248 | py | Python | frappe-bench/env/lib/python2.7/site-packages/gocardless_pro/resources/refund.py | ibrahmm22/library-management | b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506 | [
"MIT"
] | 30 | 2015-07-08T21:10:10.000Z | 2022-02-17T10:08:55.000Z | frappe-bench/env/lib/python2.7/site-packages/gocardless_pro/resources/refund.py | ibrahmm22/library-management | b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506 | [
"MIT"
] | 21 | 2015-12-14T02:24:52.000Z | 2022-02-05T15:56:00.000Z | frappe-bench/env/lib/python2.7/site-packages/gocardless_pro/resources/refund.py | ibrahmm22/library-management | b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506 | [
"MIT"
] | 19 | 2016-02-10T15:57:42.000Z | 2022-02-05T10:21:05.000Z | # WARNING: Do not edit by hand, this file was generated by Crank:
#
# https://github.com/gocardless/crank
#
class Refund(object):
"""A thin wrapper around a refund, providing easy access to its
attributes.
Example:
refund = client.refunds.get()
refund.id
"""
def __init__(self, attri... | 18.578512 | 67 | 0.584075 | 238 | 2,248 | 5.403361 | 0.243697 | 0.228616 | 0.163297 | 0.242613 | 0.46112 | 0.314152 | 0.161742 | 0.101089 | 0.101089 | 0.101089 | 0 | 0 | 0.311833 | 2,248 | 120 | 68 | 18.733333 | 0.831286 | 0.141459 | 0 | 0.363636 | 1 | 0 | 0.066702 | 0.012176 | 0 | 0 | 0 | 0 | 0 | 1 | 0.327273 | false | 0 | 0 | 0.272727 | 0.654545 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
db8ec0ae489912c0e6a51ff0c63e586586cd5984 | 43 | py | Python | torch_tools/training/callbacks/__init__.py | gregunz/TorchTools | 19a33f2e4cd38f86b74bd732949516df66f9e24f | [
"MIT"
] | null | null | null | torch_tools/training/callbacks/__init__.py | gregunz/TorchTools | 19a33f2e4cd38f86b74bd732949516df66f9e24f | [
"MIT"
] | null | null | null | torch_tools/training/callbacks/__init__.py | gregunz/TorchTools | 19a33f2e4cd38f86b74bd732949516df66f9e24f | [
"MIT"
] | null | null | null | from .checkpoint import CheckpointCallback
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 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 |
dbaaa17f3518199e252dd5b7cae72eff6a15546c | 99 | py | Python | python/optatufsc/run.py | cchenzi/INE5454 | 8936f84fa96397b75f2dbbf75570865bb94363be | [
"MIT"
] | null | null | null | python/optatufsc/run.py | cchenzi/INE5454 | 8936f84fa96397b75f2dbbf75570865bb94363be | [
"MIT"
] | null | null | null | python/optatufsc/run.py | cchenzi/INE5454 | 8936f84fa96397b75f2dbbf75570865bb94363be | [
"MIT"
] | null | null | null | from optatufsc.data import get_optatufsc_data
if __name__ == '__main__':
get_optatufsc_data()
| 19.8 | 45 | 0.777778 | 13 | 99 | 5 | 0.615385 | 0.6 | 0.492308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 99 | 4 | 46 | 24.75 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
dbd8b2111a69ca7d7f619880710820ac3a7e3043 | 191 | py | Python | wittgenstein/__init__.py | Arzik1987/wittgenstein | 8378f58f17382a862f5839dcafa756dd2bc84c18 | [
"MIT"
] | 64 | 2019-02-28T08:45:19.000Z | 2022-03-19T21:48:10.000Z | wittgenstein/__init__.py | Arzik1987/wittgenstein | 8378f58f17382a862f5839dcafa756dd2bc84c18 | [
"MIT"
] | 18 | 2019-03-07T09:12:34.000Z | 2022-01-31T17:05:45.000Z | wittgenstein/__init__.py | Arzik1987/wittgenstein | 8378f58f17382a862f5839dcafa756dd2bc84c18 | [
"MIT"
] | 17 | 2019-03-15T09:58:43.000Z | 2022-03-16T17:59:42.000Z | # Author: Ilan Moscovitz <ilan.moscovitz@gmail.com>
# License: MIT
from .irep import IREP
from .ripper import RIPPER
import pandas as pd
__version__ = "0.3.2"
__author__ = "Ilan Moscovitz"
| 19.1 | 51 | 0.748691 | 28 | 191 | 4.821429 | 0.642857 | 0.288889 | 0.281481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.151832 | 191 | 9 | 52 | 21.222222 | 0.814815 | 0.324607 | 0 | 0 | 0 | 0 | 0.150794 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9176471886a15eff391cead19268a92ed8dcf556 | 53 | py | Python | scripts/wrangler.py | miguelesteras/Digital-Marketing-Analytics | e9ffb7698416d3675dbc1624d8da7019bce8f5a5 | [
"MIT"
] | null | null | null | scripts/wrangler.py | miguelesteras/Digital-Marketing-Analytics | e9ffb7698416d3675dbc1624d8da7019bce8f5a5 | [
"MIT"
] | null | null | null | scripts/wrangler.py | miguelesteras/Digital-Marketing-Analytics | e9ffb7698416d3675dbc1624d8da7019bce8f5a5 | [
"MIT"
] | null | null | null | import pandas
import numpy as np
import pandas as pd
| 13.25 | 19 | 0.811321 | 10 | 53 | 4.3 | 0.6 | 0.55814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 53 | 3 | 20 | 17.666667 | 1 | 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 |
91859e0562155e61d812e09e5bc7bb8a2421f091 | 23,112 | py | Python | tests/test_psis.py | biomedical-cybernetics/pypsis | 987cea5e2895a9744a266787b7f7f5b702e128ca | [
"MIT"
] | null | null | null | tests/test_psis.py | biomedical-cybernetics/pypsis | 987cea5e2895a9744a266787b7f7f5b702e128ca | [
"MIT"
] | null | null | null | tests/test_psis.py | biomedical-cybernetics/pypsis | 987cea5e2895a9744a266787b7f7f5b702e128ca | [
"MIT"
] | null | null | null | import unittest
import numpy as np
from sklearn.datasets import load_iris
from psis import indices
from tests import sample_data
class TestTrustworthinessComputation(unittest.TestCase):
def test_centroid_based_trustworthiness(self):
matrix, labels, positives = sample_data._swiss_roll_sample... | 51.474388 | 114 | 0.519514 | 2,389 | 23,112 | 4.726664 | 0.071997 | 0.101311 | 0.105916 | 0.119731 | 0.861938 | 0.855119 | 0.841038 | 0.782767 | 0.777099 | 0.76231 | 0 | 0.102698 | 0.369721 | 23,112 | 448 | 115 | 51.589286 | 0.672479 | 0.005668 | 0 | 0.677871 | 0 | 0 | 0.069725 | 0 | 0 | 0 | 0 | 0 | 0.263305 | 1 | 0.047619 | false | 0 | 0.014006 | 0 | 0.067227 | 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 |
918b8ad98b676f63e562081b34f11d5db8acc0d8 | 7,699 | py | Python | tests/test_simple_layers.py | civodlu/trw | b9a1cf045f61d6df9c65c014ef63b4048972dcdc | [
"MIT"
] | 3 | 2019-07-04T01:20:41.000Z | 2020-01-27T02:36:12.000Z | tests/test_simple_layers.py | civodlu/trw | b9a1cf045f61d6df9c65c014ef63b4048972dcdc | [
"MIT"
] | null | null | null | tests/test_simple_layers.py | civodlu/trw | b9a1cf045f61d6df9c65c014ef63b4048972dcdc | [
"MIT"
] | 2 | 2020-10-19T13:46:06.000Z | 2021-12-27T02:18:10.000Z | from unittest import TestCase
import trw
import numpy as np
import torch
class TestSimpleLayers(TestCase):
def test_conv2d(self):
# make sure we the syntatic sugar for the arguments are correctly managed (e.g., kernel sizes are expanded...)
i = trw.simple_layers.Input([None, 3, 28, 28], feature_na... | 39.482051 | 118 | 0.575529 | 1,145 | 7,699 | 3.71441 | 0.11179 | 0.120621 | 0.201035 | 0.082765 | 0.781801 | 0.759699 | 0.735481 | 0.7162 | 0.709146 | 0.676464 | 0 | 0.066667 | 0.261592 | 7,699 | 194 | 119 | 39.685567 | 0.681442 | 0.028185 | 0 | 0.443038 | 0 | 0 | 0.035031 | 0 | 0 | 0 | 0 | 0 | 0.208861 | 1 | 0.101266 | false | 0 | 0.025316 | 0 | 0.132911 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91c672366c328fe09f4ffd9f7b47b9bc0ff2f6d4 | 74,234 | py | Python | unit_tests/test_zaza_model.py | coreycb/zaza | 468245ac4fb4016648d8b3c35a64623dafb0d001 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | unit_tests/test_zaza_model.py | coreycb/zaza | 468245ac4fb4016648d8b3c35a64623dafb0d001 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | unit_tests/test_zaza_model.py | coreycb/zaza | 468245ac4fb4016648d8b3c35a64623dafb0d001 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # Copyright 2018 Canonical Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 39.591467 | 79 | 0.609828 | 8,654 | 74,234 | 4.897735 | 0.060319 | 0.046974 | 0.068326 | 0.081633 | 0.828123 | 0.798443 | 0.76218 | 0.734364 | 0.709426 | 0.687271 | 0 | 0.011207 | 0.281192 | 74,234 | 1,874 | 80 | 39.612593 | 0.783115 | 0.018253 | 0 | 0.68589 | 0 | 0.003067 | 0.152479 | 0.026756 | 0 | 0 | 0 | 0 | 0.088957 | 1 | 0.070552 | false | 0.000614 | 0.006135 | 0.003067 | 0.105521 | 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 |
91ce8c5343ac703be5b34803e48492b2c69aa4a9 | 23 | py | Python | slots/__init__.py | roycoding/slots | 38f76812a296ca024ebf9ad3bc60448f8d12207d | [
"MIT"
] | 81 | 2015-07-01T14:34:22.000Z | 2022-01-11T19:53:27.000Z | slots/__init__.py | Chryzanthemum/slots | 503ca8668f74de93f7924539c117396565b38e3d | [
"MIT"
] | 18 | 2016-08-13T05:38:55.000Z | 2020-01-19T20:51:48.000Z | slots/__init__.py | Chryzanthemum/slots | 503ca8668f74de93f7924539c117396565b38e3d | [
"MIT"
] | 23 | 2016-08-11T00:08:42.000Z | 2021-09-07T09:33:17.000Z | from .slots import MAB
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91cecffda0566ee90d6295205f483359c4ab302b | 1,091 | py | Python | src/data/createdfs.py | josh-gree/debatesnlp | 15bd46793fb826ae63db120c9d395fd71b7e8721 | [
"MIT"
] | null | null | null | src/data/createdfs.py | josh-gree/debatesnlp | 15bd46793fb826ae63db120c9d395fd71b7e8721 | [
"MIT"
] | null | null | null | src/data/createdfs.py | josh-gree/debatesnlp | 15bd46793fb826ae63db120c9d395fd71b7e8721 | [
"MIT"
] | null | null | null | from __future__ import division
import helper_functions as hf
raw_path = '../../data/raw/'
processed_path = '../../processed/'
fnames = ['debate_091016.txt','debate_191016.txt']
with open(raw_path + fnames[0]) as f:
data = [line for line in f.readlines()[1:] if line != '\n']
data = (eval(d) for d in data)
... | 31.171429 | 93 | 0.59945 | 191 | 1,091 | 3.335079 | 0.277487 | 0.037677 | 0.056515 | 0.094192 | 0.803768 | 0.737834 | 0.737834 | 0.737834 | 0.737834 | 0.737834 | 0 | 0.041332 | 0.20165 | 1,091 | 34 | 94 | 32.088235 | 0.690011 | 0 | 0 | 0.571429 | 0 | 0 | 0.121907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.095238 | 0 | 0.095238 | 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 |
5303f1c11be59a146331cc268c9f571b1b53d7f5 | 83 | py | Python | backend/microservices/audio-generator/config/routes/__init__.py | MuhamedAbdalla/Automatic-Audio-Book-Based-On-Emotion-Detection | 72130ad037b900461af5be6d80b27ab29c81de5e | [
"MIT"
] | 3 | 2021-04-26T00:17:14.000Z | 2021-07-04T15:30:09.000Z | backend/microservices/audio-generator/config/routes/__init__.py | MuhamedAbdalla/Automatic-Audio-Book-Based-On-Emotion-Detection | 72130ad037b900461af5be6d80b27ab29c81de5e | [
"MIT"
] | null | null | null | backend/microservices/audio-generator/config/routes/__init__.py | MuhamedAbdalla/Automatic-Audio-Book-Based-On-Emotion-Detection | 72130ad037b900461af5be6d80b27ab29c81de5e | [
"MIT"
] | null | null | null | from .headers import *
from .audio_order import *
from .authentication import *
| 20.75 | 30 | 0.746988 | 10 | 83 | 6.1 | 0.6 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 3 | 31 | 27.666667 | 0.897059 | 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 |
53266b2e1b5106333de678092ae08f5dadfb9b93 | 3,748 | py | Python | tests/test_wps_raven.py | fossabot/raven | b5ed6258a4c09ac4d132873d6b8b4a1d82d2131b | [
"MIT"
] | 29 | 2018-08-13T20:16:41.000Z | 2022-03-17T02:31:38.000Z | tests/test_wps_raven.py | fossabot/raven | b5ed6258a4c09ac4d132873d6b8b4a1d82d2131b | [
"MIT"
] | 359 | 2018-05-31T00:37:53.000Z | 2022-03-26T04:35:43.000Z | tests/test_wps_raven.py | fossabot/raven | b5ed6258a4c09ac4d132873d6b8b4a1d82d2131b | [
"MIT"
] | 10 | 2019-06-17T18:07:46.000Z | 2022-02-15T02:01:32.000Z | import zipfile
from pywps import Service
from pywps.tests import assert_response_success
from ravenpy.utilities.testdata import get_local_testdata
from raven.processes import RavenProcess
from .common import CFG_FILE, client_for
cf = ["rvi", "rvp", "rvc", "rvh", "rvt"]
class TestRavenProcess:
def test_gr4j_sa... | 31.762712 | 86 | 0.573372 | 441 | 3,748 | 4.741497 | 0.172336 | 0.052606 | 0.073649 | 0.094692 | 0.841703 | 0.818269 | 0.78001 | 0.78001 | 0.78001 | 0.78001 | 0 | 0.005981 | 0.286286 | 3,748 | 117 | 87 | 32.034188 | 0.775701 | 0 | 0 | 0.695652 | 0 | 0 | 0.225987 | 0.191035 | 0 | 0 | 0 | 0 | 0.054348 | 1 | 0.043478 | false | 0 | 0.065217 | 0 | 0.119565 | 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 |
535f7e0ce6b59008b1028435783a395f4320785d | 151 | py | Python | custom_scripts/custom_scripts/doctype/nirmala_settings/test_nirmala_settings.py | VPS-Consultancy/custom_scripts | c812c8fa670c6e3c0e8d94d5ce22638b0daeb522 | [
"MIT"
] | null | null | null | custom_scripts/custom_scripts/doctype/nirmala_settings/test_nirmala_settings.py | VPS-Consultancy/custom_scripts | c812c8fa670c6e3c0e8d94d5ce22638b0daeb522 | [
"MIT"
] | null | null | null | custom_scripts/custom_scripts/doctype/nirmala_settings/test_nirmala_settings.py | VPS-Consultancy/custom_scripts | c812c8fa670c6e3c0e8d94d5ce22638b0daeb522 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, C.R.I.O and Contributors
# See license.txt
# import frappe
import unittest
class TestNirmalaSettings(unittest.TestCase):
pass
| 16.777778 | 46 | 0.768212 | 21 | 151 | 5.52381 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.139073 | 151 | 8 | 47 | 18.875 | 0.861538 | 0.490066 | 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 |
725ee20c0a2bb6115d0bde3129e8443d2aa2fd0b | 43 | py | Python | pycmake/platform_specifics/__init__.py | scopatz/PyCMake | 1c047f420a222300b0d1820bea5e5e6e5127c759 | [
"MIT"
] | 1 | 2018-11-30T14:41:50.000Z | 2018-11-30T14:41:50.000Z | pycmake/platform_specifics/__init__.py | scopatz/PyCMake | 1c047f420a222300b0d1820bea5e5e6e5127c759 | [
"MIT"
] | null | null | null | pycmake/platform_specifics/__init__.py | scopatz/PyCMake | 1c047f420a222300b0d1820bea5e5e6e5127c759 | [
"MIT"
] | null | null | null | from .platform_factory import get_platform
| 21.5 | 42 | 0.883721 | 6 | 43 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.923077 | 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 |
7292b05c0c32309c92d2d6478c8a97b0d067663c | 1,346 | py | Python | LibTerm/site-packages/system/dummyobjc_util.py | hackingking123/LibTerm | 08e7e1de1533cfa5aa9097f3d644a69274ae6e6c | [
"MIT"
] | 510 | 2018-05-17T15:28:03.000Z | 2022-03-27T12:34:11.000Z | LibTerm/site-packages/system/dummyobjc_util.py | hackingking123/LibTerm | 08e7e1de1533cfa5aa9097f3d644a69274ae6e6c | [
"MIT"
] | 88 | 2018-11-13T18:12:38.000Z | 2022-02-20T07:01:42.000Z | LibTerm/site-packages/system/dummyobjc_util.py | hackingking123/LibTerm | 08e7e1de1533cfa5aa9097f3d644a69274ae6e6c | [
"MIT"
] | 117 | 2018-11-23T09:35:28.000Z | 2022-03-28T09:22:20.000Z |
class ObjCClass(object):
def __init__(self, *args, **kwargs):
pass
def __call__(self, *args, **kwargs):
return ObjCClass()
def __getattr__(self, item):
return ObjCClass()
class ObjCInstance(ObjCClass):
pass
class UIColor(ObjCClass):
@classmethod
def blackColor(cl... | 15.295455 | 61 | 0.604755 | 137 | 1,346 | 5.773723 | 0.364964 | 0.176991 | 0.204804 | 0.238938 | 0.070796 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001068 | 0.304606 | 1,346 | 87 | 62 | 15.471264 | 0.844017 | 0 | 0 | 0.525424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.322034 | false | 0.220339 | 0 | 0.135593 | 0.559322 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
72d1363adb05bbd481df9424cbc43c06b16cb0a0 | 101 | py | Python | api/__init__.py | foamliu/i-Cloud | c5eb0a22c1c0c78d5195d4f62237fd6c2b5e6a32 | [
"MIT"
] | 1 | 2020-02-27T07:46:24.000Z | 2020-02-27T07:46:24.000Z | api/__init__.py | foamliu/i-Cloud | c5eb0a22c1c0c78d5195d4f62237fd6c2b5e6a32 | [
"MIT"
] | null | null | null | api/__init__.py | foamliu/i-Cloud | c5eb0a22c1c0c78d5195d4f62237fd6c2b5e6a32 | [
"MIT"
] | 2 | 2019-04-25T22:56:41.000Z | 2019-07-01T21:12:21.000Z | from flask import Blueprint
api = Blueprint('api', __name__)
from . import faces, ar, matches, asr
| 16.833333 | 37 | 0.732673 | 14 | 101 | 5 | 0.714286 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168317 | 101 | 5 | 38 | 20.2 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 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 |
72e6c547ed1def2ac56529f3dc9b4eddfdb96e65 | 2,156 | py | Python | tests/cupy_tests/manipulation_tests/test_split.py | andy6975/cupy | 34b388e4a4fe7c59092b4d4c9c96b2f307e49e46 | [
"MIT"
] | 1 | 2019-12-01T09:08:14.000Z | 2019-12-01T09:08:14.000Z | tests/cupy_tests/manipulation_tests/test_split.py | hephaex/cupy | 5cf50a93bbdebe825337ed7996c464e84b1495ba | [
"MIT"
] | 1 | 2019-08-05T09:36:13.000Z | 2019-08-06T12:03:01.000Z | tests/cupy_tests/manipulation_tests/test_split.py | hephaex/cupy | 5cf50a93bbdebe825337ed7996c464e84b1495ba | [
"MIT"
] | 1 | 2022-03-24T13:19:55.000Z | 2022-03-24T13:19:55.000Z | import unittest
from cupy import testing
@testing.gpu
class TestSplit(unittest.TestCase):
@testing.numpy_cupy_array_list_equal()
def test_array_split1(self, xp):
a = testing.shaped_arange((3, 11), xp)
return xp.array_split(a, 4, 1)
@testing.numpy_cupy_array_list_equal()
def test_arr... | 31.246377 | 50 | 0.648887 | 329 | 2,156 | 3.960486 | 0.142857 | 0.079816 | 0.147352 | 0.1934 | 0.838066 | 0.828089 | 0.811972 | 0.672295 | 0.672295 | 0.584037 | 0 | 0.039239 | 0.219852 | 2,156 | 68 | 51 | 31.705882 | 0.735434 | 0 | 0 | 0.377358 | 0 | 0 | 0.005102 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.226415 | false | 0 | 0.037736 | 0 | 0.509434 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
72ef376becb502d6c44fa1c765542dbb8a4bc052 | 46 | py | Python | pettingzoo/classic/mahjong_v4.py | RedTachyon/PettingZoo | 0c4be0ca0de5a11bf8eff3f7b87976edcacd093e | [
"Apache-2.0"
] | 846 | 2020-05-12T05:55:00.000Z | 2021-10-08T19:38:40.000Z | pettingzoo/classic/mahjong_v4.py | RedTachyon/PettingZoo | 0c4be0ca0de5a11bf8eff3f7b87976edcacd093e | [
"Apache-2.0"
] | 237 | 2020-04-27T06:01:39.000Z | 2021-10-13T02:55:54.000Z | pettingzoo/classic/mahjong_v4.py | RedTachyon/PettingZoo | 0c4be0ca0de5a11bf8eff3f7b87976edcacd093e | [
"Apache-2.0"
] | 126 | 2020-05-29T04:20:29.000Z | 2021-10-13T05:31:12.000Z | from .rlcard_envs.mahjong import env, raw_env
| 23 | 45 | 0.826087 | 8 | 46 | 4.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.878049 | 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 |
f4652cc7988f565415b115f570a760a84bf40499 | 31 | py | Python | maps/spillway/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | maps/spillway/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | maps/spillway/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | from .spillway import Spillway
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f46f8ca35be8b0b25451d64befa8ecdef3e8e634 | 39 | py | Python | demo/models/__init__.py | jeanq1/sign-segmentation | cbf1203b06e82e75e06b96a430dab08da3a46f7b | [
"MIT"
] | 17 | 2021-06-08T07:53:36.000Z | 2022-03-27T02:57:50.000Z | demo/models/__init__.py | jeanq1/sign-segmentation | cbf1203b06e82e75e06b96a430dab08da3a46f7b | [
"MIT"
] | 5 | 2021-07-15T09:41:08.000Z | 2022-01-13T14:53:10.000Z | demo/models/__init__.py | jeanq1/sign-segmentation | cbf1203b06e82e75e06b96a430dab08da3a46f7b | [
"MIT"
] | 18 | 2021-06-08T15:22:09.000Z | 2022-02-21T19:06:52.000Z | from .i3d import *
from .mstcn import * | 19.5 | 20 | 0.717949 | 6 | 39 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.179487 | 39 | 2 | 20 | 19.5 | 0.84375 | 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 |
fe20e9d30e48c5006695e29e265a3bd25fd657c3 | 3,250 | py | Python | tensorflow_constrained_optimization/__init__.py | neelguha/tensorflow_constrained_optimization | 46b34d1c2d6ec05ea1e46db3bcc481a81e041637 | [
"Apache-2.0"
] | null | null | null | tensorflow_constrained_optimization/__init__.py | neelguha/tensorflow_constrained_optimization | 46b34d1c2d6ec05ea1e46db3bcc481a81e041637 | [
"Apache-2.0"
] | null | null | null | tensorflow_constrained_optimization/__init__.py | neelguha/tensorflow_constrained_optimization | 46b34d1c2d6ec05ea1e46db3bcc481a81e041637 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 The TensorFlow Constrained Optimization Authors. All Rights
# Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#... | 69.148936 | 118 | 0.868308 | 393 | 3,250 | 6.882952 | 0.302799 | 0.229575 | 0.31719 | 0.341959 | 0.641035 | 0.625139 | 0.5878 | 0.544547 | 0.463216 | 0.334935 | 0 | 0.002649 | 0.070769 | 3,250 | 46 | 119 | 70.652174 | 0.893046 | 0.231077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.035714 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe6c69c4ecfed9a4858e05832e8fb659a1f2775c | 25,256 | py | Python | src/nisemidevicecontrol.py | ni/ni-semi-msms | f92eb79fd4f6a5854e728de23620958da95925c7 | [
"MIT"
] | null | null | null | src/nisemidevicecontrol.py | ni/ni-semi-msms | f92eb79fd4f6a5854e728de23620958da95925c7 | [
"MIT"
] | 1 | 2020-12-14T22:51:36.000Z | 2020-12-14T22:51:36.000Z | src/nisemidevicecontrol.py | ni/ni-semi-msms | f92eb79fd4f6a5854e728de23620958da95925c7 | [
"MIT"
] | 2 | 2021-04-01T16:18:55.000Z | 2021-05-25T13:34:11.000Z | import sys
import os
import clr
device_control_path = "C:\\Program Files\\National Instruments\\" \
+ "Semi Device Control"
sys.path.append(os.path.dirname(os.getcwd()))
sys.path.append(device_control_path)
clr.AddReference("SemiconductorDeviceControl")
from SemiconductorDeviceControl import SemiDeviceControlMai... | 29.747939 | 85 | 0.574715 | 2,678 | 25,256 | 5.23301 | 0.06348 | 0.034965 | 0.031397 | 0.044955 | 0.859712 | 0.848009 | 0.846439 | 0.821964 | 0.816255 | 0.800985 | 0 | 0.000605 | 0.345462 | 25,256 | 848 | 86 | 29.783019 | 0.847136 | 0.419069 | 0 | 0.597523 | 0 | 0 | 0.031502 | 0.002161 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108359 | false | 0 | 0.012384 | 0 | 0.167183 | 0.108359 | 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 |
fe8af943bcb55e3dd0d209c69944017c97ab5e0e | 8,281 | py | Python | hvac/tests/unit_tests/api/auth/test_github.py | tiny-dancer/hvac | 76247fbe0f3ae8e6e249f2d83ee6978513526c29 | [
"Apache-2.0"
] | null | null | null | hvac/tests/unit_tests/api/auth/test_github.py | tiny-dancer/hvac | 76247fbe0f3ae8e6e249f2d83ee6978513526c29 | [
"Apache-2.0"
] | null | null | null | hvac/tests/unit_tests/api/auth/test_github.py | tiny-dancer/hvac | 76247fbe0f3ae8e6e249f2d83ee6978513526c29 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
import requests_mock
from parameterized import parameterized
from hvac.adapters import Request
from hvac.api.auth import Github
from hvac.api.auth.github import DEFAULT_MOUNT_POINT
class TestGithub(TestCase):
@parameterized.expand([
("default mount point", DEFAULT_MOUNT_PO... | 32.22179 | 94 | 0.555609 | 812 | 8,281 | 5.383005 | 0.14532 | 0.14642 | 0.058339 | 0.064059 | 0.813315 | 0.800503 | 0.800503 | 0.778312 | 0.778312 | 0.745367 | 0 | 0.034433 | 0.333655 | 8,281 | 256 | 95 | 32.347656 | 0.757702 | 0 | 0 | 0.669388 | 0 | 0 | 0.178602 | 0.030431 | 0 | 0 | 0 | 0 | 0.032653 | 1 | 0.028571 | false | 0 | 0.02449 | 0 | 0.057143 | 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 |
feae1c48d40778bf2e8dc44fc6629d78752c4ea9 | 13 | py | Python | fython/test/importpec_py/c/a.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 41 | 2016-01-21T05:14:45.000Z | 2021-11-24T20:37:21.000Z | fython/test/importpec_py/c/a.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 5 | 2016-01-21T05:36:37.000Z | 2016-08-22T19:26:51.000Z | fython/test/importpec_py/c/a.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 3 | 2016-01-23T04:03:44.000Z | 2016-08-21T15:58:38.000Z | x = 10
y = 20 | 6.5 | 6 | 0.461538 | 4 | 13 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.384615 | 13 | 2 | 7 | 6.5 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
feb1895c4db1b515c73281330ca6be6458cfd88a | 7,752 | py | Python | wagtail/search/tests/test_postgres_backend.py | melisayu/wagtail | 614ec3fc2a656b25db710b80f9e60f1c8effd7a4 | [
"BSD-3-Clause"
] | 8,851 | 2016-12-09T19:01:45.000Z | 2022-03-31T04:45:06.000Z | wagtail/search/tests/test_postgres_backend.py | melisayu/wagtail | 614ec3fc2a656b25db710b80f9e60f1c8effd7a4 | [
"BSD-3-Clause"
] | 5,197 | 2016-12-09T19:24:37.000Z | 2022-03-31T22:17:55.000Z | wagtail/search/tests/test_postgres_backend.py | melisayu/wagtail | 614ec3fc2a656b25db710b80f9e60f1c8effd7a4 | [
"BSD-3-Clause"
] | 2,548 | 2016-12-09T18:16:55.000Z | 2022-03-31T21:34:38.000Z | import unittest
from django.db import connection
from django.test import TestCase
from django.test.utils import override_settings
from wagtail.search.tests.test_backends import BackendTests
from wagtail.tests.search import models
@unittest.skipUnless(connection.vendor == 'postgresql', "The current database is not P... | 47.851852 | 97 | 0.589009 | 866 | 7,752 | 5.213626 | 0.150115 | 0.06423 | 0.103654 | 0.213068 | 0.772093 | 0.73732 | 0.717386 | 0.717386 | 0.707198 | 0.676412 | 0 | 0.016976 | 0.278122 | 7,752 | 161 | 98 | 48.149068 | 0.78985 | 0.084494 | 0 | 0.315789 | 0 | 0 | 0.091725 | 0.014243 | 0 | 0 | 0 | 0 | 0.368421 | 1 | 0.035088 | false | 0 | 0.061404 | 0 | 0.114035 | 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 |
229eb934150ecdee8b6f5e2e6411a4520ca98ead | 29 | py | Python | snp_companies/__init__.py | ofrik/snp_companies | e67e168fd24a3eddd2dc3195c31c45a0d53a86c8 | [
"MIT"
] | null | null | null | snp_companies/__init__.py | ofrik/snp_companies | e67e168fd24a3eddd2dc3195c31c45a0d53a86c8 | [
"MIT"
] | null | null | null | snp_companies/__init__.py | ofrik/snp_companies | e67e168fd24a3eddd2dc3195c31c45a0d53a86c8 | [
"MIT"
] | null | null | null | from .main import SNPListing
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22a1761828e6b4575844e6cca4535c0bcf30483d | 46 | py | Python | generator/__init__.py | forskolan-natet/natet-sos-generator | 0062aa49ed134af7de8bf04a1bb4b058b445e4d3 | [
"MIT"
] | null | null | null | generator/__init__.py | forskolan-natet/natet-sos-generator | 0062aa49ed134af7de8bf04a1bb4b058b445e4d3 | [
"MIT"
] | 1 | 2021-04-05T20:36:28.000Z | 2021-04-05T20:36:28.000Z | generator/__init__.py | forskolan-natet/natet-sos-generator | 0062aa49ed134af7de8bf04a1bb4b058b445e4d3 | [
"MIT"
] | null | null | null | from .model import *
from .generator import *
| 15.333333 | 24 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 25 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
22a5def788129a7cd0c1fe3b17187bf4a48bbdb6 | 69 | py | Python | src/python/pull_requests/__init__.py | bvdeenen/bitbar | 4bd0876dacecc55f2cb60027510ba47ff7d84d12 | [
"MIT"
] | 1 | 2022-02-08T09:19:40.000Z | 2022-02-08T09:19:40.000Z | src/python/pull_requests/__init__.py | bvdeenen/bitbar | 4bd0876dacecc55f2cb60027510ba47ff7d84d12 | [
"MIT"
] | 3 | 2021-12-24T11:34:24.000Z | 2022-01-18T09:17:32.000Z | src/python/pull_requests/__init__.py | bvdeenen/bitbar | 4bd0876dacecc55f2cb60027510ba47ff7d84d12 | [
"MIT"
] | null | null | null | from .domain import *
from .menu import print_xbar_pull_request_menu
| 23 | 46 | 0.84058 | 11 | 69 | 4.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 2 | 47 | 34.5 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
22ba509d8a2a8b7550fdcc463f0fc90e144c6c80 | 276 | py | Python | backbones/__init__.py | edwardyehuang/iSeg | 256b0f7fdb6e854fe026fa8df41d9a4a55db34d5 | [
"MIT"
] | 4 | 2021-12-13T09:49:26.000Z | 2022-02-19T11:16:50.000Z | backbones/__init__.py | edwardyehuang/iSeg | 256b0f7fdb6e854fe026fa8df41d9a4a55db34d5 | [
"MIT"
] | 1 | 2021-07-28T10:40:56.000Z | 2021-08-09T07:14:06.000Z | backbones/__init__.py | edwardyehuang/iSeg | 256b0f7fdb6e854fe026fa8df41d9a4a55db34d5 | [
"MIT"
] | null | null | null | # ================================================================
# MIT License
# Copyright (c) 2021 edwardyehuang (https://github.com/edwardyehuang)
# ================================================================
from iseg.backbones.feature_extractor import get_backbone
| 46 | 69 | 0.42029 | 18 | 276 | 6.333333 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015444 | 0.061594 | 276 | 5 | 70 | 55.2 | 0.42471 | 0.757246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22bf5da776b2a274c1a70a3181a687581962bf0d | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/array_api/_data_type_functions.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/array_api/_data_type_functions.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/array_api/_data_type_functions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/e3/00/f8/8f011a5b14da3801a732138b77a034e94af35a1de6fe1d24bbd1117839 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 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 |
22f2dba70d6b5acb592bbfaf0171dab98b8c8bb7 | 14,986 | py | Python | geotrek/cirkwi/tests/test_views.py | GeotrekCE/Geotrek | c1393925c1940ac795ab7fc04819cd8c78bc79fb | [
"BSD-2-Clause"
] | null | null | null | geotrek/cirkwi/tests/test_views.py | GeotrekCE/Geotrek | c1393925c1940ac795ab7fc04819cd8c78bc79fb | [
"BSD-2-Clause"
] | null | null | null | geotrek/cirkwi/tests/test_views.py | GeotrekCE/Geotrek | c1393925c1940ac795ab7fc04819cd8c78bc79fb | [
"BSD-2-Clause"
] | null | null | null | import datetime
from django.test import TestCase
from django.test.utils import override_settings
from django.utils.timezone import utc, make_aware
from geotrek.common.tests.factories import AttachmentFactory, TargetPortalFactory
from geotrek.common.tests import TranslationResetMixin
from geotrek.authent.tests.facto... | 56.338346 | 169 | 0.621647 | 1,509 | 14,986 | 6.070908 | 0.11332 | 0.087327 | 0.052396 | 0.034385 | 0.854929 | 0.848925 | 0.824364 | 0.80799 | 0.789106 | 0.755594 | 0 | 0.017977 | 0.224209 | 14,986 | 265 | 170 | 56.550943 | 0.769998 | 0.021487 | 0 | 0.675214 | 0 | 0.038462 | 0.448243 | 0.305357 | 0 | 0 | 0 | 0 | 0.128205 | 1 | 0.042735 | false | 0 | 0.051282 | 0 | 0.098291 | 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 |
22f7b098c826fe5fe8e397f117030913cf5fcdec | 48 | py | Python | coinmarketcap_tracker/__init__.py | hmallen/coinmarketcap_tracker | 9b81b2f568050d98546e7419aa62803591e20a8e | [
"MIT"
] | null | null | null | coinmarketcap_tracker/__init__.py | hmallen/coinmarketcap_tracker | 9b81b2f568050d98546e7419aa62803591e20a8e | [
"MIT"
] | null | null | null | coinmarketcap_tracker/__init__.py | hmallen/coinmarketcap_tracker | 9b81b2f568050d98546e7419aa62803591e20a8e | [
"MIT"
] | null | null | null | from .coinmarketcap_tracker import TrackProduct
| 24 | 47 | 0.895833 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 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 |
fe1bff46a9ba1bd5b14e79aef1bc0e98ed6b56d6 | 661 | py | Python | main.py | Karthik-Venkatesh/ATOM | d369d8436b71b3af0f5810200c0927d0097f4330 | [
"Apache-2.0"
] | 1 | 2022-02-23T14:54:12.000Z | 2022-02-23T14:54:12.000Z | main.py | Karthik-Venkatesh/atom | d369d8436b71b3af0f5810200c0927d0097f4330 | [
"Apache-2.0"
] | 21 | 2018-12-27T04:47:17.000Z | 2019-01-16T06:00:53.000Z | main.py | Karthik-Venkatesh/ATOM | d369d8436b71b3af0f5810200c0927d0097f4330 | [
"Apache-2.0"
] | null | null | null | #
# main.py
# ATOM
#
# Created by Karthik V.
# Updated copyright on 16/1/19 5:56 PM.
#
# Copyright © 2019 Karthik Venkatesh. All rights reserved.
#
from sense.sensor import Sensor
print("")
print("#######################################")
print("")
print(" _______ ____ __ __ ")
print(" ... | 22.793103 | 59 | 0.384266 | 46 | 661 | 4.73913 | 0.630435 | 0.504587 | 0.688073 | 0.825688 | 0.275229 | 0.275229 | 0.275229 | 0.275229 | 0.275229 | 0.275229 | 0 | 0.025974 | 0.301059 | 661 | 28 | 60 | 23.607143 | 0.443723 | 0.20121 | 0 | 0.4 | 0 | 0 | 0.603482 | 0.15087 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0.8 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a3cece5e9b777913796b31923a699e174c3b8c3e | 40 | py | Python | brainframe_qt/ui/resources/alarms/alarm_bundle/alarm_card/alert_log/alert_log_entry/alert_preview/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 17 | 2021-02-11T18:19:22.000Z | 2022-02-08T06:12:50.000Z | brainframe_qt/ui/resources/alarms/alarm_bundle/alarm_card/alert_log/alert_log_entry/alert_preview/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 80 | 2021-02-11T08:27:31.000Z | 2021-10-13T21:33:22.000Z | brainframe_qt/ui/resources/alarms/alarm_bundle/alarm_card/alert_log/alert_log_entry/alert_preview/__init__.py | aotuai/brainframe-qt | 082cfd0694e569122ff7c63e56dd0ec4b62d5bac | [
"BSD-3-Clause"
] | 5 | 2021-02-12T09:51:34.000Z | 2022-02-08T09:25:15.000Z | from .alert_preview import AlertPreview
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a3db2255624ded5c88602ba356bf063a33195272 | 11,494 | py | Python | src/tests/presale/test_event.py | awg24/pretix | b1d67a48601838bac0d4e498cbe8bdcd16013d60 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-06-23T07:44:59.000Z | 2021-06-23T07:44:59.000Z | src/tests/presale/test_event.py | awg24/pretix | b1d67a48601838bac0d4e498cbe8bdcd16013d60 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/tests/presale/test_event.py | awg24/pretix | b1d67a48601838bac0d4e498cbe8bdcd16013d60 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | import datetime
import time
from django.test import TestCase
from django.utils.timezone import now
from tests.base import BrowserTest
from pretix.base.models import (
Event, Item, ItemCategory, ItemVariation, Organizer, Property,
PropertyValue, Quota, User,
)
class EventTestMixin:
def setUp(self):
... | 45.251969 | 118 | 0.63581 | 1,485 | 11,494 | 4.805387 | 0.121212 | 0.068105 | 0.040078 | 0.047085 | 0.830437 | 0.815163 | 0.805914 | 0.775925 | 0.774944 | 0.749299 | 0 | 0.014872 | 0.216113 | 11,494 | 253 | 119 | 45.43083 | 0.777137 | 0 | 0 | 0.570776 | 0 | 0 | 0.116235 | 0.021228 | 0 | 0 | 0 | 0 | 0.178082 | 1 | 0.100457 | false | 0.022831 | 0.027397 | 0 | 0.150685 | 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 |
a3e5f2c4482e411123c45f3c359cd4b679cacf74 | 6,626 | py | Python | tests/infer_for_schema/test_patterns_on_self.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 5 | 2021-12-29T12:55:34.000Z | 2022-03-01T17:57:21.000Z | tests/infer_for_schema/test_patterns_on_self.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 10 | 2021-12-29T02:15:55.000Z | 2022-03-09T11:04:22.000Z | tests/infer_for_schema/test_patterns_on_self.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 2 | 2021-12-29T01:42:12.000Z | 2022-02-15T13:46:33.000Z | # pylint: disable=missing-docstring
import textwrap
import unittest
import tests.common
import tests.infer_for_schema.common
from aas_core_codegen import infer_for_schema
class Test_expected(unittest.TestCase):
def test_no_pattern(self) -> None:
source = textwrap.dedent(
"""\
cla... | 30.675926 | 107 | 0.540145 | 593 | 6,626 | 5.596965 | 0.161889 | 0.094004 | 0.086773 | 0.06508 | 0.851461 | 0.833986 | 0.810184 | 0.808979 | 0.808979 | 0.808979 | 0 | 0.001943 | 0.378509 | 6,626 | 215 | 108 | 30.818605 | 0.804031 | 0.02958 | 0 | 0.631579 | 0 | 0 | 0.003095 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.052632 | false | 0 | 0.065789 | 0 | 0.131579 | 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 |
432bc267a127da57dd8ff7a8befbd0dcaf694b15 | 38 | py | Python | transquest/algo/sentence_level/siamesetransquest/losses/__init__.py | TharinduDR/TransQuest | fd9714050ea73201119f1c70b060b3faee86c133 | [
"Apache-2.0"
] | 78 | 2020-05-24T12:13:16.000Z | 2022-03-19T23:16:02.000Z | transquest/algo/sentence_level/siamesetransquest/losses/__init__.py | TharinduDR/TransQuest | fd9714050ea73201119f1c70b060b3faee86c133 | [
"Apache-2.0"
] | 32 | 2020-07-05T03:27:19.000Z | 2022-03-31T19:11:26.000Z | transquest/algo/sentence_level/siamesetransquest/losses/__init__.py | TharinduDR/TransQuest | fd9714050ea73201119f1c70b060b3faee86c133 | [
"Apache-2.0"
] | 14 | 2020-05-14T09:52:07.000Z | 2022-03-13T10:55:47.000Z | from .cosine_similarity_loss import *
| 19 | 37 | 0.842105 | 5 | 38 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a9214c8d8254ab878b5849243bbbdeb11bc6a92 | 78,705 | py | Python | Packs/CiscoFirepower/Integrations/CiscoFirepower/CiscoFirepower.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 799 | 2016-08-02T06:43:14.000Z | 2022-03-31T11:10:11.000Z | Packs/CiscoFirepower/Integrations/CiscoFirepower/CiscoFirepower.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 9,317 | 2016-08-07T19:00:51.000Z | 2022-03-31T21:56:04.000Z | Packs/CiscoFirepower/Integrations/CiscoFirepower/CiscoFirepower.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 1,297 | 2016-08-04T13:59:00.000Z | 2022-03-31T23:43:06.000Z | import demistomock as demisto # noqa: F401
from CommonServerPython import * # noqa: F401
''' IMPORTS '''
from typing import Dict, List, Tuple, Union
import urllib3
# Disable insecure warnings
urllib3.disable_warnings()
'''GLOBALS/PARAMS'''
INTEGRATION_NAME = 'Cisco Firepower'
INTEGRATION_CONTEXT_NAME = 'CiscoFP... | 49.531152 | 119 | 0.623849 | 8,979 | 78,705 | 5.221628 | 0.036307 | 0.042231 | 0.022182 | 0.019708 | 0.847691 | 0.818257 | 0.804394 | 0.789186 | 0.771142 | 0.743052 | 0 | 0.00131 | 0.243301 | 78,705 | 1,588 | 120 | 49.562343 | 0.785933 | 0.037012 | 0 | 0.537092 | 0 | 0 | 0.205605 | 0.060622 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05638 | false | 0.001484 | 0.002967 | 0 | 0.133531 | 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 |
4a98297af21ef9f92c5fb0d94f1185780bd44e6c | 89 | py | Python | src/pytorch_revgrad/__init__.py | adwardy/pytorch-revgrad | f39d24318df93106aa469c22a701b7b392f60030 | [
"MIT"
] | 1 | 2022-03-11T03:08:04.000Z | 2022-03-11T03:08:04.000Z | src/pytorch_revgrad/__init__.py | hangtingchen/pytorch-revgrad | f39d24318df93106aa469c22a701b7b392f60030 | [
"MIT"
] | 3 | 2022-03-07T03:04:34.000Z | 2022-03-25T12:28:09.000Z | lib/model/faster_rcnn/pytorch_revgrad/__init__.py | yangdb/RD-IOD | 64beb2e1efe823185adc0feb338a900f1a7df7a7 | [
"AFL-1.1"
] | 1 | 2021-05-06T05:35:06.000Z | 2021-05-06T05:35:06.000Z | from .module import RevGrad # noqa: F401
from .version import __version__ # noqa: F401
| 29.666667 | 46 | 0.752809 | 12 | 89 | 5.25 | 0.583333 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 0.179775 | 89 | 2 | 47 | 44.5 | 0.780822 | 0.235955 | 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 |
4ac41b01a8ce1af189bcb25143d38564c6afc0e6 | 32,308 | py | Python | designate/tests/test_api/test_v1/test_records.py | ISCAS-VDI/designate-base | bd945607e3345fbef8645c3441e96b032b70b098 | [
"Apache-2.0"
] | null | null | null | designate/tests/test_api/test_v1/test_records.py | ISCAS-VDI/designate-base | bd945607e3345fbef8645c3441e96b032b70b098 | [
"Apache-2.0"
] | null | null | null | designate/tests/test_api/test_v1/test_records.py | ISCAS-VDI/designate-base | bd945607e3345fbef8645c3441e96b032b70b098 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright 2012 Managed I.T.
#
# Author: Kiall Mac Innes <kiall@managedit.ie>
#
# 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... | 37.436848 | 78 | 0.583571 | 3,765 | 32,308 | 4.85923 | 0.077025 | 0.053348 | 0.040995 | 0.034272 | 0.846898 | 0.803006 | 0.768789 | 0.736595 | 0.717846 | 0.710194 | 0 | 0.025844 | 0.274235 | 32,308 | 862 | 79 | 37.480278 | 0.753966 | 0.073233 | 0 | 0.61755 | 0 | 0.001656 | 0.142044 | 0.045741 | 0 | 0 | 0 | 0 | 0.10596 | 1 | 0.11755 | false | 0 | 0.008278 | 0 | 0.129139 | 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 |
436a61cd6b840ca1d23491b11bd43c9652a560b2 | 156 | py | Python | ambra_sdk/service/entrypoints/appointment.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/appointment.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/appointment.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | from ambra_sdk.service.entrypoints.generated.appointment import \
Appointment as GAppointment
class Appointment(GAppointment):
"""Appointment."""
| 22.285714 | 65 | 0.775641 | 15 | 156 | 8 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 156 | 6 | 66 | 26 | 0.882353 | 0.076923 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
43882765961086035309aa7b25f163cb00e0bab8 | 35 | py | Python | test.py | gghattoraya/dbsample | 6f6a17a9b1d6abef5d84e95613b22a3f716d118a | [
"Apache-2.0"
] | null | null | null | test.py | gghattoraya/dbsample | 6f6a17a9b1d6abef5d84e95613b22a3f716d118a | [
"Apache-2.0"
] | null | null | null | test.py | gghattoraya/dbsample | 6f6a17a9b1d6abef5d84e95613b22a3f716d118a | [
"Apache-2.0"
] | null | null | null | print("Hello World from the G man") | 35 | 35 | 0.742857 | 7 | 35 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
78d84ef11d68c76db90997a723ee9593e9d9628c | 133,939 | py | Python | tests/test_forecast.py | sky-uk/anticipy | 43efb5c0d5eb9f0c3dbf440fd17abb72e2153e06 | [
"BSD-3-Clause"
] | 79 | 2018-10-11T21:55:25.000Z | 2022-03-20T17:39:53.000Z | tests/test_forecast.py | sky-uk/anticipy | 43efb5c0d5eb9f0c3dbf440fd17abb72e2153e06 | [
"BSD-3-Clause"
] | 153 | 2018-10-04T10:32:31.000Z | 2021-05-28T15:30:30.000Z | tests/test_forecast.py | sky-uk/anticipy | 43efb5c0d5eb9f0c3dbf440fd17abb72e2153e06 | [
"BSD-3-Clause"
] | 15 | 2018-10-21T18:32:41.000Z | 2020-12-18T12:48:57.000Z | """
Author: Pedro Capelastegui
Created on 04/12/2015
"""
import os
import platform
import unittest
from anticipy.forecast import *
from anticipy.utils_test import PandasTest
# Dask dependencies - not currently used
# from dask import delayed
# from dask import compute
# from dask.distributed import Client
# from d... | 39.545025 | 109 | 0.540746 | 16,903 | 133,939 | 3.983849 | 0.039283 | 0.045442 | 0.029938 | 0.017152 | 0.823965 | 0.79125 | 0.768351 | 0.752536 | 0.732369 | 0.712796 | 0 | 0.043409 | 0.332666 | 133,939 | 3,386 | 110 | 39.556704 | 0.709975 | 0.093722 | 0 | 0.658613 | 0 | 0 | 0.107753 | 0.003562 | 0 | 0 | 0 | 0.000295 | 0.032346 | 1 | 0.024162 | false | 0.001169 | 0.001949 | 0.000779 | 0.031956 | 0.000779 | 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 |
603a50d479ed0e82b755d1f5c83218a6bfc6d518 | 76 | py | Python | tests/modules/core/test_time.py | alexsr/bumblebee-status | f8d035c0798621d8f6b33b262aecb42236658bd0 | [
"MIT"
] | null | null | null | tests/modules/core/test_time.py | alexsr/bumblebee-status | f8d035c0798621d8f6b33b262aecb42236658bd0 | [
"MIT"
] | null | null | null | tests/modules/core/test_time.py | alexsr/bumblebee-status | f8d035c0798621d8f6b33b262aecb42236658bd0 | [
"MIT"
] | null | null | null | import pytest
def test_load_module():
__import__("modules.core.time")
| 12.666667 | 35 | 0.736842 | 10 | 76 | 5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 5 | 36 | 15.2 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.226667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.