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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bdbac4dd986b8cd8f42855a568b8f69822a8a76a | 6,527 | py | Python | relational/student_projects/2020_borukhson/models/TransitiveInference/Trabasso.py | monthie/cogmods | 62af4b8bf2effb77f26a8877d6a89949164d83f0 | [
"MIT"
] | null | null | null | relational/student_projects/2020_borukhson/models/TransitiveInference/Trabasso.py | monthie/cogmods | 62af4b8bf2effb77f26a8877d6a89949164d83f0 | [
"MIT"
] | 11 | 2020-05-04T09:05:29.000Z | 2021-04-08T13:22:34.000Z | relational/student_projects/2020_borukhson/models/TransitiveInference/Trabasso.py | monthie/cogmods | 62af4b8bf2effb77f26a8877d6a89949164d83f0 | [
"MIT"
] | 12 | 2020-05-02T09:36:14.000Z | 2021-06-22T08:10:45.000Z | """ Transitive-Inference model implementation.
"""
import ccobra
import random
import numpy as np
from modelfunctions import *
def setEq(a, b):
for aI in a:
if aI not in b:
return False
for bI in b:
if bI not in a:
return False
return True
class Trabasso(ccobra.CC... | 45.013793 | 146 | 0.513865 | 700 | 6,527 | 4.78 | 0.14 | 0.107591 | 0.080693 | 0.062762 | 0.748356 | 0.748356 | 0.741184 | 0.704722 | 0.702929 | 0.702929 | 0 | 0.021466 | 0.379041 | 6,527 | 144 | 147 | 45.326389 | 0.804096 | 0.064655 | 0 | 0.741935 | 0 | 0 | 0.007796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048387 | false | 0 | 0.032258 | 0 | 0.193548 | 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 |
da0468f7a5d289dde917f03cfa5d56b85dc2f4ae | 2,726 | py | Python | timeSerial/mlp/main.py | Patataman/Gw2PricePredictor | b07782e2d01e25208f2e20e225a2a2963dbe1f40 | [
"MIT"
] | 1 | 2022-03-20T21:49:27.000Z | 2022-03-20T21:49:27.000Z | timeSerial/mlp/main.py | Patataman/Gw2PricePredictor | b07782e2d01e25208f2e20e225a2a2963dbe1f40 | [
"MIT"
] | null | null | null | timeSerial/mlp/main.py | Patataman/Gw2PricePredictor | b07782e2d01e25208f2e20e225a2a2963dbe1f40 | [
"MIT"
] | 1 | 2021-01-20T10:37:48.000Z | 2021-01-20T10:37:48.000Z | from mlp_class import mlp
red_mlp = None
while True:
key = input("1. Crear una red para comprar\
\n2. Crear una red para vender\
\n3. Predecir precio (Necesaria una red)\
\n4. Salir\n >> ")
if key == '1':
objeto = input("Selecciona el objeto que quieres predecir (Escribe el nú... | 38.942857 | 106 | 0.569699 | 358 | 2,726 | 4.301676 | 0.248603 | 0.012987 | 0.035065 | 0.062338 | 0.811688 | 0.811688 | 0.811688 | 0.811688 | 0.811688 | 0.811688 | 0 | 0.046427 | 0.296772 | 2,726 | 69 | 107 | 39.507246 | 0.756912 | 0 | 0 | 0.666667 | 0 | 0 | 0.285138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.017544 | 0.087719 | 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 |
da18c52a2693650f4dc489f44b85f78fe7e5969e | 120 | py | Python | jh_hpc_interface/__init__.py | pc2/JHub-HPC-Interface | 6c205d2269d134dc3cbac55375eeec0ec586d921 | [
"MIT"
] | 2 | 2021-04-09T08:28:34.000Z | 2021-04-09T11:12:08.000Z | jh_hpc_interface/__init__.py | pc2/JHub-HPC-Interface | 6c205d2269d134dc3cbac55375eeec0ec586d921 | [
"MIT"
] | null | null | null | jh_hpc_interface/__init__.py | pc2/JHub-HPC-Interface | 6c205d2269d134dc3cbac55375eeec0ec586d921 | [
"MIT"
] | null | null | null | from jh_hpc_interface.jh_interface import manageInstance
from jh_hpc_interface.jh_environment import JupyterEnvironment
| 40 | 62 | 0.916667 | 16 | 120 | 6.5 | 0.5 | 0.115385 | 0.173077 | 0.346154 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 120 | 2 | 63 | 60 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
da2397c8e4d8f0dbdd49405e9a1e57d8ef73fe68 | 38 | py | Python | test/system/benchmark/pos/__init__.py | iljoongkr/poseidonos | 01ed7c323c4f6dbd99970f4b036ade2f0a4e4383 | [
"BSD-3-Clause"
] | 38 | 2021-04-06T03:20:55.000Z | 2022-03-02T09:33:28.000Z | test/system/benchmark/pos/__init__.py | iljoongkr/poseidonos | 01ed7c323c4f6dbd99970f4b036ade2f0a4e4383 | [
"BSD-3-Clause"
] | 19 | 2021-04-08T02:27:44.000Z | 2022-03-23T00:59:04.000Z | test/system/benchmark/pos/__init__.py | iljoongkr/poseidonos | 01ed7c323c4f6dbd99970f4b036ade2f0a4e4383 | [
"BSD-3-Clause"
] | 28 | 2021-04-08T04:39:18.000Z | 2022-03-24T05:56:00.000Z | from .env import *
from .cli import *
| 12.666667 | 18 | 0.684211 | 6 | 38 | 4.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 2 | 19 | 19 | 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 |
da3a1f1214fb5a0f44a5ab80ae2b8a8e4adc82ef | 11,304 | py | Python | python/fonts.py | wyojustin/WorldClock | 2a2b0c40c0f5bbaded5cef0553cc61436d1fec7d | [
"Apache-2.0"
] | null | null | null | python/fonts.py | wyojustin/WorldClock | 2a2b0c40c0f5bbaded5cef0553cc61436d1fec7d | [
"Apache-2.0"
] | null | null | null | python/fonts.py | wyojustin/WorldClock | 2a2b0c40c0f5bbaded5cef0553cc61436d1fec7d | [
"Apache-2.0"
] | null | null | null | font_5x6 = [
[0x00,0x00,0x00,0x00,0x00,0x00], #
[0x5c,0x00,0x00,0x00,0x00,0x00], # !
[0x06,0x00,0x06,0x00,0x00,0x00], # "
[0x28,0x7c,0x28,0x7c,0x28,0x00], # #
[0x5c,0x54,0xfe,0x54,0x74,0x00], # $
[0x44,0x20,0x10,0x08,0x44,0x00], # %
[0x28,0x54,0x54,0x20,0x50,0x00], # &
[0x06,0x00,0x00,0x00,0x00,0x00], # '
[0... | 57.380711 | 92 | 0.649062 | 1,882 | 11,304 | 3.896918 | 0.062699 | 0.374148 | 0.361603 | 0.344696 | 0.775566 | 0.667576 | 0.589037 | 0.47832 | 0.381783 | 0.311426 | 0 | 0.485676 | 0.144639 | 11,304 | 196 | 93 | 57.673469 | 0.272831 | 0.018666 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.659085 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
da3e7985da6fe7af1743ec9a51897e69a8ad933b | 79 | py | Python | faceformer/models/__init__.py | manycore-research/faceformer | d0dd196013db034ecd74c3150aed2b89e4a84fc3 | [
"MIT"
] | 27 | 2022-03-04T15:37:41.000Z | 2022-03-30T08:20:47.000Z | faceformer/models/__init__.py | manycore-research/faceformer | d0dd196013db034ecd74c3150aed2b89e4a84fc3 | [
"MIT"
] | null | null | null | faceformer/models/__init__.py | manycore-research/faceformer | d0dd196013db034ecd74c3150aed2b89e4a84fc3 | [
"MIT"
] | 2 | 2022-03-10T05:47:08.000Z | 2022-03-10T18:48:48.000Z | from .model import SurfaceFormer
from .model_para import SurfaceFormer_Parallel | 39.5 | 46 | 0.886076 | 10 | 79 | 6.8 | 0.6 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088608 | 79 | 2 | 46 | 39.5 | 0.944444 | 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 |
e54082d4f9dfd2235250b4dda22fdd8b665b0bd7 | 41 | py | Python | inverse_covariance/pyquic/__init__.py | aldanor/skggm | d2e29d692d1654285653ab07fd24534628fcb076 | [
"MIT"
] | 199 | 2016-10-21T14:36:02.000Z | 2022-03-29T20:59:08.000Z | inverse_covariance/pyquic/__init__.py | aldanor/skggm | d2e29d692d1654285653ab07fd24534628fcb076 | [
"MIT"
] | 66 | 2016-10-17T01:47:28.000Z | 2022-03-06T11:02:56.000Z | inverse_covariance/pyquic/__init__.py | aldanor/skggm | d2e29d692d1654285653ab07fd24534628fcb076 | [
"MIT"
] | 36 | 2016-10-15T23:42:10.000Z | 2022-03-06T00:03:13.000Z | from .pyquic import quic # NOQA # NOQA
| 20.5 | 40 | 0.682927 | 6 | 41 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 41 | 1 | 41 | 41 | 0.903226 | 0.268293 | 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 |
e5a8c8ecb432638a6b5bf5c0b1672a3962ecbdca | 39,224 | py | Python | tests/vmf_converter_test.py | project-schumann/nmf-converter-core | 31592bdcf75e4a09e60848be0024c0f2c331e2f6 | [
"MIT"
] | null | null | null | tests/vmf_converter_test.py | project-schumann/nmf-converter-core | 31592bdcf75e4a09e60848be0024c0f2c331e2f6 | [
"MIT"
] | 37 | 2015-01-20T19:05:12.000Z | 2015-05-09T13:28:02.000Z | tests/vmf_converter_test.py | project-schumann/vmf-converter | 31592bdcf75e4a09e60848be0024c0f2c331e2f6 | [
"MIT"
] | null | null | null | import unittest
import json
from music21 import converter
from music21 import duration
from music21.chord import Chord
from music21.meter import TimeSignature
from music21.note import Note, Rest
from music21.key import KeySignature
from music21.tempo import MetronomeMark
from vmf_converter.core import vmf_converter_c... | 48.604709 | 130 | 0.667678 | 4,543 | 39,224 | 5.544354 | 0.041382 | 0.086946 | 0.065865 | 0.033349 | 0.919922 | 0.910394 | 0.85767 | 0.845641 | 0.840956 | 0.798992 | 0 | 0.006582 | 0.256297 | 39,224 | 807 | 131 | 48.604709 | 0.856878 | 0.134051 | 0 | 0.686695 | 0 | 0 | 0.058736 | 0.055701 | 0 | 0 | 0 | 0 | 0.330472 | 1 | 0.087983 | false | 0 | 0.021459 | 0 | 0.111588 | 0.004292 | 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 |
e5b65de6caaa51982c061649267b4e8734c7f5a8 | 2,314 | py | Python | cogs/owneronly.py | mossyegghead01/Mossy-The-Bot | da044651fe7dd2dee62515d7b07938f4d774c650 | [
"MIT"
] | 1 | 2020-11-29T11:13:06.000Z | 2020-11-29T11:13:06.000Z | cogs/owneronly.py | mossyegghead01/Mossy-The-Bot | da044651fe7dd2dee62515d7b07938f4d774c650 | [
"MIT"
] | null | null | null | cogs/owneronly.py | mossyegghead01/Mossy-The-Bot | da044651fe7dd2dee62515d7b07938f4d774c650 | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
class owneronly(commands.Cog):
def __init__(self, client):
self.client = client
@commands.command(hidden=True)
@commands.is_owner()
async def resetstatus(self, ctx):
""" Reset the bot status, owner only, hidden """
if ctx.author.id == 645405908309901... | 35.6 | 147 | 0.652982 | 315 | 2,314 | 4.707937 | 0.260317 | 0.059339 | 0.089009 | 0.052596 | 0.78085 | 0.774107 | 0.774107 | 0.774107 | 0.774107 | 0.74174 | 0 | 0.038565 | 0.193172 | 2,314 | 65 | 148 | 35.6 | 0.755758 | 0 | 0 | 0.716981 | 0 | 0 | 0.139005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037736 | false | 0 | 0.037736 | 0 | 0.09434 | 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 |
e5da074c762dc1b38888d24890745a7f41bfb2f7 | 46 | py | Python | wlpac/__init__.py | sevagh/warped-linear-prediction | 43663aeffe14f979fe465457f369afce5494f7cf | [
"MIT"
] | 2 | 2019-07-13T16:16:22.000Z | 2022-03-26T06:46:13.000Z | wlpac/__init__.py | sevagh/warped-linear-prediction | 43663aeffe14f979fe465457f369afce5494f7cf | [
"MIT"
] | null | null | null | wlpac/__init__.py | sevagh/warped-linear-prediction | 43663aeffe14f979fe465457f369afce5494f7cf | [
"MIT"
] | 2 | 2020-12-31T08:23:42.000Z | 2021-04-20T06:41:32.000Z | from .wlpac import wlpac_encode, wlpac_decode
| 23 | 45 | 0.847826 | 7 | 46 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.902439 | 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 |
e5ea1d3bf665001fa7466855fa82acb2130f6bbd | 43 | py | Python | packages/auto-nlp-deployment/src/projects/__init__.py | fhswf/tagflip-autonlp | f94abb35ed06198567e5d9cbb7abb7e112149d6c | [
"MIT"
] | 4 | 2021-10-05T17:34:02.000Z | 2022-03-23T07:33:19.000Z | packages/auto-nlp-deployment/src/projects/__init__.py | fhswf/tagflip-autonlp | f94abb35ed06198567e5d9cbb7abb7e112149d6c | [
"MIT"
] | 11 | 2022-03-01T14:37:52.000Z | 2022-03-31T05:11:23.000Z | packages/auto-nlp-deployment/src/projects/__init__.py | fhswf/tagflip-autonlp | f94abb35ed06198567e5d9cbb7abb7e112149d6c | [
"MIT"
] | 1 | 2022-01-29T13:32:22.000Z | 2022-01-29T13:32:22.000Z | from .project_service import ProjectService | 43 | 43 | 0.906977 | 5 | 43 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f90065e75a7bd2a1d97f6cc718c131489c3144c2 | 6,592 | py | Python | tests/test_datasets.py | EliotBerriot/django-modelstats | b111c887b1c98c479e33f8919a9adaaf2b9bfbc2 | [
"BSD-3-Clause"
] | 1 | 2015-06-22T11:57:51.000Z | 2015-06-22T11:57:51.000Z | tests/test_datasets.py | EliotBerriot/django-modelstats | b111c887b1c98c479e33f8919a9adaaf2b9bfbc2 | [
"BSD-3-Clause"
] | null | null | null | tests/test_datasets.py | EliotBerriot/django-modelstats | b111c887b1c98c479e33f8919a9adaaf2b9bfbc2 | [
"BSD-3-Clause"
] | null | null | null | import datetime
from .base import TestBase
from modelstats import models
from modelstats import datasets
class TestDateDataSet(TestBase):
def test_datedataset(self):
self.create_users()
queryset = self.user_model.objects.all()
dataset = datasets.DateDataSet(field='date_joined', fill_mi... | 43.655629 | 132 | 0.627275 | 847 | 6,592 | 4.744982 | 0.094451 | 0.108236 | 0.142324 | 0.168201 | 0.891018 | 0.861159 | 0.798955 | 0.748943 | 0.695198 | 0.695198 | 0 | 0.08994 | 0.217385 | 6,592 | 150 | 133 | 43.946667 | 0.689087 | 0 | 0 | 0.389831 | 0 | 0 | 0.061135 | 0 | 0 | 0 | 0 | 0 | 0.245763 | 1 | 0.084746 | false | 0 | 0.033898 | 0 | 0.127119 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 |
005a2faa5a5b937d3a949d88137367f81b53c7ae | 29 | py | Python | src/services/__init__.py | kirill-kundik/CinemaChallengeBackend | aea4ac801a9a5c907f36f07b67df162b4bd85044 | [
"MIT"
] | null | null | null | src/services/__init__.py | kirill-kundik/CinemaChallengeBackend | aea4ac801a9a5c907f36f07b67df162b4bd85044 | [
"MIT"
] | null | null | null | src/services/__init__.py | kirill-kundik/CinemaChallengeBackend | aea4ac801a9a5c907f36f07b67df162b4bd85044 | [
"MIT"
] | null | null | null | from .oauth import with_auth
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 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 |
0089235efe4802bc1d040d25a405656c926d55b5 | 329 | py | Python | mrinversion/kernel/nmr.py | DeepanshS/mrinversion | b1060f3150a5bf04162dfed499221f040b3bae21 | [
"BSD-3-Clause"
] | 1 | 2020-10-27T14:48:50.000Z | 2020-10-27T14:48:50.000Z | mrinversion/kernel/nmr.py | deepanshs/mrinversion | b1060f3150a5bf04162dfed499221f040b3bae21 | [
"BSD-3-Clause"
] | 13 | 2021-06-07T00:59:53.000Z | 2022-03-02T16:31:54.000Z | mrinversion/kernel/nmr.py | deepanshs/mrinversion | b1060f3150a5bf04162dfed499221f040b3bae21 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from mrinversion.kernel.csa_aniso import MAF # NOQA
from mrinversion.kernel.csa_aniso import ShieldingPALineshape # NOQA
from mrinversion.kernel.csa_aniso import SpinningSidebands # NOQA
# from mrinversion.kernel.quad_aniso import MQMAS # NOQA
# from mrinversion.kernel.lineshape import DAS... | 36.555556 | 69 | 0.787234 | 42 | 329 | 6.071429 | 0.404762 | 0.294118 | 0.411765 | 0.392157 | 0.443137 | 0.443137 | 0.305882 | 0 | 0 | 0 | 0 | 0.003509 | 0.133739 | 329 | 8 | 70 | 41.125 | 0.891228 | 0.43465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
00c542765a56fa63620b1b57b612ba54d4f1bd47 | 105 | py | Python | tensorflow_datasets_bw/waterloo_exploration/__init__.py | HedgehogCode/tensorflow-datasets-bw | a6de02cbcdce77fffb8767dfb1cd0d15c071f69d | [
"RSA-MD"
] | 1 | 2021-12-09T09:53:32.000Z | 2021-12-09T09:53:32.000Z | tensorflow_datasets_bw/waterloo_exploration/__init__.py | HedgehogCode/tensorflow-datasets-bw | a6de02cbcdce77fffb8767dfb1cd0d15c071f69d | [
"RSA-MD"
] | null | null | null | tensorflow_datasets_bw/waterloo_exploration/__init__.py | HedgehogCode/tensorflow-datasets-bw | a6de02cbcdce77fffb8767dfb1cd0d15c071f69d | [
"RSA-MD"
] | null | null | null | """waterloo_exploration dataset."""
from .waterloo_exploration import WaterlooExploration # noqa: F401
| 26.25 | 67 | 0.8 | 10 | 105 | 8.2 | 0.8 | 0.463415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031915 | 0.104762 | 105 | 3 | 68 | 35 | 0.840426 | 0.390476 | 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 |
00f0581cacf709c9351acb07f0af8a350e497989 | 6,868 | py | Python | tests/unit/project_lifecycle/project/ansiblermtests/test_validate.py | manojn97/lmctl | 844925cb414722351efac90cb97f10c1185eef7a | [
"Apache-2.0"
] | 3 | 2021-07-19T09:46:01.000Z | 2022-03-07T13:51:25.000Z | tests/unit/project_lifecycle/project/ansiblermtests/test_validate.py | manojn97/lmctl | 844925cb414722351efac90cb97f10c1185eef7a | [
"Apache-2.0"
] | 43 | 2019-08-27T12:36:29.000Z | 2020-08-27T14:50:40.000Z | tests/unit/project_lifecycle/project/ansiblermtests/test_validate.py | manojn97/lmctl | 844925cb414722351efac90cb97f10c1185eef7a | [
"Apache-2.0"
] | 7 | 2020-09-22T20:32:17.000Z | 2022-03-29T12:25:51.000Z | import os
from tests.common.project_testing import (ProjectSimTestCase,
PROJECT_CONTAINS_DIR,
ARM_DESCRIPTOR_DIR, ARM_LIFECYCLE_DIR, ARM_METAINF_DIR, ARM_MANIFEST_FILE)
from lmctl.project.source.core import Project, Options, ValidateOpt... | 63.009174 | 244 | 0.743302 | 799 | 6,868 | 6.048811 | 0.097622 | 0.057935 | 0.052142 | 0.037244 | 0.917856 | 0.87813 | 0.858266 | 0.858266 | 0.828471 | 0.808607 | 0 | 0.005602 | 0.168317 | 6,868 | 108 | 245 | 63.592593 | 0.840511 | 0 | 0 | 0.595745 | 0 | 0 | 0.123762 | 0.018928 | 0 | 0 | 0 | 0 | 0.148936 | 1 | 0.106383 | false | 0 | 0.053191 | 0 | 0.180851 | 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 |
dac568e219c76329ac797a4612de712c2b0fc76f | 4,907 | py | Python | authors/apps/friends/tests/test_friends.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | null | null | null | authors/apps/friends/tests/test_friends.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | 26 | 2019-01-07T14:22:05.000Z | 2019-02-28T17:11:48.000Z | authors/apps/friends/tests/test_friends.py | andela/ah-django-unchained | a4e5f6cd11fdc0b9422020693ac1200b849cf0f3 | [
"BSD-3-Clause"
] | 3 | 2019-09-19T22:16:09.000Z | 2019-10-16T21:16:16.000Z | from rest_framework import status
from .base_tests import BaseTestCase
from authors.apps.authentication.models import User
class TestUserFollow(BaseTestCase):
"""Test the follow/unfollow functionality"""
friend_url = 'http://127.0.0.1:8000/api/profiles'
def test_follow_other_user(self):
self.clie... | 51.652632 | 78 | 0.707764 | 625 | 4,907 | 5.3552 | 0.1472 | 0.121004 | 0.058261 | 0.089633 | 0.80251 | 0.80251 | 0.80251 | 0.797729 | 0.797729 | 0.77323 | 0 | 0.020159 | 0.18117 | 4,907 | 94 | 79 | 52.202128 | 0.812842 | 0.070512 | 0 | 0.575342 | 0 | 0 | 0.129699 | 0 | 0 | 0 | 0 | 0 | 0.39726 | 1 | 0.150685 | false | 0 | 0.041096 | 0 | 0.219178 | 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 |
dae147d828ef914b684f72988603f621480682f7 | 18 | py | Python | tests/integrate_test/samples/sample_deploy_scores/import_test/exec_in_indirect_submodule/subpackage/sub_module2.py | bayeshack2016/icon-service | 36cab484d2e41548d7f2f74526f127ee3a4423fc | [
"Apache-2.0"
] | 52 | 2018-08-24T02:28:43.000Z | 2021-07-06T04:44:22.000Z | tests/integrate_test/samples/sample_deploy_scores/import_test/exec_in_indirect_submodule/subpackage/sub_module2.py | bayeshack2016/icon-service | 36cab484d2e41548d7f2f74526f127ee3a4423fc | [
"Apache-2.0"
] | 62 | 2018-09-17T06:59:16.000Z | 2021-12-15T06:02:51.000Z | tests/integrate_test/samples/sample_deploy_scores/import_test/exec_in_indirect_submodule/subpackage/sub_module2.py | bayeshack2016/icon-service | 36cab484d2e41548d7f2f74526f127ee3a4423fc | [
"Apache-2.0"
] | 35 | 2018-09-14T02:42:10.000Z | 2022-02-05T10:34:46.000Z | exec('import os')
| 9 | 17 | 0.666667 | 3 | 18 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 18 | 1 | 18 | 18 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 |
9727ae532dcbde0b66237ba430d97e7e1c63b419 | 158 | py | Python | examples/app.py | kgz/Quart-Sockets-Extended | 938bccd870f65b58b43bdc17a91d199bb8fe735c | [
"MIT"
] | null | null | null | examples/app.py | kgz/Quart-Sockets-Extended | 938bccd870f65b58b43bdc17a91d199bb8fe735c | [
"MIT"
] | null | null | null | examples/app.py | kgz/Quart-Sockets-Extended | 938bccd870f65b58b43bdc17a91d199bb8fe735c | [
"MIT"
] | null | null | null | """."""
from quart import (Quart, jsonify, render_template, render_template_string,
request, websocket, send_file)
from QSE import Socket
| 26.333333 | 75 | 0.683544 | 18 | 158 | 5.777778 | 0.722222 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221519 | 158 | 5 | 76 | 31.6 | 0.845528 | 0.006329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
972cb43385b61c953fe57d8416477cdd5070ca3c | 160 | py | Python | components/buttons.py | cruor99/kivy-gopher-client | 7768b51b69c6235a3f2c0a90e2ca9c057b6cbc27 | [
"WTFPL"
] | 1 | 2017-12-24T16:41:17.000Z | 2017-12-24T16:41:17.000Z | components/buttons.py | cruor99/kivy-gopher-client | 7768b51b69c6235a3f2c0a90e2ca9c057b6cbc27 | [
"WTFPL"
] | null | null | null | components/buttons.py | cruor99/kivy-gopher-client | 7768b51b69c6235a3f2c0a90e2ca9c057b6cbc27 | [
"WTFPL"
] | null | null | null | from kivymd.label import MDLabel
from kivy.lang import Builder
Builder.load_file("kv/components/buttons.kv")
class MDScrollableTextButton(MDLabel):
pass
| 17.777778 | 45 | 0.8 | 21 | 160 | 6.047619 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11875 | 160 | 8 | 46 | 20 | 0.900709 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.15 | 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 |
979a39f7fdd3ddf131bd3f9e40e053bf8c2a5de3 | 19,891 | py | Python | pybind/slxos/v17r_2_00/isis_state/ipv6_routes/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/isis_state/ipv6_routes/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/isis_state/ipv6_routes/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 69.548951 | 834 | 0.750138 | 2,751 | 19,891 | 5.137041 | 0.069793 | 0.057317 | 0.047552 | 0.030569 | 0.854585 | 0.827554 | 0.798542 | 0.785239 | 0.769035 | 0.75559 | 0 | 0.024361 | 0.12292 | 19,891 | 285 | 835 | 69.792982 | 0.785682 | 0.157106 | 0 | 0.449704 | 0 | 0.029586 | 0.36751 | 0.175924 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106509 | false | 0 | 0.053254 | 0 | 0.284024 | 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 |
c102039b916f5ede671a074e4b877d0428c61e2d | 122 | py | Python | Configuration/PyReleaseValidation/python/Options.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | Configuration/PyReleaseValidation/python/Options.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | Configuration/PyReleaseValidation/python/Options.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | print "This file has moved to Configuration/Applications; please update"
from Configuration.Applications.Options import *
| 40.666667 | 72 | 0.836066 | 15 | 122 | 6.8 | 0.866667 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 122 | 2 | 73 | 61 | 0.93578 | 0 | 0 | 0 | 0 | 0 | 0.52459 | 0.221311 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c1992cdbcb45f6883c234b38594827b01c95a6db | 5,445 | py | Python | poda/layers/optimizer.py | gideonmanurung/poda | 0a64cfa474f82acb891454141bc537d81bc77092 | [
"MIT"
] | null | null | null | poda/layers/optimizer.py | gideonmanurung/poda | 0a64cfa474f82acb891454141bc537d81bc77092 | [
"MIT"
] | 4 | 2020-09-26T01:08:59.000Z | 2022-02-10T01:40:42.000Z | poda/layers/optimizer.py | gideonmanurung/poda | 0a64cfa474f82acb891454141bc537d81bc77092 | [
"MIT"
] | null | null | null | import tensorflow as tf
def adadelta(learning_rates=0.0001, rho=0.95, epsilon=1e-08, use_lockings=False, names=None):
"""[summary]
Keyword Arguments:
learning_rates {float} -- [Value of learning rate] (default: {0.0001})
rho {float} -- [Value of learning rho] (default: {0.999})
eps... | 42.874016 | 181 | 0.670891 | 666 | 5,445 | 5.363363 | 0.106607 | 0.080067 | 0.058791 | 0.06159 | 0.820549 | 0.792833 | 0.737962 | 0.722564 | 0.703247 | 0.68981 | 0 | 0.035731 | 0.193021 | 5,445 | 127 | 182 | 42.874016 | 0.777196 | 0.415243 | 0 | 0.510204 | 0 | 0 | 0.025308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122449 | false | 0 | 0.020408 | 0 | 0.265306 | 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 |
c1cde5511f2e6d0432126990275b64fbe2b23a30 | 81,613 | py | Python | src/pyensae/languages/CSharpParserListener.py | sdpython/pyensae | ada4dbb0b9901bf481eff2ea239e74ed964d93b0 | [
"MIT"
] | 28 | 2015-07-19T21:20:51.000Z | 2022-02-16T11:50:53.000Z | src/pyensae/languages/CSharpParserListener.py | sdpython/pyensae | ada4dbb0b9901bf481eff2ea239e74ed964d93b0 | [
"MIT"
] | 34 | 2015-06-16T15:38:25.000Z | 2021-12-29T11:04:01.000Z | src/pyensae/languages/CSharpParserListener.py | sdpython/pyensae | ada4dbb0b9901bf481eff2ea239e74ed964d93b0 | [
"MIT"
] | 27 | 2015-01-13T08:24:22.000Z | 2022-03-31T14:51:23.000Z | # Generated from \CSharpParser.g4 by ANTLR 4.9
from antlr4 import *
if __name__ is not None and "." in __name__:
from .CSharpParser import CSharpParser
else:
from CSharpParser import CSharpParser
# This class defines a complete listener for a parse tree produced by CSharpParser.
class CSharpParserListener(Pa... | 42.003603 | 131 | 0.768738 | 8,920 | 81,613 | 6.848318 | 0.072085 | 0.047441 | 0.079068 | 0.142322 | 0.892858 | 0.821075 | 0.821075 | 0.689345 | 0.59723 | 0.269534 | 0 | 0.00006 | 0.177913 | 81,613 | 1,942 | 132 | 42.025232 | 0.910423 | 0.373776 | 0 | 0.496395 | 1 | 0 | 0.00002 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.496395 | false | 0.496395 | 0.00309 | 0 | 0.500515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c1dc1801f8e667104127231816ffba59c670030f | 50 | py | Python | hs_core/tests/__init__.py | tommac7/hydroshare | 87c4543a55f98103d2614bf4c47f7904c3f9c029 | [
"BSD-3-Clause"
] | 178 | 2015-01-08T23:03:36.000Z | 2022-03-03T13:56:45.000Z | hs_core/tests/__init__.py | tommac7/hydroshare | 87c4543a55f98103d2614bf4c47f7904c3f9c029 | [
"BSD-3-Clause"
] | 4,125 | 2015-01-01T14:26:15.000Z | 2022-03-31T16:38:55.000Z | hs_core/tests/__init__.py | tommac7/hydroshare | 87c4543a55f98103d2614bf4c47f7904c3f9c029 | [
"BSD-3-Clause"
] | 53 | 2015-03-15T17:56:51.000Z | 2022-03-17T00:32:16.000Z | from .api.native import *
from .api.rest import *
| 16.666667 | 25 | 0.72 | 8 | 50 | 4.5 | 0.625 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 26 | 25 | 0.857143 | 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 |
de02c0e636b0ca273b2dda8605194a81ddf05c08 | 40 | py | Python | build/lib/ESINet/ann/__init__.py | The-Platypus/ESINet | b9b4e8ed8c6a0fa6d082e303014859a054233fd4 | [
"MIT"
] | null | null | null | build/lib/ESINet/ann/__init__.py | The-Platypus/ESINet | b9b4e8ed8c6a0fa6d082e303014859a054233fd4 | [
"MIT"
] | null | null | null | build/lib/ESINet/ann/__init__.py | The-Platypus/ESINet | b9b4e8ed8c6a0fa6d082e303014859a054233fd4 | [
"MIT"
] | null | null | null | from .ann import *
from .losses import * | 20 | 21 | 0.725 | 6 | 40 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 21 | 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 |
de140e5f99c03df15195c0f944af711d12e0df18 | 365 | py | Python | tests/plugins/task.py | jason-azze/dispatch | 56a9435d08b32429c6b44f83cb0f5aff5a8b6931 | [
"Apache-2.0"
] | 1 | 2020-07-21T20:07:27.000Z | 2020-07-21T20:07:27.000Z | tests/plugins/task.py | jason-azze/dispatch | 56a9435d08b32429c6b44f83cb0f5aff5a8b6931 | [
"Apache-2.0"
] | 2 | 2021-03-11T04:29:11.000Z | 2021-10-06T21:12:45.000Z | tests/plugins/task.py | jason-azze/dispatch | 56a9435d08b32429c6b44f83cb0f5aff5a8b6931 | [
"Apache-2.0"
] | null | null | null | from dispatch.plugins.bases import TaskPlugin
class TestTaskPlugin(TaskPlugin):
title = "Test Task"
slug = "test-task"
def get(self, **kwargs):
return
def create(self, **kwargs):
return
def delete(self, **kwargs):
return
def list(self, **kwargs):
return
... | 16.590909 | 45 | 0.589041 | 40 | 365 | 5.375 | 0.525 | 0.232558 | 0.372093 | 0.353488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29589 | 365 | 21 | 46 | 17.380952 | 0.836576 | 0 | 0 | 0.357143 | 0 | 0 | 0.049315 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0.071429 | 0.357143 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a9e631ea8844798036512a318c499b5372f6f8c8 | 260,830 | py | Python | instances/passenger_demand/pas-20210422-1717-int14000000000000001e/71.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int14000000000000001e/71.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int14000000000000001e/71.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 26857
passenger_arriving = (
(11, 6, 8, 11, 5, 4, 6, 5, 2, 1, 1, 1, 0, 8, 2, 7, 3, 8, 6, 6, 2, 3, 2, 2, 2, 0), # 0
(5, 4, 4, 7, 2, 3, 5, 4, 1, 2, 1, 1, 0, 4, 4, 6, 3, 7, 4, 3, 1, 6, 3, 3, 0, 0), # 1
(9, 8, 6, 3, 5, 4, 2, 3, 3, 3, 0, 1, 0, 7, 9, 5, 5, 3, 3, 3, 1, 4, 4, 2, 0, 0)... | 278.962567 | 492 | 0.77179 | 32,987 | 260,830 | 6.102252 | 0.22712 | 0.354107 | 0.3398 | 0.643831 | 0.367207 | 0.361097 | 0.359929 | 0.359612 | 0.359532 | 0.359532 | 0 | 0.851416 | 0.094828 | 260,830 | 934 | 493 | 279.261242 | 0.001182 | 0.015378 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e7061df923a2202dde12cd9c135dba5a5ad0d8a3 | 43 | py | Python | app/usecase/__init__.py | wax911/anime-meta | 5a707a75b277a9c0dc5b9d9447cea44a73d2f83c | [
"Apache-2.0"
] | 2 | 2021-04-08T19:55:02.000Z | 2021-04-08T19:57:07.000Z | app/usecase/__init__.py | wax911/anime-meta | 5a707a75b277a9c0dc5b9d9447cea44a73d2f83c | [
"Apache-2.0"
] | null | null | null | app/usecase/__init__.py | wax911/anime-meta | 5a707a75b277a9c0dc5b9d9447cea44a73d2f83c | [
"Apache-2.0"
] | null | null | null | from .interactors import ServiceInteractor
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 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 |
e709caab4f3b3907930183ea4c6f3039dd6e9645 | 112 | py | Python | generator.py | Marma92/nodeprojectsampler | fd3078ec2c1e870b146e19acd75a7b106872dcc2 | [
"MIT"
] | null | null | null | generator.py | Marma92/nodeprojectsampler | fd3078ec2c1e870b146e19acd75a7b106872dcc2 | [
"MIT"
] | null | null | null | generator.py | Marma92/nodeprojectsampler | fd3078ec2c1e870b146e19acd75a7b106872dcc2 | [
"MIT"
] | null | null | null | #This file will contain the main, will ask you to do some choices to generate a project that fits to your needs
| 56 | 111 | 0.785714 | 22 | 112 | 4 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 112 | 1 | 112 | 112 | 0.977778 | 0.982143 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e7196d85b15a1e5e7dc07bf761748f5a8923aac2 | 38 | py | Python | alarme/extras/common/__init__.py | insolite/alarme | 2312e88299a07d47435f475e5617213404e6d365 | [
"MIT"
] | null | null | null | alarme/extras/common/__init__.py | insolite/alarme | 2312e88299a07d47435f475e5617213404e6d365 | [
"MIT"
] | 1 | 2017-02-04T13:03:05.000Z | 2017-02-04T13:03:05.000Z | alarme/extras/common/__init__.py | insolite/alarme | 2312e88299a07d47435f475e5617213404e6d365 | [
"MIT"
] | null | null | null | from .rf_device import SingleRFDevice
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e74e945e467760bfe7fb71f2868ce3ee7467e3f9 | 96 | py | Python | venv/lib/python3.8/site-packages/urllib3/contrib/socks.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/urllib3/contrib/socks.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/urllib3/contrib/socks.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/69/18/bd/7965e8f5911bf795d4c5e7f8676d421659e78db122028f473ac7a832de | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
99feffd7d63af6168eb35f8696b55508c677414c | 57 | py | Python | app/domain/repository/interfaces/abstract_repository.py | dmaiabjj/luiza-lab-api-challenger | 8f55ebbdd49a170ca3fdf38da229d29bd0548adf | [
"MIT"
] | null | null | null | app/domain/repository/interfaces/abstract_repository.py | dmaiabjj/luiza-lab-api-challenger | 8f55ebbdd49a170ca3fdf38da229d29bd0548adf | [
"MIT"
] | null | null | null | app/domain/repository/interfaces/abstract_repository.py | dmaiabjj/luiza-lab-api-challenger | 8f55ebbdd49a170ca3fdf38da229d29bd0548adf | [
"MIT"
] | null | null | null | import abc
class AbstractRepository(abc.ABC):
pass
| 9.5 | 34 | 0.736842 | 7 | 57 | 6 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 57 | 5 | 35 | 11.4 | 0.913043 | 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 |
414b1df260be41cbdaf327357a459e988ca5ce6f | 297 | py | Python | src/builtins/iostream.py | macaquedev/cobralang | af070ee96cf94970d97a413798e3e9e022749c20 | [
"MIT"
] | null | null | null | src/builtins/iostream.py | macaquedev/cobralang | af070ee96cf94970d97a413798e3e9e022749c20 | [
"MIT"
] | null | null | null | src/builtins/iostream.py | macaquedev/cobralang | af070ee96cf94970d97a413798e3e9e022749c20 | [
"MIT"
] | null | null | null | from ..interpreter.interpreter import RTResult, Number, String
def cb_print(symbol_table):
print(str(symbol_table.get("value")))
return symbol_table.get("null")
def cb_input(symbol_table):
print(symbol_table.get("prompt"))
return String(input(str(symbol_table.get("prompt"))))
| 24.75 | 62 | 0.734007 | 41 | 297 | 5.121951 | 0.439024 | 0.314286 | 0.266667 | 0.161905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 297 | 11 | 63 | 27 | 0.804598 | 0 | 0 | 0 | 0 | 0 | 0.070707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0.428571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 6 |
ec0691cc330d5060f6d761e7a31e0b2cdf83c86b | 52,512 | py | Python | test/test_generator.py | gabrielmacedoanac/kgextension | 0551ca278bc3de5c39baf663467be3220ad20edd | [
"MIT"
] | 67 | 2021-01-17T20:12:44.000Z | 2022-03-07T06:57:01.000Z | test/test_generator.py | gabrielmacedoanac/kgextension | 0551ca278bc3de5c39baf663467be3220ad20edd | [
"MIT"
] | null | null | null | test/test_generator.py | gabrielmacedoanac/kgextension | 0551ca278bc3de5c39baf663467be3220ad20edd | [
"MIT"
] | 3 | 2021-04-17T09:19:31.000Z | 2021-10-03T21:29:56.000Z | import pandas as pd
import numpy as np
import networkx as nx
import pytest
from kgextension.endpoints import EUOpenData, DBpedia
from kgextension.generator import (
specific_relation_generator,
direct_type_generator,
unqualified_relation_generator,
qualified_relation_generator,
custom_sparql_genera... | 59.002247 | 177 | 0.594359 | 5,568 | 52,512 | 5.438757 | 0.058908 | 0.127861 | 0.162732 | 0.110425 | 0.946075 | 0.937027 | 0.918403 | 0.896972 | 0.880725 | 0.843675 | 0 | 0.045635 | 0.254704 | 52,512 | 889 | 178 | 59.068616 | 0.728135 | 0 | 0 | 0.647147 | 0 | 0.003003 | 0.455058 | 0.010836 | 0 | 0 | 0 | 0 | 0.058559 | 1 | 0.058559 | false | 0 | 0.009009 | 0 | 0.076577 | 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 |
ec21c7ff5b9031c79c7fd3e568461d3f8ce96c18 | 126 | py | Python | vizutils/__init__.py | rbiswas4/Vizutils | 07f32093295a9364d7b284f94a168b0031b758e6 | [
"MIT"
] | null | null | null | vizutils/__init__.py | rbiswas4/Vizutils | 07f32093295a9364d7b284f94a168b0031b758e6 | [
"MIT"
] | null | null | null | vizutils/__init__.py | rbiswas4/Vizutils | 07f32093295a9364d7b284f94a168b0031b758e6 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .projectedplots import *
from .subplots import *
from .version import __VERSION__
| 25.2 | 38 | 0.833333 | 15 | 126 | 6.4 | 0.466667 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 126 | 4 | 39 | 31.5 | 0.872727 | 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 |
ec22f8b42e7167f1b3d8cd2821fb650176963336 | 55 | py | Python | roiextractors/extractors/tiffimagingextractor/__init__.py | cechava/roiextractors | 4a5348ce89f879eb6e068ab4640c50c42979e634 | [
"BSD-3-Clause"
] | 4 | 2020-09-23T00:01:08.000Z | 2021-11-16T11:49:58.000Z | roiextractors/extractors/tiffimagingextractor/__init__.py | cechava/roiextractors | 4a5348ce89f879eb6e068ab4640c50c42979e634 | [
"BSD-3-Clause"
] | 50 | 2020-08-14T17:12:24.000Z | 2022-03-01T22:20:37.000Z | roiextractors/extractors/tiffimagingextractor/__init__.py | cechava/roiextractors | 4a5348ce89f879eb6e068ab4640c50c42979e634 | [
"BSD-3-Clause"
] | 1 | 2020-12-15T22:57:54.000Z | 2020-12-15T22:57:54.000Z | from .tiffimagingextractor import TiffImagingExtractor
| 27.5 | 54 | 0.909091 | 4 | 55 | 12.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.980392 | 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 |
6b6d15464f4e4943a81fd27578de4faaf2a1934f | 7,483 | py | Python | florense/portal/migrations/0001_initial.py | leoromanini/florense | eb547caa357562ab21fd37a5db3ad824fbca71a8 | [
"MIT"
] | null | null | null | florense/portal/migrations/0001_initial.py | leoromanini/florense | eb547caa357562ab21fd37a5db3ad824fbca71a8 | [
"MIT"
] | null | null | null | florense/portal/migrations/0001_initial.py | leoromanini/florense | eb547caa357562ab21fd37a5db3ad824fbca71a8 | [
"MIT"
] | null | null | null | # Generated by Django 2.2 on 2021-12-28 19:18
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import portal.models
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MOD... | 47.66242 | 167 | 0.578378 | 663 | 7,483 | 6.431373 | 0.146305 | 0.080206 | 0.052533 | 0.082552 | 0.730769 | 0.71834 | 0.704503 | 0.704503 | 0.704503 | 0.668621 | 0 | 0.005941 | 0.280235 | 7,483 | 156 | 168 | 47.967949 | 0.785741 | 0.005746 | 0 | 0.691275 | 1 | 0 | 0.126781 | 0.020839 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026846 | 0 | 0.053691 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ba6328cd80383a06e5a1feb2d9a71e57a95b6fe | 26 | py | Python | mollom/__init__.py | disqus/mollom_python | 538ab8d24ee55d45f56b856b771cda25bd942d38 | [
"MIT"
] | 1 | 2015-07-14T14:16:31.000Z | 2015-07-14T14:16:31.000Z | mollom/__init__.py | disqus/mollom_python | 538ab8d24ee55d45f56b856b771cda25bd942d38 | [
"MIT"
] | null | null | null | mollom/__init__.py | disqus/mollom_python | 538ab8d24ee55d45f56b856b771cda25bd942d38 | [
"MIT"
] | null | null | null | from mollom import Mollom
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6bdb2ece3a1af3db80ee430773b8ffb3da8b7cfd | 10,625 | py | Python | tests/board_tests.py | adamRoar/PyCheckers | d27743c28b7954aa707a2eaa85aad4dd7a6a51c7 | [
"Apache-2.0"
] | 2 | 2020-04-25T19:32:08.000Z | 2020-04-26T14:09:52.000Z | tests/board_tests.py | adamRoar/PyCheckers | d27743c28b7954aa707a2eaa85aad4dd7a6a51c7 | [
"Apache-2.0"
] | null | null | null | tests/board_tests.py | adamRoar/PyCheckers | d27743c28b7954aa707a2eaa85aad4dd7a6a51c7 | [
"Apache-2.0"
] | null | null | null | import copy
import unittest
from model.model import Board, Tile, MoveType, Color, Piece
class MyTestCase(unittest.TestCase):
def setUp(self) -> None:
self.b = Board()
def tearDown(self) -> None:
print()
print(self._testMethodName)
print(self.b)
def test_normal_moves(self... | 44.456067 | 88 | 0.647906 | 1,694 | 10,625 | 3.916765 | 0.07379 | 0.089676 | 0.052901 | 0.082291 | 0.820045 | 0.786436 | 0.760814 | 0.744386 | 0.720422 | 0.644009 | 0 | 0.030237 | 0.218729 | 10,625 | 238 | 89 | 44.642857 | 0.769064 | 0.122165 | 0 | 0.434286 | 0 | 0 | 0.00086 | 0 | 0 | 0 | 0 | 0 | 0.371429 | 1 | 0.165714 | false | 0 | 0.017143 | 0 | 0.188571 | 0.062857 | 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 |
d481cdc1a1217ca280169da8510a0b65d1081629 | 289 | py | Python | src/python/qecirq/decompositions/__init__.py | zapatacomputing/qe-cirq | 416c2f02fd4866b453a780b607e8b0958369ef7a | [
"Apache-2.0"
] | null | null | null | src/python/qecirq/decompositions/__init__.py | zapatacomputing/qe-cirq | 416c2f02fd4866b453a780b607e8b0958369ef7a | [
"Apache-2.0"
] | 11 | 2021-09-28T18:16:03.000Z | 2022-03-30T22:35:04.000Z | src/python/qecirq/decompositions/__init__.py | zapatacomputing/qe-cirq | 416c2f02fd4866b453a780b607e8b0958369ef7a | [
"Apache-2.0"
] | 1 | 2022-02-19T18:20:31.000Z | 2022-02-19T18:20:31.000Z | ################################################################################
# © Copyright 2021 Zapata Computing Inc.
################################################################################
from ._cirq_decompositions import PowerGateToPhaseAndRotation, decompose_cirq_circuit
| 57.8 | 85 | 0.380623 | 14 | 289 | 7.642857 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014545 | 0.048443 | 289 | 4 | 86 | 72.25 | 0.370909 | 0.131488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e395c745e691f519f4120118bd91b5f955bec58 | 46 | py | Python | kd_splicing/kd_splicing/dataset/__init__.py | konovalovdmitry/catsnap | d5f1d7c37dcee1ad3fee2cdc12a3b44b56f4c63f | [
"MIT"
] | null | null | null | kd_splicing/kd_splicing/dataset/__init__.py | konovalovdmitry/catsnap | d5f1d7c37dcee1ad3fee2cdc12a3b44b56f4c63f | [
"MIT"
] | null | null | null | kd_splicing/kd_splicing/dataset/__init__.py | konovalovdmitry/catsnap | d5f1d7c37dcee1ad3fee2cdc12a3b44b56f4c63f | [
"MIT"
] | 1 | 2021-09-30T08:06:20.000Z | 2021-09-30T08:06:20.000Z | from kd_splicing.dataset import utils, models
| 23 | 45 | 0.847826 | 7 | 46 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5cedbf056e9af8cb7f1974018ad4885db680ba1c | 8,944 | py | Python | assets/data_and_scripts/Functions/tgac.py | GTPB/PPB18 | fe19c9b8c6b91dce22c554bc1fa48c97834f8a87 | [
"CC-BY-4.0"
] | 4 | 2020-01-14T18:23:24.000Z | 2021-07-30T10:15:10.000Z | assets/data_and_scripts/Functions/tgac.py | GTPB/PPB18 | fe19c9b8c6b91dce22c554bc1fa48c97834f8a87 | [
"CC-BY-4.0"
] | null | null | null | assets/data_and_scripts/Functions/tgac.py | GTPB/PPB18 | fe19c9b8c6b91dce22c554bc1fa48c97834f8a87 | [
"CC-BY-4.0"
] | 1 | 2021-07-30T10:11:35.000Z | 2021-07-30T10:11:35.000Z | # alcohol dehydrogenase - ahd4 - amino acid sequence
S_prot = "mgtkgkvikckaaiaweagkplcieevevappkahevriqiiatslchtdatvidskfeglafpvivgheaagivesigpgvtnvkpgdkviplyaplcrkckfclspltnlcgkisnlkspasdqqlmedktsrftckgkpvyhffgtstfsqytvvsdinlakidddanlervcllgcgfstgygaainnakvtpgstcavfglggvglsavmgckaagasriigidinsekfvkakalgatdclnprdlhkpi... | 113.21519 | 2,432 | 0.767889 | 627 | 8,944 | 10.940989 | 0.519936 | 0.006414 | 0.003499 | 0.002624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077167 | 0.084302 | 8,944 | 78 | 2,433 | 114.666667 | 0.76044 | 0.00559 | 0 | 0 | 0 | 0 | 0.703393 | 0.627596 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5cffede6b2f559d0288fe212e4c318e188624331 | 196 | py | Python | web/modeltr/__init__.py | LaudateCorpus1/labmanager-unit-vsphere | e02819c15c9bedfd1cbd783465f03c3d351addb9 | [
"Apache-2.0"
] | 1 | 2020-03-03T06:56:40.000Z | 2020-03-03T06:56:40.000Z | web/modeltr/__init__.py | LaudateCorpus1/labmanager-unit-vsphere | e02819c15c9bedfd1cbd783465f03c3d351addb9 | [
"Apache-2.0"
] | 13 | 2019-03-20T08:37:16.000Z | 2021-10-15T08:38:31.000Z | web/modeltr/__init__.py | LaudateCorpus1/labmanager-unit-vsphere | e02819c15c9bedfd1cbd783465f03c3d351addb9 | [
"Apache-2.0"
] | 3 | 2019-02-07T08:28:59.000Z | 2022-02-05T09:05:14.000Z | from .enums import *
from .connection import *
from .document import *
from .machine import *
from .request import *
from .action import *
from .screenshot import *
from .snapshot import Snapshot
| 21.777778 | 30 | 0.760204 | 25 | 196 | 5.96 | 0.4 | 0.469799 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 196 | 8 | 31 | 24.5 | 0.908537 | 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 |
cf34db69f4424326807f100c9e6659916cb3023f | 2,096 | py | Python | tests/unitary/Minter/test_inflation_delay.py | hedgx/ribbonomics | 84a212a82eaaa2824ebe3c072413e143eaca02a2 | [
"MIT"
] | 2 | 2022-01-13T21:11:30.000Z | 2022-03-10T08:20:42.000Z | tests/unitary/Minter/test_inflation_delay.py | hedgx/ribbonomics | 84a212a82eaaa2824ebe3c072413e143eaca02a2 | [
"MIT"
] | null | null | null | tests/unitary/Minter/test_inflation_delay.py | hedgx/ribbonomics | 84a212a82eaaa2824ebe3c072413e143eaca02a2 | [
"MIT"
] | 2 | 2022-01-30T20:54:55.000Z | 2022-03-05T17:49:19.000Z | WEEK = 86400 * 7
def test_rate(accounts, chain, three_gauges, minter, token):
assert minter.rate() == 0
chain.sleep(86401)
minter.update_mining_parameters({"from": accounts[0]})
assert minter.rate() > 0
# changes to new rate
def test_commit_next_emission(accounts, chain, three_gauges, minter, token... | 31.757576 | 81 | 0.709924 | 264 | 2,096 | 5.424242 | 0.162879 | 0.142458 | 0.118017 | 0.132682 | 0.820531 | 0.804469 | 0.776536 | 0.75 | 0.684358 | 0.627095 | 0 | 0.12116 | 0.16126 | 2,096 | 65 | 82 | 32.246154 | 0.693402 | 0.018607 | 0 | 0.581395 | 0 | 0 | 0.019474 | 0 | 0 | 0 | 0 | 0 | 0.418605 | 1 | 0.116279 | false | 0 | 0 | 0 | 0.116279 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cf41b029325d98aeac487ae0470049764227984c | 8,088 | py | Python | tests/cli/test_agent.py | aliza-miller/prefect | a537e20a8b81192f12a7df575897596347b8a307 | [
"Apache-2.0"
] | null | null | null | tests/cli/test_agent.py | aliza-miller/prefect | a537e20a8b81192f12a7df575897596347b8a307 | [
"Apache-2.0"
] | null | null | null | tests/cli/test_agent.py | aliza-miller/prefect | a537e20a8b81192f12a7df575897596347b8a307 | [
"Apache-2.0"
] | null | null | null | from unittest.mock import MagicMock
from click.testing import CliRunner
import pytest
from prefect.cli.agent import agent
pytest.importorskip("boto3")
pytest.importorskip("botocore")
pytest.importorskip("kubernetes")
def test_agent_init():
runner = CliRunner()
result = runner.invoke(agent)
assert resul... | 29.735294 | 84 | 0.680762 | 913 | 8,088 | 5.860898 | 0.099671 | 0.100916 | 0.136236 | 0.139787 | 0.877219 | 0.859092 | 0.835732 | 0.774248 | 0.766959 | 0.759858 | 0 | 0.006137 | 0.194115 | 8,088 | 271 | 85 | 29.845018 | 0.814821 | 0 | 0 | 0.65 | 0 | 0 | 0.220697 | 0.107567 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.1 | false | 0.005 | 0.035 | 0 | 0.135 | 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 |
cf5a896568977f1db0de74ce4c22d96cf841b22d | 1,889 | py | Python | helper.py | akarp0v/orderbook | 0f4c4aeff5cbf5a9fcac52de1e8e2ca3dc0d4521 | [
"MIT"
] | null | null | null | helper.py | akarp0v/orderbook | 0f4c4aeff5cbf5a9fcac52de1e8e2ca3dc0d4521 | [
"MIT"
] | null | null | null | helper.py | akarp0v/orderbook | 0f4c4aeff5cbf5a9fcac52de1e8e2ca3dc0d4521 | [
"MIT"
] | null | null | null | from order_book import OrderBook
class Helper:
@staticmethod
def try_to_set_ask(book: OrderBook, price: float, quantity: int) -> str:
try:
book.set_ask(price, quantity)
except ValueError as err:
return err.__str__()
except Exception as exp:
return ex... | 28.621212 | 76 | 0.573849 | 230 | 1,889 | 4.347826 | 0.195652 | 0.105 | 0.108 | 0.12 | 0.843 | 0.817 | 0.805 | 0.805 | 0.805 | 0.669 | 0 | 0.001605 | 0.340392 | 1,889 | 65 | 77 | 29.061538 | 0.800963 | 0 | 0 | 0.649123 | 0 | 0 | 0.005294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122807 | false | 0 | 0.017544 | 0 | 0.403509 | 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 |
d8904c31d95df02e2db3a2b113f3cef7ace4c60e | 1,003 | py | Python | extensions/.stubs/clrclasses/Autodesk/AutoCAD/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | 1 | 2020-03-25T03:27:24.000Z | 2020-03-25T03:27:24.000Z | extensions/.stubs/clrclasses/Autodesk/AutoCAD/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | extensions/.stubs/clrclasses/Autodesk/AutoCAD/__init__.py | vicwjb/Pycad | 7391cd694b7a91ad9f9964ec95833c1081bc1f84 | [
"MIT"
] | null | null | null | import __clrclasses__.Autodesk.AutoCAD.DatabaseServices as DatabaseServices
import __clrclasses__.Autodesk.AutoCAD.Geometry as Geometry
import __clrclasses__.Autodesk.AutoCAD.GraphicsInterface as GraphicsInterface
import __clrclasses__.Autodesk.AutoCAD.Colors as Colors
import __clrclasses__.Autodesk.AutoCAD.LayerManage... | 62.6875 | 81 | 0.896311 | 104 | 1,003 | 8.067308 | 0.201923 | 0.321812 | 0.446961 | 0.517282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059821 | 1,003 | 15 | 82 | 66.866667 | 0.889714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d8aef5ecfaacba6e5cad207a7829f07958167cce | 38,187 | py | Python | tests/backward_conv.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | 11 | 2021-11-03T12:09:50.000Z | 2022-02-20T21:42:13.000Z | tests/backward_conv.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | 1 | 2022-02-18T13:40:46.000Z | 2022-02-18T13:40:46.000Z | tests/backward_conv.py | airbus/decomon | f3668fbd8edd0def4e23aa0634eebfec58349c35 | [
"MIT"
] | null | null | null | # Test unit for decomon with Dense layers
from __future__ import absolute_import
import pytest
import numpy as np
from . import (
get_standard_values_images_box,
get_tensor_decomposition_images_box,
assert_output_properties_box_linear,
)
import tensorflow.python.keras.backend as K
from tensorflow.keras.laye... | 69.8117 | 117 | 0.539398 | 5,426 | 38,187 | 3.669001 | 0.023222 | 0.043801 | 0.065099 | 0.151899 | 0.937613 | 0.923146 | 0.920133 | 0.9131 | 0.909584 | 0.901597 | 0 | 0.07591 | 0.226569 | 38,187 | 546 | 118 | 69.93956 | 0.598138 | 0.003509 | 0 | 0.005769 | 0 | 0 | 0.306174 | 0 | 0 | 0 | 0 | 0 | 0.003846 | 1 | 0.001923 | false | 0 | 0.015385 | 0 | 0.019231 | 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 |
2b0524f45ed8e6588a208d87eb51b56420a73388 | 271 | py | Python | 7kyu/(7 kyu) Remove duplicate words/(7 kyu) Remove duplicate words.py | e1r0nd/codewars | dc98484281345e7675eb5e8a51c192e2fa77c443 | [
"MIT"
] | 49 | 2018-04-30T06:42:45.000Z | 2021-07-22T16:39:02.000Z | (7 kyu) Remove duplicate words/(7 kyu) Remove duplicate words.py | novsunheng/codewars | c54b1d822356889b91587b088d02ca0bd3d8dc9e | [
"MIT"
] | 1 | 2020-08-31T02:36:53.000Z | 2020-08-31T10:14:00.000Z | (7 kyu) Remove duplicate words/(7 kyu) Remove duplicate words.py | novsunheng/codewars | c54b1d822356889b91587b088d02ca0bd3d8dc9e | [
"MIT"
] | 25 | 2018-04-02T20:57:58.000Z | 2021-05-28T15:24:51.000Z | # #1 py 3.4.3
# from collections import OrderedDict
# def remove_duplicate_words(s):
# str = s.split(' ')
# return ' '.join(list(OrderedDict((x, True) for x in str).keys()))
#2 py 3.6.0
def remove_duplicate_words(s):
return ' '.join(dict.fromkeys(s.split()))
| 30.111111 | 71 | 0.649446 | 44 | 271 | 3.909091 | 0.636364 | 0.034884 | 0.209302 | 0.267442 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035556 | 0.169742 | 271 | 8 | 72 | 33.875 | 0.728889 | 0.664207 | 0 | 0 | 0 | 0 | 0.012048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2b1421bc74810242a5ec7eba40f482fab5121507 | 172 | py | Python | oscar/apps/payment/datacash/models.py | owad/django-oscar | cfa69e37dc9abc97a7aff5c8616da319e1771008 | [
"BSD-3-Clause"
] | 1 | 2022-03-17T19:26:13.000Z | 2022-03-17T19:26:13.000Z | oscar/apps/payment/datacash/models.py | aykut/django-oscar | ca3629e74ea1e0affc55d3de4e97f523e352d267 | [
"BSD-3-Clause"
] | null | null | null | oscar/apps/payment/datacash/models.py | aykut/django-oscar | ca3629e74ea1e0affc55d3de4e97f523e352d267 | [
"BSD-3-Clause"
] | 1 | 2019-03-23T10:26:02.000Z | 2019-03-23T10:26:02.000Z | from django.db import models
from oscar.apps.payment.datacash.abstract_models import AbstractOrderTransaction
class OrderTransaction(AbstractOrderTransaction):
pass
| 21.5 | 80 | 0.848837 | 18 | 172 | 8.055556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 172 | 7 | 81 | 24.571429 | 0.941558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2b1fa98fc8a51e69895d7243f64ebfa68cc814ab | 23 | py | Python | tempCodeRunnerFile.py | anthonykrivonos/nba-ml | 3b4c7fcc30d699351eb506be775890446b4f2739 | [
"MIT"
] | 3 | 2019-03-07T02:59:46.000Z | 2020-03-05T14:25:34.000Z | tempCodeRunnerFile.py | anthonykrivonos/nba-ml | 3b4c7fcc30d699351eb506be775890446b4f2739 | [
"MIT"
] | null | null | null | tempCodeRunnerFile.py | anthonykrivonos/nba-ml | 3b4c7fcc30d699351eb506be775890446b4f2739 | [
"MIT"
] | null | null | null |
print(row) | 11.5 | 22 | 0.347826 | 2 | 23 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 23 | 2 | 22 | 11.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2b38d549740a16825f56249b173d1b45cccb2275 | 63 | py | Python | mdp_playground/config_processor/__init__.py | RaghuSpaceRajan/mdp-playground | 4dd00ae3d58620f27b4c14befb7ce47c6df83d00 | [
"Apache-2.0"
] | 11 | 2021-06-01T08:46:08.000Z | 2022-03-18T16:46:22.000Z | mdp_playground/config_processor/__init__.py | RaghuSpaceRajan/mdp-playground | 4dd00ae3d58620f27b4c14befb7ce47c6df83d00 | [
"Apache-2.0"
] | 6 | 2021-05-30T09:30:12.000Z | 2021-10-20T12:31:03.000Z | mdp_playground/config_processor/__init__.py | automl/mdp-playground | 4dd00ae3d58620f27b4c14befb7ce47c6df83d00 | [
"Apache-2.0"
] | 4 | 2021-07-07T15:52:04.000Z | 2022-03-14T06:18:30.000Z | from mdp_playground.config_processor.config_processor import *
| 31.5 | 62 | 0.888889 | 8 | 63 | 6.625 | 0.75 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.898305 | 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 |
9937c09e41000343c318633dd2f43d44b6d8f615 | 3,519 | py | Python | dapy/utils/localisation.py | hassaniqbal209/data-assimilation | ec52d655395dbed547edf4b4f3df29f017633f1b | [
"MIT"
] | 11 | 2020-07-29T07:46:39.000Z | 2022-03-17T01:28:07.000Z | dapy/utils/localisation.py | hassaniqbal209/data-assimilation | ec52d655395dbed547edf4b4f3df29f017633f1b | [
"MIT"
] | 1 | 2020-07-14T11:49:17.000Z | 2020-07-29T07:43:22.000Z | dapy/utils/localisation.py | hassaniqbal209/data-assimilation | ec52d655395dbed547edf4b4f3df29f017633f1b | [
"MIT"
] | 10 | 2020-07-14T11:34:24.000Z | 2022-03-07T09:08:12.000Z | """Locally supported weighting functions."""
import numpy as np
import numba as nb
@nb.njit(nb.double[:](nb.double[:], nb.double), parallel=True)
def gaspari_and_cohn_weighting(distances, radius):
"""Compactly supported smooth weighting kernel function.
Args:
distances: One-dimensional array of dist... | 36.278351 | 88 | 0.583973 | 462 | 3,519 | 4.437229 | 0.218615 | 0.035122 | 0.029268 | 0.046829 | 0.833171 | 0.764878 | 0.764878 | 0.734146 | 0.734146 | 0.734146 | 0 | 0.036535 | 0.307758 | 3,519 | 96 | 89 | 36.65625 | 0.805008 | 0.535664 | 0 | 0.522727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068182 | false | 0 | 0.045455 | 0 | 0.181818 | 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 |
993c5976e6119df55620ebd08a4bd8b644940e6b | 97 | py | Python | nifpy/__init__.py | shresth26/nifpy | 5f23efbbf4b9491352a43766f5b8f332516fb3ac | [
"MIT"
] | 2 | 2022-02-18T16:22:06.000Z | 2022-03-12T11:04:18.000Z | nifpy/__init__.py | shresth26/nifpy | 5f23efbbf4b9491352a43766f5b8f332516fb3ac | [
"MIT"
] | null | null | null | nifpy/__init__.py | shresth26/nifpy | 5f23efbbf4b9491352a43766f5b8f332516fb3ac | [
"MIT"
] | 3 | 2021-09-24T15:52:16.000Z | 2022-03-12T11:04:45.000Z | # from nifpy import financials
from .financials import *
from .info import *
from .graph import * | 24.25 | 30 | 0.762887 | 13 | 97 | 5.692308 | 0.461538 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 4 | 31 | 24.25 | 0.91358 | 0.28866 | 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 |
994d09eca556070deef2b08870da85159cd552cf | 37 | py | Python | TEST3D/GUI/0010508_page_skel/cleanup.py | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 31 | 2015-04-01T15:59:36.000Z | 2022-03-18T20:21:47.000Z | TEST3D/GUI/0010508_page_skel/cleanup.py | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 3 | 2015-02-06T19:30:24.000Z | 2017-05-25T14:14:31.000Z | TEST3D/GUI/0010508_page_skel/cleanup.py | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 7 | 2015-01-23T15:19:22.000Z | 2021-06-09T09:03:59.000Z | removefile('skelpagesnaprefine.log')
| 18.5 | 36 | 0.837838 | 3 | 37 | 10.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 37 | 1 | 37 | 37 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.594595 | 0.594595 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9989456b613cd4c087a35b8ae1a345ffeac33de6 | 84 | py | Python | eddl/layers/__init__.py | salvacarrion/pyeddl | 56d1e4378844d12c064f168f4541900684079c4b | [
"MIT"
] | null | null | null | eddl/layers/__init__.py | salvacarrion/pyeddl | 56d1e4378844d12c064f168f4541900684079c4b | [
"MIT"
] | null | null | null | eddl/layers/__init__.py | salvacarrion/pyeddl | 56d1e4378844d12c064f168f4541900684079c4b | [
"MIT"
] | null | null | null | from .conv import *
from .core import *
from .merge import *
from .pooling import *
| 16.8 | 22 | 0.714286 | 12 | 84 | 5 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 84 | 4 | 23 | 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 |
998cb265ffbe2a2cea68d3d0f43f123648690377 | 27 | py | Python | python/sparkimages/__init__.py | Bhaskers-Blu-Org2/spark-images | fe4c68544a4f4b95f37fea1c1aaa6da2f88a724b | [
"Apache-2.0"
] | 8 | 2019-06-29T07:50:49.000Z | 2021-09-06T12:02:56.000Z | python/sparkimages/__init__.py | microsoft/spark-images | fe4c68544a4f4b95f37fea1c1aaa6da2f88a724b | [
"Apache-2.0"
] | null | null | null | python/sparkimages/__init__.py | microsoft/spark-images | fe4c68544a4f4b95f37fea1c1aaa6da2f88a724b | [
"Apache-2.0"
] | 5 | 2019-11-03T12:27:42.000Z | 2021-05-26T07:34:34.000Z | from .ImageSchema import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 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 |
5144f97e6604564d604b8b262c9e43f69f42869f | 12,979 | py | Python | tests/api/test_client.py | cottonmalone/binance-dex | 2b33e5d0dd0e24e78eea58e857d9872e5adc8c5f | [
"MIT"
] | null | null | null | tests/api/test_client.py | cottonmalone/binance-dex | 2b33e5d0dd0e24e78eea58e857d9872e5adc8c5f | [
"MIT"
] | null | null | null | tests/api/test_client.py | cottonmalone/binance-dex | 2b33e5d0dd0e24e78eea58e857d9872e5adc8c5f | [
"MIT"
] | null | null | null | import pytest
import datetime
from binance.api import *
POSIX_ORGIN = datetime.datetime(1970, 1, 1, tzinfo=datetime.timezone.utc)
def test_client_ctor():
"""
Test that object is initialised correctly.
"""
assert Client('url').base_url == 'url'
def test_client_get_time(mocker):
"""
Test that... | 31.96798 | 77 | 0.559288 | 1,422 | 12,979 | 4.936709 | 0.085091 | 0.054131 | 0.064957 | 0.056838 | 0.822507 | 0.792023 | 0.784615 | 0.784615 | 0.784615 | 0.76567 | 0 | 0.004798 | 0.325603 | 12,979 | 405 | 78 | 32.046914 | 0.797212 | 0.23461 | 0 | 0.574163 | 0 | 0 | 0.203195 | 0.071003 | 0 | 0 | 0 | 0 | 0.186603 | 1 | 0.095694 | false | 0 | 0.014354 | 0 | 0.110048 | 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 |
5a9aace782eb1c45b4e5cfec867ec5093569c876 | 4,577 | py | Python | src/jt/rubicon/java/_jmethod.py | karpierz/jtypes.rubicon | 8f8196e47de93183eb9728fec0d08725fc368ee0 | [
"BSD-3-Clause"
] | 2 | 2018-11-29T06:19:05.000Z | 2018-12-09T09:47:55.000Z | src/jt/rubicon/java/_jmethod.py | karpierz/jtypes.rubicon | 8f8196e47de93183eb9728fec0d08725fc368ee0 | [
"BSD-3-Clause"
] | null | null | null | src/jt/rubicon/java/_jmethod.py | karpierz/jtypes.rubicon | 8f8196e47de93183eb9728fec0d08725fc368ee0 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2016-2019, Adam Karpierz
# Licensed under the BSD license
# http://opensource.org/licenses/BSD-3-Clause
from ...jvm.lib import annotate
from ...jvm.lib import public
from ._jvm import JVM
from ._conversion import _convert_args_to_jargs, select_polymorph
@public
class StaticJavaMethod(object):... | 39.119658 | 102 | 0.568276 | 461 | 4,577 | 5.312364 | 0.234273 | 0.055125 | 0.058391 | 0.049 | 0.718661 | 0.718661 | 0.718661 | 0.718661 | 0.718661 | 0.718661 | 0 | 0.004274 | 0.335373 | 4,577 | 116 | 103 | 39.456897 | 0.800789 | 0.082587 | 0 | 0.714286 | 0 | 0 | 0.096117 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103896 | false | 0 | 0.051948 | 0.012987 | 0.246753 | 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 |
5a9f5cc6afdda05850a356c417c34949fdb24d36 | 1,948 | py | Python | epytope/Data/pssms/epidemix/mat/A_0201_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/epidemix/mat/A_0201_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/epidemix/mat/A_0201_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_0201_9 = {0: {'A': 0.1, 'C': 0.0, 'E': -1.0, 'D': -1.1, 'G': 0.1, 'F': 0.4, 'I': 0.2, 'H': 0.3, 'K': 0.0, 'M': -0.2, 'L': 0.0, 'N': -0.9, 'Q': -0.1, 'P': -1.2, 'S': 0.4, 'R': 0.1, 'T': -0.3, 'W': 0.5, 'V': 0.3, 'Y': 0.4}, 1: {'A': -0.3, 'C': -1.7, 'E': -1.3, 'D': -1.3, 'G': -4.0, 'F': -0.6, 'I': 0.1, 'H': -2.6, 'K': ... | 1,948 | 1,948 | 0.285934 | 552 | 1,948 | 1.005435 | 0.056159 | 0.09009 | 0.021622 | 0.028829 | 0.436036 | 0.111712 | 0.068468 | 0.068468 | 0.03964 | 0.03964 | 0 | 0.237009 | 0.189938 | 1,948 | 1 | 1,948 | 1,948 | 0.114702 | 0 | 0 | 0 | 0 | 0 | 0.092355 | 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 |
8509d8623fe42d8cc0d7bae8f5d2a201f6f0cfaf | 399 | py | Python | pyrts/__init__.py | Rouzip/python-microRTS | da66ca31d7b6252dbddefa88280d7456efd0c74e | [
"Apache-2.0"
] | 18 | 2018-09-24T17:00:59.000Z | 2020-10-09T19:24:50.000Z | pyrts/__init__.py | Rouzip/python-microRTS | da66ca31d7b6252dbddefa88280d7456efd0c74e | [
"Apache-2.0"
] | 3 | 2019-11-12T19:17:49.000Z | 2019-11-20T07:27:06.000Z | pyrts/__init__.py | Rouzip/python-microRTS | da66ca31d7b6252dbddefa88280d7456efd0c74e | [
"Apache-2.0"
] | 4 | 2019-10-19T07:29:58.000Z | 2020-12-13T11:19:48.000Z | from pyrts.server import Server
from pyrts.server import PLAYER
# Actions
from pyrts.server import NONE
from pyrts.server import MOVE
from pyrts.server import HARVEST
from pyrts.server import RETURN
from pyrts.server import PRODUCE
from pyrts.server import ATTACK
# Directions
from pyrts.server import UP
from pyrts.... | 22.166667 | 32 | 0.827068 | 62 | 399 | 5.322581 | 0.274194 | 0.327273 | 0.545455 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137845 | 399 | 18 | 33 | 22.166667 | 0.959302 | 0.045113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
51c203beb250d28c29502d6663da9f8a0e2d9c43 | 38 | py | Python | modem_logger/__init__.py | kariudo/modem-logger | 387843716aa62f0e60168740417561a644591929 | [
"MIT"
] | 3 | 2021-06-26T16:27:39.000Z | 2021-09-23T01:01:10.000Z | modem_logger/__init__.py | kariudo/modem-logger | 387843716aa62f0e60168740417561a644591929 | [
"MIT"
] | 1 | 2021-11-29T05:44:29.000Z | 2021-12-01T21:00:38.000Z | modem_logger/__init__.py | kariudo/modem-logger | 387843716aa62f0e60168740417561a644591929 | [
"MIT"
] | null | null | null | from .netgear_cm500 import CM500Parser | 38 | 38 | 0.894737 | 5 | 38 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 0.078947 | 38 | 1 | 38 | 38 | 0.771429 | 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 |
51e6a900579d0f3ce6501086688cbacbea94119e | 6,487 | py | Python | pymtl3/stdlib/test_utils/test/run_test_vector_sim_test.py | jbrzozo24/pymtl3 | 50f1193453da6034be97dbc74041b83e76030a5f | [
"BSD-3-Clause"
] | 152 | 2020-06-03T02:34:11.000Z | 2022-03-30T04:16:45.000Z | pymtl3/stdlib/test_utils/test/run_test_vector_sim_test.py | jbrzozo24/pymtl3 | 50f1193453da6034be97dbc74041b83e76030a5f | [
"BSD-3-Clause"
] | 139 | 2019-05-29T00:37:09.000Z | 2020-05-17T16:49:26.000Z | pymtl3/stdlib/test_utils/test/run_test_vector_sim_test.py | jbrzozo24/pymtl3 | 50f1193453da6034be97dbc74041b83e76030a5f | [
"BSD-3-Clause"
] | 22 | 2020-05-18T13:42:05.000Z | 2022-03-11T08:37:51.000Z | #=========================================================================
# run_test_vector_sim_test
#=========================================================================
import pytest
from pymtl3 import *
from pymtl3.stdlib.test_utils import run_test_vector_sim
from pymtl3.stdlib.test_utils import RunTestVecto... | 30.032407 | 74 | 0.49869 | 771 | 6,487 | 4.002594 | 0.094682 | 0.106935 | 0.071614 | 0.08814 | 0.858717 | 0.828257 | 0.789047 | 0.77641 | 0.714517 | 0.714517 | 0 | 0.062189 | 0.288577 | 6,487 | 215 | 75 | 30.172093 | 0.606501 | 0.220133 | 0 | 0.691275 | 0 | 0.006711 | 0.075884 | 0.015495 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161074 | false | 0 | 0.026846 | 0.020134 | 0.228188 | 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 |
cfb38a8f63a3a924c4b717ec1cf165c6cdafb632 | 38 | py | Python | maml_zoo/envs/__init__.py | intel-isl/MetaLearningTradeoffs | bb1b849742a959310f3b9b630bb76ae3509a5d4a | [
"MIT"
] | 2 | 2021-04-26T15:09:46.000Z | 2021-04-28T11:58:28.000Z | maml_zoo/envs/__init__.py | intel-isl/MetaLearningTradeoffs | bb1b849742a959310f3b9b630bb76ae3509a5d4a | [
"MIT"
] | null | null | null | maml_zoo/envs/__init__.py | intel-isl/MetaLearningTradeoffs | bb1b849742a959310f3b9b630bb76ae3509a5d4a | [
"MIT"
] | null | null | null | from maml_zoo.envs.base import MetaEnv | 38 | 38 | 0.868421 | 7 | 38 | 4.571429 | 1 | 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 |
cfbf0d0d2eeadc560b28fd6022673f32e81fd7d0 | 21 | py | Python | example_project/some_modules/third_modules/a118.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a118.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | example_project/some_modules/third_modules/a118.py | Yuriy-Leonov/cython_imports_limit_issue | 2f9e7c02798fb52185dabfe6ce3811c439ca2839 | [
"MIT"
] | null | null | null | class A118:
pass
| 7 | 11 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
cfc1adc75e5e3a41488d7d19f07bc3549a3f5f10 | 7,106 | py | Python | test/test_fcns.py | mramospe/minkit | fa6808a6ca8063751da92f683f2b810a0690a462 | [
"MIT-0"
] | null | null | null | test/test_fcns.py | mramospe/minkit | fa6808a6ca8063751da92f683f2b810a0690a462 | [
"MIT-0"
] | 5 | 2020-01-30T18:30:33.000Z | 2020-11-10T09:13:47.000Z | test/test_fcns.py | mramospe/minkit | fa6808a6ca8063751da92f683f2b810a0690a462 | [
"MIT-0"
] | 1 | 2020-02-03T22:59:00.000Z | 2020-02-03T22:59:00.000Z | ########################################
# MIT License
#
# Copyright (c) 2020 Miguel Ramos Pernas
########################################
'''
Test the "fcns" module.
'''
import helpers
import minkit
import numpy as np
import pytest
helpers.configure_logging()
@pytest.mark.minimization
@helpers.setting_seed
def test... | 31.030568 | 97 | 0.631157 | 966 | 7,106 | 4.569358 | 0.136646 | 0.105347 | 0.038061 | 0.048935 | 0.834844 | 0.804939 | 0.797689 | 0.759402 | 0.737653 | 0.725646 | 0 | 0.032069 | 0.205742 | 7,106 | 228 | 98 | 31.166667 | 0.75 | 0.094427 | 0 | 0.694656 | 0 | 0 | 0.040058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045802 | false | 0 | 0.030534 | 0 | 0.076336 | 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 |
cfda2d6052f642ad686af3b525f0b1c8d70b30ba | 218 | py | Python | lib/python2.7/site-packages/braintree/discount.py | ervinpepic/E-commerce | 2c15255d1730728cf35c166b9f88cffcb99f5323 | [
"MIT"
] | 182 | 2015-01-09T05:26:46.000Z | 2022-03-16T14:10:06.000Z | lib/python2.7/site-packages/braintree/discount.py | ervinpepic/E-commerce | 2c15255d1730728cf35c166b9f88cffcb99f5323 | [
"MIT"
] | 95 | 2015-02-24T23:29:56.000Z | 2022-03-13T03:27:58.000Z | lib/python2.7/site-packages/braintree/discount.py | ervinpepic/E-commerce | 2c15255d1730728cf35c166b9f88cffcb99f5323 | [
"MIT"
] | 93 | 2015-02-19T17:59:06.000Z | 2022-03-19T17:01:25.000Z | from braintree.modification import Modification
from braintree.configuration import Configuration
class Discount(Modification):
@staticmethod
def all():
return Configuration.gateway().discount.all()
| 21.8 | 53 | 0.770642 | 21 | 218 | 8 | 0.571429 | 0.154762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155963 | 218 | 9 | 54 | 24.222222 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
cfffea1ad6c4ccd0849d2fd3ade08b5ed6944458 | 87 | py | Python | opticl/__init__.py | hwiberg/OptiCL | f2512cfd408882700fe43c22d4e4b5c5f5c87b53 | [
"MIT"
] | 46 | 2021-11-04T20:17:32.000Z | 2022-03-25T17:12:02.000Z | opticl/__init__.py | hwiberg/OptiCL | f2512cfd408882700fe43c22d4e4b5c5f5c87b53 | [
"MIT"
] | null | null | null | opticl/__init__.py | hwiberg/OptiCL | f2512cfd408882700fe43c22d4e4b5c5f5c87b53 | [
"MIT"
] | 3 | 2021-11-12T02:57:54.000Z | 2022-01-14T15:45:55.000Z | from .constraint_learning import *
from .embed_mip import *
from .run_MLmodels import * | 29 | 34 | 0.804598 | 12 | 87 | 5.583333 | 0.666667 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126437 | 87 | 3 | 35 | 29 | 0.881579 | 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 |
321e468b1899026cb2147715896148940aae61e3 | 75 | py | Python | libs/uix/baseclasses/events.py | mkbeh/CRyptoLab | 424c938c16c9264e99eff71e4c1a27ca65314d42 | [
"MIT"
] | null | null | null | libs/uix/baseclasses/events.py | mkbeh/CRyptoLab | 424c938c16c9264e99eff71e4c1a27ca65314d42 | [
"MIT"
] | 1 | 2021-06-01T22:30:24.000Z | 2021-06-01T22:30:24.000Z | libs/uix/baseclasses/events.py | mkbeh/CRyptoLab | 424c938c16c9264e99eff71e4c1a27ca65314d42 | [
"MIT"
] | 1 | 2021-05-11T23:06:20.000Z | 2021-05-11T23:06:20.000Z | from kivy.uix.screenmanager import Screen
class Events(Screen):
pass
| 12.5 | 41 | 0.76 | 10 | 75 | 5.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 75 | 5 | 42 | 15 | 0.919355 | 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 |
5c677012d91d8de0eb4ccfe9a9e70f8c799a31ca | 5,899 | py | Python | basis_analysis.py | etienne-monier/2020-Ultramicro-fast | ffd90fa6467b36b38dbbbe336c12cf9b8e155060 | [
"MIT"
] | 2 | 2020-04-29T21:46:01.000Z | 2021-04-23T14:38:51.000Z | basis_analysis.py | etienne-monier/2020-Ultramicro-fast | ffd90fa6467b36b38dbbbe336c12cf9b8e155060 | [
"MIT"
] | 1 | 2021-04-25T15:55:55.000Z | 2021-04-27T18:57:15.000Z | basis_analysis.py | etienne-monier/2020-Ultramicro-fast | ffd90fa6467b36b38dbbbe336c12cf9b8e155060 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import scipy.fftpack as fftp
import numpy as np
from numpy.linalg import norm
import pywt
def FourierApproxError(X0, r):
r"""Computes the approximation error in Fourier basis for 3D data.
Let a ratio r be set.
A band-by-band Fourier transformation is appl... | 29.20297 | 75 | 0.600102 | 917 | 5,899 | 3.845147 | 0.166848 | 0.011912 | 0.033182 | 0.017867 | 0.83097 | 0.81367 | 0.804594 | 0.794952 | 0.775099 | 0.775099 | 0 | 0.042218 | 0.257162 | 5,899 | 201 | 76 | 29.348259 | 0.762437 | 0.436684 | 0 | 0.605634 | 0 | 0 | 0.00922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042254 | false | 0 | 0.056338 | 0 | 0.140845 | 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 |
5c8bdc2b51b955bb430dba0083794ebc5a83b333 | 9,592 | py | Python | tests/includes/config.py | NaeiKinDus/archive_converter | 155f48b74f873003640811830cb96f29b99b2466 | [
"Apache-2.0"
] | 1 | 2020-08-08T10:54:32.000Z | 2020-08-08T10:54:32.000Z | tests/includes/config.py | NaeiKinDus/archive_converter | 155f48b74f873003640811830cb96f29b99b2466 | [
"Apache-2.0"
] | null | null | null | tests/includes/config.py | NaeiKinDus/archive_converter | 155f48b74f873003640811830cb96f29b99b2466 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Test data and functions used by pytest
# Config parameters
OUTPUT_DIR = 'tests/output'
# Pytest data
get_files_data = [
(
'tests/images/single',
{
'tests/images/single': {
'dir': 'single',
'src': 'tests/images/single',
... | 44.613953 | 114 | 0.53774 | 1,073 | 9,592 | 4.67754 | 0.089469 | 0.1315 | 0.200638 | 0.206017 | 0.882247 | 0.854951 | 0.818091 | 0.76589 | 0.651524 | 0.429966 | 0 | 0.022162 | 0.308486 | 9,592 | 215 | 115 | 44.613953 | 0.734509 | 0.044099 | 0 | 0.35 | 0 | 0.005 | 0.565189 | 0.287836 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c8f5fe740da46e8ecf0e3026acd91889bbe3522 | 23 | py | Python | hyperia/__init__.py | hyperia-inc/hyperia_python_sdk | 73ade4ab892f9e40242c0311843e2675ef4f25cb | [
"Apache-2.0"
] | 1 | 2022-01-06T06:22:47.000Z | 2022-01-06T06:22:47.000Z | hyperia/__init__.py | hyperia-inc/hyperia-python-sdk | 73ade4ab892f9e40242c0311843e2675ef4f25cb | [
"Apache-2.0"
] | null | null | null | hyperia/__init__.py | hyperia-inc/hyperia-python-sdk | 73ade4ab892f9e40242c0311843e2675ef4f25cb | [
"Apache-2.0"
] | null | null | null | from .hyperia import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5cb399d973ad914add039984b0a1d948221f4c12 | 98 | py | Python | pylti1p3/contrib/flask/session.py | edubadges/pylti1.3 | 46534384b79076d254ff3e94676ae6155e77a05e | [
"MIT"
] | 62 | 2019-08-13T11:24:36.000Z | 2022-03-11T16:24:55.000Z | pylti1p3/contrib/flask/session.py | edubadges/pylti1.3 | 46534384b79076d254ff3e94676ae6155e77a05e | [
"MIT"
] | 58 | 2019-08-13T13:27:27.000Z | 2022-03-28T11:00:56.000Z | pylti1p3/contrib/flask/session.py | edubadges/pylti1.3 | 46534384b79076d254ff3e94676ae6155e77a05e | [
"MIT"
] | 35 | 2019-10-11T18:26:02.000Z | 2022-03-29T08:33:00.000Z | from pylti1p3.session import SessionService
class FlaskSessionService(SessionService):
pass
| 16.333333 | 43 | 0.826531 | 9 | 98 | 9 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.132653 | 98 | 5 | 44 | 19.6 | 0.929412 | 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 |
5ccb805c9a78992485405bb87b8bd5e463942177 | 155 | py | Python | anarchonet/main/admin.py | urlordjames/anarcho-monarchy | e663ecc22a31ced90612a7a5b694d106964440be | [
"MIT"
] | null | null | null | anarchonet/main/admin.py | urlordjames/anarcho-monarchy | e663ecc22a31ced90612a7a5b694d106964440be | [
"MIT"
] | 1 | 2020-08-29T03:48:11.000Z | 2020-09-02T19:07:12.000Z | anarchonet/main/admin.py | urlordjames/anarcho-monarchy | e663ecc22a31ced90612a7a5b694d106964440be | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Nation, Law, Player
admin.site.register(Nation)
admin.site.register(Law)
admin.site.register(Player)
| 22.142857 | 39 | 0.806452 | 23 | 155 | 5.434783 | 0.478261 | 0.216 | 0.408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090323 | 155 | 6 | 40 | 25.833333 | 0.886525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7a31a0193181b7c9cf7546b5304ed226c47ef2c4 | 84,460 | py | Python | nova/tests/unit/virt/test_virt_drivers.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/virt/test_virt_drivers.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/virt/test_virt_drivers.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2010 OpenStack Foundation'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'
comment|'# a copy of the License at'
... | 13.232023 | 234 | 0.629174 | 12,259 | 84,460 | 4.194225 | 0.051554 | 0.162437 | 0.086547 | 0.084408 | 0.843729 | 0.787152 | 0.731587 | 0.688974 | 0.660482 | 0.63481 | 0 | 0.00203 | 0.096105 | 84,460 | 6,382 | 235 | 13.234096 | 0.67147 | 0 | 0 | 0.924162 | 0 | 0.000313 | 0.389119 | 0.088551 | 0 | 0 | 0 | 0 | 0.008618 | 0 | null | null | 0.002507 | 0.006111 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a5c2ee8accd80344122ca3b1b7d4d198707f6ea | 176 | py | Python | src/preceptron1/test_preceptron.py | Farooq-azam-khan/preceptron-learning-algorithm | f229d28928713342314ca43bbdb714b17396661a | [
"MIT"
] | null | null | null | src/preceptron1/test_preceptron.py | Farooq-azam-khan/preceptron-learning-algorithm | f229d28928713342314ca43bbdb714b17396661a | [
"MIT"
] | 1 | 2021-08-23T20:47:53.000Z | 2021-08-23T20:47:53.000Z | src/preceptron1/test_preceptron.py | Farooq-azam-khan/preceptron-learning-algorithm | f229d28928713342314ca43bbdb714b17396661a | [
"MIT"
] | null | null | null | import unittest
from preceptron import Preceptron
import random
class TestPreceptronModelClass(unittest.TestCase):
pass
if __name__ == '__main__':
unittest.main()
| 16 | 50 | 0.767045 | 18 | 176 | 7.055556 | 0.666667 | 0.251969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164773 | 176 | 10 | 51 | 17.6 | 0.863946 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.428571 | 0 | 0.571429 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7a783a273d9327b7ed84e57baaeae1521d9da086 | 30 | py | Python | model/__init__.py | alexghergh/cdl2020 | ea174700a758b35e9956e4b3701058c5d612a5d3 | [
"MIT"
] | null | null | null | model/__init__.py | alexghergh/cdl2020 | ea174700a758b35e9956e4b3701058c5d612a5d3 | [
"MIT"
] | 5 | 2020-02-15T11:48:07.000Z | 2021-09-14T10:49:02.000Z | model/__init__.py | alexghergh/cdl2020 | ea174700a758b35e9956e4b3701058c5d612a5d3 | [
"MIT"
] | null | null | null | from model.index import Index
| 15 | 29 | 0.833333 | 5 | 30 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 |
7aa2ddd1e7af4bda8911fe7b09d2f306e20b038f | 25 | py | Python | gamesense/__init__.py | anishg24/gamesense | ec6435378de1711c0c88f667bc30bbb3db9832cc | [
"MIT"
] | 3 | 2018-11-17T18:44:51.000Z | 2020-11-19T18:14:06.000Z | gamesense/__init__.py | anishg24/gamesense | ec6435378de1711c0c88f667bc30bbb3db9832cc | [
"MIT"
] | 2 | 2021-06-01T22:56:51.000Z | 2021-11-08T16:38:32.000Z | gamesense/__init__.py | anishg24/gamesense | ec6435378de1711c0c88f667bc30bbb3db9832cc | [
"MIT"
] | 2 | 2020-11-19T18:14:09.000Z | 2021-06-02T17:13:48.000Z | from .gamesense import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 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 |
8fb20662e4186a73c9049f9b6a28329932bba204 | 17,052 | py | Python | mayan/apps/document_signatures/tests/test_api.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 4 | 2021-09-02T00:16:30.000Z | 2021-09-09T22:25:15.000Z | mayan/apps/document_signatures/tests/test_api.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 86 | 2021-09-01T23:53:02.000Z | 2021-09-20T02:25:10.000Z | mayan/apps/document_signatures/tests/test_api.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 70 | 2021-09-01T12:54:51.000Z | 2022-02-16T00:53:18.000Z | from rest_framework import status
from mayan.apps.django_gpg.permissions import permission_key_sign
from mayan.apps.django_gpg.tests.literals import TEST_KEY_PUBLIC_ID
from mayan.apps.django_gpg.tests.mixins import KeyTestMixin
from mayan.apps.documents.events import (
event_document_file_created, event_document_f... | 34.172345 | 82 | 0.709477 | 1,941 | 17,052 | 5.762494 | 0.053065 | 0.126598 | 0.070094 | 0.055431 | 0.892803 | 0.85865 | 0.84667 | 0.842825 | 0.807331 | 0.79392 | 0 | 0.008494 | 0.212937 | 17,052 | 498 | 83 | 34.240964 | 0.824901 | 0 | 0 | 0.682192 | 0 | 0 | 0.002228 | 0 | 0 | 0 | 0 | 0 | 0.230137 | 1 | 0.054795 | false | 0 | 0.030137 | 0 | 0.09589 | 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 |
8fd6c9b700904b379c58c00c53680176dd4cf2dd | 28,760 | py | Python | tests/test_parsers/test_docstrings/test_restructured_text.py | shashankrnr32/pytkdocs | bf04764f1608970643932329c9f6c8c63a0c5632 | [
"0BSD"
] | 21 | 2021-02-20T05:20:52.000Z | 2022-03-04T20:57:16.000Z | tests/test_parsers/test_docstrings/test_restructured_text.py | shashankrnr32/pytkdocs | bf04764f1608970643932329c9f6c8c63a0c5632 | [
"0BSD"
] | 84 | 2020-03-22T15:29:56.000Z | 2021-02-09T21:47:11.000Z | tests/test_parsers/test_docstrings/test_restructured_text.py | shashankrnr32/pytkdocs | bf04764f1608970643932329c9f6c8c63a0c5632 | [
"0BSD"
] | 21 | 2020-04-09T13:56:23.000Z | 2021-01-19T19:18:42.000Z | """Tests for [the `parsers.docstrings.google` module][pytkdocs.parsers.docstrings.google]."""
import inspect
from textwrap import dedent
import pytest
from pytkdocs.loader import Loader
from pytkdocs.objects import Object
from pytkdocs.parsers.docstrings.base import AnnotatedObject, Attribute, Parameter, Section, em... | 27.895247 | 119 | 0.66516 | 3,342 | 28,760 | 5.467684 | 0.060144 | 0.031029 | 0.033492 | 0.030537 | 0.81957 | 0.797734 | 0.792973 | 0.771959 | 0.748481 | 0.727959 | 0 | 0.007673 | 0.229659 | 28,760 | 1,030 | 120 | 27.92233 | 0.817107 | 0.142281 | 0 | 0.614437 | 0 | 0.001761 | 0.130804 | 0.022588 | 0 | 0 | 0 | 0 | 0.272887 | 1 | 0.170775 | false | 0 | 0.014085 | 0.003521 | 0.225352 | 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 |
8fe19d507564baae449fcb5a7c02377d9177fc7c | 8,385 | py | Python | src/python/units/MessageFunction.py | tengyu-liu/Part-GPNN | d2092917edeee835fc1888101dddf42ad76ec5e5 | [
"MIT"
] | null | null | null | src/python/units/MessageFunction.py | tengyu-liu/Part-GPNN | d2092917edeee835fc1888101dddf42ad76ec5e5 | [
"MIT"
] | null | null | null | src/python/units/MessageFunction.py | tengyu-liu/Part-GPNN | d2092917edeee835fc1888101dddf42ad76ec5e5 | [
"MIT"
] | null | null | null | """
Created on Oct 05, 2017
@author: Siyuan Qi
Description of the file.
"""
import torch
import torch.nn
import torch.autograd
class MessageFunction(torch.nn.Module):
def __init__(self, message_def, args):
super(MessageFunction, self).__init__()
self.m_definition = ''
self.m_function =... | 43.900524 | 141 | 0.619082 | 1,216 | 8,385 | 4.004112 | 0.083882 | 0.035736 | 0.085438 | 0.026289 | 0.814746 | 0.79236 | 0.779215 | 0.75991 | 0.749641 | 0.733826 | 0 | 0.015542 | 0.232677 | 8,385 | 190 | 142 | 44.131579 | 0.741219 | 0.147764 | 0 | 0.61157 | 0 | 0 | 0.067051 | 0.003092 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115702 | false | 0.008264 | 0.024793 | 0.016529 | 0.231405 | 0.008264 | 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 |
89039bdf92e7ff0b63cfa96c1a91b4110f06609f | 121 | py | Python | rov/hardware/servo/Servo_Mock.py | jiena76/X11-Core | 95aec844822ab4e53c09accc48ef25d70e9b4f08 | [
"MIT"
] | 9 | 2017-09-21T22:00:46.000Z | 2018-12-26T15:46:40.000Z | rov/hardware/servo/Servo_Mock.py | jiena76/X11-Core | 95aec844822ab4e53c09accc48ef25d70e9b4f08 | [
"MIT"
] | 25 | 2017-10-06T17:25:51.000Z | 2018-04-19T00:51:50.000Z | rov/hardware/servo/Servo_Mock.py | jiena76/X11-Core | 95aec844822ab4e53c09accc48ef25d70e9b4f08 | [
"MIT"
] | 2 | 2017-10-19T22:41:37.000Z | 2018-05-10T20:33:45.000Z | class Servo(object):
def __init__(self, pin=12):
self.pin = pin
def setAngle(self, angle):
pass
| 17.285714 | 31 | 0.578512 | 16 | 121 | 4.125 | 0.6875 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.305785 | 121 | 6 | 32 | 20.166667 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
56b0621a19f65f5f7bd999fcb94a5f05a4362ac6 | 2,176 | py | Python | figures/classifier_training.py | mathialo/master_code | 3ab986938817f0ee327d4b79b62756abb5cefeda | [
"MIT"
] | 2 | 2019-09-07T12:54:09.000Z | 2021-03-06T20:51:23.000Z | figures/classifier_training.py | mathialo/master_code | 3ab986938817f0ee327d4b79b62756abb5cefeda | [
"MIT"
] | null | null | null | figures/classifier_training.py | mathialo/master_code | 3ab986938817f0ee327d4b79b62756abb5cefeda | [
"MIT"
] | 2 | 2019-09-07T12:54:12.000Z | 2022-02-23T05:54:24.000Z | from plotstyle import *
parseval_train_acc = np.load("classifier_data/overfit/parseval_train_acc.npy")
parseval_val_acc = np.load("classifier_data/overfit/parseval_val_acc.npy")
parseval_steps = np.load("classifier_data/overfit/parseval_steps.npy")
vanilla_train_acc = np.load("classifier_data/overfit/vanilla_train_acc... | 38.857143 | 78 | 0.787224 | 331 | 2,176 | 4.897281 | 0.117825 | 0.059223 | 0.118445 | 0.148057 | 0.988279 | 0.988279 | 0.975941 | 0.906848 | 0.869833 | 0.869833 | 0 | 0.013659 | 0.057904 | 2,176 | 56 | 79 | 38.857143 | 0.777073 | 0.065717 | 0 | 0.585366 | 0 | 0 | 0.385185 | 0.306173 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02439 | 0 | 0.02439 | 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 |
56bcc34fc03cdb01e58123cd0b4d1c82a6505d97 | 3,053 | py | Python | faculdade/sistemaBD/migrations/0001_initial.py | Edu-Santana/AC06-Django | 6d189d437046ccda317176de8d525b71659d8025 | [
"Apache-2.0"
] | 1 | 2019-05-03T23:30:19.000Z | 2019-05-03T23:30:19.000Z | faculdade/sistemaBD/migrations/0001_initial.py | Edu-Santana/AC06-Django | 6d189d437046ccda317176de8d525b71659d8025 | [
"Apache-2.0"
] | null | null | null | faculdade/sistemaBD/migrations/0001_initial.py | Edu-Santana/AC06-Django | 6d189d437046ccda317176de8d525b71659d8025 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0.dev20190427181822 on 2019-05-01 17:25
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Aluno',
fields=[
('RA', mod... | 50.04918 | 116 | 0.59679 | 295 | 3,053 | 6.010169 | 0.237288 | 0.161309 | 0.121827 | 0.162437 | 0.708404 | 0.708404 | 0.708404 | 0.708404 | 0.708404 | 0.579808 | 0 | 0.029969 | 0.256797 | 3,053 | 60 | 117 | 50.883333 | 0.751432 | 0.01998 | 0 | 0.641509 | 1 | 0 | 0.137458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018868 | 0 | 0.09434 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 |
56c62d0eec08983cc26c7c261d66370ec7ad73b1 | 5,967 | py | Python | libretto/tests/models/oeuvre.py | adrienlachaize/dezede | 584ec30cedab95152e2f95595b7691a04e6736e2 | [
"BSD-3-Clause"
] | 15 | 2015-02-10T21:16:31.000Z | 2021-03-25T16:46:20.000Z | libretto/tests/models/oeuvre.py | adrienlachaize/dezede | 584ec30cedab95152e2f95595b7691a04e6736e2 | [
"BSD-3-Clause"
] | 4 | 2021-02-10T15:42:08.000Z | 2022-03-11T23:20:38.000Z | libretto/tests/models/oeuvre.py | adrienlachaize/dezede | 584ec30cedab95152e2f95595b7691a04e6736e2 | [
"BSD-3-Clause"
] | 6 | 2016-07-10T14:20:48.000Z | 2022-01-19T18:34:02.000Z | import os
from django.utils.encoding import force_text
from ...models import *
from .utils import CommonTestCase
PATH = os.path.abspath(os.path.dirname(__file__))
class OeuvreTestCase(CommonTestCase):
model = Oeuvre
fixtures = [
os.path.join(PATH, 'fixtures/oeuvre.yaml'),
]
def setUp(self):... | 42.621429 | 76 | 0.55455 | 770 | 5,967 | 4.205195 | 0.127273 | 0.108091 | 0.05559 | 0.077208 | 0.847437 | 0.822112 | 0.756949 | 0.756949 | 0.746757 | 0.715565 | 0 | 0.0266 | 0.300654 | 5,967 | 139 | 77 | 42.928058 | 0.744548 | 0.006704 | 0 | 0.560976 | 0 | 0 | 0.279494 | 0.119325 | 0 | 0 | 0 | 0 | 0.162602 | 1 | 0.089431 | false | 0 | 0.03252 | 0 | 0.146341 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
56d39a20c40f0ca354eb48826137e6a512632790 | 35 | py | Python | 14_pr4_sum_list.py | AmreshTripathy/Python | e86420fef7f52da393be5b50ac2f13bddfeb3306 | [
"Apache-2.0"
] | 4 | 2021-05-27T05:06:09.000Z | 2021-06-12T17:12:47.000Z | 14_pr4_sum_list.py | AmreshTripathy/Python | e86420fef7f52da393be5b50ac2f13bddfeb3306 | [
"Apache-2.0"
] | null | null | null | 14_pr4_sum_list.py | AmreshTripathy/Python | e86420fef7f52da393be5b50ac2f13bddfeb3306 | [
"Apache-2.0"
] | null | null | null | a = [10, 13, 9, 14]
print (sum(a)) | 17.5 | 20 | 0.485714 | 8 | 35 | 2.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 0.228571 | 35 | 2 | 21 | 17.5 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8591ee9f8ee22d9ab5d9ec16ac7ae887298939a2 | 6,246 | py | Python | guillotina_rediscache/tests/test_cache.py | masipcat/guillotina_rediscache | f7f755c86e80663690cbedbef72453f794c2d21a | [
"BSD-2-Clause"
] | 2 | 2019-04-09T20:04:46.000Z | 2019-07-09T12:44:12.000Z | guillotina_rediscache/tests/test_cache.py | masipcat/guillotina_rediscache | f7f755c86e80663690cbedbef72453f794c2d21a | [
"BSD-2-Clause"
] | 1 | 2019-03-25T12:31:07.000Z | 2019-09-29T17:05:31.000Z | guillotina_rediscache/tests/test_cache.py | masipcat/guillotina_rediscache | f7f755c86e80663690cbedbef72453f794c2d21a | [
"BSD-2-Clause"
] | 1 | 2018-12-10T10:39:05.000Z | 2018-12-10T10:39:05.000Z | from guillotina import app_settings
from guillotina.component import getUtility
from guillotina.tests import mocks
from guillotina.tests.utils import create_content
from guillotina_rediscache import cache
from guillotina_rediscache import serialize
from guillotina_rediscache.cache_strategy import RedisCache
from guillo... | 35.089888 | 79 | 0.696446 | 808 | 6,246 | 5.179455 | 0.141089 | 0.08411 | 0.057826 | 0.062127 | 0.805974 | 0.766308 | 0.745759 | 0.745759 | 0.703465 | 0.669534 | 0 | 0.006897 | 0.18748 | 6,246 | 177 | 80 | 35.288136 | 0.817734 | 0.048831 | 0 | 0.689394 | 0 | 0 | 0.051771 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 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 |
859477fb72003bbd1decd3c7b23a4652ea2da908 | 71 | py | Python | units/shapes/function.py | doldam0/grapher | 5e82dd57be5274ab616839d10b42d2b741f2b081 | [
"MIT"
] | null | null | null | units/shapes/function.py | doldam0/grapher | 5e82dd57be5274ab616839d10b42d2b741f2b081 | [
"MIT"
] | null | null | null | units/shapes/function.py | doldam0/grapher | 5e82dd57be5274ab616839d10b42d2b741f2b081 | [
"MIT"
] | null | null | null | from units.shapes.shape import Shape
class Function(Shape):
pass
| 11.833333 | 36 | 0.746479 | 10 | 71 | 5.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183099 | 71 | 5 | 37 | 14.2 | 0.913793 | 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 |
85c52a4096c5f363e4aac2cf0ccd845fec4030ca | 426 | py | Python | opac/models/masters/__init__.py | rimphyd/Django-OPAC | d86f2e28fee7f2ec551aeeb98ec67caefc06a3fb | [
"MIT"
] | 1 | 2020-11-26T05:25:46.000Z | 2020-11-26T05:25:46.000Z | opac/models/masters/__init__.py | rimphyd/Django-OPAC | d86f2e28fee7f2ec551aeeb98ec67caefc06a3fb | [
"MIT"
] | null | null | null | opac/models/masters/__init__.py | rimphyd/Django-OPAC | d86f2e28fee7f2ec551aeeb98ec67caefc06a3fb | [
"MIT"
] | null | null | null | from opac.models.masters.author import Author # noqa: F401
from opac.models.masters.book import Book # noqa: F401
from opac.models.masters.library import Library # noqa: F401
from opac.models.masters.publisher import Publisher # noqa: F401
from opac.models.masters.stock import Stock # noqa: F401
from opac.models.m... | 53.25 | 67 | 0.786385 | 63 | 426 | 5.31746 | 0.222222 | 0.167164 | 0.292537 | 0.438806 | 0.519403 | 0.519403 | 0 | 0 | 0 | 0 | 0 | 0.056757 | 0.131455 | 426 | 7 | 68 | 60.857143 | 0.848649 | 0.178404 | 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 |
a48667c6a2375ee3bb7c1aaa0c327788539b6aec | 114,682 | py | Python | paper_fig_util/plot_figs.py | AllenInstitute/OpenScope_CA_Analysis | af0f96584c2f8dcd313e1c89b441eb08952e8b18 | [
"MIT"
] | null | null | null | paper_fig_util/plot_figs.py | AllenInstitute/OpenScope_CA_Analysis | af0f96584c2f8dcd313e1c89b441eb08952e8b18 | [
"MIT"
] | null | null | null | paper_fig_util/plot_figs.py | AllenInstitute/OpenScope_CA_Analysis | af0f96584c2f8dcd313e1c89b441eb08952e8b18 | [
"MIT"
] | 1 | 2022-02-17T17:46:53.000Z | 2022-02-17T17:46:53.000Z | """
plot_figs.py
This script contains functions defining figure panel plotting.
Authors: Colleen Gillon
Date: January, 2021
Note: this code uses python 3.7.
"""
import logging
import numpy as np
import pandas as pd
from util import logger_util, plot_util
from paper_fig_util import helper_fcts
from plot_fcts impo... | 37.39224 | 81 | 0.597722 | 12,504 | 114,682 | 5.335173 | 0.035269 | 0.071562 | 0.070963 | 0.050127 | 0.948899 | 0.941509 | 0.93181 | 0.927298 | 0.921092 | 0.907991 | 0 | 0.004253 | 0.311112 | 114,682 | 3,066 | 82 | 37.404436 | 0.840158 | 0.634467 | 0 | 0.668578 | 0 | 0 | 0.090799 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050459 | false | 0 | 0.006881 | 0 | 0.107798 | 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 |
a4885a1d70c626ba81f73dcf52d2b91416bd4063 | 57 | py | Python | helpers/__init__.py | Untesler/fra641-backend | f7fbb10273d6259fd59c0d8e99b6557af91d405b | [
"MIT"
] | null | null | null | helpers/__init__.py | Untesler/fra641-backend | f7fbb10273d6259fd59c0d8e99b6557af91d405b | [
"MIT"
] | null | null | null | helpers/__init__.py | Untesler/fra641-backend | f7fbb10273d6259fd59c0d8e99b6557af91d405b | [
"MIT"
] | null | null | null | from helpers.generate_responses_dict import gen_res_dict
| 28.5 | 56 | 0.912281 | 9 | 57 | 5.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 1 | 57 | 57 | 0.90566 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f14d13cd4aea3a5a0ac9351cbea205f1245fd63a | 123 | py | Python | src/config.py | okunator/Dippa | dcbb7056511dd6f66bcc7b095716c385d0b0a8bb | [
"MIT"
] | 13 | 2021-01-25T07:47:03.000Z | 2022-01-20T16:02:51.000Z | src/config.py | okunator/Dippa | dcbb7056511dd6f66bcc7b095716c385d0b0a8bb | [
"MIT"
] | 1 | 2022-02-12T15:03:23.000Z | 2022-02-12T15:03:23.000Z | src/config.py | okunator/Dippa | dcbb7056511dd6f66bcc7b095716c385d0b0a8bb | [
"MIT"
] | null | null | null | from omegaconf import OmegaConf
from src.settings import EXPERIMENT_YML_PATH
CONFIG = OmegaConf.load(EXPERIMENT_YML_PATH)
| 24.6 | 44 | 0.861789 | 17 | 123 | 6 | 0.588235 | 0.254902 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 123 | 4 | 45 | 30.75 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f187d07367b3f8945373aa1a8131b865a10f1a80 | 164 | py | Python | apps/users/admin.py | LopsanAMO/Testing_ | aba48bc2757eaa17cf935a5b0333827daea7c870 | [
"MIT"
] | null | null | null | apps/users/admin.py | LopsanAMO/Testing_ | aba48bc2757eaa17cf935a5b0333827daea7c870 | [
"MIT"
] | 3 | 2020-06-05T17:14:45.000Z | 2021-06-10T18:38:51.000Z | apps/users/admin.py | LopsanAMO/Testing_ | aba48bc2757eaa17cf935a5b0333827daea7c870 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Address, Social, Client
admin.site.register(Address)
admin.site.register(Social)
admin.site.register(Client)
| 20.5 | 43 | 0.810976 | 23 | 164 | 5.782609 | 0.478261 | 0.203008 | 0.383459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091463 | 164 | 7 | 44 | 23.428571 | 0.892617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
74f2136b8ba650be16377a9f484fc2126ab80cb7 | 134 | py | Python | autokey/data/Emacs/m_b.py | Curiosidad-Racional/.config | af5a8901510e4b87dff1be024d3d29987c148f3f | [
"MIT"
] | 2 | 2021-05-29T18:11:26.000Z | 2021-10-21T20:53:16.000Z | autokey/data/Emacs/m_b.py | Curiosidad-Racional/.config | af5a8901510e4b87dff1be024d3d29987c148f3f | [
"MIT"
] | null | null | null | autokey/data/Emacs/m_b.py | Curiosidad-Racional/.config | af5a8901510e4b87dff1be024d3d29987c148f3f | [
"MIT"
] | null | null | null | if store.get_global_value("ctrl-space"):
keyboard.send_keys("<ctrl>+<shift>+<left>")
else:
keyboard.send_keys("<ctrl>+<left>") | 33.5 | 47 | 0.679104 | 19 | 134 | 4.578947 | 0.684211 | 0.275862 | 0.367816 | 0.45977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 134 | 4 | 48 | 33.5 | 0.713115 | 0 | 0 | 0 | 0 | 0 | 0.325926 | 0.155556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
740ebe43de235c2cd8a6ff7576e774f93aa84474 | 322 | py | Python | unittests/backend/Ask.py | ttrzcinski/aws_py_listall | 84f53853099fe3bc547c7ea14fe16d4adebb2701 | [
"MIT"
] | null | null | null | unittests/backend/Ask.py | ttrzcinski/aws_py_listall | 84f53853099fe3bc547c7ea14fe16d4adebb2701 | [
"MIT"
] | null | null | null | unittests/backend/Ask.py | ttrzcinski/aws_py_listall | 84f53853099fe3bc547c7ea14fe16d4adebb2701 | [
"MIT"
] | null | null | null | class Ask:
@staticmethod
def about():
return 'Responsible for communication with AWS though net.'
# TODO List all services of given type
# TODO Assert presence of wanted service type with given name
# TODO Kill service, if exists with given name, where without declared type prefix is a typ... | 32.2 | 96 | 0.714286 | 46 | 322 | 5 | 0.73913 | 0.078261 | 0.113043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245342 | 322 | 9 | 97 | 35.777778 | 0.946502 | 0.580745 | 0 | 0 | 0 | 0 | 0.381679 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
746def8cef31c0205accd708facce51c965aebef | 10,390 | py | Python | tempest/api/workloadmgr/snapshot/test_snapshot_mount.py | KiranPawar72/tempest | 1fef3dd92b083055793065dd0693454735ec2c01 | [
"Apache-2.0"
] | null | null | null | tempest/api/workloadmgr/snapshot/test_snapshot_mount.py | KiranPawar72/tempest | 1fef3dd92b083055793065dd0693454735ec2c01 | [
"Apache-2.0"
] | null | null | null | tempest/api/workloadmgr/snapshot/test_snapshot_mount.py | KiranPawar72/tempest | 1fef3dd92b083055793065dd0693454735ec2c01 | [
"Apache-2.0"
] | null | null | null | import sys
import os
sys.path.append(os.getcwd())
from tempest.api.workloadmgr import base
from tempest import config
from tempest import test
from oslo_log import log as logging
from tempest import tvaultconf
from tempest import reporting
import time
LOG = logging.getLogger(__name__)
CONF = config.CONF
class Workloa... | 46.801802 | 120 | 0.611646 | 1,188 | 10,390 | 5.137205 | 0.131313 | 0.038014 | 0.057677 | 0.062264 | 0.802392 | 0.791414 | 0.770768 | 0.734393 | 0.698509 | 0.678519 | 0 | 0.01116 | 0.318672 | 10,390 | 221 | 121 | 47.013575 | 0.850968 | 0 | 0 | 0.592965 | 0 | 0 | 0.25604 | 0.012417 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020101 | false | 0.060302 | 0.045226 | 0 | 0.100503 | 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 |
7487d9ac2da5bb51534cc7d55ac5283df8222811 | 171 | py | Python | code/archs/segmentation/baselines/__init__.py | ThmCuong/IIC-tmp | 7029050db45aaec0099dca67b31b613f1e5ecf10 | [
"MIT"
] | null | null | null | code/archs/segmentation/baselines/__init__.py | ThmCuong/IIC-tmp | 7029050db45aaec0099dca67b31b613f1e5ecf10 | [
"MIT"
] | null | null | null | code/archs/segmentation/baselines/__init__.py | ThmCuong/IIC-tmp | 7029050db45aaec0099dca67b31b613f1e5ecf10 | [
"MIT"
] | null | null | null | # from code.archs.segmentation.baselines.net10a_doersch import *
# from code.archs.segmentation.baselines.net10a_isola import *
from . import net10a_doersch, net10a_isola | 42.75 | 64 | 0.830409 | 22 | 171 | 6.272727 | 0.409091 | 0.115942 | 0.188406 | 0.362319 | 0.57971 | 0.57971 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.087719 | 171 | 4 | 65 | 42.75 | 0.833333 | 0.719298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
748dd132a272510f3048e8b249bf15cd63845b22 | 55,662 | py | Python | foundation_public/migrations/0001_initial.py | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | 1 | 2020-07-16T10:58:23.000Z | 2020-07-16T10:58:23.000Z | foundation_public/migrations/0001_initial.py | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | 13 | 2018-11-30T02:29:39.000Z | 2022-03-11T23:35:49.000Z | foundation_public/migrations/0001_initial.py | smegurus/smegurus-django | 053973b5ff0b997c52bfaca8daf8e07db64a877c | [
"BSD-4-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-09 02:08
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django_tenants.postgresql_backend.base
import foundation_tenant.utils
class Migration(migr... | 85.765794 | 488 | 0.662984 | 6,666 | 55,662 | 5.346985 | 0.076358 | 0.062032 | 0.050837 | 0.071066 | 0.814522 | 0.782426 | 0.759616 | 0.719131 | 0.693432 | 0.649693 | 0 | 0.007749 | 0.209407 | 55,662 | 648 | 489 | 85.898148 | 0.8018 | 0.001222 | 0 | 0.6 | 1 | 0.042188 | 0.375097 | 0.083143 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009375 | 0 | 0.015625 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7778296520e479a2964be492aef3629c481ac7c6 | 5,876 | py | Python | tests/request/test_parameter_empty.py | Colin-b/pyxelrest | 5c8db40d1537d0f9c29acd928ec9519b6bb557ec | [
"MIT"
] | 7 | 2018-12-07T10:08:53.000Z | 2021-03-24T07:52:36.000Z | tests/request/test_parameter_empty.py | Colin-b/pyxelrest | 5c8db40d1537d0f9c29acd928ec9519b6bb557ec | [
"MIT"
] | 76 | 2018-12-07T10:29:48.000Z | 2021-11-17T00:54:24.000Z | tests/request/test_parameter_empty.py | Colin-b/pyxelrest | 5c8db40d1537d0f9c29acd928ec9519b6bb557ec | [
"MIT"
] | null | null | null | from responses import RequestsMock
from tests import loader
def test_plain_without_parameter(responses: RequestsMock, tmpdir):
responses.add(
responses.GET,
url="http://test/",
json={
"swagger": "2.0",
"paths": {
"/test": {
"get"... | 31.255319 | 268 | 0.477025 | 469 | 5,876 | 5.778252 | 0.189765 | 0.141697 | 0.069742 | 0.053137 | 0.860148 | 0.788561 | 0.788561 | 0.783395 | 0.761255 | 0.761255 | 0 | 0.010511 | 0.400953 | 5,876 | 187 | 269 | 31.42246 | 0.759375 | 0 | 0 | 0.473684 | 0 | 0.005848 | 0.281654 | 0.028761 | 0 | 0 | 0 | 0 | 0.02924 | 1 | 0.02924 | false | 0 | 0.011696 | 0 | 0.040936 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.