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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f1d2e1382866e3792ca99da82abb9601f5de52ef | 5,669 | py | Python | python/test_alpenglow/experiments/test_TransitionProbabilityExperiment.py | fbobee/Alpenglow | 5f956511017c1bee72390aaecd964c04d8ad4b45 | [
"Apache-2.0"
] | 28 | 2017-07-23T22:47:44.000Z | 2022-03-12T15:11:13.000Z | python/test_alpenglow/experiments/test_TransitionProbabilityExperiment.py | fbobee/Alpenglow | 5f956511017c1bee72390aaecd964c04d8ad4b45 | [
"Apache-2.0"
] | 4 | 2017-05-10T10:23:17.000Z | 2019-05-23T14:07:09.000Z | python/test_alpenglow/experiments/test_TransitionProbabilityExperiment.py | fbobee/Alpenglow | 5f956511017c1bee72390aaecd964c04d8ad4b45 | [
"Apache-2.0"
] | 9 | 2017-05-04T09:20:58.000Z | 2021-12-14T08:19:01.000Z | import alpenglow as prs
import alpenglow.Getter as rs
import alpenglow.experiments
import pandas as pd
import math
class TestTransitionProbabilityExperiment:
def test_transitionProbabilityExperiment(self):
data = pd.read_csv(
"python/test_alpenglow/test_data_4",
sep=' ',
... | 226.76 | 4,856 | 0.593932 | 1,092 | 5,669 | 3.072344 | 0.063187 | 1.495082 | 2.057526 | 2.518033 | 0.83845 | 0.837258 | 0.831595 | 0.825335 | 0.80924 | 0.798808 | 0 | 0.642247 | 0.215029 | 5,669 | 24 | 4,857 | 236.208333 | 0.111685 | 0 | 0 | 0 | 0 | 0 | 0.01076 | 0.005821 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.045455 | false | 0 | 0.227273 | 0 | 0.318182 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
7b3a55e74240b4f305c5ea2e45c4eef7c13bc5a5 | 3,838 | py | Python | tests/test_queries.py | dioptra-io/diamond-miner | fae066bef872f5c3eb4ef732dd90237c9cb5c003 | [
"MIT"
] | 5 | 2021-08-04T13:56:38.000Z | 2022-03-17T01:20:14.000Z | tests/test_queries.py | dioptra-io/diamond-miner | fae066bef872f5c3eb4ef732dd90237c9cb5c003 | [
"MIT"
] | 28 | 2021-08-01T05:05:28.000Z | 2022-03-01T05:06:27.000Z | tests/test_queries.py | dioptra-io/diamond-miner | fae066bef872f5c3eb4ef732dd90237c9cb5c003 | [
"MIT"
] | null | null | null | def test_get_links_nsdi():
"""
>>> from diamond_miner.test import url
>>> from diamond_miner.queries import GetLinks
>>> rows = GetLinks().execute(url, 'test_nsdi_example')
>>> links = [(row["near_addr"], row["far_addr"]) for row in rows]
>>> sorted(links)[:3]
[('::ffff:150.0.1.1', '::ffff:1... | 34.576577 | 130 | 0.589109 | 594 | 3,838 | 3.631313 | 0.149832 | 0.071395 | 0.081595 | 0.066759 | 0.798331 | 0.757997 | 0.750116 | 0.750116 | 0.72879 | 0.661567 | 0 | 0.088563 | 0.182126 | 3,838 | 110 | 131 | 34.890909 | 0.598598 | 0.865294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0 | 1 | 1 | true | 0 | 0 | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
7b83324ae81f0f298041d0b42455b2441a4c8c2b | 2,601 | py | Python | Python_projects/project02/proj02.py | helpmoeny/pythoncode | 0e2a0a3d3243323dd9e970daaf3b6c347900c694 | [
"Unlicense"
] | null | null | null | Python_projects/project02/proj02.py | helpmoeny/pythoncode | 0e2a0a3d3243323dd9e970daaf3b6c347900c694 | [
"Unlicense"
] | null | null | null | Python_projects/project02/proj02.py | helpmoeny/pythoncode | 0e2a0a3d3243323dd9e970daaf3b6c347900c694 | [
"Unlicense"
] | null | null | null | #code=input("Enter customer code:")
while True:
print("")
code=input("Enter customer code:")
bill_float = 0
bill = float(bill_float)
if code == "r":
begin_int=input("Enter beginning meter reading:")
begin = float(begin_int)
end_int=input("Enter ending meter reading:")
... | 34.68 | 81 | 0.557862 | 314 | 2,601 | 4.519108 | 0.16879 | 0.10148 | 0.054968 | 0.109937 | 0.881607 | 0.844961 | 0.780127 | 0.780127 | 0.780127 | 0.780127 | 0 | 0.074593 | 0.314494 | 2,601 | 74 | 82 | 35.148649 | 0.721256 | 0.013072 | 0 | 0.753425 | 0 | 0 | 0.231878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.315068 | 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 |
c88f566de08e0bd516746fe8a29e3b465476167d | 4,052 | py | Python | test/functions/lambda6.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 1,482 | 2015-10-16T21:59:32.000Z | 2022-03-30T11:44:40.000Z | test/functions/lambda6.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 226 | 2015-10-15T15:53:44.000Z | 2022-03-25T03:08:27.000Z | test/functions/lambda6.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 129 | 2015-10-20T02:41:49.000Z | 2022-03-22T01:44:36.000Z | anon = lambda a=123, c={'': 555}, \
d=toow(24): None
anon : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
lambda : meta.lambda-function.python, source.python, storage.type.function.lambda.pytho... | 101.3 | 191 | 0.731737 | 465 | 4,052 | 6.376344 | 0.088172 | 0.185497 | 0.200337 | 0.226644 | 0.904216 | 0.877909 | 0.839798 | 0.839798 | 0.839798 | 0.839798 | 0 | 0.004651 | 0.151037 | 4,052 | 39 | 192 | 103.897436 | 0.857267 | 0 | 0 | 0.388889 | 0 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
c892c8d99d370c3963a049c82dd63c807f246756 | 63,027 | py | Python | tccli/services/tdmq/tdmq_client.py | zqfan/tencentcloud-cli | b6ad9fced2a2b340087e4e5522121d405f68b615 | [
"Apache-2.0"
] | null | null | null | tccli/services/tdmq/tdmq_client.py | zqfan/tencentcloud-cli | b6ad9fced2a2b340087e4e5522121d405f68b615 | [
"Apache-2.0"
] | null | null | null | tccli/services/tdmq/tdmq_client.py | zqfan/tencentcloud-cli | b6ad9fced2a2b340087e4e5522121d405f68b615 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import json
import tccli.options_define as OptionsDefine
import tccli.format_output as FormatOutput
from tccli import __version__
from tccli.utils import Utils
from tccli.exceptions import ConfigurationError
from tencentcloud.common import credential
from tencentcloud.common.profile.ht... | 43.43694 | 105 | 0.727958 | 7,149 | 63,027 | 6.177228 | 0.037348 | 0.080705 | 0.23018 | 0.058287 | 0.849754 | 0.845701 | 0.844071 | 0.84244 | 0.840312 | 0.791219 | 0 | 0.008675 | 0.164184 | 63,027 | 1,450 | 106 | 43.466897 | 0.829629 | 0.007949 | 0 | 0.71831 | 0 | 0 | 0.040912 | 0.005794 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039124 | false | 0 | 0.00939 | 0.000782 | 0.050078 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 8 |
c8e96fecb1894a2e49c753ad89364c93fb6aab06 | 160 | py | Python | email_tracker/tests/__init__.py | MagicSolutions/django-email-tracker | 55a9ca1a958283bb94541d5fea548521cec39101 | [
"MIT"
] | 1 | 2021-04-05T12:37:51.000Z | 2021-04-05T12:37:51.000Z | email_tracker/tests/__init__.py | IndustriaTech/django-email-tracker | 55a9ca1a958283bb94541d5fea548521cec39101 | [
"MIT"
] | null | null | null | email_tracker/tests/__init__.py | IndustriaTech/django-email-tracker | 55a9ca1a958283bb94541d5fea548521cec39101 | [
"MIT"
] | null | null | null | import django
if django.VERSION < (1, 7):
from .test_models import * # NOQA
from .test_backend import * # NOQA
from .test_admin import * # NOQA
| 22.857143 | 39 | 0.65 | 22 | 160 | 4.590909 | 0.545455 | 0.237624 | 0.277228 | 0.356436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016807 | 0.25625 | 160 | 6 | 40 | 26.666667 | 0.831933 | 0.0875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
740066e48ac1d21fe23291d4d94a335c3e0ad3ff | 31,901 | py | Python | src/transformers/data/data_collator.py | Tarpelite/title_generation | 8b9a9878e42ef1217b346daf492450c3d004dd21 | [
"MIT"
] | 1 | 2020-07-23T11:28:48.000Z | 2020-07-23T11:28:48.000Z | src/transformers/data/data_collator.py | Tarpelite/title_generation | 8b9a9878e42ef1217b346daf492450c3d004dd21 | [
"MIT"
] | null | null | null | src/transformers/data/data_collator.py | Tarpelite/title_generation | 8b9a9878e42ef1217b346daf492450c3d004dd21 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from dataclasses import dataclass
from typing import Any, Dict, List, NewType, Tuple
import torch
from torch.nn.utils.rnn import pad_sequence
from ..tokenization_utils import PreTrainedTokenizer
from ..modeling_utils import PreTrainedModel
from ..data.datasets.language_modeling imp... | 44.123098 | 165 | 0.657973 | 4,060 | 31,901 | 4.971429 | 0.073645 | 0.050238 | 0.022196 | 0.029132 | 0.849881 | 0.835067 | 0.827636 | 0.821195 | 0.804102 | 0.797761 | 0 | 0.010589 | 0.251027 | 31,901 | 722 | 166 | 44.184211 | 0.834177 | 0.146704 | 0 | 0.763265 | 0 | 0.012245 | 0.080502 | 0.008251 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04898 | false | 0.002041 | 0.018367 | 0 | 0.226531 | 0.004082 | 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 |
cdb249ed05f8300de6e539debc29853093859b65 | 717 | py | Python | intake/catalog/tests/test_utils.py | danielballan/intake | 5a70b7981b76717203f8f5ba74c0aea345405c8c | [
"BSD-2-Clause"
] | null | null | null | intake/catalog/tests/test_utils.py | danielballan/intake | 5a70b7981b76717203f8f5ba74c0aea345405c8c | [
"BSD-2-Clause"
] | null | null | null | intake/catalog/tests/test_utils.py | danielballan/intake | 5a70b7981b76717203f8f5ba74c0aea345405c8c | [
"BSD-2-Clause"
] | null | null | null | from .. import utils
def test_expand_templates():
pars = {'a': "{{par}} hi"}
context = {'b': 1, 'par': 'ho'}
assert utils.expand_templates(pars, context)['a'] == 'ho hi'
assert utils.expand_templates(pars, context, True)[1] == {'b'}
def test_expand_nested_template():
pars = {'a': ["{{par}} hi"]}... | 34.142857 | 77 | 0.563459 | 95 | 717 | 4.136842 | 0.210526 | 0.267176 | 0.338422 | 0.396947 | 0.819338 | 0.819338 | 0.819338 | 0.819338 | 0.819338 | 0.819338 | 0 | 0.010292 | 0.18689 | 717 | 20 | 78 | 35.85 | 0.663808 | 0 | 0 | 0.4 | 0 | 0 | 0.103208 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
cdcfedf06a7d46ec18510d1f96506e94ba911a46 | 1,499 | py | Python | utils/listfile_reader.py | Cogito2012/3DFaceRecon | 8119b93165033713e06145d0135ec9d26efe634b | [
"Apache-2.0"
] | 20 | 2019-02-23T13:22:28.000Z | 2022-01-14T13:55:34.000Z | utils/listfile_reader.py | dafuny/3DFaceRecon | 8119b93165033713e06145d0135ec9d26efe634b | [
"Apache-2.0"
] | 1 | 2019-08-12T07:30:25.000Z | 2019-08-12T07:30:25.000Z | utils/listfile_reader.py | Cogito2012/3DFaceRecon | 8119b93165033713e06145d0135ec9d26efe634b | [
"Apache-2.0"
] | 6 | 2018-11-23T17:14:40.000Z | 2022-01-14T13:55:35.000Z | import os
def read_listfile_trainval(dataset_path, filename):
'''File reader for list in train and val
:param dataset_path:
:param filename:
:return: imagefiles and label files
'''
listfile = os.path.join(dataset_path, filename)
f = open(listfile)
strline = f.readline()
imgfile_re... | 29.98 | 85 | 0.640427 | 175 | 1,499 | 5.314286 | 0.268571 | 0.106452 | 0.053763 | 0.091398 | 0.843011 | 0.843011 | 0.812903 | 0.812903 | 0.731183 | 0.731183 | 0 | 0 | 0.252835 | 1,499 | 50 | 86 | 29.98 | 0.830357 | 0.170113 | 0 | 0.75 | 0 | 0 | 0.043369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.03125 | 0 | 0.15625 | 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 |
cdf1f881637633eb6a11fa52b16701a16410a614 | 88 | py | Python | tests/float/complex_attr.py | iotctl/pycopy | eeb841afea61b19800d054b3b289729665fc9aa4 | [
"MIT"
] | 663 | 2018-12-30T00:17:59.000Z | 2022-03-14T05:03:41.000Z | tests/float/complex_attr.py | iotctl/pycopy | eeb841afea61b19800d054b3b289729665fc9aa4 | [
"MIT"
] | 41 | 2019-06-06T08:31:19.000Z | 2022-02-13T16:53:41.000Z | tests/float/complex_attr.py | iotctl/pycopy | eeb841afea61b19800d054b3b289729665fc9aa4 | [
"MIT"
] | 60 | 2019-06-01T04:25:00.000Z | 2022-02-25T01:47:31.000Z | # fmt: off
print(2.2j.real)
print(2.2j.imag)
print(1.1+0.5j.real)
print(1.1+0.5j.imag)
| 12.571429 | 20 | 0.659091 | 22 | 88 | 2.636364 | 0.454545 | 0.206897 | 0.275862 | 0.275862 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.090909 | 88 | 6 | 21 | 14.666667 | 0.575 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
a829b4ddbc5f6a9c396b32ae2efbe504839836b8 | 37,510 | py | Python | tests/test_services/test_validation/test_rules.py | john-james-ai/ml-studio | 2230fcd6579d2291c761e559ec93b18ddd7a96e6 | [
"BSD-3-Clause"
] | 1 | 2020-01-30T09:37:00.000Z | 2020-01-30T09:37:00.000Z | tests/test_services/test_validation/test_rules.py | john-james-ai/ml-studio | 2230fcd6579d2291c761e559ec93b18ddd7a96e6 | [
"BSD-3-Clause"
] | 3 | 2019-12-05T19:37:59.000Z | 2020-03-31T05:49:53.000Z | tests/test_services/test_validation/test_rules.py | john-james-ai/ml-studio | 2230fcd6579d2291c761e559ec93b18ddd7a96e6 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
# =========================================================================== #
# Project: ML Studio #
# Version: 0.1.14 #
# File: \test_rules.py ... | 41.174533 | 115 | 0.517755 | 3,880 | 37,510 | 4.749742 | 0.051289 | 0.093874 | 0.095881 | 0.075533 | 0.925172 | 0.904878 | 0.88046 | 0.87129 | 0.858972 | 0.854957 | 0 | 0.007887 | 0.405119 | 37,510 | 910 | 116 | 41.21978 | 0.818007 | 0.127779 | 0 | 0.779944 | 0 | 0 | 0.099303 | 0 | 0 | 0 | 0 | 0 | 0.118384 | 1 | 0.038997 | false | 0 | 0.008357 | 0 | 0.05571 | 0.009749 | 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 |
a835b3a0fe0b91d909994bb3a31bf6bbc284740e | 111 | py | Python | mnsim_noc/Wire/__init__.py | godfather991/MNSIM_NoC | 402680ad72c46c2a0b040b5fa52232807d554aec | [
"MIT"
] | null | null | null | mnsim_noc/Wire/__init__.py | godfather991/MNSIM_NoC | 402680ad72c46c2a0b040b5fa52232807d554aec | [
"MIT"
] | 3 | 2021-11-01T15:43:20.000Z | 2021-11-09T03:49:06.000Z | mnsim_noc/Wire/__init__.py | ILTShade/MNSIM_NoC | 8fa4580cce0ef113b473dd22662748846ec6b45a | [
"MIT"
] | null | null | null | #-*-coding:utf-8-*-
# from mnsim_noc.Wire.base_wire import BaseWire
from mnsim_noc.Wire.wire_net import WireNet | 37 | 47 | 0.792793 | 19 | 111 | 4.421053 | 0.631579 | 0.214286 | 0.285714 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.081081 | 111 | 3 | 48 | 37 | 0.813725 | 0.576577 | 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 |
b520d4c31735ef49ae046985be5690513a59d3a7 | 12,289 | py | Python | tests/test_recursive.py | Skar0/generalizedparity | a29e08a637d8a957bc795f0bd93e5f8c420120f9 | [
"BSD-4-Clause-UC"
] | null | null | null | tests/test_recursive.py | Skar0/generalizedparity | a29e08a637d8a957bc795f0bd93e5f8c420120f9 | [
"BSD-4-Clause-UC"
] | null | null | null | tests/test_recursive.py | Skar0/generalizedparity | a29e08a637d8a957bc795f0bd93e5f8c420120f9 | [
"BSD-4-Clause-UC"
] | null | null | null | import random
import unittest
import file_handler as io
import generators as gen
import zielonka as zielonka
import generalized_parity_recursive as recursive
class TestRecursive(unittest.TestCase):
"""
Test cases for the recursive algorithm used to solve generalized parity games.
"""
def setUp(self)... | 52.969828 | 116 | 0.701929 | 1,664 | 12,289 | 4.873798 | 0.072716 | 0.229346 | 0.122318 | 0.178792 | 0.895191 | 0.881011 | 0.880888 | 0.863748 | 0.863502 | 0.840321 | 0 | 0.036754 | 0.191879 | 12,289 | 231 | 117 | 53.199134 | 0.779881 | 0.106844 | 0 | 0.532468 | 0 | 0 | 0.081352 | 0.060921 | 0 | 0 | 0 | 0 | 0.402597 | 1 | 0.045455 | false | 0 | 0.038961 | 0 | 0.090909 | 0.038961 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b52378c60858f70df61d6b9742e49eae437133b5 | 2,315 | py | Python | validator/migrations/0037_auto_20211001_1353.py | wpreimes/qa4sm | 1e9c1c18d07d713a048ad13bac617b147240991c | [
"MIT"
] | 10 | 2019-02-27T15:05:15.000Z | 2022-03-10T21:13:40.000Z | validator/migrations/0037_auto_20211001_1353.py | awst-austria/qa4sm | e67c9c0ec75fedabbfc389e4400e1203aa2d8a57 | [
"MIT"
] | 69 | 2019-07-04T23:20:17.000Z | 2022-03-29T06:34:06.000Z | validator/migrations/0037_auto_20211001_1353.py | wpreimes/qa4sm | 1e9c1c18d07d713a048ad13bac617b147240991c | [
"MIT"
] | 10 | 2019-03-14T11:46:58.000Z | 2022-03-25T13:06:16.000Z | # Generated by Django 3.2.7 on 2021-10-01 13:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('validator', '0036_email'),
]
operations = [
migrations.AlterField(
model_name='copiedvalidations',
name='id',
... | 31.283784 | 70 | 0.561123 | 207 | 2,315 | 6.154589 | 0.222222 | 0.188383 | 0.235479 | 0.273155 | 0.759027 | 0.759027 | 0.759027 | 0.759027 | 0.759027 | 0.759027 | 0 | 0.012141 | 0.323974 | 2,315 | 73 | 71 | 31.712329 | 0.801917 | 0.019438 | 0 | 0.716418 | 1 | 0 | 0.079365 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014925 | 0 | 0.059701 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 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 | 9 |
a9390a04cc2cd317c2852418fcfb31138c402c22 | 134 | py | Python | pandas/io/json/__init__.py | tacaswell/pandas | 81c57e20da278494dfebc2f1043f5ff361a234f3 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause"
] | null | null | null | pandas/io/json/__init__.py | tacaswell/pandas | 81c57e20da278494dfebc2f1043f5ff361a234f3 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause"
] | null | null | null | pandas/io/json/__init__.py | tacaswell/pandas | 81c57e20da278494dfebc2f1043f5ff361a234f3 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause"
] | 1 | 2019-02-20T18:01:08.000Z | 2019-02-20T18:01:08.000Z | from .json import to_json, read_json, loads, dumps # noqa
from .normalize import json_normalize # noqa
del json, normalize # noqa
| 26.8 | 58 | 0.753731 | 20 | 134 | 4.9 | 0.5 | 0.265306 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 134 | 4 | 59 | 33.5 | 0.890909 | 0.104478 | 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 | 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 |
a94227fbe9f631ad0d9594aa0a29c298a5a55b90 | 181 | py | Python | pubgate/api/__init__.py | autogestion/pubgate | e9a1850a60bb34aac59542b97f730c08dc8d46fa | [
"BSD-3-Clause"
] | 79 | 2018-06-23T23:20:20.000Z | 2022-03-22T18:33:37.000Z | pubgate/api/__init__.py | autogestion/pubgate | e9a1850a60bb34aac59542b97f730c08dc8d46fa | [
"BSD-3-Clause"
] | 25 | 2018-11-03T10:14:06.000Z | 2021-01-20T22:33:14.000Z | pubgate/api/__init__.py | autogestion/pubgate | e9a1850a60bb34aac59542b97f730c08dc8d46fa | [
"BSD-3-Clause"
] | 5 | 2018-11-03T10:11:36.000Z | 2020-03-19T14:34:05.000Z | from pubgate.api.inbox import inbox_v1
from pubgate.api.outbox import outbox_v1, outbox_object_v1
from pubgate.api.user import user_v1
from pubgate.api.well_known import well_known
| 36.2 | 58 | 0.856354 | 32 | 181 | 4.625 | 0.34375 | 0.297297 | 0.378378 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.093923 | 181 | 4 | 59 | 45.25 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8d3d96e310280a8648e67d99d006a077e04d05a3 | 72 | py | Python | data_layer/pre_process_simulation.py | alonshpigler/US-CNN | 2c28d1eb122162e07e4d03dcdf3df44f0ea4c8fb | [
"MIT"
] | null | null | null | data_layer/pre_process_simulation.py | alonshpigler/US-CNN | 2c28d1eb122162e07e4d03dcdf3df44f0ea4c8fb | [
"MIT"
] | null | null | null | data_layer/pre_process_simulation.py | alonshpigler/US-CNN | 2c28d1eb122162e07e4d03dcdf3df44f0ea4c8fb | [
"MIT"
] | null | null | null | def pre_process_simulation(split_set_input):
return split_set_input | 36 | 45 | 0.847222 | 11 | 72 | 5 | 0.727273 | 0.290909 | 0.472727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 72 | 2 | 46 | 36 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
8d96536dd6888a775d581b9a00e6753be6c12ad5 | 125 | py | Python | hacker/challenges/crypto/more_dastardly.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 1 | 2020-04-21T11:39:25.000Z | 2020-04-21T11:39:25.000Z | hacker/challenges/crypto/more_dastardly.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 7 | 2020-02-12T01:08:01.000Z | 2022-02-10T11:56:56.000Z | hacker/challenges/crypto/more_dastardly.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | null | null | null | value = '16b87ecc17e3568c83d2d55d8c0d7260'
# https://md5.gromweb.com/?md5=16b87ecc17e3568c83d2d55d8c0d7260
print('flippit')
| 25 | 63 | 0.816 | 10 | 125 | 10.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.372881 | 0.056 | 125 | 4 | 64 | 31.25 | 0.491525 | 0.488 | 0 | 0 | 0 | 0 | 0.629032 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
8da175a47e1afef2786950d3ee918f30a4f26e56 | 10,110 | py | Python | test/test_npu/test_network_ops/test_binary_cross_entropy_with_logits.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | 1 | 2021-12-02T03:07:35.000Z | 2021-12-02T03:07:35.000Z | test/test_npu/test_network_ops/test_binary_cross_entropy_with_logits.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | 1 | 2021-11-12T07:23:03.000Z | 2021-11-12T08:28:13.000Z | test/test_npu/test_network_ops/test_binary_cross_entropy_with_logits.py | Ascend/pytorch | 39849cf72dafe8d2fb68bd1679d8fd54ad60fcfc | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2020, Huawei Technologies.All rights reserved.
#
# Licensed under the BSD 3-Clause License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://opensource.org/licenses/BSD-3-Clause
#
# Unless required by applicable law... | 47.464789 | 121 | 0.564293 | 1,265 | 10,110 | 4.313834 | 0.110672 | 0.052776 | 0.039582 | 0.035184 | 0.824446 | 0.824446 | 0.812534 | 0.811801 | 0.802089 | 0.80099 | 0 | 0.072831 | 0.304649 | 10,110 | 212 | 122 | 47.688679 | 0.703414 | 0.056775 | 0 | 0.758621 | 0 | 0 | 0.024785 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 1 | 0.057471 | false | 0 | 0.04023 | 0 | 0.137931 | 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 |
a5c51bec9c3c5ee012775dc6c1991d36a040e463 | 25,953 | py | Python | collectioncode/process_srrgs.py | jbrentfoster/autosrlg | ee30fcb14004544f3487485c8f832830582699a4 | [
"MIT"
] | null | null | null | collectioncode/process_srrgs.py | jbrentfoster/autosrlg | ee30fcb14004544f3487485c8f832830582699a4 | [
"MIT"
] | null | null | null | collectioncode/process_srrgs.py | jbrentfoster/autosrlg | ee30fcb14004544f3487485c8f832830582699a4 | [
"MIT"
] | null | null | null | import json
import logging
import collectioncode.utils as utils
import xml.dom.minidom
import xml.parsers.expat
import random
def parse_ssrgs():
srrg_types = ["Conduit", "Node", "Degree", "Add/Drop", "Switch", "Link", "Card", "Future", "Central Office",
"Future", "Future", "Future", "Future", "F... | 42.476268 | 112 | 0.568875 | 3,055 | 25,953 | 4.746318 | 0.081833 | 0.067517 | 0.054 | 0.024828 | 0.885379 | 0.858483 | 0.834 | 0.816552 | 0.790276 | 0.76469 | 0 | 0.018286 | 0.289909 | 25,953 | 610 | 113 | 42.545902 | 0.768517 | 0.039764 | 0 | 0.755814 | 0 | 0 | 0.199486 | 0.043656 | 0.007752 | 0 | 0 | 0 | 0 | 1 | 0.044574 | false | 0.063953 | 0.011628 | 0 | 0.093023 | 0.007752 | 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 |
a5ef59cee6b2084862b266e02b65636da26a28ad | 65 | py | Python | commands1.py | Coolman4128/python-food | f5d4dbb2d541bb52641e57824f849431e89c87f5 | [
"MIT"
] | null | null | null | commands1.py | Coolman4128/python-food | f5d4dbb2d541bb52641e57824f849431e89c87f5 | [
"MIT"
] | null | null | null | commands1.py | Coolman4128/python-food | f5d4dbb2d541bb52641e57824f849431e89c87f5 | [
"MIT"
] | null | null | null | import subprocess
import socketworks
def processTerm():
pass | 13 | 18 | 0.784615 | 7 | 65 | 7.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 65 | 5 | 19 | 13 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
57291af5f5c7c9ccdaa8675228af7b353a6ddd7e | 82,414 | py | Python | xsge_physics/xsge_physics/__init__.py | python-sge/xsge | 601d7eb06599be85f1f67303fe5fc79a0c332798 | [
"CC0-1.0"
] | 2 | 2020-09-15T15:50:52.000Z | 2020-09-19T06:27:14.000Z | xsge_physics/xsge_physics/__init__.py | python-sge/xsge | 601d7eb06599be85f1f67303fe5fc79a0c332798 | [
"CC0-1.0"
] | null | null | null | xsge_physics/xsge_physics/__init__.py | python-sge/xsge | 601d7eb06599be85f1f67303fe5fc79a0c332798 | [
"CC0-1.0"
] | null | null | null | # xSGE Physics Framework
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the... | 41.792089 | 81 | 0.528151 | 9,716 | 82,414 | 4.311342 | 0.039831 | 0.047745 | 0.037599 | 0.011459 | 0.879706 | 0.860441 | 0.841677 | 0.830051 | 0.81969 | 0.812337 | 0 | 0.003217 | 0.400235 | 82,414 | 1,971 | 82 | 41.813293 | 0.844241 | 0.264834 | 0 | 0.828724 | 0 | 0 | 0.002213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049955 | false | 0.017841 | 0.001784 | 0.007136 | 0.107047 | 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 |
5749da9cc0aae6267549b7d5a3306b7a73cc155e | 95 | py | Python | pycsou/func/__init__.py | ebezzam/pycsou | 25b69fa69134b3f1e3b9cf114844082186e04073 | [
"MIT"
] | 36 | 2021-02-01T16:49:09.000Z | 2022-03-16T11:40:45.000Z | pycsou/func/__init__.py | ebezzam/pycsou | 25b69fa69134b3f1e3b9cf114844082186e04073 | [
"MIT"
] | 11 | 2021-05-10T13:35:05.000Z | 2022-03-15T08:12:33.000Z | pycsou/func/__init__.py | ebezzam/pycsou | 25b69fa69134b3f1e3b9cf114844082186e04073 | [
"MIT"
] | 9 | 2021-02-22T14:40:21.000Z | 2022-02-02T01:11:54.000Z | from pycsou.func.base import *
from pycsou.func.penalty import *
from pycsou.func.loss import * | 31.666667 | 33 | 0.789474 | 15 | 95 | 5 | 0.466667 | 0.4 | 0.56 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 3 | 34 | 31.666667 | 0.892857 | 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 |
939508891d47dc81bb5f3a283201b68e5c05bae8 | 156,791 | py | Python | gooddata-metadata-client/gooddata_metadata_client/api/organization_model_controller_api.py | jaceksan/gooddata-python-sdk | 640bd8b679e00a5f0eb627bdf6143de078f8b59b | [
"MIT"
] | null | null | null | gooddata-metadata-client/gooddata_metadata_client/api/organization_model_controller_api.py | jaceksan/gooddata-python-sdk | 640bd8b679e00a5f0eb627bdf6143de078f8b59b | [
"MIT"
] | null | null | null | gooddata-metadata-client/gooddata_metadata_client/api/organization_model_controller_api.py | jaceksan/gooddata-python-sdk | 640bd8b679e00a5f0eb627bdf6143de078f8b59b | [
"MIT"
] | null | null | null | """
OpenAPI definition
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v0
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from gooddata_met... | 43.027168 | 554 | 0.484065 | 13,999 | 156,791 | 5.210801 | 0.02193 | 0.022825 | 0.017821 | 0.018507 | 0.970019 | 0.953856 | 0.944877 | 0.937173 | 0.927659 | 0.913278 | 0 | 0.004452 | 0.426919 | 156,791 | 3,643 | 555 | 43.038979 | 0.807376 | 0.383536 | 0 | 0.745876 | 1 | 0 | 0.220327 | 0.061866 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010212 | false | 0 | 0.007463 | 0 | 0.027887 | 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 |
939ea6f302e96e675e014c1abec01550dbb90903 | 338 | py | Python | experiments/test.py | sorawee/fmt | 7672e7a682ea7dcb47d79d4d1074a72fad98619e | [
"Apache-2.0",
"MIT"
] | 39 | 2021-09-23T14:07:37.000Z | 2022-03-12T15:01:52.000Z | experiments/test.py | sorawee/fmt | 7672e7a682ea7dcb47d79d4d1074a72fad98619e | [
"Apache-2.0",
"MIT"
] | 29 | 2021-09-25T07:28:29.000Z | 2022-02-20T15:23:00.000Z | experiments/test.py | sorawee/fmt | 7672e7a682ea7dcb47d79d4d1074a72fad98619e | [
"Apache-2.0",
"MIT"
] | 1 | 2022-02-20T01:00:07.000Z | 2022-02-20T01:00:07.000Z | def test(x, y):
x + y
test(
11111111,
test(11111111, 1111111),
test(11111111, 1111111),
222,
222,
test(11111111, 1111111),
test(11111111, 1111111),
222,
test(11111111, 1111111),
test(11111111, 1111111),
test(11111111, 1111111),
test(11111111, 1111111),
test(1111... | 16.9 | 28 | 0.600592 | 38 | 338 | 5.342105 | 0.184211 | 0.591133 | 0.842365 | 0.679803 | 0.8867 | 0.8867 | 0.8867 | 0.46798 | 0.46798 | 0.46798 | 0 | 0.608 | 0.260355 | 338 | 19 | 29 | 17.789474 | 0.204 | 0 | 0 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 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 |
93a92db4a222900c7a0d30a7ca5de8033c284708 | 28,313 | py | Python | rss_temple/api/tests/views/test_feed_entry.py | murrple-1/rss_temple | 289197923b1e7d1213f1673d164337df17d7269b | [
"MIT"
] | null | null | null | rss_temple/api/tests/views/test_feed_entry.py | murrple-1/rss_temple | 289197923b1e7d1213f1673d164337df17d7269b | [
"MIT"
] | 8 | 2019-12-04T21:58:35.000Z | 2021-12-15T02:29:49.000Z | rss_temple/api/tests/views/test_feed_entry.py | murrple-1/rss_temple | 289197923b1e7d1213f1673d164337df17d7269b | [
"MIT"
] | null | null | null | import logging
import datetime
import uuid
from django.test import TestCase, Client
from django.db import transaction
import ujson
from api import models
class FeedEntryTestCase(TestCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.old_app_logger_level = logging.getLogger(
... | 36.865885 | 103 | 0.603504 | 2,889 | 28,313 | 5.693319 | 0.045691 | 0.061284 | 0.038303 | 0.042376 | 0.942911 | 0.923881 | 0.915856 | 0.903393 | 0.898954 | 0.886916 | 0 | 0.011042 | 0.296295 | 28,313 | 767 | 104 | 36.91395 | 0.814495 | 0 | 0 | 0.812081 | 0 | 0 | 0.119945 | 0.039593 | 0 | 0 | 0 | 0 | 0.112416 | 1 | 0.068792 | false | 0 | 0.011745 | 0 | 0.082215 | 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 |
f5083ca191b6916594c4c0f2134877473de99c6f | 95,885 | py | Python | neural_net_cell_segmenter/data/ground_truth/gonzalez/Seeds.py | NilaiVemula/neural_net_cell_segmenter | c9d8727a329980b12e266c6749f7df911aae84aa | [
"MIT"
] | null | null | null | neural_net_cell_segmenter/data/ground_truth/gonzalez/Seeds.py | NilaiVemula/neural_net_cell_segmenter | c9d8727a329980b12e266c6749f7df911aae84aa | [
"MIT"
] | 147 | 2020-07-28T20:30:45.000Z | 2022-03-12T00:31:33.000Z | neural_net_cell_segmenter/data/ground_truth/gonzalez/Seeds.py | NilaiVemula/neural_net_cell_segmenter | c9d8727a329980b12e266c6749f7df911aae84aa | [
"MIT"
] | null | null | null | seedList = [
[[0, 0], [0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [0, 6], [0, 7], [0, 8], [0, 9], [0, 10], [0, 11], [0, 12], [0, 13],
[0, 14], [0, 15], [0, 16], [0, 17], [0, 18], [0, 19], [0, 20], [0, 21], [0, 22], [0, 23], [0, 24], [0, 25],
[0, 26], [0, 27], [0, 28], [0, 29], [0, 30], [0, 31], [0, 32], [0, 3... | 95,885 | 95,885 | 0.442478 | 18,510 | 95,885 | 2.292112 | 0.023879 | 0.138968 | 0.184764 | 0.214769 | 0.250572 | 0.249629 | 0.249629 | 0.249134 | 0.249134 | 0.241662 | 0 | 0.578279 | 0.23572 | 95,885 | 1 | 95,885 | 95,885 | 0.000669 | 0 | 0 | 0.065773 | 0 | 0 | 0.000073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f524810fb2487ac3cc2f68c096f816885f20c8c7 | 2,030 | py | Python | pirates/leveleditor/worldData/InternIsland.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/InternIsland.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/InternIsland.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3
objectStruct = {'Interact Links': [['1175129600.0dxschafe1', '1182807424.0dxschafe', 'Bi-directional'], ['1182807296.0dxschafe0', '1182807552.0dxschafe', 'Bi-directional'], ['1182807552.0dxschafe0', '1175129600.0dxschafe0', 'Bi-directional'], ['1182807296.0dxschafe', '1182... | 1,015 | 1,983 | 0.627586 | 254 | 2,030 | 4.996063 | 0.405512 | 0.018913 | 0.014184 | 0.012608 | 0.058314 | 0.050433 | 0.026793 | 0.026793 | 0 | 0 | 0 | 0.251119 | 0.119212 | 2,030 | 2 | 1,983 | 1,015 | 0.458613 | 0 | 0 | 0 | 0 | 0.5 | 0.675037 | 0.302807 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
f556b35ec4bf96d27230bb87bfac865e7de1cece | 158 | py | Python | tests/__main__.py | Fergui/noaaclass | 9adbcd66e830f64dee475cd87e5621b8cb8d9677 | [
"MIT"
] | null | null | null | tests/__main__.py | Fergui/noaaclass | 9adbcd66e830f64dee475cd87e5621b8cb8d9677 | [
"MIT"
] | null | null | null | tests/__main__.py | Fergui/noaaclass | 9adbcd66e830f64dee475cd87e5621b8cb8d9677 | [
"MIT"
] | 1 | 2020-07-13T21:58:00.000Z | 2020-07-13T21:58:00.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import unittest
from noaaclass_test import *
from core_test import *
from gvarimg_test import *
unittest.main()
| 19.75 | 28 | 0.734177 | 23 | 158 | 4.913043 | 0.652174 | 0.265487 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.139241 | 158 | 7 | 29 | 22.571429 | 0.823529 | 0.265823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 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 |
f55db2ea398fd3b60393ff34efe04ae6fe7169ba | 24,290 | py | Python | sspredict/make_prediction/input_format.py | DS-Wen/SSPredict | 663f693405b066d4b93751c8374d9f5412c501ee | [
"MIT"
] | 2 | 2019-03-02T06:32:05.000Z | 2021-04-30T04:18:24.000Z | sspredict/make_prediction/input_format.py | DS-Wen/SSPredict | 663f693405b066d4b93751c8374d9f5412c501ee | [
"MIT"
] | null | null | null | sspredict/make_prediction/input_format.py | DS-Wen/SSPredict | 663f693405b066d4b93751c8374d9f5412c501ee | [
"MIT"
] | 1 | 2019-05-12T11:46:24.000Z | 2019-05-12T11:46:24.000Z | class input_format():
def __init__(self,format_tag):
self.tag = format_tag
def print_sample_input(self):
if self.tag =='FCC_BCC_Edge_Ternary':
print('''
Sample JSON for using pseudo-ternary predictions of solid solution strength by Curtin edge dislocation model.
--... | 42.243478 | 118 | 0.536188 | 2,902 | 24,290 | 4.384562 | 0.138525 | 0.006287 | 0.01509 | 0.017605 | 0.917479 | 0.895552 | 0.876847 | 0.86718 | 0.855391 | 0.843996 | 0 | 0.049146 | 0.322314 | 24,290 | 575 | 119 | 42.243478 | 0.723832 | 0 | 0 | 0.767273 | 0 | 0.047273 | 0.971553 | 0.149397 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003636 | false | 0 | 0.007273 | 0 | 0.012727 | 0.014545 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f582e5e4f7dd091b8758fbfe83838e90595601c8 | 702 | py | Python | python/ttt.py | littlebenlittle/rps | e462ebe0ab6439daea4526c1bb871258717c0b27 | [
"MIT"
] | null | null | null | python/ttt.py | littlebenlittle/rps | e462ebe0ab6439daea4526c1bb871258717c0b27 | [
"MIT"
] | null | null | null | python/ttt.py | littlebenlittle/rps | e462ebe0ab6439daea4526c1bb871258717c0b27 | [
"MIT"
] | null | null | null |
import numpy as np
BEGIN = np.array(
[[0,0,0],
[0,0,0],
[0,0,0]]
)
WIN_FILTERS = [
np.array(
[[1,1,1],
[0,0,0],
[0,0,0]]
),
np.array(
[[0,0,0],
[1,1,1],
[0,0,0]]
),
np.array(
[[0,0,0],
[0,0,0],
[1,1,1]]
... | 13.5 | 18 | 0.249288 | 106 | 702 | 1.641509 | 0.09434 | 0.413793 | 0.327586 | 0.275862 | 0.781609 | 0.683908 | 0.413793 | 0.413793 | 0 | 0 | 0 | 0.226257 | 0.490028 | 702 | 51 | 19 | 13.764706 | 0.259777 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.020833 | 0 | 0.020833 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
f58c0c1730435a1b5eec482db0e8d38ffaebf05e | 120,018 | py | Python | cinnamon_sdk/cinnamon.py | adgorithmics-inc/cinnamon-python-sdk | 804e7d00bb728c4d91280d7236a4dc06fefaeea0 | [
"MIT"
] | null | null | null | cinnamon_sdk/cinnamon.py | adgorithmics-inc/cinnamon-python-sdk | 804e7d00bb728c4d91280d7236a4dc06fefaeea0 | [
"MIT"
] | null | null | null | cinnamon_sdk/cinnamon.py | adgorithmics-inc/cinnamon-python-sdk | 804e7d00bb728c4d91280d7236a4dc06fefaeea0 | [
"MIT"
] | null | null | null | from typing import Union, List, Iterable
from datetime import datetime
from .internals.base_classes import (
BaseSyncCinnamon,
BaseCinnamonField,
QueryFieldSet,
QueryField,
)
from .internals.constants import CinnamonUndefined
from .internals import scalars
from . import fields as fields_module
from . im... | 32.899671 | 88 | 0.5584 | 10,292 | 120,018 | 6.257093 | 0.027206 | 0.037175 | 0.063729 | 0.063729 | 0.883987 | 0.868039 | 0.846859 | 0.83574 | 0.818628 | 0.807975 | 0 | 0 | 0.352772 | 120,018 | 3,647 | 89 | 32.908692 | 0.829027 | 0 | 0 | 0.783072 | 0 | 0 | 0.083521 | 0.009915 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027523 | false | 0.006215 | 0.006511 | 0 | 0.140278 | 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 |
f58c146c178d613e511e88dbe5c7af0540c993a0 | 31,387 | py | Python | tests/onegov/wtfs/test_security.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | tests/onegov/wtfs/test_security.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | tests/onegov/wtfs/test_security.py | politbuero-kampagnen/onegov-cloud | 20148bf321b71f617b64376fe7249b2b9b9c4aa9 | [
"MIT"
] | null | null | null | import sedate
from datetime import date, datetime
from freezegun import freeze_time
from morepath import Identity
from onegov.core.security import Public
from onegov.user import User
from onegov.user import UserCollection
from onegov.user import UserGroup
from onegov.user import UserGroupCollection
from onegov.wtfs.co... | 43.472299 | 79 | 0.662249 | 3,476 | 31,387 | 5.901036 | 0.039125 | 0.157518 | 0.276911 | 0.196275 | 0.887627 | 0.843896 | 0.815181 | 0.799629 | 0.789879 | 0.772767 | 0 | 0.001665 | 0.253513 | 31,387 | 721 | 80 | 43.532594 | 0.873794 | 0.015675 | 0 | 0.752688 | 0 | 0 | 0.020312 | 0.005702 | 0 | 0 | 0 | 0 | 0.557604 | 1 | 0.009217 | false | 0.019969 | 0.052227 | 0.006144 | 0.067588 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
f59bd6c21847291e8db907494b8784e417cd7a4a | 35 | py | Python | tests/test_package.py | s274001/PINA | beb33f0da20581338c46f0c525775904b35a1130 | [
"MIT"
] | 4 | 2022-02-16T14:52:55.000Z | 2022-03-17T13:31:42.000Z | tests/test_package.py | s274001/PINA | beb33f0da20581338c46f0c525775904b35a1130 | [
"MIT"
] | 3 | 2022-02-17T08:57:42.000Z | 2022-03-28T08:41:53.000Z | tests/test_package.py | s274001/PINA | beb33f0da20581338c46f0c525775904b35a1130 | [
"MIT"
] | 7 | 2022-02-13T14:35:00.000Z | 2022-03-28T08:51:11.000Z | def test_import():
import pina
| 11.666667 | 18 | 0.685714 | 5 | 35 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 35 | 2 | 19 | 17.5 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 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 | 1 | 0 | 1 | 0 | 0 | 7 |
192085b06f7f3333e10aeb584d46371bc1f2cf3b | 120 | py | Python | prova1/exec4.py | josecostamartins/pythonreges | 0e5a0e5a5a348a3c6217f0700b0866231bca5050 | [
"MIT"
] | null | null | null | prova1/exec4.py | josecostamartins/pythonreges | 0e5a0e5a5a348a3c6217f0700b0866231bca5050 | [
"MIT"
] | null | null | null | prova1/exec4.py | josecostamartins/pythonreges | 0e5a0e5a5a348a3c6217f0700b0866231bca5050 | [
"MIT"
] | 2 | 2021-05-18T02:44:49.000Z | 2021-12-06T17:41:55.000Z | print 1+2*5+(7*1)
print 0 * 1 + 1 + 1 + 1 + 1 + 1 + 1 - 1 + 1 + 1
print 2**2+1*3+(7+2)
print "Resposta: alternativa C"
| 20 | 47 | 0.516667 | 29 | 120 | 2.137931 | 0.344828 | 0.290323 | 0.387097 | 0.451613 | 0.16129 | 0.16129 | 0.16129 | 0.16129 | 0.16129 | 0 | 0 | 0.247191 | 0.258333 | 120 | 5 | 48 | 24 | 0.449438 | 0 | 0 | 0 | 0 | 0 | 0.191667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
1934228277a841351f11e92148774c02f096b65d | 4,352 | py | Python | code/zhihucrawl/crawl/zhihui_scrapy_single_QA.py | Rr-shan/COVID-19_Ailuo_princess | 1f70d426d93f4aac3a73166b17cbf44359065639 | [
"MIT"
] | 2 | 2020-06-06T00:50:54.000Z | 2020-06-08T05:32:16.000Z | code/zhihucrawl/crawl/zhihui_scrapy_single_QA.py | Rr-shan/COVID-19_Ailuo_princess | 1f70d426d93f4aac3a73166b17cbf44359065639 | [
"MIT"
] | null | null | null | code/zhihucrawl/crawl/zhihui_scrapy_single_QA.py | Rr-shan/COVID-19_Ailuo_princess | 1f70d426d93f4aac3a73166b17cbf44359065639 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2020/5/19 17:21
# @Author : Sanzzi
import requests
from bs4 import BeautifulSoup
import json
import re
path = '../raw_data/'
def draw_ans(string):
RE = re.compile('<[^>]*>')
temp_list = RE.sub("", string).replace("\n", "").replace(" ","")
return temp_list
def Crawl... | 50.604651 | 751 | 0.678079 | 607 | 4,352 | 4.705107 | 0.293245 | 0.014006 | 0.021008 | 0.033613 | 0.901261 | 0.901261 | 0.895658 | 0.895658 | 0.895658 | 0.895658 | 0 | 0.066227 | 0.163833 | 4,352 | 86 | 752 | 50.604651 | 0.718604 | 0.036535 | 0 | 0.757576 | 0 | 0.060606 | 0.519608 | 0.019608 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.060606 | 0 | 0.121212 | 0.060606 | 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 |
194d480f6c446ed8844c1b2499dcd270529ea699 | 6,576 | py | Python | pydip/test/turn/test_circular_moves.py | otech-nl/pydip | fbe085ccc0473b145d2fe424460163ad90c8ea57 | [
"MIT"
] | 13 | 2018-04-04T02:48:59.000Z | 2020-09-13T09:38:24.000Z | pydip/test/turn/test_circular_moves.py | otech-nl/pydip | fbe085ccc0473b145d2fe424460163ad90c8ea57 | [
"MIT"
] | 6 | 2018-06-24T19:52:37.000Z | 2021-02-11T20:13:58.000Z | pydip/test/turn/test_circular_moves.py | otech-nl/pydip | fbe085ccc0473b145d2fe424460163ad90c8ea57 | [
"MIT"
] | 5 | 2018-02-28T21:03:46.000Z | 2022-03-25T15:58:27.000Z | from pydip.player.unit import Unit, UnitTypes
from pydip.test.command_helper import CommandType, CommandHelper
from pydip.test.player_helper import PlayerHelper
from pydip.test.turn_helper import TurnHelper
def test_three_country_rotation():
helper = TurnHelper([
PlayerHelper('Germany', [
Comm... | 32.716418 | 97 | 0.556873 | 516 | 6,576 | 7.017442 | 0.091085 | 0.208782 | 0.134217 | 0.214582 | 0.919635 | 0.898647 | 0.886219 | 0.87462 | 0.854736 | 0.826567 | 0 | 0 | 0.295773 | 6,576 | 200 | 98 | 32.88 | 0.781905 | 0 | 0 | 0.747253 | 0 | 0 | 0.135037 | 0 | 0 | 0 | 0 | 0 | 0.032967 | 1 | 0.032967 | false | 0 | 0.021978 | 0 | 0.054945 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
1965fd9017572eae1552bfd4b96fd6c9710905ed | 10,617 | py | Python | edge_dataloader.py | mgpadalkar/pidinet | 781924fe30469cdc64f63ce6666a3e1f5b4e576f | [
"MIT"
] | 137 | 2021-07-26T14:24:12.000Z | 2022-03-31T12:26:38.000Z | edge_dataloader.py | mgpadalkar/pidinet | 781924fe30469cdc64f63ce6666a3e1f5b4e576f | [
"MIT"
] | 29 | 2021-07-26T21:36:29.000Z | 2022-03-31T17:48:59.000Z | edge_dataloader.py | mgpadalkar/pidinet | 781924fe30469cdc64f63ce6666a3e1f5b4e576f | [
"MIT"
] | 26 | 2021-07-27T07:57:50.000Z | 2022-03-30T08:01:06.000Z | from torch.utils import data
import torchvision.transforms as transforms
import os
from pathlib import Path
from PIL import Image
import numpy as np
def fold_files(foldname):
"""All files in the fold should have the same extern"""
allfiles = os.listdir(foldname)
if len(allfiles) < 1:
raise ValueEr... | 35.508361 | 115 | 0.525478 | 1,293 | 10,617 | 4.204176 | 0.116009 | 0.07064 | 0.040471 | 0.054084 | 0.834805 | 0.820272 | 0.816041 | 0.811074 | 0.788631 | 0.777226 | 0 | 0.030994 | 0.3436 | 10,617 | 298 | 116 | 35.627517 | 0.749031 | 0.033249 | 0 | 0.795833 | 0 | 0 | 0.063531 | 0.007806 | 0 | 0 | 0 | 0 | 0.016667 | 1 | 0.066667 | false | 0 | 0.025 | 0.020833 | 0.179167 | 0.016667 | 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 |
198d61b68553be9dbb8716fc9f4fbcc51623dbf6 | 8,075 | py | Python | backend/backend/tests/views/city_view.py | Drew138/v_website | c5b6556ccaf146d2296ff0c48c7473a7cc63d2ad | [
"MIT"
] | null | null | null | backend/backend/tests/views/city_view.py | Drew138/v_website | c5b6556ccaf146d2296ff0c48c7473a7cc63d2ad | [
"MIT"
] | 8 | 2020-12-03T15:15:32.000Z | 2022-03-12T00:58:27.000Z | backend/backend/tests/views/city_view.py | Drew138/v_website | c5b6556ccaf146d2296ff0c48c7473a7cc63d2ad | [
"MIT"
] | 1 | 2021-04-09T16:17:11.000Z | 2021-04-09T16:17:11.000Z | from rest_framework_simplejwt.tokens import RefreshToken
from rest_framework.test import APITestCase
from rest_framework import status
from django.urls import reverse
from model_bakery import baker
from faker import Faker
class TestCityView(APITestCase):
@classmethod
def setUpTestData(cls):
cls.city_... | 36.704545 | 77 | 0.632446 | 1,003 | 8,075 | 4.917248 | 0.109671 | 0.061638 | 0.10219 | 0.071371 | 0.868208 | 0.84631 | 0.814274 | 0.790349 | 0.766829 | 0.757097 | 0 | 0.007234 | 0.246811 | 8,075 | 219 | 78 | 36.872146 | 0.803683 | 0.081981 | 0 | 0.727273 | 0 | 0 | 0.096023 | 0.0375 | 0 | 0 | 0 | 0 | 0.195804 | 1 | 0.097902 | false | 0 | 0.041958 | 0 | 0.146853 | 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 |
2729b326c75b3bfb444a94e8e49680a4be030bfb | 13,663 | py | Python | tests/test_embedder.py | PooyaHekmati/music_embedding | 20072478c01dc2e433c1393298310213cf8745b6 | [
"MIT"
] | 19 | 2021-04-30T11:23:20.000Z | 2022-03-21T10:39:21.000Z | tests/test_embedder.py | PooyaHekmati/music_embedding | 20072478c01dc2e433c1393298310213cf8745b6 | [
"MIT"
] | 1 | 2021-08-06T04:45:26.000Z | 2021-08-06T04:45:26.000Z | tests/test_embedder.py | PooyaHekmati/music_embedding | 20072478c01dc2e433c1393298310213cf8745b6 | [
"MIT"
] | 3 | 2021-04-01T12:47:59.000Z | 2022-01-11T09:22:47.000Z | from music_embedding.interval import interval
from music_embedding.embedder import embedder
import pytest
import numpy as np
#TODO implement a function that checks the variables for any problems.
def test__get_none_error_message():
assert embedder()._get_none_error_message("test") == "Both test argument and self.t... | 42.04 | 1,336 | 0.665666 | 2,131 | 13,663 | 4.06382 | 0.059127 | 0.106467 | 0.147575 | 0.188915 | 0.879792 | 0.834988 | 0.776328 | 0.735219 | 0.707968 | 0.680023 | 0 | 0.076058 | 0.180122 | 13,663 | 325 | 1,337 | 42.04 | 0.697018 | 0.027666 | 0 | 0.720648 | 0 | 0 | 0.024179 | 0.004595 | 0 | 0 | 0 | 0.003077 | 0.052632 | 1 | 0.052632 | false | 0 | 0.016194 | 0 | 0.068826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 9 |
278b93440433ce19db710c6cfb867893a7d69ae7 | 4,598 | py | Python | dingtalk/python/alibabacloud_dingtalk/trade_1_0/client.py | yndu13/dingtalk-sdk | 700fb7bb49c4d3167f84afc5fcb5e7aa5a09735f | [
"Apache-2.0"
] | null | null | null | dingtalk/python/alibabacloud_dingtalk/trade_1_0/client.py | yndu13/dingtalk-sdk | 700fb7bb49c4d3167f84afc5fcb5e7aa5a09735f | [
"Apache-2.0"
] | null | null | null | dingtalk/python/alibabacloud_dingtalk/trade_1_0/client.py | yndu13/dingtalk-sdk | 700fb7bb49c4d3167f84afc5fcb5e7aa5a09735f | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
from Tea.core import TeaCore
from alibabacloud_tea_openapi.client import Client as OpenApiClient
from alibabacloud_tea_openapi import models as open_api_models
from alibabacloud_tea_util.client import Client as UtilClient
from alibabacloud_d... | 45.524752 | 147 | 0.706829 | 532 | 4,598 | 5.693609 | 0.180451 | 0.011885 | 0.074282 | 0.103995 | 0.815451 | 0.781776 | 0.729614 | 0.729614 | 0.726312 | 0.726312 | 0 | 0.011289 | 0.210091 | 4,598 | 100 | 148 | 45.98 | 0.822687 | 0.017399 | 0 | 0.693182 | 1 | 0 | 0.062167 | 0.022647 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034091 | false | 0 | 0.079545 | 0 | 0.170455 | 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 |
279a5c261d723daa47fac5063efe6025cd9fd5b6 | 7,729 | py | Python | tests/test_step_builder.py | ldtoolkit/legdb | 3b201fbf7b81881ddd6eee9efe2070731d4610ee | [
"Apache-2.0"
] | 1 | 2020-09-01T13:11:17.000Z | 2020-09-01T13:11:17.000Z | tests/test_step_builder.py | ldtoolkit/legdb | 3b201fbf7b81881ddd6eee9efe2070731d4610ee | [
"Apache-2.0"
] | null | null | null | tests/test_step_builder.py | ldtoolkit/legdb | 3b201fbf7b81881ddd6eee9efe2070731d4610ee | [
"Apache-2.0"
] | null | null | null | import string
from legdb.step import SourceStep, HasStep, PynndbFilterStep, PynndbEdgeOutStep, PynndbEdgeInStep, PynndbEdgeAllStep
from legdb.step_builder import StepBuilder
from conftest import Node, Edge
def test_step_repr():
assert repr(SourceStep(Node)) == "node"
assert repr(HasStep(language="en", label=... | 46.560241 | 136 | 0.601113 | 1,033 | 7,729 | 4.124879 | 0.081317 | 0.170383 | 0.090354 | 0.181882 | 0.863412 | 0.842056 | 0.835015 | 0.835015 | 0.809904 | 0.787139 | 0 | 0.019896 | 0.252167 | 7,729 | 165 | 137 | 46.842424 | 0.717301 | 0 | 0 | 0.510204 | 0 | 0 | 0.096778 | 0.006081 | 0 | 0 | 0 | 0 | 0.306122 | 1 | 0.040816 | false | 0 | 0.027211 | 0.013605 | 0.081633 | 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 |
fd6bd800c4c837fa777ae9fbbc4c075077b93ab6 | 72 | py | Python | aging/environment_processing/EarlyLifeFactors/__init__.py | Deep-Learning-and-Aging/Scalars-based-models-and-XWAS-pipeline | f6913ce4ec1f6aed358ba27fdf575257f712c132 | [
"MIT"
] | null | null | null | aging/environment_processing/EarlyLifeFactors/__init__.py | Deep-Learning-and-Aging/Scalars-based-models-and-XWAS-pipeline | f6913ce4ec1f6aed358ba27fdf575257f712c132 | [
"MIT"
] | null | null | null | aging/environment_processing/EarlyLifeFactors/__init__.py | Deep-Learning-and-Aging/Scalars-based-models-and-XWAS-pipeline | f6913ce4ec1f6aed358ba27fdf575257f712c132 | [
"MIT"
] | null | null | null | from .early_life_factors_processing import read_early_life_factors_data
| 36 | 71 | 0.930556 | 11 | 72 | 5.454545 | 0.727273 | 0.3 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 72 | 1 | 72 | 72 | 0.882353 | 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 |
8bf15db5bd8c2d23c83f927eb4b9781c13ea601e | 3,307 | py | Python | smartstart/environments/presets.py | BartKeulen/smartstart | 13c0a1dbc794081c37d58d730ed1a0dc53f0dee8 | [
"MIT"
] | 3 | 2017-09-27T22:47:13.000Z | 2022-02-08T16:27:32.000Z | smartstart/environments/presets.py | BartKeulen/smartstart | 13c0a1dbc794081c37d58d730ed1a0dc53f0dee8 | [
"MIT"
] | null | null | null | smartstart/environments/presets.py | BartKeulen/smartstart | 13c0a1dbc794081c37d58d730ed1a0dc53f0dee8 | [
"MIT"
] | null | null | null | """Preset GridWorlds module
Are used by the :obj:`~smartexploration.environments.gridworld.GridWorld` to
generate the gridworld.
"""
def easy():
"""Easy GridWorld
Returns
-------
:obj:`str`
name
double :obj:`list` of `int`
layout
:obj:`int`
scale
"""
name = "E... | 30.063636 | 84 | 0.338071 | 666 | 3,307 | 1.678679 | 0.04955 | 0.336315 | 0.346154 | 0.286225 | 0.809481 | 0.809481 | 0.789803 | 0.756708 | 0.756708 | 0.689624 | 0 | 0.289017 | 0.424554 | 3,307 | 109 | 85 | 30.33945 | 0.298476 | 0.175083 | 0 | 0.25 | 1 | 0 | 0.008226 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
e3640c50f88bf1a46caa6c8392d2b81b6b4f421e | 3,521 | py | Python | src/aggregator.py | nandofioretto/dp-federated_sharing | 4f237565568e5765119a80a3754a16b009fa1158 | [
"MIT"
] | 3 | 2019-06-20T07:07:14.000Z | 2021-01-08T11:40:03.000Z | src/aggregator.py | nandofioretto/dp-federated_sharing | 4f237565568e5765119a80a3754a16b009fa1158 | [
"MIT"
] | null | null | null | src/aggregator.py | nandofioretto/dp-federated_sharing | 4f237565568e5765119a80a3754a16b009fa1158 | [
"MIT"
] | 1 | 2019-09-10T15:40:09.000Z | 2019-09-10T15:40:09.000Z | '''
Model Aggregators:
Take several models (from different agents) and aggregates them into a unified model.
'''
import numpy as np
from agt_linreg import LinearRegressionAgt
from agt_logreg import LogisticRegressionAgt
class ModelAggregator:
def __init__(self, agents: list):
self.agents = agents
... | 26.674242 | 89 | 0.598694 | 483 | 3,521 | 4.244306 | 0.136646 | 0.126829 | 0.061463 | 0.046829 | 0.707805 | 0.707805 | 0.707805 | 0.707805 | 0.707805 | 0.707805 | 0 | 0.021577 | 0.276058 | 3,521 | 132 | 90 | 26.674242 | 0.78266 | 0.079239 | 0 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 1 | 0.234568 | false | 0.049383 | 0.049383 | 0 | 0.419753 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e37240bc84975bce66ce0f90e71721293aa47f6d | 49 | py | Python | reporting/reporting_miro_inventory_transformer/src/transform.py | TheStanfordDaily/loris-archives | 357e6918ac9dc76a451af47f810017cb55cfa43d | [
"MIT"
] | null | null | null | reporting/reporting_miro_inventory_transformer/src/transform.py | TheStanfordDaily/loris-archives | 357e6918ac9dc76a451af47f810017cb55cfa43d | [
"MIT"
] | null | null | null | reporting/reporting_miro_inventory_transformer/src/transform.py | TheStanfordDaily/loris-archives | 357e6918ac9dc76a451af47f810017cb55cfa43d | [
"MIT"
] | null | null | null | def transform(input_data):
return input_data
| 16.333333 | 26 | 0.77551 | 7 | 49 | 5.142857 | 0.714286 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 27 | 24.5 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
8b67caf768a0e3377736f5f2bd50d770917fd7c9 | 54,420 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/vyos/vyos/plugins/modules/vyos_prefix_lists.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/vyos/vyos/plugins/modules/vyos_prefix_lists.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/vyos/vyos/plugins/modules/vyos_prefix_lists.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2021 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
"""
The module file for vyos_prefix_lists
"""
from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = """
mo... | 40.917293 | 127 | 0.490224 | 4,811 | 54,420 | 5.524007 | 0.054874 | 0.110626 | 0.130945 | 0.090796 | 0.880381 | 0.862959 | 0.843129 | 0.832669 | 0.828642 | 0.824089 | 0 | 0.060367 | 0.395461 | 54,420 | 1,329 | 128 | 40.948081 | 0.747439 | 0.005017 | 0 | 0.858748 | 0 | 0.024077 | 0.982538 | 0.062773 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000803 | false | 0 | 0.00321 | 0 | 0.004013 | 0.000803 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4740f44e6daea7cb7f13f645df931a28ef675b98 | 2,276 | py | Python | spacy/tests/print/test_print.py | moyogo/spacy | ddf5c5bb61864320189ebc70dac3bc10e4ecde82 | [
"MIT"
] | null | null | null | spacy/tests/print/test_print.py | moyogo/spacy | ddf5c5bb61864320189ebc70dac3bc10e4ecde82 | [
"MIT"
] | null | null | null | spacy/tests/print/test_print.py | moyogo/spacy | ddf5c5bb61864320189ebc70dac3bc10e4ecde82 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
def test_print_doc(EN):
try:
doc = EN(u'I sat down for coffee at the coffee store')
print(doc)
except Exception:
pytest.fail("Printing failed")
def test_repr_doc(EN):
try:
doc = EN(u'I sat down for coffee at the coffee store')
... | 22.989899 | 68 | 0.608963 | 331 | 2,276 | 4.096677 | 0.096677 | 0.061947 | 0.035398 | 0.061947 | 0.974926 | 0.974926 | 0.974926 | 0.974926 | 0.974926 | 0.974926 | 0 | 0.005491 | 0.279877 | 2,276 | 98 | 69 | 23.22449 | 0.821843 | 0.009227 | 0 | 0.821918 | 0 | 0 | 0.276964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164384 | false | 0 | 0.013699 | 0 | 0.178082 | 0.246575 | 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 |
47931aa9e03d1644b9aa50644b8a1a490738a01e | 26,398 | py | Python | src/hiro_graph_client/iamclient.py | arago/hiro-client-python | 30ab1a7ac0f89f413573f762ff25e8071c139f74 | [
"MIT"
] | null | null | null | src/hiro_graph_client/iamclient.py | arago/hiro-client-python | 30ab1a7ac0f89f413573f762ff25e8071c139f74 | [
"MIT"
] | 2 | 2021-11-16T12:07:37.000Z | 2022-01-20T17:00:01.000Z | src/hiro_graph_client/iamclient.py | arago/hiro-client-python | 30ab1a7ac0f89f413573f762ff25e8071c139f74 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from typing import Any, Iterator
from urllib.parse import quote_plus
from hiro_graph_client.clientlib import AuthenticatedAPIHandler, AbstractTokenApiHandler
class HiroIam(AuthenticatedAPIHandler):
"""
Python implementation for accessing the HIRO IAM REST API.
See https://core.arag... | 41.246875 | 140 | 0.592772 | 3,086 | 26,398 | 4.876539 | 0.050227 | 0.032959 | 0.045319 | 0.05316 | 0.871287 | 0.853612 | 0.78982 | 0.721908 | 0.699249 | 0.67154 | 0 | 0.000049 | 0.227745 | 26,398 | 639 | 141 | 41.311424 | 0.738154 | 0.461171 | 0 | 0.467836 | 0 | 0 | 0.076228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28655 | false | 0.011696 | 0.02924 | 0 | 0.608187 | 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 |
47f35d4297acdceec80143a4a8cb91a5e0226ef6 | 9,698 | py | Python | hw/vendor/lowrisc_ibex/vendor/google_riscv-dv/pygen/pygen_src/isa/rv32b_instr.py | asb/opentitan | af68ff5041b10c81e97adc075a4d042f8ac7ab20 | [
"Apache-2.0"
] | 1,375 | 2019-11-05T15:11:00.000Z | 2022-03-28T17:50:43.000Z | hw/vendor/lowrisc_ibex/vendor/google_riscv-dv/pygen/pygen_src/isa/rv32b_instr.py | asb/opentitan | af68ff5041b10c81e97adc075a4d042f8ac7ab20 | [
"Apache-2.0"
] | 7,045 | 2019-11-05T16:05:45.000Z | 2022-03-31T23:08:08.000Z | hw/vendor/lowrisc_ibex/vendor/google_riscv-dv/pygen/pygen_src/isa/rv32b_instr.py | asb/opentitan | af68ff5041b10c81e97adc075a4d042f8ac7ab20 | [
"Apache-2.0"
] | 428 | 2019-11-05T15:00:20.000Z | 2022-03-28T15:34:57.000Z | """
Copyright 2020 Google LLC
Copyright 2020 PerfectVIPs Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | 71.308824 | 98 | 0.787688 | 1,592 | 9,698 | 4.255025 | 0.086683 | 0.332152 | 0.099203 | 0.124004 | 0.890464 | 0.890464 | 0.890464 | 0.890464 | 0.873782 | 0.873782 | 0 | 0.016393 | 0.131986 | 9,698 | 135 | 99 | 71.837037 | 0.788311 | 0.053619 | 0 | 0.486957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.017391 | 0 | 0.017391 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
47f96d0fba190ae328b902c7eda844959cca6732 | 8,753 | py | Python | bindsnet_master/test/network/test_learning.py | Singular-Brain/ProjectBrain | 2d22d45c13a86825c0dcaf517a59e02f2c4f6164 | [
"MIT"
] | null | null | null | bindsnet_master/test/network/test_learning.py | Singular-Brain/ProjectBrain | 2d22d45c13a86825c0dcaf517a59e02f2c4f6164 | [
"MIT"
] | null | null | null | bindsnet_master/test/network/test_learning.py | Singular-Brain/ProjectBrain | 2d22d45c13a86825c0dcaf517a59e02f2c4f6164 | [
"MIT"
] | null | null | null | import torch
from bindsnet.network import Network
from bindsnet.network.nodes import Input, LIFNodes, CSRMNodes, SRM0Nodes
from bindsnet.network.topology import Connection, Conv2dConnection
from bindsnet.learning import (
Hebbian,
PostPre,
WeightDependentPostPre,
MSTDP,
MSTDPET,
Rmax,
)
class... | 32.298893 | 88 | 0.507826 | 889 | 8,753 | 4.928009 | 0.089989 | 0.075325 | 0.075325 | 0.03013 | 0.873317 | 0.873317 | 0.861447 | 0.861447 | 0.861447 | 0.85323 | 0 | 0.053938 | 0.360334 | 8,753 | 270 | 89 | 32.418519 | 0.728523 | 0.036902 | 0 | 0.777311 | 0 | 0 | 0.054266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02521 | false | 0 | 0.021008 | 0 | 0.05042 | 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 |
9a5508d25c7634e872d09b8306c5d3b827143bf0 | 3,697 | py | Python | podnn/demos/utils.py | peymanmashhadi/podnn | b33a51ed044e8989328ab48d4eccd2f71088e43c | [
"Apache-2.0"
] | 2 | 2022-03-02T17:46:35.000Z | 2022-03-12T14:39:02.000Z | podnn/demos/utils.py | caisr-hh/podnn | 27b94aa3e1b35ab40b7cc84234ed7c44b9b0117d | [
"Apache-2.0"
] | null | null | null | podnn/demos/utils.py | caisr-hh/podnn | 27b94aa3e1b35ab40b7cc84234ed7c44b9b0117d | [
"Apache-2.0"
] | 2 | 2021-12-08T15:45:16.000Z | 2022-03-02T17:46:28.000Z | import numpy as np
import matplotlib.pyplot as plt
import tensorflow as tf
import torch
#-----------------------------------------------------------------------
def plot_bounday_tensorflow(model,n_models,x_train,y_train,x_test,y_test):
w = model.layers[-1].weights[0]
idx = np.where(w < 0)[0]
colors = ['b... | 31.87069 | 78 | 0.586151 | 604 | 3,697 | 3.415563 | 0.163907 | 0.052351 | 0.027145 | 0.015511 | 0.883665 | 0.862336 | 0.862336 | 0.862336 | 0.862336 | 0.862336 | 0 | 0.022269 | 0.234785 | 3,697 | 115 | 79 | 32.147826 | 0.706964 | 0.019205 | 0 | 0.772727 | 0 | 0 | 0.050207 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022727 | false | 0 | 0.045455 | 0 | 0.068182 | 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 |
d03407c791469abc90c286e86bdf016f767fb993 | 5,165 | py | Python | tests/test_validate.py | tommilligan/pyqubes | 8f9bccf2dc8b5f0eac75efd896bcba85eb3e6a6d | [
"Apache-2.0"
] | 12 | 2017-05-01T10:40:24.000Z | 2018-05-30T03:09:50.000Z | tests/test_validate.py | tommilligan/pyqubes | 8f9bccf2dc8b5f0eac75efd896bcba85eb3e6a6d | [
"Apache-2.0"
] | 3 | 2017-05-06T15:46:52.000Z | 2017-05-06T16:27:30.000Z | tests/test_validate.py | tommilligan/pyqubes | 8f9bccf2dc8b5f0eac75efd896bcba85eb3e6a6d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import unittest
import pyqubes.validate
import pyqubes.constants
class TestvalidateLinuxUsername(unittest.TestCase):
def test_validate_linux_username_valid_simple(self):
input_string = "foobar"
valid_input_string = pyqubes.validate.linux_username(input_string)
self.... | 41.99187 | 79 | 0.7485 | 597 | 5,165 | 6.051926 | 0.103853 | 0.255743 | 0.137282 | 0.14005 | 0.905619 | 0.884583 | 0.841129 | 0.794354 | 0.779408 | 0.779408 | 0 | 0.00402 | 0.18122 | 5,165 | 122 | 80 | 42.336066 | 0.850319 | 0.003872 | 0 | 0.568421 | 0 | 0 | 0.019833 | 0 | 0 | 0 | 0 | 0 | 0.231579 | 1 | 0.231579 | false | 0 | 0.031579 | 0 | 0.305263 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d052e5e2181888923a057ae38ee2830b44d4e2f9 | 188 | py | Python | 7_Modules/H_packages_02.py | Oscar-Oliveira/Python3 | fa791225a6810b75890d24407b73c5e1b514acbe | [
"MIT"
] | null | null | null | 7_Modules/H_packages_02.py | Oscar-Oliveira/Python3 | fa791225a6810b75890d24407b73c5e1b514acbe | [
"MIT"
] | null | null | null | 7_Modules/H_packages_02.py | Oscar-Oliveira/Python3 | fa791225a6810b75890d24407b73c5e1b514acbe | [
"MIT"
] | null | null | null | """
Packages
"""
from Package1 import ModuleTest
import Package2.ModuleTest
print(ModuleTest.my_multiplier(15, 10))
print(Package2.ModuleTest.my_multiplier(15, 10)) # full Path
| 18.8 | 61 | 0.744681 | 23 | 188 | 6 | 0.565217 | 0.26087 | 0.318841 | 0.347826 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068323 | 0.143617 | 188 | 9 | 62 | 20.888889 | 0.78882 | 0.101064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 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 | 1 | 0 | 8 |
d07c110c99d7d6aa4adaa131f01e7ef00783c21d | 208 | py | Python | django_emailsupport/tasks.py | rosti-cz/django-emailsupport | 908e347b1cc09d51096d2d14b4ccc3f1ccccc953 | [
"MIT"
] | 2 | 2016-01-16T08:45:28.000Z | 2017-11-15T19:30:52.000Z | django_emailsupport/tasks.py | rosti-cz/django-emailsupport | 908e347b1cc09d51096d2d14b4ccc3f1ccccc953 | [
"MIT"
] | null | null | null | django_emailsupport/tasks.py | rosti-cz/django-emailsupport | 908e347b1cc09d51096d2d14b4ccc3f1ccccc953 | [
"MIT"
] | null | null | null | from django.core.mail import send_mail as email_sender
def send_mail(subject, message, from_email, recipient_list, **kwargs):
return email_sender(subject, message, from_email, recipient_list, **kwargs)
| 34.666667 | 79 | 0.793269 | 30 | 208 | 5.233333 | 0.533333 | 0.101911 | 0.229299 | 0.292994 | 0.535032 | 0.535032 | 0.535032 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 208 | 5 | 80 | 41.6 | 0.853261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
ef6c8c08915d03e4a438bf6b135967830ba66557 | 180 | py | Python | reaver/models/base/__init__.py | HatsuneMiku4/reaver | 059320ce109498ec4100fcc2cee32177c427f1ea | [
"MIT"
] | 239 | 2019-01-18T08:47:24.000Z | 2022-03-21T08:29:50.000Z | reaver/models/base/__init__.py | HatsuneMiku4/reaver | 059320ce109498ec4100fcc2cee32177c427f1ea | [
"MIT"
] | 19 | 2019-01-27T10:10:12.000Z | 2021-12-29T20:02:05.000Z | reaver/models/base/__init__.py | HatsuneMiku4/reaver | 059320ce109498ec4100fcc2cee32177c427f1ea | [
"MIT"
] | 44 | 2019-01-18T02:12:46.000Z | 2021-07-28T14:54:10.000Z | import reaver.models.base.layers
from reaver.models.base.mlp import build_mlp
from reaver.models.base.cnn import build_cnn_nature
from reaver.models.base.policy import MultiPolicy
| 36 | 51 | 0.855556 | 29 | 180 | 5.206897 | 0.413793 | 0.317881 | 0.423841 | 0.397351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 180 | 4 | 52 | 45 | 0.909639 | 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 |
efc070f5459abc2acebdb304e71912457a4893d9 | 2,177 | py | Python | tests/snippets/set.py | evilpie/RustPython | 2d22a882ae642d4b2e66b44008378da63e71f78f | [
"MIT"
] | null | null | null | tests/snippets/set.py | evilpie/RustPython | 2d22a882ae642d4b2e66b44008378da63e71f78f | [
"MIT"
] | null | null | null | tests/snippets/set.py | evilpie/RustPython | 2d22a882ae642d4b2e66b44008378da63e71f78f | [
"MIT"
] | null | null | null | assert set([1,2]) == set([1,2])
assert not set([1,2,3]) == set([1,2])
assert set([1,2,3]) >= set([1,2])
assert set([1,2]) >= set([1,2])
assert not set([1,3]) >= set([1,2])
assert set([1,2,3]).issuperset(set([1,2]))
assert set([1,2]).issuperset(set([1,2]))
assert not set([1,3]).issuperset(set([1,2]))
assert set([1,2,... | 25.313953 | 72 | 0.55627 | 449 | 2,177 | 2.665924 | 0.089087 | 0.250627 | 0.288221 | 0.190476 | 0.83208 | 0.807018 | 0.807018 | 0.759399 | 0.631579 | 0.583124 | 0 | 0.122557 | 0.130455 | 2,177 | 85 | 73 | 25.611765 | 0.509773 | 0 | 0 | 0.16129 | 0 | 0 | 0.026654 | 0 | 0 | 0 | 0 | 0 | 0.66129 | 1 | 0.048387 | false | 0.032258 | 0 | 0.032258 | 0.096774 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
efda50e7b61e07a5f279e8620f3f65e2d2b5f9d6 | 154 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_0/_pkg0_0_0_0/_pkg0_0_0_0_1/__init__.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_0/_pkg0_0_0_0/_pkg0_0_0_0_1/__init__.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_0/_pkg0_0_0/_pkg0_0_0_0/_pkg0_0_0_0_1/__init__.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from ._mod0_0_0_0_1_0 import *
from ._mod0_0_0_0_1_1 import *
from ._mod0_0_0_0_1_2 import *
from ._mod0_0_0_0_1_3 import *
from ._mod0_0_0_0_1_4 import * | 30.8 | 30 | 0.811688 | 40 | 154 | 2.375 | 0.2 | 0.210526 | 0.473684 | 0.526316 | 0.884211 | 0.884211 | 0.757895 | 0 | 0 | 0 | 0 | 0.222222 | 0.123377 | 154 | 5 | 31 | 30.8 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
eff28c6e22a1eda4ed5e2be7da988074e02b33f4 | 71,110 | py | Python | src/sdk/python/OsduClient/api/register_api.py | Kyle-MSFT/self-managed-osdu | 4d5117686a3d06c8d41565cdf0214c883515b148 | [
"MIT"
] | 3 | 2021-11-05T20:52:54.000Z | 2021-11-23T23:02:29.000Z | src/sdk/python/OsduClient/api/register_api.py | Kyle-MSFT/self-managed-osdu | 4d5117686a3d06c8d41565cdf0214c883515b148 | [
"MIT"
] | 4 | 2021-11-05T19:57:08.000Z | 2021-12-14T13:59:04.000Z | src/sdk/python/OsduClient/api/register_api.py | Kyle-MSFT/self-managed-osdu | 4d5117686a3d06c8d41565cdf0214c883515b148 | [
"MIT"
] | 36 | 2021-08-31T20:58:25.000Z | 2022-03-30T17:02:57.000Z | # coding: utf-8
"""
self-managed-osdu
Rest API Documentation for Self Managed OSDU # noqa: E501
OpenAPI spec version: 0.11.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibil... | 46.813693 | 190 | 0.632344 | 8,471 | 71,110 | 5.052414 | 0.026325 | 0.051029 | 0.078507 | 0.027477 | 0.983621 | 0.981121 | 0.98035 | 0.976495 | 0.974088 | 0.971869 | 0 | 0.017486 | 0.280228 | 71,110 | 1,518 | 191 | 46.844532 | 0.818709 | 0.353031 | 0 | 0.82104 | 1 | 0.006046 | 0.212951 | 0.060226 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035067 | false | 0 | 0.004837 | 0 | 0.091898 | 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 |
4bc8a2034c931f2f9b8c62ed47e8166cbd91f43e | 491 | py | Python | src/runtime/tests/fake_app_library/app/main.py | dslab-epfl/svshi | 0b0f62931698bfd670dae3117078889d966688de | [
"MIT"
] | 1 | 2022-02-11T14:54:49.000Z | 2022-02-11T14:54:49.000Z | src/runtime/tests/fake_app_library/app/main.py | dslab-epfl/svshi | 0b0f62931698bfd670dae3117078889d966688de | [
"MIT"
] | null | null | null | src/runtime/tests/fake_app_library/app/main.py | dslab-epfl/svshi | 0b0f62931698bfd670dae3117078889d966688de | [
"MIT"
] | null | null | null | from devices import BINARY_SENSOR_INSTANCE_NAME, SWITCH_INSTANCE_NAME, TEMPERATURE_SENSOR_INSTANCE_NAME, HUMIDITY_SENSOR_INSTANCE_NAME
def invariant() -> bool:
# Write the invariants of the app here
# It can be any boolean expressions containing the read properties of the devices and constants
return HUMID... | 37.769231 | 134 | 0.778004 | 68 | 491 | 5.338235 | 0.558824 | 0.231405 | 0.247934 | 0.214876 | 0.165289 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.169043 | 491 | 12 | 135 | 40.916667 | 0.879902 | 0.315682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.166667 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
4bde294263410e09b57a019729fa0c90d4e5e515 | 181 | py | Python | operators/convolutional_layers_operators.py | deepcrime-tool/DeepCrime | b6ba1b99757d0106176a35d1059cf549f39fa780 | [
"MIT"
] | 1 | 2021-05-26T15:26:36.000Z | 2021-05-26T15:26:36.000Z | operators/convolutional_layers_operators.py | deepcrime-tool/DeepCrime | b6ba1b99757d0106176a35d1059cf549f39fa780 | [
"MIT"
] | null | null | null | operators/convolutional_layers_operators.py | deepcrime-tool/DeepCrime | b6ba1b99757d0106176a35d1059cf549f39fa780 | [
"MIT"
] | null | null | null | def mutate_kernel_size(kernel):
return None
def mutate_stride(stride):
return None
def mutate_padding(padding):
return None
def mutate_filter(filter):
return None | 16.454545 | 31 | 0.745856 | 25 | 181 | 5.2 | 0.36 | 0.276923 | 0.3 | 0.438462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187845 | 181 | 11 | 32 | 16.454545 | 0.884354 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
4be0524b6d45ec6169ba06697c9036e4f9631238 | 1,035 | py | Python | main.py | vitaliiseuk/Auto-Mac-App-Installer | 59ae503397f60e98482a372545c6a3585cfebf88 | [
"MIT"
] | null | null | null | main.py | vitaliiseuk/Auto-Mac-App-Installer | 59ae503397f60e98482a372545c6a3585cfebf88 | [
"MIT"
] | null | null | null | main.py | vitaliiseuk/Auto-Mac-App-Installer | 59ae503397f60e98482a372545c6a3585cfebf88 | [
"MIT"
] | null | null | null | import commands
import time
import getpass
import os
def main():
cmd = 'open wine.dmg'
a = commands.getstatusoutput(cmd)
print 'Wine package opened.'
time.sleep(8)
cmd = 'cp -a /Volumes/WineBottler\ Combo/Wine.app /Applications'
print 'on installing...'
a = commands.getstatusoutput(cmd)
print 'Finished.'... | 1,035 | 1,035 | 0.65314 | 139 | 1,035 | 4.755396 | 0.460432 | 0.081694 | 0.217852 | 0.245083 | 0.096823 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007109 | 0.184541 | 1,035 | 1 | 1,035 | 1,035 | 0.776066 | 0 | 0 | 0.216216 | 0 | 0 | 0.253861 | 0.040541 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.081081 | 0.108108 | null | null | 0.081081 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
4bef7613489c5d2bddef5ce010e42e9fb9902c77 | 9,121 | py | Python | vb2py/test_at_scale/testabhijeetviswa.py | ceprio/xl_vb2py | 899fec0301140fd8bd313e8c80b3fa839b3f5ee4 | [
"BSD-3-Clause"
] | null | null | null | vb2py/test_at_scale/testabhijeetviswa.py | ceprio/xl_vb2py | 899fec0301140fd8bd313e8c80b3fa839b3f5ee4 | [
"BSD-3-Clause"
] | null | null | null | vb2py/test_at_scale/testabhijeetviswa.py | ceprio/xl_vb2py | 899fec0301140fd8bd313e8c80b3fa839b3f5ee4 | [
"BSD-3-Clause"
] | null | null | null |
import unittest
from vb2py.test_at_scale import file_tester
class Test_abhijeetviswa(file_tester.FileTester):
def test0(self):
self._testFile('/Users/paul/Workspace/sandbox/vb2py-git-files/abhijeetviswa/Server/src/modDatabase.bas')
def test1(self):
self._testFile('/Users/paul/Workspace/sandbox/vb2py-git-file... | 41.271493 | 118 | 0.789277 | 1,226 | 9,121 | 5.792007 | 0.12969 | 0.078862 | 0.157724 | 0.207013 | 0.768202 | 0.768202 | 0.768202 | 0.768202 | 0.768202 | 0.768202 | 0 | 0.02334 | 0.055805 | 9,121 | 220 | 119 | 41.459091 | 0.801208 | 0 | 0 | 0 | 0 | 0.482759 | 0.669956 | 0.669079 | 0 | 0 | 0 | 0 | 0 | 1 | 0.482759 | false | 0 | 0.013793 | 0 | 0.503448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
ef21f49037d821b2dfb3fe9ec582ec82280d1dc3 | 43 | py | Python | colabtweak/__init__.py | kmedian/colabtweak | 748fca67db0b7f400f59f8e06e86b54342b02bd7 | [
"MIT"
] | 2 | 2020-04-17T12:52:44.000Z | 2020-09-22T12:36:54.000Z | colabtweak/__init__.py | kmedian/colabtweak | 748fca67db0b7f400f59f8e06e86b54342b02bd7 | [
"MIT"
] | 3 | 2018-10-31T06:36:24.000Z | 2019-12-01T10:50:59.000Z | colabtweak/__init__.py | kmedian/colabtweak | 748fca67db0b7f400f59f8e06e86b54342b02bd7 | [
"MIT"
] | null | null | null | from .load_data_path import load_data_path
| 21.5 | 42 | 0.883721 | 8 | 43 | 4.25 | 0.625 | 0.470588 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
322c580d8102a0aa3650cc85a6674634cb671321 | 22,494 | py | Python | opportunity/tracker/migrations/0001_initial.py | kern3020/opportunity | cc842876e93d949e205b124d90e8d54149d81993 | [
"MIT"
] | null | null | null | opportunity/tracker/migrations/0001_initial.py | kern3020/opportunity | cc842876e93d949e205b124d90e8d54149d81993 | [
"MIT"
] | null | null | null | opportunity/tracker/migrations/0001_initial.py | kern3020/opportunity | cc842876e93d949e205b124d90e8d54149d81993 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'UserProfile'
db.create_table('tracker_userprofile', (
('id', self.gf('django.db.... | 64.268571 | 182 | 0.576687 | 2,414 | 22,494 | 5.279619 | 0.05551 | 0.112358 | 0.195528 | 0.279325 | 0.806905 | 0.78368 | 0.776618 | 0.759121 | 0.733229 | 0.672813 | 0 | 0.009564 | 0.195874 | 22,494 | 350 | 183 | 64.268571 | 0.695046 | 0.02983 | 0 | 0.443299 | 0 | 0 | 0.515507 | 0.326849 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006873 | false | 0.003436 | 0.013746 | 0 | 0.030928 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
324818ad4c2ccf3d444c68b906f147a04fe401c4 | 15,192 | py | Python | script/lib/get_drone_cmd.py | cyberphantom/Selfie-Drone-Stick | 7ac9fa49445c63a4fdbcb20db47ae877624ea03b | [
"MIT"
] | 2 | 2021-07-29T00:55:43.000Z | 2022-03-21T17:36:51.000Z | script/lib/get_drone_cmd.py | cyberphantom/Selfie-Drone-Stick | 7ac9fa49445c63a4fdbcb20db47ae877624ea03b | [
"MIT"
] | null | null | null | script/lib/get_drone_cmd.py | cyberphantom/Selfie-Drone-Stick | 7ac9fa49445c63a4fdbcb20db47ae877624ea03b | [
"MIT"
] | 1 | 2022-03-21T17:36:52.000Z | 2022-03-21T17:36:52.000Z | #!/usr/bin/env python
from geometry_msgs.msg import Twist
def cmdVel(ac, vel):
vel_cmd = Twist()
action = ac
if action == 0: # Hover
vel_cmd.linear.x = 0.0
vel_cmd.angular.x = 0.0
vel_cmd.linear.y = 0.0
vel_cmd.angular.y = 0.0
vel_cmd.linear.z = 0.0
vel_cmd... | 29.614035 | 59 | 0.540482 | 2,554 | 15,192 | 3.065779 | 0.037588 | 0.291188 | 0.12963 | 0.207407 | 0.925926 | 0.925926 | 0.924904 | 0.920562 | 0.91622 | 0.91622 | 0 | 0.057594 | 0.341693 | 15,192 | 513 | 60 | 29.614035 | 0.725327 | 0.092549 | 0 | 0.847534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002242 | false | 0 | 0.002242 | 0 | 0.006726 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
32b3b5e397e0ecd91eb15298c06bf67c9980ab26 | 9,734 | py | Python | tsc/models/.ipynb_checkpoints/lrs_layer-checkpoint.py | vishalbelsare/seq2tens | e5d1160dbd228e4a284ba38460aa0a8c716340e0 | [
"Apache-2.0"
] | 19 | 2020-08-20T13:46:09.000Z | 2022-01-20T15:37:06.000Z | tsc/models/.ipynb_checkpoints/lrs_layer-checkpoint.py | vishalbelsare/seq2tens | e5d1160dbd228e4a284ba38460aa0a8c716340e0 | [
"Apache-2.0"
] | 2 | 2021-08-25T15:10:29.000Z | 2022-02-09T23:55:25.000Z | tsc/models/.ipynb_checkpoints/lrs_layer-checkpoint.py | vishalbelsare/seq2tens | e5d1160dbd228e4a284ba38460aa0a8c716340e0 | [
"Apache-2.0"
] | 3 | 2020-08-30T12:11:30.000Z | 2021-04-14T02:17:27.000Z | import numpy as np
import tensorflow as tf
tf.logging.set_verbosity(tf.logging.ERROR)
import keras
from keras import backend as K
from keras import initializers, regularizers, layers
class TimeAugmentation(layers.Layer):
def __init__(self, **kwargs):
super(TimeAugmentation, self).__init__(**kwargs)
... | 41.956897 | 169 | 0.536162 | 1,223 | 9,734 | 4.10139 | 0.085854 | 0.053828 | 0.041467 | 0.030502 | 0.908493 | 0.904107 | 0.902313 | 0.868222 | 0.853868 | 0.853868 | 0 | 0.01791 | 0.3346 | 9,734 | 232 | 170 | 41.956897 | 0.756523 | 0.004418 | 0 | 0.818681 | 0 | 0 | 0.004128 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 1 | 0.065934 | false | 0 | 0.027473 | 0.005495 | 0.186813 | 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 |
08c66c993553e72d924e924918b1f52c9b49912d | 39 | py | Python | src/rooms/test_scripts/master_test_script.py | gomyar/rooms | ba20cb77380f439d60d452d2bc69bd94c9c21c24 | [
"MIT"
] | null | null | null | src/rooms/test_scripts/master_test_script.py | gomyar/rooms | ba20cb77380f439d60d452d2bc69bd94c9c21c24 | [
"MIT"
] | null | null | null | src/rooms/test_scripts/master_test_script.py | gomyar/rooms | ba20cb77380f439d60d452d2bc69bd94c9c21c24 | [
"MIT"
] | null | null | null |
def start_room():
return "room1"
| 7.8 | 18 | 0.615385 | 5 | 39 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.25641 | 39 | 4 | 19 | 9.75 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 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 |
3e9d392e2fed3ebb0eb5e55e7c810f71558c275b | 822 | py | Python | capitulo2_decisoes/decisao_encadeada.py | julioccg/exercicios-python-fiap | 73a9f5342b0df198f6ecbe1a2a8af35fe4a45e3a | [
"MIT"
] | null | null | null | capitulo2_decisoes/decisao_encadeada.py | julioccg/exercicios-python-fiap | 73a9f5342b0df198f6ecbe1a2a8af35fe4a45e3a | [
"MIT"
] | null | null | null | capitulo2_decisoes/decisao_encadeada.py | julioccg/exercicios-python-fiap | 73a9f5342b0df198f6ecbe1a2a8af35fe4a45e3a | [
"MIT"
] | null | null | null | nome = input("Digite o nome: ")
idade = int(input("Digite a idade: "))
doenca_infectocontagiosa = input("Suspeita de doença-infectocontagiosa?").upper()
if idade >= 65:
print("Paciente COM prioridade")
if doenca_infectocontagiosa == "SIM":
print("Encaminhe o paciente para sala AMARELA")
elif doenca_... | 43.263158 | 81 | 0.694647 | 99 | 822 | 5.717172 | 0.313131 | 0.20318 | 0.106007 | 0.162544 | 0.724382 | 0.724382 | 0.724382 | 0.724382 | 0.724382 | 0.724382 | 0 | 0.003063 | 0.205596 | 822 | 19 | 82 | 43.263158 | 0.863706 | 0 | 0 | 0.684211 | 0 | 0 | 0.486027 | 0.030377 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.421053 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
3ef8d6923a6837b197e550caceb47c4b05de3ba0 | 12,248 | py | Python | controllers/vuelos salientes aena_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | controllers/vuelos salientes aena_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | controllers/vuelos salientes aena_controller.py | SergioCMDev/Busines-Inteligence-applied-to-tourism | 61834a46fce22453e94b7bbdf8d4ecdcf128285a | [
"Apache-2.0"
] | null | null | null | from ..DB.Repositorio_Vuelos_Salientes_Aena import RepositoryVuelosSalientesAena as DBRepository
from ..Utilidades.Conversores import Conversores as Conversor
def obtener_cantidad_ciudad_anualmente_mensualmente(PaisOrigen, CiudadOrigen, Anio):
"""
Obtiene la cantidad de vuelos salientes en una ciudad de un... | 35.917889 | 189 | 0.755062 | 1,287 | 12,248 | 7.133644 | 0.083916 | 0.037578 | 0.03834 | 0.059906 | 0.834441 | 0.815489 | 0.805577 | 0.805577 | 0.799913 | 0.799913 | 0 | 0.000201 | 0.186806 | 12,248 | 340 | 190 | 36.023529 | 0.921586 | 0.50645 | 0 | 0.729412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002941 | 0 | 1 | 0.129412 | false | 0 | 0.023529 | 0 | 0.282353 | 0.011765 | 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 |
410914246fc09995b392003d6a7cfc572470f10f | 545 | py | Python | eval_covid19china_timm-regnetx_002_Posterize.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_covid19china_timm-regnetx_002_Posterize.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | eval_covid19china_timm-regnetx_002_Posterize.py | BrunoKrinski/segtool | cb604b5f38104c43a76450136e37c3d1c4b6d275 | [
"MIT"
] | null | null | null | import os
ls=["python main.py --configs configs/eval_covid19china_unetplusplus_timm-regnetx_002_0_Posterize.yml",
"python main.py --configs configs/eval_covid19china_unetplusplus_timm-regnetx_002_1_Posterize.yml",
"python main.py --configs configs/eval_covid19china_unetplusplus_timm-regnetx_002_2_Posterize.yml",
"pyth... | 49.545455 | 103 | 0.847706 | 80 | 545 | 5.4 | 0.3 | 0.115741 | 0.138889 | 0.219907 | 0.898148 | 0.898148 | 0.898148 | 0.898148 | 0.898148 | 0.898148 | 0 | 0.058366 | 0.056881 | 545 | 11 | 104 | 49.545455 | 0.782101 | 0 | 0 | 0 | 0 | 0 | 0.879121 | 0.650183 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
410b9f57a2678159bf4685d64f3ba2aabb5254e1 | 11,846 | py | Python | get_E_of_graph.py | shuyueL/DMVF | c85f5b4a9f616c8303fa949740ae33e5ff870aeb | [
"MIT"
] | 1 | 2020-09-20T15:38:41.000Z | 2020-09-20T15:38:41.000Z | get_E_of_graph.py | shuyueL/DMVF | c85f5b4a9f616c8303fa949740ae33e5ff870aeb | [
"MIT"
] | null | null | null | get_E_of_graph.py | shuyueL/DMVF | c85f5b4a9f616c8303fa949740ae33e5ff870aeb | [
"MIT"
] | null | null | null | def read_E_matrix():
# # physical distance
# E = [[1, 1, 0, 0, 1, 1],
# [1, 1, 1, 1, 1, 0],
# [0, 1, 1, 1, 0, 0],
# [0, 1, 1, 1, 0, 0],
# [1, 1, 0, 0, 1, 0],
# [1, 0, 0, 0, 0, 1]
# ]
# fully connected
# E = [[1, 1, 1, 1, 1, 1],
# [1, 1, 1, 1... | 26.984055 | 34 | 0.226659 | 2,255 | 11,846 | 1.181818 | 0.019069 | 0.581614 | 0.563977 | 0.469794 | 0.915572 | 0.901313 | 0.89531 | 0.893809 | 0.874296 | 0.860413 | 0 | 0.382547 | 0.526 | 11,846 | 439 | 35 | 26.984055 | 0.092075 | 0.075553 | 0 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0271 | false | 0 | 0 | 0 | 0.054201 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 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 | 14 |
4121824ee0631fbe11cc7066206bc934eab2afaa | 9,055 | py | Python | p0/tutorial/submission_autograder.py | muyangye/UC-Berkeley-CS188-Projects | d5d06c6b5bf72ae4dc7f35fe4c68274642309ff5 | [
"MIT"
] | 1 | 2022-02-06T01:29:35.000Z | 2022-02-06T01:29:35.000Z | p0/tutorial/submission_autograder.py | muyangye/UC-Berkeley-CS188-Projects | d5d06c6b5bf72ae4dc7f35fe4c68274642309ff5 | [
"MIT"
] | null | null | null | p0/tutorial/submission_autograder.py | muyangye/UC-Berkeley-CS188-Projects | d5d06c6b5bf72ae4dc7f35fe4c68274642309ff5 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
from codecs import open
import os, ssl
if (not os.environ.get('PYTHONHTTPSVERIFY', '') and getattr(ssl, '_create_unverified_context', None)):
ssl._create_default_https_context = ssl._create_unverified_context
"""
CS 188 Local Subm... | 292.096774 | 8,142 | 0.927554 | 264 | 9,055 | 31.57197 | 0.916667 | 0.003239 | 0.004559 | 0.006239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124238 | 0.022198 | 9,055 | 30 | 8,143 | 301.833333 | 0.817145 | 0.004638 | 0 | 0 | 0 | 0.142857 | 0.967332 | 0.965312 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0.142857 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
f5c0a714ef9a8dfb8360101216a48f44fbe7b9a8 | 130 | py | Python | geojsoncontour/__init__.py | moghimis/geojsoncontour | 23f298cb5c5ae4b7000024423493e109a9cc908d | [
"MIT"
] | 63 | 2016-10-31T06:55:47.000Z | 2022-02-04T06:47:32.000Z | geojsoncontour/__init__.py | moghimis/geojsoncontour | 23f298cb5c5ae4b7000024423493e109a9cc908d | [
"MIT"
] | 20 | 2016-09-26T15:25:53.000Z | 2020-11-11T18:26:32.000Z | geojsoncontour/__init__.py | moghimis/geojsoncontour | 23f298cb5c5ae4b7000024423493e109a9cc908d | [
"MIT"
] | 26 | 2016-06-15T02:39:10.000Z | 2022-02-04T06:48:15.000Z | from .contour import contour_to_geojson
from .contour import contourf_to_geojson_overlap
from .contour import contourf_to_geojson
| 32.5 | 48 | 0.884615 | 19 | 130 | 5.684211 | 0.368421 | 0.305556 | 0.472222 | 0.462963 | 0.62963 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 130 | 3 | 49 | 43.333333 | 0.915254 | 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 |
f5e0023cc7f83e68f712bc1d6d2348734d48c426 | 1,767 | py | Python | entente/test_shuffle.py | metabolize/entente | c1b16bb7c7fb83b31db4e8ddaf65f1504374fe7a | [
"MIT"
] | 4 | 2019-05-09T17:11:58.000Z | 2022-01-28T20:27:39.000Z | entente/test_shuffle.py | metabolize/entente | c1b16bb7c7fb83b31db4e8ddaf65f1504374fe7a | [
"MIT"
] | 94 | 2018-10-02T15:45:55.000Z | 2021-07-14T14:20:38.000Z | entente/test_shuffle.py | metabolize/entente | c1b16bb7c7fb83b31db4e8ddaf65f1504374fe7a | [
"MIT"
] | 3 | 2019-01-21T00:59:24.000Z | 2022-01-28T20:26:28.000Z | from entente.shuffle import shuffle_faces, shuffle_vertices
import numpy as np
from .testing import assert_same_face_set, assert_same_vertex_set, vitra_mesh
def test_shuffle_vertices():
test_mesh = vitra_mesh()
shuffled, ordering = shuffle_vertices(test_mesh, ret_new_ordering=True)
np.testing.assert_rais... | 36.061224 | 78 | 0.757216 | 249 | 1,767 | 5.016064 | 0.124498 | 0.128102 | 0.192154 | 0.160128 | 0.835869 | 0.835869 | 0.835869 | 0.690152 | 0.690152 | 0.605284 | 0 | 0 | 0.152801 | 1,767 | 48 | 79 | 36.8125 | 0.834335 | 0.034522 | 0 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.567568 | 1 | 0.054054 | false | 0 | 0.081081 | 0 | 0.135135 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 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 |
eb0ec71ad624093baa7aadf12ea0dd9bc5be68d9 | 274 | py | Python | test2.py | Hy-Oy/new | 88a47d75b5750bdb2e8a9ea09e5e66c1f0ab82e4 | [
"MIT"
] | null | null | null | test2.py | Hy-Oy/new | 88a47d75b5750bdb2e8a9ea09e5e66c1f0ab82e4 | [
"MIT"
] | null | null | null | test2.py | Hy-Oy/new | 88a47d75b5750bdb2e8a9ea09e5e66c1f0ab82e4 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# author: ouyangshaokun
# date:
print(44444444444)
print("fsfasfaa")
print(22222222)
print("fsfasfa")
print(123214)
print(22222222)
print(22222222)
print(22222222)
print(22222222)
print(22222222)
print(22222222)
print(42342) | 14.421053 | 23 | 0.733577 | 34 | 274 | 5.911765 | 0.5 | 0.452736 | 0.626866 | 0.646766 | 0.412935 | 0.412935 | 0.412935 | 0.412935 | 0.412935 | 0.412935 | 0 | 0.319838 | 0.09854 | 274 | 19 | 24 | 14.421053 | 0.493927 | 0.259124 | 0 | 0.583333 | 0 | 0 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
eb4092161363be97992b3d1e815e23d53856a2b4 | 40,481 | py | Python | rcnn/lib/python3.6/site-packages/imgaug/bak/affine.py | dreamingweaver/making_passportImage | 68f23411780ff82abe934dfae5fc04acb80f2c49 | [
"MIT"
] | 1 | 2019-01-12T13:17:32.000Z | 2019-01-12T13:17:32.000Z | rcnn/lib/python3.6/site-packages/imgaug/bak/affine.py | dreamingweaver/making_passportImage | 68f23411780ff82abe934dfae5fc04acb80f2c49 | [
"MIT"
] | null | null | null | rcnn/lib/python3.6/site-packages/imgaug/bak/affine.py | dreamingweaver/making_passportImage | 68f23411780ff82abe934dfae5fc04acb80f2c49 | [
"MIT"
] | null | null | null | class AbstractAffine(Augmenter):
def __init__(self):
super(AbstractAffine, self).__init__(name=name, deterministic=deterministic, random_state=random_state)
self.scale = self._process_scale_param()
def _process_scale_param(self, scale):
# scale
# float | (float, float) | [float... | 54.118984 | 237 | 0.615177 | 5,416 | 40,481 | 4.45938 | 0.070532 | 0.034614 | 0.017763 | 0.026499 | 0.783745 | 0.760724 | 0.743748 | 0.731244 | 0.714516 | 0.712074 | 0 | 0.018656 | 0.292903 | 40,481 | 747 | 238 | 54.191432 | 0.825112 | 0.054668 | 0 | 0.752404 | 0 | 0.019231 | 0.108419 | 0 | 0 | 0 | 0 | 0 | 0.103365 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
de62293d8d5434e1c68b606e15919f74a056f0b4 | 64,972 | py | Python | Fun/President_Test.py | Premium-Snow-Removal/Website | 191588dc913954ffa854d3bd15ecb96c7c3c72f9 | [
"Unlicense"
] | null | null | null | Fun/President_Test.py | Premium-Snow-Removal/Website | 191588dc913954ffa854d3bd15ecb96c7c3c72f9 | [
"Unlicense"
] | null | null | null | Fun/President_Test.py | Premium-Snow-Removal/Website | 191588dc913954ffa854d3bd15ecb96c7c3c72f9 | [
"Unlicense"
] | null | null | null | #Import
import os
#Set window size and get rid of Script Terminal Auto-Prints
os.system('clear')
raw_input("type anything to start: ")
os.system('clear')
#Setting Defaults
R_points = 18
A_points = 30
O_points = 0
J_points = 5
V_points = 14
alist = [A_points, "Alexander"]
olist = [O_points, "Olivia"]
vlist = [V_points, ... | 26.135157 | 118 | 0.58162 | 8,419 | 64,972 | 4.445421 | 0.036821 | 0.071608 | 0.084166 | 0.109416 | 0.965265 | 0.965265 | 0.963742 | 0.96286 | 0.96262 | 0.96262 | 0 | 0.023256 | 0.289202 | 64,972 | 2,485 | 119 | 26.145674 | 0.787147 | 0.006141 | 0 | 0.972896 | 0 | 0.002023 | 0.379006 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.000405 | null | null | 0.403722 | 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 | 1 | 0 | 9 |
dead50dd23e0622be5f0c426e6a866dfa742c903 | 170 | py | Python | bayesian_torch/layers/__init__.py | JunhoPark0314/bayesian-torch | 1590cc483ae7649cd60aad2886ae95f32bea0dbe | [
"BSD-3-Clause"
] | 117 | 2021-01-12T11:14:09.000Z | 2022-03-27T08:04:35.000Z | bayesian_torch/layers/__init__.py | piEsposito/bayesian-torch | f1fc4e5b044fae587279ef29bc9cd33364791d56 | [
"BSD-3-Clause"
] | 12 | 2021-04-01T10:36:51.000Z | 2021-12-16T21:51:30.000Z | bayesian_torch/layers/__init__.py | piEsposito/bayesian-torch | f1fc4e5b044fae587279ef29bc9cd33364791d56 | [
"BSD-3-Clause"
] | 17 | 2021-01-13T13:16:54.000Z | 2022-03-06T16:28:45.000Z | from .flipout_layers import *
from .variational_layers import *
from .base_variational_layer import *
from .batchnorm import *
from .dropout import *
from .relu import *
| 24.285714 | 37 | 0.788235 | 22 | 170 | 5.909091 | 0.454545 | 0.384615 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 170 | 6 | 38 | 28.333333 | 0.890411 | 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 |
deb4423e85cdbe44fddc37e7703f6cf806083f5a | 23,712 | py | Python | generated/resources/service_template_heat.py | atsgen/tf-heat-plugin | 5c0405eb93287368f60f7e227e5af5ada6bfeed2 | [
"Apache-2.0"
] | 1 | 2020-04-05T19:43:40.000Z | 2020-04-05T19:43:40.000Z | generated/resources/service_template_heat.py | atsgen/tf-heat-plugin | 5c0405eb93287368f60f7e227e5af5ada6bfeed2 | [
"Apache-2.0"
] | null | null | null | generated/resources/service_template_heat.py | atsgen/tf-heat-plugin | 5c0405eb93287368f60f7e227e5af5ada6bfeed2 | [
"Apache-2.0"
] | 1 | 2020-08-25T12:47:27.000Z | 2020-08-25T12:47:27.000Z |
# AUTO-GENERATED file from IFMapApiGenerator. Do Not Edit!
from contrail_heat.resources import contrail
try:
from heat.common.i18n import _
except ImportError:
pass
from heat.engine import attributes
from heat.engine import constraints
from heat.engine import properties
try:
from heat.openstack.common imp... | 65.142857 | 866 | 0.676409 | 2,574 | 23,712 | 5.784382 | 0.060218 | 0.211566 | 0.339177 | 0.197999 | 0.881926 | 0.847606 | 0.7973 | 0.789711 | 0.741286 | 0.69004 | 0 | 0.003947 | 0.241312 | 23,712 | 363 | 867 | 65.322314 | 0.82368 | 0.007633 | 0 | 0.438438 | 1 | 0 | 0.087014 | 0.067885 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015015 | false | 0.003003 | 0.033033 | 0.003003 | 0.072072 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 10 |
debe1c012c715d79cab8ef0d2e6e853850cb3f48 | 124 | py | Python | functions/test/test_hello_world.py | developerDemetri/lambda-utils | d2afa4e185f77655bb4b297024107ae94926d952 | [
"MIT"
] | null | null | null | functions/test/test_hello_world.py | developerDemetri/lambda-utils | d2afa4e185f77655bb4b297024107ae94926d952 | [
"MIT"
] | null | null | null | functions/test/test_hello_world.py | developerDemetri/lambda-utils | d2afa4e185f77655bb4b297024107ae94926d952 | [
"MIT"
] | null | null | null | from src.HelloWorld import index
def test_hello_world_handler():
assert index.hello_world_handler(None, None) is None
| 20.666667 | 56 | 0.798387 | 19 | 124 | 4.947368 | 0.684211 | 0.212766 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137097 | 124 | 5 | 57 | 24.8 | 0.878505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
9d3e227669fa72afd0dec072cab2331dc372b9ce | 816,856 | py | Python | pirates/quest/QuestDB.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/quest/QuestDB.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/quest/QuestDB.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | import random
from direct.directnotify import DirectNotifyGlobal
from pirates.quest.QuestDNA import QuestDNA
from pirates.quest.QuestTaskDNA import *
from pirates.quest.QuestPrereq import *
from pirates.quest.QuestReward import *
from pirates.quest.QuestConstants import QuestItems
from pirates.quest.QuestConstants impo... | 20,421.4 | 815,383 | 0.829582 | 88,460 | 816,856 | 7.631325 | 0.047637 | 0.035789 | 0.046973 | 0.064868 | 0.876869 | 0.852746 | 0.832311 | 0.824252 | 0.811359 | 0.793856 | 0 | 0.024292 | 0.041126 | 816,856 | 40 | 815,384 | 20,421.4 | 0.837574 | 0 | 0 | 0.057143 | 0 | 0 | 0.04368 | 0.028555 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0.028571 | 0.571429 | 0.028571 | 0.628571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 10 |
19c539c6ae7e337b2bc397ed314149dac622f3a4 | 36,042 | py | Python | topboard_sdk/api/topboard/topboard_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | 5 | 2019-07-31T04:11:05.000Z | 2021-01-07T03:23:20.000Z | topboard_sdk/api/topboard/topboard_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | topboard_sdk/api/topboard/topboard_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import sys
import topboard_sdk.model.topboard.comment_pb2
import topboard_sdk.model.topboard.issue_pb2
import topboard_sdk.model.topboard.product_pb2
import topboard_sdk.model.topboard.sprint_pb2
import topboard_sdk.api.topboard.delete_comment_pb2
import google.protobuf.empty_pb... | 37.349223 | 174 | 0.610233 | 3,949 | 36,042 | 5.285389 | 0.048113 | 0.073783 | 0.034209 | 0.053756 | 0.910933 | 0.90849 | 0.897374 | 0.862831 | 0.81583 | 0.808739 | 0 | 0.007096 | 0.292326 | 36,042 | 964 | 175 | 37.387967 | 0.811221 | 0.1953 | 0 | 0.787639 | 0 | 0 | 0.078979 | 0.051127 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03645 | false | 0 | 0.042789 | 0 | 0.115689 | 0.050713 | 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 |
5f0014f86c7adb5f357e6f71446fbbdc4cfa169b | 4,674 | py | Python | nnsvs/experimental/tacotron.py | r9y9/dnnsvs | b028f76fd4f081859ec99a2034e0e0dc8ce1a409 | [
"MIT"
] | 72 | 2020-04-19T16:14:09.000Z | 2020-05-02T04:02:05.000Z | nnsvs/experimental/tacotron.py | r9y9/dnnsvs | b028f76fd4f081859ec99a2034e0e0dc8ce1a409 | [
"MIT"
] | 1 | 2020-04-19T16:28:03.000Z | 2020-05-02T13:49:13.000Z | nnsvs/experimental/tacotron.py | r9y9/dnnsvs | b028f76fd4f081859ec99a2034e0e0dc8ce1a409 | [
"MIT"
] | 3 | 2020-04-20T02:34:31.000Z | 2020-04-26T01:04:35.000Z | from nnsvs.base import BaseModel
from nnsvs.tacotron.decoder import Decoder
from nnsvs.tacotron.decoder import NoAttDecoder as NoAttTacotron2Decoder
from nnsvs.tacotron.encoder import Encoder as Tacotron2Encoder
from nnsvs.tacotron.postnet import Postnet as Tacotron2Postnet
class Tacotron2(BaseModel):
def __init_... | 27.821429 | 72 | 0.600342 | 502 | 4,674 | 5.227092 | 0.149402 | 0.054878 | 0.036585 | 0.032012 | 0.865091 | 0.81936 | 0.81936 | 0.81936 | 0.81936 | 0.81936 | 0 | 0.030971 | 0.32991 | 4,674 | 167 | 73 | 27.988024 | 0.806833 | 0.052632 | 0 | 0.839695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061069 | false | 0 | 0.038168 | 0.015267 | 0.160305 | 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 |
a0b00b7acb314b294ebb8f1e70838068290d73b9 | 2,092 | py | Python | tests/flow/test_filters.py | vishalbelsare/RedisGraph | 40b52477f8f7dbc5221d01f1648817f6772cd8c2 | [
"Ruby",
"ISC",
"BSD-3-Clause",
"MIT"
] | 988 | 2019-05-13T13:46:45.000Z | 2022-03-31T19:36:19.000Z | tests/flow/test_filters.py | vishalbelsare/RedisGraph | 40b52477f8f7dbc5221d01f1648817f6772cd8c2 | [
"Ruby",
"ISC",
"BSD-3-Clause",
"MIT"
] | 1,033 | 2019-05-14T07:54:38.000Z | 2022-03-31T14:28:38.000Z | tests/flow/test_filters.py | vishalbelsare/RedisGraph | 40b52477f8f7dbc5221d01f1648817f6772cd8c2 | [
"Ruby",
"ISC",
"BSD-3-Clause",
"MIT"
] | 165 | 2019-05-14T07:31:30.000Z | 2022-03-30T19:04:17.000Z | from RLTest import Env
from redisgraph import Graph
class testFilters():
def __init__(self):
self.env = Env(decodeResponses=True)
def test01_filter_with_different_predicates(self):
g = Graph("g", self.env.getConnection())
g.query("UNWIND range(1, 5) AS x CREATE (:N { v: x, b: x % 2 = 0... | 51.02439 | 104 | 0.572658 | 401 | 2,092 | 2.952618 | 0.142145 | 0.065878 | 0.081081 | 0.091216 | 0.824324 | 0.824324 | 0.824324 | 0.824324 | 0.824324 | 0.824324 | 0 | 0.032808 | 0.271511 | 2,092 | 40 | 105 | 52.3 | 0.744094 | 0.070268 | 0 | 0.230769 | 0 | 0.269231 | 0.255418 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.192308 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
268ead5e7eb1f6a8504482171ffd4ee8e74ad527 | 6,867 | py | Python | saliency/tf1/xrai.py | craymichael/saliency | d796ad4a4bcc53dff03187a4ff27bff38a4bb404 | [
"Apache-2.0"
] | null | null | null | saliency/tf1/xrai.py | craymichael/saliency | d796ad4a4bcc53dff03187a4ff27bff38a4bb404 | [
"Apache-2.0"
] | null | null | null | saliency/tf1/xrai.py | craymichael/saliency | d796ad4a4bcc53dff03187a4ff27bff38a4bb404 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 42.388889 | 123 | 0.664919 | 885 | 6,867 | 5.050847 | 0.245198 | 0.040268 | 0.017897 | 0.016107 | 0.788367 | 0.788367 | 0.788367 | 0.788367 | 0.788367 | 0.788367 | 0 | 0.002864 | 0.288044 | 6,867 | 161 | 124 | 42.652174 | 0.911434 | 0.678171 | 0 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0 | 1 | 0.057692 | false | 0 | 0.038462 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
269037f668441aea11879d3eece4b2b5adfc6867 | 2,506 | py | Python | tests/test_parser.py | justinyiwang/lux | 22f886d2c2591cb665eb63f976ea425afd0ac3e1 | [
"Apache-2.0"
] | null | null | null | tests/test_parser.py | justinyiwang/lux | 22f886d2c2591cb665eb63f976ea425afd0ac3e1 | [
"Apache-2.0"
] | null | null | null | tests/test_parser.py | justinyiwang/lux | 22f886d2c2591cb665eb63f976ea425afd0ac3e1 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import lux
def test_case1():
ldf = pd.read_csv("lux/data/car.csv")
ldf.set_intent(["Horsepower"])
assert(type(ldf._intent[0]) is lux.Clause)
assert(ldf._intent[0].attribute == "Horsepower")
def test_case2():
ldf = pd.read_csv("lux/data/car.csv")
ldf.set_intent(["Horsepower", lux.Clause("Mile... | 37.402985 | 81 | 0.697925 | 368 | 2,506 | 4.603261 | 0.133152 | 0.164699 | 0.159386 | 0.145809 | 0.868949 | 0.868949 | 0.868949 | 0.818182 | 0.818182 | 0.818182 | 0 | 0.0162 | 0.088587 | 2,506 | 67 | 82 | 37.402985 | 0.725482 | 0.01237 | 0 | 0.641509 | 0 | 0 | 0.195854 | 0.012792 | 0 | 0 | 0 | 0.014925 | 0.584906 | 1 | 0.113208 | false | 0 | 0.037736 | 0 | 0.150943 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
cd91505a4122625d687b99dfd0056f5b92b8f55e | 16,539 | py | Python | titus/test/testDumpstate.py | jmilleralpine/hadrian | 6a438e0370487bbbac5e64a4d6d7a2728902d153 | [
"Apache-2.0"
] | 127 | 2015-08-05T17:08:35.000Z | 2019-10-17T07:07:08.000Z | titus/test/testDumpstate.py | jmilleralpine/hadrian | 6a438e0370487bbbac5e64a4d6d7a2728902d153 | [
"Apache-2.0"
] | 54 | 2015-11-20T02:21:29.000Z | 2019-11-23T20:17:23.000Z | titus/test/testDumpstate.py | jmilleralpine/hadrian | 6a438e0370487bbbac5e64a4d6d7a2728902d153 | [
"Apache-2.0"
] | 58 | 2015-05-27T18:19:29.000Z | 2019-05-23T12:37:17.000Z | #!/usr/bin/env python
# Copyright (C) 2014 Open Data ("Open Data" refers to
# one or more of the following companies: Open Data Partners LLC,
# Open Data Research LLC, or Open Data Capital LLC.)
#
# This file is part of Hadrian.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this... | 25.923197 | 89 | 0.561038 | 1,959 | 16,539 | 4.732517 | 0.084227 | 0.116492 | 0.113256 | 0.156402 | 0.872937 | 0.872937 | 0.872937 | 0.87078 | 0.87078 | 0.867544 | 0 | 0.009871 | 0.252675 | 16,539 | 637 | 90 | 25.963893 | 0.74021 | 0.044743 | 0 | 0.949324 | 0 | 0 | 0.473324 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 1 | 0.040541 | false | 0 | 0.005068 | 0 | 0.047297 | 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 |
269a4f0cf431e50e27c25300c306da35cf7ef0e4 | 22,149 | py | Python | python/climate_ae/models/ae/module.py | kueddelmaier/latent-linear-adjustment-autoencoders | f180732695a6c2abd8a9ad9d8cfeed2f82f047bb | [
"MIT"
] | 3 | 2020-10-29T19:08:27.000Z | 2021-08-14T09:19:48.000Z | python/climate_ae/models/ae/module.py | kueddelmaier/latent-linear-adjustment-autoencoders | f180732695a6c2abd8a9ad9d8cfeed2f82f047bb | [
"MIT"
] | 6 | 2020-11-13T19:01:07.000Z | 2022-01-04T09:34:05.000Z | python/climate_ae/models/ae/module.py | kueddelmaier/latent-linear-adjustment-autoencoders | f180732695a6c2abd8a9ad9d8cfeed2f82f047bb | [
"MIT"
] | 1 | 2021-03-01T15:28:56.000Z | 2021-03-01T15:28:56.000Z | import tensorflow as tf
class _ResidualInnerBlock(tf.keras.Model):
def __init__(self, num_filters_resnet_conv1, num_filters_resnet_conv2,
kernel_size, *args, **kwargs):
super().__init__(*args, **kwargs)
self.conv1 = tf.keras.layers.Conv2D(
filters=num_filters_resnet_conv1, ker... | 40.052441 | 86 | 0.604361 | 2,794 | 22,149 | 4.564782 | 0.053329 | 0.077623 | 0.035753 | 0.037635 | 0.908656 | 0.875647 | 0.847577 | 0.828211 | 0.798651 | 0.789164 | 0 | 0.00843 | 0.276943 | 22,149 | 552 | 87 | 40.125 | 0.787949 | 0 | 0 | 0.789583 | 0 | 0 | 0.015621 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1125 | false | 0 | 0.002083 | 0.010417 | 0.214583 | 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 |
26a8bd9ba1952ab7a732acef1c57d1e97e552276 | 84 | py | Python | spira/yevon/io/__init__.py | qedalab/spira | 32e4d2096e298b9fcc5952abd654312dc232a259 | [
"MIT"
] | 10 | 2018-07-13T09:46:21.000Z | 2021-06-22T13:34:50.000Z | spira/yevon/io/__init__.py | qedalab/spira | 32e4d2096e298b9fcc5952abd654312dc232a259 | [
"MIT"
] | 8 | 2018-09-09T11:32:40.000Z | 2019-10-08T07:47:31.000Z | spira/yevon/io/__init__.py | qedalab/spira | 32e4d2096e298b9fcc5952abd654312dc232a259 | [
"MIT"
] | 7 | 2019-01-17T18:50:17.000Z | 2022-01-13T20:27:52.000Z | from spira.yevon.io.input_gdsii import *
from spira.yevon.io.output_gdsii import *
| 21 | 41 | 0.797619 | 14 | 84 | 4.642857 | 0.571429 | 0.276923 | 0.430769 | 0.492308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 84 | 3 | 42 | 28 | 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 |
26e015c22f1350be494888a3b0cd02812e6bef08 | 17,790 | py | Python | tests/pipeline/test_fall_detect_posenet.py | bhavikamkanani/fall-detection | 41ee60de73ecb6b3dc1d05753f806c14a0af4a41 | [
"Apache-2.0"
] | 30 | 2020-12-31T23:10:05.000Z | 2022-03-25T17:11:04.000Z | tests/pipeline/test_fall_detect_posenet.py | bhavikamkanani/fall-detection | 41ee60de73ecb6b3dc1d05753f806c14a0af4a41 | [
"Apache-2.0"
] | 34 | 2020-12-31T19:27:28.000Z | 2021-11-07T11:48:48.000Z | tests/pipeline/test_fall_detect_posenet.py | ivelin/fall-detection | d52c40fc20f815357f3a959c46d4f6686eff4aec | [
"Apache-2.0"
] | 12 | 2021-01-13T06:08:10.000Z | 2022-03-01T08:28:14.000Z | """Test fall detection pipe element."""
import sys
import os
sys.path.append(os.path.abspath('.'))
from src.pipeline.fall_detect import FallDetector
import os
import time
from PIL import Image
def _fall_detect_config():
_dir = os.path.dirname(os.path.abspath(__file__))
_good_tflite_model = os.path.join(
... | 30.152542 | 84 | 0.698089 | 2,523 | 17,790 | 4.640111 | 0.082838 | 0.085077 | 0.033826 | 0.045101 | 0.87563 | 0.85419 | 0.827625 | 0.814897 | 0.772273 | 0.757154 | 0 | 0.019002 | 0.216076 | 17,790 | 590 | 85 | 30.152542 | 0.82045 | 0.210905 | 0 | 0.762463 | 0 | 0 | 0.086361 | 0.008738 | 0 | 0 | 0 | 0 | 0.143695 | 1 | 0.102639 | false | 0 | 0.017595 | 0 | 0.1261 | 0.002933 | 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 |
f8353bf82c8fce92bdd332c5973ee4ebf3997713 | 319,936 | py | Python | datacore/datacore-overview.py | Davidffry/grafana-integration | a0855d079ac703fad9e3c3e7e892b38fd7b01096 | [
"MIT"
] | 6 | 2020-01-30T10:12:28.000Z | 2021-12-22T09:35:11.000Z | datacore/datacore-overview.py | Davidffry/grafana-integration | a0855d079ac703fad9e3c3e7e892b38fd7b01096 | [
"MIT"
] | 1 | 2020-07-06T07:51:28.000Z | 2020-07-08T09:42:49.000Z | datacore/datacore-overview.py | Davidffry/grafana-integration | a0855d079ac703fad9e3c3e7e892b38fd7b01096 | [
"MIT"
] | 2 | 2019-03-24T21:45:33.000Z | 2021-04-29T15:27:59.000Z | #coding:utf-8
import requests
url = "http://127.0.0.1:3000/api/dashboards/db"
payload = "{\n \"dashboard\": {\n \"annotations\": {\n \"list\": [\n {\n \"builtIn\": 1,\n \"datasource\": \"-- Grafana --\",\n \"enable\": true,\n \"hide\": true,\n \"iconColor\": \"rgba(0, 211,... | 17,774.222222 | 319,583 | 0.318476 | 27,242 | 319,936 | 3.698957 | 0.019749 | 0.067205 | 0.040073 | 0.029385 | 0.985799 | 0.983874 | 0.978674 | 0.976709 | 0.975706 | 0.97001 | 0 | 0.029459 | 0.436919 | 319,936 | 17 | 319,584 | 18,819.764706 | 0.529892 | 0.000038 | 0 | 0 | 0 | 0 | 0.632377 | 0.004535 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0.090909 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f886310679819110eec544c738ab689592506b97 | 105 | py | Python | src/azul/decorators.py | VIIgit/azul | bb61965f625c667979a2f255f6bc39dcafaaf40b | [
"Apache-2.0"
] | null | null | null | src/azul/decorators.py | VIIgit/azul | bb61965f625c667979a2f255f6bc39dcafaaf40b | [
"Apache-2.0"
] | null | null | null | src/azul/decorators.py | VIIgit/azul | bb61965f625c667979a2f255f6bc39dcafaaf40b | [
"Apache-2.0"
] | null | null | null | from functools import lru_cache
def memoized_property(f):
return property(lru_cache(maxsize=1)(f))
| 17.5 | 44 | 0.771429 | 16 | 105 | 4.875 | 0.75 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.133333 | 105 | 5 | 45 | 21 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
f898f935234c5ad1721a048f11eac53c48a54627 | 3,243 | py | Python | tests/rules/test_comment_indentation.py | xavierhardy/yamlfix | 21a2585b79ff2d708bb32baeb06984991fa62c75 | [
"Apache-2.0"
] | 2 | 2020-07-05T09:33:35.000Z | 2021-05-09T04:11:58.000Z | tests/rules/test_comment_indentation.py | xavierhardy/yamlfix | 21a2585b79ff2d708bb32baeb06984991fa62c75 | [
"Apache-2.0"
] | 3 | 2020-07-04T13:57:36.000Z | 2021-02-08T21:06:57.000Z | tests/rules/test_comment_indentation.py | xavierhardy/yamlfix | 21a2585b79ff2d708bb32baeb06984991fa62c75 | [
"Apache-2.0"
] | null | null | null | import unittest
from yamllint.config import YamlLintConfig
from tests.utils import LoggingTester
from yamlfix.formatting import read_and_format_text
class CommentsIndentationRuleTest(LoggingTester):
"""comments-indentation"""
def test_no_config(self):
expected = """---
#############################... | 19.419162 | 86 | 0.538699 | 311 | 3,243 | 5.463023 | 0.205788 | 0.061212 | 0.051795 | 0.061212 | 0.811654 | 0.811654 | 0.798117 | 0.798117 | 0.765745 | 0.692172 | 0 | 0.00491 | 0.246377 | 3,243 | 166 | 87 | 19.536145 | 0.690262 | 0.006167 | 0 | 0.848276 | 0 | 0 | 0.509481 | 0.122785 | 0 | 0 | 0 | 0 | 0.034483 | 1 | 0.034483 | false | 0 | 0.027586 | 0 | 0.068966 | 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 |
6efc2dcb92d2ce9251b6e94c6d9b9b2a17a110e7 | 2,118 | py | Python | epytope/Data/pssms/smm/mat/A_32_15_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/A_32_15_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/A_32_15_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_32_15_9 = {0: {'A': 0.002, 'C': 0.0, 'E': 0.013, 'D': 0.0, 'G': 0.27, 'F': -0.116, 'I': 0.074, 'H': 0.083, 'K': 0.028, 'M': -0.143, 'L': 0.075, 'N': 0.0, 'Q': 0.0, 'P': 0.0, 'S': -0.167, 'R': 0.028, 'T': 0.003, 'W': -0.077, 'V': 0.0, 'Y': -0.073}, 1: {'A': -0.0, 'C': 0.0, 'E': 0.0, 'D': 0.0, 'G': 0.0, 'F': 0.0, 'I': ... | 2,118 | 2,118 | 0.349386 | 557 | 2,118 | 1.32316 | 0.174147 | 0.246947 | 0.036635 | 0.048847 | 0.438263 | 0.331072 | 0.331072 | 0.331072 | 0.320217 | 0.320217 | 0 | 0.316905 | 0.17611 | 2,118 | 1 | 2,118 | 2,118 | 0.105444 | 0 | 0 | 0 | 0 | 0 | 0.086361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3e087b75aa2b3fa51bb7863eb798c5a87d01a4c7 | 3,690 | py | Python | migrations/versions/36c8971a65da_.py | theDrinkMD/twibbage | c0aba60bd2df50f0a5688db4a01048ea1efd1a45 | [
"MIT"
] | null | null | null | migrations/versions/36c8971a65da_.py | theDrinkMD/twibbage | c0aba60bd2df50f0a5688db4a01048ea1efd1a45 | [
"MIT"
] | null | null | null | migrations/versions/36c8971a65da_.py | theDrinkMD/twibbage | c0aba60bd2df50f0a5688db4a01048ea1efd1a45 | [
"MIT"
] | null | null | null | """empty message
Revision ID: 36c8971a65da
Revises:
Create Date: 2017-11-14 10:24:39.098695
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.
revision = '36c8971a65da'
down_revision = None
branch_labels = None
depends_on = None
d... | 39.677419 | 90 | 0.606233 | 396 | 3,690 | 5.419192 | 0.171717 | 0.05219 | 0.096925 | 0.178938 | 0.835042 | 0.835042 | 0.835042 | 0.835042 | 0.835042 | 0.835042 | 0 | 0.014027 | 0.265854 | 3,690 | 92 | 91 | 40.108696 | 0.778147 | 0.076694 | 0 | 0.853333 | 0 | 0 | 0.122849 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026667 | false | 0 | 0.04 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3e1b0dca3cd9ec25fef07d7f0f6b6c4f3c9c5469 | 14,374 | py | Python | Controller/controller.py | benjamin-sibellas/calculator | da0beae653e414a6dd11b58223bd55cd1383dbb7 | [
"MIT"
] | null | null | null | Controller/controller.py | benjamin-sibellas/calculator | da0beae653e414a6dd11b58223bd55cd1383dbb7 | [
"MIT"
] | null | null | null | Controller/controller.py | benjamin-sibellas/calculator | da0beae653e414a6dd11b58223bd55cd1383dbb7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import re
import math
class CalcController:
def __init__(self, calc):
self.expression = []
self.result = 0
self.calc = calc
def equals(self, label, isRes):
if len(self.expression) == 3:
if re.search("\.", self.expression[0]) or re.search("\.... | 65.040724 | 141 | 0.521219 | 1,652 | 14,374 | 4.532688 | 0.036925 | 0.594551 | 0.338275 | 0.34375 | 0.924412 | 0.911859 | 0.888488 | 0.886886 | 0.866052 | 0.84148 | 0 | 0.031484 | 0.312787 | 14,374 | 221 | 142 | 65.040724 | 0.726564 | 0.001461 | 0 | 0.64455 | 0 | 0 | 0.043615 | 0.003762 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023697 | false | 0 | 0.009479 | 0 | 0.037915 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
e4bb820c1a4a77ab974aae9cb424fe4d55f14634 | 896 | py | Python | src/cvhelpers/lie/torch/utils.py | yewzijian/RegTR | 64e5b3f0ccc1e1a11b514eb22734959d32e0cec6 | [
"MIT"
] | 25 | 2022-03-28T06:26:16.000Z | 2022-03-30T14:21:24.000Z | src/common/lie/torch/utils.py | yewzijian/MultiReg | 8411e3b8d878454c4db06c53025d0dd4e5efdeb3 | [
"MIT"
] | null | null | null | src/common/lie/torch/utils.py | yewzijian/MultiReg | 8411e3b8d878454c4db06c53025d0dd4e5efdeb3 | [
"MIT"
] | 2 | 2022-03-29T09:37:50.000Z | 2022-03-30T06:26:35.000Z | from typing import Union
import torch
_EPS = 1e-3 # larger epsilon for float32
def allclose(mat1: torch.Tensor, mat2: Union[torch.Tensor, float], tol=_EPS):
"""Check if all elements of two tensors are close within some tolerance.
Either tensor can be replaced by a scalar.
Note:
This is simila... | 30.896552 | 77 | 0.696429 | 130 | 896 | 4.769231 | 0.446154 | 0.070968 | 0.048387 | 0.06129 | 0.73871 | 0.73871 | 0.73871 | 0.73871 | 0.73871 | 0.73871 | 0 | 0.022923 | 0.220982 | 896 | 29 | 78 | 30.896552 | 0.86533 | 0.601563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
9032f229ae5f03d83bfd1fa487f51c895033e00a | 14,241 | py | Python | Assignment.py | VladislavPetrusenko/Python-codes | 35bf4a891eb25ee1c8fe73b992ebf29c94291ff6 | [
"MIT"
] | null | null | null | Assignment.py | VladislavPetrusenko/Python-codes | 35bf4a891eb25ee1c8fe73b992ebf29c94291ff6 | [
"MIT"
] | null | null | null | Assignment.py | VladislavPetrusenko/Python-codes | 35bf4a891eb25ee1c8fe73b992ebf29c94291ff6 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
import operator
from itertools import combinations_with_replacement
from numpy import testing
def generate_data(n):
X = np.random.uniform(0,1,n)
X = np.sin(2*np.pi*X)
mu, sigma = 0, 0.3
noise = np.random.normal(mu, sigma, n)
y = X + no... | 39.558333 | 124 | 0.647005 | 2,255 | 14,241 | 3.886031 | 0.076275 | 0.032523 | 0.026703 | 0.019172 | 0.848682 | 0.818784 | 0.812735 | 0.783293 | 0.763437 | 0.759557 | 0 | 0.039371 | 0.20455 | 14,241 | 360 | 125 | 39.558333 | 0.734198 | 0 | 0 | 0.698758 | 1 | 0.009317 | 0.071886 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.062112 | false | 0 | 0.015528 | 0 | 0.121118 | 0.031056 | 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 |
9037a5e412de402943a38b9b89b9d7cd5213abda | 102 | py | Python | factories/__init__.py | vishu221b/bookme-flask-REST-API-Collection | 9ee923e13d786af9b11421370edac718743855af | [
"MIT"
] | null | null | null | factories/__init__.py | vishu221b/bookme-flask-REST-API-Collection | 9ee923e13d786af9b11421370edac718743855af | [
"MIT"
] | null | null | null | factories/__init__.py | vishu221b/bookme-flask-REST-API-Collection | 9ee923e13d786af9b11421370edac718743855af | [
"MIT"
] | null | null | null | from . viewFactory import ViewFactory
from . blueprintResourceFactory import BlueprintResourceFactory
| 34 | 63 | 0.882353 | 8 | 102 | 11.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 102 | 2 | 64 | 51 | 0.978261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.