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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d812d51cac520a019349e8b42b913a15dfe73065 | 11,320 | py | Python | test_app.py | nesreensada/FSND-capstone | 1497e5c78d27eb23c019cfc4f209d73b5f716d9f | [
"MIT"
] | null | null | null | test_app.py | nesreensada/FSND-capstone | 1497e5c78d27eb23c019cfc4f209d73b5f716d9f | [
"MIT"
] | null | null | null | test_app.py | nesreensada/FSND-capstone | 1497e5c78d27eb23c019cfc4f209d73b5f716d9f | [
"MIT"
] | null | null | null |
import os
import unittest
import json
from flask_sqlalchemy import SQLAlchemy
from app import create_app
from models import Movies, Actor, setup_db
DB_PATH = os.getenv('DATABASE_URL',
"postgresql://postgres@localhost:5432/casting_agency")
EXECUTIVE_PRODUCER_TOKEN = os.getgetenv("TOKEN")
header... | 40.141844 | 79 | 0.626678 | 1,431 | 11,320 | 4.804333 | 0.088749 | 0.146182 | 0.110545 | 0.094255 | 0.863709 | 0.856145 | 0.840145 | 0.822109 | 0.812945 | 0.7936 | 0 | 0.027186 | 0.233127 | 11,320 | 281 | 80 | 40.284698 | 0.764774 | 0.099735 | 0 | 0.602871 | 0 | 0 | 0.132085 | 0.029983 | 0 | 0 | 0 | 0 | 0.368421 | 1 | 0.138756 | false | 0.004785 | 0.028708 | 0 | 0.172249 | 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 |
d82274b05c3b95fcd71307887585f61e07a1207f | 199 | py | Python | math/Triangle Checker/python/triangle_checker.py | avi-pal/al-go-rithms | 5167a20f1db7b366ff19f2962c1746a02e4f5067 | [
"CC0-1.0"
] | 1,253 | 2017-06-06T07:19:25.000Z | 2022-03-30T17:07:58.000Z | math/Triangle Checker/python/triangle_checker.py | avi-pal/al-go-rithms | 5167a20f1db7b366ff19f2962c1746a02e4f5067 | [
"CC0-1.0"
] | 554 | 2017-09-29T18:56:01.000Z | 2022-02-21T15:48:13.000Z | math/Triangle Checker/python/triangle_checker.py | avi-pal/al-go-rithms | 5167a20f1db7b366ff19f2962c1746a02e4f5067 | [
"CC0-1.0"
] | 2,226 | 2017-09-29T19:59:59.000Z | 2022-03-25T08:59:55.000Z | # encoding utf-8
def triangle_checker(a, b, c):
return a + b > c and a + c > b and b + c > a
print(triangle_checker(3, 3, 3))
print(triangle_checker(3, 4, 5))
print(triangle_checker(6, 9, 15)) | 22.111111 | 48 | 0.643216 | 39 | 199 | 3.179487 | 0.461538 | 0.483871 | 0.483871 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069182 | 0.201005 | 199 | 9 | 49 | 22.111111 | 0.710692 | 0.070352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.6 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
d82e620f7531c5e3c0b7987aad053e5eee7b7e14 | 89 | py | Python | ddtrace/contrib/cassandra/patch.py | p7g/dd-trace-py | 141ac0ab6e9962e3b3bafc9de172076075289a19 | [
"Apache-2.0",
"BSD-3-Clause"
] | 308 | 2016-12-07T16:49:27.000Z | 2022-03-15T10:06:45.000Z | ddtrace/contrib/cassandra/patch.py | p7g/dd-trace-py | 141ac0ab6e9962e3b3bafc9de172076075289a19 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1,928 | 2016-11-28T17:13:18.000Z | 2022-03-31T21:43:19.000Z | ddtrace/contrib/cassandra/patch.py | p7g/dd-trace-py | 141ac0ab6e9962e3b3bafc9de172076075289a19 | [
"Apache-2.0",
"BSD-3-Clause"
] | 311 | 2016-11-27T03:01:49.000Z | 2022-03-18T21:34:03.000Z | from .session import patch
from .session import unpatch
__all__ = ["patch", "unpatch"]
| 14.833333 | 30 | 0.730337 | 11 | 89 | 5.545455 | 0.545455 | 0.360656 | 0.557377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157303 | 89 | 5 | 31 | 17.8 | 0.813333 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d83abdfb34aca7f81891ee7e11e5398bb0d4d745 | 41 | py | Python | vcfiterator/__init__.py | ousamg/vcfiterator | cce80bef8e3987c9b6c39464264f6f412dc72f53 | [
"MIT"
] | 8 | 2015-01-08T18:47:12.000Z | 2021-07-03T20:18:12.000Z | vcfiterator/__init__.py | ousamg/vcfiterator | cce80bef8e3987c9b6c39464264f6f412dc72f53 | [
"MIT"
] | null | null | null | vcfiterator/__init__.py | ousamg/vcfiterator | cce80bef8e3987c9b6c39464264f6f412dc72f53 | [
"MIT"
] | 3 | 2019-08-01T22:23:28.000Z | 2020-09-11T14:43:42.000Z | from vcfiterator.main import VcfIterator
| 20.5 | 40 | 0.878049 | 5 | 41 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc3d2f938333b058d766df0d1be01e4a4ac30386 | 764 | py | Python | 7-assets/past-student-repos/LambdaSchool-master/m6/62a1/benchmarks/bm_queue.py | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | 7-assets/past-student-repos/LambdaSchool-master/m6/62a1/benchmarks/bm_queue.py | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | 7-assets/past-student-repos/LambdaSchool-master/m6/62a1/benchmarks/bm_queue.py | eengineergz/Lambda | 1fe511f7ef550aed998b75c18a432abf6ab41c5f | [
"MIT"
] | null | null | null | import time
from ll_queue import LLQueue
from arr_queue import ArrQueue
n = 100000
llq = LLQueue()
arrq = ArrQueue()
start_time = time.time()
for i in range(n):
llq.enqueue(i)
end_time = time.time()
print(f"LLQueue enqueue time: {end_time - start_time} seconds")
start_time = time.time()
for i in ran... | 16.608696 | 64 | 0.687173 | 121 | 764 | 4.190083 | 0.198347 | 0.252465 | 0.189349 | 0.134122 | 0.808679 | 0.808679 | 0.808679 | 0.558185 | 0.443787 | 0.443787 | 0 | 0.009404 | 0.164921 | 764 | 45 | 65 | 16.977778 | 0.785266 | 0 | 0 | 0.266667 | 0 | 0 | 0.280105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.066667 | null | null | 0.088889 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc47918eeacb1009111b567c9354338dad7828b1 | 41,274 | py | Python | xview/models/similarityArchitectures.py | davesean/modular_semantic_segmentation | 5f9e34243915b862e8fef5e6195f1e29f4cebf50 | [
"BSD-3-Clause"
] | 2 | 2018-12-18T16:15:14.000Z | 2020-04-16T07:38:04.000Z | xview/models/similarityArchitectures.py | davesean/modular_semantic_segmentation | 5f9e34243915b862e8fef5e6195f1e29f4cebf50 | [
"BSD-3-Clause"
] | null | null | null | xview/models/similarityArchitectures.py | davesean/modular_semantic_segmentation | 5f9e34243915b862e8fef5e6195f1e29f4cebf50 | [
"BSD-3-Clause"
] | null | null | null | import tensorflow as tf
from .vgg16 import vgg16
from tensorflow.python.layers.layers import max_pooling2d
from xview.models.cGAN_ops import residual_block, deconv2d, instance_norm
import os
from glob import glob
class batch_norm(object):
def __init__(self, epsilon=1e-5, momentum = 0.9, name="batch_norm"):
... | 53.952941 | 176 | 0.581286 | 7,076 | 41,274 | 3.153477 | 0.041266 | 0.039437 | 0.053643 | 0.016671 | 0.842744 | 0.826925 | 0.808551 | 0.804159 | 0.792955 | 0.783544 | 0 | 0.084154 | 0.254325 | 41,274 | 764 | 177 | 54.02356 | 0.640868 | 0.077894 | 0 | 0.635838 | 0 | 0.001927 | 0.079856 | 0.007767 | 0 | 0 | 0 | 0 | 0.044316 | 1 | 0.063584 | false | 0 | 0.013487 | 0.00578 | 0.142582 | 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 |
dc7665eddfb7f1b8b555782fe341b8569a52f730 | 2,801 | py | Python | tests/shared/nlu/test_interpreter.py | praneethgb/rasa | 5bf227f165d0b041a367d2c0bbf712ebb6a54792 | [
"Apache-2.0"
] | 37 | 2019-06-07T07:39:00.000Z | 2022-01-27T08:32:57.000Z | tests/shared/nlu/test_interpreter.py | praneethgb/rasa | 5bf227f165d0b041a367d2c0bbf712ebb6a54792 | [
"Apache-2.0"
] | 216 | 2020-09-20T13:05:58.000Z | 2022-03-28T12:10:24.000Z | tests/shared/nlu/test_interpreter.py | praneethgb/rasa | 5bf227f165d0b041a367d2c0bbf712ebb6a54792 | [
"Apache-2.0"
] | 65 | 2019-05-21T12:16:53.000Z | 2022-02-23T10:54:15.000Z | import pytest
from rasa.shared.constants import INTENT_MESSAGE_PREFIX
from rasa.shared.nlu.constants import INTENT_NAME_KEY
from rasa.shared.nlu.interpreter import RegexInterpreter
async def test_regex_interpreter_intent():
text = INTENT_MESSAGE_PREFIX + "my_intent"
result = await RegexInterpreter().parse(tex... | 32.195402 | 68 | 0.631917 | 324 | 2,801 | 5.25 | 0.12963 | 0.141093 | 0.134039 | 0.094062 | 0.850088 | 0.833627 | 0.803645 | 0.776014 | 0.737213 | 0.737213 | 0 | 0.014369 | 0.204927 | 2,801 | 86 | 69 | 32.569767 | 0.749439 | 0 | 0 | 0.693333 | 0 | 0 | 0.20457 | 0.017137 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | false | 0 | 0.053333 | 0 | 0.053333 | 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 |
dc826a76a6c0b483e26d8cdb24f8e6d3d7bfb617 | 2,816 | py | Python | epytope/Data/pssms/smmpmbec/mat/A_11_01_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/A_11_01_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/A_11_01_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_11_01_11 = {0: {'A': -0.386, 'C': 0.102, 'E': 0.077, 'D': 0.168, 'G': -0.151, 'F': 0.722, 'I': 0.425, 'H': -0.387, 'K': -0.334, 'M': 0.123, 'L': 0.271, 'N': -0.063, 'Q': 0.001, 'P': 0.279, 'S': -0.752, 'R': -0.316, 'T': -0.507, 'W': 0.364, 'V': -0.16, 'Y': 0.523}, 1: {'A': -0.56, 'C': 0.583, 'E': 0.367, 'D': 0.06, 'G... | 2,816 | 2,816 | 0.394176 | 679 | 2,816 | 1.630339 | 0.282769 | 0.019874 | 0.009033 | 0.01084 | 0.02168 | 0.02168 | 0.02168 | 0.02168 | 0 | 0 | 0 | 0.373994 | 0.161577 | 2,816 | 1 | 2,816 | 2,816 | 0.094875 | 0 | 0 | 0 | 0 | 0 | 0.079162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dca235729293cce7c882ec9f72c00b0b537ec201 | 37 | py | Python | work/simple_des_y3_sims/simple_des_y3_sims_mcal/__init__.py | beckermr/misc | da8fed310a0c99d7a5a10a1bfa74aac4db676475 | [
"BSD-3-Clause"
] | 2 | 2020-06-30T21:08:08.000Z | 2020-07-01T02:46:34.000Z | work/simple_des_y3_sims/simple_des_y3_sims_mcal/__init__.py | beckermr/misc | da8fed310a0c99d7a5a10a1bfa74aac4db676475 | [
"BSD-3-Clause"
] | null | null | null | work/simple_des_y3_sims/simple_des_y3_sims_mcal/__init__.py | beckermr/misc | da8fed310a0c99d7a5a10a1bfa74aac4db676475 | [
"BSD-3-Clause"
] | 1 | 2020-04-18T04:10:47.000Z | 2020-04-18T04:10:47.000Z | from .run_it import run_mcal # noqa
| 18.5 | 36 | 0.756757 | 7 | 37 | 3.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 1 | 37 | 37 | 0.866667 | 0.108108 | 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 |
f4930b27edda74cf81bc2aad9bd4b8e6217b16d7 | 73 | py | Python | example/simpleapp/widgets.py | callowayproject/django-stories | ea0398d69ea597819d0a6c75d4a3f65820321e13 | [
"Apache-2.0"
] | 10 | 2015-06-25T23:35:29.000Z | 2021-08-20T04:22:00.000Z | example/simpleapp/widgets.py | callowayproject/django-stories | ea0398d69ea597819d0a6c75d4a3f65820321e13 | [
"Apache-2.0"
] | null | null | null | example/simpleapp/widgets.py | callowayproject/django-stories | ea0398d69ea597819d0a6c75d4a3f65820321e13 | [
"Apache-2.0"
] | 2 | 2017-03-21T04:10:29.000Z | 2020-04-06T12:38:12.000Z | from django import forms
class CustomTextarea(forms.Textarea):
pass
| 14.6 | 37 | 0.780822 | 9 | 73 | 6.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 4 | 38 | 18.25 | 0.934426 | 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 |
f4db607f475ed651b7a41686c16f1c205800da07 | 192 | py | Python | src/MCQ/models/__init__.py | dreinq/DeepQ | abb6d8b492f802fefbc0095e8719377dc708069c | [
"Apache-2.0"
] | null | null | null | src/MCQ/models/__init__.py | dreinq/DeepQ | abb6d8b492f802fefbc0095e8719377dc708069c | [
"Apache-2.0"
] | null | null | null | src/MCQ/models/__init__.py | dreinq/DeepQ | abb6d8b492f802fefbc0095e8719377dc708069c | [
"Apache-2.0"
] | 1 | 2020-11-23T09:13:58.000Z | 2020-11-23T09:13:58.000Z | from .InceptAC import ActorCritic as InceptAC
from .Transformer import PolicyTransformer, ValueTransformer
from .ActorCritic import ActorCritic
from .GumbelActorCritic import GumbelActorCritic | 48 | 60 | 0.880208 | 19 | 192 | 8.894737 | 0.473684 | 0.201183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 192 | 4 | 61 | 48 | 0.971264 | 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 |
f4ede4e144135850df4c651eab844f7634f7bec2 | 33 | py | Python | plugins/permalinks/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 13 | 2020-01-27T09:02:25.000Z | 2022-01-20T07:45:26.000Z | plugins/permalinks/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 29 | 2020-03-22T06:57:57.000Z | 2022-01-24T22:46:42.000Z | plugins/permalinks/__init__.py | mohnjahoney/website_source | edc86a869b90ae604f32e736d9d5ecd918088e6a | [
"MIT"
] | 6 | 2020-07-10T00:13:30.000Z | 2022-01-26T08:22:33.000Z | from .permalinks import register
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
762135fbaaba11c66c626818a3cc2487a89936d3 | 11,207 | py | Python | code/Orbits.py | Penultimate-Panacea/MegaTraveller-Referee-Companion | b3f54288e5e105579fa763b1c96372b2fe6416a4 | [
"Unlicense"
] | null | null | null | code/Orbits.py | Penultimate-Panacea/MegaTraveller-Referee-Companion | b3f54288e5e105579fa763b1c96372b2fe6416a4 | [
"Unlicense"
] | null | null | null | code/Orbits.py | Penultimate-Panacea/MegaTraveller-Referee-Companion | b3f54288e5e105579fa763b1c96372b2fe6416a4 | [
"Unlicense"
] | null | null | null | class OrbitTable:
# - is inside star, I is inner, H is habitable, O is outer, _ is incinerated, S is the star itself
table_00 = ["S", "_", "_", "_", "_", "_", "_", "_", "I", "I", "I", "I", "I", "H", "O"]
table_01 = ["S", "_", "_", "_", "_", "_", "_", "I", "I", "I", "I", "I", "H", "O", "O"]
table_02 = [... | 83.014815 | 114 | 0.292228 | 1,483 | 11,207 | 1.864464 | 0.095752 | 0.300181 | 0.337432 | 0.299458 | 0.537432 | 0.535262 | 0.532369 | 0.532369 | 0.524051 | 0.398192 | 0 | 0.044537 | 0.230659 | 11,207 | 134 | 115 | 83.634328 | 0.276154 | 0.011065 | 0 | 0 | 0 | 0 | 0.140807 | 0 | 0 | 0 | 0 | 0.007463 | 0 | 1 | 0.007692 | false | 0 | 0 | 0 | 0.892308 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
520f207cad089b78c508143b5f906d85f8c2f637 | 1,642 | py | Python | transcrypt/development/automated_tests/transcrypt/executable_comments/__init__.py | JMCanning78/Transcrypt | 8a8dabe831240414fdf1d5027fa2b0d71ab45d05 | [
"Apache-2.0"
] | 1 | 2019-10-14T00:57:04.000Z | 2019-10-14T00:57:04.000Z | transcrypt/development/automated_tests/transcrypt/executable_comments/__init__.py | JMCanning78/Transcrypt | 8a8dabe831240414fdf1d5027fa2b0d71ab45d05 | [
"Apache-2.0"
] | 2 | 2021-03-11T07:09:19.000Z | 2021-05-12T11:26:23.000Z | transcrypt/development/automated_tests/transcrypt/executable_comments/__init__.py | JMCanning78/Transcrypt | 8a8dabe831240414fdf1d5027fa2b0d71ab45d05 | [
"Apache-2.0"
] | 1 | 2021-02-07T00:22:12.000Z | 2021-02-07T00:22:12.000Z | from org.transcrypt.stubs.browser import __pragma__
def run (autoTester):
# __pragma__ ('ecom') # ===================================================================
# --- Executed only by Transcrypt ---
'''?
for i in range (10):
autoTester.check (i)
?'''
# --- Executed only by CPyth... | 24.147059 | 96 | 0.437881 | 142 | 1,642 | 4.78169 | 0.225352 | 0.265096 | 0.164948 | 0.097202 | 0.880707 | 0.877761 | 0.771723 | 0.771723 | 0.633284 | 0.621502 | 0 | 0.031122 | 0.256395 | 1,642 | 67 | 97 | 24.507463 | 0.52498 | 0.56821 | 0 | 0.2 | 0 | 0 | 0.022173 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
522e5ef3fa4278298ee9b9e92220e6db7c937be5 | 482 | py | Python | docs/joint/joint9.py | danbst/pymunk-tutorial | 2012ca168e5de1588404e7ef6d2dd3770df6f291 | [
"MIT"
] | 4 | 2020-09-22T09:02:00.000Z | 2022-03-06T19:42:18.000Z | docs/joint/joint9.py | danbst/pymunk-tutorial | 2012ca168e5de1588404e7ef6d2dd3770df6f291 | [
"MIT"
] | null | null | null | docs/joint/joint9.py | danbst/pymunk-tutorial | 2012ca168e5de1588404e7ef6d2dd3770df6f291 | [
"MIT"
] | 3 | 2021-04-23T09:24:19.000Z | 2022-03-29T17:54:47.000Z | # rachet joint
from joint import *
p0 = Vec2d(100, 120)
v = Vec2d(60, 0)
arm = Segment(p0, v)
PivotJoint(b0, arm.body, p0)
SimpleMotor(b0, arm.body, 1)
arm2 = Segment(p0+v, v)
PivotJoint(arm.body, arm2.body, v)
RatchetJoint(arm.body, arm2.body, 0, math.pi/2)
p0 = Vec2d(300, 120)
arm = Segment(p0, v)
PivotJoint(b0, a... | 20.956522 | 47 | 0.682573 | 87 | 482 | 3.781609 | 0.310345 | 0.170213 | 0.121581 | 0.182371 | 0.790274 | 0.790274 | 0.790274 | 0.790274 | 0.790274 | 0.790274 | 0 | 0.100962 | 0.136929 | 482 | 23 | 48 | 20.956522 | 0.689904 | 0.024896 | 0 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
528b374c5759cc9e56895177c88ffc2889843ed0 | 237 | py | Python | tests/__init__.py | faintlines/flask-expects-json | 72d9d710f17e96d975ce9f470c38ea736d6e813f | [
"MIT"
] | 45 | 2018-02-15T02:24:00.000Z | 2022-03-03T19:22:40.000Z | tests/__init__.py | faintlines/flask-expects-json | 72d9d710f17e96d975ce9f470c38ea736d6e813f | [
"MIT"
] | 20 | 2018-01-30T19:03:48.000Z | 2022-03-04T09:32:29.000Z | tests/__init__.py | faintlines/flask-expects-json | 72d9d710f17e96d975ce9f470c38ea736d6e813f | [
"MIT"
] | 11 | 2019-05-21T12:53:49.000Z | 2021-11-03T12:01:12.000Z | import unittest
def loader():
return unittest.TestLoader().discover('tests', pattern='test*.py')
def test_suite():
return unittest.TestSuite(loader())
def run():
return unittest.TextTestRunner(verbosity=2).run(loader()) | 18.230769 | 70 | 0.708861 | 28 | 237 | 5.964286 | 0.607143 | 0.251497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004878 | 0.135021 | 237 | 13 | 71 | 18.230769 | 0.809756 | 0 | 0 | 0 | 0 | 0 | 0.054622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0 | 0.142857 | 0.428571 | 1 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bfeac2a6bbfa4c186d70640701cd5820e4a27929 | 1,201 | py | Python | tests/test_iteration_parameters.py | erdc/AdhModel | 2c5d49dd4cca484a6c46ded6e1f6dec25db4722c | [
"BSD-3-Clause"
] | 3 | 2019-06-26T13:41:46.000Z | 2019-10-16T02:11:29.000Z | tests/test_iteration_parameters.py | erdc/AdhModel | 2c5d49dd4cca484a6c46ded6e1f6dec25db4722c | [
"BSD-3-Clause"
] | 5 | 2019-06-26T14:29:03.000Z | 2019-07-15T19:25:59.000Z | tests/test_iteration_parameters.py | erdc/AdhModel | 2c5d49dd4cca484a6c46ded6e1f6dec25db4722c | [
"BSD-3-Clause"
] | 2 | 2019-07-26T14:31:14.000Z | 2019-09-03T18:06:39.000Z | import unittest
from adhmodel.simulation.iteration_parameters import IterationParameters
class TestIo(unittest.TestCase):
def test_dependency_non_linear_tolerance_option(self):
ip = IterationParameters()
ip.non_linear_tolerance_option = 'Specify residual and incremental (IP NTL & IP ITL)'
... | 60.05 | 93 | 0.777685 | 147 | 1,201 | 6.068027 | 0.210884 | 0.131166 | 0.089686 | 0.143498 | 0.782511 | 0.782511 | 0.755605 | 0.755605 | 0.755605 | 0.755605 | 0 | 0.007782 | 0.144047 | 1,201 | 19 | 94 | 63.210526 | 0.859922 | 0 | 0 | 0.470588 | 0 | 0 | 0.127394 | 0 | 0 | 0 | 0 | 0 | 0.470588 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
87009b366914ef12134d5d8cfecdf6c8d5107424 | 1,870 | py | Python | gymfc/gymfc/__init__.py | prokhn/onti-2019-bigdata | b9296141958f544177388be94072efce7bdc7814 | [
"MIT"
] | 1 | 2018-12-18T01:19:33.000Z | 2018-12-18T01:19:33.000Z | gymfc/gymfc/__init__.py | prokhn/onti-2019-bigdata | b9296141958f544177388be94072efce7bdc7814 | [
"MIT"
] | null | null | null | gymfc/gymfc/__init__.py | prokhn/onti-2019-bigdata | b9296141958f544177388be94072efce7bdc7814 | [
"MIT"
] | null | null | null | from gym.envs.registration import register
import math
MAX_MEMORY = 11
default_kwargs = {
}
#Episodic task with ESC supporting sensors for telemetry
kwargs = {
"memory_size": 1,
"max_sim_time": 1.,
}
kwargs.update(default_kwargs)
id = 'AttFC_GyroErr-MotorVel_M4_Ep-v0'
register(
id=id,
entry_point=... | 24.605263 | 75 | 0.648128 | 239 | 1,870 | 4.849372 | 0.246862 | 0.067299 | 0.069025 | 0.107852 | 0.750647 | 0.740293 | 0.740293 | 0.740293 | 0.712683 | 0.712683 | 0 | 0.027701 | 0.227807 | 1,870 | 75 | 76 | 24.933333 | 0.774931 | 0.094118 | 0 | 0.741935 | 0 | 0 | 0.328005 | 0.223209 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.032258 | 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 |
870f55149b1e3975c84ca32875c4953c0dfae777 | 2,339 | py | Python | tests/test_filter.py | obss/pigeons | 3965310c8ea45d2948b2ffd42d0369f9baaa4ab4 | [
"MIT"
] | 10 | 2021-07-16T12:51:14.000Z | 2022-01-26T06:30:12.000Z | tests/test_filter.py | obss/pigeons | 3965310c8ea45d2948b2ffd42d0369f9baaa4ab4 | [
"MIT"
] | null | null | null | tests/test_filter.py | obss/pigeons | 3965310c8ea45d2948b2ffd42d0369f9baaa4ab4 | [
"MIT"
] | 1 | 2021-07-16T12:55:06.000Z | 2021-07-16T12:55:06.000Z | import logging
from pigeons.filter import TeamsFilter
def test_filter_without_capture_flags():
log_record_dict = {"msg": "Test log at INFO level.", "levelno": logging.INFO}
test_log_record = logging.makeLogRecord(log_record_dict)
tf = TeamsFilter(level=logging.INFO)
filtered = tf.filter(test_log_reco... | 41.767857 | 103 | 0.761009 | 328 | 2,339 | 5.051829 | 0.121951 | 0.152082 | 0.109837 | 0.122511 | 0.900422 | 0.850332 | 0.793603 | 0.793603 | 0.732046 | 0.732046 | 0 | 0 | 0.145789 | 2,339 | 55 | 104 | 42.527273 | 0.829329 | 0.032065 | 0 | 0.473684 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.157895 | 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 |
875299205a616e79629e4dd5496849f44d8700de | 40 | py | Python | bolt/discord/__init__.py | ph7vc/CL4M-B0T | e992cf63b1215ea7c241cab94edc251653dbaed7 | [
"MIT"
] | 9 | 2019-02-17T06:33:14.000Z | 2021-10-05T02:19:00.000Z | bolt/discord/__init__.py | ns-phennessy/Bolt | e992cf63b1215ea7c241cab94edc251653dbaed7 | [
"MIT"
] | 28 | 2019-02-10T07:48:05.000Z | 2021-12-20T00:15:37.000Z | bolt/discord/__init__.py | ph7vc/CL4M-B0T | e992cf63b1215ea7c241cab94edc251653dbaed7 | [
"MIT"
] | 4 | 2015-03-13T03:58:55.000Z | 2015-05-27T08:29:46.000Z | from bolt.discord.events import Events
| 20 | 39 | 0.825 | 6 | 40 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.942857 | 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 |
875ef4ba0b572ae3da393904a852db6f94ed6340 | 58 | py | Python | fpdb/common/__init__.py | xvzezi/filedb-python | 513de426976e2782aa9aced1a2bf522db7aae51d | [
"MIT"
] | null | null | null | fpdb/common/__init__.py | xvzezi/filedb-python | 513de426976e2782aa9aced1a2bf522db7aae51d | [
"MIT"
] | null | null | null | fpdb/common/__init__.py | xvzezi/filedb-python | 513de426976e2782aa9aced1a2bf522db7aae51d | [
"MIT"
] | null | null | null | from . import cache
from . import table
from . import util | 19.333333 | 19 | 0.758621 | 9 | 58 | 4.888889 | 0.555556 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 58 | 3 | 20 | 19.333333 | 0.93617 | 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 |
5e3ecf6e6c8ed986cb6fe625ec64fffdc7fbbaaf | 63 | py | Python | sora/prediction/__init__.py | rcboufleur/SORA | 43a6409af0f6557daa3153ac95798964e1fd59e2 | [
"MIT"
] | 11 | 2021-09-08T15:27:34.000Z | 2022-03-02T16:39:24.000Z | sora/prediction/__init__.py | rcboufleur/SORA | 43a6409af0f6557daa3153ac95798964e1fd59e2 | [
"MIT"
] | 2 | 2021-10-02T09:39:05.000Z | 2022-03-24T12:57:16.000Z | sora/prediction/__init__.py | rcboufleur/SORA | 43a6409af0f6557daa3153ac95798964e1fd59e2 | [
"MIT"
] | 8 | 2021-08-29T12:52:36.000Z | 2022-02-02T06:22:50.000Z | from .core import *
from .table import *
from .occmap import *
| 15.75 | 21 | 0.714286 | 9 | 63 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 22 | 21 | 0.882353 | 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 |
5e4fa681700fff1f5b7915c2893d906c62e94249 | 202 | py | Python | cornflow/schemas/model_json.py | pchtsp/corn | 2811ad400f3f3681a159984eabf4fee1fc99b433 | [
"MIT"
] | 5 | 2021-11-24T02:43:22.000Z | 2021-12-10T09:28:32.000Z | cornflow/schemas/model_json.py | pchtsp/corn | 2811ad400f3f3681a159984eabf4fee1fc99b433 | [
"MIT"
] | 125 | 2021-09-01T12:06:48.000Z | 2022-03-30T11:32:57.000Z | cornflow/schemas/model_json.py | pchtsp/corn | 2811ad400f3f3681a159984eabf4fee1fc99b433 | [
"MIT"
] | 1 | 2021-06-15T19:43:16.000Z | 2021-06-15T19:43:16.000Z | from cornflow_client import SchemaManager, get_pulp_jsonschema
import os
fileDir = os.path.dirname(__file__)
manager = SchemaManager(get_pulp_jsonschema())
DataSchema = manager.jsonschema_to_flask()
| 22.444444 | 62 | 0.831683 | 25 | 202 | 6.28 | 0.68 | 0.203822 | 0.254777 | 0.382166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094059 | 202 | 8 | 63 | 25.25 | 0.857924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
5e7f16ad29f43fd56b8296caf60dbcaca8889209 | 41,041 | py | Python | test/emulator_test.py | kazeraniman/ChipPy | 15669c5dc46ccb76020264698cb4866111d4fe36 | [
"MIT"
] | null | null | null | test/emulator_test.py | kazeraniman/ChipPy | 15669c5dc46ccb76020264698cb4866111d4fe36 | [
"MIT"
] | null | null | null | test/emulator_test.py | kazeraniman/ChipPy | 15669c5dc46ccb76020264698cb4866111d4fe36 | [
"MIT"
] | null | null | null | from unittest import mock
from src.emulator import Emulator, GAME_START_ADDRESS, INTERPRETER_END_ADDRESS, RAM_SIZE, HEX_SIZE, OPCODE_SIZE
class TestHelperMethods:
def setup_method(self):
self.emulator = Emulator()
def test_load_digit_sprites(self):
self.emulator.ram = bytearray(RAM_SIZE)
... | 53.024548 | 147 | 0.671036 | 5,362 | 41,041 | 4.965684 | 0.05856 | 0.114475 | 0.054759 | 0.026403 | 0.905543 | 0.87208 | 0.833171 | 0.783783 | 0.746301 | 0.734508 | 0 | 0.030914 | 0.230745 | 41,041 | 773 | 148 | 53.093144 | 0.812454 | 0 | 0 | 0.541796 | 0 | 0 | 0.248434 | 0.017763 | 0 | 0 | 0 | 0 | 0.291022 | 1 | 0.114551 | false | 0 | 0.003096 | 0 | 0.122291 | 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 |
5ed5a5c82ad51479c45178ad825d3820e76cc579 | 42 | py | Python | python/desc/skycatalogs/readers/__init__.py | JoanneBogart/skyCatalogs | dbfec210dcf926cc85be5ddd6048bbaf1e39cf97 | [
"BSD-3-Clause"
] | null | null | null | python/desc/skycatalogs/readers/__init__.py | JoanneBogart/skyCatalogs | dbfec210dcf926cc85be5ddd6048bbaf1e39cf97 | [
"BSD-3-Clause"
] | 4 | 2021-06-25T00:45:54.000Z | 2021-07-26T21:41:02.000Z | python/desc/skycatalogs/readers/__init__.py | JoanneBogart/skyCatalogs | dbfec210dcf926cc85be5ddd6048bbaf1e39cf97 | [
"BSD-3-Clause"
] | 1 | 2021-09-30T21:53:13.000Z | 2021-09-30T21:53:13.000Z | from .parquet_reader import ParquetReader
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 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 |
0d5a61ee4f41eaa912a700753bf1b39afa68ae79 | 61 | py | Python | nixml/languages/__init__.py | moredhel/nixml | 2c3d2a836d7a0060371597b8e95edf2b74af6018 | [
"MIT"
] | 58 | 2019-03-12T16:51:11.000Z | 2022-02-08T23:26:19.000Z | nixml/languages/__init__.py | moredhel/nixml | 2c3d2a836d7a0060371597b8e95edf2b74af6018 | [
"MIT"
] | 1 | 2020-03-13T05:37:01.000Z | 2020-03-13T09:21:06.000Z | nixml/languages/__init__.py | moredhel/nixml | 2c3d2a836d7a0060371597b8e95edf2b74af6018 | [
"MIT"
] | 4 | 2019-07-31T17:07:59.000Z | 2022-03-14T11:19:57.000Z | from . import python
from . import texlive
from . import nix
| 15.25 | 21 | 0.754098 | 9 | 61 | 5.111111 | 0.555556 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 61 | 3 | 22 | 20.333333 | 0.938776 | 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 |
0d7c1abb26b4ae8372494acb8e30dfe5654747a3 | 116 | py | Python | torchviz/__init__.py | marvosyntactical/pytorchviz | d69f9e2029b10cf9758dc4e2a5acd4b937b5dc14 | [
"MIT"
] | null | null | null | torchviz/__init__.py | marvosyntactical/pytorchviz | d69f9e2029b10cf9758dc4e2a5acd4b937b5dc14 | [
"MIT"
] | null | null | null | torchviz/__init__.py | marvosyntactical/pytorchviz | d69f9e2029b10cf9758dc4e2a5acd4b937b5dc14 | [
"MIT"
] | null | null | null | from .dot import make_dot, make_dot_from_trace, make_dot_blitz, save_ridge_gauss
from .histogram import HistManager
| 38.666667 | 80 | 0.862069 | 19 | 116 | 4.842105 | 0.578947 | 0.228261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094828 | 116 | 2 | 81 | 58 | 0.87619 | 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 |
217217fab29428a0a7a9badd47939e6a32e95c47 | 32 | py | Python | hello.py | AryannaD/MB215-Lab1 | e507dd8f49a0a0953a57189acdba9452998317fa | [
"MIT"
] | null | null | null | hello.py | AryannaD/MB215-Lab1 | e507dd8f49a0a0953a57189acdba9452998317fa | [
"MIT"
] | null | null | null | hello.py | AryannaD/MB215-Lab1 | e507dd8f49a0a0953a57189acdba9452998317fa | [
"MIT"
] | null | null | null | print("hello world from Aryanna" | 32 | 32 | 0.8125 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
21979519c341b30d90eadd5d1c593124a3695ef6 | 18 | py | Python | CoinFlip/__init__.py | Xc1d30us-Mercy/CoinFlip | 7d14f7aff32fafe4d6dba1971df513159c261263 | [
"MIT"
] | null | null | null | CoinFlip/__init__.py | Xc1d30us-Mercy/CoinFlip | 7d14f7aff32fafe4d6dba1971df513159c261263 | [
"MIT"
] | null | null | null | CoinFlip/__init__.py | Xc1d30us-Mercy/CoinFlip | 7d14f7aff32fafe4d6dba1971df513159c261263 | [
"MIT"
] | 1 | 2018-07-30T04:37:49.000Z | 2018-07-30T04:37:49.000Z | from . import Coin | 18 | 18 | 0.777778 | 3 | 18 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
219dd90709adc5fa30d3f98dd8265c87d716f0e7 | 178 | py | Python | runner/helper.py | shibamirai/python_koans | c1eba327dbe9534042e510dfce4e0c49c853255e | [
"MIT"
] | null | null | null | runner/helper.py | shibamirai/python_koans | c1eba327dbe9534042e510dfce4e0c49c853255e | [
"MIT"
] | null | null | null | runner/helper.py | shibamirai/python_koans | c1eba327dbe9534042e510dfce4e0c49c853255e | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
def cls_name(obj):
doc = obj.__class__.__doc__ + ": " if obj.__class__.__doc__ else ""
return doc + obj.__class__.__name__ | 29.666667 | 72 | 0.646067 | 25 | 178 | 3.6 | 0.64 | 0.266667 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.179775 | 178 | 6 | 73 | 29.666667 | 0.609589 | 0.235955 | 0 | 0 | 0 | 0 | 0.014815 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
21c56842fa48edc404535f77ee1a5cdf0999f3a0 | 5,468 | py | Python | backend/tests/baserow/ws/test_ws_signals.py | ericderace/baserow | 7b35e81f75166d914d07ef4ad0c30c625b6bb396 | [
"MIT"
] | 1 | 2021-04-13T16:27:58.000Z | 2021-04-13T16:27:58.000Z | backend/tests/baserow/ws/test_ws_signals.py | jacklicn/baserow | 978d9462ededbaa96674a6653028ba19876ea273 | [
"MIT"
] | 6 | 2021-04-08T22:03:06.000Z | 2022-01-13T03:38:17.000Z | backend/tests/baserow/ws/test_ws_signals.py | jacklicn/baserow | 978d9462ededbaa96674a6653028ba19876ea273 | [
"MIT"
] | null | null | null | import pytest
from unittest.mock import patch
from baserow.core.handler import CoreHandler
@pytest.mark.django_db(transaction=True)
@patch('baserow.ws.signals.broadcast_to_group')
def test_group_created(mock_broadcast_to_group, data_fixture):
user = data_fixture.create_user()
group_user = CoreHandler().crea... | 40.80597 | 86 | 0.733358 | 788 | 5,468 | 4.766497 | 0.063452 | 0.093717 | 0.087859 | 0.067093 | 0.914271 | 0.870341 | 0.859691 | 0.853301 | 0.803248 | 0.803248 | 0 | 0.016017 | 0.132224 | 5,468 | 133 | 87 | 41.112782 | 0.775553 | 0 | 0 | 0.654206 | 0 | 0 | 0.115947 | 0.054133 | 0 | 0 | 0 | 0 | 0.35514 | 1 | 0.074766 | false | 0 | 0.028037 | 0 | 0.102804 | 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 |
df3c55916147e99b5b4dc3f58225935fd40f1476 | 257 | py | Python | buycoins_client/__init__.py | ChukwuEmekaAjah/buycoins_python | 86547aa742364a0e308b1dfb5f7c73b4467b1e06 | [
"MIT"
] | 1 | 2021-03-25T19:28:48.000Z | 2021-03-25T19:28:48.000Z | buycoins_client/__init__.py | ChukwuEmekaAjah/buycoins_python | 86547aa742364a0e308b1dfb5f7c73b4467b1e06 | [
"MIT"
] | null | null | null | buycoins_client/__init__.py | ChukwuEmekaAjah/buycoins_python | 86547aa742364a0e308b1dfb5f7c73b4467b1e06 | [
"MIT"
] | null | null | null | from .components import orders as Orders
from .components import auth as Auth
from .components import accounts as Accounts
from .components import prices as Prices
from .components import balances as Balances
from .components import transfers as Transfers
| 32.125 | 46 | 0.832685 | 36 | 257 | 5.944444 | 0.277778 | 0.392523 | 0.560748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143969 | 257 | 7 | 47 | 36.714286 | 0.972727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
df8e0b6a72f3e55ae3ac9adc559edc0d4fd7f730 | 40 | py | Python | dbpl/__init__.py | gch1p/deadbeef-playlist | e56c47e4fcd88abb79e5d1347c75b72b624b213d | [
"BSD-2-Clause"
] | 1 | 2021-07-10T09:09:56.000Z | 2021-07-10T09:09:56.000Z | dbpl/__init__.py | gch1p/deadbeef-playlist | e56c47e4fcd88abb79e5d1347c75b72b624b213d | [
"BSD-2-Clause"
] | null | null | null | dbpl/__init__.py | gch1p/deadbeef-playlist | e56c47e4fcd88abb79e5d1347c75b72b624b213d | [
"BSD-2-Clause"
] | null | null | null | from .dbpl import Track, Playlist, Flag
| 20 | 39 | 0.775 | 6 | 40 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 1 | 40 | 40 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10f87f0f03f5da0448348eb99f58b316d7bc6a5c | 1,251 | py | Python | tests/test_write_builder.py | sciencewhiz/sphinxext-rediraffe | fe953a466538b7a826b81d1a2f96a41b224bd016 | [
"MIT"
] | 19 | 2020-08-30T05:52:49.000Z | 2022-02-19T21:57:57.000Z | tests/test_write_builder.py | sciencewhiz/sphinxext-rediraffe | fe953a466538b7a826b81d1a2f96a41b224bd016 | [
"MIT"
] | 29 | 2020-08-21T01:36:14.000Z | 2021-09-16T12:20:33.000Z | tests/test_write_builder.py | sciencewhiz/sphinxext-rediraffe | fe953a466538b7a826b81d1a2f96a41b224bd016 | [
"MIT"
] | 7 | 2020-08-18T18:22:51.000Z | 2021-05-22T09:54:27.000Z | import pytest
from sphinx.testing.path import path
@pytest.fixture(scope="module")
def rootdir():
return path(__file__).parent.abspath() / "roots" / "builder"
@pytest.mark.sphinx("rediraffewritediff", testroot="renamed_write_file_not_redirected")
def test_builder_renamed_file_write_not_redirected(app_init_repo)... | 39.09375 | 87 | 0.761791 | 176 | 1,251 | 5.0625 | 0.278409 | 0.070707 | 0.111111 | 0.114478 | 0.819304 | 0.819304 | 0.785634 | 0.785634 | 0.637486 | 0.637486 | 0 | 0.002705 | 0.113509 | 1,251 | 31 | 88 | 40.354839 | 0.800721 | 0 | 0 | 0.478261 | 0 | 0 | 0.235811 | 0.077538 | 0 | 0 | 0 | 0 | 0.130435 | 1 | 0.173913 | false | 0.086957 | 0.086957 | 0.043478 | 0.304348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
80367e5b75d5450851b2ece95c6db71a3a0756f8 | 45 | py | Python | 13/test/src/__init__.py | leisurexi/python-study | e2de3d66d5decb4403acd2df6a3d9cba307f018a | [
"Apache-2.0"
] | 1 | 2021-01-23T14:59:02.000Z | 2021-01-23T14:59:02.000Z | 13/test/src/__init__.py | leisurexi/python-study | e2de3d66d5decb4403acd2df6a3d9cba307f018a | [
"Apache-2.0"
] | null | null | null | 13/test/src/__init__.py | leisurexi/python-study | e2de3d66d5decb4403acd2df6a3d9cba307f018a | [
"Apache-2.0"
] | null | null | null | # author: leisurexi
# date: 2021-01-16 22:16
| 15 | 24 | 0.688889 | 8 | 45 | 3.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0.155556 | 45 | 2 | 25 | 22.5 | 0.5 | 0.888889 | 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 |
33e703bc9e1f85b9812b70cffb61e8f0dd56b4f5 | 47 | py | Python | truetool/command_line.py | truecharts/truetool | e487c84139b70f868499892cdf308e31d48a8be9 | [
"BSD-3-Clause"
] | 12 | 2022-01-20T03:37:56.000Z | 2022-03-17T21:51:06.000Z | truetool/command_line.py | truecharts/truetool | e487c84139b70f868499892cdf308e31d48a8be9 | [
"BSD-3-Clause"
] | 2 | 2022-02-03T10:06:37.000Z | 2022-02-18T08:58:11.000Z | truetool/command_line.py | truecharts/truetool | e487c84139b70f868499892cdf308e31d48a8be9 | [
"BSD-3-Clause"
] | null | null | null | import truetool
def main():
truetool.run() | 11.75 | 18 | 0.680851 | 6 | 47 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 4 | 18 | 11.75 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
33f7e6f1c643c5b15f9094770e3f68e6385c478b | 19 | py | Python | wordsalad/utils/__init__.py | skurmedel/wordsalad | 5feaf29bf8b9c88624b783cd087a6589ea0ab48a | [
"MIT"
] | null | null | null | wordsalad/utils/__init__.py | skurmedel/wordsalad | 5feaf29bf8b9c88624b783cd087a6589ea0ab48a | [
"MIT"
] | null | null | null | wordsalad/utils/__init__.py | skurmedel/wordsalad | 5feaf29bf8b9c88624b783cd087a6589ea0ab48a | [
"MIT"
] | null | null | null | from .text import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 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 |
1d361f98585118b5e0e8265ebbbe6ae175f42092 | 152 | py | Python | esercizi/while.py | gdv/python-alfabetizzazione | d87561222de8a230db11d8529c49cf1702aec326 | [
"MIT"
] | null | null | null | esercizi/while.py | gdv/python-alfabetizzazione | d87561222de8a230db11d8529c49cf1702aec326 | [
"MIT"
] | null | null | null | esercizi/while.py | gdv/python-alfabetizzazione | d87561222de8a230db11d8529c49cf1702aec326 | [
"MIT"
] | 1 | 2019-03-26T11:14:33.000Z | 2019-03-26T11:14:33.000Z | y=0.0
x=0.0
print "y = ", y, "\tx = ", x, "<- inizializzazione"
while y <= 10 :
y = 0.5 * x + 2
print "y = ", y, "\tx = ", x
x = x + 1.65
| 15.2 | 51 | 0.394737 | 29 | 152 | 2.068966 | 0.413793 | 0.066667 | 0.233333 | 0.3 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0.348684 | 152 | 9 | 52 | 16.888889 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0.256579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.285714 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d7e24dde5e3ed4d17cec1efcd2a8939ba257407 | 20 | py | Python | electrolysis/__init__.py | tjlane/electrolysis | 86a8df22e504c77030d5a4d43a61379fc134f058 | [
"MIT"
] | null | null | null | electrolysis/__init__.py | tjlane/electrolysis | 86a8df22e504c77030d5a4d43a61379fc134f058 | [
"MIT"
] | null | null | null | electrolysis/__init__.py | tjlane/electrolysis | 86a8df22e504c77030d5a4d43a61379fc134f058 | [
"MIT"
] | 1 | 2020-04-14T15:24:28.000Z | 2020-04-14T15:24:28.000Z | # init
import inout
| 6.666667 | 12 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 2 | 13 | 10 | 0.9375 | 0.2 | 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 |
1d7f91eb48e7c699afbb15fd7db990841479d61a | 92 | py | Python | brewpi/recipes/views/__init__.py | trottmpq/brewpi | 5090f32d30e27cafe1594beba7bb8cd0aac8bfc6 | [
"MIT"
] | null | null | null | brewpi/recipes/views/__init__.py | trottmpq/brewpi | 5090f32d30e27cafe1594beba7bb8cd0aac8bfc6 | [
"MIT"
] | 9 | 2020-11-14T18:27:41.000Z | 2022-02-20T18:30:47.000Z | brewpi/recipes/views/__init__.py | trottmpq/brewpi | 5090f32d30e27cafe1594beba7bb8cd0aac8bfc6 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""The api view module."""
from .blueprint import blueprint # noqa
| 23 | 40 | 0.630435 | 12 | 92 | 4.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.173913 | 92 | 3 | 41 | 30.666667 | 0.75 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
1d8625f6f4fd29cc27a06091456250f68052afc5 | 48 | py | Python | test/__init__.py | ceos-seo/django-datacube-wcs | 250742947036763a95b19bdf132b2270d9bb5be9 | [
"Apache-2.0"
] | 7 | 2017-10-18T10:00:41.000Z | 2019-05-22T10:01:19.000Z | test/__init__.py | ceos-seo/django-datacube-wcs | 250742947036763a95b19bdf132b2270d9bb5be9 | [
"Apache-2.0"
] | null | null | null | test/__init__.py | ceos-seo/django-datacube-wcs | 250742947036763a95b19bdf132b2270d9bb5be9 | [
"Apache-2.0"
] | 4 | 2017-10-13T15:11:51.000Z | 2019-11-27T21:41:03.000Z | from .test_wcs_spec import TestWCSSpecification
| 24 | 47 | 0.895833 | 6 | 48 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 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 |
d56e0a779559c57e948ff59fa343c486b9851284 | 23 | py | Python | example/controllers/__init__.py | codejamninja/cfoundation | 5cd8738952eb871badcc0632e2a2d3de52ec8af0 | [
"MIT"
] | 61 | 2016-04-19T00:14:37.000Z | 2022-03-14T03:49:05.000Z | frcbullet/cli/controllers/__init__.py | hopkinstechnocrats/frcbullet | ebc9ab35ff5d420428b91d0fc80edebcbc922ac0 | [
"MIT"
] | 38 | 2019-07-18T04:51:40.000Z | 2021-07-06T04:49:45.000Z | polire/base/__init__.py | sustainability-lab/spatial-interpolation | 42d90ae9da2e7318004650a648b9ebeb9718d0b7 | [
"BSD-3-Clause"
] | 24 | 2020-08-05T03:13:37.000Z | 2021-10-11T02:55:25.000Z | from .base import Base
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 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 |
d597f5e2ae13f8eba9a3541c6700080c56fe8c62 | 180 | py | Python | apps/usuario/admin.py | WilliamColmenares/Access_control | 6c4d07a55307fe9f876a796d3e7273188b7569d4 | [
"MIT"
] | 2 | 2017-06-22T13:50:56.000Z | 2021-09-16T14:07:50.000Z | apps/usuario/admin.py | WilliamColmenares/Access_control | 6c4d07a55307fe9f876a796d3e7273188b7569d4 | [
"MIT"
] | null | null | null | apps/usuario/admin.py | WilliamColmenares/Access_control | 6c4d07a55307fe9f876a796d3e7273188b7569d4 | [
"MIT"
] | 2 | 2017-06-08T17:18:29.000Z | 2021-04-17T22:20:34.000Z | from django.contrib import admin
from apps.usuario.models import PasswordCliente, HuellaDigital
admin.site.register(PasswordCliente)
admin.site.register(HuellaDigital)
| 20 | 63 | 0.805556 | 20 | 180 | 7.25 | 0.6 | 0.124138 | 0.234483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127778 | 180 | 8 | 64 | 22.5 | 0.923567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
d59b941b5964c465cd6373788f4857e487166335 | 27 | py | Python | 01_PREWORK/week02/pra/your-code/carlos_cabruja.py | ivanof11/The_Bridge_DataScience_PT_ALUMNI_feb22 | a85ebb1b85f49c0c163e8d24cd82531a7927af45 | [
"MIT"
] | 1 | 2022-02-05T13:09:26.000Z | 2022-02-05T13:09:26.000Z | 01_PREWORK/week02/pra/your-code/carlos_cabruja.py | ivanof11/The_Bridge_DataScience_PT_ALUMNI_feb22 | a85ebb1b85f49c0c163e8d24cd82531a7927af45 | [
"MIT"
] | null | null | null | 01_PREWORK/week02/pra/your-code/carlos_cabruja.py | ivanof11/The_Bridge_DataScience_PT_ALUMNI_feb22 | a85ebb1b85f49c0c163e8d24cd82531a7927af45 | [
"MIT"
] | null | null | null | print("Hello The Bridge!")
| 13.5 | 26 | 0.703704 | 4 | 27 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 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 |
63359c1a11257151eac8d955f1fefe9af147c5e2 | 10,750 | py | Python | gtfs/tests/snapshots/snap_test_routes_api.py | montel-ig/maritime-maas | 68a3fe30d47745aba40ebf911d599346c070dfa4 | [
"MIT"
] | null | null | null | gtfs/tests/snapshots/snap_test_routes_api.py | montel-ig/maritime-maas | 68a3fe30d47745aba40ebf911d599346c070dfa4 | [
"MIT"
] | 34 | 2021-03-05T15:07:17.000Z | 2022-02-23T19:05:39.000Z | gtfs/tests/snapshots/snap_test_routes_api.py | montel-ig/maritime-maas | 68a3fe30d47745aba40ebf911d599346c070dfa4 | [
"MIT"
] | 1 | 2022-02-24T13:57:52.000Z | 2022-02-24T13:57:52.000Z | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots["test_rider_categories_with_prices 1"] = [
{
"customer_types": [
{
"currency_type": "EUR",
... | 33.805031 | 68 | 0.557302 | 1,215 | 10,750 | 4.719342 | 0.080658 | 0.069062 | 0.073247 | 0.065923 | 0.928845 | 0.898326 | 0.877398 | 0.852285 | 0.852285 | 0.852285 | 0 | 0.159688 | 0.295721 | 10,750 | 317 | 69 | 33.911672 | 0.597675 | 0.005767 | 0 | 0.682274 | 0 | 0 | 0.579036 | 0.1416 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006689 | 0 | 0.006689 | 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 |
63406ddaa3303982053eb00f09c38919c00d2f1a | 148 | py | Python | profesores/admin.py | Etxea/gestion_eide_web | 8a59be1ddb59a4713cb3346534fd01f643d8f924 | [
"MIT"
] | null | null | null | profesores/admin.py | Etxea/gestion_eide_web | 8a59be1ddb59a4713cb3346534fd01f643d8f924 | [
"MIT"
] | null | null | null | profesores/admin.py | Etxea/gestion_eide_web | 8a59be1ddb59a4713cb3346534fd01f643d8f924 | [
"MIT"
] | null | null | null | from models import *
from django.contrib import admin
class ProfesorAdmin(admin.ModelAdmin):
pass
admin.site.register(Profesor,ProfesorAdmin)
| 18.5 | 43 | 0.804054 | 18 | 148 | 6.611111 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 148 | 7 | 44 | 21.142857 | 0.915385 | 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 |
63590e5b1089d8cd7cfda5467ef2962a2c5442fd | 37 | py | Python | accuasset/domain/__init__.py | sooeun67/accuasset | 0db5b0c189784f48033f7c7b3e7d130b43d9fb79 | [
"MIT"
] | null | null | null | accuasset/domain/__init__.py | sooeun67/accuasset | 0db5b0c189784f48033f7c7b3e7d130b43d9fb79 | [
"MIT"
] | null | null | null | accuasset/domain/__init__.py | sooeun67/accuasset | 0db5b0c189784f48033f7c7b3e7d130b43d9fb79 | [
"MIT"
] | 2 | 2021-03-25T02:06:50.000Z | 2021-03-25T02:52:10.000Z | from .nlp import *
from .eda import * | 18.5 | 18 | 0.702703 | 6 | 37 | 4.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 2 | 19 | 18.5 | 0.866667 | 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 |
636abb9d2ffdab32f4fed0022edb6d88aaed73e3 | 14 | py | Python | project_files/a.py | yangpan0152/Alita | 87f3bea03684a3333e3d86d3237834fdbcf9d908 | [
"MIT"
] | null | null | null | project_files/a.py | yangpan0152/Alita | 87f3bea03684a3333e3d86d3237834fdbcf9d908 | [
"MIT"
] | null | null | null | project_files/a.py | yangpan0152/Alita | 87f3bea03684a3333e3d86d3237834fdbcf9d908 | [
"MIT"
] | null | null | null | a = 10
b = 30
| 4.666667 | 6 | 0.428571 | 4 | 14 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.428571 | 14 | 2 | 7 | 7 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
639fe7ff57af936b0c175ca5d23a510fb5eccb7a | 176 | py | Python | modules/dials/model/data/__init__.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | null | null | null | modules/dials/model/data/__init__.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | null | null | null | modules/dials/model/data/__init__.py | jorgediazjr/dials-dev20191018 | 77d66c719b5746f37af51ad593e2941ed6fbba17 | [
"BSD-3-Clause"
] | 1 | 2020-02-04T15:39:06.000Z | 2020-02-04T15:39:06.000Z | from __future__ import absolute_import, division, print_function
import boost.python
ext = boost.python.import_ext("dials_model_data_ext")
from dials_model_data_ext import *
| 25.142857 | 64 | 0.840909 | 26 | 176 | 5.192308 | 0.5 | 0.162963 | 0.207407 | 0.251852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096591 | 176 | 6 | 65 | 29.333333 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0.25 | 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 |
8925bd396ab3503bd9f1ecc2291873b51f786545 | 33 | py | Python | basic_ml/__init__.py | dagster-io/dagster-ml-example | c80fbcc49a2be0f32e46b7c4824ff909a92bba83 | [
"Apache-2.0"
] | null | null | null | basic_ml/__init__.py | dagster-io/dagster-ml-example | c80fbcc49a2be0f32e46b7c4824ff909a92bba83 | [
"Apache-2.0"
] | 3 | 2022-02-03T15:27:50.000Z | 2022-02-03T16:49:01.000Z | basic_ml/__init__.py | dagster-io/dagster-ml-example | c80fbcc49a2be0f32e46b7c4824ff909a92bba83 | [
"Apache-2.0"
] | null | null | null | from .repository import basic_ml
| 16.5 | 32 | 0.848485 | 5 | 33 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
89372fac77f04b54a86f8fd9650f2574230f8066 | 3,259 | py | Python | tests/test_web_app.py | Pentusha/aiohttp-apispec | a531a164f719f9d0077a6a3cd6730c3d6de6926c | [
"MIT"
] | null | null | null | tests/test_web_app.py | Pentusha/aiohttp-apispec | a531a164f719f9d0077a6a3cd6730c3d6de6926c | [
"MIT"
] | null | null | null | tests/test_web_app.py | Pentusha/aiohttp-apispec | a531a164f719f9d0077a6a3cd6730c3d6de6926c | [
"MIT"
] | null | null | null |
async def test_response_200_get(aiohttp_app):
res = await aiohttp_app.get('/v1/test', params={'id': 1, 'name': 'max'})
assert res.status == 200
async def test_response_422_get(aiohttp_app):
res = await aiohttp_app.get(
'/v1/test', params={'id': 'string', 'name': 'max'}
)
assert res.status... | 26.072 | 77 | 0.529303 | 415 | 3,259 | 3.913253 | 0.120482 | 0.160099 | 0.096059 | 0.144089 | 0.879926 | 0.8633 | 0.822044 | 0.822044 | 0.781404 | 0.637315 | 0 | 0.043966 | 0.288125 | 3,259 | 124 | 78 | 26.282258 | 0.656034 | 0 | 0 | 0.606061 | 0 | 0 | 0.166053 | 0.006446 | 0 | 0 | 0 | 0 | 0.131313 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
89379c1124eb373ef294e1bc26dc6c55cc821810 | 3,443 | py | Python | Uploads/format.py | sudhamstarun/DataSorcerer | b61532204b1d8a0e354833abe7a661f1bb1b4d27 | [
"MIT"
] | 4 | 2019-09-14T16:32:46.000Z | 2021-10-11T06:01:38.000Z | Uploads/format.py | sudhamstarun/DataSorcerer | b61532204b1d8a0e354833abe7a661f1bb1b4d27 | [
"MIT"
] | 2 | 2019-04-12T13:17:19.000Z | 2019-04-25T11:46:50.000Z | Uploads/format.py | sudhamstarun/DataSorcerer | b61532204b1d8a0e354833abe7a661f1bb1b4d27 | [
"MIT"
] | 7 | 2019-09-04T22:04:11.000Z | 2021-11-11T13:58:30.000Z | import csv
import sys
in_file = sys.argv[1]
out_file = sys.argv[2]
row_reader = csv.reader(open(in_file, "rt", encoding="utf-8"))
row_writer = csv.writer(open(out_file, "wt", encoding="utf-8"))
for row in row_reader:
i = 0
new_row = []
for val in row:
if not val or val == '\xa0' or val == '$' or ... | 137.72 | 2,878 | 0.451351 | 661 | 3,443 | 2.329803 | 0.077156 | 0.412338 | 0.22987 | 0.296104 | 0.756494 | 0.684416 | 0.6 | 0.584416 | 0.517532 | 0.420779 | 0 | 0.0556 | 0.268661 | 3,443 | 24 | 2,879 | 143.458333 | 0.555997 | 0.014813 | 0 | 0.105263 | 0 | 0.263158 | 0.360578 | 0.091767 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.105263 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
89a38cd5fe48a6f21eb422b866c8ffcbd0d03e2f | 117 | py | Python | src/pyfbad/__init__.py | Teknasyon-Teknoloji/pyfbad | e26c95528f50ae18f9276df95a9037ea7254d376 | [
"MIT"
] | 27 | 2022-01-14T12:04:11.000Z | 2022-03-18T07:41:48.000Z | src/pyfbad/__init__.py | Teknasyon-Teknoloji/pyfbad | e26c95528f50ae18f9276df95a9037ea7254d376 | [
"MIT"
] | null | null | null | src/pyfbad/__init__.py | Teknasyon-Teknoloji/pyfbad | e26c95528f50ae18f9276df95a9037ea7254d376 | [
"MIT"
] | 4 | 2022-01-17T06:04:19.000Z | 2022-03-23T18:16:31.000Z | from . import data
from . import models
from . import features
from . import visualization
from . import notification | 23.4 | 27 | 0.794872 | 15 | 117 | 6.2 | 0.466667 | 0.537634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162393 | 117 | 5 | 28 | 23.4 | 0.94898 | 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 |
98a5a626e81d732939df30f5fd6c74352f15528a | 1,677 | py | Python | application/scripts/crossfire/cf-badchar-eip3.py | cys3c/viper-shell | e05a07362b7d1e6d73c302a24d2506846e43502c | [
"PSF-2.0",
"BSD-2-Clause"
] | 2 | 2018-06-30T03:21:30.000Z | 2020-03-22T02:31:02.000Z | application/scripts/crossfire/cf-badchar-eip3.py | cys3c/viper-shell | e05a07362b7d1e6d73c302a24d2506846e43502c | [
"PSF-2.0",
"BSD-2-Clause"
] | null | null | null | application/scripts/crossfire/cf-badchar-eip3.py | cys3c/viper-shell | e05a07362b7d1e6d73c302a24d2506846e43502c | [
"PSF-2.0",
"BSD-2-Clause"
] | 3 | 2017-11-15T11:08:20.000Z | 2020-03-22T02:31:03.000Z | #!/usr/bin/python
import socket
#nasm > add eax,12
#00000000 83C00C add eax,byte +0xc
#nasm > jmp eax
#00000000 FFE0 jmp eax
#Fortunately for us, these two sets of instructions take up only 5 bytes of memory
#convert 83C00C and FFE0 to hex below
#\x83\xc0\x0c\xff\xe0
host = "127.0.0.1"
bad... | 33.54 | 82 | 0.692308 | 351 | 1,677 | 3.301994 | 0.903134 | 0.010354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243807 | 0.085271 | 1,677 | 50 | 83 | 33.54 | 0.511734 | 0.157424 | 0 | 0 | 0 | 0.551724 | 0.769559 | 0.716927 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.034483 | null | null | 0.103448 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7f4ad20cf0297bb388a96b6ac5eb26391bad9dba | 12,648 | py | Python | tests/test_vrs/test_face_collection.py | ricohapi/ricoh-cloud-sdk-python | 740d778c678e6097e3c35478545cbf283276a7ee | [
"MIT"
] | 2 | 2018-08-14T21:01:07.000Z | 2019-12-16T07:21:09.000Z | tests/test_vrs/test_face_collection.py | ricohapi/ricoh-cloud-sdk-python | 740d778c678e6097e3c35478545cbf283276a7ee | [
"MIT"
] | null | null | null | tests/test_vrs/test_face_collection.py | ricohapi/ricoh-cloud-sdk-python | 740d778c678e6097e3c35478545cbf283276a7ee | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2017 Ricoh Co., Ltd. All Rights Reserved.
import os
from unittest import TestCase
import json
import pytest
import mock
from mock import Mock, MagicMock
from requests.exceptions import RequestException
from ricohcloudsdk.vrs import util
from ricohcloudsdk.vrs.client import Visua... | 39.401869 | 113 | 0.626028 | 1,451 | 12,648 | 5.229497 | 0.11785 | 0.049288 | 0.063785 | 0.072483 | 0.884686 | 0.848708 | 0.82525 | 0.800738 | 0.79428 | 0.739457 | 0 | 0.069726 | 0.253874 | 12,648 | 320 | 114 | 39.525 | 0.734344 | 0.006088 | 0 | 0.623693 | 0 | 0.003484 | 0.232973 | 0.153485 | 0 | 0 | 0 | 0 | 0.087108 | 1 | 0.076655 | false | 0 | 0.034843 | 0 | 0.125436 | 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 |
7f93ff5fc839b3e7aa65627c16a4233fd66b4dae | 14,253 | py | Python | test_app/test.py | OmarThinks/MoRG | fecf78e15453b0efa9223cd5196fea8176cdfdf3 | [
"MIT"
] | null | null | null | test_app/test.py | OmarThinks/MoRG | fecf78e15453b0efa9223cd5196fea8176cdfdf3 | [
"MIT"
] | null | null | null | test_app/test.py | OmarThinks/MoRG | fecf78e15453b0efa9223cd5196fea8176cdfdf3 | [
"MIT"
] | null | null | null | import os
import secrets
import unittest
import json
import random
from flask import Flask, request, abort, jsonify
from flask_sqlalchemy import SQLAlchemy
from sqlalchemy import func
from flask_cors import CORS
from flask_migrate import Migrate
import base64
from app import create_app
"""
b:validation Funct... | 35.6325 | 167 | 0.705045 | 2,043 | 14,253 | 4.740088 | 0.081743 | 0.074349 | 0.016109 | 0.047088 | 0.879182 | 0.872573 | 0.83354 | 0.802354 | 0.759397 | 0.748967 | 0 | 0.022572 | 0.135901 | 14,253 | 400 | 168 | 35.6325 | 0.763722 | 0.057462 | 0 | 0.333333 | 0 | 0 | 0.350546 | 0.010328 | 0 | 0 | 0 | 0 | 0.160494 | 1 | 0.123457 | false | 0 | 0.148148 | 0 | 0.283951 | 0.123457 | 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 |
f6cdb35f85f36b2599343914c1816806a46134ab | 19 | py | Python | cases/fractals/__init__.py | vikian050194/svg | 5afc243df1168981b76d92048055e6a0fc90e9dd | [
"MIT"
] | null | null | null | cases/fractals/__init__.py | vikian050194/svg | 5afc243df1168981b76d92048055e6a0fc90e9dd | [
"MIT"
] | null | null | null | cases/fractals/__init__.py | vikian050194/svg | 5afc243df1168981b76d92048055e6a0fc90e9dd | [
"MIT"
] | null | null | null | from .serp import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 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 |
f6d6fe3f8a60b65a9deea083ea3ab6ad913c275a | 12,869 | py | Python | tests/unit/pypyr/steps/filewriteyaml_test.py | mofm/pypyr | f417f69ba9a607d8a93019854105cfbc4dc9c36d | [
"Apache-2.0"
] | 1 | 2021-12-30T20:47:18.000Z | 2021-12-30T20:47:18.000Z | tests/unit/pypyr/steps/filewriteyaml_test.py | mofm/pypyr | f417f69ba9a607d8a93019854105cfbc4dc9c36d | [
"Apache-2.0"
] | null | null | null | tests/unit/pypyr/steps/filewriteyaml_test.py | mofm/pypyr | f417f69ba9a607d8a93019854105cfbc4dc9c36d | [
"Apache-2.0"
] | null | null | null | """filewriteyaml.py unit tests."""
import io
from unittest.mock import mock_open, patch
import pytest
from pypyr.context import Context
from pypyr.dsl import Jsonify
from pypyr.errors import (
ContextError,
KeyInContextHasNoValueError,
KeyNotInContextError)
import pypyr.steps.filewriteyaml as filewrite
... | 38.073964 | 77 | 0.500194 | 1,262 | 12,869 | 4.920761 | 0.097464 | 0.046055 | 0.066667 | 0.057971 | 0.861997 | 0.841546 | 0.809179 | 0.781643 | 0.76248 | 0.742834 | 0 | 0.014471 | 0.38247 | 12,869 | 337 | 78 | 38.186944 | 0.766956 | 0.064418 | 0 | 0.666667 | 0 | 0 | 0.193419 | 0.05228 | 0 | 0 | 0 | 0 | 0.215909 | 1 | 0.041667 | false | 0.022727 | 0.026515 | 0 | 0.068182 | 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 |
f6f531ba779d05b5a707ec418483c4c355b22d21 | 106 | py | Python | configuration/__init__.py | jameshi16/TypeSound | 238d019ed22ed5b41df533ac5ec43cbf28428fa6 | [
"MIT"
] | null | null | null | configuration/__init__.py | jameshi16/TypeSound | 238d019ed22ed5b41df533ac5ec43cbf28428fa6 | [
"MIT"
] | null | null | null | configuration/__init__.py | jameshi16/TypeSound | 238d019ed22ed5b41df533ac5ec43cbf28428fa6 | [
"MIT"
] | null | null | null | from .JSONConfiguration import JSONConfiguration
from .ConfigurationSchemeV1 import ConfigurationSchemeV1
| 35.333333 | 56 | 0.90566 | 8 | 106 | 12 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.075472 | 106 | 2 | 57 | 53 | 0.959184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
10009abf66e4f0be051afb1ebe07af87fb037f7f | 21 | py | Python | unet3d/models/pytorch/fcn/__init__.py | Crush18/3DUnetCNN | 7e257f712bd11510ebefef44c13ef48329858fca | [
"MIT"
] | 1,624 | 2017-02-15T13:41:39.000Z | 2022-03-29T11:51:57.000Z | unet3d/models/pytorch/fcn/__init__.py | hjt996/3DUnetCNN | be2573c52169b725075acf182374f7098ee792d1 | [
"MIT"
] | 271 | 2017-02-15T22:46:04.000Z | 2022-03-27T11:04:59.000Z | unet3d/models/pytorch/fcn/__init__.py | hjt996/3DUnetCNN | be2573c52169b725075acf182374f7098ee792d1 | [
"MIT"
] | 663 | 2017-02-23T04:27:51.000Z | 2022-03-31T06:36:30.000Z | from .fcn import FCN
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 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 |
1003f410d96dc9245c1ff654bfcf6fa6a747d2d1 | 19,288 | py | Python | MyProject1MyFrame1.py | SaitoYutaka/microbitAnim | 6630d5cdb3ae867d3467a035a1c14358944c0367 | [
"MIT"
] | null | null | null | MyProject1MyFrame1.py | SaitoYutaka/microbitAnim | 6630d5cdb3ae867d3467a035a1c14358944c0367 | [
"MIT"
] | null | null | null | MyProject1MyFrame1.py | SaitoYutaka/microbitAnim | 6630d5cdb3ae867d3467a035a1c14358944c0367 | [
"MIT"
] | null | null | null | """Subclass of MyFrame1, which is generated by wxFormBuilder."""
import wx
import microbitAnim
import json
# Implementing MyFrame1
class MyProject1MyFrame1( microbitAnim.MyFrame1 ):
def __init__( self, parent ):
microbitAnim.MyFrame1.__init__( self, parent )
# Handlers for MyFrame1 events.
def on... | 49.07888 | 100 | 0.541736 | 2,371 | 19,288 | 4.335302 | 0.067904 | 0.044168 | 0.107014 | 0.116743 | 0.821481 | 0.776827 | 0.756299 | 0.748906 | 0.738982 | 0.463664 | 0 | 0.112478 | 0.291995 | 19,288 | 392 | 101 | 49.204082 | 0.640231 | 0.005755 | 0 | 0.374252 | 1 | 0 | 0.056582 | 0 | 0.01497 | 0 | 0 | 0 | 0 | 1 | 0.092814 | false | 0 | 0.01497 | 0 | 0.122754 | 0.02994 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
63f2572c889a9262373f6227159d791861867be3 | 200 | py | Python | accounts/admin.py | yamansener199/CS308-Project | 11b915c891494278db73dede565554704cbc8ae2 | [
"Apache-2.0"
] | 1 | 2021-11-13T11:35:40.000Z | 2021-11-13T11:35:40.000Z | accounts/admin.py | yamansener199/CS308-Project | 11b915c891494278db73dede565554704cbc8ae2 | [
"Apache-2.0"
] | null | null | null | accounts/admin.py | yamansener199/CS308-Project | 11b915c891494278db73dede565554704cbc8ae2 | [
"Apache-2.0"
] | 2 | 2021-11-11T14:22:38.000Z | 2021-11-13T11:35:42.000Z | from django.contrib import admin
from django.contrib.auth.models import User
from accounts.forms import Patient
# Register your models here.
from .models import *
admin.site.register(Patient)
| 25 | 44 | 0.785 | 28 | 200 | 5.607143 | 0.535714 | 0.127389 | 0.216561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 200 | 7 | 45 | 28.571429 | 0.923529 | 0.13 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
63f9ed819e0173a27119dd7c42b177025d72f2a6 | 239 | py | Python | mapping/urls.py | eshandinesh/gis_based_crime_mapping | 72ced819cf2a2c74654773e9f9869279852feb91 | [
"MIT"
] | 1 | 2020-11-16T17:12:33.000Z | 2020-11-16T17:12:33.000Z | mapping/urls.py | eshandinesh/gis_based_crime_mapping | 72ced819cf2a2c74654773e9f9869279852feb91 | [
"MIT"
] | null | null | null | mapping/urls.py | eshandinesh/gis_based_crime_mapping | 72ced819cf2a2c74654773e9f9869279852feb91 | [
"MIT"
] | 1 | 2020-12-19T20:11:32.000Z | 2020-12-19T20:11:32.000Z | from django.conf.urls import include,url
from . import views
from django.conf.urls import *
from django.conf.urls.static import static
from django.conf import settings
urlpatterns =[
url(r'^home$', views.HOTSPOTS, name='home'),
]
| 23.9 | 48 | 0.740586 | 35 | 239 | 5.057143 | 0.428571 | 0.225989 | 0.316384 | 0.305085 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146444 | 239 | 9 | 49 | 26.555556 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0.041841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1209e5404f14ce7a79e611f2861564509550be74 | 36 | py | Python | api/resources/expression/datasets.py | armell/RNASEqTool | 88ee1011cd2597a04f5f7bfc811649ed17d40752 | [
"MIT"
] | 2 | 2019-03-26T16:32:59.000Z | 2019-11-19T09:46:14.000Z | api/resources/expression/datasets.py | armell/RNASEqTool | 88ee1011cd2597a04f5f7bfc811649ed17d40752 | [
"MIT"
] | 1 | 2021-12-13T20:22:47.000Z | 2021-12-13T20:22:47.000Z | api/resources/expression/datasets.py | armell/RNASEqTool | 88ee1011cd2597a04f5f7bfc811649ed17d40752 | [
"MIT"
] | null | null | null | from entities import entities as ent | 36 | 36 | 0.861111 | 6 | 36 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 1 | 36 | 36 | 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 |
1245d03c5a78386498c2a54426e8fd13f1423f12 | 7,502 | py | Python | tasker/tests/test_storage.py | adir-intsights/tasker | 7e7eb3b375a6f5317d0bcbbc40426baa676d51f5 | [
"Apache-2.0"
] | null | null | null | tasker/tests/test_storage.py | adir-intsights/tasker | 7e7eb3b375a6f5317d0bcbbc40426baa676d51f5 | [
"Apache-2.0"
] | null | null | null | tasker/tests/test_storage.py | adir-intsights/tasker | 7e7eb3b375a6f5317d0bcbbc40426baa676d51f5 | [
"Apache-2.0"
] | null | null | null | import unittest
import time
import threading
from .. import connector
from .. import storage
from .. import encoder
class StorageTestCase:
def test_lock_key(
self,
):
self.storage.release_lock_key(
name=self.test_key,
)
lock_key_value = self.storage.get_key(
... | 25.344595 | 99 | 0.522794 | 665 | 7,502 | 5.643609 | 0.108271 | 0.072742 | 0.064482 | 0.08793 | 0.843592 | 0.82867 | 0.82494 | 0.767386 | 0.767386 | 0.767386 | 0 | 0.043563 | 0.384964 | 7,502 | 295 | 100 | 25.430508 | 0.769831 | 0 | 0 | 0.65019 | 0 | 0 | 0.084244 | 0.053586 | 0 | 0 | 0 | 0 | 0.053232 | 1 | 0.026616 | false | 0.015209 | 0.022814 | 0 | 0.072243 | 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 |
124ac3cd15b44f8df8f3c9e9ebb2e5f46cc648ba | 87 | py | Python | qmldataset/noise_profiles/__init__.py | rajibchakravorty/QDataSet | 8eb21b8c7dad5654358021dd73b93ab90443f6d0 | [
"MIT"
] | null | null | null | qmldataset/noise_profiles/__init__.py | rajibchakravorty/QDataSet | 8eb21b8c7dad5654358021dd73b93ab90443f6d0 | [
"MIT"
] | null | null | null | qmldataset/noise_profiles/__init__.py | rajibchakravorty/QDataSet | 8eb21b8c7dad5654358021dd73b93ab90443f6d0 | [
"MIT"
] | null | null | null | """Module to define noise profiles
"""
from .create_noise import create_noise_profile
| 17.4 | 46 | 0.793103 | 12 | 87 | 5.5 | 0.75 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 87 | 4 | 47 | 21.75 | 0.868421 | 0.356322 | 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 |
124cccf419d717eaab8e96f2e5a6f446359a8d82 | 694 | py | Python | imapmover/util.py | nickovs/imapmover | db999ac66829161ccffffe668e2a50b7e811b502 | [
"Apache-2.0"
] | null | null | null | imapmover/util.py | nickovs/imapmover | db999ac66829161ccffffe668e2a50b7e811b502 | [
"Apache-2.0"
] | null | null | null | imapmover/util.py | nickovs/imapmover | db999ac66829161ccffffe668e2a50b7e811b502 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Nicko van Someren
#
# Licensed under the Apache License, Version 2.0 (the "License")
# See the LICENSE.txt file for details
# SPDX-License-Identifier: Apache-2.0
"""Utility functions and classes"""
class DummyProgress:
"""A dummy stub when progress indication is not needed"""
def __init__(s... | 21.030303 | 64 | 0.631124 | 88 | 694 | 4.806818 | 0.579545 | 0.113475 | 0.198582 | 0.212766 | 0.198582 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015414 | 0.252161 | 694 | 32 | 65 | 21.6875 | 0.799615 | 0.361671 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.466667 | false | 0.333333 | 0 | 0.133333 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
12723950b39084540d92ed7466eda23227e72fe6 | 51,529 | py | Python | main.py | Jipje/local_smart_grid_simulation | ca11bcf349c51bd24e0a8dffd21ca82e35c8255a | [
"MIT"
] | null | null | null | main.py | Jipje/local_smart_grid_simulation | ca11bcf349c51bd24e0a8dffd21ca82e35c8255a | [
"MIT"
] | null | null | null | main.py | Jipje/local_smart_grid_simulation | ca11bcf349c51bd24e0a8dffd21ca82e35c8255a | [
"MIT"
] | null | null | null | from csv import reader
import os
import random
import datetime as dt
import dateutil.tz
import pandas as pd
from pandas import NaT
from environment.NetworkEnvironment import NetworkEnvironment
from environment.TotalNetworkCapacityTracker import TotalNetworkCapacityTracker
from helper_objects.congestion_helper.month_co... | 61.933894 | 189 | 0.645733 | 5,357 | 51,529 | 5.841702 | 0.065335 | 0.076372 | 0.049434 | 0.058158 | 0.85796 | 0.83508 | 0.802071 | 0.784559 | 0.769253 | 0.736435 | 0 | 0.024659 | 0.282268 | 51,529 | 831 | 190 | 62.008424 | 0.82149 | 0.055852 | 0 | 0.659711 | 0 | 0 | 0.100258 | 0.036846 | 0 | 0 | 0 | 0 | 0.00321 | 1 | 0.033708 | false | 0.011236 | 0.038523 | 0 | 0.093098 | 0.05618 | 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 |
89c385a1cc6d309170885a93d4699d56f7794fde | 206 | py | Python | portfolio/admin.py | tmbyers1102/ourtsy_v1 | 23ace98c82b0677f9d6ef7ee1096286f78c10b7d | [
"MIT"
] | null | null | null | portfolio/admin.py | tmbyers1102/ourtsy_v1 | 23ace98c82b0677f9d6ef7ee1096286f78c10b7d | [
"MIT"
] | null | null | null | portfolio/admin.py | tmbyers1102/ourtsy_v1 | 23ace98c82b0677f9d6ef7ee1096286f78c10b7d | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import ArtItem, Artist, Portfolio, Genres
admin.site.register(ArtItem)
admin.site.register(Artist)
admin.site.register(Portfolio)
admin.site.register(Genres)
| 22.888889 | 54 | 0.815534 | 28 | 206 | 6 | 0.428571 | 0.214286 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082524 | 206 | 8 | 55 | 25.75 | 0.888889 | 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 |
89f4f70a52e114be9f89d6e38ee641d9085fa765 | 192 | py | Python | napari/utils/context/__init__.py | MaksHess/napari | 64a144607342c02177fc62fa83a3442ace0a98e7 | [
"BSD-3-Clause"
] | 1,345 | 2019-03-03T21:14:14.000Z | 2022-03-31T19:46:39.000Z | napari/utils/context/__init__.py | MaksHess/napari | 64a144607342c02177fc62fa83a3442ace0a98e7 | [
"BSD-3-Clause"
] | 3,904 | 2019-03-02T01:30:24.000Z | 2022-03-31T20:17:27.000Z | napari/utils/context/__init__.py | MaksHess/napari | 64a144607342c02177fc62fa83a3442ace0a98e7 | [
"BSD-3-Clause"
] | 306 | 2019-03-29T17:09:10.000Z | 2022-03-30T09:54:11.000Z | from ._context import Context, create_context, get_context
from ._layerlist_context import LayerListContextKeys
__all__ = ['Context', 'create_context', 'get_context', 'LayerListContextKeys']
| 38.4 | 78 | 0.817708 | 20 | 192 | 7.3 | 0.4 | 0.178082 | 0.273973 | 0.315068 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088542 | 192 | 4 | 79 | 48 | 0.834286 | 0 | 0 | 0 | 0 | 0 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
c38cd8e5d3c7e66e294d29f230be9348c21c717a | 6,073 | py | Python | api/alarm.py | ThinkmanWang/NotesServer | 86a1f7f56b30f94aaccd3d70941e3873cc1713e2 | [
"Apache-2.0"
] | null | null | null | api/alarm.py | ThinkmanWang/NotesServer | 86a1f7f56b30f94aaccd3d70941e3873cc1713e2 | [
"Apache-2.0"
] | 1 | 2021-06-01T21:40:51.000Z | 2021-06-01T21:40:51.000Z | api/alarm.py | ThinkmanWang/NotesServer | 86a1f7f56b30f94aaccd3d70941e3873cc1713e2 | [
"Apache-2.0"
] | null | null | null |
import sys
import os
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'models'))
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'utils'))
from imp import reload
import MySQLdb
import json
import hashlib
import time
import uuid
from flask import Flask, render_template, reque... | 39.180645 | 157 | 0.621439 | 810 | 6,073 | 4.47284 | 0.111111 | 0.139663 | 0.109302 | 0.061827 | 0.810654 | 0.773392 | 0.73199 | 0.713773 | 0.677615 | 0.655258 | 0 | 0.038413 | 0.224107 | 6,073 | 154 | 158 | 39.435065 | 0.730475 | 0.001482 | 0 | 0.590909 | 0 | 0 | 0.062119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.181818 | 0 | 0.527273 | 0.018182 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
c398962a05b59ebd5c5a8a3345848d78818a5d7f | 404 | py | Python | __init__.py | North-Guard/observable_primitives | 4ab8ad6f67b79490209815051d7731393413d3dd | [
"MIT"
] | 1 | 2018-01-11T14:01:05.000Z | 2018-01-11T14:01:05.000Z | __init__.py | North-Guard/observable_primitives | 4ab8ad6f67b79490209815051d7731393413d3dd | [
"MIT"
] | null | null | null | __init__.py | North-Guard/observable_primitives | 4ab8ad6f67b79490209815051d7731393413d3dd | [
"MIT"
] | null | null | null | # Base
from observable_primitives.base import Observer, Observable
# Observables
from observable_primitives.observables import ObservableBool, ObservableComplex, \
ObservableFloat, ObservableInteger
# Observers
from observable_primitives.observers import IntegerConditionObserver, CounterConditionObserver, \
Fl... | 40.4 | 97 | 0.863861 | 30 | 404 | 11.533333 | 0.6 | 0.121387 | 0.208092 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094059 | 404 | 9 | 98 | 44.888889 | 0.945355 | 0.064356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 1 | 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 |
c3cb5390e87f183f80a8bf0466f97119b17ae589 | 608 | py | Python | allennlp/training/callbacks/__init__.py | MSLars/allennlp | 2cdb8742c8c8c3c38ace4bdfadbdc750a1aa2475 | [
"Apache-2.0"
] | null | null | null | allennlp/training/callbacks/__init__.py | MSLars/allennlp | 2cdb8742c8c8c3c38ace4bdfadbdc750a1aa2475 | [
"Apache-2.0"
] | 22 | 2021-10-08T21:52:18.000Z | 2021-12-24T01:00:47.000Z | allennlp/training/callbacks/__init__.py | MSLars/allennlp | 2cdb8742c8c8c3c38ace4bdfadbdc750a1aa2475 | [
"Apache-2.0"
] | null | null | null | from allennlp.training.callbacks.callback import TrainerCallback
from allennlp.training.callbacks.console_logger import ConsoleLoggerCallback
from allennlp.training.callbacks.confidence_checks import ConfidenceChecksCallback
from allennlp.training.callbacks.tensorboard import TensorBoardCallback
from allennlp.training.... | 67.555556 | 100 | 0.904605 | 61 | 608 | 8.95082 | 0.42623 | 0.175824 | 0.29304 | 0.424908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054276 | 608 | 8 | 101 | 76 | 0.949565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c3e0c437720f6ff6c21c471c5f3932ccf1b6631c | 131 | py | Python | phac/models/__init__.py | jusjusjus/phac-python | 107c1e3f2f80972ff675754af9b38e271f5005b9 | [
"MIT"
] | null | null | null | phac/models/__init__.py | jusjusjus/phac-python | 107c1e3f2f80972ff675754af9b38e271f5005b9 | [
"MIT"
] | null | null | null | phac/models/__init__.py | jusjusjus/phac-python | 107c1e3f2f80972ff675754af9b38e271f5005b9 | [
"MIT"
] | null | null | null | from .triangle_wave import triangle_wave
from .sin_with_noise import sin_with_noise
__all__ = ['triangle_wave', 'sin_with_noise']
| 26.2 | 45 | 0.824427 | 20 | 131 | 4.75 | 0.4 | 0.378947 | 0.378947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099237 | 131 | 4 | 46 | 32.75 | 0.805085 | 0 | 0 | 0 | 0 | 0 | 0.206107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c3e2c38df08c796b5cdc8a4d7eb5e15deebcb4e3 | 4,749 | py | Python | tests/api_resources/abstract/test_custom_method.py | HELP-ALI-PLEASE-HE-HAS-SMA-ONLY-2-YEARS/stripe-python | 053f1a2c376dd40b723f680bfc48c624be25b5c6 | [
"MIT"
] | 1,078 | 2015-01-06T03:35:05.000Z | 2022-03-25T13:25:48.000Z | tests/api_resources/abstract/test_custom_method.py | imvickykumar999/stripe-python | e7e2ebaa53060ca75883de7f982c3fb527633022 | [
"MIT"
] | 558 | 2015-01-07T19:05:02.000Z | 2022-03-28T22:19:24.000Z | tests/api_resources/abstract/test_custom_method.py | imvickykumar999/stripe-python | e7e2ebaa53060ca75883de7f982c3fb527633022 | [
"MIT"
] | 382 | 2015-01-04T14:06:09.000Z | 2022-03-16T04:52:04.000Z | from __future__ import absolute_import, division, print_function
import stripe
from stripe import util
class TestCustomMethod(object):
@stripe.api_resources.abstract.custom_method(
"do_stuff", http_verb="post", http_path="do_the_thing"
)
@stripe.api_resources.abstract.custom_method(
"do_s... | 34.165468 | 77 | 0.607075 | 556 | 4,749 | 4.861511 | 0.134892 | 0.073252 | 0.075472 | 0.08879 | 0.861635 | 0.861635 | 0.837588 | 0.770995 | 0.736959 | 0.72697 | 0 | 0.004287 | 0.263213 | 4,749 | 138 | 78 | 34.413043 | 0.768219 | 0 | 0 | 0.59633 | 0 | 0 | 0.197726 | 0.089703 | 0 | 0 | 0 | 0 | 0.110092 | 1 | 0.073395 | false | 0 | 0.027523 | 0 | 0.137615 | 0.009174 | 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 |
c3e5eb9d0af51018c4e53de087b71375ddba5ff8 | 37 | py | Python | helper3.py | jbf5ca/cs3240-labdemo | 21f8b6305464eb8066a481df29d8ddfc601a0c6c | [
"MIT"
] | null | null | null | helper3.py | jbf5ca/cs3240-labdemo | 21f8b6305464eb8066a481df29d8ddfc601a0c6c | [
"MIT"
] | null | null | null | helper3.py | jbf5ca/cs3240-labdemo | 21f8b6305464eb8066a481df29d8ddfc601a0c6c | [
"MIT"
] | null | null | null | def closing():
print("Good bye")
| 12.333333 | 21 | 0.594595 | 5 | 37 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 37 | 2 | 22 | 18.5 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 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 |
7f1ede14ca88eb64142d1f6c93b0324e1e1724a7 | 4,242 | py | Python | src/tests/test_v1_shopping_cart_items_[id]_PUT.py | daniellima/desafio-lojaintegrada | 3cb17f4ec9769472e111adfe6d550e668518aabd | [
"MIT"
] | null | null | null | src/tests/test_v1_shopping_cart_items_[id]_PUT.py | daniellima/desafio-lojaintegrada | 3cb17f4ec9769472e111adfe6d550e668518aabd | [
"MIT"
] | null | null | null | src/tests/test_v1_shopping_cart_items_[id]_PUT.py | daniellima/desafio-lojaintegrada | 3cb17f4ec9769472e111adfe6d550e668518aabd | [
"MIT"
] | null | null | null |
async def test_update_quantity_of_item_should_be_a_success(client):
resp = await client.post('/v1/shopping_cart/items', json={
'id': '5',
'quantity': 2
})
assert resp.status == 201
assert (await resp.json()) == {
'id': '5',
'name': 'Playstation 5',
'price': 30... | 22.92973 | 103 | 0.522159 | 474 | 4,242 | 4.487342 | 0.154008 | 0.078984 | 0.091678 | 0.116126 | 0.868829 | 0.868829 | 0.855665 | 0.840621 | 0.755994 | 0.719323 | 0 | 0.052338 | 0.324375 | 4,242 | 184 | 104 | 23.054348 | 0.689812 | 0 | 0 | 0.690647 | 0 | 0 | 0.218345 | 0.073332 | 0 | 0 | 0 | 0 | 0.18705 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
618475825ca311cef83fee961ad67a16c8647654 | 89 | py | Python | pulotu/adapters.py | blurks/pulotu | 621460f3d4dbe05367ed4814b95d192df348cb72 | [
"Apache-2.0"
] | null | null | null | pulotu/adapters.py | blurks/pulotu | 621460f3d4dbe05367ed4814b95d192df348cb72 | [
"Apache-2.0"
] | 1 | 2021-11-19T16:50:11.000Z | 2021-11-19T16:55:17.000Z | pulotu/adapters.py | blurks/pulotu | 621460f3d4dbe05367ed4814b95d192df348cb72 | [
"Apache-2.0"
] | 1 | 2021-11-22T13:28:14.000Z | 2021-11-22T13:28:14.000Z | from clld.web.adapters.geojson import GeoJsonParameter
def includeme(config):
pass
| 14.833333 | 54 | 0.786517 | 11 | 89 | 6.363636 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 5 | 55 | 17.8 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4ef73f081cb6eb6e5b9d8eb825ea0c4adfc55599 | 145 | py | Python | native/libcst/tests/fixtures/expr_statement.py | jschavesr/LibCST | e5ab7b90b4c9cd1f46e5b875ad317411abf48298 | [
"Apache-2.0"
] | 880 | 2019-08-07T21:21:11.000Z | 2022-03-29T06:25:34.000Z | native/libcst/tests/fixtures/expr_statement.py | jschavesr/LibCST | e5ab7b90b4c9cd1f46e5b875ad317411abf48298 | [
"Apache-2.0"
] | 537 | 2019-08-08T18:34:30.000Z | 2022-03-30T16:46:14.000Z | native/libcst/tests/fixtures/expr_statement.py | jschavesr/LibCST | e5ab7b90b4c9cd1f46e5b875ad317411abf48298 | [
"Apache-2.0"
] | 108 | 2019-08-08T00:17:21.000Z | 2022-03-24T20:53:31.000Z | 1
1, 2, 3
x = 1
x = 1, 2, 3
x = y = z = 1, 2, 3
x, y, z = 1, 2, 3
abc = a, b, c = x, y, z = xyz = 1, 2, (3, 4)
( ( ( ... ) ) )
a , = b | 13.181818 | 44 | 0.275862 | 36 | 145 | 1.111111 | 0.333333 | 0.25 | 0.375 | 0.3 | 0.375 | 0.375 | 0.375 | 0.375 | 0.375 | 0 | 0 | 0.225 | 0.448276 | 145 | 11 | 45 | 13.181818 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6150b4fdd3301f4570c7b75bcae5f0f827c6f26 | 92 | py | Python | flask_philo/commands_flask_philo/aws.py | maigfrga/flask-philo | f46d766c0f2607a5df193d532abb7b9cb576f909 | [
"Apache-2.0"
] | 1 | 2017-04-27T09:05:08.000Z | 2017-04-27T09:05:08.000Z | flask_philo/commands_flask_philo/aws.py | maigfrga/flask-philo | f46d766c0f2607a5df193d532abb7b9cb576f909 | [
"Apache-2.0"
] | 32 | 2016-09-30T14:42:21.000Z | 2017-11-02T14:34:34.000Z | flask_philo/commands_flask_philo/aws.py | maigfrga/flask-philo | f46d766c0f2607a5df193d532abb7b9cb576f909 | [
"Apache-2.0"
] | 7 | 2016-06-28T10:03:21.000Z | 2017-01-23T17:29:29.000Z | from flask_philo.cloud.aws import run as aws_run
def run(**kwargs):
aws_run(**kwargs)
| 15.333333 | 48 | 0.717391 | 16 | 92 | 3.9375 | 0.625 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 49 | 18.4 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
f6188477061e5f2f36b403da0990ad0f317f87ad | 22,637 | py | Python | wiki/test/test_wikisectionform.py | IgalMilman/DnDHelper | 334822a489e7dc2b5ae17230e5c068b89c6c5d10 | [
"MIT"
] | null | null | null | wiki/test/test_wikisectionform.py | IgalMilman/DnDHelper | 334822a489e7dc2b5ae17230e5c068b89c6c5d10 | [
"MIT"
] | null | null | null | wiki/test/test_wikisectionform.py | IgalMilman/DnDHelper | 334822a489e7dc2b5ae17230e5c068b89c6c5d10 | [
"MIT"
] | null | null | null | import copy
import os
import uuid
from datetime import datetime, timedelta
import mock
import pytz
from django.conf import settings
from django.contrib.auth.models import User
from django.test import TestCase
from utils.widget import quill
from wiki.forms import wikisectionform
from wiki.models import wikipage, wikise... | 52.279446 | 275 | 0.690286 | 2,499 | 22,637 | 6.138856 | 0.072029 | 0.100711 | 0.04954 | 0.041718 | 0.841992 | 0.828303 | 0.813506 | 0.785542 | 0.76892 | 0.75132 | 0 | 0.006833 | 0.185449 | 22,637 | 432 | 276 | 52.400463 | 0.825153 | 0 | 0 | 0.692893 | 0 | 0 | 0.076026 | 0.00243 | 0 | 0 | 0 | 0 | 0.299492 | 1 | 0.088832 | false | 0.010152 | 0.038071 | 0.005076 | 0.142132 | 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 |
9c87085397e4cebb4a2b5cf79eab231a90f6c118 | 25 | py | Python | tests.py | TypeGenie/TypeGenieAPIClient | 636ba9d34d46d469d3ff1e61dd177d4adac027f9 | [
"MIT"
] | 2 | 2021-05-27T05:32:57.000Z | 2022-03-29T23:06:06.000Z | test.py | resurfaceio/test-spark-heroku | 983582c10070299190c7763ba1a9aba4fa3ebfa3 | [
"MIT"
] | 9 | 2019-11-16T07:23:21.000Z | 2020-06-17T17:52:54.000Z | test.py | resurfaceio/test-apollo-heroku | 5d03779d48cd1b3f0519597e33b81f6404bdc00a | [
"MIT"
] | 1 | 2021-06-10T18:38:16.000Z | 2021-06-10T18:38:16.000Z | print("Running tests...") | 25 | 25 | 0.68 | 3 | 25 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 25 | 1 | 25 | 25 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 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 |
9cddeb8d50c34594bf7f91653aa2cf114d0212c3 | 25 | py | Python | mathx/ode/__init__.py | draustin/matseq | 16765c7c54e8ed80417b2502f1f5ef8c7640a2da | [
"MIT"
] | null | null | null | mathx/ode/__init__.py | draustin/matseq | 16765c7c54e8ed80417b2502f1f5ef8c7640a2da | [
"MIT"
] | 1 | 2020-04-03T04:15:54.000Z | 2020-04-03T04:15:54.000Z | mathx/ode/__init__.py | draustin/matseq | 16765c7c54e8ed80417b2502f1f5ef8c7640a2da | [
"MIT"
] | 2 | 2020-06-23T03:16:01.000Z | 2020-06-23T06:30:30.000Z | from . import drive, rk45 | 25 | 25 | 0.76 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.16 | 25 | 1 | 25 | 25 | 0.809524 | 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 |
9ceabd962c75cd4336c8ed6b557a2486a76a19ce | 3,406 | py | Python | api/utils/company_profile_verifier.py | NoisyBotDude/MIS-Backend | fa402b0a6d5d6862634b0ed55bc57178856c1eba | [
"MIT"
] | 1 | 2022-03-28T06:13:11.000Z | 2022-03-28T06:13:11.000Z | api/utils/company_profile_verifier.py | NoisyBotDude/MIS-Backend | fa402b0a6d5d6862634b0ed55bc57178856c1eba | [
"MIT"
] | 1 | 2021-12-21T13:59:47.000Z | 2021-12-21T13:59:47.000Z | api/utils/company_profile_verifier.py | NoisyBotDude/MIS-Backend | fa402b0a6d5d6862634b0ed55bc57178856c1eba | [
"MIT"
] | 10 | 2021-12-24T18:08:57.000Z | 2022-03-18T13:18:25.000Z | import requests
def validate_company_profile(company):
"""Validates compnay name
Criteria:
-> Company should have it's own page on LinkedIn
"""
company = company.replace(' ','').lower()
url = f"https://www.linkedin.com/company/{company}"
payload=... | 100.176471 | 2,012 | 0.758661 | 355 | 3,406 | 7.177465 | 0.68169 | 0.003925 | 0.003532 | 0.072998 | 0.035322 | 0.022763 | 0.022763 | 0.022763 | 0.022763 | 0.022763 | 0 | 0.213087 | 0.125073 | 3,406 | 34 | 2,013 | 100.176471 | 0.641946 | 0.0367 | 0 | 0 | 0 | 0.12 | 0.799877 | 0.645698 | 0 | 0 | 0 | 0.029412 | 0 | 1 | 0.04 | false | 0 | 0.04 | 0 | 0.12 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9cf4a121a4521a2aa51bf3e72902832d7294e519 | 130 | py | Python | ros/src/utils/utils.py | aimuch/CarND-Capstone | 69bed842607b5ef59d0673551974889bc68af9c3 | [
"MIT"
] | null | null | null | ros/src/utils/utils.py | aimuch/CarND-Capstone | 69bed842607b5ef59d0673551974889bc68af9c3 | [
"MIT"
] | null | null | null | ros/src/utils/utils.py | aimuch/CarND-Capstone | 69bed842607b5ef59d0673551974889bc68af9c3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import math
# Euclidean distance.
def dist(x1, x2, y1, y2):
return math.sqrt((x1-x2)**2 + (y1-y2)**2)
| 16.25 | 45 | 0.623077 | 23 | 130 | 3.521739 | 0.73913 | 0.098765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 0.169231 | 130 | 7 | 46 | 18.571429 | 0.657407 | 0.307692 | 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 |
9cfb2e1985aea3e5193ee96f719bb8c8df4fd240 | 32,843 | py | Python | fangraphs/leaders/leaders.py | JLpython-py/FanGraphs-Export | f2b3ffcd91275f92e50c173a7e94919e2a1c291d | [
"MIT"
] | 10 | 2021-03-02T03:18:55.000Z | 2022-03-21T07:50:21.000Z | fangraphs/leaders/leaders.py | JLpython-py/FanGraphs-Export | f2b3ffcd91275f92e50c173a7e94919e2a1c291d | [
"MIT"
] | 20 | 2021-03-03T22:21:23.000Z | 2021-09-02T16:57:49.000Z | fangraphs/leaders/leaders.py | JLpython-py/FanGraphs-Export | f2b3ffcd91275f92e50c173a7e94919e2a1c291d | [
"MIT"
] | 1 | 2022-01-18T11:48:07.000Z | 2022-01-18T11:48:07.000Z | #! python3
# FanGraphs/leaders/leaders.py
"""
Scrpaer for the webpages under the FanGaphs **Leaders** tab.
"""
import csv
import datetime
import os
import fangraphs.exceptions
from fangraphs.leaders import ScrapingUtilities
from fangraphs import selectors
from fangraphs.selectors import leaders_sel
class GameSpan(... | 36.370986 | 97 | 0.621989 | 3,815 | 32,843 | 5.18768 | 0.078899 | 0.028346 | 0.025567 | 0.020464 | 0.802183 | 0.76363 | 0.740943 | 0.713304 | 0.699106 | 0.694861 | 0 | 0.001148 | 0.283957 | 32,843 | 902 | 98 | 36.411308 | 0.840413 | 0.320342 | 0 | 0.716327 | 0 | 0.002041 | 0.039781 | 0.008055 | 0 | 0 | 0 | 0 | 0 | 1 | 0.126531 | false | 0 | 0.014286 | 0 | 0.267347 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
144437eb7be799a2146a12b331b97f89a5f805f0 | 210 | py | Python | hakai_segmentation/__init__.py | tayden/hakai-segmentation | d8b3ddf7bb5c53144272993e99b6195e56133afd | [
"MIT"
] | 3 | 2022-02-24T05:01:53.000Z | 2022-02-24T21:20:55.000Z | hakai_segmentation/__init__.py | tayden/hakai-segmentation | d8b3ddf7bb5c53144272993e99b6195e56133afd | [
"MIT"
] | null | null | null | hakai_segmentation/__init__.py | tayden/hakai-segmentation | d8b3ddf7bb5c53144272993e99b6195e56133afd | [
"MIT"
] | null | null | null | from hakai_segmentation import geotiff_io, models
from hakai_segmentation.lib import find_kelp, find_mussels
from hakai_segmentation.managers import GeotiffSegmentation
__all__ = ['find_kelp', 'find_mussels']
| 35 | 59 | 0.852381 | 27 | 210 | 6.185185 | 0.518519 | 0.161677 | 0.377246 | 0.227545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090476 | 210 | 5 | 60 | 42 | 0.874346 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
21279ee7c6d0821ee7a34a783cf9aae5ba07b6e0 | 40 | py | Python | sstcam_simulation/utils/sipm/__init__.py | sstcam/sstcam-simulation | 3fb67ba64329c201d3995971e5f377c5ec71b18e | [
"BSD-3-Clause"
] | 1 | 2019-12-23T23:26:36.000Z | 2019-12-23T23:26:36.000Z | sstcam_simulation/utils/sipm/__init__.py | cta-chec/sstCASSIM | 75bb863675991f1a36b7d430f9253ae09416f33e | [
"BSD-3-Clause"
] | 6 | 2020-09-18T10:59:41.000Z | 2022-03-15T11:01:49.000Z | sstcam_simulation/utils/sipm/__init__.py | cta-chec/sstCASSIM | 75bb863675991f1a36b7d430f9253ae09416f33e | [
"BSD-3-Clause"
] | 2 | 2020-04-14T08:01:01.000Z | 2021-11-30T12:11:17.000Z | from .overvoltage import SiPMOvervoltage | 40 | 40 | 0.9 | 4 | 40 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2165a684aa6f4ac3936ae4baaab8227957764de5 | 7,027 | py | Python | tests/test_progress_progressbarbits.py | Robpol86/etaprogress | 224e8a248c2bf820bad218763281914ad3983fff | [
"MIT"
] | 13 | 2015-08-25T05:54:21.000Z | 2021-03-23T15:56:58.000Z | tests/test_progress_progressbarbits.py | Robpol86/etaprogress | 224e8a248c2bf820bad218763281914ad3983fff | [
"MIT"
] | 5 | 2015-03-14T16:31:38.000Z | 2019-01-13T20:46:25.000Z | tests/test_progress_progressbarbits.py | Robpol86/etaprogress | 224e8a248c2bf820bad218763281914ad3983fff | [
"MIT"
] | 5 | 2015-05-31T14:16:50.000Z | 2021-02-06T11:23:43.000Z | from etaprogress import eta
from etaprogress.components import misc
from etaprogress.progress import ProgressBarBits
def test_undefined():
misc.terminal_width = lambda: 50
progress_bar = ProgressBarBits(None, max_width=30)
assert '0 b [? ] eta --:-- /' == str(progress_bar)
assert '0 b [ ? ... | 37.37766 | 85 | 0.542764 | 932 | 7,027 | 3.940987 | 0.111588 | 0.275524 | 0.198203 | 0.152736 | 0.772938 | 0.754424 | 0.71658 | 0.703512 | 0.676286 | 0.654506 | 0 | 0.169527 | 0.262132 | 7,027 | 187 | 86 | 37.57754 | 0.538862 | 0 | 0 | 0.257353 | 0 | 0.007353 | 0.318344 | 0 | 0 | 0 | 0 | 0 | 0.382353 | 1 | 0.044118 | false | 0 | 0.022059 | 0 | 0.066176 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dcc064edb2b2474f1395d3ac8ae03ce3be66fffb | 44 | py | Python | camunda/api/__init__.py | IvanovPvl/camunda-py | c46a4258ba28bab3af4b02a5207cd4ea9bd1b6a7 | [
"MIT"
] | null | null | null | camunda/api/__init__.py | IvanovPvl/camunda-py | c46a4258ba28bab3af4b02a5207cd4ea9bd1b6a7 | [
"MIT"
] | null | null | null | camunda/api/__init__.py | IvanovPvl/camunda-py | c46a4258ba28bab3af4b02a5207cd4ea9bd1b6a7 | [
"MIT"
] | null | null | null | # flake8: noqa
from .client import ApiClient | 22 | 29 | 0.795455 | 6 | 44 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.136364 | 44 | 2 | 29 | 22 | 0.894737 | 0.272727 | 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 |
dcd3ccf860f0f0e28209e9e3058f444bae3f1e0c | 72 | py | Python | src/torch/models/classification/__init__.py | AkibMashrur/dl-pipelines-gcp | 4c2c0a049cd24e21f90566d6b0bf42a3c1e14048 | [
"Apache-2.0"
] | null | null | null | src/torch/models/classification/__init__.py | AkibMashrur/dl-pipelines-gcp | 4c2c0a049cd24e21f90566d6b0bf42a3c1e14048 | [
"Apache-2.0"
] | null | null | null | src/torch/models/classification/__init__.py | AkibMashrur/dl-pipelines-gcp | 4c2c0a049cd24e21f90566d6b0bf42a3c1e14048 | [
"Apache-2.0"
] | null | null | null | from .smallCNN import *
from .twinCNN import *
from .helingerNN import * | 24 | 25 | 0.763889 | 9 | 72 | 6.111111 | 0.555556 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 72 | 3 | 25 | 24 | 0.901639 | 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 |
0d0c715a4bbfa053a5f1d6e062b34f6a3b5a7826 | 38 | py | Python | qarc-gym/qarc/gym_qarc/envs/__init__.py | kasimte/QARC | 0aec7ea3331a912e36ea8003a7f92cee148ed913 | [
"BSD-3-Clause"
] | 40 | 2018-12-03T01:49:15.000Z | 2022-03-20T03:57:03.000Z | qarc-gym/qarc/gym_qarc/envs/__init__.py | kasimte/QARC | 0aec7ea3331a912e36ea8003a7f92cee148ed913 | [
"BSD-3-Clause"
] | 7 | 2020-03-11T09:36:40.000Z | 2021-12-14T01:53:22.000Z | qarc-gym/qarc/gym_qarc/envs/__init__.py | kasimte/QARC | 0aec7ea3331a912e36ea8003a7f92cee148ed913 | [
"BSD-3-Clause"
] | 19 | 2018-11-02T08:07:25.000Z | 2021-09-23T09:57:13.000Z | from gym_qarc.envs.qarc import QARCEnv | 38 | 38 | 0.868421 | 7 | 38 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.914286 | 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 |
b4a3f7fa6dfad6f59d6d8ebff5e32517bba8c347 | 201 | py | Python | getsms/exceptions.py | kamilgg/getsms | 34b3294df2767b2b62314a0e3f79223dd065eecd | [
"MIT"
] | 1 | 2020-10-05T01:17:09.000Z | 2020-10-05T01:17:09.000Z | getsms/exceptions.py | kamilgg/getsms | 34b3294df2767b2b62314a0e3f79223dd065eecd | [
"MIT"
] | null | null | null | getsms/exceptions.py | kamilgg/getsms | 34b3294df2767b2b62314a0e3f79223dd065eecd | [
"MIT"
] | null | null | null | class APIError(Exception):
def __init__(self, msg):
Exception.__init__(self, msg)
class ServiceAccountError(Exception):
def __init__(self, msg):
Exception.__init__(self, msg)
| 22.333333 | 37 | 0.691542 | 22 | 201 | 5.590909 | 0.363636 | 0.260163 | 0.357724 | 0.325203 | 0.699187 | 0.699187 | 0.699187 | 0.699187 | 0.699187 | 0 | 0 | 0 | 0.199005 | 201 | 8 | 38 | 25.125 | 0.763975 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
372d3c72d65f581fc445f3b38de62c3c4e5065d0 | 4,163 | py | Python | tests/tests_services/test_auth.py | astsu-dev/pizza-store-backend | 902f6e5e2c88ba029b2bff61da8fc4684664ead9 | [
"MIT"
] | 2 | 2021-07-10T15:47:45.000Z | 2021-12-13T18:09:30.000Z | tests/tests_services/test_auth.py | astsu-dev/pizza-store-backend | 902f6e5e2c88ba029b2bff61da8fc4684664ead9 | [
"MIT"
] | null | null | null | tests/tests_services/test_auth.py | astsu-dev/pizza-store-backend | 902f6e5e2c88ba029b2bff61da8fc4684664ead9 | [
"MIT"
] | null | null | null | import datetime
import uuid
import jwt
import pytest
from fastapi import HTTPException, status
from pizza_store import models
from pizza_store.enums import ProductPermission, Role
from pizza_store.services import AuthService
from pizza_store.settings import settings
def test_get_current_user_with_valid_token() -> No... | 32.779528 | 88 | 0.649291 | 451 | 4,163 | 5.767184 | 0.150776 | 0.086505 | 0.053825 | 0.053825 | 0.893887 | 0.893887 | 0.893887 | 0.852749 | 0.836217 | 0.836217 | 0 | 0.0445 | 0.233485 | 4,163 | 126 | 89 | 33.039683 | 0.770605 | 0 | 0 | 0.633028 | 0 | 0 | 0.131636 | 0.060533 | 0 | 0 | 0 | 0 | 0.045872 | 1 | 0.045872 | false | 0 | 0.082569 | 0 | 0.12844 | 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 |
2eaa61ee4197b6441b8f0a07311b161ad49c65b0 | 34 | py | Python | ketting/__init__.py | Branthalt/blockchain | f345b7ec3b5a9c930a691366ee5adfec8d2a096a | [
"MIT"
] | 1 | 2019-04-14T06:01:11.000Z | 2019-04-14T06:01:11.000Z | tibc/__init__.py | manparvesh/tibc | 8fcb233e2e33c2c90708e6bde0fb68a36a18f963 | [
"MIT"
] | 1 | 2018-03-11T20:54:42.000Z | 2018-07-07T19:32:39.000Z | tibc/__init__.py | manparvesh/tibc | 8fcb233e2e33c2c90708e6bde0fb68a36a18f963 | [
"MIT"
] | 1 | 2018-06-09T07:59:37.000Z | 2018-06-09T07:59:37.000Z | from .blockchain import Blockchain | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 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 |
2efc1d216bf6ff422ca112a94547a8b52048d335 | 27,950 | py | Python | networking_cisco/tests/unit/cisco/cfg_agent/test_asr1k_routing_driver.py | armando7santana/Networking-Cisco | 6f281bec239c0ae186490e434ce7794117880c69 | [
"Apache-2.0"
] | 1 | 2019-01-19T09:12:49.000Z | 2019-01-19T09:12:49.000Z | networking_cisco/tests/unit/cisco/cfg_agent/test_asr1k_routing_driver.py | armando7santana/Networking-Cisco | 6f281bec239c0ae186490e434ce7794117880c69 | [
"Apache-2.0"
] | null | null | null | networking_cisco/tests/unit/cisco/cfg_agent/test_asr1k_routing_driver.py | armando7santana/Networking-Cisco | 6f281bec239c0ae186490e434ce7794117880c69 | [
"Apache-2.0"
] | null | null | null | # Copyright 2014 Cisco Systems, 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 requir... | 46.274834 | 79 | 0.674275 | 3,852 | 27,950 | 4.421599 | 0.069055 | 0.036167 | 0.036461 | 0.04697 | 0.854685 | 0.834077 | 0.799319 | 0.765324 | 0.753464 | 0.737318 | 0 | 0.003077 | 0.232665 | 27,950 | 603 | 80 | 46.351575 | 0.791066 | 0.025689 | 0 | 0.646316 | 0 | 0 | 0.057174 | 0.005732 | 0 | 0 | 0 | 0 | 0.149474 | 1 | 0.075789 | false | 0 | 0.031579 | 0.002105 | 0.111579 | 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 |
2578a81e80aeb39a95eb07db18a641f8b9b0d2d9 | 60 | py | Python | influx_logging/__init__.py | jainsau/influxdb_logging | d908757cbd55cf19e73d7ff8a6c5713d368f9cb0 | [
"MIT"
] | 8 | 2018-02-22T12:40:25.000Z | 2021-09-20T04:05:05.000Z | influx_logging/__init__.py | jainsau/influxdb_logging | d908757cbd55cf19e73d7ff8a6c5713d368f9cb0 | [
"MIT"
] | 4 | 2018-02-23T13:28:27.000Z | 2021-06-03T22:10:00.000Z | influx_logging/__init__.py | jainsau/influxdb_logging | d908757cbd55cf19e73d7ff8a6c5713d368f9cb0 | [
"MIT"
] | 6 | 2018-03-25T00:36:40.000Z | 2021-11-17T16:55:14.000Z | from .handler import InfluxHandler, BufferingInfluxHandler
| 20 | 58 | 0.866667 | 5 | 60 | 10.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 60 | 2 | 59 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25ad9e44659a59e0c2cd49cc158367181bdbf2f1 | 645 | py | Python | terrascript/launchdarkly/d.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/launchdarkly/d.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/launchdarkly/d.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/launchdarkly/d.py
# Automatically generated by tools/makecode.py ()
import warnings
warnings.warn(
"using the 'legacy layout' is deprecated", DeprecationWarning, stacklevel=2
)
import terrascript
class launchdarkly_environment(terrascript.Data):
pass
class launchdarkly_feature_flag(terrascri... | 16.973684 | 79 | 0.786047 | 71 | 645 | 6.985915 | 0.450704 | 0.239919 | 0.268145 | 0.290323 | 0.524194 | 0.306452 | 0.189516 | 0 | 0 | 0 | 0 | 0.001805 | 0.141085 | 645 | 37 | 80 | 17.432432 | 0.893502 | 0.11938 | 0 | 0.368421 | 1 | 0 | 0.069027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.368421 | 0.105263 | 0 | 0.473684 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
25c3d479ba49eb53faf69b4f48a843474819a047 | 207 | py | Python | tests/_test_utils.py | Pietroobbiso/Forecasting-intermittent-demand-a-comparative-approach | bb2336caf61a050b6ebfae559f895be92a33b0eb | [
"Apache-2.0"
] | null | null | null | tests/_test_utils.py | Pietroobbiso/Forecasting-intermittent-demand-a-comparative-approach | bb2336caf61a050b6ebfae559f895be92a33b0eb | [
"Apache-2.0"
] | null | null | null | tests/_test_utils.py | Pietroobbiso/Forecasting-intermittent-demand-a-comparative-approach | bb2336caf61a050b6ebfae559f895be92a33b0eb | [
"Apache-2.0"
] | null | null | null | from typing import Union
import numpy as np
def equal_arrays(
arr_a: Union[np.ndarray, list], arr_b: Union[np.ndarray, list]
) -> bool:
return all([a == b for a, b in zip(arr_a, arr_b)])
| 20.7 | 67 | 0.637681 | 37 | 207 | 3.432432 | 0.567568 | 0.062992 | 0.220472 | 0.283465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236715 | 207 | 9 | 68 | 23 | 0.803797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
25ff057a387018e7335720e2dd7e725bb697102b | 40 | py | Python | mangadex/http/result/__init__.py | mansuf/mangadex.py | 42d6278f4383c99fb64add179dff3df3e82b2baa | [
"MIT"
] | null | null | null | mangadex/http/result/__init__.py | mansuf/mangadex.py | 42d6278f4383c99fb64add179dff3df3e82b2baa | [
"MIT"
] | null | null | null | mangadex/http/result/__init__.py | mansuf/mangadex.py | 42d6278f4383c99fb64add179dff3df3e82b2baa | [
"MIT"
] | null | null | null | from .auth import *
from .manga import * | 20 | 20 | 0.725 | 6 | 40 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 20 | 20 | 0.878788 | 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.