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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c56bee727081ed52a7aeec0f7b767c67d3a92196 | 39 | bzl | Python | go/deps.bzl | f110/rules_extras | 23175122db6205204ff30291dc9a2d62752a1862 | [
"MIT"
] | 1 | 2021-02-09T04:19:24.000Z | 2021-02-09T04:19:24.000Z | go/deps.bzl | f110/rules_extras | 23175122db6205204ff30291dc9a2d62752a1862 | [
"MIT"
] | null | null | null | go/deps.bzl | f110/rules_extras | 23175122db6205204ff30291dc9a2d62752a1862 | [
"MIT"
] | null | null | null | def go_extras_dependencies():
pass
| 13 | 29 | 0.74359 | 5 | 39 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 2 | 30 | 19.5 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3d73d0ffea34c41360b45203c041882c2d3577ad | 144 | py | Python | utils/__init__.py | fy255/perceptual_cgh | 71a999a8ca8fb355d2f8fb41f97321e48f219324 | [
"MIT"
] | 2 | 2022-02-24T16:19:17.000Z | 2022-03-27T01:13:33.000Z | utils/__init__.py | fy255/perceptual_cgh | 71a999a8ca8fb355d2f8fb41f97321e48f219324 | [
"MIT"
] | null | null | null | utils/__init__.py | fy255/perceptual_cgh | 71a999a8ca8fb355d2f8fb41f97321e48f219324 | [
"MIT"
] | 1 | 2022-03-27T01:13:34.000Z | 2022-03-27T01:13:34.000Z | from .image_processing import *
from utils.image_dataset import *
from .torch_complex import *
from .configs import *
from .slmDisplay import *
| 24 | 33 | 0.791667 | 19 | 144 | 5.842105 | 0.526316 | 0.36036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 144 | 5 | 34 | 28.8 | 0.895161 | 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 |
3de3e2bfb4de170799a9ea745d11cce53ca2fe7f | 1,709 | py | Python | mapi/util/decoder.py | gmax-ws/py-mapi | 0ce2de81f680f8bd6071b4c032437948bb0e3921 | [
"MIT"
] | null | null | null | mapi/util/decoder.py | gmax-ws/py-mapi | 0ce2de81f680f8bd6071b4c032437948bb0e3921 | [
"MIT"
] | null | null | null | mapi/util/decoder.py | gmax-ws/py-mapi | 0ce2de81f680f8bd6071b4c032437948bb0e3921 | [
"MIT"
] | null | null | null | import struct
__all_ = ['int8', 'uint8', 'int16', 'uint16', 'int32',
'uint32', 'int64', 'uint64', 'utf8', 'utf16',
'uint16be', 'uint32be', 'to_hex', 'guid', 'override']
def override(f):
return f
def int8(data):
return None if data is None else struct.unpack("b", data)[0]
def uint8(dat... | 21.632911 | 67 | 0.632534 | 287 | 1,709 | 3.731707 | 0.184669 | 0.140056 | 0.183007 | 0.20915 | 0.634921 | 0.634921 | 0.634921 | 0.634921 | 0.634921 | 0.634921 | 0 | 0.058997 | 0.206554 | 1,709 | 78 | 68 | 21.910256 | 0.730826 | 0 | 0 | 0 | 0 | 0 | 0.079579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.395349 | false | 0 | 0.023256 | 0.372093 | 0.813953 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3de5427b8b9e215242e5bfe77ca12dd7bce2fa09 | 84,337 | py | Python | baidubce/services/bcc/bcc_client.py | onionsheep/bce-sdk-python | 29c260b26eb49dbbd41d205915ab25fc3529f20b | [
"Apache-2.0"
] | null | null | null | baidubce/services/bcc/bcc_client.py | onionsheep/bce-sdk-python | 29c260b26eb49dbbd41d205915ab25fc3529f20b | [
"Apache-2.0"
] | null | null | null | baidubce/services/bcc/bcc_client.py | onionsheep/bce-sdk-python | 29c260b26eb49dbbd41d205915ab25fc3529f20b | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2014 Baidu.com, Inc. All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | 37.038647 | 117 | 0.59318 | 10,075 | 84,337 | 4.804963 | 0.056377 | 0.028507 | 0.019665 | 0.029498 | 0.8371 | 0.803863 | 0.771246 | 0.760938 | 0.738133 | 0.710246 | 0 | 0.007922 | 0.33244 | 84,337 | 2,276 | 118 | 37.054921 | 0.851936 | 0.405504 | 0 | 0.676301 | 0 | 0 | 0.057719 | 0.000973 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070328 | false | 0.015414 | 0.017341 | 0 | 0.159923 | 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 |
9aa73320a32658fc4d17087353089c56c4dd9b53 | 38,508 | py | Python | pybind/nos/v6_0_2c/interface_vlan/interface/vlan/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v6_0_2c/interface_vlan/interface/vlan/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v6_0_2c/interface_vlan/interface/vlan/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 75.952663 | 654 | 0.737431 | 5,254 | 38,508 | 5.17244 | 0.045679 | 0.037533 | 0.047395 | 0.032382 | 0.865764 | 0.850751 | 0.843134 | 0.831175 | 0.8279 | 0.817302 | 0 | 0.010056 | 0.124546 | 38,508 | 506 | 655 | 76.102767 | 0.796067 | 0.148177 | 0 | 0.461279 | 0 | 0.037037 | 0.402525 | 0.173707 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.043771 | 0 | 0.276094 | 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 |
b14fd14bb806504f039aa7455931473b8a75c37c | 159 | py | Python | QuestionAnswerSummaryAndReasoning/utils/__init__.py | xiaobuguilaile/qa-summary-and-reasoning | b0d71f8c7b31e5a856c4904b0d053892ca0ae184 | [
"MIT"
] | 1 | 2021-12-16T03:30:28.000Z | 2021-12-16T03:30:28.000Z | QuestionAnswerSummaryAndReasoning/utils/__init__.py | xiaobuguilaile/qa-summary-and-reasoning | b0d71f8c7b31e5a856c4904b0d053892ca0ae184 | [
"MIT"
] | 3 | 2021-05-21T14:39:35.000Z | 2022-02-10T02:16:54.000Z | QuestionAnswerSummaryAndReasoning/utils/__init__.py | xiaobuguilaile/qa-summary-and-reasoning | b0d71f8c7b31e5a856c4904b0d053892ca0ae184 | [
"MIT"
] | null | null | null |
from .build_w2v import *
from .data_reader import *
from .data_utils import *
from .dataset_split import *
from .preprocess import *
from .tokenizer import *
| 19.875 | 28 | 0.767296 | 22 | 159 | 5.363636 | 0.5 | 0.423729 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.157233 | 159 | 7 | 29 | 22.714286 | 0.873134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b185d2d236d8f13580a103b327466a0555d74380 | 109 | py | Python | backend/app/rest/statistic/views.py | air-services/boilerplate | 8c69927c299882048f9aaaaa58483eea2a6a1cd0 | [
"MIT"
] | null | null | null | backend/app/rest/statistic/views.py | air-services/boilerplate | 8c69927c299882048f9aaaaa58483eea2a6a1cd0 | [
"MIT"
] | null | null | null | backend/app/rest/statistic/views.py | air-services/boilerplate | 8c69927c299882048f9aaaaa58483eea2a6a1cd0 | [
"MIT"
] | null | null | null | from app.core.crud import CrudView
class CardView(CrudView):
pass
class IconView(CrudView):
pass
| 10.9 | 34 | 0.724771 | 14 | 109 | 5.642857 | 0.714286 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201835 | 109 | 9 | 35 | 12.111111 | 0.908046 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
b18efd38a675242a2dda8083f39f7f6632229491 | 21 | py | Python | pudzu-dates/pudzu/dates/__init__.py | Udzu/pudzu-packages | 928930271fac701fbbbf02e6d607e2c5b24cc1e7 | [
"MIT"
] | 1 | 2022-02-28T06:59:40.000Z | 2022-02-28T06:59:40.000Z | pudzu-dates/pudzu/dates/__init__.py | Udzu/pudzu-packages | 928930271fac701fbbbf02e6d607e2c5b24cc1e7 | [
"MIT"
] | 2 | 2022-03-12T01:10:04.000Z | 2022-03-12T01:10:11.000Z | pudzu-dates/pudzu/dates/__init__.py | Udzu/pudzu-packages | 928930271fac701fbbbf02e6d607e2c5b24cc1e7 | [
"MIT"
] | null | null | null | from .dates import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 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 |
49249cbfc75ef5c344cc519ff87e1a5bd967b805 | 107 | py | Python | main/models.py | debajyotiroyc/WebMapping_with_DjangoandGoogleAPIS | f1f8e76f86510d9886c33ec26113db52502deef9 | [
"MIT"
] | null | null | null | main/models.py | debajyotiroyc/WebMapping_with_DjangoandGoogleAPIS | f1f8e76f86510d9886c33ec26113db52502deef9 | [
"MIT"
] | null | null | null | main/models.py | debajyotiroyc/WebMapping_with_DjangoandGoogleAPIS | f1f8e76f86510d9886c33ec26113db52502deef9 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
# Create your models here.
| 17.833333 | 44 | 0.757009 | 16 | 107 | 5.0625 | 0.6875 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186916 | 107 | 5 | 45 | 21.4 | 0.931034 | 0.224299 | 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 |
4948a27df17c8d51e00ab045e1e6f571d02ac058 | 209 | py | Python | app/utils/jwt.py | coolexplorer/py-session | 86ffbd3f1744df18d2deeaa77eebe5dd9980c6ae | [
"MIT"
] | 2 | 2021-08-17T07:15:46.000Z | 2021-08-17T07:18:15.000Z | app/utils/jwt.py | coolexplorer/py-session | 86ffbd3f1744df18d2deeaa77eebe5dd9980c6ae | [
"MIT"
] | 1 | 2022-02-24T06:52:08.000Z | 2022-02-24T06:52:08.000Z | app/utils/jwt.py | coolexplorer/py-session | 86ffbd3f1744df18d2deeaa77eebe5dd9980c6ae | [
"MIT"
] | null | null | null | import jwt
from config import config
settings: config.Settings = config.get_settings()
def decode(token: str) -> dict:
return jwt.decode(token, settings.jwt_secret, algorithms=[settings.jwt_algorithm]) | 23.222222 | 86 | 0.770335 | 28 | 209 | 5.642857 | 0.535714 | 0.177215 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124402 | 209 | 9 | 86 | 23.222222 | 0.863388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
495f4a774b5b584679558394e88b981f6a7773a9 | 47 | py | Python | src/aws_ssm_copy/__main__.py | mvanholsteijn/aws-ssm-copy-parameters | e32e1933ee02e070d7538a1f3ee09d2a5bfadb9c | [
"Apache-2.0"
] | 44 | 2018-03-06T18:19:58.000Z | 2022-03-29T22:47:25.000Z | src/aws_ssm_copy/__main__.py | mvanholsteijn/aws-ssm-copy-parameters | e32e1933ee02e070d7538a1f3ee09d2a5bfadb9c | [
"Apache-2.0"
] | 18 | 2018-03-08T15:15:41.000Z | 2022-03-30T16:42:57.000Z | src/aws_ssm_copy/__main__.py | mvanholsteijn/aws-ssm-copy-parameters | e32e1933ee02e070d7538a1f3ee09d2a5bfadb9c | [
"Apache-2.0"
] | 17 | 2018-03-06T20:33:02.000Z | 2022-02-02T19:59:32.000Z | from aws_ssm_copy.ssm_copy import main
main()
| 11.75 | 38 | 0.808511 | 9 | 47 | 3.888889 | 0.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 3 | 39 | 15.666667 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
498d35bcf534e55e5f754e2aa54f05981133aacb | 68,663 | py | Python | sdk/storage/azure-storage-blob/tests/test_block_blob_async.py | isabella232/azure-sdk-for-python | c9240aa68c2870a1a72249b4c86f3ca95551cc29 | [
"MIT"
] | null | null | null | sdk/storage/azure-storage-blob/tests/test_block_blob_async.py | isabella232/azure-sdk-for-python | c9240aa68c2870a1a72249b4c86f3ca95551cc29 | [
"MIT"
] | 1 | 2021-02-23T23:11:26.000Z | 2021-02-23T23:11:26.000Z | sdk/storage/azure-storage-blob/tests/test_block_blob_async.py | isabella232/azure-sdk-for-python | c9240aa68c2870a1a72249b4c86f3ca95551cc29 | [
"MIT"
] | null | null | null | # coding: utf-8
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------... | 46.900956 | 149 | 0.697086 | 8,216 | 68,663 | 5.469693 | 0.049659 | 0.080064 | 0.046908 | 0.070407 | 0.87917 | 0.851977 | 0.827922 | 0.800975 | 0.784797 | 0.776275 | 0 | 0.006992 | 0.210594 | 68,663 | 1,463 | 150 | 46.933014 | 0.822058 | 0.047376 | 0 | 0.660612 | 0 | 0 | 0.042323 | 0.014859 | 0 | 0 | 0 | 0 | 0.14914 | 1 | 0.010516 | false | 0.001912 | 0.01434 | 0.003824 | 0.034417 | 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 |
49956d18cae29bfa5f7debe70156d0c229f829b5 | 179,306 | py | Python | cottonformation/res/emr.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/emr.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/emr.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class ClusterComputeLimits(Property):
"""
AWS Object Type = "AWS::EMR::Clus... | 72.242546 | 296 | 0.789198 | 17,541 | 179,306 | 7.97674 | 0.015507 | 0.089423 | 0.041038 | 0.063422 | 0.93983 | 0.933869 | 0.919883 | 0.884298 | 0.882783 | 0.882369 | 0 | 0.000129 | 0.091916 | 179,306 | 2,481 | 297 | 72.271665 | 0.859199 | 0.34363 | 0 | 0.556429 | 0 | 0 | 0.101216 | 0.065519 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002857 | false | 0.004286 | 0.002857 | 0 | 0.255714 | 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 |
620535e80c94944e77763b5a638ec1ce66c8e863 | 121 | py | Python | test_file_example.py | corps-g/scale_plots | ea18cab82da331628c2932a0cedfe3878166c84a | [
"MIT"
] | null | null | null | test_file_example.py | corps-g/scale_plots | ea18cab82da331628c2932a0cedfe3878166c84a | [
"MIT"
] | null | null | null | test_file_example.py | corps-g/scale_plots | ea18cab82da331628c2932a0cedfe3878166c84a | [
"MIT"
] | 1 | 2021-02-25T20:17:03.000Z | 2021-02-25T20:17:03.000Z | import scale_plots
scale_plots.Test('scale.rev05.44groupcov')
print('\n')
scale_plots.Test('scale.rev08.56groupcov7.1')
| 20.166667 | 45 | 0.785124 | 18 | 121 | 5.111111 | 0.611111 | 0.326087 | 0.304348 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.049587 | 121 | 5 | 46 | 24.2 | 0.713043 | 0 | 0 | 0 | 0 | 0 | 0.404959 | 0.38843 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6217173a4264c90b96cf76aef9717d580ec33379 | 5,800 | py | Python | tests/test_mit_integration_by_year.py | DrewStern/benford-analysis | ad1e2e78daec7c971087032116fbb908dc791bad | [
"MIT"
] | 1 | 2020-11-08T18:37:36.000Z | 2020-11-08T18:37:36.000Z | tests/test_mit_integration_by_year.py | DrewStern/benford-analysis | ad1e2e78daec7c971087032116fbb908dc791bad | [
"MIT"
] | null | null | null | tests/test_mit_integration_by_year.py | DrewStern/benford-analysis | ad1e2e78daec7c971087032116fbb908dc791bad | [
"MIT"
] | null | null | null | class MitIntegrationByYearTestCases(unittest.TestCase):
def setUp(self) -> None:
data_path = self.read_presidential_votes_county_data()
self.election_result_repository = ElectionResultRepository(data_path)
self.election_result_service = ElectionResultService(self.election_result_reposito... | 80.555556 | 162 | 0.762759 | 780 | 5,800 | 5.297436 | 0.153846 | 0.110358 | 0.087367 | 0.119555 | 0.818732 | 0.792594 | 0.792594 | 0.782672 | 0.782672 | 0.728945 | 0 | 0.083636 | 0.146552 | 5,800 | 72 | 163 | 80.555556 | 0.751111 | 0 | 0 | 0.454545 | 0 | 0 | 0.00733 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.106061 | false | 0 | 0 | 0 | 0.121212 | 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 |
6223d8335b459d09f126d5d48ef3009eaead7edf | 1,806 | py | Python | GPy/testing/gplvm_tests.py | rokroskar/GPy | 0f8dbba56d480902c86cfe8bad9e79d9eabae009 | [
"BSD-3-Clause"
] | 1 | 2016-08-04T21:28:11.000Z | 2016-08-04T21:28:11.000Z | GPy/testing/gplvm_tests.py | rokroskar/GPy | 0f8dbba56d480902c86cfe8bad9e79d9eabae009 | [
"BSD-3-Clause"
] | null | null | null | GPy/testing/gplvm_tests.py | rokroskar/GPy | 0f8dbba56d480902c86cfe8bad9e79d9eabae009 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2012, Nicolo Fusi
# Licensed under the BSD 3-clause license (see LICENSE.txt)
import unittest
import numpy as np
import GPy
class GPLVMTests(unittest.TestCase):
def test_bias_kern(self):
num_data, num_inducing, input_dim, output_dim = 10, 3, 2, 4
X = np.random.rand(num_data, input_... | 40.133333 | 76 | 0.640089 | 289 | 1,806 | 3.806228 | 0.238754 | 0.152727 | 0.043636 | 0.081818 | 0.79 | 0.79 | 0.79 | 0.79 | 0.79 | 0.79 | 0 | 0.039971 | 0.224252 | 1,806 | 44 | 77 | 41.045455 | 0.745182 | 0.04928 | 0 | 0.675676 | 0 | 0 | 0.032089 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0 | null | null | 0 | 0.081081 | null | null | 0.027027 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6232fa55a9f32fc347eef9e78412d729dfaa2436 | 40 | py | Python | __init__.py | XXXalice/umemiya_killme | 8d6d13cf28ded05d89bbb2b7a705afae9d0932bb | [
"MIT"
] | 1 | 2020-05-29T18:11:54.000Z | 2020-05-29T18:11:54.000Z | __init__.py | XXXalice/umemiya_killme | 8d6d13cf28ded05d89bbb2b7a705afae9d0932bb | [
"MIT"
] | 1 | 2020-06-01T14:09:00.000Z | 2020-06-01T14:09:00.000Z | __init__.py | XXXalice/umemiya_killme | 8d6d13cf28ded05d89bbb2b7a705afae9d0932bb | [
"MIT"
] | 1 | 2020-05-29T18:12:02.000Z | 2020-05-29T18:12:02.000Z | # API自体を参照用パッケージング
# config.pyのimportのため | 20 | 21 | 0.85 | 3 | 40 | 11.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 2 | 21 | 20 | 0.918919 | 0.9 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 6 |
623d198d38eec0d10b1e69dd6acd24891d8efc04 | 5,692 | py | Python | UnityEngine/ParticleSystem/MinMaxCurve/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/ParticleSystem/MinMaxCurve/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/ParticleSystem/MinMaxCurve/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from typing import overload
from UdonPie import System
from UdonPie import UnityEngine
from UdonPie.Undefined import *
class MinMaxCurve:
def __new__(cls, arg1=None):
'''
:returns: MinMaxCurve
:rtype: UnityEngine.ParticleSystem.MinMaxCurve
'''
pass
@staticmethod
@... | 21.00369 | 55 | 0.542691 | 478 | 5,692 | 6.41841 | 0.106695 | 0.151239 | 0.142438 | 0.080508 | 0.754889 | 0.720339 | 0.707953 | 0.707953 | 0.706975 | 0.567797 | 0 | 0.020188 | 0.364722 | 5,692 | 270 | 56 | 21.081481 | 0.828263 | 0.418131 | 0 | 0.67 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.3 | 0.04 | 0 | 0.35 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6583683298b3a8e73775d8a08c0106d5ec29c879 | 15,793 | py | Python | lyapunov_reachability/common/models.py | 62subinh/deeprl_safety_specification | 2ae7c4d1564f16539336bedc48110743ecd60935 | [
"MIT"
] | 3 | 2021-03-23T13:46:04.000Z | 2021-09-28T14:54:43.000Z | lyapunov_reachability/common/models.py | 62subinh/deeprl_safety_specification | 2ae7c4d1564f16539336bedc48110743ecd60935 | [
"MIT"
] | null | null | null | lyapunov_reachability/common/models.py | 62subinh/deeprl_safety_specification | 2ae7c4d1564f16539336bedc48110743ecd60935 | [
"MIT"
] | 1 | 2020-11-28T08:05:09.000Z | 2020-11-28T08:05:09.000Z | import math
import numpy as np
import copy
import torch
import torch.nn as nn
from lyapunov_reachability.common.networks import functional_finder, Mlp, Cnn
from lyapunov_reachability.common.utils import output_shape, clip_but_pass_gradient
EPS = 1e-8
MATH_LOG_2PI = np.log(2 * np.pi)
def normal_likelihood(input_, mu,... | 41.670185 | 120 | 0.632622 | 2,062 | 15,793 | 4.651794 | 0.079534 | 0.025646 | 0.034404 | 0.031693 | 0.802544 | 0.786384 | 0.779817 | 0.776793 | 0.756568 | 0.745934 | 0 | 0.006437 | 0.262205 | 15,793 | 378 | 121 | 41.780423 | 0.81677 | 0.18103 | 0 | 0.662551 | 0 | 0 | 0.001044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102881 | false | 0.024691 | 0.028807 | 0.012346 | 0.238683 | 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 |
65c1a73aa3c0ca26464ef6469b0b082971dac3a1 | 8,494 | py | Python | def/relatorios.py | cienwfp/appAnaliseMovimento | 6b20b08602af7839909b0065db4b9725ec79d3b2 | [
"MIT"
] | null | null | null | def/relatorios.py | cienwfp/appAnaliseMovimento | 6b20b08602af7839909b0065db4b9725ec79d3b2 | [
"MIT"
] | null | null | null | def/relatorios.py | cienwfp/appAnaliseMovimento | 6b20b08602af7839909b0065db4b9725ec79d3b2 | [
"MIT"
] | null | null | null | import os
import time
from reportlab.lib import utils
from reportlab.lib.pagesizes import A4, landscape
from reportlab.lib.units import mm
from reportlab.pdfgen import canvas
from reportlab.lib.enums import TA_JUSTIFY, TA_CENTER
from reportlab.platypus import SimpleDocTemplate, NextPageTemplate, PageTemplate, PageBreak... | 37.751111 | 143 | 0.542972 | 903 | 8,494 | 5.089701 | 0.222591 | 0.076588 | 0.009138 | 0.046997 | 0.737163 | 0.732158 | 0.71584 | 0.709095 | 0.700392 | 0.700392 | 0 | 0.031676 | 0.275253 | 8,494 | 225 | 144 | 37.751111 | 0.714912 | 0.068872 | 0 | 0.744361 | 0 | 0 | 0.151257 | 0.003459 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022556 | false | 0 | 0.075188 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
65c35e98e3a36e88b2e1e2a2001ddb5b7f610bee | 118 | py | Python | pytorch_toolbelt/utils/catalyst/__init__.py | valyukov/pytorch-toolbelt | 71a8c2ea98fae06c6eb165f8966c4b1e5c9e67fc | [
"MIT"
] | 377 | 2021-03-24T05:13:49.000Z | 2022-03-31T06:14:24.000Z | reference_code/GSNet-release/pytorch_toolbelt/utils/catalyst/__init__.py | PionnerLC/gsnet | 69c418fd5c8ec9ee90b4298888f59d9ce5b37749 | [
"MIT"
] | 89 | 2021-03-24T12:32:51.000Z | 2022-03-29T12:11:06.000Z | reference_code/GSNet-release/pytorch_toolbelt/utils/catalyst/__init__.py | PionnerLC/gsnet | 69c418fd5c8ec9ee90b4298888f59d9ce5b37749 | [
"MIT"
] | 51 | 2021-03-26T00:36:17.000Z | 2022-03-16T00:51:11.000Z | from __future__ import absolute_import
from .metrics import *
from .visualization import *
from .criterions import *
| 19.666667 | 38 | 0.805085 | 14 | 118 | 6.428571 | 0.5 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144068 | 118 | 5 | 39 | 23.6 | 0.891089 | 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 |
b832515fa82e4f16879fbe53d09437adca524d56 | 118 | py | Python | niteru/utils.py | ninoseki/niteru | 9d05a221bffc6c399ce10586ce5546fdb0b483c8 | [
"MIT"
] | 3 | 2021-04-30T17:33:53.000Z | 2021-08-24T13:05:49.000Z | niteru/utils.py | ninoseki/niteru | 9d05a221bffc6c399ce10586ce5546fdb0b483c8 | [
"MIT"
] | null | null | null | niteru/utils.py | ninoseki/niteru | 9d05a221bffc6c399ce10586ce5546fdb0b483c8 | [
"MIT"
] | null | null | null | from niteru.dataclasses import ParsedHTML
def is_html(parsed: ParsedHTML) -> bool:
return len(parsed.tags) != 0
| 19.666667 | 41 | 0.737288 | 16 | 118 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.161017 | 118 | 5 | 42 | 23.6 | 0.858586 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b84ba8737bb63301cf75fd959ef76a6f4387de4e | 25 | py | Python | grove/factory/__init__.py | Mehmet-Erkan/grove.py | 9f0add055e5cac0b3b3533ba67bd485d0b4f99db | [
"MIT"
] | 122 | 2018-12-04T16:42:32.000Z | 2022-03-16T09:15:07.000Z | grove/factory/__init__.py | Mehmet-Erkan/grove.py | 9f0add055e5cac0b3b3533ba67bd485d0b4f99db | [
"MIT"
] | 28 | 2019-03-27T19:26:25.000Z | 2022-03-30T04:49:54.000Z | grove/factory/__init__.py | Mehmet-Erkan/grove.py | 9f0add055e5cac0b3b3533ba67bd485d0b4f99db | [
"MIT"
] | 91 | 2018-06-30T06:35:23.000Z | 2022-03-20T14:56:15.000Z |
from .factory import *
| 6.25 | 22 | 0.68 | 3 | 25 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 25 | 3 | 23 | 8.333333 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b869c5a7cef846dad8d14b3c0e0aea67109aff8d | 70 | py | Python | alarme/extras/action/gsm/__init__.py | insolite/alarme | 2312e88299a07d47435f475e5617213404e6d365 | [
"MIT"
] | null | null | null | alarme/extras/action/gsm/__init__.py | insolite/alarme | 2312e88299a07d47435f475e5617213404e6d365 | [
"MIT"
] | 1 | 2017-02-04T13:03:05.000Z | 2017-02-04T13:03:05.000Z | alarme/extras/action/gsm/__init__.py | insolite/alarme | 2312e88299a07d47435f475e5617213404e6d365 | [
"MIT"
] | null | null | null | from .call_action import CallAction
from .sms_action import SmsAction
| 23.333333 | 35 | 0.857143 | 10 | 70 | 5.8 | 0.7 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 70 | 2 | 36 | 35 | 0.935484 | 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 |
b86ff411b3c32138f0a0358edb1e12c165ded45d | 84 | py | Python | stocks/stocks.py | mhoss2008/Stocks | 44bdb4bbdf5aca88e84f71b3884b3d4953b4f025 | [
"MIT"
] | null | null | null | stocks/stocks.py | mhoss2008/Stocks | 44bdb4bbdf5aca88e84f71b3884b3d4953b4f025 | [
"MIT"
] | null | null | null | stocks/stocks.py | mhoss2008/Stocks | 44bdb4bbdf5aca88e84f71b3884b3d4953b4f025 | [
"MIT"
] | null | null | null | def New_Project():
"""
New Project Testing
"""
print("New Project") | 14 | 24 | 0.547619 | 9 | 84 | 5 | 0.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297619 | 84 | 6 | 24 | 14 | 0.762712 | 0.22619 | 0 | 0 | 0 | 0 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b21ef953ad925f5d1bdebfc26c17865ad82e56ba | 2,891 | py | Python | ssh/ssh_testing.py | wirth-m/cs338 | f4bdc6629bbe4bda5c8f5a1989e51f6c92ca6633 | [
"MIT"
] | null | null | null | ssh/ssh_testing.py | wirth-m/cs338 | f4bdc6629bbe4bda5c8f5a1989e51f6c92ca6633 | [
"MIT"
] | null | null | null | ssh/ssh_testing.py | wirth-m/cs338 | f4bdc6629bbe4bda5c8f5a1989e51f6c92ca6633 | [
"MIT"
] | null | null | null | # Antonia Ritter and McKenna Wirth
# CS338 Spring 2022
# SSH File Formats Assignment
# RSA Testing
import math
p = 0x00f577cca4e0c4492ed39c896c8a52344dd3369daf380e5d0dfa241b84272f865f0462412337cd08355812e849f15e7c6e27429c8eb28d3129c038ba703841864d7deb64aaa5bce1e343e0fead0d98a4cca58c93d99348105851ea2f8535d177e4b35f3... | 103.25 | 929 | 0.945002 | 78 | 2,891 | 35.025641 | 0.564103 | 0.002196 | 0.002196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.687165 | 0.032515 | 2,891 | 27 | 930 | 107.074074 | 0.289596 | 0.042892 | 0 | 0 | 0 | 0 | 0.028623 | 0 | 0 | 1 | 0.56087 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0.266667 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b23136ffc301df13ded06d233d8e03e80a1fbf03 | 12,291 | py | Python | packages/core/minos-microservice-saga/tests/test_saga/test_executions/test_saga/test_raw.py | sorasful/minos-python | 1189330eebf6444627a2af6b29f347670f95a4dd | [
"MIT"
] | 4 | 2021-04-12T15:40:14.000Z | 2021-04-17T18:54:15.000Z | packages/core/minos-microservice-saga/tests/test_saga/test_executions/test_saga/test_raw.py | sorasful/minos-python | 1189330eebf6444627a2af6b29f347670f95a4dd | [
"MIT"
] | 143 | 2021-04-06T08:51:09.000Z | 2022-01-28T11:58:06.000Z | tests/test_saga/test_executions/test_saga/test_raw.py | Clariteia/minos_microservice_saga | fd94d378c5560d04ff4c0557247761085f61e7d0 | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import (
MagicMock,
patch,
)
from uuid import (
UUID,
uuid4,
)
from minos.saga import (
SagaContext,
SagaExecution,
SagaPausedExecutionStepException,
SagaResponse,
)
from tests.utils import (
ADD_ORDER,
Foo,
MinosTestCase,
)
class TestSag... | 45.522222 | 114 | 0.515825 | 1,020 | 12,291 | 5.997059 | 0.096078 | 0.081739 | 0.144188 | 0.079124 | 0.901586 | 0.888998 | 0.887363 | 0.880007 | 0.840772 | 0.817721 | 0 | 0.026187 | 0.353755 | 12,291 | 269 | 115 | 45.69145 | 0.743925 | 0 | 0 | 0.649402 | 0 | 0 | 0.369457 | 0.230331 | 0 | 0 | 0 | 0 | 0.043825 | 1 | 0.01992 | false | 0 | 0.01992 | 0 | 0.043825 | 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 |
b24796e60981077ce50ff945bbe53b8b06e9e3a9 | 1,702 | py | Python | 08/euler8.py | adamkkarl/ProjectEuler | 767286c74a484b7a569d6060ab6d54a298195aa3 | [
"MIT"
] | 2 | 2018-05-07T00:16:57.000Z | 2018-05-22T02:57:16.000Z | 08/euler8.py | adamkkarl/ProjectEuler | 767286c74a484b7a569d6060ab6d54a298195aa3 | [
"MIT"
] | null | null | null | 08/euler8.py | adamkkarl/ProjectEuler | 767286c74a484b7a569d6060ab6d54a298195aa3 | [
"MIT"
] | null | null | null | #!/bin/python3
__author__ = "Adam Karl"
"""Find the greatest product of K consecutive digits in the N digit number"""
#https://projecteuler.net/problem=8
largeNum = """73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
858615607891129494954595017379583319528532088055... | 36.212766 | 77 | 0.834313 | 110 | 1,702 | 12.763636 | 0.6 | 0.019943 | 0.021368 | 0.031339 | 0.059829 | 0.059829 | 0.059829 | 0.059829 | 0 | 0 | 0 | 0.662706 | 0.109871 | 1,702 | 46 | 78 | 37 | 0.264026 | 0.027615 | 0 | 0 | 0 | 0 | 0.706853 | 0.634518 | 0 | 1 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0 | 0 | 0.083333 | 0.055556 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b24f129ee25c2a640cd84c925cc969bd1991e17a | 120 | py | Python | src/testcases/CreateMethod/out.py | BlackBeard98/Code-Generation | 769ef8fd9162c0fae6326dc9d08e20bb5d20c067 | [
"MIT"
] | 1 | 2021-11-03T01:24:21.000Z | 2021-11-03T01:24:21.000Z | src/testcases/CreateMethod/out.py | BlackBeard98/Code-Generation | 769ef8fd9162c0fae6326dc9d08e20bb5d20c067 | [
"MIT"
] | null | null | null | src/testcases/CreateMethod/out.py | BlackBeard98/Code-Generation | 769ef8fd9162c0fae6326dc9d08e20bb5d20c067 | [
"MIT"
] | null | null | null | class A:
def __init__(self) ->None:
pass
def A_generated(self, name='test'):
print(f'{name}')
| 15 | 39 | 0.541667 | 16 | 120 | 3.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 120 | 7 | 40 | 17.142857 | 0.714286 | 0 | 0 | 0 | 1 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0.2 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
b279fd66f981d8785b547e04a2bc7f3c54ddee6e | 46 | py | Python | build/lib.linux-x86_64-2.7/ryu/app/experiments/PureSDN/test2.py | Helloworld1995/Ryu_SDN_Controller | 2680f967debca361adc6ff14ddadcbbcde0c7082 | [
"Apache-2.0"
] | 1 | 2021-03-11T01:47:35.000Z | 2021-03-11T01:47:35.000Z | build/lib.linux-x86_64-2.7/ryu/app/experiments/PureSDN/test2.py | Helloworld1995/Ryu_SDN_Controller | 2680f967debca361adc6ff14ddadcbbcde0c7082 | [
"Apache-2.0"
] | null | null | null | build/lib.linux-x86_64-2.7/ryu/app/experiments/PureSDN/test2.py | Helloworld1995/Ryu_SDN_Controller | 2680f967debca361adc6ff14ddadcbbcde0c7082 | [
"Apache-2.0"
] | null | null | null | list=[123,321,77,68]
_list=list[:]
print _list | 15.333333 | 20 | 0.717391 | 9 | 46 | 3.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 0.065217 | 46 | 3 | 21 | 15.333333 | 0.488372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2a439342929887299c65dd4de056c20c92ce1d1 | 72 | py | Python | collagen/callbacks/logging/__init__.py | MIPT-Oulu/Collagen | 0cbc4285d60e5c9fcc89f629fcf4321e80b7452c | [
"MIT"
] | 4 | 2019-05-14T14:44:51.000Z | 2020-03-13T08:37:48.000Z | collagen/callbacks/logging/__init__.py | MIPT-Oulu/Collagen | 0cbc4285d60e5c9fcc89f629fcf4321e80b7452c | [
"MIT"
] | 26 | 2019-04-21T20:35:22.000Z | 2022-03-12T00:32:57.000Z | collagen/callbacks/logging/__init__.py | MIPT-Oulu/Collagen | 0cbc4285d60e5c9fcc89f629fcf4321e80b7452c | [
"MIT"
] | 1 | 2019-05-14T14:53:28.000Z | 2019-05-14T14:53:28.000Z | from ._git import *
from .loggers import *
from .visualization import *
| 18 | 28 | 0.75 | 9 | 72 | 5.888889 | 0.555556 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 29 | 24 | 0.883333 | 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 |
a22c3c35df1601dc7aa311a08b32a3722d77a3f0 | 1,175 | py | Python | memorious/tests/test_extract.py | x0rzkov/memorious | 88454a4e6bfe6621be3064acac0e8cbe1ae396fe | [
"MIT"
] | null | null | null | memorious/tests/test_extract.py | x0rzkov/memorious | 88454a4e6bfe6621be3064acac0e8cbe1ae396fe | [
"MIT"
] | null | null | null | memorious/tests/test_extract.py | x0rzkov/memorious | 88454a4e6bfe6621be3064acac0e8cbe1ae396fe | [
"MIT"
] | null | null | null | import os
import tempfile
from memorious.operations.extract import extract_7zip, extract_tar, extract_zip
def test_extract_7zip(context):
file_path = os.path.realpath(__file__)
archive_path = os.path.normpath(os.path.join(
file_path, "../testdata/test.7z"
))
extract_dir = tempfile.mkdtemp(pref... | 31.756757 | 79 | 0.693617 | 160 | 1,175 | 4.79375 | 0.18125 | 0.093872 | 0.078227 | 0.066493 | 0.826597 | 0.826597 | 0.826597 | 0.826597 | 0.826597 | 0.603651 | 0 | 0.007216 | 0.174468 | 1,175 | 36 | 80 | 32.638889 | 0.783505 | 0 | 0 | 0.5 | 0 | 0 | 0.119149 | 0.019574 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 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 |
a249d1aa6036ee17924e1a86f1320ab04dd872ea | 51 | py | Python | lambda_scraper/drivers/driver.py | Galsor/lambda-scraper | ef38b47f16db5b415fbc67a31ec093f5d0b8cda1 | [
"MIT"
] | null | null | null | lambda_scraper/drivers/driver.py | Galsor/lambda-scraper | ef38b47f16db5b415fbc67a31ec093f5d0b8cda1 | [
"MIT"
] | null | null | null | lambda_scraper/drivers/driver.py | Galsor/lambda-scraper | ef38b47f16db5b415fbc67a31ec093f5d0b8cda1 | [
"MIT"
] | null | null | null | from abc import ABC
class Driver(ABC):
pass
| 7.285714 | 19 | 0.666667 | 8 | 51 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27451 | 51 | 6 | 20 | 8.5 | 0.918919 | 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 |
a258fc893601570348ba8775a345ac0e2fa99a95 | 69 | py | Python | drf_jsonapi/serializers/__init__.py | kelly-vacasa/drf-jsonapi | 1fef7ef18078aa29a84cf01833fab99cef44b6a3 | [
"MIT"
] | null | null | null | drf_jsonapi/serializers/__init__.py | kelly-vacasa/drf-jsonapi | 1fef7ef18078aa29a84cf01833fab99cef44b6a3 | [
"MIT"
] | null | null | null | drf_jsonapi/serializers/__init__.py | kelly-vacasa/drf-jsonapi | 1fef7ef18078aa29a84cf01833fab99cef44b6a3 | [
"MIT"
] | null | null | null | from .objects import *
from .utils import *
from .resources import *
| 17.25 | 24 | 0.73913 | 9 | 69 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 25 | 23 | 0.894737 | 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 |
a2fb49d6102e864f6a0134bd3d4a50bd62e6ed6e | 27 | py | Python | docs/archive/slash/__init__.py | sjdv1982/seamless | 1b814341e74a56333c163f10e6f6ceab508b7df9 | [
"MIT"
] | 15 | 2017-06-07T12:49:12.000Z | 2020-07-25T18:06:04.000Z | docs/archive/slash/__init__.py | sjdv1982/seamless | 1b814341e74a56333c163f10e6f6ceab508b7df9 | [
"MIT"
] | 110 | 2016-06-21T23:20:44.000Z | 2022-02-24T16:15:22.000Z | docs/archive/slash/__init__.py | sjdv1982/seamless | 1b814341e74a56333c163f10e6f6ceab508b7df9 | [
"MIT"
] | 6 | 2016-06-21T11:19:22.000Z | 2019-01-21T13:45:39.000Z | from .slash0 import slash0
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 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 |
0c018e74ce66f9347dc1894ceaf4244f674b1b66 | 154 | py | Python | flowx/poisson/__init__.py | AbhilashReddyM/flowX | 57efa4c076d40d559ffc82ce541d340cf2519a3d | [
"BSD-3-Clause"
] | null | null | null | flowx/poisson/__init__.py | AbhilashReddyM/flowX | 57efa4c076d40d559ffc82ce541d340cf2519a3d | [
"BSD-3-Clause"
] | 2 | 2020-04-14T20:00:37.000Z | 2020-04-17T21:26:23.000Z | flowx/poisson/__init__.py | AbhilashReddyM/flowX | 57efa4c076d40d559ffc82ce541d340cf2519a3d | [
"BSD-3-Clause"
] | 3 | 2020-04-18T22:30:55.000Z | 2021-06-08T15:23:21.000Z | from .jacobi import solve_jacobi
from .direct import solve_direct
from .cg import solve_cg
from .superlu import solve_lu
from .sparse import build_sparse
| 25.666667 | 32 | 0.837662 | 25 | 154 | 4.96 | 0.4 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 154 | 5 | 33 | 30.8 | 0.925373 | 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 |
0c277adab45fde4735fdf5f01d28a9aa250ca662 | 27 | py | Python | michiru/transports/__init__.py | moeIO/michiru | f1bafb90c2d82debee9e0402b426eba592038f24 | [
"WTFPL"
] | 1 | 2018-01-25T15:39:12.000Z | 2018-01-25T15:39:12.000Z | michiru/transports/__init__.py | moeIO/michiru | f1bafb90c2d82debee9e0402b426eba592038f24 | [
"WTFPL"
] | null | null | null | michiru/transports/__init__.py | moeIO/michiru | f1bafb90c2d82debee9e0402b426eba592038f24 | [
"WTFPL"
] | null | null | null | from . import irc, discord
| 13.5 | 26 | 0.740741 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.909091 | 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 |
a74f59bed43289e9bca9d8f77566c687ee2274bc | 41 | py | Python | Python_proficiency_test/latex/codes/18b.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | 6 | 2020-04-24T08:16:51.000Z | 2021-11-01T09:50:46.000Z | Python_proficiency_test/latex/codes/18b.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | null | null | null | Python_proficiency_test/latex/codes/18b.py | ALFA-group/neural_program_comprehension | 0253911f376cf282af5a5627e38e0a591ad38860 | [
"MIT"
] | 4 | 2021-02-17T20:21:31.000Z | 2022-02-14T12:43:23.000Z | x: ['secret value!']
y: ['secret value!'] | 20.5 | 20 | 0.585366 | 6 | 41 | 4 | 0.666667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 2 | 21 | 20.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a7557b2f7067d6cdcf76bf842fc578d3687d8bea | 882 | py | Python | tests/test_text.py | Kwentar/Eve | fa4af5d795030d4e214f73bc1100b049792274e1 | [
"MIT"
] | null | null | null | tests/test_text.py | Kwentar/Eve | fa4af5d795030d4e214f73bc1100b049792274e1 | [
"MIT"
] | null | null | null | tests/test_text.py | Kwentar/Eve | fa4af5d795030d4e214f73bc1100b049792274e1 | [
"MIT"
] | null | null | null | import unittest
from model.text import Text
class TestText(unittest.TestCase):
def test_split(self):
text = '''Белеет парус одинокий
В тумане неба голубом.
Что ищет он в стране далекой?
Что кинул он в стране родной?'''
t = Text(text)
self.assertListEqual([x.paragraph for x in t.paragraphs]... | 40.090909 | 96 | 0.590703 | 115 | 882 | 4.521739 | 0.426087 | 0.023077 | 0.069231 | 0.076923 | 0.826923 | 0.826923 | 0.826923 | 0.826923 | 0.826923 | 0.826923 | 0 | 0 | 0.312925 | 882 | 21 | 97 | 42 | 0.858086 | 0 | 0 | 0.210526 | 0 | 0 | 0.456916 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.052632 | false | 0 | 0.105263 | 0 | 0.210526 | 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 |
a79e86dc83dbc263b828e0481623fe9733646ac2 | 36 | py | Python | csinventorypy/__init__.py | JannesT3011/csinventory-py | eb46354ad74b3439e9c8a069481d8c3d14664f5a | [
"MIT"
] | null | null | null | csinventorypy/__init__.py | JannesT3011/csinventory-py | eb46354ad74b3439e9c8a069481d8c3d14664f5a | [
"MIT"
] | null | null | null | csinventorypy/__init__.py | JannesT3011/csinventory-py | eb46354ad74b3439e9c8a069481d8c3d14664f5a | [
"MIT"
] | null | null | null | from .csinventory import CSInventory | 36 | 36 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac105021ef7f405c5d9b08a32cad01215b8910bc | 4,572 | py | Python | py/testdir_single_jvm/test_exec2_cbind_fail.py | jeffreybreen/h2o | 1d1bc87c13ca81e67f333fa6146959dc70af4d6c | [
"Apache-2.0"
] | 1 | 2017-12-14T04:57:51.000Z | 2017-12-14T04:57:51.000Z | py/testdir_single_jvm/test_exec2_cbind_fail.py | hansight/h2o | d7eee8b69dd3538b83412989eee361d2a2883857 | [
"Apache-2.0"
] | null | null | null | py/testdir_single_jvm/test_exec2_cbind_fail.py | hansight/h2o | d7eee8b69dd3538b83412989eee361d2a2883857 | [
"Apache-2.0"
] | 1 | 2018-12-18T06:18:55.000Z | 2018-12-18T06:18:55.000Z | import unittest, random, sys, time
sys.path.extend(['.','..','py'])
import h2o, h2o_exec as h2e, h2o_hosts, h2o_import as h2i
class Basic(unittest.TestCase):
def tearDown(self):
h2o.check_sandbox_for_errors()
@classmethod
def setUpClass(cls):
global SEED, localhost
SEED = h2o.setup... | 37.170732 | 97 | 0.590332 | 653 | 4,572 | 4 | 0.151608 | 0.051302 | 0.058576 | 0.053599 | 0.792879 | 0.783691 | 0.780245 | 0.769525 | 0.76876 | 0.76876 | 0 | 0.060891 | 0.277997 | 4,572 | 122 | 98 | 37.47541 | 0.730385 | 0.050962 | 0 | 0.6 | 0 | 0.052632 | 0.162667 | 0.026073 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.021053 | null | null | 0.021053 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac15254d55b2b5a458a5619646411028c57eb401 | 7,004 | py | Python | python/oneflow/test/modules/test_chunk.py | wangyuyue/oneflow | 0a71c22fe8355392acc8dc0e301589faee4c4832 | [
"Apache-2.0"
] | 1 | 2021-09-13T02:34:53.000Z | 2021-09-13T02:34:53.000Z | python/oneflow/test/modules/test_chunk.py | wangyuyue/oneflow | 0a71c22fe8355392acc8dc0e301589faee4c4832 | [
"Apache-2.0"
] | null | null | null | python/oneflow/test/modules/test_chunk.py | wangyuyue/oneflow | 0a71c22fe8355392acc8dc0e301589faee4c4832 | [
"Apache-2.0"
] | 1 | 2021-01-17T03:34:39.000Z | 2021-01-17T03:34:39.000Z | """
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | 37.058201 | 86 | 0.628355 | 1,218 | 7,004 | 3.399015 | 0.106732 | 0.077295 | 0.077295 | 0.082126 | 0.767874 | 0.75942 | 0.75942 | 0.744203 | 0.744203 | 0.744203 | 0 | 0.064978 | 0.222159 | 7,004 | 188 | 87 | 37.255319 | 0.694934 | 0.082953 | 0 | 0.782051 | 0 | 0 | 0.004521 | 0 | 0 | 0 | 0 | 0 | 0.108974 | 1 | 0.038462 | false | 0 | 0.038462 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac199358f20b16eca8276bd3e1213f27b2834564 | 48 | py | Python | py_ice_cascade/hillslope/tests/test_null.py | keithfma/py_ice_cascade | 22fe9d51777c52dfff7cce2be9f3ed1b3c6f8bc2 | [
"MIT"
] | null | null | null | py_ice_cascade/hillslope/tests/test_null.py | keithfma/py_ice_cascade | 22fe9d51777c52dfff7cce2be9f3ed1b3c6f8bc2 | [
"MIT"
] | null | null | null | py_ice_cascade/hillslope/tests/test_null.py | keithfma/py_ice_cascade | 22fe9d51777c52dfff7cce2be9f3ed1b3c6f8bc2 | [
"MIT"
] | null | null | null | # TODO: add tests to confirm expected behaviors
| 24 | 47 | 0.791667 | 7 | 48 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 1 | 48 | 48 | 0.95 | 0.9375 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac813c1df4cbc2cde6004408c688eed3f8601322 | 26 | py | Python | commands/lights/__init__.py | bcbwilla/bcbbot | 4dbfd011aed270464391c33129a46f4c362999d8 | [
"MIT"
] | 1 | 2016-03-03T17:37:27.000Z | 2016-03-03T17:37:27.000Z | commands/lights/__init__.py | bcbwilla/bcbbot | 4dbfd011aed270464391c33129a46f4c362999d8 | [
"MIT"
] | null | null | null | commands/lights/__init__.py | bcbwilla/bcbbot | 4dbfd011aed270464391c33129a46f4c362999d8 | [
"MIT"
] | null | null | null | from lights import Lights
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 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 |
3bb87b7fc739c681b427f3b188cb7870acbff010 | 39 | py | Python | test/test_version.py | maple-q/python-web-framwork | 8b7b1f9f6b0d0d735a654c32d8c849151968c99f | [
"MIT"
] | null | null | null | test/test_version.py | maple-q/python-web-framwork | 8b7b1f9f6b0d0d735a654c32d8c849151968c99f | [
"MIT"
] | null | null | null | test/test_version.py | maple-q/python-web-framwork | 8b7b1f9f6b0d0d735a654c32d8c849151968c99f | [
"MIT"
] | null | null | null | import tramp
print(tramp.__version__)
| 9.75 | 24 | 0.820513 | 5 | 39 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 3 | 25 | 13 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
3bce5b06a9175687331cd047c22f6199d6e3271b | 215 | py | Python | main.py | hichem2h/task-analyzer | a69902888fed468acae129b83eea4b801b1b3069 | [
"Apache-2.0"
] | null | null | null | main.py | hichem2h/task-analyzer | a69902888fed468acae129b83eea4b801b1b3069 | [
"Apache-2.0"
] | null | null | null | main.py | hichem2h/task-analyzer | a69902888fed468acae129b83eea4b801b1b3069 | [
"Apache-2.0"
] | null | null | null | from task_analyzer import TaskAnalyzer
from task01_tests import check_remainder, check_negative
task_analyzer = TaskAnalyzer([check_remainder, check_negative])
task_analyzer.analyze()
print(task_analyzer.failures) | 30.714286 | 63 | 0.865116 | 27 | 215 | 6.555556 | 0.481481 | 0.271186 | 0.214689 | 0.305085 | 0.440678 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 0.01005 | 0.074419 | 215 | 7 | 64 | 30.714286 | 0.879397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3bd955efb0da641159a5533833ebd31564230687 | 55 | py | Python | envs/swimmer_rep/swimmer_rep/envs/__init__.py | hari-sikchi/stable-baselines | f3627c4b8625c1021a1a893b0a2fd8bfed9e84ed | [
"MIT"
] | null | null | null | envs/swimmer_rep/swimmer_rep/envs/__init__.py | hari-sikchi/stable-baselines | f3627c4b8625c1021a1a893b0a2fd8bfed9e84ed | [
"MIT"
] | null | null | null | envs/swimmer_rep/swimmer_rep/envs/__init__.py | hari-sikchi/stable-baselines | f3627c4b8625c1021a1a893b0a2fd8bfed9e84ed | [
"MIT"
] | null | null | null | from swimmer_rep.envs.swimmer_rep import SwimmerEnvRep
| 27.5 | 54 | 0.890909 | 8 | 55 | 5.875 | 0.75 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.921569 | 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 |
ce17871c3719ef5f66116afdb0c29a4e27c07015 | 43 | py | Python | PyPortOpt/Optimizers/test.py | 2037/PyPortOpt | dabf9bd2e34ab533e2ab85db335027339933326f | [
"MIT"
] | null | null | null | PyPortOpt/Optimizers/test.py | 2037/PyPortOpt | dabf9bd2e34ab533e2ab85db335027339933326f | [
"MIT"
] | null | null | null | PyPortOpt/Optimizers/test.py | 2037/PyPortOpt | dabf9bd2e34ab533e2ab85db335027339933326f | [
"MIT"
] | null | null | null | def displayText():
print("Optimized!")
| 14.333333 | 23 | 0.651163 | 4 | 43 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 24 | 21.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ce1d0e4162f8794e2519a32ee8ea948d38349d1e | 7,120 | py | Python | mealpy/bio_based/BBO.py | Alhassan20/mealpy | 7ed365c5c495ad1c1e066662c90159b3d5e9b8e3 | [
"MIT"
] | 162 | 2020-08-31T10:13:06.000Z | 2022-03-31T09:38:19.000Z | mealpy/bio_based/BBO.py | Alhassan20/mealpy | 7ed365c5c495ad1c1e066662c90159b3d5e9b8e3 | [
"MIT"
] | 51 | 2020-09-13T10:46:31.000Z | 2022-03-30T06:12:08.000Z | mealpy/bio_based/BBO.py | Alhassan20/mealpy | 7ed365c5c495ad1c1e066662c90159b3d5e9b8e3 | [
"MIT"
] | 58 | 2020-09-12T13:29:18.000Z | 2022-03-31T09:38:21.000Z | #!/usr/bin/env python
# ------------------------------------------------------------------------------------------------------%
# Created by "Thieu Nguyen" at 12:24, 18/03/2020 %
# ... | 50.140845 | 125 | 0.559972 | 898 | 7,120 | 4.257238 | 0.199332 | 0.051792 | 0.046037 | 0.039236 | 0.806696 | 0.793618 | 0.76746 | 0.761705 | 0.761705 | 0.750196 | 0 | 0.015857 | 0.317978 | 7,120 | 141 | 126 | 50.496454 | 0.771417 | 0.315028 | 0 | 0.653846 | 0 | 0 | 0.010438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0.051282 | 0 | 0.153846 | 0.025641 | 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 |
ce3c17393e73184aea7ed167927eb9df7d07b271 | 48 | py | Python | convokit/forecaster/CRAFT/__init__.py | sophieball/Cornell-Conversational-Analysis-Toolkit | da65358baffc34a518114be2d94f1748f8e01240 | [
"MIT"
] | 371 | 2016-07-19T22:10:13.000Z | 2022-03-28T08:04:32.000Z | convokit/forecaster/CRAFT/__init__.py | sophieball/Cornell-Conversational-Analysis-Toolkit | da65358baffc34a518114be2d94f1748f8e01240 | [
"MIT"
] | 92 | 2017-07-25T22:04:11.000Z | 2022-03-29T13:46:07.000Z | convokit/forecaster/CRAFT/__init__.py | sophieball/Cornell-Conversational-Analysis-Toolkit | da65358baffc34a518114be2d94f1748f8e01240 | [
"MIT"
] | 105 | 2016-07-04T15:04:53.000Z | 2022-03-30T01:36:38.000Z | from .CRAFTUtil import *
from .CRAFTNN import *
| 16 | 24 | 0.75 | 6 | 48 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 25 | 24 | 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 |
cbf00c976424122df9e542ff9db091fb8c81e650 | 23 | py | Python | urls/project/stag.py | hoatle/django-boilerplate | 12a4ac7d663196a8a860f51ca34039bc5c00bad6 | [
"BSD-3-Clause"
] | null | null | null | urls/project/stag.py | hoatle/django-boilerplate | 12a4ac7d663196a8a860f51ca34039bc5c00bad6 | [
"BSD-3-Clause"
] | null | null | null | urls/project/stag.py | hoatle/django-boilerplate | 12a4ac7d663196a8a860f51ca34039bc5c00bad6 | [
"BSD-3-Clause"
] | null | null | null | from urls.stag import * | 23 | 23 | 0.782609 | 4 | 23 | 4.5 | 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 |
cbf9f5d2c655e96a2df2aee03ee8c0396612efe0 | 7,316 | py | Python | psydac/linalg/tests/test_kron_solver_3d.py | GabrielJie/psydac | 51814f04501fa14bc100f0ab224f50a2bbe86612 | [
"MIT"
] | 1 | 2022-01-19T02:26:49.000Z | 2022-01-19T02:26:49.000Z | psydac/linalg/tests/test_kron_solver_3d.py | GabrielJie/psydac | 51814f04501fa14bc100f0ab224f50a2bbe86612 | [
"MIT"
] | null | null | null | psydac/linalg/tests/test_kron_solver_3d.py | GabrielJie/psydac | 51814f04501fa14bc100f0ab224f50a2bbe86612 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
import pytest
import time
import numpy as np
from mpi4py import MPI
from scipy.sparse import csc_matrix, dia_matrix, kron
from scipy.sparse.linalg import splu
from psydac.ddm.cart import CartDecomposition
from psydac.linalg.stencil ... | 30.231405 | 117 | 0.534308 | 1,054 | 7,316 | 3.57685 | 0.165085 | 0.047745 | 0.066844 | 0.014854 | 0.729178 | 0.729178 | 0.722016 | 0.722016 | 0.71618 | 0.71618 | 0 | 0.082199 | 0.236741 | 7,316 | 241 | 118 | 30.356846 | 0.592944 | 0.132313 | 0 | 0.726115 | 0 | 0 | 0.012993 | 0 | 0 | 0 | 0 | 0.004149 | 0.012739 | 1 | 0.025478 | false | 0 | 0.070064 | 0 | 0.10828 | 0.050955 | 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 |
022281f59f6dcd46f10246eba13c9a73a410ae82 | 229 | py | Python | featuretools/primitives/base/api.py | ridicolos/featuretools | 0af409da206e0b691ec64a3e0e618a43f1701dd9 | [
"BSD-3-Clause"
] | 942 | 2020-11-10T02:59:39.000Z | 2022-03-31T16:34:33.000Z | featuretools/primitives/base/api.py | 167rgc911/featuretools | bbad3f7392b203b7b9c250a93465052e7fc06bbc | [
"BSD-3-Clause"
] | 721 | 2020-11-09T23:12:06.000Z | 2022-03-31T22:33:35.000Z | featuretools/primitives/base/api.py | 167rgc911/featuretools | bbad3f7392b203b7b9c250a93465052e7fc06bbc | [
"BSD-3-Clause"
] | 127 | 2020-11-10T10:12:30.000Z | 2022-03-27T08:55:05.000Z | # flake8: noqa
from .aggregation_primitive_base import (
AggregationPrimitive,
make_agg_primitive
)
from .primitive_base import PrimitiveBase
from .transform_primitive_base import TransformPrimitive, make_trans_primitive
| 28.625 | 78 | 0.842795 | 25 | 229 | 7.36 | 0.56 | 0.211957 | 0.309783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004951 | 0.117904 | 229 | 7 | 79 | 32.714286 | 0.905941 | 0.052402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
025945c75c0f012cbb88ec6957f0650fb198d1d0 | 904 | py | Python | src/fortresstools/command/rsync.py | gembcior/FortressTools | 0230a9625034038ad6839c8dfab7f6b6a7f2108b | [
"MIT"
] | null | null | null | src/fortresstools/command/rsync.py | gembcior/FortressTools | 0230a9625034038ad6839c8dfab7f6b6a7f2108b | [
"MIT"
] | null | null | null | src/fortresstools/command/rsync.py | gembcior/FortressTools | 0230a9625034038ad6839c8dfab7f6b6a7f2108b | [
"MIT"
] | null | null | null | from .base import BaseCommand
from ..executor import *
class RsyncFromRemoteCommand(BaseCommand):
def get_supported_executors(self):
return [ShellExecutor, SshExecutor, VenvExecutor, DockerExecutor]
def execute(self):
rsync = "rsync -az --delete"
source = f"{self.login}@{self.remote}:... | 33.481481 | 73 | 0.668142 | 94 | 904 | 6.361702 | 0.329787 | 0.086957 | 0.056856 | 0.086957 | 0.789298 | 0.789298 | 0.789298 | 0.70903 | 0.70903 | 0.70903 | 0 | 0 | 0.205752 | 904 | 26 | 74 | 34.769231 | 0.832869 | 0 | 0 | 0.6 | 0 | 0 | 0.254425 | 0.096239 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.1 | 0.1 | 0.6 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
5a2e0a531cb9b64aad61f51a01d7b85144ae930b | 106 | py | Python | terrascript/postgresql/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/postgresql/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/postgresql/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/postgresql/__init__.py
import terrascript
class postgresql(terrascript.Provider):
pass | 17.666667 | 39 | 0.811321 | 11 | 106 | 7.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 106 | 6 | 40 | 17.666667 | 0.87234 | 0.320755 | 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 |
cea3a6642739faace26e8cf60858d818bb6d9356 | 225 | py | Python | docker_registry_cli/commands/ls.py | iknowright/docker-registry-cli | 23cba75c62ec1de211c68cb53f4babbfcb41aa90 | [
"MIT"
] | null | null | null | docker_registry_cli/commands/ls.py | iknowright/docker-registry-cli | 23cba75c62ec1de211c68cb53f4babbfcb41aa90 | [
"MIT"
] | null | null | null | docker_registry_cli/commands/ls.py | iknowright/docker-registry-cli | 23cba75c62ec1de211c68cb53f4babbfcb41aa90 | [
"MIT"
] | null | null | null | from docker_registry_cli import out
from docker_registry_cli.registry import api
class ListRepo:
"""Listing repositories"""
def __call__(self):
out.write("\n".join(api.list_repos().json()["repositories"]))
| 22.5 | 69 | 0.715556 | 29 | 225 | 5.241379 | 0.689655 | 0.131579 | 0.236842 | 0.276316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151111 | 225 | 9 | 70 | 25 | 0.795812 | 0.088889 | 0 | 0 | 0 | 0 | 0.070352 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 |
ceb3e52837c9ba023b3ccf740e18be1f509fe743 | 35 | py | Python | teste.py | dsjocimar/python | 5716f46a9fa7f64aa78a39df9c262c5392571340 | [
"MIT"
] | null | null | null | teste.py | dsjocimar/python | 5716f46a9fa7f64aa78a39df9c262c5392571340 | [
"MIT"
] | null | null | null | teste.py | dsjocimar/python | 5716f46a9fa7f64aa78a39df9c262c5392571340 | [
"MIT"
] | null | null | null | print(f'{"Lojas da Bahia":^40} ur') | 35 | 35 | 0.628571 | 7 | 35 | 3.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.085714 | 35 | 1 | 35 | 35 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.694444 | 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 |
cecacf5e1b18a712ea862ea760d22c6af9a0d9fc | 42 | py | Python | grafog/transforms/__init__.py | rish-16/grafog | 4141f94f6fa19bbbfda8403b60a5720214bb4a42 | [
"MIT"
] | 2 | 2022-03-06T03:21:03.000Z | 2022-03-23T14:15:09.000Z | grafog/__init__.py | rish-16/grafog | 4141f94f6fa19bbbfda8403b60a5720214bb4a42 | [
"MIT"
] | 1 | 2022-03-23T14:20:37.000Z | 2022-03-28T08:09:03.000Z | grafog/transforms/__init__.py | rish-16/grafog | 4141f94f6fa19bbbfda8403b60a5720214bb4a42 | [
"MIT"
] | null | null | null | from grafog.transforms.transforms import * | 42 | 42 | 0.857143 | 5 | 42 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ced0d4c39a3a579308dacc9dd9eced402be07522 | 372 | py | Python | martypy/Exceptions.py | robotical/martypy | afc1f89d471875ca1beb775f375438f97fc33679 | [
"Apache-2.0"
] | 8 | 2017-08-02T11:31:50.000Z | 2022-01-05T14:36:53.000Z | martypy/Exceptions.py | robotical/martypy | afc1f89d471875ca1beb775f375438f97fc33679 | [
"Apache-2.0"
] | 17 | 2017-07-24T22:39:43.000Z | 2022-01-05T14:41:20.000Z | martypy/Exceptions.py | robotical/martypy | afc1f89d471875ca1beb775f375438f97fc33679 | [
"Apache-2.0"
] | 5 | 2017-11-12T08:51:18.000Z | 2020-11-27T09:28:46.000Z |
class UnavailableCommandException(Exception):
pass
class MartyCommandException(Exception):
pass
class MartyConfigException(Exception):
pass
class MartyConnectException(Exception):
pass
class ArgumentOutOfRangeException(Exception):
pass
class UnavailableClientTypeException(Exception):
pass
... | 16.173913 | 48 | 0.790323 | 28 | 372 | 10.5 | 0.357143 | 0.309524 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 372 | 22 | 49 | 16.909091 | 0.933333 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ced2e7a90232d39453e541216c5fe4a4031cb375 | 4,270 | py | Python | yolo2/models/yolo2_mobilenetv3_large.py | gan3sh500/keras-YOLOv3-model-set | 1a1108c52073c01c130618dc68607f455adadf28 | [
"MIT"
] | 601 | 2019-08-24T10:14:52.000Z | 2022-03-29T15:05:33.000Z | yolo2/models/yolo2_mobilenetv3_large.py | lvxiaojie111/keras-YOLOv3-model-set | 80f263700d8251376e59a7908dd1ae8408e5eb01 | [
"MIT"
] | 220 | 2019-10-04T18:57:59.000Z | 2022-03-31T15:30:37.000Z | yolo2/models/yolo2_mobilenetv3_large.py | lvxiaojie111/keras-YOLOv3-model-set | 80f263700d8251376e59a7908dd1ae8408e5eb01 | [
"MIT"
] | 218 | 2019-10-31T03:32:11.000Z | 2022-03-25T14:44:19.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""YOLO_v2 MobileNetV3Large Model Defined in Keras."""
from tensorflow.keras.layers import MaxPooling2D, Lambda, Concatenate, GlobalAveragePooling2D, Softmax
from tensorflow.keras.models import Model
from common.backbones.mobilenet_v3 import MobileNetV3Large
from yolo2.m... | 42.7 | 157 | 0.717799 | 621 | 4,270 | 4.782609 | 0.191626 | 0.020202 | 0.016835 | 0.020202 | 0.868013 | 0.849495 | 0.845791 | 0.83165 | 0.83165 | 0.83165 | 0 | 0.093017 | 0.171663 | 4,270 | 99 | 158 | 43.131313 | 0.746678 | 0.348009 | 0 | 0.7 | 0 | 0 | 0.060739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.3 | 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 |
0c802a73991007153f0138a3634c5694008ead6b | 189 | py | Python | satdetect/viz/__init__.py | michaelchughes/satdetect | 23319fd1c6bd7d36709b5948584efcc723c428c1 | [
"MIT"
] | 3 | 2016-03-15T17:27:31.000Z | 2019-02-25T16:46:05.000Z | satdetect/viz/__init__.py | michaelchughes/satdetect | 23319fd1c6bd7d36709b5948584efcc723c428c1 | [
"MIT"
] | 1 | 2018-05-24T21:57:08.000Z | 2018-05-24T21:57:08.000Z | satdetect/viz/__init__.py | michaelchughes/satdetect | 23319fd1c6bd7d36709b5948584efcc723c428c1 | [
"MIT"
] | 2 | 2016-07-08T10:14:59.000Z | 2019-02-25T16:46:08.000Z | from VizUtil import imshow, showExamples, makeImageWithBBoxAnnotations
import ShowExamples # Script
__all__ = [ShowExamples,
imshow, showExamples, makeImageWithBBoxAnnotations] | 31.5 | 70 | 0.804233 | 14 | 189 | 10.571429 | 0.571429 | 0.243243 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 189 | 6 | 71 | 31.5 | 0.919255 | 0.031746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0ca700f6e75d6b6d5b265bb8a619026e3a3d3642 | 3,837 | py | Python | src/test/jython/responses/__init__.py | jdewinne/xlr-sdelements-plugin | 177f0b6df92b8fb1450b926996c353a9bd07e32b | [
"MIT"
] | null | null | null | src/test/jython/responses/__init__.py | jdewinne/xlr-sdelements-plugin | 177f0b6df92b8fb1450b926996c353a9bd07e32b | [
"MIT"
] | 2 | 2018-04-24T14:27:24.000Z | 2018-05-07T22:00:08.000Z | src/test/jython/responses/__init__.py | jdewinne/xlr-sdelements-plugin | 177f0b6df92b8fb1450b926996c353a9bd07e32b | [
"MIT"
] | 1 | 2017-04-20T15:45:01.000Z | 2017-04-20T15:45:01.000Z | GET_TASK_RESPONSE = '{"accepted": true, "ad_hoc": false, "artifact_proxy": "ABC-XYZ", "assigned_to": [{ "first_name": "Admin", "last_name": "Testerton", "is_active": true, "email": "admin@example.com", "role": { "id": "UR1", "name": "User" }, "id": 1}], "text": "Insecure forgotten password.", "id": "1-T2", "library_tas... | 639.5 | 1,609 | 0.685953 | 536 | 3,837 | 4.776119 | 0.253731 | 0.051563 | 0.051563 | 0.05625 | 0.632422 | 0.602734 | 0.602734 | 0.589844 | 0.589844 | 0.55625 | 0 | 0.117289 | 0.057858 | 3,837 | 5 | 1,610 | 767.4 | 0.590871 | 0 | 0 | 0 | 0 | 1 | 0.966119 | 0.340109 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.6 | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
0ccc87e5cd948a46790bcb103de0bbb509eef677 | 1,260 | py | Python | temboo/core/Library/Foursquare/Lists/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Foursquare/Lists/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Foursquare/Lists/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Foursquare.Lists.AddItem import AddItem, AddItemInputSet, AddItemResultSet, AddItemChoreographyExecution
from temboo.Library.Foursquare.Lists.AddList import AddList, AddListInputSet, AddListResultSet, AddListChoreographyExecution
from temboo.Library.Foursquare.Lists.DeleteItem import DeleteItem, Del... | 126 | 154 | 0.9 | 99 | 1,260 | 11.454545 | 0.424242 | 0.079365 | 0.134921 | 0.214286 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 1,260 | 9 | 155 | 140 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0cd46e709d05f08bdd1fe8128cdab16c8b1370fe | 8,856 | py | Python | tests/test_plotter.py | TheGoldfish01/pydpf-core | 75ca8a180454f94cedafbc68c1d6f20dcfc4c795 | [
"MIT"
] | 11 | 2021-01-31T15:50:02.000Z | 2021-10-01T23:15:38.000Z | tests/test_plotter.py | TheGoldfish01/pydpf-core | 75ca8a180454f94cedafbc68c1d6f20dcfc4c795 | [
"MIT"
] | 46 | 2021-01-14T05:00:50.000Z | 2021-10-06T18:30:37.000Z | tests/test_plotter.py | TheGoldfish01/pydpf-core | 75ca8a180454f94cedafbc68c1d6f20dcfc4c795 | [
"MIT"
] | 3 | 2021-06-30T07:18:30.000Z | 2021-09-15T08:43:11.000Z | import os
import pytest
from ansys import dpf
from ansys.dpf import core
from ansys.dpf.core import Model, Operator
from ansys.dpf.core import errors as dpf_errors
from ansys.dpf.core import misc
if misc.module_exists("pyvista"):
HAS_PYVISTA = True
from ansys.dpf.core.plotter import Plotter as DpfPlotter
... | 36.595041 | 86 | 0.746612 | 1,155 | 8,856 | 5.526407 | 0.110823 | 0.0893 | 0.075826 | 0.0705 | 0.826101 | 0.782861 | 0.768917 | 0.768917 | 0.751997 | 0.731318 | 0 | 0.011206 | 0.143519 | 8,856 | 241 | 87 | 36.746888 | 0.830323 | 0.007565 | 0 | 0.689655 | 0 | 0 | 0.07216 | 0 | 0 | 0 | 0 | 0 | 0.004926 | 1 | 0.083744 | false | 0 | 0.044335 | 0 | 0.128079 | 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 |
0b2fa106f0dfcdbf569e3419549da19ec5c10039 | 611 | py | Python | temboo/core/Library/Facebook/Actions/General/Likes/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Facebook/Actions/General/Likes/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Facebook/Actions/General/Likes/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Facebook.Actions.General.Likes.CreateLike import CreateLike, CreateLikeInputSet, CreateLikeResultSet, CreateLikeChoreographyExecution
from temboo.Library.Facebook.Actions.General.Likes.DeleteLike import DeleteLike, DeleteLikeInputSet, DeleteLikeResultSet, DeleteLikeChoreographyExecution
from temboo.... | 122.2 | 153 | 0.895254 | 52 | 611 | 10.519231 | 0.461538 | 0.073126 | 0.124314 | 0.182815 | 0.321755 | 0.321755 | 0.321755 | 0 | 0 | 0 | 0 | 0 | 0.045827 | 611 | 4 | 154 | 152.75 | 0.93825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0b40ceb58b8ec96d6f03ddd93f97dd8c10e9f5d7 | 144 | py | Python | test.py | Anders-Fogh/AF09 | 35ddff26c12d3ff0fd555fab6f81fd47ea6da24e | [
"MIT"
] | 1 | 2021-04-12T06:57:19.000Z | 2021-04-12T06:57:19.000Z | test.py | Anders-Fogh/AF09 | 35ddff26c12d3ff0fd555fab6f81fd47ea6da24e | [
"MIT"
] | null | null | null | test.py | Anders-Fogh/AF09 | 35ddff26c12d3ff0fd555fab6f81fd47ea6da24e | [
"MIT"
] | null | null | null | import subprocess
subprocess.call("wget -O build.sh https://gitlab.com/wireguard-vpn/build/-/raw/master/build.sh && bash build.sh", shell=True)
| 48 | 125 | 0.756944 | 23 | 144 | 4.73913 | 0.73913 | 0.192661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 144 | 2 | 126 | 72 | 0.813433 | 0 | 0 | 0 | 0 | 0.5 | 0.652778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0b7f0813ba098a5eceec74f6e337144eeceeb53f | 96 | py | Python | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydev_imps/_pydev_inspect.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydev_imps/_pydev_inspect.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydev_imps/_pydev_inspect.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/67/6e/24/8caea8de436eda06d88e601739fde6cccea189752a0ec710254e46f832 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b9a7d49be9b10ca928ccdf7ec521def2774a87b | 100 | py | Python | flowtext/__init__.py | Oneflow-Inc/text | d7c45c4ed517eab49e8578193f18641b213a6643 | [
"BSD-3-Clause"
] | 1 | 2022-03-11T07:07:14.000Z | 2022-03-11T07:07:14.000Z | flowtext/__init__.py | Oneflow-Inc/text | d7c45c4ed517eab49e8578193f18641b213a6643 | [
"BSD-3-Clause"
] | 2 | 2021-11-23T02:36:15.000Z | 2021-12-01T07:37:30.000Z | flowtext/__init__.py | Oneflow-Inc/text | d7c45c4ed517eab49e8578193f18641b213a6643 | [
"BSD-3-Clause"
] | null | null | null | from . import data
from . import models
from . import nn
from . import datasets
from . import utils
| 16.666667 | 22 | 0.75 | 15 | 100 | 5 | 0.466667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 100 | 5 | 23 | 20 | 0.9375 | 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 |
f01b6137393c3d11105598ccc6759a10e5cdaaa7 | 43 | py | Python | protocol/__init__.py | Anarchid/uberserver | 312b69e379e8999c440f1dd6e5c0b00a9932e7b1 | [
"MIT"
] | null | null | null | protocol/__init__.py | Anarchid/uberserver | 312b69e379e8999c440f1dd6e5c0b00a9932e7b1 | [
"MIT"
] | null | null | null | protocol/__init__.py | Anarchid/uberserver | 312b69e379e8999c440f1dd6e5c0b00a9932e7b1 | [
"MIT"
] | null | null | null | import AutoDict, Battle, Channel, Protocol
| 21.5 | 42 | 0.813953 | 5 | 43 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f04f348b80ede60461850ce695314c5324b3015d | 13,461 | py | Python | tests/test_models.py | CodeYellowBV/django-partial-index | 38cf7f772c4706eff35d8b324c89758f3334ee1a | [
"BSD-3-Clause"
] | null | null | null | tests/test_models.py | CodeYellowBV/django-partial-index | 38cf7f772c4706eff35d8b324c89758f3334ee1a | [
"BSD-3-Clause"
] | null | null | null | tests/test_models.py | CodeYellowBV/django-partial-index | 38cf7f772c4706eff35d8b324c89758f3334ee1a | [
"BSD-3-Clause"
] | 1 | 2021-01-28T17:59:36.000Z | 2021-01-28T17:59:36.000Z | """
Tests for actual use of the indexes after creating models with them.
"""
from django.db import IntegrityError
from django.test import TransactionTestCase
from django.utils import timezone
from django.core.exceptions import NON_FIELD_ERRORS, ValidationError
from testapp.models import User, Room, RoomBookingText, Jo... | 46.902439 | 164 | 0.718149 | 1,767 | 13,461 | 5.298246 | 0.092247 | 0.105533 | 0.052767 | 0.036317 | 0.882824 | 0.858257 | 0.810617 | 0.782525 | 0.768105 | 0.698355 | 0 | 0.050952 | 0.168932 | 13,461 | 286 | 165 | 47.066434 | 0.785912 | 0.062923 | 0 | 0.507538 | 0 | 0 | 0.056118 | 0.022957 | 0 | 0 | 0 | 0 | 0.221106 | 1 | 0.19598 | false | 0 | 0.025126 | 0 | 0.246231 | 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 |
f06f8af4892d8c7c9cb43750bc79b0231517aa84 | 14 | py | Python | vit/version.py | RonMcKay/vit | e37a75da8ff0856b9b7efd5c226741d2892ee175 | [
"MIT"
] | 171 | 2017-03-06T19:49:23.000Z | 2020-07-26T16:32:06.000Z | vit/version.py | RonMcKay/vit | e37a75da8ff0856b9b7efd5c226741d2892ee175 | [
"MIT"
] | 255 | 2017-02-01T11:49:12.000Z | 2020-07-26T22:31:25.000Z | vit/version.py | RonMcKay/vit | e37a75da8ff0856b9b7efd5c226741d2892ee175 | [
"MIT"
] | 26 | 2017-01-17T20:31:13.000Z | 2020-06-17T13:09:01.000Z | VIT = '2.2.0'
| 7 | 13 | 0.428571 | 4 | 14 | 1.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0.214286 | 14 | 1 | 14 | 14 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2b86854da7fc8365bf2418ca3368c913d54f2c5 | 820 | py | Python | nofap.py | tunglambk/discord-C-bot | 341d5f82370fa4e35f6f822a06ec83ee2b704579 | [
"MIT"
] | null | null | null | nofap.py | tunglambk/discord-C-bot | 341d5f82370fa4e35f6f822a06ec83ee2b704579 | [
"MIT"
] | null | null | null | nofap.py | tunglambk/discord-C-bot | 341d5f82370fa4e35f6f822a06ec83ee2b704579 | [
"MIT"
] | null | null | null | nofap = [
'https://cdn.discordapp.com/attachments/856061609632595978/859418145394786324/1.PNG',
'https://cdn.discordapp.com/attachments/856061609632595978/859418149216059412/2.jpg',
'https://cdn.discordapp.com/attachments/856061609632595978/859418151363936286/3.jpg',
'https://cdn.discordapp.com/attachme... | 74.545455 | 89 | 0.796341 | 82 | 820 | 7.963415 | 0.317073 | 0.11026 | 0.248086 | 0.289433 | 0.721286 | 0.721286 | 0.568147 | 0 | 0 | 0 | 0 | 0.431347 | 0.058537 | 820 | 11 | 90 | 74.545455 | 0.414508 | 0 | 0 | 0 | 0 | 0 | 0.898904 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b2fd4fcdf967db9e79949483e60a79464afc1bed | 91 | py | Python | taggo/util/__init__.py | vttach/taggo | 7eff7286d635a9fa7d790cbe57cf08477eeb5a37 | [
"MIT"
] | null | null | null | taggo/util/__init__.py | vttach/taggo | 7eff7286d635a9fa7d790cbe57cf08477eeb5a37 | [
"MIT"
] | null | null | null | taggo/util/__init__.py | vttach/taggo | 7eff7286d635a9fa7d790cbe57cf08477eeb5a37 | [
"MIT"
] | null | null | null | from .request import make_request, send_payload
__all__ = ['make_request', 'send_payload'] | 30.333333 | 47 | 0.791209 | 12 | 91 | 5.333333 | 0.583333 | 0.34375 | 0.46875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098901 | 91 | 3 | 48 | 30.333333 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
330b72e68c01414607102fedf272ccba01c5d84d | 34 | py | Python | pypkgtemp/__init__.py | k-sunako/CryptoMath | 467288c26301606ed1667f424e276d81c20ab640 | [
"MIT"
] | null | null | null | pypkgtemp/__init__.py | k-sunako/CryptoMath | 467288c26301606ed1667f424e276d81c20ab640 | [
"MIT"
] | 1 | 2021-06-01T22:11:33.000Z | 2021-06-01T22:11:33.000Z | pypkgtemp/__init__.py | costrouc/python-package-template | 1058f8f2ec4a34c0a600072b9eb5fe8d6fcb9b09 | [
"MIT"
] | null | null | null | print('hello world -- pypkgtemp')
| 17 | 33 | 0.705882 | 4 | 34 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 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 |
683661a95d455a9109191be8edae2387e55a48b8 | 208 | py | Python | approvaltests/approval_exception.py | skalinets/ApprovalTests.Python | ec7933d66a5a275632b46da0e55e7ca7de06c092 | [
"Apache-2.0"
] | 82 | 2015-10-06T19:25:21.000Z | 2022-03-04T00:09:31.000Z | approvaltests/approval_exception.py | skalinets/ApprovalTests.Python | ec7933d66a5a275632b46da0e55e7ca7de06c092 | [
"Apache-2.0"
] | 92 | 2015-10-05T00:27:22.000Z | 2022-02-13T18:53:10.000Z | approvaltests/approval_exception.py | skalinets/ApprovalTests.Python | ec7933d66a5a275632b46da0e55e7ca7de06c092 | [
"Apache-2.0"
] | 49 | 2015-08-04T18:02:59.000Z | 2022-03-06T18:49:09.000Z | class ApprovalException(Exception):
def __init__(self, value: str) -> None:
self.value = value
def __str__(self):
return self.value
class FrameNotFound(ApprovalException):
pass
| 18.909091 | 43 | 0.673077 | 22 | 208 | 6 | 0.545455 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235577 | 208 | 10 | 44 | 20.8 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
6844ac4a17a15e4f3e9204027faa0ab1e5a12080 | 23 | py | Python | my_classes/.history/ModulesPackages_PackageNamespaces/example3b/module2_20210726190930.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/example3b/module2_20210726190930.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/example3b/module2_20210726190930.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | import module1
print() | 7.666667 | 14 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.130435 | 23 | 3 | 15 | 7.666667 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
685829103242991e98d17c2130739dbc597f59f9 | 1,222 | py | Python | tests/test_utility.py | neuroio/neuroio-python | 160f96515877e5e2ee0e888b7424c77cb2d7496a | [
"MIT"
] | null | null | null | tests/test_utility.py | neuroio/neuroio-python | 160f96515877e5e2ee0e888b7424c77cb2d7496a | [
"MIT"
] | 6 | 2021-09-06T08:23:09.000Z | 2021-11-10T16:19:20.000Z | tests/test_utility.py | neuroio/neuroio-python | 160f96515877e5e2ee0e888b7424c77cb2d7496a | [
"MIT"
] | null | null | null | import pytest
import respx
from neuroio.constants import API_BASE_URL
@respx.mock
def test_test_compare_200(client):
request = respx.post(f"{API_BASE_URL}/v1/utility/compare/").respond(
status_code=200
)
response = client.utility.compare(b"image1", b"image2")
assert request.called
assert... | 23.960784 | 72 | 0.713584 | 172 | 1,222 | 4.877907 | 0.203488 | 0.095352 | 0.123957 | 0.104887 | 0.873659 | 0.873659 | 0.873659 | 0.873659 | 0.873659 | 0.849821 | 0 | 0.043435 | 0.171031 | 1,222 | 50 | 73 | 24.44 | 0.784798 | 0 | 0 | 0.594595 | 0 | 0 | 0.13257 | 0.104746 | 0 | 0 | 0 | 0 | 0.216216 | 1 | 0.054054 | false | 0 | 0.081081 | 0 | 0.135135 | 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 |
686a4b7db8dc5a67b828b1b6e7cac341a7ea331c | 76 | py | Python | timestamps_middleware/__init__.py | pachacamac/TinyDBTimestamps | 15460cd2654bd136d99516cc2ac2ab3b468e48dd | [
"BSD-3-Clause"
] | 1 | 2020-12-25T13:51:47.000Z | 2020-12-25T13:51:47.000Z | timestamps_middleware/__init__.py | pachacamac/TinyDBTimestamps | 15460cd2654bd136d99516cc2ac2ab3b468e48dd | [
"BSD-3-Clause"
] | 2 | 2020-12-15T12:47:21.000Z | 2020-12-15T20:46:35.000Z | timestamps_middleware/__init__.py | pachacamac/TinyDBTimestamps | 15460cd2654bd136d99516cc2ac2ab3b468e48dd | [
"BSD-3-Clause"
] | 1 | 2020-12-25T13:51:50.000Z | 2020-12-25T13:51:50.000Z | from timestamps_middleware.timestamps_middleware import TimestampsMiddleware | 76 | 76 | 0.947368 | 7 | 76 | 10 | 0.714286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 76 | 1 | 76 | 76 | 0.958904 | 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 |
d7b9e55630834bba3334bcca193a8b083df52f87 | 9,450 | py | Python | pydip/test/datc_tests/test__i__building.py | otech-nl/pydip | fbe085ccc0473b145d2fe424460163ad90c8ea57 | [
"MIT"
] | 13 | 2018-04-04T02:48:59.000Z | 2020-09-13T09:38:24.000Z | pydip/test/datc_tests/test__i__building.py | otech-nl/pydip | fbe085ccc0473b145d2fe424460163ad90c8ea57 | [
"MIT"
] | 6 | 2018-06-24T19:52:37.000Z | 2021-02-11T20:13:58.000Z | pydip/test/datc_tests/test__i__building.py | otech-nl/pydip | fbe085ccc0473b145d2fe424460163ad90c8ea57 | [
"MIT"
] | 5 | 2018-02-28T21:03:46.000Z | 2022-03-25T15:58:27.000Z | import pytest
from pydip.map.predefined import vanilla_dip
from pydip.player.unit import Unit
from pydip.player.unit import UnitTypes
from pydip.test.adjustment_helper import AdjustmentHelper
from pydip.test.command_helper import AdjustmentCommandHelper, AdjustmentCommandType
from pydip.test.player_helper import Playe... | 36.486486 | 101 | 0.647196 | 917 | 9,450 | 6.437296 | 0.14831 | 0.09131 | 0.08538 | 0.067085 | 0.875148 | 0.843131 | 0.836693 | 0.808233 | 0.790446 | 0.790446 | 0 | 0.001272 | 0.251111 | 9,450 | 258 | 102 | 36.627907 | 0.832839 | 0.107937 | 0 | 0.691176 | 0 | 0 | 0.102004 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 1 | 0.044118 | false | 0 | 0.034314 | 0 | 0.078431 | 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 |
d7e05e250a197cd81be752155feefe93453a6516 | 212 | py | Python | lib/__init__.py | cca/libraries_course_lists2 | 5dd68101f8267d82827e21a3ae46e3acf4ad21b0 | [
"ECL-2.0"
] | null | null | null | lib/__init__.py | cca/libraries_course_lists2 | 5dd68101f8267d82827e21a3ae46e3acf4ad21b0 | [
"ECL-2.0"
] | 8 | 2019-08-29T20:18:34.000Z | 2021-02-26T15:50:17.000Z | lib/__init__.py | cca/libraries_course_lists2 | 5dd68101f8267d82827e21a3ae46e3acf4ad21b0 | [
"ECL-2.0"
] | null | null | null | # import everything from all sub-modules
from .add_to_taxos import *
from .course import *
from .get_groups import *
from .get_taxos import *
from .group import *
from .taxonomy import *
from .utilities import *
| 23.555556 | 40 | 0.764151 | 31 | 212 | 5.096774 | 0.483871 | 0.379747 | 0.189873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 212 | 8 | 41 | 26.5 | 0.88764 | 0.179245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0bc5c6786c2856cb15abd6fa37ba257b20de3a0d | 195 | py | Python | server/group_chat_app/admin.py | AzamatKomaev/social_site | 4db54c593e6315aa9a767b4db75f43a0cd7f2683 | [
"MIT"
] | 2 | 2021-11-16T04:46:47.000Z | 2022-02-15T12:06:08.000Z | server/group_chat_app/admin.py | AzamatKomaev/social_site | 4db54c593e6315aa9a767b4db75f43a0cd7f2683 | [
"MIT"
] | null | null | null | server/group_chat_app/admin.py | AzamatKomaev/social_site | 4db54c593e6315aa9a767b4db75f43a0cd7f2683 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(GroupChat)
admin.site.register(GroupChatRole)
admin.site.register(GroupMessage)
admin.site.register(GroupChatRequest)
| 21.666667 | 37 | 0.830769 | 24 | 195 | 6.75 | 0.5 | 0.222222 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071795 | 195 | 8 | 38 | 24.375 | 0.895028 | 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 |
0405c0998f94cd10f9796d2d6aa30f9c50a138da | 47 | py | Python | library/src/test/unit/detectors/__init__.py | unSAD-admin/unSAD | 9f1d0e680a0086d140bc8d1c55fe21dd7de87df5 | [
"Apache-2.0"
] | 3 | 2019-11-01T04:51:51.000Z | 2019-12-17T04:25:18.000Z | library/src/test/unit/utils/__init__.py | unSAD-admin/unSAD | 9f1d0e680a0086d140bc8d1c55fe21dd7de87df5 | [
"Apache-2.0"
] | 1 | 2019-11-11T18:29:36.000Z | 2019-11-11T18:29:36.000Z | library/src/test/unit/detectors/__init__.py | unSAD-admin/unSAD | 9f1d0e680a0086d140bc8d1c55fe21dd7de87df5 | [
"Apache-2.0"
] | 2 | 2019-12-18T11:49:00.000Z | 2020-03-27T20:06:15.000Z | # Created by Xinyu Zhu on 10/22/2019, 12:47 PM
| 23.5 | 46 | 0.702128 | 11 | 47 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0.191489 | 47 | 1 | 47 | 47 | 0.552632 | 0.93617 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
041272fc416c45a24d28406f95ac9af3c82f6ca5 | 53,330 | py | Python | test_autogalaxy/unit/profiles/mass_profiles/test_total_mass_profiles.py | jonathanfrawley/PyAutoGalaxy_copy | 1cedbfdcf65020538128163f7d8a7f8e169646e0 | [
"MIT"
] | null | null | null | test_autogalaxy/unit/profiles/mass_profiles/test_total_mass_profiles.py | jonathanfrawley/PyAutoGalaxy_copy | 1cedbfdcf65020538128163f7d8a7f8e169646e0 | [
"MIT"
] | null | null | null | test_autogalaxy/unit/profiles/mass_profiles/test_total_mass_profiles.py | jonathanfrawley/PyAutoGalaxy_copy | 1cedbfdcf65020538128163f7d8a7f8e169646e0 | [
"MIT"
] | null | null | null | import os
from autoconf import conf
import autogalaxy as ag
import numpy as np
import pytest
grid = np.array([[1.0, 1.0], [2.0, 2.0], [3.0, 3.0], [2.0, 4.0]])
class TestPointMass:
def test__deflections__correct_values(self):
# The radial coordinate at (1.0, 1.0) is sqrt(2)
# Thi... | 35.672241 | 106 | 0.592425 | 7,034 | 53,330 | 4.29201 | 0.034262 | 0.028817 | 0.019278 | 0.054256 | 0.958264 | 0.95005 | 0.938721 | 0.930639 | 0.917754 | 0.88006 | 0 | 0.096634 | 0.277574 | 53,330 | 1,494 | 107 | 35.696118 | 0.686973 | 0.015076 | 0 | 0.662868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195632 | 1 | 0.035138 | false | 0 | 0.004748 | 0 | 0.045584 | 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 |
0425939c11a40d373f9ab1d4c3cdcbc6dbc612c4 | 45 | py | Python | integration_tests/test-packages/python/testpkgtres/testpkgtres/__init__.py | bburns632/doppel-cli | e0c708f565db0f558bca6f2fbe28a41d45121344 | [
"BSD-3-Clause"
] | null | null | null | integration_tests/test-packages/python/testpkgtres/testpkgtres/__init__.py | bburns632/doppel-cli | e0c708f565db0f558bca6f2fbe28a41d45121344 | [
"BSD-3-Clause"
] | null | null | null | integration_tests/test-packages/python/testpkgtres/testpkgtres/__init__.py | bburns632/doppel-cli | e0c708f565db0f558bca6f2fbe28a41d45121344 | [
"BSD-3-Clause"
] | null | null | null |
from testpkgtres.SomeClass import SomeClass
| 15 | 43 | 0.866667 | 5 | 45 | 7.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 2 | 44 | 22.5 | 0.975 | 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 |
043099ef38731873ef67ebc120d2a99ac1062093 | 99 | py | Python | muak/layouts/__init__.py | ok65/muak | 885d2bca83b90a37c17df88c1aeb66b49958ae2d | [
"WTFPL"
] | null | null | null | muak/layouts/__init__.py | ok65/muak | 885d2bca83b90a37c17df88c1aeb66b49958ae2d | [
"WTFPL"
] | null | null | null | muak/layouts/__init__.py | ok65/muak | 885d2bca83b90a37c17df88c1aeb66b49958ae2d | [
"WTFPL"
] | null | null | null |
from muak.layouts.layout import Layout
from muak.layouts.horizontal_layout import HorizontalLayout | 33 | 59 | 0.878788 | 13 | 99 | 6.615385 | 0.538462 | 0.186047 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080808 | 99 | 3 | 59 | 33 | 0.945055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9bcd333dcf239c2e1887f18f8eddbbea6ffc0282 | 26 | py | Python | __init__.py | cmhc/cs | 75d413be045eabbdbd5842806f7ffdd5768138eb | [
"Apache-2.0"
] | 1 | 2020-02-17T17:50:57.000Z | 2020-02-17T17:50:57.000Z | __init__.py | cmhc/cs | 75d413be045eabbdbd5842806f7ffdd5768138eb | [
"Apache-2.0"
] | null | null | null | __init__.py | cmhc/cs | 75d413be045eabbdbd5842806f7ffdd5768138eb | [
"Apache-2.0"
] | null | null | null | #coding:utf8
import html
| 6.5 | 12 | 0.769231 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 26 | 3 | 13 | 8.666667 | 0.863636 | 0.423077 | 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 |
9bdd535acfb0b66d1cbe6fc204708f8a29e6f764 | 208 | py | Python | main/context_processors.py | abhay-ranawat/playlistor | d1e7d0c5b7db736c1168c6650d15410865664038 | [
"MIT"
] | 206 | 2019-07-04T05:28:42.000Z | 2022-03-30T03:27:05.000Z | main/context_processors.py | abhay-ranawat/playlistor | d1e7d0c5b7db736c1168c6650d15410865664038 | [
"MIT"
] | 11 | 2019-10-18T21:52:53.000Z | 2021-11-30T09:45:29.000Z | main/context_processors.py | abhay-ranawat/playlistor | d1e7d0c5b7db736c1168c6650d15410865664038 | [
"MIT"
] | 16 | 2019-07-17T08:52:30.000Z | 2022-03-17T08:34:45.000Z | from django.conf import settings
from .utils import generate_auth_token
def default_context(request):
token = generate_auth_token()
return {"APPLE_DEVELOPER_TOKEN": token, "DEBUG": settings.DEBUG}
| 23.111111 | 68 | 0.774038 | 27 | 208 | 5.703704 | 0.62963 | 0.155844 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139423 | 208 | 8 | 69 | 26 | 0.860335 | 0 | 0 | 0 | 1 | 0 | 0.125 | 0.100962 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9bdd6b2bf0ca45ca2bf1b4e30e669ef014b6fc6d | 8,154 | py | Python | test_autoarray/inversion/inversion/test_inversion_util.py | Jammy2211/PyAutoArray | 1fb9c84ca2a3333abedfbf96d070fc355e2628e4 | [
"MIT"
] | 5 | 2019-09-26T02:18:25.000Z | 2021-12-11T16:29:20.000Z | test_autoarray/inversion/inversion/test_inversion_util.py | Jammy2211/PyAutoArray | 1fb9c84ca2a3333abedfbf96d070fc355e2628e4 | [
"MIT"
] | 3 | 2020-03-30T14:25:57.000Z | 2021-12-21T17:10:55.000Z | test_autoarray/inversion/inversion/test_inversion_util.py | Jammy2211/PyAutoArray | 1fb9c84ca2a3333abedfbf96d070fc355e2628e4 | [
"MIT"
] | 4 | 2020-03-03T11:35:41.000Z | 2022-01-21T17:37:35.000Z | import autoarray as aa
import numpy as np
class TestCurvatureRegMatrix:
def test__uses_pixel_neighbors_to_add_matrices_correctly(self):
pixel_neighbors = np.array(
[
[1, 3, -1, -1],
[4, 2, 0, -1],
[1, 5, -1, -1],
[4, ... | 41.181818 | 116 | 0.610621 | 1,117 | 8,154 | 4.081468 | 0.068039 | 0.025444 | 0.027638 | 0.026322 | 0.855451 | 0.811362 | 0.811362 | 0.801272 | 0.801272 | 0.801272 | 0 | 0.07155 | 0.278391 | 8,154 | 197 | 117 | 41.390863 | 0.703263 | 0 | 0 | 0.608974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 1 | 0.032051 | false | 0 | 0.012821 | 0 | 0.064103 | 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 |
500e7637234cb6b6db944943503a5f9ec9004da6 | 1,189 | py | Python | Programming basics/Exercises PROVERKI/lab/trade_commissions.py | antonarnaudov/SoftUniProjects | 01cbdce2b350b57240045d1bc3e21d34f9d0351d | [
"MIT"
] | null | null | null | Programming basics/Exercises PROVERKI/lab/trade_commissions.py | antonarnaudov/SoftUniProjects | 01cbdce2b350b57240045d1bc3e21d34f9d0351d | [
"MIT"
] | null | null | null | Programming basics/Exercises PROVERKI/lab/trade_commissions.py | antonarnaudov/SoftUniProjects | 01cbdce2b350b57240045d1bc3e21d34f9d0351d | [
"MIT"
] | null | null | null | city = input()
sells_area = float(input())
commissions = 0
if city == 'Sofia':
if 0 <= sells_area <= 500:
commissions = sells_area * 0.05
elif 500 <= sells_area <= 1000:
commissions = sells_area * 0.07
elif 1000 <= sells_area <= 10000:
commissions = sells_area * 0.08
elif sells... | 28.309524 | 40 | 0.587048 | 153 | 1,189 | 4.398693 | 0.196078 | 0.334324 | 0.356612 | 0.374443 | 0.786033 | 0.720654 | 0.71471 | 0.71471 | 0.534918 | 0 | 0 | 0.140476 | 0.293524 | 1,189 | 42 | 41 | 28.309524 | 0.660714 | 0 | 0 | 0.6 | 0 | 0 | 0.045378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
accf88a733e11cc1f2fcb52973508acdd9e98f60 | 33,124 | py | Python | desktop/core/ext-py/repoze.who-2.3/repoze/who/plugins/tests/test_authtkt.py | kokosing/hue | 2307f5379a35aae9be871e836432e6f45138b3d9 | [
"Apache-2.0"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | desktop/core/ext-py/repoze.who-2.3/repoze/who/plugins/tests/test_authtkt.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | desktop/core/ext-py/repoze.who-2.3/repoze/who/plugins/tests/test_authtkt.py | zks888/hue | 93a8c370713e70b216c428caa2f75185ef809deb | [
"Apache-2.0"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | import unittest
class TestAuthTktCookiePlugin(unittest.TestCase):
tempdir = None
_now_testing = None
def setUp(self):
pass
def tearDown(self):
if self.tempdir is not None:
import shutil
shutil.rmtree(self.tempdir)
if self._now_testing is not None:
... | 44.402145 | 102 | 0.539065 | 3,318 | 33,124 | 5.180229 | 0.068113 | 0.10996 | 0.027461 | 0.04317 | 0.840237 | 0.823132 | 0.801257 | 0.785664 | 0.774203 | 0.750465 | 0 | 0.019996 | 0.33118 | 33,124 | 745 | 103 | 44.461745 | 0.755845 | 0.002838 | 0 | 0.682635 | 0 | 0 | 0.163296 | 0.010446 | 0 | 0 | 0 | 0 | 0.229042 | 1 | 0.086826 | false | 0.001497 | 0.052395 | 0.001497 | 0.152695 | 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 |
c59d0daa3e89cade6bdb3177645f160c770e841d | 6,439 | py | Python | tests/test_multiply.py | skn123/butterfly | 7217b5d93bc78e1229fed3761bcc70d943f604b7 | [
"Apache-2.0"
] | 52 | 2020-08-05T08:32:24.000Z | 2022-03-27T21:56:34.000Z | tests/test_multiply.py | skn123/butterfly | 7217b5d93bc78e1229fed3761bcc70d943f604b7 | [
"Apache-2.0"
] | 13 | 2020-09-14T23:34:32.000Z | 2022-02-15T10:51:03.000Z | tests/test_multiply.py | skn123/butterfly | 7217b5d93bc78e1229fed3761bcc70d943f604b7 | [
"Apache-2.0"
] | 11 | 2020-10-15T07:03:25.000Z | 2022-03-25T12:03:49.000Z | import math
import unittest
import numpy as np
import torch
from torch import nn
from torch.nn import functional as F
import torch_butterfly
class ButterflyTest(unittest.TestCase):
def setUp(self):
self.rtol = 1e-3
self.atol = 1e-5
def test_multiply(self):
for batch_size, n in [(1... | 67.072917 | 152 | 0.528498 | 729 | 6,439 | 4.469136 | 0.144033 | 0.068754 | 0.063843 | 0.039288 | 0.838858 | 0.807551 | 0.732351 | 0.717311 | 0.717311 | 0.699509 | 0 | 0.02916 | 0.366206 | 6,439 | 95 | 153 | 67.778947 | 0.769174 | 0.12533 | 0 | 0.57971 | 0 | 0 | 0.004452 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 1 | 0.043478 | false | 0 | 0.101449 | 0 | 0.15942 | 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 |
c5af6e418ec664980ab735a1496bf60dc457839d | 135 | py | Python | students/K33402/Velts Andrey/lab0304/backend/charity/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 4 | 2020-09-03T15:41:42.000Z | 2021-12-24T15:28:20.000Z | students/K33402/Velts Andrey/lab0304/backend/charity/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 48 | 2020-09-13T20:22:42.000Z | 2021-04-30T11:13:30.000Z | students/K33402/Velts Andrey/lab0304/backend/charity/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 69 | 2020-09-06T10:32:37.000Z | 2021-11-28T18:13:17.000Z | from django.contrib import admin
from .models import Charity
@admin.register(Charity)
class CharityAdmin(admin.ModelAdmin):
pass
| 16.875 | 37 | 0.792593 | 17 | 135 | 6.294118 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 135 | 7 | 38 | 19.285714 | 0.91453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 |
a8952e492b913409f8dd5d0d817240ba8973fc67 | 178 | py | Python | tests/test_import.py | useblocks/libpdf | 2c1cf007ac9c7a74871342d67bff118254ee8dd5 | [
"MIT"
] | 7 | 2021-01-21T20:42:01.000Z | 2022-03-16T06:11:49.000Z | tests/test_import.py | useblocks/libpdf | 2c1cf007ac9c7a74871342d67bff118254ee8dd5 | [
"MIT"
] | 8 | 2021-01-19T09:27:15.000Z | 2022-02-04T22:50:15.000Z | tests/test_import.py | useblocks/libpdf | 2c1cf007ac9c7a74871342d67bff118254ee8dd5 | [
"MIT"
] | null | null | null | """Import tests."""
def test_import():
"""Check if the app modules can be imported."""
from libpdf import core # pylint: disable=import-outside-toplevel
del core
| 19.777778 | 70 | 0.668539 | 24 | 178 | 4.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207865 | 178 | 8 | 71 | 22.25 | 0.836879 | 0.539326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.666667 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a89e43199390c0f78ffd517d22f7bf8dfa888de8 | 38 | py | Python | skdaccess/solar/sdo/__init__.py | samiriff/scikit-dataaccess-ode | dc08fd67c772d3cd83d0d34183196661b6b53778 | [
"MIT"
] | 41 | 2017-06-12T19:52:07.000Z | 2022-01-02T11:03:01.000Z | skdaccess/solar/sdo/__init__.py | skdaccess/skdaccess | 935bfd54149abd9542fe38e77b7eabab48b1c3a1 | [
"MIT"
] | 2 | 2018-06-19T20:01:30.000Z | 2018-11-15T21:03:28.000Z | skdaccess/solar/sdo/__init__.py | skdaccess/skdaccess | 935bfd54149abd9542fe38e77b7eabab48b1c3a1 | [
"MIT"
] | 13 | 2017-08-28T12:00:26.000Z | 2021-12-08T10:12:44.000Z | from .data_fetcher import DataFetcher
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
764156ef938271585aa26100843d52892bbbceab | 24 | py | Python | gui/__init__.py | gbroques/gerrymandering | 8ce8f64ed9e6cadf002310cae50052cedd0fa32f | [
"MIT"
] | null | null | null | gui/__init__.py | gbroques/gerrymandering | 8ce8f64ed9e6cadf002310cae50052cedd0fa32f | [
"MIT"
] | null | null | null | gui/__init__.py | gbroques/gerrymandering | 8ce8f64ed9e6cadf002310cae50052cedd0fa32f | [
"MIT"
] | null | null | null | from gui.app import App
| 12 | 23 | 0.791667 | 5 | 24 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
764f202d6c2aeaa911f45a13f3b2959a9fbe9d34 | 135 | py | Python | arraytool/documentation/examples/__init__.py | markuskreitzer/arraytool | e8d50a4a062dae4d9551daf75c808d2733b6563c | [
"CNRI-Python"
] | 1 | 2021-07-26T14:14:58.000Z | 2021-07-26T14:14:58.000Z | arraytool/documentation/examples/__init__.py | elec3647/arraytool | e8d50a4a062dae4d9551daf75c808d2733b6563c | [
"CNRI-Python"
] | null | null | null | arraytool/documentation/examples/__init__.py | elec3647/arraytool | e8d50a4a062dae4d9551daf75c808d2733b6563c | [
"CNRI-Python"
] | 1 | 2022-03-27T01:32:47.000Z | 2022-03-27T01:32:47.000Z | # Author: Srinivasa Rao Zinka (srinivas . zinka [at] gmail . com)
# Copyright (c) 2011 Srinivasa Rao Zinka
# License: New BSD License.
| 33.75 | 65 | 0.718519 | 19 | 135 | 5.105263 | 0.736842 | 0.247423 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036036 | 0.177778 | 135 | 3 | 66 | 45 | 0.837838 | 0.948148 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
767ada446328b3f655c5b6817d5373b44318f794 | 160 | py | Python | api/views.py | ankit98040/E-Commerce-Project-Django-React | 4fc9bc9950c925f9fe60e77953e55f751a43e8bd | [
"Apache-2.0"
] | null | null | null | api/views.py | ankit98040/E-Commerce-Project-Django-React | 4fc9bc9950c925f9fe60e77953e55f751a43e8bd | [
"Apache-2.0"
] | null | null | null | api/views.py | ankit98040/E-Commerce-Project-Django-React | 4fc9bc9950c925f9fe60e77953e55f751a43e8bd | [
"Apache-2.0"
] | 1 | 2021-05-15T07:23:37.000Z | 2021-05-15T07:23:37.000Z | from django.http import JsonResponse
# Create your views here.
def home(request):
return JsonResponse({'info': 'Django React Course', 'name': "hitesh"})
| 20 | 74 | 0.7125 | 20 | 160 | 5.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 160 | 7 | 75 | 22.857143 | 0.844444 | 0.14375 | 0 | 0 | 0 | 0 | 0.244444 | 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 |
76b9d9e99f0acf2274927cd7c1303bd8c1a0da47 | 14,744 | py | Python | sdk/python/pulumi_azure/network/network_interface.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/network/network_interface.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/network/network_interface.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"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 Networ... | 63.551724 | 418 | 0.711205 | 1,871 | 14,744 | 5.361839 | 0.12186 | 0.054825 | 0.044657 | 0.033493 | 0.789673 | 0.764952 | 0.758174 | 0.749601 | 0.73126 | 0.719099 | 0 | 0.000085 | 0.205779 | 14,744 | 231 | 419 | 63.82684 | 0.856618 | 0.443909 | 0 | 0.022222 | 1 | 0 | 0.16965 | 0.041387 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0.011111 | 0.066667 | 0.022222 | 0.333333 | 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 |
76c870787c20eefe3c11a739a12f1c2fc004a46b | 277 | py | Python | data_structures/hash_table/conftest.py | ShannonTully/data-structures-and-algorithms | f43f24f9f60beb37a2717f387c1050c9fd1ece60 | [
"MIT"
] | null | null | null | data_structures/hash_table/conftest.py | ShannonTully/data-structures-and-algorithms | f43f24f9f60beb37a2717f387c1050c9fd1ece60 | [
"MIT"
] | null | null | null | data_structures/hash_table/conftest.py | ShannonTully/data-structures-and-algorithms | f43f24f9f60beb37a2717f387c1050c9fd1ece60 | [
"MIT"
] | null | null | null | """conftest for Hash Table tests."""
from .hash_table import HashTable
import pytest
@pytest.fixture
def empty_hash_table():
"""Empty hash table."""
return HashTable()
@pytest.fixture
def basic_hash_table():
"""Not empty hash table."""
return HashTable(1)
| 16.294118 | 36 | 0.693141 | 36 | 277 | 5.194444 | 0.444444 | 0.28877 | 0.224599 | 0.213904 | 0.31016 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004386 | 0.176895 | 277 | 16 | 37 | 17.3125 | 0.815789 | 0.252708 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
4f638f15f4d8c53153616c2dd141aa0dd0ccb886 | 29 | py | Python | hydra/gen/__init__.py | JimBoonie/hydra | 63665090812e4e209c67d5dc0b84b5bb35a57ead | [
"MIT"
] | 28 | 2015-12-30T22:38:16.000Z | 2021-03-21T07:52:39.000Z | hydra/gen/__init__.py | JimBoonie/hydra | 63665090812e4e209c67d5dc0b84b5bb35a57ead | [
"MIT"
] | 2 | 2017-02-23T09:54:09.000Z | 2018-12-14T12:20:28.000Z | hydra/gen/__init__.py | JimBoonie/hydra | 63665090812e4e209c67d5dc0b84b5bb35a57ead | [
"MIT"
] | 7 | 2017-02-23T09:43:24.000Z | 2022-01-10T12:17:36.000Z | from .devebec import devebec
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.