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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8aa61acfcc23aff9ad0ec8ef114cf28fa093aa6b | 295,263 | py | Python | google/storage/v1/storage-v1-py/tests/unit/gapic/storage_v1/test_storage.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 7 | 2021-02-21T10:39:41.000Z | 2021-12-07T07:31:28.000Z | google/storage/v1/storage-v1-py/tests/unit/gapic/storage_v1/test_storage.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 6 | 2021-02-02T23:46:11.000Z | 2021-11-15T01:46:02.000Z | google/storage/v1/storage-v1-py/tests/unit/gapic/storage_v1/test_storage.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 4 | 2021-01-28T23:25:45.000Z | 2021-08-30T01:55:16.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 39.190735 | 387 | 0.684349 | 34,291 | 295,263 | 5.637864 | 0.016039 | 0.047215 | 0.043439 | 0.020933 | 0.956209 | 0.928996 | 0.914244 | 0.892768 | 0.874845 | 0.847777 | 0 | 0.006497 | 0.235312 | 295,263 | 7,533 | 388 | 39.195938 | 0.849755 | 0.195717 | 0 | 0.768399 | 0 | 0 | 0.098695 | 0.021735 | 0 | 0 | 0 | 0.000133 | 0.220607 | 1 | 0.040991 | false | 0.000186 | 0.005962 | 0.000373 | 0.047326 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8ac158938b75bde5bdf54ff94364daf44be89681 | 14,428 | py | Python | pcc/python/antchain_sdk_pcc/client.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | 6 | 2020-06-28T06:40:50.000Z | 2022-02-25T11:02:18.000Z | pcc/python/antchain_sdk_pcc/client.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | null | null | null | pcc/python/antchain_sdk_pcc/client.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | 6 | 2020-06-30T09:29:03.000Z | 2022-01-07T10:42:22.000Z | # -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
import time
from Tea.exceptions import TeaException, UnretryableException
from Tea.request import TeaRequest
from Tea.core import TeaCore
from antchain_alipay_util.antchain_utils import AntchainUtils
from typing import Dict
from antchain_sd... | 44.122324 | 152 | 0.606737 | 1,478 | 14,428 | 5.590663 | 0.156292 | 0.059664 | 0.047319 | 0.036306 | 0.798741 | 0.76183 | 0.742224 | 0.734842 | 0.734842 | 0.734842 | 0 | 0.006076 | 0.3042 | 14,428 | 326 | 153 | 44.257669 | 0.817014 | 0.046299 | 0 | 0.712177 | 1 | 0 | 0.082433 | 0.017008 | 0 | 0 | 0 | 0 | 0.01476 | 1 | 0.01476 | false | 0 | 0.0369 | 0 | 0.147601 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
76d6f50e528ee21f9e9b434221869de1a64a18b0 | 51,362 | py | Python | tests/constants.py | fossabot/easy_sast | 1aa7dbbf340e3340fa2f70ec5bafb798294bfa7a | [
"BSD-3-Clause"
] | null | null | null | tests/constants.py | fossabot/easy_sast | 1aa7dbbf340e3340fa2f70ec5bafb798294bfa7a | [
"BSD-3-Clause"
] | null | null | null | tests/constants.py | fossabot/easy_sast | 1aa7dbbf340e3340fa2f70ec5bafb798294bfa7a | [
"BSD-3-Clause"
] | 1 | 2021-01-20T20:59:52.000Z | 2021-01-20T20:59:52.000Z | #!/usr/bin/env python3
"""
Constants for use during tests
"""
# built-ins
import copy
import secrets
from pathlib import Path
from typing import Dict, List, Union
from xml.etree import ( # nosec (Used only when TYPE_CHECKING) # nosem: python.lang.security.use-defused-xml.use-defused-xml
ElementTree as InsecureEle... | 46.650318 | 382 | 0.707527 | 6,652 | 51,362 | 5.218882 | 0.067949 | 0.031369 | 0.012444 | 0.020567 | 0.89947 | 0.865019 | 0.838979 | 0.79724 | 0.734647 | 0.668107 | 0 | 0.053985 | 0.143452 | 51,362 | 1,100 | 383 | 46.692727 | 0.735123 | 0.135742 | 0 | 0.547106 | 0 | 0.113507 | 0.610387 | 0.262221 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.009081 | 0.007946 | 0 | 0.007946 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
76ef39135461c90c89434ff1044c6aab1a43dc60 | 9,741 | py | Python | test/test_phone_number_rate.py | karixtech/karix-python | e9162d41249a639fdb35cba1263416d76d7b79c9 | [
"MIT"
] | 5 | 2019-02-27T07:22:40.000Z | 2021-03-28T23:17:23.000Z | test/test_phone_number_rate.py | sendbee/karix-python | 0f2d72a6949dce5d5db5d3f48b37d3b6fc65a50e | [
"MIT"
] | 2 | 2019-12-03T13:55:07.000Z | 2020-03-31T03:44:40.000Z | test/test_phone_number_rate.py | sendbee/karix-python | 0f2d72a6949dce5d5db5d3f48b37d3b6fc65a50e | [
"MIT"
] | 5 | 2019-04-22T17:33:29.000Z | 2021-01-12T19:57:44.000Z | # coding: utf-8
"""
karix api
# Overview Karix API lets you interact with the Karix platform using an omnichannel messaging API. It also allows you to query your account, set up webhooks and buy phone numbers. # API and Clients Versioning Karix APIs are versioned using the format vX.Y where X is the major ... | 237.585366 | 8,932 | 0.649728 | 1,223 | 9,741 | 5.156173 | 0.29027 | 0.011893 | 0.013321 | 0.018237 | 0.258484 | 0.220901 | 0.154297 | 0.131145 | 0.131145 | 0.131145 | 0 | 0.005118 | 0.257776 | 9,741 | 40 | 8,933 | 243.525 | 0.867082 | 0.951442 | 0 | 0.214286 | 0 | 0 | 0.018913 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
0a0b00ad25824ad2cfcfdb36b74b704732bceeca | 36,538 | py | Python | Models/Mean_Teacher/mean_teacher_model.py | Jincheng-Sun/Kylearn | ba6cd80c97e155d4bb4791b3ae74135bc1365064 | [
"Apache-2.0"
] | null | null | null | Models/Mean_Teacher/mean_teacher_model.py | Jincheng-Sun/Kylearn | ba6cd80c97e155d4bb4791b3ae74135bc1365064 | [
"Apache-2.0"
] | null | null | null | Models/Mean_Teacher/mean_teacher_model.py | Jincheng-Sun/Kylearn | ba6cd80c97e155d4bb4791b3ae74135bc1365064 | [
"Apache-2.0"
] | 3 | 2019-07-07T06:37:52.000Z | 2019-09-10T20:32:34.000Z | import numpy as np
import tensorflow as tf
from utils import utils
from Models.Mean_Teacher.mt_utils import getter_ema, model_vars
from framework.model import Model
import collections
import functools
from utils.log import log_down
class Mean_Teacher_model_1d(Model):
def __init__(self, ckpt_path, tsboard_path, n... | 50.466851 | 136 | 0.562757 | 4,292 | 36,538 | 4.549161 | 0.06151 | 0.044251 | 0.024379 | 0.019155 | 0.974597 | 0.969373 | 0.966607 | 0.965429 | 0.962817 | 0.962817 | 0 | 0.011431 | 0.329629 | 36,538 | 724 | 137 | 50.466851 | 0.785703 | 0.051617 | 0 | 0.953321 | 0 | 0 | 0.03729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066427 | false | 0 | 0.014363 | 0.005386 | 0.123878 | 0.021544 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a5b6aad9cad4a8d4c120d62010d54fb3f07e906 | 17,362 | py | Python | koku/reporting/migrations/0210_ocpaws_partables.py | project-koku/koku | 3464046e13dd25db69e2986e819593f97bf1ef5f | [
"Apache-2.0"
] | 157 | 2018-04-30T16:27:53.000Z | 2022-03-31T08:17:21.000Z | koku/reporting/migrations/0210_ocpaws_partables.py | project-koku/koku | 3464046e13dd25db69e2986e819593f97bf1ef5f | [
"Apache-2.0"
] | 3,250 | 2018-04-26T14:14:25.000Z | 2022-03-31T23:49:15.000Z | koku/reporting/migrations/0210_ocpaws_partables.py | project-koku/koku | 3464046e13dd25db69e2986e819593f97bf1ef5f | [
"Apache-2.0"
] | 65 | 2018-05-10T14:11:50.000Z | 2022-03-18T19:22:58.000Z | # Generated by Django 3.1.13 on 2021-11-18 04:49
import django.db.models.deletion
from django.db import migrations
from django.db import models
from koku.database import set_partition_mode
from koku.database import unset_partition_mode
class Migration(migrations.Migration):
dependencies = [("api", "0050_exchang... | 48.907042 | 120 | 0.549418 | 1,596 | 17,362 | 5.722431 | 0.085213 | 0.053433 | 0.086718 | 0.115625 | 0.889631 | 0.884047 | 0.872769 | 0.851418 | 0.829957 | 0.737436 | 0 | 0.018915 | 0.333141 | 17,362 | 354 | 121 | 49.045198 | 0.769908 | 0.002649 | 0 | 0.787356 | 1 | 0 | 0.21705 | 0.086289 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014368 | 0 | 0.022989 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0a629f9b47fd0e376f5f12ee6b5511834a8b28eb | 11,964 | py | Python | tests/test_filters.py | PrincetonUniversity/ASPIRE-Python | 1bff8d3884183203bd77695a76bccb1efc909fd3 | [
"MIT"
] | 7 | 2018-11-07T16:45:35.000Z | 2020-01-10T16:54:26.000Z | tests/test_filters.py | PrincetonUniversity/ASPIRE-Python | 1bff8d3884183203bd77695a76bccb1efc909fd3 | [
"MIT"
] | 1 | 2019-04-05T18:41:39.000Z | 2019-04-05T18:41:39.000Z | tests/test_filters.py | PrincetonUniversity/ASPIRE-Python | 1bff8d3884183203bd77695a76bccb1efc909fd3 | [
"MIT"
] | 2 | 2019-06-04T17:01:53.000Z | 2019-07-08T19:01:40.000Z | import os.path
from unittest import TestCase
import numpy as np
from aspire.operators import (
CTFFilter,
FunctionFilter,
IdentityFilter,
PowerFilter,
RadialCTFFilter,
ScalarFilter,
ScaledFilter,
ZeroFilter,
)
from aspire.utils import utest_tolerance
DATA_DIR = os.path.join(os.path.di... | 37.860759 | 88 | 0.408475 | 796 | 11,964 | 6.091709 | 0.173367 | 0.052794 | 0.056094 | 0.049495 | 0.785729 | 0.774799 | 0.747783 | 0.747783 | 0.747783 | 0.725304 | 0 | 0.393363 | 0.516382 | 11,964 | 315 | 89 | 37.980952 | 0.444694 | 0.028502 | 0 | 0.670139 | 0 | 0 | 0.002583 | 0 | 0 | 0 | 0 | 0 | 0.065972 | 1 | 0.048611 | false | 0.003472 | 0.017361 | 0 | 0.069444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0a6f273472c42273744ea02d10c26b06df37d69f | 68,606 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/SystemIPC/cmp_lu.ncont/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/SystemIPC/cmp_lu.ncont/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_splash_tugberk_ml/SystemIPC/cmp_lu.ncont/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.061269 | 124 | 0.682069 | 8,082 | 68,606 | 5.783964 | 0.067929 | 0.123561 | 0.112951 | 0.093441 | 0.939032 | 0.929855 | 0.917105 | 0.886065 | 0.861464 | 0.842254 | 0 | 0.131899 | 0.224339 | 68,606 | 914 | 125 | 75.061269 | 0.746538 | 0 | 0 | 0.642232 | 0 | 0 | 0.65744 | 0.0481 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6a57a2a2018a13977c8dc7022a4a862cbaea977b | 2,411 | py | Python | ve/unit/test_attr_enum.py | aneels3/pyvsc | 692fa2baa9cc0251411b3a8ace2854b7e65c288a | [
"Apache-2.0"
] | null | null | null | ve/unit/test_attr_enum.py | aneels3/pyvsc | 692fa2baa9cc0251411b3a8ace2854b7e65c288a | [
"Apache-2.0"
] | null | null | null | ve/unit/test_attr_enum.py | aneels3/pyvsc | 692fa2baa9cc0251411b3a8ace2854b7e65c288a | [
"Apache-2.0"
] | null | null | null | '''
Created on Jun 24, 2020
@author: ballance
'''
from enum import Enum, auto, IntEnum
import vsc
from vsc_test_case import VscTestCase
class TestAttrEnum(VscTestCase):
def test_rand_plain_enum(self):
class my_e(Enum):
A = auto()
B = auto()
@vsc.randobj
... | 22.53271 | 46 | 0.436333 | 303 | 2,411 | 3.19802 | 0.174917 | 0.043344 | 0.057792 | 0.066047 | 0.841073 | 0.793602 | 0.77709 | 0.77709 | 0.77709 | 0.77709 | 0 | 0.030581 | 0.457487 | 2,411 | 107 | 47 | 22.53271 | 0.710245 | 0.01742 | 0 | 0.857143 | 0 | 0 | 0.005927 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 1 | 0.114286 | false | 0 | 0.042857 | 0 | 0.285714 | 0.028571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6a8da75a9301c2dc28e019085fcbd4e7256fe883 | 125 | py | Python | contents/tts/content/TensorflowTTS/tensorflow_tts/losses/__init__.py | PIN-devel/inside-kids | 554e4a0a5654c9a0f5237b904bb2ca6db88a55cb | [
"MIT"
] | 2 | 2020-06-01T07:39:25.000Z | 2021-11-08T09:31:33.000Z | contents/tts/content/TensorflowTTS/tensorflow_tts/losses/__init__.py | PIN-devel/inside-kids | 554e4a0a5654c9a0f5237b904bb2ca6db88a55cb | [
"MIT"
] | 1 | 2021-02-26T04:10:19.000Z | 2021-02-26T04:10:19.000Z | contents/tts/content/TensorflowTTS/tensorflow_tts/losses/__init__.py | PIN-devel/inside-kids | 554e4a0a5654c9a0f5237b904bb2ca6db88a55cb | [
"MIT"
] | 4 | 2021-04-14T03:06:58.000Z | 2022-03-07T05:45:01.000Z | from tensorflow_tts.losses.stft import TFMultiResolutionSTFT
from tensorflow_tts.losses.spectrogram import TFMelSpectrogram
| 31.25 | 62 | 0.896 | 14 | 125 | 7.857143 | 0.642857 | 0.254545 | 0.309091 | 0.418182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072 | 125 | 3 | 63 | 41.666667 | 0.948276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
6a98d5acab0ce7b3e86d8a51d49d7218b08cf5a5 | 27,256 | py | Python | pynetdicom/tests/encoded_pdu_items.py | jogerh/pynetdicom | 3ca25f67c32d7cc0d1fe6afe3f3ef333a37bfe72 | [
"MIT"
] | null | null | null | pynetdicom/tests/encoded_pdu_items.py | jogerh/pynetdicom | 3ca25f67c32d7cc0d1fe6afe3f3ef333a37bfe72 | [
"MIT"
] | null | null | null | pynetdicom/tests/encoded_pdu_items.py | jogerh/pynetdicom | 3ca25f67c32d7cc0d1fe6afe3f3ef333a37bfe72 | [
"MIT"
] | 1 | 2021-08-09T03:47:41.000Z | 2021-08-09T03:47:41.000Z | """Encoding PDUs for use in testing."""
############################# A-ASSOCIATE-RQ PDU #############################
# Called AET: ANY-SCP
# Calling AET: ECHOSCU
# Application Context Name: 1.2.840.10008.3.1.1.1
# Presentation Context Items:
# Presentation Context ID: 1
# Abstract Syntax: 1.2.840.10008.1.1 Verifi... | 45.200663 | 79 | 0.65692 | 5,351 | 27,256 | 3.326855 | 0.054195 | 0.224469 | 0.199191 | 0.184024 | 0.865914 | 0.839175 | 0.818784 | 0.802157 | 0.791877 | 0.765757 | 0 | 0.311204 | 0.116855 | 27,256 | 602 | 80 | 45.275748 | 0.428358 | 0.338421 | 0 | 0.199346 | 0 | 0.617647 | 0.807579 | 0.787911 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.006536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
6aaea1de372e37ec87760da2db8ba72830f1fade | 420,529 | py | Python | rl_agents/a3c_agent_v5-60_deterministic.py | IsaiahPressman/Kaggle_Santa_2020 | ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8 | [
"MIT"
] | null | null | null | rl_agents/a3c_agent_v5-60_deterministic.py | IsaiahPressman/Kaggle_Santa_2020 | ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8 | [
"MIT"
] | null | null | null | rl_agents/a3c_agent_v5-60_deterministic.py | IsaiahPressman/Kaggle_Santa_2020 | ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8 | [
"MIT"
] | null | null | null | serialized_string = b'gAN9cQBYEAAAAG1vZGVsX3N0YXRlX2RpY3RxAWNjb2xsZWN0aW9ucwpPcmRlcmVkRGljdApxAilScQMoWCEAAABiYXNlLmxheWVycy4wLm1lc3NhZ2VfcGFzc2luZ19tYXRxBGN0b3JjaC5fdXRpbHMKX3JlYnVpbGRfdGVuc29yX3YyCnEFKGN0b3JjaC5zdG9yYWdlCl9sb2FkX2Zyb21fYnl0ZXMKcQZCPJ0AAIACigps/JxG+SBqqFAZLoACTekDLoACfXEAKFgQAAAAcHJvdG9jb2xfdmVyc2lvbn... | 2,071.571429 | 412,003 | 0.934314 | 25,459 | 420,529 | 15.420755 | 0.056365 | 1.659259 | 2.409456 | 3.106697 | 0.897788 | 0.897144 | 0.89679 | 0.896724 | 0.896724 | 0.896398 | 0 | 0.179604 | 0.005453 | 420,529 | 202 | 412,004 | 2,081.826733 | 0.759093 | 0.0017 | 0 | 0.316456 | 0 | 0.006329 | 0.981687 | 0.981372 | 0 | 1 | 0 | 0.004951 | 0.006329 | 1 | 0.094937 | false | 0.025316 | 0.031646 | 0.006329 | 0.234177 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
6ab8068bbf081a4824aa5ebdecbc04f1ce7b600e | 32,187 | py | Python | utils/cloud/cloud_client/api/recognize_api.py | alexfdo/asr_eval | d1573cc3113ce9df1ae64c3b91b5f495e2cff9a3 | [
"MIT"
] | 3 | 2020-03-06T17:20:34.000Z | 2021-09-09T09:18:48.000Z | utils/cloud/cloud_client/api/recognize_api.py | alexfdo/asr_eval | d1573cc3113ce9df1ae64c3b91b5f495e2cff9a3 | [
"MIT"
] | 1 | 2020-02-03T18:25:08.000Z | 2020-02-03T18:25:08.000Z | utils/cloud/cloud_client/api/recognize_api.py | alexfdo/asr_eval | d1573cc3113ce9df1ae64c3b91b5f495e2cff9a3 | [
"MIT"
] | 1 | 2020-01-29T19:47:54.000Z | 2020-01-29T19:47:54.000Z | # coding: utf-8
"""
ASR documentation
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
impor... | 40.640152 | 126 | 0.614627 | 3,721 | 32,187 | 5.080892 | 0.048374 | 0.052047 | 0.042315 | 0.026658 | 0.968052 | 0.966043 | 0.956469 | 0.948641 | 0.948641 | 0.945679 | 0 | 0.017513 | 0.293939 | 32,187 | 791 | 127 | 40.69153 | 0.814398 | 0.332184 | 0 | 0.818396 | 1 | 0 | 0.209855 | 0.062286 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035377 | false | 0 | 0.009434 | 0 | 0.096698 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6ab9f5ebba018327e12715a7f95c4049cde6b995 | 14,602 | py | Python | torpeewee/query.py | snower/torpeewee | 1d2d73090972ab33bb4a0980bfed63ff74961a1a | [
"MIT"
] | 31 | 2016-07-08T14:16:43.000Z | 2021-12-25T08:41:55.000Z | torpeewee/query.py | snower/torpeewee | 1d2d73090972ab33bb4a0980bfed63ff74961a1a | [
"MIT"
] | 2 | 2016-11-07T06:04:36.000Z | 2021-05-25T10:23:10.000Z | torpeewee/query.py | snower/torpeewee | 1d2d73090972ab33bb4a0980bfed63ff74961a1a | [
"MIT"
] | 10 | 2017-03-15T11:27:04.000Z | 2019-08-26T23:16:41.000Z | # -*- coding: utf-8 -*-
# 16/6/28
# create by: snower
from peewee import database_required, SQL, fn, Select as BaseSelect
from peewee import ModelSelect as BaseModelSelect, NoopModelSelect as BaseNoopModelSelect, ModelUpdate as BaseModelUpdate, \
ModelInsert as BaseModelInsert, ModelDelete as BaseModelDelete, Mode... | 32.521158 | 124 | 0.609095 | 1,654 | 14,602 | 5.114873 | 0.074365 | 0.099882 | 0.11052 | 0.019858 | 0.905201 | 0.89279 | 0.889125 | 0.889125 | 0.889125 | 0.889125 | 0 | 0.004817 | 0.303383 | 14,602 | 448 | 125 | 32.59375 | 0.826878 | 0.003219 | 0 | 0.925824 | 0 | 0 | 0.024397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085165 | false | 0.010989 | 0.005495 | 0.010989 | 0.291209 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6aee58f24c41359a8c034a3e0e5858fa8247d6b9 | 48 | py | Python | test/regression/features/assignment/assign_multi.py | ppelleti/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 137 | 2015-02-13T21:03:23.000Z | 2021-11-24T03:53:55.000Z | test/regression/features/assignment/assign_multi.py | ppelleti/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 4 | 2015-04-01T13:49:13.000Z | 2019-07-09T19:28:56.000Z | test/regression/features/assignment/assign_multi.py | bjpop/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 8 | 2015-04-25T03:47:52.000Z | 2019-07-27T06:33:56.000Z | x = y = 1
print(x,y)
x = y = z = 1
print(x,y,z)
| 9.6 | 13 | 0.458333 | 14 | 48 | 1.571429 | 0.357143 | 0.363636 | 0.636364 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.291667 | 48 | 4 | 14 | 12 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 1 | 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 | 0 | 1 | 0 | 8 |
0a768b4b1407a9778e542827cbb874581c442224 | 150 | py | Python | src/distdl/nn/mixins/__init__.py | BuildJet/distdl | 28b0dcf2c0a762de924cc310398a2eab9c35297f | [
"BSD-2-Clause"
] | 25 | 2020-06-25T21:11:55.000Z | 2022-03-24T04:56:23.000Z | src/distdl/nn/mixins/__init__.py | BuildJet/distdl | 28b0dcf2c0a762de924cc310398a2eab9c35297f | [
"BSD-2-Clause"
] | 97 | 2020-06-08T17:09:59.000Z | 2022-03-26T00:47:11.000Z | src/distdl/nn/mixins/__init__.py | BuildJet/distdl | 28b0dcf2c0a762de924cc310398a2eab9c35297f | [
"BSD-2-Clause"
] | 8 | 2020-06-08T17:00:54.000Z | 2022-03-20T20:20:24.000Z | from .conv_mixin import ConvMixin # noqa: F401
from .halo_mixin import HaloMixin # noqa: F401
from .pooling_mixin import PoolingMixin # noqa: F401
| 37.5 | 53 | 0.78 | 21 | 150 | 5.428571 | 0.52381 | 0.289474 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.16 | 150 | 3 | 54 | 50 | 0.833333 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0a7ebdb5bf0dbf07edf0e2c8989e063f7ddb6601 | 4,479 | py | Python | test/unit/test_terracoind_data_shims.py | cryptainer/terracoin-sentinel | fdc53bd4632dfda3e2fb1c7a10b029ff19ae9c08 | [
"MIT"
] | null | null | null | test/unit/test_terracoind_data_shims.py | cryptainer/terracoin-sentinel | fdc53bd4632dfda3e2fb1c7a10b029ff19ae9c08 | [
"MIT"
] | null | null | null | test/unit/test_terracoind_data_shims.py | cryptainer/terracoin-sentinel | fdc53bd4632dfda3e2fb1c7a10b029ff19ae9c08 | [
"MIT"
] | null | null | null | import pytest
import sys
import os
os.environ['SENTINEL_CONFIG'] = os.path.normpath(os.path.join(os.path.dirname(__file__), '../test_sentinel.conf'))
sys.path.append(os.path.normpath(os.path.join(os.path.dirname(__file__), '../../lib')))
import terracoinlib
@pytest.fixture
def sentinel_proposal_hex():
return '5b2... | 114.846154 | 588 | 0.935253 | 135 | 4,479 | 30.62963 | 0.266667 | 0.008706 | 0.015478 | 0.02104 | 0.107134 | 0.100846 | 0.100846 | 0.019831 | 0.019831 | 0.019831 | 0 | 0.678245 | 0.022996 | 4,479 | 38 | 589 | 117.868421 | 0.266682 | 0.016075 | 0 | 0.166667 | 0 | 0 | 0.772985 | 0.767537 | 0 | 1 | 0 | 0 | 0.166667 | 1 | 0.25 | false | 0 | 0.166667 | 0.166667 | 0.583333 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
0a87a37d777eb8e70a10dcc868c55d19f0561423 | 34,439 | py | Python | python_modules/dagster/dagster/core/definitions/decorators/schedule.py | soyelherein/dagster | f969a3b24e66e61f91e3a7beaedbd2a87f86f85d | [
"Apache-2.0"
] | null | null | null | python_modules/dagster/dagster/core/definitions/decorators/schedule.py | soyelherein/dagster | f969a3b24e66e61f91e3a7beaedbd2a87f86f85d | [
"Apache-2.0"
] | null | null | null | python_modules/dagster/dagster/core/definitions/decorators/schedule.py | soyelherein/dagster | f969a3b24e66e61f91e3a7beaedbd2a87f86f85d | [
"Apache-2.0"
] | null | null | null | import datetime
import warnings
from functools import update_wrapper
from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, cast
from dagster import check
from dagster.core.definitions.partition import (
PartitionScheduleDefinition,
PartitionSetDefinition,
ScheduleType,
TimeBasedPartiti... | 48.233894 | 103 | 0.687505 | 4,234 | 34,439 | 5.385923 | 0.059991 | 0.032319 | 0.015787 | 0.022891 | 0.89629 | 0.871251 | 0.847132 | 0.825206 | 0.815778 | 0.802359 | 0 | 0.005455 | 0.228113 | 34,439 | 713 | 104 | 48.301543 | 0.852387 | 0.364354 | 0 | 0.700713 | 0 | 0 | 0.134687 | 0.023229 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023753 | false | 0 | 0.028504 | 0 | 0.07601 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a882137a9078a60adbef7e7191c3e6fea2f774a | 20 | py | Python | python/tempCodeRunnerFile.py | entroy0421/main | 1e1f51a4b63adaaaf21f8fda58daec3fc06b8b1e | [
"Apache-2.0"
] | null | null | null | python/tempCodeRunnerFile.py | entroy0421/main | 1e1f51a4b63adaaaf21f8fda58daec3fc06b8b1e | [
"Apache-2.0"
] | null | null | null | python/tempCodeRunnerFile.py | entroy0421/main | 1e1f51a4b63adaaaf21f8fda58daec3fc06b8b1e | [
"Apache-2.0"
] | null | null | null | ,[[0,0]*13]
print(S) | 10 | 11 | 0.5 | 5 | 20 | 2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0.05 | 20 | 2 | 12 | 10 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
0adb78f59f43075ee26d5d8dfab928511280f42f | 99,321 | py | Python | TimeWrapper_JE/venv/Lib/site-packages/pip/_vendor/chardet/langturkishmodel.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 227 | 2021-01-20T05:34:32.000Z | 2022-03-29T12:43:05.000Z | TimeWrapper_JE/venv/Lib/site-packages/pip/_vendor/chardet/langturkishmodel.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 55 | 2020-09-07T02:12:51.000Z | 2022-03-23T02:37:42.000Z | TimeWrapper_JE/venv/Lib/site-packages/pip/_vendor/chardet/langturkishmodel.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 239 | 2021-01-28T02:59:53.000Z | 2022-03-29T08:02:17.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from pip._vendor.chardet.sbcharsetprober import SingleByteCharSetModel
# 3: Positive
# 2: Likely
# 1: Unlikely
# 0: Negative
TURKISH_LANG_MODEL = {
23: { # 'A'
23: 0, # 'A'
37: 0, # 'B'
47: 0, # 'C'
39: 0, # 'D'
... | 22.655338 | 127 | 0.178079 | 12,945 | 99,321 | 1.376207 | 0.035767 | 0.01336 | 0.014145 | 0.017682 | 0.866854 | 0.865563 | 0.865507 | 0.860791 | 0.851417 | 0.850351 | 0 | 0.327437 | 0.602169 | 99,321 | 4,383 | 128 | 22.660507 | 0.119328 | 0.177566 | 0 | 0.908778 | 0 | 0 | 0.00111 | 0.000877 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000229 | 0 | 0.000229 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
7c5c224c3c21a4ac1920e51096f4f848c122e3cd | 58,378 | py | Python | wflow/wflow/reservoir_Su.py | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | wflow/wflow/reservoir_Su.py | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | wflow/wflow/reservoir_Su.py | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Apr 03 16:31:35 2014
@author: TEuser
List all function versions
"""
try:
from wflow.wf_DynamicFramework import *
except ImportError:
from .wf_DynamicFramework import *
from . import JarvisCoefficients
def selectSuR(i):
"""
not all functions are still in th... | 30.936937 | 107 | 0.533951 | 8,371 | 58,378 | 3.666945 | 0.028193 | 0.103271 | 0.059519 | 0.06092 | 0.955792 | 0.952665 | 0.95185 | 0.950938 | 0.950645 | 0.950124 | 0 | 0.02809 | 0.323718 | 58,378 | 1,886 | 108 | 30.95334 | 0.749417 | 0.180959 | 0 | 0.783491 | 0 | 0 | 0.008836 | 0.005706 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013532 | false | 0 | 0.002706 | 0 | 0.016915 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6b20b08da55e656cab73229f6904ef49825d1d05 | 88 | py | Python | StreamAudioOverNetwork/network/networkutility.py | TheDigitalPhoenixX/Stream-Audio-Over-Network | 5d1c5e1f4fadf0dfb9cf13355376a657c483d8c9 | [
"MIT"
] | null | null | null | StreamAudioOverNetwork/network/networkutility.py | TheDigitalPhoenixX/Stream-Audio-Over-Network | 5d1c5e1f4fadf0dfb9cf13355376a657c483d8c9 | [
"MIT"
] | null | null | null | StreamAudioOverNetwork/network/networkutility.py | TheDigitalPhoenixX/Stream-Audio-Over-Network | 5d1c5e1f4fadf0dfb9cf13355376a657c483d8c9 | [
"MIT"
] | null | null | null | import socket
def getLocalIP():
return socket.gethostbyname(socket.gethostname())
| 14.666667 | 53 | 0.761364 | 9 | 88 | 7.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 88 | 5 | 54 | 17.6 | 0.881579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
6b22f8c26754bf4622a3d047250fcdefebeabec8 | 137,581 | py | Python | apps/oozie/src/oozie/models2_tests.py | sandeepreddy3647/hue-1 | 03981c392ef35ae52052fb94549ec3a7b7074b8d | [
"Apache-2.0"
] | 1 | 2020-05-17T06:40:33.000Z | 2020-05-17T06:40:33.000Z | apps/oozie/src/oozie/models2_tests.py | sandeepreddy3647/hue-1 | 03981c392ef35ae52052fb94549ec3a7b7074b8d | [
"Apache-2.0"
] | 3 | 2020-04-06T07:09:33.000Z | 2021-05-10T17:02:07.000Z | apps/oozie/src/oozie/models2_tests.py | sandeepreddy3647/hue-1 | 03981c392ef35ae52052fb94549ec3a7b7074b8d | [
"Apache-2.0"
] | 1 | 2020-07-25T19:38:10.000Z | 2020-07-25T19:38:10.000Z | #!/usr/bin/env python
## -*- coding: utf-8 -*-
# Licensed to Cloudera, Inc. under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. Cloudera, Inc. licenses this file
# to you under the Apache License, Version 2.0 ... | 77.423185 | 8,535 | 0.610513 | 15,502 | 137,581 | 5.314798 | 0.065669 | 0.008326 | 0.014759 | 0.018449 | 0.848744 | 0.806409 | 0.782097 | 0.75792 | 0.737383 | 0.728341 | 0 | 0.073325 | 0.153858 | 137,581 | 1,776 | 8,536 | 77.466779 | 0.634414 | 0.013512 | 0 | 0.549711 | 0 | 0.01347 | 0.625854 | 0.195663 | 0 | 0 | 0 | 0 | 0.073124 | 1 | 0.028865 | false | 0 | 0.014112 | 0 | 0.044901 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
862db7ff41316acee6f70b839c599ecebdc69768 | 219 | py | Python | datatables/templatetags/datatables.py | Azunda/django-datatablesview | 6500af9b2e6b98b02cb7f880ae43ae229a2c6548 | [
"MIT"
] | 1 | 2022-02-17T14:28:03.000Z | 2022-02-17T14:28:03.000Z | datatables/templatetags/datatables.py | Azunda/django-datatablesview | 6500af9b2e6b98b02cb7f880ae43ae229a2c6548 | [
"MIT"
] | null | null | null | datatables/templatetags/datatables.py | Azunda/django-datatablesview | 6500af9b2e6b98b02cb7f880ae43ae229a2c6548 | [
"MIT"
] | 1 | 2022-02-17T10:36:16.000Z | 2022-02-17T10:36:16.000Z | from django import template
register = template.Library()
@register.inclusion_tag('datatables/css.html')
def css_bundle():
return {}
@register.inclusion_tag('datatables/js.html')
def js_bundle():
return {}
| 15.642857 | 46 | 0.726027 | 27 | 219 | 5.740741 | 0.555556 | 0.219355 | 0.258065 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 219 | 13 | 47 | 16.846154 | 0.820106 | 0 | 0 | 0.25 | 0 | 0 | 0.16895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
8636bfd3df60c56223d8bbf727d8a3a5eb9a8b0d | 3,380 | py | Python | implementation/webproj/meet/migrations/0003_auto_20191015_0447.py | dwws-ufes/2019-SocialMeetScheduler | b5c94afb674ddcca5e53a0dff062edcb22343408 | [
"MIT"
] | 1 | 2020-01-10T19:18:14.000Z | 2020-01-10T19:18:14.000Z | implementation/webproj/meet/migrations/0003_auto_20191015_0447.py | dwws-ufes/2019-SocialMeetScheduler | b5c94afb674ddcca5e53a0dff062edcb22343408 | [
"MIT"
] | 2 | 2020-06-05T19:25:25.000Z | 2021-06-04T21:59:09.000Z | implementation/webproj/meet/migrations/0003_auto_20191015_0447.py | dwws-ufes/2019-SocialMeetScheduler | b5c94afb674ddcca5e53a0dff062edcb22343408 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.6 on 2019-10-15 04:47
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('meet', '0002_auto_20191010_0543'),
]
operations = [
migrations.AlterField(... | 39.302326 | 144 | 0.622485 | 344 | 3,380 | 5.930233 | 0.203488 | 0.137255 | 0.171569 | 0.19902 | 0.840196 | 0.829902 | 0.776471 | 0.776471 | 0.776471 | 0.701961 | 0 | 0.01239 | 0.259763 | 3,380 | 85 | 145 | 39.764706 | 0.802958 | 0.013314 | 0 | 0.620253 | 1 | 0 | 0.122712 | 0.006901 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.025316 | 0.037975 | 0 | 0.075949 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
86665e10f0f66562fb56da6717b3e7c4073aa641 | 58,585 | py | Python | apps/domain/tests/test_routes/test_users_http.py | aisportsbets/pygrid | eeee1e7ef6ba50a03f6f486992a45f7171976e5a | [
"Apache-2.0"
] | null | null | null | apps/domain/tests/test_routes/test_users_http.py | aisportsbets/pygrid | eeee1e7ef6ba50a03f6f486992a45f7171976e5a | [
"Apache-2.0"
] | null | null | null | apps/domain/tests/test_routes/test_users_http.py | aisportsbets/pygrid | eeee1e7ef6ba50a03f6f486992a45f7171976e5a | [
"Apache-2.0"
] | null | null | null | from json import dumps, loads
import jwt
import pytest
from bcrypt import checkpw
from flask import current_app as app
from src.main.core.database import *
JSON_DECODE_ERR_MSG = (
"Expecting property name enclosed in " "double quotes: line 1 column 2 (char 1)"
)
owner_role = ("Owner", True, True, True, True, Tru... | 30.560772 | 88 | 0.673107 | 7,127 | 58,585 | 5.321594 | 0.027501 | 0.143961 | 0.132887 | 0.155035 | 0.96169 | 0.954017 | 0.947399 | 0.9426 | 0.929839 | 0.92736 | 0 | 0.042479 | 0.194743 | 58,585 | 1,916 | 89 | 30.576722 | 0.761468 | 0.004404 | 0 | 0.838999 | 0 | 0 | 0.171889 | 0.067775 | 0 | 0 | 0 | 0.000522 | 0.093008 | 1 | 0.038486 | false | 0.041052 | 0.003849 | 0 | 0.042335 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
86697d6f71a9a859c35f2219fe67ae338b2b5cb3 | 19,545 | py | Python | kornia/morphology/morphology.py | shaunster0/kornia | 71acf455ee36f2050b7be5ea993b6db773f502eb | [
"ECL-2.0",
"Apache-2.0"
] | 51 | 2019-10-11T18:47:30.000Z | 2021-05-03T06:42:37.000Z | kornia/morphology/morphology.py | shaunster0/kornia | 71acf455ee36f2050b7be5ea993b6db773f502eb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | kornia/morphology/morphology.py | shaunster0/kornia | 71acf455ee36f2050b7be5ea993b6db773f502eb | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2019-10-11T19:59:05.000Z | 2020-07-10T02:28:52.000Z | from typing import List, Optional
import torch
import torch.nn.functional as F
def dilation(
tensor: torch.Tensor,
kernel: torch.Tensor,
structuring_element: Optional[torch.Tensor] = None,
origin: Optional[List[int]] = None,
border_type: str = 'geodesic',
border_value: float = 0.0,
max_va... | 39.564777 | 116 | 0.647787 | 2,620 | 19,545 | 4.741603 | 0.06145 | 0.099976 | 0.04226 | 0.036223 | 0.943411 | 0.93987 | 0.938018 | 0.938018 | 0.930613 | 0.930613 | 0 | 0.009227 | 0.25142 | 19,545 | 493 | 117 | 39.64503 | 0.839861 | 0.519263 | 0 | 0.838428 | 0 | 0 | 0.12346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030568 | false | 0 | 0.0131 | 0 | 0.074236 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
86a46dc52991f1440013c43d8acc9ab94ff168df | 5,794 | py | Python | typings/bl_operators/mesh.py | Argmaster/PyR3 | 6786bcb6a101fe4bd4cc50fe43767b8178504b15 | [
"MIT"
] | 2 | 2021-12-12T18:51:52.000Z | 2022-02-23T09:49:16.000Z | src/blender/blender_autocomplete-master/2.92/bl_operators/mesh.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | 2 | 2021-11-08T12:09:02.000Z | 2021-12-12T23:01:12.000Z | src/blender/blender_autocomplete-master/2.92/bl_operators/mesh.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | null | null | null | import sys
import typing
import bpy_types
class MeshMirrorUV(bpy_types.Operator):
bl_idname = None
''' '''
bl_label = None
''' '''
bl_options = None
''' '''
bl_rna = None
''' '''
id_data = None
''' '''
def as_keywords(self, ignore):
'''
'''
pa... | 11.752535 | 47 | 0.370211 | 463 | 5,794 | 4.390929 | 0.12743 | 0.241023 | 0.324643 | 0.076734 | 0.948352 | 0.948352 | 0.948352 | 0.948352 | 0.948352 | 0.948352 | 0 | 0 | 0.494304 | 5,794 | 492 | 48 | 11.776423 | 0.693857 | 0 | 0 | 0.958084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.437126 | false | 0.437126 | 0.017964 | 0 | 0.562874 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 12 |
81138caff650726c646e9a2832c803b335ea5658 | 8,516 | py | Python | test/test_gromov.py | 6Ulm/POT | 28dd2fe2c461ac2287ae51e464f0b002d61f5f31 | [
"MIT"
] | null | null | null | test/test_gromov.py | 6Ulm/POT | 28dd2fe2c461ac2287ae51e464f0b002d61f5f31 | [
"MIT"
] | null | null | null | test/test_gromov.py | 6Ulm/POT | 28dd2fe2c461ac2287ae51e464f0b002d61f5f31 | [
"MIT"
] | null | null | null | """Tests for module gromov """
# Author: Erwan Vautier <erwan.vautier@gmail.com>
# Nicolas Courty <ncourty@irisa.fr>
# Titouan Vayer <titouan.vayer@irisa.fr>
#
# License: MIT License
import numpy as np
import ot
def test_gromov():
n_samples = 50 # nb samples
mu_s = np.array... | 33.928287 | 128 | 0.532644 | 1,209 | 8,516 | 3.592225 | 0.100083 | 0.09947 | 0.096707 | 0.148285 | 0.890629 | 0.862307 | 0.849643 | 0.849643 | 0.827539 | 0.804743 | 0 | 0.051358 | 0.325505 | 8,516 | 250 | 129 | 34.064 | 0.704735 | 0.074683 | 0 | 0.722222 | 0 | 0 | 0.023173 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 1 | 0.037037 | false | 0 | 0.012346 | 0 | 0.049383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4b71511a53e803befb8ee36e56e71aeaadf6917 | 16,076 | py | Python | deploy/app/report/views.py | mulsign/WeeklyReport | 39e0e5942208139e3b98f45616958209481db10f | [
"MIT"
] | 131 | 2017-04-10T13:45:30.000Z | 2022-03-31T02:43:02.000Z | deploy/app/report/views.py | mulsign/WeeklyReport | 39e0e5942208139e3b98f45616958209481db10f | [
"MIT"
] | 10 | 2017-09-06T01:26:34.000Z | 2022-03-31T05:59:36.000Z | deploy/app/report/views.py | mulsign/WeeklyReport | 39e0e5942208139e3b98f45616958209481db10f | [
"MIT"
] | 73 | 2017-04-11T00:35:33.000Z | 2022-03-05T04:52:39.000Z | #coding:utf-8
from flask import render_template, redirect,request, url_for, \
current_app, flash, Markup
from flask_babelex import lazy_gettext as _
from flask_login import current_user
from datetime import datetime, timedelta, date
from . import report
from .forms import WriteForm, ReadDepartmentForm, \
ReadCr... | 39.019417 | 89 | 0.615763 | 2,008 | 16,076 | 4.652888 | 0.078685 | 0.044311 | 0.041207 | 0.03425 | 0.879482 | 0.85647 | 0.845767 | 0.826394 | 0.804881 | 0.785401 | 0 | 0.002789 | 0.263872 | 16,076 | 411 | 90 | 39.114355 | 0.786716 | 0.000746 | 0 | 0.768546 | 0 | 0 | 0.071406 | 0.020171 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026706 | false | 0.005935 | 0.029674 | 0 | 0.089021 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d4c514a56e201e4391350be04462617472b3ca0a | 12,184 | py | Python | ultracart/apis/affiliate_api.py | gstingy/uc_python_api | 9a0bd3f6e63f616586681518e44fe37c6bae2bba | [
"Apache-2.0"
] | null | null | null | ultracart/apis/affiliate_api.py | gstingy/uc_python_api | 9a0bd3f6e63f616586681518e44fe37c6bae2bba | [
"Apache-2.0"
] | null | null | null | ultracart/apis/affiliate_api.py | gstingy/uc_python_api | 9a0bd3f6e63f616586681518e44fe37c6bae2bba | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
UltraCart Rest API V2
UltraCart REST API Version 2
OpenAPI spec version: 2.0.0
Contact: support@ultracart.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import sys
import os
import re
# python 2 and python 3 ... | 47.40856 | 412 | 0.61433 | 1,433 | 12,184 | 5.038381 | 0.140265 | 0.023546 | 0.023546 | 0.017729 | 0.912742 | 0.901524 | 0.881025 | 0.862604 | 0.862604 | 0.844598 | 0 | 0.002871 | 0.313936 | 12,184 | 256 | 413 | 47.59375 | 0.860869 | 0.024787 | 0 | 0.708661 | 1 | 0 | 0.173715 | 0.047308 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.047244 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
be2744f007080123d2535472ef45afcbbf1ac35d | 1,723 | py | Python | copybot.py | UncleEngineer/BasicPython | 5c8c788bc9c3e7f34676ad089710c63e5c3fd402 | [
"MIT"
] | 1 | 2021-04-20T01:56:21.000Z | 2021-04-20T01:56:21.000Z | copybot.py | UncleEngineer/BasicPython | 5c8c788bc9c3e7f34676ad089710c63e5c3fd402 | [
"MIT"
] | null | null | null | copybot.py | UncleEngineer/BasicPython | 5c8c788bc9c3e7f34676ad089710c63e5c3fd402 | [
"MIT"
] | 2 | 2019-12-17T01:37:28.000Z | 2021-08-16T08:51:25.000Z | #copybot.py
import pyautogui as pg
import time
################## LINE 1 ###################
#-ใช้เมาส์คลิกไปยังตำแหน่งที่ต้องการก็อปปี้ (ด้านหน้า)
# x=1046, y=266
time.sleep(1) # รอ 1 วินาที
start_point = (1046,266)
pg.click(start_point)
#-ลากไปให้สุดบรรทัด
time.sleep(1)
end_point = (1400,266)
pg.dra... | 22.089744 | 69 | 0.585026 | 382 | 1,723 | 2.858639 | 0.227749 | 0.021978 | 0.032967 | 0.021978 | 0.908425 | 0.908425 | 0.908425 | 0.908425 | 0.908425 | 0.908425 | 0 | 0.073469 | 0.146837 | 1,723 | 77 | 70 | 22.376623 | 0.6 | 0.37841 | 0 | 0.789474 | 0 | 0 | 0.066823 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0780961ebb8f3680969ecacdf3329ca81ab42f6d | 165 | py | Python | fontawesome/models.py | CodeForAfrica/django-fontawesome | 70b6eee7ef66fec83a62df78d66025923d4071aa | [
"BSD-2-Clause"
] | 75 | 2015-01-11T21:32:04.000Z | 2022-01-09T03:03:49.000Z | fontawesome/models.py | CodeForAfrica/django-fontawesome | 70b6eee7ef66fec83a62df78d66025923d4071aa | [
"BSD-2-Clause"
] | 37 | 2015-02-19T10:26:46.000Z | 2021-05-26T13:41:27.000Z | virtual/lib/python2.7/site-packages/fontawesome/models.py | Elianehbmna/instagramClone | b72d78be5294b9b252f83474fa2372244fe7b394 | [
"MIT"
] | 66 | 2015-01-15T11:45:01.000Z | 2021-12-16T01:57:41.000Z |
try:
from south.modelsinspector import add_introspection_rules
add_introspection_rules([], ["^fontawesome\.fields\.IconField"])
except ImportError:
pass | 27.5 | 68 | 0.763636 | 17 | 165 | 7.176471 | 0.823529 | 0.262295 | 0.344262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 165 | 6 | 69 | 27.5 | 0.853147 | 0 | 0 | 0 | 0 | 0 | 0.187879 | 0.187879 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.4 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
07d98596dffcfb6234e10c114fb40bf5a61d874b | 53,697 | py | Python | packages/syft/src/syft/proto/grid/messages/request_messages_pb2.py | tenevdev/PySyft | d0609a7e11d0f778fdd8a9109cab4ac1a12000b3 | [
"Apache-2.0"
] | 1 | 2021-11-30T12:34:11.000Z | 2021-11-30T12:34:11.000Z | packages/syft/src/syft/proto/grid/messages/request_messages_pb2.py | Starry1024/PySyft | 6b2cb4ca3a54e8bb2e61d549bf7773aa955d7468 | [
"Apache-2.0"
] | null | null | null | packages/syft/src/syft/proto/grid/messages/request_messages_pb2.py | Starry1024/PySyft | 6b2cb4ca3a54e8bb2e61d549bf7773aa955d7468 | [
"Apache-2.0"
] | 1 | 2020-08-20T10:22:43.000Z | 2020-08-20T10:22:43.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: proto/grid/messages/request_messages.proto
"""Generated protocol buffer code."""
# third party
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import re... | 34.050095 | 3,744 | 0.625975 | 5,535 | 53,697 | 5.713098 | 0.038121 | 0.042755 | 0.063089 | 0.056353 | 0.814465 | 0.802416 | 0.754411 | 0.742584 | 0.739485 | 0.732907 | 0 | 0.036209 | 0.278917 | 53,697 | 1,576 | 3,745 | 34.071701 | 0.780475 | 0.023931 | 0 | 0.826923 | 1 | 0.004642 | 0.143146 | 0.114857 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004642 | 0 | 0.004642 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ed02d77908874a54ce9e5ab0b1c436236381a44b | 19,888 | py | Python | tests/adash_manual.py | roshanths/altinity-dashboard | d869f350960dab85430bce9e0b5f11f3e2793420 | [
"Apache-2.0"
] | 1 | 2022-01-21T22:04:43.000Z | 2022-01-21T22:04:43.000Z | tests/adash_manual.py | roshanths/altinity-dashboard | d869f350960dab85430bce9e0b5f11f3e2793420 | [
"Apache-2.0"
] | null | null | null | tests/adash_manual.py | roshanths/altinity-dashboard | d869f350960dab85430bce9e0b5f11f3e2793420 | [
"Apache-2.0"
] | null | null | null | from testflows.core import *
@TestScenario
def run_on_vagrant_with_minikube(self):
"""Run Altinity Dashboard inside Vagrant with Minikube installed"""
vagrant_up_command = "vagrant up"
vagrant_connect_command = "vagrant ssh"
minikube_start_command = "minikube start"
adash_start_command = "./adash-... | 36.424908 | 103 | 0.663516 | 2,561 | 19,888 | 4.991019 | 0.064818 | 0.068221 | 0.07401 | 0.078861 | 0.94195 | 0.928258 | 0.90956 | 0.8954 | 0.878188 | 0.875059 | 0 | 0.018148 | 0.251911 | 19,888 | 545 | 104 | 36.491743 | 0.840973 | 0.017548 | 0 | 0.871154 | 0 | 0.003846 | 0.530295 | 0.089553 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011538 | false | 0.219231 | 0.001923 | 0 | 0.013462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
ed09211cd7c8960e9714d7b8aea6dd04a936fb2a | 207,263 | py | Python | elasticsearch/_sync/client/__init__.py | bralbral/elasticsearch-py | 016c87c2ea1a5e1485dfeebfa39be66540aac0dc | [
"Apache-2.0"
] | 1 | 2022-03-12T15:42:24.000Z | 2022-03-12T15:42:24.000Z | elasticsearch/_sync/client/__init__.py | bralbral/elasticsearch-py | 016c87c2ea1a5e1485dfeebfa39be66540aac0dc | [
"Apache-2.0"
] | null | null | null | elasticsearch/_sync/client/__init__.py | bralbral/elasticsearch-py | 016c87c2ea1a5e1485dfeebfa39be66540aac0dc | [
"Apache-2.0"
] | null | null | null | # Licensed to Elasticsearch B.V. under one or more contributor
# license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use ... | 44.023577 | 127 | 0.596677 | 25,344 | 207,263 | 4.684856 | 0.038786 | 0.026235 | 0.044571 | 0.053886 | 0.810078 | 0.785873 | 0.770418 | 0.757986 | 0.74873 | 0.723565 | 0 | 0.000586 | 0.308656 | 207,263 | 4,707 | 128 | 44.03293 | 0.828034 | 0.278921 | 0 | 0.778736 | 0 | 0.000287 | 0.119081 | 0.020757 | 0 | 0 | 0 | 0 | 0.001149 | 1 | 0.01408 | false | 0.014655 | 0.012069 | 0 | 0.04023 | 0.000575 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ed0ba2eb46470075f2bd36e14b71c454f6e99d54 | 293 | py | Python | extension/sms_On.py | Gilgamesh666666/Dgr-ncnet | 3ad2d0fdb35ba0d23e5040d74347c600b1a8b72b | [
"MIT"
] | null | null | null | extension/sms_On.py | Gilgamesh666666/Dgr-ncnet | 3ad2d0fdb35ba0d23e5040d74347c600b1a8b72b | [
"MIT"
] | null | null | null | extension/sms_On.py | Gilgamesh666666/Dgr-ncnet | 3ad2d0fdb35ba0d23e5040d74347c600b1a8b72b | [
"MIT"
] | null | null | null | import torch.nn as nn
from extension.functional.sms_On import soft_mutual_score_On
import torch
class soft_mutual_score_Module_On(nn.Module):
def __init__(self):
super().__init__()
def forward(self, pred_pair, reg_feat):
return soft_mutual_score_On(pred_pair, reg_feat) | 36.625 | 60 | 0.767918 | 46 | 293 | 4.391304 | 0.521739 | 0.148515 | 0.222772 | 0.168317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153584 | 293 | 8 | 61 | 36.625 | 0.814516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
ed28de3dc47b49a674b0f37339bf42f64664f9f7 | 20,566 | py | Python | meshtastic/admin_pb2.py | raldi/Meshtastic-python | 3332271a97eddb3291ada315011165305ec46d57 | [
"Apache-2.0"
] | null | null | null | meshtastic/admin_pb2.py | raldi/Meshtastic-python | 3332271a97eddb3291ada315011165305ec46d57 | [
"Apache-2.0"
] | null | null | null | meshtastic/admin_pb2.py | raldi/Meshtastic-python | 3332271a97eddb3291ada315011165305ec46d57 | [
"Apache-2.0"
] | 1 | 2022-01-24T17:07:30.000Z | 2022-01-24T17:07:30.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: admin.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_dat... | 61.208333 | 1,871 | 0.791792 | 2,774 | 20,566 | 5.452776 | 0.076784 | 0.04403 | 0.075367 | 0.092027 | 0.832077 | 0.806029 | 0.771453 | 0.72696 | 0.692053 | 0.669311 | 0 | 0.035042 | 0.093893 | 20,566 | 335 | 1,872 | 61.391045 | 0.776657 | 0.010795 | 0 | 0.514286 | 1 | 0.009524 | 0.236416 | 0.173133 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022222 | 0 | 0.022222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ed37f6cbac576c72e4ebb10edcff7fd18849b792 | 3,205 | py | Python | tests/integration_tests/test_models_air_source_heat_pump.py | MTRESS/MTRESS | 7cfd0514c4b49501d94c1fcef613be0cc405f1d2 | [
"MIT"
] | 5 | 2022-01-11T10:52:51.000Z | 2022-03-10T19:58:56.000Z | tests/integration_tests/test_models_air_source_heat_pump.py | MTRESS/MTRESS | 7cfd0514c4b49501d94c1fcef613be0cc405f1d2 | [
"MIT"
] | 9 | 2021-09-17T19:26:19.000Z | 2022-03-01T15:31:55.000Z | tests/integration_tests/test_models_air_source_heat_pump.py | MTRESS/MTRESS | 7cfd0514c4b49501d94c1fcef613be0cc405f1d2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
SPDX-FileCopyrightText: Deutsches Zentrum für Luft und Raumfahrt
SPDX-FileCopyrightText: Patrik Schönfeldt
SPDX-License-Identifier: MIT
"""
import math
import numpy as np
from test_core import (electricity_costs,
run_model_template,
HIGH_ACCUR... | 37.267442 | 85 | 0.59532 | 348 | 3,205 | 5.091954 | 0.218391 | 0.091422 | 0.076749 | 0.077878 | 0.874718 | 0.874718 | 0.874718 | 0.84763 | 0.84763 | 0.84763 | 0 | 0.015974 | 0.316381 | 3,205 | 85 | 86 | 37.705882 | 0.792789 | 0.04961 | 0 | 0.84375 | 0 | 0 | 0.076366 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.03125 | false | 0 | 0.109375 | 0 | 0.140625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9c037b305351d89f86a53e51d78dc7405189d1f2 | 232 | py | Python | wetterdienst/dwd/forecasts/metadata/__init__.py | panodata/python_dwd | a9ee1bdf21b8fc12f6b6b33628ca804e656f310d | [
"MIT"
] | null | null | null | wetterdienst/dwd/forecasts/metadata/__init__.py | panodata/python_dwd | a9ee1bdf21b8fc12f6b6b33628ca804e656f310d | [
"MIT"
] | null | null | null | wetterdienst/dwd/forecasts/metadata/__init__.py | panodata/python_dwd | a9ee1bdf21b8fc12f6b6b33628ca804e656f310d | [
"MIT"
] | 1 | 2022-03-21T14:28:45.000Z | 2022-03-21T14:28:45.000Z | from wetterdienst.dwd.forecasts.metadata.dates import DWDForecastDate
from wetterdienst.dwd.forecasts.metadata.parameter import DWDForecastParameter
from wetterdienst.dwd.forecasts.metadata.mosmix_type import (
DWDMosmixType,
)
| 38.666667 | 78 | 0.857759 | 25 | 232 | 7.92 | 0.52 | 0.242424 | 0.287879 | 0.424242 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077586 | 232 | 5 | 79 | 46.4 | 0.925234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
9c114f72080d875ace7860b4be8c60fc2dc4be51 | 8,242 | py | Python | tests/trainer/legacy_deprecate_flow_log/test_trainer_steps_dict_return.py | prajakta0111/pytorch-lightning | 3df02b880a6d145ff0aca24ea429c12c0d8f1181 | [
"Apache-2.0"
] | 1 | 2021-08-05T01:45:26.000Z | 2021-08-05T01:45:26.000Z | tests/trainer/legacy_deprecate_flow_log/test_trainer_steps_dict_return.py | prajakta0111/pytorch-lightning | 3df02b880a6d145ff0aca24ea429c12c0d8f1181 | [
"Apache-2.0"
] | 1 | 2021-03-01T17:32:12.000Z | 2021-03-01T17:32:12.000Z | tests/trainer/legacy_deprecate_flow_log/test_trainer_steps_dict_return.py | prajakta0111/pytorch-lightning | 3df02b880a6d145ff0aca24ea429c12c0d8f1181 | [
"Apache-2.0"
] | 1 | 2021-02-16T00:47:46.000Z | 2021-02-16T00:47:46.000Z | # Copyright The PyTorch Lightning team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 34.630252 | 86 | 0.73999 | 1,165 | 8,242 | 4.891845 | 0.158798 | 0.093525 | 0.086506 | 0.045622 | 0.80172 | 0.787331 | 0.78119 | 0.766801 | 0.751711 | 0.743639 | 0 | 0.017923 | 0.180903 | 8,242 | 237 | 87 | 34.776371 | 0.826248 | 0.183693 | 0 | 0.761905 | 0 | 0 | 0.048448 | 0 | 0 | 0 | 0 | 0 | 0.312925 | 1 | 0.040816 | false | 0 | 0.027211 | 0 | 0.068027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9c4f11ea17d0de3200daf1da192c5acc582c6b61 | 5,763 | py | Python | src/testers/unittests/test_only_symbolized_mode.py | LightSecOps/Triton | d167a1855ed0d74352deae6e32b3f95ceb4bb705 | [
"Apache-2.0"
] | 15 | 2021-12-08T09:53:35.000Z | 2022-03-07T10:13:37.000Z | src/testers/unittests/test_only_symbolized_mode.py | LightSecOps/Triton | d167a1855ed0d74352deae6e32b3f95ceb4bb705 | [
"Apache-2.0"
] | null | null | null | src/testers/unittests/test_only_symbolized_mode.py | LightSecOps/Triton | d167a1855ed0d74352deae6e32b3f95ceb4bb705 | [
"Apache-2.0"
] | 1 | 2021-12-27T18:01:41.000Z | 2021-12-27T18:01:41.000Z | #!/usr/bin/env python2
# coding: utf-8
"""Test ONLY_ON_SYMBOLIZED."""
import unittest
from triton import ARCH, MODE, CPUSIZE, TritonContext, Instruction, MemoryAccess
def checkAstIntegrity(instruction):
"""
This function check if all ASTs under an Instruction class are still
available.
"""
try:
... | 34.508982 | 80 | 0.655735 | 643 | 5,763 | 5.821151 | 0.150855 | 0.112209 | 0.125033 | 0.152819 | 0.849052 | 0.844243 | 0.844243 | 0.811648 | 0.799092 | 0.799092 | 0 | 0.029933 | 0.217421 | 5,763 | 166 | 81 | 34.716867 | 0.8 | 0.061253 | 0 | 0.777778 | 0 | 0 | 0.017874 | 0 | 0 | 0 | 0.004468 | 0 | 0.410256 | 1 | 0.076923 | false | 0 | 0.017094 | 0 | 0.119658 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
92cb62e90fb4e16ea2de89d50e510405006b073b | 1,390 | py | Python | gluon/packages/dal/pydal/dialects/couchdb.py | GeorgesBrantley/ResistanceGame | 65ec925ec8399af355e176c4814a749fde5f907d | [
"BSD-3-Clause"
] | 408 | 2015-01-01T10:31:47.000Z | 2022-03-26T17:41:21.000Z | gluon/packages/dal/pydal/dialects/couchdb.py | GeorgesBrantley/ResistanceGame | 65ec925ec8399af355e176c4814a749fde5f907d | [
"BSD-3-Clause"
] | 521 | 2015-01-08T14:45:54.000Z | 2022-03-24T11:15:22.000Z | gluon/packages/dal/pydal/dialects/couchdb.py | GeorgesBrantley/ResistanceGame | 65ec925ec8399af355e176c4814a749fde5f907d | [
"BSD-3-Clause"
] | 158 | 2015-01-25T20:02:00.000Z | 2022-03-01T06:29:12.000Z | from ..adapters.couchdb import CouchDB
from .base import NoSQLDialect
from . import dialects
@dialects.register_for(CouchDB)
class CouchDBDialect(NoSQLDialect):
def _and(self, first, second, query_env={}):
return "(%s && %s)" % (
self.expand(first, query_env=query_env),
self.expand... | 33.902439 | 75 | 0.576978 | 173 | 1,390 | 4.450867 | 0.17341 | 0.301299 | 0.202597 | 0.249351 | 0.805195 | 0.805195 | 0.805195 | 0.805195 | 0.805195 | 0.805195 | 0 | 0 | 0.276978 | 1,390 | 40 | 76 | 34.75 | 0.766169 | 0 | 0 | 0.352941 | 0 | 0 | 0.051079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147059 | false | 0 | 0.088235 | 0.088235 | 0.470588 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
92ea11e528796a4975855d59cd31f84ff377cfeb | 5,610 | py | Python | tests/unit/openstack/heat/test_template.py | manojn97/openstack-vim-driver | 213172c60f862fc3f45b486c62172cc36ccb2784 | [
"Apache-2.0"
] | null | null | null | tests/unit/openstack/heat/test_template.py | manojn97/openstack-vim-driver | 213172c60f862fc3f45b486c62172cc36ccb2784 | [
"Apache-2.0"
] | 39 | 2019-09-16T09:14:28.000Z | 2020-07-24T08:15:29.000Z | tests/unit/openstack/heat/test_template.py | manojn97/openstack-vim-driver | 213172c60f862fc3f45b486c62172cc36ccb2784 | [
"Apache-2.0"
] | 3 | 2019-09-06T15:09:10.000Z | 2020-05-27T17:40:24.000Z | import unittest
from osvimdriver.openstack.heat.template import HeatInputUtil
from ignition.utils.propvaluemap import PropValueMap
class TestHeatInputUtil(unittest.TestCase):
def test_filter_used_properties(self):
util = HeatInputUtil()
heat_yml = '''
parameters:
propA:
... | 37.651007 | 138 | 0.573975 | 547 | 5,610 | 5.61426 | 0.144424 | 0.097688 | 0.117226 | 0.049821 | 0.843048 | 0.827743 | 0.769782 | 0.7535 | 0.718007 | 0.718007 | 0 | 0 | 0.288057 | 5,610 | 148 | 139 | 37.905405 | 0.768903 | 0.02959 | 0 | 0.808824 | 0 | 0 | 0.360228 | 0 | 0 | 0 | 0 | 0 | 0.066176 | 1 | 0.066176 | false | 0 | 0.022059 | 0 | 0.095588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
92efa91ab8acc711ad5099afbc639903e313e095 | 2,594 | py | Python | graphs.py | caly-pso/disease_explorer_app | 3a7a5123577b1d23af18c74ee9666dfa012298ab | [
"MIT"
] | 2 | 2020-12-16T03:01:17.000Z | 2020-12-16T03:39:46.000Z | graphs.py | caly-pso/disease_explorer_app | 3a7a5123577b1d23af18c74ee9666dfa012298ab | [
"MIT"
] | null | null | null | graphs.py | caly-pso/disease_explorer_app | 3a7a5123577b1d23af18c74ee9666dfa012298ab | [
"MIT"
] | null | null | null | import streamlit as st
def draw_tot_cases_graph(df):
tot_cases_by_day = df.groupby("date")["cases"].sum()
st.write("Total cases(US):")
st.line_chart(tot_cases_by_day)
def draw_daily_cases_graph(df):
cases_by_day = df.groupby("date")["cases"].sum().reset_index(name="cases")
shifted = cases_by_day... | 37.594203 | 80 | 0.70586 | 420 | 2,594 | 4.011905 | 0.097619 | 0.118694 | 0.225519 | 0.066469 | 0.922255 | 0.901484 | 0.88724 | 0.789911 | 0.761424 | 0.663501 | 0 | 0.005298 | 0.126831 | 2,594 | 68 | 81 | 38.147059 | 0.738631 | 0 | 0 | 0.509804 | 0 | 0 | 0.163903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.156863 | false | 0 | 0.019608 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1312836186965e2f30e0016f8a55799ca8570b23 | 162 | py | Python | bridge_sim/sim/__init__.py | jerbaroo/bridge-sim | c4ec1c18a07a78462ccf3b970a99a1bd7efcc2af | [
"MIT"
] | 2 | 2020-05-12T11:41:49.000Z | 2020-08-10T15:00:58.000Z | bridge_sim/sim/__init__.py | barischrooneyj/bridge-sim | c4ec1c18a07a78462ccf3b970a99a1bd7efcc2af | [
"MIT"
] | 48 | 2020-05-11T23:58:22.000Z | 2020-09-18T20:28:52.000Z | bridge_sim/sim/__init__.py | jerbaroo/bridge-sim | c4ec1c18a07a78462ccf3b970a99a1bd7efcc2af | [
"MIT"
] | 1 | 2020-05-27T12:43:37.000Z | 2020-05-27T12:43:37.000Z | """Save/load responses from FE simulation."""
import bridge_sim.sim.model as model
import bridge_sim.sim.responses as responses
import bridge_sim.sim.run as run
| 27 | 45 | 0.802469 | 27 | 162 | 4.703704 | 0.444444 | 0.283465 | 0.354331 | 0.425197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 162 | 5 | 46 | 32.4 | 0.881944 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
1315f4e2b24a3990bc871e5f11f82b593fe87bf4 | 35 | py | Python | src/vbr/utils/helpers/tapis/__init__.py | a2cps/python-vbr | 9d5d4480386d0530450d59157e0da6937320f928 | [
"BSD-3-Clause"
] | 1 | 2021-05-26T19:08:29.000Z | 2021-05-26T19:08:29.000Z | src/vbr/utils/helpers/tapis/__init__.py | a2cps/python-vbr | 9d5d4480386d0530450d59157e0da6937320f928 | [
"BSD-3-Clause"
] | 7 | 2021-05-04T13:12:39.000Z | 2022-03-09T21:04:33.000Z | src/vbr/utils/helpers/tapis/__init__.py | a2cps/python-vbr | 9d5d4480386d0530450d59157e0da6937320f928 | [
"BSD-3-Clause"
] | 2 | 2021-04-20T14:46:52.000Z | 2021-06-07T20:28:28.000Z | from .get_client import get_client
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.666667 | 0.666667 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
134730743d574f2519f91cc046b029d48e065ee7 | 31 | py | Python | pyutilib/misc/tests/import_data/tfile1.0.py | PyUtilib/PyUtilib | d99406f2af1fb62268c34453a2fbe6bd4a7348f0 | [
"BSD-3-Clause"
] | 24 | 2016-04-02T10:00:02.000Z | 2021-03-02T16:40:18.000Z | pyutilib/misc/tests/import_data/tfile1.0.py | PyUtilib/PyUtilib | d99406f2af1fb62268c34453a2fbe6bd4a7348f0 | [
"BSD-3-Clause"
] | 105 | 2015-10-29T03:29:58.000Z | 2021-12-30T22:00:45.000Z | pyutilib/misc/tests/import_data/tfile1.0.py | PyUtilib/PyUtilib | d99406f2af1fb62268c34453a2fbe6bd4a7348f0 | [
"BSD-3-Clause"
] | 22 | 2016-01-21T15:35:25.000Z | 2021-05-15T20:17:44.000Z | def f():
return 'tfile1.0'
| 10.333333 | 21 | 0.548387 | 5 | 31 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.258065 | 31 | 2 | 22 | 15.5 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
134c396f6454b599c8940e396d4029068b229f99 | 5,586 | py | Python | tests/test.py | gustavopinho/api-lomadee-v3 | 02bfd73b9093a6de5e61772f4019d11889d7131a | [
"MIT"
] | 1 | 2020-11-04T22:59:43.000Z | 2020-11-04T22:59:43.000Z | tests/test.py | gustavopinho/api-lomadee-v3 | 02bfd73b9093a6de5e61772f4019d11889d7131a | [
"MIT"
] | 1 | 2021-06-02T00:32:43.000Z | 2021-06-02T00:32:43.000Z | tests/test.py | gustavopinho/lomadeepy | 02bfd73b9093a6de5e61772f4019d11889d7131a | [
"MIT"
] | null | null | null | import os
import unittest
from dotenv import load_dotenv
from lomadeepy import Offers, Categories, Stores, Coupons, DeepLink
def load_env():
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
load_dotenv(os.path.join(BASE_DIR, '.env'))
class TestOffers(unittest.TestCase):
@classmeth... | 33.053254 | 74 | 0.61135 | 563 | 5,586 | 5.984014 | 0.143872 | 0.178094 | 0.273078 | 0.282576 | 0.799941 | 0.790442 | 0.763134 | 0.763134 | 0.763134 | 0.681508 | 0 | 0.011609 | 0.228965 | 5,586 | 168 | 75 | 33.25 | 0.770606 | 0 | 0 | 0.622222 | 0 | 0 | 0.174006 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 1 | 0.148148 | false | 0 | 0.02963 | 0 | 0.214815 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
135213990fadc1c75b27737a27df216c296e5f94 | 2,871 | py | Python | tests/test_joiner.py | jnbellinger/lta | b7cb3c65e0f167e56abb67f8283083aafd700e42 | [
"MIT"
] | 1 | 2019-07-30T16:03:26.000Z | 2019-07-30T16:03:26.000Z | tests/test_joiner.py | jnbellinger/lta | b7cb3c65e0f167e56abb67f8283083aafd700e42 | [
"MIT"
] | 80 | 2019-01-10T21:46:43.000Z | 2022-03-24T22:40:54.000Z | tests/test_joiner.py | jnbellinger/lta | b7cb3c65e0f167e56abb67f8283083aafd700e42 | [
"MIT"
] | 1 | 2018-12-10T21:13:11.000Z | 2018-12-10T21:13:11.000Z | # test_joiner.py
"""Unit tests for lta/joiner.py."""
from lta.joiner import join_smart, join_smart_url
def test_join_smart_empty():
"""Test join_smart functionality."""
assert join_smart([]) == "."
def test_join_smart_many_relative():
"""Test join_smart functionality."""
assert join_smart(["data", "e... | 54.169811 | 165 | 0.666318 | 327 | 2,871 | 5.672783 | 0.159021 | 0.130997 | 0.098113 | 0.06469 | 0.918059 | 0.886253 | 0.886253 | 0.839353 | 0.839353 | 0.839353 | 0 | 0.110638 | 0.18147 | 2,871 | 52 | 166 | 55.211538 | 0.678723 | 0.091257 | 0 | 0.485714 | 0 | 0.142857 | 0.524143 | 0.484034 | 0 | 0 | 0 | 0 | 0.314286 | 1 | 0.2 | false | 0 | 0.028571 | 0 | 0.228571 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
135a645e24415b7d3714c6799052455d5ba37773 | 89 | py | Python | src/Tests/Sample/conftest.py | AaronWxy/TestCommon | 259d605d555dde3736b3f7f445242a7bf8067bbc | [
"MIT"
] | null | null | null | src/Tests/Sample/conftest.py | AaronWxy/TestCommon | 259d605d555dde3736b3f7f445242a7bf8067bbc | [
"MIT"
] | null | null | null | src/Tests/Sample/conftest.py | AaronWxy/TestCommon | 259d605d555dde3736b3f7f445242a7bf8067bbc | [
"MIT"
] | null | null | null | from src.resource.conftest import *
from src.resource.conftest import test_name_dic as c
| 29.666667 | 52 | 0.831461 | 15 | 89 | 4.8 | 0.666667 | 0.194444 | 0.416667 | 0.638889 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 89 | 2 | 53 | 44.5 | 0.911392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
13853beb3814aabc9dc7c35ddff9d709c1104c8f | 29,209 | py | Python | tests/test_candidate_json_generation.py | audreyseo/tisane | 1a73fbbe81a3890b712d4a92765b38259b24c7b3 | [
"Apache-2.0"
] | 8 | 2021-08-31T19:03:08.000Z | 2022-03-30T05:49:23.000Z | tests/test_candidate_json_generation.py | audreyseo/tisane | 1a73fbbe81a3890b712d4a92765b38259b24c7b3 | [
"Apache-2.0"
] | 7 | 2021-08-30T02:00:34.000Z | 2022-01-19T05:44:52.000Z | tests/test_candidate_json_generation.py | audreyseo/tisane | 1a73fbbe81a3890b712d4a92765b38259b24c7b3 | [
"Apache-2.0"
] | 2 | 2021-12-27T22:28:15.000Z | 2022-01-19T00:42:47.000Z | from tisane.random_effects import RandomIntercept, RandomSlope
from unittest import main
from tisane.variable import Measure
import tisane as ts
from tisane.main import collect_model_candidates, collect_model_candidates
from tisane.graph_inference import (
infer_interaction_effects_with_explanations,
infer_rand... | 42.954412 | 89 | 0.637167 | 3,360 | 29,209 | 5.322917 | 0.04881 | 0.047358 | 0.035616 | 0.041096 | 0.842158 | 0.83461 | 0.8156 | 0.805032 | 0.803634 | 0.800615 | 0 | 0.007786 | 0.261289 | 29,209 | 679 | 90 | 43.017673 | 0.821106 | 0.028176 | 0 | 0.709625 | 0 | 0.001631 | 0.115682 | 0 | 0 | 0 | 0 | 0.001473 | 0.300163 | 1 | 0.016313 | false | 0 | 0.013051 | 0 | 0.030995 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
13995732d8ee544707dab465df3bd0131fb486eb | 23,665 | py | Python | tests/python/relay/test_pass_fold_scale_axis.py | robo-corg/incubator-tvm | 4ddfdb4b15d05a5bf85a984837967d004efee5dd | [
"Apache-2.0"
] | 1 | 2020-04-15T02:21:38.000Z | 2020-04-15T02:21:38.000Z | tests/python/relay/test_pass_fold_scale_axis.py | robo-corg/incubator-tvm | 4ddfdb4b15d05a5bf85a984837967d004efee5dd | [
"Apache-2.0"
] | null | null | null | tests/python/relay/test_pass_fold_scale_axis.py | robo-corg/incubator-tvm | 4ddfdb4b15d05a5bf85a984837967d004efee5dd | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 41.884956 | 100 | 0.56666 | 3,042 | 23,665 | 4.200855 | 0.067061 | 0.05869 | 0.044761 | 0.028171 | 0.885046 | 0.862352 | 0.847954 | 0.831286 | 0.819782 | 0.81274 | 0 | 0.032076 | 0.32022 | 23,665 | 564 | 101 | 41.95922 | 0.762293 | 0.067399 | 0 | 0.8061 | 0 | 0 | 0.014142 | 0 | 0 | 0 | 0 | 0 | 0.03268 | 1 | 0.098039 | false | 0.071895 | 0.008715 | 0.004357 | 0.156863 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
13d0a2f9d714c8e7721e62fae34a61711757cd28 | 48,021 | py | Python | e2e/tests/oauth/test_product_scopes.py | dhewapim/identity-service-api | 6688a295f1175f176c3c50f8d8362dce4bb504a6 | [
"MIT"
] | null | null | null | e2e/tests/oauth/test_product_scopes.py | dhewapim/identity-service-api | 6688a295f1175f176c3c50f8d8362dce4bb504a6 | [
"MIT"
] | 233 | 2020-04-02T15:50:10.000Z | 2022-01-04T10:53:45.000Z | e2e/tests/oauth/test_product_scopes.py | dhewapim/identity-service-api | 6688a295f1175f176c3c50f8d8362dce4bb504a6 | [
"MIT"
] | 3 | 2021-04-11T07:31:43.000Z | 2022-01-24T11:18:50.000Z | from e2e.scripts.config import MOCK_IDP_BASE_URL
from e2e.scripts import config
import pytest
from api_test_utils.oauth_helper import OauthHelper
from api_test_utils.apigee_api_trace import ApigeeApiTraceDebug
from api_test_utils.apigee_api_apps import ApigeeApiDeveloperApps
from api_test_utils.apigee_api_products impo... | 40.695763 | 155 | 0.565107 | 4,970 | 48,021 | 5.284708 | 0.051308 | 0.057834 | 0.090881 | 0.078241 | 0.911251 | 0.900019 | 0.891909 | 0.875957 | 0.868951 | 0.860956 | 0 | 0.016791 | 0.327794 | 48,021 | 1,179 | 156 | 40.73028 | 0.796623 | 0.119656 | 0 | 0.701629 | 0 | 0 | 0.344843 | 0.282069 | 0 | 0 | 0 | 0 | 0.046843 | 1 | 0.002037 | false | 0 | 0.008147 | 0 | 0.023422 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
13f56035c0ee37d771d92c7fd23215859d470e10 | 4,579 | py | Python | comments/tests.py | joshua-hashimoto/molecule-django | ac7f74e58332e48562a1cda64d8334f99d79d2af | [
"MIT"
] | null | null | null | comments/tests.py | joshua-hashimoto/molecule-django | ac7f74e58332e48562a1cda64d8334f99d79d2af | [
"MIT"
] | null | null | null | comments/tests.py | joshua-hashimoto/molecule-django | ac7f74e58332e48562a1cda64d8334f99d79d2af | [
"MIT"
] | 1 | 2021-09-05T03:42:53.000Z | 2021-09-05T03:42:53.000Z | from http import HTTPStatus as status
from django.contrib.auth import get_user_model
from django.test import TestCase, Client
from django.shortcuts import reverse
from .models import Comment
from articles.models import Article
class CommentModelTestCase(TestCase):
def setUp(self):
user = get_user_model... | 34.954198 | 75 | 0.596418 | 457 | 4,579 | 5.83151 | 0.188184 | 0.053659 | 0.04728 | 0.065666 | 0.849906 | 0.821013 | 0.781614 | 0.754597 | 0.754597 | 0.754597 | 0 | 0.012511 | 0.284342 | 4,579 | 130 | 76 | 35.223077 | 0.800732 | 0 | 0 | 0.782609 | 0 | 0 | 0.141297 | 0.019655 | 0 | 0 | 0 | 0 | 0.130435 | 1 | 0.078261 | false | 0.017391 | 0.052174 | 0 | 0.147826 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b9277cf1dd7da47988222b709cde53ca4238c56d | 91 | py | Python | parameters/IGParameterColor/__init__.py | bertrandboudaud/imagegraph | 7c95b645edeb1a68d56c6c3b19f1ff6fde413afc | [
"MIT"
] | null | null | null | parameters/IGParameterColor/__init__.py | bertrandboudaud/imagegraph | 7c95b645edeb1a68d56c6c3b19f1ff6fde413afc | [
"MIT"
] | null | null | null | parameters/IGParameterColor/__init__.py | bertrandboudaud/imagegraph | 7c95b645edeb1a68d56c6c3b19f1ff6fde413afc | [
"MIT"
] | null | null | null | from . import IGParameterColor
def get():
return IGParameterColor.IGParameterColor()
| 15.166667 | 46 | 0.769231 | 8 | 91 | 8.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 91 | 5 | 47 | 18.2 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
b92a742132da7740f59aa57e79a5a1a62e4920e8 | 3,009 | py | Python | tests/old/test_serialization.py | lite-david/polymath | cf1addc75e203fa606ebc6d32bc552fb3975ea99 | [
"Apache-2.0"
] | 15 | 2021-05-09T05:46:04.000Z | 2022-03-06T20:46:32.000Z | tests/old/test_serialization.py | lite-david/polymath | cf1addc75e203fa606ebc6d32bc552fb3975ea99 | [
"Apache-2.0"
] | null | null | null | tests/old/test_serialization.py | lite-david/polymath | cf1addc75e203fa606ebc6d32bc552fb3975ea99 | [
"Apache-2.0"
] | 4 | 2021-08-24T07:46:29.000Z | 2022-03-05T18:23:07.000Z | #
# from polymath.mgdfg.serialization.pmlang_mgdfg import mgdfg_gen, parse_file, compile_to_pb, store_pb, load_pb
#
# def test_symbols_to_mgdfg():
# file = "recommender.pm"
# base_path = f"./pmlang_examples"
# full_path = f"./pmlang_examples/{file}"
#
# pmlang_graph = parse_file(full_path)
#
# lr_co... | 27.861111 | 111 | 0.656364 | 392 | 3,009 | 4.660714 | 0.135204 | 0.065681 | 0.144499 | 0.249589 | 0.753695 | 0.753695 | 0.753695 | 0.753695 | 0.753695 | 0.753695 | 0 | 0.000825 | 0.194749 | 3,009 | 107 | 112 | 28.121495 | 0.753199 | 0.928548 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b950f1f2ad931cb58573d89a159249621e8343d6 | 118 | py | Python | moban/__init__.py | Naveenaidu/moban | 5a4d41546a99f66b39e7deb3e216c9238fa3b07b | [
"MIT"
] | 1 | 2018-12-16T01:16:22.000Z | 2018-12-16T01:16:22.000Z | moban/__init__.py | Naveenaidu/moban | 5a4d41546a99f66b39e7deb3e216c9238fa3b07b | [
"MIT"
] | null | null | null | moban/__init__.py | Naveenaidu/moban | 5a4d41546a99f66b39e7deb3e216c9238fa3b07b | [
"MIT"
] | null | null | null | from moban._version import __version__
from moban._version import __author__
__all__ = ("__author__", "__version__")
| 23.6 | 39 | 0.805085 | 13 | 118 | 5.615385 | 0.461538 | 0.246575 | 0.438356 | 0.60274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110169 | 118 | 4 | 40 | 29.5 | 0.695238 | 0 | 0 | 0 | 0 | 0 | 0.177966 | 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 | 1 | 0 | 0 | 7 |
b951880c9b2c481309f3180170e43eb09d2576d5 | 11,344 | py | Python | test/test_batterystate.py | ToyotaResearchInstitute/task_behavior_ros | 0bc58f88556c9029c9a579511e1fdab9bd58248b | [
"Apache-2.0"
] | 2 | 2017-02-16T00:47:39.000Z | 2018-05-12T13:34:17.000Z | test/test_batterystate.py | ToyotaResearchInstitute/task_behavior_ros | 0bc58f88556c9029c9a579511e1fdab9bd58248b | [
"Apache-2.0"
] | 4 | 2017-02-17T19:05:22.000Z | 2017-05-04T17:41:26.000Z | test/test_batterystate.py | ToyotaResearchInstitute/task_behavior_ros | 0bc58f88556c9029c9a579511e1fdab9bd58248b | [
"Apache-2.0"
] | 2 | 2019-03-08T06:45:25.000Z | 2022-03-08T10:08:00.000Z | #!/usr/bin/env python
# Copyright 2016 Toyota Research Institute
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicabl... | 36.95114 | 89 | 0.678597 | 1,403 | 11,344 | 5.307199 | 0.121882 | 0.108783 | 0.184932 | 0.111201 | 0.842734 | 0.836557 | 0.813457 | 0.80513 | 0.80513 | 0.794923 | 0 | 0.008364 | 0.230606 | 11,344 | 306 | 90 | 37.071895 | 0.844753 | 0.161936 | 0 | 0.853535 | 0 | 0 | 0.020721 | 0 | 0 | 0 | 0 | 0 | 0.186869 | 1 | 0.060606 | false | 0 | 0.045455 | 0 | 0.116162 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b9639c275c5128146b114581bfaadba7960e8112 | 172 | py | Python | const/__init__.py | amhirsch/gla-covid-19 | 765f60082908c731271b90143ce0aacf53d09980 | [
"MIT"
] | null | null | null | const/__init__.py | amhirsch/gla-covid-19 | 765f60082908c731271b90143ce0aacf53d09980 | [
"MIT"
] | 5 | 2020-06-09T06:27:43.000Z | 2021-07-24T00:42:51.000Z | const/__init__.py | amhirsch/lac_covid19 | 765f60082908c731271b90143ce0aacf53d09980 | [
"MIT"
] | null | null | null | from lac_covid19.const.columns import *
from lac_covid19.const.groups import *
import lac_covid19.const.health_departments as hd
JSON_INDENT = 4
JSON_COMPACT = (',', ':')
| 24.571429 | 49 | 0.773256 | 25 | 172 | 5.08 | 0.6 | 0.23622 | 0.354331 | 0.299213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046053 | 0.116279 | 172 | 6 | 50 | 28.666667 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b988c40694c2721b686e448693331b4f64e36483 | 4,856 | py | Python | psql_runner.py | daamien/condenser | 0a8df43f7e22d689a1a330dee267308c06eff0a0 | [
"Apache-2.0"
] | null | null | null | psql_runner.py | daamien/condenser | 0a8df43f7e22d689a1a330dee267308c06eff0a0 | [
"Apache-2.0"
] | null | null | null | psql_runner.py | daamien/condenser | 0a8df43f7e22d689a1a330dee267308c06eff0a0 | [
"Apache-2.0"
] | null | null | null | import os, pathlib, re
class PsqlRunner:
def __init__(self, database_connection_info):
self.connection_info = database_connection_info
def run_query(self, query, output_path = None, error_path = None, overwrite_output = False, overwrite_error = False):
pg_dump_path = get_pg_bin_path()
... | 55.181818 | 253 | 0.633649 | 674 | 4,856 | 4.324926 | 0.120178 | 0.206518 | 0.253173 | 0.043911 | 0.83705 | 0.83705 | 0.833962 | 0.833962 | 0.833962 | 0.833962 | 0 | 0.020276 | 0.207784 | 4,856 | 87 | 254 | 55.816092 | 0.737458 | 0 | 0 | 0.514706 | 0 | 0.117647 | 0.20902 | 0.067545 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0.117647 | 0.014706 | 0 | 0.102941 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
b9d6a91b34e50d2a3fc405c440b0fc8f65ac5461 | 1,141 | py | Python | scripts/models.py | devalab/BAND-NN | c8a7419c15084f759d688b25a614371bff34aff9 | [
"MIT"
] | 10 | 2019-11-21T08:26:32.000Z | 2021-12-09T15:54:43.000Z | scripts/models.py | devalab/BAND-NN | c8a7419c15084f759d688b25a614371bff34aff9 | [
"MIT"
] | 1 | 2020-12-11T20:08:56.000Z | 2020-12-21T18:43:58.000Z | scripts/models.py | devalab/BAND-NN | c8a7419c15084f759d688b25a614371bff34aff9 | [
"MIT"
] | 2 | 2020-02-15T11:58:51.000Z | 2020-03-11T08:40:45.000Z | from keras.models import Sequential, Model
from keras.layers import Dense, Activation, Input
def get_bonds_model():
model = Sequential()
model.add(Dense(128, activation='relu', input_dim=17))
model.add(Dense(256, activation='relu'))
model.add(Dense(128, activation='relu'))
model.add(Dense(1, activa... | 32.6 | 58 | 0.687993 | 153 | 1,141 | 5.052288 | 0.189542 | 0.165589 | 0.269082 | 0.165589 | 0.809832 | 0.809832 | 0.809832 | 0.809832 | 0.809832 | 0.809832 | 0 | 0.049689 | 0.153374 | 1,141 | 34 | 59 | 33.558824 | 0.750518 | 0 | 0 | 0.666667 | 0 | 0 | 0.063103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6a242846a9ad15b2405b4bb91440a4b666e59510 | 170,126 | py | Python | ryu/tests/unit/ofproto/test_parser_v10.py | hiArvin/ryu | b568088f8fe1d2334d9773f6ddaac8674f2a0f61 | [
"Apache-2.0"
] | 269 | 2015-03-08T11:32:45.000Z | 2022-03-30T11:18:16.000Z | ryu/tests/unit/ofproto/test_parser_v10.py | hiArvin/ryu | b568088f8fe1d2334d9773f6ddaac8674f2a0f61 | [
"Apache-2.0"
] | 2 | 2015-09-14T14:18:39.000Z | 2015-09-14T14:23:16.000Z | ryu/tests/unit/ofproto/test_parser_v10.py | hiArvin/ryu | b568088f8fe1d2334d9773f6ddaac8674f2a0f61 | [
"Apache-2.0"
] | 205 | 2015-01-13T04:52:25.000Z | 2022-03-30T13:37:33.000Z | # Copyright (C) 2012 Nippon Telegraph and Telephone Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 30.293091 | 78 | 0.53324 | 21,405 | 170,126 | 3.985424 | 0.045457 | 0.043396 | 0.022952 | 0.021944 | 0.809197 | 0.780654 | 0.750903 | 0.723426 | 0.706112 | 0.653913 | 0 | 0.052422 | 0.30391 | 170,126 | 5,615 | 79 | 30.298486 | 0.667945 | 0.088905 | 0 | 0.738714 | 0 | 0 | 0.093817 | 0.013438 | 0 | 0 | 0.000435 | 0 | 0.006305 | 1 | 0.104918 | false | 0.053216 | 0.001513 | 0 | 0.253216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
dbeb90bc5600e5c3da557d3d51bdefaff559df2c | 10,024 | py | Python | tests/test_endpoint.py | sa-bpelakh/sparql-endpoint-fixture | b88d1fd5189da4a8652fcd0dc1bfad65c1a4a6a6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_endpoint.py | sa-bpelakh/sparql-endpoint-fixture | b88d1fd5189da4a8652fcd0dc1bfad65c1a4a6a6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_endpoint.py | sa-bpelakh/sparql-endpoint-fixture | b88d1fd5189da4a8652fcd0dc1bfad65c1a4a6a6 | [
"BSD-3-Clause"
] | null | null | null | from SPARQLWrapper import SPARQLWrapper, JSON, POST
import json
import requests
def test_wrapper_select(sparql_endpoint):
repo_uri = 'https://my.rdfdb.com/repo/sparql'
rdf_files = ['tests/upper_ontology.ttl',
'tests/domain_ontology.ttl',
'tests/instance_data.ttl']
endpoin... | 47.283019 | 106 | 0.640662 | 1,237 | 10,024 | 5.070331 | 0.088925 | 0.044643 | 0.05979 | 0.073661 | 0.941645 | 0.93176 | 0.907844 | 0.900351 | 0.861448 | 0.859056 | 0 | 0.011559 | 0.188747 | 10,024 | 211 | 107 | 47.507109 | 0.759715 | 0.006484 | 0 | 0.782353 | 0 | 0.088235 | 0.386455 | 0.084506 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.064706 | false | 0 | 0.017647 | 0 | 0.082353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e021fb9efe8bed6a0737eae3491ad950f0d0294f | 19,203 | py | Python | solder_joint.py | chinthysl/AXI_PCB_defect_detection | fe81c1d8e144ce5434aee78548cdc026d0d53d1c | [
"MIT"
] | 26 | 2019-10-13T08:40:11.000Z | 2022-02-16T21:01:53.000Z | solder_joint.py | chinthysl/AXI_PCB_defect_detection | fe81c1d8e144ce5434aee78548cdc026d0d53d1c | [
"MIT"
] | 2 | 2020-02-20T16:56:17.000Z | 2020-04-26T14:17:34.000Z | solder_joint.py | chinthysl/AXI_PCB_defect_detection | fe81c1d8e144ce5434aee78548cdc026d0d53d1c | [
"MIT"
] | 13 | 2019-10-13T11:29:56.000Z | 2021-06-09T09:50:40.000Z | import cv2
import numpy as np
import logging
class SolderJoint:
def __init__(self, component_name, defect_id, defect_name, roi):
self.component_name = component_name
self.defect_id = defect_id
self.defect_name = defect_name
self.roi = roi
self.x_min, self.y_min, self.x_max,... | 45.077465 | 114 | 0.611519 | 2,544 | 19,203 | 4.428852 | 0.069969 | 0.057513 | 0.05343 | 0.081477 | 0.888169 | 0.869353 | 0.853998 | 0.839265 | 0.829413 | 0.815301 | 0 | 0.028274 | 0.294589 | 19,203 | 425 | 115 | 45.183529 | 0.803484 | 0.073114 | 0 | 0.798742 | 0 | 0.003145 | 0.169058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037736 | false | 0 | 0.009434 | 0 | 0.220126 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e0545f98af39dd234fce67ae36c8ac218ebe53f8 | 42,376 | py | Python | ckan/tests/functional/api/test_follow.py | dadosgovbr/ckan | f2ed9a03581c3229cf01209baa9a02a71642e0b6 | [
"BSD-3-Clause"
] | 2 | 2015-11-05T12:04:52.000Z | 2017-08-09T11:29:11.000Z | ckan/tests/functional/api/test_follow.py | dadosgovbr/ckan | f2ed9a03581c3229cf01209baa9a02a71642e0b6 | [
"BSD-3-Clause"
] | null | null | null | ckan/tests/functional/api/test_follow.py | dadosgovbr/ckan | f2ed9a03581c3229cf01209baa9a02a71642e0b6 | [
"BSD-3-Clause"
] | null | null | null | import datetime
import paste
import pylons.test
import ckan
from ckan.lib.helpers import json
from ckan.tests import are_foreign_keys_supported, SkipTest
def datetime_from_string(s):
'''Return a standard datetime.datetime object initialised from a string in
the same format used for timestamps in dictized activ... | 45.080851 | 80 | 0.622829 | 5,075 | 42,376 | 5.060493 | 0.04197 | 0.079589 | 0.046725 | 0.047971 | 0.947551 | 0.942022 | 0.924344 | 0.903668 | 0.882603 | 0.870688 | 0 | 0.010271 | 0.255616 | 42,376 | 939 | 81 | 45.12886 | 0.803893 | 0.108009 | 0 | 0.840336 | 0 | 0 | 0.145433 | 0.060104 | 0 | 0 | 0 | 0 | 0.231092 | 1 | 0.082633 | false | 0 | 0.009804 | 0 | 0.098039 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0ee038e9fbae804f22f819394864f34e56d85ae0 | 5,041 | py | Python | src/IceRayPy/utility/material/pattern/__init__.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 2 | 2020-09-04T12:27:15.000Z | 2022-01-17T14:49:40.000Z | src/IceRayPy/utility/material/pattern/__init__.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | null | null | null | src/IceRayPy/utility/material/pattern/__init__.py | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 1 | 2020-09-04T12:27:52.000Z | 2020-09-04T12:27:52.000Z | print( '<' + __name__ + ' name=\'' + __file__ + '\'>' )
import IceRayPy.utility.material.pattern.noise
# TODO import IceRayPy.utility.material.pattern.size
def Constant(
P_dll
,P_config
,P_color = IceRayPy.type.color.RGB(0.5,0.5,0.5)
):
I_pattern = IceRayPy.core.material.pattern.... | 40.653226 | 118 | 0.706209 | 665 | 5,041 | 5.162406 | 0.100752 | 0.160792 | 0.267987 | 0.30702 | 0.878241 | 0.818817 | 0.806001 | 0.795223 | 0.780076 | 0.764929 | 0 | 0.008391 | 0.172585 | 5,041 | 124 | 119 | 40.653226 | 0.814673 | 0.009919 | 0 | 0.685393 | 0 | 0.011236 | 0.027738 | 0.012328 | 0 | 0 | 0 | 0.008065 | 0 | 1 | 0.067416 | false | 0 | 0.011236 | 0 | 0.146067 | 0.033708 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0eece5e2d6f3aa9fa700036d19768a48339ddcba | 180 | py | Python | Python3-built-in-functions/0x63min.py | DropsDevopsOrg/PythonWiki | 0c344edad37ed34c03cf066df991922cb4bdeee0 | [
"Apache-2.0"
] | 15 | 2019-04-09T04:20:21.000Z | 2022-02-08T20:33:42.000Z | Python3-built-in-functions/0x63min.py | sep8dog/PythonWiki | 0c344edad37ed34c03cf066df991922cb4bdeee0 | [
"Apache-2.0"
] | 1 | 2019-07-22T07:27:10.000Z | 2020-10-09T08:00:17.000Z | Python3-built-in-functions/0x63min.py | sep8dog/PythonWiki | 0c344edad37ed34c03cf066df991922cb4bdeee0 | [
"Apache-2.0"
] | 16 | 2019-09-13T14:06:42.000Z | 2022-03-15T06:02:01.000Z | #max() 方法返回给定参数的最小值,可比较字符.汉字和表达式
print(min(1, 2, 3, 45, 4))
print(min([1, 2, 3, 4, 5, 6]))
print(min('a', 'b', 'c', 'd'))
print(min('梁', '伟', '洋'))
print(min(8+2, 1+1, 9+9)) | 25.714286 | 33 | 0.505556 | 38 | 180 | 2.394737 | 0.578947 | 0.43956 | 0.197802 | 0.21978 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119205 | 0.161111 | 180 | 7 | 34 | 25.714286 | 0.483444 | 0.172222 | 0 | 0 | 0 | 0 | 0.048951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
0efb30ad308d4e73887bf7fb402f69bbb41e43b5 | 243 | py | Python | simple_xapi_client/__init__.py | IngoKl/simple-xapi-client | 23258d2af5d461f95d431265f8af6674f7f05b32 | [
"MIT"
] | null | null | null | simple_xapi_client/__init__.py | IngoKl/simple-xapi-client | 23258d2af5d461f95d431265f8af6674f7f05b32 | [
"MIT"
] | null | null | null | simple_xapi_client/__init__.py | IngoKl/simple-xapi-client | 23258d2af5d461f95d431265f8af6674f7f05b32 | [
"MIT"
] | null | null | null | from simple_xapi_client.xapi_client import LRS
from simple_xapi_client.actor import XapiActor
from simple_xapi_client.statement import XapiStatement
from simple_xapi_client.object import XapiObject
from simple_xapi_client.verb import XapiVerb
| 40.5 | 54 | 0.897119 | 36 | 243 | 5.75 | 0.388889 | 0.289855 | 0.338164 | 0.483092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082305 | 243 | 5 | 55 | 48.6 | 0.928251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
160b4363a7377a49c41fdd8c41d2184ffe6bd60b | 311,914 | py | Python | .venv/lib/python3.8/site-packages/aws_cdk/aws_iam/__init__.py | sandipganguly/cdkpipeline | aecde04724a99e55d20a62cd3ccded6ceedbe967 | [
"MIT-0"
] | null | null | null | .venv/lib/python3.8/site-packages/aws_cdk/aws_iam/__init__.py | sandipganguly/cdkpipeline | aecde04724a99e55d20a62cd3ccded6ceedbe967 | [
"MIT-0"
] | null | null | null | .venv/lib/python3.8/site-packages/aws_cdk/aws_iam/__init__.py | sandipganguly/cdkpipeline | aecde04724a99e55d20a62cd3ccded6ceedbe967 | [
"MIT-0"
] | null | null | null | """
## AWS Identity and Access Management Construct Library
<!--BEGIN STABILITY BANNER-->---


--... | 38.493644 | 1,215 | 0.658839 | 37,009 | 311,914 | 5.451485 | 0.032587 | 0.026091 | 0.021373 | 0.027479 | 0.850749 | 0.830155 | 0.812727 | 0.798968 | 0.784564 | 0.768307 | 0 | 0.001936 | 0.231471 | 311,914 | 8,102 | 1,216 | 38.498395 | 0.839705 | 0.444757 | 0 | 0.749935 | 0 | 0 | 0.140961 | 0.040025 | 0 | 0 | 0 | 0 | 0.000782 | 1 | 0.171578 | false | 0.009909 | 0.002608 | 0.029465 | 0.33794 | 0.002086 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
160d0f9497b35faafe0d6190d80883e6fb237bef | 22,800 | py | Python | webapp/tests/test_dashboard.py | romanek-adam/graphite-web | f6d7d16551a6953a5d0a1c19978efbf93fd3f869 | [
"Apache-2.0"
] | 4,281 | 2015-01-01T12:35:03.000Z | 2022-03-31T20:06:59.000Z | webapp/tests/test_dashboard.py | romanek-adam/graphite-web | f6d7d16551a6953a5d0a1c19978efbf93fd3f869 | [
"Apache-2.0"
] | 1,809 | 2015-01-01T21:16:36.000Z | 2022-03-31T21:25:13.000Z | webapp/tests/test_dashboard.py | romanek-adam/graphite-web | f6d7d16551a6953a5d0a1c19978efbf93fd3f869 | [
"Apache-2.0"
] | 970 | 2015-01-02T19:49:21.000Z | 2022-03-27T09:48:44.000Z | import copy
import errno
import mock
import os
from . import TEST_CONF_DIR
from django.conf import settings
try:
from django.urls import reverse
except ImportError: # Django < 1.10
from django.core.urlresolvers import reverse
from django.http import HttpResponse
from .base import TestCase
from django.test.ut... | 46.530612 | 284 | 0.675 | 2,519 | 22,800 | 5.92894 | 0.078206 | 0.094409 | 0.127821 | 0.114563 | 0.886575 | 0.86468 | 0.845196 | 0.837563 | 0.831537 | 0.827051 | 0 | 0.012139 | 0.194254 | 22,800 | 489 | 285 | 46.625767 | 0.800827 | 0.008202 | 0 | 0.730392 | 0 | 0.014706 | 0.202531 | 0.065608 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.127451 | false | 0.019608 | 0.053922 | 0 | 0.186275 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1615bd3658255000f1c95f3f2901e16a933bd098 | 8,597 | py | Python | Python/resallocPoA/core.py | rahul-chandan/poa-res-alloc | 6155b17281764f73b802b232169e7941ce332d33 | [
"MIT"
] | 1 | 2021-06-21T01:58:32.000Z | 2021-06-21T01:58:32.000Z | Python/resallocPoA/core.py | rahul-chandan/poa-res-alloc | 6155b17281764f73b802b232169e7941ce332d33 | [
"MIT"
] | null | null | null | Python/resallocPoA/core.py | rahul-chandan/poa-res-alloc | 6155b17281764f73b802b232169e7941ce332d33 | [
"MIT"
] | 2 | 2020-03-05T10:27:45.000Z | 2021-06-21T01:58:28.000Z | from .helpers import dualLP, optimalLP, optimalLPConstant
import numpy as np
def computeCostMinPoA(n, B, f, options=None):
''' Authors: Rahul Chandan, Dario Paccagnan and Jason Marden
Copyright(c) 2020 Rahul Chandan, Dario Paccagnan, Jason Marden.
All rights reserved. See LICENSE file in the proje... | 30.485816 | 102 | 0.559846 | 988 | 8,597 | 4.847166 | 0.13664 | 0.004594 | 0.035498 | 0.054291 | 0.911046 | 0.905199 | 0.897056 | 0.866152 | 0.860514 | 0.835665 | 0 | 0.013236 | 0.332093 | 8,597 | 281 | 103 | 30.594306 | 0.820794 | 0.43457 | 0 | 0.795699 | 0 | 0 | 0.132929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053763 | false | 0 | 0.129032 | 0 | 0.236559 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
165577b041f8254ec09704fb2fb3c090aa734caa | 9,858 | py | Python | bot.py | cs3219-team6/assignment-5 | f79bec0aa4749f912ab552ca43389b20eefbdf92 | [
"MIT"
] | null | null | null | bot.py | cs3219-team6/assignment-5 | f79bec0aa4749f912ab552ca43389b20eefbdf92 | [
"MIT"
] | 8 | 2017-04-09T14:15:56.000Z | 2021-06-01T21:46:50.000Z | bot.py | cs3219-team6/assignment-5 | f79bec0aa4749f912ab552ca43389b20eefbdf92 | [
"MIT"
] | null | null | null | import datetime
import gitguard
import visualizer
import logging
import settings_secret
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',\
level=logging.INFO)
logger = logging.getLogger(__nam... | 45.428571 | 207 | 0.714039 | 1,412 | 9,858 | 4.79745 | 0.09915 | 0.049601 | 0.049601 | 0.078536 | 0.803809 | 0.803218 | 0.792589 | 0.782256 | 0.759079 | 0.720992 | 0 | 0.011244 | 0.170014 | 9,858 | 216 | 208 | 45.638889 | 0.816671 | 0.133901 | 0 | 0.57037 | 0 | 0.007407 | 0.2149 | 0.03395 | 0 | 0 | 0 | 0.00463 | 0 | 1 | 0.059259 | false | 0.111111 | 0.044444 | 0 | 0.274074 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
16b0fa0a9bb1de0bdc0327f8b119851e6e0f6966 | 37,885 | py | Python | dual_encoder/losses_test.py | Abhin02/federated | 5fd8f69284c2784b635faadfaf6c66ce843f7701 | [
"Apache-2.0"
] | 1 | 2022-03-16T02:13:39.000Z | 2022-03-16T02:13:39.000Z | dual_encoder/losses_test.py | notminusone/federated | 6a709f5598450232b918c046cfeba849f479d5cb | [
"Apache-2.0"
] | null | null | null | dual_encoder/losses_test.py | notminusone/federated | 6a709f5598450232b918c046cfeba849f479d5cb | [
"Apache-2.0"
] | null | null | null | # Copyright 2021, Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... | 34.949262 | 135 | 0.660261 | 5,694 | 37,885 | 4.134352 | 0.036881 | 0.106283 | 0.085595 | 0.07111 | 0.93318 | 0.914914 | 0.902001 | 0.870269 | 0.855359 | 0.849879 | 0 | 0.083625 | 0.214359 | 37,885 | 1,083 | 136 | 34.981533 | 0.707297 | 0.136862 | 0 | 0.790665 | 0 | 0 | 0.039592 | 0.02087 | 0 | 0 | 0 | 0 | 0.130127 | 1 | 0.076379 | false | 0 | 0.005658 | 0 | 0.083451 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
16dc0a9974afdb7fa11b4fc338987c6d59cf4b8a | 48 | py | Python | utest/resources/robotdata/libs/sub/libsi.py | ludovicurbain/SWIFT-RIDE | ab72df08a57101c433bfa5ad44949d9983e4e611 | [
"ECL-2.0",
"Apache-2.0"
] | 775 | 2015-01-12T06:54:09.000Z | 2022-03-25T05:18:05.000Z | utest/resources/robotdata/libs/sub/libsi.py | ludovicurbain/SWIFT-RIDE | ab72df08a57101c433bfa5ad44949d9983e4e611 | [
"ECL-2.0",
"Apache-2.0"
] | 2,191 | 2015-05-19T16:49:09.000Z | 2022-03-28T21:38:34.000Z | utest/resources/robotdata/libs/sub/libsi.py | ludovicurbain/SWIFT-RIDE | ab72df08a57101c433bfa5ad44949d9983e4e611 | [
"ECL-2.0",
"Apache-2.0"
] | 382 | 2015-01-24T08:41:44.000Z | 2022-03-13T10:14:20.000Z | def libsi_keyword():
print('libsi keyword')
| 16 | 26 | 0.6875 | 6 | 48 | 5.333333 | 0.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 27 | 24 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
bc61d57432c789cdb436b4bc1c5183ead5243af6 | 352 | py | Python | test1/myscript4.py | josephernest/vversioning | de09ab66c018a5aceee787101c5e307f957a2601 | [
"MIT"
] | null | null | null | test1/myscript4.py | josephernest/vversioning | de09ab66c018a5aceee787101c5e307f957a2601 | [
"MIT"
] | null | null | null | test1/myscript4.py | josephernest/vversioning | de09ab66c018a5aceee787101c5e307f957a2601 | [
"MIT"
] | null | null | null | """
==CHANGELOG==
* support UTF8
==CHANGELOG==
"""
sqdgfhsqgfksqfkjgsqfkqsgdkfsqkgfqsdf
sqgjdfjsqdhfqgskdgfkqgsdjfsqdfggdsqjf
sqdgfhsqgfksqfkjgsqfkqsgdkfsqkgfqsdf
sqgjdfjsqdhfqgskdgfkqgsdjfsqdfggdsqjf
sqdgfhsqgfksqfkjgsqfkqsgdkfsqkgfqsdf
sqgjdfjsqdhfqgskdgfkqgsdjfsqdfggdsqjf
sqdgfhsqgfksqfkjgsqfkqsgdkfsqkgfqsdf
sqgjdf... | 23.466667 | 37 | 0.911932 | 12 | 352 | 26.75 | 0.416667 | 0.909657 | 1.018692 | 1.364486 | 0.909657 | 0.909657 | 0 | 0 | 0 | 0 | 0 | 0.002976 | 0.045455 | 352 | 14 | 38 | 25.142857 | 0.952381 | 0.119318 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
bc9cdc84a93bc1ed4557cad1be2ed5a9947b46ee | 885 | py | Python | spark/util/helper_functions/triangle_functions.py | lawruble13/spark | 8008de02ce57156eb4bd99ffd7a713f5e6f8da75 | [
"MIT"
] | 4 | 2020-10-17T00:33:00.000Z | 2021-04-10T00:06:19.000Z | spark/util/helper_functions/triangle_functions.py | lawruble13/spark | 8008de02ce57156eb4bd99ffd7a713f5e6f8da75 | [
"MIT"
] | 55 | 2020-10-22T03:20:54.000Z | 2021-03-02T23:41:06.000Z | spark/util/helper_functions/triangle_functions.py | lawruble13/spark | 8008de02ce57156eb4bd99ffd7a713f5e6f8da75 | [
"MIT"
] | 4 | 2020-10-19T19:13:39.000Z | 2021-06-23T04:31:46.000Z | from ..decorators import *
from numbers import Real
@validate_args([Real, Real, Real, Real, Real, Real])
@ignite_global
def helper_triangle(self, *args):
self.fill_triangle(*args)
self.stroke_triangle(*args)
@validate_args([Real, Real, Real, Real, Real, Real])
@ignite_global
def helper_stroke_t... | 27.65625 | 53 | 0.674576 | 132 | 885 | 4.348485 | 0.212121 | 0.209059 | 0.250871 | 0.250871 | 0.792683 | 0.792683 | 0.792683 | 0.792683 | 0.792683 | 0.792683 | 0 | 0.016349 | 0.170621 | 885 | 31 | 54 | 28.548387 | 0.765668 | 0 | 0 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12 | false | 0 | 0.08 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bca8ef7e4a0f2d64e1468720ba424fbb0c38e55a | 21,085 | py | Python | tests/commands/test_report.py | InvestWeMust/lean-cli | a7241a0af6202dc7d56c0f35d09e51798cc5d426 | [
"Apache-2.0"
] | 76 | 2021-02-03T02:32:32.000Z | 2022-03-28T17:04:03.000Z | tests/commands/test_report.py | InvestWeMust/lean-cli | a7241a0af6202dc7d56c0f35d09e51798cc5d426 | [
"Apache-2.0"
] | 64 | 2021-02-28T23:14:17.000Z | 2022-03-30T23:22:24.000Z | tests/commands/test_report.py | InvestWeMust/lean-cli | a7241a0af6202dc7d56c0f35d09e51798cc5d426 | [
"Apache-2.0"
] | 50 | 2021-02-11T01:25:24.000Z | 2022-03-17T03:56:29.000Z | # QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
# Lean CLI v1.0. Copyright 2021 QuantConnect Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at http://www.apache... | 40.704633 | 119 | 0.659995 | 2,601 | 21,085 | 5.105344 | 0.08689 | 0.137059 | 0.077114 | 0.101212 | 0.815799 | 0.794713 | 0.787484 | 0.767076 | 0.762633 | 0.748023 | 0 | 0.029586 | 0.216125 | 21,085 | 517 | 120 | 40.783366 | 0.773838 | 0.033863 | 0 | 0.706587 | 0 | 0 | 0.187727 | 0.08077 | 0 | 0 | 0 | 0 | 0.218563 | 1 | 0.080838 | false | 0 | 0.035928 | 0 | 0.11976 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bcbef327eb1a4619c4c783b4a1cf679e69e8ce80 | 4,074 | py | Python | sikr/resources/auth/basicauth.py | sikrvault/sikr | f76d99d27fd7ad5984d9e9fd41ca375e2e9043db | [
"MIT"
] | 32 | 2016-01-12T20:31:09.000Z | 2022-03-05T16:17:55.000Z | sikr/resources/auth/basicauth.py | clione/sikre | f76d99d27fd7ad5984d9e9fd41ca375e2e9043db | [
"MIT"
] | 8 | 2015-02-11T22:33:58.000Z | 2015-12-14T16:50:19.000Z | sikr/resources/auth/basicauth.py | sikrvault/sikr | f76d99d27fd7ad5984d9e9fd41ca375e2e9043db | [
"MIT"
] | 5 | 2016-05-17T14:56:51.000Z | 2022-03-05T16:17:59.000Z | import falcon
import logging
import json
from sikre.models.models import User
class LoginResource(object):
"""
The login resource handles the login from all the
"""
def __init__(self):
self.logger = logging.getLogger('thingsapp.' + __name__)
def on_get(self, request, response):
... | 33.95 | 84 | 0.597202 | 483 | 4,074 | 4.94617 | 0.161491 | 0.071159 | 0.12725 | 0.141482 | 0.811218 | 0.798661 | 0.798661 | 0.782336 | 0.782336 | 0.780243 | 0 | 0.019362 | 0.315415 | 4,074 | 119 | 85 | 34.235294 | 0.837218 | 0.110457 | 0 | 0.630769 | 0 | 0 | 0.2348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.261538 | false | 0.046154 | 0.061538 | 0 | 0.369231 | 0.030769 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bcc7bc4975b06235285dd428baf683e2c020d1fd | 25,012 | py | Python | tests/test_message_sample.py | chyroc/pylark | a54cce6b814935fd3c72668b262b54c8ee461484 | [
"Apache-2.0"
] | 7 | 2021-08-18T00:42:05.000Z | 2022-03-14T09:49:15.000Z | tests/test_message_sample.py | chyroc/pylark | a54cce6b814935fd3c72668b262b54c8ee461484 | [
"Apache-2.0"
] | null | null | null | tests/test_message_sample.py | chyroc/pylark | a54cce6b814935fd3c72668b262b54c8ee461484 | [
"Apache-2.0"
] | 1 | 2022-03-14T09:49:20.000Z | 2022-03-14T09:49:20.000Z | # Code generated by lark_sdk_gen. DO NOT EDIT.
import unittest
import pylark
import pytest
from tests.test_conf import app_all_permission, app_no_permission
from tests.test_helper import mock_get_tenant_access_token_failed
def mock(*args, **kwargs):
raise pylark.PyLarkError(scope="scope", func="func", code=1, ms... | 36.249275 | 88 | 0.664521 | 3,144 | 25,012 | 4.976145 | 0.032125 | 0.078619 | 0.102205 | 0.076063 | 0.959156 | 0.953659 | 0.934356 | 0.916523 | 0.875168 | 0.816874 | 0 | 0.001932 | 0.255198 | 25,012 | 689 | 89 | 36.301887 | 0.837887 | 0.004358 | 0 | 0.621622 | 1 | 0 | 0.039924 | 0.016629 | 0 | 0 | 0 | 0 | 0.22973 | 1 | 0.142857 | false | 0 | 0.009653 | 0 | 0.160232 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bccdd29ad5fbcb1bc8eab2f6943af6cec8998bf7 | 188,524 | py | Python | ableton/v2/control_surface/default_bank_definitions.py | isfopo/MacroPushScript | 46c440aa3f6325d8767e88252c5520d76a9fa634 | [
"MIT"
] | null | null | null | ableton/v2/control_surface/default_bank_definitions.py | isfopo/MacroPushScript | 46c440aa3f6325d8767e88252c5520d76a9fa634 | [
"MIT"
] | null | null | null | ableton/v2/control_surface/default_bank_definitions.py | isfopo/MacroPushScript | 46c440aa3f6325d8767e88252c5520d76a9fa634 | [
"MIT"
] | null | null | null | #Embedded file name: /Users/versonator/Jenkins/live/output/Live/mac_64_static/Release/python-bundle/MIDI Remote Scripts/ableton/v2/control_surface/default_bank_definitions.py
from __future__ import absolute_import, print_function, unicode_literals
from ableton.v2.base.collection import IndexedDict
from ableton.v2.contr... | 96.382413 | 1,358 | 0.42715 | 23,383 | 188,524 | 3.284651 | 0.024633 | 0.074787 | 0.140967 | 0.095814 | 0.8745 | 0.84169 | 0.808606 | 0.785131 | 0.741319 | 0.698262 | 0 | 0.011359 | 0.428418 | 188,524 | 1,955 | 1,359 | 96.431714 | 0.701402 | 0.000918 | 0 | 0.347492 | 0 | 0 | 0.214542 | 0.000457 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.0087 | 0.001535 | 0 | 0.001535 | 0.000512 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bcebe3ebe28b6bd09ce141ccbd20803e4b68879e | 39,900 | py | Python | tests/snapshots/snap_test_playground.py | kedlavtest/ariadne_django | 1da1babec2ce1f8f4e7b6b629189ac022186269c | [
"BSD-3-Clause"
] | null | null | null | tests/snapshots/snap_test_playground.py | kedlavtest/ariadne_django | 1da1babec2ce1f8f4e7b6b629189ac022186269c | [
"BSD-3-Clause"
] | null | null | null | tests/snapshots/snap_test_playground.py | kedlavtest/ariadne_django | 1da1babec2ce1f8f4e7b6b629189ac022186269c | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots['test_playground_html_is_served_on_get_request 1'] = b'<!DOCTYPE html>\n\n<html>\n\n<head>\n <meta charset=utf-8 />\n <meta name="viewport" ... | 3,069.230769 | 19,876 | 0.635013 | 6,010 | 39,900 | 4.212479 | 0.061897 | 0.022436 | 0.017064 | 0.053087 | 0.991034 | 0.991034 | 0.991034 | 0.991034 | 0.991034 | 0.989454 | 0 | 0.179567 | 0.201504 | 39,900 | 12 | 19,877 | 3,325 | 0.615066 | 0.001554 | 0 | 0 | 0 | 0.8 | 0.993523 | 0.197264 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
bcf5c805c84045949ec5a81eb3a2872a9d5445c3 | 266,487 | py | Python | PlayArea/screen/screen4.py | JetStarBlues/Nand-2-Tetris | c27b5c2ac659f1edb63d36d89bf87e226bc5672c | [
"MIT"
] | null | null | null | PlayArea/screen/screen4.py | JetStarBlues/Nand-2-Tetris | c27b5c2ac659f1edb63d36d89bf87e226bc5672c | [
"MIT"
] | null | null | null | PlayArea/screen/screen4.py | JetStarBlues/Nand-2-Tetris | c27b5c2ac659f1edb63d36d89bf87e226bc5672c | [
"MIT"
] | null | null | null | from tkinter import *
# Setup ---
root = Tk()
root.wm_title('Hack')
root.iconbitmap('favicon.ico')
width = 512
height = 256
img = PhotoImage( width = width, height = height )
label = Label(root)
label.pack()
label.config( image = img )
# Pixel data ---
data1 = (
'{000000000000000000000000000000000000000000000000... | 471.658407 | 518 | 0.985485 | 616 | 266,487 | 426.318182 | 0.902597 | 0.000183 | 0.011698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.990064 | 0.006346 | 266,487 | 565 | 519 | 471.658407 | 0.001688 | 0.000469 | 0 | 0.037244 | 0 | 0 | 0.990088 | 0.988038 | 0 | 1 | 0 | 0 | 0 | 1 | 0.001862 | false | 0 | 0.001862 | 0 | 0.003724 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4c33bd0bc0d77116e61e99049716af678fb44591 | 105,674 | py | Python | reviewboard/diffviewer/tests/test_diffx_parser.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | reviewboard/diffviewer/tests/test_diffx_parser.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | reviewboard/diffviewer/tests/test_diffx_parser.py | pombredanne/reviewboard | 15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d | [
"MIT"
] | null | null | null | """Unit tests for reviewboard.diffviewer.parser.DiffXParser."""
from djblets.testing.decorators import add_fixtures
from reviewboard.diffviewer.errors import DiffParserError
from reviewboard.diffviewer.parser import DiffXParser
from reviewboard.scmtools.core import HEAD, PRE_CREATION, UNKNOWN
from reviewboard.testing... | 40.958915 | 78 | 0.475349 | 11,569 | 105,674 | 4.241335 | 0.027055 | 0.167767 | 0.151687 | 0.145512 | 0.970979 | 0.965966 | 0.95816 | 0.945932 | 0.925471 | 0.919581 | 0 | 0.1474 | 0.379829 | 105,674 | 2,579 | 79 | 40.974796 | 0.601318 | 0.016589 | 0 | 0.845676 | 0 | 0.071576 | 0.399689 | 0.143615 | 0 | 0 | 0 | 0 | 0.138188 | 1 | 0.009516 | false | 0 | 0.002069 | 0 | 0.011998 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4c34e2164219f530831ea402a522fcc124391a19 | 60,092 | py | Python | cons3rt/api/storage_api.py | cons3rt/cons3rt-python-sdk | f0bcb295735ac55bbe47448fcbd95d2c7beb3ec0 | [
"RSA-MD"
] | null | null | null | cons3rt/api/storage_api.py | cons3rt/cons3rt-python-sdk | f0bcb295735ac55bbe47448fcbd95d2c7beb3ec0 | [
"RSA-MD"
] | null | null | null | cons3rt/api/storage_api.py | cons3rt/cons3rt-python-sdk | f0bcb295735ac55bbe47448fcbd95d2c7beb3ec0 | [
"RSA-MD"
] | null | null | null | # coding: utf-8
from __future__ import absolute_import
"""
Copyright 2020 Jackpine Technologies Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org... | 49.745033 | 753 | 0.616139 | 7,065 | 60,092 | 5.012314 | 0.046143 | 0.043601 | 0.062069 | 0.025415 | 0.957105 | 0.951175 | 0.938665 | 0.930391 | 0.921947 | 0.912205 | 0 | 0.015091 | 0.309675 | 60,092 | 1,207 | 754 | 49.786247 | 0.83856 | 0.469513 | 0 | 0.77881 | 0 | 0 | 0.184428 | 0.050058 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039033 | false | 0 | 0.009294 | 0 | 0.087361 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4c352194d8992689e05d26add42f46c8b0048cbe | 772 | py | Python | 122/anagram.py | alehpineda/bitesofpy | bfd319a606cd0b7b9bfb85a3e8942872a2d43c48 | [
"MIT"
] | null | null | null | 122/anagram.py | alehpineda/bitesofpy | bfd319a606cd0b7b9bfb85a3e8942872a2d43c48 | [
"MIT"
] | 2 | 2020-09-24T11:25:29.000Z | 2021-06-25T15:43:35.000Z | 122/anagram.py | alehpineda/bitesofpy | bfd319a606cd0b7b9bfb85a3e8942872a2d43c48 | [
"MIT"
] | null | null | null | from collections import Counter
def is_anagram(word1, word2):
"""Receives two words and returns True/False (boolean) if word2 is
an anagram of word1, ignore case and spacing.
About anagrams: https://en.wikipedia.org/wiki/Anagram"""
word1, word2 = _clean_word(word1), _clean_word(word2)
return... | 35.090909 | 70 | 0.693005 | 108 | 772 | 4.842593 | 0.361111 | 0.086042 | 0.097514 | 0.080306 | 0.703633 | 0.703633 | 0.703633 | 0.703633 | 0.703633 | 0.703633 | 0 | 0.036508 | 0.183938 | 772 | 21 | 71 | 36.761905 | 0.793651 | 0.423575 | 0 | 0.222222 | 0 | 0 | 0.002463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
4c3656443f1a9b76d265c5222f7903a42eaccc5a | 178 | py | Python | hgtk/__init__.py | bluedisk/hangul-tools | 291adf291dfffc273e7aa37ed844e2e170ee7e3c | [
"Apache-2.0"
] | 271 | 2017-02-01T23:12:33.000Z | 2022-03-29T07:08:57.000Z | hgtk/__init__.py | BRIDGE-AI/hangul-toolkit | 74d131a05b03378f3a93dfa69f2a83e94bcef149 | [
"Apache-2.0"
] | null | null | null | hgtk/__init__.py | BRIDGE-AI/hangul-toolkit | 74d131a05b03378f3a93dfa69f2a83e94bcef149 | [
"Apache-2.0"
] | 58 | 2017-02-02T00:37:17.000Z | 2022-03-24T09:16:42.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from __future__ import division
from . import text
from . import letter
from . import checker
from . import josa | 19.777778 | 39 | 0.758427 | 24 | 178 | 5.25 | 0.541667 | 0.31746 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.168539 | 178 | 9 | 40 | 19.777778 | 0.844595 | 0.117978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d5d2db1d4eb687c90a8eedadd7972f4241689b9e | 113 | py | Python | GcMessageProtocol/protocols/__init__.py | GameCompanyGC/Python-GCDiscordMessageProtocol | fc4b565ea7b0df8d26e43d997efa17d1eef09c69 | [
"MIT"
] | null | null | null | GcMessageProtocol/protocols/__init__.py | GameCompanyGC/Python-GCDiscordMessageProtocol | fc4b565ea7b0df8d26e43d997efa17d1eef09c69 | [
"MIT"
] | null | null | null | GcMessageProtocol/protocols/__init__.py | GameCompanyGC/Python-GCDiscordMessageProtocol | fc4b565ea7b0df8d26e43d997efa17d1eef09c69 | [
"MIT"
] | null | null | null | from GcMessageProtocol.protocols.protocol import Protocol
from GcMessageProtocol.protocols.ban import BanProtocol | 56.5 | 57 | 0.902655 | 12 | 113 | 8.5 | 0.583333 | 0.411765 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061947 | 113 | 2 | 58 | 56.5 | 0.962264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9111a24191dd5ea89d275ab989d166f75a3516a5 | 140 | py | Python | lite/jupyterlite-pidgy/py_src/jupyterlite_pidgy/__init__.py | deathbeds/pidgy | 0162157a4c35f2053b4fc774a4c67cfc0d2c7df5 | [
"BSD-3-Clause"
] | 25 | 2020-03-02T15:34:12.000Z | 2022-01-22T11:10:32.000Z | lite/jupyterlite-pidgy/py_src/jupyterlite_pidgy/__init__.py | deathbeds/pidgy | 0162157a4c35f2053b4fc774a4c67cfc0d2c7df5 | [
"BSD-3-Clause"
] | 26 | 2020-02-21T14:39:11.000Z | 2021-12-14T02:28:51.000Z | lite/jupyterlite-pidgy/py_src/jupyterlite_pidgy/__init__.py | deathbeds/rites | 0162157a4c35f2053b4fc774a4c67cfc0d2c7df5 | [
"BSD-3-Clause"
] | 4 | 2020-02-19T00:13:22.000Z | 2021-12-01T23:13:07.000Z | from ._version import __version__, __js__
def _jupyter_labextension_paths():
return [{ "src": "labextension", "dest": __js__["name"]}]
| 28 | 61 | 0.714286 | 15 | 140 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 140 | 4 | 62 | 35 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0.164286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
e6757a5ae2770f97bc815e45701cfad662671423 | 8,407 | py | Python | wf2020.py | stressosaurus/a-statistical-model-of-word-rank-evolution | 4a06a872b5c84b561510958aed18e76d931443f4 | [
"MIT"
] | null | null | null | wf2020.py | stressosaurus/a-statistical-model-of-word-rank-evolution | 4a06a872b5c84b561510958aed18e76d931443f4 | [
"MIT"
] | null | null | null | wf2020.py | stressosaurus/a-statistical-model-of-word-rank-evolution | 4a06a872b5c84b561510958aed18e76d931443f4 | [
"MIT"
] | null | null | null | ### Language models and functions
## Alex John Quijano
## Created: March 2020
import pandas as pd
import numpy as np
import math
from scipy.special import comb
## Zipf pmf and cdf
def zipf(k,a):
power_law = np.divide(1,np.power(k,a))
H = np.sum(np.divide(1,np.power(k,a)))
pmf = np.divide(power_law,H)
cdf = [np.su... | 32.210728 | 115 | 0.689307 | 1,557 | 8,407 | 3.59666 | 0.120745 | 0.03 | 0.0225 | 0.017143 | 0.846964 | 0.828036 | 0.810536 | 0.807321 | 0.801429 | 0.783571 | 0 | 0.014649 | 0.171762 | 8,407 | 261 | 116 | 32.210728 | 0.789602 | 0.28845 | 0 | 0.701863 | 0 | 0 | 0.002884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.024845 | 0.055901 | 0.198758 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e67ab16d8f9801282fc6457bbafe8fa3dcf9dce8 | 175 | py | Python | githooks/utils.py | OmegaDroid/git-hooks | d890621e890796d0ab800267493444000c75214e | [
"MIT"
] | 2 | 2016-01-08T17:57:59.000Z | 2016-08-10T00:54:35.000Z | githooks/utils.py | OmegaDroid/git-hooks | d890621e890796d0ab800267493444000c75214e | [
"MIT"
] | 4 | 2016-01-09T13:50:37.000Z | 2016-08-25T10:50:40.000Z | githooks/utils.py | wildfish/git-hooks | d890621e890796d0ab800267493444000c75214e | [
"MIT"
] | null | null | null | import os
def get_hook_script_dir():
return os.path.join(os.path.dirname(__file__), 'hook_scripts')
def get_hook_names():
return os.listdir(get_hook_script_dir())
| 17.5 | 66 | 0.742857 | 28 | 175 | 4.178571 | 0.535714 | 0.179487 | 0.17094 | 0.273504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131429 | 175 | 9 | 67 | 19.444444 | 0.769737 | 0 | 0 | 0 | 0 | 0 | 0.068571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
e68fb146dd073b79ebda75f9033373d67c8c1621 | 3,042 | py | Python | test/unit/ggrc_workflows/models/test_task_group.py | pbedn/ggrc-core | 12ae4720a430730835f1d02def62c0f6ef453521 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-08-26T06:56:01.000Z | 2021-07-08T13:56:20.000Z | test/unit/ggrc_workflows/models/test_task_group.py | pbedn/ggrc-core | 12ae4720a430730835f1d02def62c0f6ef453521 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2021-02-02T23:04:30.000Z | 2022-03-02T09:54:47.000Z | test/unit/ggrc_workflows/models/test_task_group.py | pbedn/ggrc-core | 12ae4720a430730835f1d02def62c0f6ef453521 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2016-08-23T10:51:19.000Z | 2016-08-23T10:51:19.000Z | # Copyright (C) 2019 Google Inc.
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
"""A module with unit tests for the Task Group model."""
import unittest
from mock import MagicMock, patch
from ggrc_workflows.models import task_group
@patch(u"ggrc.access_control.role.get_ac_roles_for"... | 35.788235 | 78 | 0.728139 | 386 | 3,042 | 5.445596 | 0.227979 | 0.068506 | 0.059943 | 0.038059 | 0.806375 | 0.806375 | 0.799715 | 0.799715 | 0.799715 | 0.799715 | 0 | 0.026566 | 0.17094 | 3,042 | 84 | 79 | 36.214286 | 0.806899 | 0.24359 | 0 | 0.72093 | 0 | 0 | 0.236039 | 0.201314 | 0 | 0 | 0.042234 | 0 | 0.093023 | 1 | 0.116279 | false | 0 | 0.069767 | 0 | 0.209302 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fc1b51e87af3f797c80c4c0f2c8d4c3772e78637 | 1,792 | py | Python | split_gene/pets/pets_split_cvt.py | xxchenxx/ViT-pytorch-1 | 1c99e694136f04c23a18ed7a69d0304841a6ef82 | [
"MIT"
] | 1 | 2022-03-13T17:34:47.000Z | 2022-03-13T17:34:47.000Z | split_gene/pets/pets_split_cvt.py | xxchenxx/ViT-pytorch-1 | 1c99e694136f04c23a18ed7a69d0304841a6ef82 | [
"MIT"
] | null | null | null | split_gene/pets/pets_split_cvt.py | xxchenxx/ViT-pytorch-1 | 1c99e694136f04c23a18ed7a69d0304841a6ef82 | [
"MIT"
] | null | null | null | import os
import re
from pdb import set_trace
from os.path import join
def main():
data_root = os.path.expanduser("~/dataset/pets/train")
name2dir = {}
for dir in os.listdir(data_root):
catergory_name = re.match(r'([a-zA-Z_]*)_[0-9]*.jpg', os.listdir(join(data_root, dir))[0])
... | 31.438596 | 112 | 0.613839 | 260 | 1,792 | 4.007692 | 0.196154 | 0.24952 | 0.074856 | 0.103647 | 0.804223 | 0.804223 | 0.759117 | 0.759117 | 0.759117 | 0.731286 | 0 | 0.034707 | 0.228237 | 1,792 | 56 | 113 | 32 | 0.718727 | 0 | 0 | 0.512821 | 0 | 0 | 0.18894 | 0.14977 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.102564 | 0 | 0.128205 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fc52f7b412d484f73ca6d35c144c8e1c3124a7aa | 214 | py | Python | event/retry_handler.py | rafty/ServerlessEventSoutcing | 4759a187373af6f0bfded4ff388ba74c09fc4368 | [
"Apache-2.0"
] | null | null | null | event/retry_handler.py | rafty/ServerlessEventSoutcing | 4759a187373af6f0bfded4ff388ba74c09fc4368 | [
"Apache-2.0"
] | null | null | null | event/retry_handler.py | rafty/ServerlessEventSoutcing | 4759a187373af6f0bfded4ff388ba74c09fc4368 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from error import ItemRanShort, IntegrityError
def is_integrity_error(e):
return isinstance(e, IntegrityError)
def is_not_item_ran_short(e):
return isinstance(e, IntegrityError)
| 19.454545 | 46 | 0.747664 | 28 | 214 | 5.5 | 0.642857 | 0.220779 | 0.246753 | 0.233766 | 0.415584 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005495 | 0.149533 | 214 | 10 | 47 | 21.4 | 0.840659 | 0.098131 | 0 | 0.4 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
5d783eb35444bdac71be643085f6dcb0fe395343 | 10,012 | py | Python | yandex/cloud/cdn/v1/origin_service_pb2_grpc.py | korsar182/python-sdk | 873bf2a9b136a8f2faae72e86fae1f5b5c3d896a | [
"MIT"
] | 36 | 2018-12-23T13:51:50.000Z | 2022-03-25T07:48:24.000Z | yandex/cloud/cdn/v1/origin_service_pb2_grpc.py | korsar182/python-sdk | 873bf2a9b136a8f2faae72e86fae1f5b5c3d896a | [
"MIT"
] | 15 | 2019-02-28T04:55:09.000Z | 2022-03-06T23:17:24.000Z | yandex/cloud/cdn/v1/origin_service_pb2_grpc.py | korsar182/python-sdk | 873bf2a9b136a8f2faae72e86fae1f5b5c3d896a | [
"MIT"
] | 18 | 2019-02-23T07:10:57.000Z | 2022-03-28T14:41:08.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from yandex.cloud.cdn.v1 import origin_pb2 as yandex_dot_cloud_dot_cdn_dot_v1_dot_origin__pb2
from yandex.cloud.cdn.v1 import origin_service_pb2 as yandex_dot_cl... | 45.926606 | 135 | 0.690072 | 1,065 | 10,012 | 6.04507 | 0.10892 | 0.046132 | 0.071761 | 0.087139 | 0.872476 | 0.867971 | 0.859428 | 0.819975 | 0.777881 | 0.777881 | 0 | 0.00948 | 0.24141 | 10,012 | 217 | 136 | 46.138249 | 0.838183 | 0.073712 | 0 | 0.542683 | 1 | 0 | 0.075175 | 0.047312 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073171 | false | 0 | 0.02439 | 0.030488 | 0.146341 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5dcf442a5c2d7d8c5c0e7ce58768c66703206cc4 | 145,108 | py | Python | hype/element.py | scrussell24/hype-html | a7ab01cae6f6d00451127fd5cacc0eff4f8bb9a8 | [
"MIT"
] | 1 | 2021-08-20T22:43:09.000Z | 2021-08-20T22:43:09.000Z | hype/element.py | scrussell24/hype-html | a7ab01cae6f6d00451127fd5cacc0eff4f8bb9a8 | [
"MIT"
] | 2 | 2020-11-14T21:11:47.000Z | 2020-11-22T07:02:58.000Z | hype/element.py | scrussell24/hype-html | a7ab01cae6f6d00451127fd5cacc0eff4f8bb9a8 | [
"MIT"
] | null | null | null | # Copyright (c) <2020> <Scott Russell>
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, di... | 24.494936 | 96 | 0.47078 | 10,947 | 145,108 | 6.050699 | 0.036814 | 0.012682 | 0.019928 | 0.026949 | 0.911288 | 0.905053 | 0.894983 | 0.887857 | 0.871522 | 0.859218 | 0 | 0.000258 | 0.41159 | 145,108 | 5,923 | 97 | 24.499071 | 0.775506 | 0.008387 | 0 | 0.909074 | 0 | 0 | 0.115835 | 0.000848 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023365 | false | 0 | 0.00163 | 0.000362 | 0.070639 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5dd4c1346b7968ab80e7290ba4ed308c01db6182 | 36,567 | py | Python | grr/core/grr_response_core/lib/fingerprint_test.py | khanhgithead/grr | 8ad8a4d2c5a93c92729206b7771af19d92d4f915 | [
"Apache-2.0"
] | 4,238 | 2015-01-01T15:34:50.000Z | 2022-03-31T08:18:05.000Z | grr/core/grr_response_core/lib/fingerprint_test.py | khanhgithead/grr | 8ad8a4d2c5a93c92729206b7771af19d92d4f915 | [
"Apache-2.0"
] | 787 | 2015-01-02T21:34:24.000Z | 2022-03-02T13:26:38.000Z | grr/core/grr_response_core/lib/fingerprint_test.py | khanhgithead/grr | 8ad8a4d2c5a93c92729206b7771af19d92d4f915 | [
"Apache-2.0"
] | 856 | 2015-01-02T02:50:11.000Z | 2022-03-31T11:11:53.000Z | #!/usr/bin/env python
"""Tests for config_lib classes."""
import io
import os
from absl.testing import absltest
from grr_response_core.lib import fingerprint
from grr_response_core.lib import package
class FingerprinterTest(absltest.TestCase):
def testReasonableInterval(self):
# Check if the limit on maximu... | 242.165563 | 18,194 | 0.730796 | 7,791 | 36,567 | 3.420742 | 0.187781 | 0.037297 | 0.035271 | 0.019812 | 0.43049 | 0.41248 | 0.398784 | 0.390492 | 0.371318 | 0.351094 | 0 | 0.285852 | 0.034129 | 36,567 | 150 | 18,195 | 243.78 | 0.468728 | 0.011349 | 0 | 0.333333 | 0 | 0.290598 | 0.752283 | 0.50595 | 0 | 0 | 0 | 0 | 0.08547 | 1 | 0.051282 | false | 0 | 0.042735 | 0 | 0.145299 | 0.102564 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5df35b88c8cd1322e9327d780bdf0a4a2d46df4e | 221 | py | Python | Simulation/utils/__init__.py | bobzwik/Quad_Exploration | 3b5af99634b10d7fc135546a24e78b3a2ab078d4 | [
"MIT"
] | 15 | 2020-04-11T12:43:19.000Z | 2021-11-14T03:26:52.000Z | Simulation/utils/__init__.py | bobzwik/Quad_Exploration | 3b5af99634b10d7fc135546a24e78b3a2ab078d4 | [
"MIT"
] | null | null | null | Simulation/utils/__init__.py | bobzwik/Quad_Exploration | 3b5af99634b10d7fc135546a24e78b3a2ab078d4 | [
"MIT"
] | 5 | 2020-05-14T17:07:10.000Z | 2022-02-14T16:20:38.000Z | from .rotationConversion import *
from .stateConversions import *
from .mixer import *
from .display import *
from .animation_multiBoxMarkers import *
# from .animation_Markers import *
from .quaternionFunctions import *
| 27.625 | 40 | 0.800905 | 23 | 221 | 7.608696 | 0.434783 | 0.342857 | 0.217143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131222 | 221 | 7 | 41 | 31.571429 | 0.911458 | 0.144796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b900f9a3e4c73af5e83d343db647dadb519d01e0 | 12,110 | py | Python | venv/lib/python3.8/site-packages/spaceone/api/power_scheduler/v1/schedule_rule_pb2_grpc.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/power_scheduler/v1/schedule_rule_pb2_grpc.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/power_scheduler/v1/schedule_rule_pb2_grpc.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from sp... | 51.752137 | 148 | 0.707845 | 1,268 | 12,110 | 6.256309 | 0.088328 | 0.079415 | 0.060507 | 0.066431 | 0.905962 | 0.902559 | 0.889197 | 0.832472 | 0.806 | 0.749275 | 0 | 0.009279 | 0.225764 | 12,110 | 233 | 149 | 51.974249 | 0.836817 | 0.061354 | 0 | 0.541237 | 1 | 0 | 0.08498 | 0.057953 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072165 | false | 0 | 0.020619 | 0.030928 | 0.139175 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
53b5b533e84e6213baa15f1494bdae6cb490621d | 38 | py | Python | src/lib/pyclbr.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/pyclbr.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/pyclbr.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("pyclbr")
| 19 | 37 | 0.763158 | 6 | 38 | 4 | 0.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.