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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
53cff5df9ca3890d8022a217f5b86be4d4b39e5c | 2,113 | py | Python | PytorchCNNModules/modules/bottleneck.py | nktankta/PytorchCNNModules | bc1469ceb37477d3f60062f14a750f272e7ceeb0 | [
"MIT"
] | null | null | null | PytorchCNNModules/modules/bottleneck.py | nktankta/PytorchCNNModules | bc1469ceb37477d3f60062f14a750f272e7ceeb0 | [
"MIT"
] | null | null | null | PytorchCNNModules/modules/bottleneck.py | nktankta/PytorchCNNModules | bc1469ceb37477d3f60062f14a750f272e7ceeb0 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from .base_module import BaseModule
class BottleneckResidual(BaseModule):
def __init__(self,in_feature,out_featue,hidden_feature=None,stride=1,**kwargs):
super(BottleneckResidual,self).__init__(in_feature,out_featue,stride,**kwargs)
if hidden_feature is None:
... | 41.431373 | 96 | 0.661145 | 299 | 2,113 | 4.45485 | 0.157191 | 0.175676 | 0.067568 | 0.054054 | 0.870871 | 0.870871 | 0.867868 | 0.867868 | 0.867868 | 0.867868 | 0 | 0.035152 | 0.21912 | 2,113 | 51 | 97 | 41.431373 | 0.772121 | 0 | 0 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.06383 | 0 | 0.234043 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
53ec44717d3021b60cab8e86d9e06aaeb3379263 | 2,744 | py | Python | courses/renderer/sections/unavailable_dict.py | office-for-students/wagtail-CMS | 98789c279edf48f2bbedb5415437da3317f0e12b | [
"MIT"
] | 4 | 2019-06-04T07:18:44.000Z | 2020-06-15T22:27:36.000Z | courses/renderer/sections/unavailable_dict.py | office-for-students/wagtail-CMS | 98789c279edf48f2bbedb5415437da3317f0e12b | [
"MIT"
] | 38 | 2019-05-09T13:14:56.000Z | 2022-03-12T00:54:57.000Z | courses/renderer/sections/unavailable_dict.py | office-for-students/wagtail-CMS | 98789c279edf48f2bbedb5415437da3317f0e12b | [
"MIT"
] | 3 | 2019-09-26T14:32:36.000Z | 2021-05-06T15:48:01.000Z | unavailable_dict = {
"0": {
("11", "12", "13"): [
"message_1",
"message_4"
],
("21", "22", "23"): [
"message_3",
"message_6"
],
("24",): [
"message_2",
"message_5"
],
("0", "blank",): [
... | 24.283186 | 58 | 0.411079 | 297 | 2,744 | 3.208754 | 0.094276 | 0.113326 | 0.132214 | 0.226653 | 0.812172 | 0.812172 | 0.812172 | 0.812172 | 0.812172 | 0.812172 | 0 | 0.188332 | 0.425292 | 2,744 | 112 | 59 | 24.5 | 0.41598 | 0 | 0 | 0.567568 | 0 | 0 | 0.40051 | 0.258017 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
070a5fefb916669c09d46dc7db70000528c1530e | 10,344 | py | Python | EV3(35) Final Version/game1.py | firelord97/SDP-2018 | e7ef205416f9872e56dccf77b531af5165486c43 | [
"MIT"
] | 1 | 2019-06-21T12:15:56.000Z | 2019-06-21T12:15:56.000Z | EV3(35) Final Version/game1.py | firelord97/SDP-2018 | e7ef205416f9872e56dccf77b531af5165486c43 | [
"MIT"
] | null | null | null | EV3(35) Final Version/game1.py | firelord97/SDP-2018 | e7ef205416f9872e56dccf77b531af5165486c43 | [
"MIT"
] | null | null | null | import ev3dev.ev3 as ev3
import sys
import helpers as hp
import json
import random
import paho.mqtt.client as mqtt
from time import sleep,time
client2 = mqtt.Client()
client2.connect("10.42.0.1",1883,60000)
def initializeSensors():
lShoulder = ev3.LargeMotor('outA')
rShoulder = ev3.LargeMotor('outB')
lElb... | 42.921162 | 179 | 0.58082 | 1,172 | 10,344 | 5.118601 | 0.12372 | 0.113686 | 0.090682 | 0.099683 | 0.863977 | 0.853642 | 0.841807 | 0.826138 | 0.777463 | 0.767628 | 0 | 0.054448 | 0.263148 | 10,344 | 240 | 180 | 43.1 | 0.732616 | 0.04447 | 0 | 0.716346 | 0 | 0 | 0.071631 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048077 | false | 0 | 0.033654 | 0 | 0.115385 | 0.043269 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
073cdfc3739a86aa471963ffaf1d90aa6b6bdd07 | 1,139 | py | Python | commons/django_views_utils.py | marcioluish/djavue | 197646ae13d3dd54e5f213c72291cd54ae76a0ba | [
"MIT"
] | null | null | null | commons/django_views_utils.py | marcioluish/djavue | 197646ae13d3dd54e5f213c72291cd54ae76a0ba | [
"MIT"
] | null | null | null | commons/django_views_utils.py | marcioluish/djavue | 197646ae13d3dd54e5f213c72291cd54ae76a0ba | [
"MIT"
] | null | null | null | from functools import wraps
import json
from django.http.response import HttpResponse
def ajax_login_required(view_func):
@wraps(view_func)
def wrapper(request, *args, **kwargs):
if request.user.is_authenticated():
return view_func(request, *args, **kwargs)
resp = json.dumps({'not_... | 33.5 | 78 | 0.684811 | 138 | 1,139 | 5.478261 | 0.253623 | 0.095238 | 0.134921 | 0.083333 | 0.832011 | 0.832011 | 0.832011 | 0.832011 | 0.832011 | 0.832011 | 0 | 0.00989 | 0.201054 | 1,139 | 33 | 79 | 34.515152 | 0.820879 | 0 | 0 | 0.666667 | 0 | 0 | 0.086918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
073e0e8f16b084d629ec9a674bdc11e85a882a49 | 11,407 | py | Python | tests/optimize/test_method.py | mphoward/relentless | 5f7e8eb62696f45df28a948202b324563805a7f5 | [
"BSD-3-Clause"
] | null | null | null | tests/optimize/test_method.py | mphoward/relentless | 5f7e8eb62696f45df28a948202b324563805a7f5 | [
"BSD-3-Clause"
] | 8 | 2019-12-19T21:27:25.000Z | 2019-12-20T02:47:00.000Z | tests/optimize/test_method.py | mphoward/relentless | 5f7e8eb62696f45df28a948202b324563805a7f5 | [
"BSD-3-Clause"
] | null | null | null | """Unit tests for method module."""
import os
import tempfile
import unittest
import relentless
from .test_objective import QuadraticObjective
class test_LineSearch(unittest.TestCase):
"""Unit tests for relentless.optimize.LineSearch"""
def setUp(self):
self.directory = tempfile.TemporaryDirectory()... | 38.667797 | 87 | 0.63575 | 1,556 | 11,407 | 4.589974 | 0.104113 | 0.08233 | 0.036404 | 0.033604 | 0.849622 | 0.814618 | 0.75133 | 0.715906 | 0.704145 | 0.692383 | 0 | 0.035194 | 0.235294 | 11,407 | 294 | 88 | 38.79932 | 0.783561 | 0.133953 | 0 | 0.646766 | 0 | 0 | 0.011732 | 0 | 0 | 0 | 0 | 0 | 0.427861 | 1 | 0.054726 | false | 0 | 0.024876 | 0 | 0.094527 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ab53086e7664127f3f3df82a93f0f46412ee3cc0 | 95 | py | Python | src/OnlySnarf/lib/elements/__init__.py | kazmierczakk90/onlysnarf | b6cf3158aabf9b3bef3e2749a065ac1c65590788 | [
"MIT"
] | 41 | 2019-06-08T05:50:48.000Z | 2022-03-03T11:50:04.000Z | src/OnlySnarf/lib/elements/__init__.py | kazmierczakk90/onlysnarf | b6cf3158aabf9b3bef3e2749a065ac1c65590788 | [
"MIT"
] | 5 | 2020-06-28T10:57:04.000Z | 2021-05-25T23:24:50.000Z | src/OnlySnarf/lib/elements/__init__.py | kazmierczakk90/onlysnarf | b6cf3158aabf9b3bef3e2749a065ac1c65590788 | [
"MIT"
] | 9 | 2019-10-28T15:57:43.000Z | 2022-03-21T22:06:57.000Z | from .driver import ELEMENTS as driverElements
from .profile import ELEMENTS as profileElements | 47.5 | 48 | 0.863158 | 12 | 95 | 6.833333 | 0.666667 | 0.341463 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 2 | 48 | 47.5 | 0.97619 | 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 | 1 | 0 | 0 | 7 |
ab61f85b8ac41d353fa4daa4d5eda76cc15241d7 | 4,713 | py | Python | prediction_flow/pytorch/tests/test_wide_deep.py | dydcfg/prediction-flow | 332068f521bba51acc8600fe72e36e92c331bef1 | [
"MIT"
] | 211 | 2019-08-02T23:04:40.000Z | 2022-03-18T06:36:25.000Z | prediction_flow/pytorch/tests/test_wide_deep.py | dydcfg/prediction-flow | 332068f521bba51acc8600fe72e36e92c331bef1 | [
"MIT"
] | 18 | 2019-08-10T07:13:05.000Z | 2022-03-17T10:45:30.000Z | prediction_flow/pytorch/tests/test_wide_deep.py | dydcfg/prediction-flow | 332068f521bba51acc8600fe72e36e92c331bef1 | [
"MIT"
] | 51 | 2019-08-02T23:04:41.000Z | 2021-12-24T02:48:58.000Z | from prediction_flow.features import Number, Category, Sequence, Features
from prediction_flow.transformers.column import (
StandardScaler, CategoryEncoder, SequenceEncoder)
from prediction_flow.pytorch import WideDeep
from .utils import prepare_dataloader
def test_normal():
number_features = [
Numb... | 33.425532 | 74 | 0.655633 | 453 | 4,713 | 6.562914 | 0.136865 | 0.036327 | 0.042381 | 0.096872 | 0.884965 | 0.873528 | 0.865456 | 0.865456 | 0.865456 | 0.845274 | 0 | 0.012994 | 0.21621 | 4,713 | 140 | 75 | 33.664286 | 0.791825 | 0 | 0 | 0.833333 | 0 | 0 | 0.120093 | 0.035646 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039216 | false | 0 | 0.039216 | 0 | 0.078431 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
ab63f37f1f93468edba61129d4e7417569e88743 | 4,803 | py | Python | controllers/estancia media ine_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | controllers/estancia media ine_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | controllers/estancia media ine_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | from ..DB.Repositorio_Estancia_Media_INE import RepositoryEstanciaMediaINE as DBRepository
from ..Utilidades.Conversores import Conversores as Conversor
def obtener_cantidad_dias_estancia_media_estimados_en_ciudad_en_anio(Ciudad, Anio):
"""
Dado una ciudad y un año obtiene los dias de estancia media estimados ... | 36.664122 | 134 | 0.75661 | 558 | 4,803 | 6.413978 | 0.123656 | 0.058117 | 0.092205 | 0.100587 | 0.845488 | 0.845488 | 0.845488 | 0.845488 | 0.832635 | 0.812797 | 0 | 0 | 0.187591 | 4,803 | 130 | 135 | 36.946154 | 0.917222 | 0.38705 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.119048 | false | 0 | 0.047619 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
db50b44fbfe6e147c087eba26f0156895718c120 | 20,848 | py | Python | colossalai/nn/layer/parallel_2p5d/_operation.py | rahulgupta9202/ColossalAI | 993088d45eaa032e39cf5959df2a506f0663bc2e | [
"Apache-2.0"
] | 1 | 2021-11-02T03:13:36.000Z | 2021-11-02T03:13:36.000Z | colossalai/nn/layer/parallel_2p5d/_operation.py | rahulgupta9202/ColossalAI | 993088d45eaa032e39cf5959df2a506f0663bc2e | [
"Apache-2.0"
] | null | null | null | colossalai/nn/layer/parallel_2p5d/_operation.py | rahulgupta9202/ColossalAI | 993088d45eaa032e39cf5959df2a506f0663bc2e | [
"Apache-2.0"
] | null | null | null | from typing import Any, Tuple
import torch
import torch.distributed as dist
from torch import Tensor
from colossalai.context.parallel_mode import ParallelMode
from colossalai.core import global_context as gpc
from colossalai.utils import get_current_device, empty_cache
def get_parallel_group(parallel_mode: Parallel... | 38.895522 | 160 | 0.587586 | 2,559 | 20,848 | 4.438453 | 0.052364 | 0.071844 | 0.0972 | 0.115513 | 0.823384 | 0.791953 | 0.764219 | 0.744145 | 0.707871 | 0.693608 | 0 | 0.005288 | 0.328713 | 20,848 | 535 | 161 | 38.968224 | 0.806288 | 0.027916 | 0 | 0.700665 | 0 | 0 | 0.005141 | 0 | 0 | 0 | 0 | 0 | 0.006652 | 1 | 0.037694 | false | 0 | 0.015521 | 0.006652 | 0.115299 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
db66699c4f91187f54bc814b25658b13929ebf41 | 13,190 | py | Python | dfirtrack_main/tests/task/test_task_creator_views.py | thomas-kropeit/dfirtrack | b1e0e659af7bc8085cfe2d269ddc651f9f4ba585 | [
"Apache-2.0"
] | 273 | 2018-04-18T22:09:15.000Z | 2021-06-04T09:15:48.000Z | dfirtrack_main/tests/task/test_task_creator_views.py | stuhli/dfirtrack | 9260c91e4367b36d4cb1ae7efe4e2d2452f58e6e | [
"Apache-2.0"
] | 75 | 2018-08-31T11:05:37.000Z | 2021-06-08T14:15:07.000Z | dfirtrack_main/tests/task/test_task_creator_views.py | thomas-kropeit/dfirtrack | b1e0e659af7bc8085cfe2d269ddc651f9f4ba585 | [
"Apache-2.0"
] | 61 | 2018-11-12T22:55:48.000Z | 2021-06-06T15:16:16.000Z | import urllib.parse
from datetime import datetime
from unittest.mock import patch
from django.contrib.auth.models import User
from django.contrib.messages import get_messages
from django.test import TestCase
from django.utils import timezone
from dfirtrack_main.models import (
System,
Systemstatus,
Task,
... | 38.121387 | 85 | 0.627748 | 1,381 | 13,190 | 5.699493 | 0.086169 | 0.095032 | 0.047643 | 0.041164 | 0.857578 | 0.834202 | 0.8248 | 0.80371 | 0.740567 | 0.714141 | 0 | 0.019289 | 0.276801 | 13,190 | 345 | 86 | 38.231884 | 0.80585 | 0.076649 | 0 | 0.5 | 0 | 0 | 0.145097 | 0.076572 | 0 | 0 | 0 | 0 | 0.105042 | 1 | 0.054622 | false | 0.05042 | 0.033613 | 0 | 0.092437 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
dbc77028111bd182c22749a253a75c932bf83ac4 | 71 | py | Python | reza/example.py | Abusyiri/belajar-python | 357b0e4afbb005554e895b925ab883f82ea2d5a7 | [
"MIT"
] | null | null | null | reza/example.py | Abusyiri/belajar-python | 357b0e4afbb005554e895b925ab883f82ea2d5a7 | [
"MIT"
] | null | null | null | reza/example.py | Abusyiri/belajar-python | 357b0e4afbb005554e895b925ab883f82ea2d5a7 | [
"MIT"
] | 2 | 2022-01-31T17:11:30.000Z | 2022-01-31T17:28:56.000Z | print("my first leason on github")
print("my second leason on github")
| 23.666667 | 35 | 0.746479 | 12 | 71 | 4.416667 | 0.583333 | 0.264151 | 0.528302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 71 | 2 | 36 | 35.5 | 0.868852 | 0 | 0 | 0 | 0 | 0 | 0.71831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
9180517dcdf0fd6bfa9436b6d066ddcea98109c4 | 94,613 | py | Python | monasca_api/tests/test_alarms.py | stackhpc/monasca-api | 45aaa78fd5a416fcfd1a9521ef4c6c77d325b878 | [
"Apache-2.0"
] | null | null | null | monasca_api/tests/test_alarms.py | stackhpc/monasca-api | 45aaa78fd5a416fcfd1a9521ef4c6c77d325b878 | [
"Apache-2.0"
] | 2 | 2019-10-23T15:09:02.000Z | 2020-03-13T12:38:49.000Z | monasca_api/tests/test_alarms.py | stackhpc/monasca-api | 45aaa78fd5a416fcfd1a9521ef4c6c77d325b878 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2015 Cray Inc.
# (C) Copyright 2015,2017 Hewlett Packard Enterprise Development LP
# Copyright 2016-2017 FUJITSU LIMITED
#
# 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 t... | 45.204491 | 100 | 0.524051 | 9,471 | 94,613 | 5.00623 | 0.049097 | 0.03944 | 0.015649 | 0.017885 | 0.87664 | 0.854494 | 0.842262 | 0.821298 | 0.801156 | 0.780866 | 0 | 0.053417 | 0.354962 | 94,613 | 2,092 | 101 | 45.226099 | 0.723427 | 0.016848 | 0 | 0.75626 | 0 | 0.001113 | 0.248838 | 0.06698 | 0 | 0 | 0 | 0 | 0.067891 | 1 | 0.036171 | false | 0.000556 | 0.008347 | 0.001113 | 0.050083 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
91820c5f1ddd057563e5a788eb41ff68e4833fb5 | 515,918 | py | Python | userbot/modules/remixmemes.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/remixmemes.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/remixmemes.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #Compiled By DfvTools
#https://github.com/md4fv
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00@\x00\x00\x00s\xb6\x05\x00\x00d\x00d\x01l\x00m\x01Z\x01\x01\x00d\x00d\x02l\x02Z\x02d\x00d\x03l\x03m\x04Z\x04\x01\x00d\x00d\x04l\x05m\x06Z\x06m\x07Z\x07m... | 128,979.5 | 515,855 | 0.747171 | 124,366 | 515,918 | 3.097205 | 0.020568 | 0.373938 | 0.56086 | 0.747689 | 0.917456 | 0.912448 | 0.907339 | 0.900988 | 0.896923 | 0.893828 | 0 | 0.313859 | 0.010052 | 515,918 | 4 | 515,855 | 128,979.5 | 0.440327 | 0.000085 | 0 | 0 | 0 | 21 | 0.936145 | 0.884094 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 22 |
91ae39c0f1acd20b5b0867a7460b13a3e6155b27 | 79,836 | py | Python | adspygoogle/dfp/zsi/v201101/LineItemCreativeAssociationService_services_types.py | hockeyprincess/google-api-dfp-python | efa82a8d85cbdc90f030db9d168790c55bd8b12a | [
"Apache-2.0"
] | null | null | null | adspygoogle/dfp/zsi/v201101/LineItemCreativeAssociationService_services_types.py | hockeyprincess/google-api-dfp-python | efa82a8d85cbdc90f030db9d168790c55bd8b12a | [
"Apache-2.0"
] | null | null | null | adspygoogle/dfp/zsi/v201101/LineItemCreativeAssociationService_services_types.py | hockeyprincess/google-api-dfp-python | efa82a8d85cbdc90f030db9d168790c55bd8b12a | [
"Apache-2.0"
] | null | null | null | ##################################################
# LineItemCreativeAssociationService_services_types.py
# generated by ZSI.generate.wsdl2python
##################################################
import ZSI
import ZSI.TCcompound
from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GT... | 61.888372 | 1,934 | 0.643682 | 8,195 | 79,836 | 6.041001 | 0.022819 | 0.030542 | 0.040722 | 0.049449 | 0.807316 | 0.751687 | 0.731891 | 0.731891 | 0.722357 | 0.702824 | 0 | 0.021519 | 0.23398 | 79,836 | 1,289 | 1,935 | 61.936385 | 0.787985 | 0.017235 | 0 | 0.580935 | 1 | 0 | 0.186625 | 0.056009 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098921 | false | 0 | 0.002698 | 0 | 0.248201 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5303cc145de2cba49c45107ca478a58bc7d14295 | 6,088 | py | Python | tests/test_notary.py | sxn/notary | 72f00196c276165ac67eb73aae152684da626711 | [
"MIT"
] | 7 | 2017-03-04T20:34:06.000Z | 2019-04-17T19:37:08.000Z | tests/test_notary.py | sxn/notary | 72f00196c276165ac67eb73aae152684da626711 | [
"MIT"
] | 24 | 2017-03-04T20:06:12.000Z | 2017-12-26T20:50:37.000Z | tests/test_notary.py | sxn/notary | 72f00196c276165ac67eb73aae152684da626711 | [
"MIT"
] | 1 | 2019-08-01T08:41:10.000Z | 2019-08-01T08:41:10.000Z | from pathlib import Path
from click.testing import CliRunner
import notary
from notary import cli
def test_add_license_no_preexisting():
runner = CliRunner()
with runner.isolated_filesystem():
license_file = Path("LICENSE")
assert not license_file.exists()
result = runner.invoke(cli.... | 43.798561 | 131 | 0.657523 | 846 | 6,088 | 4.628842 | 0.115839 | 0.089888 | 0.157303 | 0.219612 | 0.924413 | 0.917518 | 0.832482 | 0.743105 | 0.736721 | 0.705312 | 0 | 0.008574 | 0.233739 | 6,088 | 138 | 132 | 44.115942 | 0.830868 | 0 | 0 | 0.583333 | 0 | 0.016667 | 0.273817 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 1 | 0.066667 | false | 0 | 0.033333 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
530b8b947d74e29cef088cd7f48f35194c6d8eca | 19,910 | py | Python | cirq-core/cirq/linalg/predicates_test.py | stubbi/Cirq | 6d2cd16991bd7fde352010d31010f85d7eafc0ba | [
"Apache-2.0"
] | 2 | 2019-01-12T07:10:32.000Z | 2020-09-08T03:47:22.000Z | cirq-core/cirq/linalg/predicates_test.py | resduo/Cirq | 680f897345eb1c71c9242515edda8f04b8594319 | [
"Apache-2.0"
] | 5 | 2020-08-20T01:03:57.000Z | 2021-04-13T00:26:48.000Z | cirq-core/cirq/linalg/predicates_test.py | resduo/Cirq | 680f897345eb1c71c9242515edda8f04b8594319 | [
"Apache-2.0"
] | 1 | 2021-12-30T21:50:00.000Z | 2021-12-30T21:50:00.000Z | # Copyright 2018 The Cirq Developers
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 43.854626 | 100 | 0.6222 | 3,509 | 19,910 | 3.375891 | 0.048162 | 0.10341 | 0.087118 | 0.120294 | 0.895577 | 0.854212 | 0.808796 | 0.777056 | 0.709353 | 0.61354 | 0 | 0.076328 | 0.169563 | 19,910 | 453 | 101 | 43.951435 | 0.640135 | 0.060924 | 0 | 0.09434 | 0 | 0 | 0.001018 | 0 | 0 | 0 | 0 | 0 | 0.786164 | 1 | 0.062893 | false | 0 | 0.015723 | 0 | 0.078616 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
532bf031782657ea468713944d86b041b52e6e2b | 5,618 | py | Python | lib/spack/spack/test/util/path.py | mt-empty/spack | 4573261de5b32bb22289752b9023aa767b50b700 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2021-03-05T10:54:32.000Z | 2021-03-05T14:14:52.000Z | lib/spack/spack/test/util/path.py | mt-empty/spack | 4573261de5b32bb22289752b9023aa767b50b700 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 16 | 2021-05-12T06:03:24.000Z | 2022-03-16T15:26:46.000Z | lib/spack/spack/test/util/path.py | mt-empty/spack | 4573261de5b32bb22289752b9023aa767b50b700 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import pytest
import spack.util.path as sup
#: Some lines with lots of placeholders
padded_lines = [
"==> [2021-06-2... | 93.633333 | 983 | 0.804023 | 789 | 5,618 | 5.249683 | 0.200253 | 0.123853 | 0.255915 | 0.313858 | 0.832448 | 0.832448 | 0.832448 | 0.832448 | 0.832448 | 0.823757 | 0 | 0.052035 | 0.07298 | 5,618 | 59 | 984 | 95.220339 | 0.74328 | 0.133143 | 0 | 0.060606 | 0 | 0.333333 | 0.82208 | 0.695733 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.151515 | false | 0 | 0.060606 | 0 | 0.212121 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 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 | 11 |
5351bbff7571681328910e5ab69362bc5a2a8e29 | 34 | py | Python | readin/__init__.py | stefangindl/readin | feeda5a7d327d57cb41986679dcdd7493f64b075 | [
"BSD-2-Clause"
] | null | null | null | readin/__init__.py | stefangindl/readin | feeda5a7d327d57cb41986679dcdd7493f64b075 | [
"BSD-2-Clause"
] | null | null | null | readin/__init__.py | stefangindl/readin | feeda5a7d327d57cb41986679dcdd7493f64b075 | [
"BSD-2-Clause"
] | null | null | null | from .twitter import from_twitter
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 0.6 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 | 7 |
535ae3b97690bb4bf5a1987e9c926a5ccef1b4a4 | 219 | py | Python | alfworld/agents/controller/__init__.py | roy860328/VSGM | 3ec19f9cf1401cecf45527687936b8fe4167f672 | [
"MIT"
] | 6 | 2021-05-22T15:33:42.000Z | 2022-01-12T03:34:39.000Z | alfworld/agents/controller/__init__.py | roy860328/VSGM | 3ec19f9cf1401cecf45527687936b8fe4167f672 | [
"MIT"
] | 1 | 2021-06-19T10:04:13.000Z | 2021-06-20T03:37:23.000Z | alfworld/agents/controller/__init__.py | roy860328/VSGM | 3ec19f9cf1401cecf45527687936b8fe4167f672 | [
"MIT"
] | null | null | null | from agents.controller.oracle import OracleAgent
from agents.controller.oracle_astar import OracleAStarAgent
from agents.controller.mrcnn import MaskRCNNAgent
from agents.controller.mrcnn_astar import MaskRCNNAStarAgent | 54.75 | 60 | 0.894977 | 26 | 219 | 7.461538 | 0.423077 | 0.206186 | 0.412371 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 219 | 4 | 60 | 54.75 | 0.95098 | 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 | 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 | 7 |
f43cf2bb80f0f53d7f6340bf7a9c342caebd5fa6 | 265 | py | Python | plugin.video.yatp/site-packages/hachoir_parser/game/__init__.py | mesabib/kodi.yatp | d874df43047b5b58f84cb3760fc891d9a133a69f | [
"CNRI-Python"
] | 194 | 2016-12-23T19:11:09.000Z | 2020-12-07T04:04:10.000Z | lib/hachoir_parser/game/__init__.py | nosmokingbandit/Autolycus | 37b376ba2fc27aa7e98f0071b457ebfbc605d4ab | [
"ECL-2.0",
"Apache-2.0"
] | 236 | 2016-11-20T07:56:15.000Z | 2017-04-12T12:10:00.000Z | lib/hachoir_parser/game/__init__.py | nosmokingbandit/Autolycus | 37b376ba2fc27aa7e98f0071b457ebfbc605d4ab | [
"ECL-2.0",
"Apache-2.0"
] | 51 | 2016-11-20T08:05:33.000Z | 2021-01-26T13:22:40.000Z | from hachoir_parser.game.zsnes import ZSNESFile
from hachoir_parser.game.spider_man_video import SpiderManVideoFile
from hachoir_parser.game.laf import LafFile
from hachoir_parser.game.blp import BLP1File, BLP2File
from hachoir_parser.game.uasset import UAssetFile
| 44.166667 | 67 | 0.879245 | 38 | 265 | 5.947368 | 0.473684 | 0.243363 | 0.376106 | 0.464602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008197 | 0.079245 | 265 | 5 | 68 | 53 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 7 |
f44e721891e0e1a216f971b6a48b1186b2057187 | 15,571 | py | Python | CNNectome/networks/isotropic/mk_scale_net_cell_generic.py | davidackerman/CNNectome | 2815f96f40f5df66cc0a17e33db1353b1d0b6351 | [
"BSD-2-Clause"
] | 4 | 2019-06-21T18:06:22.000Z | 2021-11-29T08:28:46.000Z | CNNectome/networks/isotropic/mk_scale_net_cell_generic.py | GenevieveBuckley/CNNectome | bde8528ed5adc0a4aefca3b19ecc4c2144f2cbcc | [
"BSD-2-Clause"
] | 4 | 2018-12-18T19:31:04.000Z | 2022-01-10T16:06:45.000Z | CNNectome/networks/isotropic/mk_scale_net_cell_generic.py | GenevieveBuckley/CNNectome | bde8528ed5adc0a4aefca3b19ecc4c2144f2cbcc | [
"BSD-2-Clause"
] | 9 | 2018-03-22T18:17:57.000Z | 2022-03-24T01:17:21.000Z | from CNNectome.networks import scale_net
from CNNectome.networks import ops3d
import tensorflow as tf
import numpy as np
import json
def make_net(labels, added_steps, mode="train", loss_name="loss_total"):
unet0 = scale_net.SerialUNet(
[12, 12 * 6, 12 * 6 ** 2],
[48, 12 * 6, 12 * 6 ** 2],
... | 41.745308 | 87 | 0.607475 | 2,075 | 15,571 | 4.301205 | 0.07759 | 0.087731 | 0.027563 | 0.034958 | 0.977255 | 0.976919 | 0.976919 | 0.971204 | 0.967955 | 0.95888 | 0 | 0.028002 | 0.2592 | 15,571 | 372 | 88 | 41.857527 | 0.74573 | 0.073727 | 0 | 0.895899 | 0 | 0 | 0.094427 | 0.050028 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009464 | false | 0.018927 | 0.015773 | 0 | 0.0347 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
f455d74775e108f855d7e389ff9b7bd61be154eb | 145 | py | Python | tests/parser/recursive_aggregates.3.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/recursive_aggregates.3.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/recursive_aggregates.3.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
d(1).
d(2).
d(3).
d(4) :- #count{V : d(V)} > 2.
"""
output = """
d(1).
d(2).
d(3).
d(4) :- #count{V : d(V)} > 2.
"""
| 8.529412 | 30 | 0.310345 | 28 | 145 | 1.607143 | 0.321429 | 0.088889 | 0.133333 | 0.177778 | 0.755556 | 0.755556 | 0.755556 | 0.755556 | 0.755556 | 0.755556 | 0 | 0.09901 | 0.303448 | 145 | 16 | 31 | 9.0625 | 0.346535 | 0 | 0 | 0.833333 | 0 | 0 | 0.766917 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
f45ca0bdecfd09d540def68ff81378fdba4e4b6a | 172,509 | py | Python | eval/syn_pop.py | tomtkg/EC-Comp2021 | 54e31a0a5cc301e51b43758f7fb9a9a5ae76272a | [
"MIT"
] | null | null | null | eval/syn_pop.py | tomtkg/EC-Comp2021 | 54e31a0a5cc301e51b43758f7fb9a9a5ae76272a | [
"MIT"
] | null | null | null | eval/syn_pop.py | tomtkg/EC-Comp2021 | 54e31a0a5cc301e51b43758f7fb9a9a5ae76272a | [
"MIT"
] | null | null | null | from pytransform import pyarmor_runtime
pyarmor_runtime()
__pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x09\x00\x61\x0d\x0d\x0a\x08\x2d\xa0\x01\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\x6f\x38\x00\x00\x00\x00\x00\x18\x41\x52\xcc\x14\xf7\x16\xc9\x9c\xcc\xbc\x80\xe8\x14\xdb\x84\x0d\xaf... | 57,503 | 172,451 | 0.750042 | 43,115 | 172,509 | 3.000696 | 0.006146 | 0.002458 | 0.002435 | 0.001855 | 0.003014 | 0.003014 | 0.002852 | 0.002017 | 0.002017 | 0.002017 | 0 | 0.314068 | 0.000046 | 172,509 | 3 | 172,451 | 57,503 | 0.435928 | 0 | 0 | 0 | 0 | 0.333333 | 0.999432 | 0.999432 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
beb167117f12432929b8db3709f834721afc3c7f | 21,462 | py | Python | lib/googlecloudsdk/third_party/gapic_clients/logging_v2/services/config_service_v2/pagers.py | google-cloud-sdk-unofficial/google-cloud-sdk | 2a48a04df14be46c8745050f98768e30474a1aac | [
"Apache-2.0"
] | 2 | 2019-11-10T09:17:07.000Z | 2019-12-18T13:44:08.000Z | lib/googlecloudsdk/third_party/gapic_clients/logging_v2/services/config_service_v2/pagers.py | google-cloud-sdk-unofficial/google-cloud-sdk | 2a48a04df14be46c8745050f98768e30474a1aac | [
"Apache-2.0"
] | null | null | null | lib/googlecloudsdk/third_party/gapic_clients/logging_v2/services/config_service_v2/pagers.py | google-cloud-sdk-unofficial/google-cloud-sdk | 2a48a04df14be46c8745050f98768e30474a1aac | [
"Apache-2.0"
] | 1 | 2020-07-25T01:40:19.000Z | 2020-07-25T01:40:19.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# 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... | 42.331361 | 107 | 0.677803 | 2,380 | 21,462 | 5.868487 | 0.080672 | 0.054987 | 0.056705 | 0.068519 | 0.941004 | 0.941004 | 0.941004 | 0.941004 | 0.928546 | 0.928546 | 0 | 0.003555 | 0.239726 | 21,462 | 506 | 108 | 42.41502 | 0.852424 | 0.476656 | 0 | 0.803738 | 0 | 0 | 0.007923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.168224 | false | 0 | 0.009346 | 0.074766 | 0.308411 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
fe2d39a650c7c37176b29c0f380d5630b0a7f701 | 129,680 | py | Python | bin/Python27/Lib/site-packages/pyxb/bundles/wssplat/raw/wsdl20.py | lefevre-fraser/openmeta-mms | 08f3115e76498df1f8d70641d71f5c52cab4ce5f | [
"MIT"
] | null | null | null | bin/Python27/Lib/site-packages/pyxb/bundles/wssplat/raw/wsdl20.py | lefevre-fraser/openmeta-mms | 08f3115e76498df1f8d70641d71f5c52cab4ce5f | [
"MIT"
] | null | null | null | bin/Python27/Lib/site-packages/pyxb/bundles/wssplat/raw/wsdl20.py | lefevre-fraser/openmeta-mms | 08f3115e76498df1f8d70641d71f5c52cab4ce5f | [
"MIT"
] | null | null | null | # ./pyxb/bundles/wssplat/raw/wsdl20.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:19bbf5816d83775dc94d85cfc7c87689406810ec
# Generated 2013-09-18 10:35:49.816896 by PyXB version 1.2.3
# Namespace http://www.w3.org/ns/wsdl
import pyxb
import pyxb.binding
import pyxb.binding.saxer
import io
import pyxb.utils.utility... | 59.187586 | 338 | 0.752591 | 16,324 | 129,680 | 5.793372 | 0.032284 | 0.036407 | 0.05397 | 0.056846 | 0.883442 | 0.879181 | 0.865942 | 0.859005 | 0.852217 | 0.82723 | 0 | 0.029023 | 0.119479 | 129,680 | 2,190 | 339 | 59.214612 | 0.799196 | 0.075409 | 0 | 0.696643 | 1 | 0.141862 | 0.194187 | 0.165156 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.025966 | null | null | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fead4fd630f0762231c2f9d42728a35a6ec37fde | 2,596 | py | Python | tests/test_display.py | antoinedemathelin/ruptures | 2860a5aeea6c99d03049445a6d37c79f94fda18f | [
"BSD-2-Clause"
] | 942 | 2018-01-20T20:11:43.000Z | 2022-03-29T09:30:29.000Z | tests/test_display.py | antoinedemathelin/ruptures | 2860a5aeea6c99d03049445a6d37c79f94fda18f | [
"BSD-2-Clause"
] | 171 | 2018-03-08T18:15:32.000Z | 2022-03-31T18:36:00.000Z | tests/test_display.py | antoinedemathelin/ruptures | 2860a5aeea6c99d03049445a6d37c79f94fda18f | [
"BSD-2-Clause"
] | 144 | 2018-03-05T20:54:36.000Z | 2022-03-31T08:59:54.000Z | import pytest
from ruptures.datasets import pw_constant
from ruptures.show import display
from ruptures.show.display import MatplotlibMissingError
@pytest.fixture(scope="module")
def signal_bkps():
signal, bkps = pw_constant()
return signal, bkps
def test_display_with_options(signal_bkps):
try:
... | 29.83908 | 88 | 0.605547 | 289 | 2,596 | 5.242215 | 0.17301 | 0.19802 | 0.178218 | 0.249505 | 0.807261 | 0.780858 | 0.743234 | 0.743234 | 0.70231 | 0.688449 | 0 | 0.008791 | 0.298921 | 2,596 | 86 | 89 | 30.186047 | 0.823626 | 0.00886 | 0 | 0.671233 | 0 | 0 | 0.049027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068493 | false | 0 | 0.054795 | 0 | 0.136986 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
229f97196e5e02e1719432fa3ace95dc742e42f1 | 259 | py | Python | nmigen_boards/zturn_lite_z010.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 11 | 2021-12-10T12:23:29.000Z | 2022-03-13T08:40:20.000Z | nmigen_boards/zturn_lite_z010.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 12 | 2021-12-11T18:51:29.000Z | 2022-03-12T05:08:52.000Z | nmigen_boards/zturn_lite_z010.py | lethalbit/nmigen-boards | aaf18252e457ff95257137da2a629820c0ff2bfa | [
"BSD-2-Clause"
] | 7 | 2021-12-12T07:20:21.000Z | 2022-03-06T06:20:55.000Z | from amaranth_boards.zturn_lite_z010 import *
from amaranth_boards.zturn_lite_z010 import __all__
import warnings
warnings.warn("instead of nmigen_boards.zturn_lite_z010, use amaranth_boards.zturn_lite_z010",
DeprecationWarning, stacklevel=2)
| 32.375 | 94 | 0.818533 | 35 | 259 | 5.6 | 0.485714 | 0.22449 | 0.306122 | 0.387755 | 0.515306 | 0.377551 | 0.377551 | 0 | 0 | 0 | 0 | 0.057522 | 0.127413 | 259 | 7 | 95 | 37 | 0.809735 | 0 | 0 | 0 | 0 | 0 | 0.297297 | 0.235521 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
22e8c6d12fab2c6d21eaa0abc224d8e3f0e67b49 | 46 | py | Python | tests/distributed/test_dir_structures/src5/executors/helper.py | vishalbelsare/jina | ae72cc5ce1f7e7f4c662e72e96ea21dddc28bf43 | [
"Apache-2.0"
] | 3 | 2021-12-06T08:10:02.000Z | 2021-12-06T14:50:11.000Z | tests/distributed/test_dir_structures/src5/executors/helper.py | vishalbelsare/jina | ae72cc5ce1f7e7f4c662e72e96ea21dddc28bf43 | [
"Apache-2.0"
] | 2 | 2021-12-17T15:22:12.000Z | 2021-12-18T07:19:06.000Z | tests/distributed/test_dir_structures/src5/executors/helper.py | vishalbelsare/jina | ae72cc5ce1f7e7f4c662e72e96ea21dddc28bf43 | [
"Apache-2.0"
] | 1 | 2022-03-17T04:50:07.000Z | 2022-03-17T04:50:07.000Z | def print_something():
print('something')
| 15.333333 | 22 | 0.695652 | 5 | 46 | 6.2 | 0.6 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 23 | 23 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
4a32bd0c8df04fc9db9aa51ef2dc8a9b65959871 | 3,190 | py | Python | tests/transformers/test_uniqueness.py | vishalbelsare/tsfuse | 5b80e0d1ef0a9d902f8a7e7ea8207e9921e26289 | [
"Apache-2.0"
] | 23 | 2019-09-23T11:55:36.000Z | 2021-12-22T10:54:49.000Z | tests/transformers/test_uniqueness.py | vishalbelsare/tsfuse | 5b80e0d1ef0a9d902f8a7e7ea8207e9921e26289 | [
"Apache-2.0"
] | null | null | null | tests/transformers/test_uniqueness.py | vishalbelsare/tsfuse | 5b80e0d1ef0a9d902f8a7e7ea8207e9921e26289 | [
"Apache-2.0"
] | 4 | 2020-07-21T09:33:08.000Z | 2021-12-02T18:08:23.000Z | import numpy as np
from tsfuse.transformers.uniqueness import *
from tsfuse.data import Collection
def test_has_duplicate_true():
x = Collection.from_array([1, 2, 3, 3])
actual = HasDuplicate().transform(x).values
np.testing.assert_equal(actual, True)
def test_has_duplicate_false():
x = Collection.... | 29.813084 | 62 | 0.721944 | 464 | 3,190 | 4.719828 | 0.107759 | 0.054338 | 0.116438 | 0.155251 | 0.943836 | 0.926027 | 0.851598 | 0.784932 | 0.784932 | 0.705023 | 0 | 0.028278 | 0.146395 | 3,190 | 106 | 63 | 30.09434 | 0.775982 | 0 | 0 | 0.647887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239437 | 1 | 0.239437 | false | 0 | 0.042254 | 0 | 0.28169 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4a5389df2680049a26614523d3758012799abb5f | 26,688 | py | Python | skactiveml/stream/_uncertainty.py | AlexandreAbraham/scikit-activeml | 1e1f4615948501cb9c9559de2e94433f700b2b80 | [
"BSD-3-Clause"
] | null | null | null | skactiveml/stream/_uncertainty.py | AlexandreAbraham/scikit-activeml | 1e1f4615948501cb9c9559de2e94433f700b2b80 | [
"BSD-3-Clause"
] | null | null | null | skactiveml/stream/_uncertainty.py | AlexandreAbraham/scikit-activeml | 1e1f4615948501cb9c9559de2e94433f700b2b80 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from sklearn.utils import check_array, check_consistent_length
from ..base import SingleAnnotStreamBasedQueryStrategy, SkactivemlClassifier
from ..utils import fit_if_not_fitted, check_type, call_func
from .budget_manager import (
FixedUncertaintyBudget,
VariableUncertaintyBudget,
Spli... | 36.558904 | 79 | 0.627998 | 3,191 | 26,688 | 5.067377 | 0.073958 | 0.020408 | 0.020284 | 0.032468 | 0.925974 | 0.923562 | 0.916017 | 0.913977 | 0.911132 | 0.905999 | 0 | 0.002802 | 0.304594 | 26,688 | 729 | 80 | 36.609054 | 0.868474 | 0.592626 | 0 | 0.8159 | 0 | 0 | 0.001104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079498 | false | 0 | 0.020921 | 0 | 0.192469 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4a5667f3bfae24615a7fb2a78a53f2d57b42b994 | 142 | py | Python | GPTime/features/__init__.py | statisticalbiotechnology/GPTime | a073d1ef2eff0bd92c4b070c721d869cf1b7843a | [
"Apache-2.0"
] | 8 | 2016-07-19T18:37:38.000Z | 2021-05-12T02:52:23.000Z | GPTime/features/__init__.py | statisticalbiotechnology/GPTime | a073d1ef2eff0bd92c4b070c721d869cf1b7843a | [
"Apache-2.0"
] | 1 | 2018-11-13T16:29:36.000Z | 2018-11-13T16:29:36.000Z | GPTime/features/__init__.py | statisticalbiotechnology/GPTime | a073d1ef2eff0bd92c4b070c721d869cf1b7843a | [
"Apache-2.0"
] | 3 | 2016-11-17T02:20:40.000Z | 2020-09-24T09:17:59.000Z | from .feature_extraction import mapping_generator
from .feature_extraction import word, vocabulary
from .feature_extraction import normalizer
| 35.5 | 49 | 0.880282 | 17 | 142 | 7.117647 | 0.529412 | 0.272727 | 0.520661 | 0.669421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091549 | 142 | 3 | 50 | 47.333333 | 0.937985 | 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 | 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 | 7 |
4a7de8e8d516bfeb12bc88c6790e54e5b1d3c8d0 | 17,794 | py | Python | sdk/python/pulumi_oci/identity/swift_password.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/identity/swift_password.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/identity/swift_password.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 44.374065 | 192 | 0.656682 | 2,143 | 17,794 | 5.266916 | 0.113392 | 0.058474 | 0.071941 | 0.062373 | 0.8073 | 0.77195 | 0.744042 | 0.72207 | 0.714184 | 0.668291 | 0 | 0.014942 | 0.244015 | 17,794 | 400 | 193 | 44.485 | 0.824115 | 0.432056 | 0 | 0.485149 | 1 | 0 | 0.094354 | 0.004419 | 0 | 0 | 0 | 0 | 0 | 1 | 0.158416 | false | 0.128713 | 0.024752 | 0 | 0.282178 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
43d40d20b12704526e8899bbeb9544aae7990359 | 9,853 | py | Python | src/enrollment/forms.py | furthz/Colegio | 573e9e4006c0d1cd33190b53da5988fdc0c9ca4c | [
"MIT"
] | 2 | 2017-09-26T14:15:43.000Z | 2018-03-19T01:03:28.000Z | src/enrollment/forms.py | furthz/Colegio | 573e9e4006c0d1cd33190b53da5988fdc0c9ca4c | [
"MIT"
] | 1 | 2017-10-21T22:30:39.000Z | 2017-10-21T22:30:39.000Z | src/enrollment/forms.py | furthz/Colegio | 573e9e4006c0d1cd33190b53da5988fdc0c9ca4c | [
"MIT"
] | 9 | 2017-07-22T16:13:29.000Z | 2020-11-12T21:03:36.000Z | from django import forms
from enrollment.models import Servicio
from enrollment.models import TipoServicio
from enrollment.models import Matricula
from crispy_forms.helper import FormHelper
from crispy_forms.layout import Submit
from django.forms import ModelForm
from utils.models import TiposNivel
from utils.models im... | 32.843333 | 101 | 0.554044 | 1,011 | 9,853 | 5.263106 | 0.120673 | 0.062018 | 0.073482 | 0.086826 | 0.846457 | 0.833678 | 0.833678 | 0.818455 | 0.808495 | 0.792332 | 0 | 0.017504 | 0.286816 | 9,853 | 299 | 102 | 32.953177 | 0.739718 | 0.091647 | 0 | 0.794643 | 0 | 0 | 0.201503 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.080357 | false | 0 | 0.044643 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
78fa66265b67975518e4afd19ec5bf2094032908 | 8,366 | py | Python | tests/test_build.py | ofek/hatch-mypyc | 356a01f2296102393127f6b5777a64d192589c6a | [
"MIT"
] | 5 | 2022-02-02T01:39:24.000Z | 2022-02-28T09:29:46.000Z | tests/test_build.py | ofek/hatch-mypyc | 356a01f2296102393127f6b5777a64d192589c6a | [
"MIT"
] | null | null | null | tests/test_build.py | ofek/hatch-mypyc | 356a01f2296102393127f6b5777a64d192589c6a | [
"MIT"
] | null | null | null | # SPDX-FileCopyrightText: 2021-present Ofek Lev <oss@ofek.dev>
#
# SPDX-License-Identifier: MIT
import zipfile
from packaging.tags import sys_tags
from .utils import build_project
def test_no_exclusion(new_project, compiled_extension):
build_project()
build_dir = new_project / 'dist'
assert build_dir.i... | 33.464 | 113 | 0.712168 | 1,125 | 8,366 | 4.965333 | 0.101333 | 0.081633 | 0.037236 | 0.030612 | 0.907626 | 0.89957 | 0.89957 | 0.89957 | 0.89957 | 0.882743 | 0 | 0.013104 | 0.179058 | 8,366 | 249 | 114 | 33.598394 | 0.800233 | 0.010638 | 0 | 0.844828 | 0 | 0 | 0.097975 | 0.037335 | 0 | 0 | 0 | 0 | 0.310345 | 1 | 0.028736 | false | 0 | 0.017241 | 0 | 0.045977 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
601bf5a9a4084d07cbf469390f759565046f7e21 | 1,242 | py | Python | Django/StockDash/Stock/models.py | gankersky/Stock | 33390c26d0b6756c1c89fe9c7fe90ef02a24a19c | [
"MIT"
] | null | null | null | Django/StockDash/Stock/models.py | gankersky/Stock | 33390c26d0b6756c1c89fe9c7fe90ef02a24a19c | [
"MIT"
] | null | null | null | Django/StockDash/Stock/models.py | gankersky/Stock | 33390c26d0b6756c1c89fe9c7fe90ef02a24a19c | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class StockInfo(models.Model):
st_name = models.CharField(max_length = 30)
def __str__(self):
return self.st_name
class DayData(models.Model):
Data = models.DateField()
Open = models.FloatField()
High = models.FloatField()
... | 29.571429 | 73 | 0.670692 | 139 | 1,242 | 5.805755 | 0.302158 | 0.257745 | 0.049566 | 0.079306 | 0.754647 | 0.729864 | 0.729864 | 0.729864 | 0.729864 | 0.729864 | 0 | 0.002075 | 0.223833 | 1,242 | 41 | 74 | 30.292683 | 0.835062 | 0.019324 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.030303 | 0.121212 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
605a463c4d346636424e4ff52f962f106ca3aac5 | 12,182 | py | Python | mech/tests/test_int_simple_virtualbox.py | theenoob/mech | f77b56b585fca5261e2f6a77f8e28597126a8cff | [
"MIT"
] | 17 | 2020-01-24T01:08:25.000Z | 2021-07-12T19:53:34.000Z | mech/tests/test_int_simple_virtualbox.py | whoopsjohnnie/mech | f03f23ccef95f5a7f0c7f83b95db865711a57996 | [
"MIT"
] | 6 | 2020-02-19T02:50:46.000Z | 2021-02-14T09:50:32.000Z | mech/tests/test_int_simple_virtualbox.py | whoopsjohnnie/mech | f03f23ccef95f5a7f0c7f83b95db865711a57996 | [
"MIT"
] | 4 | 2020-06-28T00:03:12.000Z | 2021-01-28T21:47:23.000Z | # Copyright (c) 2020 Mike Kinney
"""Mech integration tests: simple ones (including virtualbox smoke)"""
import re
import subprocess
import platform
import pytest
from mech import utils
@pytest.mark.virtualbox
@pytest.mark.int
def test_int_smoke_virtualbox():
"""Smoke test most options using virtualbox."""
... | 38.429022 | 96 | 0.654654 | 1,530 | 12,182 | 5.14902 | 0.103922 | 0.059406 | 0.066007 | 0.049505 | 0.802107 | 0.78167 | 0.766057 | 0.756791 | 0.735974 | 0.727088 | 0 | 0.011178 | 0.221556 | 12,182 | 316 | 97 | 38.550633 | 0.819572 | 0.13011 | 0 | 0.780591 | 0 | 0.004219 | 0.128806 | 0.008916 | 0 | 0 | 0 | 0 | 0.303797 | 1 | 0.004219 | false | 0 | 0.021097 | 0 | 0.025316 | 0.059072 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
715ed1c61ad2e6b76b7f6ea1bc30ffc029fc843a | 82 | py | Python | thai_nner/utils/__init__.py | vistec-AI/Thai-NNER | 31c7112b194bb26f19296f32df7f3550fdfc4b88 | [
"MIT"
] | 16 | 2022-03-05T07:07:55.000Z | 2022-03-30T06:16:32.000Z | thai_nner/utils/__init__.py | vistec-AI/Thai-NNER | 31c7112b194bb26f19296f32df7f3550fdfc4b88 | [
"MIT"
] | 1 | 2022-03-12T04:10:27.000Z | 2022-03-24T09:09:17.000Z | thai_nner/utils/__init__.py | vistec-AI/Thai-NNER | 31c7112b194bb26f19296f32df7f3550fdfc4b88 | [
"MIT"
] | null | null | null | from thai_nner.utils.util import *
from thai_nner.utils.correcting_labels import * | 41 | 47 | 0.841463 | 13 | 82 | 5.076923 | 0.615385 | 0.242424 | 0.363636 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085366 | 82 | 2 | 47 | 41 | 0.88 | 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 | 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 | 8 |
71a2d30d773e5b0307159dfbe413a52cda57de11 | 122 | py | Python | scienceworld/__init__.py | allenai/ScienceWorld | 2e5b3bd92475bddccf3d8158ee0bf846942b80ec | [
"Apache-2.0"
] | 17 | 2022-03-15T02:26:59.000Z | 2022-03-25T20:09:08.000Z | scienceworld/__init__.py | allenai/ScienceWorld | 2e5b3bd92475bddccf3d8158ee0bf846942b80ec | [
"Apache-2.0"
] | null | null | null | scienceworld/__init__.py | allenai/ScienceWorld | 2e5b3bd92475bddccf3d8158ee0bf846942b80ec | [
"Apache-2.0"
] | 1 | 2022-03-17T08:31:50.000Z | 2022-03-17T08:31:50.000Z | from .version import __version__
from .scienceworld import ScienceWorldEnv
from .scienceworld import BufferedHistorySaver
| 30.5 | 46 | 0.877049 | 12 | 122 | 8.583333 | 0.5 | 0.31068 | 0.427184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 122 | 3 | 47 | 40.666667 | 0.936364 | 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 | 1 | 0 | 0 | 7 |
71b74bc1dbd8ee744ba09da3d875eafba6a5b526 | 4,731 | py | Python | src/usps_client/models.py | macro1/usps-client | 2da52e898ec8cb7619194a4200aa1c55c1312a66 | [
"ISC"
] | null | null | null | src/usps_client/models.py | macro1/usps-client | 2da52e898ec8cb7619194a4200aa1c55c1312a66 | [
"ISC"
] | null | null | null | src/usps_client/models.py | macro1/usps-client | 2da52e898ec8cb7619194a4200aa1c55c1312a66 | [
"ISC"
] | null | null | null | import typing
import attr
from .base_model import Base
try:
T = typing.TypeVar("T", bound="Base")
except AttributeError:
pass
@attr.s(slots=True)
class RequestAddress(Base):
TAG = "Address"
firm_name: typing.Optional[typing.Text] = attr.ib(default="")
address1: typing.Optional[typing.Text] = at... | 43.009091 | 81 | 0.706827 | 618 | 4,731 | 5.372168 | 0.13754 | 0.108434 | 0.231024 | 0.419277 | 0.815361 | 0.803916 | 0.803916 | 0.737048 | 0.597892 | 0.492169 | 0 | 0.002191 | 0.131685 | 4,731 | 109 | 82 | 43.40367 | 0.805988 | 0 | 0 | 0.434783 | 0 | 0 | 0.015007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.01087 | 0.032609 | 0 | 0.836957 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
71d9b928d224be3e95d22597ae179938f1a81714 | 61,680 | py | Python | mobilenext/codebase/models/model.py | yitu-opensource/daquan.zhou-intern-sg | 10f780551d8bdeec505450565801e6b95edc7fbc | [
"BSD-3-Clause-Clear"
] | 153 | 2020-10-25T13:58:04.000Z | 2022-03-07T06:01:54.000Z | mobilenext/codebase/models/model.py | yitu-opensource/daquan.zhou-intern-sg | 10f780551d8bdeec505450565801e6b95edc7fbc | [
"BSD-3-Clause-Clear"
] | 6 | 2020-11-01T06:27:30.000Z | 2021-11-24T03:41:57.000Z | mobilenext/codebase/models/model.py | yitu-opensource/daquan.zhou-intern-sg | 10f780551d8bdeec505450565801e6b95edc7fbc | [
"BSD-3-Clause-Clear"
] | 23 | 2020-10-25T14:44:47.000Z | 2021-03-31T02:12:13.000Z | import torch
from torch import nn
from torch.nn import functional as F
from .activations import sigmoid, HardSwish, Swish
from .utils_i2rnet import (
relu_fn,
round_filters,
round_repeats,
drop_connect,
get_same_padding_conv2d,
Conv2dDynamicSamePadding,
get_model_params,
efficientnet_par... | 51.701593 | 169 | 0.652464 | 8,460 | 61,680 | 4.446572 | 0.03948 | 0.033176 | 0.051837 | 0.063161 | 0.903052 | 0.894811 | 0.889255 | 0.882237 | 0.879154 | 0.877824 | 0 | 0.017978 | 0.247892 | 61,680 | 1,192 | 170 | 51.744966 | 0.79293 | 0.308171 | 0 | 0.790429 | 0 | 0 | 0.004339 | 0 | 0 | 0 | 0 | 0 | 0.0033 | 1 | 0.034653 | false | 0 | 0.008251 | 0.00165 | 0.075908 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e0d938159859b60d94890903cc984a7c429a5a61 | 96 | py | Python | Comment/views.py | yqji/DJNeverDie | 6126ca4093f8d06b5a044c330e832432fec0a0c2 | [
"Apache-2.0"
] | null | null | null | Comment/views.py | yqji/DJNeverDie | 6126ca4093f8d06b5a044c330e832432fec0a0c2 | [
"Apache-2.0"
] | null | null | null | Comment/views.py | yqji/DJNeverDie | 6126ca4093f8d06b5a044c330e832432fec0a0c2 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from .models import Comment
def get_comments():
pass
| 12 | 35 | 0.760417 | 13 | 96 | 5.538462 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 96 | 7 | 36 | 13.714286 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
e0de444f484247440fed5fec03e0dbf5e69af0d4 | 482,297 | py | Python | sympy/integrals/rubi/rules/tangent.py | STALKER2010/sympy-bleeding-edge | 81233029a9a30866747f6da2c0e9604d1681d474 | [
"BSD-3-Clause"
] | 2 | 2018-12-05T02:30:43.000Z | 2020-11-14T01:43:15.000Z | sympy/integrals/rubi/rules/tangent.py | STALKER2010/sympy-bleeding-edge | 81233029a9a30866747f6da2c0e9604d1681d474 | [
"BSD-3-Clause"
] | 1 | 2017-10-23T06:56:43.000Z | 2017-10-23T06:56:43.000Z | sympy/integrals/rubi/rules/tangent.py | STALKER2010/sympy-bleeding-edge | 81233029a9a30866747f6da2c0e9604d1681d474 | [
"BSD-3-Clause"
] | 1 | 2020-01-01T19:49:22.000Z | 2020-01-01T19:49:22.000Z | from sympy.external import import_module
matchpy = import_module("matchpy")
from sympy.utilities.decorator import doctest_depends_on
if matchpy:
from matchpy import Pattern, ReplacementRule, CustomConstraint
from sympy.integrals.rubi.utility_function import (Int, Set, With, Module, Scan, MapAnd, FalseQ, ZeroQ,... | 222.769977 | 6,553 | 0.571086 | 94,683 | 482,297 | 2.881795 | 0.016962 | 0.398143 | 0.327311 | 0.017555 | 0.885028 | 0.884507 | 0.8831 | 0.879977 | 0.877141 | 0.873674 | 0 | 0.036077 | 0.135632 | 482,297 | 2,164 | 6,554 | 222.872921 | 0.618441 | 0 | 0 | 0.012195 | 0 | 0 | 0.008941 | 0.000064 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014024 | false | 0 | 0.006707 | 0 | 0.034756 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
1cc9b074b9b94971d6067159f8c6447b386de76f | 163 | py | Python | qupulse/hardware/__init__.py | lankes-fzj/qupulse | 46f00f70bc998b98ac1ae4721d1a9a1c10b675aa | [
"MIT"
] | 2 | 2021-05-22T00:04:20.000Z | 2021-11-17T11:21:46.000Z | qupulse/hardware/__init__.py | bpapajewski/qupulse | c3969a4fa9eabe69c1143ad16e6e3ca5fb9c068e | [
"MIT"
] | null | null | null | qupulse/hardware/__init__.py | bpapajewski/qupulse | c3969a4fa9eabe69c1143ad16e6e3ca5fb9c068e | [
"MIT"
] | null | null | null | from qupulse.hardware.setup import HardwareSetup
from qupulse.hardware import awgs
from qupulse.hardware import dacs
__all__ = ["HardwareSetup", "awgs", "dacs"]
| 23.285714 | 48 | 0.791411 | 20 | 163 | 6.25 | 0.45 | 0.264 | 0.456 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116564 | 163 | 6 | 49 | 27.166667 | 0.868056 | 0 | 0 | 0 | 0 | 0 | 0.128834 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1ce29a337219b71b3ee92c27f955b43efd31ce8c | 27,949 | py | Python | mpfmc/tests/test_AudioSoundLoop.py | borgdog/mpf-mc | 6a7a37f09c70cc6ce086b32969830d933472ffd6 | [
"MIT"
] | 16 | 2016-01-07T18:17:55.000Z | 2022-03-27T14:29:42.000Z | mpfmc/tests/test_AudioSoundLoop.py | borgdog/mpf-mc | 6a7a37f09c70cc6ce086b32969830d933472ffd6 | [
"MIT"
] | 308 | 2016-04-10T18:33:40.000Z | 2021-11-17T21:38:49.000Z | mpfmc/tests/test_AudioSoundLoop.py | borgdog/mpf-mc | 6a7a37f09c70cc6ce086b32969830d933472ffd6 | [
"MIT"
] | 39 | 2016-02-23T23:49:20.000Z | 2021-11-08T04:50:12.000Z | import logging
from mpfmc.tests.MpfMcTestCase import MpfMcTestCase
from unittest.mock import MagicMock, ANY
try:
from mpfmc.core.audio import SoundSystem
from mpfmc.assets.sound import SoundStealingMethod
except ImportError:
SoundSystem = None
SoundStealingMethod = None
logging.warning("mpfmc.core... | 50.449458 | 117 | 0.652152 | 3,692 | 27,949 | 4.77221 | 0.052004 | 0.161757 | 0.135876 | 0.059595 | 0.932686 | 0.918043 | 0.912594 | 0.902208 | 0.881492 | 0.866508 | 0 | 0.021491 | 0.190883 | 27,949 | 553 | 118 | 50.540687 | 0.757628 | 0.059787 | 0 | 0.821918 | 0 | 0 | 0.189755 | 0.016706 | 0 | 0 | 0 | 0 | 0.616438 | 1 | 0.013699 | false | 0 | 0.013699 | 0.004566 | 0.034247 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1ce2ac9d231ab6abfb21687d8c670632a0e6421d | 197 | py | Python | crm/flaskr/responseTemplates.py | bogdansurdu/icu-crm | 3b74e7c4b1353b24a8a4ef4a28abc85e4e270ed0 | [
"MIT"
] | null | null | null | crm/flaskr/responseTemplates.py | bogdansurdu/icu-crm | 3b74e7c4b1353b24a8a4ef4a28abc85e4e270ed0 | [
"MIT"
] | null | null | null | crm/flaskr/responseTemplates.py | bogdansurdu/icu-crm | 3b74e7c4b1353b24a8a4ef4a28abc85e4e270ed0 | [
"MIT"
] | null | null | null | from flask import render_template
def err404(msg):
return render_template('error.html', code=404, msg=msg)
def err400(msg):
return render_template('error.html', code=400, msg=msg) | 24.625 | 60 | 0.71066 | 29 | 197 | 4.724138 | 0.517241 | 0.306569 | 0.218978 | 0.335766 | 0.525547 | 0.525547 | 0.525547 | 0 | 0 | 0 | 0 | 0.073171 | 0.167513 | 197 | 8 | 61 | 24.625 | 0.762195 | 0 | 0 | 0 | 0 | 0 | 0.104712 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 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 | 1 | 1 | 0 | 0 | 8 |
e813f348cae045d8a94d86f8bc7dccc6518e0474 | 25,011 | py | Python | Python/problem0542.py | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | Python/problem0542.py | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | Python/problem0542.py | 1050669722/LeetCode-Answers | c8f4d1ccaac09cda63b60d75144335347b06dc81 | [
"MIT"
] | null | null | null | class Solution:
def updateMatrix(self, matrix: list) -> list:
# m, n = len(matrix), len(matrix[0])
# SomeZerosInds, SomeOnesInds = [], [] #01边界的0的索引 和 被1包围的1的索引
# ans = [ [0] * len(matrix[0]) for _ in range(len(matrix)) ]
# for p in range(len(matrix)):
# for q in range(le... | 225.324324 | 20,210 | 0.47695 | 10,723 | 25,011 | 1.112096 | 0.005502 | 0.430021 | 0.327547 | 0.223061 | 0.952872 | 0.940545 | 0.937358 | 0.934591 | 0.934423 | 0.932914 | 0 | 0.441568 | 0.081044 | 25,011 | 110 | 20,211 | 227.372727 | 0.077271 | 0.13594 | 0 | 0 | 0 | 0 | 0.000139 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0 | 0 | 0.153846 | 0.038462 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
e82ce3d877d5c09aa7057aa24aafce0354399d53 | 334 | py | Python | Toolkit/errors.py | MOBSkuchen/tkt-Toolkit | 8446e3234a4ed51e0b494d8aeab7e123ab025449 | [
"MIT"
] | null | null | null | Toolkit/errors.py | MOBSkuchen/tkt-Toolkit | 8446e3234a4ed51e0b494d8aeab7e123ab025449 | [
"MIT"
] | null | null | null | Toolkit/errors.py | MOBSkuchen/tkt-Toolkit | 8446e3234a4ed51e0b494d8aeab7e123ab025449 | [
"MIT"
] | null | null | null | class OutOfService(Exception):
def __init__(self,Note:str=""):
pass
class InternalError(Exception):
def __init__(self,Note:str=""):
pass
class NothingFoundError(Exception):
def __init__(self,Note:str=""):
pass
class DummyError(Exception):
def __init__(self,Note:str=""):... | 27.833333 | 36 | 0.634731 | 36 | 334 | 5.444444 | 0.333333 | 0.244898 | 0.326531 | 0.408163 | 0.709184 | 0.709184 | 0.709184 | 0.55102 | 0 | 0 | 0 | 0 | 0.233533 | 334 | 12 | 37 | 27.833333 | 0.765625 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
1c2f0d7ec6b403d64e71162ea6a400ae30342e6d | 23,524 | py | Python | tests/test_app_routers_share_tokens_GET.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 2 | 2021-08-19T12:35:25.000Z | 2022-02-16T04:13:38.000Z | tests/test_app_routers_share_tokens_GET.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 46 | 2021-09-02T03:22:05.000Z | 2022-03-31T09:20:00.000Z | tests/test_app_routers_share_tokens_GET.py | BoostryJP/ibet-Prime | 924e7f8da4f8feea0a572e8b5532e09bcdf2dc99 | [
"Apache-2.0"
] | 1 | 2021-11-17T23:18:27.000Z | 2021-11-17T23:18:27.000Z | """
Copyright BOOSTRY Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distr... | 41.054101 | 107 | 0.622641 | 2,458 | 23,524 | 5.566721 | 0.084215 | 0.09077 | 0.033618 | 0.047504 | 0.900022 | 0.89571 | 0.874297 | 0.873566 | 0.868231 | 0.858291 | 0 | 0.093424 | 0.279247 | 23,524 | 572 | 108 | 41.125874 | 0.713595 | 0.050119 | 0 | 0.828753 | 0 | 0 | 0.247501 | 0.106234 | 0 | 0 | 0.045802 | 0 | 0.038055 | 1 | 0.014799 | false | 0 | 0.014799 | 0 | 0.035941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
98d8051dda3abba7dc77883960de5686371eb97b | 48,190 | py | Python | mapss/static/packages/arches/arches/app/models/migrations/0010_4_1_0.py | MPI-MAPSS/MAPSS | 3a5c0109758801717aaa8de1125ca5e98f83d3b4 | [
"CC0-1.0"
] | null | null | null | mapss/static/packages/arches/arches/app/models/migrations/0010_4_1_0.py | MPI-MAPSS/MAPSS | 3a5c0109758801717aaa8de1125ca5e98f83d3b4 | [
"CC0-1.0"
] | null | null | null | mapss/static/packages/arches/arches/app/models/migrations/0010_4_1_0.py | MPI-MAPSS/MAPSS | 3a5c0109758801717aaa8de1125ca5e98f83d3b4 | [
"CC0-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2018-01-16 19:44
from django.conf import settings
import django.contrib.gis.db.models.fields
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion
import uuid
from arches.app.models.concept import C... | 181.849057 | 13,472 | 0.474103 | 4,548 | 48,190 | 4.927221 | 0.08927 | 0.03811 | 0.059976 | 0.07497 | 0.811906 | 0.777768 | 0.746664 | 0.716141 | 0.700924 | 0.685617 | 0 | 0.022517 | 0.396369 | 48,190 | 264 | 13,473 | 182.537879 | 0.747843 | 0.003548 | 0 | 0.486056 | 1 | 0.163347 | 0.613321 | 0.112925 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007968 | false | 0.003984 | 0.027888 | 0 | 0.047809 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
c73300f5873528c7ca1a022c60ffffaa3336eeae | 143 | py | Python | Chapter 01/default_aruguments1_3_2_num1_num2_num3.py | bpbpublications/Advance-Core-Python-Programming | 8902ceb270f55c04c12e818032f90d641c14d7b1 | [
"MIT"
] | null | null | null | Chapter 01/default_aruguments1_3_2_num1_num2_num3.py | bpbpublications/Advance-Core-Python-Programming | 8902ceb270f55c04c12e818032f90d641c14d7b1 | [
"MIT"
] | null | null | null | Chapter 01/default_aruguments1_3_2_num1_num2_num3.py | bpbpublications/Advance-Core-Python-Programming | 8902ceb270f55c04c12e818032f90d641c14d7b1 | [
"MIT"
] | null | null | null | def sum_func(num1,num2 =30,num3=40):
return num1 + num2 + num3
print(sum_func(10))
print(sum_func(10,20))
print(sum_func(10,20,30))
| 20.428571 | 37 | 0.671329 | 27 | 143 | 3.407407 | 0.444444 | 0.304348 | 0.391304 | 0.456522 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 0.160839 | 143 | 6 | 38 | 23.833333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 7 |
c7b002ea2762fe91cc11dbfe53188be5c20822f6 | 13,062 | py | Python | tests/unit/pypyraws/steps/wait_test.py | pypyr/pypyr-aws | e6fb1d789d94032f40888aea73feb8f36cd6747a | [
"Apache-2.0"
] | 7 | 2017-04-25T06:37:58.000Z | 2020-10-22T15:46:57.000Z | tests/unit/pypyraws/steps/wait_test.py | pypyr/pypyr-aws | e6fb1d789d94032f40888aea73feb8f36cd6747a | [
"Apache-2.0"
] | 8 | 2017-05-12T22:10:37.000Z | 2021-11-19T02:01:16.000Z | tests/unit/pypyraws/steps/wait_test.py | pypyr/pypyr-aws | e6fb1d789d94032f40888aea73feb8f36cd6747a | [
"Apache-2.0"
] | 1 | 2017-06-04T14:23:52.000Z | 2017-06-04T14:23:52.000Z | """wait.py unit tests."""
from unittest.mock import patch
from pypyr.context import Context
from pypyr.errors import KeyInContextHasNoValueError, KeyNotInContextError
import pypyraws.steps.wait as wait
import pytest
# ---------------------------- run_step -------------------------------------#
def test_aws_wait_miss... | 33.751938 | 78 | 0.490124 | 1,213 | 13,062 | 5.061006 | 0.075021 | 0.07884 | 0.041212 | 0.061574 | 0.904382 | 0.896074 | 0.875713 | 0.829125 | 0.817723 | 0.762339 | 0 | 0.026421 | 0.350942 | 13,062 | 386 | 79 | 33.839378 | 0.697688 | 0.067907 | 0 | 0.848185 | 0 | 0 | 0.249193 | 0.01787 | 0 | 0 | 0 | 0 | 0.135314 | 1 | 0.049505 | false | 0.029703 | 0.016502 | 0 | 0.066007 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c7daa600ad6e83b759d590b1d58522184f8151fc | 206 | py | Python | make_demo_discover_rt/pysequitur/__init__.py | sjtuytc/AAAI21-RoutineAugmentedPolicyLearning | 7192f0bf26378d8aacb21c0220cc705cb577c6dc | [
"MIT"
] | 15 | 2021-01-07T11:51:14.000Z | 2021-07-22T14:54:15.000Z | make_demo_discover_rt/pysequitur/__init__.py | sjtuytc/-AAAI21-RoutineAugmentedPolicyLearning-RAPL- | 7192f0bf26378d8aacb21c0220cc705cb577c6dc | [
"MIT"
] | 1 | 2021-05-29T13:25:34.000Z | 2021-05-29T23:38:15.000Z | make_demo_discover_rt/pysequitur/__init__.py | sjtuytc/AAAI21-RoutineAugmentedPolicyLearning | 7192f0bf26378d8aacb21c0220cc705cb577c6dc | [
"MIT"
] | null | null | null | #!/usr/local/bin/python
# -*- coding: utf-8 -*-
# file: __init__.py
from .main import Sequencer, Sequencer2, print_grammar, AlphabetsTransformer
"""
exporting:
- Sequencer
- Sequencer2
- print_grammar
"""
| 17.166667 | 76 | 0.718447 | 23 | 206 | 6.173913 | 0.826087 | 0.267606 | 0.338028 | 0.43662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.126214 | 206 | 11 | 77 | 18.727273 | 0.772222 | 0.300971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 8 |
c7f50ba690eefd7f1e86e8c8e69b869eca107c38 | 309 | py | Python | relogic/logickit/modules/span_extractors/__init__.py | awslabs/gap-text2sql | 83af3f08a6c108f7cbacb8125e2a7ec9255c81b0 | [
"Apache-2.0"
] | 75 | 2021-01-07T21:29:45.000Z | 2022-03-11T08:36:39.000Z | relogic/logickit/modules/span_extractors/__init__.py | One-paper-luck/relogic | f647106e143cd603b95b63e06ea530cdd516aefe | [
"MIT"
] | 27 | 2021-01-18T14:16:17.000Z | 2022-03-28T07:37:29.000Z | relogic/logickit/modules/span_extractors/__init__.py | One-paper-luck/relogic | f647106e143cd603b95b63e06ea530cdd516aefe | [
"MIT"
] | 16 | 2021-01-20T21:33:31.000Z | 2022-02-02T20:14:03.000Z | from relogic.logickit.modules.span_extractors.endpoint_span_extractor import EndpointSpanExtractor
from relogic.logickit.modules.span_extractors.self_attentive_span_extractor import SelfAttentiveSpanExtractor
from relogic.logickit.modules.span_extractors.attentive_span_extractor import AttentiveSpanExtractor | 103 | 109 | 0.925566 | 34 | 309 | 8.117647 | 0.411765 | 0.119565 | 0.206522 | 0.282609 | 0.434783 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035599 | 309 | 3 | 110 | 103 | 0.926175 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1be596b512ea60e9b9792c1b26049aab8ee3ef78 | 192 | py | Python | python-codes/m1_curso_em_video_fundamentos_python/ex014.0.py | lucasportella/learning_repo | a9449dffd489e7e1f1619e3acef86bc2c64f0f14 | [
"MIT"
] | null | null | null | python-codes/m1_curso_em_video_fundamentos_python/ex014.0.py | lucasportella/learning_repo | a9449dffd489e7e1f1619e3acef86bc2c64f0f14 | [
"MIT"
] | null | null | null | python-codes/m1_curso_em_video_fundamentos_python/ex014.0.py | lucasportella/learning_repo | a9449dffd489e7e1f1619e3acef86bc2c64f0f14 | [
"MIT"
] | null | null | null | C=float(input('Informe a temperatura em ºC:'))
F=C*1.8+32
#print('A temperatura de {}ºC corresponde a {}ºF!'.format(C,C*1.8+32))
print('A temperatura de {}ºC corresponde a {}ºF!'.format(C,F))
| 38.4 | 70 | 0.677083 | 38 | 192 | 3.421053 | 0.447368 | 0.276923 | 0.046154 | 0.076923 | 0.723077 | 0.723077 | 0.723077 | 0.723077 | 0.723077 | 0.723077 | 0 | 0.046512 | 0.104167 | 192 | 4 | 71 | 48 | 0.709302 | 0.359375 | 0 | 0 | 0 | 0 | 0.565574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4038bc612a1e42777109c842965b8e376f9fbe32 | 355 | py | Python | tests/internal/instance_type/test_instance_type_cc2_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_cc2_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | null | null | null | tests/internal/instance_type/test_instance_type_cc2_auto.py | frolovv/aws.ec2.compare | 582805823492f833d65c0441c4a14dce697c12aa | [
"Apache-2.0"
] | 1 | 2021-12-15T11:58:22.000Z | 2021-12-15T11:58:22.000Z |
# Testing module instance_type.cc2
import pytest
import ec2_compare.internal.instance_type.cc2
def test_get_internal_data_instance_type_cc2_get_instances_list():
assert len(ec2_compare.internal.instance_type.cc2.get_instances_list()) > 0
def test_get_internal_data_instance_type_cc2_get():
assert len(ec2_compare.i... | 35.5 | 77 | 0.850704 | 56 | 355 | 4.946429 | 0.339286 | 0.259928 | 0.32491 | 0.259928 | 0.826715 | 0.826715 | 0.613718 | 0.613718 | 0.613718 | 0 | 0 | 0.033435 | 0.073239 | 355 | 9 | 78 | 39.444444 | 0.808511 | 0.090141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 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 | 10 |
40dbdfe58ff760128875a5b2dc7db7496686fc59 | 7,775 | py | Python | site_connectivity_checker.py | my5er/MikkOS | d11ffe0d52971f5ac8fd594d31b877307eaa4839 | [
"MIT"
] | 1 | 2020-08-27T11:08:49.000Z | 2020-08-27T11:08:49.000Z | site_connectivity_checker.py | my5er/MikkOS | d11ffe0d52971f5ac8fd594d31b877307eaa4839 | [
"MIT"
] | null | null | null | site_connectivity_checker.py | my5er/MikkOS | d11ffe0d52971f5ac8fd594d31b877307eaa4839 | [
"MIT"
] | null | null | null | import urllib
import urllib.request
import socket
from datetime import datetime
def site_connectivity_checker():
print('[1] - Site Connectivity Checker;'
'\n[2] - Exit;')
tool = int(input('> Option: '))
if tool == 1:
date = datetime.now()
sys_date = str(date.strftim... | 47.993827 | 122 | 0.474341 | 881 | 7,775 | 4.043133 | 0.107832 | 0.06064 | 0.083942 | 0.06064 | 0.961258 | 0.961258 | 0.961258 | 0.961258 | 0.961258 | 0.961258 | 0 | 0.006706 | 0.405402 | 7,775 | 161 | 123 | 48.291925 | 0.76379 | 0 | 0 | 0.909722 | 0 | 0.027778 | 0.292488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006944 | false | 0 | 0.027778 | 0 | 0.034722 | 0.145833 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
40ebf79d04d3507d4082237bf3739b30b5bb4c8b | 268,715 | py | Python | test/augmenters/test_size.py | Darktex/imgaug | 2bbe47eff8c2ec8b9ee1360474de25a786a9ec9a | [
"MIT"
] | 1 | 2020-02-07T07:00:33.000Z | 2020-02-07T07:00:33.000Z | test/augmenters/test_size.py | Darktex/imgaug | 2bbe47eff8c2ec8b9ee1360474de25a786a9ec9a | [
"MIT"
] | null | null | null | test/augmenters/test_size.py | Darktex/imgaug | 2bbe47eff8c2ec8b9ee1360474de25a786a9ec9a | [
"MIT"
] | 1 | 2020-12-24T12:35:29.000Z | 2020-12-24T12:35:29.000Z | from __future__ import print_function, division, absolute_import
import sys
import warnings
# unittest only added in 3.4 self.subTest()
if sys.version_info[0] < 3 or sys.version_info[1] < 4:
import unittest2 as unittest
else:
import unittest
# unittest.mock is not available in 2.7 (though unittest2 might conta... | 38.393342 | 108 | 0.552757 | 36,063 | 268,715 | 3.939828 | 0.019105 | 0.009713 | 0.007116 | 0.004448 | 0.927359 | 0.903851 | 0.877803 | 0.848721 | 0.825002 | 0.799039 | 0 | 0.067631 | 0.314497 | 268,715 | 6,998 | 109 | 38.398828 | 0.703694 | 0.029656 | 0 | 0.729579 | 0 | 0 | 0.014798 | 0.001093 | 0 | 0 | 0 | 0.000286 | 0.221662 | 1 | 0.089241 | false | 0 | 0.003598 | 0.00108 | 0.105074 | 0.00018 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
40efa7ae740fae8a3a8fab9b1a82391ea4bb8e83 | 4,281 | py | Python | src/logpipe/tests/unit/kinesis/test_producer.py | twentythirdz/django-logpipe | 05d90225fc993e6dc8fea27f41c56e8e8debf340 | [
"ISC"
] | null | null | null | src/logpipe/tests/unit/kinesis/test_producer.py | twentythirdz/django-logpipe | 05d90225fc993e6dc8fea27f41c56e8e8debf340 | [
"ISC"
] | 1 | 2021-06-10T22:30:32.000Z | 2021-06-10T22:30:32.000Z | src/logpipe/tests/unit/kinesis/test_producer.py | twentythirdz/django-logpipe | 05d90225fc993e6dc8fea27f41c56e8e8debf340 | [
"ISC"
] | 1 | 2021-01-04T12:33:57.000Z | 2021-01-04T12:33:57.000Z | from django.test import TestCase, override_settings
from logpipe import Producer
from logpipe.tests.common import StateSerializer, StateModel, TOPIC_STATES
from moto import mock_kinesis
import boto3
LOGPIPE = {
'OFFSET_BACKEND': 'logpipe.backend.kinesis.ModelOffsetStore',
'PRODUCER_BACKEND': 'logpipe.backend.... | 35.090164 | 154 | 0.580939 | 407 | 4,281 | 6.012285 | 0.189189 | 0.122599 | 0.088271 | 0.098079 | 0.812832 | 0.812832 | 0.803841 | 0.796894 | 0.757662 | 0.757662 | 0 | 0.034758 | 0.267461 | 4,281 | 121 | 155 | 35.380165 | 0.745536 | 0 | 0 | 0.776699 | 0 | 0 | 0.196216 | 0.024293 | 0 | 0 | 0 | 0 | 0.23301 | 1 | 0.019417 | false | 0 | 0.048544 | 0 | 0.07767 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
40f0bb4b1aad39e55fef3fecbb700cc9f06503aa | 5,930 | py | Python | tests/test_rio_calc.py | clembou/rasterio | 57169c31dae04e1319b4c4b607345475a7122910 | [
"BSD-3-Clause"
] | null | null | null | tests/test_rio_calc.py | clembou/rasterio | 57169c31dae04e1319b4c4b607345475a7122910 | [
"BSD-3-Clause"
] | null | null | null | tests/test_rio_calc.py | clembou/rasterio | 57169c31dae04e1319b4c4b607345475a7122910 | [
"BSD-3-Clause"
] | 1 | 2017-10-16T12:50:16.000Z | 2017-10-16T12:50:16.000Z | import sys
import logging
from click.testing import CliRunner
import rasterio
from rasterio.rio.calc import calc
logging.basicConfig(stream=sys.stderr, level=logging.DEBUG)
def test_err(tmpdir):
outfile = str(tmpdir.join('out.tif'))
runner = CliRunner()
result = runner.invoke(calc, [
'... | 32.762431 | 104 | 0.550422 | 723 | 5,930 | 4.452282 | 0.127248 | 0.055918 | 0.054675 | 0.068344 | 0.804908 | 0.804908 | 0.804908 | 0.804908 | 0.804908 | 0.804908 | 0 | 0.032875 | 0.312648 | 5,930 | 180 | 105 | 32.944444 | 0.756869 | 0.024621 | 0 | 0.761589 | 0 | 0.013245 | 0.139273 | 0.020415 | 0 | 0 | 0 | 0 | 0.284768 | 1 | 0.072848 | false | 0 | 0.033113 | 0 | 0.10596 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
9068d574b4d77dfca2ae855cde1e4d5f882c2630 | 4,093 | py | Python | analysis/report/lib_db_filecoin.py | coryschwartz/nebula-crawler | 34ebe1109a5117949b4f285891a065adcc0bae08 | [
"Apache-2.0"
] | 66 | 2021-07-05T21:55:27.000Z | 2022-03-20T20:44:38.000Z | analysis/report/lib_db_filecoin.py | coryschwartz/nebula-crawler | 34ebe1109a5117949b4f285891a065adcc0bae08 | [
"Apache-2.0"
] | 8 | 2021-07-18T09:00:12.000Z | 2022-03-15T17:44:11.000Z | analysis/report/lib_db_filecoin.py | coryschwartz/nebula-crawler | 34ebe1109a5117949b4f285891a065adcc0bae08 | [
"Apache-2.0"
] | 6 | 2021-07-11T12:25:05.000Z | 2022-01-04T21:14:50.000Z | from lib_db import DBClient, cache
class DBClientFilecoin(DBClient):
complex_regex = "^(.*)-(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?(?:\+(.*))$"
simple_regex = "^(.*)-(0|[1-... | 47.045977 | 216 | 0.471048 | 457 | 4,093 | 4.032823 | 0.214442 | 0.104178 | 0.013022 | 0.017363 | 0.846446 | 0.829083 | 0.800868 | 0.800868 | 0.800868 | 0.800868 | 0 | 0.020433 | 0.40215 | 4,093 | 86 | 217 | 47.593023 | 0.732734 | 0.071097 | 0 | 0.849315 | 0 | 0.027397 | 0.846876 | 0.189059 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027397 | false | 0 | 0.013699 | 0 | 0.109589 | 0.027397 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
906f8014f7c9f7d5ef12fe6109447ba4e31e6a65 | 41 | py | Python | server/blogsley/model.py | blogsley/blogsley-next | 3a9807e825899a598aee6764ca75eb015d6232f1 | [
"MIT"
] | 2 | 2020-05-03T18:23:51.000Z | 2020-06-07T17:38:15.000Z | server/blogsley/model.py | blogsley/blogsley-next | 3a9807e825899a598aee6764ca75eb015d6232f1 | [
"MIT"
] | 1 | 2020-11-27T11:33:57.000Z | 2020-11-27T11:33:57.000Z | server/blogsley/model.py | blogsley/blogsley-starlette | 3a9807e825899a598aee6764ca75eb015d6232f1 | [
"MIT"
] | null | null | null | import blogsley.user
import blogsley.post | 20.5 | 20 | 0.878049 | 6 | 41 | 6 | 0.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 2 | 21 | 20.5 | 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 | 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 | 7 |
907b88fdacdf50784f10045e61b700ed658acb1c | 11,796 | py | Python | dialogflow_v2beta1/proto/knowledge_base_pb2_grpc.py | gertventer1970/dialogflow-python-client-v2 | e78b0e6765f94fb9ecbbc72c9fc30ce7245703e2 | [
"Apache-2.0"
] | 1 | 2020-10-14T07:43:19.000Z | 2020-10-14T07:43:19.000Z | dialogflow_v2beta1/proto/knowledge_base_pb2_grpc.py | everydaycodings/dialogflow-python-client-v2 | c1c925d94726f49e549870e087ad79ee491056e2 | [
"Apache-2.0"
] | null | null | null | dialogflow_v2beta1/proto/knowledge_base_pb2_grpc.py | everydaycodings/dialogflow-python-client-v2 | c1c925d94726f49e549870e087ad79ee491056e2 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from dialogflow_v2beta1.proto import (
knowledge_base_pb2 as google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_knowledge__base__pb2,
)
from google.proto... | 42.73913 | 153 | 0.716684 | 1,114 | 11,796 | 7.105027 | 0.105925 | 0.092356 | 0.058623 | 0.060139 | 0.846115 | 0.834744 | 0.808212 | 0.780038 | 0.733165 | 0.733165 | 0 | 0.013043 | 0.220075 | 11,796 | 275 | 154 | 42.894545 | 0.847283 | 0.103764 | 0 | 0.666667 | 1 | 0 | 0.099229 | 0.068274 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.013889 | 0.023148 | 0.106481 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
90c9ee69f171e4cc2a5b06e0c4d14d0ec4931894 | 41,834 | py | Python | dfx_apiv2_protos/profiles_pb2.py | nuralogix/dfx-apiv2-protos-python | 6402563e4dc8adcb823e521b11b5ac47408466c7 | [
"MIT"
] | 1 | 2022-02-15T01:13:47.000Z | 2022-02-15T01:13:47.000Z | dfx_apiv2_protos/profiles_pb2.py | nuralogix/dfx-apiv2-protos-python | 6402563e4dc8adcb823e521b11b5ac47408466c7 | [
"MIT"
] | null | null | null | dfx_apiv2_protos/profiles_pb2.py | nuralogix/dfx-apiv2-protos-python | 6402563e4dc8adcb823e521b11b5ac47408466c7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: profiles.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_... | 39.097196 | 3,187 | 0.756562 | 4,972 | 41,834 | 6.048874 | 0.050885 | 0.038836 | 0.05852 | 0.062843 | 0.800964 | 0.758437 | 0.720665 | 0.695794 | 0.690474 | 0.664738 | 0 | 0.029921 | 0.118803 | 41,834 | 1,069 | 3,188 | 39.13377 | 0.785916 | 0.040828 | 0 | 0.708589 | 1 | 0.001022 | 0.202344 | 0.151347 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00409 | 0 | 0.00409 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
90d39e3db32a0d5f102a3344dbe2ff82e4f3e2c2 | 4,185 | py | Python | d3rlpy/models/torch/distributions.py | mcx/d3rlpy | 9867803a096b8a90e376443a0ffabb4765f38145 | [
"MIT"
] | null | null | null | d3rlpy/models/torch/distributions.py | mcx/d3rlpy | 9867803a096b8a90e376443a0ffabb4765f38145 | [
"MIT"
] | null | null | null | d3rlpy/models/torch/distributions.py | mcx/d3rlpy | 9867803a096b8a90e376443a0ffabb4765f38145 | [
"MIT"
] | null | null | null | import math
from abc import ABCMeta, abstractmethod
from typing import Optional, Tuple
import torch
import torch.nn.functional as F
from torch.distributions import Normal
class Distribution(metaclass=ABCMeta):
@abstractmethod
def sample(self) -> torch.Tensor:
pass
@abstractmethod
def sample_... | 29.0625 | 78 | 0.644205 | 591 | 4,185 | 4.306261 | 0.106599 | 0.207466 | 0.060511 | 0.103733 | 0.801965 | 0.761493 | 0.713163 | 0.656189 | 0.60275 | 0.588212 | 0 | 0.008456 | 0.237037 | 4,185 | 143 | 79 | 29.265734 | 0.7886 | 0 | 0 | 0.59633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018349 | 1 | 0.256881 | false | 0.045872 | 0.055046 | 0.119266 | 0.59633 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
290fc9309ed937e925be3646acee2bf87c717f98 | 27,530 | py | Python | sunshine_conversations_client/api/custom_integration_api_keys_api.py | Dima2022/sunshine-conversations-python | 8085a82dc320d97f09bb0174d11dd1865a65404a | [
"Apache-2.0"
] | 4 | 2020-09-27T14:28:25.000Z | 2022-02-02T13:51:29.000Z | sunshine_conversations_client/api/custom_integration_api_keys_api.py | Dima2022/sunshine-conversations-python | 8085a82dc320d97f09bb0174d11dd1865a65404a | [
"Apache-2.0"
] | 3 | 2021-09-30T18:18:58.000Z | 2021-12-04T07:55:23.000Z | sunshine_conversations_client/api/custom_integration_api_keys_api.py | Dima2022/sunshine-conversations-python | 8085a82dc320d97f09bb0174d11dd1865a65404a | [
"Apache-2.0"
] | 5 | 2020-11-07T02:08:18.000Z | 2021-12-07T17:10:23.000Z | # coding: utf-8
"""
Sunshine Conversations API
The version of the OpenAPI document: 9.4.5
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from sunshine_conversations_client.api_cli... | 49.248658 | 252 | 0.612278 | 3,151 | 27,530 | 5.078705 | 0.065376 | 0.044492 | 0.066488 | 0.026995 | 0.948947 | 0.944323 | 0.941261 | 0.936824 | 0.933762 | 0.930076 | 0 | 0.015447 | 0.315692 | 27,530 | 558 | 253 | 49.336918 | 0.834015 | 0.427025 | 0 | 0.732601 | 1 | 0 | 0.214246 | 0.071649 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032967 | false | 0 | 0.018315 | 0 | 0.084249 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
29484e0b7934727fe18b8276b1f9d256412cef45 | 5,274 | py | Python | vython/lang/binary_operators.py | cvython/vython1 | 094808e9476a2841b7c6be0cd4528bf61996b739 | [
"MIT"
] | 24 | 2021-05-20T06:31:18.000Z | 2021-11-28T21:47:00.000Z | vython/lang/binary_operators.py | cvython/vython1 | 094808e9476a2841b7c6be0cd4528bf61996b739 | [
"MIT"
] | 1 | 2021-05-24T08:06:42.000Z | 2021-05-24T08:31:18.000Z | vython/lang/binary_operators.py | cvython/vython1 | 094808e9476a2841b7c6be0cd4528bf61996b739 | [
"MIT"
] | 5 | 2021-05-20T06:34:24.000Z | 2021-06-23T07:53:51.000Z | from rply.token import BaseBox
from vython.errors import error, Errors as errors
import sys
class BinaryOp(BaseBox):
def __init__(self, left, right):
self.left = left
self.right = right
if self.right.kind == "string" or self.left.kind == "string":
self.kind = "string"
el... | 33.169811 | 69 | 0.391164 | 406 | 5,274 | 5.071429 | 0.118227 | 0.124332 | 0.088392 | 0.11559 | 0.841671 | 0.841671 | 0.841671 | 0.841671 | 0.841671 | 0.841671 | 0 | 0.002623 | 0.493933 | 5,274 | 158 | 70 | 33.379747 | 0.768827 | 0 | 0 | 0.729167 | 0 | 0 | 0.091202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.020833 | 0 | 0.229167 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
29520e8b46dc1d6b7e8eaace8408b369bac5f156 | 16,796 | py | Python | agents/test_env.py | pjarosik/rlus | 5804a37ed9221362c470ad4eb0e6b03e533bf1d8 | [
"Apache-2.0"
] | 3 | 2020-09-20T20:02:43.000Z | 2022-01-14T09:37:46.000Z | agents/test_env.py | pjarosik/rlus | 5804a37ed9221362c470ad4eb0e6b03e533bf1d8 | [
"Apache-2.0"
] | null | null | null | agents/test_env.py | pjarosik/rlus | 5804a37ed9221362c470ad4eb0e6b03e533bf1d8 | [
"Apache-2.0"
] | 1 | 2021-06-29T07:02:19.000Z | 2021-06-29T07:02:19.000Z | import numpy as np
from envs.focal_point_task_us_env import FocalPointTaskUsEnv
from envs.plane_task_us_env import PlaneTaskUsEnv
from envs.phantom import (
ScatterersPhantom,
Ball,
Teddy
)
from envs.imaging import ImagingSystem, Probe
from envs.generator import (
ConstPhantomGenerator,
ConstProbeGe... | 26.702703 | 80 | 0.589724 | 2,183 | 16,796 | 4.298672 | 0.089785 | 0.079817 | 0.025575 | 0.038363 | 0.817775 | 0.793905 | 0.772592 | 0.772592 | 0.759271 | 0.74659 | 0 | 0.080138 | 0.307573 | 16,796 | 628 | 81 | 26.745223 | 0.726741 | 0.079662 | 0 | 0.762868 | 0 | 0 | 0.000525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.014706 | 0 | 0.049632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
297ffd073d7df02b320dc5759504359de19e0f20 | 5,559 | py | Python | switchmng/routes/post.py | AnsgarKlein/switchmng | d86ae2dc40ef70f43fec8e3adf49ae5fd796a01d | [
"MIT"
] | null | null | null | switchmng/routes/post.py | AnsgarKlein/switchmng | d86ae2dc40ef70f43fec8e3adf49ae5fd796a01d | [
"MIT"
] | null | null | null | switchmng/routes/post.py | AnsgarKlein/switchmng | d86ae2dc40ef70f43fec8e3adf49ae5fd796a01d | [
"MIT"
] | null | null | null | from flask import current_app
from flask import request
from switchmng.typing import FlaskResponse
from switchmng import database
from .blueprint import restbp
from .errors import *
@restbp.route('/switch_models', methods = ['POST'])
def post_switch_model() -> FlaskResponse:
session = current_app.config['SWITCHM... | 34.962264 | 93 | 0.663788 | 685 | 5,559 | 5.254015 | 0.121168 | 0.073354 | 0.073354 | 0.086691 | 0.809947 | 0.79661 | 0.79661 | 0.79661 | 0.79661 | 0.79661 | 0 | 0.025287 | 0.231696 | 5,559 | 158 | 94 | 35.183544 | 0.817373 | 0.0322 | 0 | 0.75 | 0 | 0 | 0.228806 | 0.035774 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.05 | 0 | 0.35 | 0.008333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
4643527522e5ac2d26dba4f6e2abc2d2579b1ecb | 8,833 | py | Python | tests/test_pypi_purl.py | pombredanne/pypurl | 461b7bb51963dae410baebade5290b22dc45cc87 | [
"MIT"
] | 3 | 2021-10-17T17:30:04.000Z | 2022-02-20T01:35:38.000Z | tests/test_pypi_purl.py | pombredanne/pypurl | 461b7bb51963dae410baebade5290b22dc45cc87 | [
"MIT"
] | null | null | null | tests/test_pypi_purl.py | pombredanne/pypurl | 461b7bb51963dae410baebade5290b22dc45cc87 | [
"MIT"
] | 1 | 2021-10-17T17:30:07.000Z | 2021-10-17T17:30:07.000Z | import unittest
from pypurl.purl import Purl
class PypiPurlTestCase(unittest.TestCase):
def setUp(self):
self.purl_obj = Purl()
print('Running pypi-repository tests... OK')
def test_pypi_purl_to_dict_version_success(self):
purl_with_version = 'pkg:pypi/notificationcenter@1.0.0b2'
... | 48.532967 | 125 | 0.676441 | 1,232 | 8,833 | 4.586851 | 0.049513 | 0.169881 | 0.178376 | 0.109892 | 0.961423 | 0.951867 | 0.93771 | 0.910458 | 0.878252 | 0.876482 | 0 | 0.029834 | 0.172761 | 8,833 | 181 | 126 | 48.801105 | 0.743534 | 0 | 0 | 0.598684 | 0 | 0.059211 | 0.299219 | 0.140949 | 0 | 0 | 0 | 0 | 0.421053 | 1 | 0.171053 | false | 0 | 0.013158 | 0 | 0.190789 | 0.006579 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
464fd6dbe39bde89bbb5535d774d4010e08c07e0 | 85,241 | py | Python | img_main.py | liujiyuan13/MvDOCC-code | 1f2d4427dab9f90fbba1575621948f7acbdffddb | [
"MIT"
] | 1 | 2021-05-18T01:29:20.000Z | 2021-05-18T01:29:20.000Z | img_main.py | liujiyuan13/MvDOCC-code | 1f2d4427dab9f90fbba1575621948f7acbdffddb | [
"MIT"
] | null | null | null | img_main.py | liujiyuan13/MvDOCC-code | 1f2d4427dab9f90fbba1575621948f7acbdffddb | [
"MIT"
] | null | null | null | import numpy as np
import scipy.io as scio
import scipy.sparse as scsp
import h5py as hp
from util import read_mymat73, read_mymat, build_img_dataset, process_ad_dataset, mv_dataset, mv_tabular_collate, AverageMeter, save_roc_pr_curve_data, get_all_labels, \
load_print_results, filter_nan_grad, read_dataset, build_... | 49.674242 | 200 | 0.551354 | 10,153 | 85,241 | 4.348961 | 0.036738 | 0.030438 | 0.014404 | 0.026407 | 0.898109 | 0.875846 | 0.866244 | 0.855985 | 0.844865 | 0.831457 | 0 | 0.006602 | 0.323025 | 85,241 | 1,715 | 201 | 49.703207 | 0.758569 | 0.077111 | 0 | 0.759154 | 0 | 0 | 0.038605 | 0 | 0 | 0 | 0 | 0 | 0.004068 | 1 | 0.010578 | false | 0.002441 | 0.014646 | 0 | 0.026037 | 0.032547 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
31198c6def0c0601bb6e6de4dc7988db7f440742 | 9,368 | py | Python | openmdao/core/tests/test_masking.py | toddrme2178/OpenMDAO | 379cc6216d13d380e11cb3a46f03960981de4660 | [
"Apache-2.0"
] | 1 | 2016-05-10T17:01:17.000Z | 2016-05-10T17:01:17.000Z | openmdao/core/tests/test_masking.py | toddrme2178/OpenMDAO | 379cc6216d13d380e11cb3a46f03960981de4660 | [
"Apache-2.0"
] | 3 | 2016-05-10T16:55:46.000Z | 2018-10-22T23:28:52.000Z | openmdao/core/tests/test_masking.py | toddrme2178/OpenMDAO | 379cc6216d13d380e11cb3a46f03960981de4660 | [
"Apache-2.0"
] | 2 | 2018-04-05T15:53:54.000Z | 2018-10-22T22:48:00.000Z | import unittest
import numpy as np
from numpy.testing import assert_almost_equal
from openmdao.api import Problem, Group, IndepVarComp, DirectSolver, NewtonSolver, \
ScipyKrylov, LinearRunOnce, LinearBlockGS
from openmdao.test_suite.components.double_sellar import DoubleSellar, DoubleSellarImplicit
def _build_m... | 36.169884 | 91 | 0.641973 | 1,205 | 9,368 | 4.692946 | 0.075519 | 0.087003 | 0.123254 | 0.127321 | 0.863307 | 0.844386 | 0.833775 | 0.830769 | 0.822281 | 0.822281 | 0 | 0.079781 | 0.221285 | 9,368 | 258 | 92 | 36.310078 | 0.695408 | 0 | 0 | 0.81768 | 0 | 0 | 0.096712 | 0 | 0 | 0 | 0 | 0 | 0.226519 | 1 | 0.121547 | false | 0 | 0.027624 | 0 | 0.165746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
31507f20eeb1186a4d6beb65f4fb78a14b5d80c6 | 3,863 | py | Python | utils/vips_utils.py | henrrydegee/plaquebox-paper | 05a06cadaf7c47b52c93e460a51cfa56862b2521 | [
"MIT"
] | 31 | 2019-02-19T00:29:38.000Z | 2022-03-18T12:34:40.000Z | utils/vips_utils.py | henrrydegee/plaquebox-paper | 05a06cadaf7c47b52c93e460a51cfa56862b2521 | [
"MIT"
] | 2 | 2020-01-05T22:13:13.000Z | 2021-07-22T09:34:58.000Z | utils/vips_utils.py | henrrydegee/plaquebox-paper | 05a06cadaf7c47b52c93e460a51cfa56862b2521 | [
"MIT"
] | 21 | 2019-03-17T04:35:59.000Z | 2022-01-29T01:11:57.000Z | import os
import numpy as np
import matplotlib.pyplot as plt
import pyvips as Vips
NP_DTYPE_TO_VIPS_FORMAT = {
np.dtype('int8'): Vips.BandFormat.CHAR,
np.dtype('uint8'): Vips.BandFormat.UCHAR,
np.dtype('int16'): Vips.BandFormat.SHORT,
np.dtype('uint16'): Vips.BandFormat.USHORT,
... | 37.504854 | 87 | 0.651048 | 574 | 3,863 | 4.132404 | 0.202091 | 0.125211 | 0.047218 | 0.030354 | 0.815346 | 0.815346 | 0.815346 | 0.815346 | 0.815346 | 0.815346 | 0 | 0.014205 | 0.216412 | 3,863 | 103 | 88 | 37.504854 | 0.769409 | 0.057209 | 0 | 0.744186 | 0 | 0 | 0.034919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081395 | false | 0 | 0.046512 | 0.023256 | 0.209302 | 0.046512 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
315112a9020bb33696a6e3d3ac3f6b1235d8adda | 1,172 | py | Python | hourglasstree.gpr.py | pzingg/descend_chart_extra | 58cafa165879ad9b2137afd72b28e18492df4bd2 | [
"CECILL-B"
] | null | null | null | hourglasstree.gpr.py | pzingg/descend_chart_extra | 58cafa165879ad9b2137afd72b28e18492df4bd2 | [
"CECILL-B"
] | null | null | null | hourglasstree.gpr.py | pzingg/descend_chart_extra | 58cafa165879ad9b2137afd72b28e18492df4bd2 | [
"CECILL-B"
] | null | null | null | # Register the HourglassTree report addon
register(REPORT,
id = 'hourglass_chart',
name = _("Hourglass Tree"),
description = _("Produces a graphical report combining an ancestor tree and a descendant tree."),
version = '1.0.0',
gramps_target_version = '5.1',
status = STABLE,
fname = 'hourglasstree.p... | 31.675676 | 102 | 0.68686 | 133 | 1,172 | 5.849624 | 0.37594 | 0.051414 | 0.041131 | 0.082262 | 0.843188 | 0.843188 | 0.843188 | 0.843188 | 0.843188 | 0.843188 | 0 | 0.01056 | 0.19198 | 1,172 | 36 | 103 | 32.555556 | 0.810982 | 0.033276 | 0 | 0.787879 | 0 | 0 | 0.357206 | 0.056587 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3173d810ca837bd5bada2866b6657db1fee0f203 | 129,707 | py | Python | com/vmware/nsx_policy/infra/tier_0s/locale_services_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | com/vmware/nsx_policy/infra/tier_0s/locale_services_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | com/vmware/nsx_policy/infra/tier_0s/locale_services_client.py | adammillerio/vsphere-automation-sdk-python | c07e1be98615201139b26c28db3aa584c4254b66 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#---------------------------------------------------------------------------
# Copyright 2020 VMware, Inc. All rights reserved.
# AUTO GENERATED FILE -- DO NOT MODIFY!
#
# vAPI stub file for package com.vmware.nsx_policy.infra.tier_0s.locale_services.
#-----------------------------------------... | 44.788329 | 158 | 0.589984 | 12,987 | 129,707 | 5.622315 | 0.02156 | 0.067916 | 0.080118 | 0.098607 | 0.969103 | 0.967021 | 0.96068 | 0.954422 | 0.954422 | 0.951162 | 0 | 0.006352 | 0.300855 | 129,707 | 2,895 | 159 | 44.8038 | 0.798829 | 0.245114 | 0 | 0.80063 | 1 | 0.01574 | 0.332792 | 0.216566 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024134 | false | 0 | 0.006296 | 0 | 0.06086 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
31e42254775bec5ade53d4d62694c34e82bfc631 | 10,651 | py | Python | environment_data.py | Yacine22/test_dome | 5193bf06eb14506d7bd16b3949fdfd199042a901 | [
"BSD-3-Clause"
] | null | null | null | environment_data.py | Yacine22/test_dome | 5193bf06eb14506d7bd16b3949fdfd199042a901 | [
"BSD-3-Clause"
] | null | null | null | environment_data.py | Yacine22/test_dome | 5193bf06eb14506d7bd16b3949fdfd199042a901 | [
"BSD-3-Clause"
] | null | null | null | """
Environment Data -----
"""
from tkinter import *
class environement_data:
global date, place, projectname, object_of_interest
def __init__(self):
self.envi_wind = Tk()
self.envi_wind.attributes('-fullscreen', True)
self.envi_wind.title('environment')
self.fra... | 46.108225 | 159 | 0.51075 | 1,453 | 10,651 | 3.621473 | 0.105299 | 0.037248 | 0.050171 | 0.034588 | 0.915621 | 0.90954 | 0.90954 | 0.90954 | 0.90954 | 0.90954 | 0 | 0.049713 | 0.312553 | 10,651 | 230 | 160 | 46.308696 | 0.668943 | 0.002066 | 0 | 0.884615 | 0 | 0 | 0.072976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0.00641 | 0 | 0.076923 | 0.012821 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
31ea51a93621a8e940204f3b42e9729a2394c63e | 1,134 | py | Python | 2015/Day 3-2.py | exp111/Advent-Of-Code | 22bf06fa33e6baa0904219b2645258da549ad397 | [
"Unlicense"
] | 1 | 2020-03-05T19:54:12.000Z | 2020-03-05T19:54:12.000Z | 2015/Day 3-2.py | exp111/Advent-Of-Code | 22bf06fa33e6baa0904219b2645258da549ad397 | [
"Unlicense"
] | 82 | 2019-10-01T16:19:34.000Z | 2019-12-12T23:26:46.000Z | 2015/Day 3-2.py | exp111/Advent-Of-Code | 22bf06fa33e6baa0904219b2645258da549ad397 | [
"Unlicense"
] | 13 | 2019-10-01T20:39:35.000Z | 2019-10-30T20:43:45.000Z | houses = {(0, 0)}
with open('Day 3 - input', 'r') as f:
directions = f.readline()
current_location = [0, 0]
for direction in directions[::2]:
if direction == '^':
current_location[1] += 1
houses.add(tuple(current_location))
elif direction == '>':
current_... | 32.4 | 47 | 0.544092 | 124 | 1,134 | 4.830645 | 0.217742 | 0.450751 | 0.133556 | 0.200334 | 0.894825 | 0.894825 | 0.894825 | 0.894825 | 0.75793 | 0.75793 | 0 | 0.033943 | 0.324515 | 1,134 | 34 | 48 | 33.352941 | 0.748042 | 0 | 0 | 0.8125 | 0 | 0 | 0.017637 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.03125 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 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 | 9 |
7327fabd8d8ab8703c5617af532639c268872481 | 394 | py | Python | test/test_day_8.py | Sh4der/adventofcode | 1823d7bac33778ef850e384d914843a0c0ded869 | [
"MIT"
] | null | null | null | test/test_day_8.py | Sh4der/adventofcode | 1823d7bac33778ef850e384d914843a0c0ded869 | [
"MIT"
] | null | null | null | test/test_day_8.py | Sh4der/adventofcode | 1823d7bac33778ef850e384d914843a0c0ded869 | [
"MIT"
] | 1 | 2020-12-12T01:11:08.000Z | 2020-12-12T01:11:08.000Z | from test.helper import use_example
class part_1:
@use_example(1)
def test_example_1(self, problem):
assert problem.solve_1() == 5
def test_solution(self, problem):
assert problem.solve_1() == 1134
class part_2:
@use_example(1)
def test_example_1(self, problem):
assert problem.solve_2() == 8
... | 19.7 | 36 | 0.703046 | 60 | 394 | 4.366667 | 0.333333 | 0.122137 | 0.259542 | 0.366412 | 0.770992 | 0.770992 | 0.755725 | 0.755725 | 0.419847 | 0.419847 | 0 | 0.062112 | 0.182741 | 394 | 19 | 37 | 20.736842 | 0.751553 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 1 | 0.307692 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
734f23a6d142536f90cedf5e9d0b410422ce4147 | 2,217 | py | Python | tests/test_utilities/test_csvlook.py | unpingco/csvkit | 1ca505b41ac181d5b9a58006d74f272fc4749f28 | [
"MIT"
] | 1 | 2016-04-19T12:50:54.000Z | 2016-04-19T12:50:54.000Z | tests/test_utilities/test_csvlook.py | unpingco/csvkit | 1ca505b41ac181d5b9a58006d74f272fc4749f28 | [
"MIT"
] | null | null | null | tests/test_utilities/test_csvlook.py | unpingco/csvkit | 1ca505b41ac181d5b9a58006d74f272fc4749f28 | [
"MIT"
] | 1 | 2019-04-04T22:21:54.000Z | 2019-04-04T22:21:54.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import six
try:
import unittest2 as unittest
except ImportError:
import unittest
from csvkit.utilities.csvlook import CSVLook
class TestCSVLook(unittest.TestCase):
def test_simple(self):
args = ['examples/dummy3.csv']
output_file = six.String... | 35.190476 | 81 | 0.540821 | 249 | 2,217 | 4.666667 | 0.240964 | 0.162651 | 0.29432 | 0.371773 | 0.7358 | 0.7358 | 0.7358 | 0.709122 | 0.709122 | 0.645439 | 0 | 0.014715 | 0.233649 | 2,217 | 62 | 82 | 35.758065 | 0.669217 | 0.018945 | 0 | 0.604651 | 0 | 0 | 0.228821 | 0.070902 | 0 | 0 | 0 | 0 | 0.418605 | 1 | 0.069767 | false | 0 | 0.116279 | 0 | 0.209302 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
73543d4d2b7614aa8d88d77da14af2bb756261b5 | 3,988 | py | Python | backend/migrations/versions/4b585a442fb5_add_budget_tables.py | vimofthevine/underbudget4 | c90eecf9879f7ce57c77a68b3f83b1d76c4451af | [
"MIT"
] | null | null | null | backend/migrations/versions/4b585a442fb5_add_budget_tables.py | vimofthevine/underbudget4 | c90eecf9879f7ce57c77a68b3f83b1d76c4451af | [
"MIT"
] | 45 | 2019-12-23T23:45:10.000Z | 2022-03-31T05:01:22.000Z | backend/migrations/versions/4b585a442fb5_add_budget_tables.py | vimofthevine/underbudget4 | c90eecf9879f7ce57c77a68b3f83b1d76c4451af | [
"MIT"
] | 1 | 2020-12-26T17:16:58.000Z | 2020-12-26T17:16:58.000Z | """Add budget tables
Revision ID: 4b585a442fb5
Revises: bb38a05f5353
Create Date: 2021-07-20 11:57:06.311817
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '4b585a442fb5'
down_revision = 'bb38a05f5353'
branch_labels = None
depends_on = None
def upgrade():
... | 41.113402 | 82 | 0.677533 | 492 | 3,988 | 5.365854 | 0.142276 | 0.112121 | 0.210227 | 0.246591 | 0.833712 | 0.807576 | 0.758333 | 0.758333 | 0.725 | 0.701515 | 0 | 0.019448 | 0.136158 | 3,988 | 96 | 83 | 41.541667 | 0.74688 | 0.074975 | 0 | 0.602564 | 0 | 0 | 0.195509 | 0.05805 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.025641 | 0 | 0.051282 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
b438586ae8619a8fd2e6cbc3c27f13e1f1c6732a | 62,320 | py | Python | tests/test_informationmodel.py | Informasjonsforvaltning/modelldcatnotordf | 995129ff9f6fb95f9a9d875b27f3aa14bac9b7f1 | [
"Apache-2.0"
] | 1 | 2020-11-29T18:36:21.000Z | 2020-11-29T18:36:21.000Z | tests/test_informationmodel.py | Informasjonsforvaltning/modelldcatnotordf | 995129ff9f6fb95f9a9d875b27f3aa14bac9b7f1 | [
"Apache-2.0"
] | 142 | 2020-10-07T08:52:55.000Z | 2021-11-18T15:09:31.000Z | tests/test_informationmodel.py | Informasjonsforvaltning/modelldcatnotordf | 995129ff9f6fb95f9a9d875b27f3aa14bac9b7f1 | [
"Apache-2.0"
] | null | null | null | """Test cases for the informationmodel module."""
from typing import List, Union
from concepttordf import Concept, Contact
from datacatalogtordf import Agent, Location, PeriodOfTime, URI
import pytest
from pytest_mock import MockFixture
from rdflib import Graph, Namespace
from skolemizer.testutils import skolemization... | 38.516687 | 88 | 0.658151 | 7,526 | 62,320 | 5.375897 | 0.039463 | 0.051163 | 0.039818 | 0.053091 | 0.906325 | 0.884772 | 0.862701 | 0.857461 | 0.842977 | 0.837885 | 0 | 0.038116 | 0.179509 | 62,320 | 1,617 | 89 | 38.540507 | 0.753134 | 0.042779 | 0 | 0.741821 | 0 | 0.107869 | 0.618091 | 0.042595 | 0 | 0 | 0 | 0 | 0.043324 | 1 | 0.043324 | false | 0 | 0.009726 | 0 | 0.05305 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
81e92850701be0f9d7c9f251247b267924f55744 | 36,712 | py | Python | tests/test_202201/website/utils/test_quota.py | RCOSDP/osf.io | e7d08f9786868471ffba5320e5cf44a900a2b56b | [
"Apache-2.0"
] | null | null | null | tests/test_202201/website/utils/test_quota.py | RCOSDP/osf.io | e7d08f9786868471ffba5320e5cf44a900a2b56b | [
"Apache-2.0"
] | null | null | null | tests/test_202201/website/utils/test_quota.py | RCOSDP/osf.io | e7d08f9786868471ffba5320e5cf44a900a2b56b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
import mock
from nose.tools import * # noqa (PEP8 asserts)
import pytest
from addons.osfstorage.models import OsfStorageFileNode
from api.base import settings as api_settings
from tests.base import OsfTestCase
from osf.models import (
FileLog, FileInfo, TrashedFileNode, Tras... | 36.675325 | 171 | 0.517215 | 3,326 | 36,712 | 5.449489 | 0.055923 | 0.032221 | 0.043697 | 0.050979 | 0.900083 | 0.893959 | 0.8832 | 0.881324 | 0.873103 | 0.867034 | 0 | 0.01523 | 0.379385 | 36,712 | 1,000 | 172 | 36.712 | 0.780284 | 0.001117 | 0 | 0.733115 | 0 | 0 | 0.111214 | 0.01519 | 0 | 0 | 0 | 0 | 0.033769 | 1 | 0.028322 | false | 0 | 0.011983 | 0 | 0.041394 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c30410dbe9a07718f85f686c43839134f8949f11 | 5,689 | py | Python | Python/Crawling/daumCrawling.py | zionhan/TIL | 2b74bf3f977ead3432bde64e9826f505af58de26 | [
"MIT"
] | 1 | 2019-12-28T11:03:27.000Z | 2019-12-28T11:03:27.000Z | Python/Crawling/daumCrawling.py | zionhan/TIL | 2b74bf3f977ead3432bde64e9826f505af58de26 | [
"MIT"
] | null | null | null | Python/Crawling/daumCrawling.py | zionhan/TIL | 2b74bf3f977ead3432bde64e9826f505af58de26 | [
"MIT"
] | null | null | null | from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
from bs4 import BeautifulSoup
import time
import requests
def get_daum_new... | 66.929412 | 833 | 0.796274 | 505 | 5,689 | 8.871287 | 0.344554 | 0.015625 | 0.014732 | 0.01875 | 0.818304 | 0.818304 | 0.788839 | 0.775446 | 0.775446 | 0.775446 | 0 | 0.138579 | 0.101951 | 5,689 | 85 | 834 | 66.929412 | 0.738305 | 0 | 0 | 0.493151 | 0 | 0.109589 | 0.695255 | 0.477329 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041096 | false | 0 | 0.109589 | 0 | 0.205479 | 0.082192 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c308533cc9693b162c6b1b758be2434ea2dda3df | 26,266 | py | Python | accelbyte_py_sdk/api/ugc/wrappers/_admin_content.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/ugc/wrappers/_admin_content.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | accelbyte_py_sdk/api/ugc/wrappers/_admin_content.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: justice_py_sdk_codegen/__main__.py
# pylint: disable=duplicate-code
# pylint: disable=li... | 41.958466 | 507 | 0.723711 | 2,997 | 26,266 | 6.102102 | 0.049716 | 0.041339 | 0.070866 | 0.047244 | 0.895669 | 0.83645 | 0.829998 | 0.828795 | 0.821905 | 0.819937 | 0 | 0.001499 | 0.187314 | 26,266 | 625 | 508 | 42.0256 | 0.855242 | 0.029163 | 0 | 0.793169 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034156 | false | 0 | 0.070209 | 0 | 0.240987 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c31ffdd264dfc2cb03e83b0e5bc15db426e6cb99 | 14,880 | py | Python | tests/custom_ops_attributes_test.py | gglin001/poptorch | 61f38ed2d8c6b672e023862eb698865fa7f4724e | [
"MIT"
] | 128 | 2020-12-08T22:22:46.000Z | 2022-03-23T10:54:26.000Z | tests/custom_ops_attributes_test.py | gglin001/poptorch | 61f38ed2d8c6b672e023862eb698865fa7f4724e | [
"MIT"
] | 4 | 2021-06-22T14:26:28.000Z | 2022-02-15T11:25:05.000Z | tests/custom_ops_attributes_test.py | gglin001/poptorch | 61f38ed2d8c6b672e023862eb698865fa7f4724e | [
"MIT"
] | 7 | 2020-12-09T20:32:56.000Z | 2022-01-18T16:12:24.000Z | #!/usr/bin/env python3
# Copyright (c) 2021 Graphcore Ltd. All rights reserved.
import collections
import ctypes
import pathlib
import random
import sys
import pytest
import torch
import poptorch
import helpers
myso = list(pathlib.Path("tests").rglob("libcustom_*.*"))
assert myso, "Failed to find libcustom_* librari... | 30.680412 | 78 | 0.478898 | 1,550 | 14,880 | 4.454194 | 0.103226 | 0.031286 | 0.04128 | 0.046784 | 0.874421 | 0.859357 | 0.848494 | 0.834733 | 0.830243 | 0.794177 | 0 | 0.036541 | 0.402285 | 14,880 | 484 | 79 | 30.743802 | 0.739712 | 0.008871 | 0 | 0.771739 | 0 | 0 | 0.096378 | 0.006782 | 0 | 0 | 0 | 0 | 0.040761 | 1 | 0.097826 | false | 0 | 0.024457 | 0 | 0.220109 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c32e9b53336e006acbe0983fa84ad8a451f2cc61 | 2,003 | py | Python | tests/test_cloud_led.py | ichigozero/pytenki | 4fe2861b38f65be73bbc518094723e2b27e4aa9b | [
"MIT"
] | 1 | 2021-10-15T20:50:56.000Z | 2021-10-15T20:50:56.000Z | tests/test_cloud_led.py | ichigozero/pytenki | 4fe2861b38f65be73bbc518094723e2b27e4aa9b | [
"MIT"
] | null | null | null | tests/test_cloud_led.py | ichigozero/pytenki | 4fe2861b38f65be73bbc518094723e2b27e4aa9b | [
"MIT"
] | null | null | null | import pytest
def spy_cloud_led(mocker, pytenki_init, func_name, weather):
spy = mocker.spy(pytenki_init._leds.cloud, func_name)
pytenki_init._forecast = {'weather': weather}
pytenki_init._operate_cloud_led()
return spy
@pytest.mark.parametrize(
'weather', [
'曇り',
'曇のち晴',
... | 29.895522 | 67 | 0.667998 | 263 | 2,003 | 4.855513 | 0.140684 | 0.148786 | 0.176194 | 0.234926 | 0.81206 | 0.81206 | 0.743148 | 0.743148 | 0.743148 | 0.743148 | 0 | 0.002451 | 0.185222 | 2,003 | 66 | 68 | 30.348485 | 0.780025 | 0 | 0 | 0.5 | 0 | 0 | 0.056915 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.092593 | false | 0 | 0.018519 | 0 | 0.12963 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
c36d23a4744adda2456b2016838daf558eb44f79 | 2,270 | py | Python | tests/test_jwt_pop_proxy.py | SOFIE-project/IAA | 59b6f88e19164341c944fca35bf7151c88dc83a4 | [
"Apache-2.0"
] | null | null | null | tests/test_jwt_pop_proxy.py | SOFIE-project/IAA | 59b6f88e19164341c944fca35bf7151c88dc83a4 | [
"Apache-2.0"
] | null | null | null | tests/test_jwt_pop_proxy.py | SOFIE-project/IAA | 59b6f88e19164341c944fca35bf7151c88dc83a4 | [
"Apache-2.0"
] | null | null | null | import pytest
import requests
import jwt
import nacl.signing
import nacl.encoding
privateKeyHex = '826CB6B9EA7C0752F78F600805F9005ACB66CAA340B0F5CFA6BF41D470D49475'
publicKeyHex = 'E390CF3B5B93E921C45ED978737D89F61B8CAFF9DE76BFA5F63DA20386BCCA3B'
class TestJWTwithPoP:
def test_valid_bearer_get(self):
to... | 87.307692 | 709 | 0.879736 | 107 | 2,270 | 18.523364 | 0.476636 | 0.010091 | 0.045409 | 0.359233 | 0.854692 | 0.854692 | 0.854692 | 0.854692 | 0.854692 | 0.854692 | 0 | 0.12654 | 0.070485 | 2,270 | 25 | 710 | 90.8 | 0.812796 | 0 | 0 | 0.5 | 0 | 0 | 0.734244 | 0.665491 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | false | 0 | 0.25 | 0 | 0.4 | 0.1 | 0 | 0 | 1 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
48a5898bd09329f72b9a80b34b4ede612a11e25f | 14,003 | py | Python | tools/perf/core/results_merger_unittest.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | tools/perf/core/results_merger_unittest.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | tools/perf/core/results_merger_unittest.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | # Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import json
import unittest
from core import results_merger
class ResultMergerTest(unittest.TestCase):
def setUp(self):
self.sample_json_string = '''... | 30.24406 | 80 | 0.501535 | 1,427 | 14,003 | 4.69096 | 0.082691 | 0.064535 | 0.087392 | 0.090828 | 0.866448 | 0.843741 | 0.840604 | 0.805348 | 0.739618 | 0.727965 | 0 | 0.032814 | 0.344926 | 14,003 | 462 | 81 | 30.309524 | 0.696937 | 0.011069 | 0 | 0.558824 | 0 | 0 | 0.473779 | 0.008162 | 0 | 0 | 0 | 0 | 0.085973 | 1 | 0.033937 | false | 0.088235 | 0.006787 | 0 | 0.042986 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
48bf48aa7d2f3f0db7ce3cf197610093680bd8aa | 43,749 | py | Python | dannce/engine/nets.py | diegoaldarondo/dannce | 62c8f3fe3ab70bc31830619fdfdb0856bbee7053 | [
"MIT"
] | 1 | 2021-12-07T20:46:58.000Z | 2021-12-07T20:46:58.000Z | dannce/engine/nets.py | diegoaldarondo/dannce | 62c8f3fe3ab70bc31830619fdfdb0856bbee7053 | [
"MIT"
] | null | null | null | dannce/engine/nets.py | diegoaldarondo/dannce | 62c8f3fe3ab70bc31830619fdfdb0856bbee7053 | [
"MIT"
] | null | null | null | """Define networks for dannce."""
from tensorflow.keras.models import Model
from tensorflow.keras.layers import Input, concatenate, Conv2D, MaxPooling2D
from tensorflow.keras.layers import Conv2DTranspose, Conv3D, Lambda
from tensorflow.keras.layers import MaxPooling3D, Conv3DTranspose
from tensorflow.keras.layers impo... | 31.887026 | 135 | 0.612563 | 5,525 | 43,749 | 4.767421 | 0.057195 | 0.018983 | 0.051936 | 0.075019 | 0.923083 | 0.907783 | 0.907479 | 0.901177 | 0.901177 | 0.900759 | 0 | 0.071977 | 0.229262 | 43,749 | 1,371 | 136 | 31.910284 | 0.709185 | 0.089762 | 0 | 0.818898 | 0 | 0 | 0.051336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03937 | false | 0 | 0.01378 | 0.020669 | 0.09252 | 0.024606 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
48c90c36e64ca371bb1d177867fde86079ddd988 | 1,031 | py | Python | typesafety/pyright/ordering.py | matyasrichter/prisma-client-py | 1b320ba32ff8c70c7481396e2ecf5a3fcbf4b5c7 | [
"Apache-2.0"
] | null | null | null | typesafety/pyright/ordering.py | matyasrichter/prisma-client-py | 1b320ba32ff8c70c7481396e2ecf5a3fcbf4b5c7 | [
"Apache-2.0"
] | 8 | 2022-03-03T02:26:41.000Z | 2022-03-30T12:39:20.000Z | typesafety/pyright/ordering.py | matyasrichter/prisma-client-py | 1b320ba32ff8c70c7481396e2ecf5a3fcbf4b5c7 | [
"Apache-2.0"
] | null | null | null | from prisma import Prisma
async def order(client: Prisma) -> None:
# case: valid
await client.post.find_first(
order={
'desc': 'asc',
},
)
await client.post.find_first(
order={
'title': 'asc',
},
)
await client.post.find_first(
or... | 28.638889 | 185 | 0.530553 | 111 | 1,031 | 4.864865 | 0.315315 | 0.116667 | 0.138889 | 0.175926 | 0.816667 | 0.816667 | 0.816667 | 0.762963 | 0.614815 | 0.614815 | 0 | 0 | 0.325897 | 1,031 | 35 | 186 | 29.457143 | 0.776978 | 0.352085 | 0 | 0.6 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.033333 | 0 | 0.033333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
48ebe2496336990854c3ae00367a5ca42c22850e | 25,808 | py | Python | mkdocs/tests/nav_tests.py | bxiaopeng/mkdocs | 4c4ef7fa7224713e17d479742c2df1b2fc78edcb | [
"BSD-2-Clause"
] | 9 | 2019-04-06T09:57:53.000Z | 2022-03-17T09:48:50.000Z | mkdocs/tests/nav_tests.py | hufyhang/mkdocs | 4c4ef7fa7224713e17d479742c2df1b2fc78edcb | [
"BSD-2-Clause"
] | null | null | null | mkdocs/tests/nav_tests.py | hufyhang/mkdocs | 4c4ef7fa7224713e17d479742c2df1b2fc78edcb | [
"BSD-2-Clause"
] | 9 | 2018-03-15T06:00:26.000Z | 2022-03-10T14:54:36.000Z | #!/usr/bin/env python
# coding: utf-8
from __future__ import unicode_literals
import mock
import os
import unittest
from mkdocs import nav, legacy
from mkdocs.exceptions import ConfigurationError
from mkdocs.tests.base import dedent
class SiteNavigationTests(unittest.TestCase):
def test_simple_toc(self):
... | 34.002635 | 90 | 0.504301 | 2,484 | 25,808 | 5.07971 | 0.074879 | 0.098748 | 0.054684 | 0.035505 | 0.90355 | 0.868363 | 0.83896 | 0.815422 | 0.804486 | 0.794817 | 0 | 0.003793 | 0.366708 | 25,808 | 758 | 91 | 34.047493 | 0.768233 | 0.026193 | 0 | 0.774295 | 0 | 0 | 0.373644 | 0.06537 | 0 | 0 | 0 | 0 | 0.08464 | 1 | 0.04232 | false | 0 | 0.010972 | 0.003135 | 0.059561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
48fdf52dd9fc74f8147c7998277d462a780549b4 | 129 | py | Python | src/simmate/calculators/vasp/workflows/population_analysis/__init__.py | jacksund/simmate | 0b29704540574e11b711f7b44e2cb7740141ebb4 | [
"BSD-3-Clause"
] | 9 | 2021-12-21T02:58:21.000Z | 2022-01-25T14:00:06.000Z | src/simmate/calculators/vasp/workflows/population_analysis/__init__.py | jacksund/simmate | 0b29704540574e11b711f7b44e2cb7740141ebb4 | [
"BSD-3-Clause"
] | 51 | 2022-01-01T15:59:58.000Z | 2022-03-26T21:25:42.000Z | src/simmate/calculators/vasp/workflows/population_analysis/__init__.py | jacksund/simmate | 0b29704540574e11b711f7b44e2cb7740141ebb4 | [
"BSD-3-Clause"
] | 7 | 2022-01-01T03:44:32.000Z | 2022-03-29T19:59:27.000Z | # -*- coding: utf-8 -*-
from .bader import workflow as bader_matproj_workflow
from .elf import workflow as elf_matproj_workflow
| 25.8 | 53 | 0.775194 | 19 | 129 | 5.052632 | 0.526316 | 0.291667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.139535 | 129 | 4 | 54 | 32.25 | 0.855856 | 0.162791 | 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 | 1 | 0 | 0 | 7 |
5b0a712f0b47b0dd6f47afbcee3c557bf798eb34 | 31,555 | py | Python | datadotworld/client/_swagger/apis/metadatacollections_api.py | DanialBetres/data.world-py | 0e3acf2be9a07c5ab62ecac9289eb662088d54c7 | [
"Apache-2.0"
] | 99 | 2017-01-23T16:24:18.000Z | 2022-03-30T22:51:58.000Z | datadotworld/client/_swagger/apis/metadatacollections_api.py | DanialBetres/data.world-py | 0e3acf2be9a07c5ab62ecac9289eb662088d54c7 | [
"Apache-2.0"
] | 77 | 2017-01-26T04:33:06.000Z | 2022-03-11T09:39:50.000Z | datadotworld/client/_swagger/apis/metadatacollections_api.py | DanialBetres/data.world-py | 0e3acf2be9a07c5ab62ecac9289eb662088d54c7 | [
"Apache-2.0"
] | 29 | 2017-01-25T16:55:23.000Z | 2022-01-31T01:44:15.000Z | # coding: utf-8
"""
data.world API
# data.world in a nutshell data.world is a productive, secure platform for modern data teamwork. We bring together your data practitioners, subject matter experts, and other stakeholders by removing costly barriers to data discovery, comprehension, integration, and sharing... | 43.166895 | 1,984 | 0.573221 | 3,265 | 31,555 | 5.359877 | 0.093721 | 0.054857 | 0.029714 | 0.024686 | 0.870971 | 0.8544 | 0.851829 | 0.8468 | 0.8392 | 0.831371 | 0 | 0.000386 | 0.343337 | 31,555 | 730 | 1,985 | 43.226027 | 0.844168 | 0.350467 | 0 | 0.776536 | 0 | 0 | 0.170164 | 0.033002 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036313 | false | 0 | 0.019553 | 0 | 0.108939 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d2a7d8541530b20e69dfaba5d922c9b7459d16f3 | 2,978 | py | Python | src/tests/server_conf_test.py | burlamix/script-server | 5dce4ac0a4772f93124b09431247743ff539d112 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/tests/server_conf_test.py | burlamix/script-server | 5dce4ac0a4772f93124b09431247743ff539d112 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/tests/server_conf_test.py | burlamix/script-server | 5dce4ac0a4772f93124b09431247743ff539d112 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | import unittest
from auth.authorization import ANY_USER
from model.server_conf import _prepare_allowed_users
class TestPrepareAllowedUsers(unittest.TestCase):
def test_keep_allowed_users_without_admins_and_groups(self):
allowed_users = _prepare_allowed_users(['user1', 'user2'], None, None)
self.a... | 45.815385 | 107 | 0.677636 | 344 | 2,978 | 5.44186 | 0.145349 | 0.262821 | 0.142094 | 0.159722 | 0.824786 | 0.819444 | 0.776709 | 0.755342 | 0.752137 | 0.680556 | 0 | 0.027325 | 0.176629 | 2,978 | 64 | 108 | 46.53125 | 0.736134 | 0 | 0 | 0.285714 | 0 | 0 | 0.121222 | 0 | 0 | 0 | 0 | 0 | 0.265306 | 1 | 0.265306 | false | 0 | 0.061224 | 0 | 0.346939 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d2e949dbf32e3affeb344653d993e5c1ea22e252 | 10,736 | py | Python | src/core/python/tests/test_path.py | railtoolkit/OpenLinTim | 27eba8b6038946ce162e9f7bbc0bd23045029d51 | [
"MIT"
] | null | null | null | src/core/python/tests/test_path.py | railtoolkit/OpenLinTim | 27eba8b6038946ce162e9f7bbc0bd23045029d51 | [
"MIT"
] | null | null | null | src/core/python/tests/test_path.py | railtoolkit/OpenLinTim | 27eba8b6038946ce162e9f7bbc0bd23045029d51 | [
"MIT"
] | null | null | null | import unittest
from abc import abstractmethod, ABCMeta
from tests.graph_impl import AbstractNode, AbstractEdge
class PathTest(metaclass=ABCMeta):
@abstractmethod
def setDirectedPath(self):
raise NotImplementedError
@abstractmethod
def setUndirectedPath(self):
raise NotImplement... | 42.772908 | 59 | 0.641673 | 1,224 | 10,736 | 5.589869 | 0.051471 | 0.126279 | 0.109325 | 0.11254 | 0.941684 | 0.93613 | 0.927653 | 0.927653 | 0.914791 | 0.900175 | 0 | 0.046618 | 0.224758 | 10,736 | 250 | 60 | 42.944 | 0.775442 | 0.0068 | 0 | 0.900433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458874 | 1 | 0.056277 | false | 0 | 0.012987 | 0 | 0.073593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
961b40fb1733c160ea5553536ae08bd558a3a370 | 317,572 | py | Python | bundle_cache/app_store/tk-flame-review/v1.3.0/python/tk_flame_review/ui/resources_rc.py | ColinKennedy/tk-config-default2-respawn | 855fb8033daa549b92615792442f19a7f9c4f55c | [
"Linux-OpenIB"
] | 4 | 2019-01-11T03:41:28.000Z | 2019-09-12T06:57:17.000Z | bundle_cache/app_store/tk-flame-review/v1.3.0/python/tk_flame_review/ui/resources_rc.py | ColinKennedy/tk-config-default2-respawn | 855fb8033daa549b92615792442f19a7f9c4f55c | [
"Linux-OpenIB"
] | null | null | null | bundle_cache/app_store/tk-flame-review/v1.3.0/python/tk_flame_review/ui/resources_rc.py | ColinKennedy/tk-config-default2-respawn | 855fb8033daa549b92615792442f19a7f9c4f55c | [
"Linux-OpenIB"
] | 2 | 2019-01-10T05:00:18.000Z | 2020-02-15T16:32:56.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# by: The Resource Compiler for PySide (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from tank.platform.qt import QtCore
qt_resource_data = "\x00\x00Fw\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x01\xb5\x00\x00\x00U\x08\x06\x00\x00\... | 15,122.47619 | 316,363 | 0.740963 | 72,595 | 317,572 | 3.235416 | 0.134637 | 0.004675 | 0.006667 | 0.008839 | 0.02199 | 0.020649 | 0.019968 | 0.018354 | 0.017316 | 0.016762 | 0 | 0.237724 | 0.002377 | 317,572 | 20 | 316,364 | 15,878.6 | 0.503635 | 0.000469 | 0 | 0 | 0 | 0.333333 | 0.998831 | 0.994027 | 0 | 1 | 0.000025 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
96201d39151c015d4d7889f38abf6dbb7a38db31 | 17,153 | py | Python | networkapi/api_network/tests/v3/sanity/networkipv6/sync/test_put.py | vinicius-marinho/GloboNetworkAPI | 94651d3b4dd180769bc40ec966814f3427ccfb5b | [
"Apache-2.0"
] | 1 | 2016-09-03T02:26:45.000Z | 2016-09-03T02:26:45.000Z | networkapi/api_network/tests/v3/sanity/networkipv6/sync/test_put.py | leopoldomauricio/GloboNetworkAPI | 3b5b2e336d9eb53b2c113977bfe466b23a50aa29 | [
"Apache-2.0"
] | 3 | 2021-03-26T00:49:35.000Z | 2021-06-10T23:57:07.000Z | networkapi/api_network/tests/v3/sanity/networkipv6/sync/test_put.py | shildenbrand/GloboNetworkAPI | 515d5e961456cee657c08c275faa1b69b7452719 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import json
from django.test.client import Client
from networkapi.test.test_case import NetworkApiTestCase
class NetworkIPv6PutSuccessTestCase(NetworkApiTestCase):
fixtures = [
'networkapi/system/fixtures/initial_variables.json',
'networkapi/usuario/fixtures/initial_usua... | 42.989975 | 91 | 0.702384 | 2,002 | 17,153 | 5.743257 | 0.072428 | 0.109584 | 0.093147 | 0.118977 | 0.957036 | 0.955992 | 0.938511 | 0.921726 | 0.919377 | 0.90868 | 0 | 0.011727 | 0.19466 | 17,153 | 398 | 92 | 43.09799 | 0.820617 | 0.060864 | 0 | 0.86194 | 0 | 0 | 0.479236 | 0.441226 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05597 | false | 0.011194 | 0.011194 | 0 | 0.100746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
825fa1ade123bff7d74f16ffdff1377040a776ad | 2,732 | py | Python | carbon0/accounts/migrations/0004_auto_20201130_1544.py | Carbon0-Games/carbon0-web-app | 068a7223b2717d602944ec561adcde39930cba85 | [
"MIT"
] | 2 | 2020-10-30T15:07:28.000Z | 2020-12-22T04:29:50.000Z | carbon0/accounts/migrations/0004_auto_20201130_1544.py | Carbon0-Games/carbon0-web-app | 068a7223b2717d602944ec561adcde39930cba85 | [
"MIT"
] | 45 | 2020-09-22T12:47:55.000Z | 2022-03-12T00:48:18.000Z | carbon0/accounts/migrations/0004_auto_20201130_1544.py | Carbon0-Games/carbon0-web-app | 068a7223b2717d602944ec561adcde39930cba85 | [
"MIT"
] | 1 | 2020-09-08T15:48:13.000Z | 2020-09-08T15:48:13.000Z | # Generated by Django 3.1.1 on 2020-11-30 20:44
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("accounts", "0003_profile_users_footprint"),
]
operations = [
migrations.AddField(
model_name="profile",
name="diet_l... | 32.52381 | 101 | 0.437775 | 220 | 2,732 | 5.354545 | 0.254545 | 0.076401 | 0.097623 | 0.114601 | 0.813243 | 0.813243 | 0.780985 | 0.73854 | 0.73854 | 0.73854 | 0 | 0.02967 | 0.457174 | 2,732 | 83 | 102 | 32.915663 | 0.764666 | 0.016471 | 0 | 0.779221 | 1 | 0 | 0.271508 | 0.010428 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.051948 | 0.012987 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
827f17b6b9816050c15c8bbcb3070f810c01d50b | 165,518 | py | Python | openeo/processes.py | clausmichele/openeo-python-client | b20af2b24fcb12d0fce0e2acdb8afeeb881ff454 | [
"Apache-2.0"
] | null | null | null | openeo/processes.py | clausmichele/openeo-python-client | b20af2b24fcb12d0fce0e2acdb8afeeb881ff454 | [
"Apache-2.0"
] | null | null | null | openeo/processes.py | clausmichele/openeo-python-client | b20af2b24fcb12d0fce0e2acdb8afeeb881ff454 | [
"Apache-2.0"
] | null | null | null |
# This file is automatically generated.
# Do not edit directly.
from openeo.internal.processes.builder import ProcessBuilderBase, UNSET
class ProcessBuilder(ProcessBuilderBase):
def __add__(self, other) -> 'ProcessBuilder':
return self.add(other)
def __sub__(self, other) -> 'ProcessBuilder':
... | 46.105292 | 149 | 0.67847 | 22,592 | 165,518 | 4.944184 | 0.042537 | 0.009042 | 0.006929 | 0.014503 | 0.955837 | 0.939946 | 0.926051 | 0.89127 | 0.878943 | 0.860178 | 0 | 0.003842 | 0.245091 | 165,518 | 3,589 | 150 | 46.118139 | 0.890101 | 0.722973 | 0 | 0 | 1 | 0 | 0.086868 | 0.004894 | 0 | 0 | 0 | 0 | 0 | 1 | 0.49697 | false | 0 | 0.00202 | 0.012121 | 0.99798 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
8292c349ea36219d4e32791fbf2be36d55169a8f | 138,735 | py | Python | stubs.min/System/Text/__init__.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/System/Text/__init__.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/Text/__init__.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | # encoding: utf-8
# module System.Text calls itself Text
# from mscorlib,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089,System,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089
# by generator 1.145
# no doc
# no imports
# no functions
# classes
class Encoding(object,ICloneable... | 39.235011 | 271 | 0.712019 | 17,851 | 138,735 | 5.480029 | 0.031483 | 0.022111 | 0.020016 | 0.01423 | 0.86949 | 0.841317 | 0.812541 | 0.781833 | 0.755765 | 0.724096 | 0 | 0.002608 | 0.223303 | 138,735 | 3,535 | 272 | 39.24611 | 0.905229 | 0.77341 | 0 | 0.810078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.399225 | false | 0.399225 | 0 | 0 | 0.569767 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
82ce5880ca77e2814d29b42fa862c80eaceeb6b7 | 46,675 | py | Python | rotkehlchen/constants/ethereum.py | MuffinsThaCat/rotki | dea11015a2f92fa04b018eec8887c46333f8914f | [
"BSD-3-Clause"
] | null | null | null | rotkehlchen/constants/ethereum.py | MuffinsThaCat/rotki | dea11015a2f92fa04b018eec8887c46333f8914f | [
"BSD-3-Clause"
] | null | null | null | rotkehlchen/constants/ethereum.py | MuffinsThaCat/rotki | dea11015a2f92fa04b018eec8887c46333f8914f | [
"BSD-3-Clause"
] | null | null | null | # flake8: noqa
from typing import Any, Dict, List, NamedTuple
from rotkehlchen.serialization.deserialize import deserialize_ethereum_address
from rotkehlchen.typing import ChecksumEthAddress
class EthereumContract(NamedTuple):
address: ChecksumEthAddress
abi: List[Dict[str, Any]]
deployed_block: int
# ... | 536.494253 | 7,751 | 0.668645 | 4,702 | 46,675 | 6.618673 | 0.047427 | 0.068925 | 0.150092 | 0.114135 | 0.939944 | 0.912021 | 0.888307 | 0.873783 | 0.868867 | 0.862472 | 0 | 0.034513 | 0.00737 | 46,675 | 86 | 7,752 | 542.732558 | 0.637198 | 0.003685 | 0 | 0.103896 | 0 | 0 | 0.595583 | 0.012645 | 0 | 0 | 0.012645 | 0 | 0 | 1 | 0 | false | 0 | 0.038961 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.