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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b9d8b605c311a0981c5ef7d6d0af0ab1880c14d7 | 82 | py | Python | Code/02/guide02.py | nolongerwait/Python_Tutorial | 3961d6ee9c371fa7666a26b7a114e276170724dd | [
"MIT"
] | null | null | null | Code/02/guide02.py | nolongerwait/Python_Tutorial | 3961d6ee9c371fa7666a26b7a114e276170724dd | [
"MIT"
] | null | null | null | Code/02/guide02.py | nolongerwait/Python_Tutorial | 3961d6ee9c371fa7666a26b7a114e276170724dd | [
"MIT"
] | null | null | null | i = 5
# 下面将发生错误,注意行首有一个空格
print('Value is', i)
print('I repeat, the value is', i) | 20.5 | 34 | 0.658537 | 15 | 82 | 3.6 | 0.6 | 0.259259 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.170732 | 82 | 4 | 34 | 20.5 | 0.779412 | 0.207317 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6a0030f99bd0468b484ef482dbe307a8c26fe60c | 166 | py | Python | farm/admin.py | rankrh/soli | 8f19945a175106064591d09a53d07fcbfa26b7da | [
"MIT"
] | null | null | null | farm/admin.py | rankrh/soli | 8f19945a175106064591d09a53d07fcbfa26b7da | [
"MIT"
] | null | null | null | farm/admin.py | rankrh/soli | 8f19945a175106064591d09a53d07fcbfa26b7da | [
"MIT"
] | 2 | 2019-09-07T15:10:14.000Z | 2020-09-04T01:51:19.000Z | from django.contrib import admin
from climate.models.climate import Climate
from farm.models.farm import Farm
admin.site.register(Climate)
admin.site.register(Farm) | 23.714286 | 42 | 0.831325 | 25 | 166 | 5.52 | 0.4 | 0.130435 | 0.246377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090361 | 166 | 7 | 43 | 23.714286 | 0.913907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a033e216ab6d3d4dae54bed81d945bfd97cf598 | 3,011 | py | Python | nipy/algorithms/statistics/bench/bench_intvol.py | arokem/nipy | d6b2e862c65558bb5747c36140fd6261a7e1ecfe | [
"BSD-3-Clause"
] | null | null | null | nipy/algorithms/statistics/bench/bench_intvol.py | arokem/nipy | d6b2e862c65558bb5747c36140fd6261a7e1ecfe | [
"BSD-3-Clause"
] | null | null | null | nipy/algorithms/statistics/bench/bench_intvol.py | arokem/nipy | d6b2e862c65558bb5747c36140fd6261a7e1ecfe | [
"BSD-3-Clause"
] | null | null | null | import sys
import numpy as np
from .. import intvol
from ..tests.test_intrinsic_volumes import nonintersecting_boxes, randorth
import numpy.testing as npt
def bench_lips3d():
np.random.seed(20111001)
phi = intvol.Lips3d
EC3d = intvol.EC3d
repeat = 4
bx_sz = 60
box1, box2, edge1, edge2 = non... | 37.17284 | 74 | 0.588841 | 489 | 3,011 | 3.582822 | 0.143149 | 0.030822 | 0.041096 | 0.071918 | 0.839612 | 0.839612 | 0.773973 | 0.773973 | 0.660959 | 0.660959 | 0 | 0.081649 | 0.19462 | 3,011 | 80 | 75 | 37.6375 | 0.640825 | 0 | 0 | 0.549296 | 0 | 0 | 0.225174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.070423 | null | null | 0.338028 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a13b233264724f40b25e0f6a77668bedb14429c | 106 | py | Python | tests/exog/random/random_exog_75_10.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | null | null | null | tests/exog/random/random_exog_75_10.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | 1 | 2019-11-30T23:39:38.000Z | 2019-12-01T04:34:35.000Z | tests/exog/random/random_exog_75_10.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | null | null | null | import pyaf.tests.exog.test_random_exogenous as testrandexog
testrandexog.test_random_exogenous( 75,10); | 26.5 | 60 | 0.858491 | 15 | 106 | 5.8 | 0.733333 | 0.229885 | 0.436782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0.066038 | 106 | 4 | 61 | 26.5 | 0.838384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e001c72fcc2007519306abb5908492c19c464695 | 769 | py | Python | clouds/models/modules/__init__.py | OATML/clouds | 956c954c0ee95837f9605f3067233724ce617a9b | [
"Apache-2.0"
] | null | null | null | clouds/models/modules/__init__.py | OATML/clouds | 956c954c0ee95837f9605f3067233724ce617a9b | [
"Apache-2.0"
] | null | null | null | clouds/models/modules/__init__.py | OATML/clouds | 956c954c0ee95837f9605f3067233724ce617a9b | [
"Apache-2.0"
] | null | null | null | from clouds.models.modules.dense import DenseLinear
from clouds.models.modules.dense import DenseResidual
from clouds.models.modules.dense import DenseActivation
from clouds.models.modules.dense import DensePreactivation
from clouds.models.modules.dense import DenseFeatureExtractor
from clouds.models.modules.variation... | 45.235294 | 70 | 0.877763 | 93 | 769 | 7.236559 | 0.247312 | 0.193165 | 0.309064 | 0.444279 | 0.728083 | 0.728083 | 0.127786 | 0 | 0 | 0 | 0 | 0 | 0.071521 | 769 | 16 | 71 | 48.0625 | 0.942577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 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 |
e03398b6b840cba1cfdfb7604986a891d7234d22 | 31 | py | Python | mdm_inventory/clients/graphql/types/__init__.py | TeamWalls/mdm-backend-django | 4e23f9abc8531eb786d5e6cf958c9ffa8acd6b1d | [
"MIT"
] | null | null | null | mdm_inventory/clients/graphql/types/__init__.py | TeamWalls/mdm-backend-django | 4e23f9abc8531eb786d5e6cf958c9ffa8acd6b1d | [
"MIT"
] | null | null | null | mdm_inventory/clients/graphql/types/__init__.py | TeamWalls/mdm-backend-django | 4e23f9abc8531eb786d5e6cf958c9ffa8acd6b1d | [
"MIT"
] | null | null | null | from .clients import ClientType | 31 | 31 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.964286 | 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 |
e0623e16a1a954f06554d6782ba08774b220faeb | 165 | py | Python | simple_french/guide/admin.py | ericgroom/simplefrench | 4bf486aeaa4e9416215936a7bd84e4b5a8fa323c | [
"MIT"
] | null | null | null | simple_french/guide/admin.py | ericgroom/simplefrench | 4bf486aeaa4e9416215936a7bd84e4b5a8fa323c | [
"MIT"
] | null | null | null | simple_french/guide/admin.py | ericgroom/simplefrench | 4bf486aeaa4e9416215936a7bd84e4b5a8fa323c | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Article, TableOfContentsNode
# Register your models here.
admin.site.register([Article, TableOfContentsNode])
| 23.571429 | 51 | 0.818182 | 19 | 165 | 7.105263 | 0.631579 | 0.385185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 165 | 6 | 52 | 27.5 | 0.918367 | 0.157576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e073bfa73c8f0dae047866f4f3044134abb75bc2 | 355 | py | Python | pydupes/dupesexception.py | clarkcb/pydupes | dc0696e027e5b3e59bd3beea38c68f490ef16a00 | [
"MIT"
] | null | null | null | pydupes/dupesexception.py | clarkcb/pydupes | dc0696e027e5b3e59bd3beea38c68f490ef16a00 | [
"MIT"
] | null | null | null | pydupes/dupesexception.py | clarkcb/pydupes | dc0696e027e5b3e59bd3beea38c68f490ef16a00 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
###############################################################################
#
# dupesexception.py
#
# class DupesException: custom exception
#
###############################################################################
class DupesException(Exception):
def __init__(self, *args):
... | 29.583333 | 79 | 0.371831 | 20 | 355 | 6.2 | 0.6 | 0.306452 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003135 | 0.101408 | 355 | 11 | 80 | 32.272727 | 0.38558 | 0.219718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
166a9e48f6712dcfd67cb62bf0ad927c825241c3 | 7,360 | py | Python | tests/test_auditor/test_auditor_project.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | tests/test_auditor/test_auditor_project.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | tests/test_auditor/test_auditor_project.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | # pylint:disable=ungrouped-imports
from unittest.mock import patch
import pytest
import activitylogs
import auditor
import tracker
from event_manager.events import project as project_events
from factories.factory_projects import ProjectFactory
from tests.utils import BaseTest
@pytest.mark.auditor_mark
class Audit... | 41.348315 | 89 | 0.681658 | 770 | 7,360 | 6.220779 | 0.08961 | 0.096451 | 0.087683 | 0.083507 | 0.85762 | 0.85762 | 0.85762 | 0.85762 | 0.85762 | 0.85762 | 0 | 0.007115 | 0.236141 | 7,360 | 177 | 90 | 41.581921 | 0.844895 | 0.008016 | 0 | 0.657143 | 0 | 0 | 0.186429 | 0.182317 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.107143 | false | 0 | 0.057143 | 0 | 0.178571 | 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 |
16a2a5b7c81f2c2ee64366dad81ad005e7759885 | 94,691 | py | Python | tests/test_scripts.py | wltrimbl/khmer | ff95776eabee96420f1ae43d0eff562682cbb17b | [
"CNRI-Python"
] | null | null | null | tests/test_scripts.py | wltrimbl/khmer | ff95776eabee96420f1ae43d0eff562682cbb17b | [
"CNRI-Python"
] | null | null | null | tests/test_scripts.py | wltrimbl/khmer | ff95776eabee96420f1ae43d0eff562682cbb17b | [
"CNRI-Python"
] | null | null | null | # This file is part of khmer, https://github.com/dib-lab/khmer/, and is
# Copyright (C) 2014-2015, Michigan State University.
# Copyright (C) 2015-2016, The Regents of the University of California.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the fol... | 32.640814 | 79 | 0.636439 | 13,496 | 94,691 | 4.334173 | 0.072985 | 0.021848 | 0.034533 | 0.04062 | 0.822529 | 0.780866 | 0.754488 | 0.728553 | 0.700773 | 0.681301 | 0 | 0.053503 | 0.217761 | 94,691 | 2,900 | 80 | 32.652069 | 0.736199 | 0.09155 | 0 | 0.660169 | 0 | 0.000527 | 0.192789 | 0.034386 | 0 | 0 | 0 | 0 | 0.195469 | 1 | 0.074289 | false | 0.002634 | 0.007903 | 0 | 0.083772 | 0.014226 | 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 |
16d7fa7751d98fae4bf3077d15b49c9106ec7828 | 42 | py | Python | fabfile/__init__.py | cloudmesh-cmd3/cmd3 | 92e33c96032fd3921f159198a0e57917c4dc34ed | [
"Apache-2.0"
] | 4 | 2016-03-30T08:22:19.000Z | 2020-09-08T14:52:05.000Z | fabfile/__init__.py | cloudmesh/pbs | 6cc56f499afccf519616a6fef75705c5f5b4af6e | [
"Apache-2.0"
] | 3 | 2021-03-19T22:57:11.000Z | 2021-03-25T22:14:37.000Z | fabfile/__init__.py | cloudmesh/cmd3 | 92e33c96032fd3921f159198a0e57917c4dc34ed | [
"Apache-2.0"
] | 4 | 2015-02-02T12:18:57.000Z | 2017-07-27T18:53:24.000Z | import doc
# import clean
import security
| 10.5 | 15 | 0.809524 | 6 | 42 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 3 | 16 | 14 | 0.971429 | 0.285714 | 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 |
16e3ded019bfe6136cd2cbde1c749e897828acfb | 58 | py | Python | models/StimuliDataModel/__init__.py | Marti2203/DBL_HTI | 4b1d9176d31880159d496dbb2393ad6fb55f03d3 | [
"MIT"
] | null | null | null | models/StimuliDataModel/__init__.py | Marti2203/DBL_HTI | 4b1d9176d31880159d496dbb2393ad6fb55f03d3 | [
"MIT"
] | null | null | null | models/StimuliDataModel/__init__.py | Marti2203/DBL_HTI | 4b1d9176d31880159d496dbb2393ad6fb55f03d3 | [
"MIT"
] | null | null | null | from .StimuliData import generate_model,generate_relations | 58 | 58 | 0.913793 | 7 | 58 | 7.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 58 | 1 | 58 | 58 | 0.927273 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16e51243540228a6ccc33ef9a3e9b7629692106f | 109 | py | Python | {{cookiecutter.project_name}}/tests/test_{{cookiecutter.package_name}}.py | iterative/cookiecutter-hypermodern-python | 6d99343527d7d04158c20b731c983bbe02fe7af3 | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/tests/test_{{cookiecutter.package_name}}.py | iterative/cookiecutter-hypermodern-python | 6d99343527d7d04158c20b731c983bbe02fe7af3 | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/tests/test_{{cookiecutter.package_name}}.py | iterative/cookiecutter-hypermodern-python | 6d99343527d7d04158c20b731c983bbe02fe7af3 | [
"MIT"
] | null | null | null | """Tests for `{{ cookiecutter.package_name }}` package."""
def test_something():
"""Test something."""
| 18.166667 | 58 | 0.633028 | 11 | 109 | 6.090909 | 0.727273 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 109 | 5 | 59 | 21.8 | 0.72043 | 0.623853 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
bc636458731694402c577133cc69d3af9123dd65 | 107 | py | Python | nextcloud_orm/models/__init__.py | donhauser/nextcloud-orm | f7fbdd07c92a1f43bfcd0ae1577d55a20e4c5a8c | [
"Apache-2.0"
] | null | null | null | nextcloud_orm/models/__init__.py | donhauser/nextcloud-orm | f7fbdd07c92a1f43bfcd0ae1577d55a20e4c5a8c | [
"Apache-2.0"
] | 1 | 2022-02-26T18:18:15.000Z | 2022-02-26T18:18:15.000Z | nextcloud_orm/models/__init__.py | donhauser/nextcloud-orm | f7fbdd07c92a1f43bfcd0ae1577d55a20e4c5a8c | [
"Apache-2.0"
] | null | null | null | from .app import *
from .base import *
from .group import *
from .groupfolder import *
from .user import *
| 17.833333 | 26 | 0.719626 | 15 | 107 | 5.133333 | 0.466667 | 0.519481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186916 | 107 | 5 | 27 | 21.4 | 0.885057 | 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 |
bc6b3a69f8519cd5c18c652f8043a5fe1425db4c | 167 | py | Python | particle_packing/ellipse/__init__.py | aluchies/particle_packing | 127603a519ae25979de6c6197810a7ea38ec945b | [
"BSD-3-Clause"
] | null | null | null | particle_packing/ellipse/__init__.py | aluchies/particle_packing | 127603a519ae25979de6c6197810a7ea38ec945b | [
"BSD-3-Clause"
] | null | null | null | particle_packing/ellipse/__init__.py | aluchies/particle_packing | 127603a519ae25979de6c6197810a7ea38ec945b | [
"BSD-3-Clause"
] | null | null | null | from ..ext.ellipse import overlap_potential, square_container_potential
from Ellipse import Ellipse, overlap_potential_py, square_container_potential_py
import pack
| 27.833333 | 80 | 0.874251 | 22 | 167 | 6.272727 | 0.454545 | 0.188406 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08982 | 167 | 5 | 81 | 33.4 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcb356dac013ff5595ed53eb9a4bb72a5190343f | 1,889 | py | Python | q2_mystery_stew/generators/artifacts.py | qiime2/q2-mystery-stew | 20cfd76bd5158e208abd6e26e99be3bc9353d7d1 | [
"BSD-3-Clause"
] | 1 | 2020-03-02T18:46:18.000Z | 2020-03-02T18:46:18.000Z | q2_mystery_stew/generators/artifacts.py | qiime2/q2-mystery-stew | 20cfd76bd5158e208abd6e26e99be3bc9353d7d1 | [
"BSD-3-Clause"
] | 13 | 2020-03-26T18:42:28.000Z | 2021-12-16T21:31:50.000Z | q2_mystery_stew/generators/artifacts.py | qiime2/q2-mystery-stew | 20cfd76bd5158e208abd6e26e99be3bc9353d7d1 | [
"BSD-3-Clause"
] | 5 | 2020-03-04T15:36:57.000Z | 2021-08-29T22:54:32.000Z | # ----------------------------------------------------------------------------
# Copyright (c) 2020-2021, QIIME 2 development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# ------------------------------------------------... | 29.515625 | 79 | 0.670725 | 220 | 1,889 | 5.486364 | 0.281818 | 0.09942 | 0.1657 | 0.21541 | 0.4971 | 0.449047 | 0.34797 | 0.172328 | 0 | 0 | 0 | 0.066121 | 0.159344 | 1,889 | 63 | 80 | 29.984127 | 0.693955 | 0.176813 | 0 | 0 | 0 | 0 | 0.120233 | 0.05947 | 0 | 0 | 0 | 0 | 0 | 1 | 0.34375 | true | 0 | 0.4375 | 0.3125 | 1.09375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
bcf45273847883ee6c206ee8cd37d40d44435c69 | 86 | py | Python | ml_project/tests/test_config.py | made-ml-in-prod-2021/holyketzer | f693f2d5fce8cced03873e2b89cbe10617996c64 | [
"MIT"
] | null | null | null | ml_project/tests/test_config.py | made-ml-in-prod-2021/holyketzer | f693f2d5fce8cced03873e2b89cbe10617996c64 | [
"MIT"
] | 2 | 2021-05-21T09:09:23.000Z | 2021-06-05T08:13:40.000Z | ml_project/tests/test_config.py | made-ml-in-prod-2021/holyketzer | f693f2d5fce8cced03873e2b89cbe10617996c64 | [
"MIT"
] | null | null | null | from src.config import config
def test_config():
assert isinstance(config, dict)
| 17.2 | 35 | 0.755814 | 12 | 86 | 5.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 86 | 4 | 36 | 21.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcfe0b596d3f5626f30978ff517fdb6e50b80de0 | 7,606 | py | Python | io_func/convert2kaldi.py | magic2du/dlnn | 9a6fdd1e9e84826c402b564853673dd1c9cd12b9 | [
"Apache-2.0"
] | null | null | null | io_func/convert2kaldi.py | magic2du/dlnn | 9a6fdd1e9e84826c402b564853673dd1c9cd12b9 | [
"Apache-2.0"
] | null | null | null | io_func/convert2kaldi.py | magic2du/dlnn | 9a6fdd1e9e84826c402b564853673dd1c9cd12b9 | [
"Apache-2.0"
] | null | null | null | # Copyright 2013 Yajie Miao Carnegie Mellon University
# 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
#
# THIS CODE IS PROVIDED *AS IS* ... | 36.392344 | 98 | 0.558901 | 1,010 | 7,606 | 4.011881 | 0.148515 | 0.096249 | 0.072557 | 0.088845 | 0.727789 | 0.727789 | 0.722606 | 0.712734 | 0.712734 | 0.712734 | 0 | 0.006067 | 0.284907 | 7,606 | 208 | 99 | 36.567308 | 0.738923 | 0.10426 | 0 | 0.808917 | 0 | 0 | 0.055482 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019108 | false | 0 | 0.031847 | 0 | 0.050955 | 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 |
4c0359416def0f13a7a4e88a6ea0afc4d205b760 | 144 | py | Python | util/run.py | cooperuser/rl_ctrnn | 5f05585dc6f017de60eec9929b8523a8d4da80f7 | [
"MIT"
] | 1 | 2021-10-05T13:30:00.000Z | 2021-10-05T13:30:00.000Z | util/run.py | cooperuser/rl_ctrnn | 5f05585dc6f017de60eec9929b8523a8d4da80f7 | [
"MIT"
] | null | null | null | util/run.py | cooperuser/rl_ctrnn | 5f05585dc6f017de60eec9929b8523a8d4da80f7 | [
"MIT"
] | null | null | null | import wandb.sdk
class Run(wandb.sdk.wandb_run.Run):
summary: wandb.sdk.wandb_summary.Summary
history: wandb.sdk.wandb_history.History
| 24 | 44 | 0.777778 | 22 | 144 | 4.954545 | 0.318182 | 0.293578 | 0.357798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118056 | 144 | 5 | 45 | 28.8 | 0.858268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
4c40dc254901dc157409dd99c99a07232f76759c | 6,267 | py | Python | testing-horiz-discard.py | frnjjq/tfm-tests | 609ec5b58b96c4d5ad96d05408f97ccf654eb24d | [
"Apache-2.0"
] | null | null | null | testing-horiz-discard.py | frnjjq/tfm-tests | 609ec5b58b96c4d5ad96d05408f97ccf654eb24d | [
"Apache-2.0"
] | null | null | null | testing-horiz-discard.py | frnjjq/tfm-tests | 609ec5b58b96c4d5ad96d05408f97ccf654eb24d | [
"Apache-2.0"
] | null | null | null | """
testing-horiz-discard.py
Testing for horizontal interpolation of lost scanlines.
Francisco José Juaan Quintanilla, Jul-2018
See LICENSE.md in the root of the repository
"""
from PIL import Image
from psnr import print_psnr
#Settings
lines_lost = 2 #Distance between preserved scalines
img_path = "img/ref/lena_12... | 65.28125 | 152 | 0.61401 | 933 | 6,267 | 3.919614 | 0.10075 | 0.120591 | 0.196883 | 0.131255 | 0.792726 | 0.785617 | 0.76921 | 0.756084 | 0.75499 | 0.75499 | 0 | 0.030346 | 0.216531 | 6,267 | 95 | 153 | 65.968421 | 0.71446 | 0.063826 | 0 | 0.6 | 0 | 0 | 0.016238 | 0.0038 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.028571 | 0.057143 | 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 |
4c43633c0e3018e3d7f5142cf90b525cd81fc496 | 150 | py | Python | bool.py | BatteRaquette581/VSL | 70ab5d6ad6c672cf41cfe20e2aa294c01cf9ba43 | [
"CC0-1.0"
] | null | null | null | bool.py | BatteRaquette581/VSL | 70ab5d6ad6c672cf41cfe20e2aa294c01cf9ba43 | [
"CC0-1.0"
] | null | null | null | bool.py | BatteRaquette581/VSL | 70ab5d6ad6c672cf41cfe20e2aa294c01cf9ba43 | [
"CC0-1.0"
] | null | null | null | def Bool(arg):
if arg == True:
return True
elif arg == False:
return False
elif arg == 0:
return False
elif arg == "foo":
pass | 16.666667 | 20 | 0.566667 | 22 | 150 | 3.863636 | 0.5 | 0.247059 | 0.352941 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.32 | 150 | 9 | 21 | 16.666667 | 0.823529 | 0 | 0 | 0.222222 | 0 | 0 | 0.019868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0 | 0 | 0.444444 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4c618f924fe52a4383bc6337371aa4b056a874ec | 32 | py | Python | cfnStack/__init__.py | chalbersma/cfn-ci-helper | 45522f0361061b0405e029455e5e3eeaf8083d45 | [
"BSD-3-Clause"
] | null | null | null | cfnStack/__init__.py | chalbersma/cfn-ci-helper | 45522f0361061b0405e029455e5e3eeaf8083d45 | [
"BSD-3-Clause"
] | null | null | null | cfnStack/__init__.py | chalbersma/cfn-ci-helper | 45522f0361061b0405e029455e5e3eeaf8083d45 | [
"BSD-3-Clause"
] | null | null | null |
from .stack import ProcessStack | 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 2 | 31 | 16 | 0.964286 | 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 |
4c7144e9b47ec7b1d9fce1e242219e48ff7b01de | 43 | py | Python | simdeblur/config/__init__.py | Wang-jiahao/SimDeblur | 31d88e1fbec91d5cc9062f4a46538e4ba806ab29 | [
"MIT"
] | 1 | 2021-04-30T16:47:40.000Z | 2021-04-30T16:47:40.000Z | simdeblur/config/__init__.py | Wang-jiahao/SimDeblur | 31d88e1fbec91d5cc9062f4a46538e4ba806ab29 | [
"MIT"
] | null | null | null | simdeblur/config/__init__.py | Wang-jiahao/SimDeblur | 31d88e1fbec91d5cc9062f4a46538e4ba806ab29 | [
"MIT"
] | null | null | null | from .build import build_config, merge_args | 43 | 43 | 0.860465 | 7 | 43 | 5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.897436 | 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 |
4c77b287546c559163205d481270615b24569198 | 153 | py | Python | pgreaper/core/__init__.py | vincentlaucsb/sqlify | cc84be6efef7b904aacc463d5b0211b3e52a8f25 | [
"MIT"
] | 8 | 2017-05-01T10:11:40.000Z | 2017-07-26T08:52:43.000Z | pgreaper/core/__init__.py | vincentlaucsb/pgreaper | cc84be6efef7b904aacc463d5b0211b3e52a8f25 | [
"MIT"
] | 4 | 2017-05-01T13:11:05.000Z | 2017-08-06T06:18:34.000Z | pgreaper/core/__init__.py | vincentlaucsb/sqlify | cc84be6efef7b904aacc463d5b0211b3e52a8f25 | [
"MIT"
] | null | null | null | from .table import assert_table, Table
from .table_out import table_to_csv, table_to_json, table_to_html, table_to_md
from .column_list import ColumnList | 51 | 78 | 0.856209 | 27 | 153 | 4.444444 | 0.481481 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 153 | 3 | 79 | 51 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 |
d5d79d5230728742719cdd0b3067aab007d518be | 85 | py | Python | day1/testdashboard/views.py | jcapellman/djangotest | 36e9f8827ab63c00071517f9a48049f7fef30583 | [
"MIT"
] | 1 | 2020-02-11T20:09:35.000Z | 2020-02-11T20:09:35.000Z | day1/testdashboard/views.py | jcapellman/djangotest | 36e9f8827ab63c00071517f9a48049f7fef30583 | [
"MIT"
] | null | null | null | day1/testdashboard/views.py | jcapellman/djangotest | 36e9f8827ab63c00071517f9a48049f7fef30583 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def test(request):
return HttpResponse("Test")
| 17 | 35 | 0.788235 | 11 | 85 | 6.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 85 | 4 | 36 | 21.25 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d5e78c0c91e89155ac04777c33c74a20ec7c93b2 | 102 | py | Python | pyhive/__init__.py | skrydal/PyHive | 534050640477cc2cbdbf61951399bdc42b85cc2e | [
"Apache-2.0"
] | null | null | null | pyhive/__init__.py | skrydal/PyHive | 534050640477cc2cbdbf61951399bdc42b85cc2e | [
"Apache-2.0"
] | 1 | 2022-03-21T09:38:07.000Z | 2022-03-21T09:38:07.000Z | pyhive/__init__.py | skrydal/PyHive | 534050640477cc2cbdbf61951399bdc42b85cc2e | [
"Apache-2.0"
] | 5 | 2021-08-18T10:19:02.000Z | 2022-03-19T23:22:08.000Z | from __future__ import absolute_import
from __future__ import unicode_literals
__version__ = '0.6.11'
| 25.5 | 39 | 0.843137 | 14 | 102 | 5.142857 | 0.714286 | 0.277778 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.107843 | 102 | 3 | 40 | 34 | 0.747253 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e677a70a205741a746b57f37d4391cba0222481a | 45 | py | Python | src/mercs/tests/__init__.py | MattiasDC/mercs | 466962e254c4f56f4a16a31b1a3d7bd893c8e23e | [
"MIT"
] | 11 | 2020-01-28T16:15:53.000Z | 2021-05-20T08:05:42.000Z | src/mercs/tests/__init__.py | MattiasDC/mercs | 466962e254c4f56f4a16a31b1a3d7bd893c8e23e | [
"MIT"
] | null | null | null | src/mercs/tests/__init__.py | MattiasDC/mercs | 466962e254c4f56f4a16a31b1a3d7bd893c8e23e | [
"MIT"
] | 4 | 2020-02-06T09:02:28.000Z | 2022-02-14T09:42:04.000Z | from .setup import load_iris, default_dataset | 45 | 45 | 0.866667 | 7 | 45 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.902439 | 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 |
e67c40333a26e740ca8456687e856392087b3621 | 19,240 | py | Python | skyportal/tests/frontend/test_scanning_page.py | rossbar/skyportal | 1f3cbd3700e25286a69b2d183776dfd3a064559d | [
"BSD-3-Clause"
] | null | null | null | skyportal/tests/frontend/test_scanning_page.py | rossbar/skyportal | 1f3cbd3700e25286a69b2d183776dfd3a064559d | [
"BSD-3-Clause"
] | null | null | null | skyportal/tests/frontend/test_scanning_page.py | rossbar/skyportal | 1f3cbd3700e25286a69b2d183776dfd3a064559d | [
"BSD-3-Clause"
] | null | null | null | import uuid
import datetime
import pytest
from skyportal.tests import api
from tdtax import taxonomy, __version__
@pytest.mark.flaky(reruns=2)
def test_candidate_group_filtering(
driver,
user,
public_candidate,
public_filter,
public_group,
upload_data_token,
manage_groups_token,
):
c... | 32.776831 | 104 | 0.605249 | 2,231 | 19,240 | 4.943971 | 0.104886 | 0.044424 | 0.057752 | 0.079964 | 0.814143 | 0.796283 | 0.775159 | 0.741523 | 0.708432 | 0.669356 | 0 | 0.019378 | 0.24631 | 19,240 | 586 | 105 | 32.832765 | 0.741259 | 0.041372 | 0 | 0.675522 | 0 | 0.003795 | 0.284179 | 0.201465 | 0 | 0 | 0 | 0 | 0.030361 | 1 | 0.018975 | false | 0.011385 | 0.009488 | 0 | 0.028463 | 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 |
e69fce1a32a9360e07d43ac2cafb3291ff355b14 | 34 | py | Python | {{cookiecutter.project_slug}}/tests/strategies.py | macrae/cookiecutter-pypackage | 55f02053982a4a58dbf9b2e13491f14fda2c6d8a | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/tests/strategies.py | macrae/cookiecutter-pypackage | 55f02053982a4a58dbf9b2e13491f14fda2c6d8a | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/tests/strategies.py | macrae/cookiecutter-pypackage | 55f02053982a4a58dbf9b2e13491f14fda2c6d8a | [
"BSD-3-Clause"
] | null | null | null | import hypothesis.strategies as st | 34 | 34 | 0.882353 | 5 | 34 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6a7734850f684c703a8565ae23bc564ffe19895 | 36 | py | Python | src/slr_helper/search/__init__.py | makrei-p/slr_helper | 434931c4076035be25449c298b5b63ad58fa1124 | [
"MIT"
] | null | null | null | src/slr_helper/search/__init__.py | makrei-p/slr_helper | 434931c4076035be25449c298b5b63ad58fa1124 | [
"MIT"
] | null | null | null | src/slr_helper/search/__init__.py | makrei-p/slr_helper | 434931c4076035be25449c298b5b63ad58fa1124 | [
"MIT"
] | null | null | null | from .ieee_search import IeeeSearch
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 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 |
e6da3767eba84e82c18a1691323ce064f9cf4b32 | 82,354 | py | Python | pirates/leveleditor/worldData/tortuga_area_jungle_a_1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/tortuga_area_jungle_a_1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/tortuga_area_jungle_a_1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'Interact Links': [['1175224832.0dxschafe', '1175224704.0dxschafe0', 'Bi-directional'], ['1176168576.0dxschafe1', '1176168448.0dxschafe0', 'Bi-directional'], ['1176167680.0dxschafe2', '1176168064.0dxschafe0', 'Bi-directional'], ['1175223168.0dxs... | 27,451.333333 | 82,144 | 0.663465 | 11,422 | 82,354 | 4.752933 | 0.10401 | 0.020852 | 0.020115 | 0.017831 | 0.665525 | 0.563642 | 0.522325 | 0.479296 | 0.432453 | 0.428124 | 0 | 0.245731 | 0.055735 | 82,354 | 3 | 82,145 | 27,451.333333 | 0.452382 | 0 | 0 | 0 | 0 | 0 | 0.576662 | 0.267853 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fc221ac50167ee9ec9dc749e8a762c19dcad0a60 | 92 | py | Python | app/views/jie/__init__.py | UserLoggedOut/Forum-Project | 35bc6fd746beaf09c94c4492b25c3d7fd9d8a1a5 | [
"AFL-3.0"
] | null | null | null | app/views/jie/__init__.py | UserLoggedOut/Forum-Project | 35bc6fd746beaf09c94c4492b25c3d7fd9d8a1a5 | [
"AFL-3.0"
] | null | null | null | app/views/jie/__init__.py | UserLoggedOut/Forum-Project | 35bc6fd746beaf09c94c4492b25c3d7fd9d8a1a5 | [
"AFL-3.0"
] | null | null | null | from flask import Blueprint
jie_blu = Blueprint("jie_blu", __name__)
from . import views
| 13.142857 | 40 | 0.76087 | 13 | 92 | 4.923077 | 0.615385 | 0.375 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 6 | 41 | 15.333333 | 0.831169 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 1 | 0 | 6 |
fc30d486b51d5de35877346c586e99caa4a2ae88 | 35 | py | Python | kivymd/uix/label/__init__.py | AnEx07/KivyMD | e4004a570ad3f1874b3540cc1b0c243b3037bba8 | [
"MIT"
] | null | null | null | kivymd/uix/label/__init__.py | AnEx07/KivyMD | e4004a570ad3f1874b3540cc1b0c243b3037bba8 | [
"MIT"
] | null | null | null | kivymd/uix/label/__init__.py | AnEx07/KivyMD | e4004a570ad3f1874b3540cc1b0c243b3037bba8 | [
"MIT"
] | null | null | null | from .label import MDIcon, MDLabel
| 17.5 | 34 | 0.8 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc3e10d6434747d8d52e67f6c6c4fc4d05cb5049 | 1,425 | py | Python | tests/test_routes.py | fcurella/genericclient-aiohttp | b24d4b6b0fe40800460ad6c03159eddb84a1ad9b | [
"MIT"
] | 7 | 2018-03-27T16:19:32.000Z | 2021-06-16T16:45:58.000Z | tests/test_routes.py | fcurella/genericclient-aiohttp | b24d4b6b0fe40800460ad6c03159eddb84a1ad9b | [
"MIT"
] | 9 | 2018-03-22T15:38:06.000Z | 2021-06-16T16:45:53.000Z | tests/test_routes.py | fcurella/genericclient-aiohttp | b24d4b6b0fe40800460ad6c03159eddb84a1ad9b | [
"MIT"
] | 1 | 2018-04-19T19:57:23.000Z | 2018-04-19T19:57:23.000Z | import pytest
from mocket.plugins.httpretty import HTTPretty
from mocket import Mocketizer
@pytest.fixture
def generic_response():
return {
'json': 'ok',
}
@pytest.mark.asyncio
async def test_endpoint_detail_route(generic_client, register_json, generic_response):
with Mocketizer():
regi... | 22.983871 | 86 | 0.605614 | 148 | 1,425 | 5.648649 | 0.25 | 0.125598 | 0.105263 | 0.124402 | 0.844498 | 0.844498 | 0.844498 | 0.805024 | 0.714115 | 0.605263 | 0 | 0.007897 | 0.289123 | 1,425 | 61 | 87 | 23.360656 | 0.817374 | 0 | 0 | 0.590909 | 0 | 0 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.022727 | false | 0 | 0.068182 | 0.022727 | 0.113636 | 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 |
fc49c9481860d3646032f4a510b35e29639b9fb0 | 41 | py | Python | logsight/incidents/__init__.py | aiops/logsight-sdk-py | 35fd9f99eb03472dee7ae6a1639502b7ea0c485e | [
"MIT"
] | 1 | 2021-10-02T09:29:10.000Z | 2021-10-02T09:29:10.000Z | logsight/incidents/__init__.py | aiops/logsight-sdk-py | 35fd9f99eb03472dee7ae6a1639502b7ea0c485e | [
"MIT"
] | null | null | null | logsight/incidents/__init__.py | aiops/logsight-sdk-py | 35fd9f99eb03472dee7ae6a1639502b7ea0c485e | [
"MIT"
] | null | null | null | from .incidents import LogsightIncidents
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 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 |
fc855b0ef90640c67081989d94667ea6d5bf044a | 173 | py | Python | get_measuring_value.py | purplepenguinmedia/unraidlcd | ee0159e1562ef01632b22bd4e6e37cde8a2aadfb | [
"MIT"
] | null | null | null | get_measuring_value.py | purplepenguinmedia/unraidlcd | ee0159e1562ef01632b22bd4e6e37cde8a2aadfb | [
"MIT"
] | 1 | 2021-04-03T12:22:33.000Z | 2021-04-03T12:22:33.000Z | get_measuring_value.py | purplepenguinmedia/unraidlcd | ee0159e1562ef01632b22bd4e6e37cde8a2aadfb | [
"MIT"
] | 1 | 2022-01-06T05:24:58.000Z | 2022-01-06T05:24:58.000Z | #!/usr/bin/python2
import cpuinfo
def cpumodel(args):
return cpuinfo.get_cpu_info()['brand']
def testline(args):
return "1234567890123456789012345678901234567890"
| 19.222222 | 53 | 0.763006 | 19 | 173 | 6.842105 | 0.789474 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269737 | 0.121387 | 173 | 8 | 54 | 21.625 | 0.585526 | 0.098266 | 0 | 0 | 0 | 0 | 0.290323 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fc9b043c4724a044b0cde5ff243d092230ba6188 | 49 | py | Python | uliweb/form/__init__.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 202 | 2015-01-12T08:10:48.000Z | 2021-11-08T09:04:32.000Z | uliweb/form/__init__.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 30 | 2015-01-01T09:07:17.000Z | 2021-06-03T12:58:45.000Z | uliweb/form/__init__.py | timgates42/uliweb | 80c0459c5e5d257b665eb2e1d0b5f68ad55c42f1 | [
"BSD-2-Clause"
] | 58 | 2015-01-12T03:28:54.000Z | 2022-01-14T01:58:08.000Z | from uliform import *
from validators import *
| 16.333333 | 25 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 49 | 2 | 26 | 24.5 | 0.948718 | 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 |
fca04239d544a7e519fc6dec5da8fd6e971be1f4 | 66 | py | Python | src/app/models/__init__.py | imaxu/demo-dingfanfou | e9a7e67480add7a8e7a281442ef2be3c547480a0 | [
"MIT"
] | null | null | null | src/app/models/__init__.py | imaxu/demo-dingfanfou | e9a7e67480add7a8e7a281442ef2be3c547480a0 | [
"MIT"
] | null | null | null | src/app/models/__init__.py | imaxu/demo-dingfanfou | e9a7e67480add7a8e7a281442ef2be3c547480a0 | [
"MIT"
] | null | null | null | # coding=utf-8
def get_date():
return datetime.datetime.now() | 16.5 | 34 | 0.69697 | 10 | 66 | 4.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.151515 | 66 | 4 | 34 | 16.5 | 0.785714 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
5d950f6ffc6dfe1d6b9d0c216a3647d214aa4a27 | 78 | py | Python | metaL/__init__.py | ponyatov/metaLmin | 6634b67465ea448c4a763d7c035b851579378ffd | [
"MIT"
] | null | null | null | metaL/__init__.py | ponyatov/metaLmin | 6634b67465ea448c4a763d7c035b851579378ffd | [
"MIT"
] | null | null | null | metaL/__init__.py | ponyatov/metaLmin | 6634b67465ea448c4a763d7c035b851579378ffd | [
"MIT"
] | null | null | null | from .core import *
from .meta import *
from .net import *
from .web import *
| 15.6 | 19 | 0.692308 | 12 | 78 | 4.5 | 0.5 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 78 | 4 | 20 | 19.5 | 0.870968 | 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 |
5da7f118f595156ce7dc545b254d81d5136522b0 | 2,199 | py | Python | staff/apps.py | skyydq/GreaterWMS | e14014a73b36ec0f0df03712a229b0931cb388fb | [
"Apache-2.0"
] | 2 | 2021-11-09T10:29:44.000Z | 2021-11-15T08:03:40.000Z | staff/apps.py | ashrafali46/GreaterWMS | 1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72 | [
"Apache-2.0"
] | null | null | null | staff/apps.py | ashrafali46/GreaterWMS | 1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72 | [
"Apache-2.0"
] | 1 | 2021-07-01T03:05:21.000Z | 2021-07-01T03:05:21.000Z | from django.apps import AppConfig
from django.db.models.signals import post_migrate
class StaffConfig(AppConfig):
name = 'staff'
def ready(self):
post_migrate.connect(do_init_data, sender=self)
def do_init_data(sender, **kwargs):
init_category()
def init_category():
"""
:return:None
... | 47.804348 | 97 | 0.590723 | 257 | 2,199 | 4.848249 | 0.249027 | 0.147673 | 0.157303 | 0.213483 | 0.764848 | 0.764848 | 0.764848 | 0.736758 | 0.677368 | 0.677368 | 0 | 0.013003 | 0.265575 | 2,199 | 45 | 98 | 48.866667 | 0.758514 | 0.005457 | 0 | 0.564103 | 0 | 0 | 0.192893 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.051282 | 0.076923 | 0 | 0.205128 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5db3795fefded4b6d30ac99af48b8d543f6560f2 | 96 | py | Python | app/web/__init__.py | hxj951103/fisher | 25208721970e7fd2b80743fce5648683578952ca | [
"MIT"
] | null | null | null | app/web/__init__.py | hxj951103/fisher | 25208721970e7fd2b80743fce5648683578952ca | [
"MIT"
] | null | null | null | app/web/__init__.py | hxj951103/fisher | 25208721970e7fd2b80743fce5648683578952ca | [
"MIT"
] | null | null | null | from flask import Blueprint
web = Blueprint("web", __name__)
from app.web import book # 不导入不执行 | 19.2 | 33 | 0.760417 | 14 | 96 | 4.928571 | 0.642857 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 96 | 5 | 33 | 19.2 | 0.851852 | 0.0625 | 0 | 0 | 0 | 0 | 0.033708 | 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 |
5db88ef6b093f03e8313ebfc78a99234657e0bc0 | 7,260 | py | Python | lsml/feature/provided/test/test_shape.py | sandeepdas05/lsm-crack-width | 38460e514d48f3424bb8d3bd58cb3eb330153e64 | [
"BSD-3-Clause"
] | 24 | 2020-01-30T15:53:33.000Z | 2022-01-15T09:46:24.000Z | lsml/feature/provided/test/test_shape.py | sandeepdas05/lsm-crack-width | 38460e514d48f3424bb8d3bd58cb3eb330153e64 | [
"BSD-3-Clause"
] | null | null | null | lsml/feature/provided/test/test_shape.py | sandeepdas05/lsm-crack-width | 38460e514d48f3424bb8d3bd58cb3eb330153e64 | [
"BSD-3-Clause"
] | 13 | 2019-12-05T08:32:11.000Z | 2022-03-20T03:12:03.000Z | import unittest
import numpy as np
from lsml.feature.provided import shape
class TestShapeFeatures(unittest.TestCase):
def test_size_2d(self):
x, dx = np.linspace(-2, 2, 701, retstep=True)
y, dy = np.linspace(-2, 2, 901, retstep=True)
xx, yy = np.meshgrid(x, y)
z = 1 - np.sqr... | 31.842105 | 72 | 0.568595 | 1,160 | 7,260 | 3.487931 | 0.072414 | 0.074147 | 0.081562 | 0.088977 | 0.909293 | 0.903114 | 0.895699 | 0.832921 | 0.805734 | 0.73999 | 0 | 0.067585 | 0.260193 | 7,260 | 227 | 73 | 31.982379 | 0.68572 | 0 | 0 | 0.613793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144828 | 1 | 0.082759 | false | 0 | 0.02069 | 0 | 0.110345 | 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 |
5df549e92f87d68c7367e2e5e800f37b7d6dd1e2 | 9,506 | py | Python | metashare/repository/tests/test_special_queries.py | zeehio/META-SHARE | b796769629734353a63d98db72c84617f725e544 | [
"BSD-3-Clause"
] | 11 | 2015-07-13T13:36:44.000Z | 2021-11-15T08:07:25.000Z | metashare/repository/tests/test_special_queries.py | zeehio/META-SHARE | b796769629734353a63d98db72c84617f725e544 | [
"BSD-3-Clause"
] | 13 | 2015-03-21T14:08:31.000Z | 2021-05-18T18:47:58.000Z | metashare/repository/tests/test_special_queries.py | zeehio/META-SHARE | b796769629734353a63d98db72c84617f725e544 | [
"BSD-3-Clause"
] | 12 | 2015-01-07T02:16:50.000Z | 2021-05-18T08:25:31.000Z | import logging
from metashare.repository.forms import _extract_special_queries, \
_process_special_query, MORE_FROM_SAME_CREATORS, MORE_FROM_SAME_PROJECTS
from metashare import test_utils
from metashare.recommendations.tests import _import_resource
import django.test
from django.test.client import Client
fro... | 46.598039 | 79 | 0.633915 | 1,067 | 9,506 | 5.415183 | 0.104967 | 0.038768 | 0.058152 | 0.068536 | 0.799931 | 0.798892 | 0.798892 | 0.797681 | 0.758913 | 0.758913 | 0 | 0.017938 | 0.231748 | 9,506 | 203 | 80 | 46.827586 | 0.773244 | 0.037766 | 0 | 0.706667 | 0 | 0 | 0.134711 | 0.07542 | 0 | 0 | 0 | 0 | 0.24 | 1 | 0.066667 | false | 0 | 0.073333 | 0 | 0.173333 | 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 |
b91030ceaed1c6d24fd846709a90fae8f64af853 | 157 | py | Python | hockey_classes/__init__.py | oradwastaken/NHL_player_picker | 835fbbcc1b200d5007db34ab321cd68914d694a2 | [
"MIT"
] | null | null | null | hockey_classes/__init__.py | oradwastaken/NHL_player_picker | 835fbbcc1b200d5007db34ab321cd68914d694a2 | [
"MIT"
] | null | null | null | hockey_classes/__init__.py | oradwastaken/NHL_player_picker | 835fbbcc1b200d5007db34ab321cd68914d694a2 | [
"MIT"
] | null | null | null | from hockey_classes.Player import Player, SkaterStats, GoalieStats
from hockey_classes.Position import Position
from hockey_classes.Rankings import Rankings
| 39.25 | 66 | 0.878981 | 20 | 157 | 6.75 | 0.45 | 0.222222 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089172 | 157 | 3 | 67 | 52.333333 | 0.944056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f8fd0b4b75e9868cd6f1984770808b9627564a13 | 77,116 | py | Python | aesara/gpuarray/blas.py | abdalazizrashid/Theano-PyMC | 90fa750461e91fb6281d494ae86404e2153fd7eb | [
"BSD-3-Clause"
] | null | null | null | aesara/gpuarray/blas.py | abdalazizrashid/Theano-PyMC | 90fa750461e91fb6281d494ae86404e2153fd7eb | [
"BSD-3-Clause"
] | null | null | null | aesara/gpuarray/blas.py | abdalazizrashid/Theano-PyMC | 90fa750461e91fb6281d494ae86404e2153fd7eb | [
"BSD-3-Clause"
] | null | null | null | import aesara
from aesara import Apply, Op
from aesara.compile import optdb
from aesara.gof import LocalOptGroup, ParamsType
from aesara.scalar import bool as bool_t
from aesara.tensor.basic import as_tensor_variable
from aesara.tensor.opt import in2out
from .basic_ops import (
CGpuKernelBase,
GpuArrayType,
... | 36.809547 | 156 | 0.533677 | 9,394 | 77,116 | 4.231424 | 0.056632 | 0.023245 | 0.012075 | 0.010415 | 0.861786 | 0.830566 | 0.801736 | 0.77678 | 0.75278 | 0.735698 | 0 | 0.021781 | 0.344507 | 77,116 | 2,094 | 157 | 36.827125 | 0.764585 | 0.154313 | 0 | 0.691395 | 0 | 0 | 0.074452 | 0.004819 | 0 | 0 | 0 | 0 | 0.042532 | 1 | 0.076162 | false | 0.000989 | 0.012859 | 0.020772 | 0.184965 | 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 |
53c8e522655a235f120c2659e2f2959ff7709640 | 20 | py | Python | DeBERTa/sift/__init__.py | vilhub/DeBERTa | 87580930689ec9f75ef8dbebba367953ed3dfe63 | [
"MIT"
] | 916 | 2020-06-09T01:32:41.000Z | 2022-03-31T10:14:33.000Z | DeBERTa/sift/__init__.py | vilhub/DeBERTa | 87580930689ec9f75ef8dbebba367953ed3dfe63 | [
"MIT"
] | 77 | 2020-06-27T15:48:25.000Z | 2022-03-30T20:52:58.000Z | DeBERTa/sift/__init__.py | vilhub/DeBERTa | 87580930689ec9f75ef8dbebba367953ed3dfe63 | [
"MIT"
] | 123 | 2020-06-09T01:54:53.000Z | 2022-03-30T13:22:41.000Z | from .sift import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 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 |
53dc87323d0c22c785ba7c44696c37e81e4dc76a | 41 | py | Python | view/__init__.py | shivam-kotwalia/deep_deploy | 72197c6dfbe5e59601f41af1a3fd684c9529bed2 | [
"MIT"
] | null | null | null | view/__init__.py | shivam-kotwalia/deep_deploy | 72197c6dfbe5e59601f41af1a3fd684c9529bed2 | [
"MIT"
] | null | null | null | view/__init__.py | shivam-kotwalia/deep_deploy | 72197c6dfbe5e59601f41af1a3fd684c9529bed2 | [
"MIT"
] | null | null | null | import index
from deep_deploy import app
| 13.666667 | 27 | 0.853659 | 7 | 41 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 2 | 28 | 20.5 | 0.971429 | 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 |
9906aaf6c74cac328f36f12e64e05f753b3baf2b | 97 | py | Python | src/roulette/settings/__init__.py | krakeusz/coffee-roulette | 835b2dbed42224671c6590587a803160b0e83186 | [
"Apache-2.0"
] | null | null | null | src/roulette/settings/__init__.py | krakeusz/coffee-roulette | 835b2dbed42224671c6590587a803160b0e83186 | [
"Apache-2.0"
] | 3 | 2020-06-21T19:35:36.000Z | 2021-06-10T18:22:56.000Z | src/roulette/settings/__init__.py | krakeusz/coffee-roulette | 835b2dbed42224671c6590587a803160b0e83186 | [
"Apache-2.0"
] | null | null | null | from .django import *
from .django_local import *
from .matcher import *
from .slackbot import *
| 19.4 | 27 | 0.752577 | 13 | 97 | 5.538462 | 0.461538 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 4 | 28 | 24.25 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54d1ce68432ec86dff759071ac9da2bb94456977 | 120 | py | Python | web/admin.py | carrolji/carrolji.github.io | 7e197422320a01abe6d4cba93751188f5d73dce3 | [
"MIT"
] | null | null | null | web/admin.py | carrolji/carrolji.github.io | 7e197422320a01abe6d4cba93751188f5d73dce3 | [
"MIT"
] | 1 | 2021-06-11T00:01:28.000Z | 2021-06-11T00:01:28.000Z | web/admin.py | carrolji/carrolji.github.io | 7e197422320a01abe6d4cba93751188f5d73dce3 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(BucketList)
admin.site.register(ProjectList) | 24 | 32 | 0.825 | 16 | 120 | 6.1875 | 0.625 | 0.222222 | 0.343434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 120 | 5 | 33 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
54d34e048a9f41832da92c0b95e40b9d2cfacd9a | 965 | py | Python | nimare/tests/test_stats.py | djarecka/NiMARE | 626263f125b31aab9b8173d27bd4e3d112b74569 | [
"MIT"
] | null | null | null | nimare/tests/test_stats.py | djarecka/NiMARE | 626263f125b31aab9b8173d27bd4e3d112b74569 | [
"MIT"
] | null | null | null | nimare/tests/test_stats.py | djarecka/NiMARE | 626263f125b31aab9b8173d27bd4e3d112b74569 | [
"MIT"
] | null | null | null | """
Test nimare.stats
"""
import math
import numpy as np
from nimare import stats
def test_null_to_p():
"""
Test nimare.stats.null_to_p.
"""
data = np.arange(1, 101)
assert math.isclose(stats.null_to_p(0, data, "lower"), 0.01)
assert math.isclose(stats.null_to_p(0, data, "upper"), 0.99)
... | 34.464286 | 66 | 0.668394 | 173 | 965 | 3.560694 | 0.16185 | 0.136364 | 0.159091 | 0.253247 | 0.737013 | 0.737013 | 0.737013 | 0.737013 | 0.737013 | 0.123377 | 0 | 0.072571 | 0.157513 | 965 | 27 | 67 | 35.740741 | 0.685117 | 0.047668 | 0 | 0 | 0 | 0 | 0.058036 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 1 | 0.058824 | false | 0 | 0.176471 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
54de7ecf6d73570627fba8186bcf7ea91c3f1c4e | 110 | py | Python | instagram/instagram/helper.py | mdornseif/Instadrop | a773da3761a4567c7bb0e10acbeb8fb3c6dfd68f | [
"MIT"
] | 7 | 2015-03-13T16:09:43.000Z | 2021-10-31T16:03:44.000Z | instagram/instagram/helper.py | mdornseif/Instadrop | a773da3761a4567c7bb0e10acbeb8fb3c6dfd68f | [
"MIT"
] | null | null | null | instagram/instagram/helper.py | mdornseif/Instadrop | a773da3761a4567c7bb0e10acbeb8fb3c6dfd68f | [
"MIT"
] | 9 | 2015-01-06T23:54:04.000Z | 2021-10-31T16:03:38.000Z | from datetime import datetime
def timestamp_to_datetime(ts):
return datetime.utcfromtimestamp(float(ts))
| 22 | 47 | 0.809091 | 14 | 110 | 6.214286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 110 | 4 | 48 | 27.5 | 0.896907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
072aa494750c15afea4fcb9ce42ef530aa4b7b8b | 19,986 | py | Python | guardian/tests/admin_test.py | TabbedOut/django-guardian | 8d8400680b198cf3c9f828f6c494193a820f83e8 | [
"BSD-2-Clause"
] | 2 | 2015-09-26T10:46:01.000Z | 2018-11-26T19:06:48.000Z | guardian/tests/admin_test.py | yceruto/django-guardian | d5703a1c964f4f1145d1800468db5352dacfaa18 | [
"BSD-2-Clause"
] | 1 | 2021-03-24T12:14:16.000Z | 2021-03-24T12:14:16.000Z | guardian/tests/admin_test.py | yceruto/django-guardian | d5703a1c964f4f1145d1800468db5352dacfaa18 | [
"BSD-2-Clause"
] | 5 | 2015-09-26T12:22:16.000Z | 2021-03-24T12:13:43.000Z | from __future__ import unicode_literals
import copy
from django import forms
from django.conf import settings
from django.contrib import admin
from django.contrib.contenttypes.models import ContentType
from django.core.urlresolvers import reverse
from django.http import HttpRequest
from django.test import TestCase
fro... | 43.733042 | 87 | 0.661463 | 2,563 | 19,986 | 4.912602 | 0.077643 | 0.033357 | 0.024462 | 0.026686 | 0.858629 | 0.846557 | 0.829323 | 0.805337 | 0.784926 | 0.774204 | 0 | 0.008037 | 0.215601 | 19,986 | 456 | 88 | 43.828947 | 0.795114 | 0.029371 | 0 | 0.671018 | 0 | 0 | 0.122744 | 0.061734 | 0 | 0 | 0 | 0.002193 | 0.172324 | 1 | 0.093995 | false | 0.007833 | 0.049608 | 0 | 0.16188 | 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 |
4ad7522f04b14e772e21dc624db9120bb89279c7 | 742 | py | Python | tests/dummy_tests.py | PolicyStat/distributed-nose | 4fbfd434a35e6c57c66f3ba16867b97428276d92 | [
"MIT"
] | 5 | 2015-02-01T17:47:06.000Z | 2019-08-19T15:35:14.000Z | tests/dummy_tests.py | PolicyStat/distributed-nose | 4fbfd434a35e6c57c66f3ba16867b97428276d92 | [
"MIT"
] | 3 | 2015-05-26T18:18:15.000Z | 2019-04-30T17:22:26.000Z | tests/dummy_tests.py | PolicyStat/distributed-nose | 4fbfd434a35e6c57c66f3ba16867b97428276d92 | [
"MIT"
] | 2 | 2017-11-15T16:22:04.000Z | 2019-09-15T16:49:27.000Z |
import unittest
class TC1(unittest.TestCase):
def test_TC1_1(self):
assert True
def test_TC1_2(self):
assert True
def test_TC1_3(self):
assert True
def test_TC1_4(self):
assert True
class TC2(unittest.TestCase):
def test_TC2_1(self):
assert True
def... | 15.142857 | 29 | 0.614555 | 108 | 742 | 3.981481 | 0.166667 | 0.227907 | 0.390698 | 0.434884 | 0.665116 | 0.523256 | 0 | 0 | 0 | 0 | 0 | 0.056863 | 0.312668 | 742 | 48 | 30 | 15.458333 | 0.786275 | 0 | 0 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 1 | 0.4375 | false | 0 | 0.03125 | 0 | 0.5625 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ab3d55f4e3e7607513af84dfdef71f14bfb6740c | 58 | py | Python | sound_generator/sound_generator/__init__.py | Redict/rg_sound_generation | 6db8826d0797650bc5c1555a60cc9c6b3f82050d | [
"MIT"
] | null | null | null | sound_generator/sound_generator/__init__.py | Redict/rg_sound_generation | 6db8826d0797650bc5c1555a60cc9c6b3f82050d | [
"MIT"
] | null | null | null | sound_generator/sound_generator/__init__.py | Redict/rg_sound_generation | 6db8826d0797650bc5c1555a60cc9c6b3f82050d | [
"MIT"
] | null | null | null | from sound_generator.get_prediction import get_prediction
| 29 | 57 | 0.913793 | 8 | 58 | 6.25 | 0.75 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 58 | 1 | 58 | 58 | 0.925926 | 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 |
ab41c45f075155eb82d068a8fca5204cef6b4f7b | 27,659 | py | Python | tests/test_validation.py | njimenezd/Pandora | 9e3c2054415301edac6da7510056af0136790277 | [
"Apache-2.0"
] | 25 | 2020-09-18T14:12:29.000Z | 2022-03-28T15:12:16.000Z | tests/test_validation.py | qfardet/Pandora | 67c23134844e5468ca529f1c605f540035fe57c3 | [
"Apache-2.0"
] | 4 | 2021-01-14T18:43:11.000Z | 2021-08-19T08:00:43.000Z | tests/test_validation.py | qfardet/Pandora | 67c23134844e5468ca529f1c605f540035fe57c3 | [
"Apache-2.0"
] | 6 | 2021-01-25T17:03:55.000Z | 2022-03-25T08:14:49.000Z | # type:ignore
#!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2020 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA
#
# https://github.com/CNES/Pandora
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Lice... | 40.794985 | 118 | 0.514661 | 3,139 | 27,659 | 4.266964 | 0.065626 | 0.072271 | 0.113558 | 0.157235 | 0.895177 | 0.882858 | 0.869419 | 0.857921 | 0.849186 | 0.841123 | 0 | 0.037223 | 0.374489 | 27,659 | 677 | 119 | 40.855244 | 0.736952 | 0.152428 | 0 | 0.679061 | 0 | 0 | 0.061002 | 0.007874 | 0 | 0 | 0 | 0 | 0.027397 | 1 | 0.017613 | false | 0 | 0.011742 | 0 | 0.031311 | 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 |
ab547bdb3f0d77297a1b6b71f5c06f6432be2ce8 | 2,305 | py | Python | temboo/core/Library/Google/Calendar/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Google/Calendar/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Google/Calendar/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Google.Calendar.CreateCalendar import CreateCalendar, CreateCalendarInputSet, CreateCalendarResultSet, CreateCalendarChoreographyExecution
from temboo.Library.Google.Calendar.CreateEvent import CreateEvent, CreateEventInputSet, CreateEventResultSet, CreateEventChoreographyExecution
from temboo.Libra... | 144.0625 | 193 | 0.908894 | 165 | 2,305 | 12.69697 | 0.4 | 0.071599 | 0.121718 | 0.164678 | 0.221957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045553 | 2,305 | 15 | 194 | 153.666667 | 0.952273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab58eb4bb2632b96e55699c2891233bb0f50331a | 6,906 | py | Python | tests/test_connection.py | dbluhm/aries-staticagent-python | 1f27f85cf72cc6a2e10a6495c85f2b21462362cd | [
"Apache-2.0"
] | 18 | 2019-06-20T18:19:36.000Z | 2022-01-17T04:30:18.000Z | tests/test_connection.py | dbluhm/aries-staticagent-python | 1f27f85cf72cc6a2e10a6495c85f2b21462362cd | [
"Apache-2.0"
] | 16 | 2019-06-20T18:24:49.000Z | 2021-05-19T17:38:40.000Z | tests/test_connection.py | dbluhm/aries-staticagent-python | 1f27f85cf72cc6a2e10a6495c85f2b21462362cd | [
"Apache-2.0"
] | 20 | 2019-06-20T16:54:13.000Z | 2021-12-03T00:08:37.000Z | """ Test Connection. """
import hashlib
from collections import namedtuple
import pytest
from aries_staticagent import Connection, Keys, MessageDeliveryError, crypto
ConnectionInfo = namedtuple("ConnectionInfo", "keys, did")
def generate_test_info(seed=None):
"""Generate connection information from seed."""
... | 34.878788 | 88 | 0.719374 | 966 | 6,906 | 4.827122 | 0.087992 | 0.14926 | 0.138966 | 0.150547 | 0.823504 | 0.790264 | 0.773965 | 0.752091 | 0.745228 | 0.698906 | 0 | 0.012033 | 0.169708 | 6,906 | 197 | 89 | 35.055838 | 0.801186 | 0.082682 | 0 | 0.496454 | 0 | 0 | 0.046828 | 0.015183 | 0 | 0 | 0 | 0 | 0.297872 | 1 | 0.106383 | false | 0 | 0.028369 | 0 | 0.156028 | 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 |
db5d9061f10b111d480d17ebe60350f5108d42f4 | 2,572 | py | Python | tests/test_import.py | HeavenVolkoff/secure_context | c294026a288a03317dacf2063bb32ca8d7e82304 | [
"BSD-3-Clause"
] | 1 | 2021-11-11T05:18:17.000Z | 2021-11-11T05:18:17.000Z | tests/test_import.py | HeavenVolkoff/secure_context | c294026a288a03317dacf2063bb32ca8d7e82304 | [
"BSD-3-Clause"
] | null | null | null | tests/test_import.py | HeavenVolkoff/secure_context | c294026a288a03317dacf2063bb32ca8d7e82304 | [
"BSD-3-Clause"
] | null | null | null | # Internal
import unittest
import warnings
import importlib
from os import environ
# External
import secure_context
import secure_context.ssl_context
class TestImport(unittest.TestCase):
def tearDown(self) -> None:
environ.pop("SECURE_CONTEXT_NO_EXTENSIONS", None)
def test_export_types(self) -> None... | 37.823529 | 110 | 0.708787 | 273 | 2,572 | 6.355311 | 0.21978 | 0.179827 | 0.09683 | 0.129107 | 0.791931 | 0.791931 | 0.731988 | 0.703746 | 0.703746 | 0.696254 | 0 | 0 | 0.198678 | 2,572 | 67 | 111 | 38.38806 | 0.841824 | 0.022939 | 0 | 0.571429 | 0 | 0 | 0.147469 | 0.033479 | 0 | 0 | 0 | 0 | 0.183673 | 1 | 0.122449 | false | 0 | 0.306122 | 0 | 0.44898 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
db75d6a7c2d779e54c3031563d6b95c0763939a1 | 123 | py | Python | tests/test_utils.py | PrVrSs/matter | 744b8db8dedc69292fec715c8dc3a97d117787ff | [
"Apache-2.0"
] | null | null | null | tests/test_utils.py | PrVrSs/matter | 744b8db8dedc69292fec715c8dc3a97d117787ff | [
"Apache-2.0"
] | null | null | null | tests/test_utils.py | PrVrSs/matter | 744b8db8dedc69292fec715c8dc3a97d117787ff | [
"Apache-2.0"
] | null | null | null | from matter.utils import flatmap
def test_flatmap():
assert list(flatmap(lambda x: [x + 1], [1, 2, 3])) == [2, 3, 4]
| 20.5 | 67 | 0.609756 | 21 | 123 | 3.52381 | 0.714286 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.203252 | 123 | 5 | 68 | 24.6 | 0.683673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db7dfd987d71f92befda59cccae93d47edc46145 | 64 | py | Python | tests/edge/test_router.py | tommyvn/brxy | f8068a8ce9ee7908ced0827156d5451dab1e9e76 | [
"MIT"
] | 1 | 2017-09-25T09:43:13.000Z | 2017-09-25T09:43:13.000Z | tests/edge/test_router.py | tommyvn/brxy | f8068a8ce9ee7908ced0827156d5451dab1e9e76 | [
"MIT"
] | 4 | 2017-04-22T10:48:04.000Z | 2017-04-25T07:15:00.000Z | tests/edge/test_router.py | tommyvn/brxy | f8068a8ce9ee7908ced0827156d5451dab1e9e76 | [
"MIT"
] | null | null | null | from tests import BaseCase
class TestHttp(BaseCase):
pass
| 10.666667 | 26 | 0.75 | 8 | 64 | 6 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203125 | 64 | 5 | 27 | 12.8 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
dba71a58c20c0d7d849c947b9d9cab32ce812467 | 145 | py | Python | cumulusci/core/config/OrgConfig.py | davisagli/CumulusCI | fd74c324ad3ff662484b159395c639879011e711 | [
"BSD-3-Clause"
] | 109 | 2015-01-20T14:28:48.000Z | 2018-08-31T12:12:39.000Z | cumulusci/core/config/OrgConfig.py | davisagli/CumulusCI | fd74c324ad3ff662484b159395c639879011e711 | [
"BSD-3-Clause"
] | 365 | 2015-01-07T19:54:25.000Z | 2018-09-11T15:10:02.000Z | cumulusci/core/config/OrgConfig.py | davisagli/CumulusCI | fd74c324ad3ff662484b159395c639879011e711 | [
"BSD-3-Clause"
] | 125 | 2015-01-17T16:05:39.000Z | 2018-09-06T19:05:00.000Z | from warnings import warn
from .org_config import * # noqa
warn("Deprecation warning: Please import from .org_config rather than .OrgConfig")
| 24.166667 | 82 | 0.77931 | 20 | 145 | 5.55 | 0.65 | 0.126126 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151724 | 145 | 5 | 83 | 29 | 0.902439 | 0.027586 | 0 | 0 | 0 | 0 | 0.532374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dbdce25209a67e53243d464b1c65a9d620c9d4b8 | 77,103 | py | Python | electronicparsers/siesta/metainfo/siesta_autogenerated.py | nomad-coe/electronic-parsers | defb47be6ac22b2e48d4fb9204c85390a3c2f328 | [
"Apache-2.0"
] | null | null | null | electronicparsers/siesta/metainfo/siesta_autogenerated.py | nomad-coe/electronic-parsers | defb47be6ac22b2e48d4fb9204c85390a3c2f328 | [
"Apache-2.0"
] | null | null | null | electronicparsers/siesta/metainfo/siesta_autogenerated.py | nomad-coe/electronic-parsers | defb47be6ac22b2e48d4fb9204c85390a3c2f328 | [
"Apache-2.0"
] | null | null | null | #
# Copyright The NOMAD Authors.
#
# This file is part of NOMAD.
# See https://nomad-lab.eu for further info.
#
# 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/lic... | 25.786957 | 88 | 0.577604 | 6,925 | 77,103 | 6.125776 | 0.074224 | 0.286014 | 0.207916 | 0.173028 | 0.775465 | 0.77207 | 0.770939 | 0.635487 | 0.278211 | 0.036656 | 0 | 0.00102 | 0.313088 | 77,103 | 2,989 | 89 | 25.795584 | 0.799936 | 0.009714 | 0 | 0.70959 | 0 | 0 | 0.274681 | 0.024062 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001547 | 0 | 0.146172 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
917321ab83c2aab07cad6d524efc2aad9e4b6d13 | 38 | py | Python | wechat.py | fanwin/testing | cbd688c64a3b7962ab8fdad92ff25eff66a7dd0b | [
"MIT"
] | 1 | 2018-07-22T02:18:42.000Z | 2018-07-22T02:18:42.000Z | wechat.py | fanwin/testing | cbd688c64a3b7962ab8fdad92ff25eff66a7dd0b | [
"MIT"
] | 1 | 2018-07-22T03:35:26.000Z | 2018-07-22T03:42:53.000Z | wechat.py | fanwin/testing | cbd688c64a3b7962ab8fdad92ff25eff66a7dd0b | [
"MIT"
] | 1 | 2018-07-22T02:55:00.000Z | 2018-07-22T02:55:00.000Z | import os, sys
print('hello github')
| 9.5 | 21 | 0.710526 | 6 | 38 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 3 | 22 | 12.666667 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 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 |
37dd9f100d649b404d419215937ebca3b532eb31 | 48,072 | py | Python | Daz2HouNeo/ropWindow.py | SideswipeeZ/Daz2HouNeo | d58cefce68e5268023d15efe0e34fc7a24ffa56e | [
"MIT"
] | 11 | 2020-12-15T01:48:30.000Z | 2022-03-07T04:01:52.000Z | Daz2HouNeo/ropWindow.py | SideswipeeZ/Daz2HouNeo | d58cefce68e5268023d15efe0e34fc7a24ffa56e | [
"MIT"
] | 1 | 2022-02-16T09:29:22.000Z | 2022-02-20T12:22:12.000Z | Daz2HouNeo/ropWindow.py | SideswipeeZ/Daz2HouNeo | d58cefce68e5268023d15efe0e34fc7a24ffa56e | [
"MIT"
] | 4 | 2021-08-08T18:47:08.000Z | 2022-02-06T14:53:00.000Z | import os, base64, hou
from Qt import QtCore, QtWidgets, QtCompat, QtGui
from Qt.QtWidgets import QFileDialog
from Qt.QtGui import QColor, QPixmap, QPainter
sessID = ''
#Arnold Light Tool Vars
###
preview64 = "iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGu2lUWHRYTUw6Y29tLmFkb2JlLnh... | 104.732026 | 11,448 | 0.873294 | 2,623 | 48,072 | 15.929851 | 0.410599 | 0.01077 | 0.008137 | 0.009765 | 0.051814 | 0.024339 | 0.021204 | 0.017614 | 0.010602 | 0.005122 | 0 | 0.119311 | 0.059889 | 48,072 | 459 | 11,449 | 104.732026 | 0.805257 | 0.057289 | 0 | 0.114865 | 0 | 0.013514 | 0.772051 | 0.754736 | 0.003378 | 1 | 0 | 0 | 0 | 1 | 0.081081 | false | 0.010135 | 0.013514 | 0 | 0.141892 | 0.003378 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
37ec2764e47c7248bbf3371b85b7f1d34afe92d6 | 20 | py | Python | automon/integrations/phantom/__init__.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | 2 | 2021-09-15T18:35:44.000Z | 2022-01-18T05:36:54.000Z | automon/integrations/phantom/__init__.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | 16 | 2021-08-29T22:51:53.000Z | 2022-03-09T16:08:19.000Z | automon/integrations/phantom/__init__.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | null | null | null | from .rules import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 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 |
37f20b70199966790a8de4ab9918bac1514dff8d | 422,568 | py | Python | src/deployment_tools/ucs_domain_deployment_tool/ucs_domain_deployment_tool.py | ugo-emekauwa/cisco-imm-automation-tools | 67b1e752c32ca08b1acb928e68b697b60a62836f | [
"Apache-2.0"
] | null | null | null | src/deployment_tools/ucs_domain_deployment_tool/ucs_domain_deployment_tool.py | ugo-emekauwa/cisco-imm-automation-tools | 67b1e752c32ca08b1acb928e68b697b60a62836f | [
"Apache-2.0"
] | null | null | null | src/deployment_tools/ucs_domain_deployment_tool/ucs_domain_deployment_tool.py | ugo-emekauwa/cisco-imm-automation-tools | 67b1e752c32ca08b1acb928e68b697b60a62836f | [
"Apache-2.0"
] | 1 | 2022-01-07T11:03:13.000Z | 2022-01-07T11:03:13.000Z | """
UCS Domain Deployment Tool for Cisco Intersight, v2.0
Author: Ugo Emekauwa
Contact: uemekauw@cisco.com, uemekauwa@gmail.com
Summary: The UCS Domain Deployment Tool for Cisco Intersight automates the
comprehensive build and deployment of UCS Domain Profiles and Policies
for Cisco IMM (Intersi... | 51.482456 | 235 | 0.571132 | 43,333 | 422,568 | 5.26811 | 0.026377 | 0.056377 | 0.042263 | 0.02192 | 0.865535 | 0.82778 | 0.786865 | 0.756412 | 0.726108 | 0.70123 | 0 | 0.005261 | 0.362576 | 422,568 | 8,207 | 236 | 51.488729 | 0.842257 | 0.277659 | 0 | 0.656536 | 0 | 0.000186 | 0.210094 | 0.065774 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026478 | false | 0.001865 | 0.001305 | 0.006526 | 0.067313 | 0.077009 | 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 |
37fa9689ecf1d75641d93ca7c4633904c04431a7 | 138 | py | Python | tests/context.py | jamalmoir/PyBlogit | 5e7b7ffc9abaad9c9b0acd293d8e7480071280cf | [
"MIT"
] | 7 | 2016-03-11T18:10:58.000Z | 2016-09-22T14:14:44.000Z | tests/context.py | jamalmoir/PyBlogit | 5e7b7ffc9abaad9c9b0acd293d8e7480071280cf | [
"MIT"
] | null | null | null | tests/context.py | jamalmoir/PyBlogit | 5e7b7ffc9abaad9c9b0acd293d8e7480071280cf | [
"MIT"
] | 1 | 2018-06-30T06:30:11.000Z | 2018-06-30T06:30:11.000Z | import os
import sys
sys.path.insert(0, os.path.abspath('..'))
import pyblogit
import pyblogit.blogger
import pyblogit.database_handler
| 15.333333 | 41 | 0.789855 | 20 | 138 | 5.4 | 0.55 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.101449 | 138 | 8 | 42 | 17.25 | 0.862903 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 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 |
53115e3778d727f6f13e8da114efc93bf21c49c6 | 14,217 | py | Python | result/sim_vgg16_cifar100untrain.py | saigyouji-reimu/Machine-Learning-Similarity-Project | 8f8b8b77c7deadc4a42142a0cfbcb5a68a623a37 | [
"MIT"
] | 1 | 2021-04-13T08:48:36.000Z | 2021-04-13T08:48:36.000Z | result/sim_vgg16_cifar100untrain.py | saigyouji-reimu/Machine-Learning-Similarity-Project | 8f8b8b77c7deadc4a42142a0cfbcb5a68a623a37 | [
"MIT"
] | null | null | null | result/sim_vgg16_cifar100untrain.py | saigyouji-reimu/Machine-Learning-Similarity-Project | 8f8b8b77c7deadc4a42142a0cfbcb5a68a623a37 | [
"MIT"
] | null | null | null | from __future__ import print_function
import tensorflow as tf
from tensorflow.keras.datasets import cifar10
from tensorflow.keras.preprocessing.image import ImageDataGenerator
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Dropout, Activation, Flatten
from tensorflow.keras.lay... | 37.413158 | 131 | 0.65281 | 1,854 | 14,217 | 4.894822 | 0.119202 | 0.105785 | 0.052893 | 0.06281 | 0.83405 | 0.810579 | 0.804848 | 0.804848 | 0.804848 | 0.798237 | 0 | 0.039281 | 0.213899 | 14,217 | 379 | 132 | 37.511873 | 0.772727 | 0.103749 | 0 | 0.684015 | 0 | 0 | 0.031936 | 0.002124 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04461 | false | 0 | 0.063197 | 0 | 0.152416 | 0.022305 | 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 |
72a42cc9bad42ce0f1a48cff5c14b6747a057f32 | 12,211 | py | Python | tests/test_poller_utilities.py | splunk/splunk-connect-for-snmp-poller | 25e6029ee8dbe075b6c5fd5e1360115af7969b92 | [
"Apache-2.0"
] | 9 | 2021-03-18T23:25:27.000Z | 2021-11-04T00:55:46.000Z | tests/test_poller_utilities.py | splunk/splunk-connect-for-snmp-poller | 25e6029ee8dbe075b6c5fd5e1360115af7969b92 | [
"Apache-2.0"
] | 165 | 2021-03-12T17:55:38.000Z | 2021-12-13T23:12:59.000Z | tests/test_poller_utilities.py | splunk/splunk-connect-for-snmp-poller | 25e6029ee8dbe075b6c5fd5e1360115af7969b92 | [
"Apache-2.0"
] | 2 | 2021-08-31T06:23:46.000Z | 2022-03-27T10:02:24.000Z | #
# Copyright 2021 Splunk 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 or agreed to in writing, so... | 37.804954 | 88 | 0.506265 | 1,062 | 12,211 | 5.524482 | 0.160075 | 0.115221 | 0.137379 | 0.163968 | 0.810124 | 0.749617 | 0.710926 | 0.710926 | 0.680757 | 0.676837 | 0 | 0.028475 | 0.367292 | 12,211 | 322 | 89 | 37.92236 | 0.730909 | 0.045451 | 0 | 0.602113 | 0 | 0.010563 | 0.24564 | 0.012888 | 0 | 0 | 0 | 0 | 0.091549 | 1 | 0.070423 | false | 0 | 0.017606 | 0 | 0.091549 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72b79e9ec11964136c0ab14b008b9e0bd6e2281c | 425 | py | Python | tests/conftest.py | web3wannabe/blockchain-developer-bootcamp-final-project | abb3f0c718f5174e81d8131ac8f2cda9e60ca3d7 | [
"MIT"
] | 8 | 2021-11-26T19:00:06.000Z | 2021-12-22T17:57:53.000Z | tests/conftest.py | danceratopz/blockchain-developer-bootcamp-final-project | abb3f0c718f5174e81d8131ac8f2cda9e60ca3d7 | [
"MIT"
] | 4 | 2021-11-19T19:29:46.000Z | 2021-11-28T12:33:52.000Z | tests/conftest.py | web3wannabe/blockchain-developer-bootcamp-final-project | abb3f0c718f5174e81d8131ac8f2cda9e60ca3d7 | [
"MIT"
] | 1 | 2022-02-08T05:01:57.000Z | 2022-02-08T05:01:57.000Z | """
Unit test configuration and helpers (fixtures).
"""
import pytest
@pytest.fixture(scope="session")
def deployer_address(accounts):
return accounts[0]
@pytest.fixture(scope="session")
def user_address(accounts):
return accounts[1]
@pytest.fixture(scope="session")
def buyer_address(accounts):
return... | 17 | 47 | 0.738824 | 53 | 425 | 5.830189 | 0.54717 | 0.168285 | 0.23301 | 0.242718 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008086 | 0.127059 | 425 | 24 | 48 | 17.708333 | 0.824798 | 0.110588 | 0 | 0.230769 | 0 | 0 | 0.07027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.076923 | 0.076923 | 0.230769 | 0.615385 | 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 |
72b8424628733b18ab4cb745e791de4482c2887b | 42 | py | Python | Projetos/fatec.py | anderson-br-ti/python | d65d851f0934267dff9256dfdac09b100efb3b45 | [
"MIT"
] | null | null | null | Projetos/fatec.py | anderson-br-ti/python | d65d851f0934267dff9256dfdac09b100efb3b45 | [
"MIT"
] | null | null | null | Projetos/fatec.py | anderson-br-ti/python | d65d851f0934267dff9256dfdac09b100efb3b45 | [
"MIT"
] | 1 | 2020-11-04T08:36:28.000Z | 2020-11-04T08:36:28.000Z | def desconto(preço):
return 0.9*preço
| 14 | 20 | 0.690476 | 7 | 42 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.190476 | 42 | 2 | 21 | 21 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
72e4c4ca070493f64af0b0c109d18b5e444f5c7d | 10,601 | py | Python | PyEMD/tests/test_extrema.py | LonelyBattle/PyEMD | c293e30d8d280db6103dffa864b67795c79d33c6 | [
"Apache-2.0"
] | 1 | 2021-07-26T05:44:56.000Z | 2021-07-26T05:44:56.000Z | PyEMD/tests/test_extrema.py | BisonLeo/PyEMD | 612474f616b5d68510a4a467b7fce7f2c7c12b48 | [
"Apache-2.0"
] | null | null | null | PyEMD/tests/test_extrema.py | BisonLeo/PyEMD | 612474f616b5d68510a4a467b7fce7f2c7c12b48 | [
"Apache-2.0"
] | 1 | 2021-07-26T05:44:57.000Z | 2021-07-26T05:44:57.000Z | #!/usr/bin/python
# Coding: UTF-8
from __future__ import print_function
import numpy as np
from PyEMD import EMD
import unittest
class ExtremaTest(unittest.TestCase):
def test_incorrectExtremaDetectionSetup(self):
extrema_detection = "bubble_gum"
# Sanity check
emd = EMD()
self.... | 34.086817 | 88 | 0.55391 | 1,460 | 10,601 | 3.967808 | 0.111644 | 0.126877 | 0.087002 | 0.082859 | 0.886587 | 0.834973 | 0.781115 | 0.756603 | 0.756603 | 0.743829 | 0 | 0.074564 | 0.286482 | 10,601 | 310 | 89 | 34.196774 | 0.691301 | 0.146779 | 0 | 0.681319 | 0 | 0 | 0.008213 | 0 | 0 | 0 | 0 | 0.003226 | 0.291209 | 1 | 0.043956 | false | 0 | 0.021978 | 0 | 0.071429 | 0.005495 | 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 |
f41ffdb35767c01c436fe4a1cc3d8509f0d59811 | 3,213 | py | Python | sketch_generation/evaluate_precision.py | louis-gautier/Project-DL-Seq2Seq | 25fca13803b1a70dc9c4f5be2cf5c85a75496feb | [
"MIT"
] | null | null | null | sketch_generation/evaluate_precision.py | louis-gautier/Project-DL-Seq2Seq | 25fca13803b1a70dc9c4f5be2cf5c85a75496feb | [
"MIT"
] | null | null | null | sketch_generation/evaluate_precision.py | louis-gautier/Project-DL-Seq2Seq | 25fca13803b1a70dc9c4f5be2cf5c85a75496feb | [
"MIT"
] | null | null | null | import numpy as np
from data_load import get_data
from model import encoder_skrnn, decoder_skrnn, skrnn_loss
from eval_skrnn import load_pretrained_congen, load_pretrained_uncond
import torch
def evaluate_precision(data_type,model_name,cond_gen,GRU=False):
# Get the data
data_enc_train, data_dec_train , _ = ge... | 56.368421 | 162 | 0.737317 | 513 | 3,213 | 4.290448 | 0.163743 | 0.032712 | 0.050886 | 0.072694 | 0.809632 | 0.809632 | 0.786006 | 0.722399 | 0.722399 | 0.690595 | 0 | 0.013062 | 0.142235 | 3,213 | 57 | 163 | 56.368421 | 0.785559 | 0.019608 | 0 | 0.454545 | 0 | 0 | 0.082936 | 0.06101 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.113636 | 0 | 0.136364 | 0.090909 | 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 |
f43b12d2863d0ef26aaa6e116a7674d49c7b7cc4 | 228 | py | Python | arturo/gfx/canvas.py | rhestilow/arturo | 4b3c33bc45e73524726bd7040d69ec9730ce57c3 | [
"MIT"
] | null | null | null | arturo/gfx/canvas.py | rhestilow/arturo | 4b3c33bc45e73524726bd7040d69ec9730ce57c3 | [
"MIT"
] | null | null | null | arturo/gfx/canvas.py | rhestilow/arturo | 4b3c33bc45e73524726bd7040d69ec9730ce57c3 | [
"MIT"
] | null | null | null | TILE = "tile"
POLY = "poly"
def triangle(scale):
return (POLY, 3, scale)
class Canvas(object):
def __init__(self):
# TODO: size/etc?
pass
def tile(self, *children):
return (TILE, children)
| 16.285714 | 31 | 0.578947 | 28 | 228 | 4.571429 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 0.285088 | 228 | 13 | 32 | 17.538462 | 0.779141 | 0.065789 | 0 | 0 | 0 | 0 | 0.037915 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0.333333 | false | 0.111111 | 0 | 0.222222 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
f44550a2deb7534f8c0a8d59bb0cd88deba00dc3 | 190 | py | Python | models/InstallServe.py | GerardoLozano1423/AWS | 909e940fb194e6ade2b5df60adacaa74d2137ced | [
"Apache-2.0"
] | null | null | null | models/InstallServe.py | GerardoLozano1423/AWS | 909e940fb194e6ade2b5df60adacaa74d2137ced | [
"Apache-2.0"
] | null | null | null | models/InstallServe.py | GerardoLozano1423/AWS | 909e940fb194e6ade2b5df60adacaa74d2137ced | [
"Apache-2.0"
] | null | null | null | class InstallServe:
def InstallPhp(self):
pass
def InstallMySQL(self):
pass
def InstallPython(self):
pass
def InstallPhpMyAdmin(self):
pass
def InstallApache(self):
pass | 12.666667 | 29 | 0.721053 | 22 | 190 | 6.227273 | 0.454545 | 0.291971 | 0.321168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194737 | 190 | 15 | 30 | 12.666667 | 0.895425 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.454545 | 0 | 0 | 0.545455 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f45a73460bb6dfd90e0b71a129901641d72fbfcb | 41,487 | py | Python | tests/test_plugin.py | tsuru/rpaas | 3f2c871196e5be6e050bfb786baa0bf41e281e44 | [
"BSD-3-Clause"
] | 39 | 2015-01-22T14:06:01.000Z | 2021-03-26T15:35:24.000Z | tests/test_plugin.py | tsuru/rpaas | 3f2c871196e5be6e050bfb786baa0bf41e281e44 | [
"BSD-3-Clause"
] | 31 | 2015-01-27T12:23:38.000Z | 2018-11-05T12:50:58.000Z | tests/test_plugin.py | tsuru/rpaas | 3f2c871196e5be6e050bfb786baa0bf41e281e44 | [
"BSD-3-Clause"
] | 21 | 2015-06-16T20:42:37.000Z | 2021-08-08T22:12:23.000Z | # Copyright 2016 rpaas authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
import os
import unittest
import re
import mock
import argparse
from rpaas import plugin
from urllib2 import HTTPError
from io import StringIO
class CommandNotF... | 49.50716 | 110 | 0.601224 | 4,702 | 41,487 | 5.140366 | 0.061251 | 0.054117 | 0.072156 | 0.041374 | 0.879437 | 0.858751 | 0.843773 | 0.826976 | 0.809433 | 0.803558 | 0 | 0.007592 | 0.250705 | 41,487 | 837 | 111 | 49.566308 | 0.769929 | 0.003567 | 0 | 0.662338 | 0 | 0.005195 | 0.250639 | 0.076816 | 0 | 0 | 0 | 0 | 0.324675 | 1 | 0.05974 | false | 0 | 0.01039 | 0 | 0.072727 | 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 |
be68b9857ca9ed4e79b547cd5d58a275b6f5e068 | 297 | py | Python | hisa/learn/models/__init__.py | rittikaadhikari/stock-recommendation | 1f14276a955301b1c6fa1c00bd88b00cf5668d8c | [
"MIT"
] | null | null | null | hisa/learn/models/__init__.py | rittikaadhikari/stock-recommendation | 1f14276a955301b1c6fa1c00bd88b00cf5668d8c | [
"MIT"
] | null | null | null | hisa/learn/models/__init__.py | rittikaadhikari/stock-recommendation | 1f14276a955301b1c6fa1c00bd88b00cf5668d8c | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from hisa.learn import sentiment
from hisa.learn.models.linearregression import LinearModel
from hisa.learn.models.mlpregressor import MLPModel
from hisa.learn.models.ridgeregression import RidgeModel
from hisa.learn.models.preprocess import PreprocessData
| 37.125 | 58 | 0.872054 | 38 | 297 | 6.684211 | 0.421053 | 0.15748 | 0.255906 | 0.299213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084175 | 297 | 7 | 59 | 42.428571 | 0.933824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bec6877f275ef955fd195fe7af15aa12a47bb644 | 80 | py | Python | myflaskapp/api/__init__.py | vincentbello/ember-flask-chat | 2c07878fd75e7f8e26d4cdab9d139f32c755d191 | [
"BSD-3-Clause"
] | 1 | 2018-11-03T14:48:34.000Z | 2018-11-03T14:48:34.000Z | myflaskapp/api/__init__.py | vincentbello/ember-flask-chat | 2c07878fd75e7f8e26d4cdab9d139f32c755d191 | [
"BSD-3-Clause"
] | null | null | null | myflaskapp/api/__init__.py | vincentbello/ember-flask-chat | 2c07878fd75e7f8e26d4cdab9d139f32c755d191 | [
"BSD-3-Clause"
] | null | null | null | """API modules."""
from . import authors # noqa
from . import messages # noqa
| 20 | 30 | 0.6625 | 10 | 80 | 5.3 | 0.7 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 80 | 3 | 31 | 26.666667 | 0.828125 | 0.2875 | 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 |
fe5298dc16d860dcc6eea42b1bb650172255ab07 | 138 | py | Python | src/time_util.py | KentWangYQ/timingwheel | aa01750d76b35ba24a4fffebce1305f46bc7a9cb | [
"MIT"
] | 1 | 2019-07-23T11:20:03.000Z | 2019-07-23T11:20:03.000Z | src/time_util.py | KentWangYQ/py_timer | aa01750d76b35ba24a4fffebce1305f46bc7a9cb | [
"MIT"
] | null | null | null | src/time_util.py | KentWangYQ/py_timer | aa01750d76b35ba24a4fffebce1305f46bc7a9cb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from datetime import datetime
def utc_now_timestamp_ms():
return int(datetime.utcnow().timestamp() * 1000)
| 17.25 | 52 | 0.688406 | 18 | 138 | 5.111111 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043103 | 0.15942 | 138 | 7 | 53 | 19.714286 | 0.75 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
fe5dd224d193852209cd89d4cd5792be12140e2b | 32,958 | py | Python | Packs/CortexXDR/Integrations/XQLQueryingEngine/XQLQueryingEngine_test.py | SergeBakharev/content | d66cc274f5bf6f9f0e9ed7e4df1af7b6f305aacf | [
"MIT"
] | null | null | null | Packs/CortexXDR/Integrations/XQLQueryingEngine/XQLQueryingEngine_test.py | SergeBakharev/content | d66cc274f5bf6f9f0e9ed7e4df1af7b6f305aacf | [
"MIT"
] | null | null | null | Packs/CortexXDR/Integrations/XQLQueryingEngine/XQLQueryingEngine_test.py | SergeBakharev/content | d66cc274f5bf6f9f0e9ed7e4df1af7b6f305aacf | [
"MIT"
] | 1 | 2021-03-21T00:29:31.000Z | 2021-03-21T00:29:31.000Z | import json
import io
from freezegun import freeze_time
import XQLQueryingEngine
import pytest
from CommonServerPython import *
CLIENT = XQLQueryingEngine.Client(base_url='some_mock_url', verify=False)
ENDPOINT_IDS = '"test1","test2"'
INTEGRATION_CONTEXT = {}
def util_load_json(path):
with io.open(path, mode='r'... | 36.217582 | 152 | 0.665969 | 3,973 | 32,958 | 5.15706 | 0.080544 | 0.042169 | 0.027381 | 0.028113 | 0.820782 | 0.798136 | 0.767192 | 0.742203 | 0.707062 | 0.691542 | 0 | 0.044031 | 0.217186 | 32,958 | 909 | 153 | 36.257426 | 0.750116 | 0.171339 | 0 | 0.506173 | 0 | 0.012346 | 0.452232 | 0.177757 | 0 | 0 | 0 | 0 | 0.092593 | 1 | 0.069959 | false | 0 | 0.012346 | 0.002058 | 0.08642 | 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 |
fe6095098a2869b83e7a8d5047184bf1b40d91f8 | 5,926 | py | Python | pirates/leveleditor/worldData/port_royal_building_int_store_2.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/port_royal_building_int_store_2.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/port_royal_building_int_store_2.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3
objectStruct = {'Objects': {'1155771754.68fxlara0': {'Type': 'Building Interior','Name': 'port_royal_building_int_store_2','Objects': {'1167174991.49kmuller': {'Type': 'Prop_Groups','Hpr': VBase3(8.662, 0.0, 0.0),'Pos': Point3(16.477, 41.436, 5.265),'Scale': VBase3(0.931, ... | 2,963 | 5,879 | 0.673304 | 839 | 5,926 | 4.713945 | 0.213349 | 0.038432 | 0.033375 | 0.028319 | 0.384324 | 0.301391 | 0.256384 | 0.229583 | 0.213906 | 0.213906 | 0 | 0.296736 | 0.048599 | 5,926 | 2 | 5,879 | 2,963 | 0.404753 | 0 | 0 | 0 | 0 | 0 | 0.562004 | 0.313481 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fe84f6a5ef5fbd16a9af5e8044e8c5feaf6be829 | 10,988 | py | Python | dcase_task2/lasagne_wrapper/res_net_blocks.py | f0k/dcase_task2 | e7246e2e2ffdd59efde3b571556eef4c3bcffe22 | [
"MIT"
] | 32 | 2018-10-08T13:00:50.000Z | 2020-11-24T14:55:51.000Z | dcase_task2/lasagne_wrapper/res_net_blocks.py | f0k/dcase_task2 | e7246e2e2ffdd59efde3b571556eef4c3bcffe22 | [
"MIT"
] | 4 | 2019-02-25T09:51:46.000Z | 2019-05-17T17:03:01.000Z | dcase_task2/lasagne_wrapper/res_net_blocks.py | f0k/dcase_task2 | e7246e2e2ffdd59efde3b571556eef4c3bcffe22 | [
"MIT"
] | 10 | 2018-11-16T16:41:16.000Z | 2021-09-01T07:23:50.000Z |
import sys
sys.setrecursionlimit(10000)
import lasagne
from lasagne.nonlinearities import rectify, softmax, sigmoid
from lasagne.layers import InputLayer, MaxPool2DLayer, DenseLayer, DropoutLayer, helper, batch_norm, BatchNormLayer
# for ResNet
from lasagne.layers.dnn import Conv2DDNNLayer as ConvLayer
from lasagne.la... | 38.020761 | 141 | 0.674827 | 1,559 | 10,988 | 4.570879 | 0.124439 | 0.047713 | 0.023716 | 0.014033 | 0.865843 | 0.842127 | 0.825568 | 0.814623 | 0.796239 | 0.7627 | 0 | 0.04008 | 0.225701 | 10,988 | 288 | 142 | 38.152778 | 0.797485 | 0.278941 | 0 | 0.697987 | 0 | 0 | 0.008252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040268 | false | 0 | 0.04698 | 0 | 0.127517 | 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 |
fe889087463496239b36ca95ea7dbe0836a60a60 | 111 | py | Python | app/v1/users/__init__.py | matthewacha/BookAMeal | 6af638a4cf71d72dd2a5fa80ba0e908b7ef70cf5 | [
"MIT"
] | null | null | null | app/v1/users/__init__.py | matthewacha/BookAMeal | 6af638a4cf71d72dd2a5fa80ba0e908b7ef70cf5 | [
"MIT"
] | null | null | null | app/v1/users/__init__.py | matthewacha/BookAMeal | 6af638a4cf71d72dd2a5fa80ba0e908b7ef70cf5 | [
"MIT"
] | 1 | 2018-08-20T11:57:23.000Z | 2018-08-20T11:57:23.000Z | from flask import Blueprint
users = Blueprint('users' , __name__, url_prefix='/api/v1/')
from . import views
| 18.5 | 60 | 0.72973 | 15 | 111 | 5.066667 | 0.733333 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.144144 | 111 | 5 | 61 | 22.2 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.117117 | 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 |
fe8997c941f1fe4afe317ac0f2348b20fc25973e | 4,511 | py | Python | tests/test_aios3_file.py | andgineer/aios3 | fb756272222c58045d9bff3b624b83d2554a3511 | [
"MIT"
] | null | null | null | tests/test_aios3_file.py | andgineer/aios3 | fb756272222c58045d9bff3b624b83d2554a3511 | [
"MIT"
] | 3 | 2021-10-13T09:58:08.000Z | 2021-10-16T11:19:28.000Z | tests/test_aios3_file.py | andgineer/aios3 | fb756272222c58045d9bff3b624b83d2554a3511 | [
"MIT"
] | null | null | null | import os.path
import botocore.stub
import pytest
from aios3.file import chunks, read, save, stream
class Stream:
def __init__(self, file_content):
self.file_content = file_content
async def read(self, amt):
if self.file_content is None:
return b""
if amt is None:
... | 29.103226 | 98 | 0.649523 | 613 | 4,511 | 4.489396 | 0.102773 | 0.127907 | 0.05814 | 0.104651 | 0.836483 | 0.836483 | 0.825581 | 0.799419 | 0.761991 | 0.696948 | 0 | 0.022563 | 0.233651 | 4,511 | 154 | 99 | 29.292208 | 0.773503 | 0 | 0 | 0.583333 | 0 | 0 | 0.042341 | 0 | 0 | 0 | 0 | 0 | 0.05303 | 1 | 0.015152 | false | 0.007576 | 0.030303 | 0 | 0.075758 | 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 |
fe9fb18ed0d67bd43697bb0a76b224338ee26b99 | 7,105 | py | Python | hs_core/tests/api/rest/test_set_file_type.py | tommac7/hydroshare | 87c4543a55f98103d2614bf4c47f7904c3f9c029 | [
"BSD-3-Clause"
] | null | null | null | hs_core/tests/api/rest/test_set_file_type.py | tommac7/hydroshare | 87c4543a55f98103d2614bf4c47f7904c3f9c029 | [
"BSD-3-Clause"
] | null | null | null | hs_core/tests/api/rest/test_set_file_type.py | tommac7/hydroshare | 87c4543a55f98103d2614bf4c47f7904c3f9c029 | [
"BSD-3-Clause"
] | null | null | null | import os
from django.core.files.uploadedfile import UploadedFile
from rest_framework import status
from hs_core.hydroshare import resource
from hs_core.hydroshare.utils import resource_file_add_process
from hs_core.views.utils import create_folder, move_or_rename_file_or_folder
from .base import HSRESTTestCase
c... | 51.861314 | 98 | 0.636594 | 914 | 7,105 | 4.700219 | 0.132385 | 0.061453 | 0.05121 | 0.046089 | 0.819832 | 0.814711 | 0.785382 | 0.76257 | 0.76257 | 0.755819 | 0 | 0.004667 | 0.276144 | 7,105 | 136 | 99 | 52.242647 | 0.830644 | 0.150317 | 0 | 0.651685 | 0 | 0 | 0.083971 | 0.061689 | 0 | 0 | 0 | 0 | 0.191011 | 1 | 0.05618 | false | 0 | 0.078652 | 0 | 0.146067 | 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 |
feae38f50e354cbaf48d9425ca1a1efdb57b6106 | 35,662 | py | Python | google/cloud/datacatalog_v1/proto/datacatalog_pb2_grpc.py | vam-google/python-datacatalog | e86e91b98ba892f85caca6096550874f8316170f | [
"Apache-2.0"
] | 1 | 2020-04-29T21:17:43.000Z | 2020-04-29T21:17:43.000Z | google/cloud/datacatalog_v1/proto/datacatalog_pb2_grpc.py | vam-google/python-datacatalog | e86e91b98ba892f85caca6096550874f8316170f | [
"Apache-2.0"
] | null | null | null | google/cloud/datacatalog_v1/proto/datacatalog_pb2_grpc.py | vam-google/python-datacatalog | e86e91b98ba892f85caca6096550874f8316170f | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from google.cloud.datacatalog_v1.proto import (
datacatalog_pb2 as google_dot_cloud_dot_datacatalog__v1_dot_proto_dot_datacatalog__pb2,
)
from google.cloud.datacatalog_v1.proto import (
tags_pb2 as google_dot_cloud_dot_datacatalo... | 57.150641 | 147 | 0.760193 | 3,976 | 35,662 | 6.420775 | 0.077716 | 0.087195 | 0.048259 | 0.0586 | 0.819382 | 0.797799 | 0.781582 | 0.734106 | 0.669787 | 0.665204 | 0 | 0.009111 | 0.175144 | 35,662 | 623 | 148 | 57.242376 | 0.85875 | 0.214626 | 0 | 0.386935 | 1 | 0 | 0.115462 | 0.059196 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072864 | false | 0 | 0.015075 | 0 | 0.092965 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
feb6189e211136f88302d96f80749e7594373121 | 578 | py | Python | audiomate/corpus/assets/__init__.py | toddrme2178/audiomate | 14e932ce9c0b0bebb895d496cb6054521fc80ab1 | [
"MIT"
] | null | null | null | audiomate/corpus/assets/__init__.py | toddrme2178/audiomate | 14e932ce9c0b0bebb895d496cb6054521fc80ab1 | [
"MIT"
] | null | null | null | audiomate/corpus/assets/__init__.py | toddrme2178/audiomate | 14e932ce9c0b0bebb895d496cb6054521fc80ab1 | [
"MIT"
] | null | null | null | """
The assets module contains data-structures that are contained in a corpus.
"""
from .file import File # noqa: F401
from .utterance import Utterance # noqa: F401
from .issuer import Gender # noqa: F401
from .issuer import AgeGroup # noqa: F401
from .issuer import Issuer # noqa: F401
from .issuer import Speake... | 30.421053 | 74 | 0.747405 | 78 | 578 | 5.538462 | 0.358974 | 0.203704 | 0.277778 | 0.208333 | 0.50463 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.181661 | 578 | 18 | 75 | 32.111111 | 0.843552 | 0.3391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
228b31cee3cdcdfe8b9a0eadfceb48af611157ef | 64 | py | Python | users/forms.py | scriptonist/django-feelings | ba1d5162b25461d12c202cd755f8c70465a7620b | [
"MIT"
] | 1 | 2017-12-23T16:26:58.000Z | 2017-12-23T16:26:58.000Z | users/forms.py | scriptonist/django-feelings | ba1d5162b25461d12c202cd755f8c70465a7620b | [
"MIT"
] | null | null | null | users/forms.py | scriptonist/django-feelings | ba1d5162b25461d12c202cd755f8c70465a7620b | [
"MIT"
] | null | null | null | from django import forms
class LogoutForm(forms.Form):
pass | 16 | 29 | 0.765625 | 9 | 64 | 5.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 4 | 30 | 16 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
22d691d9f6fede879edf790d3fb839b91543f58b | 161 | py | Python | bdc_core/decorators/__init__.py | raphaelrpl/bdc-core | 91b09905e809248521d3e782af0d77ee0fbde4a7 | [
"MIT"
] | null | null | null | bdc_core/decorators/__init__.py | raphaelrpl/bdc-core | 91b09905e809248521d3e782af0d77ee0fbde4a7 | [
"MIT"
] | null | null | null | bdc_core/decorators/__init__.py | raphaelrpl/bdc-core | 91b09905e809248521d3e782af0d77ee0fbde4a7 | [
"MIT"
] | null | null | null | """
This file contains the Brazil Data Cube common
decorators handlers
"""
from bdc_core.decorators.utils import *
from bdc_core.decorators.validators import *
| 20.125 | 46 | 0.795031 | 22 | 161 | 5.727273 | 0.727273 | 0.111111 | 0.174603 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 161 | 7 | 47 | 23 | 0.9 | 0.409938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe10e4d1f14e9d7aa8abf7fd7e227f58e5a438f5 | 104 | py | Python | tests/example_files/imports_template.py | sondrelg/pep585-upgrade | cc5678ebc6ddf2f1fa17c34d212627474c988e86 | [
"BSD-3-Clause"
] | 10 | 2021-01-14T23:23:27.000Z | 2021-01-18T06:52:09.000Z | tests/example_files/imports_template.py | sondrelg/pep585-upgrade | cc5678ebc6ddf2f1fa17c34d212627474c988e86 | [
"BSD-3-Clause"
] | 1 | 2021-01-17T00:12:54.000Z | 2021-01-17T00:12:54.000Z | tests/example_files/imports_template.py | sondrelg/pep585-upgrade | cc5678ebc6ddf2f1fa17c34d212627474c988e86 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import annotations
from typing import List
x: list
def b(*, x: list[str]):
pass
| 10.4 | 34 | 0.692308 | 16 | 104 | 4.25 | 0.6875 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221154 | 104 | 9 | 35 | 11.555556 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a3a69ac03fe8808e8a6b173cf024f4de3c9e0b81 | 24,279 | py | Python | tests/gateway/test_stripe.py | cryptic20/saleor | b1b248d6ce0a7364a6b6eb4ba5d66e5835c19feb | [
"BSD-3-Clause"
] | null | null | null | tests/gateway/test_stripe.py | cryptic20/saleor | b1b248d6ce0a7364a6b6eb4ba5d66e5835c19feb | [
"BSD-3-Clause"
] | null | null | null | tests/gateway/test_stripe.py | cryptic20/saleor | b1b248d6ce0a7364a6b6eb4ba5d66e5835c19feb | [
"BSD-3-Clause"
] | null | null | null | from decimal import Decimal
from math import isclose
from unittest.mock import Mock, patch
import pytest
import stripe
from django_countries import countries
from saleor.payment import ChargeStatus
from saleor.payment.gateways.stripe import (
TransactionKind, _create_response, _get_client,
_get_error_response... | 35.756996 | 84 | 0.758351 | 2,821 | 24,279 | 6.155619 | 0.060262 | 0.062885 | 0.037316 | 0.035934 | 0.825396 | 0.798157 | 0.769709 | 0.736021 | 0.732105 | 0.698128 | 0 | 0.003976 | 0.16088 | 24,279 | 678 | 85 | 35.809735 | 0.848378 | 0 | 0 | 0.64794 | 0 | 0.001873 | 0.073397 | 0.032456 | 0 | 0 | 0 | 0 | 0.269663 | 1 | 0.080524 | false | 0 | 0.024345 | 0.005618 | 0.121723 | 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 |
a3aaad747c31ea37e9017af870d6c11e89b1b5a6 | 47 | py | Python | src/acru_l/services/api/wsgi/__init__.py | quadio-media/acru-l | 3bcc1e1bc83e605c8029169bef21775f1de7b69f | [
"MIT"
] | null | null | null | src/acru_l/services/api/wsgi/__init__.py | quadio-media/acru-l | 3bcc1e1bc83e605c8029169bef21775f1de7b69f | [
"MIT"
] | null | null | null | src/acru_l/services/api/wsgi/__init__.py | quadio-media/acru-l | 3bcc1e1bc83e605c8029169bef21775f1de7b69f | [
"MIT"
] | 1 | 2020-12-30T19:42:37.000Z | 2020-12-30T19:42:37.000Z | from .service import WSGIService # noqa: F401
| 23.5 | 46 | 0.765957 | 6 | 47 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.170213 | 47 | 1 | 47 | 47 | 0.846154 | 0.212766 | 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 |
431838970a0da1caf0e1c7f4ec4886ba2e7ea347 | 23 | py | Python | tt/maxvol/__init__.py | aiboyko/ttpy | 8fda9d29e27e4f9f68ffba5cc1e16b3020eb131f | [
"MIT"
] | 186 | 2015-01-20T16:26:12.000Z | 2022-03-25T00:12:14.000Z | tt/maxvol/__init__.py | qbit-/ttpy | 596b1c9fe6ce5f0ba66d801ac88a1147204cec2f | [
"MIT"
] | 51 | 2015-08-13T11:15:36.000Z | 2022-03-27T16:22:17.000Z | tt/maxvol/__init__.py | qbit-/ttpy | 596b1c9fe6ce5f0ba66d801ac88a1147204cec2f | [
"MIT"
] | 70 | 2015-01-21T09:11:19.000Z | 2022-02-24T04:52:19.000Z | from ._maxvol import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.842105 | 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 |
4a4f9f3052fc3b472b3d7a53ce5d4095defc8cf0 | 71 | py | Python | pensa/clusters/__init__.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 55 | 2020-11-18T07:03:46.000Z | 2022-03-29T02:47:10.000Z | pensa/clusters/__init__.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 11 | 2020-11-18T16:43:43.000Z | 2022-02-22T20:02:22.000Z | pensa/clusters/__init__.py | NeilJ-Thomson/pensa | f2cc586ad8c4b60177051fc9a5d2da087ac1b6fb | [
"MIT"
] | 11 | 2020-11-19T04:34:36.000Z | 2022-03-01T23:48:57.000Z | from .clustering import *
from .trajectory import *
from .wss import *
| 17.75 | 25 | 0.746479 | 9 | 71 | 5.888889 | 0.555556 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 3 | 26 | 23.666667 | 0.898305 | 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 |
4a685467fd6e0e25a8c174ff9f3b448501a3a47e | 180 | py | Python | battles/admin.py | pamella/pokebattle | a90b27d87b12dd079356ad4b5a15a196004e1c5e | [
"MIT"
] | 2 | 2019-02-27T16:11:11.000Z | 2019-12-10T14:01:18.000Z | battles/admin.py | pamella/pokebattle | a90b27d87b12dd079356ad4b5a15a196004e1c5e | [
"MIT"
] | 14 | 2019-02-21T14:36:22.000Z | 2022-02-26T09:49:44.000Z | battles/admin.py | pamella/pokebattle | a90b27d87b12dd079356ad4b5a15a196004e1c5e | [
"MIT"
] | null | null | null | from django.contrib import admin
from battles.models import Battle, Invite, TrainerTeam
admin.site.register(Battle)
admin.site.register(TrainerTeam)
admin.site.register(Invite)
| 20 | 54 | 0.822222 | 24 | 180 | 6.166667 | 0.5 | 0.182432 | 0.344595 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 180 | 8 | 55 | 22.5 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 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 |
4a8b3874a08e223b3909835fcd5a8c6f821cfd09 | 19,080 | py | Python | tests/tests_preprocessing/test_preprocessing_step.py | wambagilles/mljar-supervised | 3192c91979b31810b249767a63e60ee74068c668 | [
"MIT"
] | 1 | 2020-03-13T09:44:41.000Z | 2020-03-13T09:44:41.000Z | tests/tests_preprocessing/test_preprocessing_step.py | wambagilles/mljar-supervised | 3192c91979b31810b249767a63e60ee74068c668 | [
"MIT"
] | null | null | null | tests/tests_preprocessing/test_preprocessing_step.py | wambagilles/mljar-supervised | 3192c91979b31810b249767a63e60ee74068c668 | [
"MIT"
] | null | null | null | import json
import copy
import unittest
import tempfile
import numpy as np
import pandas as pd
import uuid
from supervised.preprocessing.preprocessing_missing import PreprocessingMissingValues
from supervised.preprocessing.preprocessing_categorical import PreprocessingCategorical
from supervised.preprocessing.preproce... | 34.817518 | 87 | 0.522694 | 2,275 | 19,080 | 4.154286 | 0.058022 | 0.047614 | 0.026452 | 0.084436 | 0.849328 | 0.805735 | 0.756534 | 0.740874 | 0.715374 | 0.696857 | 0 | 0.039538 | 0.323952 | 19,080 | 547 | 88 | 34.88117 | 0.693155 | 0.006656 | 0 | 0.679525 | 0 | 0 | 0.069796 | 0.007571 | 0 | 0 | 0 | 0 | 0.154303 | 1 | 0.032641 | false | 0 | 0.029674 | 0 | 0.065282 | 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 |
4aa7cd9ee0069709a6acc507db0db7233ad01302 | 268 | py | Python | pygram/filters/__init__.py | achillesrasquinha/PyGram | 2ca49c8ac3287cb0b722e1086f0c55418e197a28 | [
"MIT"
] | 18 | 2017-02-02T05:33:20.000Z | 2022-02-11T05:31:44.000Z | pygram/filters/__init__.py | Rutvikbk/PyGram | 2ca49c8ac3287cb0b722e1086f0c55418e197a28 | [
"MIT"
] | null | null | null | pygram/filters/__init__.py | Rutvikbk/PyGram | 2ca49c8ac3287cb0b722e1086f0c55418e197a28 | [
"MIT"
] | 11 | 2017-02-03T09:39:27.000Z | 2018-03-26T18:59:37.000Z | from pygram.filters.grayscale import grayscale
from pygram.filters.sepia import sepia
from pygram.filters.nss import nss
from pygram.filters.brannan import brannan
from pygram.filters.clarendon import clarendon
from pygram.filters.inkwell import inkwell
| 38.285714 | 46 | 0.813433 | 36 | 268 | 6.055556 | 0.277778 | 0.275229 | 0.46789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141791 | 268 | 6 | 47 | 44.666667 | 0.947826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
435c3272e452a134071cca98831094ef909aacb8 | 90 | py | Python | traintool/__init__.py | jrieke/traintool | 0ada1ff20a9a570be5cfb4ac21f3f914604c9833 | [
"Apache-2.0"
] | 11 | 2020-07-12T23:45:25.000Z | 2021-01-15T13:57:16.000Z | traintool/__init__.py | jrieke/traintool | 0ada1ff20a9a570be5cfb4ac21f3f914604c9833 | [
"Apache-2.0"
] | null | null | null | traintool/__init__.py | jrieke/traintool | 0ada1ff20a9a570be5cfb4ac21f3f914604c9833 | [
"Apache-2.0"
] | 2 | 2020-07-12T23:45:28.000Z | 2020-09-30T22:46:01.000Z | from .main import train, connect_comet, load # noqa: F401
# TODO: Make __version__ here
| 22.5 | 58 | 0.744444 | 13 | 90 | 4.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.177778 | 90 | 3 | 59 | 30 | 0.797297 | 0.422222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
438f5572c8f1a1dd5b1d19cd1402c1fffea9aeab | 29 | py | Python | gdesk/rectable/__init__.py | thocoo/gamma-desk | 9cb63a65fe23e30e155b3beca862f369b7fa1b7e | [
"Apache-2.0"
] | null | null | null | gdesk/rectable/__init__.py | thocoo/gamma-desk | 9cb63a65fe23e30e155b3beca862f369b7fa1b7e | [
"Apache-2.0"
] | 8 | 2021-04-09T11:31:43.000Z | 2021-06-09T09:07:18.000Z | gdesk/rectable/__init__.py | thocoo/gamma-desk | 9cb63a65fe23e30e155b3beca862f369b7fa1b7e | [
"Apache-2.0"
] | null | null | null | from .base import RecordTable | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 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 |
60460a4eb33172d4d1b5cd5a5fd812994828510b | 3,169 | py | Python | integration-tests/test/test_internal.py | hustllz999/rchain | b77f433bb15e86c8a691ced34da12056745f73ac | [
"Apache-2.0"
] | 4 | 2020-02-27T21:08:43.000Z | 2022-01-04T07:13:27.000Z | integration-tests/test/test_internal.py | hustllz999/rchain | b77f433bb15e86c8a691ced34da12056745f73ac | [
"Apache-2.0"
] | 68 | 2020-09-02T02:07:29.000Z | 2021-01-16T00:40:21.000Z | integration-tests/test/test_internal.py | hustllz999/rchain | b77f433bb15e86c8a691ced34da12056745f73ac | [
"Apache-2.0"
] | 1 | 2021-03-12T09:02:36.000Z | 2021-03-12T09:02:36.000Z | """Tests for the testing code itself."""
from rchain.crypto import PrivateKey
from .conftest import (
make_wallets_file_lines,
)
from .utils import(
parse_mvdag_str
)
def test_make_wallets_file_lines() -> None:
wallets_map = {
PrivateKey.from_hex("80366db5fbb8dad7946f27037422715e4176dda41d58222... | 60.942308 | 150 | 0.866519 | 120 | 3,169 | 22.7 | 0.416667 | 0.020558 | 0.01652 | 0.022026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5189 | 0.081729 | 3,169 | 51 | 151 | 62.137255 | 0.417182 | 0.010729 | 0 | 0 | 0 | 0 | 0.763822 | 0.759028 | 0 | 1 | 0 | 0 | 0.051282 | 1 | 0.051282 | false | 0 | 0.076923 | 0 | 0.128205 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.