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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a1c4d6b793161dc88a0aeba519f4195516fedd99 | 8,976 | py | Python | tests/core/tests/api.py | mdornseif/django-tastypie | b898311e9ff1f6a096d3c05c9843dbae5b5fcf4a | [
"BSD-3-Clause"
] | null | null | null | tests/core/tests/api.py | mdornseif/django-tastypie | b898311e9ff1f6a096d3c05c9843dbae5b5fcf4a | [
"BSD-3-Clause"
] | null | null | null | tests/core/tests/api.py | mdornseif/django-tastypie | b898311e9ff1f6a096d3c05c9843dbae5b5fcf4a | [
"BSD-3-Clause"
] | null | null | null | from django.contrib.auth.models import User
from django.http import HttpRequest
from django.test import TestCase
import tastypie
from tastypie.api import Api
from tastypie.exceptions import NotRegistered, URLReverseError
from tastypie.resources import Resource
from tastypie.representations.models import ModelRepresenta... | 49.318681 | 336 | 0.674577 | 962 | 8,976 | 6.113306 | 0.092516 | 0.196395 | 0.117837 | 0.13059 | 0.780309 | 0.779459 | 0.755654 | 0.745621 | 0.708043 | 0.692909 | 0 | 0.008431 | 0.180704 | 8,976 | 181 | 337 | 49.59116 | 0.79127 | 0 | 0 | 0.653061 | 0 | 0 | 0.122326 | 0 | 0 | 0 | 0 | 0 | 0.537415 | 1 | 0.040816 | false | 0 | 0.061224 | 0 | 0.183673 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1ed5905e2ab9144c6509063d86be297552c252f | 42 | py | Python | dashboard/__init__.py | lipopo/micromanager | 1e362a71c0ec72115b617f6bf0c3b69e5ae88745 | [
"MIT"
] | null | null | null | dashboard/__init__.py | lipopo/micromanager | 1e362a71c0ec72115b617f6bf0c3b69e5ae88745 | [
"MIT"
] | null | null | null | dashboard/__init__.py | lipopo/micromanager | 1e362a71c0ec72115b617f6bf0c3b69e5ae88745 | [
"MIT"
] | null | null | null | from dashboard.app import app as dash_app
| 21 | 41 | 0.833333 | 8 | 42 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 1 | 42 | 42 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b809c403559988162994782ecff64095a0920dd9 | 19,247 | py | Python | sdk/python/pulumi_aws_native/ec2/vpc.py | pulumi/pulumi-aws-native | 1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3 | [
"Apache-2.0"
] | 29 | 2021-09-30T19:32:07.000Z | 2022-03-22T21:06:08.000Z | sdk/python/pulumi_aws_native/ec2/vpc.py | pulumi/pulumi-aws-native | 1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3 | [
"Apache-2.0"
] | 232 | 2021-09-30T19:26:26.000Z | 2022-03-31T23:22:06.000Z | sdk/python/pulumi_aws_native/ec2/vpc.py | pulumi/pulumi-aws-native | 1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3 | [
"Apache-2.0"
] | 4 | 2021-11-10T19:42:01.000Z | 2022-02-05T10:15:49.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from... | 51.739247 | 432 | 0.676469 | 2,452 | 19,247 | 5.070147 | 0.088907 | 0.052204 | 0.053491 | 0.029038 | 0.828588 | 0.787806 | 0.741876 | 0.70777 | 0.665943 | 0.625563 | 0 | 0.007556 | 0.236764 | 19,247 | 371 | 433 | 51.878706 | 0.838734 | 0.40318 | 0 | 0.433962 | 1 | 0 | 0.130717 | 0.014681 | 0 | 0 | 0 | 0 | 0 | 1 | 0.150943 | false | 0.004717 | 0.033019 | 0 | 0.287736 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
62c4f61e5cfc08612a67defa6a030b9b8b2071e5 | 21 | py | Python | deploy/__init__.py | roman-st/DeployTool | af6bda37ef84f06358c875f4d07609287432c4f3 | [
"MIT"
] | null | null | null | deploy/__init__.py | roman-st/DeployTool | af6bda37ef84f06358c875f4d07609287432c4f3 | [
"MIT"
] | null | null | null | deploy/__init__.py | roman-st/DeployTool | af6bda37ef84f06358c875f4d07609287432c4f3 | [
"MIT"
] | null | null | null | from install import * | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62ce7369c23f84ff1d60c81c0e79974bd57a010c | 2,160 | py | Python | epytope/Data/pssms/tepitopepan/mat/DRB1_1315_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/tepitopepan/mat/DRB1_1315_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/tepitopepan/mat/DRB1_1315_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | DRB1_1315_9 = {0: {'A': -999.0, 'E': -999.0, 'D': -999.0, 'G': -999.0, 'F': -0.98558, 'I': -0.014418, 'H': -999.0, 'K': -999.0, 'M': -0.014418, 'L': -0.014418, 'N': -999.0, 'Q': -999.0, 'P': -999.0, 'S': -999.0, 'R': -999.0, 'T': -999.0, 'W': -0.98558, 'V': -0.014418, 'Y': -0.98558}, 1: {'A': 0.0, 'E': 0.1, 'D': -1.3, ... | 2,160 | 2,160 | 0.397685 | 525 | 2,160 | 1.632381 | 0.201905 | 0.114352 | 0.028005 | 0.03734 | 0.224037 | 0.142357 | 0.142357 | 0.142357 | 0.133022 | 0.133022 | 0 | 0.377765 | 0.162963 | 2,160 | 1 | 2,160 | 2,160 | 0.096239 | 0 | 0 | 0 | 0 | 0 | 0.07913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1a079d8f7ac08025b1c1ce53e870d3c5b5b8f98b | 14,274 | py | Python | pybind/slxos/v16r_1_00b/mpls_config/router/mpls/mpls_cmds_holder/ldp/ldp_holder/ldp_session/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_config/router/mpls/mpls_cmds_holder/ldp/ldp_holder/ldp_session/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_config/router/mpls/mpls_cmds_holder/ldp/ldp_holder/ldp_session/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 72.090909 | 632 | 0.722573 | 2,177 | 14,274 | 4.479559 | 0.095544 | 0.088187 | 0.034454 | 0.04676 | 0.813884 | 0.764766 | 0.735952 | 0.728261 | 0.724774 | 0.710931 | 0 | 0.016514 | 0.126103 | 14,274 | 197 | 633 | 72.456853 | 0.765272 | 0.143688 | 0 | 0.393939 | 0 | 0.045455 | 0.370524 | 0.162052 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.060606 | 0 | 0.280303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1a292474494a0a721881b6607065ecd828951e8e | 61 | py | Python | unit_test/__init__.py | Renata1995/Topic-Distance-and-Coherence | d567d5b3ef71ea5654f214aa3736add7f3ac94bc | [
"Apache-2.0"
] | 5 | 2018-08-25T07:16:31.000Z | 2020-11-12T00:36:15.000Z | unit_test/__init__.py | Renata1995/Topic-Distance-and-Coherence | d567d5b3ef71ea5654f214aa3736add7f3ac94bc | [
"Apache-2.0"
] | 1 | 2018-09-24T16:17:47.000Z | 2018-09-24T16:17:47.000Z | unit_test/__init__.py | Renata1995/Topic-Distance-and-Coherence | d567d5b3ef71ea5654f214aa3736add7f3ac94bc | [
"Apache-2.0"
] | 4 | 2018-05-07T07:52:10.000Z | 2020-11-12T00:36:18.000Z | """
Unit Tests
"""
def test_dir():
return "test_data"
| 6.777778 | 22 | 0.57377 | 8 | 61 | 4.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245902 | 61 | 8 | 23 | 7.625 | 0.717391 | 0.163934 | 0 | 0 | 0 | 0 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
a7e7f4ceab2f7cd795371ce1b30ea6c23301d016 | 35 | py | Python | descriptive_dp/__init__.py | hsfzxjy/Generic_DP | 290d0fa0f5e7fe221b65dc478ebac1e58f0f2e92 | [
"MIT"
] | null | null | null | descriptive_dp/__init__.py | hsfzxjy/Generic_DP | 290d0fa0f5e7fe221b65dc478ebac1e58f0f2e92 | [
"MIT"
] | null | null | null | descriptive_dp/__init__.py | hsfzxjy/Generic_DP | 290d0fa0f5e7fe221b65dc478ebac1e58f0f2e92 | [
"MIT"
] | null | null | null | from .decorators import dp # noqa
| 17.5 | 34 | 0.742857 | 5 | 35 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 1 | 35 | 35 | 0.928571 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7fbc2f582120fcc90a88850683313b37b7d1cac | 4,611 | py | Python | tests/integration/test_redirect_url_storage/test.py | syominsergey/ClickHouse | 1e1e3a6ad84b3c3f5da516cb255670563854e42a | [
"Apache-2.0"
] | null | null | null | tests/integration/test_redirect_url_storage/test.py | syominsergey/ClickHouse | 1e1e3a6ad84b3c3f5da516cb255670563854e42a | [
"Apache-2.0"
] | null | null | null | tests/integration/test_redirect_url_storage/test.py | syominsergey/ClickHouse | 1e1e3a6ad84b3c3f5da516cb255670563854e42a | [
"Apache-2.0"
] | null | null | null | import pytest
from helpers.cluster import ClickHouseCluster
cluster = ClickHouseCluster(__file__)
node1 = cluster.add_instance('node1', main_configs=['configs/named_collections.xml'], with_zookeeper=False, with_hdfs=True)
@pytest.fixture(scope="module")
def started_cluster():
try:
cluster.start()
... | 47.05102 | 246 | 0.731512 | 676 | 4,611 | 4.751479 | 0.16716 | 0.069738 | 0.105853 | 0.079701 | 0.803861 | 0.792653 | 0.765567 | 0.753113 | 0.749689 | 0.693649 | 0 | 0.06518 | 0.124919 | 4,611 | 97 | 247 | 47.536082 | 0.730855 | 0.043158 | 0 | 0.454545 | 0 | 0.106061 | 0.520309 | 0.072158 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.106061 | false | 0 | 0.030303 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c525b12b073d2179ad0519bb4357a0bac9f91dab | 1,749 | py | Python | tests/test_update.py | cbenhagen/mhl | 679942fc87b47e095fc1e2734901cb1cd405f75c | [
"MIT"
] | null | null | null | tests/test_update.py | cbenhagen/mhl | 679942fc87b47e095fc1e2734901cb1cd405f75c | [
"MIT"
] | null | null | null | tests/test_update.py | cbenhagen/mhl | 679942fc87b47e095fc1e2734901cb1cd405f75c | [
"MIT"
] | null | null | null | import time
from packaging import version
import requests
def test_updater(requests_mock, mocker):
mocker.patch("mhl.__version__.ascmhl_tool_version", "0.0.1")
requests_mock.get(
"https://api.github.com/repos/ascmitc/mhl/releases/latest",
json={"tag_name": "v0.6.5"},
)
from importlib... | 25.347826 | 67 | 0.688965 | 241 | 1,749 | 4.846473 | 0.232365 | 0.046233 | 0.092466 | 0.097603 | 0.883562 | 0.861301 | 0.861301 | 0.821062 | 0.821062 | 0.821062 | 0 | 0.022551 | 0.188679 | 1,749 | 68 | 68 | 25.720588 | 0.800564 | 0 | 0 | 0.666667 | 0 | 0 | 0.19211 | 0.060034 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.0625 | false | 0 | 0.1875 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c540d4ca2138a6820762f18bbe93a314bf0bd12a | 194 | py | Python | mysite/dashboard2/admin.py | militiaonly/spark1707 | 3d4a3945ca2190628ea6a8593d3adadfd1a71dfb | [
"MIT"
] | null | null | null | mysite/dashboard2/admin.py | militiaonly/spark1707 | 3d4a3945ca2190628ea6a8593d3adadfd1a71dfb | [
"MIT"
] | null | null | null | mysite/dashboard2/admin.py | militiaonly/spark1707 | 3d4a3945ca2190628ea6a8593d3adadfd1a71dfb | [
"MIT"
] | null | null | null | from django.contrib import admin
# from .models import Config, Machine, Tag
# Register your models here.
# admin.site.register(Config)
# admin.site.register(Machine)
# admin.site.register(Tag)
| 24.25 | 42 | 0.768041 | 27 | 194 | 5.518519 | 0.481481 | 0.181208 | 0.342282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118557 | 194 | 7 | 43 | 27.714286 | 0.871345 | 0.768041 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c54ab84cf7359825ca757d966cec8972b758d952 | 41 | py | Python | src/srbpy/stdlib/__init__.py | billhu0228/SmartRoadBridgePy | 4a5d34028a2612aef846b580733bf6f488110798 | [
"MIT"
] | 2 | 2020-08-05T10:46:45.000Z | 2020-08-11T11:05:18.000Z | src/srbpy/stdlib/__init__.py | billhu0228/SmartRoadBridgePy | 4a5d34028a2612aef846b580733bf6f488110798 | [
"MIT"
] | null | null | null | src/srbpy/stdlib/__init__.py | billhu0228/SmartRoadBridgePy | 4a5d34028a2612aef846b580733bf6f488110798 | [
"MIT"
] | 1 | 2020-08-26T07:50:22.000Z | 2020-08-26T07:50:22.000Z | from .substructures import OneColumnPier
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3dcf7fcfd9205f43359cc49b99d4e5f623af556e | 854 | py | Python | x_rebirth_station_calculator/station_data/ol__licensed_distillery.py | Phipsz/XRebirthStationCalculator | ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835 | [
"MIT"
] | 1 | 2016-04-17T11:00:22.000Z | 2016-04-17T11:00:22.000Z | x_rebirth_station_calculator/station_data/ol__licensed_distillery.py | Phipsz/XRebirthStationCalculator | ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835 | [
"MIT"
] | null | null | null | x_rebirth_station_calculator/station_data/ol__licensed_distillery.py | Phipsz/XRebirthStationCalculator | ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835 | [
"MIT"
] | null | null | null | from x_rebirth_station_calculator.station_data import modules
from x_rebirth_station_calculator.station_data.station_base import Station
names = {'L044': 'Licensed Distillery',
'L049': 'Lizensierte Destille'}
smodules = [modules.LiquorStill(production_method='ar', efficiency=179),
modules.LiquorS... | 50.235294 | 74 | 0.73185 | 89 | 854 | 6.820225 | 0.280899 | 0.237232 | 0.369028 | 0.448105 | 0.777595 | 0.777595 | 0.777595 | 0.645799 | 0.645799 | 0.645799 | 0 | 0.041667 | 0.156909 | 854 | 16 | 75 | 53.375 | 0.801389 | 0 | 0 | 0.461538 | 0 | 0 | 0.07377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3de05409fc0e0f25c823759f6871d280c7dd2202 | 1,939 | py | Python | 2020/day05.py | mbcollins2/aoc | b94380fd5e92b4fe9f4af654e7762174c1c6ac91 | [
"MIT"
] | null | null | null | 2020/day05.py | mbcollins2/aoc | b94380fd5e92b4fe9f4af654e7762174c1c6ac91 | [
"MIT"
] | 3 | 2021-12-15T19:12:38.000Z | 2021-12-15T19:14:42.000Z | 2020/day05.py | mbcollins2/aoc | b94380fd5e92b4fe9f4af654e7762174c1c6ac91 | [
"MIT"
] | null | null | null | import numpy as np
class solve_day(object):
with open('inputs/day05.txt', 'r') as f:
data = f.readlines()
def part1(self):
seat_id = []
for d in self.data:
d = d.strip()
front = 0
back = 127
left = 0
right = 7
... | 22.546512 | 118 | 0.38164 | 251 | 1,939 | 2.880478 | 0.223108 | 0.089903 | 0.161826 | 0.116183 | 0.710927 | 0.710927 | 0.710927 | 0.710927 | 0.710927 | 0.710927 | 0 | 0.039347 | 0.46261 | 1,939 | 86 | 119 | 22.546512 | 0.654511 | 0 | 0 | 0.785714 | 0 | 0 | 0.036598 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.017857 | 0 | 0.107143 | 0.035714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3dfa1b85e70170ddc32e02d50c11cc157da0c6b4 | 9,194 | py | Python | privx_api/connection_manager.py | hokenssh/privx-sdk-for-python | 24627d25c0343f350c9b2396677344b771f8aec6 | [
"Apache-2.0"
] | 4 | 2020-06-15T17:14:18.000Z | 2021-12-20T12:12:56.000Z | privx_api/connection_manager.py | hokenssh/privx-sdk-for-python | 24627d25c0343f350c9b2396677344b771f8aec6 | [
"Apache-2.0"
] | 5 | 2019-11-25T07:04:07.000Z | 2021-05-19T08:09:53.000Z | privx_api/connection_manager.py | hokenssh/privx-sdk-for-python | 24627d25c0343f350c9b2396677344b771f8aec6 | [
"Apache-2.0"
] | 23 | 2019-11-22T08:17:58.000Z | 2022-02-21T15:50:36.000Z | from http import HTTPStatus
from typing import Optional
from privx_api.base import BasePrivXAPI
from privx_api.enums import UrlEnum
from privx_api.response import PrivXAPIResponse, PrivXStreamResponse
from privx_api.utils import get_value
class ConnectionManagerAPI(BasePrivXAPI):
def get_connection_manager_servi... | 30.045752 | 82 | 0.590494 | 858 | 9,194 | 6.027972 | 0.111888 | 0.064965 | 0.139211 | 0.055298 | 0.824439 | 0.776295 | 0.755607 | 0.723318 | 0.723318 | 0.62413 | 0 | 0 | 0.332717 | 9,194 | 305 | 83 | 30.144262 | 0.843032 | 0.128018 | 0 | 0.606218 | 0 | 0 | 0.030479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07772 | false | 0 | 0.031088 | 0 | 0.19171 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9a84b28be20d7208d59d1c2b5fac11e686811134 | 133 | py | Python | lager/__init__.py | vforgione/lager | 8957ea0a9a90c2f987d13693397e19176e7ff737 | [
"MIT"
] | null | null | null | lager/__init__.py | vforgione/lager | 8957ea0a9a90c2f987d13693397e19176e7ff737 | [
"MIT"
] | 3 | 2021-06-01T21:22:31.000Z | 2022-03-15T18:42:50.000Z | lager/__init__.py | vforgione/lager | 8957ea0a9a90c2f987d13693397e19176e7ff737 | [
"MIT"
] | null | null | null | from lager.enums import Verbosity
from lager.handlers import FileHandler, StdOutHandler, TcpHandler
from lager.loggers import Logger
| 33.25 | 65 | 0.857143 | 17 | 133 | 6.705882 | 0.647059 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 133 | 3 | 66 | 44.333333 | 0.957983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9adae519b53b7b5c9e61d17b207285410580a4bf | 200 | py | Python | remote_git_repo_analyzer/commands/__init__.py | wahlflo/RemoteGitRepoAnalyzer | a2f0f43b034d5a635b5bd2afaef93c0d3a11a34f | [
"MIT"
] | null | null | null | remote_git_repo_analyzer/commands/__init__.py | wahlflo/RemoteGitRepoAnalyzer | a2f0f43b034d5a635b5bd2afaef93c0d3a11a34f | [
"MIT"
] | null | null | null | remote_git_repo_analyzer/commands/__init__.py | wahlflo/RemoteGitRepoAnalyzer | a2f0f43b034d5a635b5bd2afaef93c0d3a11a34f | [
"MIT"
] | null | null | null | from .show_file_names import show_file_names
from .show_file_structure import show_file_structure
from .show_file_extensions import show_file_extensions
from .show_commit_logs import show_commit_logs
| 40 | 54 | 0.9 | 32 | 200 | 5.125 | 0.28125 | 0.292683 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 200 | 4 | 55 | 50 | 0.891304 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b1130b89420def9f0ab576e58d0edd9ff7212185 | 153 | py | Python | built-in/TensorFlow/Research/cv/image_classification/Cars_for_TensorFlow/automl/vega/search_space/networks/pytorch/heads/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | 12 | 2020-12-13T08:34:24.000Z | 2022-03-20T15:17:17.000Z | built-in/TensorFlow/Research/cv/image_classification/Cars_for_TensorFlow/automl/vega/search_space/networks/pytorch/heads/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | 3 | 2021-03-31T20:15:40.000Z | 2022-02-09T23:50:46.000Z | built-in/TensorFlow/Research/cv/image_classification/Darts_for_TensorFlow/automl/vega/search_space/networks/pytorch/heads/__init__.py | Huawei-Ascend/modelzoo | df51ed9c1d6dbde1deef63f2a037a369f8554406 | [
"Apache-2.0"
] | 2 | 2021-07-10T12:40:46.000Z | 2021-12-17T07:55:15.000Z | from .linear_head import LinearClassificationHead
from .rpn_head import RPNHead
from .bbox_head import BBoxHead
from .auto_lane_head import AutoLaneHead
| 30.6 | 49 | 0.869281 | 21 | 153 | 6.095238 | 0.571429 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104575 | 153 | 4 | 50 | 38.25 | 0.934307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b184052cd71ef4865ff0e151962c390c9c2be5f0 | 89 | py | Python | attendees/users/models/__init__.py | xjlin0/-attendees30 | 48a2f2cbec11ec471d7a40d24903b48890feebf9 | [
"MIT"
] | 1 | 2020-03-26T00:42:04.000Z | 2020-03-26T00:42:04.000Z | attendees/users/models/__init__.py | xjlin0/-attendees30 | 48a2f2cbec11ec471d7a40d24903b48890feebf9 | [
"MIT"
] | null | null | null | attendees/users/models/__init__.py | xjlin0/-attendees30 | 48a2f2cbec11ec471d7a40d24903b48890feebf9 | [
"MIT"
] | null | null | null | from .user import User
from .menu import Menu
from .menu_auth_group import MenuAuthGroup
| 22.25 | 42 | 0.831461 | 14 | 89 | 5.142857 | 0.5 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 89 | 3 | 43 | 29.666667 | 0.935065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b1870f20d91d0b19d57b29b0804d9d96a9dd4fce | 5,243 | py | Python | pirates/leveleditor/worldData/pvp_deathmatchIsland1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/pvp_deathmatchIsland1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/pvp_deathmatchIsland1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3
objectStruct = {'Locator Links': [['1170794752.0jubutler', '1170795136.0jubutler3', 'Bi-directional'], ['1170795136.0jubutler2', '1170793344.0jubutler0', 'Bi-directional']],'Objects': {'1170792960.0jubutler0': {'Type': 'Island','Name': 'pvp_deathmatchIsland1','File': '','O... | 2,621.5 | 5,196 | 0.683197 | 732 | 5,243 | 4.829235 | 0.206284 | 0.027157 | 0.028006 | 0.033946 | 0.665629 | 0.571711 | 0.441301 | 0.429986 | 0.345403 | 0.313154 | 0 | 0.289954 | 0.048827 | 5,243 | 2 | 5,196 | 2,621.5 | 0.418889 | 0 | 0 | 0 | 0 | 0 | 0.587147 | 0.380244 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4922033be93bfc4d19627778a2c7257c5cbe170f | 3,386 | py | Python | tests/test_host_delete.py | StackStorm-Exchange/zabbix | 8a613dad10808cc5cd2f32e278e09d189b067cdf | [
"Apache-2.0"
] | 10 | 2018-03-07T06:12:13.000Z | 2022-01-23T20:44:20.000Z | tests/test_host_delete.py | StackStorm-Exchange/zabbix | 8a613dad10808cc5cd2f32e278e09d189b067cdf | [
"Apache-2.0"
] | 36 | 2017-10-28T07:23:57.000Z | 2021-08-18T14:38:47.000Z | tests/test_host_delete.py | StackStorm-Exchange/zabbix | 8a613dad10808cc5cd2f32e278e09d189b067cdf | [
"Apache-2.0"
] | 21 | 2017-10-31T01:06:42.000Z | 2022-02-08T14:59:36.000Z | import mock
from zabbix_base_action_test_case import ZabbixBaseActionTestCase
from host_delete import HostDelete
from six.moves.urllib.error import URLError
from pyzabbix.api import ZabbixAPIException
class HostDeleteTestCase(ZabbixBaseActionTestCase):
__test__ = True
action_cls = HostDelete
@mock.patc... | 40.795181 | 78 | 0.686946 | 405 | 3,386 | 5.481481 | 0.140741 | 0.069369 | 0.043243 | 0.068468 | 0.824324 | 0.77973 | 0.77973 | 0.762613 | 0.705405 | 0.658559 | 0 | 0.001839 | 0.196988 | 3,386 | 82 | 79 | 41.292683 | 0.814638 | 0 | 0 | 0.676471 | 0 | 0 | 0.150916 | 0.071766 | 0 | 0 | 0 | 0 | 0.102941 | 1 | 0.073529 | false | 0 | 0.073529 | 0 | 0.191176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4950155979fc1853091a79a768149ffae913f2df | 21,734 | py | Python | tests/unit/test_apt.py | petevg/operator-libs-linux | 2020c04f38eb8d6b5569a18c40b416d5a20a298b | [
"Apache-2.0"
] | 2 | 2021-11-12T09:41:34.000Z | 2021-11-30T22:11:41.000Z | tests/unit/test_apt.py | petevg/operator-libs-linux | 2020c04f38eb8d6b5569a18c40b416d5a20a298b | [
"Apache-2.0"
] | 22 | 2021-11-03T13:11:06.000Z | 2022-03-03T22:36:12.000Z | tests/unit/test_apt.py | petevg/operator-libs-linux | 2020c04f38eb8d6b5569a18c40b416d5a20a298b | [
"Apache-2.0"
] | 7 | 2021-11-03T20:20:03.000Z | 2022-03-03T03:58:25.000Z | # Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
import subprocess
import unittest
from unittest.mock import patch
from charms.operator_libs_linux.v0 import apt
dpkg_output_zsh = """Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait... | 44.445808 | 238 | 0.635732 | 2,421 | 21,734 | 5.520446 | 0.115655 | 0.062851 | 0.03771 | 0.048186 | 0.82297 | 0.785784 | 0.771642 | 0.741265 | 0.72413 | 0.691059 | 0 | 0.063511 | 0.203828 | 21,734 | 488 | 239 | 44.536885 | 0.708853 | 0.004877 | 0 | 0.634884 | 0 | 0.039535 | 0.481178 | 0.224103 | 0 | 0 | 0 | 0 | 0.176744 | 1 | 0.044186 | false | 0 | 0.009302 | 0 | 0.05814 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77204a3b23bcc067a5c74c451437e983a97f2eeb | 32,055 | py | Python | qa/L0_server_status/server_status_test.py | szalpal/server | 85bf86813bce30a6b8e9f66bde057e2145530b7e | [
"BSD-3-Clause"
] | null | null | null | qa/L0_server_status/server_status_test.py | szalpal/server | 85bf86813bce30a6b8e9f66bde057e2145530b7e | [
"BSD-3-Clause"
] | null | null | null | qa/L0_server_status/server_status_test.py | szalpal/server | 85bf86813bce30a6b8e9f66bde057e2145530b7e | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditi... | 48.789954 | 95 | 0.475838 | 2,828 | 32,055 | 5.208274 | 0.105375 | 0.060289 | 0.033268 | 0.023898 | 0.790617 | 0.777582 | 0.758096 | 0.742481 | 0.737728 | 0.723199 | 0 | 0.022101 | 0.44667 | 32,055 | 656 | 96 | 48.864329 | 0.80831 | 0.091998 | 0 | 0.759399 | 0 | 0 | 0.099607 | 0.007095 | 0 | 0 | 0 | 0 | 0.219925 | 1 | 0.016917 | false | 0 | 0.024436 | 0 | 0.045113 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
774d42c0f75cab1442b8a7a623cc3e7868b01ad4 | 12,449 | py | Python | application/tests/data_prep_tests.py | matt-quantblack/loan-application-completion-model | e2757c987b4b1ccc0e8b61e22617b13f14a110a6 | [
"MIT"
] | null | null | null | application/tests/data_prep_tests.py | matt-quantblack/loan-application-completion-model | e2757c987b4b1ccc0e8b61e22617b13f14a110a6 | [
"MIT"
] | null | null | null | application/tests/data_prep_tests.py | matt-quantblack/loan-application-completion-model | e2757c987b4b1ccc0e8b61e22617b13f14a110a6 | [
"MIT"
] | null | null | null | import pandas as pd
import pytest
from pandas.testing import assert_frame_equal, assert_series_equal
from application import model_builder
def test_validate_types_numeric_success():
# Arrange
df = pd.DataFrame()
new_expect = pd.DataFrame()
new_expect["Some Feature"] = [3, 4, 5]
new_expect["Answer... | 29.570071 | 122 | 0.602137 | 1,648 | 12,449 | 4.35801 | 0.086165 | 0.131718 | 0.059733 | 0.064049 | 0.853244 | 0.836953 | 0.825397 | 0.811334 | 0.756753 | 0.72988 | 0 | 0.038338 | 0.226846 | 12,449 | 420 | 123 | 29.640476 | 0.707844 | 0.038477 | 0 | 0.688 | 0 | 0 | 0.226666 | 0 | 0 | 0 | 0 | 0 | 0.092 | 1 | 0.096 | false | 0 | 0.016 | 0 | 0.112 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6222a6aa132cff7deb90069e9d06b77846f1929b | 14,984 | py | Python | colour/models/rgb/transfer_functions/tests/test_rimm_romm_rgb.py | BPearlstine/colour | 40f0281295496774d2a19eee017d50fd0c265bd8 | [
"Cube",
"BSD-3-Clause"
] | 2 | 2020-05-03T20:15:42.000Z | 2021-04-09T18:19:06.000Z | colour/models/rgb/transfer_functions/tests/test_rimm_romm_rgb.py | BPearlstine/colour | 40f0281295496774d2a19eee017d50fd0c265bd8 | [
"Cube",
"BSD-3-Clause"
] | null | null | null | colour/models/rgb/transfer_functions/tests/test_rimm_romm_rgb.py | BPearlstine/colour | 40f0281295496774d2a19eee017d50fd0c265bd8 | [
"Cube",
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Defines unit tests for
:mod:`colour.models.rgb.transfer_functions.rimm_romm_rgb` module.
"""
from __future__ import division, unicode_literals
import numpy as np
import unittest
from colour.models.rgb.transfer_functions import (
oetf_ROMMRGB, eotf_ROMMRGB, oetf_RIMMRGB, eotf_RIMMRGB,
... | 31.745763 | 79 | 0.636746 | 2,063 | 14,984 | 4.345128 | 0.063984 | 0.015172 | 0.053548 | 0.082106 | 0.895471 | 0.864681 | 0.827979 | 0.784583 | 0.741745 | 0.699018 | 0 | 0.059675 | 0.239522 | 14,984 | 471 | 80 | 31.813163 | 0.726986 | 0.232581 | 0 | 0.5671 | 0 | 0 | 0.032908 | 0.007488 | 0 | 0 | 0 | 0 | 0.233766 | 1 | 0.103896 | false | 0 | 0.021645 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6229985af046ff143dc8f1181128974cdf496664 | 4,091 | py | Python | tests/test_outputter.py | nkakouros/py-doq | 542b19d9a046584029a9ce26c4b16adc8b86c034 | [
"BSD-3-Clause"
] | null | null | null | tests/test_outputter.py | nkakouros/py-doq | 542b19d9a046584029a9ce26c4b16adc8b86c034 | [
"BSD-3-Clause"
] | null | null | null | tests/test_outputter.py | nkakouros/py-doq | 542b19d9a046584029a9ce26c4b16adc8b86c034 | [
"BSD-3-Clause"
] | null | null | null | import json
from unittest import TestCase
from doq import (
JSONOutputter,
StringOutptter,
)
class StringOutptterTestCase(TestCase):
def test_same_lines(self):
lines = [
'def foo(arg1, arg2=None):',
' pass',
]
docstrings = [{
'docstring': '""... | 28.213793 | 103 | 0.387191 | 343 | 4,091 | 4.504373 | 0.169096 | 0.042718 | 0.045307 | 0.06343 | 0.822006 | 0.764401 | 0.764401 | 0.725566 | 0.680906 | 0.576052 | 0 | 0.029037 | 0.44439 | 4,091 | 144 | 104 | 28.409722 | 0.650682 | 0 | 0 | 0.776119 | 0 | 0.014925 | 0.30946 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 1 | 0.029851 | false | 0.052239 | 0.022388 | 0 | 0.067164 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 6 |
6234c244e93be8e512ae2e485ac380beddf5a339 | 2,008 | py | Python | tests/tsunami_test.py | Ostorlab/agent_tsunami | 405ca0629a1ac42103d5f04719f3d8b87ddca406 | [
"Apache-2.0"
] | 2 | 2022-03-04T11:56:13.000Z | 2022-03-05T23:07:36.000Z | tests/tsunami_test.py | Ostorlab/agent_tsunami | 405ca0629a1ac42103d5f04719f3d8b87ddca406 | [
"Apache-2.0"
] | null | null | null | tests/tsunami_test.py | Ostorlab/agent_tsunami | 405ca0629a1ac42103d5f04719f3d8b87ddca406 | [
"Apache-2.0"
] | null | null | null | """Unittests for tsunami class."""
import json
from agent.tsunami import tsunami
def _start_scan_success(self, target, output_file):
data = {
'scanStatus': 'SUCCEEDED',
'scanFindings': []
}
with open(output_file, 'w', encoding='utf-8') as outfile:
json.dump(data, outfile)
def _s... | 37.185185 | 113 | 0.710159 | 255 | 2,008 | 5.443137 | 0.266667 | 0.057637 | 0.051873 | 0.051873 | 0.81268 | 0.81268 | 0.763689 | 0.763689 | 0.763689 | 0.763689 | 0 | 0.007417 | 0.194223 | 2,008 | 53 | 114 | 37.886792 | 0.850433 | 0.24004 | 0 | 0.5625 | 0 | 0 | 0.160377 | 0.055256 | 0 | 0 | 0 | 0 | 0.1875 | 1 | 0.125 | false | 0 | 0.0625 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
624bf961a1609d805e368aeb047523304e0c80d9 | 297 | py | Python | frag_pele/Helpers/conda_deploy.py | BSC-CNS-EAPM/frag_pele | beefddaab56fc46dbe1e2e73ec6b24de98afe741 | [
"MIT"
] | 26 | 2019-05-17T08:21:23.000Z | 2022-03-17T22:27:30.000Z | frag_pele/Helpers/conda_deploy.py | BSC-CNS-EAPM/frag_pele | beefddaab56fc46dbe1e2e73ec6b24de98afe741 | [
"MIT"
] | 37 | 2019-09-04T08:47:51.000Z | 2021-07-13T12:57:23.000Z | frag_pele/Helpers/conda_deploy.py | BSC-CNS-EAPM/frag_pele | beefddaab56fc46dbe1e2e73ec6b24de98afe741 | [
"MIT"
] | 9 | 2019-05-17T08:04:32.000Z | 2021-04-07T03:54:53.000Z | import os
PYTHONS = ["3.8", "3.7", "3.6"]
for python in PYTHONS:
print("conda build -c conda-forge -c rdkit -c nostrumbiodiscovery conda_recipe/ --python={}".format(python))
os.system("conda build -c conda-forge -c rdkit -c nostrumbiodiscovery conda_recipe/ --python={}".format(python))
| 37.125 | 116 | 0.693603 | 44 | 297 | 4.636364 | 0.454545 | 0.098039 | 0.107843 | 0.156863 | 0.745098 | 0.745098 | 0.745098 | 0.745098 | 0.745098 | 0.745098 | 0 | 0.023438 | 0.138047 | 297 | 7 | 117 | 42.428571 | 0.773438 | 0 | 0 | 0 | 0 | 0 | 0.59596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
628c16ef34856632f65b149fbcd05a15f81a56ea | 96 | py | Python | venv/lib/python3.8/site-packages/setuptools/extension.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/setuptools/extension.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/setuptools/extension.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/34/c3/38/e978cd7557a559e99cd31f02c95280e4ab3a666df14d6480d924bac593 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
655f51f2bda5106b941bba70e6ac89c993f3ce6f | 1,975 | py | Python | migrations/versions/0106_null_noti_status.py | cds-snc/notifier-api | 90b385ec49efbaee7e607516fc7d9f08991af813 | [
"MIT"
] | 41 | 2019-11-28T16:58:41.000Z | 2022-01-28T21:11:16.000Z | migrations/versions/0106_null_noti_status.py | cds-snc/notification-api | b1c1064f291eb860b494c3fa65ac256ad70bf47c | [
"MIT"
] | 1,083 | 2019-07-08T12:57:24.000Z | 2022-03-08T18:53:40.000Z | migrations/versions/0106_null_noti_status.py | cds-snc/notifier-api | 90b385ec49efbaee7e607516fc7d9f08991af813 | [
"MIT"
] | 9 | 2020-01-24T19:56:43.000Z | 2022-01-27T21:36:53.000Z | """
Revision ID: 0106_null_noti_status
Revises: 0105_opg_letter_org
Create Date: 2017-07-10 11:18:27.267721
"""
from alembic import op
from sqlalchemy.dialects import postgresql
revision = "0106_null_noti_status"
down_revision = "0105_opg_letter_org"
def upgrade():
op.alter_column(
"notification_histo... | 22.443182 | 42 | 0.491646 | 154 | 1,975 | 6.103896 | 0.350649 | 0.029787 | 0.055319 | 0.119149 | 0.77234 | 0.77234 | 0.77234 | 0.77234 | 0.77234 | 0.77234 | 0 | 0.03005 | 0.393418 | 1,975 | 87 | 43 | 22.701149 | 0.754591 | 0.052152 | 0 | 0.864865 | 0 | 0 | 0.303974 | 0.011278 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.027027 | 0 | 0.054054 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6578a1c0c6d480f0a65a3120b04664142533dd6d | 109 | py | Python | FUNDAMENTALS_MODULE/Basic_Syntax_Conditional_Statements_and_Loops/LAB/01_Largest_Of_Three_Numbers.py | sleepychild/ProgramingBasicsPython | d96dc4662adc1c8329b731b9c9b7fa4ecf69ec16 | [
"MIT"
] | null | null | null | FUNDAMENTALS_MODULE/Basic_Syntax_Conditional_Statements_and_Loops/LAB/01_Largest_Of_Three_Numbers.py | sleepychild/ProgramingBasicsPython | d96dc4662adc1c8329b731b9c9b7fa4ecf69ec16 | [
"MIT"
] | 1 | 2022-01-15T10:33:56.000Z | 2022-01-15T10:33:56.000Z | FUNDAMENTALS_MODULE/Basic_Syntax_Conditional_Statements_and_Loops/LAB/01_Largest_Of_Three_Numbers.py | sleepychild/ProgramingBasicsPython | d96dc4662adc1c8329b731b9c9b7fa4ecf69ec16 | [
"MIT"
] | null | null | null | nums_list: list = [int(input()),int(input()),int(input()),]
nums_list.sort(reverse=True)
print(nums_list[0])
| 27.25 | 59 | 0.697248 | 18 | 109 | 4.055556 | 0.5 | 0.328767 | 0.30137 | 0.438356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.055046 | 109 | 3 | 60 | 36.333333 | 0.699029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
65ad8b32a3d9e2b5376e15f084bd6537f857eaba | 191 | py | Python | src/utils.py | mradbourne/jump-to-py | 42688123cfdf3e40330b5859d911d84d9a7601ca | [
"MIT"
] | null | null | null | src/utils.py | mradbourne/jump-to-py | 42688123cfdf3e40330b5859d911d84d9a7601ca | [
"MIT"
] | null | null | null | src/utils.py | mradbourne/jump-to-py | 42688123cfdf3e40330b5859d911d84d9a7601ca | [
"MIT"
] | null | null | null | import subprocess
import os
def cmd(command):
return subprocess.check_output(command, universal_newlines=True).strip()
def open_in_default_editor(filepath):
cmd(['open', filepath])
| 21.222222 | 76 | 0.769634 | 25 | 191 | 5.68 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120419 | 191 | 8 | 77 | 23.875 | 0.845238 | 0 | 0 | 0 | 0 | 0 | 0.020942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
0298b6fc80296b5925deb55cd4b44864bc798ca9 | 118 | py | Python | splinext/pokedex/tests/test_pokemon_flavor.py | hugopeixoto/spline-pokedex | 17b8d22118c9d4b02a01c2271120c162b8dd41da | [
"MIT"
] | 7 | 2015-05-28T22:37:26.000Z | 2020-10-26T17:28:32.000Z | splinext/pokedex/tests/test_pokemon_flavor.py | hugopeixoto/spline-pokedex | 17b8d22118c9d4b02a01c2271120c162b8dd41da | [
"MIT"
] | 28 | 2015-02-28T04:58:47.000Z | 2021-03-19T03:32:43.000Z | splinext/pokedex/tests/test_pokemon_flavor.py | hugopeixoto/spline-pokedex | 17b8d22118c9d4b02a01c2271120c162b8dd41da | [
"MIT"
] | 3 | 2015-11-25T17:02:32.000Z | 2020-08-07T09:52:31.000Z | # encoding: utf8
from spline.tests import TestController
class TestPokemonFlavorController(TestController):
pass
| 19.666667 | 50 | 0.822034 | 11 | 118 | 8.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.127119 | 118 | 5 | 51 | 23.6 | 0.932039 | 0.118644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
02cb428669714caed3d0a41bbd6d8f82a70899e5 | 47 | py | Python | scripts/qgis_fixes/fix_filter.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | scripts/qgis_fixes/fix_filter.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | scripts/qgis_fixes/fix_filter.py | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | from lib2to3.fixes.fix_filter import FixFilter
| 23.5 | 46 | 0.87234 | 7 | 47 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.085106 | 47 | 1 | 47 | 47 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
02d092d4aaaab6ea92003894feb10324f42dfb6e | 28 | py | Python | natpmp/__init__.py | yimingliu/py-natpmp | 6cd61a3ee28c085453c2f40138b0d5f10525ce81 | [
"Unlicense"
] | 31 | 2015-03-12T01:51:49.000Z | 2021-11-08T11:44:28.000Z | natpmp/__init__.py | yimingliu/py-natpmp | 6cd61a3ee28c085453c2f40138b0d5f10525ce81 | [
"Unlicense"
] | 2 | 2016-01-19T23:35:22.000Z | 2017-10-06T08:04:46.000Z | natpmp/__init__.py | yimingliu/py-natpmp | 6cd61a3ee28c085453c2f40138b0d5f10525ce81 | [
"Unlicense"
] | 6 | 2015-06-05T15:47:39.000Z | 2018-11-15T09:08:11.000Z | from natpmp.NATPMP import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b85cccd32bed48c022fab840698e08e6e1313230 | 33,644 | py | Python | skrebatedev/scoring_utils.py | athril/scikit-rebate | bfc8dd6aab9ea7b5a196e318322a938d36723955 | [
"MIT"
] | null | null | null | skrebatedev/scoring_utils.py | athril/scikit-rebate | bfc8dd6aab9ea7b5a196e318322a938d36723955 | [
"MIT"
] | null | null | null | skrebatedev/scoring_utils.py | athril/scikit-rebate | bfc8dd6aab9ea7b5a196e318322a938d36723955 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
scikit-rebate was primarily developed at the University of Pennsylvania by:
- Randal S. Olson (rso@randalolson.com)
- Pete Schmitt (pschmitt@upenn.edu)
- Ryan J. Urbanowicz (ryanurb@upenn.edu)
- Weixuan Fu (weixuanf@upenn.edu)
- and many more generous open source... | 63.599244 | 217 | 0.600731 | 3,976 | 33,644 | 4.993461 | 0.121982 | 0.022665 | 0.016118 | 0.017125 | 0.773396 | 0.762617 | 0.756825 | 0.747154 | 0.744334 | 0.736678 | 0 | 0.008132 | 0.327428 | 33,644 | 528 | 218 | 63.719697 | 0.869277 | 0.424355 | 0 | 0.820433 | 0 | 0 | 0.008197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027864 | false | 0.006192 | 0.003096 | 0 | 0.077399 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b88008aa9588b98275b1360a7fc50ebbcea13737 | 23,852 | py | Python | src/python/smet-collect/smetcollect/collect/compress.py | ciyer/smet-collect | 93cf94077018654eac262454408402d45ad9d668 | [
"BSD-2-Clause"
] | 1 | 2017-02-12T13:25:17.000Z | 2017-02-12T13:25:17.000Z | src/python/smet-collect/smetcollect/collect/compress.py | ciyer/smet-collect | 93cf94077018654eac262454408402d45ad9d668 | [
"BSD-2-Clause"
] | null | null | null | src/python/smet-collect/smetcollect/collect/compress.py | ciyer/smet-collect | 93cf94077018654eac262454408402d45ad9d668 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
compress.py
Find runs that have already been pruned and compress them.
Created by Chandrasekhar Ramakrishnan on 2015-11-06.
Copyright (c) 2015 Chandrasekhar Ramakrishnan. All rights reserved.
"""
import os
import shutil
import subprocess
import tarfile
import json
f... | 45.693487 | 126 | 0.628123 | 3,075 | 23,852 | 4.649431 | 0.069594 | 0.07624 | 0.057914 | 0.070784 | 0.825348 | 0.791565 | 0.769882 | 0.744772 | 0.744772 | 0.704833 | 0 | 0.002782 | 0.261655 | 23,852 | 521 | 127 | 45.78119 | 0.80904 | 0.113324 | 0 | 0.617571 | 0 | 0 | 0.105765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103359 | false | 0 | 0.02584 | 0 | 0.206718 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2433834d9b72a7476d46c81090816c3b99b66a8 | 9,106 | py | Python | disba/_sensitivity.py | SeisPider/disba | 5e96c4a64dc473901c20e32c12cd4a5851e9ac79 | [
"BSD-3-Clause"
] | null | null | null | disba/_sensitivity.py | SeisPider/disba | 5e96c4a64dc473901c20e32c12cd4a5851e9ac79 | [
"BSD-3-Clause"
] | null | null | null | disba/_sensitivity.py | SeisPider/disba | 5e96c4a64dc473901c20e32c12cd4a5851e9ac79 | [
"BSD-3-Clause"
] | 1 | 2021-06-10T04:20:40.000Z | 2021-06-10T04:20:40.000Z | from collections import namedtuple
import numpy
from ._base import BaseSensitivity
from ._common import ifunc, ipar
from ._cps import srfker96, swegn96
__all__ = [
"SensitivityKernel",
"PhaseSensitivity",
"GroupSensitivity",
"EllipticitySensitivity",
]
SensitivityKernel = namedtuple(
"Sensitivi... | 30.252492 | 110 | 0.546892 | 923 | 9,106 | 5.260022 | 0.145179 | 0.038929 | 0.034604 | 0.048198 | 0.820391 | 0.805767 | 0.78723 | 0.78723 | 0.777755 | 0.777755 | 0 | 0.019644 | 0.351526 | 9,106 | 300 | 111 | 30.353333 | 0.80254 | 0.458379 | 0 | 0.617021 | 0 | 0 | 0.058765 | 0.005501 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056738 | false | 0 | 0.035461 | 0 | 0.148936 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2970ca19e91216c89857287e7d2372236822518 | 186 | py | Python | src/gedml/core/losses/classifier_based_loss/__init__.py | wangck20/GeDML | 1f76ac2094d7b88be7fd4eb6145e5586e547b9ca | [
"MIT"
] | 25 | 2021-09-06T13:26:02.000Z | 2022-01-06T13:25:24.000Z | src/gedml/core/losses/classifier_based_loss/__init__.py | wangck20/GeDML | 1f76ac2094d7b88be7fd4eb6145e5586e547b9ca | [
"MIT"
] | 1 | 2021-09-09T08:29:29.000Z | 2021-09-13T15:05:59.000Z | src/gedml/core/losses/classifier_based_loss/__init__.py | wangck20/GeDML | 1f76ac2094d7b88be7fd4eb6145e5586e547b9ca | [
"MIT"
] | 2 | 2021-09-07T08:44:41.000Z | 2021-09-09T08:31:55.000Z | from .cross_entropy_loss import CrossEntropyLoss
from .large_margin_softmax_loss import LargeMarginSoftmaxLoss
from .arcface_loss import ArcFaceLoss
from .cosface_loss import CosFaceLoss | 46.5 | 61 | 0.897849 | 23 | 186 | 6.956522 | 0.608696 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 186 | 4 | 62 | 46.5 | 0.935673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b29f3d7498f710377e0176d472071764efa9aaaa | 640 | py | Python | examples/test-ms/ofdpa/test/policies/participant_1.py | sdn-ixp/sdx-parallel | aa7f3d01ac22c56b5882de50884b0473c8bb6ba2 | [
"Apache-2.0"
] | 49 | 2015-11-15T00:02:35.000Z | 2021-02-12T22:03:57.000Z | examples/test-ms/ofdpa/test/policies/participant_1.py | sdn-ixp/sdx-parallel | aa7f3d01ac22c56b5882de50884b0473c8bb6ba2 | [
"Apache-2.0"
] | 6 | 2016-06-20T06:01:36.000Z | 2019-10-22T19:34:27.000Z | examples/test-ms/ofdpa/test/policies/participant_1.py | sdn-ixp/sdx-parallel | aa7f3d01ac22c56b5882de50884b0473c8bb6ba2 | [
"Apache-2.0"
] | 21 | 2015-11-22T13:02:07.000Z | 2019-06-06T18:15:11.000Z | {
"outbound": [
{
"cookie": 1,
"match":
{
"tcp_dst": 80
},
"action":
{
"fwd": 2
}
},
{
"cookie": 2,
"match":
{
"tcp_dst":... | 16.842105 | 31 | 0.164063 | 28 | 640 | 3.642857 | 0.464286 | 0.235294 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087432 | 0.714063 | 640 | 37 | 32 | 17.297297 | 0.469945 | 0 | 0 | 0.216216 | 0 | 0 | 0.139063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2aad8416529a851e6ce5948374f57fed74fb6de | 204 | py | Python | test/test_flickr_stats.py | JulienLeonard/socialstats | 944e3e4ceba2d977537934299e0c91abd5375d53 | [
"MIT"
] | null | null | null | test/test_flickr_stats.py | JulienLeonard/socialstats | 944e3e4ceba2d977537934299e0c91abd5375d53 | [
"MIT"
] | null | null | null | test/test_flickr_stats.py | JulienLeonard/socialstats | 944e3e4ceba2d977537934299e0c91abd5375d53 | [
"MIT"
] | null | null | null | import sys
sys.path.insert(0, './../lib')
import flickr_stats
from mysocialids import *
flickr_stats.flickr_dump(flickr_api_secret(),flickr_api_key(),flickr_user_id(),"flickr_stats.xml")
| 17 | 99 | 0.72549 | 29 | 204 | 4.758621 | 0.586207 | 0.23913 | 0.246377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0.137255 | 204 | 11 | 100 | 18.545455 | 0.778409 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a26764ec7a035c77a6b9c5e6acfb8fc5bf674332 | 74 | py | Python | source/evaluation/classification/__init__.py | vered1986/NC_embeddings | 8dec4e2f7918ab7606abf61b9d90e4f2786a9652 | [
"Apache-2.0"
] | 9 | 2019-06-11T02:55:07.000Z | 2019-09-04T23:51:36.000Z | source/evaluation/classification/__init__.py | vered1986/NC_embeddings | 8dec4e2f7918ab7606abf61b9d90e4f2786a9652 | [
"Apache-2.0"
] | null | null | null | source/evaluation/classification/__init__.py | vered1986/NC_embeddings | 8dec4e2f7918ab7606abf61b9d90e4f2786a9652 | [
"Apache-2.0"
] | 2 | 2020-08-26T10:20:07.000Z | 2021-02-24T07:00:33.000Z | import random
import numpy as np
random.seed(a=133)
np.random.seed(133)
| 10.571429 | 19 | 0.756757 | 14 | 74 | 4 | 0.571429 | 0.285714 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.135135 | 74 | 6 | 20 | 12.333333 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a277cbeb1c59cb5f928308b42c287f7359d65cd0 | 1,982 | py | Python | EPW/get_wave.py | Suth-ICQMS/EPW-descriptor | a599a8c5666d4604b7db04c5f61dc031c65a5933 | [
"MIT"
] | 2 | 2022-01-05T12:52:46.000Z | 2022-02-28T07:40:30.000Z | EPW_example/get_wave.py | Suth-ICQMS/EPW-descriptor | a599a8c5666d4604b7db04c5f61dc031c65a5933 | [
"MIT"
] | null | null | null | EPW_example/get_wave.py | Suth-ICQMS/EPW-descriptor | a599a8c5666d4604b7db04c5f61dc031c65a5933 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from scipy.special import sph_harm
from scipy.special import assoc_laguerre
def get_wave_r1(n,l,m,Zm,r):
x = r
y = 0
z = 0
X, Z = np.meshgrid(x, z)
rho = np.linalg.norm((X,y,Z), axis=0) *Zm / n
Lag = assoc_... | 30.492308 | 93 | 0.510595 | 343 | 1,982 | 2.854227 | 0.16035 | 0.022472 | 0.02145 | 0.079673 | 0.81716 | 0.740552 | 0.709908 | 0.709908 | 0.656793 | 0.656793 | 0 | 0.043478 | 0.326942 | 1,982 | 64 | 94 | 30.96875 | 0.690405 | 0.017154 | 0 | 0.588235 | 0 | 0 | 0.004249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.078431 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a282e75aa878ecf7cb6a1c80726702aeb19645fe | 67 | py | Python | bikeys.py | CharlieAlphaFox/BinanceMarginTrader | 8d799be764450b5eaedec73d4874fe419671c24b | [
"MIT"
] | 8 | 2020-08-31T17:21:08.000Z | 2022-02-17T12:39:27.000Z | bikeys.py | CharlieAlphaFox/BinanceMarginTrader | 8d799be764450b5eaedec73d4874fe419671c24b | [
"MIT"
] | null | null | null | bikeys.py | CharlieAlphaFox/BinanceMarginTrader | 8d799be764450b5eaedec73d4874fe419671c24b | [
"MIT"
] | null | null | null | Pass = 'YourBinanceAPIKeyGoesHere'
Sec = 'YourAPIsecretGoesHere'
| 22.333333 | 35 | 0.791045 | 4 | 67 | 13.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 2 | 36 | 33.5 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0.707692 | 0.707692 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a2a5342965d45e1d1035ddba2a18180220f03008 | 27 | py | Python | chrome_game_player/building.py | Weak-Chicken/win_gui_helper | c581633b20d0bd1627615736dd2b155b6decf1e7 | [
"MIT"
] | null | null | null | chrome_game_player/building.py | Weak-Chicken/win_gui_helper | c581633b20d0bd1627615736dd2b155b6decf1e7 | [
"MIT"
] | null | null | null | chrome_game_player/building.py | Weak-Chicken/win_gui_helper | c581633b20d0bd1627615736dd2b155b6decf1e7 | [
"MIT"
] | null | null | null | import base_methods as gh
| 9 | 25 | 0.814815 | 5 | 27 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 2 | 26 | 13.5 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a2a972026b618593191f15f0754d529ed6c7869c | 4,704 | py | Python | wdt/basket/tests/test_add_basket_item.py | We-Do-Takeaway/wdt_server | 37218d56823e0f265b551b64a9e045bc4455e685 | [
"MIT"
] | 1 | 2021-02-07T19:21:19.000Z | 2021-02-07T19:21:19.000Z | wdt/basket/tests/test_add_basket_item.py | We-Do-Takeaway/wdt_server | 37218d56823e0f265b551b64a9e045bc4455e685 | [
"MIT"
] | 13 | 2021-02-06T19:11:38.000Z | 2021-02-28T12:17:15.000Z | wdt/basket/tests/test_add_basket_item.py | We-Do-Takeaway/wdt_server | 37218d56823e0f265b551b64a9e045bc4455e685 | [
"MIT"
] | null | null | null | import uuid
from http import HTTPStatus
import pytest
MUTATION_QUERY = """
mutation AddBasketItem(
$basketId: ID!,
$basketItem: BasketItemInput!
) {
addBasketItem(
basketId: $basketId,
basketItem: $basketItem
) {
id
items {
id
name
quantity
}
}
}
"""
SAUSAGES_NAME... | 29.037037 | 85 | 0.511267 | 406 | 4,704 | 5.635468 | 0.157635 | 0.087413 | 0.033654 | 0.062937 | 0.820804 | 0.820804 | 0.803759 | 0.802885 | 0.802885 | 0.753497 | 0 | 0.006218 | 0.384566 | 4,704 | 161 | 86 | 29.217391 | 0.784111 | 0 | 0 | 0.557971 | 0 | 0 | 0.143707 | 0 | 0 | 0 | 0 | 0 | 0.07971 | 1 | 0.043478 | false | 0 | 0.021739 | 0 | 0.072464 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2d4028ed48028b383591fe2577407ec6975186e | 9,567 | py | Python | test-framework/test-suites/integration/tests/add/test_add_storage_controller.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | 123 | 2015-05-12T23:36:45.000Z | 2017-07-05T23:26:57.000Z | test-framework/test-suites/integration/tests/add/test_add_storage_controller.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | 177 | 2015-06-05T19:17:47.000Z | 2017-07-07T17:57:24.000Z | test-framework/test-suites/integration/tests/add/test_add_storage_controller.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | 32 | 2015-06-07T02:25:03.000Z | 2017-06-23T07:35:35.000Z | import json
from textwrap import dedent
class TestAddStorageController:
def test_no_arrayid(self, host):
result = host.run('stack add storage controller raidlevel=0 slot=2')
assert result.rc == 255
assert result.stderr == dedent('''\
error - "arrayid" parameter is required
{arrayid=string} [adapter=integ... | 34.167857 | 111 | 0.675865 | 1,215 | 9,567 | 5.281481 | 0.062551 | 0.089762 | 0.05875 | 0.081346 | 0.945457 | 0.945457 | 0.935796 | 0.935796 | 0.935796 | 0.922549 | 0 | 0.023912 | 0.173827 | 9,567 | 279 | 112 | 34.290323 | 0.787955 | 0.005122 | 0 | 0.616327 | 0 | 0.069388 | 0.556607 | 0 | 0 | 0 | 0 | 0 | 0.212245 | 1 | 0.093878 | false | 0 | 0.008163 | 0 | 0.106122 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2e4168ce03f9cde3b35b6c6a66f5dd8f886ee3c | 75 | py | Python | src/compas/hpc/algorithms/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | src/compas/hpc/algorithms/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | src/compas/hpc/algorithms/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | from .drx_numba import *
from .drx_numba import __all__ as a
__all__ = a
| 12.5 | 35 | 0.746667 | 13 | 75 | 3.538462 | 0.538462 | 0.304348 | 0.521739 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 75 | 5 | 36 | 15 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a2f537b48e32d665c57bfbbce1ab4e5074ca38dd | 89,288 | py | Python | deep_dss/helpers.py | adiraju21s/deep_dss | 360a08f5da38fdb7af9a8534702cc711b66a4343 | [
"MIT"
] | null | null | null | deep_dss/helpers.py | adiraju21s/deep_dss | 360a08f5da38fdb7af9a8534702cc711b66a4343 | [
"MIT"
] | 1 | 2020-07-12T00:58:25.000Z | 2020-07-12T03:16:34.000Z | deep_dss/helpers.py | adiraju21s/deep_dss | 360a08f5da38fdb7af9a8534702cc711b66a4343 | [
"MIT"
] | null | null | null | import numpy as np
import healpy as hp
import pandas as pd
from numba import jit
from sklearn.utils import shuffle
from deepsphere import experiment_helper
from deepsphere.data import LabeledDataset
# Constants
def set_constants():
"""
Sets constants for future functions (especially accelerated ones)
:... | 56.297604 | 120 | 0.631115 | 12,185 | 89,288 | 4.501518 | 0.051703 | 0.020455 | 0.028878 | 0.016335 | 0.885654 | 0.863594 | 0.849975 | 0.832765 | 0.821042 | 0.811416 | 0 | 0.044415 | 0.284114 | 89,288 | 1,585 | 121 | 56.333123 | 0.813705 | 0.442389 | 0 | 0.464481 | 0 | 0 | 0.019279 | 0.008804 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081967 | false | 0 | 0.009563 | 0 | 0.239071 | 0.004098 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2ff3026e41354669359f3f4f4acd1521cd0b76a | 186 | py | Python | webapp/app/encryptioncontext/models.py | aws-samples/aws-secrets-manager-credential-rotation-without-container-restart | 11ad22e8f1d55bf48af219fecdd4ba208c88dff4 | [
"MIT-0"
] | 3 | 2021-08-10T21:05:32.000Z | 2021-11-08T10:25:57.000Z | webapp/app/encryptioncontext/models.py | aws-samples/aws-secrets-manager-credential-rotation-without-container-restart | 11ad22e8f1d55bf48af219fecdd4ba208c88dff4 | [
"MIT-0"
] | null | null | null | webapp/app/encryptioncontext/models.py | aws-samples/aws-secrets-manager-credential-rotation-without-container-restart | 11ad22e8f1d55bf48af219fecdd4ba208c88dff4 | [
"MIT-0"
] | 1 | 2021-08-10T21:05:33.000Z | 2021-08-10T21:05:33.000Z | from django.db import models
# Create your models here.
class CustomerProfile(models.Model):
account_number=models.CharField(max_length=8)
userid=models.CharField(max_length=6)
| 26.571429 | 49 | 0.790323 | 26 | 186 | 5.538462 | 0.730769 | 0.208333 | 0.25 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.11828 | 186 | 6 | 50 | 31 | 0.865854 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
0c2de71b316ee774863eb0e543c6bc8370c6ee35 | 78 | py | Python | hello.py | souadg/cas-ads-doc-21 | 23ab3241094ffe168840ae34d151c90927da9e52 | [
"MIT"
] | null | null | null | hello.py | souadg/cas-ads-doc-21 | 23ab3241094ffe168840ae34d151c90927da9e52 | [
"MIT"
] | null | null | null | hello.py | souadg/cas-ads-doc-21 | 23ab3241094ffe168840ae34d151c90927da9e52 | [
"MIT"
] | null | null | null | # First programme
# Hello world
print("Hello world! Souad, you look lovely.") | 26 | 45 | 0.730769 | 11 | 78 | 5.181818 | 0.818182 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 78 | 3 | 45 | 26 | 0.863636 | 0.358974 | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0c5a8f5f041659a66528eb7f4be289cbf040ceca | 34 | py | Python | dotbot/util/__init__.py | indrajitr/dotbot | 3cedc2dbc53e5e872f396671ef874838036019f8 | [
"MIT"
] | 5,493 | 2015-01-07T22:16:25.000Z | 2022-03-30T15:31:11.000Z | dotbot/util/__init__.py | indrajitr/dotbot | 3cedc2dbc53e5e872f396671ef874838036019f8 | [
"MIT"
] | 287 | 2015-02-03T05:12:38.000Z | 2022-03-08T12:32:26.000Z | modules/dotbot/dotbot/util/__init__.py | danitome24/dotfiles | 22821002e8922e1f1ff706b851e116ed77beb164 | [
"MIT"
] | 361 | 2015-01-17T08:31:30.000Z | 2022-03-31T01:02:04.000Z | from .common import shell_command
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a78580f0ca525bf69f08c24c12037f18b63000e5 | 26 | py | Python | arcface/__init__.py | Aitical/ADspeech2face | 2e811ff8cc7333729f4b77d1b1067296253e8e38 | [
"MIT"
] | 1 | 2022-01-27T14:19:04.000Z | 2022-01-27T14:19:04.000Z | arcface/__init__.py | Aitical/ADspeech2face | 2e811ff8cc7333729f4b77d1b1067296253e8e38 | [
"MIT"
] | null | null | null | arcface/__init__.py | Aitical/ADspeech2face | 2e811ff8cc7333729f4b77d1b1067296253e8e38 | [
"MIT"
] | null | null | null | from .model import arcface | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac28c3c52d858013f1c0fa44a3c82acc402fd2ef | 34 | py | Python | model/__init__.py | nachiket273/efficientnetv2 | fdcbcf48ad84d4b16c0edc18f55a27ee5bafd2de | [
"MIT"
] | 1 | 2021-12-01T20:12:49.000Z | 2021-12-01T20:12:49.000Z | model/__init__.py | nachiket273/efficientnetv2 | fdcbcf48ad84d4b16c0edc18f55a27ee5bafd2de | [
"MIT"
] | null | null | null | model/__init__.py | nachiket273/efficientnetv2 | fdcbcf48ad84d4b16c0edc18f55a27ee5bafd2de | [
"MIT"
] | null | null | null | from .model import efficientnetv2
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac47ed1f0ce102a99d8b21999818a2230a8cd575 | 128 | py | Python | best_ai_module.py | nunchuk/best-ai | f0215a12e2dd3ecdc70af62c606116fbd1b75eec | [
"MIT"
] | null | null | null | best_ai_module.py | nunchuk/best-ai | f0215a12e2dd3ecdc70af62c606116fbd1b75eec | [
"MIT"
] | null | null | null | best_ai_module.py | nunchuk/best-ai | f0215a12e2dd3ecdc70af62c606116fbd1b75eec | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# -*- coding: UTF-8 -*-
while True:
print("\033[1;36;m", input().strip('吗??')+'!')
print("\033[0m")
| 18.285714 | 50 | 0.507813 | 19 | 128 | 3.421053 | 0.894737 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.15625 | 128 | 6 | 51 | 21.333333 | 0.490741 | 0.304688 | 0 | 0 | 0 | 0 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ac5c0f1e27e3c1a7db24da5eb98637183d758be2 | 33,069 | py | Python | unifrac/tests/test_api.py | iankrout/StripedUnifrac | 4fb98b89ece30bc173b63ff9c478330394c25b2f | [
"BSD-3-Clause"
] | null | null | null | unifrac/tests/test_api.py | iankrout/StripedUnifrac | 4fb98b89ece30bc173b63ff9c478330394c25b2f | [
"BSD-3-Clause"
] | null | null | null | unifrac/tests/test_api.py | iankrout/StripedUnifrac | 4fb98b89ece30bc173b63ff9c478330394c25b2f | [
"BSD-3-Clause"
] | null | null | null | # ----------------------------------------------------------------------------
# Copyright (c) 2016-2017, UniFrac development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# ------------------------------------------------... | 42.450578 | 78 | 0.583931 | 4,263 | 33,069 | 4.425053 | 0.083509 | 0.051209 | 0.114504 | 0.122455 | 0.844943 | 0.834129 | 0.821883 | 0.803753 | 0.784245 | 0.755725 | 0 | 0.068072 | 0.294112 | 33,069 | 778 | 79 | 42.505141 | 0.740051 | 0.122804 | 0 | 0.673504 | 0 | 0.018803 | 0.05188 | 0.018365 | 0 | 0 | 0 | 0 | 0.160684 | 1 | 0.080342 | false | 0.003419 | 0.020513 | 0.003419 | 0.121368 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac7281c7bf18dcb514e30b258e38351663b81cf7 | 39 | py | Python | ark_search/recall/__init__.py | DataArk/ArkSearch | d4de73786654db72a689a1bbef1dfa3ee5d73d1d | [
"Apache-2.0"
] | 2 | 2021-12-30T06:10:50.000Z | 2021-12-30T06:12:36.000Z | ark_search/recall/__init__.py | DataArk/ArkSearch | d4de73786654db72a689a1bbef1dfa3ee5d73d1d | [
"Apache-2.0"
] | null | null | null | ark_search/recall/__init__.py | DataArk/ArkSearch | d4de73786654db72a689a1bbef1dfa3ee5d73d1d | [
"Apache-2.0"
] | null | null | null | from ark_search.recall.bm25 import BM25 | 39 | 39 | 0.871795 | 7 | 39 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.076923 | 39 | 1 | 39 | 39 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac7907ad06d31dbf086bfca4609b483f3cf86904 | 42 | py | Python | tflib/distribute/__init__.py | AlexBlack2202/EigenGAN-Tensorflow | 9668738852abdcd7161b64b7e6a074c7ebfea055 | [
"MIT"
] | 302 | 2021-04-27T02:15:47.000Z | 2022-03-13T07:51:07.000Z | tflib/distribute/__init__.py | gokulsg/EigenGAN-Tensorflow | 86b21a47a824a2bb04a088c3e78b03d03a53735c | [
"MIT"
] | 7 | 2021-05-26T05:44:46.000Z | 2021-12-28T02:38:47.000Z | tflib/distribute/__init__.py | gokulsg/EigenGAN-Tensorflow | 86b21a47a824a2bb04a088c3e78b03d03a53735c | [
"MIT"
] | 34 | 2021-04-27T02:16:04.000Z | 2022-01-28T12:18:17.000Z | from tflib.distribute.distribute import *
| 21 | 41 | 0.833333 | 5 | 42 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3bcb8659237db7aeeaf1370f6822ee2753e63421 | 19 | py | Python | Local/__init__.py | FurmanCenter/ACSDownloader | 918afc0c7baa8814da98c2e3ee11352af68c027e | [
"Apache-2.0"
] | 1 | 2020-04-15T15:40:18.000Z | 2020-04-15T15:40:18.000Z | Local/__init__.py | FurmanCenter/ACSDownloader | 918afc0c7baa8814da98c2e3ee11352af68c027e | [
"Apache-2.0"
] | null | null | null | Local/__init__.py | FurmanCenter/ACSDownloader | 918afc0c7baa8814da98c2e3ee11352af68c027e | [
"Apache-2.0"
] | null | null | null | from Local import * | 19 | 19 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3bd57332470a072bc1139febc309c622c0dcb534 | 48 | py | Python | data/micro-benchmark/classes/imported_call_without_init/to_import.py | vitsalis/pycg-evaluation | ce37eb5668465b0c17371914e863d699826447ee | [
"Apache-2.0"
] | 121 | 2020-12-16T20:31:37.000Z | 2022-03-21T20:32:43.000Z | data/micro-benchmark/classes/imported_call_without_init/to_import.py | vitsalis/pycg-evaluation | ce37eb5668465b0c17371914e863d699826447ee | [
"Apache-2.0"
] | 24 | 2021-03-13T00:04:00.000Z | 2022-03-21T17:28:11.000Z | data/micro-benchmark/classes/imported_call_without_init/to_import.py | vitsalis/pycg-evaluation | ce37eb5668465b0c17371914e863d699826447ee | [
"Apache-2.0"
] | 19 | 2021-03-23T10:58:47.000Z | 2022-03-24T19:46:50.000Z | class MyClass:
def func(self):
pass
| 12 | 19 | 0.5625 | 6 | 48 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.354167 | 48 | 3 | 20 | 16 | 0.870968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
cbf3717c830b6844dac4bd189f88a0ca6f9b3c6d | 51 | py | Python | fission/examples/pythontest/hello.py | fadams/serverless | 3b8298d89166b7edbf456070a167887cd1c90db1 | [
"Apache-2.0"
] | 1 | 2019-05-07T09:14:12.000Z | 2019-05-07T09:14:12.000Z | fission/examples/pythontest/hello.py | fadams/serverless | 3b8298d89166b7edbf456070a167887cd1c90db1 | [
"Apache-2.0"
] | null | null | null | fission/examples/pythontest/hello.py | fadams/serverless | 3b8298d89166b7edbf456070a167887cd1c90db1 | [
"Apache-2.0"
] | 1 | 2019-05-06T20:50:48.000Z | 2019-05-06T20:50:48.000Z | def main():
return "Hello, world! From Python"
| 17 | 38 | 0.647059 | 7 | 51 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 51 | 2 | 39 | 25.5 | 0.825 | 0 | 0 | 0 | 0 | 0 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
0207a70ab13924653a2ad1bfe0a375de98e5f3b1 | 29 | py | Python | skillset/__init__.py | sofwerx/dataglove | e49d72bef23fcba840e67fabc2fb81ce9f91b775 | [
"MIT"
] | 5 | 2019-05-07T17:28:20.000Z | 2020-06-18T15:08:04.000Z | skillset/__init__.py | sofwerx/dataglove | e49d72bef23fcba840e67fabc2fb81ce9f91b775 | [
"MIT"
] | 1 | 2019-08-29T22:54:07.000Z | 2019-08-29T23:03:57.000Z | skillset/__init__.py | sofwerx/dataglove | e49d72bef23fcba840e67fabc2fb81ce9f91b775 | [
"MIT"
] | 2 | 2019-05-28T13:11:09.000Z | 2019-06-05T17:47:28.000Z | from .com_link import ComLink | 29 | 29 | 0.862069 | 5 | 29 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
022ee5502a094443f541667910a2c4187341322d | 28,611 | py | Python | fortlab/vargen/plugins/gencore/gen_typedecl_in_module.py | grnydawn/fortlab | 524daa6dd7c99c1ca4bf6088a8ba3e1bcd096d5d | [
"MIT"
] | null | null | null | fortlab/vargen/plugins/gencore/gen_typedecl_in_module.py | grnydawn/fortlab | 524daa6dd7c99c1ca4bf6088a8ba3e1bcd096d5d | [
"MIT"
] | 1 | 2021-03-29T14:54:22.000Z | 2021-03-29T14:54:51.000Z | fortlab/vargen/plugins/gencore/gen_typedecl_in_module.py | grnydawn/fortlab | 524daa6dd7c99c1ca4bf6088a8ba3e1bcd096d5d | [
"MIT"
] | null | null | null | # gen_write_typedecl_in_module.py
from __future__ import absolute_import
from collections import OrderedDict
from fortlab.resolver import statements, block_statements, typedecl_statements
from fortlab.kgplugin import Kgen_Plugin
from .gencore_utils import get_topname, get_typedecl_writename, get_dtype_writename, get... | 58.509202 | 188 | 0.65723 | 3,604 | 28,611 | 4.876526 | 0.062431 | 0.043698 | 0.04734 | 0.041309 | 0.847397 | 0.811209 | 0.799374 | 0.791807 | 0.779175 | 0.768706 | 0 | 0.003132 | 0.241201 | 28,611 | 488 | 189 | 58.629098 | 0.806403 | 0.162315 | 0 | 0.421384 | 0 | 0.009434 | 0.07206 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053459 | false | 0 | 0.018868 | 0 | 0.103774 | 0.006289 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0287339c13bf38060ea681f02e33f37caa7e08f9 | 146 | py | Python | FaceExtractor/ExtractFacesFromImages.py | UtkarshPandey55557/Face_detcetion | d95d8cc6ea00a66f39cd94c91bf1a6ac3e97c31d | [
"Apache-2.0"
] | null | null | null | FaceExtractor/ExtractFacesFromImages.py | UtkarshPandey55557/Face_detcetion | d95d8cc6ea00a66f39cd94c91bf1a6ac3e97c31d | [
"Apache-2.0"
] | null | null | null | FaceExtractor/ExtractFacesFromImages.py | UtkarshPandey55557/Face_detcetion | d95d8cc6ea00a66f39cd94c91bf1a6ac3e97c31d | [
"Apache-2.0"
] | null | null | null | from FaceExtractor.image_face_detector_by_folder import face_extractor
face_extractor_obj = face_extractor()
face_extractor_obj.find_faces()
| 29.2 | 71 | 0.863014 | 20 | 146 | 5.75 | 0.6 | 0.452174 | 0.295652 | 0.452174 | 0.504348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089041 | 146 | 4 | 72 | 36.5 | 0.864662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0288f5e202c4f8790fa0281476c0fcae8cbdaccf | 22,960 | py | Python | networkx/algorithms/connectivity/cuts.py | argriffing/networkx | 5a3d000e605be2ca567f69a4694afcba3b8acb54 | [
"BSD-3-Clause"
] | null | null | null | networkx/algorithms/connectivity/cuts.py | argriffing/networkx | 5a3d000e605be2ca567f69a4694afcba3b8acb54 | [
"BSD-3-Clause"
] | null | null | null | networkx/algorithms/connectivity/cuts.py | argriffing/networkx | 5a3d000e605be2ca567f69a4694afcba3b8acb54 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Flow based cut algorithms
"""
import itertools
import networkx as nx
# Define the default maximum flow function to use in all flow based
# cut algorithms.
from networkx.algorithms.flow import edmonds_karp, shortest_augmenting_path
from networkx.algorithms.flow import build_residual_network
... | 38.013245 | 81 | 0.673868 | 3,267 | 22,960 | 4.632997 | 0.093664 | 0.014799 | 0.024709 | 0.012685 | 0.807149 | 0.775899 | 0.75958 | 0.736786 | 0.720468 | 0.700581 | 0 | 0.003843 | 0.252091 | 22,960 | 603 | 82 | 38.076285 | 0.877591 | 0.696995 | 0 | 0.445313 | 0 | 0 | 0.080939 | 0.003975 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039063 | false | 0 | 0.039063 | 0.007813 | 0.15625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a35191c6240ea998ffa4b8d63337f63b8b007b1 | 2,383 | py | Python | rlkit/torch/sets/mmd.py | Asap7772/railrl_evalsawyer | baba8ce634d32a48c7dfe4dc03b123e18e96e0a3 | [
"MIT"
] | null | null | null | rlkit/torch/sets/mmd.py | Asap7772/railrl_evalsawyer | baba8ce634d32a48c7dfe4dc03b123e18e96e0a3 | [
"MIT"
] | null | null | null | rlkit/torch/sets/mmd.py | Asap7772/railrl_evalsawyer | baba8ce634d32a48c7dfe4dc03b123e18e96e0a3 | [
"MIT"
] | null | null | null | """
"""
import torch
import rlkit.torch.pytorch_util as ptu
def mmd_distance(
X: torch.Tensor,
Y: torch.Tensor,
kernel='imq',
p_z_stddev=None,
):
if kernel == 'imq':
return imq_kernel(X, Y, p_z_stddev)
elif kernel == 'rbf':
return rbf_kernel(X, Y, p_z_stddev)
... | 26.477778 | 64 | 0.549727 | 407 | 2,383 | 3.002457 | 0.142506 | 0.1473 | 0.081833 | 0.02946 | 0.816694 | 0.816694 | 0.770867 | 0.770867 | 0.743044 | 0.743044 | 0 | 0.043923 | 0.30256 | 2,383 | 90 | 65 | 26.477778 | 0.691336 | 0.065044 | 0 | 0.691176 | 0 | 0 | 0.004069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044118 | false | 0 | 0.029412 | 0 | 0.132353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ce6f3118ccf0a5c371b7522e31e43ece16483b32 | 149 | py | Python | Python/6.Modules_and_Packages/myprogram.py | razorstun/legendary-parakeet | e573a566446d2f1190d15ebb7becf77d28673e1b | [
"Apache-2.0"
] | 1 | 2021-05-05T07:31:46.000Z | 2021-05-05T07:31:46.000Z | Python/6.Modules_and_Packages/myprogram.py | razorstun/legendary-parakeet | e573a566446d2f1190d15ebb7becf77d28673e1b | [
"Apache-2.0"
] | null | null | null | Python/6.Modules_and_Packages/myprogram.py | razorstun/legendary-parakeet | e573a566446d2f1190d15ebb7becf77d28673e1b | [
"Apache-2.0"
] | null | null | null | from Mymainpackage import some_main_script
from Mymainpackage.Subpackage import mysubscript
some_main_script.report_main()
mysubscript.sub_report() | 24.833333 | 48 | 0.879195 | 19 | 149 | 6.578947 | 0.526316 | 0.272 | 0.224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073826 | 149 | 6 | 49 | 24.833333 | 0.905797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ceaa1315c65dac54661e22949fcb5d420cd84b43 | 58 | py | Python | tests/func/test_version.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/func/test_version.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/func/test_version.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | import pyaf
print("PyAF version : " , pyaf.__version__)
| 11.6 | 43 | 0.706897 | 7 | 58 | 5.285714 | 0.571429 | 0.594595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 58 | 4 | 44 | 14.5 | 0.770833 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
0cafd4fc41a04a23194348650370a0155c45c929 | 25 | py | Python | tef/python/tef/training/__init__.py | jony0917/tensorflow-extend-framework | 5db3a0ed373173fd799d292bfcc7e5544882e9d0 | [
"Apache-2.0"
] | 12 | 2020-02-04T04:06:03.000Z | 2021-09-18T12:14:04.000Z | tef/python/tef/training/__init__.py | jony0917/tensorflow-extend-framework | 5db3a0ed373173fd799d292bfcc7e5544882e9d0 | [
"Apache-2.0"
] | null | null | null | tef/python/tef/training/__init__.py | jony0917/tensorflow-extend-framework | 5db3a0ed373173fd799d292bfcc7e5544882e9d0 | [
"Apache-2.0"
] | null | null | null |
from optimizer import *
| 8.333333 | 23 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 2 | 24 | 12.5 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0cc43edd459aada8fc01d0fe37d6f6baffd1b4e8 | 40 | py | Python | conll_iterator/__init__.py | nicolaCirillo/conll_iterator | bcc3905ad71d566a90692e6098c5372558034fa1 | [
"MIT"
] | null | null | null | conll_iterator/__init__.py | nicolaCirillo/conll_iterator | bcc3905ad71d566a90692e6098c5372558034fa1 | [
"MIT"
] | null | null | null | conll_iterator/__init__.py | nicolaCirillo/conll_iterator | bcc3905ad71d566a90692e6098c5372558034fa1 | [
"MIT"
] | null | null | null | from .ConllIterator import ConllIterator | 40 | 40 | 0.9 | 4 | 40 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0cd222d0a16bc5c9a6943a5f50046be042b7fab2 | 131 | py | Python | 06_import_order/tyokalut/tilastotiede/keskiarvot.py | PythonVinkit/youtube-series | 7f5c6939e0e83d05798b7b86ac1683593f41288b | [
"MIT"
] | 2 | 2021-09-16T21:06:24.000Z | 2021-09-30T12:43:27.000Z | 06_import_order/tyokalut/tilastotiede/keskiarvot.py | PythonVinkit/youtube-series | 7f5c6939e0e83d05798b7b86ac1683593f41288b | [
"MIT"
] | null | null | null | 06_import_order/tyokalut/tilastotiede/keskiarvot.py | PythonVinkit/youtube-series | 7f5c6939e0e83d05798b7b86ac1683593f41288b | [
"MIT"
] | null | null | null | from statistics import mean, median
def keskiarvo(arvot):
return mean(arvot)
def mediaani(arvot):
return median(arvot)
| 13.1 | 35 | 0.725191 | 17 | 131 | 5.588235 | 0.588235 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19084 | 131 | 9 | 36 | 14.555556 | 0.896226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0b3012f3e08c50e9925aa376a5108a52dfac8b7d | 80 | py | Python | kvuilder/data/templates/libs/screens/wizard/view.py | aorizondo/kvuilder | a4c4f7d017c364a4f39044c63c3594e6bd18ef01 | [
"MIT"
] | 1 | 2022-01-26T01:56:59.000Z | 2022-01-26T01:56:59.000Z | kvuilder/data/templates/libs/screens/wizard/view.py | aorizondo/kvuilder | a4c4f7d017c364a4f39044c63c3594e6bd18ef01 | [
"MIT"
] | null | null | null | kvuilder/data/templates/libs/screens/wizard/view.py | aorizondo/kvuilder | a4c4f7d017c364a4f39044c63c3594e6bd18ef01 | [
"MIT"
] | 2 | 2021-04-29T21:24:36.000Z | 2022-01-26T01:57:01.000Z | from kivy.uix.screenmanager import Screen
class WizardScreen(Screen):
pass
| 16 | 41 | 0.7875 | 10 | 80 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 80 | 4 | 42 | 20 | 0.926471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0b42518da35f2b7786737b440bcca8bb6465f701 | 5,182 | py | Python | flattentool/tests/test_unflatten.py | OpenDataServices/flatten-tool | 11bded4bfcd110416c664918a284c5bb9e11cce4 | [
"MIT"
] | 86 | 2015-07-16T10:23:47.000Z | 2022-03-29T08:11:40.000Z | flattentool/tests/test_unflatten.py | OpenDataServices/flatten-tool | 11bded4bfcd110416c664918a284c5bb9e11cce4 | [
"MIT"
] | 275 | 2015-03-31T14:51:31.000Z | 2022-03-07T14:54:05.000Z | flattentool/tests/test_unflatten.py | OpenDataServices/flatten-tool | 11bded4bfcd110416c664918a284c5bb9e11cce4 | [
"MIT"
] | 16 | 2015-11-06T15:41:30.000Z | 2021-07-16T00:18:32.000Z | import json
import os
import pytest
from flattentool import unflatten
def test_360_main_sheetname_insensitive(tmpdir):
input_name = "flattentool/tests/fixtures/xlsx/fundingproviders-grants_2_grants.xlsx"
unflatten(
input_name=input_name,
output_name=tmpdir.join("output_grant.json").strpath,
... | 31.987654 | 105 | 0.650328 | 602 | 5,182 | 5.325581 | 0.137874 | 0.078915 | 0.07985 | 0.049906 | 0.80942 | 0.771054 | 0.762944 | 0.762944 | 0.731753 | 0.680287 | 0 | 0.005894 | 0.214203 | 5,182 | 161 | 106 | 32.186335 | 0.781434 | 0.015824 | 0 | 0.557143 | 0 | 0 | 0.295633 | 0.171715 | 0 | 0 | 0 | 0 | 0.042857 | 1 | 0.042857 | false | 0 | 0.028571 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b6af93c9c2adbcd4a1d3a59745cb5d4cf3add39 | 5,334 | py | Python | tests/unit/html_sections_test_io/main_test_io.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | tests/unit/html_sections_test_io/main_test_io.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | tests/unit/html_sections_test_io/main_test_io.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | # test values of main.polimorf_add_main
import libraries.constants as ct
import libraries.globals as gb
# main and sidebar data are arrays of strings
test_values = [\
{ 'remark': 'Test Case 1:polimorf_add_main - No sidebar, not template, not search, meta present, fileroot = myfile',
'inputs': { 'main_data': ... | 43.721311 | 134 | 0.483315 | 519 | 5,334 | 4.851638 | 0.142582 | 0.063542 | 0.06672 | 0.0834 | 0.833995 | 0.813344 | 0.789515 | 0.730342 | 0.699762 | 0.663622 | 0 | 0.002023 | 0.351331 | 5,334 | 121 | 135 | 44.082645 | 0.725723 | 0.015186 | 0 | 0.720721 | 0 | 0.045045 | 0.508 | 0.085524 | 0 | 0 | 0 | 0 | 0.126126 | 1 | 0 | false | 0 | 0.018018 | 0 | 0.018018 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b6b926119c97f49f5db7e498243bf23b92aa6c5 | 23 | py | Python | ezbasti/__init__.py | dinilbose/ezbasti | a0fa1b68e31f5f60924420cbf256f0bca8aa9725 | [
"MIT"
] | null | null | null | ezbasti/__init__.py | dinilbose/ezbasti | a0fa1b68e31f5f60924420cbf256f0bca8aa9725 | [
"MIT"
] | null | null | null | ezbasti/__init__.py | dinilbose/ezbasti | a0fa1b68e31f5f60924420cbf256f0bca8aa9725 | [
"MIT"
] | null | null | null | from .ezbasti import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0bb2616ca07cb7ce5209991dedc944cd7cbb0ffa | 12 | py | Python | v0.1/test1.py | strickyak/pythonine | 7428f4a625c228ebcc582cad4f7f057f625a0561 | [
"MIT"
] | null | null | null | v0.1/test1.py | strickyak/pythonine | 7428f4a625c228ebcc582cad4f7f057f625a0561 | [
"MIT"
] | null | null | null | v0.1/test1.py | strickyak/pythonine | 7428f4a625c228ebcc582cad4f7f057f625a0561 | [
"MIT"
] | null | null | null | print 3 + 4
| 6 | 11 | 0.583333 | 3 | 12 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.333333 | 12 | 1 | 12 | 12 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0bc0c52ebca22158acefebe773acd872eeac731a | 177 | py | Python | learn/jsonrpc/client.py | guoxiaoyong/simple-useful | 63f483250cc5e96ef112aac7499ab9e3a35572a8 | [
"CC0-1.0"
] | null | null | null | learn/jsonrpc/client.py | guoxiaoyong/simple-useful | 63f483250cc5e96ef112aac7499ab9e3a35572a8 | [
"CC0-1.0"
] | null | null | null | learn/jsonrpc/client.py | guoxiaoyong/simple-useful | 63f483250cc5e96ef112aac7499ab9e3a35572a8 | [
"CC0-1.0"
] | null | null | null | import jsonrpclib
server = jsonrpclib.Server('http://localhost:8080')
print server.add(12345, 23456)
print server.ping('first string')
print server.ping_later('second string')
| 25.285714 | 51 | 0.779661 | 24 | 177 | 5.708333 | 0.625 | 0.240876 | 0.218978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 0.084746 | 177 | 6 | 52 | 29.5 | 0.759259 | 0 | 0 | 0 | 0 | 0 | 0.259887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e7ebcbd0d50be0726a9e8919183965b86ec3baa6 | 35,274 | py | Python | server/ahj_app/tests/test_edit_views.py | reepoi/ahj-registry | d4498bccfe114b19acca4f931d29f30fbc65a803 | [
"MIT"
] | null | null | null | server/ahj_app/tests/test_edit_views.py | reepoi/ahj-registry | d4498bccfe114b19acca4f931d29f30fbc65a803 | [
"MIT"
] | null | null | null | server/ahj_app/tests/test_edit_views.py | reepoi/ahj-registry | d4498bccfe114b19acca4f931d29f30fbc65a803 | [
"MIT"
] | null | null | null | import pdb
import uuid
from decimal import Decimal
from django.apps import apps
from ahj_app.models import User, Edit, Comment, AHJInspection, Contact, Address, Location, AHJ, AHJUserMaintains
from django.urls import reverse
from django.utils import timezone
import pytest
import datetime
from fixtures import create_u... | 47.41129 | 174 | 0.673726 | 3,984 | 35,274 | 5.683484 | 0.061998 | 0.034978 | 0.023186 | 0.023848 | 0.835755 | 0.821623 | 0.809036 | 0.786866 | 0.755598 | 0.736122 | 0 | 0.007162 | 0.180671 | 35,274 | 743 | 175 | 47.475101 | 0.776305 | 0.011085 | 0 | 0.660209 | 0 | 0 | 0.224774 | 0.024315 | 0 | 0 | 0 | 0 | 0.105812 | 1 | 0.052161 | false | 0 | 0.017884 | 0.002981 | 0.076006 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2fef8098e5738ff2bac12e615b8868ea60ebe90 | 794 | py | Python | stepIndex.py | Kantheesh/Learning-Python | d2dc9f1b9f652e6a6d84028e86a1daf77551eb5f | [
"MIT"
] | null | null | null | stepIndex.py | Kantheesh/Learning-Python | d2dc9f1b9f652e6a6d84028e86a1daf77551eb5f | [
"MIT"
] | null | null | null | stepIndex.py | Kantheesh/Learning-Python | d2dc9f1b9f652e6a6d84028e86a1daf77551eb5f | [
"MIT"
] | null | null | null | inp="ABC1010567"
print(inp[1:500]) #1
print("-----------------------")
inp="ABC1010567"
print(inp[1::1]) #2
print("-----------------------")
inp="ABC1010567"
print(inp[::-1]) #3
print("-----------------------")
print(inp[::1])#4
print("-----------------------")
print(inp[1::1])#5
print("--------------------... | 26.466667 | 33 | 0.333753 | 89 | 794 | 2.977528 | 0.202247 | 0.483019 | 0.441509 | 0.528302 | 0.739623 | 0.203774 | 0 | 0 | 0 | 0 | 0 | 0.095498 | 0.076826 | 794 | 30 | 34 | 26.466667 | 0.26603 | 0.023929 | 0 | 0.6 | 0 | 0 | 0.44884 | 0.407913 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.9 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
65363adbfa5c4c8ce610713982f421978b5a5bed | 13,276 | py | Python | test/azure/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/parameter_grouping_operations.py | iscai-msft/autorest.python | a9f38dd762fbc046ce6197bfabea2f56045d2957 | [
"MIT"
] | null | null | null | test/azure/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/parameter_grouping_operations.py | iscai-msft/autorest.python | a9f38dd762fbc046ce6197bfabea2f56045d2957 | [
"MIT"
] | null | null | null | test/azure/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/operations/parameter_grouping_operations.py | iscai-msft/autorest.python | a9f38dd762fbc046ce6197bfabea2f56045d2957 | [
"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 ... | 46.41958 | 166 | 0.692302 | 1,450 | 13,276 | 6.073103 | 0.106897 | 0.014763 | 0.026573 | 0.032705 | 0.816716 | 0.773223 | 0.745969 | 0.735635 | 0.728481 | 0.692482 | 0 | 0.001745 | 0.222808 | 13,276 | 285 | 167 | 46.582456 | 0.851715 | 0.296249 | 0 | 0.668919 | 0 | 0 | 0.08214 | 0.040445 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033784 | false | 0 | 0.02027 | 0 | 0.094595 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
65461b7e503c33474ec3c980cc20a762664d3f80 | 78 | py | Python | tutorials/02. easter eggs/00. hello.py | kctzstyle/my-python-tutorial | 1af9195741ea744ad70de546e46bd6ca8b9c03ab | [
"MIT"
] | null | null | null | tutorials/02. easter eggs/00. hello.py | kctzstyle/my-python-tutorial | 1af9195741ea744ad70de546e46bd6ca8b9c03ab | [
"MIT"
] | null | null | null | tutorials/02. easter eggs/00. hello.py | kctzstyle/my-python-tutorial | 1af9195741ea744ad70de546e46bd6ca8b9c03ab | [
"MIT"
] | null | null | null |
# Hello, world!
import __hello__
# 설명
# 실행하면 'Hello world!'가 바로 출력이 됩니다.
| 9.75 | 36 | 0.641026 | 12 | 78 | 3.833333 | 0.75 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24359 | 78 | 7 | 37 | 11.142857 | 0.779661 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3354c1a106fdaf2fe1b14ec0413d7c7e06416ac8 | 31 | py | Python | KD_Lib/Quantization/qat/__init__.py | PiaCuk/KD_Lib | 153299d484e4c6b33793749709dbb0f33419f190 | [
"MIT"
] | 360 | 2020-05-11T08:18:20.000Z | 2022-03-31T01:48:43.000Z | KD_Lib/Quantization/qat/__init__.py | PiaCuk/KD_Lib | 153299d484e4c6b33793749709dbb0f33419f190 | [
"MIT"
] | 91 | 2020-05-11T08:14:56.000Z | 2022-03-30T05:29:03.000Z | KD_Lib/Quantization/qat/__init__.py | PiaCuk/KD_Lib | 153299d484e4c6b33793749709dbb0f33419f190 | [
"MIT"
] | 39 | 2020-05-11T08:06:47.000Z | 2022-03-29T05:11:18.000Z | from .qat import QAT_Quantizer
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
68927d6eb694fb6e3bdd4da7997afa57f3eb9602 | 21 | py | Python | vision/src/temp/toplevel.py | nagneeve/ecen490 | 260805b87f3d890cbcb892121261baa5038e65c8 | [
"MIT"
] | null | null | null | vision/src/temp/toplevel.py | nagneeve/ecen490 | 260805b87f3d890cbcb892121261baa5038e65c8 | [
"MIT"
] | null | null | null | vision/src/temp/toplevel.py | nagneeve/ecen490 | 260805b87f3d890cbcb892121261baa5038e65c8 | [
"MIT"
] | null | null | null | import roboclaw.py
| 5.25 | 18 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 3 | 19 | 7 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0bc8d3f1f3bb7d019dc6b418345de0639ae54bfd | 47 | py | Python | pywebby/__init__.py | TomekPulkiewicz/pywebby | a7f8bd22a697ee4a4f09612e8a4384941ad08074 | [
"MIT"
] | 4 | 2021-05-26T08:00:18.000Z | 2021-05-26T10:12:37.000Z | pywebby/__init__.py | TomekPulkiewicz/pywebby | a7f8bd22a697ee4a4f09612e8a4384941ad08074 | [
"MIT"
] | null | null | null | pywebby/__init__.py | TomekPulkiewicz/pywebby | a7f8bd22a697ee4a4f09612e8a4384941ad08074 | [
"MIT"
] | 1 | 2021-05-26T12:56:27.000Z | 2021-05-26T12:56:27.000Z | from .lib import WebServer
from . import types_ | 23.5 | 26 | 0.808511 | 7 | 47 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 27 | 23.5 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
043ed71e6994428fee1e4c2d3acfa66573091871 | 6,641 | py | Python | pLaplace_eqs1d.py | xuzhiqin1990/MSDNN2ellipticPDEs | ddaee034474c18bc23b51824fb6a00539c07d52c | [
"MIT"
] | 1 | 2021-12-23T07:40:04.000Z | 2021-12-23T07:40:04.000Z | pLaplace_eqs1d.py | xuzhiqin1990/MSDNN2ellipticPDEs | ddaee034474c18bc23b51824fb6a00539c07d52c | [
"MIT"
] | null | null | null | pLaplace_eqs1d.py | xuzhiqin1990/MSDNN2ellipticPDEs | ddaee034474c18bc23b51824fb6a00539c07d52c | [
"MIT"
] | 1 | 2021-12-31T10:57:17.000Z | 2021-12-31T10:57:17.000Z | import tensorflow as tf
import numpy as np
def get_infos_2laplace(in_dim=None, out_dim=None, region_a=0, region_b=1, p=2, eps=0.01):
f = lambda x: tf.ones_like(x)
aeps = lambda x: 1.0 / (2 + tf.cos(2 * np.pi * x / eps))
u_l = lambda x: tf.zeros_like(x)
u_r = lambda x: tf.zeros_like(x)
... | 42.570513 | 132 | 0.430357 | 1,241 | 6,641 | 2.217566 | 0.047542 | 0.125 | 0.069041 | 0.080669 | 0.934956 | 0.934956 | 0.933866 | 0.928416 | 0.921875 | 0.894985 | 0 | 0.071547 | 0.364403 | 6,641 | 155 | 133 | 42.845161 | 0.580431 | 0.068363 | 0 | 0.684783 | 0 | 0 | 0.001826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.021739 | 0 | 0.195652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f0987b1ccdad4b0a7b023327a8e1e07e9982b27c | 28 | py | Python | foowise/__init__.py | ben-schulz/foowise | 16f437e9fc9a282db56a39efa8b84d06981ce652 | [
"MIT"
] | 1 | 2020-01-25T00:14:41.000Z | 2020-01-25T00:14:41.000Z | foowise/__init__.py | ben-schulz/foowise | 16f437e9fc9a282db56a39efa8b84d06981ce652 | [
"MIT"
] | 1 | 2018-08-19T17:41:33.000Z | 2018-08-26T02:15:02.000Z | foowise/__init__.py | ben-schulz/foowise | 16f437e9fc9a282db56a39efa8b84d06981ce652 | [
"MIT"
] | null | null | null | import foowise.channels.Cla
| 14 | 27 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 28 | 1 | 28 | 28 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f0bec3e9725c59cc48518121c5ecdb626de40bf6 | 164 | py | Python | tests/unit/conftest.py | JanPillarRubrik/rubrik-sdk-for-python | 838dac8cbddcd3d38c5523fe47bea0e22a4d940e | [
"MIT"
] | 4 | 2018-09-06T23:34:32.000Z | 2018-10-08T15:04:22.000Z | tests/unit/conftest.py | JanPillarRubrik/rubrik-sdk-for-python | 838dac8cbddcd3d38c5523fe47bea0e22a4d940e | [
"MIT"
] | 8 | 2021-03-09T13:02:15.000Z | 2022-02-24T08:46:50.000Z | tests/unit/conftest.py | JanPillarRubrik/rubrik-sdk-for-python | 838dac8cbddcd3d38c5523fe47bea0e22a4d940e | [
"MIT"
] | 4 | 2021-04-16T15:49:36.000Z | 2021-11-09T17:58:21.000Z | import pytest
import rubrik_cdm
@pytest.fixture(scope='module')
def rubrik():
return rubrik_cdm.Connect("10.0.1.1", "user", "password", enable_logging=True)
| 18.222222 | 82 | 0.72561 | 24 | 164 | 4.833333 | 0.75 | 0.155172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.115854 | 164 | 8 | 83 | 20.5 | 0.765517 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.2 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 6 |
f0c18167631ea3f89f826fa77e9ab029333e73a9 | 2,019 | py | Python | BlaBlauto/AdministracionReservas/views/reservaschofer.py | irri96/BlaBlautos | 2ca3d808ef8ba18d6fa8658edd1411f72cc71e71 | [
"MIT"
] | null | null | null | BlaBlauto/AdministracionReservas/views/reservaschofer.py | irri96/BlaBlautos | 2ca3d808ef8ba18d6fa8658edd1411f72cc71e71 | [
"MIT"
] | null | null | null | BlaBlauto/AdministracionReservas/views/reservaschofer.py | irri96/BlaBlautos | 2ca3d808ef8ba18d6fa8658edd1411f72cc71e71 | [
"MIT"
] | null | null | null | from django.shortcuts import render,redirect
from Nucleo.models import Viaje,Tramo,Reservacion,Chofer,User
from datetime import datetime,timedelta
from django.contrib.auth.decorators import user_passes_test
# Create your views here.
def VerReservas(request,id):
try:
chofer = Chofer.objects.get(user=User(i... | 43.891304 | 119 | 0.601783 | 227 | 2,019 | 5.321586 | 0.30837 | 0.07947 | 0.125828 | 0.119205 | 0.705298 | 0.705298 | 0.705298 | 0.705298 | 0.705298 | 0.705298 | 0 | 0.000675 | 0.266469 | 2,019 | 46 | 120 | 43.891304 | 0.81499 | 0.011392 | 0 | 0.731707 | 0 | 0 | 0.211028 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0.02439 | 0.097561 | 0 | 0.341463 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9bdfcb9db844cd54941de7f7b075b6a190d23941 | 2,102 | py | Python | build/lib/auto_instr/psw_800.py | arvind0790/auto_instr | 6b4ff1c535a8124c6f8e92e5dddd71f9101f8c24 | [
"MIT"
] | 1 | 2018-07-26T09:08:18.000Z | 2018-07-26T09:08:18.000Z | build/lib/auto_instr/psw_800.py | arvind0790/auto_instr | 6b4ff1c535a8124c6f8e92e5dddd71f9101f8c24 | [
"MIT"
] | null | null | null | build/lib/auto_instr/psw_800.py | arvind0790/auto_instr | 6b4ff1c535a8124c6f8e92e5dddd71f9101f8c24 | [
"MIT"
] | 1 | 2019-07-15T13:19:01.000Z | 2019-07-15T13:19:01.000Z | class PSW800(object):
#############Source a Voltage with OCP On############
def set_volt(instr,volt,current_lim):
instr.write('SOUR:CURR:PROT:LEV %f'%current_lim)
instr.write('SOUR:CURR:PROT:STAT ON')
instr.write('SOUR:VOLT:LEV:IMM %f'%volt)
instr.write('OUTP:STAT:IMM ON')
... | 52.55 | 153 | 0.629401 | 332 | 2,102 | 3.88253 | 0.201807 | 0.186191 | 0.184639 | 0.139643 | 0.792863 | 0.755625 | 0.734678 | 0.734678 | 0.696664 | 0.696664 | 0 | 0.025749 | 0.205519 | 2,102 | 39 | 154 | 53.897436 | 0.746108 | 0.174596 | 0 | 0.647059 | 0 | 0 | 0.304644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205882 | false | 0 | 0 | 0 | 0.264706 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9bea131171b3577fea029c6acecd2eb0a03f1d98 | 1,525 | py | Python | pyaz/webapp/deployment/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/webapp/deployment/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/webapp/deployment/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
Manage web app deployments.
'''
from ... pyaz_utils import _call_az
from . import container, github_actions, slot, source, user
def list_publishing_profiles(name, resource_group, slot=None, xml=None):
'''
Get the details for available web app deployment profiles.
Required Parameters:
- name -- na... | 42.361111 | 163 | 0.730492 | 209 | 1,525 | 5.253589 | 0.291866 | 0.071038 | 0.061931 | 0.065574 | 0.754098 | 0.712204 | 0.712204 | 0.712204 | 0.568306 | 0.568306 | 0 | 0 | 0.188852 | 1,525 | 35 | 164 | 43.571429 | 0.887631 | 0.676066 | 0 | 0 | 0 | 0 | 0.226277 | 0.124088 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
501b3f77c9fc6e5101579ee2f9439c7af1b3dca8 | 67 | py | Python | setup.py | alejandrogallo/show-me-your-electrons | 509a7193868a06adc25dbea2c5677e02f8de2f21 | [
"MIT"
] | null | null | null | setup.py | alejandrogallo/show-me-your-electrons | 509a7193868a06adc25dbea2c5677e02f8de2f21 | [
"MIT"
] | null | null | null | setup.py | alejandrogallo/show-me-your-electrons | 509a7193868a06adc25dbea2c5677e02f8de2f21 | [
"MIT"
] | null | null | null | from setuptools import setup
import smye
setup(**smye.SETUP_INFO)
| 13.4 | 28 | 0.80597 | 10 | 67 | 5.3 | 0.6 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 4 | 29 | 16.75 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
501ddc2c8b2aaee3b67f30a7842764efafa0aeae | 45,354 | py | Python | tests/test_views.py | maykinmedia/django-digid-eherkenning | 48efc88e64d3b2f9aa793758cd313b6ad8c633c4 | [
"MIT"
] | 1 | 2022-02-25T19:36:08.000Z | 2022-02-25T19:36:08.000Z | tests/test_views.py | maykinmedia/django-digid-eherkenning | 48efc88e64d3b2f9aa793758cd313b6ad8c633c4 | [
"MIT"
] | 2 | 2022-03-15T14:05:58.000Z | 2022-03-17T08:33:44.000Z | tests/test_views.py | maykinmedia/django-digid-eherkenning | 48efc88e64d3b2f9aa793758cd313b6ad8c633c4 | [
"MIT"
] | null | null | null | import urllib
from base64 import b64decode, b64encode
from hashlib import sha1
from unittest import skip
from unittest.mock import patch
from django.conf import settings
from django.contrib import auth
from django.test import TestCase
from django.urls import reverse
from django.utils import timezone
import responses
... | 40.458519 | 205 | 0.592825 | 4,832 | 45,354 | 5.494826 | 0.115273 | 0.016873 | 0.021694 | 0.028925 | 0.807804 | 0.789499 | 0.757636 | 0.745998 | 0.734021 | 0.718768 | 0 | 0.072616 | 0.262777 | 45,354 | 1,120 | 206 | 40.494643 | 0.721348 | 0.177294 | 0 | 0.695541 | 0 | 0.06879 | 0.398559 | 0.18092 | 0 | 0 | 0 | 0.000893 | 0.100637 | 1 | 0.02293 | false | 0.001274 | 0.021656 | 0 | 0.054777 | 0.005096 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
503a0b05c46be03c5f5cac7bdd197d1c32962bf9 | 8,548 | py | Python | test/unit/test_mvt_manager.py | kirkhansen/djangorestframework-mvt | c6b4626c503a689ea051800d23529883f8f02918 | [
"BSD-3-Clause"
] | null | null | null | test/unit/test_mvt_manager.py | kirkhansen/djangorestframework-mvt | c6b4626c503a689ea051800d23529883f8f02918 | [
"BSD-3-Clause"
] | null | null | null | test/unit/test_mvt_manager.py | kirkhansen/djangorestframework-mvt | c6b4626c503a689ea051800d23529883f8f02918 | [
"BSD-3-Clause"
] | null | null | null | from django.core.exceptions import FieldError
from rest_framework_mvt.managers import MVTManager
from rest_framework.serializers import ValidationError
from mock import patch, MagicMock
import pytest
@pytest.fixture
def mvt_manager():
mvt_manager = MVTManager(geo_col="jazzy_geo")
meta = MagicMock(db_table="te... | 39.391705 | 130 | 0.689518 | 1,086 | 8,548 | 5.054328 | 0.101289 | 0.058298 | 0.049554 | 0.07433 | 0.833303 | 0.797231 | 0.783021 | 0.729277 | 0.714702 | 0.695026 | 0 | 0.017394 | 0.192911 | 8,548 | 216 | 131 | 39.574074 | 0.778229 | 0 | 0 | 0.606557 | 0 | 0.016393 | 0.436125 | 0.20613 | 0 | 0 | 0 | 0 | 0.076503 | 1 | 0.04918 | false | 0 | 0.027322 | 0 | 0.087432 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac8ed8ffff265c8c4b0ff7b2a289f63400d01086 | 37 | py | Python | koapy/utils/store/__init__.py | resoliwan/koapy | b0616f252bb3588695dfb37c7d9b8580a65649a3 | [
"MIT"
] | 1 | 2021-09-25T22:33:01.000Z | 2021-09-25T22:33:01.000Z | koapy/utils/store/__init__.py | resoliwan/koapy | b0616f252bb3588695dfb37c7d9b8580a65649a3 | [
"MIT"
] | null | null | null | koapy/utils/store/__init__.py | resoliwan/koapy | b0616f252bb3588695dfb37c7d9b8580a65649a3 | [
"MIT"
] | 1 | 2021-11-12T15:33:29.000Z | 2021-11-12T15:33:29.000Z | from .SQLiteStore import SQLiteStore
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
acc33c1f743811eb185f5e6dd17321dced5a6ad6 | 3,560 | py | Python | api/routes/v0_routes.py | s2t2/tweet-analyzer-py | 0a398fc47101a2d602d8c4116c970f1076a58f27 | [
"MIT"
] | 5 | 2020-04-02T12:03:57.000Z | 2020-10-18T19:29:15.000Z | api/routes/v0_routes.py | s2t2/tweet-analyzer-py | 0a398fc47101a2d602d8c4116c970f1076a58f27 | [
"MIT"
] | 22 | 2020-03-31T02:00:34.000Z | 2021-06-30T17:59:01.000Z | api/routes/v0_routes.py | s2t2/tweet-analyzer-py | 0a398fc47101a2d602d8c4116c970f1076a58f27 | [
"MIT"
] | 3 | 2020-04-04T16:08:08.000Z | 2020-10-20T01:32:46.000Z |
from flask import Blueprint, current_app, jsonify, request
api_routes = Blueprint("v0_routes", __name__)
@api_routes.route("/api/v0/user_details/<screen_name>")
def user_details(screen_name=None):
#print(f"USER DETAILS: '{screen_name}'")
if "@" in screen_name or ";" in screen_name: # just be super safe about... | 48.767123 | 143 | 0.724157 | 515 | 3,560 | 4.75534 | 0.159223 | 0.107799 | 0.045733 | 0.055533 | 0.871784 | 0.871784 | 0.84116 | 0.84116 | 0.804818 | 0.804818 | 0 | 0.009743 | 0.135112 | 3,560 | 72 | 144 | 49.444444 | 0.785645 | 0.073876 | 0 | 0.534483 | 0 | 0 | 0.236634 | 0.068044 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0 | 0.017241 | 0 | 0.362069 | 0.172414 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
acf5adc6619414d28429862c87fab944b15fa595 | 9,934 | py | Python | data/archive/download_rh_sigma995.py | Skye777/transformer | 177834bcb55e59f8ea0fbe666734c148effbec8d | [
"Apache-2.0"
] | null | null | null | data/archive/download_rh_sigma995.py | Skye777/transformer | 177834bcb55e59f8ea0fbe666734c148effbec8d | [
"Apache-2.0"
] | null | null | null | data/archive/download_rh_sigma995.py | Skye777/transformer | 177834bcb55e59f8ea0fbe666734c148effbec8d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#################################################################
# Python Script to retrieve 164 online Data files of 'ds131.2',
# total 3.46G. This script uses 'requests' to download data.
#
# Highlight this script by Select All, Copy and Paste it into a file;
# make the file executable and run ... | 42.09322 | 88 | 0.750252 | 1,440 | 9,934 | 4.704861 | 0.220833 | 0.338893 | 0.43572 | 0.433063 | 0.708044 | 0.708044 | 0.010332 | 0 | 0 | 0 | 0 | 0.080194 | 0.12885 | 9,934 | 235 | 89 | 42.27234 | 0.702681 | 0.051842 | 0 | 0.047393 | 0 | 0 | 0.712884 | 0.69186 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004739 | false | 0.023697 | 0.014218 | 0 | 0.018957 | 0.018957 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
acfb6118c412a1d00d79c1f65100746a99557f3a | 40 | py | Python | singlebar/__init__.py | ericedem/singlebar | 81d5f517284b64e838706d7ac168f8a700afe57c | [
"MIT"
] | null | null | null | singlebar/__init__.py | ericedem/singlebar | 81d5f517284b64e838706d7ac168f8a700afe57c | [
"MIT"
] | 1 | 2016-05-11T17:06:39.000Z | 2016-05-11T17:06:39.000Z | singlebar/__init__.py | ericedem/singlebar | 81d5f517284b64e838706d7ac168f8a700afe57c | [
"MIT"
] | null | null | null | from .core import start, update, finish
| 20 | 39 | 0.775 | 6 | 40 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 1 | 40 | 40 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a0cd75ad827ec73c9f052e1985296f2a9b15f38 | 134 | py | Python | mabel/operators/minio/__init__.py | mabel-dev/mabel | ee1fdfcfe5fb87d2c5ce4f24b4b7113478ba1b8a | [
"Apache-2.0"
] | null | null | null | mabel/operators/minio/__init__.py | mabel-dev/mabel | ee1fdfcfe5fb87d2c5ce4f24b4b7113478ba1b8a | [
"Apache-2.0"
] | 287 | 2021-05-14T21:25:26.000Z | 2022-03-30T12:02:51.000Z | mabel/operators/minio/__init__.py | gva-jjoyce/mabel | eb99e02d0287b851e65ad9a75b5f4188805d4ec9 | [
"Apache-2.0"
] | 1 | 2021-04-29T18:18:20.000Z | 2021-04-29T18:18:20.000Z | from .minio_batch_writer_operator import MinIoBatchWriterOperator
from .minio_stream_writer_operator import MinIoStreamWriterOperator
| 44.666667 | 67 | 0.925373 | 14 | 134 | 8.428571 | 0.642857 | 0.152542 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 134 | 2 | 68 | 67 | 0.936508 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a147d11a520e873591eb9916de7ea51eea627dc | 105 | py | Python | openslides/saml/exceptions.py | swilde/OpenSlides | 23ae32a75892005632784652d108836d1ba09da9 | [
"MIT"
] | 3 | 2021-02-11T20:45:58.000Z | 2022-02-09T21:59:42.000Z | openslides/saml/exceptions.py | swilde/OpenSlides | 23ae32a75892005632784652d108836d1ba09da9 | [
"MIT"
] | 2 | 2021-11-02T15:48:16.000Z | 2022-03-02T08:38:19.000Z | openslides/saml/exceptions.py | swilde/OpenSlides | 23ae32a75892005632784652d108836d1ba09da9 | [
"MIT"
] | 3 | 2021-01-18T11:44:05.000Z | 2022-01-19T16:00:23.000Z | from openslides.utils.exceptions import OpenSlidesError
class SamlException(OpenSlidesError):
pass
| 17.5 | 55 | 0.828571 | 10 | 105 | 8.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 5 | 56 | 21 | 0.945652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c5be50d843ecec7e74cd469542d42ea164bd75ad | 132 | py | Python | 000562HeadFirstPy/000562_01_01_p048_datetime_20200201.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 000562HeadFirstPy/000562_01_01_p048_datetime_20200201.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 000562HeadFirstPy/000562_01_01_p048_datetime_20200201.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | import time
print("12 часовой формат:")
print(time.strftime("%I:%M"))
print("\nдо/после полуночи:")
print(time.strftime("%A %p"))
| 16.5 | 29 | 0.674242 | 20 | 132 | 4.45 | 0.7 | 0.202247 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.090909 | 132 | 7 | 30 | 18.857143 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.8 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.