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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
18b971f458f568de22a1bea39a8dbe0fcc8c9194 | 41 | py | Python | stackable/__init__.py | productaize/stackable | 1172d255bfbf79a65a9509c04f470f1049d748bf | [
"MIT"
] | 1 | 2017-10-19T09:21:54.000Z | 2017-10-19T09:21:54.000Z | stackable/__init__.py | productaize/stackable | 1172d255bfbf79a65a9509c04f470f1049d748bf | [
"MIT"
] | 1 | 2017-10-28T17:51:36.000Z | 2017-10-28T17:51:36.000Z | stackable/__init__.py | miraculixx/stackable | e21787077e004879a0a1f6fe46be61289794d8db | [
"MIT"
] | null | null | null | from .stackable import StackableSettings | 41 | 41 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
18ffd0ea67075d08637e6a35706d5c2b8ad0a536 | 116 | py | Python | src/tools/email_validator.py | jsmuniz7/wishlist | 9ba4d3d8877e1838588aaf80bdd7a1ec7dd0400d | [
"MIT"
] | null | null | null | src/tools/email_validator.py | jsmuniz7/wishlist | 9ba4d3d8877e1838588aaf80bdd7a1ec7dd0400d | [
"MIT"
] | null | null | null | src/tools/email_validator.py | jsmuniz7/wishlist | 9ba4d3d8877e1838588aaf80bdd7a1ec7dd0400d | [
"MIT"
] | null | null | null | import re
EMAIL_REGEX = re.compile(r"[^@]+@[^@]+\.[^@]+")
def is_valid(email):
return EMAIL_REGEX.match(email) | 19.333333 | 47 | 0.62069 | 16 | 116 | 4.3125 | 0.6875 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 116 | 6 | 48 | 19.333333 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7a18f20fd1d1b80a54aaddfcc12071946767998c | 219 | py | Python | iterator_pipe.py | AshwinParanjape/pipedream | 2828a5df5d45655da485351d0bdae94f2e084781 | [
"MIT"
] | null | null | null | iterator_pipe.py | AshwinParanjape/pipedream | 2828a5df5d45655da485351d0bdae94f2e084781 | [
"MIT"
] | null | null | null | iterator_pipe.py | AshwinParanjape/pipedream | 2828a5df5d45655da485351d0bdae94f2e084781 | [
"MIT"
] | null | null | null | class PipeFunction():
def __init__(self, func):
self.func = func
def __call__(self, *args, **kwargs):
return self.func(*args, **kwargs)
def __ror__(self, other):
return self(other)
| 21.9 | 41 | 0.598174 | 26 | 219 | 4.576923 | 0.461538 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26484 | 219 | 9 | 42 | 24.333333 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.285714 | 0.857143 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e1380b3bccde4dfc81a9b77c6646d1d2ef5d8399 | 6,134 | py | Python | tfbasemodels/utils/layer_utils.py | ldfrancis/tfbasemodels | cbdd13f907dfd4c32b7d5aa9e147bd71b0243368 | [
"MIT"
] | null | null | null | tfbasemodels/utils/layer_utils.py | ldfrancis/tfbasemodels | cbdd13f907dfd4c32b7d5aa9e147bd71b0243368 | [
"MIT"
] | 1 | 2021-02-15T22:16:23.000Z | 2021-02-15T22:16:23.000Z | tfbasemodels/utils/layer_utils.py | ldfrancis/tfbasemodels | cbdd13f907dfd4c32b7d5aa9e147bd71b0243368 | [
"MIT"
] | null | null | null | import tensorflow as tf
def conv2d_bn(filters, kernel_size, strides=(1, 1), padding='valid', data_format=None,
dilation_rate=(1, 1), groups=1, activation=None, use_bias=True,
kernel_initializer='glorot_uniform', bias_initializer='zeros',
kernel_regularizer=None, bias_regulari... | 63.237113 | 123 | 0.571405 | 567 | 6,134 | 5.871252 | 0.132275 | 0.045059 | 0.037849 | 0.028837 | 0.937519 | 0.931211 | 0.931211 | 0.931211 | 0.931211 | 0.931211 | 0 | 0.009613 | 0.355559 | 6,134 | 96 | 124 | 63.895833 | 0.832532 | 0.022498 | 0 | 0.666667 | 0 | 0 | 0.018087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0.012821 | 0 | 0.115385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1586cc7ff2a99644c18e6f638fbb4db6d3b73c8 | 12,393 | py | Python | data/sampler/multi_scale_sampler.py | apple/ml-cvnets | 84d992f413e52c0468f86d23196efd9dad885e6f | [
"AML"
] | 209 | 2021-10-30T08:32:10.000Z | 2022-03-31T16:18:03.000Z | data/sampler/multi_scale_sampler.py | apple/ml-cvnets | 84d992f413e52c0468f86d23196efd9dad885e6f | [
"AML"
] | 12 | 2021-12-04T10:47:11.000Z | 2022-03-31T15:39:40.000Z | data/sampler/multi_scale_sampler.py | apple/ml-cvnets | 84d992f413e52c0468f86d23196efd9dad885e6f | [
"AML"
] | 50 | 2021-11-01T08:15:02.000Z | 2022-03-29T08:17:34.000Z | #
# For licensing see accompanying LICENSE file.
# Copyright (C) 2022 Apple Inc. All Rights Reserved.
#
import random
import argparse
from utils import logger
from typing import Optional
from common import DEFAULT_IMAGE_WIDTH, DEFAULT_IMAGE_HEIGHT
from . import register_sampler, BaseSamplerDP, BaseSamplerDDP
from .ut... | 35.408571 | 99 | 0.593803 | 1,591 | 12,393 | 4.242615 | 0.102451 | 0.109037 | 0.045333 | 0.068444 | 0.834667 | 0.792741 | 0.775111 | 0.744444 | 0.739852 | 0.72563 | 0 | 0.010817 | 0.313725 | 12,393 | 349 | 100 | 35.510029 | 0.782834 | 0.046236 | 0 | 0.657343 | 0 | 0.003497 | 0.153663 | 0.08066 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031469 | false | 0.006993 | 0.024476 | 0 | 0.073427 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e181fbc4dd43e4884c80335280100bdd670e42cc | 5,605 | py | Python | src/tests/presale/test_style.py | pajowu/pretix | d6985123b4528f134ead71ce0a4613c9a309fd2c | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-04-25T00:11:00.000Z | 2020-04-25T00:11:00.000Z | src/tests/presale/test_style.py | pajowu/pretix | d6985123b4528f134ead71ce0a4613c9a309fd2c | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2019-07-08T10:29:54.000Z | 2020-01-08T17:32:07.000Z | src/tests/presale/test_style.py | pajowu/pretix | d6985123b4528f134ead71ce0a4613c9a309fd2c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | import datetime
import os.path
from django.conf import settings
from django.test import TestCase, override_settings
from django_scopes import scopes_disabled
from pretix.base.models import Event, Organizer
from pretix.multidomain.models import KnownDomain
from pretix.presale.style import regenerate_css, regenerate_or... | 42.142857 | 101 | 0.676004 | 739 | 5,605 | 4.947226 | 0.120433 | 0.108315 | 0.162746 | 0.114333 | 0.84081 | 0.805799 | 0.796772 | 0.796772 | 0.780908 | 0.770241 | 0 | 0.021338 | 0.197324 | 5,605 | 132 | 102 | 42.462121 | 0.791287 | 0 | 0 | 0.651376 | 0 | 0 | 0.092953 | 0 | 0 | 0 | 0 | 0 | 0.192661 | 1 | 0.082569 | false | 0 | 0.073395 | 0 | 0.165138 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1aa5d7b47694aefa7c410426751e26350a1c1e7 | 4,441 | py | Python | pa1-skeleton/pa1-data/8/www.stanford.edu_class_cs221_progAssignments_PA2_distanceCalculator.py | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | pa1-skeleton/pa1-data/8/www.stanford.edu_class_cs221_progAssignments_PA2_distanceCalculator.py | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | pa1-skeleton/pa1-data/8/www.stanford.edu_class_cs221_progAssignments_PA2_distanceCalculator.py | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | distancecalculator py licensing information please do not distribute or publish solutions to this project you are free to use and extend these projects for educational purposes the pacman ai projects were developed at uc berkeley primarily by john denero denero cs berkeley edu and dan klein klein cs berkeley edu for mo... | 2,220.5 | 4,440 | 0.841702 | 703 | 4,441 | 5.301565 | 0.334282 | 0.004293 | 0.004025 | 0.018245 | 0.072444 | 0.053662 | 0.053662 | 0.053662 | 0.03971 | 0.03971 | 0 | 0.022472 | 0.158298 | 4,441 | 1 | 4,441 | 4,441 | 0.974585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
bee8ce414338fd6a02b5d8eeb0d53458e87baece | 31 | py | Python | pynrc/maths/__init__.py | JarronL/pyNRC | 0354f0635dd4c5391ca3a769fa9e5ead83661c30 | [
"MIT"
] | 6 | 2017-01-09T05:11:11.000Z | 2022-02-25T18:30:41.000Z | pynrc/maths/__init__.py | JarronL/pyNRC | 0354f0635dd4c5391ca3a769fa9e5ead83661c30 | [
"MIT"
] | 24 | 2017-05-25T04:45:47.000Z | 2022-02-25T18:31:48.000Z | pynrc/maths/__init__.py | JarronL/pyNRC | 0354f0635dd4c5391ca3a769fa9e5ead83661c30 | [
"MIT"
] | 11 | 2017-01-27T22:40:55.000Z | 2021-03-30T18:41:46.000Z | from webbpsf_ext import robust
| 15.5 | 30 | 0.870968 | 5 | 31 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
beee347296e99a4b8f3afc70a64e076b7f439b8b | 37 | py | Python | src/finance_stats/linear_regression/__init__.py | pralphv/hkportfolioanalysis-backend | 6dbf6f17e6ebd95e28ee042126b34408dde4f520 | [
"MIT"
] | null | null | null | src/finance_stats/linear_regression/__init__.py | pralphv/hkportfolioanalysis-backend | 6dbf6f17e6ebd95e28ee042126b34408dde4f520 | [
"MIT"
] | 1 | 2021-03-31T19:44:25.000Z | 2021-03-31T19:44:25.000Z | src/finance_stats/linear_regression/__init__.py | pralphv/hkportfolioanalysis-backend | 6dbf6f17e6ebd95e28ee042126b34408dde4f520 | [
"MIT"
] | 1 | 2020-11-27T17:56:38.000Z | 2020-11-27T17:56:38.000Z | from .api import calculate_beta_alpha | 37 | 37 | 0.891892 | 6 | 37 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55dd6bb18ddaf3e0cf027b8214252701ec602a00 | 2,448 | py | Python | tests/fixtures/cloud_formation.py | scherniavsky/lizzy | b2bca022967042032aa5e4c3226d760cadc8db49 | [
"Apache-2.0"
] | 21 | 2015-06-01T13:54:04.000Z | 2017-06-04T01:04:25.000Z | tests/fixtures/cloud_formation.py | scherniavsky/lizzy | b2bca022967042032aa5e4c3226d760cadc8db49 | [
"Apache-2.0"
] | 187 | 2015-06-02T06:29:35.000Z | 2017-05-27T12:37:54.000Z | tests/fixtures/cloud_formation.py | scherniavsky/lizzy | b2bca022967042032aa5e4c3226d760cadc8db49 | [
"Apache-2.0"
] | 12 | 2017-06-09T01:10:24.000Z | 2019-05-16T10:44:34.000Z | GOOD_CF_DEFINITION = {
"AWSTemplateFormatVersion": "2010-09-09",
"Mappings": {
"Senza": {
"Info": {
"StackName": "abc",
"StackVersion": "2"
}
}
},
"Parameters": {},
"Resources": {
"AppServerConfig": {
"Proper... | 25.5 | 118 | 0.424428 | 152 | 2,448 | 6.723684 | 0.315789 | 0.109589 | 0.117417 | 0.125245 | 0.863992 | 0.863992 | 0.863992 | 0.863992 | 0.863992 | 0.863992 | 0 | 0.033637 | 0.417075 | 2,448 | 95 | 119 | 25.768421 | 0.682551 | 0 | 0 | 0.608696 | 0 | 0.021739 | 0.397876 | 0.140114 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
55f06e10a82c7edd0b420a9820f1a853e87d29d0 | 153 | py | Python | migration/migration/doctype/migration_setting/test_migration_setting.py | Ravn10/migration | 54c07bffae7caa3230c65b42f760f103bf0a7f73 | [
"MIT"
] | null | null | null | migration/migration/doctype/migration_setting/test_migration_setting.py | Ravn10/migration | 54c07bffae7caa3230c65b42f760f103bf0a7f73 | [
"MIT"
] | null | null | null | migration/migration/doctype/migration_setting/test_migration_setting.py | Ravn10/migration | 54c07bffae7caa3230c65b42f760f103bf0a7f73 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, Firsterp and Contributors
# See license.txt
# import frappe
import unittest
class TestMigrationSetting(unittest.TestCase):
pass
| 17 | 47 | 0.79085 | 18 | 153 | 6.722222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.137255 | 153 | 8 | 48 | 19.125 | 0.886364 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3600ea30688f379498ca661a468ccc730cb1643c | 4,102 | py | Python | functions/predictionLambda/index.py | chriscoombs/aws-comparing-algorithms-performance-mlops-cdk | 6d3888f3ecd667ee76dc473edba37a608786ed2e | [
"Apache-2.0"
] | 3 | 2021-01-06T18:57:16.000Z | 2021-05-07T07:06:58.000Z | functions/predictionLambda/index.py | chriscoombs/aws-comparing-algorithms-performance-mlops-cdk | 6d3888f3ecd667ee76dc473edba37a608786ed2e | [
"Apache-2.0"
] | null | null | null | functions/predictionLambda/index.py | chriscoombs/aws-comparing-algorithms-performance-mlops-cdk | 6d3888f3ecd667ee76dc473edba37a608786ed2e | [
"Apache-2.0"
] | 4 | 2020-10-30T05:05:24.000Z | 2021-05-07T04:04:58.000Z | from __future__ import print_function
import json
import os
import boto3
import uuid
import random
import math
sagemakerclient = boto3.client('sagemaker-runtime')
s3client=boto3.client('s3')
def handler(event, context):
bucket_name=os.environ['bucket']
prediction_trials=3
if "xgboostresult" in event["training"]... | 39.066667 | 108 | 0.627255 | 475 | 4,102 | 5.237895 | 0.263158 | 0.028939 | 0.022508 | 0.038585 | 0.835209 | 0.791801 | 0.770096 | 0.73955 | 0.73955 | 0.651125 | 0 | 0.014061 | 0.25451 | 4,102 | 104 | 109 | 39.442308 | 0.799542 | 0.066065 | 0 | 0.56701 | 0 | 0 | 0.143866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010309 | false | 0 | 0.072165 | 0 | 0.113402 | 0.072165 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3608a5429e2ec4d73c87e4360b18039a7034558b | 66 | py | Python | okta/config.py | adrianlazar-okta/okta.adrian-lazar.com | 10ed29642bff61a887965b2e59ab146a22471fb3 | [
"Apache-2.0"
] | null | null | null | okta/config.py | adrianlazar-okta/okta.adrian-lazar.com | 10ed29642bff61a887965b2e59ab146a22471fb3 | [
"Apache-2.0"
] | null | null | null | okta/config.py | adrianlazar-okta/okta.adrian-lazar.com | 10ed29642bff61a887965b2e59ab146a22471fb3 | [
"Apache-2.0"
] | null | null | null | class Config:
SECRET_KEY = '89b4f6ac5922d8685d182175e97f97e8' | 33 | 51 | 0.80303 | 5 | 66 | 10.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.403509 | 0.136364 | 66 | 2 | 51 | 33 | 0.508772 | 0 | 0 | 0 | 0 | 0 | 0.484848 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
3610d959e23d4aabea1da039469ea330486ed6b9 | 56 | py | Python | winejournal/blueprints/regions/__init__.py | rickandersonaia/wine-journal | 9664c8ed8df9eb853562c500e888490a61a6e44d | [
"CC-BY-4.0"
] | null | null | null | winejournal/blueprints/regions/__init__.py | rickandersonaia/wine-journal | 9664c8ed8df9eb853562c500e888490a61a6e44d | [
"CC-BY-4.0"
] | 5 | 2021-02-08T20:22:06.000Z | 2021-09-07T23:52:33.000Z | winejournal/blueprints/regions/__init__.py | rickandersonaia/wine-journal | 9664c8ed8df9eb853562c500e888490a61a6e44d | [
"CC-BY-4.0"
] | 2 | 2018-06-27T15:03:38.000Z | 2020-03-14T15:40:34.000Z | from winejournal.blueprints.regions.views import regions | 56 | 56 | 0.892857 | 7 | 56 | 7.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 56 | 1 | 56 | 56 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
3649b25b5d42655cdb665931f6377e88c0834bb7 | 374 | py | Python | web/controllers/account/account.py | jxsrjw4/flask_learning | 17097a5c6a911da29a50dd1865552de6b7f8d9c5 | [
"Apache-2.0"
] | null | null | null | web/controllers/account/account.py | jxsrjw4/flask_learning | 17097a5c6a911da29a50dd1865552de6b7f8d9c5 | [
"Apache-2.0"
] | null | null | null | web/controllers/account/account.py | jxsrjw4/flask_learning | 17097a5c6a911da29a50dd1865552de6b7f8d9c5 | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint, render_template
route_account = Blueprint("account_page", __name__)
@route_account.route('/index')
def index():
return render_template("/account/index.html")
@route_account.route('/info')
def info():
return render_template("/account/info.html")
@route_account.route('/set')
def s... | 24.933333 | 51 | 0.737968 | 48 | 374 | 5.479167 | 0.333333 | 0.212928 | 0.193916 | 0.307985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106952 | 374 | 15 | 52 | 24.933333 | 0.787425 | 0 | 0 | 0 | 0 | 0 | 0.216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.272727 | 0.636364 | 0.181818 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3660790e0de0683ff622d7182b498c939c3e596c | 12,023 | py | Python | sdk/python/pulumi_rancher2/namespace.py | mitchellmaler/pulumi-rancher2 | e6ca44b58b5b10c12a4e628e61aa8d98330f0863 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_rancher2/namespace.py | mitchellmaler/pulumi-rancher2 | e6ca44b58b5b10c12a4e628e61aa8d98330f0863 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_rancher2/namespace.py | mitchellmaler/pulumi-rancher2 | e6ca44b58b5b10c12a4e628e61aa8d98330f0863 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from . import utilities, tables
class Namespa... | 60.115 | 251 | 0.670964 | 1,426 | 12,023 | 5.490884 | 0.143058 | 0.073052 | 0.067433 | 0.07765 | 0.773052 | 0.758876 | 0.742529 | 0.742529 | 0.715964 | 0.683142 | 0 | 0.002141 | 0.223156 | 12,023 | 199 | 252 | 60.417085 | 0.836188 | 0.502953 | 0 | 0.03125 | 1 | 0 | 0.154374 | 0.024485 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.015625 | 0.09375 | 0.03125 | 0.34375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
367f4d91b6625612700002ff7b5a530f03e03748 | 7,091 | py | Python | src/genie/libs/parser/iosxr/tests/ShowOspfv3Interface/cli/equal/golden1_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/iosxr/tests/ShowOspfv3Interface/cli/equal/golden1_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/iosxr/tests/ShowOspfv3Interface/cli/equal/golden1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"vrf": {
"default": {
"address_family": {
"ipv6": {
"instance": {
"mpls1": {
"instance_id": {
0: {
"areas": {
... | 63.882883 | 115 | 0.18869 | 305 | 7,091 | 4.085246 | 0.311475 | 0.020867 | 0.021669 | 0.019262 | 0.785714 | 0.785714 | 0.785714 | 0.785714 | 0.76565 | 0.731942 | 0 | 0.083878 | 0.74108 | 7,091 | 110 | 116 | 64.463636 | 0.594771 | 0 | 0 | 0.572727 | 0 | 0 | 0.18869 | 0.042166 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 6 |
36d2192020121aa69f7cc948e5148237e5c88240 | 7,018 | py | Python | tests/test_standardqueryoperators/test_skip_while.py | rlugojr/RxPy | 9f9b1de0ab833e53b0d1626a3b43a6c9424f01ec | [
"ECL-2.0",
"Apache-2.0"
] | 78 | 2015-01-22T23:57:01.000Z | 2021-06-04T15:16:22.000Z | tests/test_standardqueryoperators/test_skip_while.py | rlugojr/RxPy | 9f9b1de0ab833e53b0d1626a3b43a6c9424f01ec | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2015-10-19T12:59:57.000Z | 2015-10-19T12:59:57.000Z | tests/test_standardqueryoperators/test_skip_while.py | rlugojr/RxPy | 9f9b1de0ab833e53b0d1626a3b43a6c9424f01ec | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2015-02-16T20:43:45.000Z | 2018-05-30T11:46:50.000Z | from rx.observable import Observable
from rx.testing import TestScheduler, ReactiveTest, is_prime
on_next = ReactiveTest.on_next
on_completed = ReactiveTest.on_completed
on_error = ReactiveTest.on_error
subscribe = ReactiveTest.subscribe
subscribed = ReactiveTest.subscribed
disposed = ReactiveTest.disposed
created = R... | 42.533333 | 269 | 0.6499 | 1,062 | 7,018 | 4.072505 | 0.074388 | 0.176185 | 0.029133 | 0.03237 | 0.889711 | 0.864277 | 0.837919 | 0.798613 | 0.798613 | 0.798613 | 0 | 0.121365 | 0.211029 | 7,018 | 164 | 270 | 42.792683 | 0.659744 | 0 | 0 | 0.683824 | 0 | 0 | 0.000855 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 1 | 0.198529 | false | 0 | 0.014706 | 0.007353 | 0.345588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
36d85ced708f206280d6f6e0964fcb861f54052c | 195 | py | Python | spacys_pos_tagging/__init__.py | barreira/spacys_pos_tagging | 59dbebc13a3e3066121456d2ead99adee463db68 | [
"MIT"
] | null | null | null | spacys_pos_tagging/__init__.py | barreira/spacys_pos_tagging | 59dbebc13a3e3066121456d2ead99adee463db68 | [
"MIT"
] | null | null | null | spacys_pos_tagging/__init__.py | barreira/spacys_pos_tagging | 59dbebc13a3e3066121456d2ead99adee463db68 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
from .app import process_args
from .pos_tagging import add_tokenizer_exceptions, generate_dependencies_graph, \
generate_information, generate_pos_chart, generate_tagged_text
| 32.5 | 81 | 0.861538 | 26 | 195 | 6.038462 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005556 | 0.076923 | 195 | 5 | 82 | 39 | 0.866667 | 0.087179 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7fcb1c388eaea8524c54e2c08c219e1b7ca077cc | 25 | py | Python | iotas/devices/moorescloud/engineroom/__init__.py | cheshrkat/holideck | 4ee6e11d728ef24c32670e6b15a16de27c8f7406 | [
"MIT"
] | 2 | 2018-01-03T09:58:00.000Z | 2019-05-15T07:26:33.000Z | iotas/devices/moorescloud/engineroom/__init__.py | jpwarren/holideck | 4fd39f5cf5bd3a1749d5c57f1a73ea70fd9a8f49 | [
"MIT"
] | null | null | null | iotas/devices/moorescloud/engineroom/__init__.py | jpwarren/holideck | 4fd39f5cf5bd3a1749d5c57f1a73ea70fd9a8f49 | [
"MIT"
] | null | null | null | print "Hello engineroom"
| 12.5 | 24 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3d04df4c6ab8160292db45ed496fd5e66252d04e | 4,417 | py | Python | loans/migrations/0005_auto_20220225_0824.py | prateekmohanty63/microfinance | 39839c0d378be4ccc40a9dde5dc38a10773a38a1 | [
"MIT"
] | 1 | 2022-02-25T18:39:44.000Z | 2022-02-25T18:39:44.000Z | loans/migrations/0005_auto_20220225_0824.py | prateekmohanty63/microfinance | 39839c0d378be4ccc40a9dde5dc38a10773a38a1 | [
"MIT"
] | null | null | null | loans/migrations/0005_auto_20220225_0824.py | prateekmohanty63/microfinance | 39839c0d378be4ccc40a9dde5dc38a10773a38a1 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2022-02-25 08:24
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
... | 36.808333 | 134 | 0.602898 | 443 | 4,417 | 5.819413 | 0.176072 | 0.069822 | 0.133825 | 0.157099 | 0.799845 | 0.799845 | 0.769201 | 0.719938 | 0.698991 | 0.698991 | 0 | 0.006975 | 0.285941 | 4,417 | 119 | 135 | 37.117647 | 0.810399 | 0.010188 | 0 | 0.778761 | 1 | 0 | 0.108009 | 0.007323 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035398 | 0 | 0.061947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 6 |
3d2976d917723c64f856e08fc6d860e9fb9ba216 | 45 | py | Python | lynxfall/utils/__init__.py | Fates-List-Archive/lynxfall | cf0a4671e5a2cc7a354d0908c09f4840fef4037c | [
"MIT"
] | null | null | null | lynxfall/utils/__init__.py | Fates-List-Archive/lynxfall | cf0a4671e5a2cc7a354d0908c09f4840fef4037c | [
"MIT"
] | null | null | null | lynxfall/utils/__init__.py | Fates-List-Archive/lynxfall | cf0a4671e5a2cc7a354d0908c09f4840fef4037c | [
"MIT"
] | null | null | null | from .fastapi import *
from .string import *
| 15 | 22 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 23 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3d2d30bc731f999ef152a01901941c0acde7e018 | 195 | py | Python | src/mcookbook/config/live.py | s0undt3ch/mommas-cookbook | ccca526eee9241f12674cad8c1e1da1a900cef82 | [
"Apache-2.0"
] | 2 | 2022-01-02T23:47:32.000Z | 2022-01-07T11:14:15.000Z | src/mcookbook/config/live.py | UfSoft/mommas-cookbook | ccca526eee9241f12674cad8c1e1da1a900cef82 | [
"Apache-2.0"
] | 1 | 2022-01-17T12:47:37.000Z | 2022-01-17T12:47:37.000Z | src/mcookbook/config/live.py | s0undt3ch/mommas-cookbook | ccca526eee9241f12674cad8c1e1da1a900cef82 | [
"Apache-2.0"
] | 1 | 2022-01-10T18:49:36.000Z | 2022-01-10T18:49:36.000Z | """
Live configuration schema.
"""
from __future__ import annotations
from mcookbook.config.base import BaseConfig
class LiveConfig(BaseConfig):
"""
Live configuration schema.
"""
| 15 | 44 | 0.723077 | 19 | 195 | 7.210526 | 0.684211 | 0.248175 | 0.335766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 195 | 12 | 45 | 16.25 | 0.85625 | 0.271795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
180799d6ce52c52412ac9bedb9415fc9e4cb91ab | 8,922 | py | Python | main.py | anglefish/NCP_data | 86965f5a8ffc3a0cb1323e33c6986e97f1e87325 | [
"MIT"
] | 2 | 2020-02-12T03:14:33.000Z | 2020-02-12T09:59:13.000Z | main.py | anglefish/NCP_data | 86965f5a8ffc3a0cb1323e33c6986e97f1e87325 | [
"MIT"
] | null | null | null | main.py | anglefish/NCP_data | 86965f5a8ffc3a0cb1323e33c6986e97f1e87325 | [
"MIT"
] | 2 | 2020-02-14T02:45:24.000Z | 2020-02-16T15:30:46.000Z | from mpython import *
import urequests
import network
import json
import math
import time
bmp = bytearray([\
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X10,0X00,0X00,0X04,0X00,0X00,0X00,0X03,0X80,0X00,0X00,0X00,0X3E,0X00,
0X00,0X00,0XF8,0X00,0X00,0X07,0XC0,0X00,0X00,0X0... | 40.008969 | 80 | 0.708922 | 1,623 | 8,922 | 3.865681 | 0.140481 | 0.263946 | 0.325151 | 0.395282 | 0.390341 | 0.287058 | 0.252152 | 0.213899 | 0.171183 | 0.153969 | 0 | 0.31683 | 0.098969 | 8,922 | 223 | 81 | 40.008969 | 0.463615 | 0.016252 | 0 | 0.251282 | 0 | 0 | 0.031857 | 0 | 0 | 0 | 0.482302 | 0 | 0 | 1 | 0.025641 | false | 0.005128 | 0.030769 | 0 | 0.05641 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18595c83dabe14470c8aabb26d4b3fb0df2abd19 | 45,720 | py | Python | tests/providers/box/test_provider.py | icereval/waterbutler | ef09929b688547eb63d83d8f7fcf168f841ca910 | [
"Apache-2.0"
] | 65 | 2015-01-23T03:22:04.000Z | 2022-01-11T22:33:19.000Z | tests/providers/box/test_provider.py | cslzchen/waterbutler | e4e07727e06885a752c9251e5731f5627f646da3 | [
"Apache-2.0"
] | 300 | 2015-02-16T16:45:02.000Z | 2022-01-31T14:49:07.000Z | tests/providers/box/test_provider.py | cslzchen/waterbutler | e4e07727e06885a752c9251e5731f5627f646da3 | [
"Apache-2.0"
] | 76 | 2015-01-20T20:45:17.000Z | 2021-07-30T13:18:10.000Z | import io
import json
from http import HTTPStatus
import pytest
import aiohttpretty
from waterbutler.core import streams
from waterbutler.core import exceptions
from waterbutler.core.path import WaterButlerPath
from waterbutler.providers.box import BoxProvider
from waterbutler.providers.box.metadata import (BoxRevis... | 39.965035 | 103 | 0.654418 | 5,138 | 45,720 | 5.576684 | 0.065979 | 0.035598 | 0.057237 | 0.040135 | 0.857397 | 0.823893 | 0.787701 | 0.754057 | 0.71975 | 0.699124 | 0 | 0.013252 | 0.235849 | 45,720 | 1,143 | 104 | 40 | 0.806881 | 0.002078 | 0 | 0.604734 | 0 | 0.001183 | 0.113009 | 0.025118 | 0 | 0 | 0 | 0 | 0.131361 | 1 | 0.016568 | false | 0 | 0.015385 | 0.011834 | 0.055621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a110175fff1a446182484fb34dcfb1151caec9e8 | 6,511 | py | Python | tests/test_transferFrom.py | pacdao/gov-token | 7ce7b8916c70e145f311e4190507b245dbeb2c12 | [
"MIT"
] | null | null | null | tests/test_transferFrom.py | pacdao/gov-token | 7ce7b8916c70e145f311e4190507b245dbeb2c12 | [
"MIT"
] | null | null | null | tests/test_transferFrom.py | pacdao/gov-token | 7ce7b8916c70e145f311e4190507b245dbeb2c12 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import brownie
import pytest
@pytest.mark.skip(reason="no transfer")
def test_sender_balance_decreases(accounts, token):
sender_balance = token.balanceOf(accounts[0])
amount = sender_balance // 4
token.approve(accounts[1], amount, {"from": accounts[0]})
token.transferFrom(accounts[... | 35.194595 | 88 | 0.706036 | 827 | 6,511 | 5.446191 | 0.076179 | 0.135879 | 0.156306 | 0.112345 | 0.886545 | 0.868783 | 0.845471 | 0.829707 | 0.805284 | 0.751554 | 0 | 0.026255 | 0.134234 | 6,511 | 184 | 89 | 35.38587 | 0.772751 | 0.002611 | 0 | 0.630252 | 0 | 0 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.016807 | 0 | 0.159664 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a13cde07156344fefbd207230420683d0650de37 | 889 | py | Python | code_salad/rattle/rattle/widgets.py | Fledermann/code_salad | 150f0ba8749368519beedd5aba7f8329ae4df042 | [
"MIT"
] | 6 | 2019-02-01T01:05:00.000Z | 2019-02-02T07:47:51.000Z | code_salad/rattle/rattle/widgets.py | Fledermann/code_salad | 150f0ba8749368519beedd5aba7f8329ae4df042 | [
"MIT"
] | null | null | null | code_salad/rattle/rattle/widgets.py | Fledermann/code_salad | 150f0ba8749368519beedd5aba7f8329ae4df042 | [
"MIT"
] | null | null | null |
class Input:
def __init__(self, id_, callback):
self.id_ = id_
self.callback = callback
self.type = 'input'
self.code = f'<input type="text" id="{self.id_}" class="widget">'
def __setattr__(self, key, value):
if key not in ('id_', 'callback', 'type', 'code'):
... | 29.633333 | 76 | 0.551181 | 114 | 889 | 3.938596 | 0.184211 | 0.120267 | 0.124722 | 0.08686 | 0.835189 | 0.792873 | 0.792873 | 0.792873 | 0.792873 | 0.672606 | 0 | 0 | 0.278965 | 889 | 29 | 77 | 30.655172 | 0.700468 | 0 | 0 | 0.636364 | 0 | 0 | 0.212838 | 0.033784 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a15648cf056c6e478aa64e5a9530deb77a45af0e | 8,138 | py | Python | tests/test_confidence_intervals.py | EdgarTeixeira/eul | 8ce3e567d43b41cae0217c0cb3f953ee9e9d8565 | [
"MIT"
] | null | null | null | tests/test_confidence_intervals.py | EdgarTeixeira/eul | 8ce3e567d43b41cae0217c0cb3f953ee9e9d8565 | [
"MIT"
] | null | null | null | tests/test_confidence_intervals.py | EdgarTeixeira/eul | 8ce3e567d43b41cae0217c0cb3f953ee9e9d8565 | [
"MIT"
] | null | null | null | import dsul.confidence_intervals as ci
import numpy as np
from scipy import stats
class TestAnalyticalMethods:
def test_mean_ci_with_known_stddev(self):
population_dist = stats.norm(0, 1)
successes = 0
trials = 1000
for i in range(trials):
sample = population_dist.rvs(... | 38.752381 | 111 | 0.652372 | 1,135 | 8,138 | 4.496916 | 0.097797 | 0.053487 | 0.039969 | 0.047022 | 0.884796 | 0.869514 | 0.869514 | 0.869514 | 0.864224 | 0.85815 | 0 | 0.037338 | 0.243057 | 8,138 | 209 | 112 | 38.937799 | 0.791234 | 0.016835 | 0 | 0.6875 | 0 | 0 | 0.059817 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.076389 | false | 0 | 0.020833 | 0.013889 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a18d612204766093a085902ff66f339e5b57b496 | 44,549 | py | Python | nfl_stats/player.py | ppourmand/nfl-stats-py | 05e5ed6e1fc551721f564d7498e757fe79f54c82 | [
"MIT"
] | 7 | 2018-08-21T16:29:42.000Z | 2021-08-13T16:35:57.000Z | nfl_stats/player.py | ppourmand/nfl-stats-py | 05e5ed6e1fc551721f564d7498e757fe79f54c82 | [
"MIT"
] | null | null | null | nfl_stats/player.py | ppourmand/nfl-stats-py | 05e5ed6e1fc551721f564d7498e757fe79f54c82 | [
"MIT"
] | 3 | 2018-08-21T16:55:13.000Z | 2019-05-21T14:55:35.000Z | import os
import yaml
from pathlib import Path
from bs4 import BeautifulSoup
import requests
class QB:
def __init__(self, name:str):
self.name: str = name
self.number: str = ""
self.position: str = "QB"
self.team: str = ""
self.games_played: int = 0
self.games_start... | 53.480192 | 124 | 0.612 | 5,496 | 44,549 | 4.658297 | 0.040939 | 0.028709 | 0.046871 | 0.05937 | 0.853371 | 0.801305 | 0.758144 | 0.722444 | 0.691508 | 0.673502 | 0 | 0.012651 | 0.256571 | 44,549 | 833 | 125 | 53.480192 | 0.760379 | 0.023659 | 0 | 0.659634 | 0 | 0 | 0.181178 | 0.044124 | 0 | 0 | 0 | 0.0012 | 0 | 1 | 0.042194 | false | 0.084388 | 0.007032 | 0 | 0.070323 | 0.184248 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a1b0e3d07cb899e80d24e6d4a712708169cf768f | 1,954 | py | Python | tests/helper/test_list_helper.py | lucasjoao/tcc | 508326a57af1283d2f00aacd2cfefc48afdec4eb | [
"MIT"
] | 1 | 2020-10-13T23:12:25.000Z | 2020-10-13T23:12:25.000Z | tests/helper/test_list_helper.py | lucasjoao/tcc | 508326a57af1283d2f00aacd2cfefc48afdec4eb | [
"MIT"
] | null | null | null | tests/helper/test_list_helper.py | lucasjoao/tcc | 508326a57af1283d2f00aacd2cfefc48afdec4eb | [
"MIT"
] | null | null | null | import unittest
from src.helper import list_helper as lh
class TestsListHelper(unittest.TestCase):
def test_remove_duplicates_lists_ok(self):
list_of_lists = [['Abacate', 'Abacate', 'Granola'], ['Abacate', 'Granola'], ['Abacate', 'Granola']]
result = lh.list_helper.remove_duplicates_list_of_list... | 38.313725 | 107 | 0.668884 | 249 | 1,954 | 4.907631 | 0.156627 | 0.07856 | 0.072013 | 0.11293 | 0.895254 | 0.829787 | 0.829787 | 0.774141 | 0.774141 | 0.718494 | 0 | 0.018773 | 0.18219 | 1,954 | 50 | 108 | 39.08 | 0.745932 | 0 | 0 | 0.457143 | 0 | 0 | 0.109519 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.171429 | false | 0 | 0.057143 | 0 | 0.257143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1dbf2a8a9f97a895136ca1a707a203fe868467e | 5,913 | py | Python | three_class_problem/three_class_svm_rf.py | J-E-11/MLBio | d2a85ab109dee7ebc8df749f2dd03cf7d976c5c1 | [
"MIT"
] | null | null | null | three_class_problem/three_class_svm_rf.py | J-E-11/MLBio | d2a85ab109dee7ebc8df749f2dd03cf7d976c5c1 | [
"MIT"
] | null | null | null | three_class_problem/three_class_svm_rf.py | J-E-11/MLBio | d2a85ab109dee7ebc8df749f2dd03cf7d976c5c1 | [
"MIT"
] | null | null | null | '''
Author: Jinwan Huang
Three class classification using SVM and Random Forest
return scores and confusion matrix
containing both before batch effect removal and after
'''
import pandas as pd
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
from sklearn.metrics import roc_auc_score
from skle... | 33.219101 | 118 | 0.713174 | 926 | 5,913 | 4.411447 | 0.154428 | 0.035251 | 0.050918 | 0.031334 | 0.851163 | 0.84284 | 0.825214 | 0.809058 | 0.767931 | 0.74541 | 0 | 0.018708 | 0.123119 | 5,913 | 177 | 119 | 33.40678 | 0.769142 | 0.131913 | 0 | 0.60177 | 0 | 0 | 0.283738 | 0.011065 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.097345 | 0 | 0.097345 | 0.061947 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b81caec1686bb9328ba6f5b4a421a9381a516193 | 47 | py | Python | ml_models/__init__.py | sampathweb/imagnet-predictor-api | 76a939809621d2e00b957bfeb44ea70d51bcbfc5 | [
"MIT"
] | null | null | null | ml_models/__init__.py | sampathweb/imagnet-predictor-api | 76a939809621d2e00b957bfeb44ea70d51bcbfc5 | [
"MIT"
] | null | null | null | ml_models/__init__.py | sampathweb/imagnet-predictor-api | 76a939809621d2e00b957bfeb44ea70d51bcbfc5 | [
"MIT"
] | null | null | null | from .classifiers import ImagenetModel # noqa
| 23.5 | 46 | 0.808511 | 5 | 47 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 1 | 47 | 47 | 0.95 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
62b94cf463ebc1b9695c3b78ade8e6b3646c7318 | 67 | py | Python | aisikl/components/separator.py | itmat0/votr | 626b3b1bf1f21d2891b0cc71bbbb1c8f52cd4909 | [
"Apache-2.0"
] | 8 | 2015-01-13T23:15:18.000Z | 2021-08-19T12:35:00.000Z | aisikl/components/separator.py | itmat0/votr | 626b3b1bf1f21d2891b0cc71bbbb1c8f52cd4909 | [
"Apache-2.0"
] | 99 | 2015-01-14T22:09:50.000Z | 2021-05-20T19:07:07.000Z | aisikl/components/separator.py | itmat0/votr | 626b3b1bf1f21d2891b0cc71bbbb1c8f52cd4909 | [
"Apache-2.0"
] | 12 | 2016-02-10T21:35:42.000Z | 2021-08-19T12:35:50.000Z |
from .control import Control
class Separator(Control):
pass
| 9.571429 | 28 | 0.731343 | 8 | 67 | 6.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 67 | 6 | 29 | 11.166667 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
62c2b62124a1fe9c9d4ea0471a986609a1616f9e | 91 | py | Python | src/aceinna/devices/upgrade_workers/__init__.py | LukaszChl/ros_openimu | 1bcf547fa42ee7c7dcc856c1d4eb5702d301b059 | [
"Apache-2.0"
] | 6 | 2021-03-18T16:18:53.000Z | 2022-01-18T15:32:15.000Z | src/aceinna/devices/upgrade_workers/__init__.py | LukaszChl/ros_openimu | 1bcf547fa42ee7c7dcc856c1d4eb5702d301b059 | [
"Apache-2.0"
] | 11 | 2020-12-22T16:19:20.000Z | 2022-02-11T11:03:25.000Z | src/aceinna/devices/upgrade_workers/__init__.py | LukaszChl/ros_openimu | 1bcf547fa42ee7c7dcc856c1d4eb5702d301b059 | [
"Apache-2.0"
] | 11 | 2021-04-12T03:00:28.000Z | 2022-03-25T19:53:43.000Z | from .firmware_worker import FirmwareUpgradeWorker
from .sdk_worker import SDKUpgradeWorker | 45.5 | 50 | 0.901099 | 10 | 91 | 8 | 0.7 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 91 | 2 | 51 | 45.5 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1a03f4c3a7055f77a88d28f90f2e835dab25fc9e | 19,236 | py | Python | purequant/trade.py | Silverbulelt/PureQuant | 98ddac1c0d8a40a46fad893567fe5a574b09aa53 | [
"MIT"
] | 3 | 2020-08-28T10:46:38.000Z | 2021-12-14T02:44:27.000Z | purequant/trade.py | TradV/PureQuant | 98ddac1c0d8a40a46fad893567fe5a574b09aa53 | [
"MIT"
] | null | null | null | purequant/trade.py | TradV/PureQuant | 98ddac1c0d8a40a46fad893567fe5a574b09aa53 | [
"MIT"
] | 2 | 2020-08-15T22:59:41.000Z | 2021-06-07T14:00:42.000Z | # -*- coding:utf-8 -*-
"""
交易模块
Author: eternal ranger
Date: 2020/07/09
email: interstella.ranger2020@gmail.com
"""
from purequant.exchange.okex import spot_api as okexspot
from purequant.exchange.okex import futures_api as okexfutures
from purequant.exchange.okex import swap_api as okexswap
from purequant.exchange... | 46.351807 | 227 | 0.602984 | 2,385 | 19,236 | 4.607128 | 0.101887 | 0.095013 | 0.100473 | 0.034401 | 0.832454 | 0.809428 | 0.774572 | 0.755643 | 0.726975 | 0.708591 | 0 | 0.029574 | 0.275785 | 19,236 | 414 | 228 | 46.463768 | 0.75917 | 0.032751 | 0 | 0.67052 | 0 | 0 | 0.10632 | 0.01331 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109827 | false | 0.026012 | 0.014451 | 0 | 0.291908 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a7e96e9aeffc7f557a0fadb74163d89332c13438 | 39 | py | Python | indra/assemblers/figaro/__init__.py | zebulon2/indra | 7727ddcab52ad8012eb6592635bfa114e904bd48 | [
"BSD-2-Clause"
] | 1 | 2020-12-27T14:37:10.000Z | 2020-12-27T14:37:10.000Z | indra/assemblers/figaro/__init__.py | zebulon2/indra | 7727ddcab52ad8012eb6592635bfa114e904bd48 | [
"BSD-2-Clause"
] | null | null | null | indra/assemblers/figaro/__init__.py | zebulon2/indra | 7727ddcab52ad8012eb6592635bfa114e904bd48 | [
"BSD-2-Clause"
] | null | null | null | from .assembler import FigaroAssembler
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c503dd5e31fa6dc0fb9d3de90e13d49ba8e2090b | 127 | py | Python | minato_namikaze/botmain/bot/lib/util/__init__.py | Onii-Chan-Discord/yondaime-hokage | d6e75405a9d30b37bfb4fd588f02c0de813c92b1 | [
"Apache-2.0"
] | 1 | 2021-11-04T13:20:36.000Z | 2021-11-04T13:20:36.000Z | minato_namikaze/bot_files/lib/util/__init__.py | ooliver1/yondaime-hokage | 3552887dc022c8ace13de9dae01392b9471e5f58 | [
"Apache-2.0"
] | null | null | null | minato_namikaze/bot_files/lib/util/__init__.py | ooliver1/yondaime-hokage | 3552887dc022c8ace13de9dae01392b9471e5f58 | [
"Apache-2.0"
] | null | null | null | from .post_user_stats import *
from .privacy_vote import *
from .setup_server import *
from .util import *
from .vars import *
| 21.166667 | 30 | 0.76378 | 19 | 127 | 4.894737 | 0.578947 | 0.430108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 127 | 5 | 31 | 25.4 | 0.869159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c532135c6b2c0b59a3a755199e429b8aa6c2b7ce | 181 | py | Python | modules/2.79/bpy/ops/dpaint.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/ops/dpaint.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/ops/dpaint.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | def bake():
pass
def output_toggle(output='A'):
pass
def surface_slot_add():
pass
def surface_slot_remove():
pass
def type_toggle(type='CANVAS'):
pass
| 8.619048 | 31 | 0.635359 | 25 | 181 | 4.36 | 0.48 | 0.256881 | 0.256881 | 0.330275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248619 | 181 | 20 | 32 | 9.05 | 0.801471 | 0 | 0 | 0.5 | 0 | 0 | 0.039106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c53437cd4b1477936a19cf9a7bc412eccac09f28 | 101,167 | py | Python | test/test_esapi.py | diabonas/tpm2-pytss | 1ae429c2e96d16632414d2b16023c65beae32015 | [
"BSD-2-Clause"
] | null | null | null | test/test_esapi.py | diabonas/tpm2-pytss | 1ae429c2e96d16632414d2b16023c65beae32015 | [
"BSD-2-Clause"
] | null | null | null | test/test_esapi.py | diabonas/tpm2-pytss | 1ae429c2e96d16632414d2b16023c65beae32015 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/python3 -u
"""
SPDX-License-Identifier: BSD-2
"""
import unittest
from tpm2_pytss import *
from .TSS2_BaseTest import TSS2_EsapiTest
class TestEsys(TSS2_EsapiTest):
def testGetRandom(self):
r = self.ectx.GetRandom(5)
self.assertEqual(len(r), 5)
with self.assertRaises(TypeErro... | 34.49267 | 119 | 0.617751 | 9,976 | 101,167 | 6.098637 | 0.060345 | 0.073767 | 0.092373 | 0.118212 | 0.854438 | 0.829553 | 0.808202 | 0.76476 | 0.707627 | 0.655243 | 0 | 0.034156 | 0.286635 | 101,167 | 2,932 | 120 | 34.504434 | 0.808865 | 0.010181 | 0 | 0.584158 | 0 | 0.00135 | 0.034235 | 0.008431 | 0 | 0 | 0.001668 | 0.000341 | 0.19982 | 1 | 0.035104 | false | 0.021152 | 0.006301 | 0 | 0.041854 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3dbb29e50dd0ef73a0cedadacde7895ae71a1426 | 1,903 | py | Python | src/dijkstra/main.py | Andre-Gilbert/Dijkstra-Shortest-Path | 05d3f13a2e30ac1c6962cb2ca4b67928747bbb35 | [
"MIT"
] | 1 | 2021-06-11T08:09:09.000Z | 2021-06-11T08:09:09.000Z | src/dijkstra/main.py | Andre-Gilbert/Pathfinding-Algorithms | 05d3f13a2e30ac1c6962cb2ca4b67928747bbb35 | [
"MIT"
] | null | null | null | src/dijkstra/main.py | Andre-Gilbert/Pathfinding-Algorithms | 05d3f13a2e30ac1c6962cb2ca4b67928747bbb35 | [
"MIT"
] | null | null | null | """Runs Dijkstra's Algorithm.
Typical usage example:
v_a = Vertex('A')
v_b = Vertex('B')
v_c = Vertex('C')
v_d = Vertex('D')
v_e = Vertex('E')
v_f = Vertex('F')
vertices = {v_a, v_b, v_c, v_d, v_e, v_f}
e_a_b = Edge(v_a, v_b, 7)
e_a_c = Edge(v_a, v_c, 9)
e_a_f = Edge(v_a, v_f, ... | 25.716216 | 75 | 0.590646 | 400 | 1,903 | 2.4225 | 0.115 | 0.092879 | 0.037152 | 0.043344 | 0.848297 | 0.848297 | 0.848297 | 0.848297 | 0.848297 | 0.848297 | 0 | 0.024079 | 0.258014 | 1,903 | 73 | 76 | 26.068493 | 0.662181 | 0.491855 | 0 | 0.068966 | 0 | 0 | 0.067921 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.068966 | 0.137931 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3dc5bea3f3fe3abb1e7657553a7d3eb2926caa4c | 5,812 | py | Python | modules/old/partition.py | jperezvisaires/tfg-intphys | 8c32c383bf00c00b0fc627ba7bf1192bc3011c40 | [
"MIT"
] | 1 | 2020-01-25T19:43:45.000Z | 2020-01-25T19:43:45.000Z | modules/old/partition.py | jperezvisaires/tfg-intphys | 8c32c383bf00c00b0fc627ba7bf1192bc3011c40 | [
"MIT"
] | null | null | null | modules/old/partition.py | jperezvisaires/tfg-intphys | 8c32c383bf00c00b0fc627ba7bf1192bc3011c40 | [
"MIT"
] | null | null | null | import numpy as np
import h5py
BASE_PATH = "train"
def data_dictionaries_segmentation(num_scenes, path_hdf5, num_initial=1, test=False, base_path=BASE_PATH):
frames = 100
list_samples = []
list_targets_mask = []
for scene in range(num_initial, num_initial+num_scenes):
scene... | 31.934066 | 156 | 0.603751 | 673 | 5,812 | 4.858841 | 0.093611 | 0.178287 | 0.088073 | 0.067278 | 0.838532 | 0.801835 | 0.761468 | 0.725076 | 0.715902 | 0.715902 | 0 | 0.018905 | 0.308328 | 5,812 | 182 | 157 | 31.934066 | 0.794527 | 0 | 0 | 0.691589 | 0 | 0 | 0.03733 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065421 | false | 0 | 0.018692 | 0 | 0.149533 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3de3a755a17fe3a53719680d56e07c84e42ff934 | 31 | py | Python | ceefax/fonts/size4/__init__.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | 1 | 2020-03-28T15:53:22.000Z | 2020-03-28T15:53:22.000Z | ceefax/fonts/size4/__init__.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | 1 | 2021-02-05T13:43:52.000Z | 2021-02-05T13:43:52.000Z | ceefax/fonts/size4/__init__.py | mscroggs/CEEFAX | 8e7a075de1809064b77360da24ebbbaa409c3bf2 | [
"MIT"
] | null | null | null | from .default import size4font
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9a968578f2168d5076859916a63a3f01182075bf | 132 | py | Python | R_CNN.py | scain40/OpenCVCVImageComparisson | 368d901233111606fb2f0ecbce4447dd9c149fd0 | [
"MIT"
] | null | null | null | R_CNN.py | scain40/OpenCVCVImageComparisson | 368d901233111606fb2f0ecbce4447dd9c149fd0 | [
"MIT"
] | null | null | null | R_CNN.py | scain40/OpenCVCVImageComparisson | 368d901233111606fb2f0ecbce4447dd9c149fd0 | [
"MIT"
] | null | null | null | import cv2 as cv
# Need to get and train a model for this, look for an approproate data set large enough to support all of this
| 33 | 111 | 0.75 | 26 | 132 | 3.807692 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.234848 | 132 | 3 | 112 | 44 | 0.970297 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9acc2d83d8aeb14e6765c6f688afbb0f2e240ec7 | 141 | py | Python | setenum/django.py | azhpushkin/setenum | 3f6b1d69b16fc243bf740f6c927f6a6824804391 | [
"MIT"
] | null | null | null | setenum/django.py | azhpushkin/setenum | 3f6b1d69b16fc243bf740f6c927f6a6824804391 | [
"MIT"
] | null | null | null | setenum/django.py | azhpushkin/setenum | 3f6b1d69b16fc243bf740f6c927f6a6824804391 | [
"MIT"
] | null | null | null | from django.db.models.enums import ChoicesMeta
from . import SetEnumMeta
class DjangoChoicesSetEnumMeta(SetEnumMeta, ChoicesMeta):
pass
| 23.5 | 57 | 0.822695 | 15 | 141 | 7.733333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120567 | 141 | 5 | 58 | 28.2 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9ae26f0697ce2913e2b3679233d0bba9a224cd55 | 31 | py | Python | Modules/03_termcolor.py | milenpenev/Python_Advanced | 2f32012dd682fa9541bbf5fa155f6bdbcfa946de | [
"MIT"
] | null | null | null | Modules/03_termcolor.py | milenpenev/Python_Advanced | 2f32012dd682fa9541bbf5fa155f6bdbcfa946de | [
"MIT"
] | null | null | null | Modules/03_termcolor.py | milenpenev/Python_Advanced | 2f32012dd682fa9541bbf5fa155f6bdbcfa946de | [
"MIT"
] | null | null | null | from termcolor import colored
| 10.333333 | 29 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 30 | 15.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b11cdaeae334636debebc6644310dfab982a74cc | 12,914 | py | Python | devilry/devilry_admin/tests/assignment/examiners/test_remove_groups_from_examiner.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 29 | 2015-01-18T22:56:23.000Z | 2020-11-10T21:28:27.000Z | devilry/devilry_admin/tests/assignment/examiners/test_remove_groups_from_examiner.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 786 | 2015-01-06T16:10:18.000Z | 2022-03-16T11:10:50.000Z | devilry/devilry_admin/tests/assignment/examiners/test_remove_groups_from_examiner.py | devilry/devilry-django | 9ae28e462dfa4cfee966ebacbca04ade9627e715 | [
"BSD-3-Clause"
] | 15 | 2015-04-06T06:18:43.000Z | 2021-02-24T12:28:30.000Z | import mock
from django import test
from django.contrib import messages
from django.http import Http404
from cradmin_legacy import cradmin_testhelpers
from model_bakery import baker
from devilry.apps.core.models import Examiner
from devilry.devilry_admin.views.assignment.examiners import remove_groups_from_examiner
... | 56.640351 | 112 | 0.708533 | 1,176 | 12,914 | 7.562075 | 0.133503 | 0.068818 | 0.086248 | 0.056674 | 0.834364 | 0.820083 | 0.805353 | 0.774767 | 0.743619 | 0.742157 | 0 | 0.009634 | 0.196221 | 12,914 | 227 | 113 | 56.889868 | 0.84711 | 0.013241 | 0 | 0.693069 | 0 | 0 | 0.17753 | 0.039783 | 0 | 0 | 0 | 0 | 0.064356 | 1 | 0.064356 | false | 0 | 0.039604 | 0 | 0.118812 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b12f6cf932f8019f02ae308cc48dc365276a07e2 | 41 | py | Python | markovdwp/priors/__init__.py | ivannz/MarkovDWP | f10ed7a331ddd9b7fc28c4cab3b05b2352a9ee2b | [
"MIT"
] | null | null | null | markovdwp/priors/__init__.py | ivannz/MarkovDWP | f10ed7a331ddd9b7fc28c4cab3b05b2352a9ee2b | [
"MIT"
] | null | null | null | markovdwp/priors/__init__.py | ivannz/MarkovDWP | f10ed7a331ddd9b7fc28c4cab3b05b2352a9ee2b | [
"MIT"
] | null | null | null | from .implicit import ImplicitSlicePrior
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b147be10d6b8ee4a2f16490cfdd487f2f6226240 | 47 | py | Python | views/__init__.py | andywar65/bimblog | 011e42b20d0847827715e5b5f0d269106471ad2c | [
"BSD-2-Clause"
] | null | null | null | views/__init__.py | andywar65/bimblog | 011e42b20d0847827715e5b5f0d269106471ad2c | [
"BSD-2-Clause"
] | null | null | null | views/__init__.py | andywar65/bimblog | 011e42b20d0847827715e5b5f0d269106471ad2c | [
"BSD-2-Clause"
] | null | null | null | from .building import *
from .station import *
| 15.666667 | 23 | 0.744681 | 6 | 47 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 24 | 23.5 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b159f12075e086e970d9117a06e22155164ce150 | 108 | py | Python | code/ch07-confirmation-emails/infrastructure/app_secrets.py | rcastleman/twilio-and-sendgrid-python-course | b1aa8e02725cf9580edb4b0310537fac33a685b0 | [
"MIT"
] | 29 | 2021-01-08T13:46:35.000Z | 2022-03-30T04:31:29.000Z | code/ch07-confirmation-emails/infrastructure/app_secrets.py | rcastleman/twilio-and-sendgrid-python-course | b1aa8e02725cf9580edb4b0310537fac33a685b0 | [
"MIT"
] | 2 | 2021-08-29T15:11:23.000Z | 2022-03-05T00:01:46.000Z | code/ch07-confirmation-emails/infrastructure/app_secrets.py | rcastleman/twilio-and-sendgrid-python-course | b1aa8e02725cf9580edb4b0310537fac33a685b0 | [
"MIT"
] | 30 | 2021-07-02T00:14:58.000Z | 2022-03-06T00:47:53.000Z | from typing import Optional
sendgrid_key_name: Optional[str] = None
sendgrid_api_key: Optional[str] = None
| 21.6 | 39 | 0.805556 | 16 | 108 | 5.1875 | 0.625 | 0.26506 | 0.361446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 108 | 4 | 40 | 27 | 0.873684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b169770791fb6c995c9e0d5871e888c1cc97494e | 32 | py | Python | dumbtest.py | mkseth4774/ine-guide-to-network-programmability-python-course-files | 35c49dfcf8e8f1b69435987a00fb9a236b803d9f | [
"MIT"
] | null | null | null | dumbtest.py | mkseth4774/ine-guide-to-network-programmability-python-course-files | 35c49dfcf8e8f1b69435987a00fb9a236b803d9f | [
"MIT"
] | null | null | null | dumbtest.py | mkseth4774/ine-guide-to-network-programmability-python-course-files | 35c49dfcf8e8f1b69435987a00fb9a236b803d9f | [
"MIT"
] | null | null | null | print('This is python working!') | 32 | 32 | 0.75 | 5 | 32 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b1aa242e3500f953ac946e554632a04298860e36 | 11,480 | py | Python | tests/test_main.py | larryon/gimme-aws-creds | 4aa880f7c8b187b0dc0623bf335da2c909f7e047 | [
"Apache-2.0"
] | 1 | 2021-04-10T13:49:48.000Z | 2021-04-10T13:49:48.000Z | tests/test_main.py | larryon/gimme-aws-creds | 4aa880f7c8b187b0dc0623bf335da2c909f7e047 | [
"Apache-2.0"
] | 1 | 2020-05-06T14:28:02.000Z | 2020-05-06T14:28:02.000Z | tests/test_main.py | elzayat/gimme-aws-creds | 839f5041e9099c030c40ad54a92e4873f659e129 | [
"Apache-2.0"
] | 1 | 2021-08-20T13:10:26.000Z | 2021-08-20T13:10:26.000Z | import unittest
from mock import patch
from gimme_aws_creds import errors
from gimme_aws_creds.main import GimmeAWSCreds
from gimme_aws_creds.common import RoleSet
class TestMain(unittest.TestCase):
APP_INFO = [
RoleSet(idp='idp', role='test1', friendly_account_name='', friendly_role_name=''),
R... | 46.104418 | 141 | 0.658188 | 1,287 | 11,480 | 5.585859 | 0.087024 | 0.027264 | 0.026429 | 0.040896 | 0.913062 | 0.887189 | 0.84824 | 0.775908 | 0.739741 | 0.706357 | 0 | 0.049977 | 0.226132 | 11,480 | 248 | 142 | 46.290323 | 0.75923 | 0.027439 | 0 | 0.545 | 0 | 0.005 | 0.235453 | 0.106882 | 0 | 0 | 0 | 0 | 0.165 | 1 | 0.14 | false | 0 | 0.025 | 0 | 0.18 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
490ad735f8dd482e7e0233134c45dd3b7bb725ae | 14,799 | py | Python | tests/geo_commands_test.py | leenr/aioredis | ffe15297f2b5205c9fbe6b18eeebcc340a32f677 | [
"MIT"
] | 1 | 2021-01-03T00:57:16.000Z | 2021-01-03T00:57:16.000Z | tests/geo_commands_test.py | idfumg/aioredis | b4b823e4dc453256ba8173eb82568c321e712da5 | [
"MIT"
] | 1 | 2022-02-16T14:38:57.000Z | 2022-02-16T14:38:57.000Z | tests/geo_commands_test.py | idfumg/aioredis | b4b823e4dc453256ba8173eb82568c321e712da5 | [
"MIT"
] | null | null | null | import pytest
from aioredis import GeoPoint, GeoMember
from _testutils import redis_version
@pytest.mark.run_loop
@redis_version(
3, 2, 0, reason='GEOADD is available since redis >= 3.2.0')
async def test_geoadd(redis):
res = await redis.geoadd('geodata', 13.361389, 38.115556, 'Palermo')
assert res == 1
... | 29.017647 | 79 | 0.576661 | 1,631 | 14,799 | 5.187002 | 0.05886 | 0.050118 | 0.081442 | 0.05721 | 0.958038 | 0.947754 | 0.928014 | 0.900591 | 0.885106 | 0.867849 | 0 | 0.196781 | 0.29056 | 14,799 | 509 | 80 | 29.074656 | 0.60901 | 0 | 0 | 0.569196 | 0 | 0 | 0.120076 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 1 | 0 | false | 0 | 0.006696 | 0 | 0.006696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4935547f5095df8eea3dd6cabaa1ef98a2af4774 | 142 | py | Python | mvqag/train/__init__.py | VirkSaab/Medical-VQA | 6d77963cc81940fc680a18d931e0d88a3264f5fa | [
"MIT"
] | null | null | null | mvqag/train/__init__.py | VirkSaab/Medical-VQA | 6d77963cc81940fc680a18d931e0d88a3264f5fa | [
"MIT"
] | null | null | null | mvqag/train/__init__.py | VirkSaab/Medical-VQA | 6d77963cc81940fc680a18d931e0d88a3264f5fa | [
"MIT"
] | null | null | null | from .train import *
from .metrics import *
from .mixup import *
from .losses import *
from .lr_schedulers import *
from .ranger import Ranger | 23.666667 | 28 | 0.760563 | 20 | 142 | 5.35 | 0.45 | 0.46729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161972 | 142 | 6 | 29 | 23.666667 | 0.89916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
495cb787a5e749f2d36743e178503e662c81a80a | 88 | py | Python | sldWriter/__init__.py | milieuinfo/arcgis2qgs | d0d2e4da7cb9d6f08ef82b6c6f94d3340b96f9ba | [
"MIT"
] | 18 | 2015-11-24T20:08:35.000Z | 2021-11-12T15:10:22.000Z | sldWriter/__init__.py | canglangshushu/arcgis2qgs | d0d2e4da7cb9d6f08ef82b6c6f94d3340b96f9ba | [
"MIT"
] | 1 | 2021-04-08T14:21:01.000Z | 2021-04-08T14:21:01.000Z | sldWriter/__init__.py | canglangshushu/arcgis2qgs | d0d2e4da7cb9d6f08ef82b6c6f94d3340b96f9ba | [
"MIT"
] | 9 | 2017-06-09T04:31:52.000Z | 2021-11-22T11:32:14.000Z | from _sldWriter import *
from _layer import *
from _style import *
from _filter import * | 22 | 24 | 0.784091 | 12 | 88 | 5.416667 | 0.5 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 88 | 4 | 25 | 22 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
499d2a09c5f9bc7d52d94643bcdf733d6bfe190e | 169 | py | Python | pages/themes/modulesAndPackages/examples/my_app/helper_module.py | WWWCourses/ProgressBG-Python-UniCredit-Slides | 87539aa2f73738370ac8df865cf3a1adac447391 | [
"MIT"
] | null | null | null | pages/themes/modulesAndPackages/examples/my_app/helper_module.py | WWWCourses/ProgressBG-Python-UniCredit-Slides | 87539aa2f73738370ac8df865cf3a1adac447391 | [
"MIT"
] | null | null | null | pages/themes/modulesAndPackages/examples/my_app/helper_module.py | WWWCourses/ProgressBG-Python-UniCredit-Slides | 87539aa2f73738370ac8df865cf3a1adac447391 | [
"MIT"
] | null | null | null | print( "__file__:", __file__)
print( "__name__:", __name__)
def get_user_name():
return input('Enter your name:')
def greet(user_name):
print(f'Hello, {user_name}!') | 21.125 | 33 | 0.704142 | 24 | 169 | 4.125 | 0.541667 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112426 | 169 | 8 | 34 | 21.125 | 0.66 | 0 | 0 | 0 | 0 | 0 | 0.311765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
b8c790ff3195376678e1bbf691240f066d10b098 | 16,019 | py | Python | authors/apps/profiles/tests/test_user_profiles.py | andela/ah-backend-sparta | fcc394e486a736993702bfa1e6fd9e9b189b93ae | [
"BSD-3-Clause"
] | null | null | null | authors/apps/profiles/tests/test_user_profiles.py | andela/ah-backend-sparta | fcc394e486a736993702bfa1e6fd9e9b189b93ae | [
"BSD-3-Clause"
] | 11 | 2019-03-25T14:38:23.000Z | 2019-04-18T08:02:10.000Z | authors/apps/profiles/tests/test_user_profiles.py | andela/ah-backend-sparta | fcc394e486a736993702bfa1e6fd9e9b189b93ae | [
"BSD-3-Clause"
] | 5 | 2019-06-12T08:22:58.000Z | 2020-02-07T08:26:37.000Z | from authors.apps.authentication.tests.test_base import BaseTestCase
from rest_framework import status
from .test_data import(
register_user1_data,
register_user2_data,
update_user_profile_data1,
update_user_profile_data2,
update_user_profile_data_with_wrong_url,
update_user_profile_data3,
r... | 61.141221 | 146 | 0.721456 | 1,987 | 16,019 | 5.547559 | 0.072974 | 0.052617 | 0.110496 | 0.08328 | 0.873991 | 0.845868 | 0.810306 | 0.77175 | 0.762769 | 0.715141 | 0 | 0.033278 | 0.165241 | 16,019 | 262 | 147 | 61.141221 | 0.791056 | 0.063674 | 0 | 0.484848 | 0 | 0 | 0.167204 | 0.079141 | 0 | 0 | 0 | 0 | 0.284848 | 1 | 0.109091 | false | 0 | 0.018182 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b8dc5f50da6602264cc8186b2620dab9eb0c181c | 3,438 | py | Python | src/radixsort.py | endere/Data-structures | 2eb522406c348b6ca26c47f8790b77088cc8cae5 | [
"MIT"
] | 1 | 2017-06-19T22:35:34.000Z | 2017-06-19T22:35:34.000Z | src/radixsort.py | endere/Data-structures | 2eb522406c348b6ca26c47f8790b77088cc8cae5 | [
"MIT"
] | 1 | 2017-07-13T00:53:06.000Z | 2017-07-13T00:53:06.000Z | src/radixsort.py | endere/Data-structures-2nd-half | 2eb522406c348b6ca26c47f8790b77088cc8cae5 | [
"MIT"
] | null | null | null | """Radix sort data structure."""
def radix_sort(array):
"""Radix sort data structure function."""
if len(array) <= 1:
return array
buckets = {'0': [], '1': [], '2': [], '3': [], '4': [], '5': [], '6': [], '7': [], '8': [], '9': []}
for i in range(len(str(max(array)))):
for x in range(l... | 36.574468 | 104 | 0.579116 | 453 | 3,438 | 4.284768 | 0.178808 | 0.092736 | 0.030912 | 0.056672 | 0.758887 | 0.758887 | 0.758887 | 0.747553 | 0.747553 | 0.747553 | 0 | 0.013095 | 0.267016 | 3,438 | 93 | 105 | 36.967742 | 0.757143 | 0.022978 | 0 | 0.735632 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011494 | false | 0 | 0.034483 | 0 | 0.068966 | 0.287356 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b8fdb0b8b089b1d81d79ffeb9581f2f9d782e180 | 73 | py | Python | CA117/Lab_2/pi_12.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 6 | 2016-02-04T00:15:20.000Z | 2019-10-13T13:53:16.000Z | CA117/Lab_2/pi_12.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 2 | 2016-03-14T04:01:36.000Z | 2019-10-16T12:45:34.000Z | CA117/Lab_2/pi_12.py | PRITI1999/OneLineWonders | 91a7368e0796e5a3b5839c9165f9fbe5460879f5 | [
"MIT"
] | 10 | 2016-02-09T14:38:32.000Z | 2021-05-25T08:16:26.000Z | print("{:.{}f}".format(__import__('math').pi,__import__('sys').argv[1]))
| 36.5 | 72 | 0.630137 | 10 | 73 | 3.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.013699 | 73 | 1 | 73 | 73 | 0.513889 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
77167f13690bee4065c037d37ba6dea8809804b8 | 129 | py | Python | core/context_processors.py | Wambere/django-template | 4ec67371a5582b1a322df8f4d1c30c06b4ddb5a3 | [
"MIT"
] | null | null | null | core/context_processors.py | Wambere/django-template | 4ec67371a5582b1a322df8f4d1c30c06b4ddb5a3 | [
"MIT"
] | 2 | 2015-11-27T10:40:42.000Z | 2015-11-27T10:52:17.000Z | core/context_processors.py | Wambere/django-template | 4ec67371a5582b1a322df8f4d1c30c06b4ddb5a3 | [
"MIT"
] | null | null | null | from django.contrib.sites.models import Site
def site_processor(request):
return { 'site': Site.objects.get_current() }
| 25.8 | 50 | 0.728682 | 17 | 129 | 5.411765 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155039 | 129 | 4 | 51 | 32.25 | 0.844037 | 0 | 0 | 0 | 0 | 0 | 0.032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7750618843503753a981a446d71ea006203241b6 | 208 | py | Python | plugins/red_canary/komand_red_canary/triggers/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/red_canary/komand_red_canary/triggers/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/red_canary/komand_red_canary/triggers/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .new_activity_monitor_matches.trigger import NewActivityMonitorMatches
from .new_detections.trigger import NewDetections
from .new_events.trigger import NewEvents
| 41.6 | 75 | 0.860577 | 27 | 208 | 6.444444 | 0.703704 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100962 | 208 | 4 | 76 | 52 | 0.930481 | 0.177885 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91fd7928a242ba820a031bf05aa9e37a03dae2b1 | 29,646 | py | Python | tests/environments/execution/test_fargate_task_environment.py | vnsn/prefect | 972345597975155dba9e3232bcc430d0a6258a37 | [
"Apache-2.0"
] | 1 | 2021-05-12T12:47:12.000Z | 2021-05-12T12:47:12.000Z | tests/environments/execution/test_fargate_task_environment.py | vnsn/prefect | 972345597975155dba9e3232bcc430d0a6258a37 | [
"Apache-2.0"
] | 3 | 2022-03-12T09:21:41.000Z | 2022-03-26T08:11:51.000Z | tests/environments/execution/test_fargate_task_environment.py | vnsn/prefect | 972345597975155dba9e3232bcc430d0a6258a37 | [
"Apache-2.0"
] | null | null | null | from unittest.mock import MagicMock
import cloudpickle
import prefect
import pytest
from botocore.exceptions import ClientError
from prefect import Flow, config
from prefect.executors import LocalDaskExecutor
from prefect.environments import FargateTaskEnvironment
from prefect.storage import Docker
from prefect.utilit... | 35.589436 | 101 | 0.524759 | 2,411 | 29,646 | 6.120282 | 0.095396 | 0.0492 | 0.026498 | 0.024939 | 0.836202 | 0.804147 | 0.76579 | 0.754541 | 0.732516 | 0.717539 | 0 | 0.010589 | 0.350165 | 29,646 | 832 | 102 | 35.632212 | 0.755359 | 0.005228 | 0 | 0.673525 | 0 | 0 | 0.257834 | 0.100414 | 0 | 0 | 0 | 0 | 0.08642 | 1 | 0.034294 | false | 0.001372 | 0.02332 | 0 | 0.061728 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6234fdb0c4a54ec34ec40a936c42840238437f70 | 432 | py | Python | tinynn/__init__.py | lx120/tinynn | 88b941a706700ca7f6b1cc4ae7f271df7049348c | [
"MIT"
] | 217 | 2019-08-19T07:23:57.000Z | 2022-03-31T13:00:46.000Z | tinynn/__init__.py | lx120/tinynn | 88b941a706700ca7f6b1cc4ae7f271df7049348c | [
"MIT"
] | 19 | 2019-09-06T17:11:13.000Z | 2022-03-12T00:02:47.000Z | tinynn/__init__.py | lx120/tinynn | 88b941a706700ca7f6b1cc4ae7f271df7049348c | [
"MIT"
] | 57 | 2019-09-06T12:12:24.000Z | 2022-03-29T03:33:01.000Z | from tinynn.core import initializer
from tinynn.core import layer
from tinynn.core import loss
from tinynn.core import model
from tinynn.core import net
from tinynn.core import optimizer
from tinynn.utils import data_iterator
from tinynn.utils import dataset
from tinynn.utils import downloader
from tinynn.utils import... | 28.8 | 41 | 0.847222 | 67 | 432 | 5.432836 | 0.298507 | 0.357143 | 0.288462 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122685 | 432 | 14 | 42 | 30.857143 | 0.960422 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
657a7f8379db58ebf99b8a894722e21163bd7d98 | 122 | py | Python | examples/starkex-cairo/starkware/cairo/lang/compiler/preprocessor/preprocessor_error.py | LatticeLabVentures/BeamNet | e4a755dbc52b4eaef73074b22d4431df88394b4a | [
"CC0-1.0"
] | null | null | null | examples/starkex-cairo/starkware/cairo/lang/compiler/preprocessor/preprocessor_error.py | LatticeLabVentures/BeamNet | e4a755dbc52b4eaef73074b22d4431df88394b4a | [
"CC0-1.0"
] | null | null | null | examples/starkex-cairo/starkware/cairo/lang/compiler/preprocessor/preprocessor_error.py | LatticeLabVentures/BeamNet | e4a755dbc52b4eaef73074b22d4431df88394b4a | [
"CC0-1.0"
] | null | null | null | from starkware.cairo.lang.compiler.error_handling import LocationError
class PreprocessorError(LocationError):
pass
| 20.333333 | 70 | 0.836066 | 13 | 122 | 7.769231 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 122 | 5 | 71 | 24.4 | 0.926606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
65b08e60ee75726625f2a00d780a2bf3c0d00373 | 418 | py | Python | alphalogic_api/objects/__init__.py | Alphaopen/alphalogic-api | fc3f7c9fbb17d06bc03363e59d770b3b0885cb1a | [
"MIT"
] | null | null | null | alphalogic_api/objects/__init__.py | Alphaopen/alphalogic-api | fc3f7c9fbb17d06bc03363e59d770b3b0885cb1a | [
"MIT"
] | null | null | null | alphalogic_api/objects/__init__.py | Alphaopen/alphalogic-api | fc3f7c9fbb17d06bc03363e59d770b3b0885cb1a | [
"MIT"
] | 1 | 2018-09-26T20:46:07.000Z | 2018-09-26T20:46:07.000Z | # -*- coding: utf-8 -*-
from alphalogic_api.objects.object import Root, Object
from alphalogic_api.objects.command import Command
from alphalogic_api.objects.event import Event, MajorEvent, MinorEvent, CriticalEvent, BlockerEvent, TrivialEvent
from alphalogic_api.objects.parameter import Parameter, ParameterBool, Para... | 59.714286 | 113 | 0.832536 | 44 | 418 | 7.818182 | 0.568182 | 0.162791 | 0.197674 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002639 | 0.093301 | 418 | 7 | 114 | 59.714286 | 0.905013 | 0.050239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
65ccb2e4c32ed003b213a0c073c56c1a8c211312 | 33 | py | Python | audio2rgb/__init__.py | beckdac/audio2rgb | ec894caeca8b19588dea2106b2d5006e9d41ee98 | [
"BSD-3-Clause"
] | 1 | 2018-09-26T01:09:35.000Z | 2018-09-26T01:09:35.000Z | audio2rgb/__init__.py | beckdac/audio2rgb | ec894caeca8b19588dea2106b2d5006e9d41ee98 | [
"BSD-3-Clause"
] | null | null | null | audio2rgb/__init__.py | beckdac/audio2rgb | ec894caeca8b19588dea2106b2d5006e9d41ee98 | [
"BSD-3-Clause"
] | null | null | null | from .audio2rgb import Audio2RGB
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
65d88922f95ca0b03e8ed2bf62a7a167964b2250 | 86 | py | Python | mc2pbrt/block/__init__.py | PbrtCraft/mc2pbrt | 145c844a7ec0fb3ee3c83dba67c2f8cdcf888ed4 | [
"MIT"
] | 3 | 2019-10-04T17:56:50.000Z | 2019-11-11T13:39:24.000Z | mc2pbrt/block/__init__.py | PbrtCraft/mc2pbrt | 145c844a7ec0fb3ee3c83dba67c2f8cdcf888ed4 | [
"MIT"
] | 8 | 2019-10-12T03:53:23.000Z | 2022-03-12T00:01:21.000Z | mc2pbrt/block/__init__.py | PbrtCraft/mc2pbrt | 145c844a7ec0fb3ee3c83dba67c2f8cdcf888ed4 | [
"MIT"
] | 1 | 2019-02-12T23:41:00.000Z | 2019-02-12T23:41:00.000Z | from block.blocksolver import BlockSolver
from block.blockcreator import BlockCreator
| 28.666667 | 43 | 0.883721 | 10 | 86 | 7.6 | 0.5 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 44 | 43 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
65e0019c66a61789890e7cb76d98033ef4754570 | 10,209 | py | Python | sansred/attenuation_constants.py | SayaTakeuchi1010/_combine | 31d511e07068603274db017212cfbfd228ab7d23 | [
"Unlicense"
] | 5 | 2018-09-28T14:05:17.000Z | 2020-09-15T21:53:28.000Z | sansred/attenuation_constants.py | SayaTakeuchi1010/_combine | 31d511e07068603274db017212cfbfd228ab7d23 | [
"Unlicense"
] | 80 | 2018-04-26T15:00:41.000Z | 2022-03-03T15:32:53.000Z | sansred/attenuation_constants.py | SayaTakeuchi1010/_combine | 31d511e07068603274db017212cfbfd228ab7d23 | [
"Unlicense"
] | 9 | 2018-04-20T18:30:54.000Z | 2021-12-28T15:38:41.000Z | """
Calibration constants for SANS.
Defines *attenuation* dictionary with::
attenuation['NGB30|NG7|NGB']['att|att_err|lambda'] = [value, ...]
"""
import re
import json
from numpy import array
attenuation = {}
# From NCNR_Utils.ipf in IGOR reduction:
# 08/27/2019 bbm: modified NGBatt0 so that it is the same le... | 66.72549 | 158 | 0.699089 | 2,064 | 10,209 | 3.426357 | 0.319283 | 0.125 | 0.230769 | 0.013575 | 0.208286 | 0.175198 | 0.15724 | 0.127404 | 0.118071 | 0.118071 | 0 | 0.351598 | 0.086492 | 10,209 | 153 | 159 | 66.72549 | 0.406712 | 0.025957 | 0 | 0.103175 | 0 | 0.547619 | 0.829408 | 0.703502 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015873 | false | 0 | 0.039683 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
65e56831fa8bf75ebb671948e09f0f2814a9c3c9 | 151 | py | Python | tests/conftest.py | cybojenix/python-sforce | eb2ab1a7030797c1dcb1449f663bcd6abfefb213 | [
"MIT"
] | null | null | null | tests/conftest.py | cybojenix/python-sforce | eb2ab1a7030797c1dcb1449f663bcd6abfefb213 | [
"MIT"
] | null | null | null | tests/conftest.py | cybojenix/python-sforce | eb2ab1a7030797c1dcb1449f663bcd6abfefb213 | [
"MIT"
] | null | null | null | import pytest
from faker import Factory as FakerFactory
@pytest.fixture(scope="session")
def faker():
return FakerFactory.create(locale="en_GB")
| 18.875 | 46 | 0.768212 | 20 | 151 | 5.75 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125828 | 151 | 7 | 47 | 21.571429 | 0.871212 | 0 | 0 | 0 | 0 | 0 | 0.07947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
029c42bf7d1a47a3b84023e76eff1047c2f214da | 4,980 | py | Python | nalu-plots/master_plot.py | ashishrana160796/calcnet-experiments | 6c7d30393f3f790b768335ec5f1559087c16ba75 | [
"MIT"
] | null | null | null | nalu-plots/master_plot.py | ashishrana160796/calcnet-experiments | 6c7d30393f3f790b768335ec5f1559087c16ba75 | [
"MIT"
] | null | null | null | nalu-plots/master_plot.py | ashishrana160796/calcnet-experiments | 6c7d30393f3f790b768335ec5f1559087c16ba75 | [
"MIT"
] | null | null | null | from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
from matplotlib import cm
from matplotlib.ticker import LinearLocator, FormatStrFormatter
import numpy as np
# defining figure size and dpi for image quality.
fig = plt.figure(figsize=(8, 6), dpi=108)
#================
# First subplot.
#========... | 26.631016 | 74 | 0.654217 | 842 | 4,980 | 3.793349 | 0.159145 | 0.031309 | 0.019724 | 0.020038 | 0.881966 | 0.864746 | 0.86005 | 0.86005 | 0.86005 | 0.86005 | 0 | 0.047473 | 0.149799 | 4,980 | 186 | 75 | 26.774194 | 0.706897 | 0.31245 | 0 | 0.693182 | 0 | 0 | 0.046805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.056818 | 0 | 0.056818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
02a67d7f54eacce0e525ab9f29667297afc05071 | 36 | py | Python | pymx/codegen/__init__.py | cla7aye15I4nd/Pymx | a294e196ad0510171ede15e947a89539485a28f3 | [
"MIT"
] | 3 | 2020-03-29T23:58:28.000Z | 2020-05-29T12:27:54.000Z | pymx/codegen/__init__.py | cla7aye15I4nd/Pymx | a294e196ad0510171ede15e947a89539485a28f3 | [
"MIT"
] | null | null | null | pymx/codegen/__init__.py | cla7aye15I4nd/Pymx | a294e196ad0510171ede15e947a89539485a28f3 | [
"MIT"
] | null | null | null | """ codegen """
from . import riscv | 12 | 19 | 0.611111 | 4 | 36 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 36 | 3 | 19 | 12 | 0.758621 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
02d02fc07d8c5aaa3e4ab21511d89951373bc0e9 | 149 | py | Python | copper/managers/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 6 | 2016-07-28T13:59:34.000Z | 2021-12-28T05:44:15.000Z | copper/managers/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 5 | 2016-06-30T10:19:25.000Z | 2022-03-11T23:19:01.000Z | copper/managers/__init__.py | cinepost/Copperfield_FX | 1900b506d0a407a3fb5774ab129b984a547ee0b5 | [
"Unlicense"
] | 3 | 2019-03-18T05:17:10.000Z | 2020-02-14T06:56:40.000Z | from .root_network import ROOT_Network
from .rop_network import ROP_Network
from .obj_network import OBJ_Network
from .cop_network import COP_Network | 37.25 | 38 | 0.872483 | 24 | 149 | 5.083333 | 0.291667 | 0.42623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100671 | 149 | 4 | 39 | 37.25 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
02de67bc9ca941823d9089fc082d1e47ff4f55a5 | 1,152 | py | Python | source/functions/PortScanner.py | GucciHsuan/CampusCyberInspectionTool2021 | 86636f777192e492f4342519e30a975a6a58b8ab | [
"MIT"
] | null | null | null | source/functions/PortScanner.py | GucciHsuan/CampusCyberInspectionTool2021 | 86636f777192e492f4342519e30a975a6a58b8ab | [
"MIT"
] | null | null | null | source/functions/PortScanner.py | GucciHsuan/CampusCyberInspectionTool2021 | 86636f777192e492f4342519e30a975a6a58b8ab | [
"MIT"
] | null | null | null | import socket
class Scanport:
def portscannerTCP():
ip = input('\033[0;31;42mInput IP which you want to know open ports:\n\033[0m').strip() #getting ip-address of host
for port in range(65535): #check for all available ports
try:
serv = socket.socket(socket.AF_INE... | 54.857143 | 124 | 0.601563 | 156 | 1,152 | 4.416667 | 0.346154 | 0.029028 | 0.029028 | 0.03193 | 0.870827 | 0.870827 | 0.870827 | 0.870827 | 0.870827 | 0.870827 | 0 | 0.063725 | 0.291667 | 1,152 | 21 | 125 | 54.857143 | 0.780637 | 0.262153 | 0 | 0.7 | 0 | 0.1 | 0.23389 | 0.050119 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.05 | 0 | 0.2 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f304fc5af95c4990e344ac4100e59718559efd40 | 23,083 | py | Python | semanticVisitor.py | lamhacker/VPL-Compiler | c54850f95342504e962b990c5cac17679e7069a9 | [
"Apache-2.0"
] | 2 | 2020-01-28T12:41:09.000Z | 2020-04-25T13:31:43.000Z | semanticVisitor.py | lamhacker/VPL-Compiler | c54850f95342504e962b990c5cac17679e7069a9 | [
"Apache-2.0"
] | null | null | null | semanticVisitor.py | lamhacker/VPL-Compiler | c54850f95342504e962b990c5cac17679e7069a9 | [
"Apache-2.0"
] | null | null | null | # Generated from /Users/franklan123/Desktop/VPL_ANTLR/VPL/VPL.g by ANTLR 4.7
from antlr4 import *
from VPLVisitor import VPLVisitor
if __name__ is not None and "." in __name__:
from .VPLParser import VPLParser
else:
from VPLParser import VPLParser
import sys
'''
Semantic Checker
This class check 6 kinds of err... | 43.47081 | 147 | 0.592817 | 2,537 | 23,083 | 5.386677 | 0.091841 | 0.021221 | 0.048807 | 0.055173 | 0.76211 | 0.745719 | 0.732328 | 0.700132 | 0.687399 | 0.673935 | 0 | 0.008495 | 0.321709 | 23,083 | 530 | 148 | 43.55283 | 0.864342 | 0.223195 | 0 | 0.711039 | 1 | 0 | 0.144877 | 0.075152 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068182 | false | 0.019481 | 0.016234 | 0.048701 | 0.181818 | 0.074675 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 6 |
f31b3cb5488149633dce6d935479b505c9386962 | 17,186 | py | Python | s2v_key_case_and_sense_variations_test.py | joshweir/sense2vec-rest | b11ee59661b63146afc2acf1283486c0ab21b15d | [
"CC0-1.0"
] | null | null | null | s2v_key_case_and_sense_variations_test.py | joshweir/sense2vec-rest | b11ee59661b63146afc2acf1283486c0ab21b15d | [
"CC0-1.0"
] | null | null | null | s2v_key_case_and_sense_variations_test.py | joshweir/sense2vec-rest | b11ee59661b63146afc2acf1283486c0ab21b15d | [
"CC0-1.0"
] | null | null | null | import pytest
from s2v_key_case_and_sense_variations import S2vKeyCaseAndSenseVariations
@pytest.fixture
def s2v_mock():
from sense2vec import Sense2Vec
import numpy as np
s2v = Sense2Vec(shape=(16, 4))
s2v.add('New_York|GPE', np.asarray([1, 1, 1, 1], dtype=np.float32))
s2v.add('New_York|NOUN', np.... | 56.163399 | 232 | 0.623298 | 2,113 | 17,186 | 4.821581 | 0.053005 | 0.081665 | 0.064782 | 0.092265 | 0.92874 | 0.924421 | 0.919121 | 0.90852 | 0.90852 | 0.895563 | 0 | 0.016161 | 0.175492 | 17,186 | 305 | 233 | 56.347541 | 0.702823 | 0.011696 | 0 | 0.575972 | 0 | 0 | 0.324991 | 0 | 0 | 0 | 0 | 0 | 0.038869 | 1 | 0.045936 | false | 0 | 0.024735 | 0 | 0.077739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b88e842231bee5065d436a1fa2fda924bd6b234d | 100 | py | Python | utils/__init__.py | GabyRumc/DeepCovidXR | 3cc48cd6a9d545d8b10383b1f34dad16b0b998d2 | [
"MIT"
] | 12 | 2020-12-01T01:21:35.000Z | 2021-08-18T07:39:17.000Z | utils/__init__.py | GabyRumc/DeepCovidXR | 3cc48cd6a9d545d8b10383b1f34dad16b0b998d2 | [
"MIT"
] | 8 | 2020-11-03T15:10:25.000Z | 2021-03-06T13:50:55.000Z | utils/__init__.py | GabyRumc/DeepCovidXR | 3cc48cd6a9d545d8b10383b1f34dad16b0b998d2 | [
"MIT"
] | 10 | 2020-11-25T07:49:14.000Z | 2021-11-04T19:36:07.000Z | from .NIH_util import nihUtils
from .img_util import imgUtils
from .model_util import trainFeatures
| 25 | 37 | 0.85 | 15 | 100 | 5.466667 | 0.6 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 3 | 38 | 33.333333 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b27fc9b1d8d54a7cfd1706dec0357525f94be528 | 23 | py | Python | kay_package/__init__.py | KathyRoma/lambda_packages | 8942337ae070915b7abb7f34a23ee7e43a9b3230 | [
"MIT"
] | null | null | null | kay_package/__init__.py | KathyRoma/lambda_packages | 8942337ae070915b7abb7f34a23ee7e43a9b3230 | [
"MIT"
] | 1 | 2020-07-07T23:01:46.000Z | 2020-07-07T23:01:46.000Z | kay_package/__init__.py | KathyRoma/lambda_packages | 8942337ae070915b7abb7f34a23ee7e43a9b3230 | [
"MIT"
] | 1 | 2020-07-07T22:57:29.000Z | 2020-07-07T22:57:29.000Z | from .k_fun import Kfun | 23 | 23 | 0.826087 | 5 | 23 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b2819881981fc947eaa46bfab91b5b44a3086934 | 179 | py | Python | dryapp/drydrop/app/models/session.py | harperreed/drydrop | 3c9463a9e789f2e8e5f8df43fb10bb9f44a7ba78 | [
"BSD-3-Clause"
] | 1 | 2015-11-05T00:49:41.000Z | 2015-11-05T00:49:41.000Z | dryapp/drydrop/app/models/session.py | harperreed/drydrop | 3c9463a9e789f2e8e5f8df43fb10bb9f44a7ba78 | [
"BSD-3-Clause"
] | null | null | null | dryapp/drydrop/app/models/session.py | harperreed/drydrop | 3c9463a9e789f2e8e5f8df43fb10bb9f44a7ba78 | [
"BSD-3-Clause"
] | null | null | null | # -*- mode: python; coding: utf-8 -*-
import logging
import google.appengine.ext.db as db
from drydrop.app.core.model import Model
class Session(db.Expando, Model):
pass | 22.375 | 40 | 0.709497 | 27 | 179 | 4.703704 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006711 | 0.167598 | 179 | 8 | 41 | 22.375 | 0.845638 | 0.195531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a2e3efe4f705a958a76e17e43a0d50023efeb0d0 | 81 | py | Python | src/pengbot/context.py | mariocesar/pengbot | 070854f92ac1314ee56f7f6cb9d27430b8f0fda8 | [
"MIT"
] | 1 | 2020-09-21T13:52:04.000Z | 2020-09-21T13:52:04.000Z | src/pengbot/context.py | mariocesar/pengbot | 070854f92ac1314ee56f7f6cb9d27430b8f0fda8 | [
"MIT"
] | null | null | null | src/pengbot/context.py | mariocesar/pengbot | 070854f92ac1314ee56f7f6cb9d27430b8f0fda8 | [
"MIT"
] | null | null | null | from pengbot.utils import AttributeDict
class Context(AttributeDict):
pass
| 13.5 | 39 | 0.790123 | 9 | 81 | 7.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 5 | 40 | 16.2 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a2ea084344a9ed8ab4b11e9aa7167e6505818d2b | 35,714 | py | Python | cpdb/pinboard/tests/models/test_pinboard.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 25 | 2018-07-20T22:31:40.000Z | 2021-07-15T16:58:41.000Z | cpdb/pinboard/tests/models/test_pinboard.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 13 | 2018-06-18T23:08:47.000Z | 2022-02-10T07:38:25.000Z | cpdb/pinboard/tests/models/test_pinboard.py | invinst/CPDBv2_backend | b4e96d620ff7a437500f525f7e911651e4a18ef9 | [
"Apache-2.0"
] | 6 | 2018-05-17T21:59:43.000Z | 2020-11-17T00:30:26.000Z | from datetime import datetime
from django.test.testcases import TestCase
import pytz
from robber.expect import expect
from data.factories import (
AllegationFactory, OfficerFactory, OfficerAllegationFactory, InvestigatorAllegationFactory,
PoliceWitnessFactory,
AttachmentFileFactory,
)
from pinboard.facto... | 48.923288 | 119 | 0.705886 | 3,953 | 35,714 | 6.097647 | 0.041993 | 0.043146 | 0.022652 | 0.011201 | 0.907899 | 0.879895 | 0.870768 | 0.856455 | 0.816752 | 0.794432 | 0 | 0.039349 | 0.19519 | 35,714 | 729 | 120 | 48.990398 | 0.799255 | 0 | 0 | 0.68254 | 0 | 0 | 0.042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039683 | false | 0 | 0.011111 | 0 | 0.052381 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c28263b0e8837a9f7a76340b7ca27bba468b49b | 328 | py | Python | EventFilter/SiStripRawToDigi/python/ExcludedFEDListProducer_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | EventFilter/SiStripRawToDigi/python/ExcludedFEDListProducer_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | EventFilter/SiStripRawToDigi/python/ExcludedFEDListProducer_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
import EventFilter.SiStripRawToDigi.siStripExcludedFEDListProducer_cfi
SiStripExcludedFEDListProducer = EventFilter.SiStripRawToDigi.siStripExcludedFEDListProducer_cfi.siStripExcludedFEDListProducer.clone()
SiStripExcludedFEDListProducer.ProductLabel = cms.InputTag("rawDataColl... | 54.666667 | 135 | 0.905488 | 23 | 328 | 12.826087 | 0.608696 | 0.183051 | 0.386441 | 0.40678 | 0.610169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039634 | 328 | 5 | 136 | 65.6 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a73dee5fee50fb1575ac569836a612e429e4f061 | 20 | py | Python | softmock/__init__.py | web-trump/soft-mock | 88f5cb48c30499735e688d49a47682976094142f | [
"MIT"
] | 4 | 2021-02-08T07:35:57.000Z | 2021-02-09T09:55:04.000Z | softmock/__init__.py | web-trump/softmock | 88f5cb48c30499735e688d49a47682976094142f | [
"MIT"
] | null | null | null | softmock/__init__.py | web-trump/softmock | 88f5cb48c30499735e688d49a47682976094142f | [
"MIT"
] | null | null | null | from . import entry
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a79b7d192561d1a71ff87bb568c50661b986bf91 | 180 | py | Python | src/test/datascience/serverConfigFiles/remotePassword.py | ChaseKnowlden/vscode-jupyter | 9bdaf87f0b6dcd717c508e9023350499a6093f97 | [
"MIT"
] | 615 | 2020-11-11T22:55:28.000Z | 2022-03-30T21:48:08.000Z | src/test/datascience/serverConfigFiles/remotePassword.py | ChaseKnowlden/vscode-jupyter | 9bdaf87f0b6dcd717c508e9023350499a6093f97 | [
"MIT"
] | 8,428 | 2020-11-11T22:06:43.000Z | 2022-03-31T23:42:34.000Z | src/test/datascience/serverConfigFiles/remotePassword.py | ChaseKnowlden/vscode-jupyter | 9bdaf87f0b6dcd717c508e9023350499a6093f97 | [
"MIT"
] | 158 | 2020-11-12T07:49:02.000Z | 2022-03-27T20:50:20.000Z | c.NotebookApp.ip = "*"
c.NotebookApp.port = 9799
c.NotebookApp.open_browser = False
# Python
c.NotebookApp.password = "sha1:74182e119a7b:e1b98bbba98f9ada3fd714eda9652437e80082e2"
| 25.714286 | 85 | 0.805556 | 19 | 180 | 7.578947 | 0.684211 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224242 | 0.083333 | 180 | 6 | 86 | 30 | 0.648485 | 0.033333 | 0 | 0 | 0 | 0 | 0.345029 | 0.339181 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ac28081dff4321dc988a4b497d58eb45d8addd62 | 138 | py | Python | robots/robot1/config.py | memristor/mep2 | bc5cddacba3d740f791f3454b8cb51bda83ce202 | [
"MIT"
] | 5 | 2018-11-27T15:15:00.000Z | 2022-02-10T21:44:13.000Z | robots/robot1/config.py | memristor/mep2 | bc5cddacba3d740f791f3454b8cb51bda83ce202 | [
"MIT"
] | 2 | 2018-10-20T15:48:40.000Z | 2018-11-20T05:11:33.000Z | robots/robot1/config.py | memristor/mep2 | bc5cddacba3d740f791f3454b8cb51bda83ce202 | [
"MIT"
] | 1 | 2020-02-07T12:44:47.000Z | 2020-02-07T12:44:47.000Z | from modules.default_config import motion, collision_wait_suspend, pathfind
motion.can.iface='can0'
collision_wait_suspend.wait_time = 20
| 34.5 | 75 | 0.855072 | 20 | 138 | 5.6 | 0.75 | 0.232143 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.072464 | 138 | 3 | 76 | 46 | 0.851563 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3ba9748486ce8180842dbac181dc355d5a707717 | 2,029 | py | Python | Plot_Graph.py | evanxia1018/CSE539_Project_LLE | 881ea2278c39c16716e5de83dd8abbd267806a35 | [
"MIT"
] | 2 | 2019-11-10T02:04:52.000Z | 2020-04-19T03:51:51.000Z | Plot_Graph.py | SarahLynnePu/CSE539_Project_LLE | 881ea2278c39c16716e5de83dd8abbd267806a35 | [
"MIT"
] | null | null | null | Plot_Graph.py | SarahLynnePu/CSE539_Project_LLE | 881ea2278c39c16716e5de83dd8abbd267806a35 | [
"MIT"
] | 3 | 2017-12-28T14:09:24.000Z | 2020-04-19T04:25:03.000Z | from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np
def plot3D(sample_list):
sample_x = [x[0] for x in sample_list]
sample_y = [x[1] for x in sample_list]
sample_z = [x[2] for x in sample_list]
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
... | 27.794521 | 46 | 0.587974 | 342 | 2,029 | 3.380117 | 0.149123 | 0.155709 | 0.114187 | 0.083045 | 0.865052 | 0.826125 | 0.782007 | 0.765571 | 0.765571 | 0.765571 | 0 | 0.064392 | 0.234598 | 2,029 | 72 | 47 | 28.180556 | 0.679974 | 0 | 0 | 0.698413 | 0 | 0 | 0.042878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079365 | false | 0 | 0.047619 | 0 | 0.126984 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3bc300f4118d1a352e007d76f8da405f45d7b10d | 1,027 | py | Python | tests/test_small_hessian_eigenvalue.py | elsandal/pyclesperanto_prototype | 7bda828813b86b44b63d73d5e8f466d9769cded1 | [
"BSD-3-Clause"
] | 2 | 2020-07-01T06:20:44.000Z | 2020-07-01T09:36:48.000Z | tests/test_small_hessian_eigenvalue.py | elsandal/pyclesperanto_prototype | 7bda828813b86b44b63d73d5e8f466d9769cded1 | [
"BSD-3-Clause"
] | null | null | null | tests/test_small_hessian_eigenvalue.py | elsandal/pyclesperanto_prototype | 7bda828813b86b44b63d73d5e8f466d9769cded1 | [
"BSD-3-Clause"
] | 1 | 2020-06-29T18:40:54.000Z | 2020-06-29T18:40:54.000Z | import pyclesperanto_prototype as cle
import numpy as np
def test_small_hessian_eigenvalue_2d():
test = np.asarray([
[1, -1],
[1, -1]
])
reference_small_hessian_eigenvalue = np.asarray([
[-2, 0],
[-2, 0]
])
small_hessian_eigenvalue = cle.small_hessian_eigenvalue(te... | 21.851064 | 94 | 0.567673 | 116 | 1,027 | 4.706897 | 0.206897 | 0.307692 | 0.564103 | 0.227106 | 0.860806 | 0.754579 | 0.754579 | 0.542125 | 0.542125 | 0.542125 | 0 | 0.047887 | 0.308666 | 1,027 | 46 | 95 | 22.326087 | 0.721127 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.111111 | 0.055556 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ce33ff9441f5106fdde9d924a5f6568d2eae9b8f | 4,570 | py | Python | lib/ad/protocol/test/test_ldapfilter.py | sfu-rcg/python-ad | a4b80d73130a0b12cc17fecbfca73d995d074d32 | [
"MIT"
] | 9 | 2015-03-28T16:05:01.000Z | 2021-05-15T02:53:44.000Z | lib/ad/protocol/test/test_ldapfilter.py | sfu-rcg/python-ad | a4b80d73130a0b12cc17fecbfca73d995d074d32 | [
"MIT"
] | null | null | null | lib/ad/protocol/test/test_ldapfilter.py | sfu-rcg/python-ad | a4b80d73130a0b12cc17fecbfca73d995d074d32 | [
"MIT"
] | 7 | 2015-04-14T13:04:52.000Z | 2021-02-24T12:50:05.000Z | #
# This file is part of Python-AD. Python-AD is free software that is made
# available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# Python-AD is copyright (c) 2007 by the Python-AD authors. See the file
# "AUTHORS" for a complete ove... | 34.885496 | 73 | 0.624508 | 540 | 4,570 | 5.218519 | 0.161111 | 0.119234 | 0.14159 | 0.097587 | 0.783889 | 0.78247 | 0.75692 | 0.742016 | 0.725692 | 0.725692 | 0 | 0.011675 | 0.250328 | 4,570 | 130 | 74 | 35.153846 | 0.810858 | 0.077024 | 0 | 0.576923 | 0 | 0 | 0.08797 | 0.048027 | 0 | 0 | 0 | 0 | 0.413462 | 1 | 0.144231 | false | 0 | 0.019231 | 0 | 0.173077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0212812ec45bb338ea2b0a68a2fefaa4836c519e | 2,008 | py | Python | mentor/userform/dbtests.py | JarettSutula/GoatBoat | 53dd978048c6757b537e5988793b29a5ef1b7b52 | [
"MIT"
] | null | null | null | mentor/userform/dbtests.py | JarettSutula/GoatBoat | 53dd978048c6757b537e5988793b29a5ef1b7b52 | [
"MIT"
] | null | null | null | mentor/userform/dbtests.py | JarettSutula/GoatBoat | 53dd978048c6757b537e5988793b29a5ef1b7b52 | [
"MIT"
] | null | null | null | from django.test import TestCase
import os
import unittest
import pymongo
from dotenv import load_dotenv
import certifi
# Create your tests here.
class TestDatabaseMethods(unittest.TestCase):
def test_dbconnect(self):
ca = certifi.where()
# load the .env file in local directories for DB access... | 31.873016 | 143 | 0.673307 | 242 | 2,008 | 5.363636 | 0.289256 | 0.069337 | 0.046225 | 0.09245 | 0.718798 | 0.718798 | 0.718798 | 0.718798 | 0.718798 | 0.718798 | 0 | 0.001269 | 0.215139 | 2,008 | 62 | 144 | 32.387097 | 0.822335 | 0.093626 | 0 | 0.567568 | 0 | 0 | 0.189085 | 0.112459 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.081081 | false | 0.162162 | 0.162162 | 0 | 0.297297 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
021569aefbdfb0e80abb739c0353d8327f38176b | 13,394 | py | Python | tests/handlers/test_embed.py | byte-power/redash | a12fe525cc2043bbe89e2717b336bb6ab4eae11c | [
"BSD-2-Clause"
] | 1 | 2022-01-18T01:23:03.000Z | 2022-01-18T01:23:03.000Z | tests/handlers/test_embed.py | byte-power/polydash | 9d63424a2c82a7199471fc3b42816b24a193037f | [
"BSD-2-Clause"
] | 1 | 2021-03-02T02:01:42.000Z | 2021-03-02T02:01:42.000Z | tests/handlers/test_embed.py | byte-power/redash | a12fe525cc2043bbe89e2717b336bb6ab4eae11c | [
"BSD-2-Clause"
] | 1 | 2021-03-19T12:23:50.000Z | 2021-03-19T12:23:50.000Z | import time
from tests import BaseTestCase
from redash.models import db
from redash import settings
from redash.authentication import get_embed_signature, encode_params
class TestUnembedables(BaseTestCase):
def test_not_embedable(self):
query = self.factory.create_query()
res = self.make_request("... | 38.268571 | 117 | 0.632149 | 1,541 | 13,394 | 5.28488 | 0.112265 | 0.054028 | 0.08141 | 0.048625 | 0.849337 | 0.833988 | 0.809185 | 0.798011 | 0.772102 | 0.745457 | 0 | 0.009827 | 0.247872 | 13,394 | 350 | 118 | 38.268571 | 0.79859 | 0.039794 | 0 | 0.694158 | 0 | 0 | 0.100553 | 0.041404 | 0 | 0 | 0 | 0.002857 | 0.116838 | 1 | 0.079038 | false | 0 | 0.017182 | 0 | 0.120275 | 0.003436 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
65f0dfc179ffee87cc586e5c320937ee560df45f | 17,430 | py | Python | redbird/test/common/test_common.py | Miksus/red-base | 4c272e8cb2325b51f6293f608a773e011b1d05da | [
"MIT"
] | null | null | null | redbird/test/common/test_common.py | Miksus/red-base | 4c272e8cb2325b51f6293f608a773e011b1d05da | [
"MIT"
] | null | null | null | redbird/test/common/test_common.py | Miksus/red-base | 4c272e8cb2325b51f6293f608a773e011b1d05da | [
"MIT"
] | null | null | null |
import configparser
from typing import Optional
import re, os
import json
from dotenv import load_dotenv
import pytest
import responses
import requests
from redbird.repos.rest import RESTRepo
from redbird.repos.sqlalchemy import SQLRepo
from redbird.repos.memory import MemoryRepo
from redbird.repos.mongo import Mongo... | 30.578947 | 91 | 0.500287 | 2,199 | 17,430 | 3.894498 | 0.073215 | 0.079869 | 0.037599 | 0.053947 | 0.82263 | 0.812938 | 0.795423 | 0.778491 | 0.763779 | 0.721158 | 0 | 0.027365 | 0.316523 | 17,430 | 570 | 92 | 30.578947 | 0.691513 | 0.035055 | 0 | 0.622768 | 0 | 0 | 0.091672 | 0 | 0 | 0 | 0 | 0 | 0.066964 | 1 | 0.087054 | false | 0 | 0.03125 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
65fc5ec8893c123148e8b0b3c1755499ac3c8ebb | 26 | py | Python | src/query/__init__.py | josemanuel179/practica3-python | 1580769d971ce945c304211face9cef8cf0debd0 | [
"Apache-2.0"
] | null | null | null | src/query/__init__.py | josemanuel179/practica3-python | 1580769d971ce945c304211face9cef8cf0debd0 | [
"Apache-2.0"
] | null | null | null | src/query/__init__.py | josemanuel179/practica3-python | 1580769d971ce945c304211face9cef8cf0debd0 | [
"Apache-2.0"
] | null | null | null | from .query import Query
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a124ba2069248bd2d3ac1dc15b59a3f15760c02 | 287 | py | Python | bsdploy/tests/test_templates.py | Mattlk13/bsdploy | 9a677da925b59a0178d2e0d6f85bb4c86a3eb399 | [
"BSD-3-Clause"
] | 152 | 2015-01-07T17:54:48.000Z | 2022-02-25T15:47:14.000Z | bsdploy/tests/test_templates.py | Mattlk13/bsdploy | 9a677da925b59a0178d2e0d6f85bb4c86a3eb399 | [
"BSD-3-Clause"
] | 71 | 2015-01-02T12:48:11.000Z | 2020-05-28T10:36:10.000Z | bsdploy/tests/test_templates.py | Mattlk13/bsdploy | 9a677da925b59a0178d2e0d6f85bb4c86a3eb399 | [
"BSD-3-Clause"
] | 25 | 2015-01-07T14:00:36.000Z | 2020-07-29T16:28:54.000Z | def test_dhcp_host_dhclient_exit_hooks():
pass
def test_jails_host_pf_conf():
pass
def test_jails_host_ezjail_conf():
pass
def test_jails_host_freebsd_conf():
pass
def test_zfs_auto_snapshot_010_zfs_snapshot():
pass
def test_jails_host_pkg_conf():
pass
| 12.478261 | 46 | 0.756098 | 45 | 287 | 4.222222 | 0.4 | 0.221053 | 0.289474 | 0.336842 | 0.463158 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0.012766 | 0.181185 | 287 | 22 | 47 | 13.045455 | 0.795745 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5a1d29d33d08c196b9ed764a6a8f613682603ce6 | 3,914 | py | Python | Backend/notifications.py | sahilb2/SelfImprovementWebApp | 2ba232c4e150efb4ef41689ed049d29293e2086e | [
"MIT"
] | 1 | 2021-02-24T04:59:03.000Z | 2021-02-24T04:59:03.000Z | Backend/notifications.py | sahilb2/SelfImprovementWebApp | 2ba232c4e150efb4ef41689ed049d29293e2086e | [
"MIT"
] | null | null | null | Backend/notifications.py | sahilb2/SelfImprovementWebApp | 2ba232c4e150efb4ef41689ed049d29293e2086e | [
"MIT"
] | 1 | 2018-12-09T00:53:21.000Z | 2018-12-09T00:53:21.000Z | import sqlite3
def insertFit(username, ex, message, day, hour, minute):
dbase = sqlite3.connect("Notifications.db")
act = dbase.cursor()
row = (username, ex, message, day, hour, minute)
act.execute("INSERT INTO Fitness (user, ex1, message1, day1, hour1, min1) VALUES (?,?,?,?,?,?)", row)
dbase.commit()
dbase.clo... | 27.56338 | 105 | 0.678079 | 526 | 3,914 | 5.045627 | 0.142586 | 0.078749 | 0.093067 | 0.156745 | 0.831198 | 0.810098 | 0.789751 | 0.753203 | 0.694047 | 0.630369 | 0 | 0.014674 | 0.164282 | 3,914 | 141 | 106 | 27.758865 | 0.796698 | 0.041645 | 0 | 0.719008 | 0 | 0 | 0.25587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107438 | false | 0 | 0.008264 | 0 | 0.223141 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a60ce1504537d8bdb27460a2868ae94d4f52afb | 138 | py | Python | metametrics/__init__.py | donsheehy/metametrics | 592f8617e9947ab190cd1b1872d30b7bbc933280 | [
"MIT"
] | 1 | 2021-10-04T18:24:38.000Z | 2021-10-04T18:24:38.000Z | metametrics/__init__.py | donsheehy/metametrics | 592f8617e9947ab190cd1b1872d30b7bbc933280 | [
"MIT"
] | null | null | null | metametrics/__init__.py | donsheehy/metametrics | 592f8617e9947ab190cd1b1872d30b7bbc933280 | [
"MIT"
] | null | null | null | # metametrics/__init__.py
from metametrics.point import Point
from metametrics.metric_functions import naiveHD,greedyHD,calcGreedy,l_inf
| 27.6 | 74 | 0.862319 | 18 | 138 | 6.277778 | 0.722222 | 0.265487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07971 | 138 | 4 | 75 | 34.5 | 0.889764 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a88d569a41f15c0ab0f52745b4936aa727dfe1a | 327 | py | Python | arrays/tests/test_merge_sorted_array.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | arrays/tests/test_merge_sorted_array.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | arrays/tests/test_merge_sorted_array.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | 3 | 2020-10-07T20:24:45.000Z | 2020-12-16T04:53:19.000Z | from arrays.merge_sorted_array import merge_sorted_array
def test_merge_sorted_array():
assert merge_sorted_array([2, 0], 1, [1], 1) == [1, 2]
assert merge_sorted_array([1, 2, 3, 0, 0, 0], 3, [2, 4, 5], 3) == [1, 2, 2, 3, 4, 5]
assert merge_sorted_array([4, 5, 6, 0, 0, 0], 3, [1, 2, 3], 3) == [1, 2, 3, 4,... | 40.875 | 88 | 0.584098 | 67 | 327 | 2.656716 | 0.238806 | 0.370787 | 0.539326 | 0.370787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157692 | 0.204893 | 327 | 7 | 89 | 46.714286 | 0.526923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a8ad8ee76a2d92cc6e0085f4052b5282a1e63b5 | 5,281 | py | Python | services/configuration/migrations/0012_auto_20151125_0031.py | rtubio/server | 3bb15f4d4dcd543d6f95d1fda2cb737de0bb9a9b | [
"Apache-2.0"
] | 4 | 2015-03-23T16:34:53.000Z | 2017-12-12T11:41:54.000Z | services/configuration/migrations/0012_auto_20151125_0031.py | rtubio/server | 3bb15f4d4dcd543d6f95d1fda2cb737de0bb9a9b | [
"Apache-2.0"
] | 42 | 2015-01-08T22:21:04.000Z | 2021-12-13T19:48:44.000Z | services/configuration/migrations/0012_auto_20151125_0031.py | rtubio/server | 3bb15f4d4dcd543d6f95d1fda2cb737de0bb9a9b | [
"Apache-2.0"
] | 2 | 2015-04-04T15:23:35.000Z | 2017-07-23T23:14:06.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('configuration', '0011_auto_20151125_0016'),
]
operations = [
migrations.AddField(
m... | 42.58871 | 128 | 0.628101 | 533 | 5,281 | 6.046904 | 0.114447 | 0.064846 | 0.112007 | 0.150791 | 0.941359 | 0.941359 | 0.910332 | 0.910332 | 0.910332 | 0.910332 | 0 | 0.004393 | 0.267184 | 5,281 | 123 | 129 | 42.934959 | 0.828424 | 0.003977 | 0 | 0.683761 | 0 | 0 | 0.18353 | 0.07094 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.051282 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a8b51fad47ca6bc74ac1661bae152e4e9dc4fc5 | 130 | py | Python | chainerui/tasks/__init__.py | Bartzi/chainerui | b6d4cc9f570a440a80c536f2c7c1ba596d2a45ed | [
"MIT"
] | 185 | 2017-12-15T09:24:07.000Z | 2022-01-20T11:20:13.000Z | chainerui/tasks/__init__.py | yutiansut/chainerui | 058f00ec2b9a8a6ccd4f2b2f2bfc80869b771ea1 | [
"MIT"
] | 191 | 2017-12-15T09:14:52.000Z | 2022-02-17T14:09:19.000Z | chainerui/tasks/__init__.py | yutiansut/chainerui | 058f00ec2b9a8a6ccd4f2b2f2bfc80869b771ea1 | [
"MIT"
] | 29 | 2017-12-15T09:40:45.000Z | 2022-03-13T11:21:11.000Z | from chainerui.tasks.collect_results import collect_results # NOQA
from chainerui.tasks.crawl_result import crawl_result # NOQA
| 43.333333 | 67 | 0.846154 | 18 | 130 | 5.888889 | 0.5 | 0.245283 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 130 | 2 | 68 | 65 | 0.913793 | 0.069231 | 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 | 0 | 0 | 0 | 6 |
ce55939d7a8974eb19c445008f3a13630e8d9983 | 185 | py | Python | tweet/forms.py | amandalynnes/twitterclone | 28638c178e329c597e8848ff42f46aedfa2d0712 | [
"MIT"
] | null | null | null | tweet/forms.py | amandalynnes/twitterclone | 28638c178e329c597e8848ff42f46aedfa2d0712 | [
"MIT"
] | null | null | null | tweet/forms.py | amandalynnes/twitterclone | 28638c178e329c597e8848ff42f46aedfa2d0712 | [
"MIT"
] | 1 | 2021-06-30T03:09:03.000Z | 2021-06-30T03:09:03.000Z | from django import forms
from twitteruser.models import TwitterUser
class TweetForm(forms.Form):
title = forms.CharField(max_length=40)
body = forms.CharField(max_length=140)
| 23.125 | 42 | 0.778378 | 25 | 185 | 5.68 | 0.64 | 0.197183 | 0.239437 | 0.323944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031447 | 0.140541 | 185 | 7 | 43 | 26.428571 | 0.861635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce852764f73b503a7ff34edd6363c9c0510b1e17 | 45 | py | Python | app/utils/misc/__init__.py | Arkosh744/telega-bot-mongo | 3a24a3b571a383b1bca3518455f95f6ee899464e | [
"MIT"
] | 18 | 2021-11-06T15:47:13.000Z | 2022-03-22T20:29:53.000Z | app/utils/misc/__init__.py | im-koala/HairRecolorBot | dddcd556236a624b5dcd6ddbf3f15602b9edfbcf | [
"MIT"
] | 4 | 2022-02-07T19:06:03.000Z | 2022-02-12T09:17:24.000Z | app/utils/misc/__init__.py | im-koala/HairRecolorBot | dddcd556236a624b5dcd6ddbf3f15602b9edfbcf | [
"MIT"
] | 7 | 2021-11-06T15:48:26.000Z | 2022-03-22T20:29:56.000Z | from .throttling_decorator import rate_limit
| 22.5 | 44 | 0.888889 | 6 | 45 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cec9df6d776f3b47ea49c1ad8708c5f22edb3304 | 1,977 | py | Python | tests/test_plotting.py | pevisscher/camelot | d93423e0dc78b64e3f2881714c91709d9241d163 | [
"MIT"
] | 1 | 2021-03-11T14:50:46.000Z | 2021-03-11T14:50:46.000Z | tests/test_plotting.py | pevisscher/camelot | d93423e0dc78b64e3f2881714c91709d9241d163 | [
"MIT"
] | null | null | null | tests/test_plotting.py | pevisscher/camelot | d93423e0dc78b64e3f2881714c91709d9241d163 | [
"MIT"
] | 2 | 2020-08-03T16:55:31.000Z | 2021-03-29T12:19:52.000Z | # -*- coding: utf-8 -*-
import os
import pytest
import camelot
testdir = os.path.dirname(os.path.abspath(__file__))
testdir = os.path.join(testdir, "files")
@pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True)
def test_text_plot():
filename = os.path.join(testdir, "foo.pdf")
... | 32.409836 | 85 | 0.742539 | 283 | 1,977 | 4.968198 | 0.159011 | 0.042674 | 0.056899 | 0.096728 | 0.877667 | 0.877667 | 0.877667 | 0.86771 | 0.86771 | 0.86771 | 0 | 0.01139 | 0.111786 | 1,977 | 60 | 86 | 32.95 | 0.789294 | 0.010622 | 0 | 0.575 | 0 | 0 | 0.136643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.175 | false | 0 | 0.075 | 0 | 0.425 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c8926284f73bd402854448e1cc9af0e56af1e78 | 196 | py | Python | flask_wiki/views.py | gcavalcante8808/flask-wiki | a2c0af2e7fa6ce64faeb38e678a2e207ff63f3a6 | [
"BSD-2-Clause"
] | null | null | null | flask_wiki/views.py | gcavalcante8808/flask-wiki | a2c0af2e7fa6ce64faeb38e678a2e207ff63f3a6 | [
"BSD-2-Clause"
] | 35 | 2015-10-08T21:00:22.000Z | 2021-06-25T15:29:41.000Z | flask_wiki/views.py | gcavalcante8808/flask-wiki | a2c0af2e7fa6ce64faeb38e678a2e207ff63f3a6 | [
"BSD-2-Clause"
] | 1 | 2019-07-09T14:17:48.000Z | 2019-07-09T14:17:48.000Z | from flask_restful import Resource, Api
class HomeView(Resource):
def get(self, page_id):
return {'page_id': page_id}
def post(self, page_id):
return {'page_id': page_id} | 24.5 | 39 | 0.663265 | 29 | 196 | 4.241379 | 0.517241 | 0.292683 | 0.162602 | 0.260163 | 0.455285 | 0.455285 | 0.455285 | 0.455285 | 0 | 0 | 0 | 0 | 0.22449 | 196 | 8 | 40 | 24.5 | 0.809211 | 0 | 0 | 0.333333 | 0 | 0 | 0.071066 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.