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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1091dc613a4b1ba2a0d7987a53756d6b820a4250 | 2,257 | py | Python | modules/weight/top_grades.py | u-keisuke/UT_calculator | f708e9dc76b824c751ca35285bf9194f49bd543f | [
"MIT"
] | null | null | null | modules/weight/top_grades.py | u-keisuke/UT_calculator | f708e9dc76b824c751ca35285bf9194f49bd543f | [
"MIT"
] | null | null | null | modules/weight/top_grades.py | u-keisuke/UT_calculator | f708e9dc76b824c751ca35285bf9194f49bd543f | [
"MIT"
] | null | null | null | #series系列の成績上位x単位分の重率をwに変更するということ
def top_grades_series(s_dict, series, credits, w):
s_dict_name_series = {}
#seriesで指定された系列をs_dict内から抽出したもの
array = []
for s in series:
#辞書要素に、既にあるpoint, credit, weightに加えて、seriesを追加
for name in s_dict[s].keys():
s_dict_name_series[name] ... | 30.5 | 88 | 0.515286 | 252 | 2,257 | 4.444444 | 0.190476 | 0.075893 | 0.048214 | 0.080357 | 0.846429 | 0.846429 | 0.846429 | 0.846429 | 0.794643 | 0.794643 | 0 | 0.008541 | 0.377492 | 2,257 | 74 | 89 | 30.5 | 0.788612 | 0.146212 | 0 | 0.826087 | 0 | 0 | 0.017745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0 | 0 | 0.086957 | 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 |
52f4038429d70f3082fa0facf8c687c160a1642a | 10,806 | py | Python | src/ml/cl_training.py | lderoose/backtesting-trading-strategy | 72135bf8ace5899eeaded9ae77c7578d412aa831 | [
"MIT"
] | null | null | null | src/ml/cl_training.py | lderoose/backtesting-trading-strategy | 72135bf8ace5899eeaded9ae77c7578d412aa831 | [
"MIT"
] | null | null | null | src/ml/cl_training.py | lderoose/backtesting-trading-strategy | 72135bf8ace5899eeaded9ae77c7578d412aa831 | [
"MIT"
] | null | null | null | #!/usr/bin/python3.8
import numpy as np
import pandas as pd
from tqdm import tqdm
from cl_features_importances import FeatureImportances
class WindowTrainingSpec:
"""
relevant to use WindowTrainingSpec instead WindowTraining if labels are computed with cl_labelling.Labelling.
"""
def __init__(... | 39.582418 | 140 | 0.514992 | 1,260 | 10,806 | 4.22381 | 0.126984 | 0.062007 | 0.055242 | 0.018038 | 0.909245 | 0.909245 | 0.909245 | 0.896655 | 0.896655 | 0.896655 | 0 | 0.006336 | 0.401166 | 10,806 | 272 | 141 | 39.727941 | 0.816103 | 0.211827 | 0 | 0.855422 | 0 | 0 | 0.074651 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03012 | false | 0 | 0.048193 | 0 | 0.120482 | 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 |
5e35ed7baaf24d8bb0a2294e03a78cdd0dba6d82 | 6,938 | py | Python | src/genie/libs/parser/junos/tests/ShowRouteReceiveProtocolPeerAddressExtensive/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/junos/tests/ShowRouteReceiveProtocolPeerAddressExtensive/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/junos/tests/ShowRouteReceiveProtocolPeerAddressExtensive/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"route-information": {
"route-table": [
{
"active-route-count": "16",
"destination-count": "16",
"hidden-route-count": "0",
"holddown-route-count": "0",
"rt": [
{
... | 44.76129 | 74 | 0.261603 | 463 | 6,938 | 3.917927 | 0.136069 | 0.092613 | 0.022051 | 0.026461 | 0.892503 | 0.892503 | 0.880375 | 0.827453 | 0.787762 | 0.743109 | 0 | 0.082828 | 0.596281 | 6,938 | 154 | 75 | 45.051948 | 0.564798 | 0 | 0 | 0.551948 | 0 | 0 | 0.300375 | 0.045402 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
eaaa4789cc60f602e523c07bec99ee2e935994f9 | 11,708 | py | Python | Maths quiz Complete.py | LukiaMcA/Bridging-CS | 02bdb7354452078b51c76b1ba9d95bc32235cff7 | [
"Apache-2.0"
] | null | null | null | Maths quiz Complete.py | LukiaMcA/Bridging-CS | 02bdb7354452078b51c76b1ba9d95bc32235cff7 | [
"Apache-2.0"
] | null | null | null | Maths quiz Complete.py | LukiaMcA/Bridging-CS | 02bdb7354452078b51c76b1ba9d95bc32235cff7 | [
"Apache-2.0"
] | null | null | null | import random
score = 0
print("Welecome to my fill in Maths quiz!")
#enter topic symbol to define quiz questions
PlayAgain = True
while PlayAgain == True:
Subject = False
while Subject == False:
Topic = input("please enter either +, -, / or * to choose the certain topic: ")
if Topic ==... | 39.026667 | 97 | 0.421165 | 1,035 | 11,708 | 4.758454 | 0.078261 | 0.068629 | 0.084467 | 0.101523 | 0.846294 | 0.827208 | 0.827208 | 0.820914 | 0.820914 | 0.820914 | 0 | 0.026567 | 0.472754 | 11,708 | 299 | 98 | 39.157191 | 0.771262 | 0.011104 | 0 | 0.857639 | 0 | 0 | 0.144695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003472 | 0 | 0.003472 | 0.194444 | 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 |
eaaf5d912a6810d2c3bffe0c58abef9b546c2436 | 60,874 | py | Python | policosm/utils/projections.py | ComplexCity/policosm | 548d4d694df49603f91cd45af7fe50ced79aea68 | [
"MIT"
] | 6 | 2017-06-05T07:30:46.000Z | 2022-03-07T00:47:22.000Z | policosm/utils/projections.py | ComplexCity/policosm | 548d4d694df49603f91cd45af7fe50ced79aea68 | [
"MIT"
] | 1 | 2017-12-14T05:40:42.000Z | 2017-12-14T05:40:42.000Z | policosm/utils/projections.py | ComplexCity/policosm | 548d4d694df49603f91cd45af7fe50ced79aea68 | [
"MIT"
] | 1 | 2020-10-22T19:18:30.000Z | 2020-10-22T19:18:30.000Z | # -*- coding: utf-8 -*-
import pickle
from utm import latitude_to_zone_letter, latlon_to_zone_number
def get_most_accurate_epsg(coordinates):
"""Gets the EPSG code for closest know area projection in meters. the pickle is prepared as a geopandas"""
gdf = pickle.loads(
b'\x80\x03cgeopandas.geodatafra... | 2,099.103448 | 59,885 | 0.733482 | 13,558 | 60,874 | 3.287579 | 0.092713 | 0.313777 | 0.256433 | 0.146726 | 0.825455 | 0.785386 | 0.769973 | 0.742916 | 0.698181 | 0.632311 | 0 | 0.32126 | 0.004468 | 60,874 | 28 | 59,886 | 2,174.071429 | 0.414244 | 0.003253 | 0 | 0 | 0 | 0.588235 | 0.390337 | 0.389677 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.117647 | 0 | 0.411765 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
eaf8ade65e738d34ed6cd271255301df4b151ec7 | 392 | py | Python | openrec/tf1/utils/evaluators/__init__.py | pbaiz/openrec | a00de2345844858194ef43ab6845342114a5be93 | [
"Apache-2.0"
] | 399 | 2018-01-04T15:24:02.000Z | 2022-03-31T09:39:05.000Z | openrec/tf1/utils/evaluators/__init__.py | pbaiz/openrec | a00de2345844858194ef43ab6845342114a5be93 | [
"Apache-2.0"
] | 26 | 2018-01-14T04:01:28.000Z | 2022-02-09T23:36:32.000Z | openrec/tf1/utils/evaluators/__init__.py | pbaiz/openrec | a00de2345844858194ef43ab6845342114a5be93 | [
"Apache-2.0"
] | 97 | 2017-12-22T07:07:35.000Z | 2022-01-24T19:04:02.000Z | from openrec.tf1.utils.evaluators.evaluator import Evaluator
from openrec.tf1.utils.evaluators.auc import AUC
from openrec.tf1.utils.evaluators.recall import Recall
from openrec.tf1.utils.evaluators.eval_manager import EvalManager
from openrec.tf1.utils.evaluators.mse import MSE
from openrec.tf1.utils.evaluators.ndcg i... | 49 | 65 | 0.857143 | 57 | 392 | 5.877193 | 0.263158 | 0.229851 | 0.292537 | 0.397015 | 0.60597 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.071429 | 392 | 7 | 66 | 56 | 0.901099 | 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 |
dc1de47118500b7850d4301154ca98948438f404 | 1,643 | py | Python | tests/test_arg_parser.py | bcbogdan/lisa-parser | 08b636ef1d5ebafc076da11c84e92765cbc381bf | [
"Apache-2.0"
] | null | null | null | tests/test_arg_parser.py | bcbogdan/lisa-parser | 08b636ef1d5ebafc076da11c84e92765cbc381bf | [
"Apache-2.0"
] | null | null | null | tests/test_arg_parser.py | bcbogdan/lisa-parser | 08b636ef1d5ebafc076da11c84e92765cbc381bf | [
"Apache-2.0"
] | null | null | null | from config import init_arg_parser
from nose.tools import assert_equals
def test_default_usage():
parsed_arguments = init_arg_parser().parse_args(
['xmlfilepath', 'logfilepath']
)
assert_equals(parsed_arguments.xml_file_path, 'xmlfilepath')
assert_equals(parsed_arguments.log_file_path, 'logfil... | 37.340909 | 71 | 0.734632 | 190 | 1,643 | 5.973684 | 0.210526 | 0.277533 | 0.285463 | 0.428194 | 0.861674 | 0.794714 | 0.760352 | 0.760352 | 0.760352 | 0.70837 | 0 | 0.003556 | 0.144248 | 1,643 | 43 | 72 | 38.209302 | 0.803698 | 0 | 0 | 0.485714 | 0 | 0 | 0.157638 | 0 | 0 | 0 | 0 | 0 | 0.542857 | 1 | 0.085714 | false | 0 | 0.057143 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
dc385abc372e1fa11f0e9114d3ba56e2eb3b84db | 5,114 | py | Python | xpense/flockapp/migrations/0001_initial.py | akhilraj95/xpense | d107662eca77cbee302ce7c8fea8a1bee0d4bb8b | [
"MIT"
] | null | null | null | xpense/flockapp/migrations/0001_initial.py | akhilraj95/xpense | d107662eca77cbee302ce7c8fea8a1bee0d4bb8b | [
"MIT"
] | null | null | null | xpense/flockapp/migrations/0001_initial.py | akhilraj95/xpense | d107662eca77cbee302ce7c8fea8a1bee0d4bb8b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-02-18 09:53
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.Crea... | 44.469565 | 143 | 0.578412 | 506 | 5,114 | 5.713439 | 0.171937 | 0.057074 | 0.055344 | 0.068488 | 0.819094 | 0.809754 | 0.75614 | 0.75614 | 0.75614 | 0.75614 | 0 | 0.012761 | 0.27982 | 5,114 | 114 | 144 | 44.859649 | 0.772197 | 0.013297 | 0 | 0.726415 | 1 | 0 | 0.09538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028302 | 0 | 0.066038 | 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 |
dc5a2294ad08f574a5be35fda99d8613ce9b8e8e | 1,625 | py | Python | tests/crawler/lib_test.py | DBeath/feedsearch-crawler | 91258ecf6c7c25808ac5d4b5e1c5a7b96981bbe9 | [
"MIT"
] | 20 | 2019-11-02T18:46:11.000Z | 2022-03-18T16:22:32.000Z | tests/crawler/lib_test.py | DBeath/feedsearch-crawler | 91258ecf6c7c25808ac5d4b5e1c5a7b96981bbe9 | [
"MIT"
] | 8 | 2019-11-02T08:26:17.000Z | 2021-05-07T15:11:17.000Z | tests/crawler/lib_test.py | DBeath/feedsearch-crawler | 91258ecf6c7c25808ac5d4b5e1c5a7b96981bbe9 | [
"MIT"
] | 5 | 2020-06-18T15:44:48.000Z | 2022-02-19T14:21:47.000Z | from feedsearch_crawler.crawler.lib import coerce_url, is_same_domain
from yarl import URL
def test_coerce_url():
assert coerce_url("test.com") == URL("http://test.com")
assert coerce_url("https://test.com") == URL("https://test.com")
assert coerce_url(" https://test.com") == URL("https://test.com")
a... | 47.794118 | 81 | 0.664 | 254 | 1,625 | 4.102362 | 0.110236 | 0.24856 | 0.172745 | 0.158349 | 0.855086 | 0.855086 | 0.783109 | 0.759117 | 0.699616 | 0.510557 | 0 | 0.002849 | 0.136 | 1,625 | 33 | 82 | 49.242424 | 0.739316 | 0 | 0 | 0.142857 | 0 | 0 | 0.374154 | 0.048 | 0 | 0 | 0 | 0 | 0.714286 | 1 | 0.071429 | true | 0 | 0.071429 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dcb2d1ffd53bc700a4d23c8a446b83de5fdc1e20 | 168 | py | Python | tests/nex/test_errors.py | azillion/DodoTrafficControl | 9aa014f6d1ac3ad4ea5747d7ded4749ea60f7422 | [
"MIT"
] | 209 | 2017-05-15T19:38:34.000Z | 2020-11-30T03:31:07.000Z | tests/nex/test_errors.py | azillion/DodoTrafficControl | 9aa014f6d1ac3ad4ea5747d7ded4749ea60f7422 | [
"MIT"
] | 44 | 2018-07-06T16:08:54.000Z | 2020-11-29T20:04:32.000Z | tests/nex/test_errors.py | azillion/DodoTrafficControl | 9aa014f6d1ac3ad4ea5747d7ded4749ea60f7422 | [
"MIT"
] | 34 | 2017-05-23T17:35:57.000Z | 2020-11-29T17:37:16.000Z |
from nintendo.nex import errors
def test_basic():
assert errors.error_names[0x10001] == "Core::Unknown"
assert errors.error_codes["Core::Unknown"] == 0x10001
| 24 | 55 | 0.72619 | 22 | 168 | 5.409091 | 0.681818 | 0.201681 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.142857 | 168 | 6 | 56 | 28 | 0.743056 | 0 | 0 | 0 | 0 | 0 | 0.161491 | 0 | 0 | 0 | 0.086957 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f4e5385b45669fe912257fc0b46b9a6bc23be3bf | 35,459 | py | Python | OrderCloud/apis/message_senders_api.py | klreeher/python-sdk | b7fe922dcfc3bb73fe4149475fa45fdcb04d956a | [
"Apache-2.0"
] | null | null | null | OrderCloud/apis/message_senders_api.py | klreeher/python-sdk | b7fe922dcfc3bb73fe4149475fa45fdcb04d956a | [
"Apache-2.0"
] | null | null | null | OrderCloud/apis/message_senders_api.py | klreeher/python-sdk | b7fe922dcfc3bb73fe4149475fa45fdcb04d956a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
OrderCloud
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.0
Contact: ordercloud@four51.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache ... | 42.213095 | 150 | 0.569052 | 3,574 | 35,459 | 5.409065 | 0.062955 | 0.055814 | 0.039572 | 0.029795 | 0.937668 | 0.932702 | 0.925098 | 0.918322 | 0.916977 | 0.911184 | 0 | 0.00109 | 0.353056 | 35,459 | 839 | 151 | 42.263409 | 0.84163 | 0.329564 | 0 | 0.806202 | 1 | 0 | 0.180579 | 0.054712 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03876 | false | 0 | 0.018088 | 0 | 0.113695 | 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 |
f4f811fb80e9dddeac80bc93ebaf006eb62d6539 | 190 | py | Python | model/components/interfaces.py | MattJTrueblood/Allies_RL_Prototype | 1c7c4360156d0dc5ff53c49401d25026761862df | [
"Unlicense"
] | 1 | 2018-11-19T19:51:49.000Z | 2018-11-19T19:51:49.000Z | model/components/interfaces.py | MattJTrueblood/Allies_RL_Prototype | 1c7c4360156d0dc5ff53c49401d25026761862df | [
"Unlicense"
] | null | null | null | model/components/interfaces.py | MattJTrueblood/Allies_RL_Prototype | 1c7c4360156d0dc5ff53c49401d25026761862df | [
"Unlicense"
] | null | null | null | from abc import ABC, abstractmethod
class Interactive(ABC):
@abstractmethod
def interact(self, actor): pass
class UpdateOnTick(ABC):
@abstractmethod
def update(self): pass
| 19 | 35 | 0.726316 | 22 | 190 | 6.272727 | 0.590909 | 0.369565 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189474 | 190 | 9 | 36 | 21.111111 | 0.896104 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
7612c684597556f8d8d859539a8e20438160f613 | 2,284 | py | Python | tests/test_urls.py | kraptor/perlink | bffaf9ed5bac1bbb258403b5c4b4d3f936df56f3 | [
"MIT"
] | 2 | 2021-05-10T06:16:09.000Z | 2021-09-07T15:24:47.000Z | tests/test_urls.py | kraptor/perlink | bffaf9ed5bac1bbb258403b5c4b4d3f936df56f3 | [
"MIT"
] | null | null | null | tests/test_urls.py | kraptor/perlink | bffaf9ed5bac1bbb258403b5c4b4d3f936df56f3 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 kraptor
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
import os
import perlink.config
import perlink.bot
def test_allow_raw_uris():
config = perlink.config.load()
config.detect_raw_links = True
bot = perlink.bot.PerlinkBot(config)
ME... | 26.55814 | 95 | 0.590193 | 263 | 2,284 | 4.984791 | 0.231939 | 0.04119 | 0.074752 | 0.114416 | 0.800915 | 0.800915 | 0.776506 | 0.776506 | 0.776506 | 0.773455 | 0 | 0.002298 | 0.237741 | 2,284 | 85 | 96 | 26.870588 | 0.750718 | 0.049037 | 0 | 0.587302 | 0 | 0 | 0.201754 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 1 | 0.063492 | false | 0.063492 | 0.047619 | 0 | 0.111111 | 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 |
520722ca5520021bb24fcfbe1ca90b58346d1337 | 174 | py | Python | integration/tests/error_predicate.py | markus1189/hurl-dev | 2f5bdf3519bda3155a6acc01cb442a3cb4364584 | [
"Apache-2.0"
] | 4 | 2020-08-26T12:22:58.000Z | 2020-09-06T22:29:18.000Z | integration/tests/error_predicate.py | markus1189/hurl-dev | 2f5bdf3519bda3155a6acc01cb442a3cb4364584 | [
"Apache-2.0"
] | 11 | 2021-01-07T12:22:38.000Z | 2022-03-22T22:31:20.000Z | integration/tests/error_predicate.py | markus1189/hurl-dev | 2f5bdf3519bda3155a6acc01cb442a3cb4364584 | [
"Apache-2.0"
] | 10 | 2020-09-02T09:43:16.000Z | 2022-02-11T07:50:24.000Z | from tests import app
@app.route("/predicate/error/type")
def predicate_error_type():
return '{ "status": true, "message": "0", "count": 1, "empty": "", "number": 1.0 }' | 34.8 | 87 | 0.632184 | 24 | 174 | 4.5 | 0.75 | 0.259259 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.137931 | 174 | 5 | 87 | 34.8 | 0.693333 | 0 | 0 | 0 | 0 | 0.25 | 0.542857 | 0.12 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
52087542fc97d4e7b380f91bd3bd306218d08520 | 152 | py | Python | dis_snek/utils/__init__.py | KAJdev/Dis-Snek | f2bbdd2b8ae2b4ccd7351d0ed01e1c77573669c2 | [
"MIT"
] | 34 | 2021-08-03T13:58:14.000Z | 2021-10-04T11:09:44.000Z | dis_snek/utils/__init__.py | KAJdev/Dis-Snek | f2bbdd2b8ae2b4ccd7351d0ed01e1c77573669c2 | [
"MIT"
] | 6 | 2021-08-05T12:58:33.000Z | 2021-10-04T01:18:07.000Z | dis_snek/utils/__init__.py | KAJdev/Dis-Snek | f2bbdd2b8ae2b4ccd7351d0ed01e1c77573669c2 | [
"MIT"
] | 9 | 2021-07-30T14:10:45.000Z | 2021-10-03T17:36:26.000Z | from .attr_utils import *
from .cache import *
from .converters import *
from .input_utils import *
from .misc_utils import *
from .serializer import *
| 21.714286 | 26 | 0.763158 | 21 | 152 | 5.380952 | 0.428571 | 0.442478 | 0.39823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 152 | 6 | 27 | 25.333333 | 0.882813 | 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 |
523a26d2b50c9c3ea26de8f08930482640fe3a4e | 149 | py | Python | stweet/export_data/__init__.py | iJohnMaged/stweet | 00f4a12b1da1be514266b74a7ca70a669f0c8ae4 | [
"MIT"
] | 1 | 2021-04-15T17:45:39.000Z | 2021-04-15T17:45:39.000Z | stweet/export_data/__init__.py | chillerno1/stweet | ff7224a7b69b711b17247db40f859e620747e20b | [
"MIT"
] | null | null | null | stweet/export_data/__init__.py | chillerno1/stweet | ff7224a7b69b711b17247db40f859e620747e20b | [
"MIT"
] | 1 | 2022-01-05T11:20:31.000Z | 2022-01-05T11:20:31.000Z | from .tweet_export import export_tweets_to_csv, export_tweets_to_json_lines
from .user_export import export_users_to_csv, export_users_to_json_lines
| 49.666667 | 75 | 0.90604 | 26 | 149 | 4.576923 | 0.423077 | 0.201681 | 0.302521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067114 | 149 | 2 | 76 | 74.5 | 0.856115 | 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 |
52814eeb4c3f42d2121f009a4775eb7ac4a342be | 5,869 | py | Python | cascade/tests/test_algorithm.py | brunorijsman/qkd-cascade | 32fa65d45f81f08ac84867f8eea9ab93dfb1dbe2 | [
"MIT"
] | 10 | 2020-05-13T06:09:36.000Z | 2022-03-27T13:02:38.000Z | cascade/tests/test_algorithm.py | brunorijsman/qkd-cascade | 32fa65d45f81f08ac84867f8eea9ab93dfb1dbe2 | [
"MIT"
] | 1 | 2021-06-02T00:52:00.000Z | 2021-06-02T00:52:00.000Z | cascade/tests/test_algorithm.py | brunorijsman/qkd-cascade | 32fa65d45f81f08ac84867f8eea9ab93dfb1dbe2 | [
"MIT"
] | 6 | 2020-05-20T16:20:38.000Z | 2021-08-19T04:47:15.000Z | from cascade.algorithm import get_algorithm_by_name
def test_original_algorithm():
algorithm = get_algorithm_by_name('original')
assert algorithm.name == "original"
assert algorithm.cascade_iterations == 4
assert algorithm.block_size_function(0.0, 10000, 1) == 73000
assert algorithm.block_size_func... | 48.106557 | 65 | 0.757028 | 812 | 5,869 | 5.215517 | 0.082512 | 0.24085 | 0.20307 | 0.243684 | 0.876033 | 0.876033 | 0.816529 | 0.815584 | 0.806139 | 0.699882 | 0 | 0.112389 | 0.155563 | 5,869 | 121 | 66 | 48.504132 | 0.742131 | 0 | 0 | 0.596491 | 0 | 0 | 0.016698 | 0 | 0 | 0 | 0 | 0 | 0.868421 | 1 | 0.061404 | false | 0 | 0.008772 | 0 | 0.070175 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
871a2c025bcf94be50887fc1167c6325351793a9 | 114 | py | Python | src/skeleton/sub2/__init__.py | jcschindler01/skeleton | 52ccd2428f90ffb9a15ba35cea420801564b22eb | [
"MIT"
] | null | null | null | src/skeleton/sub2/__init__.py | jcschindler01/skeleton | 52ccd2428f90ffb9a15ba35cea420801564b22eb | [
"MIT"
] | null | null | null | src/skeleton/sub2/__init__.py | jcschindler01/skeleton | 52ccd2428f90ffb9a15ba35cea420801564b22eb | [
"MIT"
] | null | null | null | """
This subpackage contains modules C and D.
"""
from skeleton.sub2 import modC
from skeleton.sub2 import modD
| 14.25 | 41 | 0.754386 | 17 | 114 | 5.058824 | 0.764706 | 0.27907 | 0.372093 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.166667 | 114 | 7 | 42 | 16.285714 | 0.884211 | 0.359649 | 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 | 0 | 0 | 0 | 7 |
873986bea3b26f5e45ff9cb17a3d9884926c7206 | 3,200 | py | Python | webptools/webpbin.py | Coder-Iro/webptools | b540f6281260f6123c1ed54988ceed75c64f2841 | [
"MIT"
] | null | null | null | webptools/webpbin.py | Coder-Iro/webptools | b540f6281260f6123c1ed54988ceed75c64f2841 | [
"MIT"
] | null | null | null | webptools/webpbin.py | Coder-Iro/webptools | b540f6281260f6123c1ed54988ceed75c64f2841 | [
"MIT"
] | null | null | null | import platform
from os.path import dirname, abspath
def getcwebp() -> str:
if platform.system() == 'Linux':
return dirname(
dirname(abspath(__file__))) + '/lib/libwebp_linux/bin/cwebp'
elif platform.system() == 'Windows':
arch = platform.architecture()
if arch[0] == '64bit... | 38.554217 | 75 | 0.575938 | 312 | 3,200 | 5.714744 | 0.13141 | 0.157039 | 0.134605 | 0.181716 | 0.911385 | 0.911385 | 0.911385 | 0.911385 | 0.876612 | 0.767246 | 0 | 0.020215 | 0.273438 | 3,200 | 82 | 76 | 39.02439 | 0.746667 | 0 | 0 | 0.756757 | 0 | 0 | 0.205938 | 0.112188 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.027027 | 0 | 0.243243 | 0.108108 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
874d09e664c1eb52208b4ad7c98d29240e8c3412 | 6,945 | py | Python | cogs/Welcome.py | J0k3rrWild/XantBot | 2fd3c4b9b973dd9e49a05bcc09f409a8e97bec01 | [
"MIT"
] | null | null | null | cogs/Welcome.py | J0k3rrWild/XantBot | 2fd3c4b9b973dd9e49a05bcc09f409a8e97bec01 | [
"MIT"
] | null | null | null | cogs/Welcome.py | J0k3rrWild/XantBot | 2fd3c4b9b973dd9e49a05bcc09f409a8e97bec01 | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
import asyncio
import datetime
import sqlite3
conn = sqlite3.connect('main.db')
c = conn.cursor()
class Welcome(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command(aliases=['set_welcome_text', 'set-welcome-text', 's... | 44.235669 | 183 | 0.565011 | 838 | 6,945 | 4.568019 | 0.146778 | 0.054859 | 0.047022 | 0.047022 | 0.859718 | 0.842215 | 0.842215 | 0.813741 | 0.785528 | 0.785528 | 0 | 0.005695 | 0.317351 | 6,945 | 156 | 184 | 44.519231 | 0.80173 | 0 | 0 | 0.704545 | 0 | 0.022727 | 0.269848 | 0.006776 | 0 | 0 | 0.002062 | 0 | 0 | 1 | 0.015152 | false | 0.030303 | 0.037879 | 0 | 0.060606 | 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 |
875ae2223ef1abf2b423e9f312b398c979fcbe83 | 8,985 | py | Python | tvdordrecht/webapp/migrations/0002_auto_20151105_2334.py | allcaps/tvdordrecht.nl | a2ff1b5ade88378f1a72a7ab36d51965b06509b9 | [
"MIT"
] | null | null | null | tvdordrecht/webapp/migrations/0002_auto_20151105_2334.py | allcaps/tvdordrecht.nl | a2ff1b5ade88378f1a72a7ab36d51965b06509b9 | [
"MIT"
] | 1 | 2022-01-13T00:48:55.000Z | 2022-01-13T00:48:55.000Z | tvdordrecht/webapp/migrations/0002_auto_20151105_2334.py | allcaps/tvdordrecht.nl | a2ff1b5ade88378f1a72a7ab36d51965b06509b9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import datetime
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
('webapp', '0001_initial'),
]
operations = [
migrations.AlterField(
... | 56.509434 | 399 | 0.63172 | 1,082 | 8,985 | 5.134011 | 0.166359 | 0.093609 | 0.117012 | 0.135734 | 0.888209 | 0.888209 | 0.865527 | 0.814221 | 0.80162 | 0.79892 | 0 | 0.030471 | 0.258542 | 8,985 | 158 | 400 | 56.867089 | 0.803362 | 0.002337 | 0 | 0.789474 | 0 | 0.065789 | 0.34981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026316 | 0 | 0.046053 | 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 |
876a5496ed7710173490ea5fd3e9b6aaeccf3cb8 | 2,210 | py | Python | src/genie/libs/parser/iosxe/tests/ShowMplsLdpBindings/cli/equal/golden_output_all_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowMplsLdpBindings/cli/equal/golden_output_all_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowMplsLdpBindings/cli/equal/golden_output_all_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"vrf": {
"vrf1": {
"lib_entry": {
"10.11.0.0/24": {
"rev": "7",
"remote_binding": {
"label": {
"imp-null": {
"lsr_id": {"10.132.0.1": {"... | 33.484848 | 85 | 0.20181 | 133 | 2,210 | 3.157895 | 0.225564 | 0.228571 | 0.25 | 0.316667 | 0.888095 | 0.888095 | 0.838095 | 0.771429 | 0.771429 | 0.633333 | 0 | 0.109296 | 0.639819 | 2,210 | 65 | 86 | 34 | 0.418342 | 0 | 0 | 0.430769 | 0 | 0 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 | 11 |
0d6dac6dd4e3fcecb313fd637676d52617067daf | 53,180 | py | Python | airavata-api/airavata-client-sdks/airavata-python-sdk/airavata/model/messaging/event/ttypes.py | docquantum/airavata | 4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c | [
"ECL-2.0",
"Apache-2.0"
] | 74 | 2015-04-10T02:57:26.000Z | 2022-02-28T16:10:03.000Z | airavata-api/airavata-client-sdks/airavata-python-sdk/airavata/model/messaging/event/ttypes.py | docquantum/airavata | 4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c | [
"ECL-2.0",
"Apache-2.0"
] | 126 | 2015-04-26T02:55:26.000Z | 2022-02-16T22:43:28.000Z | airavata-api/airavata-client-sdks/airavata-python-sdk/airavata/model/messaging/event/ttypes.py | docquantum/airavata | 4ec5fa0aab1b75ca1e98a16648c57cd8abdb4b9c | [
"ECL-2.0",
"Apache-2.0"
] | 163 | 2015-01-22T14:05:24.000Z | 2022-03-17T12:24:34.000Z | #
# Autogenerated by Thrift Compiler (0.10.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
import sys
import airavata.... | 37.769886 | 202 | 0.57595 | 5,677 | 53,180 | 5.218954 | 0.033292 | 0.017382 | 0.031288 | 0.035237 | 0.907554 | 0.89196 | 0.878763 | 0.865938 | 0.861854 | 0.856588 | 0 | 0.013967 | 0.314705 | 53,180 | 1,407 | 203 | 37.796731 | 0.799007 | 0.018484 | 0 | 0.835938 | 1 | 0 | 0.06282 | 0.004678 | 0 | 0 | 0 | 0 | 0 | 1 | 0.091146 | false | 0 | 0.006076 | 0.026042 | 0.217882 | 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 |
0dd553872a481f8f6b530c27a7e3030928b974a5 | 1,440 | py | Python | mysite/patterns/6.py | BioinfoNet/prepub | e19c48cabf8bd22736dcef9308a5e196cfd8119a | [
"MIT"
] | 19 | 2016-06-17T23:36:27.000Z | 2020-01-13T16:41:55.000Z | mysite/patterns/6.py | BioinfoNet/prepub | e19c48cabf8bd22736dcef9308a5e196cfd8119a | [
"MIT"
] | 13 | 2016-06-06T12:57:05.000Z | 2019-02-05T02:21:00.000Z | patterns/6.py | OmnesRes/GRIMMER | 173c99ebdb6a9edb1242d24a791d0c5d778ff643 | [
"MIT"
] | 7 | 2017-03-28T18:12:22.000Z | 2021-06-16T09:32:59.000Z | pattern_zero=[0.0, 0.138888888889, 0.222222222222, 0.25, 0.333333333333, 0.472222222222, 0.555555555556, 0.583333333333, 0.666666666667, 0.805555555556, 0.888888888889, 0.916666666667]
pattern_odd=[0.0, 0.138888888889, 0.222222222222, 0.25, 0.333333333333, 0.472222222222, 0.555555555556, 0.583333333333, 0.666666666667,... | 288 | 443 | 0.760417 | 202 | 1,440 | 5.39604 | 0.108911 | 0.036697 | 0.030275 | 0.154128 | 0.962385 | 0.962385 | 0.962385 | 0.962385 | 0.962385 | 0.962385 | 0 | 0.769517 | 0.065972 | 1,440 | 5 | 444 | 288 | 0.040892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
0de272146e387746c1a2cd50a7d91ec805d98e9c | 205 | py | Python | odex/__init__.py | acellison/pyodex | 2d44ce25b326bfe78a558a548a6d911ba004299a | [
"MIT"
] | null | null | null | odex/__init__.py | acellison/pyodex | 2d44ce25b326bfe78a558a548a6d911ba004299a | [
"MIT"
] | null | null | null | odex/__init__.py | acellison/pyodex | 2d44ce25b326bfe78a558a548a6d911ba004299a | [
"MIT"
] | 1 | 2020-05-14T10:55:52.000Z | 2020-05-14T10:55:52.000Z | from .gbs import GBS
from .extrapolation_stepper import ExtrapolationStepper
from .make_extrapolation_stepper import make_extrapolation_stepper
from .compute_rextrap_weights import compute_rextrap_weights
| 41 | 66 | 0.902439 | 25 | 205 | 7.04 | 0.4 | 0.340909 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078049 | 205 | 4 | 67 | 51.25 | 0.931217 | 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 |
21aac55631ae016f18ed0058612351d8710b960a | 52,439 | py | Python | infoblox_netmri/api/broker/v3_8_0/device_object_broker.py | infobloxopen/infoblox_netmri | aa1c744df7e439dbe163bb9edd165e4e85a9771b | [
"Apache-2.0"
] | 12 | 2016-02-19T12:37:54.000Z | 2022-03-04T20:11:08.000Z | infoblox_netmri/api/broker/v3_8_0/device_object_broker.py | azinfoblox/infoblox-netmri | 02372c5231e2677ab6299cb659a73c9a41b4b0f4 | [
"Apache-2.0"
] | 18 | 2015-11-12T18:37:00.000Z | 2021-05-19T07:59:55.000Z | infoblox_netmri/api/broker/v3_8_0/device_object_broker.py | azinfoblox/infoblox-netmri | 02372c5231e2677ab6299cb659a73c9a41b4b0f4 | [
"Apache-2.0"
] | 18 | 2016-01-07T12:04:34.000Z | 2022-03-31T11:05:41.000Z | from ..broker import Broker
class DeviceObjectBroker(Broker):
controller = "device_objects"
def show(self, **kwargs):
"""Shows the details for the specified device object.
**Inputs**
| ``api version min:`` None
| ``api version max:`` None
| ``requi... | 53.400204 | 618 | 0.616259 | 6,340 | 52,439 | 5.042114 | 0.050158 | 0.069447 | 0.04514 | 0.05903 | 0.933619 | 0.932368 | 0.906122 | 0.892608 | 0.88094 | 0.873338 | 0 | 0.003197 | 0.302103 | 52,439 | 981 | 619 | 53.454638 | 0.87029 | 0.819981 | 0 | 0 | 0 | 0 | 0.06981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.421053 | false | 0 | 0.052632 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
21d6c34b6830cfa0581ea49990016750c6f5c256 | 120 | py | Python | _Massanori_Lists/lista_1/exe_11.py | M3nin0/supreme-broccoli | 186c1ea3b839ba3139f9301660dec8fbd27a162e | [
"Apache-2.0"
] | null | null | null | _Massanori_Lists/lista_1/exe_11.py | M3nin0/supreme-broccoli | 186c1ea3b839ba3139f9301660dec8fbd27a162e | [
"Apache-2.0"
] | null | null | null | _Massanori_Lists/lista_1/exe_11.py | M3nin0/supreme-broccoli | 186c1ea3b839ba3139f9301660dec8fbd27a162e | [
"Apache-2.0"
] | null | null | null | # Calculando os digitos de 2 ** 1000000
print ("Na elevação de 2 ** 1000000, existem ",len(str(2**1000000)),"digitos")
| 30 | 78 | 0.683333 | 18 | 120 | 4.555556 | 0.666667 | 0.292683 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.15 | 120 | 3 | 79 | 40 | 0.568627 | 0.308333 | 0 | 0 | 0 | 0 | 0.54321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
1d047e03d7c5c512bdfe267e87a7b24f4d525cc3 | 5,401 | py | Python | src/zen/benchmarks/shortest_path.py | wangyiranamy/Testing | 2a729d1f73b6df69150807b965b8fedbb7661c04 | [
"BSD-3-Clause"
] | 41 | 2015-01-13T19:49:50.000Z | 2021-05-02T04:11:19.000Z | src/zen/benchmarks/shortest_path.py | wangyiranamy/Testing | 2a729d1f73b6df69150807b965b8fedbb7661c04 | [
"BSD-3-Clause"
] | 9 | 2015-01-28T10:46:27.000Z | 2022-03-12T06:32:39.000Z | src/zen/benchmarks/shortest_path.py | wangyiranamy/Testing | 2a729d1f73b6df69150807b965b8fedbb7661c04 | [
"BSD-3-Clause"
] | 19 | 2015-01-27T12:19:42.000Z | 2019-07-20T21:30:56.000Z | from zen.util.benchmark import Benchmark
import networkx as nx
import zen as zn
import igraph as ig
import random
class AllPairsBenchmark(Benchmark):
def __init__(self):
Benchmark.__init__(self,'All Pairs Comparison')
self.NUM_NODES = 200
self.NUM_SOURCES = 20
self.P = 0.05
def setup(self):
# build ... | 21.866397 | 70 | 0.704869 | 1,001 | 5,401 | 3.504496 | 0.072927 | 0.063284 | 0.083808 | 0.041049 | 0.90878 | 0.900513 | 0.880559 | 0.848917 | 0.81984 | 0.81984 | 0 | 0.010036 | 0.169783 | 5,401 | 247 | 71 | 21.866397 | 0.772302 | 0.046288 | 0 | 0.813665 | 0 | 0 | 0.014019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.223602 | false | 0 | 0.031056 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0dffaaf950ecf964b1ebc985124bc2d1a13ddc8f | 33,251 | py | Python | UMLRT2Kiltera_MM/Properties/positive/Himesis/HExitpoint2procdefparTrue_CompleteLHS.py | levilucio/SyVOLT | 7526ec794d21565e3efcc925a7b08ae8db27d46a | [
"MIT"
] | 3 | 2017-06-02T19:26:27.000Z | 2021-06-14T04:25:45.000Z | UMLRT2Kiltera_MM/Properties/positive/Himesis/HExitpoint2procdefparTrue_CompleteLHS.py | levilucio/SyVOLT | 7526ec794d21565e3efcc925a7b08ae8db27d46a | [
"MIT"
] | 8 | 2016-08-24T07:04:07.000Z | 2017-05-26T16:22:47.000Z | UMLRT2Kiltera_MM/Properties/positive/Himesis/HExitpoint2procdefparTrue_CompleteLHS.py | levilucio/SyVOLT | 7526ec794d21565e3efcc925a7b08ae8db27d46a | [
"MIT"
] | 1 | 2019-10-31T06:00:23.000Z | 2019-10-31T06:00:23.000Z |
from core.himesis import Himesis, HimesisPreConditionPatternLHS
import cPickle as pickle
from uuid import UUID
class HExitpoint2procdefparTrue_CompleteLHS(HimesisPreConditionPatternLHS):
def __init__(self):
"""
Creates the himesis graph representing the AToM3 model HExitpoint2procdefparTrue_Compl... | 52.529226 | 692 | 0.529488 | 3,927 | 33,251 | 4.360071 | 0.066463 | 0.040299 | 0.054667 | 0.042051 | 0.863567 | 0.818362 | 0.814975 | 0.785305 | 0.781801 | 0.781801 | 0 | 0.027446 | 0.196806 | 33,251 | 632 | 693 | 52.612342 | 0.613659 | 0.330727 | 0 | 0.554318 | 0 | 0.011142 | 0.637442 | 0.192386 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058496 | false | 0 | 0.008357 | 0.052925 | 0.169916 | 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 |
df4e4fd804a3e784ef8012f2f474399f3e0b6392 | 298,752 | py | Python | src/ea/servercontrols/RestTesterFunctions.py | dmachard/extensivetesting | a5c3d2648aebcfaf1d0352a7aff8728ab843b73f | [
"MIT"
] | 9 | 2019-09-01T04:56:28.000Z | 2021-04-08T19:45:52.000Z | src/ea/servercontrols/RestTesterFunctions.py | dmachard/extensivetesting | a5c3d2648aebcfaf1d0352a7aff8728ab843b73f | [
"MIT"
] | 5 | 2020-10-27T15:05:12.000Z | 2021-12-13T13:48:11.000Z | src/ea/servercontrols/RestTesterFunctions.py | dmachard/extensivetesting | a5c3d2648aebcfaf1d0352a7aff8728ab843b73f | [
"MIT"
] | 2 | 2019-10-01T06:12:06.000Z | 2020-04-29T13:28:20.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# -------------------------------------------------------------------
# Copyright (c) 2010-2021 Denis Machard
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# ... | 34.150892 | 126 | 0.495377 | 25,282 | 298,752 | 5.782889 | 0.034056 | 0.035512 | 0.032215 | 0.03792 | 0.882403 | 0.870269 | 0.857869 | 0.84252 | 0.821878 | 0.811057 | 0 | 0.016827 | 0.421534 | 298,752 | 8,747 | 127 | 34.154796 | 0.829167 | 0.342886 | 0 | 0.832867 | 0 | 0 | 0.151193 | 0.000663 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025474 | false | 0.000311 | 0.00466 | 0.000311 | 0.081702 | 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 |
df5fbc226d62b9c3411f3eb3cacc6640eb234437 | 361 | py | Python | src/graph_transpiler/webdnn/backend/webgl/optimize_rules/simplify_channel_mode_conversion/__init__.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | 1 | 2021-04-09T15:55:35.000Z | 2021-04-09T15:55:35.000Z | src/graph_transpiler/webdnn/backend/webgl/optimize_rules/simplify_channel_mode_conversion/__init__.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | src/graph_transpiler/webdnn/backend/webgl/optimize_rules/simplify_channel_mode_conversion/__init__.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | from webdnn.backend.webgl.optimize_rules.simplify_channel_mode_conversion import simplify_channel_mode_conversion
from webdnn.backend.webgl.optimize_rules.simplify_channel_mode_conversion import simplify_nonsense_channel_mode_conversion
from webdnn.backend.webgl.optimize_rules.simplify_channel_mode_conversion import si... | 90.25 | 123 | 0.933518 | 47 | 361 | 6.680851 | 0.276596 | 0.210191 | 0.401274 | 0.369427 | 0.878981 | 0.878981 | 0.878981 | 0.878981 | 0.878981 | 0.878981 | 0 | 0 | 0.033241 | 361 | 3 | 124 | 120.333333 | 0.899713 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 13 |
df78c3734cc4124f814f44db802924c18621bc52 | 36 | py | Python | tests/test_pycounts_al.py | adrianne-l/pycounts_al | 88ff10870bf95b8690a9b73c58826505f71fa56b | [
"MIT"
] | null | null | null | tests/test_pycounts_al.py | adrianne-l/pycounts_al | 88ff10870bf95b8690a9b73c58826505f71fa56b | [
"MIT"
] | null | null | null | tests/test_pycounts_al.py | adrianne-l/pycounts_al | 88ff10870bf95b8690a9b73c58826505f71fa56b | [
"MIT"
] | null | null | null | from pycounts_al import pycounts_al
| 18 | 35 | 0.888889 | 6 | 36 | 5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
10c7d6e1a790de064d459cacb08bfd0c3428037d | 141 | py | Python | fashion_intel/fashion2vec/__init__.py | oke-aditya/fashion_intel | dfd468d52e6565fe371be84ffb021123578b9c41 | [
"Apache-2.0"
] | 1 | 2021-05-08T10:33:02.000Z | 2021-05-08T10:33:02.000Z | fashion_intel/fashion2vec/__init__.py | oke-aditya/fashion_intel | dfd468d52e6565fe371be84ffb021123578b9c41 | [
"Apache-2.0"
] | 18 | 2020-08-07T10:28:44.000Z | 2020-10-01T20:06:30.000Z | fashion_intel/fashion2vec/__init__.py | oke-aditya/fashion_intel | dfd468d52e6565fe371be84ffb021123578b9c41 | [
"Apache-2.0"
] | 2 | 2020-08-07T12:28:38.000Z | 2020-08-07T18:11:42.000Z | from fashion_intel.fashion2vec.engine import *
from fashion_intel.fashion2vec.model import *
from fashion_intel.fashion2vec.dataset import *
| 35.25 | 47 | 0.851064 | 18 | 141 | 6.5 | 0.444444 | 0.282051 | 0.410256 | 0.692308 | 0.564103 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.085106 | 141 | 3 | 48 | 47 | 0.883721 | 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 |
80596a86db365c39b5981abd355793b82249075d | 8,303 | bzl | Python | examples/opencensus_workspace.bzl | SergeyKanzhelev/opencensus-java | e45afa14e204ef3800cf7c89ae91fc23e6ae49ef | [
"Apache-2.0"
] | null | null | null | examples/opencensus_workspace.bzl | SergeyKanzhelev/opencensus-java | e45afa14e204ef3800cf7c89ae91fc23e6ae49ef | [
"Apache-2.0"
] | null | null | null | examples/opencensus_workspace.bzl | SergeyKanzhelev/opencensus-java | e45afa14e204ef3800cf7c89ae91fc23e6ae49ef | [
"Apache-2.0"
] | null | null | null | # The following dependencies were calculated from:
#
# generate_workspace --artifact=io.opencensus:opencensus-api:0.12.2 --artifact=io.opencensus:opencensus-contrib-zpages:0.12.2 --artifact=io.opencensus:opencensus-exporter-trace-logging:0.12.2 --artifact=io.opencensus:opencensus-impl:0.12.2 --repositories=http://repo.... | 34.886555 | 290 | 0.701192 | 964 | 8,303 | 5.773859 | 0.079876 | 0.129357 | 0.237154 | 0.031441 | 0.863816 | 0.817284 | 0.73913 | 0.666367 | 0.542041 | 0.472512 | 0 | 0.069964 | 0.171986 | 8,303 | 237 | 291 | 35.033755 | 0.739636 | 0.234132 | 0 | 0.621118 | 1 | 0 | 0.54725 | 0.436631 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012422 | true | 0 | 0 | 0 | 0.012422 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
338f5d084956fc09203ab5a55ae7b666e1d11461 | 15,270 | py | Python | src/review_1_cercor/2_ms_no_lesions.py | MezerLab/age-pred-r1 | 5e72fa3ede6306f779a262ded4e2c10d932df038 | [
"Apache-2.0"
] | null | null | null | src/review_1_cercor/2_ms_no_lesions.py | MezerLab/age-pred-r1 | 5e72fa3ede6306f779a262ded4e2c10d932df038 | [
"Apache-2.0"
] | null | null | null | src/review_1_cercor/2_ms_no_lesions.py | MezerLab/age-pred-r1 | 5e72fa3ede6306f779a262ded4e2c10d932df038 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Jul 11 09:31:43 2019
@author: asier.erramuzpe
"""
import numpy as np
from src.data.make_dataset import (load_cort,
load_dataset,
load_cort_areas,
)
... | 38.0798 | 188 | 0.731631 | 2,719 | 15,270 | 3.770504 | 0.10445 | 0.031213 | 0.02341 | 0.02224 | 0.862076 | 0.829692 | 0.809208 | 0.792626 | 0.769216 | 0.76112 | 0 | 0.060795 | 0.126392 | 15,270 | 400 | 189 | 38.175 | 0.707721 | 0.117682 | 0 | 0.65529 | 0 | 0 | 0.089814 | 0.047354 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.03413 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
339217ea41d133c1c8709d60fdba6df716eb8538 | 130 | py | Python | solutions/day9/solver.py | NunoMCSilva/My-Advent-of-Code-2017-Solutions | df818a2f7a733834d352b8fabcd340d75de8c0b1 | [
"MIT"
] | null | null | null | solutions/day9/solver.py | NunoMCSilva/My-Advent-of-Code-2017-Solutions | df818a2f7a733834d352b8fabcd340d75de8c0b1 | [
"MIT"
] | null | null | null | solutions/day9/solver.py | NunoMCSilva/My-Advent-of-Code-2017-Solutions | df818a2f7a733834d352b8fabcd340d75de8c0b1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from solutions.day9.solver1 import part1
from solutions.day9.solver2 import part2
| 21.666667 | 40 | 0.738462 | 19 | 130 | 5.052632 | 0.789474 | 0.270833 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0.123077 | 130 | 5 | 41 | 26 | 0.77193 | 0.330769 | 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 |
d501e3a8dda91b49207a6b76eda6e0b3534948e8 | 1,878 | py | Python | solarblinds2/tests/test_events.py | lalten/solar-blinds-2 | 5dc9155b1ca582a4b12e6928c4f1641d7ffe7a81 | [
"MIT"
] | null | null | null | solarblinds2/tests/test_events.py | lalten/solar-blinds-2 | 5dc9155b1ca582a4b12e6928c4f1641d7ffe7a81 | [
"MIT"
] | null | null | null | solarblinds2/tests/test_events.py | lalten/solar-blinds-2 | 5dc9155b1ca582a4b12e6928c4f1641d7ffe7a81 | [
"MIT"
] | null | null | null | import datetime
from solarblinds2.events import get_next_sun_event_time_and_type
import astral
import solarblinds2.config
def test_get_next_sun_event_time_and_type_happy() -> None:
observer = astral.Observer()
now = datetime.datetime(year=2000, month=1, day=1, hour=0, tzinfo=datetime.timezone.utc)
date, ... | 49.421053 | 97 | 0.740149 | 282 | 1,878 | 4.737589 | 0.159574 | 0.11976 | 0.164671 | 0.187126 | 0.926647 | 0.926647 | 0.926647 | 0.868263 | 0.868263 | 0.818862 | 0 | 0.096333 | 0.143237 | 1,878 | 37 | 98 | 50.756757 | 0.733996 | 0 | 0 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 1 | 0.071429 | false | 0 | 0.142857 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1d1b44670f2306f8549db3134853beb5d488da2d | 21 | py | Python | config/prod.py | TenPennyTV/flask-ffmpeg | 476e20bb682b60c76dff2b8bc1c7980b9c5a47f7 | [
"MIT"
] | null | null | null | config/prod.py | TenPennyTV/flask-ffmpeg | 476e20bb682b60c76dff2b8bc1c7980b9c5a47f7 | [
"MIT"
] | null | null | null | config/prod.py | TenPennyTV/flask-ffmpeg | 476e20bb682b60c76dff2b8bc1c7980b9c5a47f7 | [
"MIT"
] | null | null | null | bind = "0.0.0.0:8090" | 21 | 21 | 0.571429 | 6 | 21 | 2 | 0.5 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 0.095238 | 21 | 1 | 21 | 21 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1d9d93a9ff1fa1ce796347478b936cd62e563b34 | 116 | py | Python | andorra/settings/staging.py | TheProrok29/andorra | 895ac07a85e8dc36f21a74f77312adc73fded459 | [
"MIT"
] | null | null | null | andorra/settings/staging.py | TheProrok29/andorra | 895ac07a85e8dc36f21a74f77312adc73fded459 | [
"MIT"
] | 4 | 2020-06-07T10:23:51.000Z | 2021-09-22T19:09:32.000Z | andorra/settings/staging.py | TheProrok29/andorra | 895ac07a85e8dc36f21a74f77312adc73fded459 | [
"MIT"
] | null | null | null | # flake8: noqa
import django_heroku
from .development import *
django_heroku.settings(locals(), test_runner=False)
| 19.333333 | 51 | 0.801724 | 15 | 116 | 6 | 0.8 | 0.266667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.103448 | 116 | 5 | 52 | 23.2 | 0.855769 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d5491be816d0758a508c5bf81c463d7d56b6b3fe | 4,122 | py | Python | testapp/wagtail_wordpress_importer/test/api_fetcher_tests.py | nickmoreton/wagtail_wordpress_importer | fbe6b60ae624edac3f42a62ce30af4a0c548b4ed | [
"MIT"
] | null | null | null | testapp/wagtail_wordpress_importer/test/api_fetcher_tests.py | nickmoreton/wagtail_wordpress_importer | fbe6b60ae624edac3f42a62ce30af4a0c548b4ed | [
"MIT"
] | null | null | null | testapp/wagtail_wordpress_importer/test/api_fetcher_tests.py | nickmoreton/wagtail_wordpress_importer | fbe6b60ae624edac3f42a62ce30af4a0c548b4ed | [
"MIT"
] | null | null | null | from django.test import SimpleTestCase
from wagtail_wordpress_importer.cls.api_fetcher import WordpressApiFetcher
class ApiFetcherTestCase(SimpleTestCase):
def test_get_page_headers(self):
api_fetcher = WordpressApiFetcher(
base_url='https://www.england.nhs.uk/wp-json/wp/v2/pages?page=1'
... | 40.411765 | 96 | 0.665454 | 558 | 4,122 | 4.666667 | 0.102151 | 0.119048 | 0.103687 | 0.124424 | 0.942012 | 0.925883 | 0.925883 | 0.925883 | 0.925883 | 0.925883 | 0 | 0.013639 | 0.21737 | 4,122 | 101 | 97 | 40.811881 | 0.793552 | 0.011402 | 0 | 0.613333 | 0 | 0.24 | 0.259651 | 0 | 0 | 0 | 0 | 0 | 0.24 | 1 | 0.053333 | false | 0 | 0.026667 | 0 | 0.093333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d5744170a3aaaf1946c976b300943d14b46ef9eb | 5,141 | py | Python | cnns/nnlib/robustness/pni/code/models/noise_layer_both.py | anonymous-user-commits/perturb-net | 66fc7c4a1234fa34b92bcc85751f0a6e23d80a23 | [
"MIT"
] | null | null | null | cnns/nnlib/robustness/pni/code/models/noise_layer_both.py | anonymous-user-commits/perturb-net | 66fc7c4a1234fa34b92bcc85751f0a6e23d80a23 | [
"MIT"
] | null | null | null | cnns/nnlib/robustness/pni/code/models/noise_layer_both.py | anonymous-user-commits/perturb-net | 66fc7c4a1234fa34b92bcc85751f0a6e23d80a23 | [
"MIT"
] | null | null | null | import torch.nn as nn
import math
import torch.nn.functional as F
import torch
import numpy as np
global_noise_type = 'both'
class noise_Linear(nn.Linear):
def __init__(self, in_features, out_features, bias=True, pni='layerwise',
w_noise=True, noise_type=global_noise_type, input_size=None):
... | 37.525547 | 83 | 0.529663 | 610 | 5,141 | 4.254098 | 0.114754 | 0.062428 | 0.073988 | 0.069364 | 0.833141 | 0.816956 | 0.794605 | 0.766089 | 0.766089 | 0.75684 | 0 | 0.018399 | 0.365688 | 5,141 | 136 | 84 | 37.801471 | 0.777369 | 0.042599 | 0 | 0.734694 | 0 | 0 | 0.032963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0.05102 | 0 | 0.132653 | 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 |
d594ddeb6eadcdefca599856faefe588e83bdfa9 | 11,232 | py | Python | chromium/tools/telemetry/catapult_base/dependency_manager/dependency_info_unittest.py | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 27 | 2016-04-27T01:02:03.000Z | 2021-12-13T08:53:19.000Z | chromium/tools/telemetry/catapult_base/dependency_manager/dependency_info_unittest.py | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 2 | 2017-03-09T09:00:50.000Z | 2017-09-21T15:48:20.000Z | chromium/tools/telemetry/catapult_base/dependency_manager/dependency_info_unittest.py | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 17 | 2016-04-27T02:06:39.000Z | 2019-12-18T08:07:00.000Z | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import unittest
from catapult_base import dependency_manager
class DependencyInfoTest(unittest.TestCase):
def testInitRequiredInfo(self):
# Must have... | 47.795745 | 78 | 0.750712 | 1,388 | 11,232 | 5.67147 | 0.07781 | 0.120046 | 0.049543 | 0.062246 | 0.83905 | 0.800559 | 0.77312 | 0.749111 | 0.706809 | 0.691311 | 0 | 0.027186 | 0.138711 | 11,232 | 234 | 79 | 48 | 0.786541 | 0.020032 | 0 | 0.725888 | 0 | 0 | 0.149636 | 0.003818 | 0 | 0 | 0 | 0 | 0.48731 | 1 | 0.040609 | false | 0 | 0.010152 | 0 | 0.055838 | 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 |
637f11d7059c137927173cd519a5e44b2644df0b | 14,284 | py | Python | nbgrader/tests/apps/test_nbgrader_feedback.py | lgpage/nbgrader | 609a88b6237611a0cf293415ee25eeee51f19eda | [
"BSD-3-Clause-Clear"
] | 1 | 2018-06-18T14:47:01.000Z | 2018-06-18T14:47:01.000Z | nbgrader/tests/apps/test_nbgrader_feedback.py | lgpage/nbgrader | 609a88b6237611a0cf293415ee25eeee51f19eda | [
"BSD-3-Clause-Clear"
] | 1 | 2018-10-31T15:54:37.000Z | 2018-10-31T15:54:37.000Z | nbgrader/tests/apps/test_nbgrader_feedback.py | lgpage/nbgrader | 609a88b6237611a0cf293415ee25eeee51f19eda | [
"BSD-3-Clause-Clear"
] | null | null | null | import os
import sys
from os.path import join, exists, isfile
from ...utils import remove
from .. import run_nbgrader
from .base import BaseTestApp
class TestNbGraderFeedback(BaseTestApp):
def test_help(self):
"""Does the help display without error?"""
run_nbgrader(["feedback", "--help-all"])
... | 59.516667 | 131 | 0.604873 | 1,848 | 14,284 | 4.513528 | 0.071429 | 0.120849 | 0.162091 | 0.161132 | 0.926268 | 0.916317 | 0.906606 | 0.899532 | 0.899532 | 0.889821 | 0 | 0.032691 | 0.181952 | 14,284 | 239 | 132 | 59.76569 | 0.68113 | 0.035004 | 0 | 0.824176 | 0 | 0 | 0.323902 | 0.048516 | 0 | 0 | 0 | 0 | 0.296703 | 1 | 0.049451 | false | 0 | 0.032967 | 0 | 0.087912 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
63a17287ff34ce89f90f6c14e5d782770983f8af | 35,215 | py | Python | sdk/python/pulumi_oci/core/service_gateway.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/core/service_gateway.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/core/service_gateway.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 58.789649 | 648 | 0.680903 | 4,425 | 35,215 | 5.264407 | 0.062373 | 0.059498 | 0.039665 | 0.045503 | 0.90762 | 0.891779 | 0.878515 | 0.866581 | 0.860442 | 0.835029 | 0 | 0.004312 | 0.203095 | 35,215 | 598 | 649 | 58.88796 | 0.825785 | 0.511146 | 0 | 0.674051 | 1 | 0 | 0.111033 | 0.018676 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161392 | false | 0.003165 | 0.022152 | 0 | 0.281646 | 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 |
63a404a73eee452883340218134affaf9b2e8f8c | 6,867 | py | Python | tests/test_doubles/test_doubles_expectations_test.py | Avvir/pyne | 864885a8fb632b72c00af164f150b1daa38a346f | [
"MIT"
] | 4 | 2018-08-10T20:05:10.000Z | 2019-07-24T15:29:32.000Z | tests/test_doubles/test_doubles_expectations_test.py | Avvir/pyne | 864885a8fb632b72c00af164f150b1daa38a346f | [
"MIT"
] | 6 | 2018-09-25T20:15:51.000Z | 2021-12-22T17:09:52.000Z | tests/test_doubles/test_doubles_expectations_test.py | Avvir/pyne | 864885a8fb632b72c00af164f150b1daa38a346f | [
"MIT"
] | null | null | null | from pynetest.expectations import expect
from pynetest.test_doubles.spy import Spy
from pynetest.test_doubles.stub import spy_on
from tests.test_helpers.expectation_helpers import expect_expectation_to_fail_with_message
from tests.test_helpers.some_class import SomeClass
from tests.test_helpers.temporary_class import T... | 43.188679 | 223 | 0.759138 | 887 | 6,867 | 5.384442 | 0.072153 | 0.090452 | 0.081658 | 0.130653 | 0.913526 | 0.894891 | 0.883794 | 0.854271 | 0.830193 | 0.811139 | 0 | 0 | 0.142129 | 6,867 | 158 | 224 | 43.462025 | 0.810728 | 0 | 0 | 0.418367 | 0 | 0 | 0.14972 | 0.074158 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173469 | false | 0.071429 | 0.061224 | 0 | 0.234694 | 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 |
63bdbc45a2f8bde7d5c0b0812de684ad21efa5a0 | 15,675 | py | Python | mailchimp_transactional/api/messages_api.py | singular-labs/mailchimp-transactional-python | 310f2970596b30a9527ad0c45d0c977c827cd3ba | [
"Apache-2.0"
] | null | null | null | mailchimp_transactional/api/messages_api.py | singular-labs/mailchimp-transactional-python | 310f2970596b30a9527ad0c45d0c977c827cd3ba | [
"Apache-2.0"
] | null | null | null | mailchimp_transactional/api/messages_api.py | singular-labs/mailchimp-transactional-python | 310f2970596b30a9527ad0c45d0c977c827cd3ba | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Mailchimp Transactional API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 1.0.47
Contact: apihelp@mailchimp.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
fr... | 34.526432 | 423 | 0.572249 | 1,871 | 15,675 | 4.677178 | 0.102084 | 0.091418 | 0.052794 | 0.067878 | 0.886413 | 0.874986 | 0.856245 | 0.82402 | 0.821278 | 0.812364 | 0 | 0.034755 | 0.328166 | 15,675 | 453 | 424 | 34.602649 | 0.796221 | 0.299522 | 0 | 0.664032 | 1 | 0 | 0.143807 | 0.026584 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.01581 | 0 | 0.197628 | 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 |
892b052b556348d0f4c75a620017c9e5e580c56a | 5,638 | py | Python | accelbyte_py_sdk/api/leaderboard/wrappers/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/leaderboard/wrappers/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | accelbyte_py_sdk/api/leaderboard/wrappers/__init__.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: justice_py_sdk_codegen/__main__.py
"""Auto-generated package that contains models used b... | 64.068182 | 92 | 0.919652 | 768 | 5,638 | 6.075521 | 0.114583 | 0.186455 | 0.16288 | 0.214316 | 0.926275 | 0.92306 | 0.919846 | 0.917703 | 0.900557 | 0.578654 | 0 | 0.014345 | 0.060305 | 5,638 | 87 | 93 | 64.804598 | 0.866365 | 0.065271 | 0 | 0 | 1 | 0 | 0.006086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.957746 | 0 | 0.957746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
893b30389a15648b9184604dd7f219b22fc0f23c | 3,944 | py | Python | yolo2/models/yolo2_mobilenetv2.py | grifon-239/diploma | bdf02f9f5e279516920189da17c256776a9d5b02 | [
"MIT"
] | 2 | 2021-01-26T23:03:47.000Z | 2021-05-04T16:11:34.000Z | yolo2/models/yolo2_mobilenetv2.py | acobo/keras-YOLOv3-model-set | 6d7f7f2474dda43c112a9e0321447109a446ac69 | [
"MIT"
] | null | null | null | yolo2/models/yolo2_mobilenetv2.py | acobo/keras-YOLOv3-model-set | 6d7f7f2474dda43c112a9e0321447109a446ac69 | [
"MIT"
] | 2 | 2020-07-07T16:30:59.000Z | 2020-10-05T06:07:22.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""YOLO_v2 MobileNetV2 Model Defined in Keras."""
from tensorflow.keras.layers import MaxPooling2D, Lambda, Concatenate, GlobalAveragePooling2D, Softmax
from tensorflow.keras.models import Model
from tensorflow.keras.applications.mobilenet_v2 import MobileNetV2
from yolo... | 42.408602 | 205 | 0.721602 | 568 | 3,944 | 4.741197 | 0.158451 | 0.031192 | 0.035648 | 0.059413 | 0.861493 | 0.849981 | 0.835871 | 0.835871 | 0.78834 | 0.765689 | 0 | 0.082799 | 0.170132 | 3,944 | 92 | 206 | 42.869565 | 0.739994 | 0.22997 | 0 | 0.73913 | 0 | 0 | 0.036048 | 0 | 0 | 0 | 0 | 0.01087 | 0 | 1 | 0.086957 | false | 0 | 0.086957 | 0 | 0.26087 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
894de622d7ad1a7530460e77d6537e12e2b358bc | 4,390 | py | Python | accounts/tests/test_user_views.py | Fabrice-64/advocacy_project | 33eb8b71e057ea197be578020436defb015fa000 | [
"MIT"
] | null | null | null | accounts/tests/test_user_views.py | Fabrice-64/advocacy_project | 33eb8b71e057ea197be578020436defb015fa000 | [
"MIT"
] | null | null | null | accounts/tests/test_user_views.py | Fabrice-64/advocacy_project | 33eb8b71e057ea197be578020436defb015fa000 | [
"MIT"
] | null | null | null | from django.test import TestCase, Client
from django.contrib.auth import get_user_model
from django.contrib.auth.models import Permission
from django.urls import reverse_lazy
from accounts.models import CustomUser, Volunteer
class VolunteerListViewTest(TestCase):
def setUp(self):
self.url = reverse_lazy(... | 39.909091 | 100 | 0.689977 | 521 | 4,390 | 5.639155 | 0.142035 | 0.089857 | 0.043567 | 0.059905 | 0.854663 | 0.822668 | 0.822668 | 0.822668 | 0.796801 | 0.796801 | 0 | 0.011478 | 0.20615 | 4,390 | 109 | 101 | 40.275229 | 0.831564 | 0.042597 | 0 | 0.576471 | 0 | 0 | 0.086232 | 0.021439 | 0 | 0 | 0 | 0 | 0.164706 | 1 | 0.141176 | false | 0.070588 | 0.058824 | 0 | 0.247059 | 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 |
8973b150903ddf40bffb9e87cee394e87eaacda0 | 170 | py | Python | bitflyer/utils.py | tracer0tong/bitflyer | 6f204ccb5d597908e5f52b32c58cabcc232e67aa | [
"MIT"
] | null | null | null | bitflyer/utils.py | tracer0tong/bitflyer | 6f204ccb5d597908e5f52b32c58cabcc232e67aa | [
"MIT"
] | null | null | null | bitflyer/utils.py | tracer0tong/bitflyer | 6f204ccb5d597908e5f52b32c58cabcc232e67aa | [
"MIT"
] | 1 | 2021-05-03T06:50:57.000Z | 2021-05-03T06:50:57.000Z | import time
def make_nonce():
'''
return utc unix time in second
TODO:
- return utc unix time in micro second
'''
return str(int(time.time()))
| 14.166667 | 42 | 0.6 | 24 | 170 | 4.208333 | 0.583333 | 0.178218 | 0.257426 | 0.336634 | 0.376238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 170 | 11 | 43 | 15.454545 | 0.841667 | 0.447059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
9843f3e655a9af93de9a34859bfeb1c451bf6a6e | 197 | py | Python | py_headless_daw/production/producer_interface.py | hq9000/py-headless-daw | 33e08727c25d3f00b2556adf5f25c9f7ff4d4304 | [
"MIT"
] | 22 | 2020-06-09T18:46:56.000Z | 2021-09-28T02:11:42.000Z | py_headless_daw/production/producer_interface.py | hq9000/py-headless-daw | 33e08727c25d3f00b2556adf5f25c9f7ff4d4304 | [
"MIT"
] | 19 | 2020-06-03T06:34:57.000Z | 2021-01-26T07:36:17.000Z | py_headless_daw/production/producer_interface.py | hq9000/py-headless-daw | 33e08727c25d3f00b2556adf5f25c9f7ff4d4304 | [
"MIT"
] | 1 | 2020-06-18T09:25:21.000Z | 2020-06-18T09:25:21.000Z | from abc import ABC, abstractmethod
from py_headless_daw.project.project import Project
class ProducerInterface(ABC):
@abstractmethod
def generate_project(self) -> Project:
pass
| 19.7 | 51 | 0.756345 | 23 | 197 | 6.347826 | 0.608696 | 0.232877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182741 | 197 | 9 | 52 | 21.888889 | 0.906832 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
984cf93f89b99207240dcec8935c8f7a70d0d98c | 89 | py | Python | sysscribe/disk.py | zenotech/SysScribe | 8cabfc9718e7ccc6d217fbcfc158dd255b28c9b1 | [
"BSD-3-Clause"
] | null | null | null | sysscribe/disk.py | zenotech/SysScribe | 8cabfc9718e7ccc6d217fbcfc158dd255b28c9b1 | [
"BSD-3-Clause"
] | 1 | 2017-05-08T19:18:05.000Z | 2017-05-08T19:18:05.000Z | sysscribe/disk.py | zenotech/SysScribe | 8cabfc9718e7ccc6d217fbcfc158dd255b28c9b1 | [
"BSD-3-Clause"
] | null | null | null |
from sysscribe import detect_dev_sizes
def disk_sizes():
return detect_dev_sizes()
| 14.833333 | 38 | 0.786517 | 13 | 89 | 5 | 0.692308 | 0.276923 | 0.430769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157303 | 89 | 5 | 39 | 17.8 | 0.866667 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 8 |
98676711ffce9ab6929cf75bbdc1b81ac05284aa | 78,707 | py | Python | tests/test_style_mappings.py | bdemchak/py4cytoscape | c0f6c13e00928c05485fa2bcc35d292418d3738a | [
"MIT"
] | 3 | 2020-05-07T19:51:11.000Z | 2020-08-12T09:21:43.000Z | tests/test_style_mappings.py | bdemchak/py4cytoscape | c0f6c13e00928c05485fa2bcc35d292418d3738a | [
"MIT"
] | 11 | 2020-05-07T15:49:03.000Z | 2020-08-20T19:57:23.000Z | tests/test_style_mappings.py | bdemchak/py4cytoscape | c0f6c13e00928c05485fa2bcc35d292418d3738a | [
"MIT"
] | 3 | 2020-05-26T18:35:57.000Z | 2020-08-19T09:51:19.000Z | # -*- coding: utf-8 -*-
""" Test functions in style_mappings.py.
"""
"""License:
Copyright 2020-2022 The Cytoscape Consortium
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 ... | 65.698664 | 127 | 0.492917 | 7,417 | 78,707 | 4.802076 | 0.061211 | 0.057613 | 0.073982 | 0.074122 | 0.845972 | 0.814779 | 0.788668 | 0.757588 | 0.745515 | 0.7269 | 0 | 0.024353 | 0.397423 | 78,707 | 1,197 | 128 | 65.753551 | 0.726633 | 0.189475 | 0 | 0.667097 | 0 | 0 | 0.203503 | 0.03104 | 0 | 0 | 0 | 0.000835 | 0.082581 | 1 | 0.059355 | false | 0.147097 | 0.006452 | 0 | 0.068387 | 0.049032 | 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 |
9884d059c22b29622e6944ac95446d73c515923b | 128 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_misc.py | SiliconLabs/Gecko_SDK | 991121c706578c9a2135b6f75cc88856e8c64bdc | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_misc.py | SiliconLabs/Gecko_SDK | 991121c706578c9a2135b6f75cc88856e8c64bdc | [
"Zlib"
] | 2 | 2017-02-13T10:07:17.000Z | 2017-03-22T21:28:26.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_misc.py | SiliconLabs/Gecko_SDK | 991121c706578c9a2135b6f75cc88856e8c64bdc | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.parts.bobcat.calculators.calc_misc import Calc_Misc_Bobcat
class calc_misc_viper(Calc_Misc_Bobcat):
pass | 32 | 77 | 0.859375 | 19 | 128 | 5.421053 | 0.578947 | 0.31068 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085938 | 128 | 4 | 78 | 32 | 0.880342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 8 |
120ba2e0d76a29112470270e5cfdffd44d462f67 | 2,006 | py | Python | Boardgame_Heatmap/listsorter.py | Kieran-Everett/pythonCode | 9dbac87ef9043fb6391391df636ea8098c2b3d58 | [
"MIT"
] | null | null | null | Boardgame_Heatmap/listsorter.py | Kieran-Everett/pythonCode | 9dbac87ef9043fb6391391df636ea8098c2b3d58 | [
"MIT"
] | null | null | null | Boardgame_Heatmap/listsorter.py | Kieran-Everett/pythonCode | 9dbac87ef9043fb6391391df636ea8098c2b3d58 | [
"MIT"
] | null | null | null | from collections import Counter
data = [2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, ... | 286.571429 | 1,926 | 0.485543 | 518 | 2,006 | 1.878378 | 0.096525 | 0.051387 | 0.073998 | 0.094553 | 0.924974 | 0.912641 | 0.87667 | 0.827338 | 0.790339 | 0.790339 | 0 | 0.613163 | 0.257727 | 2,006 | 6 | 1,927 | 334.333333 | 0.040296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
123761bf53051d402d42bc59ef9b94e6f4f9567a | 5,601 | py | Python | hours/tests/test_parse_filter_date.py | SuviVappula/hauki | 1af20d3a2e6fd7f7ca2834aaa52d3355aa658dfb | [
"MIT"
] | 3 | 2020-03-26T05:04:30.000Z | 2022-03-22T15:57:18.000Z | hours/tests/test_parse_filter_date.py | SuviVappula/hauki | 1af20d3a2e6fd7f7ca2834aaa52d3355aa658dfb | [
"MIT"
] | 81 | 2020-06-17T14:31:11.000Z | 2022-02-20T19:01:54.000Z | hours/tests/test_parse_filter_date.py | SuviVappula/hauki | 1af20d3a2e6fd7f7ca2834aaa52d3355aa658dfb | [
"MIT"
] | 9 | 2020-06-18T10:52:09.000Z | 2022-02-11T13:05:59.000Z | import datetime
import pytest
from freezegun import freeze_time
from hours.filters import parse_maybe_relative_date_string
@pytest.mark.django_db
@pytest.mark.parametrize(
"input_string, end_date, frozen_date, expected_date",
(
# Special strings
("today", False, "2020-11-13", datetime.date(y... | 63.647727 | 88 | 0.58561 | 876 | 5,601 | 3.714612 | 0.084475 | 0.217578 | 0.290104 | 0.270436 | 0.901352 | 0.876767 | 0.876152 | 0.864167 | 0.831592 | 0.781807 | 0 | 0.215395 | 0.183539 | 5,601 | 87 | 89 | 64.37931 | 0.496173 | 0.06606 | 0 | 0.085714 | 0 | 0 | 0.157754 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 1 | 0.014286 | false | 0 | 0.057143 | 0 | 0.071429 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
89f547810494fd4561502da827d9a921c5679f21 | 4,493 | py | Python | bolt4ds/ds_template/build/script.py | leepand/bolt4ds | 0b0e71deb8fc421d32e54d38a4c38a914e3aa732 | [
"BSD-3-Clause"
] | null | null | null | bolt4ds/ds_template/build/script.py | leepand/bolt4ds | 0b0e71deb8fc421d32e54d38a4c38a914e3aa732 | [
"BSD-3-Clause"
] | null | null | null | bolt4ds/ds_template/build/script.py | leepand/bolt4ds | 0b0e71deb8fc421d32e54d38a4c38a914e3aa732 | [
"BSD-3-Clause"
] | null | null | null | import gzip
import base64
import os
from pathlib import Path
from typing import Dict
# this is base64 encoded source code
file_data: Dict = {'dspipe/run.py': 'H4sIABHm3l4C/5VTy27bMBC86ysW8UUCBClWmwAt4FPT9tJbczc25NoiQpECd2nX/fqSkmIIqNHHRQ8OObszOzTD6IPAi7fyXnNzsP4MyKAfJX8WZobV4ViDIL9yDSfDEa35SUWxgU89qdcJAU0jOU1OGWJAp0F... | 179.72 | 3,996 | 0.920766 | 217 | 4,493 | 19.02765 | 0.728111 | 0.023735 | 0.008719 | 0.00775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131226 | 0.021367 | 4,493 | 24 | 3,997 | 187.208333 | 0.807824 | 0.007567 | 0 | 0 | 0 | 0.333333 | 0.904196 | 0.858874 | 0 | 1 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.333333 | 0 | 0.4 | 0.066667 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
c3a91d04243263af5f3542025c55fcf9076522af | 25,875 | py | Python | sdk/python/pulumi_alicloud/cen/vbr_health_check.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/cen/vbr_health_check.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/cen/vbr_health_check.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 46.288014 | 206 | 0.670686 | 3,279 | 25,875 | 4.993596 | 0.070753 | 0.080616 | 0.057286 | 0.039453 | 0.899841 | 0.888237 | 0.884573 | 0.869305 | 0.86619 | 0.854159 | 0 | 0.004602 | 0.235865 | 25,875 | 558 | 207 | 46.370968 | 0.823538 | 0.336155 | 0 | 0.720137 | 1 | 0 | 0.135049 | 0.067652 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16041 | false | 0.003413 | 0.017065 | 0 | 0.273038 | 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 |
c3bc2c3b6896e186793d6fcb0281c38136f93bed | 4,235 | py | Python | care/facility/migrations/0067_auto_20200402_1841.py | gigincg/care | 07be6a7982b5c46a854e3435a52662f32800c8ae | [
"MIT"
] | 189 | 2020-03-17T17:18:58.000Z | 2022-02-22T09:49:45.000Z | care/facility/migrations/0067_auto_20200402_1841.py | gigincg/care | 07be6a7982b5c46a854e3435a52662f32800c8ae | [
"MIT"
] | 598 | 2020-03-19T21:22:09.000Z | 2022-03-30T05:08:37.000Z | care/facility/migrations/0067_auto_20200402_1841.py | gigincg/care | 07be6a7982b5c46a854e3435a52662f32800c8ae | [
"MIT"
] | 159 | 2020-03-19T18:45:56.000Z | 2022-03-17T13:23:12.000Z | # Generated by Django 2.2.11 on 2020-04-02 18:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('facility', '0066_auto_20200402_1806'),
]
operations = [
migrations.AlterField(
model_name='historicalpatientregistration',
... | 50.416667 | 237 | 0.61464 | 431 | 4,235 | 5.902552 | 0.213457 | 0.110063 | 0.137579 | 0.159591 | 0.940252 | 0.940252 | 0.860849 | 0.841981 | 0.823113 | 0.823113 | 0 | 0.017375 | 0.238961 | 4,235 | 83 | 238 | 51.024096 | 0.771952 | 0.010862 | 0 | 0.909091 | 1 | 0 | 0.320277 | 0.083592 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.051948 | 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 |
c3c09a5694befd46a62cc1eb0446cbad360a1bf7 | 23,792 | py | Python | tests/integration/test_access.py | alexcfaber/katka-core | 39a09f76b052f879ad5c0d53b74593c049930d5e | [
"Apache-2.0"
] | null | null | null | tests/integration/test_access.py | alexcfaber/katka-core | 39a09f76b052f879ad5c0d53b74593c049930d5e | [
"Apache-2.0"
] | null | null | null | tests/integration/test_access.py | alexcfaber/katka-core | 39a09f76b052f879ad5c0d53b74593c049930d5e | [
"Apache-2.0"
] | null | null | null | import pytest
from tests.integration.conftest import anonymous_client, scoped_client, user_client
@pytest.mark.django_db
class TestList:
@pytest.mark.parametrize(
("client_ctx_manager", "url", "http_status", "expected_length"),
[
(anonymous_client, "/applications/", 403, None),
... | 67.977143 | 119 | 0.642317 | 2,493 | 23,792 | 5.86081 | 0.050943 | 0.203682 | 0.067757 | 0.061324 | 0.936418 | 0.894121 | 0.849429 | 0.841421 | 0.803983 | 0.719595 | 0 | 0.041291 | 0.202967 | 23,792 | 349 | 120 | 68.17192 | 0.72921 | 0.040896 | 0 | 0.56135 | 0 | 0 | 0.459589 | 0.417182 | 0 | 0 | 0 | 0 | 0.021472 | 1 | 0.018405 | false | 0 | 0.006135 | 0 | 0.042945 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c3d6489da43a2ad29cbe7287c4dfa4484a030e38 | 13,530 | py | Python | src/lucha_utils.py | sznicolas/luchadata | effc3579ef00103b6601f4a6b67a0ac1e0fbef91 | [
"MIT"
] | 3 | 2021-08-20T22:12:55.000Z | 2022-01-19T17:09:46.000Z | src/lucha_utils.py | sznicolas/luchadata | effc3579ef00103b6601f4a6b67a0ac1e0fbef91 | [
"MIT"
] | null | null | null | src/lucha_utils.py | sznicolas/luchadata | effc3579ef00103b6601f4a6b67a0ac1e0fbef91 | [
"MIT"
] | 1 | 2022-01-19T17:09:48.000Z | 2022-01-19T17:09:48.000Z | #!/usr/bin/env python3
"""
"""
from web3 import Web3
# first to last block containing a GenerateLuchador event
firstblock = 12450223
lastblock = 13046665
# Contracts data
lucha_contract_addr = "0x8b4616926705Fb61E9C4eeAc07cd946a5D4b0760"
lucha_abi = '[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"... | 712.105263 | 7,493 | 0.666519 | 1,289 | 13,530 | 6.957331 | 0.096974 | 0.071142 | 0.100357 | 0.107047 | 0.862623 | 0.84322 | 0.828167 | 0.762823 | 0.758363 | 0.708073 | 0 | 0.022618 | 0.003326 | 13,530 | 18 | 7,494 | 751.666667 | 0.642418 | 0.0068 | 0 | 0 | 1 | 0.285714 | 0.987786 | 0.987711 | 0 | 0 | 0.006256 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 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 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
c3e34fcfa228999b37adeec89ee7ef43350a50a3 | 61 | py | Python | problem_18/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | problem_18/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | problem_18/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | from .problem_18 import max_sub_arrays, max_sub_arrays_deque
| 30.5 | 60 | 0.885246 | 11 | 61 | 4.363636 | 0.727273 | 0.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.081967 | 61 | 1 | 61 | 61 | 0.821429 | 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 |
61877ccfd874f866d733ef6ccc36256f467864f9 | 112 | py | Python | src/accounts/forms/__init__.py | Talengi/phase | 60ff6f37778971ae356c5b2b20e0d174a8288bfe | [
"MIT"
] | 8 | 2016-01-29T11:53:40.000Z | 2020-03-02T22:42:02.000Z | src/accounts/forms/__init__.py | Talengi/phase | 60ff6f37778971ae356c5b2b20e0d174a8288bfe | [
"MIT"
] | 289 | 2015-03-23T07:42:52.000Z | 2022-03-11T23:26:10.000Z | src/accounts/forms/__init__.py | Talengi/phase | 60ff6f37778971ae356c5b2b20e0d174a8288bfe | [
"MIT"
] | 7 | 2015-12-08T09:03:20.000Z | 2020-05-11T15:36:51.000Z | # -*- coding: utf-8 -*-
from accounts.forms.fields import * # noqa
from accounts.forms.base import * # noqa
| 18.666667 | 43 | 0.660714 | 15 | 112 | 4.933333 | 0.666667 | 0.324324 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.1875 | 112 | 5 | 44 | 22.4 | 0.802198 | 0.276786 | 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 |
4ef5b9e80c846bf8c9ffd7c4bf44ccc8cb8c2f52 | 8,861 | py | Python | analysis/analysis.py | tonandr/spark_deep | f9fcb3d7fe9f23624b545b4d5e7506ba6d95f010 | [
"Apache-2.0"
] | null | null | null | analysis/analysis.py | tonandr/spark_deep | f9fcb3d7fe9f23624b545b4d5e7506ba6d95f010 | [
"Apache-2.0"
] | 1 | 2020-10-14T04:36:12.000Z | 2020-10-14T04:36:12.000Z | analysis/analysis.py | tonandr/spark_fnn | f9fcb3d7fe9f23624b545b4d5e7506ba6d95f010 | [
"Apache-2.0"
] | null | null | null | '''
Analysis of learning models' evaluation
@author: Inwoo Chung (gutomitai@gmail.com)
@since: Sep. 17, 2016
'''
'''
Analysis about SparkNeuralNetwork.
'''
import math
# Calculate judging accuracy for classification.
def calJudgingAccuracyC(yResults, jResult):
# Count matched numbers.
l... | 40.646789 | 150 | 0.681639 | 1,049 | 8,861 | 5.697807 | 0.148713 | 0.040154 | 0.028108 | 0.032123 | 0.907479 | 0.883219 | 0.847917 | 0.842898 | 0.816463 | 0.816296 | 0 | 0.033549 | 0.199413 | 8,861 | 217 | 151 | 40.834101 | 0.808994 | 0.052026 | 0 | 0.677852 | 0 | 0 | 0.046523 | 0.012666 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.04698 | null | null | 0.040268 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f61a116e126d13c809fc02f184e5dbf9c64c8a1c | 131 | py | Python | tests/ensembl_gene_test.py | ACastanza/ensembl-genes | 64f053f464e2a1a60deaaaa7da6043bfab14c826 | [
"Apache-2.0"
] | null | null | null | tests/ensembl_gene_test.py | ACastanza/ensembl-genes | 64f053f464e2a1a60deaaaa7da6043bfab14c826 | [
"Apache-2.0"
] | null | null | null | tests/ensembl_gene_test.py | ACastanza/ensembl-genes | 64f053f464e2a1a60deaaaa7da6043bfab14c826 | [
"Apache-2.0"
] | null | null | null | from ensembl_genes.ensembl_genes import Ensembl_Gene_Queries
def test_ensembl_gene_queries() -> None:
Ensembl_Gene_Queries()
| 21.833333 | 60 | 0.824427 | 18 | 131 | 5.5 | 0.5 | 0.333333 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114504 | 131 | 5 | 61 | 26.2 | 0.853448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
f630077fc91a13993ff5b4cc8a7b6b217cb6a663 | 29,867 | py | Python | python-idx-demo/Demo/LoginRadius/api/advanced/multifactorauthentication_api.py | akshay-s-770/login-page-demos | d2006f3af0d893488586d0da5ad54d84f99e2f92 | [
"MIT"
] | 1 | 2020-08-01T22:11:13.000Z | 2020-08-01T22:11:13.000Z | python-idx-demo/Demo/LoginRadius/api/advanced/multifactorauthentication_api.py | akshay-s-770/login-page-demos | d2006f3af0d893488586d0da5ad54d84f99e2f92 | [
"MIT"
] | 4 | 2021-09-28T05:58:17.000Z | 2022-03-31T01:51:36.000Z | python-idx-demo/Demo/LoginRadius/api/advanced/multifactorauthentication_api.py | shvam0000/login-page-demos | 0cbf3df58243326f77e57b2d7dbca868f830107b | [
"MIT"
] | 13 | 2020-06-23T20:45:32.000Z | 2022-02-14T14:26:01.000Z | # -- coding: utf-8 --
# Created by LoginRadius Development Team
# Copyright 2019 LoginRadius Inc. All rights reserved.
#
class MultiFactorAuthenticationApi:
def __init__(self, lr_object):
"""
:param lr_object: this is the reference to the parent LoginRadius object.
"""
self._lr_ob... | 49.204283 | 493 | 0.708642 | 3,728 | 29,867 | 5.340933 | 0.062232 | 0.05384 | 0.079554 | 0.039375 | 0.91015 | 0.905429 | 0.889257 | 0.875496 | 0.839134 | 0.815228 | 0 | 0.007736 | 0.220946 | 29,867 | 606 | 494 | 49.285479 | 0.847989 | 0.322764 | 0 | 0.811594 | 0 | 0 | 0.123398 | 0.071444 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076087 | false | 0.043478 | 0 | 0 | 0.152174 | 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 |
f64a3ae5a0386665a11c1d7c9059b13515b00fc0 | 12,475 | py | Python | src/main/apps/quiz/migrations/0002_auto_20210309_1526.py | kid7960/Uni-board | 6a9525bef972a31576fc5dc190d9fe106e701c3e | [
"MIT"
] | null | null | null | src/main/apps/quiz/migrations/0002_auto_20210309_1526.py | kid7960/Uni-board | 6a9525bef972a31576fc5dc190d9fe106e701c3e | [
"MIT"
] | null | null | null | src/main/apps/quiz/migrations/0002_auto_20210309_1526.py | kid7960/Uni-board | 6a9525bef972a31576fc5dc190d9fe106e701c3e | [
"MIT"
] | null | null | null | # Generated by Django 3.1.7 on 2021-03-09 15:26
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('quiz', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='quiz_model',
name='quiz_q10_answer',
... | 34.271978 | 63 | 0.560721 | 1,227 | 12,475 | 5.422983 | 0.04727 | 0.162308 | 0.234445 | 0.243463 | 0.979261 | 0.978058 | 0.978058 | 0.978058 | 0.978058 | 0.967839 | 0 | 0.045175 | 0.334589 | 12,475 | 363 | 64 | 34.366391 | 0.756415 | 0.003607 | 0 | 0.812325 | 1 | 0 | 0.109591 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002801 | 0 | 0.011204 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
f64a4353e5c88b155e1aa32015b3d7c34b74c8f8 | 10,979 | py | Python | molsysmt/forms/api_file_msmpk.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/forms/api_file_msmpk.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/forms/api_file_msmpk.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | import numpy as np
from molsysmt.forms.common_gets import *
from molsysmt._private_tools.exceptions import *
from molsysmt import puw
import sys
import importlib
from molsysmt.native.molecular_system import molecular_system_components
from molsysmt._private_tools.files_and_directories import temp_filename
form_name='f... | 34.416928 | 136 | 0.776665 | 1,564 | 10,979 | 5.089514 | 0.070332 | 0.232161 | 0.238693 | 0.143719 | 0.834673 | 0.820352 | 0.812563 | 0.797487 | 0.78706 | 0.752261 | 0 | 0.000311 | 0.122051 | 10,979 | 318 | 137 | 34.525157 | 0.825501 | 0.005192 | 0 | 0.401198 | 0 | 0 | 0.037537 | 0.00312 | 0 | 0 | 0 | 0 | 0 | 1 | 0.335329 | false | 0 | 0.083832 | 0.257485 | 0.718563 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 11 |
f66d895d318123e038fb426fa906dde99164f125 | 13,018 | py | Python | bxi.py | Ahsan2020xpos/bxi | 88d20c3778aa71ada64fac687afc007b6baab095 | [
"Apache-2.0"
] | null | null | null | bxi.py | Ahsan2020xpos/bxi | 88d20c3778aa71ada64fac687afc007b6baab095 | [
"Apache-2.0"
] | null | null | null | bxi.py | Ahsan2020xpos/bxi | 88d20c3778aa71ada64fac687afc007b6baab095 | [
"Apache-2.0"
] | null | null | null | # Auther : Ahsan
# GitHub : https://github.com/Binyamin-binni
# YouTube Channel : Tricker Ahsan
import base64
exec(base64.b16decode('2320436F6D70696C6564204279203A2042696E79616D696E0A2320476974487562203A2068747470733A2F2F6769746875622E636F6D2F42696E79616D696E2D62696E6E690A2320596F7554756265204368616E6E656C203A205472696... | 2,603.6 | 12,908 | 0.997311 | 18 | 13,018 | 721.277778 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.857022 | 0.001229 | 13,018 | 5 | 12,908 | 2,603.6 | 0.141517 | 0.006837 | 0 | 0 | 0 | 0 | 0.996596 | 0.996596 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 12 |
f674aa16f5b49755ef43f5b43dd8ed744676eee2 | 33,473 | py | Python | data_loading.py | se7endragon/cnn_model | 21d76edfa73bd679182430341979f8d17f7b2940 | [
"MIT"
] | null | null | null | data_loading.py | se7endragon/cnn_model | 21d76edfa73bd679182430341979f8d17f7b2940 | [
"MIT"
] | null | null | null | data_loading.py | se7endragon/cnn_model | 21d76edfa73bd679182430341979f8d17f7b2940 | [
"MIT"
] | null | null | null | import tensorflow as tf
import numpy as np
import pandas as pd
import os
import matplotlib.pyplot as plt
from matplotlib.image import imread, cm
from mpl_toolkits.mplot3d import Axes3D
from IPython.display import Image, display
from copy import deepcopy
from sklearn import datasets
import inception ... | 36.622538 | 130 | 0.622322 | 5,171 | 33,473 | 3.725392 | 0.062077 | 0.071013 | 0.045266 | 0.040698 | 0.827398 | 0.785662 | 0.768169 | 0.744498 | 0.730845 | 0.716933 | 0 | 0.017717 | 0.241209 | 33,473 | 913 | 131 | 36.662651 | 0.740738 | 0.08834 | 0 | 0.709428 | 0 | 0 | 0.234441 | 0.024178 | 0 | 0 | 0 | 0 | 0.001546 | 1 | 0.026275 | false | 0 | 0.027821 | 0 | 0.075734 | 0.474498 | 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 | 1 | 0 | 8 |
9cda2464a3fa6ecef6ca200d69be387a5db91ff2 | 130 | py | Python | fiction_segmentation/run/__init__.py | aklagoo/fiction_segmentation | c14d5c380f800a632bc9f3199e69e6b25413e086 | [
"MIT"
] | null | null | null | fiction_segmentation/run/__init__.py | aklagoo/fiction_segmentation | c14d5c380f800a632bc9f3199e69e6b25413e086 | [
"MIT"
] | null | null | null | fiction_segmentation/run/__init__.py | aklagoo/fiction_segmentation | c14d5c380f800a632bc9f3199e69e6b25413e086 | [
"MIT"
] | null | null | null | from fiction_segmentation.run.RunManager import _Metrics, _Epoch, _Run
from fiction_segmentation.run.RunBuilder import RunBuilder
| 43.333333 | 70 | 0.876923 | 16 | 130 | 6.8125 | 0.5625 | 0.201835 | 0.422018 | 0.477064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 130 | 2 | 71 | 65 | 0.908333 | 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 | 0 | 0 | 0 | 7 |
1487cb17b68704ee8d1b3e13629bd150c7e1abde | 184 | py | Python | template_multi_level/__init__.py | maryami66/template_multi_level | eb81d6c7b7120383b6e160cbfe9d586ba58443e1 | [
"MIT"
] | null | null | null | template_multi_level/__init__.py | maryami66/template_multi_level | eb81d6c7b7120383b6e160cbfe9d586ba58443e1 | [
"MIT"
] | null | null | null | template_multi_level/__init__.py | maryami66/template_multi_level | eb81d6c7b7120383b6e160cbfe9d586ba58443e1 | [
"MIT"
] | null | null | null | import template_multi_level
from template_multi_level.level_1.file_1_1 import *
from template_multi_level.level_1.file_1_1 import *
from template_multi_level.level_2.file_2_1 import *
| 36.8 | 51 | 0.875 | 34 | 184 | 4.235294 | 0.235294 | 0.361111 | 0.5 | 0.458333 | 0.743056 | 0.743056 | 0.743056 | 0.743056 | 0.743056 | 0.743056 | 0 | 0.052941 | 0.076087 | 184 | 4 | 52 | 46 | 0.794118 | 0 | 0 | 0.5 | 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 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 12 |
1495b17d98d78f493df3fa851d164e30bfc792b4 | 65,291 | py | Python | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/xe_sanity/configurations.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/xe_sanity/configurations.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/xe_sanity/configurations.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | # python
import copy
class TriggersConfigs():
basic_config = {
'devices': {
'uut': {
'1': {
'config': 'lldp run\n'\
'interface GigabitEthernet1/0/13\n'\
'no shutdown\n'\
... | 48.220827 | 108 | 0.36299 | 5,318 | 65,291 | 4.433998 | 0.04419 | 0.034733 | 0.232655 | 0.202926 | 0.940331 | 0.914673 | 0.867981 | 0.846141 | 0.832909 | 0.813316 | 0 | 0.075754 | 0.542663 | 65,291 | 1,353 | 109 | 48.256467 | 0.713932 | 0.000092 | 0 | 0.779789 | 0 | 0.004525 | 0.411256 | 0.091157 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.00905 | 0.003017 | 0 | 0.022624 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 10 |
214a7ac0321b88a7173e6413e3477a6a9497ff1a | 7,949 | py | Python | tests/krs/test_ldap.py | WIPACrepo/keycloak-rest-services | 2661b0db2dd320bdb8eefc62c805188bec52ecc7 | [
"MIT"
] | 1 | 2021-09-23T14:39:36.000Z | 2021-09-23T14:39:36.000Z | tests/krs/test_ldap.py | WIPACrepo/keycloak-rest-services | 2661b0db2dd320bdb8eefc62c805188bec52ecc7 | [
"MIT"
] | 38 | 2020-08-31T22:53:09.000Z | 2022-03-28T20:55:39.000Z | tests/krs/test_ldap.py | WIPACrepo/keycloak-rest-services | 2661b0db2dd320bdb8eefc62c805188bec52ecc7 | [
"MIT"
] | null | null | null | import pytest
from krs import ldap
from ..util import ldap_bootstrap
def test_get_users_none(ldap_bootstrap):
with pytest.raises(KeyError):
ldap_bootstrap.get_user('foo')
def test_list_users_none(ldap_bootstrap):
ret = ldap_bootstrap.list_users()
assert not ret
def test_create_user(ldap_bootst... | 40.556122 | 135 | 0.699711 | 1,062 | 7,949 | 5.001883 | 0.070621 | 0.230045 | 0.092997 | 0.083208 | 0.872741 | 0.840926 | 0.802146 | 0.744917 | 0.734187 | 0.698795 | 0 | 0.009668 | 0.14115 | 7,949 | 195 | 136 | 40.764103 | 0.76842 | 0.017738 | 0 | 0.668874 | 0 | 0 | 0.140441 | 0 | 0 | 0 | 0 | 0 | 0.278146 | 1 | 0.139073 | false | 0 | 0.019868 | 0 | 0.15894 | 0.033113 | 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 |
0d3f6e1be907a46c751b69c28887f3d5795c685b | 1,147 | py | Python | tools/code_helper/register.py | tkgamegroup/flame | f1628100cc66e13f84ea3047ea33af019caeb01b | [
"MIT"
] | 25 | 2018-02-28T05:59:50.000Z | 2022-03-18T03:11:52.000Z | tools/code_helper/register.py | tkgamegroup/flame | e5884c7a773c351f3dadadbdb908cfe00f1ce586 | [
"MIT"
] | null | null | null | tools/code_helper/register.py | tkgamegroup/flame | e5884c7a773c351f3dadadbdb908cfe00f1ce586 | [
"MIT"
] | 5 | 2018-05-17T04:16:30.000Z | 2021-12-22T04:02:02.000Z | import os
flame_path = os.environ["FLAME_PATH"]
os.system("reg add HKEY_CLASSES_ROOT\\Directory\\Background\\shell\\NewComponentTemplate /VE /F /D \"New Component Template\"")
os.system("reg add HKEY_CLASSES_ROOT\\Directory\\Background\\shell\\NewComponentTemplate\\Command /VE /F /D \"%s\\code_helper.exe -cmd new_com... | 88.230769 | 194 | 0.742807 | 168 | 1,147 | 4.922619 | 0.321429 | 0.058041 | 0.079807 | 0.101572 | 0.749698 | 0.719468 | 0.719468 | 0.719468 | 0.719468 | 0.719468 | 0 | 0 | 0.088928 | 1,147 | 12 | 195 | 95.583333 | 0.790431 | 0.034002 | 0 | 0 | 0 | 0 | 0.608145 | 0.390045 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.111111 | null | null | 0.111111 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b4b072c837e805507bb2d7182b2e6443665ff5a5 | 17,760 | py | Python | mpl_animationmanager/test/test_based_on_examples.py | luchko/mpl_animation-manager | 04405c8c73b72cbfbe0f39a0dbe7a90172b3a5cb | [
"MIT"
] | 16 | 2017-04-14T00:27:45.000Z | 2021-04-28T10:59:28.000Z | mpl_animationmanager/test/test_based_on_examples.py | luchko/mpl_animation-manager | 04405c8c73b72cbfbe0f39a0dbe7a90172b3a5cb | [
"MIT"
] | null | null | null | mpl_animationmanager/test/test_based_on_examples.py | luchko/mpl_animation-manager | 04405c8c73b72cbfbe0f39a0dbe7a90172b3a5cb | [
"MIT"
] | 2 | 2018-05-16T10:02:47.000Z | 2020-07-09T02:33:57.000Z | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Unittest of the Matplotlib animation manager basic functionality
Unittests is strongly binded with the example moudules and AnimationManager
class itself which support TestCase running.
Unittest should be run by passing the TestCase to manager instance (mng)
via t... | 38.111588 | 81 | 0.648874 | 2,352 | 17,760 | 4.80102 | 0.102041 | 0.092366 | 0.038257 | 0.073326 | 0.868845 | 0.861672 | 0.851399 | 0.82678 | 0.823858 | 0.813762 | 0 | 0.013081 | 0.263964 | 17,760 | 466 | 82 | 38.111588 | 0.85075 | 0.296847 | 0 | 0.825279 | 0 | 0 | 0.012774 | 0.004176 | 0 | 0 | 0 | 0 | 0.245353 | 1 | 0.081784 | false | 0 | 0.026022 | 0 | 0.126394 | 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 |
b4f0f8731d2f032b138d7d11c0a604e3436513c0 | 1,590 | py | Python | keras_models.py | roberto1648/churn-prediction-with-pyspark-and-keras | ff11cb7f9058e33587909c7a0775f55995a9fede | [
"MIT"
] | 4 | 2019-12-15T13:35:00.000Z | 2020-09-21T03:11:27.000Z | keras_models.py | roberto1648/churn-prediction-with-pyspark-and-keras | ff11cb7f9058e33587909c7a0775f55995a9fede | [
"MIT"
] | null | null | null | keras_models.py | roberto1648/churn-prediction-with-pyspark-and-keras | ff11cb7f9058e33587909c7a0775f55995a9fede | [
"MIT"
] | 2 | 2021-01-17T15:52:00.000Z | 2021-03-29T00:18:25.000Z | from keras.layers import Dense, Dropout, Flatten
from keras.models import Input, Model
import keras
def model1(
input_shape=(None, 20),
hidden_layers=[(4, 0.25), (4, 0.25)],
nlabels=1,
verbose=True,
):
inp = x = Input(batch_shape=input_shape, name='input')
for layer_number, (n_u... | 28.392857 | 74 | 0.607547 | 204 | 1,590 | 4.573529 | 0.264706 | 0.07074 | 0.017149 | 0.07717 | 0.831726 | 0.831726 | 0.831726 | 0.831726 | 0.831726 | 0.831726 | 0 | 0.025402 | 0.257233 | 1,590 | 55 | 75 | 28.909091 | 0.764606 | 0 | 0 | 0.714286 | 0 | 0 | 0.056639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.071429 | null | null | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
25845a5a8e312c3e1324e3d235a8450f8bd0a6b0 | 3,395 | py | Python | scripts/4_postprocess_sets_tps/4_plot_tps.py | gokul-uf/asl-fall-2017 | 83e882d9d4c52bdd279b4e3eed8cd7ac768e88d7 | [
"MIT"
] | 1 | 2018-06-13T16:57:59.000Z | 2018-06-13T16:57:59.000Z | scripts/4_postprocess_sets_tps/4_plot_tps.py | gokul-uf/asl-fall-2017 | 83e882d9d4c52bdd279b4e3eed8cd7ac768e88d7 | [
"MIT"
] | null | null | null | scripts/4_postprocess_sets_tps/4_plot_tps.py | gokul-uf/asl-fall-2017 | 83e882d9d4c52bdd279b4e3eed8cd7ac768e88d7 | [
"MIT"
] | null | null | null | from __future__ import print_function
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
num_threads = [8, 16, 32, 64]
# sns.set()
plt.figure()
plt.title("Throughput vs. Num of Virtual Clients")
for num_thread in num_threads:
num_vc = []
val = []
std = []
with open("... | 27.16 | 100 | 0.663328 | 585 | 3,395 | 3.700855 | 0.150427 | 0.046189 | 0.073903 | 0.039261 | 0.860046 | 0.836028 | 0.815704 | 0.8 | 0.8 | 0.8 | 0 | 0.011575 | 0.160236 | 3,395 | 125 | 101 | 27.16 | 0.747808 | 0.009131 | 0 | 0.754717 | 0 | 0 | 0.221297 | 0.041939 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04717 | 0 | 0.04717 | 0.009434 | 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 |
258e6c20d1e58a43b469aaccab0db85cada6c1ea | 98 | py | Python | info/api/house/__init__.py | googleliyang/flask_house_rent | 93299086058ef5e6e32759c15fba2ade21c992b5 | [
"Apache-2.0"
] | null | null | null | info/api/house/__init__.py | googleliyang/flask_house_rent | 93299086058ef5e6e32759c15fba2ade21c992b5 | [
"Apache-2.0"
] | 4 | 2021-03-18T22:19:24.000Z | 2022-03-11T23:40:16.000Z | info/api/house/__init__.py | googleliyang/flask_house_rent | 93299086058ef5e6e32759c15fba2ade21c992b5 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
house_print = Blueprint('house_print', __name__)
from . import house | 19.6 | 48 | 0.795918 | 13 | 98 | 5.538462 | 0.538462 | 0.388889 | 0.527778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 5 | 49 | 19.6 | 0.847059 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
25cb790c30d04b5e11e3652482e62d2058f3b7f1 | 174 | py | Python | Services/IUserManager.py | nafis-sadik/flask-mvc-example | 061f0f827a62a91495694db2b600aa3fe7b3b165 | [
"MIT"
] | null | null | null | Services/IUserManager.py | nafis-sadik/flask-mvc-example | 061f0f827a62a91495694db2b600aa3fe7b3b165 | [
"MIT"
] | null | null | null | Services/IUserManager.py | nafis-sadik/flask-mvc-example | 061f0f827a62a91495694db2b600aa3fe7b3b165 | [
"MIT"
] | null | null | null | class IUserManager:
def logIn(self, userId, password):
raise NotImplementedError
def SignUp(self, userId, password):
raise NotImplementedError
| 24.857143 | 40 | 0.678161 | 16 | 174 | 7.375 | 0.625 | 0.169492 | 0.305085 | 0.389831 | 0.711864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258621 | 174 | 6 | 41 | 29 | 0.914729 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
25ec2ed065760c5e23e3425a3497654c131f655e | 182 | py | Python | examples/docs_snippets/docs_snippets_tests/concepts_tests/io_management_tests/test_custom_io_manager.py | withshubh/dagster | ff4a0db53e126f44097a337eecef54988cc718ef | [
"Apache-2.0"
] | null | null | null | examples/docs_snippets/docs_snippets_tests/concepts_tests/io_management_tests/test_custom_io_manager.py | withshubh/dagster | ff4a0db53e126f44097a337eecef54988cc718ef | [
"Apache-2.0"
] | null | null | null | examples/docs_snippets/docs_snippets_tests/concepts_tests/io_management_tests/test_custom_io_manager.py | withshubh/dagster | ff4a0db53e126f44097a337eecef54988cc718ef | [
"Apache-2.0"
] | null | null | null | from dagster import execute_pipeline
from docs_snippets.concepts.io_management.custom_io_manager import my_pipeline
def test_custom_io_manager():
execute_pipeline(my_pipeline)
| 26 | 78 | 0.862637 | 26 | 182 | 5.615385 | 0.576923 | 0.205479 | 0.205479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093407 | 182 | 6 | 79 | 30.333333 | 0.884848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
d3232b92efbd0d5163d48e7a28a420e43dac3aa9 | 164,026 | py | Python | pysnmp/TVD-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/TVD-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/TVD-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module TVD-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TVD-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 21:20:44 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)... | 906.220994 | 7,237 | 0.696237 | 18,894 | 164,026 | 5.819096 | 0.02043 | 0.170866 | 0.341513 | 0.00473 | 0.961699 | 0.949284 | 0.935932 | 0.898095 | 0.894794 | 0.891247 | 0 | 0.015062 | 0.061374 | 164,026 | 180 | 7,238 | 911.255556 | 0.699063 | 0.001878 | 0 | 0 | 0 | 0 | 0.608329 | 0.139498 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.017341 | 0.040462 | 0 | 0.040462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
6c96848e154d88efce3017a206393380b3c02e16 | 68,699 | py | Python | src/test/python/thalesians/tsa/testchecks.py | saarahrasheed/tsa | e4460f707eeecb737663c48d8fc3245f0acb124c | [
"Apache-2.0"
] | 117 | 2017-06-30T14:29:32.000Z | 2022-02-10T00:54:35.000Z | src/test/python/thalesians/tsa/testchecks.py | saarahrasheed/tsa | e4460f707eeecb737663c48d8fc3245f0acb124c | [
"Apache-2.0"
] | 2 | 2017-09-01T11:42:14.000Z | 2017-11-29T20:00:19.000Z | src/test/python/thalesians/tsa/testchecks.py | saarahrasheed/tsa | e4460f707eeecb737663c48d8fc3245f0acb124c | [
"Apache-2.0"
] | 37 | 2017-07-05T19:51:10.000Z | 2021-04-27T00:11:18.000Z | import unittest
import thalesians.tsa.checks as checks
class TestConditions(unittest.TestCase):
def test_check(self):
checks.check(True is True)
checks.check(False is False)
checks.check(1 < 3)
checks.check(3 == 3)
checks.check(3 > 1)
with self.assertRaises(Assertio... | 49.10579 | 108 | 0.652047 | 8,962 | 68,699 | 4.766793 | 0.015733 | 0.079588 | 0.135183 | 0.205337 | 0.979799 | 0.959621 | 0.905641 | 0.855056 | 0.764771 | 0.661119 | 0 | 0.028909 | 0.218533 | 68,699 | 1,398 | 109 | 49.140916 | 0.766829 | 0.015517 | 0 | 0.271908 | 0 | 0 | 0.015929 | 0 | 0 | 0 | 0 | 0 | 0.59869 | 1 | 0.027027 | false | 0 | 0.018837 | 0.001638 | 0.048321 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6c9eaa6bb0e41244f2a4c65b80f3f9f7209c6927 | 570 | py | Python | pytorque/libs/errors.py | rauch/PyPBS | 33037b9fb0f704d42d9b2f398cd887efd1158e16 | [
"MIT"
] | 3 | 2016-09-28T12:33:23.000Z | 2017-04-29T02:40:00.000Z | pytorque/libs/errors.py | rauch/PyPBS | 33037b9fb0f704d42d9b2f398cd887efd1158e16 | [
"MIT"
] | 1 | 2015-05-31T08:41:47.000Z | 2015-05-31T08:41:47.000Z | pytorque/libs/errors.py | rauch/PyPBS | 33037b9fb0f704d42d9b2f398cd887efd1158e16 | [
"MIT"
] | 5 | 2015-01-26T02:43:57.000Z | 2021-04-25T00:20:18.000Z | class ShellException(Exception):
def __init__(self, msg):
self._msg = msg
def __str__(self):
return repr(self._msg)
class ParseException(Exception):
def __init__(self, msg):
self._msg = msg
def __str__(self):
return repr(self._msg)
class TreeException(Exception):
... | 18.387097 | 33 | 0.624561 | 68 | 570 | 4.647059 | 0.191176 | 0.265823 | 0.202532 | 0.253165 | 0.806962 | 0.806962 | 0.806962 | 0.806962 | 0.806962 | 0.806962 | 0 | 0 | 0.270175 | 570 | 30 | 34 | 19 | 0.759615 | 0 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 13 |
9f764a36792ac7971d122418a66cea501fbfb90d | 1,821 | py | Python | capstone/capdb/migrations/0086_auto_20191216_1803.py | rachelaus/capstone | 2affa02706f9b1a99d032c66f258a7421c40a35e | [
"MIT"
] | 134 | 2017-07-12T17:03:06.000Z | 2022-03-27T06:38:29.000Z | capstone/capdb/migrations/0086_auto_20191216_1803.py | rachelaus/capstone | 2affa02706f9b1a99d032c66f258a7421c40a35e | [
"MIT"
] | 1,362 | 2017-06-22T17:42:49.000Z | 2022-03-31T15:28:00.000Z | capstone/capdb/migrations/0086_auto_20191216_1803.py | rachelaus/capstone | 2affa02706f9b1a99d032c66f258a7421c40a35e | [
"MIT"
] | 38 | 2017-06-22T14:46:23.000Z | 2022-03-16T05:32:54.000Z | # Generated by Django 2.2.8 on 2019-12-16 18:03
import django.contrib.postgres.fields.jsonb
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('capdb', '0085_auto_20191211_1708'),
]
operations = [
migrations.AlterField(
model_name='case... | 52.028571 | 272 | 0.673806 | 234 | 1,821 | 5.162393 | 0.324786 | 0.029801 | 0.086921 | 0.111755 | 0.877483 | 0.850993 | 0.850993 | 0.850993 | 0.807119 | 0.807119 | 0 | 0.021739 | 0.216914 | 1,821 | 34 | 273 | 53.558824 | 0.825386 | 0.024712 | 0 | 0.714286 | 1 | 0.107143 | 0.348365 | 0.037768 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.178571 | 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 |
4cc0e1ec8ecfb2bed241592acede35f1c828415a | 270 | py | Python | xfeat/optuna_selector/__init__.py | Drunkar/xfeat | 7eced097072a67f06548cc778b27b2310c5e5511 | [
"MIT"
] | 304 | 2020-06-19T05:00:14.000Z | 2022-03-19T19:39:04.000Z | xfeat/optuna_selector/__init__.py | Drunkar/xfeat | 7eced097072a67f06548cc778b27b2310c5e5511 | [
"MIT"
] | 4 | 2020-06-28T11:30:33.000Z | 2022-02-17T14:31:39.000Z | xfeat/optuna_selector/__init__.py | Drunkar/xfeat | 7eced097072a67f06548cc778b27b2310c5e5511 | [
"MIT"
] | 15 | 2020-06-19T08:34:56.000Z | 2022-02-17T14:51:30.000Z | from xfeat.optuna_selector._kbest_explorer import KBestThresholdExplorer # NOQA
from xfeat.optuna_selector._gbdt_feature_explorer import GBDTFeatureExplorer # NOQA
from xfeat.optuna_selector._group_combination_explorer import ( # NOQA
GroupCombinationExplorer,
)
| 45 | 84 | 0.855556 | 29 | 270 | 7.586207 | 0.517241 | 0.122727 | 0.204545 | 0.313636 | 0.245455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 270 | 5 | 85 | 54 | 0.90535 | 0.051852 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4cd595047830d70da5bff180d908cd24121d24e8 | 148 | py | Python | cellrank/tl/estimators/mixins/decomposition/__init__.py | WeilerP/cellrank | c8c2b9f6bd2448861fb414435aee7620ca5a0bad | [
"BSD-3-Clause"
] | 172 | 2020-03-19T19:50:53.000Z | 2022-03-28T09:36:04.000Z | cellrank/tl/estimators/mixins/decomposition/__init__.py | WeilerP/cellrank | c8c2b9f6bd2448861fb414435aee7620ca5a0bad | [
"BSD-3-Clause"
] | 702 | 2020-03-19T08:09:04.000Z | 2022-03-30T09:55:14.000Z | cellrank/tl/estimators/mixins/decomposition/__init__.py | WeilerP/cellrank | c8c2b9f6bd2448861fb414435aee7620ca5a0bad | [
"BSD-3-Clause"
] | 17 | 2020-04-07T03:11:02.000Z | 2022-02-02T20:39:16.000Z | from cellrank.tl.estimators.mixins.decomposition._eigen import EigenMixin
from cellrank.tl.estimators.mixins.decomposition._schur import SchurMixin
| 49.333333 | 73 | 0.878378 | 18 | 148 | 7.111111 | 0.611111 | 0.1875 | 0.21875 | 0.375 | 0.671875 | 0.671875 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 148 | 2 | 74 | 74 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4cea621dd013fc67bb97d9f75c40341c4bf13a7e | 109,050 | py | Python | orbxd.py | Recode24/cr4ck | 264550c44487117ad01cb07bd88c156043eaefd7 | [
"MIT"
] | null | null | null | orbxd.py | Recode24/cr4ck | 264550c44487117ad01cb07bd88c156043eaefd7 | [
"MIT"
] | null | null | null | orbxd.py | Recode24/cr4ck | 264550c44487117ad01cb07bd88c156043eaefd7 | [
"MIT"
] | null | null | null | #coding=utf-8
#Open Source Code Syarat? Subrek Channel Gua & Jangan Ganti Bot Follow! Cukup Tambahkan Bot Follow Sajah!
# Ingat Ini Hanya Untuk Contoh Project!. Kalo Mau Recode, Recode Ajah Itung² Buat Latihan Lu
# Kalo Mau Izin, Izin lewat instgrm/email/fb Ajah
# insgrm : https://www.instagram.com/ngemry7
# email ... | 71.555118 | 43,318 | 0.669317 | 19,102 | 109,050 | 3.76971 | 0.052193 | 0.013637 | 0.04312 | 0.088392 | 0.87153 | 0.859629 | 0.847158 | 0.838728 | 0.832618 | 0.826647 | 0 | 0.181568 | 0.120202 | 109,050 | 1,523 | 43,319 | 71.602101 | 0.567583 | 0.014415 | 0 | 0.666164 | 0 | 0.462698 | 0.685348 | 0.263913 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.046722 | 0.012811 | null | null | 0.180859 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
981558cf149b1c375e113c9babfee39ebbaf52dc | 5,688 | py | Python | tests/test_basic.py | brendan0powers/memestra | d68d7f416907fab067a0b7fc3975052b6ec9f182 | [
"BSD-3-Clause"
] | 21 | 2020-03-10T13:10:17.000Z | 2021-06-14T17:54:01.000Z | tests/test_basic.py | brendan0powers/memestra | d68d7f416907fab067a0b7fc3975052b6ec9f182 | [
"BSD-3-Clause"
] | 48 | 2020-03-28T21:35:40.000Z | 2022-02-14T15:14:47.000Z | tests/test_basic.py | brendan0powers/memestra | d68d7f416907fab067a0b7fc3975052b6ec9f182 | [
"BSD-3-Clause"
] | 9 | 2020-03-18T12:57:19.000Z | 2021-11-21T09:40:25.000Z | from unittest import TestCase
from textwrap import dedent
from io import StringIO
import memestra
class TestBasic(TestCase):
def checkDeprecatedUses(self, code, expected_output, decorator=('decoratortest', 'deprecated')):
sio = StringIO(dedent(code))
output = memestra.memestra(sio, decorator, None... | 22.661355 | 100 | 0.445323 | 511 | 5,688 | 4.874755 | 0.101761 | 0.051385 | 0.151746 | 0.156564 | 0.832196 | 0.832196 | 0.806102 | 0.764352 | 0.727419 | 0.727419 | 0 | 0.021277 | 0.413326 | 5,688 | 250 | 101 | 22.752 | 0.725202 | 0 | 0 | 0.827586 | 0 | 0 | 0.462553 | 0.00879 | 0 | 0 | 0 | 0 | 0.011494 | 1 | 0.091954 | false | 0.086207 | 0.155172 | 0 | 0.258621 | 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 |
981a79c8e63851a61c265a8b603f97eea31d45e4 | 1,853 | py | Python | Settings/set1-test_of_models_against_datasets/img299.py | previtus/MGR-Project-Code | 1126215059eb3f731dcf78ec24d9a480e73abce6 | [
"MIT"
] | null | null | null | Settings/set1-test_of_models_against_datasets/img299.py | previtus/MGR-Project-Code | 1126215059eb3f731dcf78ec24d9a480e73abce6 | [
"MIT"
] | null | null | null | Settings/set1-test_of_models_against_datasets/img299.py | previtus/MGR-Project-Code | 1126215059eb3f731dcf78ec24d9a480e73abce6 | [
"MIT"
] | null | null | null | def Setup(Settings,DefaultModel):
# set1-test_of_models_against_datasets/osm299.py
Settings["experiment_name"] = "set1_Img_model_versus_datasets_299px"
Settings["graph_histories"] = ['together'] #['all','together',[],[1,0],[0,0,0],[]]
# 5556x_minlen30_640px 5556x_minlen20_640px 5556x_reslen20_299px 5... | 44.119048 | 89 | 0.683756 | 237 | 1,853 | 5.025316 | 0.261603 | 0.293871 | 0.289673 | 0.092359 | 0.742233 | 0.742233 | 0.716205 | 0.716205 | 0.716205 | 0.716205 | 0 | 0.078915 | 0.124663 | 1,853 | 41 | 90 | 45.195122 | 0.655364 | 0.090664 | 0 | 0.65625 | 0 | 0 | 0.462225 | 0.100535 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2c5430e5dd6e17d82b3e84bbf30491bf4d92ef91 | 2,195 | py | Python | src/basic/migrations/0024_auto_20191212_1827.py | parezj/PartsView | a59a3804b574b11efd8f0472deae4dae1c16eb67 | [
"WTFPL"
] | 3 | 2020-05-10T08:40:36.000Z | 2020-10-28T18:09:31.000Z | src/basic/migrations/0024_auto_20191212_1827.py | parezj/PartsView | a59a3804b574b11efd8f0472deae4dae1c16eb67 | [
"WTFPL"
] | 1 | 2019-12-17T23:41:17.000Z | 2019-12-17T23:42:43.000Z | src/basic/migrations/0024_auto_20191212_1827.py | parezj/PartsView | a59a3804b574b11efd8f0472deae4dae1c16eb67 | [
"WTFPL"
] | 1 | 2021-06-11T10:49:10.000Z | 2021-06-11T10:49:10.000Z | # Generated by Django 2.2.8 on 2019-12-12 17:27
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('basic', '0023_auto_20191212_1820'),
]
operations = [
migrations.AlterField(
model_name='favouritepart',
name='digike... | 29.662162 | 50 | 0.553531 | 197 | 2,195 | 5.969543 | 0.208122 | 0.204082 | 0.255102 | 0.295918 | 0.87415 | 0.87415 | 0.87415 | 0.838435 | 0.838435 | 0.809524 | 0 | 0.037749 | 0.336219 | 2,195 | 73 | 51 | 30.068493 | 0.769389 | 0.020501 | 0 | 0.895522 | 1 | 0 | 0.139665 | 0.010708 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014925 | 0 | 0.059701 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
2c5670166e0cd0a581dc3141d07a58067267d893 | 73 | py | Python | apps/tts_tests/models/__init__.py | michaldomino/Voice-interface-optimization-server | fff59d4c5db599e35d4b5f3915bbb272d2000a26 | [
"MIT"
] | null | null | null | apps/tts_tests/models/__init__.py | michaldomino/Voice-interface-optimization-server | fff59d4c5db599e35d4b5f3915bbb272d2000a26 | [
"MIT"
] | null | null | null | apps/tts_tests/models/__init__.py | michaldomino/Voice-interface-optimization-server | fff59d4c5db599e35d4b5f3915bbb272d2000a26 | [
"MIT"
] | null | null | null | from .tts_test import TtsTest
from .tts_test_result import TtsTestResult
| 24.333333 | 42 | 0.863014 | 11 | 73 | 5.454545 | 0.636364 | 0.233333 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 2 | 43 | 36.5 | 0.923077 | 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 |
2c834cc89b51505c372001825927e48cd5db8b8f | 3,214 | py | Python | leads/swagger_params.py | sauravpanda/Django-CRM | c6b8cde02c9cf3d3f30f4e05b825f77d00734e87 | [
"MIT"
] | null | null | null | leads/swagger_params.py | sauravpanda/Django-CRM | c6b8cde02c9cf3d3f30f4e05b825f77d00734e87 | [
"MIT"
] | null | null | null | leads/swagger_params.py | sauravpanda/Django-CRM | c6b8cde02c9cf3d3f30f4e05b825f77d00734e87 | [
"MIT"
] | null | null | null | from drf_yasg import openapi
company_params_in_header = openapi.Parameter(
"company", openapi.IN_HEADER, required=True, type=openapi.TYPE_STRING
)
lead_list_get_params = [
company_params_in_header,
openapi.Parameter(
"title", openapi.IN_QUERY, type=openapi.TYPE_STRING
),
openapi.Parameter(... | 27.470085 | 74 | 0.672993 | 369 | 3,214 | 5.569106 | 0.135501 | 0.233577 | 0.218978 | 0.245255 | 0.906569 | 0.891484 | 0.833577 | 0.80438 | 0.761557 | 0.545985 | 0 | 0 | 0.214686 | 3,214 | 116 | 75 | 27.706897 | 0.814184 | 0 | 0 | 0.697248 | 0 | 0 | 0.071873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009174 | 0 | 0.009174 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2cadb51165109f752686ebf5d262e8c249fe2c27 | 1,825 | py | Python | gtk_modules/signals.py | henrikmidtiby/gtk_modules | 00e321b6b50ce2b9b31e08065b893752f1b2247c | [
"BSD-3-Clause"
] | null | null | null | gtk_modules/signals.py | henrikmidtiby/gtk_modules | 00e321b6b50ce2b9b31e08065b893752f1b2247c | [
"BSD-3-Clause"
] | null | null | null | gtk_modules/signals.py | henrikmidtiby/gtk_modules | 00e321b6b50ce2b9b31e08065b893752f1b2247c | [
"BSD-3-Clause"
] | null | null | null | from gi.repository import GObject
class DrawSignals(GObject.GObject):
__gsignals__ = {'video_draw': (GObject.SIGNAL_RUN_LAST, None, (GObject.TYPE_PYOBJECT, GObject.TYPE_PYOBJECT, GObject.TYPE_PYOBJECT, GObject.TYPE_PYOBJECT)),
'image_draw': (GObject.SIGNAL_RUN_LAST, None, (str,)),
... | 60.833333 | 160 | 0.629589 | 208 | 1,825 | 5.091346 | 0.168269 | 0.254958 | 0.241737 | 0.302172 | 0.855524 | 0.855524 | 0.829084 | 0.791313 | 0.791313 | 0.375826 | 0 | 0 | 0.235616 | 1,825 | 29 | 161 | 62.931034 | 0.75914 | 0 | 0 | 0.173913 | 0 | 0 | 0.126027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0.043478 | 0 | 0.304348 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2cc7eb2a5abe5414746c476f88721bd596bda843 | 165 | py | Python | dazu/typing/__init__.py | ralphg6/david | 064a7fd91961bdf372868e7b0a106102e9fc058b | [
"Apache-2.0"
] | 2 | 2020-01-07T01:15:49.000Z | 2020-02-21T00:48:49.000Z | dazu/typing/__init__.py | Dazu-io/dazu | 064a7fd91961bdf372868e7b0a106102e9fc058b | [
"Apache-2.0"
] | 41 | 2020-01-20T22:30:08.000Z | 2020-02-21T19:46:52.000Z | dazu/typing/__init__.py | Dazu-io/dazu | 064a7fd91961bdf372868e7b0a106102e9fc058b | [
"Apache-2.0"
] | 3 | 2019-03-15T17:56:04.000Z | 2020-01-17T20:29:37.000Z | from dazu.typing.message import Message
from dazu.typing.model import Model
from dazu.typing.module import Module
from dazu.typing.training_data import TrainingData
| 33 | 50 | 0.854545 | 25 | 165 | 5.6 | 0.4 | 0.228571 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09697 | 165 | 4 | 51 | 41.25 | 0.939597 | 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 |
39521d38d119ed7170f019b01c7d9db1f11ce54c | 6,040 | py | Python | mnemu/mnemu_presets.py | Corefracture/mnemu | dcbb0645966d0aea710f1755ba2dab88cd33e647 | [
"MIT"
] | 4 | 2018-10-10T08:10:49.000Z | 2020-08-05T22:09:15.000Z | mnemu/mnemu_presets.py | Corefracture/mnemu | dcbb0645966d0aea710f1755ba2dab88cd33e647 | [
"MIT"
] | 1 | 2018-09-11T16:08:13.000Z | 2018-09-11T16:09:11.000Z | mnemu/mnemu_presets.py | Corefracture/mnemu | dcbb0645966d0aea710f1755ba2dab88cd33e647 | [
"MIT"
] | null | null | null | # Copyright (C) 2018 Corefracture, Chris Coleman.
# www.corefracture.com - @corefracture
#
# Licensed under the MIT License, https://opensource.org/licenses/MIT
# See LICENSE.md for more details
from mnemu import netem_defs as NetEm
class MNemuPresets:
def __init__(self):
self._preset_download_names = {}... | 35.321637 | 95 | 0.641225 | 718 | 6,040 | 5.125348 | 0.130919 | 0.197283 | 0.165217 | 0.15 | 0.855163 | 0.843478 | 0.843478 | 0.830978 | 0.809783 | 0.783152 | 0 | 0.034397 | 0.263576 | 6,040 | 170 | 96 | 35.529412 | 0.792941 | 0.056291 | 0 | 0.769231 | 0 | 0 | 0.064437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.007692 | 0 | 0.084615 | 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 |
46c521bb66a4d7c4687f3162ec2f8498124dd995 | 9,552 | py | Python | models/model.py | zihaomu/HID_2020_baseline | c2c3705707695a969d24aa52c225aa3f85c7a4f3 | [
"Apache-2.0"
] | 34 | 2020-08-26T14:53:13.000Z | 2021-09-26T12:41:55.000Z | models/model.py | zihaomu/HID_2020_baseline | c2c3705707695a969d24aa52c225aa3f85c7a4f3 | [
"Apache-2.0"
] | 1 | 2020-10-10T14:29:25.000Z | 2020-10-10T19:28:03.000Z | models/model.py | zihaomu/HID_2020_baseline | c2c3705707695a969d24aa52c225aa3f85c7a4f3 | [
"Apache-2.0"
] | 7 | 2020-09-06T06:49:45.000Z | 2022-03-11T11:13:39.000Z | import torch
import torch.nn as nn
def conv3x3(in_planes, out_planes, stride=1, groups=1, dilation=1):
"""3x3 convolution with padding"""
return nn.Conv2d(in_planes, out_planes, kernel_size=3, stride=stride,
padding=dilation, groups=groups, bias=False, dilation=dilation)
def con... | 34.483755 | 91 | 0.505025 | 1,052 | 9,552 | 4.499049 | 0.115019 | 0.022185 | 0.019015 | 0.021973 | 0.860765 | 0.85675 | 0.807099 | 0.774773 | 0.774773 | 0.757448 | 0 | 0.057138 | 0.382538 | 9,552 | 277 | 92 | 34.483755 | 0.745337 | 0.008794 | 0 | 0.776744 | 0 | 0 | 0.007516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065116 | false | 0.009302 | 0.009302 | 0 | 0.144186 | 0.023256 | 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 |
46d1f0370f1391b529beed0b77d550d4063ad7a1 | 212 | py | Python | defining_classes_exercise/spoopify_08/project/song.py | B3WD/SU-python-oop | 1df32e57cb095b2e6cdab1211c19ba340c434874 | [
"MIT"
] | null | null | null | defining_classes_exercise/spoopify_08/project/song.py | B3WD/SU-python-oop | 1df32e57cb095b2e6cdab1211c19ba340c434874 | [
"MIT"
] | null | null | null | defining_classes_exercise/spoopify_08/project/song.py | B3WD/SU-python-oop | 1df32e57cb095b2e6cdab1211c19ba340c434874 | [
"MIT"
] | null | null | null | class Song:
def __init__(self, name, lenght, single):
self.name = name
self.lenght = lenght
self.single = single
def get_info(self):
return f"{self.name} - {self.lenght}" | 23.555556 | 45 | 0.584906 | 27 | 212 | 4.407407 | 0.444444 | 0.201681 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29717 | 212 | 9 | 46 | 23.555556 | 0.798658 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
200965efe6fb9e7612929b73f7436f36fa39354c | 72 | py | Python | portality/bll/__init__.py | glauberm/doaj | dc24dfcbf4a9f02ce5c9b09b611a5766ea5742f7 | [
"Apache-2.0"
] | 47 | 2015-04-24T13:13:39.000Z | 2022-03-06T03:22:42.000Z | portality/bll/__init__.py | glauberm/doaj | dc24dfcbf4a9f02ce5c9b09b611a5766ea5742f7 | [
"Apache-2.0"
] | 1,215 | 2015-01-02T14:29:38.000Z | 2022-03-28T14:19:13.000Z | portality/bll/__init__.py | glauberm/doaj | dc24dfcbf4a9f02ce5c9b09b611a5766ea5742f7 | [
"Apache-2.0"
] | 14 | 2015-11-27T13:01:23.000Z | 2021-05-21T07:57:23.000Z | from portality.bll.doaj import DOAJ
from portality.bll import exceptions | 36 | 36 | 0.861111 | 11 | 72 | 5.636364 | 0.545455 | 0.419355 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 72 | 2 | 36 | 36 | 0.953846 | 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 |
647650d417e61aa879830e2f4b45c46a81669a26 | 49,684 | py | Python | tests/ut/python/tests/test_stage_function.py | mindspore-ai/serving | e32d989ce629b4bdbbf3f16fefb02b28dce2dc4c | [
"Apache-2.0"
] | 157 | 2020-12-10T09:42:48.000Z | 2021-12-02T09:27:48.000Z | tests/ut/python/tests/test_stage_function.py | mindspore-ai/serving | e32d989ce629b4bdbbf3f16fefb02b28dce2dc4c | [
"Apache-2.0"
] | 1 | 2021-12-08T11:39:59.000Z | 2022-01-17T09:09:54.000Z | tests/ut/python/tests/test_stage_function.py | mindspore-ai/serving | e32d989ce629b4bdbbf3f16fefb02b28dce2dc4c | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 36.532353 | 119 | 0.669833 | 7,189 | 49,684 | 4.447211 | 0.033523 | 0.015264 | 0.024866 | 0.02984 | 0.959401 | 0.954021 | 0.949673 | 0.948328 | 0.947296 | 0.941259 | 0 | 0.044901 | 0.193141 | 49,684 | 1,359 | 120 | 36.559235 | 0.752619 | 0.130082 | 0 | 0.897959 | 0 | 0.010204 | 0.462008 | 0.189746 | 0 | 0 | 0 | 0 | 0.093878 | 1 | 0.034694 | false | 0.00102 | 0.070408 | 0.00102 | 0.157143 | 0.029592 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.