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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6a36aa38adac9c65674828580c7773cd140ced17 | 2,314 | py | Python | proyecto_final/encuestas/admin.py | wzorroman/proy_ccbv | 7b090923b06251b28d545d29e92b1b933de0515f | [
"MIT"
] | null | null | null | proyecto_final/encuestas/admin.py | wzorroman/proy_ccbv | 7b090923b06251b28d545d29e92b1b933de0515f | [
"MIT"
] | null | null | null | proyecto_final/encuestas/admin.py | wzorroman/proy_ccbv | 7b090923b06251b28d545d29e92b1b933de0515f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Encuesta, Pregunta, Respuesta
class EncuestaAdmin(admin.ModelAdmin):
list_display = ('id', 'titulo', 'descripcion',
'format_creado', 'format_actualizado')
search_fields = ('titulo', 'descripcion')
list_filter = ('actualizado',)
... | 36.730159 | 88 | 0.685393 | 271 | 2,314 | 5.656827 | 0.169742 | 0.093933 | 0.09002 | 0.062622 | 0.784736 | 0.729941 | 0.703196 | 0.703196 | 0.703196 | 0.703196 | 0 | 0 | 0.174157 | 2,314 | 62 | 89 | 37.322581 | 0.802198 | 0 | 0 | 0.704545 | 0 | 0 | 0.200519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.045455 | 0.136364 | 0.590909 | 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 | 1 | 1 | 0 | 0 | 8 |
6a4cbee311cb4ee2b9ad1d4e6e3bc9b6f3ba6d38 | 18,894 | py | Python | sdk/python/pulumi_keycloak/oidc/identity_provider.py | jaxxstorm/pulumi-keycloak | 2fc7b1060b725a40d2ada745aa0d10130243a0b5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_keycloak/oidc/identity_provider.py | jaxxstorm/pulumi-keycloak | 2fc7b1060b725a40d2ada745aa0d10130243a0b5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_keycloak/oidc/identity_provider.py | jaxxstorm/pulumi-keycloak | 2fc7b1060b725a40d2ada745aa0d10130243a0b5 | [
"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 json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Identi... | 60.171975 | 689 | 0.714565 | 2,503 | 18,894 | 5.105473 | 0.102277 | 0.047343 | 0.066359 | 0.046091 | 0.828077 | 0.804367 | 0.78809 | 0.778073 | 0.74732 | 0.74732 | 0 | 0.000067 | 0.215306 | 18,894 | 313 | 690 | 60.364217 | 0.861864 | 0.397322 | 0 | 0.014925 | 1 | 0 | 0.167203 | 0.047684 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029851 | false | 0.007463 | 0.044776 | 0.014925 | 0.313433 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e03f9934d25c855a46505fbf48390cffb950eaba | 7,864 | py | Python | project/apps/main_site/migrations/0009_auto__add_sale__add_field_milestone_before_pic_thumb_1__add_field_mile.py | buddyup/dashboard | 3c4b9ac32331b0a3bf0bb41acd31f5a4ce053dd8 | [
"BSD-2-Clause"
] | null | null | null | project/apps/main_site/migrations/0009_auto__add_sale__add_field_milestone_before_pic_thumb_1__add_field_mile.py | buddyup/dashboard | 3c4b9ac32331b0a3bf0bb41acd31f5a4ce053dd8 | [
"BSD-2-Clause"
] | null | null | null | project/apps/main_site/migrations/0009_auto__add_sale__add_field_milestone_before_pic_thumb_1__add_field_mile.py | buddyup/dashboard | 3c4b9ac32331b0a3bf0bb41acd31f5a4ce053dd8 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Sale'
db.create_table(u'main_site_sale', (
(u... | 62.912 | 139 | 0.607579 | 951 | 7,864 | 4.783386 | 0.111462 | 0.087931 | 0.150802 | 0.215432 | 0.867224 | 0.852275 | 0.792922 | 0.744559 | 0.703231 | 0.682568 | 0 | 0.024324 | 0.200153 | 7,864 | 125 | 140 | 62.912 | 0.698887 | 0.075916 | 0 | 0.255556 | 0 | 0 | 0.498759 | 0.266409 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | false | 0 | 0.044444 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e0773bfd7e1e99121f1ed62dff4a2132081d9a89 | 107 | py | Python | porcodio/porcodio.py | BranchScope/porcodio | dc24493fdb451d0984d11414f37187f945c930b3 | [
"MIT"
] | 1 | 2021-09-14T09:25:07.000Z | 2021-09-14T09:25:07.000Z | porcodio/porcodio.py | BranchScope/porcodio | dc24493fdb451d0984d11414f37187f945c930b3 | [
"MIT"
] | null | null | null | porcodio/porcodio.py | BranchScope/porcodio | dc24493fdb451d0984d11414f37187f945c930b3 | [
"MIT"
] | null | null | null | import random
from .ascii_list import ascii_list
def get_porcodio():
return random.choice(ascii_list)
| 17.833333 | 36 | 0.794393 | 16 | 107 | 5.0625 | 0.625 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 5 | 37 | 21.4 | 0.880435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
0ebe7d40b2e7d3373614d1f2f4a03f2c4a37510d | 32,550 | py | Python | tests/test_reporter.py | srhrshr/rsmtool | 4317f804de82ccb4965c2e7bb185c6ef41458f8e | [
"Apache-2.0"
] | 64 | 2016-04-06T15:57:24.000Z | 2022-03-24T14:17:45.000Z | tests/test_reporter.py | srhrshr/rsmtool | 4317f804de82ccb4965c2e7bb185c6ef41458f8e | [
"Apache-2.0"
] | 479 | 2016-04-07T03:04:09.000Z | 2022-03-10T00:39:22.000Z | tests/test_reporter.py | srhrshr/rsmtool | 4317f804de82ccb4965c2e7bb185c6ef41458f8e | [
"Apache-2.0"
] | 22 | 2016-04-10T06:35:28.000Z | 2022-02-26T05:03:47.000Z | from os.path import join, normpath
from nose.tools import eq_, ok_, raises
from rsmtool.reporter import (Reporter,
comparison_notebook_path,
master_section_dict,
notebook_path,
notebook_path_dict,
... | 56.510417 | 116 | 0.522673 | 2,570 | 32,550 | 6.191829 | 0.058366 | 0.079181 | 0.076038 | 0.080186 | 0.852825 | 0.821907 | 0.787595 | 0.754163 | 0.704393 | 0.671526 | 0 | 0.000415 | 0.407957 | 32,550 | 575 | 117 | 56.608696 | 0.825333 | 0.022796 | 0 | 0.730382 | 0 | 0 | 0.105561 | 0.031738 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090543 | false | 0 | 0.006036 | 0 | 0.098592 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1669a2f84062a574b98e210c63b068283302d907 | 151 | py | Python | api/xl_fmt/__init__.py | C-Canchola/texel | 9ebb12cf38b78608394f44767f55236845f0f9bc | [
"MIT"
] | null | null | null | api/xl_fmt/__init__.py | C-Canchola/texel | 9ebb12cf38b78608394f44767f55236845f0f9bc | [
"MIT"
] | null | null | null | api/xl_fmt/__init__.py | C-Canchola/texel | 9ebb12cf38b78608394f44767f55236845f0f9bc | [
"MIT"
] | null | null | null | from .spacing import get_spaced_formula
from .formula_formatter import format_typed_sheet_formulas
from .formula_formatter import apply_spacing_to_rng
| 37.75 | 58 | 0.900662 | 22 | 151 | 5.727273 | 0.636364 | 0.174603 | 0.31746 | 0.412698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07947 | 151 | 3 | 59 | 50.333333 | 0.906475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1695493ce484683f70fd7332e8fd418eb58c08de | 35,332 | py | Python | src/openprocurement/tender/openeu/tests/cancellation_blanks.py | pontostroy/api | 5afdd3a62a8e562cf77e2d963d88f1a26613d16a | [
"Apache-2.0"
] | 3 | 2020-03-13T06:44:23.000Z | 2020-11-05T18:25:29.000Z | src/openprocurement/tender/openeu/tests/cancellation_blanks.py | pontostroy/api | 5afdd3a62a8e562cf77e2d963d88f1a26613d16a | [
"Apache-2.0"
] | 2 | 2021-03-25T23:29:58.000Z | 2022-03-21T22:18:37.000Z | src/openprocurement/tender/openeu/tests/cancellation_blanks.py | pontostroy/api | 5afdd3a62a8e562cf77e2d963d88f1a26613d16a | [
"Apache-2.0"
] | 3 | 2020-10-16T16:25:14.000Z | 2021-05-22T12:26:20.000Z | # -*- coding: utf-8 -*-
from copy import deepcopy
from datetime import timedelta
from mock import patch
from openprocurement.api.utils import get_now
from openprocurement.api.constants import RELEASE_2020_04_19
from openprocurement.tender.core.tests.cancellation import (
activate_cancellation_with_complaints_after... | 44.109863 | 120 | 0.644373 | 4,024 | 35,332 | 5.470179 | 0.049205 | 0.061784 | 0.058877 | 0.06133 | 0.938579 | 0.935581 | 0.918908 | 0.909958 | 0.897692 | 0.891968 | 0 | 0.01383 | 0.187564 | 35,332 | 800 | 121 | 44.165 | 0.753005 | 0.008236 | 0 | 0.805596 | 0 | 0 | 0.22181 | 0.078133 | 0 | 0 | 0 | 0 | 0.207658 | 1 | 0.019146 | false | 0 | 0.010309 | 0 | 0.029455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
169eaade1729e35920b873928fdeed5ac3b078be | 1,492 | py | Python | python_modules/dagster/dagster_tests/core_tests/runtime_types_tests/test_typed_python_dict.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 4,606 | 2018-06-21T17:45:20.000Z | 2022-03-31T23:39:42.000Z | python_modules/dagster/dagster_tests/core_tests/runtime_types_tests/test_typed_python_dict.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 6,221 | 2018-06-12T04:36:01.000Z | 2022-03-31T21:43:05.000Z | python_modules/dagster/dagster_tests/core_tests/runtime_types_tests/test_typed_python_dict.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 619 | 2018-08-22T22:43:09.000Z | 2022-03-31T22:48:06.000Z | import pytest
from dagster import (
DagsterTypeCheckDidNotPass,
Dict,
InputDefinition,
OutputDefinition,
execute_solid,
lambda_solid,
)
def test_typed_python_dict():
int_to_int = Dict[int, int]
int_to_int.type_check(None, {1: 1})
def test_typed_python_dict_failure():
int_to_int ... | 26.175439 | 100 | 0.715818 | 210 | 1,492 | 4.67619 | 0.195238 | 0.135438 | 0.183299 | 0.114053 | 0.814664 | 0.769857 | 0.733198 | 0.694501 | 0.515275 | 0.515275 | 0 | 0.012903 | 0.168901 | 1,492 | 56 | 101 | 26.642857 | 0.779032 | 0 | 0 | 0.368421 | 0 | 0 | 0.015416 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 1 | 0.263158 | false | 0.105263 | 0.052632 | 0.105263 | 0.421053 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 7 |
bc7f1cd58236516e3a0196d1d7bf1cda101cd565 | 150 | py | Python | GeeProxy/__init__.py | geebytes/GeeProxy | 6f2f57ef1e1e8ea9a295cf987577dab5f1cadfe5 | [
"Apache-2.0"
] | 2 | 2020-10-12T05:31:36.000Z | 2020-11-30T07:39:06.000Z | GeeProxy/__init__.py | geebytes/GeeProxy | 6f2f57ef1e1e8ea9a295cf987577dab5f1cadfe5 | [
"Apache-2.0"
] | 1 | 2021-04-19T11:14:59.000Z | 2021-04-19T11:14:59.000Z | GeeProxy/__init__.py | geebytes/GeeProxy | 6f2f57ef1e1e8ea9a295cf987577dab5f1cadfe5 | [
"Apache-2.0"
] | 1 | 2021-09-30T04:36:10.000Z | 2021-09-30T04:36:10.000Z | '''
@Author: qinzhonghe96@163.com
@Date: 2020-03-01 14:31:44
@LastEditors: qinzhonghe96@163.com
@LastEditTime: 2020-03-01 17:34:18
@Description:
'''
| 18.75 | 34 | 0.72 | 23 | 150 | 4.695652 | 0.73913 | 0.277778 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.279412 | 0.093333 | 150 | 7 | 35 | 21.428571 | 0.514706 | 0.933333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bc90b2be579aaf383f62fb080072262c51110d23 | 12,807 | py | Python | tests/test_problem.py | tods-doc/d3m | e25793d4aaa9a8fdb63ac33bf1c045b96d6067a6 | [
"Apache-2.0"
] | null | null | null | tests/test_problem.py | tods-doc/d3m | e25793d4aaa9a8fdb63ac33bf1c045b96d6067a6 | [
"Apache-2.0"
] | null | null | null | tests/test_problem.py | tods-doc/d3m | e25793d4aaa9a8fdb63ac33bf1c045b96d6067a6 | [
"Apache-2.0"
] | null | null | null | import os.path
import pickle
import unittest
from d3m import utils
from d3m.metadata import problem, pipeline_run
class TestProblem(unittest.TestCase):
def test_basic(self):
self.maxDiff = None
problem_doc_path = os.path.join(os.path.dirname(__file__), 'data', 'problems', 'iris_problem_1', 'prob... | 54.965665 | 239 | 0.636605 | 1,261 | 12,807 | 6.298176 | 0.085646 | 0.20549 | 0.265928 | 0.294636 | 0.898766 | 0.898766 | 0.898766 | 0.880886 | 0.878872 | 0.869428 | 0 | 0.123175 | 0.229796 | 12,807 | 232 | 240 | 55.202586 | 0.681975 | 0.000547 | 0 | 0.373057 | 0 | 0 | 0.114471 | 0.018909 | 0 | 0 | 0 | 0 | 0.388601 | 1 | 0.025907 | false | 0 | 0.025907 | 0 | 0.056995 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
bca19ee383005e46961e0b285139b0f039de24ef | 3,114 | py | Python | ingenico/direct/sdk/merchant/payouts/i_payouts_client.py | Ingenico/direct-sdk-python2 | 1c5c08fe2281aa99bfe8e8e031071600cb3be11d | [
"Apache-2.0"
] | null | null | null | ingenico/direct/sdk/merchant/payouts/i_payouts_client.py | Ingenico/direct-sdk-python2 | 1c5c08fe2281aa99bfe8e8e031071600cb3be11d | [
"Apache-2.0"
] | null | null | null | ingenico/direct/sdk/merchant/payouts/i_payouts_client.py | Ingenico/direct-sdk-python2 | 1c5c08fe2281aa99bfe8e8e031071600cb3be11d | [
"Apache-2.0"
] | null | null | null | #
# This class was auto-generated from the API references found at
# https://support.direct.ingenico.com/documentation/api/reference/
#
from abc import ABCMeta, abstractmethod
class IPayoutsClient:
"""
Payouts client interface. Thread-safe.
"""
__metaclass__ = ABCMeta
@abstractmethod
def crea... | 55.607143 | 162 | 0.712267 | 390 | 3,114 | 5.651282 | 0.333333 | 0.036298 | 0.050817 | 0.088929 | 0.805354 | 0.779038 | 0.744555 | 0.744555 | 0.720054 | 0.720054 | 0 | 0.020644 | 0.222222 | 3,114 | 55 | 163 | 56.618182 | 0.889348 | 0.822736 | 0 | 0.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 11 |
bcabb38a4b1721f4251f5f959c53bae2a9581cdb | 5,556 | py | Python | tests/test_fft.py | FilipeMaia/afnumpy | 11958f501f7ddeb88915a44d0fd4914e1779e7dd | [
"BSD-2-Clause"
] | 31 | 2015-06-16T17:17:06.000Z | 2021-01-03T16:20:23.000Z | tests/test_fft.py | daurer/afnumpy | 83f529eab7cb0ba49101aa5869059ac38f457e36 | [
"BSD-2-Clause"
] | 33 | 2015-05-14T18:03:43.000Z | 2019-09-23T20:02:45.000Z | tests/test_fft.py | daurer/afnumpy | 83f529eab7cb0ba49101aa5869059ac38f457e36 | [
"BSD-2-Clause"
] | 13 | 2015-06-16T17:17:09.000Z | 2021-11-06T22:46:15.000Z | import afnumpy
import afnumpy.fft
import numpy
import numpy.fft
from asserts import *
def test_fft():
b = numpy.random.random((3,3))
a = afnumpy.array(b)
fassert(afnumpy.fft.fft(a), numpy.fft.fft(b))
b = numpy.random.random((3,2))
a = afnumpy.array(b)
fassert(afnumpy.fft.fft(a), numpy.fft.... | 33.878049 | 83 | 0.62419 | 945 | 5,556 | 3.661376 | 0.043386 | 0.130058 | 0.216185 | 0.166474 | 0.950578 | 0.940462 | 0.861561 | 0.825145 | 0.823988 | 0.823988 | 0 | 0.037793 | 0.171346 | 5,556 | 163 | 84 | 34.08589 | 0.713727 | 0.229482 | 0 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.36 | 1 | 0.08 | false | 0 | 0.05 | 0 | 0.13 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
bce40530a9eb3518c63b0a0f5197c43a451c0ccc | 390 | py | Python | terrascript/resource/boundary.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/resource/boundary.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/resource/boundary.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/resource/boundary.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:13:38 UTC)
#
# For imports without namespace, e.g.
#
# >>> import terrascript.resource.boundary
#
# instead of
#
# >>> import terrascript.resource.hashicorp.boundary
#
# This is only available for 'official' and 'partn... | 26 | 73 | 0.751282 | 49 | 390 | 5.979592 | 0.714286 | 0.259386 | 0.1843 | 0.245734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035398 | 0.130769 | 390 | 14 | 74 | 27.857143 | 0.828909 | 0.794872 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bcec56bb83865a2c01a4b0312922b8864d0b782c | 94,261 | py | Python | python/gherkin/parser.py | nixel2007/gherkin | 2500471f69a95cd78cf2c6c664d673fb0fae0b54 | [
"MIT"
] | null | null | null | python/gherkin/parser.py | nixel2007/gherkin | 2500471f69a95cd78cf2c6c664d673fb0fae0b54 | [
"MIT"
] | null | null | null | python/gherkin/parser.py | nixel2007/gherkin | 2500471f69a95cd78cf2c6c664d673fb0fae0b54 | [
"MIT"
] | null | null | null | # This file is generated. Do not edit! Edit gherkin-python.razor instead.
from collections import deque
from .ast_builder import AstBuilder
from .token_matcher import TokenMatcher
from .token_scanner import TokenScanner
from .errors import UnexpectedEOFException, UnexpectedTokenException, ParserException, CompositePars... | 48.264721 | 196 | 0.601405 | 9,985 | 94,261 | 5.472609 | 0.015724 | 0.116554 | 0.06945 | 0.113645 | 0.909999 | 0.903832 | 0.900849 | 0.896841 | 0.894371 | 0.887453 | 0 | 0.018619 | 0.298024 | 94,261 | 1,952 | 197 | 48.289447 | 0.807206 | 0.04757 | 0 | 0.859194 | 1 | 0.014909 | 0.148477 | 0.035432 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033131 | false | 0 | 0.002761 | 0.001104 | 0.205964 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4c34c0371ef9df8e11386e065ce1e5ff700d4004 | 17,836 | py | Python | tests/ut/python/parallel/test_arithmetic.py | tjulitianyi1997/mindspore | c802a8c31fe2b51530d932fdd364824e45264b12 | [
"Apache-2.0"
] | 2 | 2020-04-28T03:49:10.000Z | 2020-04-28T03:49:13.000Z | tests/ut/python/parallel/test_arithmetic.py | tjulitianyi1997/mindspore | c802a8c31fe2b51530d932fdd364824e45264b12 | [
"Apache-2.0"
] | null | null | null | tests/ut/python/parallel/test_arithmetic.py | tjulitianyi1997/mindspore | c802a8c31fe2b51530d932fdd364824e45264b12 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 35.743487 | 74 | 0.614319 | 2,448 | 17,836 | 4.274101 | 0.060866 | 0.011469 | 0.065373 | 0.079901 | 0.898308 | 0.894199 | 0.894199 | 0.881009 | 0.867151 | 0.855586 | 0 | 0.049742 | 0.239179 | 17,836 | 498 | 75 | 35.815261 | 0.721297 | 0.031453 | 0 | 0.863049 | 0 | 0 | 0.02132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157623 | false | 0 | 0.020672 | 0.002584 | 0.286822 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4c47b560982e1a0252dd550f078abe4f377f3729 | 3,689 | py | Python | pretrain/pri3d/dataset/collate_fn.py | kudo1026/Pri3D | 8bf8a3ec4393db3da6c0662ff49d5788ea188e20 | [
"MIT"
] | 103 | 2021-07-06T17:05:03.000Z | 2022-03-30T06:10:04.000Z | pretrain/pri3d/dataset/collate_fn.py | kudo1026/Pri3D | 8bf8a3ec4393db3da6c0662ff49d5788ea188e20 | [
"MIT"
] | 5 | 2021-10-13T14:35:32.000Z | 2022-03-31T23:40:44.000Z | pretrain/pri3d/dataset/collate_fn.py | kudo1026/Pri3D | 8bf8a3ec4393db3da6c0662ff49d5788ea188e20 | [
"MIT"
] | 3 | 2021-09-24T09:00:44.000Z | 2021-10-14T19:17:01.000Z | import torch
import numpy as np
from torch.utils.data import Dataset
def checktype(obj):
return bool(obj) and all(isinstance(elem, str) for elem in obj)
class collate_fn_factory:
"""Generates collate function for coords, feats, labels.
Args:
limit_numpoints: If 0 or False, does not alter batch size. If ... | 38.030928 | 98 | 0.637842 | 465 | 3,689 | 4.873118 | 0.195699 | 0.165931 | 0.084731 | 0.030009 | 0.84113 | 0.793469 | 0.75684 | 0.75684 | 0.725949 | 0.725949 | 0 | 0.027469 | 0.220385 | 3,689 | 97 | 99 | 38.030928 | 0.760431 | 0.144755 | 0 | 0.633803 | 1 | 0 | 0.129094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070423 | false | 0 | 0.042254 | 0.014085 | 0.183099 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4c6c0ebf5cdb3e7e16200dadb8f8aa75f6bab464 | 16,049 | py | Python | geotrek/core/tests/test_permissions.py | pierreloicq/Geotrek-admin | 00cd29f29843f2cc25e5a3c7372fcccf14956887 | [
"BSD-2-Clause"
] | 50 | 2016-10-19T23:01:21.000Z | 2022-03-28T08:28:34.000Z | geotrek/core/tests/test_permissions.py | pierreloicq/Geotrek-admin | 00cd29f29843f2cc25e5a3c7372fcccf14956887 | [
"BSD-2-Clause"
] | 1,422 | 2016-10-27T10:39:40.000Z | 2022-03-31T13:37:10.000Z | geotrek/core/tests/test_permissions.py | pierreloicq/Geotrek-admin | 00cd29f29843f2cc25e5a3c7372fcccf14956887 | [
"BSD-2-Clause"
] | 46 | 2016-10-27T10:59:10.000Z | 2022-03-22T15:55:56.000Z | from unittest import skipIf
from django.test import TestCase
from django.conf import settings
from django.contrib.auth.models import Permission
from django.contrib.gis.geos import LineString
from django.urls import reverse
from mapentity.factories import UserFactory
from geotrek.core.factories import PathFactory, Com... | 43.493225 | 116 | 0.668141 | 2,072 | 16,049 | 5.034749 | 0.057915 | 0.064225 | 0.072469 | 0.116756 | 0.917657 | 0.908742 | 0.898294 | 0.883723 | 0.844517 | 0.827454 | 0 | 0.018088 | 0.193906 | 16,049 | 368 | 117 | 43.611413 | 0.788282 | 0.089102 | 0 | 0.7713 | 0 | 0.004484 | 0.097057 | 0.005267 | 0 | 0 | 0 | 0 | 0.313901 | 1 | 0.076233 | false | 0.116592 | 0.040359 | 0.004484 | 0.125561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
d5cc1517c99c858ec8f1adc993a28c9f790abb6b | 88 | py | Python | src/helpers/directory_helper.py | ZelphirKaltstahl/QuestionsAndAnswers | 3edb7ef8357706d94fcbc060d966186e933112c8 | [
"MIT"
] | null | null | null | src/helpers/directory_helper.py | ZelphirKaltstahl/QuestionsAndAnswers | 3edb7ef8357706d94fcbc060d966186e933112c8 | [
"MIT"
] | null | null | null | src/helpers/directory_helper.py | ZelphirKaltstahl/QuestionsAndAnswers | 3edb7ef8357706d94fcbc060d966186e933112c8 | [
"MIT"
] | null | null | null | import os
def file_path_in_data_dir(file_name):
return os.path.join('data', file_name) | 22 | 39 | 0.795455 | 17 | 88 | 3.764706 | 0.647059 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 4 | 39 | 22 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
91144a6a9acead9464dabaf74d337feb7b73dac5 | 9,836 | py | Python | tests/sub_user_service_test_case.py | odeoteknologi/odeo-python-sdk | 31a0b21a8b23d887fef16b09e1293091e520a23e | [
"MIT"
] | null | null | null | tests/sub_user_service_test_case.py | odeoteknologi/odeo-python-sdk | 31a0b21a8b23d887fef16b09e1293091e520a23e | [
"MIT"
] | null | null | null | tests/sub_user_service_test_case.py | odeoteknologi/odeo-python-sdk | 31a0b21a8b23d887fef16b09e1293091e520a23e | [
"MIT"
] | null | null | null | import json
import unittest
import odeo.client
from odeo.exceptions import GeneralError, InputValidationError
from odeo.models.sub_user import *
from tests.service_test_case import ServiceTestCase
class SubUserServiceTestCase(ServiceTestCase):
def test_list_sub_users(self):
self.adapter.register_uri(
... | 35.509025 | 93 | 0.528162 | 871 | 9,836 | 5.749713 | 0.125144 | 0.034944 | 0.041933 | 0.04393 | 0.913738 | 0.907348 | 0.903754 | 0.900759 | 0.897963 | 0.887181 | 0 | 0.071011 | 0.357157 | 9,836 | 276 | 94 | 35.637681 | 0.721019 | 0 | 0 | 0.752033 | 0 | 0 | 0.265047 | 0.04758 | 0 | 0 | 0 | 0 | 0.060976 | 1 | 0.04065 | false | 0 | 0.02439 | 0 | 0.069106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9137b627b69ade336e4656a6319489259f881dd9 | 16,216 | py | Python | tests/st/ops/gpu/test_cast_op.py | dreamsxin/mindspore | b6b254f6e4d07c4eecd8cb4e0a1060da771d6441 | [
"Apache-2.0"
] | null | null | null | tests/st/ops/gpu/test_cast_op.py | dreamsxin/mindspore | b6b254f6e4d07c4eecd8cb4e0a1060da771d6441 | [
"Apache-2.0"
] | null | null | null | tests/st/ops/gpu/test_cast_op.py | dreamsxin/mindspore | b6b254f6e4d07c4eecd8cb4e0a1060da771d6441 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 31.487379 | 78 | 0.664406 | 2,407 | 16,216 | 4.375987 | 0.064811 | 0.079749 | 0.074433 | 0.085066 | 0.90582 | 0.90582 | 0.90582 | 0.90582 | 0.90582 | 0.90582 | 0 | 0.080932 | 0.171744 | 16,216 | 514 | 79 | 31.548638 | 0.703298 | 0.039344 | 0 | 0.878719 | 0 | 0 | 0.026216 | 0 | 0 | 0 | 0 | 0 | 0.128146 | 1 | 0.06865 | false | 0 | 0.016018 | 0 | 0.089245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e696b074d2b4dfff7ee9b0a0989c46199ab205ce | 2,373 | py | Python | util/visualize.py | mrsfgl/geometric_tensor_learning | 74281c68fa67c4d7e813fdbbf5515ce849cf22ad | [
"MIT"
] | null | null | null | util/visualize.py | mrsfgl/geometric_tensor_learning | 74281c68fa67c4d7e813fdbbf5515ce849cf22ad | [
"MIT"
] | null | null | null | util/visualize.py | mrsfgl/geometric_tensor_learning | 74281c68fa67c4d7e813fdbbf5515ce849cf22ad | [
"MIT"
] | null | null | null |
import matplotlib.pyplot as plt
def plot_synthetic(params, md):
len_theta = len(params.model.geoTL.theta)
len_gamma = len(params.model.geoTL.gamma)
for i_gam in range(len_gamma):
for i_theta in range(len_theta):
for key, value in md.items():
if key in ['__header__', '... | 38.901639 | 77 | 0.485883 | 255 | 2,373 | 4.278431 | 0.223529 | 0.08066 | 0.051329 | 0.069661 | 0.938588 | 0.938588 | 0.938588 | 0.936755 | 0.936755 | 0.936755 | 0 | 0.001389 | 0.393173 | 2,373 | 60 | 78 | 39.55 | 0.75625 | 0 | 0 | 0.830189 | 0 | 0 | 0.150506 | 0.037521 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037736 | false | 0 | 0.018868 | 0 | 0.056604 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fc052d37ff94f3d18eb956597d7e8ea3df108603 | 5,999 | py | Python | src/visuanalytics/tests/analytics/transform/types/test_transform_compare.py | mxsph/Data-Analytics | c82ff54b78f50b6660d7640bfee96ea68bef598f | [
"MIT"
] | 3 | 2020-08-24T19:02:09.000Z | 2021-05-27T20:22:41.000Z | src/visuanalytics/tests/analytics/transform/types/test_transform_compare.py | mxsph/Data-Analytics | c82ff54b78f50b6660d7640bfee96ea68bef598f | [
"MIT"
] | 342 | 2020-08-13T10:24:23.000Z | 2021-08-12T14:01:52.000Z | src/visuanalytics/tests/analytics/transform/types/test_transform_compare.py | visuanalytics/visuanalytics | f9cce7bc9e3227568939648ddd1dd6df02eac752 | [
"MIT"
] | 8 | 2020-09-01T07:11:18.000Z | 2021-04-09T09:02:11.000Z | import unittest
from visuanalytics.tests.analytics.transform.transform_test_helper import prepare_test
class TestTransformCompare(unittest.TestCase):
def setUp(self):
self.data = {
"value1": 5,
"value2": 5,
"value3": 30,
"text1": "result"
}
def... | 30.92268 | 86 | 0.331222 | 397 | 5,999 | 4.735516 | 0.115869 | 0.067021 | 0.095745 | 0.114894 | 0.869149 | 0.839362 | 0.803191 | 0.753723 | 0.753723 | 0.753723 | 0 | 0.022297 | 0.551425 | 5,999 | 193 | 87 | 31.082902 | 0.676329 | 0 | 0 | 0.601124 | 0 | 0 | 0.227205 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 1 | 0.02809 | false | 0 | 0.011236 | 0 | 0.044944 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fc2ac56f458819f1bc05c9b2c8a40560b545f0da | 23,561 | py | Python | tests/dhcpv6/ddns/test_ddns_tsig_request.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 22 | 2015-02-27T11:51:05.000Z | 2022-02-28T12:39:29.000Z | tests/dhcpv6/ddns/test_ddns_tsig_request.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 16 | 2018-10-30T15:00:12.000Z | 2019-01-11T17:55:13.000Z | tests/dhcpv6/ddns/test_ddns_tsig_request.py | isc-projects/forge | dfec8b41003d6b5a229f69ee93616e0e5cc6d71b | [
"0BSD"
] | 11 | 2015-02-27T11:51:36.000Z | 2021-03-30T08:33:54.000Z | """DDNS without TSIG"""
# pylint: disable=invalid-name,line-too-long
import pytest
import srv_control
import misc
import srv_msg
@pytest.mark.v6
@pytest.mark.ddns
@pytest.mark.kea_only
@pytest.mark.tsig
@pytest.mark.forward_reverse_add
def test_ddns6_tsig_sha1_forw_and_rev():
misc.test_setup()
srv_control.... | 40.344178 | 108 | 0.699801 | 3,895 | 23,561 | 3.901155 | 0.036457 | 0.04054 | 0.048371 | 0.055281 | 0.980059 | 0.980059 | 0.969793 | 0.969793 | 0.969793 | 0.969793 | 0 | 0.058379 | 0.135563 | 23,561 | 583 | 109 | 40.413379 | 0.687681 | 0.002589 | 0 | 0.933472 | 0 | 0.043659 | 0.252405 | 0.106197 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014553 | true | 0.072765 | 0.008316 | 0 | 0.022869 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
fc61cc6227c922f820d7c90eee34a6c08b98d51b | 29,006 | py | Python | nbgrader/tests/test_validator.py | aliniknejad/nbgrader | 124095e48a840ac2af6e3178eab7ed32089f3cd2 | [
"BSD-3-Clause"
] | 2 | 2017-07-10T10:44:28.000Z | 2017-11-28T18:30:35.000Z | nbgrader/tests/test_validator.py | jld23/nbgrader | 07a38cd8ed12ab33870bdd42f0bf35aa1252b0db | [
"BSD-3-Clause"
] | 5 | 2020-03-03T02:48:10.000Z | 2020-05-22T04:23:29.000Z | nbgrader/tests/test_validator.py | jld23/nbgrader | 07a38cd8ed12ab33870bdd42f0bf35aa1252b0db | [
"BSD-3-Clause"
] | 2 | 2020-06-23T10:45:09.000Z | 2020-11-25T16:02:44.000Z | import pytest
import io
import os
from textwrap import dedent
from nbformat.v4 import new_output
from ..validator import Validator
from . import (
create_code_cell, create_text_cell)
from io import StringIO
from nbgrader.validator import Validator
@pytest.fixture
def validator() -> Validator:
return Validat... | 49.924269 | 140 | 0.652106 | 3,516 | 29,006 | 5.212742 | 0.047213 | 0.027499 | 0.032082 | 0.041248 | 0.950022 | 0.932508 | 0.91734 | 0.893005 | 0.875873 | 0.865343 | 0 | 0.006092 | 0.219058 | 29,006 | 580 | 141 | 50.010345 | 0.80302 | 0.112563 | 0 | 0.688312 | 0 | 0.005195 | 0.228342 | 0.063643 | 0 | 0 | 0 | 0 | 0.277922 | 1 | 0.155844 | false | 0.075325 | 0.023377 | 0.005195 | 0.18961 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
fca75597ee7c011121814c01602a3f9008ca7175 | 8,489 | py | Python | dfirtrack_main/tests/analystmemo/test_analystmemo_views.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | 4 | 2020-03-06T17:37:09.000Z | 2020-03-17T07:50:55.000Z | dfirtrack_main/tests/analystmemo/test_analystmemo_views.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | null | null | null | dfirtrack_main/tests/analystmemo/test_analystmemo_views.py | blackhatethicalhacking/dfirtrack | 9c2e13015291f2981d14d63c9683e7c447e91f3a | [
"MIT"
] | 1 | 2020-03-06T20:54:52.000Z | 2020-03-06T20:54:52.000Z | from django.contrib.auth.models import User
from django.test import TestCase
from django.utils import timezone
from dfirtrack_main.models import Analystmemo, System, Systemstatus
import urllib.parse
class AnalystmemoViewTestCase(TestCase):
""" analystmemo view tests """
@classmethod
def setUpTestData(cls)... | 40.232227 | 132 | 0.667216 | 877 | 8,489 | 6.254276 | 0.08894 | 0.051048 | 0.075479 | 0.067092 | 0.856882 | 0.834458 | 0.807293 | 0.800365 | 0.737101 | 0.729626 | 0 | 0.018957 | 0.22323 | 8,489 | 210 | 133 | 40.42381 | 0.81286 | 0.11615 | 0 | 0.463158 | 0 | 0 | 0.179267 | 0.026836 | 0 | 0 | 0 | 0 | 0.168421 | 1 | 0.178947 | false | 0.136842 | 0.052632 | 0 | 0.242105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
fca80831d929e23bfbfb60baf9d42d3b150c9da1 | 2,443 | py | Python | tests/test_utils.py | Tedyst/hikvisionapi | 376d8e7243d2eaf97c3e65705b6992fac0dafd86 | [
"MIT"
] | 2 | 2021-07-29T17:41:36.000Z | 2022-03-01T08:44:17.000Z | tests/test_utils.py | Tedyst/hikvisionapi | 376d8e7243d2eaf97c3e65705b6992fac0dafd86 | [
"MIT"
] | null | null | null | tests/test_utils.py | Tedyst/hikvisionapi | 376d8e7243d2eaf97c3e65705b6992fac0dafd86 | [
"MIT"
] | 3 | 2020-02-07T00:44:45.000Z | 2022-03-08T16:05:57.000Z | import hikvisionapi.utils
from collections import OrderedDict
def test_xml2dict():
xmlorig = b"""<?xml version = "1.0" encoding = "UTF-8" ?>
<DeviceInfo version = "1.0" asd = "2.0"
xmlns = "http://www.hikvision.com/ver20/XMLSchema">
<deviceName>DVR</deviceName>
<deviceID>someID</deviceID>
<model>D... | 69.8 | 575 | 0.66844 | 258 | 2,443 | 6.321705 | 0.25969 | 0.02943 | 0.033109 | 0.041692 | 0.843041 | 0.843041 | 0.835071 | 0.835071 | 0.793378 | 0.793378 | 0 | 0.058879 | 0.124028 | 2,443 | 34 | 576 | 71.852941 | 0.703271 | 0 | 0 | 0.066667 | 0 | 0.033333 | 0.690954 | 0.169464 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.066667 | false | 0 | 0.066667 | 0 | 0.133333 | 0.033333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5dc3593c048633395389b5d9f5389f970a201d2f | 18,453 | py | Python | tiered_disclosure/views.py | danielbankocfpb/tiered-disclosure | 9631c1e1c1c297c275436577cdcfa8fe63301cd9 | [
"CC0-1.0"
] | 2 | 2019-02-25T21:50:37.000Z | 2019-02-25T21:50:37.000Z | tiered_disclosure/views.py | danielbankocfpb/tiered-disclosure | 9631c1e1c1c297c275436577cdcfa8fe63301cd9 | [
"CC0-1.0"
] | null | null | null | tiered_disclosure/views.py | danielbankocfpb/tiered-disclosure | 9631c1e1c1c297c275436577cdcfa8fe63301cd9 | [
"CC0-1.0"
] | 3 | 2019-02-25T21:50:27.000Z | 2021-02-20T10:52:03.000Z | from otree.api import Currency as c, currency_range
from . import models
from ._builtin import Page, WaitPage
from .models import Constants, Player, Subsession, Group, BaseSubsession
from django.shortcuts import render
from django.contrib.auth.decorators import login_required
from . import export
import string
... | 42.616628 | 173 | 0.741993 | 2,091 | 18,453 | 6.324247 | 0.090866 | 0.102692 | 0.066092 | 0.051422 | 0.810799 | 0.785768 | 0.781307 | 0.751739 | 0.726709 | 0.664171 | 0 | 0.00644 | 0.150111 | 18,453 | 433 | 174 | 42.616628 | 0.836766 | 0.207283 | 0 | 0.708772 | 0 | 0 | 0.127229 | 0.024413 | 0 | 0 | 0 | 0.002309 | 0 | 1 | 0.070175 | false | 0.017544 | 0.02807 | 0.035088 | 0.22807 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5df6f3e2f8570e1b1fc508af7408ff3b74406dae | 126 | py | Python | pos_loyalty/models/__init__.py | kenysmile/test_facebook | 844a3ddd53abd319c0115de86909118a37106c67 | [
"Apache-2.0"
] | null | null | null | pos_loyalty/models/__init__.py | kenysmile/test_facebook | 844a3ddd53abd319c0115de86909118a37106c67 | [
"Apache-2.0"
] | null | null | null | pos_loyalty/models/__init__.py | kenysmile/test_facebook | 844a3ddd53abd319c0115de86909118a37106c67 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from . import pos_loyalty
from . import pos_config
from . import res_partner
from . import pos_order
| 18 | 25 | 0.722222 | 19 | 126 | 4.578947 | 0.578947 | 0.45977 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.174603 | 126 | 6 | 26 | 21 | 0.826923 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b909d98ce6af074aceede38b66f40c1b0f29345d | 3,824 | py | Python | src/endpoints/bots/forms.py | devsetgo/pynote_2 | e5a086a06ed19774f569eb59486d1d0960e78c06 | [
"MIT"
] | null | null | null | src/endpoints/bots/forms.py | devsetgo/pynote_2 | e5a086a06ed19774f569eb59486d1d0960e78c06 | [
"MIT"
] | 47 | 2021-04-10T14:47:38.000Z | 2022-03-05T02:40:59.000Z | src/endpoints/bots/forms.py | devsetgo/pynote_2 | e5a086a06ed19774f569eb59486d1d0960e78c06 | [
"MIT"
] | null | null | null | # # -*- coding: utf-8 -*-
# from starlette_wtf import StarletteForm
# from wtforms import BooleanField
# from wtforms import FileField
# from wtforms import TextAreaField
# from wtforms import TextField
# from wtforms.validators import DataRequired
# from wtforms.validators import Length
# from wtforms.widgets import F... | 28.117647 | 88 | 0.546025 | 336 | 3,824 | 6.160714 | 0.184524 | 0.170048 | 0.175845 | 0.207246 | 0.769082 | 0.769082 | 0.769082 | 0.769082 | 0.769082 | 0.769082 | 0 | 0.021219 | 0.322176 | 3,824 | 135 | 89 | 28.325926 | 0.777392 | 0.93227 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f8f6d0ef53cdf767d8b3e90c40e0af4604df337b | 195 | py | Python | med_ai_site/anouncements/admin.py | com-med-ai/med_ai_site | 91794f43a9bc6925bd95d2daa55244e1de89892a | [
"Apache-2.0"
] | 2 | 2021-09-22T13:16:59.000Z | 2021-09-22T13:19:55.000Z | med_ai_site/anouncements/admin.py | com-med-ai/med_ai_site | 91794f43a9bc6925bd95d2daa55244e1de89892a | [
"Apache-2.0"
] | null | null | null | med_ai_site/anouncements/admin.py | com-med-ai/med_ai_site | 91794f43a9bc6925bd95d2daa55244e1de89892a | [
"Apache-2.0"
] | 1 | 2021-09-22T13:20:00.000Z | 2021-09-22T13:20:00.000Z | from django.contrib import admin
"""from .models import Anouncements, AnonuncemntPhotos
admin.site.register(AnonuncemntPhotos)
admin.site.register(Anouncements)"""
# Register your models here.
| 24.375 | 54 | 0.810256 | 22 | 195 | 7.181818 | 0.545455 | 0.278481 | 0.329114 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 195 | 7 | 55 | 27.857143 | 0.892655 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
5d29e1ff3d7768ebf4c429381f55bbb7c6bbe800 | 162,789 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_crypto_ssh_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 177 | 2016-03-15T17:03:51.000Z | 2022-03-18T16:48:44.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_crypto_ssh_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 18 | 2016-03-30T10:45:22.000Z | 2020-07-14T16:28:13.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_crypto_ssh_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 85 | 2016-03-16T20:38:57.000Z | 2022-02-22T04:26:02.000Z | """ Cisco_IOS_XR_crypto_ssh_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR crypto\-ssh package operational data.
This module contains definitions
for the following management objects\:
ssh1\: Crypto Secure Shell(SSH) data
ssh\: ssh
Copyright (c) 2013\-2018 by Cisco Systems, Inc.
Al... | 41.751475 | 366 | 0.478325 | 14,252 | 162,789 | 5.138367 | 0.024418 | 0.047848 | 0.05981 | 0.052873 | 0.887549 | 0.870453 | 0.853766 | 0.840111 | 0.829214 | 0.816774 | 0 | 0.013942 | 0.421503 | 162,789 | 3,898 | 367 | 41.762186 | 0.76369 | 0.204971 | 0 | 0.741368 | 0 | 0.014438 | 0.166449 | 0.06996 | 0 | 0 | 0 | 0 | 0 | 1 | 0.089768 | false | 0.003139 | 0.040176 | 0 | 0.241055 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5d3124464e6567d9c22ab75c5f718e33efdf47b4 | 12,871 | py | Python | tests/system/test_process.py | dhhse/prereform2modern | b35f7d99f5a38fadf63e7d11ce0a59fed8ef80a1 | [
"MIT"
] | 1 | 2020-09-09T09:51:30.000Z | 2020-09-09T09:51:30.000Z | tests/system/test_process.py | dhhse/prereform2modern | b35f7d99f5a38fadf63e7d11ce0a59fed8ef80a1 | [
"MIT"
] | null | null | null | tests/system/test_process.py | dhhse/prereform2modern | b35f7d99f5a38fadf63e7d11ce0a59fed8ef80a1 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
This module contains tests for translit_from_string.
My setup for running this module is as follows:
# in directory prereform2modern/
$ python -m pip install --user virtualenv
$ virtualenv .venv --python=python2.7
$ source .venv/bin/activate
(.venv) $ ../.venv/bin/pip ins... | 33.693717 | 131 | 0.502059 | 1,459 | 12,871 | 4.1878 | 0.08499 | 0.041735 | 0.089362 | 0.080196 | 0.867758 | 0.847954 | 0.840753 | 0.827169 | 0.826514 | 0.796399 | 0 | 0.005568 | 0.372077 | 12,871 | 381 | 132 | 33.782152 | 0.750433 | 0.164168 | 0 | 0.714844 | 0 | 0.007813 | 0.119413 | 0.019731 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.039063 | false | 0 | 0.011719 | 0 | 0.054688 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5d3b3ff35e8e3bc66c9a01d022dfac300554a0f5 | 10,465 | py | Python | tests/test_movingfiles.py | virusdave/tvnamer | ee4f6bc6c09cf76661052c195cc0047017292595 | [
"Unlicense"
] | 529 | 2015-01-05T18:27:09.000Z | 2022-03-14T23:57:11.000Z | tests/test_movingfiles.py | virusdave/tvnamer | ee4f6bc6c09cf76661052c195cc0047017292595 | [
"Unlicense"
] | 118 | 2015-01-01T02:16:27.000Z | 2022-03-27T11:08:10.000Z | tests/test_movingfiles.py | virusdave/tvnamer | ee4f6bc6c09cf76661052c195cc0047017292595 | [
"Unlicense"
] | 93 | 2015-01-12T10:28:18.000Z | 2022-03-05T14:26:07.000Z | #!/usr/bin/env python
"""Tests moving renamed files
"""
from functional_runner import run_tvnamer, verify_out_data
from helpers import attr
@attr("functional")
def test_simple_realtive_move():
"""Move file to simple relative static dir
"""
conf = """
{"move_files_enable": true,
"move_files_dest... | 26.29397 | 121 | 0.642045 | 1,285 | 10,465 | 4.958755 | 0.140856 | 0.060421 | 0.038763 | 0.059322 | 0.800847 | 0.76381 | 0.760201 | 0.74796 | 0.73054 | 0.694131 | 0 | 0.029433 | 0.214333 | 10,465 | 397 | 122 | 26.360202 | 0.745561 | 0.115815 | 0 | 0.743902 | 0 | 0.012195 | 0.492399 | 0.182653 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073171 | false | 0 | 0.00813 | 0 | 0.081301 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5d466765abdaa72c7371ab0ce248dcba4ebea97e | 36,056 | py | Python | sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py | praveenkuttappan/azure-sdk-for-python | 4b79413667b7539750a6c7dde15737013a3d4bd5 | [
"MIT"
] | null | null | null | sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py | praveenkuttappan/azure-sdk-for-python | 4b79413667b7539750a6c7dde15737013a3d4bd5 | [
"MIT"
] | 1 | 2021-06-07T06:37:28.000Z | 2021-06-07T06:37:28.000Z | sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py | praveenkuttappan/azure-sdk-for-python | 4b79413667b7539750a6c7dde15737013a3d4bd5 | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 65.675774 | 154 | 0.730308 | 4,006 | 36,056 | 6.355217 | 0.071892 | 0.069131 | 0.271495 | 0.281551 | 0.890923 | 0.88833 | 0.883538 | 0.880082 | 0.876468 | 0.872854 | 0 | 0.0749 | 0.202768 | 36,056 | 548 | 155 | 65.79562 | 0.810784 | 0.2396 | 0 | 0.80597 | 0 | 0 | 0.080006 | 0.019869 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019901 | false | 0 | 0.345771 | 0 | 0.38806 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
5d5b4d233c12f3e2bb2c7fa7608cbb4f73675ba3 | 30 | py | Python | tiankafei-code-python/analysis/frequency/__init__.py | tiankafei/java | 9ff39cb47b8f2144851856b4412b1b0b7781cb09 | [
"Apache-2.0"
] | 1 | 2021-08-23T03:10:33.000Z | 2021-08-23T03:10:33.000Z | tiankafei-code-python/analysis/frequency/__init__.py | tiankafei/java | 9ff39cb47b8f2144851856b4412b1b0b7781cb09 | [
"Apache-2.0"
] | 8 | 2020-09-02T15:14:03.000Z | 2021-01-08T00:34:26.000Z | tiankafei-code-python/analysis/frequency/__init__.py | tiankafei/java | 9ff39cb47b8f2144851856b4412b1b0b7781cb09 | [
"Apache-2.0"
] | 2 | 2020-11-25T07:58:22.000Z | 2021-01-28T00:15:11.000Z | # 作者:甜咖啡
# 新建时间:2021/4/9 1:31
| 10 | 20 | 0.6 | 8 | 30 | 2.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.36 | 0.166667 | 30 | 2 | 21 | 15 | 0.36 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
538234f6b1c6caa6dbe2b79a51b5fccdd6570b3c | 9,133 | py | Python | services/tests/test_data_generators/binance_tdg.py | ToucanBran/gateio-crypto-trading-bot-binance-announcements-new-coins | a83f4f0de3463001855c5e89b8f39c6b20ca3e99 | [
"MIT"
] | 1 | 2021-12-27T01:54:38.000Z | 2021-12-27T01:54:38.000Z | services/tests/test_data_generators/binance_tdg.py | ToucanBran/gateio-crypto-trading-bot-binance-announcements-new-coins | a83f4f0de3463001855c5e89b8f39c6b20ca3e99 | [
"MIT"
] | null | null | null | services/tests/test_data_generators/binance_tdg.py | ToucanBran/gateio-crypto-trading-bot-binance-announcements-new-coins | a83f4f0de3463001855c5e89b8f39c6b20ca3e99 | [
"MIT"
] | null | null | null | announcements = {'code': '000000', 'message': None, 'messageDetail': None, 'data': {'articles': [{'id': 72913, 'code': 'b9fbcf46da3a4d7f8f2d1bf1bd874665', 'title': 'Binance Adds BETA & BNX on Isolated Margin, Stablecoins Annual Interest Rate Starts at 6.20%!', 'body': None, 'type': None, 'catalogId': None, 'catalogName... | 58.922581 | 2,725 | 0.573087 | 856 | 9,133 | 6.114486 | 0.160047 | 0.045854 | 0.068781 | 0.091708 | 0.985862 | 0.985862 | 0.985862 | 0.985862 | 0.985862 | 0.985862 | 0 | 0.117673 | 0.267711 | 9,133 | 155 | 2,726 | 58.922581 | 0.664922 | 0 | 0 | 0.487013 | 0 | 0.038961 | 0.568864 | 0.105102 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
53adc6c9cc2e96df1b20d134ca1d5ed4cb13c6ea | 36,342 | py | Python | youtube_search_requests/constants.py | mansuf/youtube-search-requests | f4e961688895d13343298eb9d3ccef131b3f8d0d | [
"MIT"
] | 3 | 2020-12-24T18:25:54.000Z | 2020-12-29T20:58:05.000Z | youtube_search_requests/constants.py | trollfist20/youtube-search-requests | 63c70ece7be4590c4e31df2c510d646e30744f2c | [
"MIT"
] | 1 | 2021-08-24T21:47:16.000Z | 2021-11-09T16:21:57.000Z | youtube_search_requests/constants.py | mansuf/youtube-search-requests | f4e961688895d13343298eb9d3ccef131b3f8d0d | [
"MIT"
] | null | null | null | # youtube-search-requests
# constants.py
import random
from urllib.parse import quote
# all Youtube URLs
BASE_YOUTUBE_URL = 'https://www.youtube.com/'
BASE_YOUTUBE_SEARCH_INTERNAL_API_URL = 'https://www.youtube.com/youtubei/v1/search?key='
BASE_YOUTUBE_SEARCH_QUERY_URL = 'https://www.youtube.com/results?search_query... | 75.086777 | 176 | 0.691899 | 6,586 | 36,342 | 3.784391 | 0.078955 | 0.068207 | 0.104357 | 0.143235 | 0.859052 | 0.839953 | 0.834096 | 0.824426 | 0.808377 | 0.79273 | 0 | 0.220439 | 0.134087 | 36,342 | 483 | 177 | 75.242236 | 0.571578 | 0.019812 | 0 | 0.022573 | 0 | 0.650113 | 0.873433 | 0.013432 | 0 | 0 | 0 | 0.00207 | 0 | 1 | 0.002257 | false | 0 | 0.004515 | 0 | 0.009029 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
990661edcbea961778649465705b276e44b1e70e | 1,040 | py | Python | tmh/foo.py | jimregan/tmh | a8d8e9421f24a84cde724d5f30b3f140aff12b19 | [
"MIT"
] | 6 | 2021-09-09T16:19:45.000Z | 2022-03-16T18:18:36.000Z | tmh/foo.py | jimregan/tmh | a8d8e9421f24a84cde724d5f30b3f140aff12b19 | [
"MIT"
] | 3 | 2021-09-09T17:43:18.000Z | 2021-09-28T12:55:48.000Z | tmh/foo.py | jimregan/tmh | a8d8e9421f24a84cde724d5f30b3f140aff12b19 | [
"MIT"
] | 4 | 2021-09-09T16:19:47.000Z | 2022-03-11T14:33:26.000Z |
The VAD determines if a given signal is speech or non-speech.
The VAD is based on the energy of the signal.
The VAD is based on the signal energy.
The VAD is based on the signal spectrum.
The VAD is based on the signal spectrum.
The VAD is based on the signal spectrum.
The VAD is based on the signal spectrum.
T... | 20.8 | 61 | 0.761538 | 200 | 1,040 | 3.96 | 0.08 | 0.189394 | 0.232323 | 0.377525 | 0.909091 | 0.909091 | 0.886364 | 0.856061 | 0.856061 | 0.856061 | 0 | 0 | 0.214423 | 1,040 | 50 | 62 | 20.8 | 0.9694 | 0 | 0 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
54fb5ce4e57c54dcc085ab73c70a7da1a33d3172 | 43,428 | py | Python | spark_fhir_schemas/r4/resources/appointment.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/r4/resources/appointment.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/r4/resources/appointment.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | from typing import Union, List, Optional
from pyspark.sql.types import StructType, StructField, StringType, ArrayType, DataType
# This file is auto-generated by generate_schema so do not edit it manually
# noinspection PyPep8Naming
class AppointmentSchema:
"""
A booking of a healthcare event among patient(s)... | 53.614815 | 105 | 0.553122 | 4,074 | 43,428 | 5.663721 | 0.112911 | 0.056687 | 0.035755 | 0.054087 | 0.869637 | 0.861966 | 0.860232 | 0.830545 | 0.827078 | 0.820057 | 0 | 0.00311 | 0.40764 | 43,428 | 809 | 106 | 53.681088 | 0.893839 | 0.306507 | 0 | 0.743268 | 1 | 0 | 0.023102 | 0.00072 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001795 | false | 0 | 0.032316 | 0 | 0.039497 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0701318c50ea2db26cd503c1964a192a27a3b6a8 | 8,172 | py | Python | api/migrations/0004_disasterneighborhoods_disasterneighborhoodview.py | hackoregon/disaster-resilience-backend | 7776ca37bc50ef79e8bbf0830b6ca4b798f0df9f | [
"MIT"
] | 2 | 2018-04-27T09:10:08.000Z | 2018-05-01T08:38:29.000Z | api/migrations/0004_disasterneighborhoods_disasterneighborhoodview.py | hackoregon/disaster-resilience-backend | 7776ca37bc50ef79e8bbf0830b6ca4b798f0df9f | [
"MIT"
] | 21 | 2018-05-27T23:51:40.000Z | 2021-06-10T20:15:17.000Z | api/migrations/0004_disasterneighborhoods_disasterneighborhoodview.py | hackoregon/disaster-resilience-backend | 7776ca37bc50ef79e8bbf0830b6ca4b798f0df9f | [
"MIT"
] | 3 | 2018-04-27T09:11:06.000Z | 2019-03-10T19:32:26.000Z | # Generated by Django 2.0.1 on 2018-06-13 23:58
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0003_poi'),
]
operations = [
migrations.CreateModel(
name='DisasterNeighborhoods',
fields=[
(... | 74.972477 | 106 | 0.639134 | 1,013 | 8,172 | 4.859822 | 0.068115 | 0.137112 | 0.260004 | 0.312005 | 0.942921 | 0.942921 | 0.933983 | 0.928499 | 0.919358 | 0.878732 | 0 | 0.033213 | 0.222589 | 8,172 | 108 | 107 | 75.666667 | 0.741697 | 0.005507 | 0 | 0.784314 | 1 | 0 | 0.205169 | 0.158769 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009804 | 0 | 0.039216 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
0760c9c2b20d9e36da5a12f101e019e3ac49b587 | 10,419 | py | Python | test/test_descriptor.py | prusnak/HWI | f83f9815c56948b59ce65986ed3844bc8fae7f06 | [
"MIT"
] | 2 | 2021-04-28T21:04:46.000Z | 2021-04-28T21:04:48.000Z | test/test_descriptor.py | Sjors/HWI | b3b9f8818d9a851e9a88368f83de77ce504c522c | [
"MIT"
] | null | null | null | test/test_descriptor.py | Sjors/HWI | b3b9f8818d9a851e9a88368f83de77ce504c522c | [
"MIT"
] | null | null | null | #! /usr/bin/env python3
from hwilib.descriptor import (
parse_descriptor,
MultisigDescriptor,
WPKHDescriptor,
WSHDescriptor,
)
import unittest
class TestDescriptor(unittest.TestCase):
def test_parse_descriptor_with_origin(self):
d = "wpkh([00000001/84'/1'/0']tpubD6NzVbkrYhZ4WaWSyoBvQwbpLko... | 94.718182 | 330 | 0.819081 | 777 | 10,419 | 10.830116 | 0.127413 | 0.058824 | 0.072252 | 0.055615 | 0.890909 | 0.874629 | 0.858942 | 0.814141 | 0.771123 | 0.74284 | 0 | 0.114739 | 0.091563 | 10,419 | 109 | 331 | 95.587156 | 0.774326 | 0.002112 | 0 | 0.368421 | 0 | 0.010526 | 0.538188 | 0.51616 | 0 | 0 | 0 | 0 | 0.589474 | 1 | 0.094737 | false | 0 | 0.021053 | 0 | 0.126316 | 0.063158 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ab392f1539079cf8214ad8f946d879950e4e4aaf | 87,178 | py | Python | tests/aat/api/v1/client/api/packet_generators_api.py | gchagnotSpt/openperf | 0ae14cb7a685b1b059f707379773fb3bcb421d40 | [
"Apache-2.0"
] | null | null | null | tests/aat/api/v1/client/api/packet_generators_api.py | gchagnotSpt/openperf | 0ae14cb7a685b1b059f707379773fb3bcb421d40 | [
"Apache-2.0"
] | null | null | null | tests/aat/api/v1/client/api/packet_generators_api.py | gchagnotSpt/openperf | 0ae14cb7a685b1b059f707379773fb3bcb421d40 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
OpenPerf API
REST API interface for OpenPerf # noqa: E501
OpenAPI spec version: 1
Contact: support@spirent.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compa... | 39.789137 | 207 | 0.613962 | 9,899 | 87,178 | 5.157592 | 0.025154 | 0.053276 | 0.024131 | 0.031025 | 0.979767 | 0.972363 | 0.968563 | 0.961493 | 0.953188 | 0.951856 | 0 | 0.016799 | 0.298722 | 87,178 | 2,190 | 208 | 39.807306 | 0.818307 | 0.341164 | 0 | 0.815567 | 1 | 0 | 0.175244 | 0.059945 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038071 | false | 0 | 0.003384 | 0 | 0.098139 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
db99b9b187f072b690e17602c20220be597fcc25 | 5,768 | py | Python | tests/assets.py | NitronBeenGrinding/deonedits | 843d25be6def8163f7c24aac7676187dd83ad221 | [
"MIT"
] | 223 | 2018-09-06T05:17:50.000Z | 2022-03-19T19:20:28.000Z | tests/assets.py | NitronBeenGrinding/deonedits | 843d25be6def8163f7c24aac7676187dd83ad221 | [
"MIT"
] | 76 | 2018-08-31T22:31:12.000Z | 2022-03-29T22:56:11.000Z | tests/assets.py | NitronBeenGrinding/deonedits | 843d25be6def8163f7c24aac7676187dd83ad221 | [
"MIT"
] | 51 | 2018-09-12T00:43:13.000Z | 2022-02-17T04:06:24.000Z | existing_text = "There is existing text in this file."
known_good_ascii = """My Checklist
A. First section
* A.1 A1sum: First A line
* A.2 A2sum: Second A line
B. Second section
* B.1 B1sum: First B line
* B.2 B2sum: Second B line
Data Science Ethics Checklist generated with deon (http://deon.drivendata.org)."""
k... | 22.27027 | 155 | 0.505895 | 669 | 5,768 | 4.313901 | 0.112108 | 0.024255 | 0.081081 | 0.094595 | 0.926888 | 0.9158 | 0.838184 | 0.778933 | 0.778933 | 0.778933 | 0 | 0.020664 | 0.29525 | 5,768 | 258 | 156 | 22.356589 | 0.689299 | 0 | 0 | 0.729958 | 0 | 0.029536 | 0.758148 | 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 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
dba5414971e5a382213a85368382988ae2ea9988 | 42 | py | Python | tests/test_chalice_cdk.py | knowsuchagency/cdk-chalice-lite | 27466d03e37451b0fd4040b01c89bf675d556d39 | [
"Apache-2.0"
] | 1 | 2021-03-11T22:54:18.000Z | 2021-03-11T22:54:18.000Z | tests/test_chalice_cdk.py | knowsuchagency/cdk-chalice-lite | 27466d03e37451b0fd4040b01c89bf675d556d39 | [
"Apache-2.0"
] | null | null | null | tests/test_chalice_cdk.py | knowsuchagency/cdk-chalice-lite | 27466d03e37451b0fd4040b01c89bf675d556d39 | [
"Apache-2.0"
] | null | null | null | # TODO: tests
def test():
assert True
| 10.5 | 15 | 0.619048 | 6 | 42 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 42 | 3 | 16 | 14 | 0.83871 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.5 | 1 | 0.5 | true | 0 | 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 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dbaea74e8d3a8b35fe9f3aec99278be5d4b4f0a7 | 9,820 | py | Python | tests/test_rate_code.py | jonathanishhorowicz/RATE_python_package | d5294f047c6ce2e91658cd0d482f90a0c12396dd | [
"MIT"
] | null | null | null | tests/test_rate_code.py | jonathanishhorowicz/RATE_python_package | d5294f047c6ce2e91658cd0d482f90a0c12396dd | [
"MIT"
] | null | null | null | tests/test_rate_code.py | jonathanishhorowicz/RATE_python_package | d5294f047c6ce2e91658cd0d482f90a0c12396dd | [
"MIT"
] | null | null | null | import pytest
import numpy as np
from rate.projections import PseudoinverseProjection, CovarianceProjection
from rate.importance import rate
from rate.wrapped_r import init_rate_r
from scipy.stats import spearmanr
def psd_matrix(n):
"""Positive semi-definite matrix with size (n,n). The matrix is full-rank"""
V_F =... | 38.968254 | 140 | 0.704175 | 1,808 | 9,820 | 3.709071 | 0.111726 | 0.057262 | 0.073367 | 0.043841 | 0.822845 | 0.799433 | 0.781688 | 0.773337 | 0.755592 | 0.732031 | 0 | 0.039661 | 0.147556 | 9,820 | 251 | 141 | 39.123506 | 0.761438 | 0.247149 | 0 | 0.474026 | 0 | 0 | 0.003149 | 0 | 0 | 0 | 0 | 0 | 0.474026 | 1 | 0.032468 | false | 0 | 0.038961 | 0 | 0.077922 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
91723162698e711c436516bed376ba99cc877cb1 | 99,780 | py | Python | pynos/versions/ver_7/ver_7_0_0/yang/brocade_policer.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 12 | 2015-09-21T23:56:09.000Z | 2018-03-30T04:35:32.000Z | pynos/versions/ver_7/ver_7_0_0/yang/brocade_policer.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 10 | 2016-09-15T19:03:27.000Z | 2017-07-17T23:38:01.000Z | pynos/versions/ver_7/ver_7_0_0/yang/brocade_policer.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 6 | 2015-08-14T08:05:23.000Z | 2022-02-03T15:33:54.000Z | #!/usr/bin/env python
import xml.etree.ElementTree as ET
class brocade_policer(object):
"""Auto generated class.
"""
def __init__(self, **kwargs):
self._callback = kwargs.pop('callback')
def police_priority_map_name(self, **kwargs):
"""Auto Generated Code
"""
... | 46.955294 | 120 | 0.651784 | 12,554 | 99,780 | 4.923132 | 0.008444 | 0.142901 | 0.071095 | 0.053847 | 0.997848 | 0.997848 | 0.997848 | 0.997848 | 0.997848 | 0.997848 | 0 | 0.003849 | 0.218811 | 99,780 | 2,125 | 121 | 46.955294 | 0.789062 | 0.038254 | 0 | 0.997497 | 1 | 0 | 0.168171 | 0.050531 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081977 | false | 0 | 0.001877 | 0 | 0.165832 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
91b640f4f350579f87542f8115f977fb1b41b790 | 3,207 | py | Python | src/genie/libs/parser/iosxe/tests/ShowIsisTopology/cli/equal/golden_output2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowIsisTopology/cli/equal/golden_output2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowIsisTopology/cli/equal/golden_output2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"tag": {
"1": {
"level": {
1: {
"hosts": {
"R1-asr1k-43": {
"metric": 33554428,
"interface": {
"Gi0/1/4": {
... | 39.109756 | 62 | 0.178983 | 153 | 3,207 | 3.679739 | 0.24183 | 0.099467 | 0.095915 | 0.099467 | 0.955595 | 0.955595 | 0.955595 | 0.955595 | 0.955595 | 0.955595 | 0 | 0.229418 | 0.715934 | 3,207 | 82 | 63 | 39.109756 | 0.388584 | 0 | 0 | 0.585366 | 0 | 0 | 0.176746 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
91bce2a12b0894ef5c9a21dc81afb3f881ef1351 | 9,949 | py | Python | Vehicle/lattice_based_planner.py | yuchaotaigu/parking-assignment | 0ff15db06b0c32cabf6a64f760481f625c464561 | [
"MIT"
] | null | null | null | Vehicle/lattice_based_planner.py | yuchaotaigu/parking-assignment | 0ff15db06b0c32cabf6a64f760481f625c464561 | [
"MIT"
] | null | null | null | Vehicle/lattice_based_planner.py | yuchaotaigu/parking-assignment | 0ff15db06b0c32cabf6a64f760481f625c464561 | [
"MIT"
] | null | null | null | import math
import sys
import numpy as np
try:
import cubic_spline_planner
except ImportError:
raise
class Primitives:
"""
Define motion premitives for path assembling
"""
def __init__(self, radius, ds):
self.cx = {0:{1:[], 2:[], 3:[], 4:[]}}
self.cx[1] = {1:[], 2:[], 3:[], ... | 45.847926 | 111 | 0.413006 | 1,619 | 9,949 | 2.489809 | 0.060531 | 0.151079 | 0.15877 | 0.258001 | 0.828827 | 0.825105 | 0.792111 | 0.772017 | 0.772017 | 0.772017 | 0 | 0.058038 | 0.390391 | 9,949 | 216 | 112 | 46.060185 | 0.606595 | 0.004423 | 0 | 0.388889 | 0 | 0 | 0.002936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016667 | false | 0 | 0.033333 | 0 | 0.061111 | 0.011111 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
91c386c543156ab215d243e9f6c7e4ef9e92264e | 11,446 | py | Python | venv/lib/python3.8/site-packages/spaceone/api/repository/v1/policy_pb2_grpc.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/repository/v1/policy_pb2_grpc.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/repository/v1/policy_pb2_grpc.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from sp... | 48.91453 | 135 | 0.690896 | 1,191 | 11,446 | 6.219983 | 0.09152 | 0.038877 | 0.058585 | 0.071139 | 0.900243 | 0.896328 | 0.879455 | 0.826539 | 0.760934 | 0.745545 | 0 | 0.009986 | 0.238861 | 11,446 | 233 | 136 | 49.124464 | 0.840335 | 0.064914 | 0 | 0.541237 | 1 | 0 | 0.076829 | 0.048112 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072165 | false | 0 | 0.020619 | 0.030928 | 0.139175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
37e112ceb777fe9805650ec24b77c307d98eed31 | 137 | py | Python | checkout_sdk/customers/customers_four.py | riaz-bordie-cko/checkout-sdk-python | d9bc073306c1a98544c326be693ed722576ea895 | [
"MIT"
] | null | null | null | checkout_sdk/customers/customers_four.py | riaz-bordie-cko/checkout-sdk-python | d9bc073306c1a98544c326be693ed722576ea895 | [
"MIT"
] | null | null | null | checkout_sdk/customers/customers_four.py | riaz-bordie-cko/checkout-sdk-python | d9bc073306c1a98544c326be693ed722576ea895 | [
"MIT"
] | null | null | null | import checkout_sdk.customers.customers
class CustomerRequest(checkout_sdk.customers.customers.CustomerRequest):
instruments: list
| 22.833333 | 72 | 0.846715 | 14 | 137 | 8.142857 | 0.571429 | 0.192982 | 0.350877 | 0.508772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087591 | 137 | 5 | 73 | 27.4 | 0.912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5304248df9e449f0635b0cfd33ffb5ff92d9a9d1 | 432 | py | Python | pytorch_grad_cam/__init__.py | iynaur/pytorch-grad-cam | ffec997bff40c7dba2b29005528c6a5893a11849 | [
"MIT"
] | 2 | 2021-06-09T12:18:54.000Z | 2021-07-18T00:10:03.000Z | pytorch_grad_cam/__init__.py | wuyongfa-genius/pytorch-grad-cam | c6e820df00656481b00d0ee97e438345422cd5e7 | [
"MIT"
] | null | null | null | pytorch_grad_cam/__init__.py | wuyongfa-genius/pytorch-grad-cam | c6e820df00656481b00d0ee97e438345422cd5e7 | [
"MIT"
] | 1 | 2022-03-15T02:25:43.000Z | 2022-03-15T02:25:43.000Z | from pytorch_grad_cam.grad_cam import GradCAM
from pytorch_grad_cam.ablation_cam import AblationCAM
from pytorch_grad_cam.xgrad_cam import XGradCAM
from pytorch_grad_cam.grad_cam_plusplus import GradCAMPlusPlus
from pytorch_grad_cam.score_cam import ScoreCAM
from pytorch_grad_cam.eigen_cam import EigenCAM
from pytorch_... | 54 | 68 | 0.909722 | 66 | 432 | 5.560606 | 0.30303 | 0.209809 | 0.326975 | 0.392371 | 0.26158 | 0.13624 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071759 | 432 | 8 | 68 | 54 | 0.915212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
534f177c22c043a3b57cf8db63d75ef230b8881c | 4,294 | py | Python | tests/test_read_csv.py | PavelHudau/simple-safe-csv | 682f9b321f2e2a8aeac0a799383b705fc66bb80b | [
"MIT"
] | null | null | null | tests/test_read_csv.py | PavelHudau/simple-safe-csv | 682f9b321f2e2a8aeac0a799383b705fc66bb80b | [
"MIT"
] | null | null | null | tests/test_read_csv.py | PavelHudau/simple-safe-csv | 682f9b321f2e2a8aeac0a799383b705fc66bb80b | [
"MIT"
] | null | null | null | import datetime as dt
from typing import List
import pytz
import src.csv_gen as csv_gen
from .test_model_and_files import test_model as tm
def test_read_valid_file_has_header():
# GIVEN
path = "./tests/test_model_and_files/test_valid_with_header.csv"
# WHEN
data: List[tm.TestModel] = csv_gen.read_f... | 29.013514 | 83 | 0.649045 | 667 | 4,294 | 3.986507 | 0.091454 | 0.203084 | 0.06619 | 0.102294 | 0.952238 | 0.941331 | 0.941331 | 0.941331 | 0.941331 | 0.941331 | 0 | 0.108466 | 0.227061 | 4,294 | 147 | 84 | 29.210884 | 0.692679 | 0.014672 | 0 | 0.838384 | 0 | 0 | 0.083452 | 0.05927 | 0 | 0 | 0 | 0 | 0.585859 | 1 | 0.040404 | false | 0 | 0.050505 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
536b35ec37b9114321a987198b8d28272d74962b | 38,902 | py | Python | calm/dsl/builtins/models/variable.py | tuxtof/calm-dsl | 5af67435d8304b97e170a690068f2d5975e9bfe6 | [
"Apache-2.0"
] | 37 | 2019-12-23T15:23:20.000Z | 2022-03-15T11:12:11.000Z | calm/dsl/builtins/models/variable.py | gabybeitler/calm-dsl | bac453413cfcf800eef95d89d5a7323c83654a93 | [
"Apache-2.0"
] | 144 | 2020-03-09T11:22:09.000Z | 2022-03-28T21:34:09.000Z | calm/dsl/builtins/models/variable.py | gabybeitler/calm-dsl | bac453413cfcf800eef95d89d5a7323c83654a93 | [
"Apache-2.0"
] | 46 | 2020-01-23T14:28:04.000Z | 2022-03-09T04:17:10.000Z | import re
from .entity import EntityType, Entity
from .validator import PropertyValidator
from .task_input import _task_input
# Variable
VARIABLE_VALUE_TYPES = {
"int": "INT",
"date": "DATE",
"time": "TIME",
"dict": "DICT",
"string": "STRING",
"data_time": "DATE_TIME",
"multiline_string"... | 26.161399 | 104 | 0.550409 | 4,031 | 38,902 | 5.059042 | 0.035475 | 0.086696 | 0.043642 | 0.0331 | 0.855735 | 0.846908 | 0.821311 | 0.791497 | 0.783847 | 0.776247 | 0 | 0.009953 | 0.343967 | 38,902 | 1,486 | 105 | 26.179004 | 0.789115 | 0.004293 | 0 | 0.798098 | 0 | 0.008778 | 0.086806 | 0.026181 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035845 | false | 0 | 0.002926 | 0.031456 | 0.08632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
728954aeb99cfc51158990744946c72e9b1ecc31 | 4,353 | py | Python | tests/v2/test_orders.py | rkemmy/food-first | 69c72c0968e7bd3e05573c96267d5c6c119e4289 | [
"MIT"
] | null | null | null | tests/v2/test_orders.py | rkemmy/food-first | 69c72c0968e7bd3e05573c96267d5c6c119e4289 | [
"MIT"
] | 1 | 2018-10-01T17:43:54.000Z | 2018-10-01T17:43:54.000Z | tests/v2/test_orders.py | rkemmy/food-first | 69c72c0968e7bd3e05573c96267d5c6c119e4289 | [
"MIT"
] | null | null | null | import json
import unittest
from app import create_app
from testdb import CreateTables
from .base_test import TestApp
from .test_meals import TestMeals
class TestOrders(TestApp):
def test_post_order(self):
token = self.get_token()
self.client.post('/api/v2/menu',
headers = {"con... | 34.275591 | 102 | 0.589708 | 470 | 4,353 | 5.393617 | 0.108511 | 0.067061 | 0.12071 | 0.194477 | 0.912426 | 0.912426 | 0.912426 | 0.912426 | 0.90572 | 0.90572 | 0 | 0.011561 | 0.244889 | 4,353 | 126 | 103 | 34.547619 | 0.759659 | 0 | 0 | 0.630435 | 0 | 0 | 0.267648 | 0.015176 | 0 | 0 | 0 | 0 | 0.065217 | 1 | 0.065217 | false | 0 | 0.065217 | 0 | 0.141304 | 0.032609 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
72bacc91bac93d10f628732ea2e25cd2ed5fedeb | 6,044 | py | Python | pyva/tests/TestDependentRules.py | holoyan/python-data-validation | e928c4131072c53cb8ace1fbaa83216f06ab6bfe | [
"MIT"
] | 3 | 2021-03-16T05:47:46.000Z | 2021-03-23T17:43:55.000Z | pyva/tests/TestDependentRules.py | holoyan/python-data-validation | e928c4131072c53cb8ace1fbaa83216f06ab6bfe | [
"MIT"
] | null | null | null | pyva/tests/TestDependentRules.py | holoyan/python-data-validation | e928c4131072c53cb8ace1fbaa83216f06ab6bfe | [
"MIT"
] | null | null | null | import unittest
from pyva import Validator
class TestDependentRules(unittest.TestCase):
def test_required_if(self):
v = Validator({
'user': {
'name': 'John',
'age': 26,
}
}, {
'user': 'required',
'user.name': 'require... | 25.50211 | 66 | 0.428855 | 549 | 6,044 | 4.564663 | 0.078324 | 0.081006 | 0.089385 | 0.114924 | 0.888268 | 0.877494 | 0.84996 | 0.759377 | 0.699122 | 0.683559 | 0 | 0.015046 | 0.428193 | 6,044 | 236 | 67 | 25.610169 | 0.710069 | 0 | 0 | 0.727723 | 0 | 0 | 0.203342 | 0.085208 | 0 | 0 | 0 | 0 | 0.133663 | 1 | 0.079208 | false | 0.054455 | 0.009901 | 0 | 0.094059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
72c5b66b95779bf83f3afadcc4f05fcccee51da6 | 261 | py | Python | Modulo III/aula017c-listasParte1.py | ascaniopy/python | 6d8892b7b9ff803b7422a61e68a383ec6ac7d62d | [
"MIT"
] | null | null | null | Modulo III/aula017c-listasParte1.py | ascaniopy/python | 6d8892b7b9ff803b7422a61e68a383ec6ac7d62d | [
"MIT"
] | null | null | null | Modulo III/aula017c-listasParte1.py | ascaniopy/python | 6d8892b7b9ff803b7422a61e68a383ec6ac7d62d | [
"MIT"
] | null | null | null | a = [2, 3, 4, 7]
b = a # Aqui troca nas duaas listas.
b[2] = 8
print('Lista A:', a)
print('Lista B:', b)
print()
print()
a = [2, 3, 4, 7]
b = a[:] # Aqui troca só na lista B.
b[2] = 8
print('Lista A:', a)
print('Lista B:', b)
| 14.5 | 52 | 0.45977 | 49 | 261 | 2.44898 | 0.326531 | 0.333333 | 0.175 | 0.066667 | 0.716667 | 0.716667 | 0.716667 | 0.716667 | 0.716667 | 0.45 | 0 | 0.068571 | 0.329502 | 261 | 17 | 53 | 15.352941 | 0.617143 | 0.206897 | 0 | 0.833333 | 0 | 0 | 0.159204 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 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 | 1 | 0 | 7 |
72d85d2fa1135583581b68708708de5f01c9dea1 | 375,763 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_segment_routing_srv6_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 177 | 2016-03-15T17:03:51.000Z | 2022-03-18T16:48:44.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_segment_routing_srv6_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 18 | 2016-03-30T10:45:22.000Z | 2020-07-14T16:28:13.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_segment_routing_srv6_oper.py | CiscoDevNet/ydk-py | 073731fea50694d0bc6cd8ebf10fec308dcc0aa9 | [
"ECL-2.0",
"Apache-2.0"
] | 85 | 2016-03-16T20:38:57.000Z | 2022-02-22T04:26:02.000Z | """ Cisco_IOS_XR_segment_routing_srv6_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR segment\-routing\-srv6 package operational data.
This module contains definitions
for the following management objects\:
srv6\: Segment Routing with IPv6 dataplane
Copyright (c) 2013\-2018 by Cisco S... | 47.224205 | 552 | 0.424741 | 29,643 | 375,763 | 5.067672 | 0.011976 | 0.032272 | 0.040341 | 0.06312 | 0.980822 | 0.976415 | 0.972607 | 0.965098 | 0.953489 | 0.94602 | 0 | 0.024163 | 0.479041 | 375,763 | 7,956 | 553 | 47.230141 | 0.743222 | 0.181894 | 0 | 0.841567 | 0 | 0.008477 | 0.131708 | 0.065438 | 0.001462 | 0 | 0 | 0 | 0 | 1 | 0.095294 | false | 0 | 0.034785 | 0 | 0.206665 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f4128c5458426802b6b59bc7366bb5ec99123c24 | 5,973 | py | Python | src/genie/libs/parser/sros/tests/ShowRouterIsisAdjacencyDetail/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/sros/tests/ShowRouterIsisAdjacencyDetail/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/sros/tests/ShowRouterIsisAdjacencyDetail/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"instance": {
"0": {
"level": {
"L2": {
"interfaces": {
"To-GENIE01R07-LAG-7": {
"system_id": {
"0691.58ff.79a2": {
"hol... | 49.363636 | 83 | 0.249288 | 331 | 5,973 | 4.253776 | 0.283988 | 0.028409 | 0.028409 | 0.042614 | 0.841619 | 0.816051 | 0.796165 | 0.796165 | 0.796165 | 0.796165 | 0 | 0.113181 | 0.649422 | 5,973 | 120 | 84 | 49.775 | 0.559217 | 0 | 0 | 0.666667 | 0 | 0 | 0.257492 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f43a4b1cfd51ebd0e493f3eae1642e826267da57 | 16,366 | py | Python | models/datasets.py | AK391/SciCo | f16af4f579fdc3bdafdb5021ee528cbc7bf2f716 | [
"Apache-2.0"
] | 16 | 2021-04-24T07:18:54.000Z | 2022-02-24T09:36:53.000Z | models/datasets.py | AK391/SciCo | f16af4f579fdc3bdafdb5021ee528cbc7bf2f716 | [
"Apache-2.0"
] | 4 | 2021-05-18T09:32:19.000Z | 2022-02-08T09:06:15.000Z | models/datasets.py | AK391/SciCo | f16af4f579fdc3bdafdb5021ee528cbc7bf2f716 | [
"Apache-2.0"
] | 3 | 2021-09-17T18:22:27.000Z | 2022-01-11T02:48:45.000Z | import torch
from torch.utils import data
import collections
from itertools import product, combinations
import numpy as np
import jsonlines
class CrossEncoderDataset(data.Dataset):
def __init__(self, data_path,
full_doc=True,
multiclass='multiclass',
sep_tok... | 34.167015 | 117 | 0.565746 | 1,967 | 16,366 | 4.551093 | 0.074733 | 0.007373 | 0.008043 | 0.013293 | 0.861819 | 0.850983 | 0.850983 | 0.844057 | 0.84227 | 0.835121 | 0 | 0.007532 | 0.302334 | 16,366 | 479 | 118 | 34.167015 | 0.776493 | 0.041855 | 0 | 0.796774 | 0 | 0 | 0.054647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.019355 | 0.019355 | 0.148387 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
be2ed178c725e4810d768cd0d341238ab0e87966 | 7,840 | py | Python | test/test_cases__yb_chunk_dml_by_integer_yyyymmdd.py | eloemosynator/YbEasyCli | b35ebe03da07898cfa06ff687cba29cd83268c31 | [
"MIT"
] | null | null | null | test/test_cases__yb_chunk_dml_by_integer_yyyymmdd.py | eloemosynator/YbEasyCli | b35ebe03da07898cfa06ff687cba29cd83268c31 | [
"MIT"
] | 4 | 2020-06-03T18:11:29.000Z | 2022-03-07T20:41:16.000Z | test/test_cases__yb_chunk_dml_by_integer_yyyymmdd.py | eloemosynator/YbEasyCli | b35ebe03da07898cfa06ff687cba29cd83268c31 | [
"MIT"
] | 2 | 2020-05-27T23:43:03.000Z | 2022-03-03T23:16:15.000Z | map_out = {
r'\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{1,6}(-|\+)\d{2}' : 'YYYY-MM-DD HH:MM:SS.FFFFFF-TZ'
, r'\d{2}:\d{2}:\d{2}.\d{1,6}' : 'HH:MM:SS.FFFFFF'
, r'\d{4}-\d{2}-\d{2}' : 'YYYY-MM-DD'}
test_cases = [
test_case(
cmd=('yb_chunk_dml_by_integer_yyyymmdd.py @{argsdir}/yb_chunk_dml_by_intege... | 79.191919 | 180 | 0.687245 | 1,210 | 7,840 | 4.302479 | 0.110744 | 0.084518 | 0.052439 | 0.080676 | 0.944679 | 0.934307 | 0.926239 | 0.910104 | 0.71456 | 0.63907 | 0 | 0.223143 | 0.153444 | 7,840 | 99 | 181 | 79.191919 | 0.561248 | 0 | 0 | 0.541667 | 0 | 0.489583 | 0.939549 | 0.099222 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.020833 | 0 | 0 | 0 | 0.020833 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
be36fc28793ced7a4eaab578f30c6d8ae5dbf2e9 | 180 | py | Python | autogalaxy/pipeline/phase/interferometer/__init__.py | jonathanfrawley/PyAutoGalaxy_copy | 1cedbfdcf65020538128163f7d8a7f8e169646e0 | [
"MIT"
] | null | null | null | autogalaxy/pipeline/phase/interferometer/__init__.py | jonathanfrawley/PyAutoGalaxy_copy | 1cedbfdcf65020538128163f7d8a7f8e169646e0 | [
"MIT"
] | null | null | null | autogalaxy/pipeline/phase/interferometer/__init__.py | jonathanfrawley/PyAutoGalaxy_copy | 1cedbfdcf65020538128163f7d8a7f8e169646e0 | [
"MIT"
] | null | null | null | from .phase import PhaseInterferometer
from autogalaxy.pipeline.phase.interferometer.result import Result
from autogalaxy.pipeline.phase.interferometer.analysis import Analysis
| 45 | 71 | 0.866667 | 20 | 180 | 7.8 | 0.45 | 0.179487 | 0.282051 | 0.346154 | 0.525641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 180 | 3 | 72 | 60 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
be372335774e02a099493ac92c527a96a09dd81c | 5,455 | py | Python | src/bmcAPI.py | ciscops/Project_Federate | af1cd5c1a069772e9a6fba5c488e5c51124a25dc | [
"RSA-MD"
] | 1 | 2021-12-08T06:18:20.000Z | 2021-12-08T06:18:20.000Z | src/bmcAPI.py | ciscops/Project_Federate | af1cd5c1a069772e9a6fba5c488e5c51124a25dc | [
"RSA-MD"
] | null | null | null | src/bmcAPI.py | ciscops/Project_Federate | af1cd5c1a069772e9a6fba5c488e5c51124a25dc | [
"RSA-MD"
] | 1 | 2021-12-08T06:18:27.000Z | 2021-12-08T06:18:27.000Z | #!/usr/bin/env python3
import requests
import urllib3
import json
#commented out portions make the API request and formats the response in JSON
def get_Bmc_Token(bmc):
url = 'http://{}/api/jwt/login'.format(bmc['bmc_host'])
headers = {'Content-Type': 'application/x-www-form-urlencoded'}
# resp = requests.... | 33.060606 | 148 | 0.596334 | 624 | 5,455 | 5.144231 | 0.174679 | 0.024299 | 0.042368 | 0.024922 | 0.839564 | 0.832399 | 0.806854 | 0.806854 | 0.794393 | 0.794393 | 0 | 0.001498 | 0.265811 | 5,455 | 164 | 149 | 33.262195 | 0.8 | 0.210082 | 0 | 0.707965 | 0 | 0.044248 | 0.434152 | 0.008108 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044248 | false | 0.00885 | 0.026549 | 0 | 0.115044 | 0.044248 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
be4fc2d1208c1ae53a00ab2c26a0b489a599bcf0 | 10,901 | py | Python | ue_eval_scripts/calibration.py | chryssa-zrv/UA_COMET | 527e7c86bd0a0d8ff90efda58e820108a5666b92 | [
"Apache-2.0"
] | null | null | null | ue_eval_scripts/calibration.py | chryssa-zrv/UA_COMET | 527e7c86bd0a0d8ff90efda58e820108a5666b92 | [
"Apache-2.0"
] | null | null | null | ue_eval_scripts/calibration.py | chryssa-zrv/UA_COMET | 527e7c86bd0a0d8ff90efda58e820108a5666b92 | [
"Apache-2.0"
] | null | null | null | from scipy.special import erfinv
import numpy as np
import itertools
from tqdm import tqdm
import math
NUM_BINS = 100
def compute_calibration_error_non_parametric(target, scores, num_bins=NUM_BINS//5, scaling_val=1, scaling_sum=0):
matches = []
gammas = np.linspace(0, 1, num_bins)
median = np.median(score... | 37.850694 | 125 | 0.62453 | 1,528 | 10,901 | 4.26178 | 0.073953 | 0.042998 | 0.020885 | 0.038851 | 0.8707 | 0.81895 | 0.787162 | 0.766892 | 0.752457 | 0.721284 | 0 | 0.025559 | 0.257041 | 10,901 | 287 | 126 | 37.982578 | 0.778491 | 0.027429 | 0 | 0.725322 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072961 | false | 0 | 0.021459 | 0.004292 | 0.167382 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
be51208ae77daf2a279fd4f0027253f617531f29 | 134 | py | Python | utils/__init__.py | sajith-rahim/papyrus | 1f027274670b6492caaeb09e6ad6f80d2ebff390 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | sajith-rahim/papyrus | 1f027274670b6492caaeb09e6ad6f80d2ebff390 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | sajith-rahim/papyrus | 1f027274670b6492caaeb09e6ad6f80d2ebff390 | [
"Apache-2.0"
] | null | null | null | from .data_utils import *
from .device_utils import *
from .tracker_utils import *
from .os_utils import *
from .config_utils import * | 26.8 | 28 | 0.783582 | 20 | 134 | 5 | 0.4 | 0.55 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141791 | 134 | 5 | 29 | 26.8 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
feb71db55174638cee1006116ccfd6e4a1b52d6f | 17,555 | py | Python | DCGANs.py | AidasLiaudanskas/Experiments_on_GANs | 3047d44185d4e311e8a51dc7389737fca4436b94 | [
"MIT"
] | null | null | null | DCGANs.py | AidasLiaudanskas/Experiments_on_GANs | 3047d44185d4e311e8a51dc7389737fca4436b94 | [
"MIT"
] | null | null | null | DCGANs.py | AidasLiaudanskas/Experiments_on_GANs | 3047d44185d4e311e8a51dc7389737fca4436b94 | [
"MIT"
] | null | null | null | """
File containing different DCGAN architectures
"""
import tensorflow as tf
import tflib as lib
from functools import partial
from helpers import Batchnorm, ResidualBlock
FLAGS = tf.app.flags.FLAGS
class DCGAN:
"""
Class containing all the parameters necessary for G or D network construction.
Useful f... | 38.163043 | 97 | 0.564227 | 2,176 | 17,555 | 4.439338 | 0.072151 | 0.044099 | 0.050932 | 0.041304 | 0.881574 | 0.87619 | 0.841097 | 0.829607 | 0.774017 | 0.731884 | 0 | 0.038862 | 0.315466 | 17,555 | 459 | 98 | 38.246187 | 0.765 | 0.042381 | 0 | 0.773842 | 0 | 0 | 0.085174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038147 | false | 0 | 0.010899 | 0.00545 | 0.079019 | 0.040872 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2299ab39ae62895b22bd5afe9434785b649ae968 | 6,657 | py | Python | graphtheory/eulerian/tests/test_euler.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 36 | 2015-09-20T20:55:39.000Z | 2021-09-20T05:49:03.000Z | graphtheory/eulerian/tests/test_euler.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 6 | 2016-03-25T21:41:46.000Z | 2020-02-12T03:18:59.000Z | graphtheory/eulerian/tests/test_euler.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 9 | 2016-09-12T07:57:27.000Z | 2022-03-21T16:15:39.000Z | #!/usr/bin/python
import unittest
from graphtheory.structures.edges import Edge
from graphtheory.structures.graphs import Graph
from graphtheory.eulerian.euler import EulerianCycleDFS
from graphtheory.eulerian.euler import EulerianCycleDFSWithEdges
# 0 --- 1 2
# | | / |
# | | / |
# | | / |
# 3 -... | 33.621212 | 76 | 0.57263 | 897 | 6,657 | 4.156076 | 0.071349 | 0.042918 | 0.094421 | 0.021459 | 0.90397 | 0.876341 | 0.873391 | 0.852736 | 0.852736 | 0.852736 | 0 | 0.053053 | 0.286465 | 6,657 | 197 | 77 | 33.791878 | 0.731789 | 0.097942 | 0 | 0.793893 | 0 | 0 | 0.001341 | 0 | 0 | 0 | 0 | 0 | 0.183206 | 1 | 0.152672 | false | 0.030534 | 0.038168 | 0 | 0.221374 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
22e59062122b1df056be0f98fd8bcaec0fef6e1c | 70,618 | py | Python | cogent/src/codes/kernels/tc_code_kernel_load_inputs_details.py | Lcrypto/CGO2019-AE | cba7598b42f10eab655a8907a6db71094c1f558d | [
"BSD-4-Clause"
] | 4 | 2019-12-03T16:08:14.000Z | 2020-08-26T16:38:54.000Z | cogent/src/codes/kernels/tc_code_kernel_load_inputs_details.py | Lcrypto/CGO2019-AE | cba7598b42f10eab655a8907a6db71094c1f558d | [
"BSD-4-Clause"
] | null | null | null | cogent/src/codes/kernels/tc_code_kernel_load_inputs_details.py | Lcrypto/CGO2019-AE | cba7598b42f10eab655a8907a6db71094c1f558d | [
"BSD-4-Clause"
] | 1 | 2020-03-03T20:31:37.000Z | 2020-03-03T20:31:37.000Z | import copy
import src.generators.tc_helper as tc_helper
import src.codes.kernels.tc_code_kernel_load_inputs_abstract as tc_code_kernel_load_inputs_abstract
from inspect import currentframe, getframeinfo
#
# [To-Do] Need to Make a Complete Algorithm about How to Load Inputs
#
def... | 47.909091 | 315 | 0.415192 | 7,500 | 70,618 | 3.5132 | 0.034667 | 0.042772 | 0.0315 | 0.04095 | 0.880489 | 0.843789 | 0.822156 | 0.783331 | 0.767202 | 0.746708 | 0 | 0.023939 | 0.472344 | 70,618 | 1,473 | 316 | 47.941616 | 0.683189 | 0.117775 | 0 | 0.751793 | 0 | 0.007174 | 0.133172 | 0.027159 | 0.008608 | 0 | 0 | 0 | 0 | 1 | 0.002869 | false | 0 | 0.005739 | 0 | 0.008608 | 0.150646 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
22f40930cf1de1d5ab1c34a4615327da66ea0cc3 | 194 | py | Python | tunepy2/learners/factories/__init__.py | efortner/tunepy | 28ab7aa0b851d42cf2a81a5573fb24b261daba89 | [
"MIT"
] | null | null | null | tunepy2/learners/factories/__init__.py | efortner/tunepy | 28ab7aa0b851d42cf2a81a5573fb24b261daba89 | [
"MIT"
] | null | null | null | tunepy2/learners/factories/__init__.py | efortner/tunepy | 28ab7aa0b851d42cf2a81a5573fb24b261daba89 | [
"MIT"
] | null | null | null | from tunepy2.learners.factories.sklearn_mlp_classifier_factory import SklearnMlpClassifierFactory
from tunepy2.learners.factories.sklearn_mlp_regressor_factory import SklearnMlpRegressorFactory
| 64.666667 | 97 | 0.927835 | 20 | 194 | 8.7 | 0.6 | 0.126437 | 0.218391 | 0.321839 | 0.436782 | 0.436782 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.041237 | 194 | 2 | 98 | 97 | 0.924731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a3db2d98904e177f584d6bbb396ccb938f934a28 | 455,611 | py | Python | code/python/ETFProfileandPrices/v2/fds/sdk/ETFProfileandPrices/api/factset_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/ETFProfileandPrices/v2/fds/sdk/ETFProfileandPrices/api/factset_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/ETFProfileandPrices/v2/fds/sdk/ETFProfileandPrices/api/factset_api.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
Prime Developer Trial
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from multiproce... | 48.557071 | 448 | 0.579804 | 50,280 | 455,611 | 5.105131 | 0.011257 | 0.028611 | 0.020663 | 0.020134 | 0.986049 | 0.984834 | 0.975671 | 0.972722 | 0.963609 | 0.953663 | 0 | 0.012182 | 0.356789 | 455,611 | 9,382 | 449 | 48.562247 | 0.863718 | 0.588125 | 0 | 0.745163 | 1 | 0 | 0.176101 | 0.046879 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035132 | false | 0 | 0.010438 | 0 | 0.080448 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a3eb8bb2314cd5308a6d468cbe0d8171b7dc9c18 | 87 | py | Python | echoices/enums/__init__.py | mbourqui/django-echoices | 2912c01d8477329ad2fda4636dfe788adc796cc7 | [
"MIT"
] | 7 | 2017-04-22T11:16:19.000Z | 2018-02-08T07:17:12.000Z | echoices/enums/__init__.py | mbourqui/django-echoices | 2912c01d8477329ad2fda4636dfe788adc796cc7 | [
"MIT"
] | 50 | 2017-04-27T14:27:58.000Z | 2021-08-18T17:17:03.000Z | echoices/enums/__init__.py | mbourqui/django-echoices | 2912c01d8477329ad2fda4636dfe788adc796cc7 | [
"MIT"
] | 1 | 2021-04-01T09:32:38.000Z | 2021-04-01T09:32:38.000Z | from .enums import EChoiceMeta
from .enums import EChoice, EOrderedChoice, EAutoChoice
| 29 | 55 | 0.83908 | 10 | 87 | 7.3 | 0.7 | 0.246575 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 87 | 2 | 56 | 43.5 | 0.948052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
43091087b878dab2d4c9a0df61712f84f0d289c6 | 4,363 | py | Python | pyaz/lab/vm/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/lab/vm/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/lab/vm/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
Manage VMs in an Azure DevTest Lab.
'''
from ... pyaz_utils import _call_az
def show(lab_name, name, resource_group, expand=None):
'''
Required Parameters:
- lab_name -- The name of the lab.
- name -- The name of the virtual machine.
- resource_group -- Name of resource group. You can con... | 31.846715 | 369 | 0.665826 | 580 | 4,363 | 4.867241 | 0.148276 | 0.110521 | 0.035423 | 0.049593 | 0.832802 | 0.807297 | 0.779667 | 0.736805 | 0.736805 | 0.736805 | 0 | 0 | 0.225533 | 4,363 | 136 | 370 | 32.080882 | 0.835454 | 0.606922 | 0 | 0 | 0 | 0 | 0.097579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | false | 0.058824 | 0.058824 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
4aba06a49e2de5e693ef574735a3524795221c12 | 224 | py | Python | Python/8 - kyu/8 kyu - Is he gonna survive.py | danielbom/codewars | d45b5a813c6f1d952a50d22f0b2fcea4ef3d0e27 | [
"MIT"
] | null | null | null | Python/8 - kyu/8 kyu - Is he gonna survive.py | danielbom/codewars | d45b5a813c6f1d952a50d22f0b2fcea4ef3d0e27 | [
"MIT"
] | null | null | null | Python/8 - kyu/8 kyu - Is he gonna survive.py | danielbom/codewars | d45b5a813c6f1d952a50d22f0b2fcea4ef3d0e27 | [
"MIT"
] | null | null | null | # https://www.codewars.com/kata/is-he-gonna-survive/train/python
# My solution
def hero(bullets, dragons):
return bullets - (dragons * 2) >= 0
# ...
def hero(bullets, dragons):
return bullets >= dragons * 2
| 24.888889 | 65 | 0.647321 | 30 | 224 | 4.833333 | 0.666667 | 0.386207 | 0.193103 | 0.289655 | 0.57931 | 0.57931 | 0.57931 | 0.57931 | 0 | 0 | 0 | 0.016667 | 0.196429 | 224 | 8 | 66 | 28 | 0.788889 | 0.348214 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
437d996b065a64cb6ff8d34050b16309ff80db40 | 483,006 | py | Python | pysnmp/DATAFABRIC-MANAGER-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/DATAFABRIC-MANAGER-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/DATAFABRIC-MANAGER-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module DATAFABRIC-MANAGER-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DATAFABRIC-MANAGER-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 18:21:35 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (d... | 927.074856 | 13,728 | 0.758417 | 41,079 | 483,006 | 8.917452 | 0.026802 | 0.387364 | 0.455722 | 0.005219 | 0.888778 | 0.887364 | 0.885884 | 0.885704 | 0.88477 | 0.884601 | 0 | 0.017013 | 0.047254 | 483,006 | 520 | 13,729 | 928.857692 | 0.77902 | 0.0007 | 0 | 0 | 0 | 0 | 0.671694 | 0.466972 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.001953 | 0.013672 | 0 | 0.015625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
43a3c2a3a5e1c51862fcb507ffc3bdcac3a6409e | 95,015 | py | Python | source_dir/accountingpy/accountingpy.py | ahmedelsahouly/accountingpy | 6093cdab053b0eb23d58e83fab2a46d028eed060 | [
"MIT"
] | null | null | null | source_dir/accountingpy/accountingpy.py | ahmedelsahouly/accountingpy | 6093cdab053b0eb23d58e83fab2a46d028eed060 | [
"MIT"
] | null | null | null | source_dir/accountingpy/accountingpy.py | ahmedelsahouly/accountingpy | 6093cdab053b0eb23d58e83fab2a46d028eed060 | [
"MIT"
] | null | null | null | """
Module : accountingpy.py
Author : Ahmed El-sahooly
Version : 0.0.1
about : AccountingPy Module Provides a set Of Interactive
Functions to Compute the Most Time Consuming Accounting Formulas
"""
def sl(*x):
"""Straight Line Depreciation Method"""
cost = float(input("Please Enter the Cost O... | 45.85666 | 212 | 0.555239 | 12,695 | 95,015 | 4.150374 | 0.03781 | 0.090607 | 0.131792 | 0.165006 | 0.982027 | 0.982027 | 0.982027 | 0.982027 | 0.982027 | 0.982027 | 0 | 0.013453 | 0.30451 | 95,015 | 2,072 | 213 | 45.85666 | 0.783875 | 0.008209 | 0 | 0.944316 | 0 | 0.008121 | 0.419489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.00464 | null | null | 0.24478 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
43dc3838b126d4358d33fdcee17fb8e0b0c0d8b6 | 7,995 | py | Python | tests/test_triptranslator.py | niktto/triptranslator | e536fdc6c82335d7127fb29532800cc3b934aca3 | [
"MIT"
] | null | null | null | tests/test_triptranslator.py | niktto/triptranslator | e536fdc6c82335d7127fb29532800cc3b934aca3 | [
"MIT"
] | null | null | null | tests/test_triptranslator.py | niktto/triptranslator | e536fdc6c82335d7127fb29532800cc3b934aca3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_triptranslator
----------------------------------
Tests for `triptranslator` module.
"""
import unittest
from triptranslator import triptranslator
class TestTriptranslator(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
... | 35.691964 | 152 | 0.543089 | 722 | 7,995 | 5.858726 | 0.149584 | 0.053191 | 0.153901 | 0.1513 | 0.828369 | 0.796927 | 0.796927 | 0.781087 | 0.740662 | 0.708038 | 0 | 0.020072 | 0.370607 | 7,995 | 223 | 153 | 35.852018 | 0.820548 | 0.016635 | 0 | 0.78534 | 0 | 0.010471 | 0.251242 | 0 | 0 | 0 | 0 | 0 | 0.031414 | 1 | 0.062827 | false | 0.052356 | 0.010471 | 0.010471 | 0.089005 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
78f98f94cc6ecdbc24757e76e47d816cbb96a1c1 | 3,779 | py | Python | example/myapp/migrations/0001_initial.py | sasriawesome/django_products | a945dbf983748ff558583695c66226d579bfa4a0 | [
"MIT"
] | null | null | null | example/myapp/migrations/0001_initial.py | sasriawesome/django_products | a945dbf983748ff558583695c66226d579bfa4a0 | [
"MIT"
] | 4 | 2021-03-19T01:39:36.000Z | 2021-06-04T22:49:28.000Z | example/myapp/migrations/0001_initial.py | sasriawesome/django_products | a945dbf983748ff558583695c66226d579bfa4a0 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.5 on 2020-04-07 16:08
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('django_products', '0001_initial'),
]
operations = [
migra... | 57.257576 | 201 | 0.633501 | 408 | 3,779 | 5.693627 | 0.169118 | 0.09944 | 0.161429 | 0.167886 | 0.885493 | 0.885493 | 0.869565 | 0.869565 | 0.869565 | 0.816186 | 0 | 0.016792 | 0.227838 | 3,779 | 65 | 202 | 58.138462 | 0.779301 | 0.011908 | 0 | 0.672414 | 1 | 0 | 0.185155 | 0.036977 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.051724 | 0 | 0.12069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6001ac0223c91177fa24051cf023acd0acc2bbfe | 5,154 | py | Python | avrogen/dict_wrapper.py | szczeles/avro_gen | bce34b6f15468e925b9895a32e3167e458d092b0 | [
"Apache-2.0"
] | null | null | null | avrogen/dict_wrapper.py | szczeles/avro_gen | bce34b6f15468e925b9895a32e3167e458d092b0 | [
"Apache-2.0"
] | null | null | null | avrogen/dict_wrapper.py | szczeles/avro_gen | bce34b6f15468e925b9895a32e3167e458d092b0 | [
"Apache-2.0"
] | null | null | null | import six
if six.PY3:
class DictWrapper(dict):
__slots__ = ['_inner_dict']
def __init__(self, inner_dict=None):
super(DictWrapper, self).__init__()
self._inner_dict = {} if inner_dict is None else inner_dict # type: dict
def __getitem__(self, item):
r... | 26.56701 | 85 | 0.58343 | 568 | 5,154 | 4.65669 | 0.110915 | 0.187146 | 0.240832 | 0.308885 | 0.930813 | 0.878639 | 0.878639 | 0.878639 | 0.878639 | 0.878639 | 0 | 0.000286 | 0.321692 | 5,154 | 193 | 86 | 26.704663 | 0.756293 | 0.004075 | 0 | 0.870229 | 0 | 0 | 0.004289 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.465649 | false | 0 | 0.007634 | 0.343511 | 0.847328 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 12 |
6036cf4774702eb3a05cd6a1c4685bbd43911281 | 3,067 | py | Python | tests/test_get_gt_from_sample_info.py | leoisl/vcf_consensus_builder | 1e2f0312810b183edf368b33086475318a779b87 | [
"MIT"
] | null | null | null | tests/test_get_gt_from_sample_info.py | leoisl/vcf_consensus_builder | 1e2f0312810b183edf368b33086475318a779b87 | [
"MIT"
] | null | null | null | tests/test_get_gt_from_sample_info.py | leoisl/vcf_consensus_builder | 1e2f0312810b183edf368b33086475318a779b87 | [
"MIT"
] | null | null | null | import unittest
from vcf_consensus_builder.vcf_consensus_builder_core import get_gt_from_sample_info
class Test_get_gt_from_sample_info(unittest.TestCase):
def test_correct_gt_with_slash(self):
sample_info = "3/3:rest"
actual = get_gt_from_sample_info(sample_info)
expected = 3
self... | 34.460674 | 84 | 0.692533 | 412 | 3,067 | 4.708738 | 0.106796 | 0.226804 | 0.074227 | 0.123711 | 0.91701 | 0.839691 | 0.778866 | 0.778866 | 0.778866 | 0.778866 | 0 | 0.010602 | 0.231171 | 3,067 | 88 | 85 | 34.852273 | 0.812129 | 0 | 0 | 0.575342 | 0 | 0 | 0.039452 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 1 | 0.191781 | false | 0 | 0.027397 | 0 | 0.232877 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
605c5e2e33a9f8d5d3f61b52546433fb0a1d509d | 54,674 | py | Python | tests/tagger/test_co_occurrence_score.py | JungeAlexander/cocosco | 81ba561f6f16b43cfbd1b6d119e042bb640da23d | [
"MIT"
] | 15 | 2018-01-06T19:34:12.000Z | 2021-02-15T21:58:11.000Z | tests/tagger/test_co_occurrence_score.py | JungeAlexander/cocosco | 81ba561f6f16b43cfbd1b6d119e042bb640da23d | [
"MIT"
] | 3 | 2017-11-11T15:46:29.000Z | 2018-11-16T13:14:46.000Z | tests/tagger/test_co_occurrence_score.py | JungeAlexander/cocosco | 81ba561f6f16b43cfbd1b6d119e042bb640da23d | [
"MIT"
] | 2 | 2018-06-10T18:43:14.000Z | 2021-03-11T15:28:17.000Z | import numpy
import pandas
from pandas.util.testing import assert_frame_equal
from pytest import approx
from pytest import raises
import cocoscore.tagger.co_occurrence_score as co_occurrence_score
import cocoscore.tools.data_tools as dt
from cocoscore.ml.distance_scores import polynomial_decay_distance
from cocoscore.... | 61.778531 | 120 | 0.480375 | 5,678 | 54,674 | 4.219443 | 0.031877 | 0.013941 | 0.090116 | 0.061441 | 0.91819 | 0.900284 | 0.880332 | 0.857501 | 0.837132 | 0.820102 | 0 | 0.035443 | 0.427699 | 54,674 | 884 | 121 | 61.848416 | 0.730233 | 0.002049 | 0 | 0.73697 | 0 | 0 | 0.033909 | 0.013142 | 0 | 0 | 0 | 0 | 0.077576 | 1 | 0.050909 | false | 0 | 0.010909 | 0.004848 | 0.088485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6069b98a5511c92329f3c5594f77a1e470a1f057 | 43,070 | py | Python | tests/testflows/extended_precision_data_types/requirements/requirements.py | Srijan0519/ClickHouse | c0e1c42562c48d122a1dad4fea18b060d4805ae3 | [
"Apache-2.0"
] | 3 | 2019-06-27T08:59:08.000Z | 2021-09-03T02:38:02.000Z | tests/testflows/extended_precision_data_types/requirements/requirements.py | Srijan0519/ClickHouse | c0e1c42562c48d122a1dad4fea18b060d4805ae3 | [
"Apache-2.0"
] | 1 | 2021-06-28T15:03:05.000Z | 2021-06-28T15:03:05.000Z | tests/testflows/extended_precision_data_types/requirements/requirements.py | Srijan0519/ClickHouse | c0e1c42562c48d122a1dad4fea18b060d4805ae3 | [
"Apache-2.0"
] | 1 | 2021-07-19T12:07:14.000Z | 2021-07-19T12:07:14.000Z | # These requirements were auto generated
# from software requirements specification (SRS)
# document by TestFlows v1.6.210505.1133630.
# Do not edit by hand but re-generate instead
# using 'tfs requirements generate' command.
from testflows.core import Specification
from testflows.core import Requirement
Heading = Spe... | 30.245787 | 171 | 0.67785 | 4,992 | 43,070 | 5.754207 | 0.069912 | 0.132567 | 0.17765 | 0.116554 | 0.809225 | 0.788129 | 0.767554 | 0.754708 | 0.704822 | 0.57396 | 0 | 0.059035 | 0.190991 | 43,070 | 1,423 | 172 | 30.267041 | 0.765354 | 0.004992 | 0 | 0.579905 | 1 | 0.048259 | 0.627949 | 0.236925 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001582 | 0 | 0.001582 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
60ee3927a07acf16d3850d1064ef44a8ca24fa0b | 190 | py | Python | InterfaceMethodsPython/helpReader.py | jonyzp/parallelGames | ba9895971dcf0c6e77a0738113ffae3a01596e6e | [
"Apache-2.0"
] | null | null | null | InterfaceMethodsPython/helpReader.py | jonyzp/parallelGames | ba9895971dcf0c6e77a0738113ffae3a01596e6e | [
"Apache-2.0"
] | null | null | null | InterfaceMethodsPython/helpReader.py | jonyzp/parallelGames | ba9895971dcf0c6e77a0738113ffae3a01596e6e | [
"Apache-2.0"
] | null | null | null | file = open("/Users/marcossierra/Dropbox/Eafit/Semestre6/AnalisisNumerico/Proyecto/parallelGames/InterfaceMethodsPython/Ayudas.txt",'r')
lines = file.readlines()
for i in lines:
print i
| 38 | 136 | 0.789474 | 23 | 190 | 6.521739 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.084211 | 190 | 4 | 137 | 47.5 | 0.856322 | 0 | 0 | 0 | 0 | 0.25 | 0.621053 | 0.615789 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 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 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
60f1bd9974500b1fca8c5318bf4bcf70306f17ee | 109 | py | Python | prod/frontend/models/__init__.py | frederikgram/describe | 5c21edcf9b35811d34a9446eda34d5a92974c8e9 | [
"MIT"
] | 2 | 2021-03-05T20:49:08.000Z | 2021-03-10T01:32:19.000Z | prod/frontend/models/__init__.py | frederikgram/describe | 5c21edcf9b35811d34a9446eda34d5a92974c8e9 | [
"MIT"
] | 1 | 2020-03-24T19:54:42.000Z | 2020-03-24T19:54:42.000Z | prod/frontend/models/__init__.py | frederikgram/describe | 5c21edcf9b35811d34a9446eda34d5a92974c8e9 | [
"MIT"
] | null | null | null | """ """
from .database_management import *
from .database_queries import *
from .database_updaters import *
| 18.166667 | 34 | 0.752294 | 12 | 109 | 6.583333 | 0.5 | 0.455696 | 0.455696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 5 | 35 | 21.8 | 0.840426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e0a20ebd431e5ed6f728022105721db4f0143a1b | 50,336 | py | Python | pypureclient/flashblade/FB_2_0/api/file_system_replica_links_api.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 14 | 2018-12-07T18:30:27.000Z | 2022-02-22T09:12:33.000Z | pypureclient/flashblade/FB_2_0/api/file_system_replica_links_api.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 28 | 2019-09-17T21:03:52.000Z | 2022-03-29T22:07:35.000Z | pypureclient/flashblade/FB_2_0/api/file_system_replica_links_api.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 15 | 2020-06-11T15:50:08.000Z | 2022-03-21T09:27:25.000Z | # coding: utf-8
"""
FlashBlade REST API Client
A lightweight client for FlashBlade REST API 2.0, developed by Pure Storage, Inc. (http://www.purestorage.com/).
OpenAPI spec version: 2.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
... | 57.526857 | 449 | 0.668647 | 6,660 | 50,336 | 4.827177 | 0.04009 | 0.069987 | 0.055989 | 0.033594 | 0.950823 | 0.940962 | 0.938318 | 0.931506 | 0.930418 | 0.928583 | 0 | 0.001913 | 0.252205 | 50,336 | 874 | 450 | 57.592677 | 0.852182 | 0.410561 | 0 | 0.912397 | 0 | 0.009917 | 0.175075 | 0.074775 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01157 | false | 0 | 0.008264 | 0 | 0.031405 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e0cdeefd05e6018f8b97754466a732140b265a3b | 1,132 | py | Python | setup.py | saparina/SeaRNN-open | d0703b4f9e6f03020d70185270672f6d7649003e | [
"MIT"
] | 47 | 2018-01-30T15:56:32.000Z | 2021-04-14T16:41:19.000Z | setup.py | saparina/SeaRNN-open | d0703b4f9e6f03020d70185270672f6d7649003e | [
"MIT"
] | 6 | 2018-06-16T13:52:17.000Z | 2020-07-01T10:01:32.000Z | setup.py | saparina/SeaRNN-open | d0703b4f9e6f03020d70185270672f6d7649003e | [
"MIT"
] | 9 | 2018-01-30T16:26:39.000Z | 2018-08-15T02:45:31.000Z | import numpy
from distutils.core import setup
from Cython.Build import cythonize
setup(
ext_modules=cythonize("cython/fast_bleu.pyx"),
include_dirs=[numpy.get_include()]
)
setup(
ext_modules=cythonize("cython/fast_bleu1.pyx"),
include_dirs=[numpy.get_include()]
)
setup(
ext_modules=cythonize("cy... | 22.196078 | 92 | 0.767668 | 153 | 1,132 | 5.287582 | 0.169935 | 0.088999 | 0.166873 | 0.266996 | 0.888752 | 0.888752 | 0.888752 | 0.793572 | 0.793572 | 0.793572 | 0 | 0.002956 | 0.103357 | 1,132 | 50 | 93 | 22.64 | 0.794089 | 0 | 0 | 0.461538 | 0 | 0 | 0.301237 | 0.265901 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.076923 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1ccc2873e638c3fabfc2be5594a95d9e011ba3ff | 12,389 | py | Python | zhaquirks/tuya/ts0601_switch.py | Siglis-AG/zha-device-handlers | 2e8d6a117fbc1bec50cad463a8a2dcf948588838 | [
"Apache-2.0"
] | 56 | 2018-12-07T19:45:36.000Z | 2020-03-30T15:01:58.000Z | zhaquirks/tuya/ts0601_switch.py | Siglis-AG/zha-device-handlers | 2e8d6a117fbc1bec50cad463a8a2dcf948588838 | [
"Apache-2.0"
] | 207 | 2018-12-07T20:34:30.000Z | 2020-04-03T11:50:39.000Z | zhaquirks/tuya/ts0601_switch.py | Siglis-AG/zha-device-handlers | 2e8d6a117fbc1bec50cad463a8a2dcf948588838 | [
"Apache-2.0"
] | 65 | 2018-12-08T01:11:41.000Z | 2020-03-24T18:23:17.000Z | """Tuya DP based switches."""
from zigpy.profiles import zha
from zigpy.zcl.clusters.general import Basic, Groups, Ota, Scenes, Time
from zhaquirks.const import (
DEVICE_TYPE,
ENDPOINTS,
INPUT_CLUSTERS,
MODELS_INFO,
OUTPUT_CLUSTERS,
PROFILE_ID,
)
from zhaquirks.tuya import TuyaSwitch
from zhaqu... | 33.037333 | 140 | 0.487206 | 1,017 | 12,389 | 5.623402 | 0.126844 | 0.103864 | 0.052282 | 0.092499 | 0.849624 | 0.846127 | 0.840532 | 0.820948 | 0.790523 | 0.790523 | 0 | 0.056316 | 0.428122 | 12,389 | 374 | 141 | 33.125668 | 0.7506 | 0.171765 | 0 | 0.741325 | 0 | 0 | 0.030208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015773 | 0 | 0.072555 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1ce708963c0c58c3ecd82256067445ef1317718a | 108 | py | Python | platform/hwconf_data/bgm13/PythonSnippet/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | null | null | null | platform/hwconf_data/bgm13/PythonSnippet/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T02:36:22.000Z | 2020-08-25T02:36:22.000Z | platform/hwconf_data/bgm13/PythonSnippet/__init__.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T01:56:04.000Z | 2020-08-25T01:56:04.000Z | from bgm13.halconfig import halconfig_types as types
from bgm13.halconfig import halconfig_dependency as dep | 54 | 55 | 0.87963 | 16 | 108 | 5.8125 | 0.5 | 0.193548 | 0.387097 | 0.516129 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0.101852 | 108 | 2 | 55 | 54 | 0.917526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e8117c5d4f937f519dde6883a9f6ee64815c9d94 | 217,846 | py | Python | dohq_teamcity/api/build_api.py | DenKoren/teamcity | 69acb4d1402c316129b4602882a9cce2d55cf926 | [
"MIT"
] | 23 | 2018-10-19T07:28:45.000Z | 2021-11-12T12:46:09.000Z | dohq_teamcity/api/build_api.py | DenKoren/teamcity | 69acb4d1402c316129b4602882a9cce2d55cf926 | [
"MIT"
] | 31 | 2018-10-16T05:53:11.000Z | 2021-09-09T14:44:14.000Z | dohq_teamcity/api/build_api.py | DenKoren/teamcity | 69acb4d1402c316129b4602882a9cce2d55cf926 | [
"MIT"
] | 12 | 2018-10-28T23:00:17.000Z | 2021-09-07T12:07:13.000Z | # coding: utf-8
"""
TeamCity REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2018.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
fro... | 40.589901 | 224 | 0.606259 | 24,391 | 217,846 | 5.127465 | 0.010742 | 0.081558 | 0.034398 | 0.029937 | 0.981601 | 0.975676 | 0.971239 | 0.964586 | 0.960668 | 0.958597 | 0 | 0.014708 | 0.299969 | 217,846 | 5,366 | 225 | 40.597466 | 0.805389 | 0.276953 | 0 | 0.824556 | 1 | 0 | 0.211043 | 0.047859 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033926 | false | 0 | 0.005816 | 0 | 0.090792 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1c0d8e059bdb20ed411c9b787c46daf111d14372 | 66,951 | py | Python | pint_xarray/tests/test_accessors.py | TomNicholas/pint-xarray | 6ee1bf9aff0c6bef51bde2ecf6a62660a9ed6f39 | [
"Apache-2.0"
] | 7 | 2020-04-08T13:50:22.000Z | 2020-06-13T03:58:06.000Z | pint_xarray/tests/test_accessors.py | TomNicholas/pint-xarray | 6ee1bf9aff0c6bef51bde2ecf6a62660a9ed6f39 | [
"Apache-2.0"
] | 11 | 2020-04-08T14:10:49.000Z | 2020-07-08T16:09:22.000Z | pint_xarray/tests/test_accessors.py | TomNicholas/pint-xarray | 6ee1bf9aff0c6bef51bde2ecf6a62660a9ed6f39 | [
"Apache-2.0"
] | 2 | 2020-04-08T13:50:29.000Z | 2020-04-08T14:08:20.000Z | import numpy as np
import pint
import pytest
import xarray as xr
from numpy.testing import assert_array_equal
from pint import Unit, UnitRegistry
from .. import accessors, conversion
from .utils import (
assert_equal,
assert_identical,
assert_units_equal,
raises_regex,
requires_bottleneck,
requ... | 34.123853 | 88 | 0.381966 | 6,595 | 66,951 | 3.788931 | 0.03533 | 0.10325 | 0.128702 | 0.164719 | 0.885505 | 0.859733 | 0.829638 | 0.808708 | 0.797503 | 0.77073 | 0 | 0.051212 | 0.427477 | 66,951 | 1,961 | 89 | 34.141254 | 0.600689 | 0.003869 | 0 | 0.730542 | 0 | 0 | 0.079628 | 0.004814 | 0 | 0 | 0 | 0.00051 | 0.037574 | 1 | 0.025228 | false | 0.001074 | 0.004294 | 0 | 0.034353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1c10bed209282eda1f1b6b7379cdbecacf4ebe0a | 298 | py | Python | frontend/Akina/Akina/captcha.py | Yveh/Akina | 2bf66c749f31905a62d1028dcaf4908981f0e090 | [
"MIT"
] | null | null | null | frontend/Akina/Akina/captcha.py | Yveh/Akina | 2bf66c749f31905a62d1028dcaf4908981f0e090 | [
"MIT"
] | null | null | null | frontend/Akina/Akina/captcha.py | Yveh/Akina | 2bf66c749f31905a62d1028dcaf4908981f0e090 | [
"MIT"
] | null | null | null | import random
def generate_captcha():
x = (random.randint(1, 5) * 2, random.randint(1, 5), random.randint(1, 5))
return (x, '$\\int_0^{{ {0} }} {1} x + {2} \\, dx$'.format(str(x[0]), str(x[1]), str(x[2])))
def get_captcha_ans(x):
return float(x[0] * x[2] + 0.5 * x[0] * x[0] * x[1])
| 29.8 | 96 | 0.533557 | 57 | 298 | 2.719298 | 0.333333 | 0.051613 | 0.270968 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086777 | 0.187919 | 298 | 9 | 97 | 33.111111 | 0.553719 | 0 | 0 | 0 | 1 | 0 | 0.127946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
1c52aadf4ba4bc290f3ff0f1a9f12d5f2e49b5ce | 72 | py | Python | venv/Lib/site-packages/pygame/__pyinstaller/__init__.py | unbun/snake.ai | 0c017357608dc7c06af0ca3ca57d870641461207 | [
"MIT"
] | 824 | 2016-01-07T19:27:57.000Z | 2020-08-01T03:15:47.000Z | venv/Lib/site-packages/pygame/__pyinstaller/__init__.py | unbun/snake.ai | 0c017357608dc7c06af0ca3ca57d870641461207 | [
"MIT"
] | 646 | 2016-01-08T02:42:31.000Z | 2020-08-03T14:13:27.000Z | venv/Lib/site-packages/pygame/__pyinstaller/__init__.py | unbun/snake.ai | 0c017357608dc7c06af0ca3ca57d870641461207 | [
"MIT"
] | 221 | 2016-01-07T22:36:33.000Z | 2020-07-24T23:30:08.000Z | import os
def get_hook_dirs():
return [os.path.dirname(__file__)]
| 12 | 38 | 0.708333 | 11 | 72 | 4.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 5 | 39 | 14.4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
1c550d9d5f400f5db7d8b1b4909b71e4269e43de | 42,008 | py | Python | Framework/LanguageSupport/thrift/gen-py/MMIStandard/services/MMIServiceBase.py | FG-92/MOSIM_Core | abc32fd0d2213859b11b6d41193d5d7f760e4104 | [
"MIT"
] | 19 | 2020-11-30T09:29:11.000Z | 2021-12-10T06:10:11.000Z | Framework/LanguageSupport/thrift/gen-py/MMIStandard/services/MMIServiceBase.py | FG-92/MOSIM_Core | abc32fd0d2213859b11b6d41193d5d7f760e4104 | [
"MIT"
] | null | null | null | Framework/LanguageSupport/thrift/gen-py/MMIStandard/services/MMIServiceBase.py | FG-92/MOSIM_Core | abc32fd0d2213859b11b6d41193d5d7f760e4104 | [
"MIT"
] | 6 | 2021-01-20T01:46:37.000Z | 2021-09-28T10:22:14.000Z | #
# Autogenerated by Thrift Compiler (0.13.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
from thrift.TRecursive impo... | 34.919368 | 134 | 0.597196 | 4,383 | 42,008 | 5.485969 | 0.051791 | 0.013724 | 0.024704 | 0.011978 | 0.840383 | 0.815138 | 0.783281 | 0.76989 | 0.765398 | 0.765398 | 0 | 0.010754 | 0.2983 | 42,008 | 1,202 | 135 | 34.948419 | 0.804967 | 0.015926 | 0 | 0.768577 | 1 | 0 | 0.036509 | 0.000514 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123142 | false | 0.006369 | 0.008493 | 0.038217 | 0.238854 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1c567fdb40b7740e932eef8654a83fea5aa1b51c | 170 | py | Python | GenerIter/app/clep_categorise.py | GridPresence/GenerIter | f0b74cd6c1d1bb9a23fccb28fa8b972f9eeccaf8 | [
"MIT"
] | 7 | 2021-01-07T19:03:10.000Z | 2021-03-05T08:05:17.000Z | GenerIter/app/clep_categorise.py | GridPresence/GenerIter | f0b74cd6c1d1bb9a23fccb28fa8b972f9eeccaf8 | [
"MIT"
] | 2 | 2021-01-26T12:45:58.000Z | 2021-02-15T11:06:14.000Z | GenerIter/app/clep_categorise.py | GridPresence/GenerIter | f0b74cd6c1d1bb9a23fccb28fa8b972f9eeccaf8 | [
"MIT"
] | 1 | 2021-01-24T05:21:28.000Z | 2021-01-24T05:21:28.000Z | from GenerIter.app.categorise import Categorise
def main():
"""The Command Line Entry Point for the packaged GenerIter.app.categorise app."""
app = Categorise()
| 28.333333 | 85 | 0.735294 | 22 | 170 | 5.681818 | 0.636364 | 0.312 | 0.352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 170 | 5 | 86 | 34 | 0.880282 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
98c421a57dd4403d4627ebb753fd6fede207b49c | 3,435 | py | Python | tests/test_datas.py | MarcJavin/ODYNN | 8187b8db71c8621d17bce94749aecc0a81f11e10 | [
"MIT"
] | 1 | 2019-01-08T15:55:29.000Z | 2019-01-08T15:55:29.000Z | tests/test_datas.py | MarcusJP/ODYNN | 8187b8db71c8621d17bce94749aecc0a81f11e10 | [
"MIT"
] | 7 | 2019-12-16T21:03:57.000Z | 2022-02-10T00:01:22.000Z | tests/test_datas.py | MarcusJP/ODYNN | 8187b8db71c8621d17bce94749aecc0a81f11e10 | [
"MIT"
] | 2 | 2019-11-23T10:21:09.000Z | 2019-12-13T16:02:46.000Z | from unittest import TestCase
from odynn import datas
class TestDatas(TestCase):
def test_check_alpha(self):
datas.check_alpha(show=False)
def test_get_real_data_norm(self):
train, test = datas.get_real_data_norm()
self.assertEqual(train[0][1] - train[0][0], test[0][1] - test[0][0])
... | 35.78125 | 76 | 0.57147 | 567 | 3,435 | 3.37037 | 0.093474 | 0.400314 | 0.167452 | 0.142334 | 0.88854 | 0.84877 | 0.829409 | 0.787546 | 0.787546 | 0.787546 | 0 | 0.090272 | 0.25182 | 3,435 | 96 | 77 | 35.78125 | 0.653307 | 0 | 0 | 0.691358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 1 | 0.08642 | false | 0 | 0.024691 | 0 | 0.123457 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
98f22b914587bb085e5b9cdd2f2b702aee355a50 | 169 | py | Python | tests/test_snek.py | lucis-fluxum/snek | 3579edfb39f3e590a45e176e2181636f5e486ece | [
"MIT"
] | null | null | null | tests/test_snek.py | lucis-fluxum/snek | 3579edfb39f3e590a45e176e2181636f5e486ece | [
"MIT"
] | null | null | null | tests/test_snek.py | lucis-fluxum/snek | 3579edfb39f3e590a45e176e2181636f5e486ece | [
"MIT"
] | null | null | null | from snek import __version__
def test_version():
assert __version__ == '0.1.0'
# fetches dependencies with valid markers
# fetches dependencies with valid extras
| 18.777778 | 41 | 0.763314 | 22 | 169 | 5.454545 | 0.681818 | 0.316667 | 0.383333 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021429 | 0.171598 | 169 | 8 | 42 | 21.125 | 0.835714 | 0.461538 | 0 | 0 | 0 | 0 | 0.056818 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
c72bfc15e6d93e0abba1c641d21bd805206ef353 | 3,205 | py | Python | collision_handler.py | accelthreat/TankWarz | 4b9b8a3783dfa24551c8e39b84000ec0a6d78d77 | [
"Apache-2.0"
] | 1 | 2019-09-19T13:15:20.000Z | 2019-09-19T13:15:20.000Z | collision_handler.py | accelthreat/TankWarz | 4b9b8a3783dfa24551c8e39b84000ec0a6d78d77 | [
"Apache-2.0"
] | null | null | null | collision_handler.py | accelthreat/TankWarz | 4b9b8a3783dfa24551c8e39b84000ec0a6d78d77 | [
"Apache-2.0"
] | null | null | null | import pymunk
import legume
from constants import Coll_Type
from shared import TankHit
from shared import ProjectileDestroy
class Collision_Handler:
def initialize_handler(space, tanks, projectiles):
projectile_tank_handler = space.add_collision_handler(Coll_Type.TANK, Coll_Type.PROJECTILE)
project... | 44.513889 | 113 | 0.627457 | 318 | 3,205 | 6.147799 | 0.188679 | 0.036829 | 0.042967 | 0.049105 | 0.822506 | 0.822506 | 0.822506 | 0.822506 | 0.764194 | 0.764194 | 0 | 0.004029 | 0.302964 | 3,205 | 72 | 114 | 44.513889 | 0.871083 | 0 | 0 | 0.730159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.079365 | 0 | 0.269841 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c734eb2dc9d9dbec1e00b3164b20b5be36c5e872 | 66,659 | py | Python | libs/PureCloudPlatformClientV2/apis/language_understanding_api.py | rocketbot-cl/genesysCloud | dd9d9b5ebb90a82bab98c0d88b9585c22c91f333 | [
"MIT"
] | 1 | 2021-10-08T20:46:45.000Z | 2021-10-08T20:46:45.000Z | libs/PureCloudPlatformClientV2/apis/language_understanding_api.py | rocketbot-cl/genesysCloud | dd9d9b5ebb90a82bab98c0d88b9585c22c91f333 | [
"MIT"
] | null | null | null | libs/PureCloudPlatformClientV2/apis/language_understanding_api.py | rocketbot-cl/genesysCloud | dd9d9b5ebb90a82bab98c0d88b9585c22c91f333 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
LanguageUnderstandingApi.py
Copyright 2016 SmartBear Software
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
Unl... | 42.162555 | 183 | 0.573891 | 6,633 | 66,659 | 5.553294 | 0.042364 | 0.03475 | 0.028506 | 0.032469 | 0.929768 | 0.920619 | 0.913941 | 0.910086 | 0.90528 | 0.893932 | 0 | 0.000847 | 0.34462 | 66,659 | 1,580 | 184 | 42.189241 | 0.84231 | 0.25953 | 0 | 0.840476 | 0 | 0 | 0.235528 | 0.074916 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022619 | false | 0 | 0.008333 | 0 | 0.053571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c792a32c630cde28805fd69c8edec7fbd4f6c86f | 228 | py | Python | scale_client/sensors/dummy/dummy_threaded_sensor.py | prav33nv/scale_client | dcbd6ed4c8f4a27606ebef5b5f9dabb2e4f3b806 | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2018-05-24T00:59:05.000Z | 2020-01-03T08:03:33.000Z | scale_client/sensors/dummy/dummy_threaded_sensor.py | prav33nv/scale_client | dcbd6ed4c8f4a27606ebef5b5f9dabb2e4f3b806 | [
"BSD-2-Clause-FreeBSD"
] | 26 | 2015-01-19T22:47:07.000Z | 2017-05-03T01:43:10.000Z | scale_client/sensors/dummy/dummy_threaded_sensor.py | prav33nv/scale_client | dcbd6ed4c8f4a27606ebef5b5f9dabb2e4f3b806 | [
"BSD-2-Clause-FreeBSD"
] | 6 | 2015-01-20T20:05:09.000Z | 2017-06-01T02:19:01.000Z | from ..threaded_virtual_sensor import ThreadedVirtualSensor
class DummyThreadedSensor(ThreadedVirtualSensor):
def read_raw(self):
return "dummy_thread_reading"
def get_type(self):
return "dummy_thread" | 25.333333 | 59 | 0.758772 | 24 | 228 | 6.916667 | 0.75 | 0.120482 | 0.180723 | 0.253012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 228 | 9 | 60 | 25.333333 | 0.882979 | 0 | 0 | 0 | 0 | 0 | 0.139738 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
40411bed90a5a6b53730be361ff83687672786bc | 3,653 | py | Python | tests/fixers/test_signal_providing_args.py | matthiask/django-upgrade | f8e2a50e4830a00ef89beb4758bb90e7bb75ab0b | [
"MIT"
] | null | null | null | tests/fixers/test_signal_providing_args.py | matthiask/django-upgrade | f8e2a50e4830a00ef89beb4758bb90e7bb75ab0b | [
"MIT"
] | null | null | null | tests/fixers/test_signal_providing_args.py | matthiask/django-upgrade | f8e2a50e4830a00ef89beb4758bb90e7bb75ab0b | [
"MIT"
] | null | null | null | from django_upgrade.data import Settings
from tests.fixers.tools import check_noop, check_transformed
settings = Settings(target_version=(3, 1))
def test_no_deprecated_arg():
check_noop(
"""\
from django.dispatch import Signal
Signal(use_caching=True)
""",
settings,
)
... | 21.362573 | 70 | 0.520668 | 318 | 3,653 | 5.745283 | 0.141509 | 0.120416 | 0.187192 | 0.249589 | 0.875205 | 0.854953 | 0.810619 | 0.753695 | 0.701149 | 0.638205 | 0 | 0.000865 | 0.367096 | 3,653 | 170 | 71 | 21.488235 | 0.78936 | 0 | 0 | 0.308824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161765 | false | 0 | 0.044118 | 0 | 0.205882 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4061ccbed0d7a3c16c41418858894002847e8bc1 | 2,614 | py | Python | tests/rulelistmodel/gaussianmodel/test_gaussiantarget.py | HMProenca/RuleList | 4e500c3a9813aadb149286458f11460904fd15d4 | [
"MIT"
] | 8 | 2021-02-23T10:57:29.000Z | 2022-03-15T10:29:08.000Z | tests/rulelistmodel/gaussianmodel/test_gaussiantarget.py | HMProenca/RuleList | 4e500c3a9813aadb149286458f11460904fd15d4 | [
"MIT"
] | 3 | 2021-02-26T21:54:24.000Z | 2021-06-09T13:28:10.000Z | tests/rulelistmodel/gaussianmodel/test_gaussiantarget.py | HMProenca/RuleList | 4e500c3a9813aadb149286458f11460904fd15d4 | [
"MIT"
] | 2 | 2021-02-26T21:32:22.000Z | 2021-11-01T09:32:38.000Z | import numpy as np
import pandas as pd
from gmpy2 import bit_mask
from rulelist.rulelistmodel.gaussianmodel.gaussiantarget import GaussianTargets
class TestGaussianTargets(object):
def test_onetarget(self):
dictoutput = {"target1": np.arange(100)}
input_target_data = pd.DataFrame(data=dictoutput)... | 44.305085 | 96 | 0.745983 | 303 | 2,614 | 6.085809 | 0.178218 | 0.204989 | 0.102495 | 0.087852 | 0.856833 | 0.856833 | 0.823753 | 0.785792 | 0.785792 | 0.785792 | 0 | 0.020853 | 0.174445 | 2,614 | 59 | 97 | 44.305085 | 0.833642 | 0 | 0 | 0.590909 | 0 | 0 | 0.010707 | 0 | 0 | 0 | 0 | 0 | 0.340909 | 1 | 0.068182 | false | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
40992c9f60f13e277f2b37561151ac35798a53ea | 336,807 | py | Python | pysnmp/CPQHSV110V3-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/CPQHSV110V3-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/CPQHSV110V3-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module CPQHSV110V3-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CPQHSV110V3-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 18:11:47 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27... | 273.160584 | 10,293 | 0.741742 | 34,862 | 336,807 | 7.05103 | 0.061012 | 0.261475 | 0.014072 | 0.018746 | 0.772465 | 0.768373 | 0.766038 | 0.763259 | 0.75998 | 0.674252 | 0 | 0.163935 | 0.067038 | 336,807 | 1,232 | 10,294 | 273.382305 | 0.618341 | 0.000962 | 0 | 0 | 0 | 0 | 0.401024 | 0.050747 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004898 | 0 | 0.004898 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.