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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ed57d6527bb3fb6fbe4f82b68e06661586489b0e | 46,087 | py | Python | pytests/tuqquery/tuq_auto_prepare.py | ashwin2002/testrunner | 141369afdfb920bebedd0f359caa926621497133 | [
"Apache-2.0"
] | null | null | null | pytests/tuqquery/tuq_auto_prepare.py | ashwin2002/testrunner | 141369afdfb920bebedd0f359caa926621497133 | [
"Apache-2.0"
] | null | null | null | pytests/tuqquery/tuq_auto_prepare.py | ashwin2002/testrunner | 141369afdfb920bebedd0f359caa926621497133 | [
"Apache-2.0"
] | null | null | null | from membase.api.rest_client import RestConnection, RestHelper
from .tuq import QueryTests
from remote.remote_util import RemoteMachineShellConnection
from membase.api.exception import CBQError
class QueryAutoPrepareTests(QueryTests):
def setUp(self):
super(QueryAutoPrepareTests, self).setUp()
sel... | 58.63486 | 235 | 0.619546 | 5,767 | 46,087 | 4.795041 | 0.062251 | 0.036452 | 0.052074 | 0.078111 | 0.843851 | 0.824359 | 0.806965 | 0.782808 | 0.770224 | 0.749358 | 0 | 0.019237 | 0.251047 | 46,087 | 786 | 236 | 58.63486 | 0.781905 | 0.014755 | 0 | 0.666147 | 0 | 0.039002 | 0.26154 | 0.02104 | 0 | 0 | 0 | 0 | 0.129485 | 1 | 0.063963 | false | 0.00936 | 0.00624 | 0 | 0.073323 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed704f523f45666f9ac22210e4d1a43fb39d7a26 | 29 | py | Python | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/importStatementsData/in_7_one_absolute_import.py | JetBrains-Research/Lupa | c105487621564c60cae17395bf32eb40868ceb89 | [
"Apache-2.0"
] | 16 | 2022-01-11T00:32:20.000Z | 2022-03-25T21:40:52.000Z | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/importStatementsData/in_7_one_absolute_import.py | nbirillo/Kotlin-Analysis | 73c3b8a59bf40ed932bb512f30b0ff31f251af40 | [
"Apache-2.0"
] | 12 | 2021-07-05T11:42:01.000Z | 2021-12-23T07:57:54.000Z | python-analysers/src/test/resources/org/jetbrains/research/lupa/pythonAnalysis/imports/analysis/psi/importStatementsData/in_7_one_absolute_import.py | nbirillo/Kotlin-Analysis | 73c3b8a59bf40ed932bb512f30b0ff31f251af40 | [
"Apache-2.0"
] | 3 | 2021-09-10T13:21:54.000Z | 2021-11-23T11:37:55.000Z | import src.tasks.task1.utils
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.068966 | 29 | 1 | 29 | 29 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c08c4827fbab9f2d01ef91af18bb4ee7af1fb55 | 28,524 | py | Python | sdk/python/pulumi_azure/mssql/database.py | suresh198526/pulumi-azure | bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/mssql/database.py | suresh198526/pulumi-azure | bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/mssql/database.py | suresh198526/pulumi-azure | bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from .. import _utilitie... | 63.386667 | 291 | 0.704004 | 3,487 | 28,524 | 5.517924 | 0.106969 | 0.056026 | 0.039291 | 0.024323 | 0.791019 | 0.75994 | 0.746479 | 0.737644 | 0.731459 | 0.724599 | 0 | 0.005513 | 0.211436 | 28,524 | 449 | 292 | 63.52784 | 0.849909 | 0.4878 | 0 | 0.313559 | 1 | 0.008475 | 0.19985 | 0.112524 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114407 | false | 0.004237 | 0.029661 | 0.008475 | 0.258475 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c22cb7b3f3af905d5f968c5e3f05a74d9a7ad3b | 35 | py | Python | assets/tuned/daemon/tuned/profiles/functions/__init__.py | cfergeau/cluster-node-tuning-operator | b5af40d25b93266bdd4d09ed12ac7ca62848e52b | [
"Apache-2.0"
] | 53 | 2018-11-13T07:02:03.000Z | 2022-03-25T00:00:04.000Z | assets/tuned/daemon/tuned/profiles/functions/__init__.py | cfergeau/cluster-node-tuning-operator | b5af40d25b93266bdd4d09ed12ac7ca62848e52b | [
"Apache-2.0"
] | 324 | 2018-10-02T14:18:54.000Z | 2022-03-31T23:47:33.000Z | assets/tuned/daemon/tuned/profiles/functions/__init__.py | cfergeau/cluster-node-tuning-operator | b5af40d25b93266bdd4d09ed12ac7ca62848e52b | [
"Apache-2.0"
] | 54 | 2018-10-01T16:55:09.000Z | 2022-03-28T13:56:53.000Z | from .repository import Repository
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c4403316e8b66b24a62fd2f0711ec56fa64e941 | 672 | py | Python | tests/test_admin.py | klen/muffin-example | edb31c2ee139dffcfa036b85d2b8cdd3010e1687 | [
"MIT"
] | 6 | 2016-05-04T17:12:24.000Z | 2022-01-10T05:55:49.000Z | tests/test_admin.py | klen/muffin-example | edb31c2ee139dffcfa036b85d2b8cdd3010e1687 | [
"MIT"
] | 7 | 2015-07-28T03:43:00.000Z | 2021-10-21T14:06:18.000Z | tests/test_admin.py | klen/muffin-example | edb31c2ee139dffcfa036b85d2b8cdd3010e1687 | [
"MIT"
] | 2 | 2017-08-21T12:50:23.000Z | 2021-11-04T21:36:06.000Z | async def test_admin_auth(client, admin, user):
res = await client.get('/admin', follow_redirect=False)
assert res.status_code == 307
# Login as an simple user
res = await client.post('/login', data={'email': user.email, 'password': 'pass'})
assert res.status_code == 200
res = await client.get... | 35.368421 | 86 | 0.666667 | 94 | 672 | 4.659574 | 0.319149 | 0.091324 | 0.159817 | 0.216895 | 0.796804 | 0.789954 | 0.789954 | 0.643836 | 0.643836 | 0.643836 | 0 | 0.027574 | 0.190476 | 672 | 18 | 87 | 37.333333 | 0.777574 | 0.061012 | 0 | 0.666667 | 0 | 0 | 0.116242 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | false | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
9c4932c59943f7b574d18e1fe58ad663ea2e1ab3 | 29 | py | Python | rainforest/qpe/__init__.py | gugerlir/rainforest | 85a9d51acf2036245f0cebf7232e735c2cf2dfc4 | [
"BSD-3-Clause"
] | 3 | 2020-03-03T19:58:02.000Z | 2021-11-02T08:22:22.000Z | rainforest/qpe/__init__.py | gugerlir/rainforest | 85a9d51acf2036245f0cebf7232e735c2cf2dfc4 | [
"BSD-3-Clause"
] | null | null | null | rainforest/qpe/__init__.py | gugerlir/rainforest | 85a9d51acf2036245f0cebf7232e735c2cf2dfc4 | [
"BSD-3-Clause"
] | 5 | 2020-03-25T15:25:25.000Z | 2021-06-11T22:15:58.000Z | from .qpe import QPEProcessor | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c5d3d2221ae48f171398859ac3bedbb0a527c49 | 808 | py | Python | src/sdk/bkuser_sdk/api/__init__.py | Chace-wang/bk-user | 057f270d66a1834312306c9fba1f4e95521f10b1 | [
"MIT"
] | null | null | null | src/sdk/bkuser_sdk/api/__init__.py | Chace-wang/bk-user | 057f270d66a1834312306c9fba1f4e95521f10b1 | [
"MIT"
] | null | null | null | src/sdk/bkuser_sdk/api/__init__.py | Chace-wang/bk-user | 057f270d66a1834312306c9fba1f4e95521f10b1 | [
"MIT"
] | 1 | 2021-12-31T06:48:41.000Z | 2021-12-31T06:48:41.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from bkuser_sdk.api.audit_api import AuditApi
from bkuser_sdk.api.batch_api import BatchApi
from bkuser_sdk.api.categories_api import CategoriesApi
from bkuser_sdk.api.departments_api import DepartmentsApi
from bkuser_sdk.api.dynamic... | 40.4 | 62 | 0.873762 | 127 | 808 | 5.275591 | 0.338583 | 0.208955 | 0.271642 | 0.334328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004071 | 0.087871 | 808 | 19 | 63 | 42.526316 | 0.90502 | 0.050743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c664f6a964d909b9250777f9ac46b13b754567f | 4,551 | py | Python | tests/modules/logs/conftest.py | ssfdust/smorest-sfs | 139f6817989ab041c81761d183169de20a26597e | [
"Apache-2.0"
] | 8 | 2020-05-11T07:11:03.000Z | 2022-03-25T01:58:18.000Z | tests/modules/logs/conftest.py | ssfdust/smorest-sfs | 139f6817989ab041c81761d183169de20a26597e | [
"Apache-2.0"
] | null | null | null | tests/modules/logs/conftest.py | ssfdust/smorest-sfs | 139f6817989ab041c81761d183169de20a26597e | [
"Apache-2.0"
] | 2 | 2020-05-11T03:53:38.000Z | 2021-03-25T01:11:15.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from typing import Any, Callable, Iterator, Tuple, Type
import pytest
from flask import Flask
from marshmallow import Schema
from smorest_sfs.modules.logs.models import Log, ResponseLog
@pytest.fixture
def logs(
flask_app: Flask, temp_db_instance_helper: Callable[..... | 27.415663 | 76 | 0.470446 | 539 | 4,551 | 3.892393 | 0.16141 | 0.085796 | 0.080076 | 0.114395 | 0.786463 | 0.762631 | 0.702097 | 0.702097 | 0.702097 | 0.616301 | 0 | 0.187744 | 0.379697 | 4,551 | 165 | 77 | 27.581818 | 0.555437 | 0.025269 | 0 | 0.741722 | 0 | 0 | 0.218009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019868 | false | 0 | 0.039735 | 0 | 0.066225 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c6a55d1dbd1ceec78b6f1813d0dd6c6fd20d820 | 201 | py | Python | submit_site/admin.py | tai-korestate/budongsanbuddy | 8f4ddbcc2bc68c50394b62decee4882c7837fec6 | [
"MIT"
] | null | null | null | submit_site/admin.py | tai-korestate/budongsanbuddy | 8f4ddbcc2bc68c50394b62decee4882c7837fec6 | [
"MIT"
] | null | null | null | submit_site/admin.py | tai-korestate/budongsanbuddy | 8f4ddbcc2bc68c50394b62decee4882c7837fec6 | [
"MIT"
] | null | null | null | from django.contrib import admin
from submit_site import models
# Register your models here.
class PropertiesAdmin(admin.ModelAdmin):
pass
admin.site.register(models.Properties, PropertiesAdmin)
| 22.333333 | 55 | 0.81592 | 25 | 201 | 6.52 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 201 | 8 | 56 | 25.125 | 0.920904 | 0.129353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
92f379affa777f68bad542d78055321d36e06960 | 167 | py | Python | bookshop/core/convert_case.py | robyoung/genyrator | 849f2ec83ef6dd9e2e5928cb58f747cc40016f2a | [
"MIT"
] | 1 | 2020-07-01T16:54:39.000Z | 2020-07-01T16:54:39.000Z | bookshop/core/convert_case.py | robyoung/genyrator | 849f2ec83ef6dd9e2e5928cb58f747cc40016f2a | [
"MIT"
] | 10 | 2018-11-16T15:04:21.000Z | 2021-06-01T22:27:38.000Z | bookshop/core/convert_case.py | robyoung/genyrator | 849f2ec83ef6dd9e2e5928cb58f747cc40016f2a | [
"MIT"
] | 2 | 2018-08-08T10:42:35.000Z | 2019-07-25T11:56:06.000Z | import inflection
def to_json_name(x: str) -> str:
return inflection.camelize(x, False)
def to_python_name(x: str) -> str:
return inflection.underscore(x)
| 16.7 | 40 | 0.712575 | 25 | 167 | 4.6 | 0.52 | 0.086957 | 0.13913 | 0.191304 | 0.469565 | 0.469565 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173653 | 167 | 9 | 41 | 18.555556 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
130ba1dc24cf242446f714d2a17d4abb3dc001b0 | 203 | py | Python | tccli/services/cws/__init__.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | tccli/services/cws/__init__.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | tccli/services/cws/__init__.py | tarnover/tencentcloud-cli | 5b0537913a33884a20d7663405a8aa1c2276b41a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from tccli.services.cws.cws_client import register_arg
from tccli.services.cws.cws_client import get_actions_info
from tccli.services.cws.cws_client import AVAILABLE_VERSION_LIST
| 40.6 | 64 | 0.827586 | 32 | 203 | 5 | 0.53125 | 0.16875 | 0.31875 | 0.375 | 0.65625 | 0.65625 | 0.65625 | 0 | 0 | 0 | 0 | 0.005376 | 0.083744 | 203 | 4 | 65 | 50.75 | 0.854839 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
131d1324799b893a4ec320313636b5ac82824e5a | 1,042 | py | Python | orchestrator/tests/data/test_data_strategy_type.py | spectrum-dev/django-orchestration | 3b3257a00cbb086bc6a3b367e76de1081f751cc9 | [
"MIT"
] | null | null | null | orchestrator/tests/data/test_data_strategy_type.py | spectrum-dev/django-orchestration | 3b3257a00cbb086bc6a3b367e76de1081f751cc9 | [
"MIT"
] | null | null | null | orchestrator/tests/data/test_data_strategy_type.py | spectrum-dev/django-orchestration | 3b3257a00cbb086bc6a3b367e76de1081f751cc9 | [
"MIT"
] | null | null | null | BACKTEST_FLOW_OK = {
"nodeList": {
"1": {
"blockType": "DATA_BLOCK",
"blockId": 1,
"equity_name": {"options": ["AAPL"], "value": ""},
"data_type": {"options": ["intraday", "daily_adjusted"], "value": ""},
"interval": {"options": ["1min"], "value": ... | 32.5625 | 82 | 0.417466 | 77 | 1,042 | 5.428571 | 0.376623 | 0.086124 | 0.066986 | 0.07177 | 0.952153 | 0.837321 | 0.837321 | 0.837321 | 0.837321 | 0.837321 | 0 | 0.008511 | 0.323417 | 1,042 | 31 | 83 | 33.612903 | 0.584397 | 0 | 0 | 0.666667 | 0 | 0 | 0.384837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1399c057948c7dfc9d71bbf54502d6dbd6afc810 | 66 | py | Python | doctr/models/backbones/__init__.py | mzeidhassan/doctr | 14b376e07d31b09b6bd31bceebf6ffb477c30f08 | [
"Apache-2.0"
] | 1 | 2021-09-26T06:03:10.000Z | 2021-09-26T06:03:10.000Z | doctr/models/backbones/__init__.py | mzeidhassan/doctr | 14b376e07d31b09b6bd31bceebf6ffb477c30f08 | [
"Apache-2.0"
] | null | null | null | doctr/models/backbones/__init__.py | mzeidhassan/doctr | 14b376e07d31b09b6bd31bceebf6ffb477c30f08 | [
"Apache-2.0"
] | null | null | null | from .vgg import *
from .resnet import *
from .mobilenet import *
| 16.5 | 24 | 0.727273 | 9 | 66 | 5.333333 | 0.555556 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 25 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
13cedf07d8effbd73a16410582b2e0bae1bfe8f9 | 12,840 | py | Python | test/test_npu/test_network_ops/test_renorm.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_renorm.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_renorm.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.032967 | 80 | 0.657399 | 2,161 | 12,840 | 3.561314 | 0.070338 | 0.036902 | 0.028067 | 0.067568 | 0.831731 | 0.815619 | 0.804184 | 0.796778 | 0.778456 | 0.778456 | 0 | 0.0926 | 0.225389 | 12,840 | 272 | 81 | 47.205882 | 0.681178 | 0.044704 | 0 | 0.509091 | 0 | 0 | 0.002612 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.163636 | false | 0 | 0.027273 | 0 | 0.222727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13f7de56208e2e4053da672dffbc1792d7309e50 | 14,891 | py | Python | src/sage/dev/test/server_proxy.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | 5 | 2015-01-04T07:15:06.000Z | 2022-03-04T15:15:18.000Z | src/sage/dev/test/server_proxy.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | null | null | null | src/sage/dev/test/server_proxy.py | switzel/sage | 7eb8510dacf61b691664cd8f1d2e75e5d473e5a0 | [
"BSL-1.0"
] | 10 | 2016-09-28T13:12:40.000Z | 2022-02-12T09:28:34.000Z | r"""
Trac Server Proxy for Doctesting
This module provides substitutes for the server proxy used by
:class:`sage.dev.trac_interface.TracInterface` for doctesting.
AUTHORS:
- Julian Rueth: initial version
"""
#*****************************************************************************
# Copyright (C) 2013 Ju... | 42.184136 | 161 | 0.654959 | 1,552 | 14,891 | 6.150773 | 0.122423 | 0.049864 | 0.071444 | 0.08171 | 0.801907 | 0.791012 | 0.7489 | 0.707731 | 0.697779 | 0.697779 | 0 | 0.002833 | 0.241488 | 14,891 | 352 | 162 | 42.303977 | 0.84232 | 0.681485 | 0 | 0.302632 | 0 | 0 | 0.082247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.144737 | false | 0.052632 | 0.157895 | 0 | 0.421053 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b91831a40ff40416e47f439b94d7914a81b31635 | 18,800 | py | Python | tests/test_sqlalchemy.py | dimagi/architect | b87475a2eaf63916ad12666c998c062b675bde1d | [
"Apache-2.0"
] | null | null | null | tests/test_sqlalchemy.py | dimagi/architect | b87475a2eaf63916ad12666c998c062b675bde1d | [
"Apache-2.0"
] | null | null | null | tests/test_sqlalchemy.py | dimagi/architect | b87475a2eaf63916ad12666c998c062b675bde1d | [
"Apache-2.0"
] | null | null | null | """
Tests SQLAlchemy specific behaviour.
"""
import os
import sys
import datetime
from . import unittest, capture
if not os.environ.get('SQLALCHEMY') or not os.environ.get('DB'):
raise unittest.SkipTest('Not a SQLAlchemy build')
from .models.sqlalchemy import *
from sqlalchemy import text
from sqlalchemy.orm im... | 41.777778 | 112 | 0.678298 | 2,091 | 18,800 | 5.985175 | 0.080823 | 0.093168 | 0.042189 | 0.060647 | 0.901638 | 0.852897 | 0.839313 | 0.80032 | 0.80032 | 0.796165 | 0 | 0.035474 | 0.200798 | 18,800 | 449 | 113 | 41.870824 | 0.797471 | 0.001915 | 0 | 0.647929 | 0 | 0 | 0.122361 | 0.040147 | 0 | 0 | 0 | 0 | 0.118343 | 1 | 0.106509 | false | 0 | 0.038462 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b989c5079a64ae716da8ae1231ca74def142d26e | 88 | py | Python | __init__.py | lteam18/logger-python | d1b14a389ee37679899959223e1a0458182d8f13 | [
"Apache-2.0"
] | null | null | null | __init__.py | lteam18/logger-python | d1b14a389ee37679899959223e1a0458182d8f13 | [
"Apache-2.0"
] | 4 | 2018-05-03T05:01:18.000Z | 2018-05-15T06:40:41.000Z | __init__.py | lteam18/logger-python | d1b14a389ee37679899959223e1a0458182d8f13 | [
"Apache-2.0"
] | null | null | null | import loggerx
from loggerx import Logger
print("hello, init started")
import logger_m
| 14.666667 | 28 | 0.806818 | 13 | 88 | 5.384615 | 0.692308 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 5 | 29 | 17.6 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0.215909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9d10c6fafb1214798eaa7bac83989a92f3c9997 | 99 | py | Python | tests/project/views.py | Zadigo/Zah | 0038b312579db4eaafb0d97f2d9cabd0d4a06beb | [
"MIT"
] | null | null | null | tests/project/views.py | Zadigo/Zah | 0038b312579db4eaafb0d97f2d9cabd0d4a06beb | [
"MIT"
] | null | null | null | tests/project/views.py | Zadigo/Zah | 0038b312579db4eaafb0d97f2d9cabd0d4a06beb | [
"MIT"
] | null | null | null | from zah.urls import render
def home(request, **kwargs):
return render(request, 'home.html')
| 16.5 | 39 | 0.707071 | 14 | 99 | 5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 5 | 40 | 19.8 | 0.843373 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b9efd7313c1ccf58278250414953fd905fb6b5cd | 176 | py | Python | cloudentries/common/lifecycles/security_group.py | CloudChef/CloudEntries | a890e2eb96cc537db131e7ca8a0e6e1edc0b6ebd | [
"Apache-2.0"
] | null | null | null | cloudentries/common/lifecycles/security_group.py | CloudChef/CloudEntries | a890e2eb96cc537db131e7ca8a0e6e1edc0b6ebd | [
"Apache-2.0"
] | null | null | null | cloudentries/common/lifecycles/security_group.py | CloudChef/CloudEntries | a890e2eb96cc537db131e7ca8a0e6e1edc0b6ebd | [
"Apache-2.0"
] | 1 | 2021-03-26T05:45:00.000Z | 2021-03-26T05:45:00.000Z | # Copyright (c) 2021 Qianyun, Inc. All rights reserved.
from abstract_plugin.platforms.common.base import CommonResource
class CommonSecurityGroup(CommonResource):
pass
| 22 | 64 | 0.801136 | 20 | 176 | 7 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026144 | 0.130682 | 176 | 7 | 65 | 25.142857 | 0.888889 | 0.301136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b9f734b97e22481d53e7421dde3f9a70340e9c40 | 5,156 | py | Python | langml/tests/test_model.py | 4AI/TDEER | 81d3b3457e5308547d7d6695b31193bb34d98223 | [
"MIT"
] | 26 | 2021-11-07T12:04:11.000Z | 2022-03-25T09:49:14.000Z | tests/test_model.py | 4AI/langml | 92a94ae63733bdca393061c2307499adfec663f4 | [
"MIT"
] | 4 | 2021-12-22T02:44:30.000Z | 2022-03-07T06:14:42.000Z | tests/test_model.py | 4AI/langml | 92a94ae63733bdca393061c2307499adfec663f4 | [
"MIT"
] | 6 | 2021-11-11T12:09:22.000Z | 2022-01-20T06:13:19.000Z | # -*- coding: utf-8 -*-
import shutil
from langml import TF_KERAS
if TF_KERAS:
import tensorflow.keras as keras
import tensorflow.keras.backend as K
import tensorflow.keras.layers as L
else:
import keras
import keras.backend as K
import keras.layers as L
def test_save_load_model_single_input... | 31.248485 | 83 | 0.688712 | 724 | 5,156 | 4.664365 | 0.121547 | 0.044418 | 0.049748 | 0.04501 | 0.906426 | 0.870891 | 0.841575 | 0.824993 | 0.803672 | 0.758069 | 0 | 0.018038 | 0.193561 | 5,156 | 164 | 84 | 31.439024 | 0.794132 | 0.004073 | 0 | 0.674242 | 0 | 0 | 0.105396 | 0.067017 | 0 | 0 | 0 | 0 | 0.037879 | 1 | 0.037879 | false | 0 | 0.174242 | 0 | 0.212121 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0055c8bfbd694c574cb4cb41d259fbe7ab45980 | 176 | py | Python | tests/test_timestamp.py | slarse/repobee-timestamp | 7bb85596d5ea08cbfa6c373fa8b238ee46191805 | [
"MIT"
] | null | null | null | tests/test_timestamp.py | slarse/repobee-timestamp | 7bb85596d5ea08cbfa6c373fa8b238ee46191805 | [
"MIT"
] | null | null | null | tests/test_timestamp.py | slarse/repobee-timestamp | 7bb85596d5ea08cbfa6c373fa8b238ee46191805 | [
"MIT"
] | null | null | null | from _repobee import plugin
from repobee_timestamp import timestamp
def test_register():
"""Just test that there is no crash"""
plugin.register_plugins([timestamp])
| 19.555556 | 42 | 0.755682 | 23 | 176 | 5.608696 | 0.652174 | 0.170543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164773 | 176 | 8 | 43 | 22 | 0.877551 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e00bab8ca0e17f09563357215b4b95facbf43dc9 | 1,651 | py | Python | tests/netcdf_engine/test_cli_netcdf_convert.py | TileDB-Inc/TileDB-CF-Py | 9aab0fe9ba7346a1846c7458a5d08b123dcf90a8 | [
"MIT"
] | 12 | 2021-06-07T16:51:32.000Z | 2022-03-10T12:48:00.000Z | tests/netcdf_engine/test_cli_netcdf_convert.py | TileDB-Inc/TileDB-CF-Py | 9aab0fe9ba7346a1846c7458a5d08b123dcf90a8 | [
"MIT"
] | 72 | 2021-04-28T21:49:41.000Z | 2022-02-24T13:58:11.000Z | tests/netcdf_engine/test_cli_netcdf_convert.py | TileDB-Inc/TileDB-CF-Py | 9aab0fe9ba7346a1846c7458a5d08b123dcf90a8 | [
"MIT"
] | 3 | 2021-08-11T16:33:37.000Z | 2021-12-01T20:31:12.000Z | import numpy as np
from click.testing import CliRunner
import tiledb
import tiledb.cf
def test_netcdf_convert_collect(tmpdir, simple1_netcdf_file):
uri = str(tmpdir.mkdir("output").join("simple1"))
runner = CliRunner()
result = runner.invoke(
tiledb.cf.cli,
[
"netcdf-convert",... | 29.482143 | 62 | 0.586917 | 209 | 1,651 | 4.483254 | 0.277512 | 0.070438 | 0.072572 | 0.042689 | 0.821772 | 0.821772 | 0.821772 | 0.821772 | 0.821772 | 0.821772 | 0 | 0.025084 | 0.275591 | 1,651 | 55 | 63 | 30.018182 | 0.758361 | 0 | 0 | 0.68 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0.16 | 1 | 0.04 | false | 0 | 0.08 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e05d5e8df0a13ddc9ceb654d303463d0c15672b9 | 7,925 | py | Python | nemo/collections/asr/parts/numba/rnnt_loss/rnnt.py | niklub/NeMo | 4bcb2321cd16835f63afe3dfe993e6d56bcf2c0c | [
"Apache-2.0"
] | 1 | 2021-06-19T19:27:19.000Z | 2021-06-19T19:27:19.000Z | nemo/collections/asr/parts/numba/rnnt_loss/rnnt.py | niklub/NeMo | 4bcb2321cd16835f63afe3dfe993e6d56bcf2c0c | [
"Apache-2.0"
] | null | null | null | nemo/collections/asr/parts/numba/rnnt_loss/rnnt.py | niklub/NeMo | 4bcb2321cd16835f63afe3dfe993e6d56bcf2c0c | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2021, NVIDIA CORPORATION. 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 appli... | 35.222222 | 110 | 0.687319 | 1,061 | 7,925 | 4.97738 | 0.202639 | 0.030297 | 0.009089 | 0.026131 | 0.815565 | 0.804204 | 0.774664 | 0.774664 | 0.743609 | 0.718046 | 0 | 0.006248 | 0.232555 | 7,925 | 224 | 111 | 35.379464 | 0.862052 | 0.349022 | 0 | 0.653543 | 0 | 0 | 0.055143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015748 | false | 0.015748 | 0.047244 | 0 | 0.07874 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ec3f384371a840b17bc1c49cac4c43e93d450e3 | 104 | py | Python | site-root/admin/user_console.py | TED-996/krait-twostones | 51b27793b9cd536d680fb9a6785c57473d35cac1 | [
"MIT"
] | null | null | null | site-root/admin/user_console.py | TED-996/krait-twostones | 51b27793b9cd536d680fb9a6785c57473d35cac1 | [
"MIT"
] | null | null | null | site-root/admin/user_console.py | TED-996/krait-twostones | 51b27793b9cd536d680fb9a6785c57473d35cac1 | [
"MIT"
] | null | null | null | from ctrl.admin import user_console
import mvc
mvc.set_init_ctrl(user_console.UserConsoleController())
| 20.8 | 55 | 0.855769 | 15 | 104 | 5.666667 | 0.666667 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 104 | 4 | 56 | 26 | 0.885417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0efe2d27898c4e7b32c7828a9969701cc0943f70 | 174 | py | Python | rando/feedback/__init__.py | camillemonchicourt/Geotrek-rando | df92c0f19ca37ea1750d934cedafcdb23325bc95 | [
"BSD-2-Clause"
] | null | null | null | rando/feedback/__init__.py | camillemonchicourt/Geotrek-rando | df92c0f19ca37ea1750d934cedafcdb23325bc95 | [
"BSD-2-Clause"
] | null | null | null | rando/feedback/__init__.py | camillemonchicourt/Geotrek-rando | df92c0f19ca37ea1750d934cedafcdb23325bc95 | [
"BSD-2-Clause"
] | null | null | null | from rando.core.signals import pre_sync
from rando.feedback.sync import sync_content_feedback
pre_sync.connect(sync_content_feedback, dispatch_uid='rando.feedback.sync')
| 24.857143 | 76 | 0.844828 | 26 | 174 | 5.384615 | 0.461538 | 0.128571 | 0.242857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 174 | 6 | 77 | 29 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.109195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
161c6da4c58d5e671aaa7d0701ceffe8e92fe725 | 169,551 | py | Python | hops/tests/test_featurestore.py | tabularaza27/hopsworks-cloud-sdk | 854a955a7019263dd0515aaa345136005998f43b | [
"Apache-2.0"
] | null | null | null | hops/tests/test_featurestore.py | tabularaza27/hopsworks-cloud-sdk | 854a955a7019263dd0515aaa345136005998f43b | [
"Apache-2.0"
] | null | null | null | hops/tests/test_featurestore.py | tabularaza27/hopsworks-cloud-sdk | 854a955a7019263dd0515aaa345136005998f43b | [
"Apache-2.0"
] | null | null | null | """
Unit tests for the feature store python client on Hops.
The tests uses spark-local mode in combination with tests to test functionality of feature store client.
HDFS/integration with hopsworks is not tested. The tests are structured as follows:
1. Create sample hive featurestore db locally
2. Create sample traini... | 65.947491 | 121 | 0.677194 | 18,914 | 169,551 | 5.688115 | 0.034419 | 0.062183 | 0.044681 | 0.056439 | 0.865288 | 0.82347 | 0.785398 | 0.754706 | 0.714951 | 0.669294 | 0 | 0.007797 | 0.240559 | 169,551 | 2,570 | 122 | 65.973152 | 0.827724 | 0.045331 | 0 | 0.554865 | 0 | 0.001333 | 0.143365 | 0.068488 | 0 | 0 | 0 | 0 | 0.213239 | 1 | 0.052865 | false | 0 | 0.02932 | 0 | 0.087517 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
167e28998252c2756d289c2a5a24bcc1e77a63bc | 36 | py | Python | pypokemontcg/__init__.py | eduardo-prjadko/pypokemontcg | 933a275e1491696fd755e94d00daf373ece13c79 | [
"MIT"
] | null | null | null | pypokemontcg/__init__.py | eduardo-prjadko/pypokemontcg | 933a275e1491696fd755e94d00daf373ece13c79 | [
"MIT"
] | null | null | null | pypokemontcg/__init__.py | eduardo-prjadko/pypokemontcg | 933a275e1491696fd755e94d00daf373ece13c79 | [
"MIT"
] | null | null | null | from .pypokemontcg import PokemonTCG | 36 | 36 | 0.888889 | 4 | 36 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1697b80fd67628266275b8082c58aa82ab937d9e | 3,232 | py | Python | series_tiempo_ar_api/libs/indexing/tests/utils_tests.py | datosgobar/series-tiempo-ar-api | 6b553c573f6e8104f8f3919efe79089b7884280c | [
"MIT"
] | 28 | 2017-12-16T20:30:52.000Z | 2021-08-11T17:35:04.000Z | series_tiempo_ar_api/libs/indexing/tests/utils_tests.py | datosgobar/series-tiempo-ar-api | 6b553c573f6e8104f8f3919efe79089b7884280c | [
"MIT"
] | 446 | 2017-11-16T15:21:40.000Z | 2021-06-10T20:14:21.000Z | series_tiempo_ar_api/libs/indexing/tests/utils_tests.py | datosgobar/series-tiempo-ar-api | 6b553c573f6e8104f8f3919efe79089b7884280c | [
"MIT"
] | 12 | 2018-08-23T16:13:32.000Z | 2022-03-01T23:12:28.000Z | from faker import Faker
from django.test import TestCase
from django_datajsonar.models import Catalog, Dataset, Distribution, Field
from ..indexer.utils import remove_duplicated_fields
fake = Faker()
class DuplicatedFieldsTests(TestCase):
def setUp(self):
catalog = Catalog.objects.create()
data... | 37.581395 | 87 | 0.572401 | 282 | 3,232 | 6.386525 | 0.166667 | 0.177679 | 0.08995 | 0.149917 | 0.714603 | 0.714603 | 0.714603 | 0.714603 | 0.714603 | 0.714603 | 0 | 0.001896 | 0.347153 | 3,232 | 85 | 88 | 38.023529 | 0.851659 | 0 | 0 | 0.746032 | 0 | 0 | 0.027537 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 1 | 0.095238 | false | 0 | 0.063492 | 0 | 0.174603 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
169a0b6ec6811ccf258849976368e4cdbe927644 | 38 | py | Python | src/models/nets/resnet.py | IPL-UV/gaussflow | 49336e5384856a86aaa4ab1a79bda1b8719b939d | [
"MIT"
] | 1 | 2021-02-17T12:07:09.000Z | 2021-02-17T12:07:09.000Z | src/models/nets/resnet.py | IPL-UV/gaussflow | 49336e5384856a86aaa4ab1a79bda1b8719b939d | [
"MIT"
] | null | null | null | src/models/nets/resnet.py | IPL-UV/gaussflow | 49336e5384856a86aaa4ab1a79bda1b8719b939d | [
"MIT"
] | null | null | null | from nflows.nn.nets import ResidualNet | 38 | 38 | 0.868421 | 6 | 38 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16a68b56e4628552d3ad13d77e1e66bfda1ac2b4 | 1,673 | py | Python | api/validators/classes/cls_brands.py | oso1248/budAPI | 87c5b1d41249273e30f6b590d9218afe195047e6 | [
"MIT"
] | null | null | null | api/validators/classes/cls_brands.py | oso1248/budAPI | 87c5b1d41249273e30f6b590d9218afe195047e6 | [
"MIT"
] | null | null | null | api/validators/classes/cls_brands.py | oso1248/budAPI | 87c5b1d41249273e30f6b590d9218afe195047e6 | [
"MIT"
] | null | null | null | from .. regx import regex_brands
from ... utils.utils import uppercase, titlecase
class BrandName(str):
@classmethod
def __get_validators__(cls):
yield cls.validate
@classmethod
def __modify_schema__(cls, field_schema):
field_schema.update(
pattern='^[A-Z0-9]{4,4}$b',
... | 27.42623 | 96 | 0.597131 | 194 | 1,673 | 4.907216 | 0.309278 | 0.088235 | 0.07563 | 0.117647 | 0.855042 | 0.815126 | 0.798319 | 0.798319 | 0.798319 | 0.72584 | 0 | 0.015886 | 0.285117 | 1,673 | 60 | 97 | 27.883333 | 0.7801 | 0 | 0 | 0.652174 | 0 | 0 | 0.251644 | 0.046025 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.043478 | 0.043478 | 0.347826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16d698f9cf5f0449c234f054ca65072dfa615a5b | 2,870 | py | Python | tensorflow_federated/python/core/api/__init__.py | justin1121/federated | 117464b1c20d5890b50fc16f5fc030cf9a29ba6c | [
"Apache-2.0"
] | 1 | 2019-03-15T07:57:45.000Z | 2019-03-15T07:57:45.000Z | tensorflow_federated/python/core/api/__init__.py | DaveKim3872/federated | 3559af64e8417ccb1b12a9d26f366b721bef021b | [
"Apache-2.0"
] | null | null | null | tensorflow_federated/python/core/api/__init__.py | DaveKim3872/federated | 3559af64e8417ccb1b12a9d26f366b721bef021b | [
"Apache-2.0"
] | 1 | 2020-03-30T19:02:55.000Z | 2020-03-30T19:02:55.000Z | # Copyright 2018, The TensorFlow Federated Authors.
#
# 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 o... | 52.181818 | 83 | 0.861672 | 389 | 2,870 | 6.179949 | 0.267352 | 0.237105 | 0.267887 | 0.33777 | 0.681364 | 0.681364 | 0.651414 | 0.593178 | 0.504992 | 0 | 0 | 0.003041 | 0.083275 | 2,870 | 54 | 84 | 53.148148 | 0.91068 | 0.210453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.032258 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c0649baa4b320792e29151425b7de902108fed3 | 31 | py | Python | api/tests/python/unit/test_setup_utils/__init__.py | sumesh-aot/namex | 53e11aed5ea550b71b7b983f1b57b65db5a06766 | [
"Apache-2.0"
] | 4 | 2018-10-05T23:41:05.000Z | 2019-06-19T16:17:50.000Z | api/tests/python/unit/test_setup_utils/__init__.py | sumesh-aot/namex | 53e11aed5ea550b71b7b983f1b57b65db5a06766 | [
"Apache-2.0"
] | 635 | 2018-05-31T04:12:46.000Z | 2022-03-31T18:45:42.000Z | api/tests/python/unit/test_setup_utils/__init__.py | sumesh-aot/namex | 53e11aed5ea550b71b7b983f1b57b65db5a06766 | [
"Apache-2.0"
] | 71 | 2018-05-14T20:47:55.000Z | 2022-03-31T23:08:30.000Z | from .build_nr import build_nr
| 15.5 | 30 | 0.83871 | 6 | 31 | 4 | 0.666667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4c33f1d2e3ce7c21897457618d75c266aff72e13 | 94 | py | Python | pySDC/tests/test_projects/test_SDC_showdown/test_fisher.py | brownbaerchen/pySDC | 31293859d731646aa09cef4345669eac65501550 | [
"BSD-2-Clause"
] | 20 | 2015-03-21T09:02:55.000Z | 2022-02-26T20:22:21.000Z | pySDC/tests/test_projects/test_SDC_showdown/test_fisher.py | brownbaerchen/pySDC | 31293859d731646aa09cef4345669eac65501550 | [
"BSD-2-Clause"
] | 61 | 2015-03-02T09:35:55.000Z | 2022-03-17T12:42:48.000Z | pySDC/tests/test_projects/test_SDC_showdown/test_fisher.py | brownbaerchen/pySDC | 31293859d731646aa09cef4345669eac65501550 | [
"BSD-2-Clause"
] | 19 | 2015-02-20T11:52:33.000Z | 2022-02-02T10:46:27.000Z | from pySDC.projects.SDC_showdown.SDC_timing_Fisher import main
def test_fisher():
main() | 18.8 | 62 | 0.787234 | 14 | 94 | 5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 94 | 5 | 63 | 18.8 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c3518be21a36e90c3ca24e9f0f53525b21272e2 | 225 | py | Python | manage.py | baylee-d/cos.io | 3f88acb0feb7a167bf9e81c42e28f9d2d38bbd43 | [
"Apache-2.0"
] | null | null | null | manage.py | baylee-d/cos.io | 3f88acb0feb7a167bf9e81c42e28f9d2d38bbd43 | [
"Apache-2.0"
] | null | null | null | manage.py | baylee-d/cos.io | 3f88acb0feb7a167bf9e81c42e28f9d2d38bbd43 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from __future__ import absolute_import, unicode_literals
import sys
if __name__ == "__main__":
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| 22.5 | 64 | 0.8 | 31 | 225 | 5.16129 | 0.677419 | 0.1375 | 0.225 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128889 | 225 | 9 | 65 | 25 | 0.816327 | 0.088889 | 0 | 0 | 0 | 0 | 0.039216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d5f2010ffbfa7eaff8e4265bf006c485d8694cf2 | 454 | py | Python | events/constants.py | pmatigakis/vedette | 9990f8d787eace6008a37c733673959eddfdb9ac | [
"MIT"
] | null | null | null | events/constants.py | pmatigakis/vedette | 9990f8d787eace6008a37c733673959eddfdb9ac | [
"MIT"
] | null | null | null | events/constants.py | pmatigakis/vedette | 9990f8d787eace6008a37c733673959eddfdb9ac | [
"MIT"
] | null | null | null | PYTHON_PLATFORM = "python"
SUPPORTED_PLATFORMS = ((PYTHON_PLATFORM, "Python"),)
LOG_LEVEL_DEBUG = "debug"
LOG_LEVEL_INFO = "info"
LOG_LEVEL_ERROR = "error"
LOG_LEVEL_FATAL = "fatal"
LOG_LEVEL_SAMPLE = "sample"
LOG_LEVEL_WARNING = "warning"
LOG_LEVELS = (
(LOG_LEVEL_DEBUG, "Debug"),
(LOG_LEVEL_INFO, "Info"),
... | 25.222222 | 52 | 0.702643 | 58 | 454 | 5.017241 | 0.224138 | 0.329897 | 0.137457 | 0.123711 | 0.769759 | 0.769759 | 0.769759 | 0.769759 | 0.769759 | 0.769759 | 0 | 0 | 0.145374 | 454 | 17 | 53 | 26.705882 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.167401 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e67f94cfa4e0aa32bc65e7e8b315b875dd070eb7 | 38 | py | Python | rawquery/__init__.py | joncombe/django-raw-query | b10c8f5731668bd16fd37cfc86b37dcb0ca65f4f | [
"BSD-3-Clause"
] | 3 | 2020-07-16T20:01:57.000Z | 2022-03-26T06:39:32.000Z | rawquery/__init__.py | joncombe/django-raw-query | b10c8f5731668bd16fd37cfc86b37dcb0ca65f4f | [
"BSD-3-Clause"
] | null | null | null | rawquery/__init__.py | joncombe/django-raw-query | b10c8f5731668bd16fd37cfc86b37dcb0ca65f4f | [
"BSD-3-Clause"
] | null | null | null | from rawquery.rawquery import RawQuery | 38 | 38 | 0.894737 | 5 | 38 | 6.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6ed5a1a5f9dcb9322679675df51bcbdeeed2ff8 | 13,830 | py | Python | tests/key_params/test_ecdsa.py | FloLie/openssh_key_parser | 44cdc6c2085069e7c2612841de38f581f8ef226c | [
"MIT"
] | null | null | null | tests/key_params/test_ecdsa.py | FloLie/openssh_key_parser | 44cdc6c2085069e7c2612841de38f581f8ef226c | [
"MIT"
] | null | null | null | tests/key_params/test_ecdsa.py | FloLie/openssh_key_parser | 44cdc6c2085069e7c2612841de38f581f8ef226c | [
"MIT"
] | null | null | null | import pytest
from cryptography.hazmat.primitives.asymmetric import ec
from cryptography.hazmat.primitives.serialization import Encoding, PublicFormat
from openssh_key.key_params import (ECDSA_NISTP256_PrivateKeyParams,
ECDSA_NISTP256_PublicKeyParams,
... | 37.378378 | 82 | 0.639986 | 1,293 | 13,830 | 6.475638 | 0.078886 | 0.075242 | 0.041204 | 0.043951 | 0.839723 | 0.81715 | 0.787173 | 0.742625 | 0.742267 | 0.733548 | 0 | 0.022187 | 0.266739 | 13,830 | 369 | 83 | 37.479675 | 0.803471 | 0 | 0 | 0.596386 | 0 | 0 | 0.142733 | 0.030369 | 0 | 0 | 0 | 0 | 0.072289 | 1 | 0.045181 | false | 0 | 0.01506 | 0 | 0.060241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc079acf6d4bbdfc91ccabd22ada1b0d935448ca | 6,452 | py | Python | tpot_configuration.py | inovex/automated-feature-engineering | 0c21690397a2cfcd0ed96f5a8be6f9ba2f370d7e | [
"MIT"
] | null | null | null | tpot_configuration.py | inovex/automated-feature-engineering | 0c21690397a2cfcd0ed96f5a8be6f9ba2f370d7e | [
"MIT"
] | null | null | null | tpot_configuration.py | inovex/automated-feature-engineering | 0c21690397a2cfcd0ed96f5a8be6f9ba2f370d7e | [
"MIT"
] | null | null | null | # Own config, based on standard tpot_config without models, focused on feature engineering
import numpy as np
regressor_config = {
# Preprocesssors
'sklearn.preprocessing.Binarizer': {
'threshold': np.arange(0.0, 1.01, 0.05)
},
'sklearn.decomposition.FastICA': {
'tol': np.arange(0.0, 1... | 24.164794 | 117 | 0.557037 | 662 | 6,452 | 5.293051 | 0.214502 | 0.017123 | 0.035959 | 0.020548 | 0.961187 | 0.961187 | 0.961187 | 0.961187 | 0.961187 | 0.961187 | 0 | 0.065462 | 0.270769 | 6,452 | 267 | 118 | 24.164794 | 0.679277 | 0.052387 | 0 | 0.663212 | 0 | 0 | 0.451729 | 0.256351 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005181 | 0 | 0.005181 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc171f73c4c33ff7d8f74619c277bf6d53fb8997 | 33 | py | Python | napari_pyclesperanto_assistant/_gui/__init__.py | haesleinhuepf/pyclesperanto_assistant | d29a00ff675c1137adfcf892a7268279c3fe5e09 | [
"BSD-3-Clause"
] | 16 | 2021-01-27T02:29:24.000Z | 2022-03-29T13:39:36.000Z | napari_pyclesperanto_assistant/_gui/__init__.py | haesleinhuepf/pyclesperanto_assistant | d29a00ff675c1137adfcf892a7268279c3fe5e09 | [
"BSD-3-Clause"
] | 41 | 2021-01-01T17:45:23.000Z | 2022-03-20T19:54:54.000Z | napari_pyclesperanto_assistant/_gui/__init__.py | haesleinhuepf/pyclesperanto_assistant | d29a00ff675c1137adfcf892a7268279c3fe5e09 | [
"BSD-3-Clause"
] | 6 | 2021-01-05T13:19:38.000Z | 2022-02-15T15:32:58.000Z | from ._Assistant import Assistant | 33 | 33 | 0.878788 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc34d8e64e0032780e8768768757bbd4818967c2 | 25,518 | py | Python | test/unit/sync/test_sync.py | thegisexpert/b2-sdk-python | 9a4db689b5aeb905a5daa6375c5ebee8cdce9a00 | [
"MIT"
] | null | null | null | test/unit/sync/test_sync.py | thegisexpert/b2-sdk-python | 9a4db689b5aeb905a5daa6375c5ebee8cdce9a00 | [
"MIT"
] | null | null | null | test/unit/sync/test_sync.py | thegisexpert/b2-sdk-python | 9a4db689b5aeb905a5daa6375c5ebee8cdce9a00 | [
"MIT"
] | null | null | null | ######################################################################
#
# File: test/unit/sync/test_sync.py
#
# Copyright 2020 Backblaze Inc. All Rights Reserved.
#
# License https://www.backblaze.com/using_b2_code.html
#
######################################################################
from enum import Enum
fro... | 38.143498 | 100 | 0.58351 | 2,968 | 25,518 | 4.733491 | 0.061658 | 0.040999 | 0.046267 | 0.038437 | 0.884547 | 0.87629 | 0.872731 | 0.866752 | 0.862624 | 0.846679 | 0 | 0.041904 | 0.27898 | 25,518 | 668 | 101 | 38.200599 | 0.72167 | 0.02363 | 0 | 0.615514 | 0 | 0.003373 | 0.187892 | 0.07009 | 0 | 0 | 0 | 0 | 0.064081 | 1 | 0.064081 | false | 0 | 0.006745 | 0 | 0.074199 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc42fb8ea0d2695fee386b4cfc9324ae658e38d4 | 155 | py | Python | dml/components/paths/__init__.py | FCDM/py-dml | 3e753e543644211ba42c8e048f46f956af1c5f8c | [
"MIT"
] | null | null | null | dml/components/paths/__init__.py | FCDM/py-dml | 3e753e543644211ba42c8e048f46f956af1c5f8c | [
"MIT"
] | null | null | null | dml/components/paths/__init__.py | FCDM/py-dml | 3e753e543644211ba42c8e048f46f956af1c5f8c | [
"MIT"
] | null | null | null | from .arc import *
from .common import *
from .bezier import *
from .core import *
from .lemniscate import *
from .linear import * | 25.833333 | 25 | 0.612903 | 18 | 155 | 5.277778 | 0.444444 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.309677 | 155 | 6 | 26 | 25.833333 | 0.88785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fc6fe83117ad8778965531f18c594be91d6664d2 | 3,738 | py | Python | run_this_first_and_once_for_new_data.py | kchng/Quantum_machine_learning | 7395b0d5415d7633a867a535f9b0b0c79583f738 | [
"Apache-2.0"
] | 3 | 2017-02-16T17:14:26.000Z | 2019-05-06T10:11:55.000Z | run_this_first_and_once_for_new_data.py | kchng/Quantum_machine_learning | 7395b0d5415d7633a867a535f9b0b0c79583f738 | [
"Apache-2.0"
] | null | null | null | run_this_first_and_once_for_new_data.py | kchng/Quantum_machine_learning | 7395b0d5415d7633a867a535f9b0b0c79583f738 | [
"Apache-2.0"
] | 2 | 2018-03-05T22:56:28.000Z | 2019-05-06T10:11:49.000Z | import randomize_file_data
import numpy as np
import os
import time
import sys
# If you are in the directory where the data file are located, make sure to modify the number formatting accordingly. Here it is %.3f. If not, give the full file path and modify the number formatting accordingly. Make sure the data file hav... | 43.976471 | 293 | 0.697967 | 780 | 3,738 | 3.185897 | 0.201282 | 0.034608 | 0.033803 | 0.04507 | 0.775453 | 0.734004 | 0.734004 | 0.734004 | 0.730785 | 0.716298 | 0 | 0.026095 | 0.169609 | 3,738 | 84 | 294 | 44.5 | 0.774485 | 0.398609 | 0 | 0.35 | 0 | 0.15 | 0.379326 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc83359158e32ad76d5a35c23075c8b413102fc3 | 19,370 | py | Python | tests/pages/test_login.py | odudex/krux | db421a3f107c0263221e5f1e877e9c38925bb17c | [
"MIT"
] | null | null | null | tests/pages/test_login.py | odudex/krux | db421a3f107c0263221e5f1e877e9c38925bb17c | [
"MIT"
] | null | null | null | tests/pages/test_login.py | odudex/krux | db421a3f107c0263221e5f1e877e9c38925bb17c | [
"MIT"
] | null | null | null | from ..shared_mocks import *
from krux.settings import I18n
from krux.input import BUTTON_ENTER, BUTTON_PAGE
from krux.qr import FORMAT_UR, FORMAT_NONE
from ur.ur import UR
import binascii
def test_new_key_from_d6(mocker):
mocker.patch("krux.printers.thermal.AdafruitPrinter", new=mock.MagicMock())
from krux.p... | 34.343972 | 182 | 0.546928 | 2,073 | 19,370 | 4.9233 | 0.131693 | 0.130413 | 0.111111 | 0.131687 | 0.823339 | 0.786596 | 0.779345 | 0.778856 | 0.765628 | 0.759651 | 0 | 0.040891 | 0.364946 | 19,370 | 563 | 183 | 34.404973 | 0.788798 | 0.084306 | 0 | 0.596774 | 0 | 0.011521 | 0.147838 | 0.033281 | 0 | 0 | 0 | 0 | 0.062212 | 1 | 0.025346 | false | 0 | 0.0553 | 0 | 0.080645 | 0.023041 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc98317ecad99cddf6e07b3aaf092f3a62151292 | 71 | py | Python | dependencies/FontTools/Lib/fontTools/ttLib/tables/T_S_I_S_.py | charlesmchen/typefacet | 8c6db26d0c599ece16f3704696811275120a4044 | [
"Apache-2.0"
] | 21 | 2015-01-16T05:10:02.000Z | 2021-06-11T20:48:15.000Z | dependencies/FontTools/Lib/fontTools/ttLib/tables/T_S_I_S_.py | charlesmchen/typefacet | 8c6db26d0c599ece16f3704696811275120a4044 | [
"Apache-2.0"
] | 1 | 2019-09-09T12:10:27.000Z | 2020-05-22T10:12:14.000Z | dependencies/FontTools/Lib/fontTools/ttLib/tables/T_S_I_S_.py | charlesmchen/typefacet | 8c6db26d0c599ece16f3704696811275120a4044 | [
"Apache-2.0"
] | 2 | 2015-05-03T04:51:08.000Z | 2018-08-24T08:28:53.000Z | import asciiTable
class table_T_S_I_S_(asciiTable.asciiTable):
pass
| 11.833333 | 44 | 0.830986 | 11 | 71 | 4.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 5 | 45 | 14.2 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fca85b15a5a86d085b719dc07ad123a82127c602 | 8,399 | py | Python | src/genie/libs/parser/iosxr/tests/test_show_arp.py | Drey/genieparser | f16649efabf1f3c892bcaad340ae24ce5403ba6b | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxr/tests/test_show_arp.py | Drey/genieparser | f16649efabf1f3c892bcaad340ae24ce5403ba6b | [
"Apache-2.0"
] | 1 | 2019-04-02T16:51:56.000Z | 2019-04-02T16:51:56.000Z | src/genie/libs/parser/iosxr/tests/test_show_arp.py | Drey/genieparser | f16649efabf1f3c892bcaad340ae24ce5403ba6b | [
"Apache-2.0"
] | 1 | 2021-01-29T17:31:33.000Z | 2021-01-29T17:31:33.000Z | # Python
import unittest
from unittest.mock import Mock
# ATS
from ats.topology import Device
# Metaparset
from genie.metaparser.util.exceptions import SchemaEmptyParserError, \
SchemaMissingKeyError
# Parser
from genie.libs.parser.iosxr.show_arp import ShowArpDetail, \
ShowArpTrafficDetail
... | 29.783688 | 92 | 0.530539 | 997 | 8,399 | 4.312939 | 0.145436 | 0.011163 | 0.050233 | 0.051163 | 0.834651 | 0.783256 | 0.772093 | 0.736279 | 0.724884 | 0.709767 | 0 | 0.086669 | 0.244434 | 8,399 | 282 | 93 | 29.783688 | 0.590923 | 0.032623 | 0 | 0.630252 | 0 | 0.033613 | 0.57671 | 0.150216 | 0 | 0 | 0 | 0 | 0.021008 | 1 | 0.021008 | false | 0 | 0.021008 | 0 | 0.092437 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d9b0a70936c06e641280bddcbcef956ec0abf9f | 2,015 | py | Python | mock.py | pylola/mcok | 0afc61ee7b9fbcd49cb8ff9e41838045bc9b5d13 | [
"BSD-3-Clause"
] | 2 | 2016-02-01T19:06:43.000Z | 2021-01-19T13:40:37.000Z | mock.py | pylola/mcok | 0afc61ee7b9fbcd49cb8ff9e41838045bc9b5d13 | [
"BSD-3-Clause"
] | 1 | 2016-02-01T19:08:23.000Z | 2016-02-02T08:46:59.000Z | mock.py | pylola/mcok | 0afc61ee7b9fbcd49cb8ff9e41838045bc9b5d13 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
class MMock(object):
def __getattr__(self, item):
class Mock(object):
def __init__(self, *args, **kwargs):
pass
def __getitem__(self, item):
return Mock()
def __setitem__(self, key, value):
pass
... | 21.666667 | 58 | 0.436228 | 179 | 2,015 | 4.24581 | 0.312849 | 0.289474 | 0.342105 | 0.25 | 0.372368 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000943 | 0.473449 | 2,015 | 92 | 59 | 21.902174 | 0.715363 | 0.010422 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0.066667 | 0.016667 | 0.366667 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
5de70674153da1342fc6e9b0cde3f9a1bc4172c2 | 185 | py | Python | Include/commands/exit_app.py | maslankam/Photometric-Stereo-Assistent | e3af46c8a984df10f37747b77630cdb5125e0b7f | [
"MIT"
] | null | null | null | Include/commands/exit_app.py | maslankam/Photometric-Stereo-Assistent | e3af46c8a984df10f37747b77630cdb5125e0b7f | [
"MIT"
] | 2 | 2021-03-08T22:31:49.000Z | 2021-03-18T21:03:47.000Z | Include/commands/exit_app.py | maslankam/Photometric-Stereo-Assistant | e3af46c8a984df10f37747b77630cdb5125e0b7f | [
"MIT"
] | null | null | null | from Include.commands.command import Command
class ExitApp(Command):
"""exit application"""
def do(*args, **kwargs):
pass
def undo(*args, **kwargs):
pass | 16.818182 | 44 | 0.610811 | 21 | 185 | 5.380952 | 0.714286 | 0.176991 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254054 | 185 | 11 | 45 | 16.818182 | 0.818841 | 0.086486 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f8d7ea5a2fcce4336ff865610c1f3e6a4c6da31a | 41 | py | Python | build/lib/MyHeartCounts/__init__.py | AshleyLab/MyHeartCounts2.0 | 14b939cdb0f760eb891c91bf28e018d73362d03a | [
"MIT"
] | null | null | null | build/lib/MyHeartCounts/__init__.py | AshleyLab/MyHeartCounts2.0 | 14b939cdb0f760eb891c91bf28e018d73362d03a | [
"MIT"
] | null | null | null | build/lib/MyHeartCounts/__init__.py | AshleyLab/MyHeartCounts2.0 | 14b939cdb0f760eb891c91bf28e018d73362d03a | [
"MIT"
] | null | null | null | from .myHeartCounts import MyHeartCounts
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d0d73e2287292f6ef347ee205eff50261f050ca | 185 | py | Python | tests/sorting/conftest.py | dieb/algorithms.py | da657002cb35395bab547a9f29ca2c8a171e986d | [
"MIT"
] | null | null | null | tests/sorting/conftest.py | dieb/algorithms.py | da657002cb35395bab547a9f29ca2c8a171e986d | [
"MIT"
] | null | null | null | tests/sorting/conftest.py | dieb/algorithms.py | da657002cb35395bab547a9f29ca2c8a171e986d | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture
def assert_sorted():
def assert_fun(original, sort_function):
assert sorted(original[:]) == sort_function(original[:])
return assert_fun
| 20.555556 | 64 | 0.713514 | 22 | 185 | 5.772727 | 0.5 | 0.141732 | 0.314961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172973 | 185 | 8 | 65 | 23.125 | 0.830065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5d177c84fd0aee7cd4413b7ff4df346a91199492 | 2,239 | py | Python | tests/test_forms.py | SebastianKapunkt/joeflow | fbec6685d9d5fb2a4e3db92a9ca6e58cf5a4bce8 | [
"BSD-3-Clause"
] | 46 | 2019-01-29T18:23:38.000Z | 2022-02-03T12:47:16.000Z | tests/test_forms.py | codingjoe/galahad | ee52b81a8df868e5ab050345550596dbdcd23d5f | [
"BSD-3-Clause"
] | 34 | 2019-10-11T03:42:56.000Z | 2022-03-11T15:51:28.000Z | tests/test_forms.py | codingjoe/galahad | ee52b81a8df868e5ab050345550596dbdcd23d5f | [
"BSD-3-Clause"
] | 11 | 2020-04-22T07:17:16.000Z | 2022-02-15T08:44:47.000Z | from joeflow import forms
from tests.testapp.workflows import SimpleWorkflow
class TestOverrideForm:
def test_get_next_task_nodes(self):
class SimpleWorkflowForm(forms.OverrideForm):
class Meta:
model = SimpleWorkflow
fields = "__all__"
form = SimpleWor... | 34.984375 | 88 | 0.640464 | 233 | 2,239 | 5.841202 | 0.218884 | 0.066128 | 0.08817 | 0.108009 | 0.837619 | 0.782513 | 0.725202 | 0.725202 | 0.725202 | 0.725202 | 0 | 0.002407 | 0.257704 | 2,239 | 63 | 89 | 35.539683 | 0.816486 | 0 | 0 | 0.625 | 0 | 0 | 0.046896 | 0 | 0 | 0 | 0 | 0 | 0.270833 | 1 | 0.083333 | false | 0 | 0.041667 | 0 | 0.3125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d19abb6a5ad8c551498586854358a2db8b37436 | 42 | py | Python | module/villain.py | itsforbasu/Python_class_files | 05890fddb7287e8b558dc4931fa725367dbf9ad5 | [
"MIT"
] | 1 | 2019-03-04T08:50:53.000Z | 2019-03-04T08:50:53.000Z | module/villain.py | itsforbasu/Python_class_files | 05890fddb7287e8b558dc4931fa725367dbf9ad5 | [
"MIT"
] | null | null | null | module/villain.py | itsforbasu/Python_class_files | 05890fddb7287e8b558dc4931fa725367dbf9ad5 | [
"MIT"
] | 2 | 2018-10-17T15:10:24.000Z | 2020-06-27T04:00:02.000Z | def displayVil():
print("I am xxyyzz") | 21 | 24 | 0.642857 | 6 | 42 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 2 | 24 | 21 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.255814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5d1c6b276f39c630345095cedbf582f121748277 | 333 | py | Python | lib/covid19.py | jDan735/covid-19_bot | a359e1b611031dab6070dea9dee68092a02ca7d8 | [
"MIT"
] | null | null | null | lib/covid19.py | jDan735/covid-19_bot | a359e1b611031dab6070dea9dee68092a02ca7d8 | [
"MIT"
] | null | null | null | lib/covid19.py | jDan735/covid-19_bot | a359e1b611031dab6070dea9dee68092a02ca7d8 | [
"MIT"
] | null | null | null | import requests
def getWorld():
return requests.get("https://data.nepalcorona.info/api/v1/world").json()
def getCountries():
return requests.get("https://nepalcorona.info/api/v1/data/world").json()
def getCountriesHistory():
return requests.get("https://data.nepalcorona.info/api/v1/world/his... | 33.3 | 84 | 0.702703 | 42 | 333 | 5.571429 | 0.404762 | 0.179487 | 0.217949 | 0.282051 | 0.435897 | 0.435897 | 0.435897 | 0.435897 | 0.435897 | 0.435897 | 0 | 0.010274 | 0.123123 | 333 | 10 | 84 | 33.3 | 0.791096 | 0 | 0 | 0 | 0 | 0 | 0.412308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5d39f84b48e5dbe9105dd741c3edd606421cede3 | 56,549 | py | Python | automol/tests/test_reac.py | lpratalimaffei/autochem | fd51f6899de17a014b4c1c7e18cefbc3df283b5e | [
"Apache-2.0"
] | 2 | 2021-03-01T14:23:25.000Z | 2021-11-28T19:17:08.000Z | automol/tests/test_reac.py | lpratalimaffei/autochem | fd51f6899de17a014b4c1c7e18cefbc3df283b5e | [
"Apache-2.0"
] | 1 | 2021-02-12T21:02:22.000Z | 2021-02-12T21:35:33.000Z | automol/tests/test_reac.py | lpratalimaffei/autochem | fd51f6899de17a014b4c1c7e18cefbc3df283b5e | [
"Apache-2.0"
] | 6 | 2020-12-12T18:41:13.000Z | 2021-11-11T20:12:14.000Z | """ test automol.reac
"""
import automol
SUBSTITUTION_RXN_STR = """
reaction class: substitution
forward TS atoms:
1: {symbol: O, implicit_hydrogen_valence: 0, stereo_parity: null}
2: {symbol: C, implicit_hydrogen_valence: 0, stereo_parity: null}
3: {symbol: H, implicit_hydrogen_valence: 0, stereo_parity: null}... | 38.918789 | 77 | 0.66422 | 8,028 | 56,549 | 4.441579 | 0.03849 | 0.078975 | 0.044872 | 0.024792 | 0.90274 | 0.870292 | 0.848136 | 0.834955 | 0.829599 | 0.824943 | 0 | 0.02203 | 0.205309 | 56,549 | 1,452 | 78 | 38.945592 | 0.771423 | 0.148314 | 0 | 0.684316 | 0 | 0.002997 | 0.162793 | 0.027764 | 0 | 0 | 0 | 0 | 0.100899 | 1 | 0.032967 | false | 0 | 0.000999 | 0 | 0.033966 | 0.1998 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d3eab8a87ac315669cbda4c3c5d0657256e6a71 | 11,102 | py | Python | stix2/test/v21/test_location.py | frank7y/cti-python-stix2 | 17445a085cb84734900603eb8009bcc856892762 | [
"BSD-3-Clause"
] | 277 | 2017-02-15T17:54:37.000Z | 2022-03-11T09:04:33.000Z | stix2/test/v21/test_location.py | frank7y/cti-python-stix2 | 17445a085cb84734900603eb8009bcc856892762 | [
"BSD-3-Clause"
] | 503 | 2017-02-21T15:36:58.000Z | 2022-03-11T02:15:49.000Z | stix2/test/v21/test_location.py | sdrees/cti-python-stix2 | 7830a4c8c98382431a76dcbee1ef97f141dff40b | [
"BSD-3-Clause"
] | 92 | 2017-02-15T18:07:49.000Z | 2022-01-31T09:29:23.000Z | import datetime as dt
import re
import pytest
import pytz
import stix2
import stix2.exceptions
from .constants import LOCATION_ID
EXPECTED_LOCATION_1 = """{
"type": "location",
"spec_version": "2.1",
"id": "location--a6e9345f-5a15-4c29-8bb3-7dcc5d168d64",
"created": "2016-04-06T20:03:00.000Z",
"... | 29.215789 | 160 | 0.575572 | 1,326 | 11,102 | 4.675716 | 0.131222 | 0.030968 | 0.056774 | 0.067097 | 0.825161 | 0.802742 | 0.784839 | 0.780968 | 0.765806 | 0.759677 | 0 | 0.135172 | 0.271663 | 11,102 | 379 | 161 | 29.292876 | 0.631585 | 0 | 0 | 0.612583 | 0 | 0.009934 | 0.304061 | 0.073683 | 0.006623 | 0 | 0 | 0 | 0.072848 | 1 | 0.05298 | false | 0 | 0.023179 | 0 | 0.076159 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d3f9a1fb68411374895ce70af761af8b8b93a72 | 11,939 | py | Python | api/python_stubs/nlp_pb2_grpc.py | yash1994/spacy-go | 73110380c05ae2ae81c6f566abce82bb4a200db8 | [
"MIT"
] | 16 | 2020-06-29T07:56:34.000Z | 2022-02-23T03:43:31.000Z | api/python_stubs/nlp_pb2_grpc.py | yash1994/spacy-go | 73110380c05ae2ae81c6f566abce82bb4a200db8 | [
"MIT"
] | null | null | null | api/python_stubs/nlp_pb2_grpc.py | yash1994/spacy-go | 73110380c05ae2ae81c6f566abce82bb4a200db8 | [
"MIT"
] | 1 | 2022-02-17T20:22:57.000Z | 2022-02-17T20:22:57.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
import python_stubs.nlp_pb2 as nlp__pb2
class NlpStub(object):
"""Missing associated documentation comment in .proto file"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Chann... | 41.311419 | 87 | 0.63213 | 1,066 | 11,939 | 6.818011 | 0.08818 | 0.041277 | 0.042102 | 0.056136 | 0.820171 | 0.773665 | 0.757155 | 0.706659 | 0.689736 | 0.674051 | 0 | 0.005889 | 0.288801 | 11,939 | 288 | 88 | 41.454861 | 0.850077 | 0.064997 | 0 | 0.614754 | 1 | 0 | 0.067985 | 0.007765 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07377 | false | 0 | 0.008197 | 0.032787 | 0.127049 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d48baad2c5ead8cf328b05aec20e12a8f29a655 | 78 | py | Python | src/models/ext/neuron/neuron/__init__.py | Cardio-AI/3d-mri-domain-adaptation | 2a1b8332039aa25b8291cfd746cbcf87f71068c2 | [
"MIT"
] | 4 | 2020-12-16T14:18:23.000Z | 2021-11-11T11:20:22.000Z | src/models/ext/neuron/neuron/__init__.py | HabibMrad/3d-mri-domain-adaptation | 2a1b8332039aa25b8291cfd746cbcf87f71068c2 | [
"MIT"
] | null | null | null | src/models/ext/neuron/neuron/__init__.py | HabibMrad/3d-mri-domain-adaptation | 2a1b8332039aa25b8291cfd746cbcf87f71068c2 | [
"MIT"
] | 1 | 2021-06-16T18:37:52.000Z | 2021-06-16T18:37:52.000Z | # import various
from . import inits
from . import utils
from . import layers
| 15.6 | 20 | 0.75641 | 11 | 78 | 5.363636 | 0.545455 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 78 | 4 | 21 | 19.5 | 0.936508 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d61be9b3dbf89523cdd34c3c5bbec11b4a17744 | 169 | py | Python | build/lib/fast_pagerank/__init__.py | asajadi/fast_pagerank | 792c4bc8760032a6ababc9553f229ff702d300f5 | [
"MIT"
] | 39 | 2019-07-17T09:36:33.000Z | 2022-03-15T05:42:26.000Z | build/lib/fast_pagerank/__init__.py | asajadi/fast_pagerank | 792c4bc8760032a6ababc9553f229ff702d300f5 | [
"MIT"
] | 2 | 2020-05-10T17:03:57.000Z | 2022-03-10T17:37:33.000Z | build/lib/fast_pagerank/__init__.py | asajadi/fast_pagerank | 792c4bc8760032a6ababc9553f229ff702d300f5 | [
"MIT"
] | 4 | 2020-02-06T19:15:13.000Z | 2022-01-31T07:10:24.000Z | #from .pagerank import Page
name = "fast_pagerank"
from .fast_pagerank import pagerank
from .fast_pagerank import pagerank_power
__all__ = ["pagerank", "pagerank_power"] | 33.8 | 41 | 0.804734 | 22 | 169 | 5.772727 | 0.363636 | 0.330709 | 0.251969 | 0.377953 | 0.535433 | 0.535433 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106509 | 169 | 5 | 42 | 33.8 | 0.84106 | 0.153846 | 0 | 0 | 0 | 0 | 0.244755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
53778b5b1020e5ca66e1176ac6ac405d6c8b0b43 | 8,283 | py | Python | test/data_generation/testdata_generation.py | guyfreund/data_drift_detection | 80ca5eb7445b17e04f2aa98c5f6d9ac1fe6d5ac5 | [
"MIT"
] | null | null | null | test/data_generation/testdata_generation.py | guyfreund/data_drift_detection | 80ca5eb7445b17e04f2aa98c5f6d9ac1fe6d5ac5 | [
"MIT"
] | 1 | 2021-12-12T22:13:58.000Z | 2021-12-17T22:49:39.000Z | test/data_generation/testdata_generation.py | guyfreund/data_drift_detection | 80ca5eb7445b17e04f2aa98c5f6d9ac1fe6d5ac5 | [
"MIT"
] | null | null | null | import pandas as pd
from ydata_synthetic.synthesizers.regular import CGAN
# models
from src.pipeline.model.paths import GERMAN_CREDIT_GEN_CGAN_MODEL_PATH, BANK_MARKETING_GEN_CGAN_MODEL_PATH
# data
from src.pipeline.datasets.training_datasets import GermanCreditDataset, BankMarketingDataset
from src.pipeline.datasets.pa... | 49.011834 | 134 | 0.788482 | 946 | 8,283 | 6.327696 | 0.085624 | 0.093552 | 0.136819 | 0.042766 | 0.84564 | 0.842299 | 0.808887 | 0.797193 | 0.797193 | 0.788339 | 0 | 0.001724 | 0.159483 | 8,283 | 168 | 135 | 49.303571 | 0.858087 | 0.050948 | 0 | 0.6875 | 0 | 0 | 0.026762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.070313 | 0 | 0.257813 | 0.03125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53b1f33cbf92a31df21b347ca8b6dcd16efc42a9 | 160 | py | Python | tracker-api/app/routes/confirmed.py | ihartsimafeichyk/CvSOTracker | 59d9abcf93f1f1b68933a05b10274d688e489050 | [
"MIT"
] | null | null | null | tracker-api/app/routes/confirmed.py | ihartsimafeichyk/CvSOTracker | 59d9abcf93f1f1b68933a05b10274d688e489050 | [
"MIT"
] | null | null | null | tracker-api/app/routes/confirmed.py | ihartsimafeichyk/CvSOTracker | 59d9abcf93f1f1b68933a05b10274d688e489050 | [
"MIT"
] | null | null | null | from flask import jsonify
from app import app
from app.data import get_data
@app.route('/confirmed')
def confirmed():
return jsonify(get_data('confirmed')) | 22.857143 | 41 | 0.7625 | 24 | 160 | 5 | 0.458333 | 0.116667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13125 | 160 | 7 | 41 | 22.857143 | 0.863309 | 0 | 0 | 0 | 0 | 0 | 0.118012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
53c060d2409ca91cfef6a7a8b874bf5e3769899a | 243 | py | Python | scripts/item/consume_2436479.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/item/consume_2436479.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/item/consume_2436479.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Created by MechAviv
# Full of Stars Damage Skin (30 Day) | (2436479)
if sm.addDamageSkin(2436479):
sm.chat("'Full of Stars Damage Skin (30 Day)' Damage Skin has been added to your account's damage skin collection.")
sm.consumeItem() | 48.6 | 121 | 0.720165 | 38 | 243 | 4.605263 | 0.631579 | 0.228571 | 0.125714 | 0.194286 | 0.297143 | 0.297143 | 0.297143 | 0 | 0 | 0 | 0 | 0.09 | 0.176955 | 243 | 5 | 122 | 48.6 | 0.785 | 0.271605 | 0 | 0 | 0 | 0.333333 | 0.605714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53dd3760ad0afe0bb9c2a9c6d138280dba8b6e36 | 7,407 | py | Python | beaconrunner/eth2spec/test/phase0/genesis/test_initialization.py | casparschwa/beaconrunner | d5430e08b120462beea19f65a4cf335ec9eb9134 | [
"MIT"
] | 2,161 | 2018-09-20T09:40:27.000Z | 2021-08-17T16:48:29.000Z | tests/core/pyspec/eth2spec/test/phase0/genesis/test_initialization.py | sthagen/eth2.0-specs | 27b0d1f32e4ce430dd13b447c273a0f64b637066 | [
"CC0-1.0"
] | 1,573 | 2018-09-22T06:33:19.000Z | 2021-08-18T00:54:44.000Z | tests/core/pyspec/eth2spec/test/phase0/genesis/test_initialization.py | sthagen/eth2.0-specs | 27b0d1f32e4ce430dd13b447c273a0f64b637066 | [
"CC0-1.0"
] | 502 | 2018-09-22T04:37:36.000Z | 2021-08-17T09:34:45.000Z | from eth2spec.test.context import (
is_post_altair,
single_phase,
spec_test,
with_presets,
with_all_phases,
)
from eth2spec.test.helpers.constants import MINIMAL
from eth2spec.test.helpers.deposits import (
prepare_full_genesis_deposits,
prepare_random_genesis_deposits,
)
def get_post_alta... | 33.821918 | 101 | 0.750776 | 985 | 7,407 | 5.218274 | 0.124873 | 0.063035 | 0.050584 | 0.046693 | 0.84144 | 0.807977 | 0.805642 | 0.780739 | 0.765564 | 0.711479 | 0 | 0.016066 | 0.176455 | 7,407 | 218 | 102 | 33.977064 | 0.826557 | 0.086405 | 0 | 0.575949 | 0 | 0.006329 | 0.04563 | 0 | 0 | 0 | 0 | 0 | 0.094937 | 1 | 0.044304 | false | 0 | 0.018987 | 0.006329 | 0.06962 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54e9acccd39ba775c25aff779fab7f47b8247fa4 | 6,253 | py | Python | pillcity/tests/daos/pagination_test.py | Crystal-RainSlide/pill-city | a68f58893a83709e77af128743b01e5de4a67e2e | [
"MIT"
] | null | null | null | pillcity/tests/daos/pagination_test.py | Crystal-RainSlide/pill-city | a68f58893a83709e77af128743b01e5de4a67e2e | [
"MIT"
] | null | null | null | pillcity/tests/daos/pagination_test.py | Crystal-RainSlide/pill-city | a68f58893a83709e77af128743b01e5de4a67e2e | [
"MIT"
] | null | null | null | from .base_test_case import BaseTestCase
from freezegun import freeze_time
from pillcity.models import Post
from pillcity.daos.user import sign_up, find_user
from pillcity.daos.post import create_post, dangerously_get_post, sees_post
from pillcity.daos.pagination import get_page, poll_latest
class PaginationTest(Base... | 48.472868 | 120 | 0.588997 | 783 | 6,253 | 4.344828 | 0.095785 | 0.094062 | 0.152851 | 0.074074 | 0.8592 | 0.846855 | 0.846855 | 0.828042 | 0.828042 | 0.813639 | 0 | 0.029135 | 0.286423 | 6,253 | 128 | 121 | 48.851563 | 0.733303 | 0 | 0 | 0.7 | 0 | 0 | 0.022389 | 0 | 0 | 0 | 0 | 0 | 0.218182 | 1 | 0.1 | false | 0 | 0.054545 | 0.018182 | 0.190909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0715e8049e62ca16667c25fd43b6bdf2eed1e090 | 27 | py | Python | pygen/qndispatch/__init__.py | nbro/pyfuzz | 19e9a4e75e530a1e74c1bf45b2ada89913b2da78 | [
"BSD-3-Clause"
] | 7 | 2016-03-31T11:49:11.000Z | 2022-01-31T05:59:38.000Z | pygen/qndispatch/__init__.py | nbro/pyfuzz | 19e9a4e75e530a1e74c1bf45b2ada89913b2da78 | [
"BSD-3-Clause"
] | null | null | null | pygen/qndispatch/__init__.py | nbro/pyfuzz | 19e9a4e75e530a1e74c1bf45b2ada89913b2da78 | [
"BSD-3-Clause"
] | 6 | 2016-04-27T22:04:32.000Z | 2021-04-09T11:47:13.000Z | from .qndispatch import on
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0722071153e9b4391bc3b935346aa5dd113e7a01 | 17 | py | Python | source/workflowapi/__init__.py | zoltanarvai/aws-media-insights-engine | d0fc521c4f0a6c24108a06b218cd673f6bb9b2fe | [
"Apache-2.0"
] | 195 | 2019-09-17T07:58:16.000Z | 2021-09-24T10:30:37.000Z | source/workflowapi/__init__.py | zoltanarvai/aws-media-insights-engine | d0fc521c4f0a6c24108a06b218cd673f6bb9b2fe | [
"Apache-2.0"
] | 454 | 2019-09-24T10:26:02.000Z | 2021-10-14T05:27:01.000Z | source/workflowapi/__init__.py | zoltanarvai/aws-media-insights-engine | d0fc521c4f0a6c24108a06b218cd673f6bb9b2fe | [
"Apache-2.0"
] | 71 | 2019-09-17T19:04:51.000Z | 2021-10-13T17:42:16.000Z | from . import app | 17 | 17 | 0.764706 | 3 | 17 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0756d8adfd2450e4ce1fa267d71679bd369e2b9f | 124 | py | Python | apps/auth/serializers/__init__.py | mbaragiola/drf-demo-app | 41e3584376c9ac0f7da14e139543eecee0422cdc | [
"BSD-3-Clause"
] | null | null | null | apps/auth/serializers/__init__.py | mbaragiola/drf-demo-app | 41e3584376c9ac0f7da14e139543eecee0422cdc | [
"BSD-3-Clause"
] | null | null | null | apps/auth/serializers/__init__.py | mbaragiola/drf-demo-app | 41e3584376c9ac0f7da14e139543eecee0422cdc | [
"BSD-3-Clause"
] | null | null | null | # flake8: noqa
from apps.auth.serializers.login import LoginSerializer
from apps.auth.serializers.jwt import JWTSerializer
| 24.8 | 55 | 0.83871 | 16 | 124 | 6.5 | 0.6875 | 0.153846 | 0.230769 | 0.442308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.096774 | 124 | 4 | 56 | 31 | 0.919643 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4ae26aa50074490b59dcccfc645e37ff7a945c32 | 55,620 | py | Python | src/tests/api/test_items.py | mhils/pretix | 29721295477725317db21edf90ef1d4e94a3e132 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/tests/api/test_items.py | mhils/pretix | 29721295477725317db21edf90ef1d4e94a3e132 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/tests/api/test_items.py | mhils/pretix | 29721295477725317db21edf90ef1d4e94a3e132 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | import time
from datetime import datetime, timedelta
from decimal import Decimal
from unittest import mock
import pytest
from django_countries.fields import Country
from pytz import UTC
from pretix.base.models import (
CartPosition, InvoiceAddress, Item, ItemAddOn, ItemCategory, ItemVariation,
Order, OrderPos... | 34.719101 | 153 | 0.573625 | 6,228 | 55,620 | 4.993738 | 0.054592 | 0.054114 | 0.04823 | 0.067522 | 0.838558 | 0.812096 | 0.77557 | 0.736664 | 0.702196 | 0.673226 | 0 | 0.020987 | 0.272672 | 55,620 | 1,601 | 154 | 34.740787 | 0.747812 | 0.000863 | 0 | 0.61258 | 0 | 0.031451 | 0.236427 | 0.095143 | 0 | 0 | 0 | 0 | 0.154396 | 1 | 0.049321 | false | 0 | 0.006433 | 0.005718 | 0.067191 | 0.000715 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4afbab56c3cd9ed3ad75297831204ca95deacdb7 | 60,487 | py | Python | cohesity_management_sdk/controllers/views.py | sachinthakare-cohesity/management-sdk-python | c95f67b7d387d5bab8392be43190e598280ae7b5 | [
"MIT"
] | null | null | null | cohesity_management_sdk/controllers/views.py | sachinthakare-cohesity/management-sdk-python | c95f67b7d387d5bab8392be43190e598280ae7b5 | [
"MIT"
] | null | null | null | cohesity_management_sdk/controllers/views.py | sachinthakare-cohesity/management-sdk-python | c95f67b7d387d5bab8392be43190e598280ae7b5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2019 Cohesity Inc.
import logging
from cohesity_management_sdk.api_helper import APIHelper
from cohesity_management_sdk.configuration import Configuration
from cohesity_management_sdk.controllers.base_controller import BaseController
from cohesity_management_sdk.http.auth.auth_manag... | 42.239525 | 122 | 0.610726 | 6,614 | 60,487 | 5.369066 | 0.059873 | 0.039143 | 0.046127 | 0.039509 | 0.837234 | 0.809439 | 0.79091 | 0.766213 | 0.753992 | 0.750697 | 0 | 0.001126 | 0.324533 | 60,487 | 1,431 | 123 | 42.269043 | 0.868028 | 0.326715 | 0 | 0.602392 | 0 | 0 | 0.196593 | 0.047006 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032885 | false | 0 | 0.022422 | 0 | 0.082212 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab2bc80d8e5a8e8d8bc7a46311fa6153f59b5b3b | 28,499 | py | Python | Tests/GUI/DMatLib/test_Workflow_Matlib.py | tobsen2code/pyleecan | 5b1ded9e389e0c79ed7b7c878b6e939f2d9962e9 | [
"Apache-2.0"
] | null | null | null | Tests/GUI/DMatLib/test_Workflow_Matlib.py | tobsen2code/pyleecan | 5b1ded9e389e0c79ed7b7c878b6e939f2d9962e9 | [
"Apache-2.0"
] | null | null | null | Tests/GUI/DMatLib/test_Workflow_Matlib.py | tobsen2code/pyleecan | 5b1ded9e389e0c79ed7b7c878b6e939f2d9962e9 | [
"Apache-2.0"
] | null | null | null | import sys
from os.path import isdir, isfile, join
from shutil import copytree, rmtree
import pytest
import mock
from PySide2 import QtWidgets
from pyleecan.Functions.load import LIB_KEY, MACH_KEY, load, load_matlib
from pyleecan.GUI.Dialog.DMachineSetup.DMachineSetup import DMachineSetup
from pyleecan.GUI.Dialog.DMach... | 44.951104 | 88 | 0.650198 | 3,900 | 28,499 | 4.547949 | 0.056154 | 0.076676 | 0.058634 | 0.04905 | 0.848452 | 0.795625 | 0.772509 | 0.725489 | 0.69386 | 0.667869 | 0 | 0.031664 | 0.239798 | 28,499 | 633 | 89 | 45.022117 | 0.78703 | 0.101758 | 0 | 0.67126 | 0 | 0 | 0.067341 | 0.006337 | 0 | 0 | 0 | 0 | 0.474409 | 1 | 0.027559 | false | 0 | 0.031496 | 0 | 0.061024 | 0.003937 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ab2e830f7a6896070326f04d36f9236483385b16 | 308 | py | Python | src/xdist/scheduler/__init__.py | kianmeng/pytest-xdist | 290b322a5d48290397ad698fc1dcb729cbe62e07 | [
"MIT"
] | 883 | 2015-09-01T22:41:20.000Z | 2022-03-30T22:32:43.000Z | src/xdist/scheduler/__init__.py | kianmeng/pytest-xdist | 290b322a5d48290397ad698fc1dcb729cbe62e07 | [
"MIT"
] | 623 | 2015-09-02T00:06:07.000Z | 2022-03-31T11:40:44.000Z | src/xdist/scheduler/__init__.py | kianmeng/pytest-xdist | 290b322a5d48290397ad698fc1dcb729cbe62e07 | [
"MIT"
] | 190 | 2015-09-01T18:56:08.000Z | 2022-03-25T17:50:56.000Z | from xdist.scheduler.each import EachScheduling # noqa
from xdist.scheduler.load import LoadScheduling # noqa
from xdist.scheduler.loadfile import LoadFileScheduling # noqa
from xdist.scheduler.loadscope import LoadScopeScheduling # noqa
from xdist.scheduler.loadgroup import LoadGroupScheduling # noqa
| 51.333333 | 65 | 0.837662 | 35 | 308 | 7.371429 | 0.428571 | 0.174419 | 0.348837 | 0.341085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 308 | 5 | 66 | 61.6 | 0.945055 | 0.077922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db557ca4e9c7416f07314770dfee0c2016edd18a | 210 | py | Python | djvideomem/content/admin.py | marius1989D/django-video-membership | 79e8b4708d184cad705a26fb800633543acc2370 | [
"MIT"
] | 26 | 2020-09-16T06:01:46.000Z | 2021-12-30T12:42:21.000Z | djvideomem/content/admin.py | marius1989D/django-video-membership | 79e8b4708d184cad705a26fb800633543acc2370 | [
"MIT"
] | 1 | 2020-12-13T09:44:26.000Z | 2020-12-13T09:44:26.000Z | djvideomem/content/admin.py | marius1989D/django-video-membership | 79e8b4708d184cad705a26fb800633543acc2370 | [
"MIT"
] | 15 | 2020-09-04T14:34:09.000Z | 2022-02-11T04:37:20.000Z | from django.contrib import admin
from .models import Course, Video, Pricing, Subscription
admin.site.register(Course)
admin.site.register(Video)
admin.site.register(Pricing)
admin.site.register(Subscription)
| 23.333333 | 56 | 0.819048 | 28 | 210 | 6.142857 | 0.428571 | 0.209302 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080952 | 210 | 8 | 57 | 26.25 | 0.891192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
db752025d6130519921e54e3a83575351cb9b600 | 138 | py | Python | apps/doc/views.py | Jiafauser/News_blog | a3fec19c5e58c50c40268144e2f52820b24cc5d6 | [
"Unlicense"
] | null | null | null | apps/doc/views.py | Jiafauser/News_blog | a3fec19c5e58c50c40268144e2f52820b24cc5d6 | [
"Unlicense"
] | null | null | null | apps/doc/views.py | Jiafauser/News_blog | a3fec19c5e58c50c40268144e2f52820b24cc5d6 | [
"Unlicense"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def doc_list(request):
return render(request, 'doc/docDownload.html')
| 19.714286 | 50 | 0.76087 | 19 | 138 | 5.473684 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 138 | 6 | 51 | 23 | 0.881356 | 0.166667 | 0 | 0 | 0 | 0 | 0.176991 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
db86a4abc5c644359656c2690697ab281a840540 | 12,043 | py | Python | tests/components/overkiz/test_config_flow.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 3 | 2020-11-27T06:26:27.000Z | 2020-12-09T14:55:16.000Z | tests/components/overkiz/test_config_flow.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 25 | 2021-11-24T06:24:10.000Z | 2022-03-31T06:23:06.000Z | tests/components/overkiz/test_config_flow.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 3 | 2022-01-02T18:49:54.000Z | 2022-01-25T02:03:54.000Z | """Tests for Overkiz (by Somfy) config flow."""
from __future__ import annotations
from unittest.mock import Mock, patch
from aiohttp import ClientError
from pyoverkiz.exceptions import (
BadCredentialsException,
MaintenanceException,
TooManyRequestsException,
)
import pytest
from homeassistant import co... | 33.828652 | 86 | 0.667026 | 1,380 | 12,043 | 5.538406 | 0.127536 | 0.054429 | 0.035326 | 0.051812 | 0.771817 | 0.750883 | 0.72851 | 0.726416 | 0.704697 | 0.704697 | 0 | 0.016374 | 0.213983 | 12,043 | 355 | 87 | 33.923944 | 0.791042 | 0.003404 | 0 | 0.624113 | 0 | 0 | 0.187994 | 0.085223 | 0 | 0 | 0 | 0 | 0.141844 | 1 | 0 | false | 0.074468 | 0.039007 | 0 | 0.039007 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
dbd79900e8fc1839a7acce0f964eb9c578c0a2a3 | 12,693 | py | Python | stubs/micropython-v1_17-esp32/builtins.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/micropython-v1_17-esp32/builtins.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/micropython-v1_17-esp32/builtins.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | """
Module: 'builtins' on micropython-v1.17-esp32
"""
# MCU: {'ver': 'v1.17', 'port': 'esp32', 'arch': 'xtensawin', 'sysname': 'esp32', 'release': '1.17.0', 'name': 'micropython', 'mpy': 10757, 'version': '1.17.0', 'machine': 'ESP32 module (spiram) with ESP32', 'build': '', 'nodename': 'esp32', 'platform': 'esp32', 'fa... | 15.709158 | 287 | 0.457181 | 1,209 | 12,693 | 4.707196 | 0.159636 | 0.263574 | 0.342646 | 0.368301 | 0.632929 | 0.592515 | 0.576173 | 0.482341 | 0.482341 | 0.482341 | 0 | 0.004126 | 0.312534 | 12,693 | 807 | 288 | 15.728625 | 0.648063 | 0.031277 | 0 | 0.722359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002457 | 1 | 0.432432 | false | 0 | 0.004914 | 0 | 0.560197 | 0.002457 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9162ce900939a6b7e1be03890393062d33e7187e | 39 | py | Python | abacus_tpot/input_db/__init__.py | workforce-data-initiative/tpot-abacus | a5abf4af544693e0c58f7891785718e7bc606ed6 | [
"Apache-2.0"
] | 1 | 2019-09-09T20:52:49.000Z | 2019-09-09T20:52:49.000Z | abacus_tpot/input_db/__init__.py | workforce-data-initiative/tpot-abacus | a5abf4af544693e0c58f7891785718e7bc606ed6 | [
"Apache-2.0"
] | 43 | 2018-02-11T11:24:18.000Z | 2022-02-22T05:32:16.000Z | abacus_tpot/input_db/__init__.py | workforce-data-initiative/tpot-abacus | a5abf4af544693e0c58f7891785718e7bc606ed6 | [
"Apache-2.0"
] | null | null | null | from . import participants, wage_table
| 19.5 | 38 | 0.820513 | 5 | 39 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
918430edc17863a7915175b1ab358272372506b5 | 11,884 | py | Python | src/konfoo/fields.py | JoeVirtual/KonFoo | 55c75178f43d435efbd5ba12e920a8944f2ea7ce | [
"BSD-3-Clause"
] | 8 | 2015-09-09T18:25:06.000Z | 2022-01-23T06:30:37.000Z | src/konfoo/fields.py | JoeVirtual/KonFoo | 55c75178f43d435efbd5ba12e920a8944f2ea7ce | [
"BSD-3-Clause"
] | null | null | null | src/konfoo/fields.py | JoeVirtual/KonFoo | 55c75178f43d435efbd5ba12e920a8944f2ea7ce | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
fields.py
~~~~~~~~~
<Add description of the module here>.
:copyright: (c) 2015-2018 by Jochen Gerhaeusser.
:license: BSD, see LICENSE for details
"""
from .core import (
Decimal, Signed, Unsigned, Bitset, Bool, Enum, Scaled, Bipolar, Unipolar)
from .enums import Enumeration
class Dec... | 26.886878 | 77 | 0.566981 | 1,467 | 11,884 | 4.259714 | 0.084526 | 0.172828 | 0.06401 | 0.089614 | 0.801248 | 0.791327 | 0.783645 | 0.709073 | 0.674668 | 0.667627 | 0 | 0.026984 | 0.310838 | 11,884 | 441 | 78 | 26.947846 | 0.73602 | 0.288034 | 0 | 0.684211 | 0 | 0 | 0.020374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.010526 | 0 | 0.436842 | 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 | 0 | 0 | 0 | 6 |
91c53835171c91cff042aba22123decab50f7718 | 210 | py | Python | wasamole/core/__init__.py | CarveSystems/wasamole | 4bb37e41c838772442f23fe8eac20eeb96b408b5 | [
"MIT"
] | 1 | 2021-11-19T15:17:17.000Z | 2021-11-19T15:17:17.000Z | wasamole/core/__init__.py | CarveSystems/wasamole | 4bb37e41c838772442f23fe8eac20eeb96b408b5 | [
"MIT"
] | null | null | null | wasamole/core/__init__.py | CarveSystems/wasamole | 4bb37e41c838772442f23fe8eac20eeb96b408b5 | [
"MIT"
] | null | null | null | from .elem import *
from .exports import *
from .function import *
from .globalvar import *
from .imports import *
from .instructions import *
from .localvar import *
from .module import *
from .types import *
| 21 | 27 | 0.742857 | 27 | 210 | 5.777778 | 0.407407 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 210 | 9 | 28 | 23.333333 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91c6323b77ff0db715e0f928cc007e607a316ba5 | 13,325 | py | Python | tests/test_broadcast.py | BuildJet/distdl | 28b0dcf2c0a762de924cc310398a2eab9c35297f | [
"BSD-2-Clause"
] | 25 | 2020-06-25T21:11:55.000Z | 2022-03-24T04:56:23.000Z | tests/test_broadcast.py | BuildJet/distdl | 28b0dcf2c0a762de924cc310398a2eab9c35297f | [
"BSD-2-Clause"
] | 97 | 2020-06-08T17:09:59.000Z | 2022-03-26T00:47:11.000Z | tests/test_broadcast.py | BuildJet/distdl | 28b0dcf2c0a762de924cc310398a2eab9c35297f | [
"BSD-2-Clause"
] | 8 | 2020-06-08T17:00:54.000Z | 2022-03-20T20:20:24.000Z | import os
import numpy as np
import pytest
import torch
from adjoint_test import check_adjoint_test_tight
use_cuda = 'USE_CUDA' in os.environ
adjoint_parametrizations = []
# Main functionality
adjoint_parametrizations.append(
pytest.param(
np.arange(4, 8), [2, 2, 1], # P_x_ranks, P_x_shape
np.a... | 32.420925 | 82 | 0.60878 | 1,870 | 13,325 | 4.054545 | 0.097861 | 0.018729 | 0.059087 | 0.026378 | 0.885518 | 0.881562 | 0.845687 | 0.772356 | 0.731205 | 0.700475 | 0 | 0.031925 | 0.28773 | 13,325 | 410 | 83 | 32.5 | 0.766937 | 0.226266 | 0 | 0.661342 | 0 | 0 | 0.072556 | 0.033925 | 0 | 0 | 0 | 0.002439 | 0.00639 | 1 | 0.009585 | false | 0 | 0.054313 | 0 | 0.073482 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91c7e6de3be1d9a994a558555b46ba5e42311dd9 | 102 | py | Python | app/auth/__init__.py | lin-wish/random-name | 91bae70aad4547e06388105136573a7c18525ed0 | [
"MIT"
] | null | null | null | app/auth/__init__.py | lin-wish/random-name | 91bae70aad4547e06388105136573a7c18525ed0 | [
"MIT"
] | null | null | null | app/auth/__init__.py | lin-wish/random-name | 91bae70aad4547e06388105136573a7c18525ed0 | [
"MIT"
] | null | null | null | from flask import Blueprint
auth_blueprint = Blueprint('auth', __name__)
from . import views
| 14.571429 | 45 | 0.72549 | 12 | 102 | 5.75 | 0.583333 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 102 | 6 | 46 | 17 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.042105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
37e5c044bdfc0628b8e4c54950c25479ce3fa839 | 7,911 | py | Python | tests/test_exceptions.py | Kludex/di | dc8b3ad3f6b0004a439a17208872ddbd24b62fbf | [
"MIT"
] | null | null | null | tests/test_exceptions.py | Kludex/di | dc8b3ad3f6b0004a439a17208872ddbd24b62fbf | [
"MIT"
] | null | null | null | tests/test_exceptions.py | Kludex/di | dc8b3ad3f6b0004a439a17208872ddbd24b62fbf | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from typing import AsyncGenerator, Dict, Generator
import pytest
from di import Container, Dependant, Depends
@dataclass
class Recorder:
caught: Dict[str, bool] = field(default_factory=dict)
class MyException(Exception):
...
def dep1(rec: Recorder) -> Generator[N... | 29.740602 | 88 | 0.670206 | 916 | 7,911 | 5.649563 | 0.103712 | 0.059517 | 0.046377 | 0.061643 | 0.912657 | 0.900483 | 0.87285 | 0.863575 | 0.842319 | 0.805024 | 0 | 0.007873 | 0.229301 | 7,911 | 265 | 89 | 29.85283 | 0.840905 | 0.06965 | 0 | 0.678392 | 0 | 0 | 0.065496 | 0 | 0 | 0 | 0 | 0 | 0.080402 | 1 | 0.110553 | false | 0.030151 | 0.020101 | 0 | 0.145729 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
530f5482fed235132608ab1faac418cd08a5abcc | 29 | py | Python | forge_sdk/tools/__init__.py | ArcBlock/forge-python-sdk | 4e72d75d3c06b16554d660860708732c83b5f8b2 | [
"Apache-2.0"
] | 9 | 2019-05-08T01:30:22.000Z | 2020-05-08T22:11:40.000Z | forge_sdk/tools/__init__.py | ArcBlock/forge-python-sdk | 4e72d75d3c06b16554d660860708732c83b5f8b2 | [
"Apache-2.0"
] | 22 | 2019-05-14T18:36:17.000Z | 2019-12-24T10:09:42.000Z | forge_sdk/tools/__init__.py | ArcBlock/forge-python-sdk | 4e72d75d3c06b16554d660860708732c83b5f8b2 | [
"Apache-2.0"
] | null | null | null | from . import deploy_protocol | 29 | 29 | 0.862069 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
532f734d09ada68027d37767a4d50b2296640cd2 | 423 | py | Python | pyrobolearn/tools/bridges/mouse_keyboard/__init__.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | 2 | 2021-01-21T21:08:30.000Z | 2022-03-29T16:45:49.000Z | pyrobolearn/tools/bridges/mouse_keyboard/__init__.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | null | null | null | pyrobolearn/tools/bridges/mouse_keyboard/__init__.py | Pandinosaurus/pyrobolearn | 9cd7c060723fda7d2779fa255ac998c2c82b8436 | [
"Apache-2.0"
] | 1 | 2020-09-29T21:25:39.000Z | 2020-09-29T21:25:39.000Z | # -*- coding: utf-8 -*-
# import
from .bridge_mousekeyboard_world import BridgeMouseKeyboardWorld
from .bridge_mousekeyboard_imitation_task import BridgeMouseKeyboardImitationTask
from .bridge_mousekeyboard_wheeled import BridgeMouseKeyboardWheeledRobot, \
BridgeMouseKeyboardDifferentialWheeledRobot, BridgeMouseKe... | 47 | 89 | 0.886525 | 31 | 423 | 11.806452 | 0.580645 | 0.10929 | 0.251366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002551 | 0.073286 | 423 | 8 | 90 | 52.875 | 0.931122 | 0.066194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
53516485f433cca5a078a2c606d4e3c3d2923b30 | 115 | py | Python | quantization/__init__.py | Tiamat-Tech/ZAQ-code | e7e9f55791e36c6784d58c356d3ced76a7583369 | [
"MIT"
] | 55 | 2021-03-30T01:30:46.000Z | 2022-03-30T03:05:25.000Z | quantization/__init__.py | Tiamat-Tech/ZAQ-code | e7e9f55791e36c6784d58c356d3ced76a7583369 | [
"MIT"
] | 8 | 2021-04-23T07:59:20.000Z | 2021-06-04T14:28:24.000Z | quantization/__init__.py | Tiamat-Tech/ZAQ-code | e7e9f55791e36c6784d58c356d3ced76a7583369 | [
"MIT"
] | 13 | 2021-04-08T03:15:47.000Z | 2022-03-18T08:39:12.000Z | from . import quant
from . import quantize
from . import layer_transform
from .quantize_model import quantize_model | 28.75 | 42 | 0.834783 | 16 | 115 | 5.8125 | 0.4375 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 115 | 4 | 42 | 28.75 | 0.93 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
726b79c7ca9e6b61a06ff3f37fbd1f2df0ee16a9 | 28 | py | Python | compare_anagrams/g3wanghc/__init__.py | f-u-n/playtime | bbd7d934e0b5efea55ed71415e1c21b0e8e2ed3c | [
"MIT"
] | 4 | 2016-04-10T05:43:28.000Z | 2016-04-27T05:09:20.000Z | compare_anagrams/g3wanghc/__init__.py | f-u-n/playtime | bbd7d934e0b5efea55ed71415e1c21b0e8e2ed3c | [
"MIT"
] | 10 | 2016-04-10T19:40:16.000Z | 2016-05-05T02:05:37.000Z | compare_anagrams/g3wanghc/__init__.py | f-u-n/playtime | bbd7d934e0b5efea55ed71415e1c21b0e8e2ed3c | [
"MIT"
] | 9 | 2016-04-09T21:03:23.000Z | 2016-11-09T20:22:29.000Z | from .anagram import Anagram | 28 | 28 | 0.857143 | 4 | 28 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
729d506aff583c51dd0ebb205634f17e70f51af3 | 2,038 | py | Python | output/models/ms_data/model_groups/mg_f015_xsd/mg_f015.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ms_data/model_groups/mg_f015_xsd/mg_f015.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ms_data/model_groups/mg_i015_xsd/mg_i015.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from typing import Optional
@dataclass
class Foo:
class Meta:
name = "foo"
one: Optional[object] = field(
default=None,
metadata={
"type": "Element",
"namespace": "",
}
)
two: Optional[object] = field(
... | 20.38 | 40 | 0.430324 | 144 | 2,038 | 6.090278 | 0.215278 | 0.191562 | 0.259977 | 0.355758 | 0.793615 | 0.793615 | 0.793615 | 0.793615 | 0.793615 | 0 | 0 | 0.003425 | 0.426889 | 2,038 | 99 | 41 | 20.585859 | 0.747432 | 0 | 0 | 0.553191 | 0 | 0 | 0.120707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.191489 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
72e185e7d60e2cc09c7a3a6382c8598e9c698d7d | 280 | py | Python | discord_api/role.py | tuna2134sub/discord-api.py | 471fc9dc26d28e80eac309e5d68c7cd6be4021ed | [
"MIT"
] | 10 | 2021-11-30T06:22:20.000Z | 2021-12-16T00:36:14.000Z | discord_api/role.py | tasuren/discord-api.py | ead9c2d4bab1251cf781a776d314348405f03c3c | [
"MIT"
] | 5 | 2021-12-03T10:21:15.000Z | 2022-01-18T11:08:48.000Z | discord_api/role.py | tasuren/discord-api.py | ead9c2d4bab1251cf781a776d314348405f03c3c | [
"MIT"
] | 3 | 2021-12-10T08:34:28.000Z | 2022-01-21T11:59:46.000Z | class Role:
def __init__(self, data):
self.data = data
@property
def id(self):
return self.data["id"]
@property
def name(self):
return self.data["name"]
@classmethod
def from_dict(cls, data):
return cls(data)
| 17.5 | 32 | 0.546429 | 34 | 280 | 4.352941 | 0.411765 | 0.216216 | 0.189189 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.339286 | 280 | 15 | 33 | 18.666667 | 0.8 | 0 | 0 | 0.166667 | 0 | 0 | 0.021429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.25 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f46128d9e60aa193d6ccf37cc86b552b44107c8e | 27 | py | Python | rustplus/api/__init__.py | fieu/rustplus | d1e82a7a32988d48ce2c3fd386f464bd48f50385 | [
"MIT"
] | 1 | 2021-08-10T12:59:42.000Z | 2021-08-10T12:59:42.000Z | rustplus/api/__init__.py | fieu/rustplus | d1e82a7a32988d48ce2c3fd386f464bd48f50385 | [
"MIT"
] | null | null | null | rustplus/api/__init__.py | fieu/rustplus | d1e82a7a32988d48ce2c3fd386f464bd48f50385 | [
"MIT"
] | null | null | null | from .api import RustSocket | 27 | 27 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f46c49e457fedee2f6b538e4262a86094064ae77 | 49 | py | Python | src/utils/model_selection/__init__.py | okason97/handshape-recognition | 2ec2441a3b8db9afb39253bc6e8114614accb080 | [
"MIT"
] | 3 | 2019-08-14T18:25:30.000Z | 2020-01-02T11:30:42.000Z | src/utils/model_selection/__init__.py | okason97/signLanguageRecognition | 2ec2441a3b8db9afb39253bc6e8114614accb080 | [
"MIT"
] | 6 | 2019-05-07T20:35:09.000Z | 2019-06-11T01:26:19.000Z | src/utils/model_selection/__init__.py | okason97/signLanguageRecognition | 2ec2441a3b8db9afb39253bc6e8114614accb080 | [
"MIT"
] | null | null | null | from .selection import train_test_split_balanced
| 24.5 | 48 | 0.897959 | 7 | 49 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be2ee7cdeda9454173c742e9a96ba25795b1d8f8 | 423 | py | Python | sql.py | martinmaina/flaskWeb | c3bf6fe63ae76d6168a4e6c7c2ae17c33b41f31a | [
"MIT"
] | null | null | null | sql.py | martinmaina/flaskWeb | c3bf6fe63ae76d6168a4e6c7c2ae17c33b41f31a | [
"MIT"
] | null | null | null | sql.py | martinmaina/flaskWeb | c3bf6fe63ae76d6168a4e6c7c2ae17c33b41f31a | [
"MIT"
] | null | null | null | import sqlite3
with sqlite3.connect("flaskweb.db") as con:
c = con.cursor()
c.execute("""CREATE TABLE IF NOT EXISTS posts(id INTEGER PRIMARY KEY AUTOINCREMENT, author TEXT NOT NULL, title TEXT NOT NULL UNIQUE, post TEXT NOT NULL )""")
c.execute("""CREATE TABLE IF NOT EXISTS users(id INTEGER PRIMARY KEY AUT... | 70.5 | 174 | 0.732861 | 65 | 423 | 4.769231 | 0.492308 | 0.135484 | 0.212903 | 0.164516 | 0.4 | 0.193548 | 0.193548 | 0 | 0 | 0 | 0 | 0.005731 | 0.174941 | 423 | 6 | 175 | 70.5 | 0.882521 | 0 | 0 | 0 | 0 | 0.4 | 0.721698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.2 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
be6bd9cd7930dfc3a927b47b063a15741853e22d | 66 | py | Python | vathos/model/__init__.py | satyajitghana/ProjektDepth | 4dea3333cd3d8dbc43174a89494e1ff832714fc8 | [
"MIT"
] | 2 | 2020-06-03T08:50:00.000Z | 2020-12-17T14:49:45.000Z | vathos/model/__init__.py | satyajitghana/ProjektDepth | 4dea3333cd3d8dbc43174a89494e1ff832714fc8 | [
"MIT"
] | null | null | null | vathos/model/__init__.py | satyajitghana/ProjektDepth | 4dea3333cd3d8dbc43174a89494e1ff832714fc8 | [
"MIT"
] | 5 | 2020-05-21T03:12:46.000Z | 2021-05-06T17:51:33.000Z | from .resunet_v2 import ResUNet
from .resunext_v2 import ResUNeXt
| 22 | 33 | 0.848485 | 10 | 66 | 5.4 | 0.5 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.121212 | 66 | 2 | 34 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be84c7326fd5cb0ce5c3f706fde09b29907c915b | 15,265 | py | Python | src/zuthaka/backendapi/test_websockets.py | pucarasec/zuthaka | f736271d3343c7893e046f613d9479d73b1f832d | [
"BSD-3-Clause"
] | 129 | 2021-08-05T21:10:35.000Z | 2022-03-08T06:38:50.000Z | src/zuthaka/backendapi/test_websockets.py | pucarasec/zuthaka | f736271d3343c7893e046f613d9479d73b1f832d | [
"BSD-3-Clause"
] | 2 | 2021-08-20T06:11:16.000Z | 2021-09-08T03:25:09.000Z | src/zuthaka/backendapi/test_websockets.py | pucarasec/zuthaka | f736271d3343c7893e046f613d9479d73b1f832d | [
"BSD-3-Clause"
] | 16 | 2021-08-06T01:01:20.000Z | 2022-02-02T14:19:17.000Z | from django.core.management import call_command
import logging
import pytest
from django.test import TestCase
from channels.testing import WebsocketCommunicator
from channels.testing import ApplicationCommunicator
from .consumers import AgentConsumer
from django.contrib.auth.models import User
logger = logging.getLogg... | 45.978916 | 172 | 0.705405 | 1,768 | 15,265 | 5.914027 | 0.119344 | 0.104055 | 0.037299 | 0.066947 | 0.814748 | 0.794281 | 0.758703 | 0.732307 | 0.700077 | 0.694434 | 0 | 0.018182 | 0.164101 | 15,265 | 331 | 173 | 46.117825 | 0.801254 | 0.010285 | 0 | 0.586441 | 0 | 0.00339 | 0.198197 | 0.042887 | 0 | 0 | 0 | 0 | 0.264407 | 1 | 0.010169 | false | 0 | 0.030508 | 0 | 0.047458 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be98fa4396f7fa4c87c9f04c3c78a2759f7d8405 | 164 | py | Python | core/exceptions.py | powerblossom/workcloud | fd943220366ebeadfa90c59fc395f84a734b5686 | [
"MIT"
] | 1 | 2019-10-18T05:57:13.000Z | 2019-10-18T05:57:13.000Z | core/exceptions.py | powerblossom/workcloud | fd943220366ebeadfa90c59fc395f84a734b5686 | [
"MIT"
] | 11 | 2019-12-02T13:59:22.000Z | 2021-04-24T08:52:19.000Z | core/exceptions.py | powerblossom/workcloud | fd943220366ebeadfa90c59fc395f84a734b5686 | [
"MIT"
] | null | null | null | from rest_framework.views import exception_handler
def custom_exception_handler(exc, context):
response = exception_handler(exc, context)
return response
| 23.428571 | 50 | 0.804878 | 20 | 164 | 6.35 | 0.65 | 0.377953 | 0.299213 | 0.409449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140244 | 164 | 6 | 51 | 27.333333 | 0.900709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
beac7b6c35f3fce00ad59cb74940329d692de8a0 | 11,058 | py | Python | colour/models/rgb/tests/test_cylindrical.py | wenh06/colour | 445fdad2711ae39c95b4375166905568d24a95f4 | [
"BSD-3-Clause"
] | 1 | 2021-09-09T01:53:40.000Z | 2021-09-09T01:53:40.000Z | colour/models/rgb/tests/test_cylindrical.py | wenh06/colour | 445fdad2711ae39c95b4375166905568d24a95f4 | [
"BSD-3-Clause"
] | null | null | null | colour/models/rgb/tests/test_cylindrical.py | wenh06/colour | 445fdad2711ae39c95b4375166905568d24a95f4 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Defines unit tests for :mod:`colour.models.rgb.cylindrical` module.
"""
from __future__ import division, unicode_literals
import numpy as np
import unittest
from itertools import permutations
from colour.models.rgb.cylindrical import (RGB_to_HSV, HSV_to_RGB, RGB_to_HSL,
... | 32.715976 | 78 | 0.594954 | 1,507 | 11,058 | 4.13935 | 0.071666 | 0.035268 | 0.043604 | 0.094261 | 0.887785 | 0.887785 | 0.88009 | 0.855883 | 0.786149 | 0.751523 | 0 | 0.15177 | 0.269488 | 11,058 | 337 | 79 | 32.813056 | 0.620451 | 0.162959 | 0 | 0.623656 | 0 | 0 | 0.032729 | 0.004134 | 0 | 0 | 0 | 0 | 0.150538 | 1 | 0.086022 | false | 0 | 0.032258 | 0 | 0.139785 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
beb9aef289de3e9c1350462b2e3c356005816748 | 3,933 | py | Python | examples/Arctic_SODA3.3.1/make_remap_weights_file.py | okadate/pyroms | 45c598791f2cfb13196b868dc0db5be74ed89866 | [
"BSD-3-Clause"
] | null | null | null | examples/Arctic_SODA3.3.1/make_remap_weights_file.py | okadate/pyroms | 45c598791f2cfb13196b868dc0db5be74ed89866 | [
"BSD-3-Clause"
] | null | null | null | examples/Arctic_SODA3.3.1/make_remap_weights_file.py | okadate/pyroms | 45c598791f2cfb13196b868dc0db5be74ed89866 | [
"BSD-3-Clause"
] | null | null | null | import pyroms
import pyroms_toolbox
# load the grid
#srcgrd = pyroms_toolbox.BGrid_GFDL.get_nc_BGrid_GFDL('/Volumes/P1/Data/SODA/SODA_3.3.1/grid/SODA3_0.5deg_grid.nc', name='SODA3.3.1', xrange=(285, 500), yrange=(180, 300))
srcgrd = pyroms_toolbox.BGrid_GFDL.get_nc_BGrid_GFDL('/archive/u1/uaf/AKWATERS/kshedstrom/SODA/... | 46.821429 | 171 | 0.718027 | 559 | 3,933 | 4.685152 | 0.134168 | 0.076365 | 0.058037 | 0.054983 | 0.913708 | 0.913708 | 0.913708 | 0.913708 | 0.865598 | 0.812906 | 0 | 0.027936 | 0.153572 | 3,933 | 83 | 172 | 47.385542 | 0.758786 | 0.139842 | 0 | 0.637931 | 0 | 0 | 0.230861 | 0.04362 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.034483 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bec169b789fafb58df1701f3d8f1e13f8a3a5e99 | 93 | py | Python | terrascript/aws/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 4 | 2022-02-07T21:08:14.000Z | 2022-03-03T04:41:28.000Z | terrascript/aws/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | null | null | null | terrascript/aws/__init__.py | hugovk/python-terrascript | 08fe185904a70246822f5cfbdc9e64e9769ec494 | [
"BSD-2-Clause"
] | 2 | 2022-02-06T01:49:42.000Z | 2022-02-08T14:15:00.000Z | # terrascript/aws/__init__.py
import terrascript
class aws(terrascript.Provider):
pass
| 13.285714 | 32 | 0.774194 | 11 | 93 | 6.181818 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139785 | 93 | 6 | 33 | 15.5 | 0.85 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fe24f3a6b22a56d62296852e2939d5dec1bb76e8 | 114 | py | Python | kattis/Crne.py | jaredliw/python-question-bank | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | 1 | 2021-04-08T07:49:15.000Z | 2021-04-08T07:49:15.000Z | kattis/Crne.py | jaredliw/leetcode-solutions | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | null | null | null | kattis/Crne.py | jaredliw/leetcode-solutions | 9c8c246623d8d171f875700b57772df0afcbdcdf | [
"MIT"
] | 1 | 2022-01-23T02:12:24.000Z | 2022-01-23T02:12:24.000Z | # CPU: 0.05 s
n = int(input())
if n % 2 == 0:
print((n // 2 + 1) ** 2)
else:
print((n // 2 + 1) * (n // 2 + 2))
| 16.285714 | 35 | 0.394737 | 24 | 114 | 1.875 | 0.5 | 0.177778 | 0.311111 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.298246 | 114 | 6 | 36 | 19 | 0.4125 | 0.096491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe5f4470901dc565cf9816c642d37ae5ff3365da | 29 | py | Python | apps/link_audio.py | RodrigoNazar/Time-vocal-aligner | dc1c3c339bd2670cd30c7093160119ec3bab9d80 | [
"MIT"
] | null | null | null | apps/link_audio.py | RodrigoNazar/Time-vocal-aligner | dc1c3c339bd2670cd30c7093160119ec3bab9d80 | [
"MIT"
] | null | null | null | apps/link_audio.py | RodrigoNazar/Time-vocal-aligner | dc1c3c339bd2670cd30c7093160119ec3bab9d80 | [
"MIT"
] | null | null | null |
def link_onsets():
pass | 7.25 | 18 | 0.62069 | 4 | 29 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 29 | 4 | 19 | 7.25 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fe7b685fa8655e40a8f38e49717eed023a8c7f9a | 108 | py | Python | _updated/shell.py | Leoshjtty/flask-boilerplate | e83ef384ca6834c6f8d99d05219a178f074475e3 | [
"Apache-2.0"
] | 815 | 2018-01-05T21:34:59.000Z | 2022-03-29T02:58:09.000Z | _updated/shell.py | Leoshjtty/flask-boilerplate | e83ef384ca6834c6f8d99d05219a178f074475e3 | [
"Apache-2.0"
] | 13 | 2018-05-29T20:16:23.000Z | 2022-03-23T16:29:33.000Z | _updated/shell.py | Leoshjtty/flask-boilerplate | e83ef384ca6834c6f8d99d05219a178f074475e3 | [
"Apache-2.0"
] | 399 | 2018-01-09T09:06:33.000Z | 2022-03-31T12:13:17.000Z | #!/usr/bin/env python
import os
from flask import *
from app import *
os.environ['PYTHONINSPECT'] = 'True'
| 15.428571 | 36 | 0.712963 | 16 | 108 | 4.8125 | 0.75 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 108 | 6 | 37 | 18 | 0.836957 | 0.185185 | 0 | 0 | 0 | 0 | 0.195402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fea8ee39cb12237593237f5688d3a4c4565927ad | 221 | py | Python | dask/dataframe/extensions.py | chrish42/dask | c53f91d3096d6c3e335f5be139877c5ec9755402 | [
"BSD-3-Clause"
] | 1 | 2019-06-02T01:24:25.000Z | 2019-06-02T01:24:25.000Z | dask/dataframe/extensions.py | chrish42/dask | c53f91d3096d6c3e335f5be139877c5ec9755402 | [
"BSD-3-Clause"
] | null | null | null | dask/dataframe/extensions.py | chrish42/dask | c53f91d3096d6c3e335f5be139877c5ec9755402 | [
"BSD-3-Clause"
] | null | null | null | """
Support for pandas ExtensionArray in dask.dataframe.
See :ref:`extensionarrays` for more.
"""
from ..utils import Dispatch
make_array_nonempty = Dispatch("make_array_nonempty")
make_scalar = Dispatch("make_scalar")
| 22.1 | 53 | 0.778281 | 28 | 221 | 5.928571 | 0.678571 | 0.216867 | 0.204819 | 0.301205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108597 | 221 | 9 | 54 | 24.555556 | 0.84264 | 0.40724 | 0 | 0 | 0 | 0 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
22b15cd645fc765d24ffecf181d462c4787c51d2 | 178 | py | Python | omega_format/enums/__init__.py | kai-storms/omega_format | 745f67d774d2da04201de9fe24fa24468a8b191b | [
"MIT"
] | 11 | 2021-07-15T13:47:59.000Z | 2022-03-16T14:06:22.000Z | omega_format/enums/__init__.py | kai-storms/omega_format | 745f67d774d2da04201de9fe24fa24468a8b191b | [
"MIT"
] | 1 | 2022-01-19T10:15:05.000Z | 2022-01-31T12:28:35.000Z | omega_format/enums/__init__.py | kai-storms/omega_format | 745f67d774d2da04201de9fe24fa24468a8b191b | [
"MIT"
] | 2 | 2021-07-17T05:37:09.000Z | 2022-01-20T07:35:50.000Z | __pdoc__ = dict(generate_enums=False)
from . import perception_types as PerceptionTypes
from . import reference_types as ReferenceTypes
from .generate_enums import generate_enums | 44.5 | 49 | 0.859551 | 23 | 178 | 6.26087 | 0.565217 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 178 | 4 | 50 | 44.5 | 0.9 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
22bb789eaf516bb1a0b01121df3e3dc7f118bd41 | 160 | py | Python | pymatgen/io/abinitio/__init__.py | jmflorez/pymatgen | d3da257812f6f53575117caf959b16291c3bbcb7 | [
"MIT"
] | 1 | 2022-02-28T04:24:46.000Z | 2022-02-28T04:24:46.000Z | pymatgen/io/abinitio/__init__.py | jmflorez/pymatgen | d3da257812f6f53575117caf959b16291c3bbcb7 | [
"MIT"
] | null | null | null | pymatgen/io/abinitio/__init__.py | jmflorez/pymatgen | d3da257812f6f53575117caf959b16291c3bbcb7 | [
"MIT"
] | null | null | null | from .eos import *
from .pseudos import *
from .netcdf import *
from .events import *
from .tasks import *
from .workflows import *
from .calculations import *
| 20 | 27 | 0.7375 | 21 | 160 | 5.619048 | 0.428571 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 160 | 7 | 28 | 22.857143 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.